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.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.9.0'
274 PACKAGE_STRING
='wxWidgets 2.9.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS 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 CXXWARNINGS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_STC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_STC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_AUI_1 COND_MONOLITHIC_0_USE_GUI_1 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_HTML_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_0_USE_QA_1 COND_MONOLITHIC_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_USE_STC_1 COND_MONOLITHIC_0_USE_XRC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_STC_1 COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_USE_OPENGL_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_STC_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
786 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
787 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
788 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
789 ac_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
790 ac_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
791 ac_cv_env_DIRECTFB_CFLAGS_set
=${DIRECTFB_CFLAGS+set}
792 ac_cv_env_DIRECTFB_CFLAGS_value
=$DIRECTFB_CFLAGS
793 ac_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
794 ac_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
795 ac_cv_env_DIRECTFB_LIBS_set
=${DIRECTFB_LIBS+set}
796 ac_cv_env_DIRECTFB_LIBS_value
=$DIRECTFB_LIBS
797 ac_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
798 ac_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
799 ac_cv_env_PANGOX_CFLAGS_set
=${PANGOX_CFLAGS+set}
800 ac_cv_env_PANGOX_CFLAGS_value
=$PANGOX_CFLAGS
801 ac_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
802 ac_env_PANGOX_LIBS_value
=$PANGOX_LIBS
803 ac_cv_env_PANGOX_LIBS_set
=${PANGOX_LIBS+set}
804 ac_cv_env_PANGOX_LIBS_value
=$PANGOX_LIBS
805 ac_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
806 ac_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
807 ac_cv_env_PANGOFT2_CFLAGS_set
=${PANGOFT2_CFLAGS+set}
808 ac_cv_env_PANGOFT2_CFLAGS_value
=$PANGOFT2_CFLAGS
809 ac_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
810 ac_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
811 ac_cv_env_PANGOFT2_LIBS_set
=${PANGOFT2_LIBS+set}
812 ac_cv_env_PANGOFT2_LIBS_value
=$PANGOFT2_LIBS
813 ac_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
814 ac_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
815 ac_cv_env_PANGOXFT_CFLAGS_set
=${PANGOXFT_CFLAGS+set}
816 ac_cv_env_PANGOXFT_CFLAGS_value
=$PANGOXFT_CFLAGS
817 ac_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
818 ac_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
819 ac_cv_env_PANGOXFT_LIBS_set
=${PANGOXFT_LIBS+set}
820 ac_cv_env_PANGOXFT_LIBS_value
=$PANGOXFT_LIBS
821 ac_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
822 ac_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
823 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set
=${LIBGNOMEPRINTUI_CFLAGS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value
=$LIBGNOMEPRINTUI_CFLAGS
825 ac_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
826 ac_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
827 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set
=${LIBGNOMEPRINTUI_LIBS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value
=$LIBGNOMEPRINTUI_LIBS
829 ac_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
830 ac_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
831 ac_cv_env_GNOMEVFS_CFLAGS_set
=${GNOMEVFS_CFLAGS+set}
832 ac_cv_env_GNOMEVFS_CFLAGS_value
=$GNOMEVFS_CFLAGS
833 ac_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
834 ac_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
835 ac_cv_env_GNOMEVFS_LIBS_set
=${GNOMEVFS_LIBS+set}
836 ac_cv_env_GNOMEVFS_LIBS_value
=$GNOMEVFS_LIBS
837 ac_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
838 ac_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
839 ac_cv_env_HILDON_CFLAGS_set
=${HILDON_CFLAGS+set}
840 ac_cv_env_HILDON_CFLAGS_value
=$HILDON_CFLAGS
841 ac_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
842 ac_env_HILDON_LIBS_value
=$HILDON_LIBS
843 ac_cv_env_HILDON_LIBS_set
=${HILDON_LIBS+set}
844 ac_cv_env_HILDON_LIBS_value
=$HILDON_LIBS
845 ac_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
846 ac_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
847 ac_cv_env_CAIRO_CFLAGS_set
=${CAIRO_CFLAGS+set}
848 ac_cv_env_CAIRO_CFLAGS_value
=$CAIRO_CFLAGS
849 ac_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
850 ac_env_CAIRO_LIBS_value
=$CAIRO_LIBS
851 ac_cv_env_CAIRO_LIBS_set
=${CAIRO_LIBS+set}
852 ac_cv_env_CAIRO_LIBS_value
=$CAIRO_LIBS
853 ac_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
854 ac_env_GST_CFLAGS_value
=$GST_CFLAGS
855 ac_cv_env_GST_CFLAGS_set
=${GST_CFLAGS+set}
856 ac_cv_env_GST_CFLAGS_value
=$GST_CFLAGS
857 ac_env_GST_LIBS_set
=${GST_LIBS+set}
858 ac_env_GST_LIBS_value
=$GST_LIBS
859 ac_cv_env_GST_LIBS_set
=${GST_LIBS+set}
860 ac_cv_env_GST_LIBS_value
=$GST_LIBS
863 # Report the --help message.
865 if test "$ac_init_help" = "long"; then
866 # Omit some internal or obsolete options to make the list less imposing.
867 # This message is too long to be a string in the A/UX 3.1 sh.
869 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
871 Usage: $0 [OPTION]... [VAR=VALUE]...
873 To assign environment variables (e.g., CC, CFLAGS...), specify them as
874 VAR=VALUE. See below for descriptions of some of the useful variables.
876 Defaults for the options are specified in brackets.
879 -h, --help display this help and exit
880 --help=short display options specific to this package
881 --help=recursive display the short help of all the included packages
882 -V, --version display version information and exit
883 -q, --quiet, --silent do not print \`checking...' messages
884 --cache-file=FILE cache test results in FILE [disabled]
885 -C, --config-cache alias for \`--cache-file=config.cache'
886 -n, --no-create do not create output files
887 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892 Installation directories:
893 --prefix=PREFIX install architecture-independent files in PREFIX
895 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
898 By default, \`make install' will install all the files in
899 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
900 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
901 for instance \`--prefix=\$HOME'.
903 For better control, use the options below.
905 Fine tuning of the installation directories:
906 --bindir=DIR user executables [EPREFIX/bin]
907 --sbindir=DIR system admin executables [EPREFIX/sbin]
908 --libexecdir=DIR program executables [EPREFIX/libexec]
909 --datadir=DIR read-only architecture-independent data [PREFIX/share]
910 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
911 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
912 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
913 --libdir=DIR object code libraries [EPREFIX/lib]
914 --includedir=DIR C header files [PREFIX/include]
915 --oldincludedir=DIR C header files for non-gcc [/usr/include]
916 --infodir=DIR info documentation [PREFIX/info]
917 --mandir=DIR man documentation [PREFIX/man]
923 --x-includes=DIR X include files are
in DIR
924 --x-libraries=DIR X library files are
in DIR
927 --build=BUILD configure
for building on BUILD
[guessed
]
928 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
929 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
933 if test -n "$ac_init_help"; then
934 case $ac_init_help in
935 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
940 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
941 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
942 --enable-gui use GUI classes
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-universal use wxWidgets GUI controls instead of native ones
946 --enable-nanox use NanoX
947 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
948 --enable-gpe use GNOME PDA Environment features
if possible
949 --enable-shared create shared library code
950 --enable-optimise create optimised code
951 --enable-debug same as debug_flag and debug_info
952 --enable-stl use STL
for containers
953 --enable-extended_rtti use extended RTTI
(XTI
)
954 --enable-omf use OMF object format
955 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
956 --enable-debug_info create code with debugging information
957 --enable-debug_gdb create code with extra GDB debugging information
958 --enable-debug_cntxt use wxDebugContext
959 --enable-mem_tracing create code with memory tracing
960 --enable-profile create code with profiling information
961 --enable-no_rtti create code without RTTI information
962 --enable-no_exceptions create code without C
++ exceptions handling
963 --enable-permissive compile code disregarding strict ANSI
964 --enable-no_deps create code without dependency information
965 --disable-vararg_macros don
't use vararg macros, even if they are supported
966 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
967 --enable-compat26 enable wxWidgets 2.6 compatibility
968 --disable-compat28 disable wxWidgets 2.8 compatibility
969 --disable-rpath disable use of rpath for uninstalled builds
970 --enable-intl use internationalization system
971 --enable-config use wxConfig (and derived) classes
972 --enable-protocols use wxProtocol and derived classes
973 --enable-ftp use wxFTP (requires wxProtocol
974 --enable-http use wxHTTP (requires wxProtocol
975 --enable-fileproto use wxFileProto class (requires wxProtocol
976 --enable-sockets use socket/network classes
977 --enable-ole use OLE classes (Win32 only)
978 --enable-dataobj use data object classes
979 --enable-ipc use interprocess communication (wxSocket etc.)
980 --enable-apple_ieee use the Apple IEEE codec
981 --enable-arcstream use wxArchive streams
982 --enable-backtrace use wxStackWalker class for getting backtraces
983 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
984 --enable-cmdline use wxCmdLineParser class
985 --enable-datetime use wxDateTime class
986 --enable-debugreport use wxDebugReport class
987 --enable-dialupman use dialup network classes
988 --enable-dynlib use wxLibrary class for DLL loading
989 --enable-dynamicloader use (new) wxDynamicLibrary class
990 --enable-exceptions build exception-safe library
991 --enable-ffile use wxFFile class
992 --enable-file use wxFile class
993 --enable-filesystem use virtual file systems classes
994 --enable-fontmap use font encodings conversion classes
995 --enable-fs_archive use virtual archive filesystems
996 --enable-fs_inet use virtual HTTP/FTP filesystems
997 --enable-fs_zip now replaced by fs_archive
998 --enable-geometry use geometry class
999 --enable-log use logging system
1000 --enable-longlong use wxLongLong class
1001 --enable-mimetype use wxMimeTypesManager
1002 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1003 --enable-utf8 use UTF-8 representation for strings (Unix only)
1004 --enable-snglinst use wxSingleInstanceChecker class
1005 --enable-std_iostreams use standard C++ stream classes
1006 --enable-std_string use standard C++ string classes
1007 --enable-stdpaths use wxStandardPaths class
1008 --enable-stopwatch use wxStopWatch class
1009 --enable-streams use wxStream etc classes
1010 --enable-sysoptions use wxSystemOptions
1011 --enable-tarstream use wxTar streams
1012 --enable-textbuf use wxTextBuffer class
1013 --enable-textfile use wxTextFile class
1014 --enable-timer use wxTimer class
1015 --enable-unicode compile wxString with Unicode support
1016 --enable-sound use wxSound class
1017 --enable-mediactrl use wxMediaCtrl class
1018 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1019 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1020 --enable-zipstream use wxZip streams
1021 --enable-url use wxURL class
1022 --enable-variant use wxVariant class
1023 --enable-protocol use wxProtocol class
1024 --enable-protocol-http HTTP support in wxProtocol
1025 --enable-protocol-ftp FTP support in wxProtocol
1026 --enable-protocol-file FILE support in wxProtocol
1027 --enable-threads use threads
1028 --enable-docview use document view architecture
1029 --enable-help use help subsystem
1030 --enable-mshtmlhelp use MS HTML Help (win32)
1031 --enable-html use wxHTML sub-library
1032 --enable-htmlhelp use wxHTML-based help
1033 --enable-xrc use XRC resources sub-library
1034 --enable-aui use AUI docking library
1035 --enable-stc use wxStyledTextCtrl library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-clipboard use wxClipboard class
1048 --enable-dnd use Drag'n
'Drop classes
1049 --enable-metafile use win32 metafiles
1050 --enable-controls use all usual controls
1051 --enable-accel use accelerators
1052 --enable-animatectrl use wxAnimationCtrl class
1053 --enable-button use wxButton class
1054 --enable-bmpbutton use wxBitmapButton class
1055 --enable-bmpcombobox use wxBitmapComboBox class
1056 --enable-calendar use wxCalendarCtrl class
1057 --enable-caret use wxCaret class
1058 --enable-checkbox use wxCheckBox class
1059 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1060 --enable-choice use wxChoice class
1061 --enable-choicebook use wxChoicebook class
1062 --enable-collpane use wxCollapsiblePane class
1063 --enable-colourpicker use wxColourPickerCtrl class
1064 --enable-combobox use wxComboBox class
1065 --enable-comboctrl use wxComboCtrl class
1066 --enable-datepick use wxDatePickerCtrl class
1067 --enable-dirpicker use wxDirPickerCtrl class
1068 --enable-display use wxDisplay class
1069 --enable-detect_sm use code to detect X11 session manager
1070 --enable-editablebox use wxEditableListBox class
1071 --enable-filepicker use wxFilePickerCtrl class
1072 --enable-fontpicker use wxFontPickerCtrl class
1073 --enable-gauge use wxGauge class
1074 --enable-grid use wxGrid class
1075 --enable-dataviewctrl use wxDataViewCtrl class
1076 --enable-hyperlink use wxHyperlinkCtrl class
1077 --enable-imaglist use wxImageList class
1078 --enable-listbook use wxListbook class
1079 --enable-listbox use wxListBox class
1080 --enable-listctrl use wxListCtrl class
1081 --enable-notebook use wxNotebook class
1082 --enable-odcombobox use wxOwnerDrawnComboBox class
1083 --enable-radiobox use wxRadioBox class
1084 --enable-radiobtn use wxRadioButton class
1085 --enable-sash use wxSashWindow class
1086 --enable-scrollbar use wxScrollBar class and scrollable windows
1087 --enable-searchctrl use wxSearchCtrl class
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even
if the compiler
1153 --disable-precomp-headers
1154 don
't use precompiled headers even if compiler can
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles
for samples
/demos
/...
1160 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1161 --with-motif use Motif
/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS
-Windows
1166 --with-pm use OS
/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1171 --with-libpng use libpng
(PNG image format
)
1172 --with-libjpeg use libjpeg
(JPEG
file format
)
1173 --with-libtiff use libtiff
(TIFF
file format
)
1174 --with-libxpm use libxpm
(XPM
file format
)
1175 --with-libmspack use libmspack
(CHM
help files loading
)
1176 --with-sdl use SDL
for audio on Unix
1177 --with-gnomeprint use GNOME print
for printing under GNOME
1178 --with-gnomevfs use GNOME VFS
for associating MIME types
1179 --with-hildon use Hildon framework
for Nokia
770
1180 --with-opengl use OpenGL
(or Mesa
)
1181 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1183 --with-regex enable support
for wxRegEx class
1184 --with-zlib use zlib
for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1197 Some influential environment variables
:
1198 CC C compiler
command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1201 nonstandard directory
<lib dir
>
1202 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1203 headers
in a nonstandard directory
<include dir
>
1205 CXX C
++ compiler
command
1206 CXXFLAGS C
++ compiler flags
1207 PKG_CONFIG path to pkg
-config utility
1209 C compiler flags
for DIRECTFB
, overriding pkg
-config
1211 linker flags
for DIRECTFB
, overriding pkg
-config
1213 C compiler flags
for PANGOX
, overriding pkg
-config
1214 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1216 C compiler flags
for PANGOFT2
, overriding pkg
-config
1218 linker flags
for PANGOFT2
, overriding pkg
-config
1220 C compiler flags
for PANGOXFT
, overriding pkg
-config
1222 linker flags
for PANGOXFT
, overriding pkg
-config
1223 LIBGNOMEPRINTUI_CFLAGS
1224 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1225 LIBGNOMEPRINTUI_LIBS
1226 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1228 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1230 linker flags
for GNOMEVFS
, overriding pkg
-config
1232 C compiler flags
for HILDON
, overriding pkg
-config
1233 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1235 C compiler flags
for CAIRO
, overriding pkg
-config
1236 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1237 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1238 GST_LIBS linker flags
for GST
, overriding pkg
-config
1240 Use these variables to override the choices made by
`configure' or to help
1241 it to find libraries and programs with nonstandard names/locations.
1243 Report bugs to <wx-dev@lists.wxwidgets.org>.
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1250 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1251 test -d $ac_dir || continue
1254 if test "$ac_dir" != .; then
1255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1256 # A "../" for each directory in $ac_dir_suffix.
1257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 ac_dir_suffix= ac_top_builddir=
1263 .) # No --srcdir option. We are building in place.
1265 if test -z "$ac_top_builddir"; then
1268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 [\\/]* | ?:[\\/]* ) # Absolute path.
1271 ac_srcdir=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir=$srcdir ;;
1274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1278 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1279 # the directories may not exist.
1281 .) ac_abs_builddir="$ac_dir";;
1284 .) ac_abs_builddir=`pwd`;;
1285 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1286 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1289 case $ac_abs_builddir in
1290 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 case ${ac_top_builddir}. in
1293 .) ac_abs_top_builddir=$ac_abs_builddir;;
1294 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1295 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1298 case $ac_abs_builddir in
1299 .) ac_abs_srcdir=$ac_srcdir;;
1302 .) ac_abs_srcdir=$ac_abs_builddir;;
1303 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1304 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1307 case $ac_abs_builddir in
1308 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 case $ac_top_srcdir in
1311 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1312 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1313 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1318 # Check for guested configure; otherwise get Cygnus style configure.
1319 if test -f $ac_srcdir/configure.gnu; then
1321 $SHELL $ac_srcdir/configure.gnu --help=recursive
1322 elif test -f $ac_srcdir/configure; then
1324 $SHELL $ac_srcdir/configure --help=recursive
1325 elif test -f $ac_srcdir/configure.ac ||
1326 test -f $ac_srcdir/configure.in; then
1328 $ac_configure --help
1330 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 test -n "$ac_init_help" && exit 0
1337 if $ac_init_version; then
1339 wxWidgets configure 2.9.0
1340 generated by GNU Autoconf 2.59
1342 Copyright (C) 2003 Free Software Foundation, Inc.
1343 This configure script is free software; the Free Software Foundation
1344 gives unlimited permission to copy, distribute and modify it.
1350 This file contains any messages produced by compilers while
1351 running configure, to aid debugging if configure makes a mistake.
1353 It was created by wxWidgets $as_me 2.9.0, which was
1354 generated by GNU Autoconf 2.59. Invocation command line was
1365 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1366 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1367 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1368 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1369 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1371 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1372 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1374 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1375 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1376 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1377 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1378 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1379 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1380 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir=.
1389 echo "PATH: $as_dir"
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1413 ac_must_keep_next=false
1419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1421 | -silent | --silent | --silen | --sile | --sil)
1423 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1424 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1430 if test $ac_must_keep_next = true; then
1431 ac_must_keep_next=false # Got value, back to normal.
1434 *=* | --config-cache | -C | -disable-* | --disable-* \
1435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1437 | -with-* | --with-* | -without-* | --without-* | --x)
1438 case "$ac_configure_args0 " in
1439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1442 -* ) ac_must_keep_next=true ;;
1445 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1446 # Get rid of the leading space.
1452 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1453 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455 # When interrupted or exit'd, cleanup temporary files, and complete
1456 # config.log. We remove comments because anyway the quotes in there
1457 # would cause problems or look ugly.
1458 # WARNING: Be sure not to use single quotes in there, as some shells,
1459 # such as our DU 5.0 friend, will then `close
' the trap.
1460 trap 'exit_status
=$?
1461 # Save into config.log some information that might help in debugging.
1466 ## ---------------- ##
1467 ## Cache variables. ##
1468 ## ---------------- ##
1471 # The following way of writing the cache mishandles newlines in values,
1474 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1477 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1494 for ac_var
in $ac_subst_vars
1496 eval ac_val
=$
`echo $ac_var`
1497 echo "$ac_var='"'"'$ac_val'"'"'"
1501 if test -n "$ac_subst_files"; then
1508 for ac_var
in $ac_subst_files
1510 eval ac_val
=$
`echo $ac_var`
1511 echo "$ac_var='"'"'$ac_val'"'"'"
1516 if test -s confdefs.h
; then
1523 sed "/^$/d" confdefs.h
| sort
1526 test "$ac_signal" != 0 &&
1527 echo "$as_me: caught signal $ac_signal"
1528 echo "$as_me: exit $exit_status"
1530 rm -f core
*.core
&&
1531 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1534 for ac_signal in 1 2 13 15; do
1535 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1540 rm -rf conftest* confdefs.h
1541 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1544 # Predefined preprocessor variables.
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -z "$CONFIG_SITE"; then
1574 if test "x$prefix" != xNONE; then
1575 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1580 for ac_site_file in $CONFIG_SITE; do
1581 if test -r "$ac_site_file"; then
1582 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583 echo "$as_me: loading site script $ac_site_file" >&6;}
1584 sed 's
/^
/| /' "$ac_site_file" >&5
1589 if test -r "$cache_file"; then
1590 # Some versions of bash will fail to source /dev/null (special
1591 # files actually), so we avoid doing that.
1592 if test -f "$cache_file"; then
1593 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594 echo "$as_me: loading cache $cache_file" >&6;}
1596 [\\/]* | ?:[\\/]* ) . $cache_file;;
1597 *) . ./$cache_file;;
1601 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602 echo "$as_me: creating cache $cache_file" >&6;}
1606 # Check that the precious variables saved in the cache have kept the same
1608 ac_cache_corrupted=false
1609 for ac_var in `(set) 2>&1 |
1610 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1611 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1612 eval ac_new_set=\$ac_env_${ac_var}_set
1613 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1614 eval ac_new_val="\$ac_env_${ac_var}_value"
1615 case $ac_old_set,$ac_new_set in
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1619 ac_cache_corrupted=: ;;
1621 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1626 if test "x$ac_old_val" != "x$ac_new_val"; then
1627 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1628 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1629 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1630 echo "$as_me: former value: $ac_old_val" >&2;}
1631 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1632 echo "$as_me: current value: $ac_new_val" >&2;}
1633 ac_cache_corrupted=:
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1639 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1640 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1653 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1660 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1693 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1694 if test -f $ac_dir/install-sh; then
1696 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 elif test -f $ac_dir/install.sh; then
1700 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 elif test -f $ac_dir/shtool; then
1704 ac_install_sh="$ac_aux_dir/shtool install -c"
1708 if test -z "$ac_aux_dir"; then
1709 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1710 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1711 { (exit 1); exit 1; }; }
1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1715 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717 # Make sure we can run config.sub.
1718 $ac_config_sub sun4 >/dev/null 2>&1 ||
1719 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1720 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1721 { (exit 1); exit 1; }; }
1723 echo "$as_me:$LINENO: checking build system type" >&5
1724 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1725 if test "${ac_cv_build+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 ac_cv_build_alias=$build_alias
1729 test -z "$ac_cv_build_alias" &&
1730 ac_cv_build_alias=`$ac_config_guess`
1731 test -z "$ac_cv_build_alias" &&
1732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1733 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1734 { (exit 1); exit 1; }; }
1735 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1736 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1737 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1738 { (exit 1); exit 1; }; }
1741 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1742 echo "${ECHO_T}$ac_cv_build" >&6
1744 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1745 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1746 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1749 echo "$as_me:$LINENO: checking host system type" >&5
1750 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1751 if test "${ac_cv_host+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 ac_cv_host_alias=$host_alias
1755 test -z "$ac_cv_host_alias" &&
1756 ac_cv_host_alias=$ac_cv_build_alias
1757 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1758 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1759 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1760 { (exit 1); exit 1; }; }
1763 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1764 echo "${ECHO_T}$ac_cv_host" >&6
1766 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1767 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1768 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1771 echo "$as_me:$LINENO: checking target system type" >&5
1772 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1773 if test "${ac_cv_target+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 ac_cv_target_alias=$target_alias
1777 test "x$ac_cv_target_alias" = "x" &&
1778 ac_cv_target_alias=$ac_cv_host_alias
1779 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1780 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1781 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1782 { (exit 1); exit 1; }; }
1785 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1786 echo "${ECHO_T}$ac_cv_target" >&6
1787 target=$ac_cv_target
1788 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1789 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1790 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1793 # The aliases save the names the user supplied, while $host etc.
1794 # will get canonicalized.
1795 test -n "$target_alias" &&
1796 test "$program_prefix$program_suffix$program_transform_name" = \
1798 program_prefix=${target_alias}-
1802 wx_major_version_number=2
1803 wx_minor_version_number=9
1805 wx_subrelease_number=0
1807 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1808 WX_VERSION=$WX_RELEASE.$wx_release_number
1809 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1814 wx_top_builddir="`pwd`"
1827 USE_BSD= USE_DARWIN= USE_FREEBSD=
1833 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1839 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843 DEFAULT_wxUSE_COCOA=0
1847 DEFAULT_wxUSE_MICROWIN=0
1848 DEFAULT_wxUSE_MOTIF=0
1854 DEFAULT_DEFAULT_wxUSE_COCOA=0
1855 DEFAULT_DEFAULT_wxUSE_GTK=0
1856 DEFAULT_DEFAULT_wxUSE_MAC=0
1857 DEFAULT_DEFAULT_wxUSE_MGL=0
1858 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1860 DEFAULT_DEFAULT_wxUSE_MSW=0
1861 DEFAULT_DEFAULT_wxUSE_PM=0
1862 DEFAULT_DEFAULT_wxUSE_X11=0
1863 DEFAULT_DEFAULT_wxUSE_DFB=0
1868 SAMPLES_RPATH_POSTLINK=
1870 DEFAULT_STD_FLAG=yes
1875 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1876 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 cat >>confdefs.h <<\_ACEOF
1883 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1887 cat >>confdefs.h <<\_ACEOF
1892 if test "x$TMP" = "xalpha"; then
1894 cat >>confdefs.h <<\_ACEOF
1899 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 *-*-gnu* | *-*-k*bsd*-gnu )
1904 if test "x$TMP" = "xalpha"; then
1906 cat >>confdefs.h <<\_ACEOF
1911 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 *-*-irix5* | *-*-irix6* )
1916 cat >>confdefs.h <<\_ACEOF
1920 cat >>confdefs.h <<\_ACEOF
1924 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1930 cat >>confdefs.h <<\_ACEOF
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __SOLARIS__ 1
1938 cat >>confdefs.h <<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1943 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1949 cat >>confdefs.h <<\_ACEOF
1953 cat >>confdefs.h <<\_ACEOF
1957 cat >>confdefs.h <<\_ACEOF
1961 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1966 cat >>confdefs.h <<\_ACEOF
1967 #define __FREEBSD__ 1
1970 cat >>confdefs.h <<\_ACEOF
1974 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 *-*-openbsd*|*-*-mirbsd*)
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __OPENBSD__ 1
1983 cat >>confdefs.h <<\_ACEOF
1987 DEFAULT_DEFAULT_wxUSE_GTK=1
1992 cat >>confdefs.h <<\_ACEOF
1993 #define __NETBSD__ 1
1996 cat >>confdefs.h <<\_ACEOF
2000 DEFAULT_DEFAULT_wxUSE_GTK=1
2001 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2008 cat >>confdefs.h <<\_ACEOF
2012 cat >>confdefs.h <<\_ACEOF
2016 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2017 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2022 cat >>confdefs.h <<\_ACEOF
2026 cat >>confdefs.h <<\_ACEOF
2030 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2035 cat >>confdefs.h <<\_ACEOF
2039 cat >>confdefs.h <<\_ACEOF
2043 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2050 cat >>confdefs.h <<\_ACEOF
2054 cat >>confdefs.h <<\_ACEOF
2058 cat >>confdefs.h <<\_ACEOF
2062 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2069 cat >>confdefs.h <<\_ACEOF
2070 #define __UNIXWARE__ 1
2075 *-*-cygwin* | *-*-mingw32* )
2078 DEFAULT_DEFAULT_wxUSE_MSW=1
2084 cat >>confdefs.h <<\_ACEOF
2089 DEFAULT_DEFAULT_wxUSE_MGL=1
2092 *-pc-os2_emx | *-pc-os2-emx )
2093 cat >>confdefs.h <<\_ACEOF
2098 cat >>confdefs.h <<\_ACEOF
2103 DEFAULT_DEFAULT_wxUSE_PM=1
2105 LDFLAGS="$LDFLAGS -Zcrtdll"
2106 ac_executable_extensions=".exe"
2107 export ac_executable_extensions
2111 for ac_dir in $PATH; do
2113 if test -z "$ac_TEMP_PATH"; then
2114 ac_TEMP_PATH="$ac_dir"
2116 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2119 export PATH="$ac_TEMP_PATH"
2128 cat >>confdefs.h <<\_ACEOF
2132 cat >>confdefs.h <<\_ACEOF
2133 #define __DARWIN__ 1
2136 cat >>confdefs.h <<\_ACEOF
2137 #define TARGET_CARBON 1
2140 DEFAULT_DEFAULT_wxUSE_MAC=1
2143 powerpc-apple-macos* )
2145 ac_cv_c_bigendian=yes
2147 DEFAULT_DEFAULT_wxUSE_MAC=1
2153 cat >>confdefs.h <<\_ACEOF
2160 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2161 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2162 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2163 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165 DEFAULT_DEFAULT_wxUSE_X11=1
2166 DEFAULT_wxUSE_SHARED=no
2172 wx_arg_cache_file="configarg.cache"
2173 echo "loading argument cache $wx_arg_cache_file"
2174 rm -f ${wx_arg_cache_file}.tmp
2175 touch ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}
2180 if test $DEBUG_CONFIGURE = 1; then
2181 DEFAULT_wxUSE_UNIVERSAL=no
2182 DEFAULT_wxUSE_STL=no
2183 DEFAULT_wxUSE_EXTENDED_RTTI=no
2185 DEFAULT_wxUSE_NANOX=no
2187 DEFAULT_wxUSE_THREADS=yes
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_VARARG_MACROS=no
2194 DEFAULT_wxUSE_NO_RTTI=no
2195 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2196 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2197 DEFAULT_wxUSE_RPATH=yes
2198 DEFAULT_wxUSE_PERMISSIVE=no
2199 DEFAULT_wxUSE_DEBUG_FLAG=yes
2200 DEFAULT_wxUSE_DEBUG_INFO=yes
2201 DEFAULT_wxUSE_DEBUG_GDB=yes
2202 DEFAULT_wxUSE_MEM_TRACING=no
2203 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2204 DEFAULT_wxUSE_DMALLOC=no
2205 DEFAULT_wxUSE_APPLE_IEEE=no
2207 DEFAULT_wxUSE_EXCEPTIONS=no
2208 DEFAULT_wxUSE_LOG=yes
2209 DEFAULT_wxUSE_LOGWINDOW=no
2210 DEFAULT_wxUSE_LOGGUI=no
2211 DEFAULT_wxUSE_LOGDIALOG=no
2213 DEFAULT_wxUSE_GUI=yes
2214 DEFAULT_wxUSE_CONTROLS=no
2216 DEFAULT_wxUSE_REGEX=no
2217 DEFAULT_wxUSE_XML=no
2218 DEFAULT_wxUSE_EXPAT=no
2219 DEFAULT_wxUSE_ZLIB=no
2220 DEFAULT_wxUSE_LIBPNG=no
2221 DEFAULT_wxUSE_LIBJPEG=no
2222 DEFAULT_wxUSE_LIBTIFF=no
2223 DEFAULT_wxUSE_LIBXPM=no
2224 DEFAULT_wxUSE_LIBMSPACK=no
2225 DEFAULT_wxUSE_LIBSDL=no
2226 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2227 DEFAULT_wxUSE_LIBGNOMEVFS=no
2228 DEFAULT_wxUSE_LIBHILDON=no
2229 DEFAULT_wxUSE_ODBC=no
2230 DEFAULT_wxUSE_OPENGL=no
2232 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2233 DEFAULT_wxUSE_STACKWALKER=no
2234 DEFAULT_wxUSE_DEBUGREPORT=no
2235 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2236 DEFAULT_wxUSE_STD_IOSTREAM=no
2237 DEFAULT_wxUSE_STD_STRING=no
2238 DEFAULT_wxUSE_CMDLINE_PARSER=no
2239 DEFAULT_wxUSE_DATETIME=no
2240 DEFAULT_wxUSE_TIMER=no
2241 DEFAULT_wxUSE_STOPWATCH=no
2242 DEFAULT_wxUSE_FILE=no
2243 DEFAULT_wxUSE_FFILE=no
2244 DEFAULT_wxUSE_STDPATHS=no
2245 DEFAULT_wxUSE_TEXTBUFFER=no
2246 DEFAULT_wxUSE_TEXTFILE=no
2247 DEFAULT_wxUSE_SOUND=no
2248 DEFAULT_wxUSE_MEDIACTRL=no
2249 DEFAULT_wxUSE_GSTREAMER8=no
2250 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2251 DEFAULT_wxUSE_INTL=no
2252 DEFAULT_wxUSE_CONFIG=no
2253 DEFAULT_wxUSE_FONTMAP=no
2254 DEFAULT_wxUSE_STREAMS=no
2255 DEFAULT_wxUSE_SOCKETS=no
2256 DEFAULT_wxUSE_OLE=no
2257 DEFAULT_wxUSE_DATAOBJ=no
2258 DEFAULT_wxUSE_DIALUP_MANAGER=no
2259 DEFAULT_wxUSE_JOYSTICK=no
2260 DEFAULT_wxUSE_DYNLIB_CLASS=no
2261 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2262 DEFAULT_wxUSE_LONGLONG=no
2263 DEFAULT_wxUSE_GEOMETRY=no
2265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2267 DEFAULT_wxUSE_POSTSCRIPT=no
2269 DEFAULT_wxUSE_CLIPBOARD=no
2270 DEFAULT_wxUSE_TOOLTIPS=no
2271 DEFAULT_wxUSE_DRAG_AND_DROP=no
2272 DEFAULT_wxUSE_DRAGIMAGE=no
2273 DEFAULT_wxUSE_SPLINES=no
2274 DEFAULT_wxUSE_MOUSEWHEEL=no
2276 DEFAULT_wxUSE_MDI=no
2277 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2278 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2279 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_STC=no
2320 DEFAULT_wxUSE_WEBKIT=no
2321 DEFAULT_wxUSE_FILESYSTEM=no
2322 DEFAULT_wxUSE_FS_INET=no
2323 DEFAULT_wxUSE_FS_ZIP=no
2324 DEFAULT_wxUSE_FS_ARCHIVE=no
2325 DEFAULT_wxUSE_BUSYINFO=no
2326 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2327 DEFAULT_wxUSE_ZIPSTREAM=no
2328 DEFAULT_wxUSE_TARSTREAM=no
2329 DEFAULT_wxUSE_VALIDATORS=no
2331 DEFAULT_wxUSE_ACCEL=no
2332 DEFAULT_wxUSE_ANIMATIONCTRL=no
2333 DEFAULT_wxUSE_BUTTON=no
2334 DEFAULT_wxUSE_BMPBUTTON=no
2335 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2336 DEFAULT_wxUSE_CALCTRL=no
2337 DEFAULT_wxUSE_CARET=no
2338 DEFAULT_wxUSE_CHECKBOX=no
2339 DEFAULT_wxUSE_CHECKLST=no
2340 DEFAULT_wxUSE_CHOICE=no
2341 DEFAULT_wxUSE_CHOICEBOOK=no
2342 DEFAULT_wxUSE_COLLPANE=no
2343 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2344 DEFAULT_wxUSE_COMBOBOX=no
2345 DEFAULT_wxUSE_COMBOCTRL=no
2346 DEFAULT_wxUSE_DATEPICKCTRL=no
2347 DEFAULT_wxUSE_DISPLAY=no
2348 DEFAULT_wxUSE_DETECT_SM=no
2349 DEFAULT_wxUSE_DIRPICKERCTRL=no
2350 DEFAULT_wxUSE_EDITABLELISTBOX=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_SEARCHCTRL=no
2369 DEFAULT_wxUSE_SLIDER=no
2370 DEFAULT_wxUSE_SPINBTN=no
2371 DEFAULT_wxUSE_SPINCTRL=no
2372 DEFAULT_wxUSE_SPLITTER=no
2373 DEFAULT_wxUSE_STATBMP=no
2374 DEFAULT_wxUSE_STATBOX=no
2375 DEFAULT_wxUSE_STATLINE=no
2376 DEFAULT_wxUSE_STATTEXT=no
2377 DEFAULT_wxUSE_STATUSBAR=yes
2378 DEFAULT_wxUSE_TAB_DIALOG=no
2379 DEFAULT_wxUSE_TEXTCTRL=no
2380 DEFAULT_wxUSE_TOGGLEBTN=no
2381 DEFAULT_wxUSE_TOOLBAR=no
2382 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2383 DEFAULT_wxUSE_TREEBOOK=no
2384 DEFAULT_wxUSE_TOOLBOOK=no
2385 DEFAULT_wxUSE_TREECTRL=no
2386 DEFAULT_wxUSE_POPUPWIN=no
2387 DEFAULT_wxUSE_TIPWINDOW=no
2389 DEFAULT_wxUSE_UNICODE=no
2390 DEFAULT_wxUSE_UNICODE_MSLU=no
2391 DEFAULT_wxUSE_UNICODE_UTF8=no
2392 DEFAULT_wxUSE_WCSRTOMBS=no
2394 DEFAULT_wxUSE_PALETTE=no
2395 DEFAULT_wxUSE_IMAGE=no
2396 DEFAULT_wxUSE_GIF=no
2397 DEFAULT_wxUSE_PCX=no
2398 DEFAULT_wxUSE_TGA=no
2399 DEFAULT_wxUSE_PNM=no
2400 DEFAULT_wxUSE_IFF=no
2401 DEFAULT_wxUSE_XPM=no
2402 DEFAULT_wxUSE_ICO_CUR=no
2403 DEFAULT_wxUSE_ACCESSIBILITY=no
2405 DEFAULT_wxUSE_MONOLITHIC=no
2406 DEFAULT_wxUSE_PLUGINS=no
2407 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2409 DEFAULT_wxUSE_UNIVERSAL=no
2410 DEFAULT_wxUSE_STL=no
2411 DEFAULT_wxUSE_EXTENDED_RTTI=no
2413 DEFAULT_wxUSE_NANOX=no
2415 DEFAULT_wxUSE_THREADS=yes
2417 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2418 DEFAULT_wxUSE_OPTIMISE=yes
2419 DEFAULT_wxUSE_PROFILE=no
2420 DEFAULT_wxUSE_NO_DEPS=no
2421 DEFAULT_wxUSE_VARARG_MACROS=yes
2422 DEFAULT_wxUSE_NO_RTTI=no
2423 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2424 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2425 DEFAULT_wxUSE_RPATH=yes
2426 DEFAULT_wxUSE_PERMISSIVE=no
2427 DEFAULT_wxUSE_DEBUG_FLAG=no
2428 DEFAULT_wxUSE_DEBUG_INFO=no
2429 DEFAULT_wxUSE_DEBUG_GDB=no
2430 DEFAULT_wxUSE_MEM_TRACING=no
2431 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2432 DEFAULT_wxUSE_DMALLOC=no
2433 DEFAULT_wxUSE_APPLE_IEEE=yes
2435 DEFAULT_wxUSE_EXCEPTIONS=yes
2436 DEFAULT_wxUSE_LOG=yes
2437 DEFAULT_wxUSE_LOGWINDOW=yes
2438 DEFAULT_wxUSE_LOGGUI=yes
2439 DEFAULT_wxUSE_LOGDIALOG=yes
2441 DEFAULT_wxUSE_GUI=yes
2443 DEFAULT_wxUSE_REGEX=yes
2444 DEFAULT_wxUSE_XML=yes
2445 DEFAULT_wxUSE_EXPAT=yes
2446 DEFAULT_wxUSE_ZLIB=yes
2447 DEFAULT_wxUSE_LIBPNG=yes
2448 DEFAULT_wxUSE_LIBJPEG=yes
2449 DEFAULT_wxUSE_LIBTIFF=yes
2450 DEFAULT_wxUSE_LIBXPM=yes
2451 DEFAULT_wxUSE_LIBMSPACK=yes
2452 DEFAULT_wxUSE_LIBSDL=no
2453 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2454 DEFAULT_wxUSE_LIBGNOMEVFS=no
2455 DEFAULT_wxUSE_LIBHILDON=no
2456 DEFAULT_wxUSE_ODBC=no
2457 DEFAULT_wxUSE_OPENGL=no
2459 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2460 DEFAULT_wxUSE_STACKWALKER=yes
2461 DEFAULT_wxUSE_DEBUGREPORT=yes
2462 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2463 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2464 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2465 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2466 DEFAULT_wxUSE_DATETIME=yes
2467 DEFAULT_wxUSE_TIMER=yes
2468 DEFAULT_wxUSE_STOPWATCH=yes
2469 DEFAULT_wxUSE_FILE=yes
2470 DEFAULT_wxUSE_FFILE=yes
2471 DEFAULT_wxUSE_STDPATHS=yes
2472 DEFAULT_wxUSE_TEXTBUFFER=yes
2473 DEFAULT_wxUSE_TEXTFILE=yes
2474 DEFAULT_wxUSE_SOUND=yes
2475 DEFAULT_wxUSE_MEDIACTRL=no
2476 DEFAULT_wxUSE_GSTREAMER8=no
2477 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2478 DEFAULT_wxUSE_INTL=yes
2479 DEFAULT_wxUSE_CONFIG=yes
2480 DEFAULT_wxUSE_FONTMAP=yes
2481 DEFAULT_wxUSE_STREAMS=yes
2482 DEFAULT_wxUSE_SOCKETS=yes
2483 DEFAULT_wxUSE_OLE=yes
2484 DEFAULT_wxUSE_DATAOBJ=yes
2485 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2486 DEFAULT_wxUSE_JOYSTICK=yes
2487 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2488 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2489 DEFAULT_wxUSE_LONGLONG=yes
2490 DEFAULT_wxUSE_GEOMETRY=yes
2492 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2493 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2494 DEFAULT_wxUSE_POSTSCRIPT=yes
2496 DEFAULT_wxUSE_CLIPBOARD=yes
2497 DEFAULT_wxUSE_TOOLTIPS=yes
2498 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2499 DEFAULT_wxUSE_DRAGIMAGE=yes
2500 DEFAULT_wxUSE_SPLINES=yes
2501 DEFAULT_wxUSE_MOUSEWHEEL=yes
2503 DEFAULT_wxUSE_MDI=yes
2504 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2505 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2506 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2508 DEFAULT_wxUSE_CONSTRAINTS=yes
2509 DEFAULT_wxUSE_IPC=yes
2510 DEFAULT_wxUSE_HELP=yes
2511 DEFAULT_wxUSE_MS_HTML_HELP=yes
2512 DEFAULT_wxUSE_WXHTML_HELP=yes
2513 DEFAULT_wxUSE_TREELAYOUT=yes
2514 DEFAULT_wxUSE_METAFILE=yes
2515 DEFAULT_wxUSE_MIMETYPE=yes
2516 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2517 DEFAULT_wxUSE_PROTOCOL=yes
2518 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2519 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2520 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2521 DEFAULT_wxUSE_URL=yes
2522 DEFAULT_wxUSE_VARIANT=yes
2524 DEFAULT_wxUSE_ABOUTDLG=yes
2525 DEFAULT_wxUSE_COMMONDLGS=yes
2526 DEFAULT_wxUSE_CHOICEDLG=yes
2527 DEFAULT_wxUSE_COLOURDLG=yes
2528 DEFAULT_wxUSE_DIRDLG=yes
2529 DEFAULT_wxUSE_FILEDLG=yes
2530 DEFAULT_wxUSE_FINDREPLDLG=yes
2531 DEFAULT_wxUSE_FONTDLG=yes
2532 DEFAULT_wxUSE_MSGDLG=yes
2533 DEFAULT_wxUSE_NUMBERDLG=yes
2534 DEFAULT_wxUSE_TEXTDLG=yes
2535 DEFAULT_wxUSE_SPLASH=yes
2536 DEFAULT_wxUSE_STARTUP_TIPS=yes
2537 DEFAULT_wxUSE_PROGRESSDLG=yes
2538 DEFAULT_wxUSE_WIZARDDLG=yes
2540 DEFAULT_wxUSE_MENUS=yes
2541 DEFAULT_wxUSE_MINIFRAME=yes
2542 DEFAULT_wxUSE_HTML=yes
2543 DEFAULT_wxUSE_RICHTEXT=yes
2544 DEFAULT_wxUSE_XRC=yes
2545 DEFAULT_wxUSE_AUI=yes
2546 DEFAULT_wxUSE_STC=yes
2547 DEFAULT_wxUSE_WEBKIT=yes
2548 DEFAULT_wxUSE_FILESYSTEM=yes
2549 DEFAULT_wxUSE_FS_INET=yes
2550 DEFAULT_wxUSE_FS_ZIP=yes
2551 DEFAULT_wxUSE_FS_ARCHIVE=yes
2552 DEFAULT_wxUSE_BUSYINFO=yes
2553 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2554 DEFAULT_wxUSE_ZIPSTREAM=yes
2555 DEFAULT_wxUSE_TARSTREAM=yes
2556 DEFAULT_wxUSE_VALIDATORS=yes
2558 DEFAULT_wxUSE_ACCEL=yes
2559 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2560 DEFAULT_wxUSE_BUTTON=yes
2561 DEFAULT_wxUSE_BMPBUTTON=yes
2562 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2563 DEFAULT_wxUSE_CALCTRL=yes
2564 DEFAULT_wxUSE_CARET=yes
2565 DEFAULT_wxUSE_CHECKBOX=yes
2566 DEFAULT_wxUSE_CHECKLST=yes
2567 DEFAULT_wxUSE_CHOICE=yes
2568 DEFAULT_wxUSE_CHOICEBOOK=yes
2569 DEFAULT_wxUSE_COLLPANE=yes
2570 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2571 DEFAULT_wxUSE_COMBOBOX=yes
2572 DEFAULT_wxUSE_COMBOCTRL=yes
2573 DEFAULT_wxUSE_DATEPICKCTRL=yes
2574 DEFAULT_wxUSE_DISPLAY=yes
2575 DEFAULT_wxUSE_DETECT_SM=yes
2576 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2577 DEFAULT_wxUSE_EDITABLELISTBOX=yes
2578 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2579 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2580 DEFAULT_wxUSE_GAUGE=yes
2581 DEFAULT_wxUSE_GRID=yes
2582 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2583 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2584 DEFAULT_wxUSE_DATAVIEWCTRL=no
2585 DEFAULT_wxUSE_IMAGLIST=yes
2586 DEFAULT_wxUSE_LISTBOOK=yes
2587 DEFAULT_wxUSE_LISTBOX=yes
2588 DEFAULT_wxUSE_LISTCTRL=yes
2589 DEFAULT_wxUSE_NOTEBOOK=yes
2590 DEFAULT_wxUSE_ODCOMBOBOX=yes
2591 DEFAULT_wxUSE_RADIOBOX=yes
2592 DEFAULT_wxUSE_RADIOBTN=yes
2593 DEFAULT_wxUSE_SASH=yes
2594 DEFAULT_wxUSE_SCROLLBAR=yes
2595 DEFAULT_wxUSE_SEARCHCTRL=yes
2596 DEFAULT_wxUSE_SLIDER=yes
2597 DEFAULT_wxUSE_SPINBTN=yes
2598 DEFAULT_wxUSE_SPINCTRL=yes
2599 DEFAULT_wxUSE_SPLITTER=yes
2600 DEFAULT_wxUSE_STATBMP=yes
2601 DEFAULT_wxUSE_STATBOX=yes
2602 DEFAULT_wxUSE_STATLINE=yes
2603 DEFAULT_wxUSE_STATTEXT=yes
2604 DEFAULT_wxUSE_STATUSBAR=yes
2605 DEFAULT_wxUSE_TAB_DIALOG=no
2606 DEFAULT_wxUSE_TEXTCTRL=yes
2607 DEFAULT_wxUSE_TOGGLEBTN=yes
2608 DEFAULT_wxUSE_TOOLBAR=yes
2609 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2610 DEFAULT_wxUSE_TREEBOOK=yes
2611 DEFAULT_wxUSE_TOOLBOOK=yes
2612 DEFAULT_wxUSE_TREECTRL=yes
2613 DEFAULT_wxUSE_POPUPWIN=yes
2614 DEFAULT_wxUSE_TIPWINDOW=yes
2616 DEFAULT_wxUSE_UNICODE=no
2617 DEFAULT_wxUSE_UNICODE_MSLU=yes
2618 DEFAULT_wxUSE_UNICODE_UTF8=no
2619 DEFAULT_wxUSE_WCSRTOMBS=no
2621 DEFAULT_wxUSE_PALETTE=yes
2622 DEFAULT_wxUSE_IMAGE=yes
2623 DEFAULT_wxUSE_GIF=yes
2624 DEFAULT_wxUSE_PCX=yes
2625 DEFAULT_wxUSE_TGA=yes
2626 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2627 DEFAULT_wxUSE_XPM=yes
2628 DEFAULT_wxUSE_ICO_CUR=yes
2629 DEFAULT_wxUSE_ACCESSIBILITY=no
2631 DEFAULT_wxUSE_MONOLITHIC=no
2632 DEFAULT_wxUSE_PLUGINS=no
2633 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2635 DEFAULT_wxUSE_GTK2=yes
2641 for toolkit in `echo $ALL_TOOLKITS`; do
2642 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2643 if test "x$LINE" != "x" ; then
2644 has_toolkit_in_cache=1
2645 eval "DEFAULT_$LINE"
2646 eval "CACHE_$toolkit=1"
2648 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2649 if test "x$LINE" != "x" ; then
2650 eval "DEFAULT_$LINE"
2658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2659 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2661 # Check whether --enable-gui or --disable-gui was given.
2662 if test "${enable_gui+set}" = set; then
2663 enableval="$enable_gui"
2665 if test "$enableval" = yes; then
2666 ac_cv_use_gui='wxUSE_GUI
=yes'
2668 ac_cv_use_gui='wxUSE_GUI
=no
'
2673 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x ; then
2675 eval "DEFAULT_$LINE"
2680 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2684 eval "$ac_cv_use_gui"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2689 if test "$wxUSE_GUI" = yes; then
2690 echo "$as_me:$LINENO: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2693 echo "$as_me:$LINENO: result: no" >&5
2694 echo "${ECHO_T}no" >&6
2699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2700 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2702 # Check whether --enable-monolithic or --disable-monolithic was given.
2703 if test "${enable_monolithic+set}" = set; then
2704 enableval="$enable_monolithic"
2706 if test "$enableval" = yes; then
2707 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2709 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2714 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2715 if test "x$LINE" != x ; then
2716 eval "DEFAULT_$LINE"
2721 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2725 eval "$ac_cv_use_monolithic"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2730 if test "$wxUSE_MONOLITHIC" = yes; then
2731 echo "$as_me:$LINENO: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2734 echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6
2740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2741 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2743 # Check whether --enable-plugins or --disable-plugins was given.
2744 if test "${enable_plugins+set}" = set; then
2745 enableval="$enable_plugins"
2747 if test "$enableval" = yes; then
2748 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2750 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2755 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2756 if test "x$LINE" != x ; then
2757 eval "DEFAULT_$LINE"
2762 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2766 eval "$ac_cv_use_plugins"
2767 if test "$no_cache" != 1; then
2768 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2771 if test "$wxUSE_PLUGINS" = yes; then
2772 echo "$as_me:$LINENO: result: yes" >&5
2773 echo "${ECHO_T}yes" >&6
2775 echo "$as_me:$LINENO: result: no" >&5
2776 echo "${ECHO_T}no" >&6
2781 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2782 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2785 # Check whether --with-subdirs or --without-subdirs was given.
2786 if test "${with_subdirs+set}" = set; then
2787 withval="$with_subdirs"
2789 if test "$withval" = yes; then
2790 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2792 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2797 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2798 if test "x$LINE" != x ; then
2799 eval "DEFAULT_$LINE"
2804 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2808 eval "$ac_cv_use_subdirs"
2809 if test "$no_cache" != 1; then
2810 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2813 if test "$wxWITH_SUBDIRS" = yes; then
2814 echo "$as_me:$LINENO: result: yes" >&5
2815 echo "${ECHO_T}yes" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test "$wxUSE_GUI" = "yes"; then
2826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2827 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2829 # Check whether --enable-universal or --disable-universal was given.
2830 if test "${enable_universal+set}" = set; then
2831 enableval="$enable_universal"
2833 if test "$enableval" = yes; then
2834 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2836 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2841 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x ; then
2843 eval "DEFAULT_$LINE"
2848 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2852 eval "$ac_cv_use_universal"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2857 if test "$wxUSE_UNIVERSAL" = yes; then
2858 echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2866 # Check whether --with-gtk or --without-gtk was given.
2867 if test "${with_gtk+set}" = set; then
2869 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2872 # Check whether --with-motif or --without-motif was given.
2873 if test "${with_motif+set}" = set; then
2874 withval="$with_motif"
2875 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2878 # Check whether --with-mac or --without-mac was given.
2879 if test "${with_mac+set}" = set; then
2881 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2884 # Check whether --with-cocoa or --without-cocoa was given.
2885 if test "${with_cocoa+set}" = set; then
2886 withval="$with_cocoa"
2887 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2890 # Check whether --with-wine or --without-wine was given.
2891 if test "${with_wine+set}" = set; then
2892 withval="$with_wine"
2893 wxUSE_WINE="$withval" CACHE_WINE=1
2896 # Check whether --with-msw or --without-msw was given.
2897 if test "${with_msw+set}" = set; then
2899 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2902 # Check whether --with-pm or --without-pm was given.
2903 if test "${with_pm+set}" = set; then
2905 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2908 # Check whether --with-mgl or --without-mgl was given.
2909 if test "${with_mgl+set}" = set; then
2911 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2914 # Check whether --with-directfb or --without-directfb was given.
2915 if test "${with_directfb+set}" = set; then
2916 withval="$with_directfb"
2917 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2920 # Check whether --with-microwin or --without-microwin was given.
2921 if test "${with_microwin+set}" = set; then
2922 withval="$with_microwin"
2923 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2926 # Check whether --with-x11 or --without-x11 was given.
2927 if test "${with_x11+set}" = set; then
2929 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2934 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2936 # Check whether --enable-nanox or --disable-nanox was given.
2937 if test "${enable_nanox+set}" = set; then
2938 enableval="$enable_nanox"
2940 if test "$enableval" = yes; then
2941 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2943 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2948 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x ; then
2950 eval "DEFAULT_$LINE"
2955 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2959 eval "$ac_cv_use_nanox"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2964 if test "$wxUSE_NANOX" = yes; then
2965 echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2973 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2974 if test "${enable_gtk2+set}" = set; then
2975 enableval="$enable_gtk2"
2976 wxUSE_GTK2="$enableval"
2980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2981 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2983 # Check whether --enable-gpe or --disable-gpe was given.
2984 if test "${enable_gpe+set}" = set; then
2985 enableval="$enable_gpe"
2987 if test "$enableval" = yes; then
2988 ac_cv_use_gpe='wxUSE_GPE
=yes'
2990 ac_cv_use_gpe='wxUSE_GPE
=no
'
2995 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
3002 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
3006 eval "$ac_cv_use_gpe"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3011 if test "$wxUSE_GPE" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3021 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3022 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3025 # Check whether --with-libpng or --without-libpng was given.
3026 if test "${with_libpng+set}" = set; then
3027 withval="$with_libpng"
3029 if test "$withval" = yes; then
3030 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
3031 elif test "$withval" = no; then
3032 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
3033 elif test "$withval" = sys; then
3034 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
3035 elif test "$withval" = builtin; then
3036 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3045 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3052 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
3056 eval "$ac_cv_use_libpng"
3057 if test "$no_cache" != 1; then
3058 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3061 if test "$wxUSE_LIBPNG" = yes; then
3062 echo "$as_me:$LINENO: result: yes" >&5
3063 echo "${ECHO_T}yes" >&6
3064 elif test "$wxUSE_LIBPNG" = no; then
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3067 elif test "$wxUSE_LIBPNG" = sys; then
3068 echo "$as_me:$LINENO: result: system version" >&5
3069 echo "${ECHO_T}system version" >&6
3070 elif test "$wxUSE_LIBPNG" = builtin; then
3071 echo "$as_me:$LINENO: result: builtin version" >&5
3072 echo "${ECHO_T}builtin version" >&6
3074 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3075 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3076 { (exit 1); exit 1; }; }
3080 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3081 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3084 # Check whether --with-libjpeg or --without-libjpeg was given.
3085 if test "${with_libjpeg+set}" = set; then
3086 withval="$with_libjpeg"
3088 if test "$withval" = yes; then
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3090 elif test "$withval" = no; then
3091 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3092 elif test "$withval" = sys; then
3093 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3094 elif test "$withval" = builtin; then
3095 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3097 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3098 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3099 { (exit 1); exit 1; }; }
3104 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3105 if test "x$LINE" != x ; then
3106 eval "DEFAULT_$LINE"
3111 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
3115 eval "$ac_cv_use_libjpeg"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3120 if test "$wxUSE_LIBJPEG" = yes; then
3121 echo "$as_me:$LINENO: result: yes" >&5
3122 echo "${ECHO_T}yes" >&6
3123 elif test "$wxUSE_LIBJPEG" = no; then
3124 echo "$as_me:$LINENO: result: no" >&5
3125 echo "${ECHO_T}no" >&6
3126 elif test "$wxUSE_LIBJPEG" = sys; then
3127 echo "$as_me:$LINENO: result: system version" >&5
3128 echo "${ECHO_T}system version" >&6
3129 elif test "$wxUSE_LIBJPEG" = builtin; then
3130 echo "$as_me:$LINENO: result: builtin version" >&5
3131 echo "${ECHO_T}builtin version" >&6
3133 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3134 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3135 { (exit 1); exit 1; }; }
3139 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3140 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3143 # Check whether --with-libtiff or --without-libtiff was given.
3144 if test "${with_libtiff+set}" = set; then
3145 withval="$with_libtiff"
3147 if test "$withval" = yes; then
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
3149 elif test "$withval" = no; then
3150 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
3151 elif test "$withval" = sys; then
3152 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
3153 elif test "$withval" = builtin; then
3154 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
3156 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3157 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3158 { (exit 1); exit 1; }; }
3163 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x ; then
3165 eval "DEFAULT_$LINE"
3170 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
3174 eval "$ac_cv_use_libtiff"
3175 if test "$no_cache" != 1; then
3176 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3179 if test "$wxUSE_LIBTIFF" = yes; then
3180 echo "$as_me:$LINENO: result: yes" >&5
3181 echo "${ECHO_T}yes" >&6
3182 elif test "$wxUSE_LIBTIFF" = no; then
3183 echo "$as_me:$LINENO: result: no" >&5
3184 echo "${ECHO_T}no" >&6
3185 elif test "$wxUSE_LIBTIFF" = sys; then
3186 echo "$as_me:$LINENO: result: system version" >&5
3187 echo "${ECHO_T}system version" >&6
3188 elif test "$wxUSE_LIBTIFF" = builtin; then
3189 echo "$as_me:$LINENO: result: builtin version" >&5
3190 echo "${ECHO_T}builtin version" >&6
3192 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3193 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3194 { (exit 1); exit 1; }; }
3198 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3199 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3202 # Check whether --with-libxpm or --without-libxpm was given.
3203 if test "${with_libxpm+set}" = set; then
3204 withval="$with_libxpm"
3206 if test "$withval" = yes; then
3207 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3208 elif test "$withval" = no; then
3209 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3210 elif test "$withval" = sys; then
3211 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3212 elif test "$withval" = builtin; then
3213 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3215 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3216 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3217 { (exit 1); exit 1; }; }
3222 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x ; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3233 eval "$ac_cv_use_libxpm"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3238 if test "$wxUSE_LIBXPM" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3241 elif test "$wxUSE_LIBXPM" = no; then
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3244 elif test "$wxUSE_LIBXPM" = sys; then
3245 echo "$as_me:$LINENO: result: system version" >&5
3246 echo "${ECHO_T}system version" >&6
3247 elif test "$wxUSE_LIBXPM" = builtin; then
3248 echo "$as_me:$LINENO: result: builtin version" >&5
3249 echo "${ECHO_T}builtin version" >&6
3251 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3252 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3253 { (exit 1); exit 1; }; }
3258 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3259 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3262 # Check whether --with-libmspack or --without-libmspack was given.
3263 if test "${with_libmspack+set}" = set; then
3264 withval="$with_libmspack"
3266 if test "$withval" = yes; then
3267 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3269 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3274 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3281 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3285 eval "$ac_cv_use_libmspack"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_LIBMSPACK" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3300 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3301 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3304 # Check whether --with-sdl or --without-sdl was given.
3305 if test "${with_sdl+set}" = set; then
3308 if test "$withval" = yes; then
3309 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3311 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3316 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3317 if test "x$LINE" != x ; then
3318 eval "DEFAULT_$LINE"
3323 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3327 eval "$ac_cv_use_sdl"
3328 if test "$no_cache" != 1; then
3329 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3332 if test "$wxUSE_LIBSDL" = yes; then
3333 echo "$as_me:$LINENO: result: yes" >&5
3334 echo "${ECHO_T}yes" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3342 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3343 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3346 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3347 if test "${with_gnomeprint+set}" = set; then
3348 withval="$with_gnomeprint"
3350 if test "$withval" = yes; then
3351 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3353 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3358 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x ; then
3360 eval "DEFAULT_$LINE"
3365 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3369 eval "$ac_cv_use_gnomeprint"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3374 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3375 echo "$as_me:$LINENO: result: yes" >&5
3376 echo "${ECHO_T}yes" >&6
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3384 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3385 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3388 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3389 if test "${with_gnomevfs+set}" = set; then
3390 withval="$with_gnomevfs"
3392 if test "$withval" = yes; then
3393 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3395 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3400 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x ; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
='$DEFAULT_wxUSE_LIBGNOMEVFS
3411 eval "$ac_cv_use_gnomevfs"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3426 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3427 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3430 # Check whether --with-hildon or --without-hildon was given.
3431 if test "${with_hildon+set}" = set; then
3432 withval="$with_hildon"
3434 if test "$withval" = yes; then
3435 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3437 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3442 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x ; then
3444 eval "DEFAULT_$LINE"
3449 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3453 eval "$ac_cv_use_hildon"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3458 if test "$wxUSE_LIBHILDON" = yes; then
3459 echo "$as_me:$LINENO: result: yes" >&5
3460 echo "${ECHO_T}yes" >&6
3462 echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6
3468 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3469 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3472 # Check whether --with-opengl or --without-opengl was given.
3473 if test "${with_opengl+set}" = set; then
3474 withval="$with_opengl"
3476 if test "$withval" = yes; then
3477 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3479 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3484 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3491 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3495 eval "$ac_cv_use_opengl"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_OPENGL" = yes; then
3501 echo "$as_me:$LINENO: result: yes" >&5
3502 echo "${ECHO_T}yes" >&6
3504 echo "$as_me:$LINENO: result: no" >&5
3505 echo "${ECHO_T}no" >&6
3509 if test "$wxUSE_UNIVERSAL" = "yes"; then
3511 # Check whether --with-themes or --without-themes was given.
3512 if test "${with_themes+set}" = set; then
3513 withval="$with_themes"
3514 wxUNIV_THEMES="$withval"
3522 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3523 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3526 # Check whether --with-dmalloc or --without-dmalloc was given.
3527 if test "${with_dmalloc+set}" = set; then
3528 withval="$with_dmalloc"
3530 if test "$withval" = yes; then
3531 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3533 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3538 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3549 eval "$ac_cv_use_dmalloc"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_DMALLOC" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3563 echo "$as_me:$LINENO: checking for --with-regex" >&5
3564 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3567 # Check whether --with-regex or --without-regex was given.
3568 if test "${with_regex+set}" = set; then
3569 withval="$with_regex"
3571 if test "$withval" = yes; then
3572 ac_cv_use_regex='wxUSE_REGEX
=yes'
3573 elif test "$withval" = no; then
3574 ac_cv_use_regex='wxUSE_REGEX
=no
'
3575 elif test "$withval" = sys; then
3576 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3577 elif test "$withval" = builtin; then
3578 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3580 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3581 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3582 { (exit 1); exit 1; }; }
3587 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3588 if test "x$LINE" != x ; then
3589 eval "DEFAULT_$LINE"
3594 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3598 eval "$ac_cv_use_regex"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3603 if test "$wxUSE_REGEX" = yes; then
3604 echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6
3606 elif test "$wxUSE_REGEX" = no; then
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3609 elif test "$wxUSE_REGEX" = sys; then
3610 echo "$as_me:$LINENO: result: system version" >&5
3611 echo "${ECHO_T}system version" >&6
3612 elif test "$wxUSE_REGEX" = builtin; then
3613 echo "$as_me:$LINENO: result: builtin version" >&5
3614 echo "${ECHO_T}builtin version" >&6
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3622 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3623 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3626 # Check whether --with-zlib or --without-zlib was given.
3627 if test "${with_zlib+set}" = set; then
3628 withval="$with_zlib"
3630 if test "$withval" = yes; then
3631 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3632 elif test "$withval" = no; then
3633 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3634 elif test "$withval" = sys; then
3635 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3636 elif test "$withval" = builtin; then
3637 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3646 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x ; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3657 eval "$ac_cv_use_zlib"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3662 if test "$wxUSE_ZLIB" = yes; then
3663 echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6
3665 elif test "$wxUSE_ZLIB" = no; then
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3668 elif test "$wxUSE_ZLIB" = sys; then
3669 echo "$as_me:$LINENO: result: system version" >&5
3670 echo "${ECHO_T}system version" >&6
3671 elif test "$wxUSE_ZLIB" = builtin; then
3672 echo "$as_me:$LINENO: result: builtin version" >&5
3673 echo "${ECHO_T}builtin version" >&6
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3681 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3682 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3685 # Check whether --with-odbc or --without-odbc was given.
3686 if test "${with_odbc+set}" = set; then
3687 withval="$with_odbc"
3689 if test "$withval" = yes; then
3690 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3691 elif test "$withval" = no; then
3692 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3693 elif test "$withval" = sys; then
3694 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3695 elif test "$withval" = builtin; then
3696 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3705 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3712 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3716 eval "$ac_cv_use_odbc"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_ODBC" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3724 elif test "$wxUSE_ODBC" = no; then
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 elif test "$wxUSE_ODBC" = sys; then
3728 echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6
3730 elif test "$wxUSE_ODBC" = builtin; then
3731 echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3740 echo "$as_me:$LINENO: checking for --with-expat" >&5
3741 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3744 # Check whether --with-expat or --without-expat was given.
3745 if test "${with_expat+set}" = set; then
3746 withval="$with_expat"
3748 if test "$withval" = yes; then
3749 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3750 elif test "$withval" = no; then
3751 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3752 elif test "$withval" = sys; then
3753 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3754 elif test "$withval" = builtin; then
3755 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3764 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x ; then
3766 eval "DEFAULT_$LINE"
3771 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3775 eval "$ac_cv_use_expat"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3780 if test "$wxUSE_EXPAT" = yes; then
3781 echo "$as_me:$LINENO: result: yes" >&5
3782 echo "${ECHO_T}yes" >&6
3783 elif test "$wxUSE_EXPAT" = no; then
3784 echo "$as_me:$LINENO: result: no" >&5
3785 echo "${ECHO_T}no" >&6
3786 elif test "$wxUSE_EXPAT" = sys; then
3787 echo "$as_me:$LINENO: result: system version" >&5
3788 echo "${ECHO_T}system version" >&6
3789 elif test "$wxUSE_EXPAT" = builtin; then
3790 echo "$as_me:$LINENO: result: builtin version" >&5
3791 echo "${ECHO_T}builtin version" >&6
3793 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3794 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3795 { (exit 1); exit 1; }; }
3802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3803 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3805 # Check whether --enable-shared or --disable-shared was given.
3806 if test "${enable_shared+set}" = set; then
3807 enableval="$enable_shared"
3809 if test "$enableval" = yes; then
3810 ac_cv_use_shared='wxUSE_SHARED
=yes'
3812 ac_cv_use_shared='wxUSE_SHARED
=no
'
3817 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3828 eval "$ac_cv_use_shared"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3833 if test "$wxUSE_SHARED" = yes; then
3834 echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3844 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3846 # Check whether --enable-optimise or --disable-optimise was given.
3847 if test "${enable_optimise+set}" = set; then
3848 enableval="$enable_optimise"
3850 if test "$enableval" = yes; then
3851 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3853 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3858 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x ; then
3860 eval "DEFAULT_$LINE"
3865 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3869 eval "$ac_cv_use_optimise"
3870 if test "$no_cache" != 1; then
3871 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3874 if test "$wxUSE_OPTIMISE" = yes; then
3875 echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6
3878 echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6
3884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3885 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3887 # Check whether --enable-debug or --disable-debug was given.
3888 if test "${enable_debug+set}" = set; then
3889 enableval="$enable_debug"
3891 if test "$enableval" = yes; then
3892 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3894 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3899 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3900 if test "x$LINE" != x ; then
3901 eval "DEFAULT_$LINE"
3906 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3910 eval "$ac_cv_use_debug"
3911 if test "$no_cache" != 1; then
3912 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3915 if test "$wxUSE_DEBUG" = yes; then
3916 echo "$as_me:$LINENO: result: yes" >&5
3917 echo "${ECHO_T}yes" >&6
3919 echo "$as_me:$LINENO: result: no" >&5
3920 echo "${ECHO_T}no" >&6
3925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3926 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3928 # Check whether --enable-stl or --disable-stl was given.
3929 if test "${enable_stl+set}" = set; then
3930 enableval="$enable_stl"
3932 if test "$enableval" = yes; then
3933 ac_cv_use_stl='wxUSE_STL
=yes'
3935 ac_cv_use_stl='wxUSE_STL
=no
'
3940 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3941 if test "x$LINE" != x ; then
3942 eval "DEFAULT_$LINE"
3947 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3951 eval "$ac_cv_use_stl"
3952 if test "$no_cache" != 1; then
3953 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3956 if test "$wxUSE_STL" = yes; then
3957 echo "$as_me:$LINENO: result: yes" >&5
3958 echo "${ECHO_T}yes" >&6
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
3967 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
3969 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
3970 if test "${enable_extended_rtti+set}" = set; then
3971 enableval="$enable_extended_rtti"
3973 if test "$enableval" = yes; then
3974 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
3976 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
3981 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x ; then
3983 eval "DEFAULT_$LINE"
3988 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
='$DEFAULT_wxUSE_EXTENDED_RTTI
3992 eval "$ac_cv_use_extended_rtti"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
3997 if test "$wxUSE_EXTENDED_RTTI" = yes; then
3998 echo "$as_me:$LINENO: result: yes" >&5
3999 echo "${ECHO_T}yes" >&6
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4005 if test "$USE_OS2" = "1"; then
4006 DEFAULT_wxUSE_OMF=no
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4012 # Check whether --enable-omf or --disable-omf was given.
4013 if test "${enable_omf+set}" = set; then
4014 enableval="$enable_omf"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_omf='wxUSE_OMF
=yes'
4019 ac_cv_use_omf='wxUSE_OMF
=no
'
4024 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
4035 eval "$ac_cv_use_omf"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4040 if test "$wxUSE_OMF" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4050 if test "$wxUSE_DEBUG" = "yes"; then
4051 DEFAULT_wxUSE_DEBUG_FLAG=yes
4052 DEFAULT_wxUSE_DEBUG_INFO=yes
4054 elif test "$wxUSE_DEBUG" = "no"; then
4055 DEFAULT_wxUSE_DEBUG_FLAG=no
4056 DEFAULT_wxUSE_DEBUG_INFO=no
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4065 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4066 if test "${enable_debug_flag+set}" = set; then
4067 enableval="$enable_debug_flag"
4069 if test "$enableval" = yes; then
4070 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4072 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4077 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
4088 eval "$ac_cv_use_debug_flag"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_DEBUG_FLAG" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4106 # Check whether --enable-debug_info or --disable-debug_info was given.
4107 if test "${enable_debug_info+set}" = set; then
4108 enableval="$enable_debug_info"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4113 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4118 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x ; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
4129 eval "$ac_cv_use_debug_info"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_DEBUG_INFO" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4145 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4147 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4148 if test "${enable_debug_gdb+set}" = set; then
4149 enableval="$enable_debug_gdb"
4151 if test "$enableval" = yes; then
4152 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4154 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4159 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x ; then
4161 eval "DEFAULT_$LINE"
4166 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
4170 eval "$ac_cv_use_debug_gdb"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_DEBUG_GDB" = yes; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4186 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4188 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4189 if test "${enable_debug_cntxt+set}" = set; then
4190 enableval="$enable_debug_cntxt"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4195 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4200 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x ; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
4211 eval "$ac_cv_use_debug_cntxt"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4216 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4217 echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4229 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4230 if test "${enable_mem_tracing+set}" = set; then
4231 enableval="$enable_mem_tracing"
4233 if test "$enableval" = yes; then
4234 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
4236 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
4241 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x ; then
4243 eval "DEFAULT_$LINE"
4248 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
4252 eval "$ac_cv_use_mem_tracing"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_MEM_TRACING" = yes; then
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4270 # Check whether --enable-profile or --disable-profile was given.
4271 if test "${enable_profile+set}" = set; then
4272 enableval="$enable_profile"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_profile='wxUSE_PROFILE
=yes'
4277 ac_cv_use_profile='wxUSE_PROFILE
=no
'
4282 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x ; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4293 eval "$ac_cv_use_profile"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_PROFILE" = yes; then
4299 echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4311 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4312 if test "${enable_no_rtti+set}" = set; then
4313 enableval="$enable_no_rtti"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4318 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4323 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4334 eval "$ac_cv_use_no_rtti"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_NO_RTTI" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4352 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4353 if test "${enable_no_exceptions+set}" = set; then
4354 enableval="$enable_no_exceptions"
4356 if test "$enableval" = yes; then
4357 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4359 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4364 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x ; then
4366 eval "DEFAULT_$LINE"
4371 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4375 eval "$ac_cv_use_no_exceptions"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4381 echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6
4384 echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6
4390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4393 # Check whether --enable-permissive or --disable-permissive was given.
4394 if test "${enable_permissive+set}" = set; then
4395 enableval="$enable_permissive"
4397 if test "$enableval" = yes; then
4398 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4400 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4405 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x ; then
4407 eval "DEFAULT_$LINE"
4412 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4416 eval "$ac_cv_use_permissive"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4421 if test "$wxUSE_PERMISSIVE" = yes; then
4422 echo "$as_me:$LINENO: result: yes" >&5
4423 echo "${ECHO_T}yes" >&6
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4432 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4434 # Check whether --enable-no_deps or --disable-no_deps was given.
4435 if test "${enable_no_deps+set}" = set; then
4436 enableval="$enable_no_deps"
4438 if test "$enableval" = yes; then
4439 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4441 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4446 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4453 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4457 eval "$ac_cv_use_no_deps"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_NO_DEPS" = yes; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4475 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4476 if test "${enable_vararg_macros+set}" = set; then
4477 enableval="$enable_vararg_macros"
4479 if test "$enableval" = yes; then
4480 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
4482 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
4487 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x ; then
4489 eval "DEFAULT_$LINE"
4494 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
='$DEFAULT_wxUSE_VARARG_MACROS
4498 eval "$ac_cv_use_vararg_macros"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_VARARG_MACROS" = yes; then
4504 echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4516 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4517 if test "${enable_universal_binary+set}" = set; then
4518 enableval="$enable_universal_binary"
4520 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4524 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x ; then
4526 eval "DEFAULT_$LINE"
4527 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4530 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4535 eval "$wx_cv_use_universal_binary"
4536 if test "$no_cache" != 1; then
4537 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4540 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4541 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4549 # Check whether --enable-compat26 or --disable-compat26 was given.
4550 if test "${enable_compat26+set}" = set; then
4551 enableval="$enable_compat26"
4553 if test "$enableval" = yes; then
4554 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4556 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4561 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x ; then
4563 eval "DEFAULT_$LINE"
4568 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4572 eval "$ac_cv_use_compat26"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4577 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4578 echo "$as_me:$LINENO: result: yes" >&5
4579 echo "${ECHO_T}yes" >&6
4581 echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4586 enablestring=disable
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4590 # Check whether --enable-compat28 or --disable-compat28 was given.
4591 if test "${enable_compat28+set}" = set; then
4592 enableval="$enable_compat28"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
4597 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
4602 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
='$DEFAULT_WXWIN_COMPATIBILITY_2_8
4613 eval "$ac_cv_use_compat28"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4618 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4632 # Check whether --enable-rpath or --disable-rpath was given.
4633 if test "${enable_rpath+set}" = set; then
4634 enableval="$enable_rpath"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4639 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4644 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4655 eval "$ac_cv_use_rpath"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_RPATH" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4676 # Check whether --enable-intl or --disable-intl was given.
4677 if test "${enable_intl+set}" = set; then
4678 enableval="$enable_intl"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_intl='wxUSE_INTL
=yes'
4683 ac_cv_use_intl='wxUSE_INTL
=no
'
4688 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x ; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4699 eval "$ac_cv_use_intl"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4704 if test "$wxUSE_INTL" = yes; then
4705 echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4715 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4717 # Check whether --enable-config or --disable-config was given.
4718 if test "${enable_config+set}" = set; then
4719 enableval="$enable_config"
4721 if test "$enableval" = yes; then
4722 ac_cv_use_config='wxUSE_CONFIG
=yes'
4724 ac_cv_use_config='wxUSE_CONFIG
=no
'
4729 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x ; then
4731 eval "DEFAULT_$LINE"
4736 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4740 eval "$ac_cv_use_config"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4745 if test "$wxUSE_CONFIG" = yes; then
4746 echo "$as_me:$LINENO: result: yes" >&5
4747 echo "${ECHO_T}yes" >&6
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4759 # Check whether --enable-protocols or --disable-protocols was given.
4760 if test "${enable_protocols+set}" = set; then
4761 enableval="$enable_protocols"
4763 if test "$enableval" = yes; then
4764 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4766 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4771 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x ; then
4773 eval "DEFAULT_$LINE"
4778 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4782 eval "$ac_cv_use_protocols"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_PROTOCOL" = yes; then
4788 echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6
4791 echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6
4797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4800 # Check whether --enable-ftp or --disable-ftp was given.
4801 if test "${enable_ftp+set}" = set; then
4802 enableval="$enable_ftp"
4804 if test "$enableval" = yes; then
4805 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4807 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4812 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x ; then
4814 eval "DEFAULT_$LINE"
4819 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4823 eval "$ac_cv_use_ftp"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4828 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4829 echo "$as_me:$LINENO: result: yes" >&5
4830 echo "${ECHO_T}yes" >&6
4832 echo "$as_me:$LINENO: result: no" >&5
4833 echo "${ECHO_T}no" >&6
4838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4841 # Check whether --enable-http or --disable-http was given.
4842 if test "${enable_http+set}" = set; then
4843 enableval="$enable_http"
4845 if test "$enableval" = yes; then
4846 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4848 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4853 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4854 if test "x$LINE" != x ; then
4855 eval "DEFAULT_$LINE"
4860 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4864 eval "$ac_cv_use_http"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4869 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4870 echo "$as_me:$LINENO: result: yes" >&5
4871 echo "${ECHO_T}yes" >&6
4873 echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6
4879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4880 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4882 # Check whether --enable-fileproto or --disable-fileproto was given.
4883 if test "${enable_fileproto+set}" = set; then
4884 enableval="$enable_fileproto"
4886 if test "$enableval" = yes; then
4887 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4889 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4894 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4895 if test "x$LINE" != x ; then
4896 eval "DEFAULT_$LINE"
4901 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4905 eval "$ac_cv_use_fileproto"
4906 if test "$no_cache" != 1; then
4907 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4910 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4911 echo "$as_me:$LINENO: result: yes" >&5
4912 echo "${ECHO_T}yes" >&6
4914 echo "$as_me:$LINENO: result: no" >&5
4915 echo "${ECHO_T}no" >&6
4920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4923 # Check whether --enable-sockets or --disable-sockets was given.
4924 if test "${enable_sockets+set}" = set; then
4925 enableval="$enable_sockets"
4927 if test "$enableval" = yes; then
4928 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4930 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4935 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4936 if test "x$LINE" != x ; then
4937 eval "DEFAULT_$LINE"
4942 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4946 eval "$ac_cv_use_sockets"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4951 if test "$wxUSE_SOCKETS" = yes; then
4952 echo "$as_me:$LINENO: result: yes" >&5
4953 echo "${ECHO_T}yes" >&6
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4962 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4964 # Check whether --enable-ole or --disable-ole was given.
4965 if test "${enable_ole+set}" = set; then
4966 enableval="$enable_ole"
4968 if test "$enableval" = yes; then
4969 ac_cv_use_ole='wxUSE_OLE
=yes'
4971 ac_cv_use_ole='wxUSE_OLE
=no
'
4976 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4977 if test "x$LINE" != x ; then
4978 eval "DEFAULT_$LINE"
4983 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4987 eval "$ac_cv_use_ole"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4992 if test "$wxUSE_OLE" = yes; then
4993 echo "$as_me:$LINENO: result: yes" >&5
4994 echo "${ECHO_T}yes" >&6
4996 echo "$as_me:$LINENO: result: no" >&5
4997 echo "${ECHO_T}no" >&6
5002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5005 # Check whether --enable-dataobj or --disable-dataobj was given.
5006 if test "${enable_dataobj+set}" = set; then
5007 enableval="$enable_dataobj"
5009 if test "$enableval" = yes; then
5010 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
5012 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
5017 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5018 if test "x$LINE" != x ; then
5019 eval "DEFAULT_$LINE"
5024 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
5028 eval "$ac_cv_use_dataobj"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5033 if test "$wxUSE_DATAOBJ" = yes; then
5034 echo "$as_me:$LINENO: result: yes" >&5
5035 echo "${ECHO_T}yes" >&6
5037 echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6
5044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5045 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5047 # Check whether --enable-ipc or --disable-ipc was given.
5048 if test "${enable_ipc+set}" = set; then
5049 enableval="$enable_ipc"
5051 if test "$enableval" = yes; then
5052 ac_cv_use_ipc='wxUSE_IPC
=yes'
5054 ac_cv_use_ipc='wxUSE_IPC
=no
'
5059 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5060 if test "x$LINE" != x ; then
5061 eval "DEFAULT_$LINE"
5066 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
5070 eval "$ac_cv_use_ipc"
5071 if test "$no_cache" != 1; then
5072 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5075 if test "$wxUSE_IPC" = yes; then
5076 echo "$as_me:$LINENO: result: yes" >&5
5077 echo "${ECHO_T}yes" >&6
5079 echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5089 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5090 if test "${enable_apple_ieee+set}" = set; then
5091 enableval="$enable_apple_ieee"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
5096 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
5101 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x ; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
5112 eval "$ac_cv_use_apple_ieee"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5117 if test "$wxUSE_APPLE_IEEE" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5130 # Check whether --enable-arcstream or --disable-arcstream was given.
5131 if test "${enable_arcstream+set}" = set; then
5132 enableval="$enable_arcstream"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
5137 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
5142 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x ; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5153 eval "$ac_cv_use_arcstream"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5171 # Check whether --enable-backtrace or --disable-backtrace was given.
5172 if test "${enable_backtrace+set}" = set; then
5173 enableval="$enable_backtrace"
5175 if test "$enableval" = yes; then
5176 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
5178 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
5183 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x ; then
5185 eval "DEFAULT_$LINE"
5190 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
5194 eval "$ac_cv_use_backtrace"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5199 if test "$wxUSE_STACKWALKER" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5212 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5213 if test "${enable_catch_segvs+set}" = set; then
5214 enableval="$enable_catch_segvs"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5219 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5224 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x ; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5235 eval "$ac_cv_use_catch_segvs"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5240 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5253 # Check whether --enable-cmdline or --disable-cmdline was given.
5254 if test "${enable_cmdline+set}" = set; then
5255 enableval="$enable_cmdline"
5257 if test "$enableval" = yes; then
5258 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
5260 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
5265 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
5276 eval "$ac_cv_use_cmdline"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5294 # Check whether --enable-datetime or --disable-datetime was given.
5295 if test "${enable_datetime+set}" = set; then
5296 enableval="$enable_datetime"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
5301 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
5306 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x ; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
5317 eval "$ac_cv_use_datetime"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_DATETIME" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5335 # Check whether --enable-debugreport or --disable-debugreport was given.
5336 if test "${enable_debugreport+set}" = set; then
5337 enableval="$enable_debugreport"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
5342 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
5347 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x ; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
5358 eval "$ac_cv_use_debugreport"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_DEBUGREPORT" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5376 # Check whether --enable-dialupman or --disable-dialupman was given.
5377 if test "${enable_dialupman+set}" = set; then
5378 enableval="$enable_dialupman"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5383 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5388 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x ; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5399 eval "$ac_cv_use_dialupman"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5417 # Check whether --enable-dynlib or --disable-dynlib was given.
5418 if test "${enable_dynlib+set}" = set; then
5419 enableval="$enable_dynlib"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5424 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5429 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x ; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5440 eval "$ac_cv_use_dynlib"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5458 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5459 if test "${enable_dynamicloader+set}" = set; then
5460 enableval="$enable_dynamicloader"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5465 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5470 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5481 eval "$ac_cv_use_dynamicloader"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5499 # Check whether --enable-exceptions or --disable-exceptions was given.
5500 if test "${enable_exceptions+set}" = set; then
5501 enableval="$enable_exceptions"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5506 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5511 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x ; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5522 eval "$ac_cv_use_exceptions"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_EXCEPTIONS" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5540 # Check whether --enable-ffile or --disable-ffile was given.
5541 if test "${enable_ffile+set}" = set; then
5542 enableval="$enable_ffile"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5547 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5552 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x ; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5563 eval "$ac_cv_use_ffile"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5568 if test "$wxUSE_FFILE" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5581 # Check whether --enable-file or --disable-file was given.
5582 if test "${enable_file+set}" = set; then
5583 enableval="$enable_file"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_file='wxUSE_FILE
=yes'
5588 ac_cv_use_file='wxUSE_FILE
=no
'
5593 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5604 eval "$ac_cv_use_file"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5609 if test "$wxUSE_FILE" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5622 # Check whether --enable-filesystem or --disable-filesystem was given.
5623 if test "${enable_filesystem+set}" = set; then
5624 enableval="$enable_filesystem"
5626 if test "$enableval" = yes; then
5627 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5629 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5634 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x ; then
5636 eval "DEFAULT_$LINE"
5641 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5645 eval "$ac_cv_use_filesystem"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_FILESYSTEM" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5663 # Check whether --enable-fontmap or --disable-fontmap was given.
5664 if test "${enable_fontmap+set}" = set; then
5665 enableval="$enable_fontmap"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5670 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5675 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x ; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5686 eval "$ac_cv_use_fontmap"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_FONTMAP" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5704 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5705 if test "${enable_fs_archive+set}" = set; then
5706 enableval="$enable_fs_archive"
5708 if test "$enableval" = yes; then
5709 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
5711 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
5716 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x ; then
5718 eval "DEFAULT_$LINE"
5723 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
='$DEFAULT_wxUSE_FS_ARCHIVE
5727 eval "$ac_cv_use_fs_archive"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5732 if test "$wxUSE_FS_ARCHIVE" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5745 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5746 if test "${enable_fs_inet+set}" = set; then
5747 enableval="$enable_fs_inet"
5749 if test "$enableval" = yes; then
5750 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5752 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5757 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x ; then
5759 eval "DEFAULT_$LINE"
5764 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5768 eval "$ac_cv_use_fs_inet"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5773 if test "$wxUSE_FS_INET" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5786 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5787 if test "${enable_fs_zip+set}" = set; then
5788 enableval="$enable_fs_zip"
5790 if test "$enableval" = yes; then
5791 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5793 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5798 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x ; then
5800 eval "DEFAULT_$LINE"
5805 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5809 eval "$ac_cv_use_fs_zip"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_FS_ZIP" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5827 # Check whether --enable-geometry or --disable-geometry was given.
5828 if test "${enable_geometry+set}" = set; then
5829 enableval="$enable_geometry"
5831 if test "$enableval" = yes; then
5832 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5834 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5839 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x ; then
5841 eval "DEFAULT_$LINE"
5846 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5850 eval "$ac_cv_use_geometry"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_GEOMETRY" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5868 # Check whether --enable-log or --disable-log was given.
5869 if test "${enable_log+set}" = set; then
5870 enableval="$enable_log"
5872 if test "$enableval" = yes; then
5873 ac_cv_use_log='wxUSE_LOG
=yes'
5875 ac_cv_use_log='wxUSE_LOG
=no
'
5880 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x ; then
5882 eval "DEFAULT_$LINE"
5887 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5891 eval "$ac_cv_use_log"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_LOG" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5909 # Check whether --enable-longlong or --disable-longlong was given.
5910 if test "${enable_longlong+set}" = set; then
5911 enableval="$enable_longlong"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5916 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5921 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x ; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5932 eval "$ac_cv_use_longlong"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_LONGLONG" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5950 # Check whether --enable-mimetype or --disable-mimetype was given.
5951 if test "${enable_mimetype+set}" = set; then
5952 enableval="$enable_mimetype"
5954 if test "$enableval" = yes; then
5955 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5957 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5962 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x ; then
5964 eval "DEFAULT_$LINE"
5969 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5973 eval "$ac_cv_use_mimetype"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5978 if test "$wxUSE_MIMETYPE" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5991 # Check whether --enable-mslu or --disable-mslu was given.
5992 if test "${enable_mslu+set}" = set; then
5993 enableval="$enable_mslu"
5995 if test "$enableval" = yes; then
5996 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5998 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6003 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x ; then
6005 eval "DEFAULT_$LINE"
6010 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
6014 eval "$ac_cv_use_mslu"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_UNICODE_MSLU" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
6032 # Check whether --enable-utf8 or --disable-utf8 was given.
6033 if test "${enable_utf8+set}" = set; then
6034 enableval="$enable_utf8"
6036 if test "$enableval" = yes; then
6037 ac_cv_use_utf8='wxUSE_UNICODE_UTF8
=yes'
6039 ac_cv_use_utf8='wxUSE_UNICODE_UTF8
=no
'
6044 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x ; then
6046 eval "DEFAULT_$LINE"
6051 ac_cv_use_utf8='wxUSE_UNICODE_UTF8
='$DEFAULT_wxUSE_UNICODE_UTF8
6055 eval "$ac_cv_use_utf8"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6060 if test "$wxUSE_UNICODE_UTF8" = yes; then
6061 echo "$as_me:$LINENO: result: yes" >&5
6062 echo "${ECHO_T}yes" >&6
6064 echo "$as_me:$LINENO: result: no" >&5
6065 echo "${ECHO_T}no" >&6
6070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6073 # Check whether --enable-snglinst or --disable-snglinst was given.
6074 if test "${enable_snglinst+set}" = set; then
6075 enableval="$enable_snglinst"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
6080 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
6085 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
6096 eval "$ac_cv_use_snglinst"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6114 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6115 if test "${enable_std_iostreams+set}" = set; then
6116 enableval="$enable_std_iostreams"
6118 if test "$enableval" = yes; then
6119 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6121 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6126 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x ; then
6128 eval "DEFAULT_$LINE"
6133 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
6137 eval "$ac_cv_use_std_iostreams"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_STD_IOSTREAM" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6155 # Check whether --enable-std_string or --disable-std_string was given.
6156 if test "${enable_std_string+set}" = set; then
6157 enableval="$enable_std_string"
6159 if test "$enableval" = yes; then
6160 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
6162 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
6167 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x ; then
6169 eval "DEFAULT_$LINE"
6174 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
6178 eval "$ac_cv_use_std_string"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6183 if test "$wxUSE_STD_STRING" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6196 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6197 if test "${enable_stdpaths+set}" = set; then
6198 enableval="$enable_stdpaths"
6200 if test "$enableval" = yes; then
6201 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
6203 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
6208 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x ; then
6210 eval "DEFAULT_$LINE"
6215 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
6219 eval "$ac_cv_use_stdpaths"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6224 if test "$wxUSE_STDPATHS" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6237 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6238 if test "${enable_stopwatch+set}" = set; then
6239 enableval="$enable_stopwatch"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
6244 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
6249 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
6260 eval "$ac_cv_use_stopwatch"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_STOPWATCH" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6278 # Check whether --enable-streams or --disable-streams was given.
6279 if test "${enable_streams+set}" = set; then
6280 enableval="$enable_streams"
6282 if test "$enableval" = yes; then
6283 ac_cv_use_streams='wxUSE_STREAMS
=yes'
6285 ac_cv_use_streams='wxUSE_STREAMS
=no
'
6290 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x ; then
6292 eval "DEFAULT_$LINE"
6297 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
6301 eval "$ac_cv_use_streams"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6306 if test "$wxUSE_STREAMS" = yes; then
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6310 echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6
6316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6319 # Check whether --enable-system_options or --disable-system_options was given.
6320 if test "${enable_system_options+set}" = set; then
6321 enableval="$enable_system_options"
6323 if test "$enableval" = yes; then
6324 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
6326 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
6331 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6332 if test "x$LINE" != x ; then
6333 eval "DEFAULT_$LINE"
6338 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6342 eval "$ac_cv_use_system_options"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6347 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6360 # Check whether --enable-tarstream or --disable-tarstream was given.
6361 if test "${enable_tarstream+set}" = set; then
6362 enableval="$enable_tarstream"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
6367 ac_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
6372 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x ; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_tarstream='wxUSE_TARSTREAM
='$DEFAULT_wxUSE_TARSTREAM
6383 eval "$ac_cv_use_tarstream"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6388 if test "$wxUSE_TARSTREAM" = yes; then
6389 echo "$as_me:$LINENO: result: yes" >&5
6390 echo "${ECHO_T}yes" >&6
6392 echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6
6398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6399 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6401 # Check whether --enable-textbuf or --disable-textbuf was given.
6402 if test "${enable_textbuf+set}" = set; then
6403 enableval="$enable_textbuf"
6405 if test "$enableval" = yes; then
6406 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
6408 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
6413 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x ; then
6415 eval "DEFAULT_$LINE"
6420 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
6424 eval "$ac_cv_use_textbuf"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6429 if test "$wxUSE_TEXTBUFFER" = yes; then
6430 echo "$as_me:$LINENO: result: yes" >&5
6431 echo "${ECHO_T}yes" >&6
6433 echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6
6439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6440 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6442 # Check whether --enable-textfile or --disable-textfile was given.
6443 if test "${enable_textfile+set}" = set; then
6444 enableval="$enable_textfile"
6446 if test "$enableval" = yes; then
6447 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
6449 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
6454 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6455 if test "x$LINE" != x ; then
6456 eval "DEFAULT_$LINE"
6461 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
6465 eval "$ac_cv_use_textfile"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6470 if test "$wxUSE_TEXTFILE" = yes; then
6471 echo "$as_me:$LINENO: result: yes" >&5
6472 echo "${ECHO_T}yes" >&6
6474 echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6
6480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6481 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6483 # Check whether --enable-timer or --disable-timer was given.
6484 if test "${enable_timer+set}" = set; then
6485 enableval="$enable_timer"
6487 if test "$enableval" = yes; then
6488 ac_cv_use_timer='wxUSE_TIMER
=yes'
6490 ac_cv_use_timer='wxUSE_TIMER
=no
'
6495 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6496 if test "x$LINE" != x ; then
6497 eval "DEFAULT_$LINE"
6502 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6506 eval "$ac_cv_use_timer"
6507 if test "$no_cache" != 1; then
6508 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6511 if test "$wxUSE_TIMER" = yes; then
6512 echo "$as_me:$LINENO: result: yes" >&5
6513 echo "${ECHO_T}yes" >&6
6515 echo "$as_me:$LINENO: result: no" >&5
6516 echo "${ECHO_T}no" >&6
6521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6524 # Check whether --enable-unicode or --disable-unicode was given.
6525 if test "${enable_unicode+set}" = set; then
6526 enableval="$enable_unicode"
6528 if test "$enableval" = yes; then
6529 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6531 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6536 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x ; then
6538 eval "DEFAULT_$LINE"
6543 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6547 eval "$ac_cv_use_unicode"
6548 if test "$no_cache" != 1; then
6549 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6552 if test "$wxUSE_UNICODE" = yes; then
6553 echo "$as_me:$LINENO: result: yes" >&5
6554 echo "${ECHO_T}yes" >&6
6556 echo "$as_me:$LINENO: result: no" >&5
6557 echo "${ECHO_T}no" >&6
6562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6565 # Check whether --enable-sound or --disable-sound was given.
6566 if test "${enable_sound+set}" = set; then
6567 enableval="$enable_sound"
6569 if test "$enableval" = yes; then
6570 ac_cv_use_sound='wxUSE_SOUND
=yes'
6572 ac_cv_use_sound='wxUSE_SOUND
=no
'
6577 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6578 if test "x$LINE" != x ; then
6579 eval "DEFAULT_$LINE"
6584 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6588 eval "$ac_cv_use_sound"
6589 if test "$no_cache" != 1; then
6590 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6593 if test "$wxUSE_SOUND" = yes; then
6594 echo "$as_me:$LINENO: result: yes" >&5
6595 echo "${ECHO_T}yes" >&6
6597 echo "$as_me:$LINENO: result: no" >&5
6598 echo "${ECHO_T}no" >&6
6603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6606 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6607 if test "${enable_mediactrl+set}" = set; then
6608 enableval="$enable_mediactrl"
6610 if test "$enableval" = yes; then
6611 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6613 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6618 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6619 if test "x$LINE" != x ; then
6620 eval "DEFAULT_$LINE"
6625 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6629 eval "$ac_cv_use_mediactrl"
6630 if test "$no_cache" != 1; then
6631 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6634 if test "$wxUSE_MEDIACTRL" = yes; then
6635 echo "$as_me:$LINENO: result: yes" >&5
6636 echo "${ECHO_T}yes" >&6
6638 echo "$as_me:$LINENO: result: no" >&5
6639 echo "${ECHO_T}no" >&6
6644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6647 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6648 if test "${enable_gstreamer8+set}" = set; then
6649 enableval="$enable_gstreamer8"
6651 if test "$enableval" = yes; then
6652 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
6654 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
6659 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6660 if test "x$LINE" != x ; then
6661 eval "DEFAULT_$LINE"
6666 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
='$DEFAULT_wxUSE_GSTREAMER8
6670 eval "$ac_cv_use_gstreamer8"
6671 if test "$no_cache" != 1; then
6672 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6675 if test "$wxUSE_GSTREAMER8" = yes; then
6676 echo "$as_me:$LINENO: result: yes" >&5
6677 echo "${ECHO_T}yes" >&6
6679 echo "$as_me:$LINENO: result: no" >&5
6680 echo "${ECHO_T}no" >&6
6685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6688 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6689 if test "${enable_printfposparam+set}" = set; then
6690 enableval="$enable_printfposparam"
6692 if test "$enableval" = yes; then
6693 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
6695 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
6700 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6701 if test "x$LINE" != x ; then
6702 eval "DEFAULT_$LINE"
6707 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6711 eval "$ac_cv_use_printfposparam"
6712 if test "$no_cache" != 1; then
6713 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6716 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6717 echo "$as_me:$LINENO: result: yes" >&5
6718 echo "${ECHO_T}yes" >&6
6720 echo "$as_me:$LINENO: result: no" >&5
6721 echo "${ECHO_T}no" >&6
6726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6727 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6729 # Check whether --enable-zipstream or --disable-zipstream was given.
6730 if test "${enable_zipstream+set}" = set; then
6731 enableval="$enable_zipstream"
6733 if test "$enableval" = yes; then
6734 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6736 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6741 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6742 if test "x$LINE" != x ; then
6743 eval "DEFAULT_$LINE"
6748 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6752 eval "$ac_cv_use_zipstream"
6753 if test "$no_cache" != 1; then
6754 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6757 if test "$wxUSE_ZIPSTREAM" = yes; then
6758 echo "$as_me:$LINENO: result: yes" >&5
6759 echo "${ECHO_T}yes" >&6
6761 echo "$as_me:$LINENO: result: no" >&5
6762 echo "${ECHO_T}no" >&6
6768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6771 # Check whether --enable-url or --disable-url was given.
6772 if test "${enable_url+set}" = set; then
6773 enableval="$enable_url"
6775 if test "$enableval" = yes; then
6776 ac_cv_use_url='wxUSE_URL
=yes'
6778 ac_cv_use_url='wxUSE_URL
=no
'
6783 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6784 if test "x$LINE" != x ; then
6785 eval "DEFAULT_$LINE"
6790 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6794 eval "$ac_cv_use_url"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_URL" = yes; then
6800 echo "$as_me:$LINENO: result: yes" >&5
6801 echo "${ECHO_T}yes" >&6
6803 echo "$as_me:$LINENO: result: no" >&5
6804 echo "${ECHO_T}no" >&6
6809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6810 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6812 # Check whether --enable-variant or --disable-variant was given.
6813 if test "${enable_variant+set}" = set; then
6814 enableval="$enable_variant"
6816 if test "$enableval" = yes; then
6817 ac_cv_use_variant='wxUSE_VARIANT
=yes'
6819 ac_cv_use_variant='wxUSE_VARIANT
=no
'
6824 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x ; then
6826 eval "DEFAULT_$LINE"
6831 ac_cv_use_variant='wxUSE_VARIANT
='$DEFAULT_wxUSE_VARIANT
6835 eval "$ac_cv_use_variant"
6836 if test "$no_cache" != 1; then
6837 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6840 if test "$wxUSE_VARIANT" = yes; then
6841 echo "$as_me:$LINENO: result: yes" >&5
6842 echo "${ECHO_T}yes" >&6
6844 echo "$as_me:$LINENO: result: no" >&5
6845 echo "${ECHO_T}no" >&6
6850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6851 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6853 # Check whether --enable-protocol or --disable-protocol was given.
6854 if test "${enable_protocol+set}" = set; then
6855 enableval="$enable_protocol"
6857 if test "$enableval" = yes; then
6858 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6860 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6865 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6872 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6876 eval "$ac_cv_use_protocol"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_PROTOCOL" = yes; then
6882 echo "$as_me:$LINENO: result: yes" >&5
6883 echo "${ECHO_T}yes" >&6
6885 echo "$as_me:$LINENO: result: no" >&5
6886 echo "${ECHO_T}no" >&6
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6894 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6895 if test "${enable_protocol_http+set}" = set; then
6896 enableval="$enable_protocol_http"
6898 if test "$enableval" = yes; then
6899 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6901 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6906 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6913 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6917 eval "$ac_cv_use_protocol_http"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6922 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6936 if test "${enable_protocol_ftp+set}" = set; then
6937 enableval="$enable_protocol_ftp"
6939 if test "$enableval" = yes; then
6940 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6942 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6947 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x ; then
6949 eval "DEFAULT_$LINE"
6954 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6958 eval "$ac_cv_use_protocol_ftp"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6963 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6964 echo "$as_me:$LINENO: result: yes" >&5
6965 echo "${ECHO_T}yes" >&6
6967 echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6
6973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6976 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6977 if test "${enable_protocol_file+set}" = set; then
6978 enableval="$enable_protocol_file"
6980 if test "$enableval" = yes; then
6981 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6983 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6988 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6995 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6999 eval "$ac_cv_use_protocol_file"
7000 if test "$no_cache" != 1; then
7001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7005 echo "$as_me:$LINENO: result: yes" >&5
7006 echo "${ECHO_T}yes" >&6
7008 echo "$as_me:$LINENO: result: no" >&5
7009 echo "${ECHO_T}no" >&6
7017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
7020 # Check whether --enable-threads or --disable-threads was given.
7021 if test "${enable_threads+set}" = set; then
7022 enableval="$enable_threads"
7024 if test "$enableval" = yes; then
7025 ac_cv_use_threads='wxUSE_THREADS
=yes'
7027 ac_cv_use_threads='wxUSE_THREADS
=no
'
7032 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
7043 eval "$ac_cv_use_threads"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7048 if test "$wxUSE_THREADS" = yes; then
7049 echo "$as_me:$LINENO: result: yes" >&5
7050 echo "${ECHO_T}yes" >&6
7052 echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7057 if test "$wxUSE_GUI" = "yes"; then
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
7065 # Check whether --enable-docview or --disable-docview was given.
7066 if test "${enable_docview+set}" = set; then
7067 enableval="$enable_docview"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
7072 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
7077 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7088 eval "$ac_cv_use_docview"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7106 # Check whether --enable-help or --disable-help was given.
7107 if test "${enable_help+set}" = set; then
7108 enableval="$enable_help"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_help='wxUSE_HELP
=yes'
7113 ac_cv_use_help='wxUSE_HELP
=no
'
7118 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
7129 eval "$ac_cv_use_help"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_HELP" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7147 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7148 if test "${enable_mshtmlhelp+set}" = set; then
7149 enableval="$enable_mshtmlhelp"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
7154 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
7159 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
7170 eval "$ac_cv_use_mshtmlhelp"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_MS_HTML_HELP" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7188 # Check whether --enable-html or --disable-html was given.
7189 if test "${enable_html+set}" = set; then
7190 enableval="$enable_html"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_html='wxUSE_HTML
=yes'
7195 ac_cv_use_html='wxUSE_HTML
=no
'
7200 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
7211 eval "$ac_cv_use_html"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_HTML" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7229 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7230 if test "${enable_htmlhelp+set}" = set; then
7231 enableval="$enable_htmlhelp"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
7236 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
7241 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
7252 eval "$ac_cv_use_htmlhelp"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_WXHTML_HELP" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7270 # Check whether --enable-xrc or --disable-xrc was given.
7271 if test "${enable_xrc+set}" = set; then
7272 enableval="$enable_xrc"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_xrc='wxUSE_XRC
=yes'
7277 ac_cv_use_xrc='wxUSE_XRC
=no
'
7282 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
7293 eval "$ac_cv_use_xrc"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_XRC" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7311 # Check whether --enable-aui or --disable-aui was given.
7312 if test "${enable_aui+set}" = set; then
7313 enableval="$enable_aui"
7315 if test "$enableval" = yes; then
7316 ac_cv_use_aui='wxUSE_AUI
=yes'
7318 ac_cv_use_aui='wxUSE_AUI
=no
'
7323 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7330 ac_cv_use_aui='wxUSE_AUI
='$DEFAULT_wxUSE_AUI
7334 eval "$ac_cv_use_aui"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7339 if test "$wxUSE_AUI" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
7352 # Check whether --enable-stc or --disable-stc was given.
7353 if test "${enable_stc+set}" = set; then
7354 enableval="$enable_stc"
7356 if test "$enableval" = yes; then
7357 ac_cv_use_stc='wxUSE_STC
=yes'
7359 ac_cv_use_stc='wxUSE_STC
=no
'
7364 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7371 ac_cv_use_stc='wxUSE_STC
='$DEFAULT_wxUSE_STC
7375 eval "$ac_cv_use_stc"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7380 if test "$wxUSE_STC" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7393 # Check whether --enable-constraints or --disable-constraints was given.
7394 if test "${enable_constraints+set}" = set; then
7395 enableval="$enable_constraints"
7397 if test "$enableval" = yes; then
7398 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
7400 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
7405 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7412 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
7416 eval "$ac_cv_use_constraints"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7421 if test "$wxUSE_CONSTRAINTS" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7434 # Check whether --enable-printarch or --disable-printarch was given.
7435 if test "${enable_printarch+set}" = set; then
7436 enableval="$enable_printarch"
7438 if test "$enableval" = yes; then
7439 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
7441 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
7446 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7453 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7457 eval "$ac_cv_use_printarch"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7462 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7475 # Check whether --enable-mdi or --disable-mdi was given.
7476 if test "${enable_mdi+set}" = set; then
7477 enableval="$enable_mdi"
7479 if test "$enableval" = yes; then
7480 ac_cv_use_mdi='wxUSE_MDI
=yes'
7482 ac_cv_use_mdi='wxUSE_MDI
=no
'
7487 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7494 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
7498 eval "$ac_cv_use_mdi"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_MDI" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7516 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7517 if test "${enable_mdidoc+set}" = set; then
7518 enableval="$enable_mdidoc"
7520 if test "$enableval" = yes; then
7521 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
7523 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
7528 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7539 eval "$ac_cv_use_mdidoc"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7557 # Check whether --enable-loggui or --disable-loggui was given.
7558 if test "${enable_loggui+set}" = set; then
7559 enableval="$enable_loggui"
7561 if test "$enableval" = yes; then
7562 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
7564 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
7569 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
7580 eval "$ac_cv_use_loggui"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7585 if test "$wxUSE_LOGGUI" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7598 # Check whether --enable-logwin or --disable-logwin was given.
7599 if test "${enable_logwin+set}" = set; then
7600 enableval="$enable_logwin"
7602 if test "$enableval" = yes; then
7603 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
7605 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
7610 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7617 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
7621 eval "$ac_cv_use_logwin"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7626 if test "$wxUSE_LOGWINDOW" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7639 # Check whether --enable-logdialog or --disable-logdialog was given.
7640 if test "${enable_logdialog+set}" = set; then
7641 enableval="$enable_logdialog"
7643 if test "$enableval" = yes; then
7644 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
7646 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7651 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7658 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7662 eval "$ac_cv_use_logdialog"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7667 if test "$wxUSE_LOGDIALOG" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7680 # Check whether --enable-webkit or --disable-webkit was given.
7681 if test "${enable_webkit+set}" = set; then
7682 enableval="$enable_webkit"
7684 if test "$enableval" = yes; then
7685 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7687 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7692 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7699 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7703 eval "$ac_cv_use_webkit"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7708 if test "$wxUSE_WEBKIT" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7721 # Check whether --enable-richtext or --disable-richtext was given.
7722 if test "${enable_richtext+set}" = set; then
7723 enableval="$enable_richtext"
7725 if test "$enableval" = yes; then
7726 ac_cv_use_richtext='wxUSE_RICHTEXT
=yes'
7728 ac_cv_use_richtext='wxUSE_RICHTEXT
=no
'
7733 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7740 ac_cv_use_richtext='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7744 eval "$ac_cv_use_richtext"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7749 if test "$wxUSE_RICHTEXT" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7762 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7763 if test "${enable_graphics_ctx+set}" = set; then
7764 enableval="$enable_graphics_ctx"
7766 if test "$enableval" = yes; then
7767 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
7769 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
7774 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7781 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7785 eval "$ac_cv_use_graphics_ctx"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7790 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7802 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7804 # Check whether --enable-postscript or --disable-postscript was given.
7805 if test "${enable_postscript+set}" = set; then
7806 enableval="$enable_postscript"
7808 if test "$enableval" = yes; then
7809 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7811 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7816 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x ; then
7818 eval "DEFAULT_$LINE"
7823 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7827 eval "$ac_cv_use_postscript"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7832 if test "$wxUSE_POSTSCRIPT" = yes; then
7833 echo "$as_me:$LINENO: result: yes" >&5
7834 echo "${ECHO_T}yes" >&6
7836 echo "$as_me:$LINENO: result: no" >&5
7837 echo "${ECHO_T}no" >&6
7845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7846 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7848 # Check whether --enable-clipboard or --disable-clipboard was given.
7849 if test "${enable_clipboard+set}" = set; then
7850 enableval="$enable_clipboard"
7852 if test "$enableval" = yes; then
7853 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7855 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7860 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7867 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7871 eval "$ac_cv_use_clipboard"
7872 if test "$no_cache" != 1; then
7873 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7876 if test "$wxUSE_CLIPBOARD" = yes; then
7877 echo "$as_me:$LINENO: result: yes" >&5
7878 echo "${ECHO_T}yes" >&6
7880 echo "$as_me:$LINENO: result: no" >&5
7881 echo "${ECHO_T}no" >&6
7886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7887 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7889 # Check whether --enable-dnd or --disable-dnd was given.
7890 if test "${enable_dnd+set}" = set; then
7891 enableval="$enable_dnd"
7893 if test "$enableval" = yes; then
7894 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7896 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7901 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7902 if test "x$LINE" != x ; then
7903 eval "DEFAULT_$LINE"
7908 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7912 eval "$ac_cv_use_dnd"
7913 if test "$no_cache" != 1; then
7914 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7917 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7918 echo "$as_me:$LINENO: result: yes" >&5
7919 echo "${ECHO_T}yes" >&6
7921 echo "$as_me:$LINENO: result: no" >&5
7922 echo "${ECHO_T}no" >&6
7927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7930 # Check whether --enable-metafile or --disable-metafile was given.
7931 if test "${enable_metafile+set}" = set; then
7932 enableval="$enable_metafile"
7934 if test "$enableval" = yes; then
7935 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7937 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7942 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7943 if test "x$LINE" != x ; then
7944 eval "DEFAULT_$LINE"
7949 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7953 eval "$ac_cv_use_metafile"
7954 if test "$no_cache" != 1; then
7955 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7958 if test "$wxUSE_METAFILE" = yes; then
7959 echo "$as_me:$LINENO: result: yes" >&5
7960 echo "${ECHO_T}yes" >&6
7962 echo "$as_me:$LINENO: result: no" >&5
7963 echo "${ECHO_T}no" >&6
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7974 # Check whether --enable-controls or --disable-controls was given.
7975 if test "${enable_controls+set}" = set; then
7976 enableval="$enable_controls"
7978 if test "$enableval" = yes; then
7979 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7981 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7986 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7993 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7997 eval "$ac_cv_use_controls"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8002 if test "$wxUSE_CONTROLS" = yes; then
8003 echo "$as_me:$LINENO: result: yes" >&5
8004 echo "${ECHO_T}yes" >&6
8006 echo "$as_me:$LINENO: result: no" >&5
8007 echo "${ECHO_T}no" >&6
8011 if test "$wxUSE_CONTROLS" = "yes"; then
8012 DEFAULT_wxUSE_ACCEL=yes
8013 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8014 DEFAULT_wxUSE_BMPBUTTON=yes
8015 DEFAULT_wxUSE_BUTTON=yes
8016 DEFAULT_wxUSE_CALCTRL=yes
8017 DEFAULT_wxUSE_CARET=yes
8018 DEFAULT_wxUSE_COMBOBOX=yes
8019 DEFAULT_wxUSE_CHECKBOX=yes
8020 DEFAULT_wxUSE_CHECKLISTBOX=yes
8021 DEFAULT_wxUSE_CHOICE=yes
8022 DEFAULT_wxUSE_CHOICEBOOK=yes
8023 DEFAULT_wxUSE_COLLPANE=yes
8024 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8025 DEFAULT_wxUSE_COMBOBOX=yes
8026 DEFAULT_wxUSE_DATEPICKCTRL=yes
8027 DEFAULT_wxUSE_DISPLAY=yes
8028 DEFAULT_wxUSE_DETECT_SM=yes
8029 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8030 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8031 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8032 DEFAULT_wxUSE_GAUGE=yes
8033 DEFAULT_wxUSE_GRID=yes
8034 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8035 DEFAULT_wxUSE_DATAVIEWCTRL=no
8036 DEFAULT_wxUSE_IMAGLIST=yes
8037 DEFAULT_wxUSE_LISTBOOK=yes
8038 DEFAULT_wxUSE_LISTBOX=yes
8039 DEFAULT_wxUSE_LISTCTRL=yes
8040 DEFAULT_wxUSE_NOTEBOOK=yes
8041 DEFAULT_wxUSE_RADIOBOX=yes
8042 DEFAULT_wxUSE_RADIOBTN=yes
8043 DEFAULT_wxUSE_SASH=yes
8044 DEFAULT_wxUSE_SCROLLBAR=yes
8045 DEFAULT_wxUSE_SEARCHCTRL=yes
8046 DEFAULT_wxUSE_SLIDER=yes
8047 DEFAULT_wxUSE_SPINBTN=yes
8048 DEFAULT_wxUSE_SPINCTRL=yes
8049 DEFAULT_wxUSE_SPLITTER=yes
8050 DEFAULT_wxUSE_STATBMP=yes
8051 DEFAULT_wxUSE_STATBOX=yes
8052 DEFAULT_wxUSE_STATLINE=yes
8053 DEFAULT_wxUSE_STATUSBAR=yes
8054 DEFAULT_wxUSE_TAB_DIALOG=yes
8055 DEFAULT_wxUSE_TOGGLEBTN=yes
8056 DEFAULT_wxUSE_TOOLBAR=yes
8057 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8058 DEFAULT_wxUSE_TOOLTIPS=yes
8059 DEFAULT_wxUSE_TREEBOOK=yes
8060 DEFAULT_wxUSE_TOOLBOOK=yes
8061 DEFAULT_wxUSE_TREECTRL=yes
8062 DEFAULT_wxUSE_POPUPWIN=yes
8063 DEFAULT_wxUSE_TIPWINDOW=yes
8064 elif test "$wxUSE_CONTROLS" = "no"; then
8065 DEFAULT_wxUSE_ACCEL=no
8066 DEFAULT_wxUSE_ANIMATIONCTRL=no
8067 DEFAULT_wxUSE_BMPBUTTON=no
8068 DEFAULT_wxUSE_BUTTON=no
8069 DEFAULT_wxUSE_CALCTRL=no
8070 DEFAULT_wxUSE_CARET=no
8071 DEFAULT_wxUSE_COLLPANE=no
8072 DEFAULT_wxUSE_COMBOBOX=no
8073 DEFAULT_wxUSE_CHECKBOX=no
8074 DEFAULT_wxUSE_CHECKLISTBOX=no
8075 DEFAULT_wxUSE_CHOICE=no
8076 DEFAULT_wxUSE_CHOICEBOOK=no
8077 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8078 DEFAULT_wxUSE_COMBOBOX=no
8079 DEFAULT_wxUSE_DATEPICKCTRL=no
8080 DEFAULT_wxUSE_DISPLAY=no
8081 DEFAULT_wxUSE_DETECT_SM=no
8082 DEFAULT_wxUSE_DIRPICKERCTRL=no
8083 DEFAULT_wxUSE_FILEPICKERCTRL=no
8084 DEFAULT_wxUSE_FONTPICKERCTRL=no
8085 DEFAULT_wxUSE_GAUGE=no
8086 DEFAULT_wxUSE_GRID=no
8087 DEFAULT_wxUSE_HYPERLINKCTRL=no
8088 DEFAULT_wxUSE_DATAVIEWCTRL=no
8089 DEFAULT_wxUSE_IMAGLIST=no
8090 DEFAULT_wxUSE_LISTBOOK=no
8091 DEFAULT_wxUSE_LISTBOX=no
8092 DEFAULT_wxUSE_LISTCTRL=no
8093 DEFAULT_wxUSE_NOTEBOOK=no
8094 DEFAULT_wxUSE_RADIOBOX=no
8095 DEFAULT_wxUSE_RADIOBTN=no
8096 DEFAULT_wxUSE_SASH=no
8097 DEFAULT_wxUSE_SCROLLBAR=no
8098 DEFAULT_wxUSE_SEARCHCTRL=no
8099 DEFAULT_wxUSE_SLIDER=no
8100 DEFAULT_wxUSE_SPINBTN=no
8101 DEFAULT_wxUSE_SPINCTRL=no
8102 DEFAULT_wxUSE_SPLITTER=no
8103 DEFAULT_wxUSE_STATBMP=no
8104 DEFAULT_wxUSE_STATBOX=no
8105 DEFAULT_wxUSE_STATLINE=no
8106 DEFAULT_wxUSE_STATUSBAR=no
8107 DEFAULT_wxUSE_TAB_DIALOG=no
8108 DEFAULT_wxUSE_TOGGLEBTN=no
8109 DEFAULT_wxUSE_TOOLBAR=no
8110 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8111 DEFAULT_wxUSE_TOOLTIPS=no
8112 DEFAULT_wxUSE_TREEBOOK=no
8113 DEFAULT_wxUSE_TOOLBOOK=no
8114 DEFAULT_wxUSE_TREECTRL=no
8115 DEFAULT_wxUSE_POPUPWIN=no
8116 DEFAULT_wxUSE_TIPWINDOW=no
8121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8124 # Check whether --enable-accel or --disable-accel was given.
8125 if test "${enable_accel+set}" = set; then
8126 enableval="$enable_accel"
8128 if test "$enableval" = yes; then
8129 ac_cv_use_accel='wxUSE_ACCEL
=yes'
8131 ac_cv_use_accel='wxUSE_ACCEL
=no
'
8136 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x ; then
8138 eval "DEFAULT_$LINE"
8143 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
8147 eval "$ac_cv_use_accel"
8148 if test "$no_cache" != 1; then
8149 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8152 if test "$wxUSE_ACCEL" = yes; then
8153 echo "$as_me:$LINENO: result: yes" >&5
8154 echo "${ECHO_T}yes" >&6
8156 echo "$as_me:$LINENO: result: no" >&5
8157 echo "${ECHO_T}no" >&6
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8165 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8166 if test "${enable_animatectrl+set}" = set; then
8167 enableval="$enable_animatectrl"
8169 if test "$enableval" = yes; then
8170 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
8172 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
8177 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8184 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
='$DEFAULT_wxUSE_ANIMATIONCTRL
8188 eval "$ac_cv_use_animatectrl"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8193 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6
8197 echo "$as_me:$LINENO: result: no" >&5
8198 echo "${ECHO_T}no" >&6
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8206 # Check whether --enable-button or --disable-button was given.
8207 if test "${enable_button+set}" = set; then
8208 enableval="$enable_button"
8210 if test "$enableval" = yes; then
8211 ac_cv_use_button='wxUSE_BUTTON
=yes'
8213 ac_cv_use_button='wxUSE_BUTTON
=no
'
8218 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8225 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
8229 eval "$ac_cv_use_button"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8234 if test "$wxUSE_BUTTON" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236 echo "${ECHO_T}yes" >&6
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8247 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8248 if test "${enable_bmpbutton+set}" = set; then
8249 enableval="$enable_bmpbutton"
8251 if test "$enableval" = yes; then
8252 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
8254 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
8259 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8266 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
8270 eval "$ac_cv_use_bmpbutton"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8275 if test "$wxUSE_BMPBUTTON" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8288 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8289 if test "${enable_bmpcombobox+set}" = set; then
8290 enableval="$enable_bmpcombobox"
8292 if test "$enableval" = yes; then
8293 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
8295 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
8300 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8307 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8311 eval "$ac_cv_use_bmpcombobox"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8316 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8329 # Check whether --enable-calendar or --disable-calendar was given.
8330 if test "${enable_calendar+set}" = set; then
8331 enableval="$enable_calendar"
8333 if test "$enableval" = yes; then
8334 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
8336 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
8341 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8348 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
8352 eval "$ac_cv_use_calendar"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8357 if test "$wxUSE_CALCTRL" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8370 # Check whether --enable-caret or --disable-caret was given.
8371 if test "${enable_caret+set}" = set; then
8372 enableval="$enable_caret"
8374 if test "$enableval" = yes; then
8375 ac_cv_use_caret='wxUSE_CARET
=yes'
8377 ac_cv_use_caret='wxUSE_CARET
=no
'
8382 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8389 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
8393 eval "$ac_cv_use_caret"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8398 if test "$wxUSE_CARET" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8411 # Check whether --enable-checkbox or --disable-checkbox was given.
8412 if test "${enable_checkbox+set}" = set; then
8413 enableval="$enable_checkbox"
8415 if test "$enableval" = yes; then
8416 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
8418 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
8423 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8430 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
8434 eval "$ac_cv_use_checkbox"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_CHECKBOX" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8452 # Check whether --enable-checklst or --disable-checklst was given.
8453 if test "${enable_checklst+set}" = set; then
8454 enableval="$enable_checklst"
8456 if test "$enableval" = yes; then
8457 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
8459 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
8464 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8471 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
8475 eval "$ac_cv_use_checklst"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8480 if test "$wxUSE_CHECKLST" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8493 # Check whether --enable-choice or --disable-choice was given.
8494 if test "${enable_choice+set}" = set; then
8495 enableval="$enable_choice"
8497 if test "$enableval" = yes; then
8498 ac_cv_use_choice='wxUSE_CHOICE
=yes'
8500 ac_cv_use_choice='wxUSE_CHOICE
=no
'
8505 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8512 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
8516 eval "$ac_cv_use_choice"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8521 if test "$wxUSE_CHOICE" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8534 # Check whether --enable-choicebook or --disable-choicebook was given.
8535 if test "${enable_choicebook+set}" = set; then
8536 enableval="$enable_choicebook"
8538 if test "$enableval" = yes; then
8539 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
8541 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
8546 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8553 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
8557 eval "$ac_cv_use_choicebook"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8562 if test "$wxUSE_CHOICEBOOK" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8575 # Check whether --enable-collpane or --disable-collpane was given.
8576 if test "${enable_collpane+set}" = set; then
8577 enableval="$enable_collpane"
8579 if test "$enableval" = yes; then
8580 ac_cv_use_collpane='wxUSE_COLLPANE
=yes'
8582 ac_cv_use_collpane='wxUSE_COLLPANE
=no
'
8587 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8594 ac_cv_use_collpane='wxUSE_COLLPANE
='$DEFAULT_wxUSE_COLLPANE
8598 eval "$ac_cv_use_collpane"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8603 if test "$wxUSE_COLLPANE" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8616 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8617 if test "${enable_colourpicker+set}" = set; then
8618 enableval="$enable_colourpicker"
8620 if test "$enableval" = yes; then
8621 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
8623 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
8628 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8635 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
='$DEFAULT_wxUSE_COLOURPICKERCTRL
8639 eval "$ac_cv_use_colourpicker"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8644 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8657 # Check whether --enable-combobox or --disable-combobox was given.
8658 if test "${enable_combobox+set}" = set; then
8659 enableval="$enable_combobox"
8661 if test "$enableval" = yes; then
8662 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
8664 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
8669 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8676 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
8680 eval "$ac_cv_use_combobox"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8685 if test "$wxUSE_COMBOBOX" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8698 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8699 if test "${enable_comboctrl+set}" = set; then
8700 enableval="$enable_comboctrl"
8702 if test "$enableval" = yes; then
8703 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
8705 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
8710 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8717 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
='$DEFAULT_wxUSE_COMBOCTRL
8721 eval "$ac_cv_use_comboctrl"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8726 if test "$wxUSE_COMBOCTRL" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8739 # Check whether --enable-datepick or --disable-datepick was given.
8740 if test "${enable_datepick+set}" = set; then
8741 enableval="$enable_datepick"
8743 if test "$enableval" = yes; then
8744 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
8746 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
8751 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x ; then
8753 eval "DEFAULT_$LINE"
8758 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
8762 eval "$ac_cv_use_datepick"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8767 if test "$wxUSE_DATEPICKCTRL" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6
8771 echo "$as_me:$LINENO: result: no" >&5
8772 echo "${ECHO_T}no" >&6
8777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8778 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8780 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8781 if test "${enable_dirpicker+set}" = set; then
8782 enableval="$enable_dirpicker"
8784 if test "$enableval" = yes; then
8785 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
8787 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
8792 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8793 if test "x$LINE" != x ; then
8794 eval "DEFAULT_$LINE"
8799 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
='$DEFAULT_wxUSE_DIRPICKERCTRL
8803 eval "$ac_cv_use_dirpicker"
8804 if test "$no_cache" != 1; then
8805 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8808 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8809 echo "$as_me:$LINENO: result: yes" >&5
8810 echo "${ECHO_T}yes" >&6
8812 echo "$as_me:$LINENO: result: no" >&5
8813 echo "${ECHO_T}no" >&6
8818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8821 # Check whether --enable-display or --disable-display was given.
8822 if test "${enable_display+set}" = set; then
8823 enableval="$enable_display"
8825 if test "$enableval" = yes; then
8826 ac_cv_use_display='wxUSE_DISPLAY
=yes'
8828 ac_cv_use_display='wxUSE_DISPLAY
=no
'
8833 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8834 if test "x$LINE" != x ; then
8835 eval "DEFAULT_$LINE"
8840 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
8844 eval "$ac_cv_use_display"
8845 if test "$no_cache" != 1; then
8846 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8849 if test "$wxUSE_DISPLAY" = yes; then
8850 echo "$as_me:$LINENO: result: yes" >&5
8851 echo "${ECHO_T}yes" >&6
8853 echo "$as_me:$LINENO: result: no" >&5
8854 echo "${ECHO_T}no" >&6
8859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8862 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8863 if test "${enable_detect_sm+set}" = set; then
8864 enableval="$enable_detect_sm"
8866 if test "$enableval" = yes; then
8867 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
8869 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
8874 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8875 if test "x$LINE" != x ; then
8876 eval "DEFAULT_$LINE"
8881 ac_cv_use_detect_sm='wxUSE_DETECT_SM
='$DEFAULT_wxUSE_DETECT_SM
8885 eval "$ac_cv_use_detect_sm"
8886 if test "$no_cache" != 1; then
8887 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8890 if test "$wxUSE_DETECT_SM" = yes; then
8891 echo "$as_me:$LINENO: result: yes" >&5
8892 echo "${ECHO_T}yes" >&6
8894 echo "$as_me:$LINENO: result: no" >&5
8895 echo "${ECHO_T}no" >&6
8900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
8901 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
8903 # Check whether --enable-editablebox or --disable-editablebox was given.
8904 if test "${enable_editablebox+set}" = set; then
8905 enableval="$enable_editablebox"
8907 if test "$enableval" = yes; then
8908 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
8910 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
8915 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
8916 if test "x$LINE" != x ; then
8917 eval "DEFAULT_$LINE"
8922 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
='$DEFAULT_wxUSE_EDITABLELISTBOX
8926 eval "$ac_cv_use_editablebox"
8927 if test "$no_cache" != 1; then
8928 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
8931 if test "$wxUSE_EDITABLELISTBOX" = yes; then
8932 echo "$as_me:$LINENO: result: yes" >&5
8933 echo "${ECHO_T}yes" >&6
8935 echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6
8941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8944 # Check whether --enable-filepicker or --disable-filepicker was given.
8945 if test "${enable_filepicker+set}" = set; then
8946 enableval="$enable_filepicker"
8948 if test "$enableval" = yes; then
8949 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
8951 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
8956 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8957 if test "x$LINE" != x ; then
8958 eval "DEFAULT_$LINE"
8963 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
='$DEFAULT_wxUSE_FILEPICKERCTRL
8967 eval "$ac_cv_use_filepicker"
8968 if test "$no_cache" != 1; then
8969 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8972 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8973 echo "$as_me:$LINENO: result: yes" >&5
8974 echo "${ECHO_T}yes" >&6
8976 echo "$as_me:$LINENO: result: no" >&5
8977 echo "${ECHO_T}no" >&6
8982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8983 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8985 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8986 if test "${enable_fontpicker+set}" = set; then
8987 enableval="$enable_fontpicker"
8989 if test "$enableval" = yes; then
8990 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
8992 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
8997 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8998 if test "x$LINE" != x ; then
8999 eval "DEFAULT_$LINE"
9004 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
='$DEFAULT_wxUSE_FONTPICKERCTRL
9008 eval "$ac_cv_use_fontpicker"
9009 if test "$no_cache" != 1; then
9010 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9013 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9014 echo "$as_me:$LINENO: result: yes" >&5
9015 echo "${ECHO_T}yes" >&6
9017 echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6
9023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
9026 # Check whether --enable-gauge or --disable-gauge was given.
9027 if test "${enable_gauge+set}" = set; then
9028 enableval="$enable_gauge"
9030 if test "$enableval" = yes; then
9031 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
9033 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
9038 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9039 if test "x$LINE" != x ; then
9040 eval "DEFAULT_$LINE"
9045 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
9049 eval "$ac_cv_use_gauge"
9050 if test "$no_cache" != 1; then
9051 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9054 if test "$wxUSE_GAUGE" = yes; then
9055 echo "$as_me:$LINENO: result: yes" >&5
9056 echo "${ECHO_T}yes" >&6
9058 echo "$as_me:$LINENO: result: no" >&5
9059 echo "${ECHO_T}no" >&6
9064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9065 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
9067 # Check whether --enable-grid or --disable-grid was given.
9068 if test "${enable_grid+set}" = set; then
9069 enableval="$enable_grid"
9071 if test "$enableval" = yes; then
9072 ac_cv_use_grid='wxUSE_GRID
=yes'
9074 ac_cv_use_grid='wxUSE_GRID
=no
'
9079 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9080 if test "x$LINE" != x ; then
9081 eval "DEFAULT_$LINE"
9086 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
9090 eval "$ac_cv_use_grid"
9091 if test "$no_cache" != 1; then
9092 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9095 if test "$wxUSE_GRID" = yes; then
9096 echo "$as_me:$LINENO: result: yes" >&5
9097 echo "${ECHO_T}yes" >&6
9099 echo "$as_me:$LINENO: result: no" >&5
9100 echo "${ECHO_T}no" >&6
9105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9106 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9108 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9109 if test "${enable_dataviewctrl+set}" = set; then
9110 enableval="$enable_dataviewctrl"
9112 if test "$enableval" = yes; then
9113 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
9115 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
9120 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9121 if test "x$LINE" != x ; then
9122 eval "DEFAULT_$LINE"
9127 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
9131 eval "$ac_cv_use_dataviewctrl"
9132 if test "$no_cache" != 1; then
9133 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9136 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9137 echo "$as_me:$LINENO: result: yes" >&5
9138 echo "${ECHO_T}yes" >&6
9140 echo "$as_me:$LINENO: result: no" >&5
9141 echo "${ECHO_T}no" >&6
9146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9149 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9150 if test "${enable_hyperlink+set}" = set; then
9151 enableval="$enable_hyperlink"
9153 if test "$enableval" = yes; then
9154 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
9156 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
9161 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x ; then
9163 eval "DEFAULT_$LINE"
9168 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
='$DEFAULT_wxUSE_HYPERLINKCTRL
9172 eval "$ac_cv_use_hyperlink"
9173 if test "$no_cache" != 1; then
9174 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9177 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9178 echo "$as_me:$LINENO: result: yes" >&5
9179 echo "${ECHO_T}yes" >&6
9181 echo "$as_me:$LINENO: result: no" >&5
9182 echo "${ECHO_T}no" >&6
9187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9190 # Check whether --enable-imaglist or --disable-imaglist was given.
9191 if test "${enable_imaglist+set}" = set; then
9192 enableval="$enable_imaglist"
9194 if test "$enableval" = yes; then
9195 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
9197 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
9202 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x ; then
9204 eval "DEFAULT_$LINE"
9209 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
9213 eval "$ac_cv_use_imaglist"
9214 if test "$no_cache" != 1; then
9215 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9218 if test "$wxUSE_IMAGLIST" = yes; then
9219 echo "$as_me:$LINENO: result: yes" >&5
9220 echo "${ECHO_T}yes" >&6
9222 echo "$as_me:$LINENO: result: no" >&5
9223 echo "${ECHO_T}no" >&6
9228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9229 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9231 # Check whether --enable-listbook or --disable-listbook was given.
9232 if test "${enable_listbook+set}" = set; then
9233 enableval="$enable_listbook"
9235 if test "$enableval" = yes; then
9236 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
9238 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
9243 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9244 if test "x$LINE" != x ; then
9245 eval "DEFAULT_$LINE"
9250 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
9254 eval "$ac_cv_use_listbook"
9255 if test "$no_cache" != 1; then
9256 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9259 if test "$wxUSE_LISTBOOK" = yes; then
9260 echo "$as_me:$LINENO: result: yes" >&5
9261 echo "${ECHO_T}yes" >&6
9263 echo "$as_me:$LINENO: result: no" >&5
9264 echo "${ECHO_T}no" >&6
9269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9272 # Check whether --enable-listbox or --disable-listbox was given.
9273 if test "${enable_listbox+set}" = set; then
9274 enableval="$enable_listbox"
9276 if test "$enableval" = yes; then
9277 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
9279 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
9284 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x ; then
9286 eval "DEFAULT_$LINE"
9291 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
9295 eval "$ac_cv_use_listbox"
9296 if test "$no_cache" != 1; then
9297 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9300 if test "$wxUSE_LISTBOX" = yes; then
9301 echo "$as_me:$LINENO: result: yes" >&5
9302 echo "${ECHO_T}yes" >&6
9304 echo "$as_me:$LINENO: result: no" >&5
9305 echo "${ECHO_T}no" >&6
9310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9313 # Check whether --enable-listctrl or --disable-listctrl was given.
9314 if test "${enable_listctrl+set}" = set; then
9315 enableval="$enable_listctrl"
9317 if test "$enableval" = yes; then
9318 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
9320 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
9325 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9326 if test "x$LINE" != x ; then
9327 eval "DEFAULT_$LINE"
9332 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
9336 eval "$ac_cv_use_listctrl"
9337 if test "$no_cache" != 1; then
9338 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9341 if test "$wxUSE_LISTCTRL" = yes; then
9342 echo "$as_me:$LINENO: result: yes" >&5
9343 echo "${ECHO_T}yes" >&6
9345 echo "$as_me:$LINENO: result: no" >&5
9346 echo "${ECHO_T}no" >&6
9351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9352 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9354 # Check whether --enable-notebook or --disable-notebook was given.
9355 if test "${enable_notebook+set}" = set; then
9356 enableval="$enable_notebook"
9358 if test "$enableval" = yes; then
9359 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
9361 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
9366 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9367 if test "x$LINE" != x ; then
9368 eval "DEFAULT_$LINE"
9373 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
9377 eval "$ac_cv_use_notebook"
9378 if test "$no_cache" != 1; then
9379 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9382 if test "$wxUSE_NOTEBOOK" = yes; then
9383 echo "$as_me:$LINENO: result: yes" >&5
9384 echo "${ECHO_T}yes" >&6
9386 echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6
9392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9395 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9396 if test "${enable_odcombobox+set}" = set; then
9397 enableval="$enable_odcombobox"
9399 if test "$enableval" = yes; then
9400 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
9402 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
9407 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9408 if test "x$LINE" != x ; then
9409 eval "DEFAULT_$LINE"
9414 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
='$DEFAULT_wxUSE_ODCOMBOBOX
9418 eval "$ac_cv_use_odcombobox"
9419 if test "$no_cache" != 1; then
9420 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9423 if test "$wxUSE_ODCOMBOBOX" = yes; then
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9427 echo "$as_me:$LINENO: result: no" >&5
9428 echo "${ECHO_T}no" >&6
9433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9436 # Check whether --enable-radiobox or --disable-radiobox was given.
9437 if test "${enable_radiobox+set}" = set; then
9438 enableval="$enable_radiobox"
9440 if test "$enableval" = yes; then
9441 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
9443 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
9448 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9449 if test "x$LINE" != x ; then
9450 eval "DEFAULT_$LINE"
9455 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
9459 eval "$ac_cv_use_radiobox"
9460 if test "$no_cache" != 1; then
9461 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9464 if test "$wxUSE_RADIOBOX" = yes; then
9465 echo "$as_me:$LINENO: result: yes" >&5
9466 echo "${ECHO_T}yes" >&6
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9477 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9478 if test "${enable_radiobtn+set}" = set; then
9479 enableval="$enable_radiobtn"
9481 if test "$enableval" = yes; then
9482 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
9484 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
9489 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9490 if test "x$LINE" != x ; then
9491 eval "DEFAULT_$LINE"
9496 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
9500 eval "$ac_cv_use_radiobtn"
9501 if test "$no_cache" != 1; then
9502 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9505 if test "$wxUSE_RADIOBTN" = yes; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6
9509 echo "$as_me:$LINENO: result: no" >&5
9510 echo "${ECHO_T}no" >&6
9515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9518 # Check whether --enable-sash or --disable-sash was given.
9519 if test "${enable_sash+set}" = set; then
9520 enableval="$enable_sash"
9522 if test "$enableval" = yes; then
9523 ac_cv_use_sash='wxUSE_SASH
=yes'
9525 ac_cv_use_sash='wxUSE_SASH
=no
'
9530 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x ; then
9532 eval "DEFAULT_$LINE"
9537 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
9541 eval "$ac_cv_use_sash"
9542 if test "$no_cache" != 1; then
9543 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9546 if test "$wxUSE_SASH" = yes; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9559 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9560 if test "${enable_scrollbar+set}" = set; then
9561 enableval="$enable_scrollbar"
9563 if test "$enableval" = yes; then
9564 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
9566 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
9571 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x ; then
9573 eval "DEFAULT_$LINE"
9578 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
9582 eval "$ac_cv_use_scrollbar"
9583 if test "$no_cache" != 1; then
9584 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9587 if test "$wxUSE_SCROLLBAR" = yes; then
9588 echo "$as_me:$LINENO: result: yes" >&5
9589 echo "${ECHO_T}yes" >&6
9591 echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9600 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9601 if test "${enable_searchctrl+set}" = set; then
9602 enableval="$enable_searchctrl"
9604 if test "$enableval" = yes; then
9605 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
9607 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
9612 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x ; then
9614 eval "DEFAULT_$LINE"
9619 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
='$DEFAULT_wxUSE_SEARCHCTRL
9623 eval "$ac_cv_use_searchctrl"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9628 if test "$wxUSE_SEARCHCTRL" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9641 # Check whether --enable-slider or --disable-slider was given.
9642 if test "${enable_slider+set}" = set; then
9643 enableval="$enable_slider"
9645 if test "$enableval" = yes; then
9646 ac_cv_use_slider='wxUSE_SLIDER
=yes'
9648 ac_cv_use_slider='wxUSE_SLIDER
=no
'
9653 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x ; then
9655 eval "DEFAULT_$LINE"
9660 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
9664 eval "$ac_cv_use_slider"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9669 if test "$wxUSE_SLIDER" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9682 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9683 if test "${enable_spinbtn+set}" = set; then
9684 enableval="$enable_spinbtn"
9686 if test "$enableval" = yes; then
9687 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
9689 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
9694 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x ; then
9696 eval "DEFAULT_$LINE"
9701 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
9705 eval "$ac_cv_use_spinbtn"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9710 if test "$wxUSE_SPINBTN" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9723 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9724 if test "${enable_spinctrl+set}" = set; then
9725 enableval="$enable_spinctrl"
9727 if test "$enableval" = yes; then
9728 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
9730 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
9735 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x ; then
9737 eval "DEFAULT_$LINE"
9742 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
9746 eval "$ac_cv_use_spinctrl"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9751 if test "$wxUSE_SPINCTRL" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9764 # Check whether --enable-splitter or --disable-splitter was given.
9765 if test "${enable_splitter+set}" = set; then
9766 enableval="$enable_splitter"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
9771 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
9776 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
9787 eval "$ac_cv_use_splitter"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_SPLITTER" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9805 # Check whether --enable-statbmp or --disable-statbmp was given.
9806 if test "${enable_statbmp+set}" = set; then
9807 enableval="$enable_statbmp"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
9812 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
9817 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x ; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
9828 eval "$ac_cv_use_statbmp"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_STATBMP" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9846 # Check whether --enable-statbox or --disable-statbox was given.
9847 if test "${enable_statbox+set}" = set; then
9848 enableval="$enable_statbox"
9850 if test "$enableval" = yes; then
9851 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
9853 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
9858 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x ; then
9860 eval "DEFAULT_$LINE"
9865 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
9869 eval "$ac_cv_use_statbox"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9874 if test "$wxUSE_STATBOX" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9887 # Check whether --enable-statline or --disable-statline was given.
9888 if test "${enable_statline+set}" = set; then
9889 enableval="$enable_statline"
9891 if test "$enableval" = yes; then
9892 ac_cv_use_statline='wxUSE_STATLINE
=yes'
9894 ac_cv_use_statline='wxUSE_STATLINE
=no
'
9899 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9906 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
9910 eval "$ac_cv_use_statline"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9915 if test "$wxUSE_STATLINE" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9928 # Check whether --enable-stattext or --disable-stattext was given.
9929 if test "${enable_stattext+set}" = set; then
9930 enableval="$enable_stattext"
9932 if test "$enableval" = yes; then
9933 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
9935 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
9940 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x ; then
9942 eval "DEFAULT_$LINE"
9947 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
9951 eval "$ac_cv_use_stattext"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9956 if test "$wxUSE_STATTEXT" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9969 # Check whether --enable-statusbar or --disable-statusbar was given.
9970 if test "${enable_statusbar+set}" = set; then
9971 enableval="$enable_statusbar"
9973 if test "$enableval" = yes; then
9974 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
9976 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
9981 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x ; then
9983 eval "DEFAULT_$LINE"
9988 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
9992 eval "$ac_cv_use_statusbar"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9997 if test "$wxUSE_STATUSBAR" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
10010 # Check whether --enable-tabdialog or --disable-tabdialog was given.
10011 if test "${enable_tabdialog+set}" = set; then
10012 enableval="$enable_tabdialog"
10014 if test "$enableval" = yes; then
10015 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
10017 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
10022 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x ; then
10024 eval "DEFAULT_$LINE"
10029 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
='$DEFAULT_wxUSE_TAB_DIALOG
10033 eval "$ac_cv_use_tabdialog"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10038 if test "$wxUSE_TAB_DIALOG" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
10051 # Check whether --enable-textctrl or --disable-textctrl was given.
10052 if test "${enable_textctrl+set}" = set; then
10053 enableval="$enable_textctrl"
10055 if test "$enableval" = yes; then
10056 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
10058 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
10063 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10064 if test "x$LINE" != x ; then
10065 eval "DEFAULT_$LINE"
10070 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
10074 eval "$ac_cv_use_textctrl"
10075 if test "$no_cache" != 1; then
10076 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10079 if test "$wxUSE_TEXTCTRL" = yes; then
10080 echo "$as_me:$LINENO: result: yes" >&5
10081 echo "${ECHO_T}yes" >&6
10083 echo "$as_me:$LINENO: result: no" >&5
10084 echo "${ECHO_T}no" >&6
10089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10090 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10092 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10093 if test "${enable_togglebtn+set}" = set; then
10094 enableval="$enable_togglebtn"
10096 if test "$enableval" = yes; then
10097 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
10099 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
10104 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10105 if test "x$LINE" != x ; then
10106 eval "DEFAULT_$LINE"
10111 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
10115 eval "$ac_cv_use_togglebtn"
10116 if test "$no_cache" != 1; then
10117 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10120 if test "$wxUSE_TOGGLEBTN" = yes; then
10121 echo "$as_me:$LINENO: result: yes" >&5
10122 echo "${ECHO_T}yes" >&6
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10131 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10133 # Check whether --enable-toolbar or --disable-toolbar was given.
10134 if test "${enable_toolbar+set}" = set; then
10135 enableval="$enable_toolbar"
10137 if test "$enableval" = yes; then
10138 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
10140 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
10145 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10146 if test "x$LINE" != x ; then
10147 eval "DEFAULT_$LINE"
10152 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
10156 eval "$ac_cv_use_toolbar"
10157 if test "$no_cache" != 1; then
10158 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10161 if test "$wxUSE_TOOLBAR" = yes; then
10162 echo "$as_me:$LINENO: result: yes" >&5
10163 echo "${ECHO_T}yes" >&6
10165 echo "$as_me:$LINENO: result: no" >&5
10166 echo "${ECHO_T}no" >&6
10171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10172 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10174 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10175 if test "${enable_tbarnative+set}" = set; then
10176 enableval="$enable_tbarnative"
10178 if test "$enableval" = yes; then
10179 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
10181 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
10186 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10187 if test "x$LINE" != x ; then
10188 eval "DEFAULT_$LINE"
10193 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10197 eval "$ac_cv_use_tbarnative"
10198 if test "$no_cache" != 1; then
10199 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10202 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10203 echo "$as_me:$LINENO: result: yes" >&5
10204 echo "${ECHO_T}yes" >&6
10206 echo "$as_me:$LINENO: result: no" >&5
10207 echo "${ECHO_T}no" >&6
10212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10213 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10215 # Check whether --enable-treebook or --disable-treebook was given.
10216 if test "${enable_treebook+set}" = set; then
10217 enableval="$enable_treebook"
10219 if test "$enableval" = yes; then
10220 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
10222 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
10227 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10228 if test "x$LINE" != x ; then
10229 eval "DEFAULT_$LINE"
10234 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
10238 eval "$ac_cv_use_treebook"
10239 if test "$no_cache" != 1; then
10240 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10243 if test "$wxUSE_TREEBOOK" = yes; then
10244 echo "$as_me:$LINENO: result: yes" >&5
10245 echo "${ECHO_T}yes" >&6
10247 echo "$as_me:$LINENO: result: no" >&5
10248 echo "${ECHO_T}no" >&6
10253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10254 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10256 # Check whether --enable-toolbook or --disable-toolbook was given.
10257 if test "${enable_toolbook+set}" = set; then
10258 enableval="$enable_toolbook"
10260 if test "$enableval" = yes; then
10261 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
10263 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
10268 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10269 if test "x$LINE" != x ; then
10270 eval "DEFAULT_$LINE"
10275 ac_cv_use_toolbook='wxUSE_TOOLBOOK
='$DEFAULT_wxUSE_TOOLBOOK
10279 eval "$ac_cv_use_toolbook"
10280 if test "$no_cache" != 1; then
10281 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10284 if test "$wxUSE_TOOLBOOK" = yes; then
10285 echo "$as_me:$LINENO: result: yes" >&5
10286 echo "${ECHO_T}yes" >&6
10288 echo "$as_me:$LINENO: result: no" >&5
10289 echo "${ECHO_T}no" >&6
10294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10295 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10297 # Check whether --enable-treectrl or --disable-treectrl was given.
10298 if test "${enable_treectrl+set}" = set; then
10299 enableval="$enable_treectrl"
10301 if test "$enableval" = yes; then
10302 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
10304 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
10309 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10310 if test "x$LINE" != x ; then
10311 eval "DEFAULT_$LINE"
10316 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
10320 eval "$ac_cv_use_treectrl"
10321 if test "$no_cache" != 1; then
10322 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10325 if test "$wxUSE_TREECTRL" = yes; then
10326 echo "$as_me:$LINENO: result: yes" >&5
10327 echo "${ECHO_T}yes" >&6
10329 echo "$as_me:$LINENO: result: no" >&5
10330 echo "${ECHO_T}no" >&6
10335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10338 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10339 if test "${enable_tipwindow+set}" = set; then
10340 enableval="$enable_tipwindow"
10342 if test "$enableval" = yes; then
10343 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
10345 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
10350 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10351 if test "x$LINE" != x ; then
10352 eval "DEFAULT_$LINE"
10357 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
10361 eval "$ac_cv_use_tipwindow"
10362 if test "$no_cache" != 1; then
10363 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10366 if test "$wxUSE_TIPWINDOW" = yes; then
10367 echo "$as_me:$LINENO: result: yes" >&5
10368 echo "${ECHO_T}yes" >&6
10370 echo "$as_me:$LINENO: result: no" >&5
10371 echo "${ECHO_T}no" >&6
10376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10379 # Check whether --enable-popupwin or --disable-popupwin was given.
10380 if test "${enable_popupwin+set}" = set; then
10381 enableval="$enable_popupwin"
10383 if test "$enableval" = yes; then
10384 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
10386 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
10391 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10392 if test "x$LINE" != x ; then
10393 eval "DEFAULT_$LINE"
10398 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
10402 eval "$ac_cv_use_popupwin"
10403 if test "$no_cache" != 1; then
10404 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10407 if test "$wxUSE_POPUPWIN" = yes; then
10408 echo "$as_me:$LINENO: result: yes" >&5
10409 echo "${ECHO_T}yes" >&6
10411 echo "$as_me:$LINENO: result: no" >&5
10412 echo "${ECHO_T}no" >&6
10419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10422 # Check whether --enable-commondlg or --disable-commondlg was given.
10423 if test "${enable_commondlg+set}" = set; then
10424 enableval="$enable_commondlg"
10426 if test "$enableval" = yes; then
10427 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
10429 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
10434 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10435 if test "x$LINE" != x ; then
10436 eval "DEFAULT_$LINE"
10441 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
10445 eval "$ac_cv_use_commondlg"
10446 if test "$no_cache" != 1; then
10447 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10450 if test "$wxUSE_COMMONDLGS" = yes; then
10451 echo "$as_me:$LINENO: result: yes" >&5
10452 echo "${ECHO_T}yes" >&6
10454 echo "$as_me:$LINENO: result: no" >&5
10455 echo "${ECHO_T}no" >&6
10460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10461 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10463 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10464 if test "${enable_aboutdlg+set}" = set; then
10465 enableval="$enable_aboutdlg"
10467 if test "$enableval" = yes; then
10468 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
10470 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
10475 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10476 if test "x$LINE" != x ; then
10477 eval "DEFAULT_$LINE"
10482 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
='$DEFAULT_wxUSE_ABOUTDLG
10486 eval "$ac_cv_use_aboutdlg"
10487 if test "$no_cache" != 1; then
10488 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10491 if test "$wxUSE_ABOUTDLG" = yes; then
10492 echo "$as_me:$LINENO: result: yes" >&5
10493 echo "${ECHO_T}yes" >&6
10495 echo "$as_me:$LINENO: result: no" >&5
10496 echo "${ECHO_T}no" >&6
10501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10504 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10505 if test "${enable_choicedlg+set}" = set; then
10506 enableval="$enable_choicedlg"
10508 if test "$enableval" = yes; then
10509 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
10511 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
10516 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10517 if test "x$LINE" != x ; then
10518 eval "DEFAULT_$LINE"
10523 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
10527 eval "$ac_cv_use_choicedlg"
10528 if test "$no_cache" != 1; then
10529 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10532 if test "$wxUSE_CHOICEDLG" = yes; then
10533 echo "$as_me:$LINENO: result: yes" >&5
10534 echo "${ECHO_T}yes" >&6
10536 echo "$as_me:$LINENO: result: no" >&5
10537 echo "${ECHO_T}no" >&6
10542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10543 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10545 # Check whether --enable-coldlg or --disable-coldlg was given.
10546 if test "${enable_coldlg+set}" = set; then
10547 enableval="$enable_coldlg"
10549 if test "$enableval" = yes; then
10550 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
10552 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
10557 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10558 if test "x$LINE" != x ; then
10559 eval "DEFAULT_$LINE"
10564 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
10568 eval "$ac_cv_use_coldlg"
10569 if test "$no_cache" != 1; then
10570 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10573 if test "$wxUSE_COLOURDLG" = yes; then
10574 echo "$as_me:$LINENO: result: yes" >&5
10575 echo "${ECHO_T}yes" >&6
10577 echo "$as_me:$LINENO: result: no" >&5
10578 echo "${ECHO_T}no" >&6
10583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10584 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10586 # Check whether --enable-filedlg or --disable-filedlg was given.
10587 if test "${enable_filedlg+set}" = set; then
10588 enableval="$enable_filedlg"
10590 if test "$enableval" = yes; then
10591 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
10593 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
10598 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10599 if test "x$LINE" != x ; then
10600 eval "DEFAULT_$LINE"
10605 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
10609 eval "$ac_cv_use_filedlg"
10610 if test "$no_cache" != 1; then
10611 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10614 if test "$wxUSE_FILEDLG" = yes; then
10615 echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6
10618 echo "$as_me:$LINENO: result: no" >&5
10619 echo "${ECHO_T}no" >&6
10624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10625 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10627 # Check whether --enable-finddlg or --disable-finddlg was given.
10628 if test "${enable_finddlg+set}" = set; then
10629 enableval="$enable_finddlg"
10631 if test "$enableval" = yes; then
10632 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
10634 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
10639 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10640 if test "x$LINE" != x ; then
10641 eval "DEFAULT_$LINE"
10646 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
10650 eval "$ac_cv_use_finddlg"
10651 if test "$no_cache" != 1; then
10652 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10655 if test "$wxUSE_FINDREPLDLG" = yes; then
10656 echo "$as_me:$LINENO: result: yes" >&5
10657 echo "${ECHO_T}yes" >&6
10659 echo "$as_me:$LINENO: result: no" >&5
10660 echo "${ECHO_T}no" >&6
10665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10666 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10668 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10669 if test "${enable_fontdlg+set}" = set; then
10670 enableval="$enable_fontdlg"
10672 if test "$enableval" = yes; then
10673 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
10675 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
10680 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10681 if test "x$LINE" != x ; then
10682 eval "DEFAULT_$LINE"
10687 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
10691 eval "$ac_cv_use_fontdlg"
10692 if test "$no_cache" != 1; then
10693 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10696 if test "$wxUSE_FONTDLG" = yes; then
10697 echo "$as_me:$LINENO: result: yes" >&5
10698 echo "${ECHO_T}yes" >&6
10700 echo "$as_me:$LINENO: result: no" >&5
10701 echo "${ECHO_T}no" >&6
10706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10709 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10710 if test "${enable_dirdlg+set}" = set; then
10711 enableval="$enable_dirdlg"
10713 if test "$enableval" = yes; then
10714 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
10716 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
10721 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10722 if test "x$LINE" != x ; then
10723 eval "DEFAULT_$LINE"
10728 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
10732 eval "$ac_cv_use_dirdlg"
10733 if test "$no_cache" != 1; then
10734 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10737 if test "$wxUSE_DIRDLG" = yes; then
10738 echo "$as_me:$LINENO: result: yes" >&5
10739 echo "${ECHO_T}yes" >&6
10741 echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6
10747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10748 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10750 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10751 if test "${enable_msgdlg+set}" = set; then
10752 enableval="$enable_msgdlg"
10754 if test "$enableval" = yes; then
10755 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
10757 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
10762 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10763 if test "x$LINE" != x ; then
10764 eval "DEFAULT_$LINE"
10769 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
10773 eval "$ac_cv_use_msgdlg"
10774 if test "$no_cache" != 1; then
10775 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10778 if test "$wxUSE_MSGDLG" = yes; then
10779 echo "$as_me:$LINENO: result: yes" >&5
10780 echo "${ECHO_T}yes" >&6
10782 echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6
10788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10789 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10791 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10792 if test "${enable_numberdlg+set}" = set; then
10793 enableval="$enable_numberdlg"
10795 if test "$enableval" = yes; then
10796 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
10798 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
10803 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10804 if test "x$LINE" != x ; then
10805 eval "DEFAULT_$LINE"
10810 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
10814 eval "$ac_cv_use_numberdlg"
10815 if test "$no_cache" != 1; then
10816 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10819 if test "$wxUSE_NUMBERDLG" = yes; then
10820 echo "$as_me:$LINENO: result: yes" >&5
10821 echo "${ECHO_T}yes" >&6
10823 echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6
10829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10830 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10832 # Check whether --enable-splash or --disable-splash was given.
10833 if test "${enable_splash+set}" = set; then
10834 enableval="$enable_splash"
10836 if test "$enableval" = yes; then
10837 ac_cv_use_splash='wxUSE_SPLASH
=yes'
10839 ac_cv_use_splash='wxUSE_SPLASH
=no
'
10844 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10845 if test "x$LINE" != x ; then
10846 eval "DEFAULT_$LINE"
10851 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
10855 eval "$ac_cv_use_splash"
10856 if test "$no_cache" != 1; then
10857 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10860 if test "$wxUSE_SPLASH" = yes; then
10861 echo "$as_me:$LINENO: result: yes" >&5
10862 echo "${ECHO_T}yes" >&6
10864 echo "$as_me:$LINENO: result: no" >&5
10865 echo "${ECHO_T}no" >&6
10870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10871 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10873 # Check whether --enable-textdlg or --disable-textdlg was given.
10874 if test "${enable_textdlg+set}" = set; then
10875 enableval="$enable_textdlg"
10877 if test "$enableval" = yes; then
10878 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
10880 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
10885 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10886 if test "x$LINE" != x ; then
10887 eval "DEFAULT_$LINE"
10892 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
10896 eval "$ac_cv_use_textdlg"
10897 if test "$no_cache" != 1; then
10898 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10901 if test "$wxUSE_TEXTDLG" = yes; then
10902 echo "$as_me:$LINENO: result: yes" >&5
10903 echo "${ECHO_T}yes" >&6
10905 echo "$as_me:$LINENO: result: no" >&5
10906 echo "${ECHO_T}no" >&6
10911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10914 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10915 if test "${enable_tipdlg+set}" = set; then
10916 enableval="$enable_tipdlg"
10918 if test "$enableval" = yes; then
10919 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
10921 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
10926 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10927 if test "x$LINE" != x ; then
10928 eval "DEFAULT_$LINE"
10933 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
10937 eval "$ac_cv_use_tipdlg"
10938 if test "$no_cache" != 1; then
10939 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10942 if test "$wxUSE_STARTUP_TIPS" = yes; then
10943 echo "$as_me:$LINENO: result: yes" >&5
10944 echo "${ECHO_T}yes" >&6
10946 echo "$as_me:$LINENO: result: no" >&5
10947 echo "${ECHO_T}no" >&6
10952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10955 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10956 if test "${enable_progressdlg+set}" = set; then
10957 enableval="$enable_progressdlg"
10959 if test "$enableval" = yes; then
10960 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
10962 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
10967 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x ; then
10969 eval "DEFAULT_$LINE"
10974 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
10978 eval "$ac_cv_use_progressdlg"
10979 if test "$no_cache" != 1; then
10980 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10983 if test "$wxUSE_PROGRESSDLG" = yes; then
10984 echo "$as_me:$LINENO: result: yes" >&5
10985 echo "${ECHO_T}yes" >&6
10987 echo "$as_me:$LINENO: result: no" >&5
10988 echo "${ECHO_T}no" >&6
10993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10996 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10997 if test "${enable_wizarddlg+set}" = set; then
10998 enableval="$enable_wizarddlg"
11000 if test "$enableval" = yes; then
11001 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
11003 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
11008 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11009 if test "x$LINE" != x ; then
11010 eval "DEFAULT_$LINE"
11015 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
11019 eval "$ac_cv_use_wizarddlg"
11020 if test "$no_cache" != 1; then
11021 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11024 if test "$wxUSE_WIZARDDLG" = yes; then
11025 echo "$as_me:$LINENO: result: yes" >&5
11026 echo "${ECHO_T}yes" >&6
11028 echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6
11036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
11039 # Check whether --enable-menus or --disable-menus was given.
11040 if test "${enable_menus+set}" = set; then
11041 enableval="$enable_menus"
11043 if test "$enableval" = yes; then
11044 ac_cv_use_menus='wxUSE_MENUS
=yes'
11046 ac_cv_use_menus='wxUSE_MENUS
=no
'
11051 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11052 if test "x$LINE" != x ; then
11053 eval "DEFAULT_$LINE"
11058 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
11062 eval "$ac_cv_use_menus"
11063 if test "$no_cache" != 1; then
11064 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11067 if test "$wxUSE_MENUS" = yes; then
11068 echo "$as_me:$LINENO: result: yes" >&5
11069 echo "${ECHO_T}yes" >&6
11071 echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6
11077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
11080 # Check whether --enable-miniframe or --disable-miniframe was given.
11081 if test "${enable_miniframe+set}" = set; then
11082 enableval="$enable_miniframe"
11084 if test "$enableval" = yes; then
11085 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
11087 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
11092 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11093 if test "x$LINE" != x ; then
11094 eval "DEFAULT_$LINE"
11099 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
11103 eval "$ac_cv_use_miniframe"
11104 if test "$no_cache" != 1; then
11105 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11108 if test "$wxUSE_MINIFRAME" = yes; then
11109 echo "$as_me:$LINENO: result: yes" >&5
11110 echo "${ECHO_T}yes" >&6
11112 echo "$as_me:$LINENO: result: no" >&5
11113 echo "${ECHO_T}no" >&6
11118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11119 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11121 # Check whether --enable-tooltips or --disable-tooltips was given.
11122 if test "${enable_tooltips+set}" = set; then
11123 enableval="$enable_tooltips"
11125 if test "$enableval" = yes; then
11126 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
11128 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
11133 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11134 if test "x$LINE" != x ; then
11135 eval "DEFAULT_$LINE"
11140 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
11144 eval "$ac_cv_use_tooltips"
11145 if test "$no_cache" != 1; then
11146 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11149 if test "$wxUSE_TOOLTIPS" = yes; then
11150 echo "$as_me:$LINENO: result: yes" >&5
11151 echo "${ECHO_T}yes" >&6
11153 echo "$as_me:$LINENO: result: no" >&5
11154 echo "${ECHO_T}no" >&6
11159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11162 # Check whether --enable-splines or --disable-splines was given.
11163 if test "${enable_splines+set}" = set; then
11164 enableval="$enable_splines"
11166 if test "$enableval" = yes; then
11167 ac_cv_use_splines='wxUSE_SPLINES
=yes'
11169 ac_cv_use_splines='wxUSE_SPLINES
=no
'
11174 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11175 if test "x$LINE" != x ; then
11176 eval "DEFAULT_$LINE"
11181 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
11185 eval "$ac_cv_use_splines"
11186 if test "$no_cache" != 1; then
11187 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11190 if test "$wxUSE_SPLINES" = yes; then
11191 echo "$as_me:$LINENO: result: yes" >&5
11192 echo "${ECHO_T}yes" >&6
11194 echo "$as_me:$LINENO: result: no" >&5
11195 echo "${ECHO_T}no" >&6
11200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11201 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11203 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11204 if test "${enable_mousewheel+set}" = set; then
11205 enableval="$enable_mousewheel"
11207 if test "$enableval" = yes; then
11208 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
11210 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
11215 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11216 if test "x$LINE" != x ; then
11217 eval "DEFAULT_$LINE"
11222 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
11226 eval "$ac_cv_use_mousewheel"
11227 if test "$no_cache" != 1; then
11228 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11231 if test "$wxUSE_MOUSEWHEEL" = yes; then
11232 echo "$as_me:$LINENO: result: yes" >&5
11233 echo "${ECHO_T}yes" >&6
11235 echo "$as_me:$LINENO: result: no" >&5
11236 echo "${ECHO_T}no" >&6
11241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11244 # Check whether --enable-validators or --disable-validators was given.
11245 if test "${enable_validators+set}" = set; then
11246 enableval="$enable_validators"
11248 if test "$enableval" = yes; then
11249 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
11251 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
11256 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11257 if test "x$LINE" != x ; then
11258 eval "DEFAULT_$LINE"
11263 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
11267 eval "$ac_cv_use_validators"
11268 if test "$no_cache" != 1; then
11269 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11272 if test "$wxUSE_VALIDATORS" = yes; then
11273 echo "$as_me:$LINENO: result: yes" >&5
11274 echo "${ECHO_T}yes" >&6
11276 echo "$as_me:$LINENO: result: no" >&5
11277 echo "${ECHO_T}no" >&6
11282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11283 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11285 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11286 if test "${enable_busyinfo+set}" = set; then
11287 enableval="$enable_busyinfo"
11289 if test "$enableval" = yes; then
11290 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
11292 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
11297 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11298 if test "x$LINE" != x ; then
11299 eval "DEFAULT_$LINE"
11304 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
11308 eval "$ac_cv_use_busyinfo"
11309 if test "$no_cache" != 1; then
11310 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11313 if test "$wxUSE_BUSYINFO" = yes; then
11314 echo "$as_me:$LINENO: result: yes" >&5
11315 echo "${ECHO_T}yes" >&6
11317 echo "$as_me:$LINENO: result: no" >&5
11318 echo "${ECHO_T}no" >&6
11323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11324 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11326 # Check whether --enable-joystick or --disable-joystick was given.
11327 if test "${enable_joystick+set}" = set; then
11328 enableval="$enable_joystick"
11330 if test "$enableval" = yes; then
11331 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
11333 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
11338 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11339 if test "x$LINE" != x ; then
11340 eval "DEFAULT_$LINE"
11345 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
11349 eval "$ac_cv_use_joystick"
11350 if test "$no_cache" != 1; then
11351 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11354 if test "$wxUSE_JOYSTICK" = yes; then
11355 echo "$as_me:$LINENO: result: yes" >&5
11356 echo "${ECHO_T}yes" >&6
11358 echo "$as_me:$LINENO: result: no" >&5
11359 echo "${ECHO_T}no" >&6
11364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11365 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11367 # Check whether --enable-metafile or --disable-metafile was given.
11368 if test "${enable_metafile+set}" = set; then
11369 enableval="$enable_metafile"
11371 if test "$enableval" = yes; then
11372 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
11374 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
11379 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11380 if test "x$LINE" != x ; then
11381 eval "DEFAULT_$LINE"
11386 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
11390 eval "$ac_cv_use_metafile"
11391 if test "$no_cache" != 1; then
11392 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11395 if test "$wxUSE_METAFILE" = yes; then
11396 echo "$as_me:$LINENO: result: yes" >&5
11397 echo "${ECHO_T}yes" >&6
11399 echo "$as_me:$LINENO: result: no" >&5
11400 echo "${ECHO_T}no" >&6
11405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11406 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11408 # Check whether --enable-dragimage or --disable-dragimage was given.
11409 if test "${enable_dragimage+set}" = set; then
11410 enableval="$enable_dragimage"
11412 if test "$enableval" = yes; then
11413 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
11415 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
11420 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11427 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
11431 eval "$ac_cv_use_dragimage"
11432 if test "$no_cache" != 1; then
11433 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11436 if test "$wxUSE_DRAGIMAGE" = yes; then
11437 echo "$as_me:$LINENO: result: yes" >&5
11438 echo "${ECHO_T}yes" >&6
11440 echo "$as_me:$LINENO: result: no" >&5
11441 echo "${ECHO_T}no" >&6
11446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11449 # Check whether --enable-accessibility or --disable-accessibility was given.
11450 if test "${enable_accessibility+set}" = set; then
11451 enableval="$enable_accessibility"
11453 if test "$enableval" = yes; then
11454 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
11456 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
11461 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11462 if test "x$LINE" != x ; then
11463 eval "DEFAULT_$LINE"
11468 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
11472 eval "$ac_cv_use_accessibility"
11473 if test "$no_cache" != 1; then
11474 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11477 if test "$wxUSE_ACCESSIBILITY" = yes; then
11478 echo "$as_me:$LINENO: result: yes" >&5
11479 echo "${ECHO_T}yes" >&6
11481 echo "$as_me:$LINENO: result: no" >&5
11482 echo "${ECHO_T}no" >&6
11486 if test "$wxUSE_MSW" = "1"; then
11489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11490 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11492 # Check whether --enable-dccache or --disable-dccache was given.
11493 if test "${enable_dccache+set}" = set; then
11494 enableval="$enable_dccache"
11496 if test "$enableval" = yes; then
11497 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
11499 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
11504 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11505 if test "x$LINE" != x ; then
11506 eval "DEFAULT_$LINE"
11511 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
11515 eval "$ac_cv_use_dccache"
11516 if test "$no_cache" != 1; then
11517 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11520 if test "$wxUSE_DC_CACHEING" = yes; then
11521 echo "$as_me:$LINENO: result: yes" >&5
11522 echo "${ECHO_T}yes" >&6
11524 echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6
11533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11536 # Check whether --enable-palette or --disable-palette was given.
11537 if test "${enable_palette+set}" = set; then
11538 enableval="$enable_palette"
11540 if test "$enableval" = yes; then
11541 ac_cv_use_palette='wxUSE_PALETTE
=yes'
11543 ac_cv_use_palette='wxUSE_PALETTE
=no
'
11548 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11549 if test "x$LINE" != x ; then
11550 eval "DEFAULT_$LINE"
11555 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
11559 eval "$ac_cv_use_palette"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11564 if test "$wxUSE_PALETTE" = yes; then
11565 echo "$as_me:$LINENO: result: yes" >&5
11566 echo "${ECHO_T}yes" >&6
11568 echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6
11574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11577 # Check whether --enable-image or --disable-image was given.
11578 if test "${enable_image+set}" = set; then
11579 enableval="$enable_image"
11581 if test "$enableval" = yes; then
11582 ac_cv_use_image='wxUSE_IMAGE
=yes'
11584 ac_cv_use_image='wxUSE_IMAGE
=no
'
11589 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11590 if test "x$LINE" != x ; then
11591 eval "DEFAULT_$LINE"
11596 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
11600 eval "$ac_cv_use_image"
11601 if test "$no_cache" != 1; then
11602 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11605 if test "$wxUSE_IMAGE" = yes; then
11606 echo "$as_me:$LINENO: result: yes" >&5
11607 echo "${ECHO_T}yes" >&6
11609 echo "$as_me:$LINENO: result: no" >&5
11610 echo "${ECHO_T}no" >&6
11615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11616 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11618 # Check whether --enable-gif or --disable-gif was given.
11619 if test "${enable_gif+set}" = set; then
11620 enableval="$enable_gif"
11622 if test "$enableval" = yes; then
11623 ac_cv_use_gif='wxUSE_GIF
=yes'
11625 ac_cv_use_gif='wxUSE_GIF
=no
'
11630 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11631 if test "x$LINE" != x ; then
11632 eval "DEFAULT_$LINE"
11637 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
11641 eval "$ac_cv_use_gif"
11642 if test "$no_cache" != 1; then
11643 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11646 if test "$wxUSE_GIF" = yes; then
11647 echo "$as_me:$LINENO: result: yes" >&5
11648 echo "${ECHO_T}yes" >&6
11650 echo "$as_me:$LINENO: result: no" >&5
11651 echo "${ECHO_T}no" >&6
11656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11659 # Check whether --enable-pcx or --disable-pcx was given.
11660 if test "${enable_pcx+set}" = set; then
11661 enableval="$enable_pcx"
11663 if test "$enableval" = yes; then
11664 ac_cv_use_pcx='wxUSE_PCX
=yes'
11666 ac_cv_use_pcx='wxUSE_PCX
=no
'
11671 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11672 if test "x$LINE" != x ; then
11673 eval "DEFAULT_$LINE"
11678 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
11682 eval "$ac_cv_use_pcx"
11683 if test "$no_cache" != 1; then
11684 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11687 if test "$wxUSE_PCX" = yes; then
11688 echo "$as_me:$LINENO: result: yes" >&5
11689 echo "${ECHO_T}yes" >&6
11691 echo "$as_me:$LINENO: result: no" >&5
11692 echo "${ECHO_T}no" >&6
11697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11700 # Check whether --enable-tga or --disable-tga was given.
11701 if test "${enable_tga+set}" = set; then
11702 enableval="$enable_tga"
11704 if test "$enableval" = yes; then
11705 ac_cv_use_tga='wxUSE_TGA
=yes'
11707 ac_cv_use_tga='wxUSE_TGA
=no
'
11712 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11713 if test "x$LINE" != x ; then
11714 eval "DEFAULT_$LINE"
11719 ac_cv_use_tga='wxUSE_TGA
='$DEFAULT_wxUSE_TGA
11723 eval "$ac_cv_use_tga"
11724 if test "$no_cache" != 1; then
11725 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11728 if test "$wxUSE_TGA" = yes; then
11729 echo "$as_me:$LINENO: result: yes" >&5
11730 echo "${ECHO_T}yes" >&6
11732 echo "$as_me:$LINENO: result: no" >&5
11733 echo "${ECHO_T}no" >&6
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11741 # Check whether --enable-iff or --disable-iff was given.
11742 if test "${enable_iff+set}" = set; then
11743 enableval="$enable_iff"
11745 if test "$enableval" = yes; then
11746 ac_cv_use_iff='wxUSE_IFF
=yes'
11748 ac_cv_use_iff='wxUSE_IFF
=no
'
11753 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x ; then
11755 eval "DEFAULT_$LINE"
11760 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
11764 eval "$ac_cv_use_iff"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11769 if test "$wxUSE_IFF" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11782 # Check whether --enable-pnm or --disable-pnm was given.
11783 if test "${enable_pnm+set}" = set; then
11784 enableval="$enable_pnm"
11786 if test "$enableval" = yes; then
11787 ac_cv_use_pnm='wxUSE_PNM
=yes'
11789 ac_cv_use_pnm='wxUSE_PNM
=no
'
11794 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11795 if test "x$LINE" != x ; then
11796 eval "DEFAULT_$LINE"
11801 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
11805 eval "$ac_cv_use_pnm"
11806 if test "$no_cache" != 1; then
11807 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11810 if test "$wxUSE_PNM" = yes; then
11811 echo "$as_me:$LINENO: result: yes" >&5
11812 echo "${ECHO_T}yes" >&6
11814 echo "$as_me:$LINENO: result: no" >&5
11815 echo "${ECHO_T}no" >&6
11820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11821 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11823 # Check whether --enable-xpm or --disable-xpm was given.
11824 if test "${enable_xpm+set}" = set; then
11825 enableval="$enable_xpm"
11827 if test "$enableval" = yes; then
11828 ac_cv_use_xpm='wxUSE_XPM
=yes'
11830 ac_cv_use_xpm='wxUSE_XPM
=no
'
11835 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11836 if test "x$LINE" != x ; then
11837 eval "DEFAULT_$LINE"
11842 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
11846 eval "$ac_cv_use_xpm"
11847 if test "$no_cache" != 1; then
11848 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11851 if test "$wxUSE_XPM" = yes; then
11852 echo "$as_me:$LINENO: result: yes" >&5
11853 echo "${ECHO_T}yes" >&6
11855 echo "$as_me:$LINENO: result: no" >&5
11856 echo "${ECHO_T}no" >&6
11861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11862 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11864 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11865 if test "${enable_ico_cur+set}" = set; then
11866 enableval="$enable_ico_cur"
11868 if test "$enableval" = yes; then
11869 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
11871 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
11876 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11877 if test "x$LINE" != x ; then
11878 eval "DEFAULT_$LINE"
11883 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
11887 eval "$ac_cv_use_ico_cur"
11888 if test "$no_cache" != 1; then
11889 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11892 if test "$wxUSE_ICO_CUR" = yes; then
11893 echo "$as_me:$LINENO: result: yes" >&5
11894 echo "${ECHO_T}yes" >&6
11896 echo "$as_me:$LINENO: result: no" >&5
11897 echo "${ECHO_T}no" >&6
11905 # Check whether --with-flavour or --without-flavour was given.
11906 if test "${with_flavour+set}" = set; then
11907 withval="$with_flavour"
11908 WX_FLAVOUR="$withval"
11914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11917 # Check whether --enable-official_build or --disable-official_build was given.
11918 if test "${enable_official_build+set}" = set; then
11919 enableval="$enable_official_build"
11921 if test "$enableval" = yes; then
11922 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
11924 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
11929 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11930 if test "x$LINE" != x ; then
11931 eval "DEFAULT_$LINE"
11936 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
11940 eval "$ac_cv_use_official_build"
11941 if test "$no_cache" != 1; then
11942 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11945 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11946 echo "$as_me:$LINENO: result: yes" >&5
11947 echo "${ECHO_T}yes" >&6
11949 echo "$as_me:$LINENO: result: no" >&5
11950 echo "${ECHO_T}no" >&6
11953 # Check whether --enable-vendor or --disable-vendor was given.
11954 if test "${enable_vendor+set}" = set; then
11955 enableval="$enable_vendor"
11956 VENDOR="$enableval"
11958 if test "x$VENDOR" = "x"; then
11965 echo "saving argument cache $wx_arg_cache_file"
11966 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11970 echo "$as_me:$LINENO: checking for toolkit" >&5
11971 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11973 # In Wine, we need to default to MSW, not GTK or MOTIF
11974 if test "$wxUSE_WINE" = "yes"; then
11975 DEFAULT_DEFAULT_wxUSE_GTK=0
11976 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11977 DEFAULT_DEFAULT_wxUSE_MSW=1
11980 CXX=${CXX:-wineg++}
11984 if test "$wxUSE_GUI" = "yes"; then
11986 if test "$USE_BEOS" = 1; then
11987 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11988 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11989 { (exit 1); exit 1; }; }
11992 if test "$TOOLKIT_GIVEN" = 1; then
11993 for toolkit in `echo $ALL_TOOLKITS`; do
11995 eval "value=\$${var}"
11996 if test "x$value" = "xno"; then
11998 elif test "x$value" != "x"; then
12002 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12003 eval "wx${toolkit}_VERSION=$value"
12007 for toolkit in `echo $ALL_TOOLKITS`; do
12008 if test "$has_toolkit_in_cache" != 1; then
12009 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12011 var=DEFAULT_wxUSE_$toolkit
12013 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12014 if test "x$version" != "x"; then
12015 eval "wx${toolkit}_VERSION=$version"
12018 eval "wxUSE_$toolkit=\$${var}"
12022 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12023 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12024 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12027 *-pc-os2_emx | *-pc-os2-emx )
12028 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12031 case "$NUM_TOOLKITS" in
12035 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12036 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12037 { (exit 1); exit 1; }; }
12040 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12041 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12042 { (exit 1); exit 1; }; }
12045 # to be removed when --disable-gtk2 isn't needed
12046 if test "x$wxUSE_GTK2" = "xyes"; then
12048 elif test "x$wxUSE_GTK2" = "xno"; then
12052 for toolkit
in `echo $ALL_TOOLKITS`; do
12054 eval "value=\$${var}"
12055 if test "x$value" != x
; then
12056 cache_var
=CACHE_
$toolkit
12057 eval "cache=\$${cache_var}"
12058 if test "$cache" = 1; then
12059 echo "$var=$value" >> ${wx_arg_cache_file}
12060 eval "version=\$wx${toolkit}_VERSION"
12061 if test "x$version" != "x"; then
12062 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12065 if test "$value" = 1; then
12066 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12067 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12068 echo "${ECHO_T}$toolkit_echo" >&6
12073 if test "x$host_alias" != "x"; then
12074 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12075 echo "${ECHO_T}base ($host_alias hosted) only" >&6
12077 echo "$as_me:$LINENO: result: base only" >&5
12078 echo "${ECHO_T}base only" >&6
12083 cat >confcache
<<\_ACEOF
12084 # This file is a shell script that caches the results of configure
12085 # tests run on this system so they can be shared between configure
12086 # scripts and configure runs, see configure's option --config-cache.
12087 # It is not useful on other systems. If it contains results you don't
12088 # want to keep, you may remove or edit it.
12090 # config.status only pays attention to the cache file if you give it
12091 # the --recheck option to rerun configure.
12093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12095 # following values.
12099 # The following way of writing the cache mishandles newlines in values,
12100 # but we know of no workaround that is simple, portable, and efficient.
12101 # So, don't put newlines in cache variables' values.
12102 # Ultrix sh set writes to stderr and can't be redirected directly,
12103 # and sets the high bit in the cache file unless we assign to the vars.
12106 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12108 # `set' does not quote correctly, so add quotes (double-quote
12109 # substitution turns \\\\ into \\, and sed turns \\ into \).
12112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12115 # `set' quotes correctly as required by POSIX, so do not add quotes.
12117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12124 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12126 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12128 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12129 if test -w $cache_file; then
12130 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12131 cat confcache
>$cache_file
12133 echo "not updating unwritable cache $cache_file"
12143 ac_cpp
='$CPP $CPPFLAGS'
12144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12147 if test -n "$ac_tool_prefix"; then
12148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12149 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12150 echo "$as_me:$LINENO: checking for $ac_word" >&5
12151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12152 if test "${ac_cv_prog_CC+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 if test -n "$CC"; then
12156 ac_cv_prog_CC
="$CC" # Let the user override the test.
12158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12159 for as_dir
in $PATH
12162 test -z "$as_dir" && as_dir
=.
12163 for ac_exec_ext
in '' $ac_executable_extensions; do
12164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12165 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12175 if test -n "$CC"; then
12176 echo "$as_me:$LINENO: result: $CC" >&5
12177 echo "${ECHO_T}$CC" >&6
12179 echo "$as_me:$LINENO: result: no" >&5
12180 echo "${ECHO_T}no" >&6
12184 if test -z "$ac_cv_prog_CC"; then
12186 # Extract the first word of "gcc", so it can be a program name with args.
12187 set dummy gcc
; ac_word
=$2
12188 echo "$as_me:$LINENO: checking for $ac_word" >&5
12189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 if test -n "$ac_ct_CC"; then
12194 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12197 for as_dir
in $PATH
12200 test -z "$as_dir" && as_dir
=.
12201 for ac_exec_ext
in '' $ac_executable_extensions; do
12202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12203 ac_cv_prog_ac_ct_CC
="gcc"
12204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12212 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12213 if test -n "$ac_ct_CC"; then
12214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12215 echo "${ECHO_T}$ac_ct_CC" >&6
12217 echo "$as_me:$LINENO: result: no" >&5
12218 echo "${ECHO_T}no" >&6
12223 CC
="$ac_cv_prog_CC"
12226 if test -z "$CC"; then
12227 if test -n "$ac_tool_prefix"; then
12228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12229 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12230 echo "$as_me:$LINENO: checking for $ac_word" >&5
12231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12232 if test "${ac_cv_prog_CC+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 if test -n "$CC"; then
12236 ac_cv_prog_CC
="$CC" # Let the user override the test.
12238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12239 for as_dir
in $PATH
12242 test -z "$as_dir" && as_dir
=.
12243 for ac_exec_ext
in '' $ac_executable_extensions; do
12244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12245 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 if test -n "$CC"; then
12256 echo "$as_me:$LINENO: result: $CC" >&5
12257 echo "${ECHO_T}$CC" >&6
12259 echo "$as_me:$LINENO: result: no" >&5
12260 echo "${ECHO_T}no" >&6
12264 if test -z "$ac_cv_prog_CC"; then
12266 # Extract the first word of "cc", so it can be a program name with args.
12267 set dummy cc
; ac_word
=$2
12268 echo "$as_me:$LINENO: checking for $ac_word" >&5
12269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12273 if test -n "$ac_ct_CC"; then
12274 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12277 for as_dir
in $PATH
12280 test -z "$as_dir" && as_dir
=.
12281 for ac_exec_ext
in '' $ac_executable_extensions; do
12282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12283 ac_cv_prog_ac_ct_CC
="cc"
12284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12292 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12293 if test -n "$ac_ct_CC"; then
12294 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12295 echo "${ECHO_T}$ac_ct_CC" >&6
12297 echo "$as_me:$LINENO: result: no" >&5
12298 echo "${ECHO_T}no" >&6
12303 CC
="$ac_cv_prog_CC"
12307 if test -z "$CC"; then
12308 # Extract the first word of "cc", so it can be a program name with args.
12309 set dummy cc
; ac_word
=$2
12310 echo "$as_me:$LINENO: checking for $ac_word" >&5
12311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12312 if test "${ac_cv_prog_CC+set}" = set; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 if test -n "$CC"; then
12316 ac_cv_prog_CC
="$CC" # Let the user override the test.
12318 ac_prog_rejected
=no
12319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12320 for as_dir
in $PATH
12323 test -z "$as_dir" && as_dir
=.
12324 for ac_exec_ext
in '' $ac_executable_extensions; do
12325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12327 ac_prog_rejected
=yes
12331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12337 if test $ac_prog_rejected = yes; then
12338 # We found a bogon in the path, so make sure we never use it.
12339 set dummy
$ac_cv_prog_CC
12341 if test $# != 0; then
12342 # We chose a different compiler from the bogus one.
12343 # However, it has the same basename, so the bogon will be chosen
12344 # first if we set CC to just the basename; use the full file name.
12346 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12352 if test -n "$CC"; then
12353 echo "$as_me:$LINENO: result: $CC" >&5
12354 echo "${ECHO_T}$CC" >&6
12356 echo "$as_me:$LINENO: result: no" >&5
12357 echo "${ECHO_T}no" >&6
12361 if test -z "$CC"; then
12362 if test -n "$ac_tool_prefix"; then
12365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12366 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12367 echo "$as_me:$LINENO: checking for $ac_word" >&5
12368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12369 if test "${ac_cv_prog_CC+set}" = set; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6
12372 if test -n "$CC"; then
12373 ac_cv_prog_CC
="$CC" # Let the user override the test.
12375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12376 for as_dir
in $PATH
12379 test -z "$as_dir" && as_dir
=.
12380 for ac_exec_ext
in '' $ac_executable_extensions; do
12381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12382 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12392 if test -n "$CC"; then
12393 echo "$as_me:$LINENO: result: $CC" >&5
12394 echo "${ECHO_T}$CC" >&6
12396 echo "$as_me:$LINENO: result: no" >&5
12397 echo "${ECHO_T}no" >&6
12400 test -n "$CC" && break
12403 if test -z "$CC"; then
12407 # Extract the first word of "$ac_prog", so it can be a program name with args.
12408 set dummy
$ac_prog; ac_word
=$2
12409 echo "$as_me:$LINENO: checking for $ac_word" >&5
12410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12411 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12412 echo $ECHO_N "(cached) $ECHO_C" >&6
12414 if test -n "$ac_ct_CC"; then
12415 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12418 for as_dir
in $PATH
12421 test -z "$as_dir" && as_dir
=.
12422 for ac_exec_ext
in '' $ac_executable_extensions; do
12423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12424 ac_cv_prog_ac_ct_CC
="$ac_prog"
12425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12433 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12434 if test -n "$ac_ct_CC"; then
12435 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12436 echo "${ECHO_T}$ac_ct_CC" >&6
12438 echo "$as_me:$LINENO: result: no" >&5
12439 echo "${ECHO_T}no" >&6
12442 test -n "$ac_ct_CC" && break
12451 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12452 See \`config.log' for more details." >&5
12453 echo "$as_me: error: no acceptable C compiler found in \$PATH
12454 See \`config.log' for more details." >&2;}
12455 { (exit 1); exit 1; }; }
12457 # Provide some information about the compiler.
12458 echo "$as_me:$LINENO:" \
12459 "checking for C compiler version" >&5
12460 ac_compiler
=`set X $ac_compile; echo $2`
12461 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12462 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }
12466 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12467 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }
12471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12472 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }
12477 cat >conftest.
$ac_ext <<_ACEOF
12480 cat confdefs.h
>>conftest.
$ac_ext
12481 cat >>conftest.
$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12492 ac_clean_files_save
=$ac_clean_files
12493 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12494 # Try to create an executable without -o first, disregard a.out.
12495 # It will help us diagnose broken compilers, and finding out an intuition
12497 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12498 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12499 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12500 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12501 (eval $ac_link_default) 2>&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; then
12505 # Find the output, starting from the most likely. This scheme is
12506 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12509 # Be careful to initialize this variable, since it used to be cached.
12510 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12512 # b.out is created by i960 compilers.
12513 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12515 test -f "$ac_file" || continue
12517 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12520 # This is the source file.
12523 # We found the default executable, but exeext='' is most
12527 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12528 # FIXME: I believe we export ac_cv_exeext for Libtool,
12529 # but it would be cool to find out if it's true. Does anybody
12530 # maintain Libtool? --akim.
12531 export ac_cv_exeext
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.
$ac_ext >&5
12541 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12542 See \`config.log' for more details." >&5
12543 echo "$as_me: error: C compiler cannot create executables
12544 See \`config.log' for more details." >&2;}
12545 { (exit 77); exit 77; }; }
12548 ac_exeext
=$ac_cv_exeext
12549 echo "$as_me:$LINENO: result: $ac_file" >&5
12550 echo "${ECHO_T}$ac_file" >&6
12552 # Check the compiler produces executables we can run. If not, either
12553 # the compiler is broken, or we cross compile.
12554 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12555 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12556 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12557 # If not cross compiling, check that we can run a simple program.
12558 if test "$cross_compiling" != yes; then
12559 if { ac_try
='./$ac_file'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12567 if test "$cross_compiling" = maybe
; then
12568 cross_compiling
=yes
12570 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12571 If you meant to cross compile, use \`--host'.
12572 See \`config.log' for more details." >&5
12573 echo "$as_me: error: cannot run C compiled programs.
12574 If you meant to cross compile, use \`--host'.
12575 See \`config.log' for more details." >&2;}
12576 { (exit 1); exit 1; }; }
12580 echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6
12583 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12584 ac_clean_files
=$ac_clean_files_save
12585 # Check the compiler produces executables we can run. If not, either
12586 # the compiler is broken, or we cross compile.
12587 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12588 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12589 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12590 echo "${ECHO_T}$cross_compiling" >&6
12592 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12593 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12595 (eval $ac_link) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; then
12599 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12600 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12601 # work properly (i.e., refer to `conftest.exe'), while it won't with
12603 for ac_file
in conftest.exe conftest conftest.
*; do
12604 test -f "$ac_file" || continue
12606 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12607 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12608 export ac_cv_exeext
12614 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12615 See \`config.log' for more details." >&5
12616 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12617 See \`config.log' for more details." >&2;}
12618 { (exit 1); exit 1; }; }
12621 rm -f conftest
$ac_cv_exeext
12622 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12623 echo "${ECHO_T}$ac_cv_exeext" >&6
12625 rm -f conftest.
$ac_ext
12626 EXEEXT
=$ac_cv_exeext
12628 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12629 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12630 if test "${ac_cv_objext+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 cat >conftest.
$ac_ext <<_ACEOF
12636 cat confdefs.h
>>conftest.
$ac_ext
12637 cat >>conftest.
$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12648 rm -f conftest.o conftest.obj
12649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12650 (eval $ac_compile) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; then
12654 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12656 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12657 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.
$ac_ext >&5
12665 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12666 See \`config.log' for more details." >&5
12667 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12668 See \`config.log' for more details." >&2;}
12669 { (exit 1); exit 1; }; }
12672 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12674 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12675 echo "${ECHO_T}$ac_cv_objext" >&6
12676 OBJEXT
=$ac_cv_objext
12678 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12679 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12680 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 cat >conftest.
$ac_ext <<_ACEOF
12686 cat confdefs.h
>>conftest.
$ac_ext
12687 cat >>conftest.
$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12701 rm -f conftest.
$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12705 grep -v '^ *+' conftest.er1
>conftest.err
12707 cat conftest.err
>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try
='test -z "$ac_c_werror_flag"
12711 || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try
='test -s conftest.$ac_objext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_compiler_gnu
=yes
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.
$ac_ext >&5
12730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12731 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12734 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12735 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12736 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12737 ac_test_CFLAGS
=${CFLAGS+set}
12738 ac_save_CFLAGS
=$CFLAGS
12740 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12741 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12742 if test "${ac_cv_prog_cc_g+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 cat >conftest.
$ac_ext <<_ACEOF
12748 cat confdefs.h
>>conftest.
$ac_ext
12749 cat >>conftest.
$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12760 rm -f conftest.
$ac_objext
12761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12762 (eval $ac_compile) 2>conftest.er1
12764 grep -v '^ *+' conftest.er1
>conftest.err
12766 cat conftest.err
>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); } &&
12769 { ac_try
='test -z "$ac_c_werror_flag"
12770 || test ! -s conftest.err'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; } &&
12776 { ac_try
='test -s conftest.$ac_objext'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; }; then
12782 ac_cv_prog_cc_g
=yes
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.
$ac_ext >&5
12789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12791 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12792 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12793 if test "$ac_test_CFLAGS" = set; then
12794 CFLAGS
=$ac_save_CFLAGS
12795 elif test $ac_cv_prog_cc_g = yes; then
12796 if test "$GCC" = yes; then
12802 if test "$GCC" = yes; then
12808 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12809 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12810 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 ac_cv_prog_cc_stdc
=no
12815 cat >conftest.
$ac_ext <<_ACEOF
12818 cat confdefs.h
>>conftest.
$ac_ext
12819 cat >>conftest.
$ac_ext <<_ACEOF
12820 /* end confdefs.h. */
12821 #include <stdarg.h>
12823 #include <sys/types.h>
12824 #include <sys/stat.h>
12825 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12826 struct buf { int x; };
12827 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12828 static char *e (p, i)
12834 static char *f (char * (*g) (char **, int), char **p, ...)
12839 s = g (p, va_arg (v,int));
12844 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12845 function prototypes and stuff, but not '\xHH' hex character constants.
12846 These don't provoke an error unfortunately, instead are silently treated
12847 as 'x'. The following induces an error, until -std1 is added to get
12848 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12849 array size at least. It's necessary to write '\x00'==0 to get something
12850 that's true only with -std1. */
12851 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12853 int test (int i, double x);
12854 struct s1 {int (*f) (int a);};
12855 struct s2 {int (*f) (double a);};
12856 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12862 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12867 # Don't try gcc -ansi; that turns off useful extensions and
12868 # breaks some systems' header files.
12869 # AIX -qlanglvl=ansi
12870 # Ultrix and OSF/1 -std1
12871 # HP-UX 10.20 and later -Ae
12872 # HP-UX older versions -Aa -D_HPUX_SOURCE
12873 # SVR4 -Xc -D__EXTENSIONS__
12874 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12876 CC
="$ac_save_CC $ac_arg"
12877 rm -f conftest.
$ac_objext
12878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>conftest.er1
12881 grep -v '^ *+' conftest.er1
>conftest.err
12883 cat conftest.err
>&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } &&
12886 { ac_try
='test -z "$ac_c_werror_flag"
12887 || test ! -s conftest.err'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; } &&
12893 { ac_try
='test -s conftest.$ac_objext'
12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 (eval $ac_try) 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; }; then
12899 ac_cv_prog_cc_stdc
=$ac_arg
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.
$ac_ext >&5
12906 rm -f conftest.err conftest.
$ac_objext
12908 rm -f conftest.
$ac_ext conftest.
$ac_objext
12913 case "x$ac_cv_prog_cc_stdc" in
12915 echo "$as_me:$LINENO: result: none needed" >&5
12916 echo "${ECHO_T}none needed" >&6 ;;
12918 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12919 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12920 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12923 # Some people use a C++ compiler to compile C. Since we use `exit',
12924 # in C++ we need to declare it. In case someone uses the same compiler
12925 # for both compiling C and C++ we need to have the C++ compiler decide
12926 # the declaration of exit, since it's the most demanding environment.
12927 cat >conftest.
$ac_ext <<_ACEOF
12928 #ifndef __cplusplus
12932 rm -f conftest.
$ac_objext
12933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12934 (eval $ac_compile) 2>conftest.er1
12936 grep -v '^ *+' conftest.er1
>conftest.err
12938 cat conftest.err
>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); } &&
12941 { ac_try
='test -z "$ac_c_werror_flag"
12942 || test ! -s conftest.err'
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 (eval $ac_try) 2>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); }; } &&
12948 { ac_try
='test -s conftest.$ac_objext'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; }; then
12954 for ac_declaration
in \
12956 'extern "C" void std::exit (int) throw (); using std::exit;' \
12957 'extern "C" void std::exit (int); using std::exit;' \
12958 'extern "C" void exit (int) throw ();' \
12959 'extern "C" void exit (int);' \
12962 cat >conftest.
$ac_ext <<_ACEOF
12965 cat confdefs.h
>>conftest.
$ac_ext
12966 cat >>conftest.
$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12969 #include <stdlib.h>
12978 rm -f conftest.
$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12982 grep -v '^ *+' conftest.er1
>conftest.err
12984 cat conftest.err
>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try
='test -z "$ac_c_werror_flag"
12988 || test ! -s conftest.err'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; } &&
12994 { ac_try
='test -s conftest.$ac_objext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13008 cat >conftest.
$ac_ext <<_ACEOF
13011 cat confdefs.h
>>conftest.
$ac_ext
13012 cat >>conftest.
$ac_ext <<_ACEOF
13013 /* end confdefs.h. */
13023 rm -f conftest.
$ac_objext
13024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13025 (eval $ac_compile) 2>conftest.er1
13027 grep -v '^ *+' conftest.er1
>conftest.err
13029 cat conftest.err
>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } &&
13032 { ac_try
='test -z "$ac_c_werror_flag"
13033 || test ! -s conftest.err'
13034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13035 (eval $ac_try) 2>&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); }; } &&
13039 { ac_try
='test -s conftest.$ac_objext'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; }; then
13047 echo "$as_me: failed program was:" >&5
13048 sed 's/^/| /' conftest.
$ac_ext >&5
13051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13054 if test -n "$ac_declaration"; then
13055 echo '#ifdef __cplusplus' >>confdefs.h
13056 echo $ac_declaration >>confdefs.h
13057 echo '#endif' >>confdefs.h
13061 echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.
$ac_ext >&5
13065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13067 ac_cpp
='$CPP $CPPFLAGS'
13068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13075 ac_cpp
='$CPP $CPPFLAGS'
13076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13080 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13081 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13082 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13085 cat >conftest.
$ac_ext <<_ACEOF
13088 cat confdefs.h
>>conftest.
$ac_ext
13089 cat >>conftest.
$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13096 #ifndef __INTEL_COMPILER
13104 rm -f conftest.
$ac_objext
13105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13106 (eval $ac_compile) 2>conftest.er1
13108 grep -v '^ *+' conftest.er1
>conftest.err
13110 cat conftest.err
>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); } &&
13113 { ac_try
='test -z "$ac_c_werror_flag"
13114 || test ! -s conftest.err'
13115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13116 (eval $ac_try) 2>&5
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); }; } &&
13120 { ac_try
='test -s conftest.$ac_objext'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; }; then
13126 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
13128 echo "$as_me: failed program was:" >&5
13129 sed 's/^/| /' conftest.
$ac_ext >&5
13131 bakefile_cv_c_compiler___INTEL_COMPILER
=no
13134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13138 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13139 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13141 ac_cpp
='$CPP $CPPFLAGS'
13142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13146 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13153 if test "x$GCC" != "xyes"; then
13154 if test "xCC" = "xC"; then
13155 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13156 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13157 if test "${bakefile_cv_c_exto+set}" = set; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 cat >conftest.
$ac_ext <<_ACEOF
13163 cat confdefs.h
>>conftest.
$ac_ext
13164 cat >>conftest.
$ac_ext <<_ACEOF
13165 /* end confdefs.h. */
13175 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13177 (eval $ac_compile) 2>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; then
13181 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13183 conftest.
$ac_ext.o
)
13184 bakefile_cv_c_exto
="-ext o"
13191 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13192 See \`config.log' for more details." >&5
13193 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13194 See \`config.log' for more details." >&2;}
13195 { (exit 1); exit 1; }; }
13199 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13202 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13203 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13204 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13205 if test "c" = "c"; then
13206 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13208 if test "c" = "cxx"; then
13209 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13213 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13214 unset ac_cv_prog_cc_g
13215 ac_test_CFLAGS
=${CFLAGS+set}
13216 ac_save_CFLAGS
=$CFLAGS
13218 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13219 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13220 if test "${ac_cv_prog_cc_g+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 cat >conftest.
$ac_ext <<_ACEOF
13226 cat confdefs.h
>>conftest.
$ac_ext
13227 cat >>conftest.
$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13238 rm -f conftest.
$ac_objext
13239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13240 (eval $ac_compile) 2>conftest.er1
13242 grep -v '^ *+' conftest.er1
>conftest.err
13244 cat conftest.err
>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); } &&
13247 { ac_try
='test -z "$ac_c_werror_flag"
13248 || test ! -s conftest.err'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; } &&
13254 { ac_try
='test -s conftest.$ac_objext'
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13256 (eval $ac_try) 2>&5
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); }; }; then
13260 ac_cv_prog_cc_g
=yes
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.
$ac_ext >&5
13267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13269 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13270 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13271 if test "$ac_test_CFLAGS" = set; then
13272 CFLAGS
=$ac_save_CFLAGS
13273 elif test $ac_cv_prog_cc_g = yes; then
13274 if test "$GCC" = yes; then
13280 if test "$GCC" = yes; then
13292 ac_cpp
='$CPP $CPPFLAGS'
13293 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13294 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13295 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13297 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13298 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13299 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 cat >conftest.
$ac_ext <<_ACEOF
13305 cat confdefs.h
>>conftest.
$ac_ext
13306 cat >>conftest.
$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13320 rm -f conftest.
$ac_objext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13322 (eval $ac_compile) 2>conftest.er1
13324 grep -v '^ *+' conftest.er1
>conftest.err
13326 cat conftest.err
>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try
='test -z "$ac_c_werror_flag"
13330 || test ! -s conftest.err'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; } &&
13336 { ac_try
='test -s conftest.$ac_objext'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 bakefile_compiler_xlc
=yes
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.
$ac_ext >&5
13347 bakefile_compiler_xlc
=no
13349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13350 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13353 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13354 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13356 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13358 ac_cpp
='$CPP $CPPFLAGS'
13359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13368 ac_cpp
='$CPP $CPPFLAGS'
13369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13373 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13374 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13375 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 cat >conftest.
$ac_ext <<_ACEOF
13381 cat confdefs.h
>>conftest.
$ac_ext
13382 cat >>conftest.
$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13396 rm -f conftest.
$ac_objext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13398 (eval $ac_compile) 2>conftest.er1
13400 grep -v '^ *+' conftest.er1
>conftest.err
13402 cat conftest.err
>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try
='test -z "$ac_c_werror_flag"
13406 || test ! -s conftest.err'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; } &&
13412 { ac_try
='test -s conftest.$ac_objext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 bakefile_compiler_mwerks
=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 bakefile_compiler_mwerks
=no
13425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13426 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13429 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13430 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13432 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13434 ac_cpp
='$CPP $CPPFLAGS'
13435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13441 ac_cpp
='$CPP $CPPFLAGS'
13442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13446 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13447 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13448 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 cat >conftest.
$ac_ext <<_ACEOF
13454 cat confdefs.h
>>conftest.
$ac_ext
13455 cat >>conftest.
$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13469 rm -f conftest.
$ac_objext
13470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13471 (eval $ac_compile) 2>conftest.er1
13473 grep -v '^ *+' conftest.er1
>conftest.err
13475 cat conftest.err
>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } &&
13478 { ac_try
='test -z "$ac_c_werror_flag"
13479 || test ! -s conftest.err'
13480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13481 (eval $ac_try) 2>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); }; } &&
13485 { ac_try
='test -s conftest.$ac_objext'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; }; then
13491 bakefile_compiler_xlc
=yes
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.
$ac_ext >&5
13496 bakefile_compiler_xlc
=no
13498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13499 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13502 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13503 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13505 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13507 ac_cpp
='$CPP $CPPFLAGS'
13508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13519 ac_cpp
='$CPP $CPPFLAGS'
13520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13524 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13525 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13526 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 cat >conftest.
$ac_ext <<_ACEOF
13532 cat confdefs.h
>>conftest.
$ac_ext
13533 cat >>conftest.
$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13540 #ifndef _SGI_COMPILER_VERSION
13548 rm -f conftest.
$ac_objext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13550 (eval $ac_compile) 2>conftest.er1
13552 grep -v '^ *+' conftest.er1
>conftest.err
13554 cat conftest.err
>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try
='test -z "$ac_c_werror_flag"
13558 || test ! -s conftest.err'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; } &&
13564 { ac_try
='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13570 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13582 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13583 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13585 ac_cpp
='$CPP $CPPFLAGS'
13586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13590 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13603 ac_cpp
='$CPP $CPPFLAGS'
13604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13608 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13609 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13610 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 cat >conftest.
$ac_ext <<_ACEOF
13616 cat confdefs.h
>>conftest.
$ac_ext
13617 cat >>conftest.
$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13632 rm -f conftest.
$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>conftest.er1
13636 grep -v '^ *+' conftest.er1
>conftest.err
13638 cat conftest.err
>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try
='test -z "$ac_c_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try
='test -s conftest.$ac_objext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 bakefile_cv_c_compiler___HP_cc
=yes
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.
$ac_ext >&5
13659 bakefile_cv_c_compiler___HP_cc
=no
13662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13666 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13667 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13669 ac_cpp
='$CPP $CPPFLAGS'
13670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13674 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13687 ac_cpp
='$CPP $CPPFLAGS'
13688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13692 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13693 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13694 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13697 cat >conftest.
$ac_ext <<_ACEOF
13700 cat confdefs.h
>>conftest.
$ac_ext
13701 cat >>conftest.
$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13716 rm -f conftest.
$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>conftest.er1
13720 grep -v '^ *+' conftest.er1
>conftest.err
13722 cat conftest.err
>&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } &&
13725 { ac_try
='test -z "$ac_c_werror_flag"
13726 || test ! -s conftest.err'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try
='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 bakefile_cv_c_compiler___DECC
=yes
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.
$ac_ext >&5
13743 bakefile_cv_c_compiler___DECC
=no
13746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13750 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13751 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13753 ac_cpp
='$CPP $CPPFLAGS'
13754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13758 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13771 ac_cpp
='$CPP $CPPFLAGS'
13772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13776 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13777 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13778 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13781 cat >conftest.
$ac_ext <<_ACEOF
13784 cat confdefs.h
>>conftest.
$ac_ext
13785 cat >>conftest.
$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13800 rm -f conftest.
$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13804 grep -v '^ *+' conftest.er1
>conftest.err
13806 cat conftest.err
>&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try
='test -z "$ac_c_werror_flag"
13810 || test ! -s conftest.err'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; } &&
13816 { ac_try
='test -s conftest.$ac_objext'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; }; then
13822 bakefile_cv_c_compiler___SUNPRO_C
=yes
13824 echo "$as_me: failed program was:" >&5
13825 sed 's/^/| /' conftest.
$ac_ext >&5
13827 bakefile_cv_c_compiler___SUNPRO_C
=no
13830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13834 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13835 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13837 ac_cpp
='$CPP $CPPFLAGS'
13838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13842 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13856 ac_cpp
='$CPP $CPPFLAGS'
13857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13860 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13861 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13862 # On Suns, sometimes $CPP names a directory.
13863 if test -n "$CPP" && test -d "$CPP"; then
13866 if test -z "$CPP"; then
13867 if test "${ac_cv_prog_CPP+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 # Double quotes because CPP needs to be expanded
13871 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13873 ac_preproc_ok
=false
13874 for ac_c_preproc_warn_flag
in '' yes
13876 # Use a header file that comes with gcc, so configuring glibc
13877 # with a fresh cross-compiler works.
13878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13879 # <limits.h> exists even on freestanding compilers.
13880 # On the NeXT, cc -E runs the code through the compiler's parser,
13881 # not just through cpp. "Syntax error" is here to catch this case.
13882 cat >conftest.
$ac_ext <<_ACEOF
13885 cat confdefs.h
>>conftest.
$ac_ext
13886 cat >>conftest.
$ac_ext <<_ACEOF
13887 /* end confdefs.h. */
13889 # include <limits.h>
13891 # include <assert.h>
13895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13896 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13898 grep -v '^ *+' conftest.er1
>conftest.err
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } >/dev
/null
; then
13903 if test -s conftest.err
; then
13904 ac_cpp_err
=$ac_c_preproc_warn_flag
13905 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13912 if test -z "$ac_cpp_err"; then
13915 echo "$as_me: failed program was:" >&5
13916 sed 's/^/| /' conftest.
$ac_ext >&5
13918 # Broken: fails on valid input.
13921 rm -f conftest.err conftest.
$ac_ext
13923 # OK, works on sane cases. Now check whether non-existent headers
13924 # can be detected and how.
13925 cat >conftest.
$ac_ext <<_ACEOF
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <ac_nonexistent.h>
13933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13936 grep -v '^ *+' conftest.er1
>conftest.err
13938 cat conftest.err
>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } >/dev
/null
; then
13941 if test -s conftest.err
; then
13942 ac_cpp_err
=$ac_c_preproc_warn_flag
13943 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13950 if test -z "$ac_cpp_err"; then
13951 # Broken: success on invalid input.
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.
$ac_ext >&5
13957 # Passes both tests.
13961 rm -f conftest.err conftest.
$ac_ext
13964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13965 rm -f conftest.err conftest.
$ac_ext
13966 if $ac_preproc_ok; then
13971 ac_cv_prog_CPP
=$CPP
13974 CPP
=$ac_cv_prog_CPP
13976 ac_cv_prog_CPP
=$CPP
13978 echo "$as_me:$LINENO: result: $CPP" >&5
13979 echo "${ECHO_T}$CPP" >&6
13980 ac_preproc_ok
=false
13981 for ac_c_preproc_warn_flag
in '' yes
13983 # Use a header file that comes with gcc, so configuring glibc
13984 # with a fresh cross-compiler works.
13985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13986 # <limits.h> exists even on freestanding compilers.
13987 # On the NeXT, cc -E runs the code through the compiler's parser,
13988 # not just through cpp. "Syntax error" is here to catch this case.
13989 cat >conftest.
$ac_ext <<_ACEOF
13992 cat confdefs.h
>>conftest.
$ac_ext
13993 cat >>conftest.
$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13996 # include <limits.h>
13998 # include <assert.h>
14002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14005 grep -v '^ *+' conftest.er1
>conftest.err
14007 cat conftest.err
>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } >/dev
/null
; then
14010 if test -s conftest.err
; then
14011 ac_cpp_err
=$ac_c_preproc_warn_flag
14012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14019 if test -z "$ac_cpp_err"; then
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.
$ac_ext >&5
14025 # Broken: fails on valid input.
14028 rm -f conftest.err conftest.
$ac_ext
14030 # OK, works on sane cases. Now check whether non-existent headers
14031 # can be detected and how.
14032 cat >conftest.
$ac_ext <<_ACEOF
14035 cat confdefs.h
>>conftest.
$ac_ext
14036 cat >>conftest.
$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14038 #include <ac_nonexistent.h>
14040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14041 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14043 grep -v '^ *+' conftest.er1
>conftest.err
14045 cat conftest.err
>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } >/dev
/null
; then
14048 if test -s conftest.err
; then
14049 ac_cpp_err
=$ac_c_preproc_warn_flag
14050 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14057 if test -z "$ac_cpp_err"; then
14058 # Broken: success on invalid input.
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.
$ac_ext >&5
14064 # Passes both tests.
14068 rm -f conftest.err conftest.
$ac_ext
14071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14072 rm -f conftest.err conftest.
$ac_ext
14073 if $ac_preproc_ok; then
14076 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14077 See \`config.log' for more details." >&5
14078 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14079 See \`config.log' for more details." >&2;}
14080 { (exit 1); exit 1; }; }
14084 ac_cpp
='$CPP $CPPFLAGS'
14085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14090 echo "$as_me:$LINENO: checking for egrep" >&5
14091 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14092 if test "${ac_cv_prog_egrep+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
14096 then ac_cv_prog_egrep
='grep -E'
14097 else ac_cv_prog_egrep
='egrep'
14100 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14101 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14102 EGREP
=$ac_cv_prog_egrep
14105 if test $ac_cv_c_compiler_gnu = yes; then
14106 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14107 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14108 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 ac_pattern
="Autoconf.*'x'"
14112 cat >conftest.
$ac_ext <<_ACEOF
14115 cat confdefs.h
>>conftest.
$ac_ext
14116 cat >>conftest.
$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14122 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14123 ac_cv_prog_gcc_traditional
=yes
14125 ac_cv_prog_gcc_traditional
=no
14130 if test $ac_cv_prog_gcc_traditional = no
; then
14131 cat >conftest.
$ac_ext <<_ACEOF
14134 cat confdefs.h
>>conftest.
$ac_ext
14135 cat >>conftest.
$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14137 #include <termio.h>
14140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14141 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14142 ac_cv_prog_gcc_traditional
=yes
14148 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14149 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14150 if test $ac_cv_prog_gcc_traditional = yes; then
14151 CC
="$CC -traditional"
14156 CXXFLAGS
=${CXXFLAGS:=}
14161 ac_cpp
='$CXXCPP $CPPFLAGS'
14162 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14163 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14164 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14165 if test -n "$ac_tool_prefix"; then
14166 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14169 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14170 echo "$as_me:$LINENO: checking for $ac_word" >&5
14171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14172 if test "${ac_cv_prog_CXX+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 if test -n "$CXX"; then
14176 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14179 for as_dir
in $PATH
14182 test -z "$as_dir" && as_dir
=.
14183 for ac_exec_ext
in '' $ac_executable_extensions; do
14184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14185 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14194 CXX
=$ac_cv_prog_CXX
14195 if test -n "$CXX"; then
14196 echo "$as_me:$LINENO: result: $CXX" >&5
14197 echo "${ECHO_T}$CXX" >&6
14199 echo "$as_me:$LINENO: result: no" >&5
14200 echo "${ECHO_T}no" >&6
14203 test -n "$CXX" && break
14206 if test -z "$CXX"; then
14208 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14210 # Extract the first word of "$ac_prog", so it can be a program name with args.
14211 set dummy
$ac_prog; ac_word
=$2
14212 echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14214 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 if test -n "$ac_ct_CXX"; then
14218 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14221 for as_dir
in $PATH
14224 test -z "$as_dir" && as_dir
=.
14225 for ac_exec_ext
in '' $ac_executable_extensions; do
14226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14227 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14237 if test -n "$ac_ct_CXX"; then
14238 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14239 echo "${ECHO_T}$ac_ct_CXX" >&6
14241 echo "$as_me:$LINENO: result: no" >&5
14242 echo "${ECHO_T}no" >&6
14245 test -n "$ac_ct_CXX" && break
14247 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14253 # Provide some information about the compiler.
14254 echo "$as_me:$LINENO:" \
14255 "checking for C++ compiler version" >&5
14256 ac_compiler
=`set X $ac_compile; echo $2`
14257 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14258 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }
14262 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14263 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }
14267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14268 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }
14273 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14274 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14275 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14278 cat >conftest.
$ac_ext <<_ACEOF
14281 cat confdefs.h
>>conftest.
$ac_ext
14282 cat >>conftest.
$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14296 rm -f conftest.
$ac_objext
14297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14298 (eval $ac_compile) 2>conftest.er1
14300 grep -v '^ *+' conftest.er1
>conftest.err
14302 cat conftest.err
>&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
14305 { ac_try
='test -z "$ac_cxx_werror_flag"
14306 || test ! -s conftest.err'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; } &&
14312 { ac_try
='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 ac_compiler_gnu
=yes
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.
$ac_ext >&5
14325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14326 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14329 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14330 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14331 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14332 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14333 ac_save_CXXFLAGS
=$CXXFLAGS
14335 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14336 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14337 if test "${ac_cv_prog_cxx_g+set}" = set; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 cat >conftest.
$ac_ext <<_ACEOF
14343 cat confdefs.h
>>conftest.
$ac_ext
14344 cat >>conftest.
$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14355 rm -f conftest.
$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14359 grep -v '^ *+' conftest.er1
>conftest.err
14361 cat conftest.err
>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try
='test -z "$ac_cxx_werror_flag"
14365 || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try
='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 ac_cv_prog_cxx_g
=yes
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.
$ac_ext >&5
14382 ac_cv_prog_cxx_g
=no
14384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14386 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14387 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14388 if test "$ac_test_CXXFLAGS" = set; then
14389 CXXFLAGS
=$ac_save_CXXFLAGS
14390 elif test $ac_cv_prog_cxx_g = yes; then
14391 if test "$GXX" = yes; then
14397 if test "$GXX" = yes; then
14403 for ac_declaration
in \
14405 'extern "C" void std::exit (int) throw (); using std::exit;' \
14406 'extern "C" void std::exit (int); using std::exit;' \
14407 'extern "C" void exit (int) throw ();' \
14408 'extern "C" void exit (int);' \
14411 cat >conftest.
$ac_ext <<_ACEOF
14414 cat confdefs.h
>>conftest.
$ac_ext
14415 cat >>conftest.
$ac_ext <<_ACEOF
14416 /* end confdefs.h. */
14418 #include <stdlib.h>
14427 rm -f conftest.
$ac_objext
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>conftest.er1
14431 grep -v '^ *+' conftest.er1
>conftest.err
14433 cat conftest.err
>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } &&
14436 { ac_try
='test -z "$ac_cxx_werror_flag"
14437 || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try
='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.
$ac_ext >&5
14456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14457 cat >conftest.
$ac_ext <<_ACEOF
14460 cat confdefs.h
>>conftest.
$ac_ext
14461 cat >>conftest.
$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14472 rm -f conftest.
$ac_objext
14473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14474 (eval $ac_compile) 2>conftest.er1
14476 grep -v '^ *+' conftest.er1
>conftest.err
14478 cat conftest.err
>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); } &&
14481 { ac_try
='test -z "$ac_cxx_werror_flag"
14482 || test ! -s conftest.err'
14483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 (eval $ac_try) 2>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; } &&
14488 { ac_try
='test -s conftest.$ac_objext'
14489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14490 (eval $ac_try) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; }; then
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.
$ac_ext >&5
14500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14503 if test -n "$ac_declaration"; then
14504 echo '#ifdef __cplusplus' >>confdefs.h
14505 echo $ac_declaration >>confdefs.h
14506 echo '#endif' >>confdefs.h
14510 ac_cpp
='$CPP $CPPFLAGS'
14511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14518 ac_cpp
='$CXXCPP $CPPFLAGS'
14519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14523 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14524 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14525 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 cat >conftest.
$ac_ext <<_ACEOF
14531 cat confdefs.h
>>conftest.
$ac_ext
14532 cat >>conftest.
$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14539 #ifndef __INTEL_COMPILER
14547 rm -f conftest.
$ac_objext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14549 (eval $ac_compile) 2>conftest.er1
14551 grep -v '^ *+' conftest.er1
>conftest.err
14553 cat conftest.err
>&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try
='test -z "$ac_cxx_werror_flag"
14557 || test ! -s conftest.err'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; } &&
14563 { ac_try
='test -s conftest.$ac_objext'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; }; then
14569 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.
$ac_ext >&5
14574 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14581 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14582 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14584 ac_cpp
='$CPP $CPPFLAGS'
14585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14589 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14596 if test "x$GCXX" != "xyes"; then
14597 if test "xCXX" = "xC"; then
14598 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14599 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14600 if test "${bakefile_cv_c_exto+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603 cat >conftest.
$ac_ext <<_ACEOF
14606 cat confdefs.h
>>conftest.
$ac_ext
14607 cat >>conftest.
$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14618 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14620 (eval $ac_compile) 2>&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); }; then
14624 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14626 conftest.
$ac_ext.o
)
14627 bakefile_cv_c_exto
="-ext o"
14634 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14635 See \`config.log' for more details." >&5
14636 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14637 See \`config.log' for more details." >&2;}
14638 { (exit 1); exit 1; }; }
14642 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14645 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14646 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14647 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14648 if test "c" = "c"; then
14649 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
14651 if test "c" = "cxx"; then
14652 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
14656 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14657 unset ac_cv_prog_cc_g
14658 ac_test_CFLAGS
=${CFLAGS+set}
14659 ac_save_CFLAGS
=$CFLAGS
14661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14663 if test "${ac_cv_prog_cc_g+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 cat >conftest.
$ac_ext <<_ACEOF
14669 cat confdefs.h
>>conftest.
$ac_ext
14670 cat >>conftest.
$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14681 rm -f conftest.
$ac_objext
14682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14683 (eval $ac_compile) 2>conftest.er1
14685 grep -v '^ *+' conftest.er1
>conftest.err
14687 cat conftest.err
>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try
='test -z "$ac_c_werror_flag"
14691 || test ! -s conftest.err'
14692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693 (eval $ac_try) 2>&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); }; } &&
14697 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14703 ac_cv_prog_cc_g
=yes
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.
$ac_ext >&5
14710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14714 if test "$ac_test_CFLAGS" = set; then
14715 CFLAGS
=$ac_save_CFLAGS
14716 elif test $ac_cv_prog_cc_g = yes; then
14717 if test "$GCC" = yes; then
14723 if test "$GCC" = yes; then
14735 ac_cpp
='$CXXCPP $CPPFLAGS'
14736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14740 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14741 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14742 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14743 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 cat >conftest.
$ac_ext <<_ACEOF
14748 cat confdefs.h
>>conftest.
$ac_ext
14749 cat >>conftest.
$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14763 rm -f conftest.
$ac_objext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>conftest.er1
14767 grep -v '^ *+' conftest.er1
>conftest.err
14769 cat conftest.err
>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } &&
14772 { ac_try
='test -z "$ac_cxx_werror_flag"
14773 || test ! -s conftest.err'
14774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775 (eval $ac_try) 2>&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); }; } &&
14779 { ac_try
='test -s conftest.$ac_objext'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; }; then
14785 bakefile_compiler_xlc
=yes
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.
$ac_ext >&5
14790 bakefile_compiler_xlc
=no
14792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14793 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14796 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14797 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14799 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14801 ac_cpp
='$CPP $CPPFLAGS'
14802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14811 ac_cpp
='$CXXCPP $CPPFLAGS'
14812 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14813 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14814 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14816 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14817 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14818 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14821 cat >conftest.
$ac_ext <<_ACEOF
14824 cat confdefs.h
>>conftest.
$ac_ext
14825 cat >>conftest.
$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14839 rm -f conftest.
$ac_objext
14840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14841 (eval $ac_compile) 2>conftest.er1
14843 grep -v '^ *+' conftest.er1
>conftest.err
14845 cat conftest.err
>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try
='test -z "$ac_cxx_werror_flag"
14849 || test ! -s conftest.err'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; } &&
14855 { ac_try
='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 bakefile_compiler_mwerks
=yes
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.
$ac_ext >&5
14866 bakefile_compiler_mwerks
=no
14868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14869 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14872 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14873 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14875 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14877 ac_cpp
='$CPP $CPPFLAGS'
14878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14884 ac_cpp
='$CXXCPP $CPPFLAGS'
14885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14889 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14890 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14891 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14894 cat >conftest.
$ac_ext <<_ACEOF
14897 cat confdefs.h
>>conftest.
$ac_ext
14898 cat >>conftest.
$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14912 rm -f conftest.
$ac_objext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914 (eval $ac_compile) 2>conftest.er1
14916 grep -v '^ *+' conftest.er1
>conftest.err
14918 cat conftest.err
>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try
='test -z "$ac_cxx_werror_flag"
14922 || test ! -s conftest.err'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; } &&
14928 { ac_try
='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14934 bakefile_compiler_xlc
=yes
14936 echo "$as_me: failed program was:" >&5
14937 sed 's/^/| /' conftest.
$ac_ext >&5
14939 bakefile_compiler_xlc
=no
14941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14942 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14945 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14946 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14948 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14950 ac_cpp
='$CPP $CPPFLAGS'
14951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14962 ac_cpp
='$CXXCPP $CPPFLAGS'
14963 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14964 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14965 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14967 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14968 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14969 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14972 cat >conftest.
$ac_ext <<_ACEOF
14975 cat confdefs.h
>>conftest.
$ac_ext
14976 cat >>conftest.
$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14983 #ifndef _SGI_COMPILER_VERSION
14991 rm -f conftest.
$ac_objext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14993 (eval $ac_compile) 2>conftest.er1
14995 grep -v '^ *+' conftest.er1
>conftest.err
14997 cat conftest.err
>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try
='test -z "$ac_cxx_werror_flag"
15001 || test ! -s conftest.err'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; } &&
15007 { ac_try
='test -s conftest.$ac_objext'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.
$ac_ext >&5
15018 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
15021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15025 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15026 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15028 ac_cpp
='$CPP $CPPFLAGS'
15029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15033 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15046 ac_cpp
='$CXXCPP $CPPFLAGS'
15047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15051 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15052 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15053 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15054 echo $ECHO_N "(cached) $ECHO_C" >&6
15056 cat >conftest.
$ac_ext <<_ACEOF
15059 cat confdefs.h
>>conftest.
$ac_ext
15060 cat >>conftest.
$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15075 rm -f conftest.
$ac_objext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077 (eval $ac_compile) 2>conftest.er1
15079 grep -v '^ *+' conftest.er1
>conftest.err
15081 cat conftest.err
>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try
='test -z "$ac_cxx_werror_flag"
15085 || test ! -s conftest.err'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; } &&
15091 { ac_try
='test -s conftest.$ac_objext'
15092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093 (eval $ac_try) 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }; }; then
15097 bakefile_cv_cxx_compiler___HP_aCC
=yes
15099 echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.
$ac_ext >&5
15102 bakefile_cv_cxx_compiler___HP_aCC
=no
15105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15109 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15110 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15112 ac_cpp
='$CPP $CPPFLAGS'
15113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15117 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15130 ac_cpp
='$CXXCPP $CPPFLAGS'
15131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15135 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15136 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15137 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 cat >conftest.
$ac_ext <<_ACEOF
15143 cat confdefs.h
>>conftest.
$ac_ext
15144 cat >>conftest.
$ac_ext <<_ACEOF
15145 /* end confdefs.h. */
15159 rm -f conftest.
$ac_objext
15160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15161 (eval $ac_compile) 2>conftest.er1
15163 grep -v '^ *+' conftest.er1
>conftest.err
15165 cat conftest.err
>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try
='test -z "$ac_cxx_werror_flag"
15169 || test ! -s conftest.err'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; } &&
15175 { ac_try
='test -s conftest.$ac_objext'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; }; then
15181 bakefile_cv_cxx_compiler___DECCXX
=yes
15183 echo "$as_me: failed program was:" >&5
15184 sed 's/^/| /' conftest.
$ac_ext >&5
15186 bakefile_cv_cxx_compiler___DECCXX
=no
15189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15193 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15194 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15196 ac_cpp
='$CPP $CPPFLAGS'
15197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15201 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15214 ac_cpp
='$CXXCPP $CPPFLAGS'
15215 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15216 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15217 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15219 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15220 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15221 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 cat >conftest.
$ac_ext <<_ACEOF
15227 cat confdefs.h
>>conftest.
$ac_ext
15228 cat >>conftest.
$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15235 #ifndef __SUNPRO_CC
15243 rm -f conftest.
$ac_objext
15244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15245 (eval $ac_compile) 2>conftest.er1
15247 grep -v '^ *+' conftest.er1
>conftest.err
15249 cat conftest.err
>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try
='test -z "$ac_cxx_werror_flag"
15253 || test ! -s conftest.err'
15254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15255 (eval $ac_try) 2>&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }; } &&
15259 { ac_try
='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.
$ac_ext >&5
15270 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15277 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15278 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15280 ac_cpp
='$CPP $CPPFLAGS'
15281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15285 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15298 if test -n "$ac_tool_prefix"; then
15299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15300 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15301 echo "$as_me:$LINENO: checking for $ac_word" >&5
15302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15303 if test "${ac_cv_prog_RANLIB+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15306 if test -n "$RANLIB"; then
15307 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15310 for as_dir
in $PATH
15313 test -z "$as_dir" && as_dir
=.
15314 for ac_exec_ext
in '' $ac_executable_extensions; do
15315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15316 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15325 RANLIB
=$ac_cv_prog_RANLIB
15326 if test -n "$RANLIB"; then
15327 echo "$as_me:$LINENO: result: $RANLIB" >&5
15328 echo "${ECHO_T}$RANLIB" >&6
15330 echo "$as_me:$LINENO: result: no" >&5
15331 echo "${ECHO_T}no" >&6
15335 if test -z "$ac_cv_prog_RANLIB"; then
15336 ac_ct_RANLIB
=$RANLIB
15337 # Extract the first word of "ranlib", so it can be a program name with args.
15338 set dummy ranlib
; ac_word
=$2
15339 echo "$as_me:$LINENO: checking for $ac_word" >&5
15340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15341 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15344 if test -n "$ac_ct_RANLIB"; then
15345 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
15347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15348 for as_dir
in $PATH
15351 test -z "$as_dir" && as_dir
=.
15352 for ac_exec_ext
in '' $ac_executable_extensions; do
15353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15354 ac_cv_prog_ac_ct_RANLIB
="ranlib"
15355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15361 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15364 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15365 if test -n "$ac_ct_RANLIB"; then
15366 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15367 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15369 echo "$as_me:$LINENO: result: no" >&5
15370 echo "${ECHO_T}no" >&6
15373 RANLIB
=$ac_ct_RANLIB
15375 RANLIB
="$ac_cv_prog_RANLIB"
15379 if test "x$SUNCXX" != xyes
; then
15380 if test -n "$ac_tool_prefix"; then
15381 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15382 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15383 echo "$as_me:$LINENO: checking for $ac_word" >&5
15384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15385 if test "${ac_cv_prog_AR+set}" = set; then
15386 echo $ECHO_N "(cached) $ECHO_C" >&6
15388 if test -n "$AR"; then
15389 ac_cv_prog_AR
="$AR" # Let the user override the test.
15391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15392 for as_dir
in $PATH
15395 test -z "$as_dir" && as_dir
=.
15396 for ac_exec_ext
in '' $ac_executable_extensions; do
15397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15398 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15408 if test -n "$AR"; then
15409 echo "$as_me:$LINENO: result: $AR" >&5
15410 echo "${ECHO_T}$AR" >&6
15412 echo "$as_me:$LINENO: result: no" >&5
15413 echo "${ECHO_T}no" >&6
15417 if test -z "$ac_cv_prog_AR"; then
15419 # Extract the first word of "ar", so it can be a program name with args.
15420 set dummy
ar; ac_word
=$2
15421 echo "$as_me:$LINENO: checking for $ac_word" >&5
15422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15423 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15426 if test -n "$ac_ct_AR"; then
15427 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15430 for as_dir
in $PATH
15433 test -z "$as_dir" && as_dir
=.
15434 for ac_exec_ext
in '' $ac_executable_extensions; do
15435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15436 ac_cv_prog_ac_ct_AR
="ar"
15437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15445 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15446 if test -n "$ac_ct_AR"; then
15447 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15448 echo "${ECHO_T}$ac_ct_AR" >&6
15450 echo "$as_me:$LINENO: result: no" >&5
15451 echo "${ECHO_T}no" >&6
15456 AR
="$ac_cv_prog_AR"
15459 if test "x$AR" = "x" ; then
15460 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15461 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15462 { (exit 1); exit 1; }; }
15466 # Find a good install program. We prefer a C program (faster),
15467 # so one script is as good as another. But avoid the broken or
15468 # incompatible versions:
15469 # SysV /etc/install, /usr/sbin/install
15470 # SunOS /usr/etc/install
15471 # IRIX /sbin/install
15473 # AmigaOS /C/install, which installs bootblocks on floppy discs
15474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15477 # OS/2's system install, which has a completely different semantic
15478 # ./install, which can be erroneously created by make from ./install.sh.
15479 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15480 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15481 if test -z "$INSTALL"; then
15482 if test "${ac_cv_path_install+set}" = set; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15486 for as_dir
in $PATH
15489 test -z "$as_dir" && as_dir
=.
15490 # Account for people who put trailing slashes in PATH elements.
15492 .
/ | .
// | /cC
/* | \
15493 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15494 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15497 # OSF1 and SCO ODT 3.0 have their own names for install.
15498 # Don't use installbsd from OSF since it installs stuff as root
15500 for ac_prog
in ginstall scoinst
install; do
15501 for ac_exec_ext
in '' $ac_executable_extensions; do
15502 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15503 if test $ac_prog = install &&
15504 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15505 # AIX install. It has an incompatible calling convention.
15507 elif test $ac_prog = install &&
15508 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15509 # program-specific install script used by HP pwplus--don't use.
15512 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15524 if test "${ac_cv_path_install+set}" = set; then
15525 INSTALL
=$ac_cv_path_install
15527 # As a last resort, use the slow shell script. We don't cache a
15528 # path for INSTALL within a source directory, because that will
15529 # break other packages using the cache if that directory is
15530 # removed, or if the path is relative.
15531 INSTALL
=$ac_install_sh
15534 echo "$as_me:$LINENO: result: $INSTALL" >&5
15535 echo "${ECHO_T}$INSTALL" >&6
15537 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15538 # It thinks the first close brace ends the variable substitution.
15539 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15541 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15543 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15549 ?
:* ) # Drive letter, considered as absolute.
15552 INSTALL
=`pwd`/${INSTALL} ;;
15559 INSTALL_PROGRAM
="cp -fp"
15560 INSTALL_DATA
="cp -fp"
15566 if test -n "$ac_tool_prefix"; then
15567 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15568 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15569 echo "$as_me:$LINENO: checking for $ac_word" >&5
15570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15571 if test "${ac_cv_prog_STRIP+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 if test -n "$STRIP"; then
15575 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15578 for as_dir
in $PATH
15581 test -z "$as_dir" && as_dir
=.
15582 for ac_exec_ext
in '' $ac_executable_extensions; do
15583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15584 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15593 STRIP
=$ac_cv_prog_STRIP
15594 if test -n "$STRIP"; then
15595 echo "$as_me:$LINENO: result: $STRIP" >&5
15596 echo "${ECHO_T}$STRIP" >&6
15598 echo "$as_me:$LINENO: result: no" >&5
15599 echo "${ECHO_T}no" >&6
15603 if test -z "$ac_cv_prog_STRIP"; then
15605 # Extract the first word of "strip", so it can be a program name with args.
15606 set dummy strip
; ac_word
=$2
15607 echo "$as_me:$LINENO: checking for $ac_word" >&5
15608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15609 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15612 if test -n "$ac_ct_STRIP"; then
15613 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
15615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15616 for as_dir
in $PATH
15619 test -z "$as_dir" && as_dir
=.
15620 for ac_exec_ext
in '' $ac_executable_extensions; do
15621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15622 ac_cv_prog_ac_ct_STRIP
="strip"
15623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15629 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15632 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15633 if test -n "$ac_ct_STRIP"; then
15634 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15635 echo "${ECHO_T}$ac_ct_STRIP" >&6
15637 echo "$as_me:$LINENO: result: no" >&5
15638 echo "${ECHO_T}no" >&6
15643 STRIP
="$ac_cv_prog_STRIP"
15647 if test "$wxUSE_WINE" = "yes"; then
15648 if test -n "$ac_tool_prefix"; then
15649 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15650 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15651 echo "$as_me:$LINENO: checking for $ac_word" >&5
15652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15653 if test "${ac_cv_prog_WINDRES+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 if test -n "$WINDRES"; then
15657 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15660 for as_dir
in $PATH
15663 test -z "$as_dir" && as_dir
=.
15664 for ac_exec_ext
in '' $ac_executable_extensions; do
15665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15666 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15675 WINDRES
=$ac_cv_prog_WINDRES
15676 if test -n "$WINDRES"; then
15677 echo "$as_me:$LINENO: result: $WINDRES" >&5
15678 echo "${ECHO_T}$WINDRES" >&6
15680 echo "$as_me:$LINENO: result: no" >&5
15681 echo "${ECHO_T}no" >&6
15685 if test -z "$ac_cv_prog_WINDRES"; then
15686 ac_ct_WINDRES
=$WINDRES
15687 # Extract the first word of "wrc", so it can be a program name with args.
15688 set dummy wrc
; ac_word
=$2
15689 echo "$as_me:$LINENO: checking for $ac_word" >&5
15690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15691 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 if test -n "$ac_ct_WINDRES"; then
15695 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15698 for as_dir
in $PATH
15701 test -z "$as_dir" && as_dir
=.
15702 for ac_exec_ext
in '' $ac_executable_extensions; do
15703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15704 ac_cv_prog_ac_ct_WINDRES
="wrc"
15705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15713 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15714 if test -n "$ac_ct_WINDRES"; then
15715 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15716 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15718 echo "$as_me:$LINENO: result: no" >&5
15719 echo "${ECHO_T}no" >&6
15722 WINDRES
=$ac_ct_WINDRES
15724 WINDRES
="$ac_cv_prog_WINDRES"
15730 *-*-cygwin* | *-*-mingw32* )
15731 if test -n "$ac_tool_prefix"; then
15732 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15733 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15734 echo "$as_me:$LINENO: checking for $ac_word" >&5
15735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15736 if test "${ac_cv_prog_WINDRES+set}" = set; then
15737 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 if test -n "$WINDRES"; then
15740 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15743 for as_dir
in $PATH
15746 test -z "$as_dir" && as_dir
=.
15747 for ac_exec_ext
in '' $ac_executable_extensions; do
15748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15749 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15758 WINDRES
=$ac_cv_prog_WINDRES
15759 if test -n "$WINDRES"; then
15760 echo "$as_me:$LINENO: result: $WINDRES" >&5
15761 echo "${ECHO_T}$WINDRES" >&6
15763 echo "$as_me:$LINENO: result: no" >&5
15764 echo "${ECHO_T}no" >&6
15768 if test -z "$ac_cv_prog_WINDRES"; then
15769 ac_ct_WINDRES
=$WINDRES
15770 # Extract the first word of "windres", so it can be a program name with args.
15771 set dummy windres
; ac_word
=$2
15772 echo "$as_me:$LINENO: checking for $ac_word" >&5
15773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15774 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 if test -n "$ac_ct_WINDRES"; then
15778 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15781 for as_dir
in $PATH
15784 test -z "$as_dir" && as_dir
=.
15785 for ac_exec_ext
in '' $ac_executable_extensions; do
15786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15787 ac_cv_prog_ac_ct_WINDRES
="windres"
15788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15796 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15797 if test -n "$ac_ct_WINDRES"; then
15798 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15799 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15801 echo "$as_me:$LINENO: result: no" >&5
15802 echo "${ECHO_T}no" >&6
15805 WINDRES
=$ac_ct_WINDRES
15807 WINDRES
="$ac_cv_prog_WINDRES"
15811 if test -n "$ac_tool_prefix"; then
15812 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15813 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15814 echo "$as_me:$LINENO: checking for $ac_word" >&5
15815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15816 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15819 if test -n "$DLLTOOL"; then
15820 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15823 for as_dir
in $PATH
15826 test -z "$as_dir" && as_dir
=.
15827 for ac_exec_ext
in '' $ac_executable_extensions; do
15828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15829 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15838 DLLTOOL
=$ac_cv_prog_DLLTOOL
15839 if test -n "$DLLTOOL"; then
15840 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15841 echo "${ECHO_T}$DLLTOOL" >&6
15843 echo "$as_me:$LINENO: result: no" >&5
15844 echo "${ECHO_T}no" >&6
15848 if test -z "$ac_cv_prog_DLLTOOL"; then
15849 ac_ct_DLLTOOL
=$DLLTOOL
15850 # Extract the first word of "dlltool", so it can be a program name with args.
15851 set dummy dlltool
; ac_word
=$2
15852 echo "$as_me:$LINENO: checking for $ac_word" >&5
15853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15854 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 if test -n "$ac_ct_DLLTOOL"; then
15858 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15861 for as_dir
in $PATH
15864 test -z "$as_dir" && as_dir
=.
15865 for ac_exec_ext
in '' $ac_executable_extensions; do
15866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15867 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15876 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15877 if test -n "$ac_ct_DLLTOOL"; then
15878 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15879 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15881 echo "$as_me:$LINENO: result: no" >&5
15882 echo "${ECHO_T}no" >&6
15885 DLLTOOL
=$ac_ct_DLLTOOL
15887 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15894 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15895 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15896 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15897 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15901 $EGREP -s GNU
> /dev
/null
); then
15902 wx_cv_prog_makeisgnu
="yes"
15904 wx_cv_prog_makeisgnu
="no"
15908 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15909 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15911 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15919 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15920 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15921 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15922 if test "${wx_cv_prog_makevpath+set}" = set; then
15923 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 cat - << EOF > confMake
15932 if test ! -d sub
; then
15935 echo dummy
> sub
/file
15936 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15938 rm -f sub
/file check final_file confMake
15940 if test "$RESULT" = 0; then
15941 wx_cv_prog_makevpath
="yes"
15943 wx_cv_prog_makevpath
="no"
15947 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15948 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15950 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15951 { { echo "$as_me:$LINENO: error:
15952 You need a make-utility that is able to use the variable
15954 If your version of make does not support VPATH correctly,
15955 please install GNU-make (possibly as gmake), and start
15956 configure with the following command:
15957 export MAKE=gmake; ./configure for sh-type shells
15958 setenv MAKE gmake; ./configure for csh-type shells
15959 Also please do remember to use gmake in this case every time
15960 you are trying to compile.
15962 echo "$as_me: error:
15963 You need a make-utility that is able to use the variable
15965 If your version of make does not support VPATH correctly,
15966 please install GNU-make (possibly as gmake), and start
15967 configure with the following command:
15968 export MAKE=gmake; ./configure for sh-type shells
15969 setenv MAKE gmake; ./configure for csh-type shells
15970 Also please do remember to use gmake in this case every time
15971 you are trying to compile.
15973 { (exit 1); exit 1; }; }
15975 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15976 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15978 if test "$LN_S" = "ln -s"; then
15979 echo "$as_me:$LINENO: result: yes" >&5
15980 echo "${ECHO_T}yes" >&6
15982 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15983 echo "${ECHO_T}no, using $LN_S" >&6
15989 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15990 CXXFLAGS
="-qunique $CXXFLAGS"
15994 powerpc
-*-darwin* )
15995 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15996 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15997 cat >conftest.
$ac_ext <<_ACEOF
16000 cat confdefs.h
>>conftest.
$ac_ext
16001 cat >>conftest.
$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16007 #ifndef __POWERPC__
16008 choke me for lack of PowerPC
16015 rm -f conftest.
$ac_objext
16016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16017 (eval $ac_compile) 2>conftest.er1
16019 grep -v '^ *+' conftest.er1
>conftest.err
16021 cat conftest.err
>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); } &&
16024 { ac_try
='test -z "$ac_c_werror_flag"
16025 || test ! -s conftest.err'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; } &&
16031 { ac_try
='test -s conftest.$ac_objext'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; }; then
16037 echo "$as_me:$LINENO: result: yes" >&5
16038 echo "${ECHO_T}yes" >&6
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.
$ac_ext >&5
16043 echo "$as_me:$LINENO: result: no" >&5
16044 echo "${ECHO_T}no" >&6
16045 cat >>confdefs.h
<<\_ACEOF
16046 #define __POWERPC__ 1
16051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16057 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16058 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16059 cat >conftest.
$ac_ext <<_ACEOF
16062 cat confdefs.h
>>conftest.
$ac_ext
16063 cat >>conftest.
$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 #include <CoreFoundation/CFBase.h>
16075 rm -f conftest.
$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try
='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try
='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 echo "$as_me:$LINENO: result: yes" >&5
16098 echo "${ECHO_T}yes" >&6
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.
$ac_ext >&5
16103 echo "$as_me:$LINENO: result: no" >&5
16104 echo "${ECHO_T}no" >&6
16105 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16106 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16107 cat >conftest.
$ac_ext <<_ACEOF
16110 cat confdefs.h
>>conftest.
$ac_ext
16111 cat >>conftest.
$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 #define __CF_USE_FRAMEWORK_INCLUDES__
16114 #include <CoreFoundation/CFBase.h>
16124 rm -f conftest.
$ac_objext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126 (eval $ac_compile) 2>conftest.er1
16128 grep -v '^ *+' conftest.er1
>conftest.err
16130 cat conftest.err
>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } &&
16133 { ac_try
='test -z "$ac_c_werror_flag"
16134 || test ! -s conftest.err'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; } &&
16140 { ac_try
='test -s conftest.$ac_objext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 echo "$as_me:$LINENO: result: yes" >&5
16147 echo "${ECHO_T}yes" >&6
16148 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.
$ac_ext >&5
16153 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16154 See \`config.log' for more details." >&5
16155 echo "$as_me: error: no. CoreFoundation not available.
16156 See \`config.log' for more details." >&2;}
16157 { (exit 1); exit 1; }; }
16160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16169 doesnt_want_win32
=0
16172 if test "$wxUSE_MSW" = 1 ; then
16175 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16176 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16177 if test "${wx_cv_nocygwin+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16181 cat >conftest.
$ac_ext <<_ACEOF
16184 cat confdefs.h
>>conftest.
$ac_ext
16185 cat >>conftest.
$ac_ext <<_ACEOF
16186 /* end confdefs.h. */
16200 rm -f conftest.
$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>conftest.er1
16204 grep -v '^ *+' conftest.er1
>conftest.err
16206 cat conftest.err
>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try
='test -z "$ac_c_werror_flag"
16210 || test ! -s conftest.err'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; } &&
16216 { ac_try
='test -s conftest.$ac_objext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.
$ac_ext >&5
16230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16234 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16235 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16237 if test "$wx_cv_nocygwin" = "yes"; then
16240 doesnt_want_win32
=1
16243 if test "$wants_win32" = 1 ; then
16244 BAKEFILE_FORCE_PLATFORM
=win32
16252 if test "$wxUSE_WINE" = "yes"; then
16254 LDFLAGS_GUI
="-mwindows"
16257 if test "$wants_win32" = 1 ; then
16260 cat >>confdefs.h
<<\_ACEOF
16261 #define __WIN32__ 1
16264 cat >>confdefs.h
<<\_ACEOF
16265 #define __WIN95__ 1
16268 cat >>confdefs.h
<<\_ACEOF
16269 #define __WINDOWS__ 1
16272 cat >>confdefs.h
<<\_ACEOF
16273 #define __GNUWIN32__ 1
16276 cat >>confdefs.h
<<\_ACEOF
16281 if test "$doesnt_want_win32" = 1 ; then
16286 if test "$USE_UNIX" = 1 ; then
16288 cat >>confdefs.h
<<\_ACEOF
16295 *-pc-os2_emx | *-pc-os2-emx )
16296 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16297 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16298 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16299 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16300 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 ac_check_lib_save_LIBS
=$LIBS
16303 LIBS
="-lcExt $LIBS"
16304 cat >conftest.
$ac_ext <<_ACEOF
16307 cat confdefs.h
>>conftest.
$ac_ext
16308 cat >>conftest.
$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16311 /* Override any gcc2 internal prototype to avoid an error. */
16315 /* We use char because int might match the return type of a gcc2
16316 builtin and then its argument prototype would still apply. */
16326 rm -f conftest.
$ac_objext conftest
$ac_exeext
16327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16328 (eval $ac_link) 2>conftest.er1
16330 grep -v '^ *+' conftest.er1
>conftest.err
16332 cat conftest.err
>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } &&
16335 { ac_try
='test -z "$ac_c_werror_flag"
16336 || test ! -s conftest.err'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; } &&
16342 { ac_try
='test -s conftest$ac_exeext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16348 ac_cv_lib_cExt_drand48
=yes
16350 echo "$as_me: failed program was:" >&5
16351 sed 's/^/| /' conftest.
$ac_ext >&5
16353 ac_cv_lib_cExt_drand48
=no
16355 rm -f conftest.err conftest.
$ac_objext \
16356 conftest
$ac_exeext conftest.
$ac_ext
16357 LIBS
=$ac_check_lib_save_LIBS
16359 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16360 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16361 if test $ac_cv_lib_cExt_drand48 = yes; then
16362 LIBS
="$LIBS -lcExt"
16366 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16368 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16369 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16370 if test "${wx_cv_gccversion+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 if test "$cross_compiling" = yes; then
16375 wx_cv_gccversion
="EMX2"
16378 cat >conftest.
$ac_ext <<_ACEOF
16381 cat confdefs.h
>>conftest.
$ac_ext
16382 cat >>conftest.
$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16389 FILE *f=fopen("conftestval", "w");
16394 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16396 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16406 rm -f conftest
$ac_exeext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16408 (eval $ac_link) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16417 wx_cv_gccversion
=`cat conftestval`
16419 echo "$as_me: program exited with status $ac_status" >&5
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.
$ac_ext >&5
16423 ( exit $ac_status )
16424 wx_cv_gccversion
="EMX2"
16426 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16430 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16431 echo "${ECHO_T}$wx_cv_gccversion" >&6
16432 if test "$wx_cv_gccversion" = "EMX2"; then
16433 LIBS
="$LIBS -lstdcpp"
16434 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16436 if test "$wx_cv_gccversion" = "EMX3"; then
16437 LIBS
="$LIBS -lstdcxx -lgcc"
16438 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16440 LIBS
="$LIBS -lstdc++"
16443 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16444 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16445 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16452 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16453 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16454 if test "${ac_cv_string_strcasecmp+set}" = set; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 cat >conftest.
$ac_ext <<_ACEOF
16461 cat confdefs.h
>>conftest.
$ac_ext
16462 cat >>conftest.
$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16465 #include <string.h>
16471 strcasecmp("foo", "bar");
16477 rm -f conftest.
$ac_objext conftest
$ac_exeext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16479 (eval $ac_link) 2>conftest.er1
16481 grep -v '^ *+' conftest.er1
>conftest.err
16483 cat conftest.err
>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try
='test -z "$ac_c_werror_flag"
16487 || test ! -s conftest.err'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; } &&
16493 { ac_try
='test -s conftest$ac_exeext'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 ac_cv_string_strcasecmp
=yes
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.
$ac_ext >&5
16504 ac_cv_string_strcasecmp
=no
16507 rm -f conftest.err conftest.
$ac_objext \
16508 conftest
$ac_exeext conftest.
$ac_ext
16511 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16512 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16514 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16515 cat >>confdefs.h
<<\_ACEOF
16516 #define HAVE_STRCASECMP_IN_STRING_H 1
16520 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16521 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16522 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16526 cat >conftest.
$ac_ext <<_ACEOF
16529 cat confdefs.h
>>conftest.
$ac_ext
16530 cat >>conftest.
$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16533 #include <strings.h>
16539 strcasecmp("foo", "bar");
16545 rm -f conftest.
$ac_objext conftest
$ac_exeext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16547 (eval $ac_link) 2>conftest.er1
16549 grep -v '^ *+' conftest.er1
>conftest.err
16551 cat conftest.err
>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try
='test -z "$ac_c_werror_flag"
16555 || test ! -s conftest.err'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try
='test -s conftest$ac_exeext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 ac_cv_strings_strcasecmp
=yes
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.
$ac_ext >&5
16572 ac_cv_strings_strcasecmp
=no
16575 rm -f conftest.err conftest.
$ac_objext \
16576 conftest
$ac_exeext conftest.
$ac_ext
16579 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16580 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16582 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16583 cat >>confdefs.h
<<\_ACEOF
16584 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16588 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16589 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16590 { (exit 1); exit 1; }; }
16598 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16599 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16600 if test "${ac_cv_header_stdc+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 cat >conftest.
$ac_ext <<_ACEOF
16606 cat confdefs.h
>>conftest.
$ac_ext
16607 cat >>conftest.
$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #include <stdlib.h>
16610 #include <stdarg.h>
16611 #include <string.h>
16622 rm -f conftest.
$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>conftest.er1
16626 grep -v '^ *+' conftest.er1
>conftest.err
16628 cat conftest.err
>&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try
='test -z "$ac_c_werror_flag"
16632 || test ! -s conftest.err'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try
='test -s conftest.$ac_objext'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; }; then
16644 ac_cv_header_stdc
=yes
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.
$ac_ext >&5
16649 ac_cv_header_stdc
=no
16651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16653 if test $ac_cv_header_stdc = yes; then
16654 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16655 cat >conftest.
$ac_ext <<_ACEOF
16658 cat confdefs.h
>>conftest.
$ac_ext
16659 cat >>conftest.
$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661 #include <string.h>
16664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16665 $EGREP "memchr" >/dev
/null
2>&1; then
16668 ac_cv_header_stdc
=no
16674 if test $ac_cv_header_stdc = yes; then
16675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16676 cat >conftest.
$ac_ext <<_ACEOF
16679 cat confdefs.h
>>conftest.
$ac_ext
16680 cat >>conftest.
$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 #include <stdlib.h>
16685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16686 $EGREP "free" >/dev
/null
2>&1; then
16689 ac_cv_header_stdc
=no
16695 if test $ac_cv_header_stdc = yes; then
16696 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16697 if test "$cross_compiling" = yes; then
16700 cat >conftest.
$ac_ext <<_ACEOF
16703 cat confdefs.h
>>conftest.
$ac_ext
16704 cat >>conftest.
$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16707 #if ((' ' & 0x0FF) == 0x020)
16708 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16709 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16711 # define ISLOWER(c) \
16712 (('a' <= (c) && (c) <= 'i') \
16713 || ('j' <= (c) && (c) <= 'r') \
16714 || ('s' <= (c) && (c) <= 'z'))
16715 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16718 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16723 for (i = 0; i < 256; i++)
16724 if (XOR (islower (i), ISLOWER (i))
16725 || toupper (i) != TOUPPER (i))
16730 rm -f conftest
$ac_exeext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16732 (eval $ac_link) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16737 (eval $ac_try) 2>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; }; then
16743 echo "$as_me: program exited with status $ac_status" >&5
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16747 ( exit $ac_status )
16748 ac_cv_header_stdc
=no
16750 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16754 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16755 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16756 if test $ac_cv_header_stdc = yes; then
16758 cat >>confdefs.h
<<\_ACEOF
16759 #define STDC_HEADERS 1
16764 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16774 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16775 inttypes.h stdint.h unistd.h
16777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16778 echo "$as_me:$LINENO: checking for $ac_header" >&5
16779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16783 cat >conftest.
$ac_ext <<_ACEOF
16786 cat confdefs.h
>>conftest.
$ac_ext
16787 cat >>conftest.
$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789 $ac_includes_default
16791 #include <$ac_header>
16793 rm -f conftest.
$ac_objext
16794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16795 (eval $ac_compile) 2>conftest.er1
16797 grep -v '^ *+' conftest.er1
>conftest.err
16799 cat conftest.err
>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } &&
16802 { ac_try
='test -z "$ac_c_werror_flag"
16803 || test ! -s conftest.err'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; } &&
16809 { ac_try
='test -s conftest.$ac_objext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 eval "$as_ac_Header=yes"
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.
$ac_ext >&5
16820 eval "$as_ac_Header=no"
16822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16827 cat >>confdefs.h
<<_ACEOF
16828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16842 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16844 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16845 echo "$as_me:$LINENO: checking for $ac_header" >&5
16846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 cat >conftest.
$ac_ext <<_ACEOF
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16858 #include <$ac_header>
16860 rm -f conftest.
$ac_objext
16861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16862 (eval $ac_compile) 2>conftest.er1
16864 grep -v '^ *+' conftest.er1
>conftest.err
16866 cat conftest.err
>&5
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); } &&
16869 { ac_try
='test -z "$ac_c_werror_flag"
16870 || test ! -s conftest.err'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; } &&
16876 { ac_try
='test -s conftest.$ac_objext'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; }; then
16882 eval "$as_ac_Header=yes"
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.
$ac_ext >&5
16887 eval "$as_ac_Header=no"
16889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16894 cat >>confdefs.h
<<_ACEOF
16895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16903 if test "$ac_cv_header_wchar_h" != "yes"; then
16904 echo "$as_me:$LINENO: checking for wcstr.h" >&5
16905 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
16906 if test "${ac_cv_header_wcstr_h+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 cat >conftest.
$ac_ext <<_ACEOF
16912 cat confdefs.h
>>conftest.
$ac_ext
16913 cat >>conftest.
$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 $ac_includes_default
16919 rm -f conftest.
$ac_objext
16920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16921 (eval $ac_compile) 2>conftest.er1
16923 grep -v '^ *+' conftest.er1
>conftest.err
16925 cat conftest.err
>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } &&
16928 { ac_try
='test -z "$ac_c_werror_flag"
16929 || test ! -s conftest.err'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; } &&
16935 { ac_try
='test -s conftest.$ac_objext'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; }; then
16941 ac_cv_header_wcstr_h
=yes
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.
$ac_ext >&5
16946 ac_cv_header_wcstr_h
=no
16948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16950 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
16951 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
16957 *-pc-os2_emx | *-pc-os2-emx )
16958 if test $ac_cv_header_langinfo_h = "yes" \
16959 -a \
( "$wx_cv_gccversion" = "EMX2" \
16960 -o "$wx_cv_gccversion" = "EMX3" \
16961 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16962 LIBS
="$LIBS -lintl"
16967 if test "$USE_UNIX" = 1 ; then
16968 echo "$as_me:$LINENO: checking for sys/select.h" >&5
16969 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
16970 if test "${ac_cv_header_sys_select_h+set}" = set; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 cat >conftest.
$ac_ext <<_ACEOF
16976 cat confdefs.h
>>conftest.
$ac_ext
16977 cat >>conftest.
$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 $ac_includes_default
16981 #include <sys/select.h>
16983 rm -f conftest.
$ac_objext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16985 (eval $ac_compile) 2>conftest.er1
16987 grep -v '^ *+' conftest.er1
>conftest.err
16989 cat conftest.err
>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } &&
16992 { ac_try
='test -z "$ac_c_werror_flag"
16993 || test ! -s conftest.err'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; } &&
16999 { ac_try
='test -s conftest.$ac_objext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17005 ac_cv_header_sys_select_h
=yes
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.
$ac_ext >&5
17010 ac_cv_header_sys_select_h
=no
17012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17014 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17015 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
17021 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17022 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17023 if test "${ac_cv_c_const+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 cat >conftest.
$ac_ext <<_ACEOF
17029 cat confdefs.h
>>conftest.
$ac_ext
17030 cat >>conftest.
$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17036 /* FIXME: Include the comments suggested by Paul. */
17037 #ifndef __cplusplus
17038 /* Ultrix mips cc rejects this. */
17039 typedef int charset[2];
17041 /* SunOS 4.1.1 cc rejects this. */
17042 char const *const *ccp;
17044 /* NEC SVR4.0.2 mips cc rejects this. */
17045 struct point {int x, y;};
17046 static struct point const zero = {0,0};
17047 /* AIX XL C 1.02.0.0 rejects this.
17048 It does not let you subtract one const X* pointer from another in
17049 an arm of an if-expression whose if-part is not a constant
17051 const char *g = "string";
17052 ccp = &g + (g ? g-g : 0);
17053 /* HPUX 7.0 cc rejects these. */
17056 ccp = (char const *const *) p;
17057 { /* SCO 3.2v4 cc rejects this. */
17059 char const *s = 0 ? (char *) 0 : (char const *) 0;
17063 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17064 int x[] = {25, 17};
17065 const int *foo = &x[0];
17068 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17069 typedef const int *iptr;
17073 { /* AIX XL C 1.02.0.0 rejects this saying
17074 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17075 struct s { int j; const int *ap[3]; };
17076 struct s *b; b->j = 5;
17078 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17079 const int foo = 10;
17087 rm -f conftest.
$ac_objext
17088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17089 (eval $ac_compile) 2>conftest.er1
17091 grep -v '^ *+' conftest.er1
>conftest.err
17093 cat conftest.err
>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } &&
17096 { ac_try
='test -z "$ac_c_werror_flag"
17097 || test ! -s conftest.err'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; } &&
17103 { ac_try
='test -s conftest.$ac_objext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.
$ac_ext >&5
17116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17118 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17119 echo "${ECHO_T}$ac_cv_c_const" >&6
17120 if test $ac_cv_c_const = no
; then
17122 cat >>confdefs.h
<<\_ACEOF
17128 echo "$as_me:$LINENO: checking for inline" >&5
17129 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17130 if test "${ac_cv_c_inline+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17134 for ac_kw
in inline __inline__ __inline
; do
17135 cat >conftest.
$ac_ext <<_ACEOF
17138 cat confdefs.h
>>conftest.
$ac_ext
17139 cat >>conftest.
$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 #ifndef __cplusplus
17143 static $ac_kw foo_t static_foo () {return 0; }
17144 $ac_kw foo_t foo () {return 0; }
17148 rm -f conftest.
$ac_objext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17150 (eval $ac_compile) 2>conftest.er1
17152 grep -v '^ *+' conftest.er1
>conftest.err
17154 cat conftest.err
>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } &&
17157 { ac_try
='test -z "$ac_c_werror_flag"
17158 || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try
='test -s conftest.$ac_objext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_c_inline
=$ac_kw; break
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.
$ac_ext >&5
17176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17180 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17181 echo "${ECHO_T}$ac_cv_c_inline" >&6
17184 case $ac_cv_c_inline in
17187 case $ac_cv_c_inline in
17189 *) ac_val
=$ac_cv_c_inline;;
17191 cat >>confdefs.h
<<_ACEOF
17192 #ifndef __cplusplus
17193 #define inline $ac_val
17200 echo "$as_me:$LINENO: checking for short" >&5
17201 echo $ECHO_N "checking for short... $ECHO_C" >&6
17202 if test "${ac_cv_type_short+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 cat >conftest.
$ac_ext <<_ACEOF
17208 cat confdefs.h
>>conftest.
$ac_ext
17209 cat >>conftest.
$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17211 $ac_includes_default
17217 if (sizeof (short))
17223 rm -f conftest.
$ac_objext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17225 (eval $ac_compile) 2>conftest.er1
17227 grep -v '^ *+' conftest.er1
>conftest.err
17229 cat conftest.err
>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } &&
17232 { ac_try
='test -z "$ac_c_werror_flag"
17233 || test ! -s conftest.err'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; } &&
17239 { ac_try
='test -s conftest.$ac_objext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_cv_type_short
=yes
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.
$ac_ext >&5
17250 ac_cv_type_short
=no
17252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17254 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17255 echo "${ECHO_T}$ac_cv_type_short" >&6
17257 echo "$as_me:$LINENO: checking size of short" >&5
17258 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17259 if test "${ac_cv_sizeof_short+set}" = set; then
17260 echo $ECHO_N "(cached) $ECHO_C" >&6
17262 if test "$ac_cv_type_short" = yes; then
17263 # The cast to unsigned long works around a bug in the HP C Compiler
17264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17266 # This bug is HP SR number 8606223364.
17267 if test "$cross_compiling" = yes; then
17268 # Depending upon the size, compute the lo and hi bounds.
17269 cat >conftest.
$ac_ext <<_ACEOF
17272 cat confdefs.h
>>conftest.
$ac_ext
17273 cat >>conftest.
$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17279 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17286 rm -f conftest.
$ac_objext
17287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17288 (eval $ac_compile) 2>conftest.er1
17290 grep -v '^ *+' conftest.er1
>conftest.err
17292 cat conftest.err
>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } &&
17295 { ac_try
='test -z "$ac_c_werror_flag"
17296 || test ! -s conftest.err'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; } &&
17302 { ac_try
='test -s conftest.$ac_objext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17310 cat >conftest.
$ac_ext <<_ACEOF
17313 cat confdefs.h
>>conftest.
$ac_ext
17314 cat >>conftest.
$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 $ac_includes_default
17320 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17327 rm -f conftest.
$ac_objext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17329 (eval $ac_compile) 2>conftest.er1
17331 grep -v '^ *+' conftest.er1
>conftest.err
17333 cat conftest.err
>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } &&
17336 { ac_try
='test -z "$ac_c_werror_flag"
17337 || test ! -s conftest.err'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; } &&
17343 { ac_try
='test -s conftest.$ac_objext'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17349 ac_hi
=$ac_mid; break
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.
$ac_ext >&5
17354 ac_lo
=`expr $ac_mid + 1`
17355 if test $ac_lo -le $ac_mid; then
17359 ac_mid
=`expr 2 '*' $ac_mid + 1`
17361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17367 cat >conftest.
$ac_ext <<_ACEOF
17370 cat confdefs.h
>>conftest.
$ac_ext
17371 cat >>conftest.
$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 $ac_includes_default
17377 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17384 rm -f conftest.
$ac_objext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>conftest.er1
17388 grep -v '^ *+' conftest.er1
>conftest.err
17390 cat conftest.err
>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try
='test -z "$ac_c_werror_flag"
17394 || test ! -s conftest.err'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; } &&
17400 { ac_try
='test -s conftest.$ac_objext'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; }; then
17408 cat >conftest.
$ac_ext <<_ACEOF
17411 cat confdefs.h
>>conftest.
$ac_ext
17412 cat >>conftest.
$ac_ext <<_ACEOF
17413 /* end confdefs.h. */
17414 $ac_includes_default
17418 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17425 rm -f conftest.
$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>conftest.er1
17429 grep -v '^ *+' conftest.er1
>conftest.err
17431 cat conftest.err
>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } &&
17434 { ac_try
='test -z "$ac_c_werror_flag"
17435 || test ! -s conftest.err'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; } &&
17441 { ac_try
='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447 ac_lo
=$ac_mid; break
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.
$ac_ext >&5
17452 ac_hi
=`expr '(' $ac_mid ')' - 1`
17453 if test $ac_mid -le $ac_hi; then
17457 ac_mid
=`expr 2 '*' $ac_mid`
17459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.
$ac_ext >&5
17467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17470 # Binary search between lo and hi bounds.
17471 while test "x$ac_lo" != "x$ac_hi"; do
17472 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17473 cat >conftest.
$ac_ext <<_ACEOF
17476 cat confdefs.h
>>conftest.
$ac_ext
17477 cat >>conftest.
$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 $ac_includes_default
17483 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17490 rm -f conftest.
$ac_objext
17491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17492 (eval $ac_compile) 2>conftest.er1
17494 grep -v '^ *+' conftest.er1
>conftest.err
17496 cat conftest.err
>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } &&
17499 { ac_try
='test -z "$ac_c_werror_flag"
17500 || test ! -s conftest.err'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; } &&
17506 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17517 ac_lo
=`expr '(' $ac_mid ')' + 1`
17519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17523 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17524 See \`config.log' for more details." >&5
17525 echo "$as_me: error: cannot compute sizeof (short), 77
17526 See \`config.log' for more details." >&2;}
17527 { (exit 1); exit 1; }; } ;;
17530 if test "$cross_compiling" = yes; then
17531 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17532 See \`config.log' for more details." >&5
17533 echo "$as_me: error: cannot run test program while cross compiling
17534 See \`config.log' for more details." >&2;}
17535 { (exit 1); exit 1; }; }
17537 cat >conftest.
$ac_ext <<_ACEOF
17540 cat confdefs.h
>>conftest.
$ac_ext
17541 cat >>conftest.
$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 $ac_includes_default
17544 long longval () { return (long) (sizeof (short)); }
17545 unsigned long ulongval () { return (long) (sizeof (short)); }
17547 #include <stdlib.h>
17552 FILE *f = fopen ("conftest.val", "w");
17555 if (((long) (sizeof (short))) < 0)
17557 long i = longval ();
17558 if (i != ((long) (sizeof (short))))
17560 fprintf (f, "%ld\n", i);
17564 unsigned long i = ulongval ();
17565 if (i != ((long) (sizeof (short))))
17567 fprintf (f, "%lu\n", i);
17569 exit (ferror (f) || fclose (f) != 0);
17575 rm -f conftest
$ac_exeext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17577 (eval $ac_link) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 ac_cv_sizeof_short
=`cat conftest.val`
17588 echo "$as_me: program exited with status $ac_status" >&5
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 ( exit $ac_status )
17593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17594 See \`config.log' for more details." >&5
17595 echo "$as_me: error: cannot compute sizeof (short), 77
17596 See \`config.log' for more details." >&2;}
17597 { (exit 1); exit 1; }; }
17599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17604 ac_cv_sizeof_short
=0
17607 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17608 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17609 cat >>confdefs.h
<<_ACEOF
17610 #define SIZEOF_SHORT $ac_cv_sizeof_short
17614 echo "$as_me:$LINENO: checking for void *" >&5
17615 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17616 if test "${ac_cv_type_void_p+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 cat >conftest.
$ac_ext <<_ACEOF
17622 cat confdefs.h
>>conftest.
$ac_ext
17623 cat >>conftest.
$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625 $ac_includes_default
17631 if (sizeof (void *))
17637 rm -f conftest.
$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17641 grep -v '^ *+' conftest.er1
>conftest.err
17643 cat conftest.err
>&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try
='test -z "$ac_c_werror_flag"
17647 || test ! -s conftest.err'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try
='test -s conftest.$ac_objext'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; }; then
17659 ac_cv_type_void_p
=yes
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.
$ac_ext >&5
17664 ac_cv_type_void_p
=no
17666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17668 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17669 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17671 echo "$as_me:$LINENO: checking size of void *" >&5
17672 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17673 if test "${ac_cv_sizeof_void_p+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17676 if test "$ac_cv_type_void_p" = yes; then
17677 # The cast to unsigned long works around a bug in the HP C Compiler
17678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17680 # This bug is HP SR number 8606223364.
17681 if test "$cross_compiling" = yes; then
17682 # Depending upon the size, compute the lo and hi bounds.
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17693 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17700 rm -f conftest.
$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try
='test -z "$ac_c_werror_flag"
17710 || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try
='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17724 cat >conftest.
$ac_ext <<_ACEOF
17727 cat confdefs.h
>>conftest.
$ac_ext
17728 cat >>conftest.
$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 $ac_includes_default
17734 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17741 rm -f conftest.
$ac_objext
17742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17743 (eval $ac_compile) 2>conftest.er1
17745 grep -v '^ *+' conftest.er1
>conftest.err
17747 cat conftest.err
>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } &&
17750 { ac_try
='test -z "$ac_c_werror_flag"
17751 || test ! -s conftest.err'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; } &&
17757 { ac_try
='test -s conftest.$ac_objext'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; }; then
17763 ac_hi
=$ac_mid; break
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.
$ac_ext >&5
17768 ac_lo
=`expr $ac_mid + 1`
17769 if test $ac_lo -le $ac_mid; then
17773 ac_mid
=`expr 2 '*' $ac_mid + 1`
17775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 cat >conftest.
$ac_ext <<_ACEOF
17784 cat confdefs.h
>>conftest.
$ac_ext
17785 cat >>conftest.
$ac_ext <<_ACEOF
17786 /* end confdefs.h. */
17787 $ac_includes_default
17791 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17798 rm -f conftest.
$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17802 grep -v '^ *+' conftest.er1
>conftest.err
17804 cat conftest.err
>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try
='test -z "$ac_c_werror_flag"
17808 || test ! -s conftest.err'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; } &&
17814 { ac_try
='test -s conftest.$ac_objext'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; }; then
17822 cat >conftest.
$ac_ext <<_ACEOF
17825 cat confdefs.h
>>conftest.
$ac_ext
17826 cat >>conftest.
$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 $ac_includes_default
17832 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17839 rm -f conftest.
$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17843 grep -v '^ *+' conftest.er1
>conftest.err
17845 cat conftest.err
>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try
='test -z "$ac_c_werror_flag"
17849 || test ! -s conftest.err'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; } &&
17855 { ac_try
='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_lo
=$ac_mid; break
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.
$ac_ext >&5
17866 ac_hi
=`expr '(' $ac_mid ')' - 1`
17867 if test $ac_mid -le $ac_hi; then
17871 ac_mid
=`expr 2 '*' $ac_mid`
17873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.
$ac_ext >&5
17881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17884 # Binary search between lo and hi bounds.
17885 while test "x$ac_lo" != "x$ac_hi"; do
17886 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17887 cat >conftest.
$ac_ext <<_ACEOF
17890 cat confdefs.h
>>conftest.
$ac_ext
17891 cat >>conftest.
$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893 $ac_includes_default
17897 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17904 rm -f conftest.
$ac_objext
17905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17906 (eval $ac_compile) 2>conftest.er1
17908 grep -v '^ *+' conftest.er1
>conftest.err
17910 cat conftest.err
>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } &&
17913 { ac_try
='test -z "$ac_c_werror_flag"
17914 || test ! -s conftest.err'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try
='test -s conftest.$ac_objext'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; }; then
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.
$ac_ext >&5
17931 ac_lo
=`expr '(' $ac_mid ')' + 1`
17933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17936 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (void *), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; } ;;
17944 if test "$cross_compiling" = yes; then
17945 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17946 See \`config.log' for more details." >&5
17947 echo "$as_me: error: cannot run test program while cross compiling
17948 See \`config.log' for more details." >&2;}
17949 { (exit 1); exit 1; }; }
17951 cat >conftest.
$ac_ext <<_ACEOF
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17958 long longval () { return (long) (sizeof (void *)); }
17959 unsigned long ulongval () { return (long) (sizeof (void *)); }
17961 #include <stdlib.h>
17966 FILE *f = fopen ("conftest.val", "w");
17969 if (((long) (sizeof (void *))) < 0)
17971 long i = longval ();
17972 if (i != ((long) (sizeof (void *))))
17974 fprintf (f, "%ld\n", i);
17978 unsigned long i = ulongval ();
17979 if (i != ((long) (sizeof (void *))))
17981 fprintf (f, "%lu\n", i);
17983 exit (ferror (f) || fclose (f) != 0);
17989 rm -f conftest
$ac_exeext
17990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17991 (eval $ac_link) 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_cv_sizeof_void_p
=`cat conftest.val`
18002 echo "$as_me: program exited with status $ac_status" >&5
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.
$ac_ext >&5
18006 ( exit $ac_status )
18007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18008 See \`config.log' for more details." >&5
18009 echo "$as_me: error: cannot compute sizeof (void *), 77
18010 See \`config.log' for more details." >&2;}
18011 { (exit 1); exit 1; }; }
18013 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18018 ac_cv_sizeof_void_p
=0
18021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18022 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18023 cat >>confdefs.h
<<_ACEOF
18024 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18028 echo "$as_me:$LINENO: checking for int" >&5
18029 echo $ECHO_N "checking for int... $ECHO_C" >&6
18030 if test "${ac_cv_type_int+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 $ac_includes_default
18051 rm -f conftest.
$ac_objext
18052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18053 (eval $ac_compile) 2>conftest.er1
18055 grep -v '^ *+' conftest.er1
>conftest.err
18057 cat conftest.err
>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try
='test -z "$ac_c_werror_flag"
18061 || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try
='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.
$ac_ext >&5
18080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18082 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18083 echo "${ECHO_T}$ac_cv_type_int" >&6
18085 echo "$as_me:$LINENO: checking size of int" >&5
18086 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18087 if test "${ac_cv_sizeof_int+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 if test "$ac_cv_type_int" = yes; then
18091 # The cast to unsigned long works around a bug in the HP C Compiler
18092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18094 # This bug is HP SR number 8606223364.
18095 if test "$cross_compiling" = yes; then
18096 # Depending upon the size, compute the lo and hi bounds.
18097 cat >conftest.
$ac_ext <<_ACEOF
18100 cat confdefs.h
>>conftest.
$ac_ext
18101 cat >>conftest.
$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 $ac_includes_default
18107 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18114 rm -f conftest.
$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>conftest.er1
18118 grep -v '^ *+' conftest.er1
>conftest.err
18120 cat conftest.err
>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } &&
18123 { ac_try
='test -z "$ac_c_werror_flag"
18124 || test ! -s conftest.err'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; } &&
18130 { ac_try
='test -s conftest.$ac_objext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18138 cat >conftest.
$ac_ext <<_ACEOF
18141 cat confdefs.h
>>conftest.
$ac_ext
18142 cat >>conftest.
$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18144 $ac_includes_default
18148 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18155 rm -f conftest.
$ac_objext
18156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18157 (eval $ac_compile) 2>conftest.er1
18159 grep -v '^ *+' conftest.er1
>conftest.err
18161 cat conftest.err
>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); } &&
18164 { ac_try
='test -z "$ac_c_werror_flag"
18165 || test ! -s conftest.err'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; } &&
18171 { ac_try
='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 ac_hi
=$ac_mid; break
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.
$ac_ext >&5
18182 ac_lo
=`expr $ac_mid + 1`
18183 if test $ac_lo -le $ac_mid; then
18187 ac_mid
=`expr 2 '*' $ac_mid + 1`
18189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.
$ac_ext >&5
18195 cat >conftest.
$ac_ext <<_ACEOF
18198 cat confdefs.h
>>conftest.
$ac_ext
18199 cat >>conftest.
$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 $ac_includes_default
18205 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18212 rm -f conftest.
$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>conftest.er1
18216 grep -v '^ *+' conftest.er1
>conftest.err
18218 cat conftest.err
>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try
='test -z "$ac_c_werror_flag"
18222 || 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 (int))) >= $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"
18263 || test ! -s conftest.err'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; } &&
18269 { ac_try
='test -s conftest.$ac_objext'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; }; then
18275 ac_lo
=$ac_mid; break
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.
$ac_ext >&5
18280 ac_hi
=`expr '(' $ac_mid ')' - 1`
18281 if test $ac_mid -le $ac_hi; then
18285 ac_mid
=`expr 2 '*' $ac_mid`
18287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.
$ac_ext >&5
18295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18298 # Binary search between lo and hi bounds.
18299 while test "x$ac_lo" != "x$ac_hi"; do
18300 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18301 cat >conftest.
$ac_ext <<_ACEOF
18304 cat confdefs.h
>>conftest.
$ac_ext
18305 cat >>conftest.
$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307 $ac_includes_default
18311 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18318 rm -f conftest.
$ac_objext
18319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18320 (eval $ac_compile) 2>conftest.er1
18322 grep -v '^ *+' conftest.er1
>conftest.err
18324 cat conftest.err
>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try
='test -z "$ac_c_werror_flag"
18328 || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try
='test -s conftest.$ac_objext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.
$ac_ext >&5
18345 ac_lo
=`expr '(' $ac_mid ')' + 1`
18347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18350 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18351 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18352 See \`config.log' for more details." >&5
18353 echo "$as_me: error: cannot compute sizeof (int), 77
18354 See \`config.log' for more details." >&2;}
18355 { (exit 1); exit 1; }; } ;;
18358 if test "$cross_compiling" = yes; then
18359 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18360 See \`config.log' for more details." >&5
18361 echo "$as_me: error: cannot run test program while cross compiling
18362 See \`config.log' for more details." >&2;}
18363 { (exit 1); exit 1; }; }
18365 cat >conftest.
$ac_ext <<_ACEOF
18368 cat confdefs.h
>>conftest.
$ac_ext
18369 cat >>conftest.
$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371 $ac_includes_default
18372 long longval () { return (long) (sizeof (int)); }
18373 unsigned long ulongval () { return (long) (sizeof (int)); }
18375 #include <stdlib.h>
18380 FILE *f = fopen ("conftest.val", "w");
18383 if (((long) (sizeof (int))) < 0)
18385 long i = longval ();
18386 if (i != ((long) (sizeof (int))))
18388 fprintf (f, "%ld\n", i);
18392 unsigned long i = ulongval ();
18393 if (i != ((long) (sizeof (int))))
18395 fprintf (f, "%lu\n", i);
18397 exit (ferror (f) || fclose (f) != 0);
18403 rm -f conftest
$ac_exeext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18405 (eval $ac_link) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 ac_cv_sizeof_int
=`cat conftest.val`
18416 echo "$as_me: program exited with status $ac_status" >&5
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 ( exit $ac_status )
18421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18422 See \`config.log' for more details." >&5
18423 echo "$as_me: error: cannot compute sizeof (int), 77
18424 See \`config.log' for more details." >&2;}
18425 { (exit 1); exit 1; }; }
18427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18435 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18436 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18437 cat >>confdefs.h
<<_ACEOF
18438 #define SIZEOF_INT $ac_cv_sizeof_int
18442 echo "$as_me:$LINENO: checking for long" >&5
18443 echo $ECHO_N "checking for long... $ECHO_C" >&6
18444 if test "${ac_cv_type_long+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18447 cat >conftest.
$ac_ext <<_ACEOF
18450 cat confdefs.h
>>conftest.
$ac_ext
18451 cat >>conftest.
$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 $ac_includes_default
18465 rm -f conftest.
$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18469 grep -v '^ *+' conftest.er1
>conftest.err
18471 cat conftest.err
>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try
='test -z "$ac_c_werror_flag"
18475 || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try
='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_cv_type_long
=yes
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.
$ac_ext >&5
18494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18496 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18497 echo "${ECHO_T}$ac_cv_type_long" >&6
18499 echo "$as_me:$LINENO: checking size of long" >&5
18500 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18501 if test "${ac_cv_sizeof_long+set}" = set; then
18502 echo $ECHO_N "(cached) $ECHO_C" >&6
18504 if test "$ac_cv_type_long" = yes; then
18505 # The cast to unsigned long works around a bug in the HP C Compiler
18506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18508 # This bug is HP SR number 8606223364.
18509 if test "$cross_compiling" = yes; then
18510 # Depending upon the size, compute the lo and hi bounds.
18511 cat >conftest.
$ac_ext <<_ACEOF
18514 cat confdefs.h
>>conftest.
$ac_ext
18515 cat >>conftest.
$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 $ac_includes_default
18521 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18528 rm -f conftest.
$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530 (eval $ac_compile) 2>conftest.er1
18532 grep -v '^ *+' conftest.er1
>conftest.err
18534 cat conftest.err
>&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try
='test -z "$ac_c_werror_flag"
18538 || test ! -s conftest.err'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try
='test -s conftest.$ac_objext'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 $ac_includes_default
18562 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18569 rm -f conftest.
$ac_objext
18570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18571 (eval $ac_compile) 2>conftest.er1
18573 grep -v '^ *+' conftest.er1
>conftest.err
18575 cat conftest.err
>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } &&
18578 { ac_try
='test -z "$ac_c_werror_flag"
18579 || test ! -s conftest.err'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; } &&
18585 { ac_try
='test -s conftest.$ac_objext'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_hi
=$ac_mid; break
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.
$ac_ext >&5
18596 ac_lo
=`expr $ac_mid + 1`
18597 if test $ac_lo -le $ac_mid; then
18601 ac_mid
=`expr 2 '*' $ac_mid + 1`
18603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.
$ac_ext >&5
18609 cat >conftest.
$ac_ext <<_ACEOF
18612 cat confdefs.h
>>conftest.
$ac_ext
18613 cat >>conftest.
$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 $ac_includes_default
18619 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18626 rm -f conftest.
$ac_objext
18627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18628 (eval $ac_compile) 2>conftest.er1
18630 grep -v '^ *+' conftest.er1
>conftest.err
18632 cat conftest.err
>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try
='test -z "$ac_c_werror_flag"
18636 || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try
='test -s conftest.$ac_objext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18650 cat >conftest.
$ac_ext <<_ACEOF
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18660 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18667 rm -f conftest.
$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try
='test -z "$ac_c_werror_flag"
18677 || test ! -s conftest.err'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; } &&
18683 { ac_try
='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 ac_lo
=$ac_mid; break
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.
$ac_ext >&5
18694 ac_hi
=`expr '(' $ac_mid ')' - 1`
18695 if test $ac_mid -le $ac_hi; then
18699 ac_mid
=`expr 2 '*' $ac_mid`
18701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.
$ac_ext >&5
18709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18712 # Binary search between lo and hi bounds.
18713 while test "x$ac_lo" != "x$ac_hi"; do
18714 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18715 cat >conftest.
$ac_ext <<_ACEOF
18718 cat confdefs.h
>>conftest.
$ac_ext
18719 cat >>conftest.
$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18725 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18732 rm -f conftest.
$ac_objext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18734 (eval $ac_compile) 2>conftest.er1
18736 grep -v '^ *+' conftest.er1
>conftest.err
18738 cat conftest.err
>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try
='test -z "$ac_c_werror_flag"
18742 || test ! -s conftest.err'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try
='test -s conftest.$ac_objext'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.
$ac_ext >&5
18759 ac_lo
=`expr '(' $ac_mid ')' + 1`
18761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18764 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18765 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18766 See \`config.log' for more details." >&5
18767 echo "$as_me: error: cannot compute sizeof (long), 77
18768 See \`config.log' for more details." >&2;}
18769 { (exit 1); exit 1; }; } ;;
18772 if test "$cross_compiling" = yes; then
18773 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18774 See \`config.log' for more details." >&5
18775 echo "$as_me: error: cannot run test program while cross compiling
18776 See \`config.log' for more details." >&2;}
18777 { (exit 1); exit 1; }; }
18779 cat >conftest.
$ac_ext <<_ACEOF
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18786 long longval () { return (long) (sizeof (long)); }
18787 unsigned long ulongval () { return (long) (sizeof (long)); }
18789 #include <stdlib.h>
18794 FILE *f = fopen ("conftest.val", "w");
18797 if (((long) (sizeof (long))) < 0)
18799 long i = longval ();
18800 if (i != ((long) (sizeof (long))))
18802 fprintf (f, "%ld\n", i);
18806 unsigned long i = ulongval ();
18807 if (i != ((long) (sizeof (long))))
18809 fprintf (f, "%lu\n", i);
18811 exit (ferror (f) || fclose (f) != 0);
18817 rm -f conftest
$ac_exeext
18818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18819 (eval $ac_link) 2>&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; }; then
18828 ac_cv_sizeof_long
=`cat conftest.val`
18830 echo "$as_me: program exited with status $ac_status" >&5
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.
$ac_ext >&5
18834 ( exit $ac_status )
18835 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18836 See \`config.log' for more details." >&5
18837 echo "$as_me: error: cannot compute sizeof (long), 77
18838 See \`config.log' for more details." >&2;}
18839 { (exit 1); exit 1; }; }
18841 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18846 ac_cv_sizeof_long
=0
18849 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18850 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18851 cat >>confdefs.h
<<_ACEOF
18852 #define SIZEOF_LONG $ac_cv_sizeof_long
18856 echo "$as_me:$LINENO: checking for size_t" >&5
18857 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18858 if test "${ac_cv_type_size_t+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18861 cat >conftest.
$ac_ext <<_ACEOF
18864 cat confdefs.h
>>conftest.
$ac_ext
18865 cat >>conftest.
$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18873 if (sizeof (size_t))
18879 rm -f conftest.
$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18883 grep -v '^ *+' conftest.er1
>conftest.err
18885 cat conftest.err
>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try
='test -z "$ac_c_werror_flag"
18889 || test ! -s conftest.err'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; } &&
18895 { ac_try
='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_cv_type_size_t
=yes
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.
$ac_ext >&5
18906 ac_cv_type_size_t
=no
18908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18910 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18911 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18913 echo "$as_me:$LINENO: checking size of size_t" >&5
18914 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18915 if test "${ac_cv_sizeof_size_t+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 if test "$ac_cv_type_size_t" = yes; then
18919 # The cast to unsigned long works around a bug in the HP C Compiler
18920 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18921 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18922 # This bug is HP SR number 8606223364.
18923 if test "$cross_compiling" = yes; then
18924 # Depending upon the size, compute the lo and hi bounds.
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18935 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18942 rm -f conftest.
$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1
>conftest.err
18948 cat conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18966 cat >conftest.
$ac_ext <<_ACEOF
18969 cat confdefs.h
>>conftest.
$ac_ext
18970 cat >>conftest.
$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18976 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18983 rm -f conftest.
$ac_objext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18985 (eval $ac_compile) 2>conftest.er1
18987 grep -v '^ *+' conftest.er1
>conftest.err
18989 cat conftest.err
>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } &&
18992 { ac_try
='test -z "$ac_c_werror_flag"
18993 || test ! -s conftest.err'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try
='test -s conftest.$ac_objext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19005 ac_hi
=$ac_mid; break
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.
$ac_ext >&5
19010 ac_lo
=`expr $ac_mid + 1`
19011 if test $ac_lo -le $ac_mid; then
19015 ac_mid
=`expr 2 '*' $ac_mid + 1`
19017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.
$ac_ext >&5
19023 cat >conftest.
$ac_ext <<_ACEOF
19026 cat confdefs.h
>>conftest.
$ac_ext
19027 cat >>conftest.
$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029 $ac_includes_default
19033 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19040 rm -f conftest.
$ac_objext
19041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19042 (eval $ac_compile) 2>conftest.er1
19044 grep -v '^ *+' conftest.er1
>conftest.err
19046 cat conftest.err
>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } &&
19049 { ac_try
='test -z "$ac_c_werror_flag"
19050 || test ! -s conftest.err'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try
='test -s conftest.$ac_objext'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; }; then
19064 cat >conftest.
$ac_ext <<_ACEOF
19067 cat confdefs.h
>>conftest.
$ac_ext
19068 cat >>conftest.
$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 $ac_includes_default
19074 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19081 rm -f conftest.
$ac_objext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19083 (eval $ac_compile) 2>conftest.er1
19085 grep -v '^ *+' conftest.er1
>conftest.err
19087 cat conftest.err
>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try
='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try
='test -s conftest.$ac_objext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_lo
=$ac_mid; break
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19108 ac_hi
=`expr '(' $ac_mid ')' - 1`
19109 if test $ac_mid -le $ac_hi; then
19113 ac_mid
=`expr 2 '*' $ac_mid`
19115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.
$ac_ext >&5
19123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 # Binary search between lo and hi bounds.
19127 while test "x$ac_lo" != "x$ac_hi"; do
19128 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19129 cat >conftest.
$ac_ext <<_ACEOF
19132 cat confdefs.h
>>conftest.
$ac_ext
19133 cat >>conftest.
$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19139 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19146 rm -f conftest.
$ac_objext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19148 (eval $ac_compile) 2>conftest.er1
19150 grep -v '^ *+' conftest.er1
>conftest.err
19152 cat conftest.err
>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try
='test -z "$ac_c_werror_flag"
19156 || test ! -s conftest.err'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; } &&
19162 { ac_try
='test -s conftest.$ac_objext'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; }; then
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.
$ac_ext >&5
19173 ac_lo
=`expr '(' $ac_mid ')' + 1`
19175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19178 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19179 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19180 See \`config.log' for more details." >&5
19181 echo "$as_me: error: cannot compute sizeof (size_t), 77
19182 See \`config.log' for more details." >&2;}
19183 { (exit 1); exit 1; }; } ;;
19186 if test "$cross_compiling" = yes; then
19187 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19188 See \`config.log' for more details." >&5
19189 echo "$as_me: error: cannot run test program while cross compiling
19190 See \`config.log' for more details." >&2;}
19191 { (exit 1); exit 1; }; }
19193 cat >conftest.
$ac_ext <<_ACEOF
19196 cat confdefs.h
>>conftest.
$ac_ext
19197 cat >>conftest.
$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 $ac_includes_default
19200 long longval () { return (long) (sizeof (size_t)); }
19201 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19203 #include <stdlib.h>
19208 FILE *f = fopen ("conftest.val", "w");
19211 if (((long) (sizeof (size_t))) < 0)
19213 long i = longval ();
19214 if (i != ((long) (sizeof (size_t))))
19216 fprintf (f, "%ld\n", i);
19220 unsigned long i = ulongval ();
19221 if (i != ((long) (sizeof (size_t))))
19223 fprintf (f, "%lu\n", i);
19225 exit (ferror (f) || fclose (f) != 0);
19231 rm -f conftest
$ac_exeext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19233 (eval $ac_link) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242 ac_cv_sizeof_size_t
=`cat conftest.val`
19244 echo "$as_me: program exited with status $ac_status" >&5
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.
$ac_ext >&5
19248 ( exit $ac_status )
19249 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19250 See \`config.log' for more details." >&5
19251 echo "$as_me: error: cannot compute sizeof (size_t), 77
19252 See \`config.log' for more details." >&2;}
19253 { (exit 1); exit 1; }; }
19255 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19260 ac_cv_sizeof_size_t
=0
19263 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19264 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19265 cat >>confdefs.h
<<_ACEOF
19266 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19273 echo "$as_me:$LINENO: checking for long long" >&5
19274 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19275 if test "${ac_cv_type_long_long+set}" = set; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 cat >conftest.
$ac_ext <<_ACEOF
19281 cat confdefs.h
>>conftest.
$ac_ext
19282 cat >>conftest.
$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 $ac_includes_default
19288 if ((long long *) 0)
19290 if (sizeof (long long))
19296 rm -f conftest.
$ac_objext
19297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19298 (eval $ac_compile) 2>conftest.er1
19300 grep -v '^ *+' conftest.er1
>conftest.err
19302 cat conftest.err
>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } &&
19305 { ac_try
='test -z "$ac_c_werror_flag"
19306 || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try
='test -s conftest.$ac_objext'
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_type_long_long
=yes
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.
$ac_ext >&5
19323 ac_cv_type_long_long
=no
19325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19327 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19328 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19330 echo "$as_me:$LINENO: checking size of long long" >&5
19331 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19332 if test "${ac_cv_sizeof_long_long+set}" = set; then
19333 echo $ECHO_N "(cached) $ECHO_C" >&6
19335 if test "$ac_cv_type_long_long" = yes; then
19336 # The cast to unsigned long works around a bug in the HP C Compiler
19337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19339 # This bug is HP SR number 8606223364.
19340 if test "$cross_compiling" = yes; then
19341 # Depending upon the size, compute the lo and hi bounds.
19342 cat >conftest.
$ac_ext <<_ACEOF
19345 cat confdefs.h
>>conftest.
$ac_ext
19346 cat >>conftest.
$ac_ext <<_ACEOF
19347 /* end confdefs.h. */
19348 $ac_includes_default
19352 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19359 rm -f conftest.
$ac_objext
19360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19361 (eval $ac_compile) 2>conftest.er1
19363 grep -v '^ *+' conftest.er1
>conftest.err
19365 cat conftest.err
>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } &&
19368 { ac_try
='test -z "$ac_c_werror_flag"
19369 || test ! -s conftest.err'
19370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19371 (eval $ac_try) 2>&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); }; } &&
19375 { ac_try
='test -s conftest.$ac_objext'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19383 cat >conftest.
$ac_ext <<_ACEOF
19386 cat confdefs.h
>>conftest.
$ac_ext
19387 cat >>conftest.
$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 $ac_includes_default
19393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19400 rm -f conftest.
$ac_objext
19401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19402 (eval $ac_compile) 2>conftest.er1
19404 grep -v '^ *+' conftest.er1
>conftest.err
19406 cat conftest.err
>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try
='test -z "$ac_c_werror_flag"
19410 || test ! -s conftest.err'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; } &&
19416 { ac_try
='test -s conftest.$ac_objext'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; }; then
19422 ac_hi
=$ac_mid; break
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.
$ac_ext >&5
19427 ac_lo
=`expr $ac_mid + 1`
19428 if test $ac_lo -le $ac_mid; then
19432 ac_mid
=`expr 2 '*' $ac_mid + 1`
19434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.
$ac_ext >&5
19440 cat >conftest.
$ac_ext <<_ACEOF
19443 cat confdefs.h
>>conftest.
$ac_ext
19444 cat >>conftest.
$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19450 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19457 rm -f conftest.
$ac_objext
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>conftest.er1
19461 grep -v '^ *+' conftest.er1
>conftest.err
19463 cat conftest.err
>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } &&
19466 { ac_try
='test -z "$ac_c_werror_flag"
19467 || test ! -s conftest.err'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; } &&
19473 { ac_try
='test -s conftest.$ac_objext'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; }; then
19481 cat >conftest.
$ac_ext <<_ACEOF
19484 cat confdefs.h
>>conftest.
$ac_ext
19485 cat >>conftest.
$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19487 $ac_includes_default
19491 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19498 rm -f conftest.
$ac_objext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19500 (eval $ac_compile) 2>conftest.er1
19502 grep -v '^ *+' conftest.er1
>conftest.err
19504 cat conftest.err
>&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } &&
19507 { ac_try
='test -z "$ac_c_werror_flag"
19508 || test ! -s conftest.err'
19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510 (eval $ac_try) 2>&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); }; } &&
19514 { ac_try
='test -s conftest.$ac_objext'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; }; then
19520 ac_lo
=$ac_mid; break
19522 echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.
$ac_ext >&5
19525 ac_hi
=`expr '(' $ac_mid ')' - 1`
19526 if test $ac_mid -le $ac_hi; then
19530 ac_mid
=`expr 2 '*' $ac_mid`
19532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.
$ac_ext >&5
19540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19543 # Binary search between lo and hi bounds.
19544 while test "x$ac_lo" != "x$ac_hi"; do
19545 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19546 cat >conftest.
$ac_ext <<_ACEOF
19549 cat confdefs.h
>>conftest.
$ac_ext
19550 cat >>conftest.
$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 $ac_includes_default
19556 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19563 rm -f conftest.
$ac_objext
19564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 (eval $ac_compile) 2>conftest.er1
19567 grep -v '^ *+' conftest.er1
>conftest.err
19569 cat conftest.err
>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } &&
19572 { ac_try
='test -z "$ac_c_werror_flag"
19573 || test ! -s conftest.err'
19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575 (eval $ac_try) 2>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; } &&
19579 { ac_try
='test -s conftest.$ac_objext'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; }; then
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.
$ac_ext >&5
19590 ac_lo
=`expr '(' $ac_mid ')' + 1`
19592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19595 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19597 See \`config.log' for more details." >&5
19598 echo "$as_me: error: cannot compute sizeof (long long), 77
19599 See \`config.log' for more details." >&2;}
19600 { (exit 1); exit 1; }; } ;;
19603 if test "$cross_compiling" = yes; then
19604 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19605 See \`config.log' for more details." >&5
19606 echo "$as_me: error: cannot run test program while cross compiling
19607 See \`config.log' for more details." >&2;}
19608 { (exit 1); exit 1; }; }
19610 cat >conftest.
$ac_ext <<_ACEOF
19613 cat confdefs.h
>>conftest.
$ac_ext
19614 cat >>conftest.
$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616 $ac_includes_default
19617 long longval () { return (long) (sizeof (long long)); }
19618 unsigned long ulongval () { return (long) (sizeof (long long)); }
19620 #include <stdlib.h>
19625 FILE *f = fopen ("conftest.val", "w");
19628 if (((long) (sizeof (long long))) < 0)
19630 long i = longval ();
19631 if (i != ((long) (sizeof (long long))))
19633 fprintf (f, "%ld\n", i);
19637 unsigned long i = ulongval ();
19638 if (i != ((long) (sizeof (long long))))
19640 fprintf (f, "%lu\n", i);
19642 exit (ferror (f) || fclose (f) != 0);
19648 rm -f conftest
$ac_exeext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19650 (eval $ac_link) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 ac_cv_sizeof_long_long
=`cat conftest.val`
19661 echo "$as_me: program exited with status $ac_status" >&5
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.
$ac_ext >&5
19665 ( exit $ac_status )
19666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19667 See \`config.log' for more details." >&5
19668 echo "$as_me: error: cannot compute sizeof (long long), 77
19669 See \`config.log' for more details." >&2;}
19670 { (exit 1); exit 1; }; }
19672 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19677 ac_cv_sizeof_long_long
=0
19680 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19681 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19682 cat >>confdefs.h
<<_ACEOF
19683 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19689 echo "$as_me:$LINENO: checking for long long" >&5
19690 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19691 if test "${ac_cv_type_long_long+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 cat >conftest.
$ac_ext <<_ACEOF
19697 cat confdefs.h
>>conftest.
$ac_ext
19698 cat >>conftest.
$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 $ac_includes_default
19704 if ((long long *) 0)
19706 if (sizeof (long long))
19712 rm -f conftest.
$ac_objext
19713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19714 (eval $ac_compile) 2>conftest.er1
19716 grep -v '^ *+' conftest.er1
>conftest.err
19718 cat conftest.err
>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try
='test -z "$ac_c_werror_flag"
19722 || test ! -s conftest.err'
19723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724 (eval $ac_try) 2>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; } &&
19728 { ac_try
='test -s conftest.$ac_objext'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; }; then
19734 ac_cv_type_long_long
=yes
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.
$ac_ext >&5
19739 ac_cv_type_long_long
=no
19741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19743 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19744 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19746 echo "$as_me:$LINENO: checking size of long long" >&5
19747 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19748 if test "${ac_cv_sizeof_long_long+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 if test "$ac_cv_type_long_long" = yes; then
19752 # The cast to unsigned long works around a bug in the HP C Compiler
19753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19755 # This bug is HP SR number 8606223364.
19756 if test "$cross_compiling" = yes; then
19757 # Depending upon the size, compute the lo and hi bounds.
19758 cat >conftest.
$ac_ext <<_ACEOF
19761 cat confdefs.h
>>conftest.
$ac_ext
19762 cat >>conftest.
$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19764 $ac_includes_default
19768 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19775 rm -f conftest.
$ac_objext
19776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19777 (eval $ac_compile) 2>conftest.er1
19779 grep -v '^ *+' conftest.er1
>conftest.err
19781 cat conftest.err
>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); } &&
19784 { ac_try
='test -z "$ac_c_werror_flag"
19785 || test ! -s conftest.err'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; } &&
19791 { ac_try
='test -s conftest.$ac_objext'
19792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19793 (eval $ac_try) 2>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; }; then
19799 cat >conftest.
$ac_ext <<_ACEOF
19802 cat confdefs.h
>>conftest.
$ac_ext
19803 cat >>conftest.
$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19805 $ac_includes_default
19809 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19816 rm -f conftest.
$ac_objext
19817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19818 (eval $ac_compile) 2>conftest.er1
19820 grep -v '^ *+' conftest.er1
>conftest.err
19822 cat conftest.err
>&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } &&
19825 { ac_try
='test -z "$ac_c_werror_flag"
19826 || test ! -s conftest.err'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; } &&
19832 { ac_try
='test -s conftest.$ac_objext'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; }; then
19838 ac_hi
=$ac_mid; break
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.
$ac_ext >&5
19843 ac_lo
=`expr $ac_mid + 1`
19844 if test $ac_lo -le $ac_mid; then
19848 ac_mid
=`expr 2 '*' $ac_mid + 1`
19850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.
$ac_ext >&5
19856 cat >conftest.
$ac_ext <<_ACEOF
19859 cat confdefs.h
>>conftest.
$ac_ext
19860 cat >>conftest.
$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 $ac_includes_default
19866 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19873 rm -f conftest.
$ac_objext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19875 (eval $ac_compile) 2>conftest.er1
19877 grep -v '^ *+' conftest.er1
>conftest.err
19879 cat conftest.err
>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try
='test -z "$ac_c_werror_flag"
19883 || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19897 cat >conftest.
$ac_ext <<_ACEOF
19900 cat confdefs.h
>>conftest.
$ac_ext
19901 cat >>conftest.
$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 $ac_includes_default
19907 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19914 rm -f conftest.
$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19918 grep -v '^ *+' conftest.er1
>conftest.err
19920 cat conftest.err
>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try
='test -z "$ac_c_werror_flag"
19924 || test ! -s conftest.err'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; } &&
19930 { ac_try
='test -s conftest.$ac_objext'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; }; then
19936 ac_lo
=$ac_mid; break
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.
$ac_ext >&5
19941 ac_hi
=`expr '(' $ac_mid ')' - 1`
19942 if test $ac_mid -le $ac_hi; then
19946 ac_mid
=`expr 2 '*' $ac_mid`
19948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.
$ac_ext >&5
19956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19959 # Binary search between lo and hi bounds.
19960 while test "x$ac_lo" != "x$ac_hi"; do
19961 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19962 cat >conftest.
$ac_ext <<_ACEOF
19965 cat confdefs.h
>>conftest.
$ac_ext
19966 cat >>conftest.
$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19972 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19979 rm -f conftest.
$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>conftest.er1
19983 grep -v '^ *+' conftest.er1
>conftest.err
19985 cat conftest.err
>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try
='test -z "$ac_c_werror_flag"
19989 || test ! -s conftest.err'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; } &&
19995 { ac_try
='test -s conftest.$ac_objext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.
$ac_ext >&5
20006 ac_lo
=`expr '(' $ac_mid ')' + 1`
20008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20011 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20012 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20013 See \`config.log' for more details." >&5
20014 echo "$as_me: error: cannot compute sizeof (long long), 77
20015 See \`config.log' for more details." >&2;}
20016 { (exit 1); exit 1; }; } ;;
20019 if test "$cross_compiling" = yes; then
20020 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20021 See \`config.log' for more details." >&5
20022 echo "$as_me: error: cannot run test program while cross compiling
20023 See \`config.log' for more details." >&2;}
20024 { (exit 1); exit 1; }; }
20026 cat >conftest.
$ac_ext <<_ACEOF
20029 cat confdefs.h
>>conftest.
$ac_ext
20030 cat >>conftest.
$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 $ac_includes_default
20033 long longval () { return (long) (sizeof (long long)); }
20034 unsigned long ulongval () { return (long) (sizeof (long long)); }
20036 #include <stdlib.h>
20041 FILE *f = fopen ("conftest.val", "w");
20044 if (((long) (sizeof (long long))) < 0)
20046 long i = longval ();
20047 if (i != ((long) (sizeof (long long))))
20049 fprintf (f, "%ld\n", i);
20053 unsigned long i = ulongval ();
20054 if (i != ((long) (sizeof (long long))))
20056 fprintf (f, "%lu\n", i);
20058 exit (ferror (f) || fclose (f) != 0);
20064 rm -f conftest
$ac_exeext
20065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20066 (eval $ac_link) 2>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20071 (eval $ac_try) 2>&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); }; }; then
20075 ac_cv_sizeof_long_long
=`cat conftest.val`
20077 echo "$as_me: program exited with status $ac_status" >&5
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.
$ac_ext >&5
20081 ( exit $ac_status )
20082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20083 See \`config.log' for more details." >&5
20084 echo "$as_me: error: cannot compute sizeof (long long), 77
20085 See \`config.log' for more details." >&2;}
20086 { (exit 1); exit 1; }; }
20088 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20093 ac_cv_sizeof_long_long
=0
20096 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20097 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20098 cat >>confdefs.h
<<_ACEOF
20099 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20103 if test "$ac_cv_sizeof_long_long" != "0"; then
20104 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20108 echo "$as_me:$LINENO: checking for long long" >&5
20109 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20110 if test "${ac_cv_type_long_long+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 cat >conftest.
$ac_ext <<_ACEOF
20116 cat confdefs.h
>>conftest.
$ac_ext
20117 cat >>conftest.
$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20123 if ((long long *) 0)
20125 if (sizeof (long long))
20131 rm -f conftest.
$ac_objext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20133 (eval $ac_compile) 2>conftest.er1
20135 grep -v '^ *+' conftest.er1
>conftest.err
20137 cat conftest.err
>&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try
='test -z "$ac_c_werror_flag"
20141 || test ! -s conftest.err'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try
='test -s conftest.$ac_objext'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; }; then
20153 ac_cv_type_long_long
=yes
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.
$ac_ext >&5
20158 ac_cv_type_long_long
=no
20160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20162 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20163 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20165 echo "$as_me:$LINENO: checking size of long long" >&5
20166 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20167 if test "${ac_cv_sizeof_long_long+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 if test "$ac_cv_type_long_long" = yes; then
20171 # The cast to unsigned long works around a bug in the HP C Compiler
20172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20174 # This bug is HP SR number 8606223364.
20175 if test "$cross_compiling" = yes; then
20176 # Depending upon the size, compute the lo and hi bounds.
20177 cat >conftest.
$ac_ext <<_ACEOF
20180 cat confdefs.h
>>conftest.
$ac_ext
20181 cat >>conftest.
$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 $ac_includes_default
20187 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20194 rm -f conftest.
$ac_objext
20195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20196 (eval $ac_compile) 2>conftest.er1
20198 grep -v '^ *+' conftest.er1
>conftest.err
20200 cat conftest.err
>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); } &&
20203 { ac_try
='test -z "$ac_c_werror_flag"
20204 || test ! -s conftest.err'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; } &&
20210 { ac_try
='test -s conftest.$ac_objext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20218 cat >conftest.
$ac_ext <<_ACEOF
20221 cat confdefs.h
>>conftest.
$ac_ext
20222 cat >>conftest.
$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20224 $ac_includes_default
20228 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20235 rm -f conftest.
$ac_objext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20237 (eval $ac_compile) 2>conftest.er1
20239 grep -v '^ *+' conftest.er1
>conftest.err
20241 cat conftest.err
>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } &&
20244 { ac_try
='test -z "$ac_c_werror_flag"
20245 || test ! -s conftest.err'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; } &&
20251 { ac_try
='test -s conftest.$ac_objext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 ac_hi
=$ac_mid; break
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.
$ac_ext >&5
20262 ac_lo
=`expr $ac_mid + 1`
20263 if test $ac_lo -le $ac_mid; then
20267 ac_mid
=`expr 2 '*' $ac_mid + 1`
20269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.
$ac_ext >&5
20275 cat >conftest.
$ac_ext <<_ACEOF
20278 cat confdefs.h
>>conftest.
$ac_ext
20279 cat >>conftest.
$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 $ac_includes_default
20285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20292 rm -f conftest.
$ac_objext
20293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20294 (eval $ac_compile) 2>conftest.er1
20296 grep -v '^ *+' conftest.er1
>conftest.err
20298 cat conftest.err
>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); } &&
20301 { ac_try
='test -z "$ac_c_werror_flag"
20302 || test ! -s conftest.err'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; } &&
20308 { ac_try
='test -s conftest.$ac_objext'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; }; then
20316 cat >conftest.
$ac_ext <<_ACEOF
20319 cat confdefs.h
>>conftest.
$ac_ext
20320 cat >>conftest.
$ac_ext <<_ACEOF
20321 /* end confdefs.h. */
20322 $ac_includes_default
20326 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20333 rm -f conftest.
$ac_objext
20334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20335 (eval $ac_compile) 2>conftest.er1
20337 grep -v '^ *+' conftest.er1
>conftest.err
20339 cat conftest.err
>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } &&
20342 { ac_try
='test -z "$ac_c_werror_flag"
20343 || test ! -s conftest.err'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; } &&
20349 { ac_try
='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_lo
=$ac_mid; break
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.
$ac_ext >&5
20360 ac_hi
=`expr '(' $ac_mid ')' - 1`
20361 if test $ac_mid -le $ac_hi; then
20365 ac_mid
=`expr 2 '*' $ac_mid`
20367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.
$ac_ext >&5
20375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20378 # Binary search between lo and hi bounds.
20379 while test "x$ac_lo" != "x$ac_hi"; do
20380 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20381 cat >conftest.
$ac_ext <<_ACEOF
20384 cat confdefs.h
>>conftest.
$ac_ext
20385 cat >>conftest.
$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20391 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20398 rm -f conftest.
$ac_objext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20400 (eval $ac_compile) 2>conftest.er1
20402 grep -v '^ *+' conftest.er1
>conftest.err
20404 cat conftest.err
>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } &&
20407 { ac_try
='test -z "$ac_c_werror_flag"
20408 || test ! -s conftest.err'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; } &&
20414 { ac_try
='test -s conftest.$ac_objext'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.
$ac_ext >&5
20425 ac_lo
=`expr '(' $ac_mid ')' + 1`
20427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20430 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20431 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20432 See \`config.log' for more details." >&5
20433 echo "$as_me: error: cannot compute sizeof (long long), 77
20434 See \`config.log' for more details." >&2;}
20435 { (exit 1); exit 1; }; } ;;
20438 if test "$cross_compiling" = yes; then
20439 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20440 See \`config.log' for more details." >&5
20441 echo "$as_me: error: cannot run test program while cross compiling
20442 See \`config.log' for more details." >&2;}
20443 { (exit 1); exit 1; }; }
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 long longval () { return (long) (sizeof (long long)); }
20453 unsigned long ulongval () { return (long) (sizeof (long long)); }
20455 #include <stdlib.h>
20460 FILE *f = fopen ("conftest.val", "w");
20463 if (((long) (sizeof (long long))) < 0)
20465 long i = longval ();
20466 if (i != ((long) (sizeof (long long))))
20468 fprintf (f, "%ld\n", i);
20472 unsigned long i = ulongval ();
20473 if (i != ((long) (sizeof (long long))))
20475 fprintf (f, "%lu\n", i);
20477 exit (ferror (f) || fclose (f) != 0);
20483 rm -f conftest
$ac_exeext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20485 (eval $ac_link) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; }; then
20494 ac_cv_sizeof_long_long
=`cat conftest.val`
20496 echo "$as_me: program exited with status $ac_status" >&5
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.
$ac_ext >&5
20500 ( exit $ac_status )
20501 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20502 See \`config.log' for more details." >&5
20503 echo "$as_me: error: cannot compute sizeof (long long), 77
20504 See \`config.log' for more details." >&2;}
20505 { (exit 1); exit 1; }; }
20507 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20512 ac_cv_sizeof_long_long
=0
20515 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20516 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20517 cat >>confdefs.h
<<_ACEOF
20518 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20524 echo "$as_me:$LINENO: checking for wchar_t" >&5
20525 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20526 if test "${ac_cv_type_wchar_t+set}" = set; then
20527 echo $ECHO_N "(cached) $ECHO_C" >&6
20529 cat >conftest.
$ac_ext <<_ACEOF
20532 cat confdefs.h
>>conftest.
$ac_ext
20533 cat >>conftest.
$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20536 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20537 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20538 # error "fake wchar_t"
20540 #ifdef HAVE_WCHAR_H
20542 # include <stddef.h>
20544 # include <wchar.h>
20546 #ifdef HAVE_STDLIB_H
20547 # include <stdlib.h>
20558 if (sizeof (wchar_t))
20564 rm -f conftest.
$ac_objext
20565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20566 (eval $ac_compile) 2>conftest.er1
20568 grep -v '^ *+' conftest.er1
>conftest.err
20570 cat conftest.err
>&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } &&
20573 { ac_try
='test -z "$ac_c_werror_flag"
20574 || test ! -s conftest.err'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; } &&
20580 { ac_try
='test -s conftest.$ac_objext'
20581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582 (eval $ac_try) 2>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; }; then
20586 ac_cv_type_wchar_t
=yes
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.
$ac_ext >&5
20591 ac_cv_type_wchar_t
=no
20593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20595 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20596 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20598 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20599 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20600 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 if test "$ac_cv_type_wchar_t" = yes; then
20604 # The cast to unsigned long works around a bug in the HP C Compiler
20605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20607 # This bug is HP SR number 8606223364.
20608 if test "$cross_compiling" = yes; then
20609 # Depending upon the size, compute the lo and hi bounds.
20610 cat >conftest.
$ac_ext <<_ACEOF
20613 cat confdefs.h
>>conftest.
$ac_ext
20614 cat >>conftest.
$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20617 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20618 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20619 # error "fake wchar_t"
20621 #ifdef HAVE_WCHAR_H
20623 # include <stddef.h>
20625 # include <wchar.h>
20627 #ifdef HAVE_STDLIB_H
20628 # include <stdlib.h>
20637 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20644 rm -f conftest.
$ac_objext
20645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20646 (eval $ac_compile) 2>conftest.er1
20648 grep -v '^ *+' conftest.er1
>conftest.err
20650 cat conftest.err
>&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } &&
20653 { ac_try
='test -z "$ac_c_werror_flag"
20654 || test ! -s conftest.err'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; } &&
20660 { ac_try
='test -s conftest.$ac_objext'
20661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662 (eval $ac_try) 2>&5
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); }; }; then
20668 cat >conftest.
$ac_ext <<_ACEOF
20671 cat confdefs.h
>>conftest.
$ac_ext
20672 cat >>conftest.
$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20675 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20676 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20677 # error "fake wchar_t"
20679 #ifdef HAVE_WCHAR_H
20681 # include <stddef.h>
20683 # include <wchar.h>
20685 #ifdef HAVE_STDLIB_H
20686 # include <stdlib.h>
20695 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20702 rm -f conftest.
$ac_objext
20703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20704 (eval $ac_compile) 2>conftest.er1
20706 grep -v '^ *+' conftest.er1
>conftest.err
20708 cat conftest.err
>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try
='test -z "$ac_c_werror_flag"
20712 || test ! -s conftest.err'
20713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714 (eval $ac_try) 2>&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; } &&
20718 { ac_try
='test -s conftest.$ac_objext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_hi
=$ac_mid; break
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.
$ac_ext >&5
20729 ac_lo
=`expr $ac_mid + 1`
20730 if test $ac_lo -le $ac_mid; then
20734 ac_mid
=`expr 2 '*' $ac_mid + 1`
20736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.
$ac_ext >&5
20742 cat >conftest.
$ac_ext <<_ACEOF
20745 cat confdefs.h
>>conftest.
$ac_ext
20746 cat >>conftest.
$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20749 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20750 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20751 # error "fake wchar_t"
20753 #ifdef HAVE_WCHAR_H
20755 # include <stddef.h>
20757 # include <wchar.h>
20759 #ifdef HAVE_STDLIB_H
20760 # include <stdlib.h>
20769 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20776 rm -f conftest.
$ac_objext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20778 (eval $ac_compile) 2>conftest.er1
20780 grep -v '^ *+' conftest.er1
>conftest.err
20782 cat conftest.err
>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } &&
20785 { ac_try
='test -z "$ac_c_werror_flag"
20786 || test ! -s conftest.err'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; } &&
20792 { ac_try
='test -s conftest.$ac_objext'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20800 cat >conftest.
$ac_ext <<_ACEOF
20803 cat confdefs.h
>>conftest.
$ac_ext
20804 cat >>conftest.
$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20809 # error "fake wchar_t"
20811 #ifdef HAVE_WCHAR_H
20813 # include <stddef.h>
20815 # include <wchar.h>
20817 #ifdef HAVE_STDLIB_H
20818 # include <stdlib.h>
20827 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20834 rm -f conftest.
$ac_objext
20835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20836 (eval $ac_compile) 2>conftest.er1
20838 grep -v '^ *+' conftest.er1
>conftest.err
20840 cat conftest.err
>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } &&
20843 { ac_try
='test -z "$ac_c_werror_flag"
20844 || test ! -s conftest.err'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; } &&
20850 { ac_try
='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20856 ac_lo
=$ac_mid; break
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.
$ac_ext >&5
20861 ac_hi
=`expr '(' $ac_mid ')' - 1`
20862 if test $ac_mid -le $ac_hi; then
20866 ac_mid
=`expr 2 '*' $ac_mid`
20868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.
$ac_ext >&5
20876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20879 # Binary search between lo and hi bounds.
20880 while test "x$ac_lo" != "x$ac_hi"; do
20881 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20882 cat >conftest.
$ac_ext <<_ACEOF
20885 cat confdefs.h
>>conftest.
$ac_ext
20886 cat >>conftest.
$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20889 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20890 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20891 # error "fake wchar_t"
20893 #ifdef HAVE_WCHAR_H
20895 # include <stddef.h>
20897 # include <wchar.h>
20899 #ifdef HAVE_STDLIB_H
20900 # include <stdlib.h>
20909 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20916 rm -f conftest.
$ac_objext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20918 (eval $ac_compile) 2>conftest.er1
20920 grep -v '^ *+' conftest.er1
>conftest.err
20922 cat conftest.err
>&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } &&
20925 { ac_try
='test -z "$ac_c_werror_flag"
20926 || test ! -s conftest.err'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; } &&
20932 { ac_try
='test -s conftest.$ac_objext'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; }; then
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20943 ac_lo
=`expr '(' $ac_mid ')' + 1`
20945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20948 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20949 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20950 See \`config.log' for more details." >&5
20951 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20952 See \`config.log' for more details." >&2;}
20953 { (exit 1); exit 1; }; } ;;
20956 if test "$cross_compiling" = yes; then
20957 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20958 See \`config.log' for more details." >&5
20959 echo "$as_me: error: cannot run test program while cross compiling
20960 See \`config.log' for more details." >&2;}
20961 { (exit 1); exit 1; }; }
20963 cat >conftest.
$ac_ext <<_ACEOF
20966 cat confdefs.h
>>conftest.
$ac_ext
20967 cat >>conftest.
$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20970 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20971 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20972 # error "fake wchar_t"
20974 #ifdef HAVE_WCHAR_H
20976 # include <stddef.h>
20978 # include <wchar.h>
20980 #ifdef HAVE_STDLIB_H
20981 # include <stdlib.h>
20987 long longval () { return (long) (sizeof (wchar_t)); }
20988 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20990 #include <stdlib.h>
20995 FILE *f = fopen ("conftest.val", "w");
20998 if (((long) (sizeof (wchar_t))) < 0)
21000 long i = longval ();
21001 if (i != ((long) (sizeof (wchar_t))))
21003 fprintf (f, "%ld\n", i);
21007 unsigned long i = ulongval ();
21008 if (i != ((long) (sizeof (wchar_t))))
21010 fprintf (f, "%lu\n", i);
21012 exit (ferror (f) || fclose (f) != 0);
21018 rm -f conftest
$ac_exeext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21020 (eval $ac_link) 2>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21031 echo "$as_me: program exited with status $ac_status" >&5
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.
$ac_ext >&5
21035 ( exit $ac_status )
21036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21037 See \`config.log' for more details." >&5
21038 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21039 See \`config.log' for more details." >&2;}
21040 { (exit 1); exit 1; }; }
21042 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21047 ac_cv_sizeof_wchar_t
=0
21050 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21051 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21052 cat >>confdefs.h
<<_ACEOF
21053 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21057 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21063 echo "$as_me:$LINENO: checking for va_copy" >&5
21064 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21065 if test "${wx_cv_func_va_copy+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 cat >conftest.
$ac_ext <<_ACEOF
21071 #include <stdarg.h>
21072 void foo(char *f, ...)
21086 rm -f conftest.
$ac_objext conftest
$ac_exeext
21087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21088 (eval $ac_link) 2>conftest.er1
21090 grep -v '^ *+' conftest.er1
>conftest.err
21092 cat conftest.err
>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); } &&
21095 { ac_try
='test -z "$ac_c_werror_flag"
21096 || test ! -s conftest.err'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; } &&
21102 { ac_try
='test -s conftest$ac_exeext'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 wx_cv_func_va_copy
=yes
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.
$ac_ext >&5
21113 wx_cv_func_va_copy
=no
21116 rm -f conftest.err conftest.
$ac_objext \
21117 conftest
$ac_exeext conftest.
$ac_ext
21121 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21122 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21124 if test $wx_cv_func_va_copy = "yes"; then
21125 cat >>confdefs.h
<<\_ACEOF
21126 #define HAVE_VA_COPY 1
21130 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21131 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21132 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21136 if test "$cross_compiling" = yes; then
21137 wx_cv_type_va_list_lvalue
=yes
21140 cat >conftest.
$ac_ext <<_ACEOF
21142 #include <stdarg.h>
21143 int foo(char *f, ...)
21148 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21156 return foo("hi", 17);
21159 rm -f conftest
$ac_exeext
21160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21161 (eval $ac_link) 2>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 wx_cv_type_va_list_lvalue
=yes
21172 echo "$as_me: program exited with status $ac_status" >&5
21173 echo "$as_me: failed program was:" >&5
21174 sed 's/^/| /' conftest.
$ac_ext >&5
21176 ( exit $ac_status )
21177 wx_cv_type_va_list_lvalue
=no
21179 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21184 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21185 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21187 if test $wx_cv_type_va_list_lvalue != "yes"; then
21188 cat >>confdefs.h
<<\_ACEOF
21189 #define VA_LIST_IS_ARRAY 1
21195 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21197 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21198 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21199 if test "${wx_cv_have_variadic_macros+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21204 ac_cpp
='$CXXCPP $CPPFLAGS'
21205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21209 cat >conftest.
$ac_ext <<_ACEOF
21212 cat confdefs.h
>>conftest.
$ac_ext
21213 cat >>conftest.
$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21217 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21223 test("%s %d %p", "test", 1, 0);
21230 rm -f conftest.
$ac_objext
21231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21232 (eval $ac_compile) 2>conftest.er1
21234 grep -v '^ *+' conftest.er1
>conftest.err
21236 cat conftest.err
>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } &&
21239 { ac_try
='test -z "$ac_cxx_werror_flag"
21240 || 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
21252 wx_cv_have_variadic_macros
=yes
21254 echo "$as_me: failed program was:" >&5
21255 sed 's/^/| /' conftest.
$ac_ext >&5
21257 wx_cv_have_variadic_macros
=no
21260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21262 ac_cpp
='$CPP $CPPFLAGS'
21263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21270 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21271 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21273 if test $wx_cv_have_variadic_macros = "yes"; then
21274 cat >>confdefs.h
<<\_ACEOF
21275 #define HAVE_VARIADIC_MACROS 1
21281 # Check whether --enable-largefile or --disable-largefile was given.
21282 if test "${enable_largefile+set}" = set; then
21283 enableval
="$enable_largefile"
21286 if test "$enable_largefile" != no
; then
21289 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21290 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21291 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21295 cat >conftest.
$ac_ext <<_ACEOF
21298 cat confdefs.h
>>conftest.
$ac_ext
21299 cat >>conftest.
$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 #define _FILE_OFFSET_BITS 64
21302 #include <sys/types.h>
21307 unsigned int field: sizeof(off_t) == 8;
21314 rm -f conftest.
$ac_objext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21316 (eval $ac_compile) 2>conftest.er1
21318 grep -v '^ *+' conftest.er1
>conftest.err
21320 cat conftest.err
>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try
='test -z "$ac_c_werror_flag"
21324 || test ! -s conftest.err'
21325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326 (eval $ac_try) 2>&5
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try
='test -s conftest.$ac_objext'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; }; then
21336 ac_cv_sys_file_offset_bits
=64
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.
$ac_ext >&5
21341 ac_cv_sys_file_offset_bits
=no
21343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21347 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21348 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21350 if test "$ac_cv_sys_file_offset_bits" != no
; then
21352 cat >>confdefs.h
<<_ACEOF
21353 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21358 if test "x$wx_largefile" != "xyes"; then
21360 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21361 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21362 if test "${ac_cv_sys_large_files+set}" = set; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 cat >conftest.
$ac_ext <<_ACEOF
21369 cat confdefs.h
>>conftest.
$ac_ext
21370 cat >>conftest.
$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 #define _LARGE_FILES 1
21373 #include <sys/types.h>
21378 unsigned int field: sizeof(off_t) == 8;
21385 rm -f conftest.
$ac_objext
21386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21387 (eval $ac_compile) 2>conftest.er1
21389 grep -v '^ *+' conftest.er1
>conftest.err
21391 cat conftest.err
>&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try
='test -z "$ac_c_werror_flag"
21395 || test ! -s conftest.err'
21396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21397 (eval $ac_try) 2>&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); }; } &&
21401 { ac_try
='test -s conftest.$ac_objext'
21402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403 (eval $ac_try) 2>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; }; then
21407 ac_cv_sys_large_files
=1
21409 echo "$as_me: failed program was:" >&5
21410 sed 's/^/| /' conftest.
$ac_ext >&5
21412 ac_cv_sys_large_files
=no
21414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21418 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21419 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21421 if test "$ac_cv_sys_large_files" != no
; then
21423 cat >>confdefs.h
<<_ACEOF
21424 #define _LARGE_FILES $ac_cv_sys_large_files
21431 echo "$as_me:$LINENO: checking if large file support is available" >&5
21432 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21433 if test "x$wx_largefile" = "xyes"; then
21434 cat >>confdefs.h
<<\_ACEOF
21435 #define HAVE_LARGEFILE_SUPPORT 1
21439 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21440 echo "${ECHO_T}$wx_largefile" >&6
21444 if test "x$wx_largefile" = "xyes"; then
21445 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21446 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21448 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21449 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21450 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21451 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21456 ac_cpp
='$CXXCPP $CPPFLAGS'
21457 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21458 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21459 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21461 cat >conftest.
$ac_ext <<_ACEOF
21464 cat confdefs.h
>>conftest.
$ac_ext
21465 cat >>conftest.
$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21472 #ifndef __STDC_EXT__
21480 rm -f conftest.
$ac_objext
21481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21482 (eval $ac_compile) 2>conftest.er1
21484 grep -v '^ *+' conftest.er1
>conftest.err
21486 cat conftest.err
>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } &&
21489 { ac_try
='test -z "$ac_cxx_werror_flag"
21490 || test ! -s conftest.err'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; } &&
21496 { ac_try
='test -s conftest.$ac_objext'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 wx_cv_STDC_EXT_required
=no
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.
$ac_ext >&5
21507 wx_cv_STDC_EXT_required
=yes
21510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21512 ac_cpp
='$CPP $CPPFLAGS'
21513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21520 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21521 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21522 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21523 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21527 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21529 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21530 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21531 if test "${ac_cv_sys_largefile_source+set}" = set; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21535 ac_cv_sys_largefile_source
=no
21536 cat >conftest.
$ac_ext <<_ACEOF
21539 cat confdefs.h
>>conftest.
$ac_ext
21540 cat >>conftest.
$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21551 rm -f conftest.
$ac_objext
21552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21553 (eval $ac_compile) 2>conftest.er1
21555 grep -v '^ *+' conftest.er1
>conftest.err
21557 cat conftest.err
>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try
='test -z "$ac_c_werror_flag"
21561 || test ! -s conftest.err'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; } &&
21567 { ac_try
='test -s conftest.$ac_objext'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.
$ac_ext >&5
21579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21580 cat >conftest.
$ac_ext <<_ACEOF
21583 cat confdefs.h
>>conftest.
$ac_ext
21584 cat >>conftest.
$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 #define _LARGEFILE_SOURCE 1
21596 rm -f conftest.
$ac_objext
21597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21598 (eval $ac_compile) 2>conftest.er1
21600 grep -v '^ *+' conftest.er1
>conftest.err
21602 cat conftest.err
>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try
='test -z "$ac_c_werror_flag"
21606 || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try
='test -s conftest.$ac_objext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_sys_largefile_source
=1; break
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21628 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21629 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21630 if test "$ac_cv_sys_largefile_source" != no
; then
21632 cat >>confdefs.h
<<_ACEOF
21633 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21639 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21640 # in glibc 2.1.3, but that breaks too many other things.
21641 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21642 echo "$as_me:$LINENO: checking for fseeko" >&5
21643 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21644 if test "${ac_cv_func_fseeko+set}" = set; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21647 cat >conftest.
$ac_ext <<_ACEOF
21650 cat confdefs.h
>>conftest.
$ac_ext
21651 cat >>conftest.
$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21657 return fseeko && fseeko (stdin, 0, 0);
21662 rm -f conftest.
$ac_objext conftest
$ac_exeext
21663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21664 (eval $ac_link) 2>conftest.er1
21666 grep -v '^ *+' conftest.er1
>conftest.err
21668 cat conftest.err
>&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); } &&
21671 { ac_try
='test -z "$ac_c_werror_flag"
21672 || test ! -s conftest.err'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; } &&
21678 { ac_try
='test -s conftest$ac_exeext'
21679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21680 (eval $ac_try) 2>&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); }; }; then
21684 ac_cv_func_fseeko
=yes
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.
$ac_ext >&5
21689 ac_cv_func_fseeko
=no
21691 rm -f conftest.err conftest.
$ac_objext \
21692 conftest
$ac_exeext conftest.
$ac_ext
21694 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21695 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21696 if test $ac_cv_func_fseeko = yes; then
21698 cat >>confdefs.h
<<\_ACEOF
21699 #define HAVE_FSEEKO 1
21704 if test "$ac_cv_sys_largefile_source" != no
; then
21705 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21709 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21710 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21711 if test "${ac_cv_c_bigendian+set}" = set; then
21712 echo $ECHO_N "(cached) $ECHO_C" >&6
21714 ac_cv_c_bigendian
=unknown
21715 # See if sys/param.h defines the BYTE_ORDER macro.
21716 cat >conftest.
$ac_ext <<_ACEOF
21719 cat confdefs.h
>>conftest.
$ac_ext
21720 cat >>conftest.
$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21722 #include <sys/types.h>
21723 #include <sys/param.h>
21728 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21729 bogus endian macros
21735 rm -f conftest.
$ac_objext
21736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21737 (eval $ac_compile) 2>conftest.er1
21739 grep -v '^ *+' conftest.er1
>conftest.err
21741 cat conftest.err
>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try
='test -z "$ac_c_werror_flag"
21745 || test ! -s conftest.err'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; } &&
21751 { ac_try
='test -s conftest.$ac_objext'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; }; then
21757 # It does; now see whether it defined to BIG_ENDIAN or not.
21758 cat >conftest.
$ac_ext <<_ACEOF
21761 cat confdefs.h
>>conftest.
$ac_ext
21762 cat >>conftest.
$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #include <sys/types.h>
21765 #include <sys/param.h>
21770 #if BYTE_ORDER != BIG_ENDIAN
21777 rm -f conftest.
$ac_objext
21778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21779 (eval $ac_compile) 2>conftest.er1
21781 grep -v '^ *+' conftest.er1
>conftest.err
21783 cat conftest.err
>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } &&
21786 { ac_try
='test -z "$ac_c_werror_flag"
21787 || test ! -s conftest.err'
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21789 (eval $ac_try) 2>&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; } &&
21793 { ac_try
='test -s conftest.$ac_objext'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; }; then
21799 ac_cv_c_bigendian
=yes
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.
$ac_ext >&5
21804 ac_cv_c_bigendian
=no
21806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.
$ac_ext >&5
21812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21813 if test $ac_cv_c_bigendian = unknown
; then
21814 if test "$cross_compiling" = yes; then
21815 ac_cv_c_bigendian
=unknown
21817 cat >conftest.
$ac_ext <<_ACEOF
21820 cat confdefs.h
>>conftest.
$ac_ext
21821 cat >>conftest.
$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21824 /* Are we little or big endian? From Harbison&Steele. */
21828 char c[sizeof (long)];
21831 exit (u.c[sizeof (long) - 1] == 1);
21834 rm -f conftest
$ac_exeext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21836 (eval $ac_link) 2>&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_cv_c_bigendian
=no
21847 echo "$as_me: program exited with status $ac_status" >&5
21848 echo "$as_me: failed program was:" >&5
21849 sed 's/^/| /' conftest.
$ac_ext >&5
21851 ( exit $ac_status )
21852 ac_cv_c_bigendian
=yes
21854 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21858 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21859 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21860 if test $ac_cv_c_bigendian = unknown
; then
21861 { 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
21862 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;}
21864 if test $ac_cv_c_bigendian = yes; then
21865 cat >>confdefs.h
<<\_ACEOF
21866 #define WORDS_BIGENDIAN 1
21876 ac_cpp
='$CXXCPP $CPPFLAGS'
21877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21882 echo "$as_me:$LINENO: checking for iostream" >&5
21883 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
21884 if test "${ac_cv_header_iostream+set}" = set; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6
21887 cat >conftest.
$ac_ext <<_ACEOF
21890 cat confdefs.h
>>conftest.
$ac_ext
21891 cat >>conftest.
$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21895 #include <iostream>
21897 rm -f conftest.
$ac_objext
21898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21899 (eval $ac_compile) 2>conftest.er1
21901 grep -v '^ *+' conftest.er1
>conftest.err
21903 cat conftest.err
>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } &&
21906 { ac_try
='test -z "$ac_cxx_werror_flag"
21907 || test ! -s conftest.err'
21908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909 (eval $ac_try) 2>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); }; } &&
21913 { ac_try
='test -s conftest.$ac_objext'
21914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21915 (eval $ac_try) 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; }; then
21919 ac_cv_header_iostream
=yes
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.
$ac_ext >&5
21924 ac_cv_header_iostream
=no
21926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21928 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
21929 echo "${ECHO_T}$ac_cv_header_iostream" >&6
21933 if test "$ac_cv_header_iostream" = "yes" ; then
21936 cat >>confdefs.h
<<\_ACEOF
21937 #define wxUSE_IOSTREAMH 1
21943 ac_cpp
='$CPP $CPPFLAGS'
21944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21951 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21952 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21953 if test "${wx_cv_cpp_bool+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21960 ac_cpp
='$CXXCPP $CPPFLAGS'
21961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21966 cat >conftest.
$ac_ext <<_ACEOF
21969 cat confdefs.h
>>conftest.
$ac_ext
21970 cat >>conftest.
$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21986 rm -f conftest.
$ac_objext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21988 (eval $ac_compile) 2>conftest.er1
21990 grep -v '^ *+' conftest.er1
>conftest.err
21992 cat conftest.err
>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } &&
21995 { ac_try
='test -z "$ac_cxx_werror_flag"
21996 || test ! -s conftest.err'
21997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998 (eval $ac_try) 2>&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); }; } &&
22002 { ac_try
='test -s conftest.$ac_objext'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; }; then
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.
$ac_ext >&5
22020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22023 ac_cpp
='$CPP $CPPFLAGS'
22024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22030 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22031 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22033 if test "$wx_cv_cpp_bool" = "yes"; then
22034 cat >>confdefs.h
<<\_ACEOF
22035 #define HAVE_BOOL 1
22042 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22043 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22044 if test "${wx_cv_explicit+set}" = set; then
22045 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 ac_cpp
='$CXXCPP $CPPFLAGS'
22052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22057 cat >conftest.
$ac_ext <<_ACEOF
22060 cat confdefs.h
>>conftest.
$ac_ext
22061 cat >>conftest.
$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22064 class Foo { public: explicit Foo(int) {} };
22076 rm -f conftest.
$ac_objext
22077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22078 (eval $ac_compile) 2>conftest.er1
22080 grep -v '^ *+' conftest.er1
>conftest.err
22082 cat conftest.err
>&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); } &&
22085 { ac_try
='test -z "$ac_cxx_werror_flag"
22086 || test ! -s conftest.err'
22087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088 (eval $ac_try) 2>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); }; } &&
22092 { ac_try
='test -s conftest.$ac_objext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22099 cat >conftest.
$ac_ext <<_ACEOF
22102 cat confdefs.h
>>conftest.
$ac_ext
22103 cat >>conftest.
$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22106 class Foo { public: explicit Foo(int) {} };
22107 static void TakeFoo(const Foo& foo) { }
22120 rm -f conftest.
$ac_objext
22121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22122 (eval $ac_compile) 2>conftest.er1
22124 grep -v '^ *+' conftest.er1
>conftest.err
22126 cat conftest.err
>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } &&
22129 { ac_try
='test -z "$ac_cxx_werror_flag"
22130 || test ! -s conftest.err'
22131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22132 (eval $ac_try) 2>&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; } &&
22136 { ac_try
='test -s conftest.$ac_objext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22144 echo "$as_me: failed program was:" >&5
22145 sed 's/^/| /' conftest.
$ac_ext >&5
22150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.
$ac_ext >&5
22159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22162 ac_cpp
='$CPP $CPPFLAGS'
22163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22169 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22170 echo "${ECHO_T}$wx_cv_explicit" >&6
22172 if test "$wx_cv_explicit" = "yes"; then
22173 cat >>confdefs.h
<<\_ACEOF
22174 #define HAVE_EXPLICIT 1
22180 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22181 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22182 if test "${ac_cv_cxx_const_cast+set}" = set; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 ac_cpp
='$CXXCPP $CPPFLAGS'
22189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22193 cat >conftest.
$ac_ext <<_ACEOF
22196 cat confdefs.h
>>conftest.
$ac_ext
22197 cat >>conftest.
$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22203 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22208 rm -f conftest.
$ac_objext
22209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22210 (eval $ac_compile) 2>conftest.er1
22212 grep -v '^ *+' conftest.er1
>conftest.err
22214 cat conftest.err
>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } &&
22217 { ac_try
='test -z "$ac_cxx_werror_flag"
22218 || test ! -s conftest.err'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; } &&
22224 { ac_try
='test -s conftest.$ac_objext'
22225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22226 (eval $ac_try) 2>&5
22228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229 (exit $ac_status); }; }; then
22230 ac_cv_cxx_const_cast
=yes
22232 echo "$as_me: failed program was:" >&5
22233 sed 's/^/| /' conftest.
$ac_ext >&5
22235 ac_cv_cxx_const_cast
=no
22237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22239 ac_cpp
='$CPP $CPPFLAGS'
22240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22246 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22247 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22248 if test "$ac_cv_cxx_const_cast" = yes; then
22250 cat >>confdefs.h
<<\_ACEOF
22251 #define HAVE_CONST_CAST
22256 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22257 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22258 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22259 echo $ECHO_N "(cached) $ECHO_C" >&6
22264 ac_cpp
='$CXXCPP $CPPFLAGS'
22265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22269 cat >conftest.
$ac_ext <<_ACEOF
22272 cat confdefs.h
>>conftest.
$ac_ext
22273 cat >>conftest.
$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 #include <typeinfo>
22276 class Base { public : Base () {} virtual void f () = 0;};
22277 class Derived : public Base { public : Derived () {} virtual void f () {} };
22278 class Unrelated { public : Unrelated () {} };
22279 int g (Unrelated&) { return 0; }
22284 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22289 rm -f conftest.
$ac_objext
22290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22291 (eval $ac_compile) 2>conftest.er1
22293 grep -v '^ *+' conftest.er1
>conftest.err
22295 cat conftest.err
>&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); } &&
22298 { ac_try
='test -z "$ac_cxx_werror_flag"
22299 || test ! -s conftest.err'
22300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22301 (eval $ac_try) 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; } &&
22305 { ac_try
='test -s conftest.$ac_objext'
22306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307 (eval $ac_try) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; }; then
22311 ac_cv_cxx_reinterpret_cast
=yes
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.
$ac_ext >&5
22316 ac_cv_cxx_reinterpret_cast
=no
22318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22320 ac_cpp
='$CPP $CPPFLAGS'
22321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22327 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22328 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22329 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22331 cat >>confdefs.h
<<\_ACEOF
22332 #define HAVE_REINTERPRET_CAST
22337 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22338 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22339 if test "${ac_cv_cxx_static_cast+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 ac_cpp
='$CXXCPP $CPPFLAGS'
22346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22350 cat >conftest.
$ac_ext <<_ACEOF
22353 cat confdefs.h
>>conftest.
$ac_ext
22354 cat >>conftest.
$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 #include <typeinfo>
22357 class Base { public : Base () {} virtual void f () = 0; };
22358 class Derived : public Base { public : Derived () {} virtual void f () {} };
22359 int g (Derived&) { return 0; }
22364 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22369 rm -f conftest.
$ac_objext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22371 (eval $ac_compile) 2>conftest.er1
22373 grep -v '^ *+' conftest.er1
>conftest.err
22375 cat conftest.err
>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } &&
22378 { ac_try
='test -z "$ac_cxx_werror_flag"
22379 || test ! -s conftest.err'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; } &&
22385 { ac_try
='test -s conftest.$ac_objext'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; }; then
22391 ac_cv_cxx_static_cast
=yes
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.
$ac_ext >&5
22396 ac_cv_cxx_static_cast
=no
22398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22400 ac_cpp
='$CPP $CPPFLAGS'
22401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22407 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22408 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22409 if test "$ac_cv_cxx_static_cast" = yes; then
22411 cat >>confdefs.h
<<\_ACEOF
22412 #define HAVE_STATIC_CAST
22418 if test "x$SUNCXX" = xyes
; then
22419 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22422 if test "x$SUNCC" = xyes
; then
22423 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22426 if test "x$SGICC" = "xyes"; then
22427 CFLAGS
="-woff 3970 $CFLAGS"
22429 if test "x$SGICXX" = "xyes"; then
22430 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22433 if test "x$HPCC" = "xyes"; then
22434 CFLAGS
="+W 2011,2450 $CFLAGS"
22436 if test "x$HPCXX" = "xyes"; then
22437 CXXFLAGS
="+W 2340 $CXXFLAGS"
22440 if test "x$COMPAQCXX" = "xyes"; then
22441 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22445 ac_cpp
='$CXXCPP $CPPFLAGS'
22446 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22447 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22448 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22451 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22452 if test "$wxUSE_UNICODE" = "yes"; then
22453 std_string
="std::wstring"
22454 char_type
="wchar_t"
22456 std_string
="std::string"
22460 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22461 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22462 if test "${wx_cv_class_stdstring+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 cat >conftest.
$ac_ext <<_ACEOF
22469 cat confdefs.h
>>conftest.
$ac_ext
22470 cat >>conftest.
$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22481 rm -f conftest.
$ac_objext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22483 (eval $ac_compile) 2>conftest.er1
22485 grep -v '^ *+' conftest.er1
>conftest.err
22487 cat conftest.err
>&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } &&
22490 { ac_try
='test -z "$ac_cxx_werror_flag"
22491 || test ! -s conftest.err'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; } &&
22497 { ac_try
='test -s conftest.$ac_objext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 wx_cv_class_stdstring
=yes
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.
$ac_ext >&5
22508 wx_cv_class_stdstring
=no
22511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22515 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
22516 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
22518 if test "$wx_cv_class_stdstring" = yes; then
22519 if test "$wxUSE_UNICODE" = "yes"; then
22520 cat >>confdefs.h
<<\_ACEOF
22521 #define HAVE_STD_WSTRING 1
22526 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22527 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22528 if test "${wx_cv_class_stdbasicstring+set}" = set; then
22529 echo $ECHO_N "(cached) $ECHO_C" >&6
22532 cat >conftest.
$ac_ext <<_ACEOF
22535 cat confdefs.h
>>conftest.
$ac_ext
22536 cat >>conftest.
$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22539 #ifdef HAVE_WCHAR_H
22541 # include <stddef.h>
22543 # include <wchar.h>
22545 #ifdef HAVE_STDLIB_H
22546 # include <stdlib.h>
22554 std::basic_string<$char_type> foo;
22555 const $char_type* dummy = foo.c_str();
22560 rm -f conftest.
$ac_objext
22561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22562 (eval $ac_compile) 2>conftest.er1
22564 grep -v '^ *+' conftest.er1
>conftest.err
22566 cat conftest.err
>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try
='test -z "$ac_cxx_werror_flag"
22570 || test ! -s conftest.err'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; } &&
22576 { ac_try
='test -s conftest.$ac_objext'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; }; then
22582 wx_cv_class_stdbasicstring
=yes
22584 echo "$as_me: failed program was:" >&5
22585 sed 's/^/| /' conftest.
$ac_ext >&5
22587 wx_cv_class_stdbasicstring
=no
22590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22594 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
22595 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
22597 if test "$wx_cv_class_stdbasicstring" != yes; then
22598 if test "$wxUSE_STL" = "yes"; then
22599 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22600 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22601 { (exit 1); exit 1; }; }
22602 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22603 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22604 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22605 { (exit 1); exit 1; }; }
22607 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22608 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22609 wxUSE_STD_STRING
=no
22615 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22616 echo "$as_me:$LINENO: checking for std::istream" >&5
22617 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22618 if test "${ac_cv_type_std__istream+set}" = set; then
22619 echo $ECHO_N "(cached) $ECHO_C" >&6
22621 cat >conftest.
$ac_ext <<_ACEOF
22624 cat confdefs.h
>>conftest.
$ac_ext
22625 cat >>conftest.
$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22627 #include <iostream>
22632 if ((std::istream *) 0)
22634 if (sizeof (std::istream))
22640 rm -f conftest.
$ac_objext
22641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22642 (eval $ac_compile) 2>conftest.er1
22644 grep -v '^ *+' conftest.er1
>conftest.err
22646 cat conftest.err
>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); } &&
22649 { ac_try
='test -z "$ac_cxx_werror_flag"
22650 || test ! -s conftest.err'
22651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22652 (eval $ac_try) 2>&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); }; } &&
22656 { ac_try
='test -s conftest.$ac_objext'
22657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22658 (eval $ac_try) 2>&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); }; }; then
22662 ac_cv_type_std__istream
=yes
22664 echo "$as_me: failed program was:" >&5
22665 sed 's/^/| /' conftest.
$ac_ext >&5
22667 ac_cv_type_std__istream
=no
22669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22671 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22672 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22673 if test $ac_cv_type_std__istream = yes; then
22675 cat >>confdefs.h
<<_ACEOF
22676 #define HAVE_STD__ISTREAM 1
22681 wxUSE_STD_IOSTREAM
=no
22683 echo "$as_me:$LINENO: checking for std::ostream" >&5
22684 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22685 if test "${ac_cv_type_std__ostream+set}" = set; then
22686 echo $ECHO_N "(cached) $ECHO_C" >&6
22688 cat >conftest.
$ac_ext <<_ACEOF
22691 cat confdefs.h
>>conftest.
$ac_ext
22692 cat >>conftest.
$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 #include <iostream>
22699 if ((std::ostream *) 0)
22701 if (sizeof (std::ostream))
22707 rm -f conftest.
$ac_objext
22708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22709 (eval $ac_compile) 2>conftest.er1
22711 grep -v '^ *+' conftest.er1
>conftest.err
22713 cat conftest.err
>&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try
='test -z "$ac_cxx_werror_flag"
22717 || test ! -s conftest.err'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; } &&
22723 { ac_try
='test -s conftest.$ac_objext'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; }; then
22729 ac_cv_type_std__ostream
=yes
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.
$ac_ext >&5
22734 ac_cv_type_std__ostream
=no
22736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22738 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22739 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22740 if test $ac_cv_type_std__ostream = yes; then
22742 cat >>confdefs.h
<<_ACEOF
22743 #define HAVE_STD__OSTREAM 1
22748 wxUSE_STD_IOSTREAM
=no
22752 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22753 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22754 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22755 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22756 { (exit 1); exit 1; }; }
22758 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22759 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22764 if test "$wxUSE_STL" = "yes"; then
22765 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22766 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22767 if test "${wx_cv_lib_stl+set}" = set; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22770 cat >conftest.
$ac_ext <<_ACEOF
22773 cat confdefs.h
>>conftest.
$ac_ext
22774 cat >>conftest.
$ac_ext <<_ACEOF
22775 /* end confdefs.h. */
22777 #include <functional>
22778 #include <algorithm>
22784 std::vector<int> moo;
22785 std::list<int> foo;
22786 std::vector<int>::iterator it =
22787 std::find_if(moo.begin(), moo.end(),
22788 std::bind2nd(std::less<int>(), 3));
22793 rm -f conftest.
$ac_objext
22794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22795 (eval $ac_compile) 2>conftest.er1
22797 grep -v '^ *+' conftest.er1
>conftest.err
22799 cat conftest.err
>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); } &&
22802 { ac_try
='test -z "$ac_cxx_werror_flag"
22803 || test ! -s conftest.err'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; } &&
22809 { ac_try
='test -s conftest.$ac_objext'
22810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811 (eval $ac_try) 2>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); }; }; then
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.
$ac_ext >&5
22823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22826 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
22827 echo "${ECHO_T}$wx_cv_lib_stl" >&6
22829 if test "$wx_cv_lib_stl" != yes; then
22830 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
22831 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
22832 { (exit 1); exit 1; }; }
22835 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22836 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22837 if test "${wx_cv_func_stdstring_compare+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22840 cat >conftest.
$ac_ext <<_ACEOF
22843 cat confdefs.h
>>conftest.
$ac_ext
22844 cat >>conftest.
$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22850 std::string foo, bar;
22852 foo.compare(1, 1, bar);
22853 foo.compare(1, 1, bar, 1, 1);
22855 foo.compare(1, 1, "");
22856 foo.compare(1, 1, "", 2);
22861 rm -f conftest.
$ac_objext
22862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22863 (eval $ac_compile) 2>conftest.er1
22865 grep -v '^ *+' conftest.er1
>conftest.err
22867 cat conftest.err
>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try
='test -z "$ac_cxx_werror_flag"
22871 || test ! -s conftest.err'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try
='test -s conftest.$ac_objext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 wx_cv_func_stdstring_compare
=yes
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.
$ac_ext >&5
22888 wx_cv_func_stdstring_compare
=no
22891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22894 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
22895 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
22897 if test "$wx_cv_func_stdstring_compare" = yes; then
22898 cat >>confdefs.h
<<\_ACEOF
22899 #define HAVE_STD_STRING_COMPARE 1
22904 echo "$as_me:$LINENO: checking for hash_map" >&5
22905 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22906 if test "${ac_cv_header_hash_map+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 cat >conftest.
$ac_ext <<_ACEOF
22912 cat confdefs.h
>>conftest.
$ac_ext
22913 cat >>conftest.
$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22918 #include <hash_map>
22920 rm -f conftest.
$ac_objext
22921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22922 (eval $ac_compile) 2>conftest.er1
22924 grep -v '^ *+' conftest.er1
>conftest.err
22926 cat conftest.err
>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } &&
22929 { ac_try
='test -z "$ac_cxx_werror_flag"
22930 || test ! -s conftest.err'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; } &&
22936 { ac_try
='test -s conftest.$ac_objext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_cv_header_hash_map
=yes
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.
$ac_ext >&5
22947 ac_cv_header_hash_map
=no
22949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22951 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22952 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22953 if test $ac_cv_header_hash_map = yes; then
22954 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
22955 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
22956 if test "${wx_cv_class_stdhashmapset+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 cat >conftest.
$ac_ext <<_ACEOF
22962 cat confdefs.h
>>conftest.
$ac_ext
22963 cat >>conftest.
$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22965 #include <hash_map>
22966 #include <hash_set>
22970 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22971 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22976 rm -f conftest.
$ac_objext
22977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22978 (eval $ac_compile) 2>conftest.er1
22980 grep -v '^ *+' conftest.er1
>conftest.err
22982 cat conftest.err
>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try
='test -z "$ac_cxx_werror_flag"
22986 || test ! -s conftest.err'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; } &&
22992 { ac_try
='test -s conftest.$ac_objext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 wx_cv_class_stdhashmapset
=yes
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23003 wx_cv_class_stdhashmapset
=no
23005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23009 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23010 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23015 if test "$wx_cv_class_stdhashmapset" = yes; then
23016 cat >>confdefs.h
<<\_ACEOF
23017 #define HAVE_HASH_MAP 1
23020 cat >>confdefs.h
<<\_ACEOF
23021 #define HAVE_STD_HASH_MAP 1
23026 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23027 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23028 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 cat >conftest.
$ac_ext <<_ACEOF
23034 cat confdefs.h
>>conftest.
$ac_ext
23035 cat >>conftest.
$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23040 #include <ext/hash_map>
23042 rm -f conftest.
$ac_objext
23043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23044 (eval $ac_compile) 2>conftest.er1
23046 grep -v '^ *+' conftest.er1
>conftest.err
23048 cat conftest.err
>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } &&
23051 { ac_try
='test -z "$ac_cxx_werror_flag"
23052 || test ! -s conftest.err'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; } &&
23058 { ac_try
='test -s conftest.$ac_objext'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; }; then
23064 ac_cv_header_ext_hash_map
=yes
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.
$ac_ext >&5
23069 ac_cv_header_ext_hash_map
=no
23071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23073 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23074 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23075 if test $ac_cv_header_ext_hash_map = yes; then
23076 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23077 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23078 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23081 cat >conftest.
$ac_ext <<_ACEOF
23084 cat confdefs.h
>>conftest.
$ac_ext
23085 cat >>conftest.
$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087 #include <ext/hash_map>
23088 #include <ext/hash_set>
23092 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23093 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23098 rm -f conftest.
$ac_objext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100 (eval $ac_compile) 2>conftest.er1
23102 grep -v '^ *+' conftest.er1
>conftest.err
23104 cat conftest.err
>&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); } &&
23107 { ac_try
='test -z "$ac_cxx_werror_flag"
23108 || test ! -s conftest.err'
23109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23110 (eval $ac_try) 2>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); }; } &&
23114 { ac_try
='test -s conftest.$ac_objext'
23115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23116 (eval $ac_try) 2>&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); }; }; then
23120 wx_cv_class_gnuhashmapset
=yes
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.
$ac_ext >&5
23125 wx_cv_class_gnuhashmapset
=no
23127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23131 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23132 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
23137 if test "$wx_cv_class_gnuhashmapset" = yes; then
23138 cat >>confdefs.h
<<\_ACEOF
23139 #define HAVE_EXT_HASH_MAP 1
23142 cat >>confdefs.h
<<\_ACEOF
23143 #define HAVE_GNU_CXX_HASH_MAP 1
23150 ac_cpp
='$CPP $CPPFLAGS'
23151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23158 /usr/local/include \
23160 /usr/Motif-2.1/include \
23161 /usr/Motif-1.2/include \
23162 /usr/include/Motif1.2 \
23165 /usr/openwin/include \
23169 /usr/X11R6/include \
23170 /usr/X11R6.4/include \
23171 /usr/X11R5/include \
23172 /usr/X11R4/include \
23174 /usr/include/X11R6 \
23175 /usr/include/X11R5 \
23176 /usr/include/X11R4 \
23178 /usr/local/X11R6/include \
23179 /usr/local/X11R5/include \
23180 /usr/local/X11R4/include \
23182 /usr/local/include/X11R6 \
23183 /usr/local/include/X11R5 \
23184 /usr/local/include/X11R4 \
23188 /usr/local/X11/include \
23189 /usr/local/include/X11 \
23191 /usr/XFree86/include/X11 \
23194 /usr/openwin/share/include"
23196 echo "$as_me:$LINENO: checking for libraries directory" >&5
23197 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23201 if test "${wx_cv_std_libpath+set}" = set; then
23202 echo $ECHO_N "(cached) $ECHO_C" >&6
23205 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23206 for e
in a so sl dylib dll.a
; do
23208 if test -f $libc; then
23211 cat >conftest.
$ac_ext <<_ACEOF
23212 int main() { return 0; }
23214 rm -f conftest.
$ac_objext conftest
$ac_exeext
23215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23216 (eval $ac_link) 2>conftest.er1
23218 grep -v '^ *+' conftest.er1
>conftest.err
23220 cat conftest.err
>&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } &&
23223 { ac_try
='test -z "$ac_c_werror_flag"
23224 || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try
='test -s conftest$ac_exeext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.
$ac_ext >&5
23242 rm -f conftest.err conftest.
$ac_objext \
23243 conftest
$ac_exeext conftest.
$ac_ext
23245 if test "x$wx_cv_std_libpath" != "x"; then
23251 if test "x$wx_cv_std_libpath" = "x"; then
23252 wx_cv_std_libpath
="lib"
23261 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23262 wx_cv_std_libpath
="lib/64"
23264 wx_cv_std_libpath
="lib"
23269 if test "$ac_cv_sizeof_void_p" = 8 -a \
23270 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23271 wx_cv_std_libpath
="lib64"
23273 wx_cv_std_libpath
="lib"
23278 wx_cv_std_libpath
="lib";
23282 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23283 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23285 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23287 if test "$build" != "$host" -a "$GCC" = yes; then
23288 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23289 cross_root
=`dirname $cross_root`
23290 cross_root
=`dirname $cross_root`
23292 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23293 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23294 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23296 if test -z "$PKG_CONFIG_PATH"; then
23297 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23298 export PKG_CONFIG_PATH
23301 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23304 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23306 if test -f "$ac_dir/X11/Intrinsic.h"; then
23307 ac_find_includes
=$ac_dir
23312 x_includes
=$ac_find_includes
23314 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23317 for ac_dir
in $SEARCH_LIB;
23319 for ac_extension
in a so sl dylib dll.a
; do
23320 if test -f "$ac_dir/libXt.$ac_extension"; then
23321 ac_find_libraries
=$ac_dir
23327 x_libraries
=$ac_find_libraries
23333 cat >confcache
<<\_ACEOF
23334 # This file is a shell script that caches the results of configure
23335 # tests run on this system so they can be shared between configure
23336 # scripts and configure runs, see configure's option --config-cache.
23337 # It is not useful on other systems. If it contains results you don't
23338 # want to keep, you may remove or edit it.
23340 # config.status only pays attention to the cache file if you give it
23341 # the --recheck option to rerun configure.
23343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23345 # following values.
23349 # The following way of writing the cache mishandles newlines in values,
23350 # but we know of no workaround that is simple, portable, and efficient.
23351 # So, don't put newlines in cache variables' values.
23352 # Ultrix sh set writes to stderr and can't be redirected directly,
23353 # and sets the high bit in the cache file unless we assign to the vars.
23356 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23358 # `set' does not quote correctly, so add quotes (double-quote
23359 # substitution turns \\\\ into \\, and sed turns \\ into \).
23362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23365 # `set' quotes correctly as required by POSIX, so do not add quotes.
23367 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23376 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23378 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23379 if test -w $cache_file; then
23380 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23381 cat confcache
>$cache_file
23383 echo "not updating unwritable cache $cache_file"
23388 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23389 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23390 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23391 if test "${wx_cv_lib_glibc21+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 cat >conftest.
$ac_ext <<_ACEOF
23398 cat confdefs.h
>>conftest.
$ac_ext
23399 cat >>conftest.
$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <features.h>
23406 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23414 rm -f conftest.
$ac_objext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23416 (eval $ac_compile) 2>conftest.er1
23418 grep -v '^ *+' conftest.er1
>conftest.err
23420 cat conftest.err
>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); } &&
23423 { ac_try
='test -z "$ac_c_werror_flag"
23424 || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try
='test -s conftest.$ac_objext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23437 wx_cv_lib_glibc21
=yes
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.
$ac_ext >&5
23444 wx_cv_lib_glibc21
=no
23448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23451 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23452 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23453 if test "$wx_cv_lib_glibc21" = "yes"; then
23454 cat >>confdefs.h
<<\_ACEOF
23455 #define wxHAVE_GLIBC2 1
23461 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23462 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23463 cat >>confdefs.h
<<\_ACEOF
23464 #define _GNU_SOURCE 1
23475 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23476 echo "$as_me:$LINENO: checking for $ac_func" >&5
23477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23478 if eval "test \"\${$as_ac_var+set}\" = set"; then
23479 echo $ECHO_N "(cached) $ECHO_C" >&6
23481 cat >conftest.
$ac_ext <<_ACEOF
23484 cat confdefs.h
>>conftest.
$ac_ext
23485 cat >>conftest.
$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23489 #define $ac_func innocuous_$ac_func
23491 /* System header to define __stub macros and hopefully few prototypes,
23492 which can conflict with char $ac_func (); below.
23493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23494 <limits.h> exists even on freestanding compilers. */
23497 # include <limits.h>
23499 # include <assert.h>
23504 /* Override any gcc2 internal prototype to avoid an error. */
23509 /* We use char because int might match the return type of a gcc2
23510 builtin and then its argument prototype would still apply. */
23512 /* The GNU C library defines this for functions which it implements
23513 to always fail with ENOSYS. Some functions are actually named
23514 something starting with __ and the normal name is an alias. */
23515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23518 char (*f) () = $ac_func;
23527 return f != $ac_func;
23532 rm -f conftest.
$ac_objext conftest
$ac_exeext
23533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23534 (eval $ac_link) 2>conftest.er1
23536 grep -v '^ *+' conftest.er1
>conftest.err
23538 cat conftest.err
>&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try
='test -z "$ac_c_werror_flag"
23542 || test ! -s conftest.err'
23543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23544 (eval $ac_try) 2>&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); }; } &&
23548 { ac_try
='test -s conftest$ac_exeext'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; }; then
23554 eval "$as_ac_var=yes"
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.
$ac_ext >&5
23559 eval "$as_ac_var=no"
23561 rm -f conftest.err conftest.
$ac_objext \
23562 conftest
$ac_exeext conftest.
$ac_ext
23564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23566 if test `eval echo '${'$as_ac_var'}'` = yes; then
23567 cat >>confdefs.h
<<_ACEOF
23568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23575 for ac_func
in floor
23577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23578 echo "$as_me:$LINENO: checking for $ac_func" >&5
23579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23580 if eval "test \"\${$as_ac_var+set}\" = set"; then
23581 echo $ECHO_N "(cached) $ECHO_C" >&6
23583 cat >conftest.
$ac_ext <<_ACEOF
23586 cat confdefs.h
>>conftest.
$ac_ext
23587 cat >>conftest.
$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23591 #define $ac_func innocuous_$ac_func
23593 /* System header to define __stub macros and hopefully few prototypes,
23594 which can conflict with char $ac_func (); below.
23595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23596 <limits.h> exists even on freestanding compilers. */
23599 # include <limits.h>
23601 # include <assert.h>
23606 /* Override any gcc2 internal prototype to avoid an error. */
23611 /* We use char because int might match the return type of a gcc2
23612 builtin and then its argument prototype would still apply. */
23614 /* The GNU C library defines this for functions which it implements
23615 to always fail with ENOSYS. Some functions are actually named
23616 something starting with __ and the normal name is an alias. */
23617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23620 char (*f) () = $ac_func;
23629 return f != $ac_func;
23634 rm -f conftest.
$ac_objext conftest
$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>conftest.er1
23638 grep -v '^ *+' conftest.er1
>conftest.err
23640 cat conftest.err
>&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try
='test -z "$ac_c_werror_flag"
23644 || test ! -s conftest.err'
23645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23646 (eval $ac_try) 2>&5
23648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23649 (exit $ac_status); }; } &&
23650 { ac_try
='test -s conftest$ac_exeext'
23651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23652 (eval $ac_try) 2>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); }; }; then
23656 eval "$as_ac_var=yes"
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.
$ac_ext >&5
23661 eval "$as_ac_var=no"
23663 rm -f conftest.err conftest.
$ac_objext \
23664 conftest
$ac_exeext conftest.
$ac_ext
23666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23668 if test `eval echo '${'$as_ac_var'}'` = yes; then
23669 cat >>confdefs.h
<<_ACEOF
23670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23676 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
23677 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
23678 if test "$have_cos" = 1 -a "$have_floor" = 1; then
23679 echo "$as_me:$LINENO: result: yes" >&5
23680 echo "${ECHO_T}yes" >&6
23682 echo "$as_me:$LINENO: result: no" >&5
23683 echo "${ECHO_T}no" >&6
23685 # use different functions to avoid configure caching
23691 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23692 echo "$as_me:$LINENO: checking for $ac_func" >&5
23693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23694 if eval "test \"\${$as_ac_var+set}\" = set"; then
23695 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 cat >conftest.
$ac_ext <<_ACEOF
23700 cat confdefs.h
>>conftest.
$ac_ext
23701 cat >>conftest.
$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23705 #define $ac_func innocuous_$ac_func
23707 /* System header to define __stub macros and hopefully few prototypes,
23708 which can conflict with char $ac_func (); below.
23709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23710 <limits.h> exists even on freestanding compilers. */
23713 # include <limits.h>
23715 # include <assert.h>
23720 /* Override any gcc2 internal prototype to avoid an error. */
23725 /* We use char because int might match the return type of a gcc2
23726 builtin and then its argument prototype would still apply. */
23728 /* The GNU C library defines this for functions which it implements
23729 to always fail with ENOSYS. Some functions are actually named
23730 something starting with __ and the normal name is an alias. */
23731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23734 char (*f) () = $ac_func;
23743 return f != $ac_func;
23748 rm -f conftest.
$ac_objext conftest
$ac_exeext
23749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23750 (eval $ac_link) 2>conftest.er1
23752 grep -v '^ *+' conftest.er1
>conftest.err
23754 cat conftest.err
>&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); } &&
23757 { ac_try
='test -z "$ac_c_werror_flag"
23758 || test ! -s conftest.err'
23759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23760 (eval $ac_try) 2>&5
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); }; } &&
23764 { ac_try
='test -s conftest$ac_exeext'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; }; then
23770 eval "$as_ac_var=yes"
23772 echo "$as_me: failed program was:" >&5
23773 sed 's/^/| /' conftest.
$ac_ext >&5
23775 eval "$as_ac_var=no"
23777 rm -f conftest.err conftest.
$ac_objext \
23778 conftest
$ac_exeext conftest.
$ac_ext
23780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23782 if test `eval echo '${'$as_ac_var'}'` = yes; then
23783 cat >>confdefs.h
<<_ACEOF
23784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23791 for ac_func
in ceil
23793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23794 echo "$as_me:$LINENO: checking for $ac_func" >&5
23795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23796 if eval "test \"\${$as_ac_var+set}\" = set"; then
23797 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 cat >conftest.
$ac_ext <<_ACEOF
23802 cat confdefs.h
>>conftest.
$ac_ext
23803 cat >>conftest.
$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23807 #define $ac_func innocuous_$ac_func
23809 /* System header to define __stub macros and hopefully few prototypes,
23810 which can conflict with char $ac_func (); below.
23811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23812 <limits.h> exists even on freestanding compilers. */
23815 # include <limits.h>
23817 # include <assert.h>
23822 /* Override any gcc2 internal prototype to avoid an error. */
23827 /* We use char because int might match the return type of a gcc2
23828 builtin and then its argument prototype would still apply. */
23830 /* The GNU C library defines this for functions which it implements
23831 to always fail with ENOSYS. Some functions are actually named
23832 something starting with __ and the normal name is an alias. */
23833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23836 char (*f) () = $ac_func;
23845 return f != $ac_func;
23850 rm -f conftest.
$ac_objext conftest
$ac_exeext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23852 (eval $ac_link) 2>conftest.er1
23854 grep -v '^ *+' conftest.er1
>conftest.err
23856 cat conftest.err
>&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try
='test -z "$ac_c_werror_flag"
23860 || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try
='test -s conftest$ac_exeext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23872 eval "$as_ac_var=yes"
23874 echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.
$ac_ext >&5
23877 eval "$as_ac_var=no"
23879 rm -f conftest.err conftest.
$ac_objext \
23880 conftest
$ac_exeext conftest.
$ac_ext
23882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23884 if test `eval echo '${'$as_ac_var'}'` = yes; then
23885 cat >>confdefs.h
<<_ACEOF
23886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23892 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
23893 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
23894 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
23895 echo "$as_me:$LINENO: result: yes" >&5
23896 echo "${ECHO_T}yes" >&6
23898 echo "$as_me:$LINENO: result: no" >&5
23899 echo "${ECHO_T}no" >&6
23900 # not sure we should warn the user, crash, etc.
23905 ac_cpp
='$CXXCPP $CPPFLAGS'
23906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23910 if test "wxUSE_UNICODE" = "yes"; then
23912 for wx_func
in wcstoull
23914 echo "$as_me:$LINENO: checking for $wx_func" >&5
23915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
23916 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23920 cat >conftest.
$ac_ext <<_ACEOF
23924 cat confdefs.h
>>conftest.
$ac_ext
23925 cat >>conftest.
$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23929 $ac_includes_default
23945 rm -f conftest.
$ac_objext conftest
$ac_exeext
23946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23947 (eval $ac_link) 2>conftest.er1
23949 grep -v '^ *+' conftest.er1
>conftest.err
23951 cat conftest.err
>&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } &&
23954 { ac_try
='test -z "$ac_cxx_werror_flag"
23955 || test ! -s conftest.err'
23956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23957 (eval $ac_try) 2>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); }; } &&
23961 { ac_try
='test -s conftest$ac_exeext'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; }; then
23967 eval wx_cv_func_
$wx_func=yes
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.
$ac_ext >&5
23972 eval wx_cv_func_
$wx_func=no
23974 rm -f conftest.err conftest.
$ac_objext \
23975 conftest
$ac_exeext conftest.
$ac_ext
23978 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
23979 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
23981 if eval test \
$wx_cv_func_$wx_func = yes
23983 cat >>confdefs.h
<<_ACEOF
23984 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
23996 for wx_func
in strtoull
23998 echo "$as_me:$LINENO: checking for $wx_func" >&5
23999 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24000 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24001 echo $ECHO_N "(cached) $ECHO_C" >&6
24004 cat >conftest.
$ac_ext <<_ACEOF
24008 cat confdefs.h
>>conftest.
$ac_ext
24009 cat >>conftest.
$ac_ext <<_ACEOF
24010 /* end confdefs.h. */
24013 $ac_includes_default
24029 rm -f conftest.
$ac_objext conftest
$ac_exeext
24030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24031 (eval $ac_link) 2>conftest.er1
24033 grep -v '^ *+' conftest.er1
>conftest.err
24035 cat conftest.err
>&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); } &&
24038 { ac_try
='test -z "$ac_cxx_werror_flag"
24039 || 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_exeext'
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 eval wx_cv_func_
$wx_func=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.
$ac_ext >&5
24056 eval wx_cv_func_
$wx_func=no
24058 rm -f conftest.err conftest.
$ac_objext \
24059 conftest
$ac_exeext conftest.
$ac_ext
24062 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24063 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24065 if eval test \
$wx_cv_func_$wx_func = yes
24067 cat >>confdefs.h
<<_ACEOF
24068 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24080 ac_cpp
='$CPP $CPPFLAGS'
24081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24088 if test "$wxUSE_REGEX" != "no"; then
24089 cat >>confdefs.h
<<\_ACEOF
24090 #define wxUSE_REGEX 1
24094 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24095 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24096 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24097 wxUSE_REGEX
=builtin
24100 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24101 echo "$as_me:$LINENO: checking for regex.h" >&5
24102 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24103 if test "${ac_cv_header_regex_h+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24106 cat >conftest.
$ac_ext <<_ACEOF
24109 cat confdefs.h
>>conftest.
$ac_ext
24110 cat >>conftest.
$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24116 rm -f conftest.
$ac_objext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24118 (eval $ac_compile) 2>conftest.er1
24120 grep -v '^ *+' conftest.er1
>conftest.err
24122 cat conftest.err
>&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } &&
24125 { ac_try
='test -z "$ac_c_werror_flag"
24126 || test ! -s conftest.err'
24127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128 (eval $ac_try) 2>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; } &&
24132 { ac_try
='test -s conftest.$ac_objext'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; }; then
24138 ac_cv_header_regex_h
=yes
24140 echo "$as_me: failed program was:" >&5
24141 sed 's/^/| /' conftest.
$ac_ext >&5
24143 ac_cv_header_regex_h
=no
24145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24147 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24148 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24149 if test $ac_cv_header_regex_h = yes; then
24152 for ac_func
in regcomp re_search
24154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24155 echo "$as_me:$LINENO: checking for $ac_func" >&5
24156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24157 if eval "test \"\${$as_ac_var+set}\" = set"; then
24158 echo $ECHO_N "(cached) $ECHO_C" >&6
24160 cat >conftest.
$ac_ext <<_ACEOF
24163 cat confdefs.h
>>conftest.
$ac_ext
24164 cat >>conftest.
$ac_ext <<_ACEOF
24165 /* end confdefs.h. */
24166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24168 #define $ac_func innocuous_$ac_func
24170 /* System header to define __stub macros and hopefully few prototypes,
24171 which can conflict with char $ac_func (); below.
24172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24173 <limits.h> exists even on freestanding compilers. */
24176 # include <limits.h>
24178 # include <assert.h>
24183 /* Override any gcc2 internal prototype to avoid an error. */
24188 /* We use char because int might match the return type of a gcc2
24189 builtin and then its argument prototype would still apply. */
24191 /* The GNU C library defines this for functions which it implements
24192 to always fail with ENOSYS. Some functions are actually named
24193 something starting with __ and the normal name is an alias. */
24194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24197 char (*f) () = $ac_func;
24206 return f != $ac_func;
24211 rm -f conftest.
$ac_objext conftest
$ac_exeext
24212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24213 (eval $ac_link) 2>conftest.er1
24215 grep -v '^ *+' conftest.er1
>conftest.err
24217 cat conftest.err
>&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } &&
24220 { ac_try
='test -z "$ac_c_werror_flag"
24221 || test ! -s conftest.err'
24222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24223 (eval $ac_try) 2>&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); }; } &&
24227 { ac_try
='test -s conftest$ac_exeext'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; }; then
24233 eval "$as_ac_var=yes"
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.
$ac_ext >&5
24238 eval "$as_ac_var=no"
24240 rm -f conftest.err conftest.
$ac_objext \
24241 conftest
$ac_exeext conftest.
$ac_ext
24243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24245 if test `eval echo '${'$as_ac_var'}'` = yes; then
24246 cat >>confdefs.h
<<_ACEOF
24247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24257 if test "x$ac_cv_func_regcomp" != "xyes"; then
24258 if test "$wxUSE_REGEX" = "sys" ; then
24259 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24260 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24261 { (exit 1); exit 1; }; }
24263 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24264 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24265 wxUSE_REGEX
=builtin
24269 cat >>confdefs.h
<<\_ACEOF
24270 #define WX_NO_REGEX_ADVANCED 1
24279 if test "$wxUSE_ZLIB" != "no" ; then
24280 cat >>confdefs.h
<<\_ACEOF
24281 #define wxUSE_ZLIB 1
24285 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24286 if test "$USE_DARWIN" = 1; then
24287 system_zlib_h_ok
="yes"
24289 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24290 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24291 if test "${ac_cv_header_zlib_h+set}" = set; then
24292 echo $ECHO_N "(cached) $ECHO_C" >&6
24294 if test "$cross_compiling" = yes; then
24295 unset ac_cv_header_zlib_h
24298 cat >conftest.
$ac_ext <<_ACEOF
24301 cat confdefs.h
>>conftest.
$ac_ext
24302 cat >>conftest.
$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24310 FILE *f=fopen("conftestval", "w");
24313 ZLIB_VERSION[0] == '1' &&
24314 (ZLIB_VERSION[2] > '1' ||
24315 (ZLIB_VERSION[2] == '1' &&
24316 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24321 rm -f conftest
$ac_exeext
24322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24323 (eval $ac_link) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24328 (eval $ac_try) 2>&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); }; }; then
24332 ac_cv_header_zlib_h
=`cat conftestval`
24334 echo "$as_me: program exited with status $ac_status" >&5
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.
$ac_ext >&5
24338 ( exit $ac_status )
24339 ac_cv_header_zlib_h
=no
24341 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24345 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24346 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24347 echo "$as_me:$LINENO: checking for zlib.h" >&5
24348 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24349 if test "${ac_cv_header_zlib_h+set}" = set; then
24350 echo $ECHO_N "(cached) $ECHO_C" >&6
24352 cat >conftest.
$ac_ext <<_ACEOF
24355 cat confdefs.h
>>conftest.
$ac_ext
24356 cat >>conftest.
$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24362 rm -f conftest.
$ac_objext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24364 (eval $ac_compile) 2>conftest.er1
24366 grep -v '^ *+' conftest.er1
>conftest.err
24368 cat conftest.err
>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } &&
24371 { ac_try
='test -z "$ac_c_werror_flag"
24372 || test ! -s conftest.err'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; } &&
24378 { ac_try
='test -s conftest.$ac_objext'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; }; then
24384 ac_cv_header_zlib_h
=yes
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.
$ac_ext >&5
24389 ac_cv_header_zlib_h
=no
24391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24393 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24394 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24398 system_zlib_h_ok
=$ac_cv_header_zlib_h
24401 if test "$system_zlib_h_ok" = "yes"; then
24402 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24403 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24404 if test "${ac_cv_lib_z_deflate+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 ac_check_lib_save_LIBS
=$LIBS
24409 cat >conftest.
$ac_ext <<_ACEOF
24412 cat confdefs.h
>>conftest.
$ac_ext
24413 cat >>conftest.
$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24416 /* Override any gcc2 internal prototype to avoid an error. */
24420 /* We use char because int might match the return type of a gcc2
24421 builtin and then its argument prototype would still apply. */
24431 rm -f conftest.
$ac_objext conftest
$ac_exeext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24433 (eval $ac_link) 2>conftest.er1
24435 grep -v '^ *+' conftest.er1
>conftest.err
24437 cat conftest.err
>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try
='test -z "$ac_c_werror_flag"
24441 || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try
='test -s conftest$ac_exeext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453 ac_cv_lib_z_deflate
=yes
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.
$ac_ext >&5
24458 ac_cv_lib_z_deflate
=no
24460 rm -f conftest.err conftest.
$ac_objext \
24461 conftest
$ac_exeext conftest.
$ac_ext
24462 LIBS
=$ac_check_lib_save_LIBS
24464 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24465 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24466 if test $ac_cv_lib_z_deflate = yes; then
24472 if test "x$ZLIB_LINK" = "x" ; then
24473 if test "$wxUSE_ZLIB" = "sys" ; then
24474 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24475 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24476 { (exit 1); exit 1; }; }
24478 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24479 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24490 if test "$wxUSE_LIBPNG" != "no" ; then
24491 cat >>confdefs.h
<<\_ACEOF
24492 #define wxUSE_LIBPNG 1
24496 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24497 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24498 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24502 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24503 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24504 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24505 wxUSE_LIBPNG
=builtin
24508 if test "$wxUSE_MGL" != 1 ; then
24509 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24510 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24511 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24512 if test "${ac_cv_header_png_h+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 if test "$cross_compiling" = yes; then
24516 unset ac_cv_header_png_h
24519 cat >conftest.
$ac_ext <<_ACEOF
24522 cat confdefs.h
>>conftest.
$ac_ext
24523 cat >>conftest.
$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24531 FILE *f=fopen("conftestval", "w");
24534 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24539 rm -f conftest
$ac_exeext
24540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24541 (eval $ac_link) 2>&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; }; then
24550 ac_cv_header_png_h
=`cat conftestval`
24552 echo "$as_me: program exited with status $ac_status" >&5
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.
$ac_ext >&5
24556 ( exit $ac_status )
24557 ac_cv_header_png_h
=no
24559 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24563 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24564 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24565 echo "$as_me:$LINENO: checking for png.h" >&5
24566 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24567 if test "${ac_cv_header_png_h+set}" = set; then
24568 echo $ECHO_N "(cached) $ECHO_C" >&6
24570 cat >conftest.
$ac_ext <<_ACEOF
24573 cat confdefs.h
>>conftest.
$ac_ext
24574 cat >>conftest.
$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24580 rm -f conftest.
$ac_objext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24582 (eval $ac_compile) 2>conftest.er1
24584 grep -v '^ *+' conftest.er1
>conftest.err
24586 cat conftest.err
>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try
='test -z "$ac_c_werror_flag"
24590 || test ! -s conftest.err'
24591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592 (eval $ac_try) 2>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); }; } &&
24596 { ac_try
='test -s conftest.$ac_objext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 ac_cv_header_png_h
=yes
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.
$ac_ext >&5
24607 ac_cv_header_png_h
=no
24609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24611 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24612 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24616 if test "$ac_cv_header_png_h" = "yes"; then
24617 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24618 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24619 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24622 ac_check_lib_save_LIBS
=$LIBS
24623 LIBS
="-lpng -lz -lm $LIBS"
24624 cat >conftest.
$ac_ext <<_ACEOF
24627 cat confdefs.h
>>conftest.
$ac_ext
24628 cat >>conftest.
$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24631 /* Override any gcc2 internal prototype to avoid an error. */
24635 /* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24637 char png_check_sig ();
24646 rm -f conftest.
$ac_objext conftest
$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>conftest.er1
24650 grep -v '^ *+' conftest.er1
>conftest.err
24652 cat conftest.err
>&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try
='test -z "$ac_c_werror_flag"
24656 || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try
='test -s conftest$ac_exeext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 ac_cv_lib_png_png_check_sig
=yes
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.
$ac_ext >&5
24673 ac_cv_lib_png_png_check_sig
=no
24675 rm -f conftest.err conftest.
$ac_objext \
24676 conftest
$ac_exeext conftest.
$ac_ext
24677 LIBS
=$ac_check_lib_save_LIBS
24679 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24680 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24681 if test $ac_cv_lib_png_png_check_sig = yes; then
24682 PNG_LINK
=" -lpng -lz"
24687 if test "x$PNG_LINK" = "x" ; then
24688 if test "$wxUSE_LIBPNG" = "sys" ; then
24689 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24690 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24691 { (exit 1); exit 1; }; }
24693 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24694 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24695 wxUSE_LIBPNG
=builtin
24703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24708 if test "$wxUSE_LIBJPEG" != "no" ; then
24709 cat >>confdefs.h
<<\_ACEOF
24710 #define wxUSE_LIBJPEG 1
24714 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24715 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24716 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24720 if test "$wxUSE_MGL" != 1 ; then
24721 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24722 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24723 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24724 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24727 cat >conftest.
$ac_ext <<_ACEOF
24730 cat confdefs.h
>>conftest.
$ac_ext
24731 cat >>conftest.
$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24734 #undef HAVE_STDLIB_H
24736 #include <jpeglib.h>
24747 rm -f conftest.
$ac_objext
24748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24749 (eval $ac_compile) 2>conftest.er1
24751 grep -v '^ *+' conftest.er1
>conftest.err
24753 cat conftest.err
>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); } &&
24756 { ac_try
='test -z "$ac_c_werror_flag"
24757 || test ! -s conftest.err'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; } &&
24763 { ac_try
='test -s conftest.$ac_objext'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; }; then
24769 ac_cv_header_jpeglib_h
=yes
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.
$ac_ext >&5
24774 ac_cv_header_jpeglib_h
=no
24777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24781 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24782 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24784 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24785 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24786 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24787 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24788 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 ac_check_lib_save_LIBS
=$LIBS
24791 LIBS
="-ljpeg $LIBS"
24792 cat >conftest.
$ac_ext <<_ACEOF
24795 cat confdefs.h
>>conftest.
$ac_ext
24796 cat >>conftest.
$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24799 /* Override any gcc2 internal prototype to avoid an error. */
24803 /* We use char because int might match the return type of a gcc2
24804 builtin and then its argument prototype would still apply. */
24805 char jpeg_read_header ();
24809 jpeg_read_header ();
24814 rm -f conftest.
$ac_objext conftest
$ac_exeext
24815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24816 (eval $ac_link) 2>conftest.er1
24818 grep -v '^ *+' conftest.er1
>conftest.err
24820 cat conftest.err
>&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } &&
24823 { ac_try
='test -z "$ac_c_werror_flag"
24824 || test ! -s conftest.err'
24825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24826 (eval $ac_try) 2>&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); }; } &&
24830 { ac_try
='test -s conftest$ac_exeext'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; }; then
24836 ac_cv_lib_jpeg_jpeg_read_header
=yes
24838 echo "$as_me: failed program was:" >&5
24839 sed 's/^/| /' conftest.
$ac_ext >&5
24841 ac_cv_lib_jpeg_jpeg_read_header
=no
24843 rm -f conftest.err conftest.
$ac_objext \
24844 conftest
$ac_exeext conftest.
$ac_ext
24845 LIBS
=$ac_check_lib_save_LIBS
24847 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24848 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24849 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24850 JPEG_LINK
=" -ljpeg"
24855 if test "x$JPEG_LINK" = "x" ; then
24856 if test "$wxUSE_LIBJPEG" = "sys" ; then
24857 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24858 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24859 { (exit 1); exit 1; }; }
24861 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24862 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24863 wxUSE_LIBJPEG
=builtin
24868 if test "$wxUSE_MSW" = 1; then
24869 echo "$as_me:$LINENO: checking for boolean" >&5
24870 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24871 if test "${ac_cv_type_boolean+set}" = set; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 cat >conftest.
$ac_ext <<_ACEOF
24877 cat confdefs.h
>>conftest.
$ac_ext
24878 cat >>conftest.
$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 #include <windows.h>
24887 if (sizeof (boolean))
24893 rm -f conftest.
$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24897 grep -v '^ *+' conftest.er1
>conftest.err
24899 cat conftest.err
>&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try
='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try
='test -s conftest.$ac_objext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_type_boolean
=yes
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.
$ac_ext >&5
24920 ac_cv_type_boolean
=no
24922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24924 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24925 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24926 if test $ac_cv_type_boolean = yes; then
24928 cat >>confdefs.h
<<_ACEOF
24929 #define HAVE_BOOLEAN 1
24933 echo "$as_me:$LINENO: checking for boolean" >&5
24934 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24935 if test "${ac_cv_type_boolean+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24938 cat >conftest.
$ac_ext <<_ACEOF
24941 cat confdefs.h
>>conftest.
$ac_ext
24942 cat >>conftest.
$ac_ext <<_ACEOF
24943 /* end confdefs.h. */
24945 #undef HAVE_BOOLEAN
24947 #include <jpeglib.h>
24955 if (sizeof (boolean))
24961 rm -f conftest.
$ac_objext
24962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24963 (eval $ac_compile) 2>conftest.er1
24965 grep -v '^ *+' conftest.er1
>conftest.err
24967 cat conftest.err
>&5
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); } &&
24970 { ac_try
='test -z "$ac_c_werror_flag"
24971 || test ! -s conftest.err'
24972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973 (eval $ac_try) 2>&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); }; } &&
24977 { ac_try
='test -s conftest.$ac_objext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 ac_cv_type_boolean
=yes
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.
$ac_ext >&5
24988 ac_cv_type_boolean
=no
24990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24992 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24993 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24995 echo "$as_me:$LINENO: checking size of boolean" >&5
24996 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
24997 if test "${ac_cv_sizeof_boolean+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 if test "$ac_cv_type_boolean" = yes; then
25001 # The cast to unsigned long works around a bug in the HP C Compiler
25002 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25003 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25004 # This bug is HP SR number 8606223364.
25005 if test "$cross_compiling" = yes; then
25006 # Depending upon the size, compute the lo and hi bounds.
25007 cat >conftest.
$ac_ext <<_ACEOF
25010 cat confdefs.h
>>conftest.
$ac_ext
25011 cat >>conftest.
$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25014 #undef HAVE_BOOLEAN
25016 #include <jpeglib.h>
25022 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
25029 rm -f conftest.
$ac_objext
25030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25031 (eval $ac_compile) 2>conftest.er1
25033 grep -v '^ *+' conftest.er1
>conftest.err
25035 cat conftest.err
>&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } &&
25038 { ac_try
='test -z "$ac_c_werror_flag"
25039 || test ! -s conftest.err'
25040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25041 (eval $ac_try) 2>&5
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); }; } &&
25045 { ac_try
='test -s conftest.$ac_objext'
25046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25047 (eval $ac_try) 2>&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); }; }; then
25053 cat >conftest.
$ac_ext <<_ACEOF
25056 cat confdefs.h
>>conftest.
$ac_ext
25057 cat >>conftest.
$ac_ext <<_ACEOF
25058 /* end confdefs.h. */
25060 #undef HAVE_BOOLEAN
25062 #include <jpeglib.h>
25068 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25075 rm -f conftest.
$ac_objext
25076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25077 (eval $ac_compile) 2>conftest.er1
25079 grep -v '^ *+' conftest.er1
>conftest.err
25081 cat conftest.err
>&5
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); } &&
25084 { ac_try
='test -z "$ac_c_werror_flag"
25085 || test ! -s conftest.err'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; } &&
25091 { ac_try
='test -s conftest.$ac_objext'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; }; then
25097 ac_hi
=$ac_mid; break
25099 echo "$as_me: failed program was:" >&5
25100 sed 's/^/| /' conftest.
$ac_ext >&5
25102 ac_lo
=`expr $ac_mid + 1`
25103 if test $ac_lo -le $ac_mid; then
25107 ac_mid
=`expr 2 '*' $ac_mid + 1`
25109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25112 echo "$as_me: failed program was:" >&5
25113 sed 's/^/| /' conftest.
$ac_ext >&5
25115 cat >conftest.
$ac_ext <<_ACEOF
25118 cat confdefs.h
>>conftest.
$ac_ext
25119 cat >>conftest.
$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25122 #undef HAVE_BOOLEAN
25124 #include <jpeglib.h>
25130 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
25137 rm -f conftest.
$ac_objext
25138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25139 (eval $ac_compile) 2>conftest.er1
25141 grep -v '^ *+' conftest.er1
>conftest.err
25143 cat conftest.err
>&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } &&
25146 { ac_try
='test -z "$ac_c_werror_flag"
25147 || test ! -s conftest.err'
25148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25149 (eval $ac_try) 2>&5
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); }; } &&
25153 { ac_try
='test -s conftest.$ac_objext'
25154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155 (eval $ac_try) 2>&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); }; }; then
25161 cat >conftest.
$ac_ext <<_ACEOF
25164 cat confdefs.h
>>conftest.
$ac_ext
25165 cat >>conftest.
$ac_ext <<_ACEOF
25166 /* end confdefs.h. */
25168 #undef HAVE_BOOLEAN
25170 #include <jpeglib.h>
25176 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
25183 rm -f conftest.
$ac_objext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25185 (eval $ac_compile) 2>conftest.er1
25187 grep -v '^ *+' conftest.er1
>conftest.err
25189 cat conftest.err
>&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try
='test -z "$ac_c_werror_flag"
25193 || test ! -s conftest.err'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; } &&
25199 { ac_try
='test -s conftest.$ac_objext'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; }; then
25205 ac_lo
=$ac_mid; break
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.
$ac_ext >&5
25210 ac_hi
=`expr '(' $ac_mid ')' - 1`
25211 if test $ac_mid -le $ac_hi; then
25215 ac_mid
=`expr 2 '*' $ac_mid`
25217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.
$ac_ext >&5
25225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25228 # Binary search between lo and hi bounds.
25229 while test "x$ac_lo" != "x$ac_hi"; do
25230 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25231 cat >conftest.
$ac_ext <<_ACEOF
25234 cat confdefs.h
>>conftest.
$ac_ext
25235 cat >>conftest.
$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25238 #undef HAVE_BOOLEAN
25240 #include <jpeglib.h>
25246 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25253 rm -f conftest.
$ac_objext
25254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25255 (eval $ac_compile) 2>conftest.er1
25257 grep -v '^ *+' conftest.er1
>conftest.err
25259 cat conftest.err
>&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } &&
25262 { ac_try
='test -z "$ac_c_werror_flag"
25263 || test ! -s conftest.err'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; } &&
25269 { ac_try
='test -s conftest.$ac_objext'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; }; then
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.
$ac_ext >&5
25280 ac_lo
=`expr '(' $ac_mid ')' + 1`
25282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25285 ?
*) ac_cv_sizeof_boolean
=$ac_lo;;
25286 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25287 See \`config.log' for more details." >&5
25288 echo "$as_me: error: cannot compute sizeof (boolean), 77
25289 See \`config.log' for more details." >&2;}
25290 { (exit 1); exit 1; }; } ;;
25293 if test "$cross_compiling" = yes; then
25294 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25295 See \`config.log' for more details." >&5
25296 echo "$as_me: error: cannot run test program while cross compiling
25297 See \`config.log' for more details." >&2;}
25298 { (exit 1); exit 1; }; }
25300 cat >conftest.
$ac_ext <<_ACEOF
25303 cat confdefs.h
>>conftest.
$ac_ext
25304 cat >>conftest.
$ac_ext <<_ACEOF
25305 /* end confdefs.h. */
25307 #undef HAVE_BOOLEAN
25309 #include <jpeglib.h>
25312 long longval () { return (long) (sizeof (boolean)); }
25313 unsigned long ulongval () { return (long) (sizeof (boolean)); }
25315 #include <stdlib.h>
25320 FILE *f = fopen ("conftest.val", "w");
25323 if (((long) (sizeof (boolean))) < 0)
25325 long i = longval ();
25326 if (i != ((long) (sizeof (boolean))))
25328 fprintf (f, "%ld\n", i);
25332 unsigned long i = ulongval ();
25333 if (i != ((long) (sizeof (boolean))))
25335 fprintf (f, "%lu\n", i);
25337 exit (ferror (f) || fclose (f) != 0);
25343 rm -f conftest
$ac_exeext
25344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25345 (eval $ac_link) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25354 ac_cv_sizeof_boolean
=`cat conftest.val`
25356 echo "$as_me: program exited with status $ac_status" >&5
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.
$ac_ext >&5
25360 ( exit $ac_status )
25361 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25362 See \`config.log' for more details." >&5
25363 echo "$as_me: error: cannot compute sizeof (boolean), 77
25364 See \`config.log' for more details." >&2;}
25365 { (exit 1); exit 1; }; }
25367 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25372 ac_cv_sizeof_boolean
=0
25375 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
25376 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
25377 cat >>confdefs.h
<<_ACEOF
25378 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
25382 cat >>confdefs.h
<<_ACEOF
25383 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
25397 TIFF_PREREQ_LINKS
=-lm
25398 if test "$wxUSE_LIBTIFF" != "no" ; then
25399 cat >>confdefs.h
<<\_ACEOF
25400 #define wxUSE_LIBTIFF 1
25404 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25405 if test "$wxUSE_LIBJPEG" = "sys"; then
25406 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25408 if test "$wxUSE_ZLIB" = "sys"; then
25409 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25411 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25412 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25413 if test "${ac_cv_header_tiffio_h+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25416 cat >conftest.
$ac_ext <<_ACEOF
25419 cat confdefs.h
>>conftest.
$ac_ext
25420 cat >>conftest.
$ac_ext <<_ACEOF
25421 /* end confdefs.h. */
25425 #include <tiffio.h>
25427 rm -f conftest.
$ac_objext
25428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25429 (eval $ac_compile) 2>conftest.er1
25431 grep -v '^ *+' conftest.er1
>conftest.err
25433 cat conftest.err
>&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); } &&
25436 { ac_try
='test -z "$ac_c_werror_flag"
25437 || test ! -s conftest.err'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; } &&
25443 { ac_try
='test -s conftest.$ac_objext'
25444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25445 (eval $ac_try) 2>&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); }; }; then
25449 ac_cv_header_tiffio_h
=yes
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.
$ac_ext >&5
25454 ac_cv_header_tiffio_h
=no
25456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25458 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25459 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25460 if test $ac_cv_header_tiffio_h = yes; then
25462 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25463 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25464 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25465 echo $ECHO_N "(cached) $ECHO_C" >&6
25467 ac_check_lib_save_LIBS
=$LIBS
25468 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25469 cat >conftest.
$ac_ext <<_ACEOF
25472 cat confdefs.h
>>conftest.
$ac_ext
25473 cat >>conftest.
$ac_ext <<_ACEOF
25474 /* end confdefs.h. */
25476 /* Override any gcc2 internal prototype to avoid an error. */
25480 /* We use char because int might match the return type of a gcc2
25481 builtin and then its argument prototype would still apply. */
25491 rm -f conftest.
$ac_objext conftest
$ac_exeext
25492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25493 (eval $ac_link) 2>conftest.er1
25495 grep -v '^ *+' conftest.er1
>conftest.err
25497 cat conftest.err
>&5
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); } &&
25500 { ac_try
='test -z "$ac_c_werror_flag"
25501 || test ! -s conftest.err'
25502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25503 (eval $ac_try) 2>&5
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); }; } &&
25507 { ac_try
='test -s conftest$ac_exeext'
25508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25509 (eval $ac_try) 2>&5
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); }; }; then
25513 ac_cv_lib_tiff_TIFFError
=yes
25515 echo "$as_me: failed program was:" >&5
25516 sed 's/^/| /' conftest.
$ac_ext >&5
25518 ac_cv_lib_tiff_TIFFError
=no
25520 rm -f conftest.err conftest.
$ac_objext \
25521 conftest
$ac_exeext conftest.
$ac_ext
25522 LIBS
=$ac_check_lib_save_LIBS
25524 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25525 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25526 if test $ac_cv_lib_tiff_TIFFError = yes; then
25527 TIFF_LINK
=" -ltiff"
25535 if test "x$TIFF_LINK" = "x" ; then
25536 if test "$wxUSE_LIBTIFF" = "sys" ; then
25537 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25538 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25539 { (exit 1); exit 1; }; }
25541 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25542 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25543 wxUSE_LIBTIFF
=builtin
25552 if test "$wxUSE_WCHAR_T" != "yes"; then
25553 if test "$wxUSE_EXPAT" != "no"; then
25554 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25555 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25558 if test "$wxUSE_XML" != "no"; then
25559 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25560 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25565 if test "$wxUSE_EXPAT" != "no"; then
25567 cat >>confdefs.h
<<\_ACEOF
25568 #define wxUSE_EXPAT 1
25571 cat >>confdefs.h
<<\_ACEOF
25572 #define wxUSE_XML 1
25576 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25577 echo "$as_me:$LINENO: checking for expat.h" >&5
25578 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25579 if test "${ac_cv_header_expat_h+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 cat >conftest.
$ac_ext <<_ACEOF
25585 cat confdefs.h
>>conftest.
$ac_ext
25586 cat >>conftest.
$ac_ext <<_ACEOF
25587 /* end confdefs.h. */
25592 rm -f conftest.
$ac_objext
25593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25594 (eval $ac_compile) 2>conftest.er1
25596 grep -v '^ *+' conftest.er1
>conftest.err
25598 cat conftest.err
>&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); } &&
25601 { ac_try
='test -z "$ac_c_werror_flag"
25602 || test ! -s conftest.err'
25603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604 (eval $ac_try) 2>&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); }; } &&
25608 { ac_try
='test -s conftest.$ac_objext'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; }; then
25614 ac_cv_header_expat_h
=yes
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.
$ac_ext >&5
25619 ac_cv_header_expat_h
=no
25621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25623 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25624 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25625 if test $ac_cv_header_expat_h = yes; then
25630 if test "x$found_expat_h" = "x1"; then
25631 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25632 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25633 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 ac_cpp
='$CXXCPP $CPPFLAGS'
25639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25643 cat >conftest.
$ac_ext <<_ACEOF
25646 cat confdefs.h
>>conftest.
$ac_ext
25647 cat >>conftest.
$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25658 rm -f conftest.
$ac_objext
25659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25660 (eval $ac_compile) 2>conftest.er1
25662 grep -v '^ *+' conftest.er1
>conftest.err
25664 cat conftest.err
>&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } &&
25667 { ac_try
='test -z "$ac_cxx_werror_flag"
25668 || test ! -s conftest.err'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; } &&
25674 { ac_try
='test -s conftest.$ac_objext'
25675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676 (eval $ac_try) 2>&5
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); }; }; then
25680 wx_cv_expat_is_not_broken
=yes
25682 echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.
$ac_ext >&5
25685 wx_cv_expat_is_not_broken
=no
25688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25690 ac_cpp
='$CPP $CPPFLAGS'
25691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25698 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25699 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25700 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25701 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25702 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25703 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 ac_check_lib_save_LIBS
=$LIBS
25707 LIBS
="-lexpat $LIBS"
25708 cat >conftest.
$ac_ext <<_ACEOF
25711 cat confdefs.h
>>conftest.
$ac_ext
25712 cat >>conftest.
$ac_ext <<_ACEOF
25713 /* end confdefs.h. */
25715 /* Override any gcc2 internal prototype to avoid an error. */
25719 /* We use char because int might match the return type of a gcc2
25720 builtin and then its argument prototype would still apply. */
25721 char XML_ParserCreate ();
25725 XML_ParserCreate ();
25730 rm -f conftest.
$ac_objext conftest
$ac_exeext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25732 (eval $ac_link) 2>conftest.er1
25734 grep -v '^ *+' conftest.er1
>conftest.err
25736 cat conftest.err
>&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try
='test -z "$ac_c_werror_flag"
25740 || test ! -s conftest.err'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; } &&
25746 { ac_try
='test -s conftest$ac_exeext'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; }; then
25752 ac_cv_lib_expat_XML_ParserCreate
=yes
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.
$ac_ext >&5
25757 ac_cv_lib_expat_XML_ParserCreate
=no
25759 rm -f conftest.err conftest.
$ac_objext \
25760 conftest
$ac_exeext conftest.
$ac_ext
25761 LIBS
=$ac_check_lib_save_LIBS
25763 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25764 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25765 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25766 EXPAT_LINK
=" -lexpat"
25771 if test "x$EXPAT_LINK" = "x" ; then
25772 if test "$wxUSE_EXPAT" = "sys" ; then
25773 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25774 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25775 { (exit 1); exit 1; }; }
25777 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25778 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25779 wxUSE_EXPAT
=builtin
25785 if test "$wxUSE_EXPAT" = "builtin" ; then
25788 subdirs
="$subdirs src/expat"
25795 if test "$wxUSE_LIBMSPACK" != "no"; then
25796 echo "$as_me:$LINENO: checking for mspack.h" >&5
25797 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25798 if test "${ac_cv_header_mspack_h+set}" = set; then
25799 echo $ECHO_N "(cached) $ECHO_C" >&6
25801 cat >conftest.
$ac_ext <<_ACEOF
25804 cat confdefs.h
>>conftest.
$ac_ext
25805 cat >>conftest.
$ac_ext <<_ACEOF
25806 /* end confdefs.h. */
25809 #include <mspack.h>
25811 rm -f conftest.
$ac_objext
25812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25813 (eval $ac_compile) 2>conftest.er1
25815 grep -v '^ *+' conftest.er1
>conftest.err
25817 cat conftest.err
>&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); } &&
25820 { ac_try
='test -z "$ac_c_werror_flag"
25821 || test ! -s conftest.err'
25822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25823 (eval $ac_try) 2>&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); }; } &&
25827 { ac_try
='test -s conftest.$ac_objext'
25828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25829 (eval $ac_try) 2>&5
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); }; }; then
25833 ac_cv_header_mspack_h
=yes
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.
$ac_ext >&5
25838 ac_cv_header_mspack_h
=no
25840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25842 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25843 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25844 if test $ac_cv_header_mspack_h = yes; then
25849 if test "x$found_mspack_h" = "x1"; then
25850 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25851 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25852 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25855 ac_check_lib_save_LIBS
=$LIBS
25856 LIBS
="-lmspack $LIBS"
25857 cat >conftest.
$ac_ext <<_ACEOF
25860 cat confdefs.h
>>conftest.
$ac_ext
25861 cat >>conftest.
$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25864 /* Override any gcc2 internal prototype to avoid an error. */
25868 /* We use char because int might match the return type of a gcc2
25869 builtin and then its argument prototype would still apply. */
25870 char mspack_create_chm_decompressor ();
25874 mspack_create_chm_decompressor ();
25879 rm -f conftest.
$ac_objext conftest
$ac_exeext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25881 (eval $ac_link) 2>conftest.er1
25883 grep -v '^ *+' conftest.er1
>conftest.err
25885 cat conftest.err
>&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try
='test -z "$ac_c_werror_flag"
25889 || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try
='test -s conftest$ac_exeext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.
$ac_ext >&5
25906 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25908 rm -f conftest.err conftest.
$ac_objext \
25909 conftest
$ac_exeext conftest.
$ac_ext
25910 LIBS
=$ac_check_lib_save_LIBS
25912 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25913 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25914 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25915 MSPACK_LINK
=" -lmspack"
25919 if test "x$MSPACK_LINK" = "x" ; then
25924 if test "$wxUSE_LIBMSPACK" != "no"; then
25925 cat >>confdefs.h
<<\_ACEOF
25926 #define wxUSE_LIBMSPACK 1
25940 if test "$USE_WIN32" = 1 ; then
25941 echo "$as_me:$LINENO: checking for w32api.h" >&5
25942 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
25943 if test "${ac_cv_header_w32api_h+set}" = set; then
25944 echo $ECHO_N "(cached) $ECHO_C" >&6
25946 cat >conftest.
$ac_ext <<_ACEOF
25949 cat confdefs.h
>>conftest.
$ac_ext
25950 cat >>conftest.
$ac_ext <<_ACEOF
25951 /* end confdefs.h. */
25954 #include <w32api.h>
25956 rm -f conftest.
$ac_objext
25957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25958 (eval $ac_compile) 2>conftest.er1
25960 grep -v '^ *+' conftest.er1
>conftest.err
25962 cat conftest.err
>&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } &&
25965 { ac_try
='test -z "$ac_c_werror_flag"
25966 || test ! -s conftest.err'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; } &&
25972 { ac_try
='test -s conftest.$ac_objext'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; }; then
25978 ac_cv_header_w32api_h
=yes
25980 echo "$as_me: failed program was:" >&5
25981 sed 's/^/| /' conftest.
$ac_ext >&5
25983 ac_cv_header_w32api_h
=no
25985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25987 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
25988 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
25991 echo "$as_me:$LINENO: checking for windows.h" >&5
25992 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25993 if test "${ac_cv_header_windows_h+set}" = set; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 cat >conftest.
$ac_ext <<_ACEOF
25999 cat confdefs.h
>>conftest.
$ac_ext
26000 cat >>conftest.
$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26004 #include <windows.h>
26006 rm -f conftest.
$ac_objext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26008 (eval $ac_compile) 2>conftest.er1
26010 grep -v '^ *+' conftest.er1
>conftest.err
26012 cat conftest.err
>&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try
='test -z "$ac_c_werror_flag"
26016 || test ! -s conftest.err'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; } &&
26022 { ac_try
='test -s conftest.$ac_objext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_header_windows_h
=yes
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.
$ac_ext >&5
26033 ac_cv_header_windows_h
=no
26035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26037 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26038 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26039 if test $ac_cv_header_windows_h = yes; then
26043 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26044 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26045 { (exit 1); exit 1; }; }
26051 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26053 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26054 LIBS
="$LIBS -loleacc"
26059 LIBS
="$LIBS -lkernel32 -luser32"
26062 if test "$wxUSE_ODBC" = "sys" ; then
26065 if test "$wxUSE_ODBC" = "yes" ; then
26066 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26067 cat >>confdefs.h
<<\_ACEOF
26068 #define wxUSE_ODBC 1
26073 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26074 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26076 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26078 WIN32INSTALL
=win32install
26080 echo "$as_me:$LINENO: checking for pbt.h" >&5
26081 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
26082 if test "${ac_cv_header_pbt_h+set}" = set; then
26083 echo $ECHO_N "(cached) $ECHO_C" >&6
26085 cat >conftest.
$ac_ext <<_ACEOF
26088 cat confdefs.h
>>conftest.
$ac_ext
26089 cat >>conftest.
$ac_ext <<_ACEOF
26090 /* end confdefs.h. */
26095 rm -f conftest.
$ac_objext
26096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26097 (eval $ac_compile) 2>conftest.er1
26099 grep -v '^ *+' conftest.er1
>conftest.err
26101 cat conftest.err
>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } &&
26104 { ac_try
='test -z "$ac_c_werror_flag"
26105 || test ! -s conftest.err'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; } &&
26111 { ac_try
='test -s conftest.$ac_objext'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; }; then
26117 ac_cv_header_pbt_h
=yes
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.
$ac_ext >&5
26122 ac_cv_header_pbt_h
=no
26124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26126 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26127 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
26128 if test $ac_cv_header_pbt_h = yes; then
26131 cat >>confdefs.h
<<\_ACEOF
26132 #define NEED_PBT_H 1
26140 if test "$wxUSE_GUI" = "yes"; then
26150 if test "$wxUSE_COCOA" = 1 ; then
26151 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26152 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26153 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26154 wxUSE_PRINTING_ARCHITECTURE
=no
26156 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26157 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26158 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26159 wxUSE_DRAG_AND_DROP
=no
26161 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26162 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26163 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26168 if test "$wxUSE_MSW" = 1 ; then
26174 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26178 if test "$wxUSE_GTK" = 1; then
26179 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26180 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26182 gtk_version_cached
=1
26183 if test "${wx_cv_lib_gtk+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26187 gtk_version_cached
=0
26188 echo "$as_me:$LINENO: result: " >&5
26189 echo "${ECHO_T}" >&6
26192 if test "$wxUSE_THREADS" = "yes"; then
26193 GTK_MODULES
=gthread
26197 if test "x$wxGTK_VERSION" != "x1"
26201 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26206 # Check whether --enable-gtktest or --disable-gtktest was given.
26207 if test "${enable_gtktest+set}" = set; then
26208 enableval
="$enable_gtktest"
26214 pkg_config_args
=gtk
+-2.0
26215 for module
in .
$GTK_MODULES
26219 pkg_config_args
="$pkg_config_args gthread-2.0"
26226 # Extract the first word of "pkg-config", so it can be a program name with args.
26227 set dummy pkg
-config; ac_word
=$2
26228 echo "$as_me:$LINENO: checking for $ac_word" >&5
26229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26230 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26231 echo $ECHO_N "(cached) $ECHO_C" >&6
26233 case $PKG_CONFIG in
26235 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26239 for as_dir
in $PATH
26242 test -z "$as_dir" && as_dir
=.
26243 for ac_exec_ext
in '' $ac_executable_extensions; do
26244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26245 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26252 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26256 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26258 if test -n "$PKG_CONFIG"; then
26259 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26260 echo "${ECHO_T}$PKG_CONFIG" >&6
26262 echo "$as_me:$LINENO: result: no" >&5
26263 echo "${ECHO_T}no" >&6
26267 if test x
$PKG_CONFIG != xno
; then
26268 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26271 echo "*** pkg-config too old; version 0.7 or better required."
26279 min_gtk_version
=2.0.0
26280 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26281 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26283 if test x
$PKG_CONFIG != xno
; then
26284 ## don't try to run the test against uninstalled libtool libs
26285 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26286 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26290 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26297 if test x
"$no_gtk" = x
; then
26298 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26299 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26300 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26302 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26304 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26306 if test "x$enable_gtktest" = "xyes" ; then
26307 ac_save_CFLAGS
="$CFLAGS"
26308 ac_save_LIBS
="$LIBS"
26309 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26310 LIBS
="$GTK_LIBS $LIBS"
26312 if test "$cross_compiling" = yes; then
26313 echo $ac_n "cross compiling; assumed OK... $ac_c"
26315 cat >conftest.
$ac_ext <<_ACEOF
26318 cat confdefs.h
>>conftest.
$ac_ext
26319 cat >>conftest.
$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26322 #include <gtk/gtk.h>
26324 #include <stdlib.h>
26329 int major, minor, micro;
26332 system ("touch conf.gtktest");
26334 /* HP/UX 9 (%@#!) writes to sscanf strings */
26335 tmp_version = g_strdup("$min_gtk_version");
26336 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26337 printf("%s, bad version string\n", "$min_gtk_version");
26341 if ((gtk_major_version != $gtk_config_major_version) ||
26342 (gtk_minor_version != $gtk_config_minor_version) ||
26343 (gtk_micro_version != $gtk_config_micro_version))
26345 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26346 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26347 gtk_major_version, gtk_minor_version, gtk_micro_version);
26348 printf ("*** was found! If pkg-config was correct, then it is best\n");
26349 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26350 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26351 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26352 printf("*** required on your system.\n");
26353 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26354 printf("*** to point to the correct configuration files\n");
26356 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26357 (gtk_minor_version != GTK_MINOR_VERSION) ||
26358 (gtk_micro_version != GTK_MICRO_VERSION))
26360 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26361 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26362 printf("*** library (version %d.%d.%d)\n",
26363 gtk_major_version, gtk_minor_version, gtk_micro_version);
26367 if ((gtk_major_version > major) ||
26368 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26369 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26375 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26376 gtk_major_version, gtk_minor_version, gtk_micro_version);
26377 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26378 major, minor, micro);
26379 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26381 printf("*** If you have already installed a sufficiently new version, this error\n");
26382 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26383 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26384 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26385 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26386 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26387 printf("*** so that the correct libraries are found at run-time))\n");
26394 rm -f conftest
$ac_exeext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26396 (eval $ac_link) 2>&5
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; }; then
26407 echo "$as_me: program exited with status $ac_status" >&5
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.
$ac_ext >&5
26411 ( exit $ac_status )
26414 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26416 CFLAGS
="$ac_save_CFLAGS"
26417 LIBS
="$ac_save_LIBS"
26420 if test "x$no_gtk" = x
; then
26421 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26422 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26425 echo "$as_me:$LINENO: result: no" >&5
26426 echo "${ECHO_T}no" >&6
26427 if test "$PKG_CONFIG" = "no" ; then
26428 echo "*** A new enough version of pkg-config was not found."
26429 echo "*** See http://pkgconfig.sourceforge.net"
26431 if test -f conf.gtktest
; then
26434 echo "*** Could not run GTK+ test program, checking why..."
26435 ac_save_CFLAGS
="$CFLAGS"
26436 ac_save_LIBS
="$LIBS"
26437 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26438 LIBS
="$LIBS $GTK_LIBS"
26439 cat >conftest.
$ac_ext <<_ACEOF
26442 cat confdefs.h
>>conftest.
$ac_ext
26443 cat >>conftest.
$ac_ext <<_ACEOF
26444 /* end confdefs.h. */
26446 #include <gtk/gtk.h>
26452 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26457 rm -f conftest.
$ac_objext conftest
$ac_exeext
26458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26459 (eval $ac_link) 2>conftest.er1
26461 grep -v '^ *+' conftest.er1
>conftest.err
26463 cat conftest.err
>&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } &&
26466 { ac_try
='test -z "$ac_c_werror_flag"
26467 || test ! -s conftest.err'
26468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469 (eval $ac_try) 2>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; } &&
26473 { ac_try
='test -s conftest$ac_exeext'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; }; then
26479 echo "*** The test program compiled, but did not run. This usually means"
26480 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26481 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26482 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26483 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26484 echo "*** is required on your system"
26486 echo "*** If you have an old version installed, it is best to remove it, although"
26487 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.
$ac_ext >&5
26492 echo "*** The test program failed to compile or link. See the file config.log for the"
26493 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26495 rm -f conftest.err conftest.
$ac_objext \
26496 conftest
$ac_exeext conftest.
$ac_ext
26497 CFLAGS
="$ac_save_CFLAGS"
26498 LIBS
="$ac_save_LIBS"
26512 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26513 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26514 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26516 if test "$wxUSE_SHARED" != "yes"; then
26517 GTK_LIBS
="$GTK_LIBS -lX11"
26522 if test -z "$wx_cv_lib_gtk"; then
26523 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26525 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26526 if test "${with_gtk_prefix+set}" = set; then
26527 withval
="$with_gtk_prefix"
26528 gtk_config_prefix
="$withval"
26530 gtk_config_prefix
=""
26533 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26534 if test "${with_gtk_exec_prefix+set}" = set; then
26535 withval
="$with_gtk_exec_prefix"
26536 gtk_config_exec_prefix
="$withval"
26538 gtk_config_exec_prefix
=""
26540 # Check whether --enable-gtktest or --disable-gtktest was given.
26541 if test "${enable_gtktest+set}" = set; then
26542 enableval
="$enable_gtktest"
26548 for module
in .
$GTK_MODULES
26552 gtk_config_args
="$gtk_config_args gthread"
26557 if test x
$gtk_config_exec_prefix != x
; then
26558 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26559 if test x
${GTK_CONFIG+set} != xset
; then
26560 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26563 if test x
$gtk_config_prefix != x
; then
26564 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26565 if test x
${GTK_CONFIG+set} != xset
; then
26566 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26570 # Extract the first word of "gtk-config", so it can be a program name with args.
26571 set dummy gtk
-config; ac_word
=$2
26572 echo "$as_me:$LINENO: checking for $ac_word" >&5
26573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26574 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26575 echo $ECHO_N "(cached) $ECHO_C" >&6
26577 case $GTK_CONFIG in
26579 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26583 for as_dir
in $PATH
26586 test -z "$as_dir" && as_dir
=.
26587 for ac_exec_ext
in '' $ac_executable_extensions; do
26588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26589 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26596 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26600 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26602 if test -n "$GTK_CONFIG"; then
26603 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26604 echo "${ECHO_T}$GTK_CONFIG" >&6
26606 echo "$as_me:$LINENO: result: no" >&5
26607 echo "${ECHO_T}no" >&6
26610 min_gtk_version
=1.2.7
26611 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26612 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26614 if test "$GTK_CONFIG" = "no" ; then
26617 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26618 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26619 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26620 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26621 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26622 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26623 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26624 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26625 if test "x$enable_gtktest" = "xyes" ; then
26626 ac_save_CFLAGS
="$CFLAGS"
26627 ac_save_LIBS
="$LIBS"
26628 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26629 LIBS
="$GTK_LIBS $LIBS"
26631 if test "$cross_compiling" = yes; then
26632 echo $ac_n "cross compiling; assumed OK... $ac_c"
26634 cat >conftest.
$ac_ext <<_ACEOF
26637 cat confdefs.h
>>conftest.
$ac_ext
26638 cat >>conftest.
$ac_ext <<_ACEOF
26639 /* end confdefs.h. */
26641 #include <gtk/gtk.h>
26643 #include <stdlib.h>
26648 int major, minor, micro;
26651 system ("touch conf.gtktest");
26653 /* HP/UX 9 (%@#!) writes to sscanf strings */
26654 tmp_version = g_strdup("$min_gtk_version");
26655 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26656 printf("%s, bad version string\n", "$min_gtk_version");
26660 if ((gtk_major_version != $gtk_config_major_version) ||
26661 (gtk_minor_version != $gtk_config_minor_version) ||
26662 (gtk_micro_version != $gtk_config_micro_version))
26664 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26665 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26666 gtk_major_version, gtk_minor_version, gtk_micro_version);
26667 printf ("*** was found! If gtk-config was correct, then it is best\n");
26668 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26669 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26670 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26671 printf("*** required on your system.\n");
26672 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26673 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26674 printf("*** before re-running configure\n");
26676 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26677 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26678 (gtk_minor_version != GTK_MINOR_VERSION) ||
26679 (gtk_micro_version != GTK_MICRO_VERSION))
26681 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26682 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26683 printf("*** library (version %d.%d.%d)\n",
26684 gtk_major_version, gtk_minor_version, gtk_micro_version);
26686 #endif /* defined (GTK_MAJOR_VERSION) ... */
26689 if ((gtk_major_version > major) ||
26690 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26691 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26697 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26698 gtk_major_version, gtk_minor_version, gtk_micro_version);
26699 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26700 major, minor, micro);
26701 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26703 printf("*** If you have already installed a sufficiently new version, this error\n");
26704 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26705 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26706 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26707 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26708 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26709 printf("*** so that the correct libraries are found at run-time))\n");
26716 rm -f conftest
$ac_exeext
26717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26718 (eval $ac_link) 2>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723 (eval $ac_try) 2>&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); }; }; then
26729 echo "$as_me: program exited with status $ac_status" >&5
26730 echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.
$ac_ext >&5
26733 ( exit $ac_status )
26736 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26738 CFLAGS
="$ac_save_CFLAGS"
26739 LIBS
="$ac_save_LIBS"
26742 if test "x$no_gtk" = x
; then
26743 echo "$as_me:$LINENO: result: yes" >&5
26744 echo "${ECHO_T}yes" >&6
26745 wx_cv_lib_gtk
=1.2.7
26747 echo "$as_me:$LINENO: result: no" >&5
26748 echo "${ECHO_T}no" >&6
26749 if test "$GTK_CONFIG" = "no" ; then
26750 echo "*** The gtk-config script installed by GTK could not be found"
26751 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26752 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26753 echo "*** full path to gtk-config."
26755 if test -f conf.gtktest
; then
26758 echo "*** Could not run GTK test program, checking why..."
26759 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26760 LIBS
="$LIBS $GTK_LIBS"
26761 cat >conftest.
$ac_ext <<_ACEOF
26764 cat confdefs.h
>>conftest.
$ac_ext
26765 cat >>conftest.
$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26768 #include <gtk/gtk.h>
26774 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26779 rm -f conftest.
$ac_objext conftest
$ac_exeext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26781 (eval $ac_link) 2>conftest.er1
26783 grep -v '^ *+' conftest.er1
>conftest.err
26785 cat conftest.err
>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try
='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try
='test -s conftest$ac_exeext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26801 echo "*** The test program compiled, but did not run. This usually means"
26802 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26803 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26804 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26805 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26806 echo "*** is required on your system"
26808 echo "*** If you have an old version installed, it is best to remove it, although"
26809 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26811 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26812 echo "*** came with the system with the command"
26814 echo "*** rpm --erase --nodeps gtk gtk-devel"
26816 echo "$as_me: failed program was:" >&5
26817 sed 's/^/| /' conftest.
$ac_ext >&5
26819 echo "*** The test program failed to compile or link. See the file config.log for the"
26820 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26821 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26822 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26824 rm -f conftest.err conftest.
$ac_objext \
26825 conftest
$ac_exeext conftest.
$ac_ext
26826 CFLAGS
="$ac_save_CFLAGS"
26827 LIBS
="$ac_save_LIBS"
26839 if test -z "$wx_cv_lib_gtk"; then
26841 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26842 if test "${with_gtk_prefix+set}" = set; then
26843 withval
="$with_gtk_prefix"
26844 gtk_config_prefix
="$withval"
26846 gtk_config_prefix
=""
26849 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26850 if test "${with_gtk_exec_prefix+set}" = set; then
26851 withval
="$with_gtk_exec_prefix"
26852 gtk_config_exec_prefix
="$withval"
26854 gtk_config_exec_prefix
=""
26856 # Check whether --enable-gtktest or --disable-gtktest was given.
26857 if test "${enable_gtktest+set}" = set; then
26858 enableval
="$enable_gtktest"
26864 for module
in .
$GTK_MODULES
26868 gtk_config_args
="$gtk_config_args gthread"
26873 if test x
$gtk_config_exec_prefix != x
; then
26874 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26875 if test x
${GTK_CONFIG+set} != xset
; then
26876 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26879 if test x
$gtk_config_prefix != x
; then
26880 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26881 if test x
${GTK_CONFIG+set} != xset
; then
26882 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26886 # Extract the first word of "gtk-config", so it can be a program name with args.
26887 set dummy gtk
-config; ac_word
=$2
26888 echo "$as_me:$LINENO: checking for $ac_word" >&5
26889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26890 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26891 echo $ECHO_N "(cached) $ECHO_C" >&6
26893 case $GTK_CONFIG in
26895 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26899 for as_dir
in $PATH
26902 test -z "$as_dir" && as_dir
=.
26903 for ac_exec_ext
in '' $ac_executable_extensions; do
26904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26905 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26912 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26916 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26918 if test -n "$GTK_CONFIG"; then
26919 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26920 echo "${ECHO_T}$GTK_CONFIG" >&6
26922 echo "$as_me:$LINENO: result: no" >&5
26923 echo "${ECHO_T}no" >&6
26926 min_gtk_version
=1.2.3
26927 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26928 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26930 if test "$GTK_CONFIG" = "no" ; then
26933 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26934 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26935 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26937 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26939 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26941 if test "x$enable_gtktest" = "xyes" ; then
26942 ac_save_CFLAGS
="$CFLAGS"
26943 ac_save_LIBS
="$LIBS"
26944 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26945 LIBS
="$GTK_LIBS $LIBS"
26947 if test "$cross_compiling" = yes; then
26948 echo $ac_n "cross compiling; assumed OK... $ac_c"
26950 cat >conftest.
$ac_ext <<_ACEOF
26953 cat confdefs.h
>>conftest.
$ac_ext
26954 cat >>conftest.
$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26957 #include <gtk/gtk.h>
26959 #include <stdlib.h>
26964 int major, minor, micro;
26967 system ("touch conf.gtktest");
26969 /* HP/UX 9 (%@#!) writes to sscanf strings */
26970 tmp_version = g_strdup("$min_gtk_version");
26971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26972 printf("%s, bad version string\n", "$min_gtk_version");
26976 if ((gtk_major_version != $gtk_config_major_version) ||
26977 (gtk_minor_version != $gtk_config_minor_version) ||
26978 (gtk_micro_version != $gtk_config_micro_version))
26980 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26981 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26982 gtk_major_version, gtk_minor_version, gtk_micro_version);
26983 printf ("*** was found! If gtk-config was correct, then it is best\n");
26984 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26985 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26986 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26987 printf("*** required on your system.\n");
26988 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26989 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26990 printf("*** before re-running configure\n");
26992 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26993 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26994 (gtk_minor_version != GTK_MINOR_VERSION) ||
26995 (gtk_micro_version != GTK_MICRO_VERSION))
26997 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26998 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26999 printf("*** library (version %d.%d.%d)\n",
27000 gtk_major_version, gtk_minor_version, gtk_micro_version);
27002 #endif /* defined (GTK_MAJOR_VERSION) ... */
27005 if ((gtk_major_version > major) ||
27006 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27007 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27013 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27014 gtk_major_version, gtk_minor_version, gtk_micro_version);
27015 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27016 major, minor, micro);
27017 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27019 printf("*** If you have already installed a sufficiently new version, this error\n");
27020 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27021 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27022 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27023 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27024 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27025 printf("*** so that the correct libraries are found at run-time))\n");
27032 rm -f conftest
$ac_exeext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27034 (eval $ac_link) 2>&5
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039 (eval $ac_try) 2>&5
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); }; }; then
27045 echo "$as_me: program exited with status $ac_status" >&5
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.
$ac_ext >&5
27049 ( exit $ac_status )
27052 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27054 CFLAGS
="$ac_save_CFLAGS"
27055 LIBS
="$ac_save_LIBS"
27058 if test "x$no_gtk" = x
; then
27059 echo "$as_me:$LINENO: result: yes" >&5
27060 echo "${ECHO_T}yes" >&6
27061 wx_cv_lib_gtk
=1.2.3
27063 echo "$as_me:$LINENO: result: no" >&5
27064 echo "${ECHO_T}no" >&6
27065 if test "$GTK_CONFIG" = "no" ; then
27066 echo "*** The gtk-config script installed by GTK could not be found"
27067 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27068 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27069 echo "*** full path to gtk-config."
27071 if test -f conf.gtktest
; then
27074 echo "*** Could not run GTK test program, checking why..."
27075 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27076 LIBS
="$LIBS $GTK_LIBS"
27077 cat >conftest.
$ac_ext <<_ACEOF
27080 cat confdefs.h
>>conftest.
$ac_ext
27081 cat >>conftest.
$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27084 #include <gtk/gtk.h>
27090 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27095 rm -f conftest.
$ac_objext conftest
$ac_exeext
27096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27097 (eval $ac_link) 2>conftest.er1
27099 grep -v '^ *+' conftest.er1
>conftest.err
27101 cat conftest.err
>&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } &&
27104 { ac_try
='test -z "$ac_c_werror_flag"
27105 || test ! -s conftest.err'
27106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27107 (eval $ac_try) 2>&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); }; } &&
27111 { ac_try
='test -s conftest$ac_exeext'
27112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113 (eval $ac_try) 2>&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); }; }; then
27117 echo "*** The test program compiled, but did not run. This usually means"
27118 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27119 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27120 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27121 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27122 echo "*** is required on your system"
27124 echo "*** If you have an old version installed, it is best to remove it, although"
27125 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27127 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27128 echo "*** came with the system with the command"
27130 echo "*** rpm --erase --nodeps gtk gtk-devel"
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.
$ac_ext >&5
27135 echo "*** The test program failed to compile or link. See the file config.log for the"
27136 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27137 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27138 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27140 rm -f conftest.err conftest.
$ac_objext \
27141 conftest
$ac_exeext conftest.
$ac_ext
27142 CFLAGS
="$ac_save_CFLAGS"
27143 LIBS
="$ac_save_LIBS"
27158 if test -z "$wx_cv_lib_gtk"; then
27161 wx_cv_cflags_gtk
=$GTK_CFLAGS
27162 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27169 if test "$gtk_version_cached" = 1; then
27170 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27171 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27174 case "$wx_cv_lib_gtk" in
27183 *) { { echo "$as_me:$LINENO: error:
27184 The development files for GTK+ were not found. For GTK+ 2, please
27185 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27186 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27187 and that the version is 1.2.3 or above. Also check that the
27188 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27189 --libs' are in the LD_LIBRARY_PATH or equivalent.
27191 echo "$as_me: error:
27192 The development files for GTK+ were not found. For GTK+ 2, please
27193 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27194 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27195 and that the version is 1.2.3 or above. Also check that the
27196 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27197 --libs' are in the LD_LIBRARY_PATH or equivalent.
27199 { (exit 1); exit 1; }; }
27203 if test "$WXGTK20" = 1; then
27204 save_CFLAGS
="$CFLAGS"
27206 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27207 LIBS
="$LIBS $wx_cv_libs_gtk"
27209 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27210 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
27211 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27212 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 cat >conftest.
$ac_ext <<_ACEOF
27217 cat confdefs.h
>>conftest.
$ac_ext
27218 cat >>conftest.
$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220 #include <gtk/gtk.h>
27225 #ifndef gtk_icon_size_lookup
27226 char *p = (char *) gtk_icon_size_lookup;
27233 rm -f conftest.
$ac_objext
27234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27235 (eval $ac_compile) 2>conftest.er1
27237 grep -v '^ *+' conftest.er1
>conftest.err
27239 cat conftest.err
>&5
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); } &&
27242 { ac_try
='test -z "$ac_c_werror_flag"
27243 || test ! -s conftest.err'
27244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245 (eval $ac_try) 2>&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); }; } &&
27249 { ac_try
='test -s conftest.$ac_objext'
27250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27251 (eval $ac_try) 2>&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); }; }; then
27255 ac_cv_have_decl_gtk_icon_size_lookup
=yes
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.
$ac_ext >&5
27260 ac_cv_have_decl_gtk_icon_size_lookup
=no
27262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27264 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27265 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
27266 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27268 cat >>confdefs.h
<<_ACEOF
27269 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27274 cat >>confdefs.h
<<_ACEOF
27275 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27278 cat >>confdefs.h
<<\_ACEOF
27279 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27287 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27288 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
27289 cat >conftest.
$ac_ext <<_ACEOF
27292 cat confdefs.h
>>conftest.
$ac_ext
27293 cat >>conftest.
$ac_ext <<_ACEOF
27294 /* end confdefs.h. */
27296 #include <gtk/gtk.h>
27302 #if !GTK_CHECK_VERSION(2,10,0)
27310 rm -f conftest.
$ac_objext
27311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27312 (eval $ac_compile) 2>conftest.er1
27314 grep -v '^ *+' conftest.er1
>conftest.err
27316 cat conftest.err
>&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } &&
27319 { ac_try
='test -z "$ac_c_werror_flag"
27320 || test ! -s conftest.err'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; } &&
27326 { ac_try
='test -s conftest.$ac_objext'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; }; then
27333 cat >>confdefs.h
<<\_ACEOF
27334 #define __WXGTK210__ 1
27337 cat >>confdefs.h
<<\_ACEOF
27338 #define __WXGTK26__ 1
27341 cat >>confdefs.h
<<\_ACEOF
27342 #define __WXGTK24__ 1
27345 echo "$as_me:$LINENO: result: yes" >&5
27346 echo "${ECHO_T}yes" >&6
27350 echo "$as_me: failed program was:" >&5
27351 sed 's/^/| /' conftest.
$ac_ext >&5
27354 echo "$as_me:$LINENO: result: no" >&5
27355 echo "${ECHO_T}no" >&6
27359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27361 if test "$ac_wxgtk210" = 0; then
27362 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27363 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27364 cat >conftest.
$ac_ext <<_ACEOF
27367 cat confdefs.h
>>conftest.
$ac_ext
27368 cat >>conftest.
$ac_ext <<_ACEOF
27369 /* end confdefs.h. */
27371 #include <gtk/gtk.h>
27377 #if !GTK_CHECK_VERSION(2,6,0)
27385 rm -f conftest.
$ac_objext
27386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27387 (eval $ac_compile) 2>conftest.er1
27389 grep -v '^ *+' conftest.er1
>conftest.err
27391 cat conftest.err
>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } &&
27394 { ac_try
='test -z "$ac_c_werror_flag"
27395 || test ! -s conftest.err'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; } &&
27401 { ac_try
='test -s conftest.$ac_objext'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; }; then
27408 cat >>confdefs.h
<<\_ACEOF
27409 #define __WXGTK26__ 1
27412 cat >>confdefs.h
<<\_ACEOF
27413 #define __WXGTK24__ 1
27416 echo "$as_me:$LINENO: result: yes" >&5
27417 echo "${ECHO_T}yes" >&6
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.
$ac_ext >&5
27425 echo "$as_me:$LINENO: result: no" >&5
27426 echo "${ECHO_T}no" >&6
27430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27433 if test "$ac_wxgtk26" = 0; then
27434 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27435 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27436 cat >conftest.
$ac_ext <<_ACEOF
27439 cat confdefs.h
>>conftest.
$ac_ext
27440 cat >>conftest.
$ac_ext <<_ACEOF
27441 /* end confdefs.h. */
27443 #include <gtk/gtk.h>
27449 #if !GTK_CHECK_VERSION(2,4,0)
27457 rm -f conftest.
$ac_objext
27458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27459 (eval $ac_compile) 2>conftest.er1
27461 grep -v '^ *+' conftest.er1
>conftest.err
27463 cat conftest.err
>&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } &&
27466 { ac_try
='test -z "$ac_c_werror_flag"
27467 || test ! -s conftest.err'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; } &&
27473 { ac_try
='test -s conftest.$ac_objext'
27474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27475 (eval $ac_try) 2>&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); }; }; then
27480 cat >>confdefs.h
<<\_ACEOF
27481 #define __WXGTK24__ 1
27484 echo "$as_me:$LINENO: result: yes" >&5
27485 echo "${ECHO_T}yes" >&6
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.
$ac_ext >&5
27492 echo "$as_me:$LINENO: result: no" >&5
27493 echo "${ECHO_T}no" >&6
27496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27499 CFLAGS
="$save_CFLAGS"
27502 if test "$wxUSE_UNICODE" = "yes"; then
27503 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27504 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27508 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27509 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27510 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27511 echo $ECHO_N "(cached) $ECHO_C" >&6
27513 ac_check_lib_save_LIBS
=$LIBS
27515 cat >conftest.
$ac_ext <<_ACEOF
27518 cat confdefs.h
>>conftest.
$ac_ext
27519 cat >>conftest.
$ac_ext <<_ACEOF
27520 /* end confdefs.h. */
27522 /* Override any gcc2 internal prototype to avoid an error. */
27526 /* We use char because int might match the return type of a gcc2
27527 builtin and then its argument prototype would still apply. */
27528 char gdk_im_open ();
27537 rm -f conftest.
$ac_objext conftest
$ac_exeext
27538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27539 (eval $ac_link) 2>conftest.er1
27541 grep -v '^ *+' conftest.er1
>conftest.err
27543 cat conftest.err
>&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } &&
27546 { ac_try
='test -z "$ac_c_werror_flag"
27547 || test ! -s conftest.err'
27548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27549 (eval $ac_try) 2>&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); }; } &&
27553 { ac_try
='test -s conftest$ac_exeext'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; }; then
27559 ac_cv_lib_gdk_gdk_im_open
=yes
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.
$ac_ext >&5
27564 ac_cv_lib_gdk_gdk_im_open
=no
27566 rm -f conftest.err conftest.
$ac_objext \
27567 conftest
$ac_exeext conftest.
$ac_ext
27568 LIBS
=$ac_check_lib_save_LIBS
27570 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27571 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27572 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27573 cat >>confdefs.h
<<\_ACEOF
27580 if test "$USE_DARWIN" != 1; then
27582 for ac_func
in poll
27584 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27585 echo "$as_me:$LINENO: checking for $ac_func" >&5
27586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27587 if eval "test \"\${$as_ac_var+set}\" = set"; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 cat >conftest.
$ac_ext <<_ACEOF
27593 cat confdefs.h
>>conftest.
$ac_ext
27594 cat >>conftest.
$ac_ext <<_ACEOF
27595 /* end confdefs.h. */
27596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27598 #define $ac_func innocuous_$ac_func
27600 /* System header to define __stub macros and hopefully few prototypes,
27601 which can conflict with char $ac_func (); below.
27602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27603 <limits.h> exists even on freestanding compilers. */
27606 # include <limits.h>
27608 # include <assert.h>
27613 /* Override any gcc2 internal prototype to avoid an error. */
27618 /* We use char because int might match the return type of a gcc2
27619 builtin and then its argument prototype would still apply. */
27621 /* The GNU C library defines this for functions which it implements
27622 to always fail with ENOSYS. Some functions are actually named
27623 something starting with __ and the normal name is an alias. */
27624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27627 char (*f) () = $ac_func;
27636 return f != $ac_func;
27641 rm -f conftest.
$ac_objext conftest
$ac_exeext
27642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27643 (eval $ac_link) 2>conftest.er1
27645 grep -v '^ *+' conftest.er1
>conftest.err
27647 cat conftest.err
>&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try
='test -z "$ac_c_werror_flag"
27651 || test ! -s conftest.err'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; } &&
27657 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
27663 eval "$as_ac_var=yes"
27665 echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.
$ac_ext >&5
27668 eval "$as_ac_var=no"
27670 rm -f conftest.err conftest.
$ac_objext \
27671 conftest
$ac_exeext conftest.
$ac_ext
27673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27675 if test `eval echo '${'$as_ac_var'}'` = yes; then
27676 cat >>confdefs.h
<<_ACEOF
27677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27686 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27687 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27689 AFMINSTALL
=afminstall
27693 if test "$wxUSE_GPE" = "yes"; then
27694 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27695 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27698 for ac_dir
in $SEARCH_LIB;
27700 for ac_extension
in a so sl dylib dll.a
; do
27701 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27702 ac_find_libraries
=$ac_dir
27708 if test "$ac_find_libraries" != "" ; then
27710 if test "$ac_find_libraries" = "default location"; then
27713 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27715 if test $result = 0; then
27718 ac_path_to_link
=" -L$ac_find_libraries"
27722 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27724 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27725 echo "${ECHO_T}found in $ac_find_libraries" >&6
27727 echo "$as_me:$LINENO: result: not found" >&5
27728 echo "${ECHO_T}not found" >&6
27734 if test "$wxUSE_MGL" = 1; then
27735 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27736 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27737 if test "x$MGL_ROOT" = x
; then
27738 echo "$as_me:$LINENO: result: not found" >&5
27739 echo "${ECHO_T}not found" >&6
27740 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27741 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27742 { (exit 1); exit 1; }; }
27744 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27745 echo "${ECHO_T}$MGL_ROOT" >&6
27748 echo "$as_me:$LINENO: checking for libmgl location" >&5
27749 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27752 if test "x$wxUSE_SHARED" = xyes
; then
27753 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27755 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27759 mgl_os_candidates
="dos32/dj2"
27762 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27763 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27764 { (exit 1); exit 1; }; }
27770 for mgl_os_i
in $mgl_os_candidates ; do
27771 if test "x$mgl_os" = x
; then
27772 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27773 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27774 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27779 if test "x$mgl_lib_type" = x
; then
27780 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27781 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27782 mgl_lib_type
=release
27789 if test "x$mgl_os" = x
; then
27790 echo "$as_me:$LINENO: result: not found" >&5
27791 echo "${ECHO_T}not found" >&6
27792 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27793 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27794 { (exit 1); exit 1; }; }
27796 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27797 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27799 wxUSE_UNIVERSAL
="yes"
27801 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27802 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27804 AFMINSTALL
=afminstall
27809 if test "$wxUSE_DFB" = 1; then
27812 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27813 if test -n "$ac_tool_prefix"; then
27814 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27815 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27816 echo "$as_me:$LINENO: checking for $ac_word" >&5
27817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27818 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 case $PKG_CONFIG in
27823 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27827 for as_dir
in $PATH
27830 test -z "$as_dir" && as_dir
=.
27831 for ac_exec_ext
in '' $ac_executable_extensions; do
27832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27833 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27843 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27845 if test -n "$PKG_CONFIG"; then
27846 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27847 echo "${ECHO_T}$PKG_CONFIG" >&6
27849 echo "$as_me:$LINENO: result: no" >&5
27850 echo "${ECHO_T}no" >&6
27854 if test -z "$ac_cv_path_PKG_CONFIG"; then
27855 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27856 # Extract the first word of "pkg-config", so it can be a program name with args.
27857 set dummy pkg
-config; ac_word
=$2
27858 echo "$as_me:$LINENO: checking for $ac_word" >&5
27859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27860 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
27861 echo $ECHO_N "(cached) $ECHO_C" >&6
27863 case $ac_pt_PKG_CONFIG in
27865 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27869 for as_dir
in $PATH
27872 test -z "$as_dir" && as_dir
=.
27873 for ac_exec_ext
in '' $ac_executable_extensions; do
27874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27875 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27885 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27887 if test -n "$ac_pt_PKG_CONFIG"; then
27888 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
27889 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
27891 echo "$as_me:$LINENO: result: no" >&5
27892 echo "${ECHO_T}no" >&6
27895 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27897 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27901 if test -n "$PKG_CONFIG"; then
27902 _pkg_min_version
=0.9.0
27903 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
27904 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
27905 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27906 echo "$as_me:$LINENO: result: yes" >&5
27907 echo "${ECHO_T}yes" >&6
27909 echo "$as_me:$LINENO: result: no" >&5
27910 echo "${ECHO_T}no" >&6
27918 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
27919 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
27921 if test -n "$PKG_CONFIG"; then
27922 if test -n "$DIRECTFB_CFLAGS"; then
27923 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
27925 if test -n "$PKG_CONFIG" && \
27926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27927 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; then
27931 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
27939 if test -n "$PKG_CONFIG"; then
27940 if test -n "$DIRECTFB_LIBS"; then
27941 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
27943 if test -n "$PKG_CONFIG" && \
27944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27945 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; then
27949 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
27960 if test $pkg_failed = yes; then
27962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27963 _pkg_short_errors_supported
=yes
27965 _pkg_short_errors_supported
=no
27967 if test $_pkg_short_errors_supported = yes; then
27968 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
27970 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
27972 # Put the nasty error message in config.log where it belongs
27973 echo "$DIRECTFB_PKG_ERRORS" >&5
27976 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
27977 echo "$as_me: error: DirectFB not found." >&2;}
27978 { (exit 1); exit 1; }; }
27981 elif test $pkg_failed = untried
; then
27983 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
27984 echo "$as_me: error: DirectFB not found." >&2;}
27985 { (exit 1); exit 1; }; }
27989 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
27990 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
27991 echo "$as_me:$LINENO: result: yes" >&5
27992 echo "${ECHO_T}yes" >&6
27994 wxUSE_UNIVERSAL
="yes"
27995 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
27996 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
28003 if test "$wxUSE_MICROWIN" = 1; then
28004 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28005 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28006 if test "x$MICROWINDOWS" = x
; then
28007 echo "$as_me:$LINENO: result: not found" >&5
28008 echo "${ECHO_T}not found" >&6
28009 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28010 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28011 { (exit 1); exit 1; }; }
28013 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28014 echo "${ECHO_T}$MICROWINDOWS" >&6
28017 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28018 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28019 echo "${ECHO_T}MicroWindows' libraries found." >&6
28021 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28022 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28023 { (exit 1); exit 1; }; }
28026 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28027 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28029 wxUSE_UNIVERSAL
="yes"
28031 AFMINSTALL
=afminstall
28033 GUIDIST
=MICROWIN_DIST
28035 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28038 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28039 echo "$as_me:$LINENO: checking for X" >&5
28040 echo $ECHO_N "checking for X... $ECHO_C" >&6
28043 # Check whether --with-x or --without-x was given.
28044 if test "${with_x+set}" = set; then
28048 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28049 if test "x$with_x" = xno
; then
28050 # The user explicitly disabled X.
28053 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28054 # Both variables are already set.
28057 if test "${ac_cv_have_x+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 # One or both of the vars are not set, and there is no cached value.
28061 ac_x_includes
=no ac_x_libraries
=no
28062 rm -fr conftest.dir
28063 if mkdir conftest.dir
; then
28065 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28066 cat >Imakefile
<<'_ACEOF'
28068 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28070 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28071 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28072 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28073 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28074 for ac_extension
in a so sl
; do
28075 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28076 test -f $ac_im_libdir/libX11.
$ac_extension; then
28077 ac_im_usrlibdir
=$ac_im_libdir; break
28080 # Screen out bogus values from the imake configuration. They are
28081 # bogus both because they are the default anyway, and because
28082 # using them would break gcc on systems where it needs fixed includes.
28083 case $ac_im_incroot in
28085 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28087 case $ac_im_usrlibdir in
28088 /usr
/lib
| /lib
) ;;
28089 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28093 rm -fr conftest.dir
28096 # Standard set of common directories for X headers.
28097 # Check X11 before X11Rn because it is often a symlink to the current release.
28109 /usr/local/X11/include
28110 /usr/local/X11R6/include
28111 /usr/local/X11R5/include
28112 /usr/local/X11R4/include
28114 /usr/local/include/X11
28115 /usr/local/include/X11R6
28116 /usr/local/include/X11R5
28117 /usr/local/include/X11R4
28121 /usr/XFree86/include/X11
28125 /usr/unsupported/include
28126 /usr/athena/include
28127 /usr/local/x11r5/include
28128 /usr/lpp/Xamples/include
28130 /usr/openwin/include
28131 /usr/openwin/share/include'
28133 if test "$ac_x_includes" = no
; then
28134 # Guess where to find include files, by looking for Intrinsic.h.
28135 # First, try using that file with no special directory specified.
28136 cat >conftest.
$ac_ext <<_ACEOF
28139 cat confdefs.h
>>conftest.
$ac_ext
28140 cat >>conftest.
$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142 #include <X11/Intrinsic.h>
28144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28145 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28147 grep -v '^ *+' conftest.er1
>conftest.err
28149 cat conftest.err
>&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); } >/dev
/null
; then
28152 if test -s conftest.err
; then
28153 ac_cpp_err
=$ac_c_preproc_warn_flag
28154 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28161 if test -z "$ac_cpp_err"; then
28162 # We can compile using X headers with no special include directory.
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.
$ac_ext >&5
28168 for ac_dir
in $ac_x_header_dirs; do
28169 if test -r "$ac_dir/X11/Intrinsic.h"; then
28170 ac_x_includes
=$ac_dir
28175 rm -f conftest.err conftest.
$ac_ext
28176 fi # $ac_x_includes = no
28178 if test "$ac_x_libraries" = no
; then
28179 # Check for the libraries.
28180 # See if we find them without any special options.
28181 # Don't add to $LIBS permanently.
28184 cat >conftest.
$ac_ext <<_ACEOF
28187 cat confdefs.h
>>conftest.
$ac_ext
28188 cat >>conftest.
$ac_ext <<_ACEOF
28189 /* end confdefs.h. */
28190 #include <X11/Intrinsic.h>
28199 rm -f conftest.
$ac_objext conftest
$ac_exeext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28201 (eval $ac_link) 2>conftest.er1
28203 grep -v '^ *+' conftest.er1
>conftest.err
28205 cat conftest.err
>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try
='test -z "$ac_c_werror_flag"
28209 || test ! -s conftest.err'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; } &&
28215 { ac_try
='test -s conftest$ac_exeext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28222 # We can link X programs with no special library path.
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.
$ac_ext >&5
28229 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28231 # Don't even attempt the hair of trying to link an X program!
28232 for ac_extension
in a so sl
; do
28233 if test -r $ac_dir/libXt.
$ac_extension; then
28234 ac_x_libraries
=$ac_dir
28240 rm -f conftest.err conftest.
$ac_objext \
28241 conftest
$ac_exeext conftest.
$ac_ext
28242 fi # $ac_x_libraries = no
28244 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28245 # Didn't find X anywhere. Cache the known absence of X.
28246 ac_cv_have_x
="have_x=no"
28248 # Record where we found X for the cache.
28249 ac_cv_have_x
="have_x=yes \
28250 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28255 eval "$ac_cv_have_x"
28258 if test "$have_x" != yes; then
28259 echo "$as_me:$LINENO: result: $have_x" >&5
28260 echo "${ECHO_T}$have_x" >&6
28263 # If each of the values was on the command line, it overrides each guess.
28264 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28265 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28266 # Update the cache value to reflect the command line values.
28267 ac_cv_have_x
="have_x=yes \
28268 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28269 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28270 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28273 if test "$no_x" = yes; then
28274 # Not all programs may use this symbol, but it does not hurt to define it.
28276 cat >>confdefs.h
<<\_ACEOF
28277 #define X_DISPLAY_MISSING 1
28280 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28282 if test -n "$x_includes"; then
28283 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28286 # It would also be nice to do this for all -L options, not just this one.
28287 if test -n "$x_libraries"; then
28288 X_LIBS
="$X_LIBS -L$x_libraries"
28289 # For Solaris; some versions of Sun CC require a space after -R and
28290 # others require no space. Words are not sufficient . . . .
28291 case `(uname -sr) 2>/dev/null` in
28293 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28294 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28295 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28296 cat >conftest.
$ac_ext <<_ACEOF
28299 cat confdefs.h
>>conftest.
$ac_ext
28300 cat >>conftest.
$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28311 rm -f conftest.
$ac_objext conftest
$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>conftest.er1
28315 grep -v '^ *+' conftest.er1
>conftest.err
28317 cat conftest.err
>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } &&
28320 { ac_try
='test -z "$ac_c_werror_flag"
28321 || test ! -s conftest.err'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; } &&
28327 { ac_try
='test -s conftest$ac_exeext'
28328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329 (eval $ac_try) 2>&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); }; }; then
28335 echo "$as_me: failed program was:" >&5
28336 sed 's/^/| /' conftest.
$ac_ext >&5
28340 rm -f conftest.err conftest.
$ac_objext \
28341 conftest
$ac_exeext conftest.
$ac_ext
28342 if test $ac_R_nospace = yes; then
28343 echo "$as_me:$LINENO: result: no" >&5
28344 echo "${ECHO_T}no" >&6
28345 X_LIBS
="$X_LIBS -R$x_libraries"
28347 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28348 cat >conftest.
$ac_ext <<_ACEOF
28351 cat confdefs.h
>>conftest.
$ac_ext
28352 cat >>conftest.
$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28363 rm -f conftest.
$ac_objext conftest
$ac_exeext
28364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28365 (eval $ac_link) 2>conftest.er1
28367 grep -v '^ *+' conftest.er1
>conftest.err
28369 cat conftest.err
>&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try
='test -z "$ac_c_werror_flag"
28373 || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try
='test -s conftest$ac_exeext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.
$ac_ext >&5
28392 rm -f conftest.err conftest.
$ac_objext \
28393 conftest
$ac_exeext conftest.
$ac_ext
28394 if test $ac_R_space = yes; then
28395 echo "$as_me:$LINENO: result: yes" >&5
28396 echo "${ECHO_T}yes" >&6
28397 X_LIBS
="$X_LIBS -R $x_libraries"
28399 echo "$as_me:$LINENO: result: neither works" >&5
28400 echo "${ECHO_T}neither works" >&6
28403 LIBS
=$ac_xsave_LIBS
28407 # Check for system-dependent libraries X programs must link with.
28408 # Do this before checking for the system-independent R6 libraries
28409 # (-lICE), since we may need -lsocket or whatever for X linking.
28411 if test "$ISC" = yes; then
28412 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28414 # Martyn Johnson says this is needed for Ultrix, if the X
28415 # libraries were built with DECnet support. And Karl Berry says
28416 # the Alpha needs dnet_stub (dnet does not exist).
28417 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28418 cat >conftest.
$ac_ext <<_ACEOF
28421 cat confdefs.h
>>conftest.
$ac_ext
28422 cat >>conftest.
$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28425 /* Override any gcc2 internal prototype to avoid an error. */
28429 /* We use char because int might match the return type of a gcc2
28430 builtin and then its argument prototype would still apply. */
28431 char XOpenDisplay ();
28440 rm -f conftest.
$ac_objext conftest
$ac_exeext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28442 (eval $ac_link) 2>conftest.er1
28444 grep -v '^ *+' conftest.er1
>conftest.err
28446 cat conftest.err
>&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try
='test -z "$ac_c_werror_flag"
28450 || test ! -s conftest.err'
28451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28452 (eval $ac_try) 2>&5
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); }; } &&
28456 { ac_try
='test -s conftest$ac_exeext'
28457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28458 (eval $ac_try) 2>&5
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); }; }; then
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.
$ac_ext >&5
28467 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28468 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28469 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28470 echo $ECHO_N "(cached) $ECHO_C" >&6
28472 ac_check_lib_save_LIBS
=$LIBS
28473 LIBS
="-ldnet $LIBS"
28474 cat >conftest.
$ac_ext <<_ACEOF
28477 cat confdefs.h
>>conftest.
$ac_ext
28478 cat >>conftest.
$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28481 /* Override any gcc2 internal prototype to avoid an error. */
28485 /* We use char because int might match the return type of a gcc2
28486 builtin and then its argument prototype would still apply. */
28496 rm -f conftest.
$ac_objext conftest
$ac_exeext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28498 (eval $ac_link) 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"
28506 || test ! -s conftest.err'
28507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28508 (eval $ac_try) 2>&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); }; } &&
28512 { ac_try
='test -s conftest$ac_exeext'
28513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28514 (eval $ac_try) 2>&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); }; }; then
28518 ac_cv_lib_dnet_dnet_ntoa
=yes
28520 echo "$as_me: failed program was:" >&5
28521 sed 's/^/| /' conftest.
$ac_ext >&5
28523 ac_cv_lib_dnet_dnet_ntoa
=no
28525 rm -f conftest.err conftest.
$ac_objext \
28526 conftest
$ac_exeext conftest.
$ac_ext
28527 LIBS
=$ac_check_lib_save_LIBS
28529 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28530 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28531 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28532 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28535 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28536 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28537 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28538 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28539 echo $ECHO_N "(cached) $ECHO_C" >&6
28541 ac_check_lib_save_LIBS
=$LIBS
28542 LIBS
="-ldnet_stub $LIBS"
28543 cat >conftest.
$ac_ext <<_ACEOF
28546 cat confdefs.h
>>conftest.
$ac_ext
28547 cat >>conftest.
$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28550 /* Override any gcc2 internal prototype to avoid an error. */
28554 /* We use char because int might match the return type of a gcc2
28555 builtin and then its argument prototype would still apply. */
28565 rm -f conftest.
$ac_objext conftest
$ac_exeext
28566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28567 (eval $ac_link) 2>conftest.er1
28569 grep -v '^ *+' conftest.er1
>conftest.err
28571 cat conftest.err
>&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } &&
28574 { ac_try
='test -z "$ac_c_werror_flag"
28575 || 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_exeext'
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
28587 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.
$ac_ext >&5
28592 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28594 rm -f conftest.err conftest.
$ac_objext \
28595 conftest
$ac_exeext conftest.
$ac_ext
28596 LIBS
=$ac_check_lib_save_LIBS
28598 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28599 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28600 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28601 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28606 rm -f conftest.err conftest.
$ac_objext \
28607 conftest
$ac_exeext conftest.
$ac_ext
28608 LIBS
="$ac_xsave_LIBS"
28610 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28611 # to get the SysV transport functions.
28612 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28614 # The nsl library prevents programs from opening the X display
28615 # on Irix 5.2, according to T.E. Dickey.
28616 # The functions gethostbyname, getservbyname, and inet_addr are
28617 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28618 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28619 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28620 if test "${ac_cv_func_gethostbyname+set}" = set; then
28621 echo $ECHO_N "(cached) $ECHO_C" >&6
28623 cat >conftest.
$ac_ext <<_ACEOF
28626 cat confdefs.h
>>conftest.
$ac_ext
28627 cat >>conftest.
$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28629 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28631 #define gethostbyname innocuous_gethostbyname
28633 /* System header to define __stub macros and hopefully few prototypes,
28634 which can conflict with char gethostbyname (); below.
28635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28636 <limits.h> exists even on freestanding compilers. */
28639 # include <limits.h>
28641 # include <assert.h>
28644 #undef gethostbyname
28646 /* Override any gcc2 internal prototype to avoid an error. */
28651 /* We use char because int might match the return type of a gcc2
28652 builtin and then its argument prototype would still apply. */
28653 char gethostbyname ();
28654 /* The GNU C library defines this for functions which it implements
28655 to always fail with ENOSYS. Some functions are actually named
28656 something starting with __ and the normal name is an alias. */
28657 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28660 char (*f) () = gethostbyname;
28669 return f != gethostbyname;
28674 rm -f conftest.
$ac_objext conftest
$ac_exeext
28675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28676 (eval $ac_link) 2>conftest.er1
28678 grep -v '^ *+' conftest.er1
>conftest.err
28680 cat conftest.err
>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); } &&
28683 { ac_try
='test -z "$ac_c_werror_flag"
28684 || test ! -s conftest.err'
28685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686 (eval $ac_try) 2>&5
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); }; } &&
28690 { ac_try
='test -s conftest$ac_exeext'
28691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28692 (eval $ac_try) 2>&5
28694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28695 (exit $ac_status); }; }; then
28696 ac_cv_func_gethostbyname
=yes
28698 echo "$as_me: failed program was:" >&5
28699 sed 's/^/| /' conftest.
$ac_ext >&5
28701 ac_cv_func_gethostbyname
=no
28703 rm -f conftest.err conftest.
$ac_objext \
28704 conftest
$ac_exeext conftest.
$ac_ext
28706 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28707 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28709 if test $ac_cv_func_gethostbyname = no
; then
28710 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28711 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28712 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28715 ac_check_lib_save_LIBS
=$LIBS
28717 cat >conftest.
$ac_ext <<_ACEOF
28720 cat confdefs.h
>>conftest.
$ac_ext
28721 cat >>conftest.
$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28724 /* Override any gcc2 internal prototype to avoid an error. */
28728 /* We use char because int might match the return type of a gcc2
28729 builtin and then its argument prototype would still apply. */
28730 char gethostbyname ();
28739 rm -f conftest.
$ac_objext conftest
$ac_exeext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28741 (eval $ac_link) 2>conftest.er1
28743 grep -v '^ *+' conftest.er1
>conftest.err
28745 cat conftest.err
>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try
='test -z "$ac_c_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try
='test -s conftest$ac_exeext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_lib_nsl_gethostbyname
=yes
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.
$ac_ext >&5
28766 ac_cv_lib_nsl_gethostbyname
=no
28768 rm -f conftest.err conftest.
$ac_objext \
28769 conftest
$ac_exeext conftest.
$ac_ext
28770 LIBS
=$ac_check_lib_save_LIBS
28772 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28773 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28774 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28775 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28778 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28779 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28780 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28781 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 ac_check_lib_save_LIBS
=$LIBS
28786 cat >conftest.
$ac_ext <<_ACEOF
28789 cat confdefs.h
>>conftest.
$ac_ext
28790 cat >>conftest.
$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28793 /* Override any gcc2 internal prototype to avoid an error. */
28797 /* We use char because int might match the return type of a gcc2
28798 builtin and then its argument prototype would still apply. */
28799 char gethostbyname ();
28808 rm -f conftest.
$ac_objext conftest
$ac_exeext
28809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28810 (eval $ac_link) 2>conftest.er1
28812 grep -v '^ *+' conftest.er1
>conftest.err
28814 cat conftest.err
>&5
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); } &&
28817 { ac_try
='test -z "$ac_c_werror_flag"
28818 || test ! -s conftest.err'
28819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28820 (eval $ac_try) 2>&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); }; } &&
28824 { ac_try
='test -s conftest$ac_exeext'
28825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28826 (eval $ac_try) 2>&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; }; then
28830 ac_cv_lib_bsd_gethostbyname
=yes
28832 echo "$as_me: failed program was:" >&5
28833 sed 's/^/| /' conftest.
$ac_ext >&5
28835 ac_cv_lib_bsd_gethostbyname
=no
28837 rm -f conftest.err conftest.
$ac_objext \
28838 conftest
$ac_exeext conftest.
$ac_ext
28839 LIBS
=$ac_check_lib_save_LIBS
28841 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28842 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28843 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28844 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28850 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28851 # socket/setsockopt and other routines are undefined under SCO ODT
28852 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28853 # on later versions), says Simon Leinen: it contains gethostby*
28854 # variants that don't use the name server (or something). -lsocket
28855 # must be given before -lnsl if both are needed. We assume that
28856 # if connect needs -lnsl, so does gethostbyname.
28857 echo "$as_me:$LINENO: checking for connect" >&5
28858 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28859 if test "${ac_cv_func_connect+set}" = set; then
28860 echo $ECHO_N "(cached) $ECHO_C" >&6
28862 cat >conftest.
$ac_ext <<_ACEOF
28865 cat confdefs.h
>>conftest.
$ac_ext
28866 cat >>conftest.
$ac_ext <<_ACEOF
28867 /* end confdefs.h. */
28868 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28870 #define connect innocuous_connect
28872 /* System header to define __stub macros and hopefully few prototypes,
28873 which can conflict with char connect (); below.
28874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28875 <limits.h> exists even on freestanding compilers. */
28878 # include <limits.h>
28880 # include <assert.h>
28885 /* Override any gcc2 internal prototype to avoid an error. */
28890 /* We use char because int might match the return type of a gcc2
28891 builtin and then its argument prototype would still apply. */
28893 /* The GNU C library defines this for functions which it implements
28894 to always fail with ENOSYS. Some functions are actually named
28895 something starting with __ and the normal name is an alias. */
28896 #if defined (__stub_connect) || defined (__stub___connect)
28899 char (*f) () = connect;
28908 return f != connect;
28913 rm -f conftest.
$ac_objext conftest
$ac_exeext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915 (eval $ac_link) 2>conftest.er1
28917 grep -v '^ *+' conftest.er1
>conftest.err
28919 cat conftest.err
>&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try
='test -z "$ac_c_werror_flag"
28923 || test ! -s conftest.err'
28924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925 (eval $ac_try) 2>&5
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); }; } &&
28929 { ac_try
='test -s conftest$ac_exeext'
28930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931 (eval $ac_try) 2>&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); }; }; then
28935 ac_cv_func_connect
=yes
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.
$ac_ext >&5
28940 ac_cv_func_connect
=no
28942 rm -f conftest.err conftest.
$ac_objext \
28943 conftest
$ac_exeext conftest.
$ac_ext
28945 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28946 echo "${ECHO_T}$ac_cv_func_connect" >&6
28948 if test $ac_cv_func_connect = no
; then
28949 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28950 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28951 if test "${ac_cv_lib_socket_connect+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 ac_check_lib_save_LIBS
=$LIBS
28955 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28956 cat >conftest.
$ac_ext <<_ACEOF
28959 cat confdefs.h
>>conftest.
$ac_ext
28960 cat >>conftest.
$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28963 /* Override any gcc2 internal prototype to avoid an error. */
28967 /* We use char because int might match the return type of a gcc2
28968 builtin and then its argument prototype would still apply. */
28978 rm -f conftest.
$ac_objext conftest
$ac_exeext
28979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28980 (eval $ac_link) 2>conftest.er1
28982 grep -v '^ *+' conftest.er1
>conftest.err
28984 cat conftest.err
>&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); } &&
28987 { ac_try
='test -z "$ac_c_werror_flag"
28988 || test ! -s conftest.err'
28989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28990 (eval $ac_try) 2>&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); }; } &&
28994 { ac_try
='test -s conftest$ac_exeext'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 ac_cv_lib_socket_connect
=yes
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.
$ac_ext >&5
29005 ac_cv_lib_socket_connect
=no
29007 rm -f conftest.err conftest.
$ac_objext \
29008 conftest
$ac_exeext conftest.
$ac_ext
29009 LIBS
=$ac_check_lib_save_LIBS
29011 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29012 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29013 if test $ac_cv_lib_socket_connect = yes; then
29014 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29019 # Guillermo Gomez says -lposix is necessary on A/UX.
29020 echo "$as_me:$LINENO: checking for remove" >&5
29021 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29022 if test "${ac_cv_func_remove+set}" = set; then
29023 echo $ECHO_N "(cached) $ECHO_C" >&6
29025 cat >conftest.
$ac_ext <<_ACEOF
29028 cat confdefs.h
>>conftest.
$ac_ext
29029 cat >>conftest.
$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29033 #define remove innocuous_remove
29035 /* System header to define __stub macros and hopefully few prototypes,
29036 which can conflict with char remove (); below.
29037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29038 <limits.h> exists even on freestanding compilers. */
29041 # include <limits.h>
29043 # include <assert.h>
29048 /* Override any gcc2 internal prototype to avoid an error. */
29053 /* We use char because int might match the return type of a gcc2
29054 builtin and then its argument prototype would still apply. */
29056 /* The GNU C library defines this for functions which it implements
29057 to always fail with ENOSYS. Some functions are actually named
29058 something starting with __ and the normal name is an alias. */
29059 #if defined (__stub_remove) || defined (__stub___remove)
29062 char (*f) () = remove;
29071 return f != remove;
29076 rm -f conftest.
$ac_objext conftest
$ac_exeext
29077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29078 (eval $ac_link) 2>conftest.er1
29080 grep -v '^ *+' conftest.er1
>conftest.err
29082 cat conftest.err
>&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); } &&
29085 { ac_try
='test -z "$ac_c_werror_flag"
29086 || test ! -s conftest.err'
29087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29088 (eval $ac_try) 2>&5
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); }; } &&
29092 { ac_try
='test -s conftest$ac_exeext'
29093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29094 (eval $ac_try) 2>&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; }; then
29098 ac_cv_func_remove
=yes
29100 echo "$as_me: failed program was:" >&5
29101 sed 's/^/| /' conftest.
$ac_ext >&5
29103 ac_cv_func_remove
=no
29105 rm -f conftest.err conftest.
$ac_objext \
29106 conftest
$ac_exeext conftest.
$ac_ext
29108 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29109 echo "${ECHO_T}$ac_cv_func_remove" >&6
29111 if test $ac_cv_func_remove = no
; then
29112 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29113 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29114 if test "${ac_cv_lib_posix_remove+set}" = set; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 ac_check_lib_save_LIBS
=$LIBS
29118 LIBS
="-lposix $LIBS"
29119 cat >conftest.
$ac_ext <<_ACEOF
29122 cat confdefs.h
>>conftest.
$ac_ext
29123 cat >>conftest.
$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29126 /* Override any gcc2 internal prototype to avoid an error. */
29130 /* We use char because int might match the return type of a gcc2
29131 builtin and then its argument prototype would still apply. */
29141 rm -f conftest.
$ac_objext conftest
$ac_exeext
29142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29143 (eval $ac_link) 2>conftest.er1
29145 grep -v '^ *+' conftest.er1
>conftest.err
29147 cat conftest.err
>&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } &&
29150 { ac_try
='test -z "$ac_c_werror_flag"
29151 || test ! -s conftest.err'
29152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29153 (eval $ac_try) 2>&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; } &&
29157 { ac_try
='test -s conftest$ac_exeext'
29158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29159 (eval $ac_try) 2>&5
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); }; }; then
29163 ac_cv_lib_posix_remove
=yes
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.
$ac_ext >&5
29168 ac_cv_lib_posix_remove
=no
29170 rm -f conftest.err conftest.
$ac_objext \
29171 conftest
$ac_exeext conftest.
$ac_ext
29172 LIBS
=$ac_check_lib_save_LIBS
29174 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29175 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29176 if test $ac_cv_lib_posix_remove = yes; then
29177 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29182 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29183 echo "$as_me:$LINENO: checking for shmat" >&5
29184 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29185 if test "${ac_cv_func_shmat+set}" = set; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 cat >conftest.
$ac_ext <<_ACEOF
29191 cat confdefs.h
>>conftest.
$ac_ext
29192 cat >>conftest.
$ac_ext <<_ACEOF
29193 /* end confdefs.h. */
29194 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29196 #define shmat innocuous_shmat
29198 /* System header to define __stub macros and hopefully few prototypes,
29199 which can conflict with char shmat (); below.
29200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29201 <limits.h> exists even on freestanding compilers. */
29204 # include <limits.h>
29206 # include <assert.h>
29211 /* Override any gcc2 internal prototype to avoid an error. */
29216 /* We use char because int might match the return type of a gcc2
29217 builtin and then its argument prototype would still apply. */
29219 /* The GNU C library defines this for functions which it implements
29220 to always fail with ENOSYS. Some functions are actually named
29221 something starting with __ and the normal name is an alias. */
29222 #if defined (__stub_shmat) || defined (__stub___shmat)
29225 char (*f) () = shmat;
29239 rm -f conftest.
$ac_objext conftest
$ac_exeext
29240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29241 (eval $ac_link) 2>conftest.er1
29243 grep -v '^ *+' conftest.er1
>conftest.err
29245 cat conftest.err
>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); } &&
29248 { ac_try
='test -z "$ac_c_werror_flag"
29249 || test ! -s conftest.err'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; } &&
29255 { ac_try
='test -s conftest$ac_exeext'
29256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29257 (eval $ac_try) 2>&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); }; }; then
29261 ac_cv_func_shmat
=yes
29263 echo "$as_me: failed program was:" >&5
29264 sed 's/^/| /' conftest.
$ac_ext >&5
29266 ac_cv_func_shmat
=no
29268 rm -f conftest.err conftest.
$ac_objext \
29269 conftest
$ac_exeext conftest.
$ac_ext
29271 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29272 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29274 if test $ac_cv_func_shmat = no
; then
29275 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29276 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29277 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29280 ac_check_lib_save_LIBS
=$LIBS
29282 cat >conftest.
$ac_ext <<_ACEOF
29285 cat confdefs.h
>>conftest.
$ac_ext
29286 cat >>conftest.
$ac_ext <<_ACEOF
29287 /* end confdefs.h. */
29289 /* Override any gcc2 internal prototype to avoid an error. */
29293 /* We use char because int might match the return type of a gcc2
29294 builtin and then its argument prototype would still apply. */
29304 rm -f conftest.
$ac_objext conftest
$ac_exeext
29305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29306 (eval $ac_link) 2>conftest.er1
29308 grep -v '^ *+' conftest.er1
>conftest.err
29310 cat conftest.err
>&5
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); } &&
29313 { ac_try
='test -z "$ac_c_werror_flag"
29314 || test ! -s conftest.err'
29315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316 (eval $ac_try) 2>&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); }; } &&
29320 { ac_try
='test -s conftest$ac_exeext'
29321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29322 (eval $ac_try) 2>&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); }; }; then
29326 ac_cv_lib_ipc_shmat
=yes
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.
$ac_ext >&5
29331 ac_cv_lib_ipc_shmat
=no
29333 rm -f conftest.err conftest.
$ac_objext \
29334 conftest
$ac_exeext conftest.
$ac_ext
29335 LIBS
=$ac_check_lib_save_LIBS
29337 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29338 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29339 if test $ac_cv_lib_ipc_shmat = yes; then
29340 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29346 # Check for libraries that X11R6 Xt/Xaw programs need.
29347 ac_save_LDFLAGS
=$LDFLAGS
29348 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29349 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29350 # check for ICE first), but we must link in the order -lSM -lICE or
29351 # we get undefined symbols. So assume we have SM if we have ICE.
29352 # These have to be linked with before -lX11, unlike the other
29353 # libraries we check for below, so use a different variable.
29354 # John Interrante, Karl Berry
29355 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29356 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29357 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29358 echo $ECHO_N "(cached) $ECHO_C" >&6
29360 ac_check_lib_save_LIBS
=$LIBS
29361 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29362 cat >conftest.
$ac_ext <<_ACEOF
29365 cat confdefs.h
>>conftest.
$ac_ext
29366 cat >>conftest.
$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29369 /* Override any gcc2 internal prototype to avoid an error. */
29373 /* We use char because int might match the return type of a gcc2
29374 builtin and then its argument prototype would still apply. */
29375 char IceConnectionNumber ();
29379 IceConnectionNumber ();
29384 rm -f conftest.
$ac_objext conftest
$ac_exeext
29385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29386 (eval $ac_link) 2>conftest.er1
29388 grep -v '^ *+' conftest.er1
>conftest.err
29390 cat conftest.err
>&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); } &&
29393 { ac_try
='test -z "$ac_c_werror_flag"
29394 || test ! -s conftest.err'
29395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396 (eval $ac_try) 2>&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; } &&
29400 { ac_try
='test -s conftest$ac_exeext'
29401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402 (eval $ac_try) 2>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); }; }; then
29406 ac_cv_lib_ICE_IceConnectionNumber
=yes
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.
$ac_ext >&5
29411 ac_cv_lib_ICE_IceConnectionNumber
=no
29413 rm -f conftest.err conftest.
$ac_objext \
29414 conftest
$ac_exeext conftest.
$ac_ext
29415 LIBS
=$ac_check_lib_save_LIBS
29417 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29418 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29419 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29420 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29423 LDFLAGS
=$ac_save_LDFLAGS
29428 if test "$no_x" = "yes"; then
29429 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29430 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29431 { (exit 1); exit 1; }; }
29434 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29435 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29436 AFMINSTALL
=afminstall
29437 COMPILED_X_PROGRAM
=0
29441 if test "$wxUSE_X11" = 1; then
29442 if test "$wxUSE_NANOX" = "yes"; then
29443 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29444 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29445 if test "x$MICROWIN" = x
; then
29446 echo "$as_me:$LINENO: result: not found" >&5
29447 echo "${ECHO_T}not found" >&6
29448 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29449 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29450 { (exit 1); exit 1; }; }
29452 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29453 echo "${ECHO_T}$MICROWIN" >&6
29454 cat >>confdefs.h
<<\_ACEOF
29455 #define wxUSE_NANOX 1
29461 if test "$wxUSE_UNICODE" = "yes"; then
29464 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29465 if test -n "$ac_tool_prefix"; then
29466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29467 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29468 echo "$as_me:$LINENO: checking for $ac_word" >&5
29469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29473 case $PKG_CONFIG in
29475 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29479 for as_dir
in $PATH
29482 test -z "$as_dir" && as_dir
=.
29483 for ac_exec_ext
in '' $ac_executable_extensions; do
29484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29485 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29495 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29497 if test -n "$PKG_CONFIG"; then
29498 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29499 echo "${ECHO_T}$PKG_CONFIG" >&6
29501 echo "$as_me:$LINENO: result: no" >&5
29502 echo "${ECHO_T}no" >&6
29506 if test -z "$ac_cv_path_PKG_CONFIG"; then
29507 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29508 # Extract the first word of "pkg-config", so it can be a program name with args.
29509 set dummy pkg
-config; ac_word
=$2
29510 echo "$as_me:$LINENO: checking for $ac_word" >&5
29511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29512 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 case $ac_pt_PKG_CONFIG in
29517 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29521 for as_dir
in $PATH
29524 test -z "$as_dir" && as_dir
=.
29525 for ac_exec_ext
in '' $ac_executable_extensions; do
29526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29527 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29537 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29539 if test -n "$ac_pt_PKG_CONFIG"; then
29540 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29541 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29543 echo "$as_me:$LINENO: result: no" >&5
29544 echo "${ECHO_T}no" >&6
29547 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29549 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29553 if test -n "$PKG_CONFIG"; then
29554 _pkg_min_version
=0.9.0
29555 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29556 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29557 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29558 echo "$as_me:$LINENO: result: yes" >&5
29559 echo "${ECHO_T}yes" >&6
29561 echo "$as_me:$LINENO: result: no" >&5
29562 echo "${ECHO_T}no" >&6
29570 echo "$as_me:$LINENO: checking for PANGOX" >&5
29571 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
29573 if test -n "$PKG_CONFIG"; then
29574 if test -n "$PANGOX_CFLAGS"; then
29575 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
29577 if test -n "$PKG_CONFIG" && \
29578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29579 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; then
29583 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
29591 if test -n "$PKG_CONFIG"; then
29592 if test -n "$PANGOX_LIBS"; then
29593 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
29595 if test -n "$PKG_CONFIG" && \
29596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29597 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; then
29601 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
29612 if test $pkg_failed = yes; then
29614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29615 _pkg_short_errors_supported
=yes
29617 _pkg_short_errors_supported
=no
29619 if test $_pkg_short_errors_supported = yes; then
29620 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
29622 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29624 # Put the nasty error message in config.log where it belongs
29625 echo "$PANGOX_PKG_ERRORS" >&5
29628 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29629 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29630 { (exit 1); exit 1; }; }
29633 elif test $pkg_failed = untried
; then
29635 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29636 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29637 { (exit 1); exit 1; }; }
29641 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
29642 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
29643 echo "$as_me:$LINENO: result: yes" >&5
29644 echo "${ECHO_T}yes" >&6
29646 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29647 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29648 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29653 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
29654 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
29656 if test -n "$PKG_CONFIG"; then
29657 if test -n "$PANGOFT2_CFLAGS"; then
29658 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
29660 if test -n "$PKG_CONFIG" && \
29661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29662 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665 (exit $ac_status); }; then
29666 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
29674 if test -n "$PKG_CONFIG"; then
29675 if test -n "$PANGOFT2_LIBS"; then
29676 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
29678 if test -n "$PKG_CONFIG" && \
29679 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29680 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; then
29684 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
29695 if test $pkg_failed = yes; then
29697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29698 _pkg_short_errors_supported
=yes
29700 _pkg_short_errors_supported
=no
29702 if test $_pkg_short_errors_supported = yes; then
29703 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
29705 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29707 # Put the nasty error message in config.log where it belongs
29708 echo "$PANGOFT2_PKG_ERRORS" >&5
29711 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29712 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29713 wxUSE_PRINTING_ARCHITECTURE
="no"
29716 elif test $pkg_failed = untried
; then
29718 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29719 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29720 wxUSE_PRINTING_ARCHITECTURE
="no"
29724 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
29725 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
29726 echo "$as_me:$LINENO: result: yes" >&5
29727 echo "${ECHO_T}yes" >&6
29729 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
29730 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29731 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29736 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
29737 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
29739 if test -n "$PKG_CONFIG"; then
29740 if test -n "$PANGOXFT_CFLAGS"; then
29741 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
29743 if test -n "$PKG_CONFIG" && \
29744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29745 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); }; then
29749 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
29757 if test -n "$PKG_CONFIG"; then
29758 if test -n "$PANGOXFT_LIBS"; then
29759 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
29761 if test -n "$PKG_CONFIG" && \
29762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29763 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); }; then
29767 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
29778 if test $pkg_failed = yes; then
29780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29781 _pkg_short_errors_supported
=yes
29783 _pkg_short_errors_supported
=no
29785 if test $_pkg_short_errors_supported = yes; then
29786 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
29788 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29790 # Put the nasty error message in config.log where it belongs
29791 echo "$PANGOXFT_PKG_ERRORS" >&5
29794 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29795 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29798 elif test $pkg_failed = untried
; then
29800 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29801 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29805 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
29806 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
29807 echo "$as_me:$LINENO: result: yes" >&5
29808 echo "${ECHO_T}yes" >&6
29810 cat >>confdefs.h
<<\_ACEOF
29811 #define HAVE_PANGO_XFT 1
29814 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
29815 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29816 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29820 LIBS
="$LIBS $PANGOX_LIBS"
29822 for ac_func
in pango_font_family_is_monospace
29824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29825 echo "$as_me:$LINENO: checking for $ac_func" >&5
29826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29827 if eval "test \"\${$as_ac_var+set}\" = set"; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29830 cat >conftest.
$ac_ext <<_ACEOF
29833 cat confdefs.h
>>conftest.
$ac_ext
29834 cat >>conftest.
$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29838 #define $ac_func innocuous_$ac_func
29840 /* System header to define __stub macros and hopefully few prototypes,
29841 which can conflict with char $ac_func (); below.
29842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29843 <limits.h> exists even on freestanding compilers. */
29846 # include <limits.h>
29848 # include <assert.h>
29853 /* Override any gcc2 internal prototype to avoid an error. */
29858 /* We use char because int might match the return type of a gcc2
29859 builtin and then its argument prototype would still apply. */
29861 /* The GNU C library defines this for functions which it implements
29862 to always fail with ENOSYS. Some functions are actually named
29863 something starting with __ and the normal name is an alias. */
29864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29867 char (*f) () = $ac_func;
29876 return f != $ac_func;
29881 rm -f conftest.
$ac_objext conftest
$ac_exeext
29882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29883 (eval $ac_link) 2>conftest.er1
29885 grep -v '^ *+' conftest.er1
>conftest.err
29887 cat conftest.err
>&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } &&
29890 { ac_try
='test -z "$ac_c_werror_flag"
29891 || test ! -s conftest.err'
29892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893 (eval $ac_try) 2>&5
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); }; } &&
29897 { ac_try
='test -s conftest$ac_exeext'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; }; then
29903 eval "$as_ac_var=yes"
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.
$ac_ext >&5
29908 eval "$as_ac_var=no"
29910 rm -f conftest.err conftest.
$ac_objext \
29911 conftest
$ac_exeext conftest.
$ac_ext
29913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29915 if test `eval echo '${'$as_ac_var'}'` = yes; then
29916 cat >>confdefs.h
<<_ACEOF
29917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29926 wxUSE_UNIVERSAL
="yes"
29928 if test "$wxUSE_NANOX" = "yes"; then
29929 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29930 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"
29931 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29933 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29940 if test "$wxUSE_MOTIF" = 1; then
29941 if test "$wxUSE_UNICODE" = "yes"; then
29942 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29943 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29944 { (exit 1); exit 1; }; }
29947 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29948 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29951 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29953 if test -f "$ac_dir/Xm/Xm.h"; then
29954 ac_find_includes
=$ac_dir
29959 if test "$ac_find_includes" != "" ; then
29960 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29961 echo "${ECHO_T}found in $ac_find_includes" >&6
29963 if test "x$ac_find_includes" = "x/usr/include"; then
29964 ac_path_to_include
=""
29966 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29968 if test $result = 0; then
29969 ac_path_to_include
=""
29971 ac_path_to_include
=" -I$ac_find_includes"
29975 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29977 save_CFLAGS
=$CFLAGS
29978 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29980 cat >conftest.
$ac_ext <<_ACEOF
29983 cat confdefs.h
>>conftest.
$ac_ext
29984 cat >>conftest.
$ac_ext <<_ACEOF
29985 /* end confdefs.h. */
29994 version = xmUseVersion;
30000 rm -f conftest.
$ac_objext
30001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30002 (eval $ac_compile) 2>conftest.er1
30004 grep -v '^ *+' conftest.er1
>conftest.err
30006 cat conftest.err
>&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } &&
30009 { ac_try
='test -z "$ac_c_werror_flag"
30010 || test ! -s conftest.err'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; } &&
30016 { ac_try
='test -s conftest.$ac_objext'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; }; then
30023 echo "$as_me:$LINENO: result: found in default search path" >&5
30024 echo "${ECHO_T}found in default search path" >&6
30025 COMPILED_X_PROGRAM
=1
30028 echo "$as_me: failed program was:" >&5
30029 sed 's/^/| /' conftest.
$ac_ext >&5
30032 echo "$as_me:$LINENO: result: no" >&5
30033 echo "${ECHO_T}no" >&6
30034 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30035 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30036 { (exit 1); exit 1; }; }
30040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30042 CFLAGS
=$save_CFLAGS
30046 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30047 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30050 for ac_dir
in $SEARCH_LIB;
30052 for ac_extension
in a so sl dylib dll.a
; do
30053 if test -f "$ac_dir/libXm.$ac_extension"; then
30054 ac_find_libraries
=$ac_dir
30061 if test "x$ac_find_libraries" != "x" ; then
30062 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30063 echo "${ECHO_T}found in $ac_find_libraries" >&6
30066 if test "$ac_find_libraries" = "default location"; then
30069 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30071 if test $result = 0; then
30074 ac_path_to_link
=" -L$ac_find_libraries"
30078 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30080 save_CFLAGS
=$CFLAGS
30081 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30083 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30085 cat >conftest.
$ac_ext <<_ACEOF
30088 cat confdefs.h
>>conftest.
$ac_ext
30089 cat >>conftest.
$ac_ext <<_ACEOF
30090 /* end confdefs.h. */
30099 version = xmUseVersion;
30105 rm -f conftest.
$ac_objext conftest
$ac_exeext
30106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30107 (eval $ac_link) 2>conftest.er1
30109 grep -v '^ *+' conftest.er1
>conftest.err
30111 cat conftest.err
>&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); } &&
30114 { ac_try
='test -z "$ac_c_werror_flag"
30115 || test ! -s conftest.err'
30116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30117 (eval $ac_try) 2>&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); }; } &&
30121 { ac_try
='test -s conftest$ac_exeext'
30122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30123 (eval $ac_try) 2>&5
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); }; }; then
30128 echo "$as_me:$LINENO: result: found in default search path" >&5
30129 echo "${ECHO_T}found in default search path" >&6
30130 COMPILED_X_PROGRAM
=1
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.
$ac_ext >&5
30137 echo "$as_me:$LINENO: result: no" >&5
30138 echo "${ECHO_T}no" >&6
30139 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30140 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30141 { (exit 1); exit 1; }; }
30145 rm -f conftest.err conftest.
$ac_objext \
30146 conftest
$ac_exeext conftest.
$ac_ext
30148 CFLAGS
=$save_CFLAGS
30152 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30153 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30157 for libp
in "" " -lXp"; do
30158 if test "$libs_found" = "0"; then
30159 for libsm_ice
in "" " -lSM -lICE"; do
30160 if test "$libs_found" = "0"; then
30162 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30163 save_CFLAGS
=$CFLAGS
30164 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30166 cat >conftest.
$ac_ext <<_ACEOF
30169 cat confdefs.h
>>conftest.
$ac_ext
30170 cat >>conftest.
$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30174 #include <Xm/List.h>
30180 XmString string = NULL;
30183 XmListAddItem(w, string, position);
30189 rm -f conftest.
$ac_objext conftest
$ac_exeext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30191 (eval $ac_link) 2>conftest.er1
30193 grep -v '^ *+' conftest.er1
>conftest.err
30195 cat conftest.err
>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try
='test -z "$ac_c_werror_flag"
30199 || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try
='test -s conftest$ac_exeext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30213 libsm_ice_link
="$libsm_ice"
30214 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30215 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.
$ac_ext >&5
30225 rm -f conftest.err conftest.
$ac_objext \
30226 conftest
$ac_exeext conftest.
$ac_ext
30229 CFLAGS
=$save_CFLAGS
30235 if test "$libs_found" = "0"; then
30236 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30237 echo "${ECHO_T}can't find the right libraries" >&6
30238 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30239 echo "$as_me: error: can't link a simple motif program" >&2;}
30240 { (exit 1); exit 1; }; }
30243 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30244 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30245 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 ac_check_lib_save_LIBS
=$LIBS
30250 cat >conftest.
$ac_ext <<_ACEOF
30253 cat confdefs.h
>>conftest.
$ac_ext
30254 cat >>conftest.
$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30257 /* Override any gcc2 internal prototype to avoid an error. */
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30263 char SgCreateList ();
30272 rm -f conftest.
$ac_objext conftest
$ac_exeext
30273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30274 (eval $ac_link) 2>conftest.er1
30276 grep -v '^ *+' conftest.er1
>conftest.err
30278 cat conftest.err
>&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try
='test -z "$ac_c_werror_flag"
30282 || test ! -s conftest.err'
30283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284 (eval $ac_try) 2>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; } &&
30288 { ac_try
='test -s conftest$ac_exeext'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; }; then
30294 ac_cv_lib_Sgm_SgCreateList
=yes
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.
$ac_ext >&5
30299 ac_cv_lib_Sgm_SgCreateList
=no
30301 rm -f conftest.err conftest.
$ac_objext \
30302 conftest
$ac_exeext conftest.
$ac_ext
30303 LIBS
=$ac_check_lib_save_LIBS
30305 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30306 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30307 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30308 libsgm_link
=" -lSgm"
30312 save_CFLAGS
=$CFLAGS
30313 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30315 echo "$as_me:$LINENO: checking for Motif 2" >&5
30316 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30317 if test "${wx_cv_lib_motif2+set}" = set; then
30318 echo $ECHO_N "(cached) $ECHO_C" >&6
30320 cat >conftest.
$ac_ext <<_ACEOF
30323 cat confdefs.h
>>conftest.
$ac_ext
30324 cat >>conftest.
$ac_ext <<_ACEOF
30325 /* end confdefs.h. */
30333 #if XmVersion < 2000
30341 rm -f conftest.
$ac_objext
30342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30343 (eval $ac_compile) 2>conftest.er1
30345 grep -v '^ *+' conftest.er1
>conftest.err
30347 cat conftest.err
>&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); } &&
30350 { ac_try
='test -z "$ac_c_werror_flag"
30351 || test ! -s conftest.err'
30352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30353 (eval $ac_try) 2>&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; } &&
30357 { ac_try
='test -s conftest.$ac_objext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30363 wx_cv_lib_motif2
="yes"
30365 echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.
$ac_ext >&5
30368 wx_cv_lib_motif2
="no"
30370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30372 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30373 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30374 if test "$wx_cv_lib_motif2" = "yes"; then
30375 cat >>confdefs.h
<<\_ACEOF
30376 #define __WXMOTIF20__ 1
30380 cat >>confdefs.h
<<\_ACEOF
30381 #define __WXMOTIF20__ 0
30386 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30387 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30388 if test "${wx_cv_lib_lesstif+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 cat >conftest.
$ac_ext <<_ACEOF
30394 cat confdefs.h
>>conftest.
$ac_ext
30395 cat >>conftest.
$ac_ext <<_ACEOF
30396 /* end confdefs.h. */
30404 #if !defined(LesstifVersion) || LesstifVersion <= 0
30412 rm -f conftest.
$ac_objext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30414 (eval $ac_compile) 2>conftest.er1
30416 grep -v '^ *+' conftest.er1
>conftest.err
30418 cat conftest.err
>&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); } &&
30421 { ac_try
='test -z "$ac_c_werror_flag"
30422 || test ! -s conftest.err'
30423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30424 (eval $ac_try) 2>&5
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; } &&
30428 { ac_try
='test -s conftest.$ac_objext'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; }; then
30434 wx_cv_lib_lesstif
="yes"
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.
$ac_ext >&5
30439 wx_cv_lib_lesstif
="no"
30441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30444 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30445 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30446 if test "$wx_cv_lib_lesstif" = "yes"; then
30447 cat >>confdefs.h
<<\_ACEOF
30448 #define __WXLESSTIF__ 1
30452 cat >>confdefs.h
<<\_ACEOF
30453 #define __WXLESSTIF__ 0
30458 CFLAGS
=$save_CFLAGS
30460 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30465 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30466 if test "$wxUSE_LIBXPM" = "sys"; then
30467 echo "$as_me:$LINENO: checking for Xpm library" >&5
30468 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30471 for ac_dir
in $SEARCH_LIB;
30473 for ac_extension
in a so sl dylib dll.a
; do
30474 if test -f "$ac_dir/libXpm.$ac_extension"; then
30475 ac_find_libraries
=$ac_dir
30481 if test "$ac_find_libraries" != "" ; then
30483 if test "$ac_find_libraries" = "default location"; then
30486 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30488 if test $result = 0; then
30491 ac_path_to_link
=" -L$ac_find_libraries"
30495 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30496 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30497 echo "${ECHO_T}found in $ac_find_libraries" >&6
30499 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30500 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30501 if test "${wx_cv_x11_xpm_h+set}" = set; then
30502 echo $ECHO_N "(cached) $ECHO_C" >&6
30505 save_CFLAGS
=$CFLAGS
30506 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30508 cat >conftest.
$ac_ext <<_ACEOF
30511 cat confdefs.h
>>conftest.
$ac_ext
30512 cat >>conftest.
$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30515 #include <X11/xpm.h>
30522 version = XpmLibraryVersion();
30528 rm -f conftest.
$ac_objext
30529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30530 (eval $ac_compile) 2>conftest.er1
30532 grep -v '^ *+' conftest.er1
>conftest.err
30534 cat conftest.err
>&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } &&
30537 { ac_try
='test -z "$ac_c_werror_flag"
30538 || test ! -s conftest.err'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; } &&
30544 { ac_try
='test -s conftest.$ac_objext'
30545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30546 (eval $ac_try) 2>&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); }; }; then
30550 wx_cv_x11_xpm_h
=yes
30552 echo "$as_me: failed program was:" >&5
30553 sed 's/^/| /' conftest.
$ac_ext >&5
30558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30560 CFLAGS
=$save_CFLAGS
30564 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30565 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30567 if test $wx_cv_x11_xpm_h = "yes"; then
30568 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30569 cat >>confdefs.h
<<\_ACEOF
30570 #define wxHAVE_LIB_XPM 1
30574 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30575 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30581 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30582 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30583 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30584 echo $ECHO_N "(cached) $ECHO_C" >&6
30586 ac_check_lib_save_LIBS
=$LIBS
30587 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30588 cat >conftest.
$ac_ext <<_ACEOF
30591 cat confdefs.h
>>conftest.
$ac_ext
30592 cat >>conftest.
$ac_ext <<_ACEOF
30593 /* end confdefs.h. */
30595 /* Override any gcc2 internal prototype to avoid an error. */
30599 /* We use char because int might match the return type of a gcc2
30600 builtin and then its argument prototype would still apply. */
30601 char XShapeQueryExtension ();
30605 XShapeQueryExtension ();
30610 rm -f conftest.
$ac_objext conftest
$ac_exeext
30611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30612 (eval $ac_link) 2>conftest.er1
30614 grep -v '^ *+' conftest.er1
>conftest.err
30616 cat conftest.err
>&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } &&
30619 { ac_try
='test -z "$ac_c_werror_flag"
30620 || test ! -s conftest.err'
30621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30622 (eval $ac_try) 2>&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); }; } &&
30626 { ac_try
='test -s conftest$ac_exeext'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30632 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.
$ac_ext >&5
30637 ac_cv_lib_Xext_XShapeQueryExtension
=no
30639 rm -f conftest.err conftest.
$ac_objext \
30640 conftest
$ac_exeext conftest.
$ac_ext
30641 LIBS
=$ac_check_lib_save_LIBS
30643 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30644 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30645 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30647 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30653 if test "$wxHAVE_XEXT_LIB" = 1; then
30654 save_CFLAGS
="$CFLAGS"
30655 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30657 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30658 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30659 cat >conftest.
$ac_ext <<_ACEOF
30662 cat confdefs.h
>>conftest.
$ac_ext
30663 cat >>conftest.
$ac_ext <<_ACEOF
30664 /* end confdefs.h. */
30666 #include <X11/Xlib.h>
30667 #include <X11/extensions/shape.h>
30673 int dummy1, dummy2;
30674 XShapeQueryExtension((Display*)NULL,
30675 (int*)NULL, (int*)NULL);
30681 rm -f conftest.
$ac_objext
30682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30683 (eval $ac_compile) 2>conftest.er1
30685 grep -v '^ *+' conftest.er1
>conftest.err
30687 cat conftest.err
>&5
30688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30689 (exit $ac_status); } &&
30690 { ac_try
='test -z "$ac_c_werror_flag"
30691 || test ! -s conftest.err'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; } &&
30697 { ac_try
='test -s conftest.$ac_objext'
30698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30699 (eval $ac_try) 2>&5
30701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30702 (exit $ac_status); }; }; then
30704 cat >>confdefs.h
<<\_ACEOF
30705 #define HAVE_XSHAPE 1
30708 echo "$as_me:$LINENO: result: found" >&5
30709 echo "${ECHO_T}found" >&6
30712 echo "$as_me: failed program was:" >&5
30713 sed 's/^/| /' conftest.
$ac_ext >&5
30716 echo "$as_me:$LINENO: result: not found" >&5
30717 echo "${ECHO_T}not found" >&6
30720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30721 CFLAGS
="$save_CFLAGS"
30726 if test "$wxUSE_MAC" = 1; then
30727 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30728 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30729 if test "$GCC" = yes; then
30730 echo "$as_me:$LINENO: result: gcc" >&5
30731 echo "${ECHO_T}gcc" >&6
30732 CPPFLAGS_PASCAL
="-fpascal-strings"
30733 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30734 echo "$as_me:$LINENO: result: xlc" >&5
30735 echo "${ECHO_T}xlc" >&6
30736 CPPFLAGS_PASCAL
="-qmacpstr"
30738 echo "$as_me:$LINENO: result: none" >&5
30739 echo "${ECHO_T}none" >&6
30742 if test "x$wxUSE_UNIX" = "xyes"; then
30743 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30745 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30750 WXBASEPORT
="_carbon"
30753 if test "$wxUSE_COCOA" = 1; then
30758 if test "$wxUSE_PM" = 1; then
30761 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30762 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30763 if test "${wx_cv_spbcdata+set}" = set; then
30764 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 cat >conftest.
$ac_ext <<_ACEOF
30770 cat confdefs.h
>>conftest.
$ac_ext
30771 cat >>conftest.
$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30787 rm -f conftest.
$ac_objext
30788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30789 (eval $ac_compile) 2>conftest.er1
30791 grep -v '^ *+' conftest.er1
>conftest.err
30793 cat conftest.err
>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } &&
30796 { ac_try
='test -z "$ac_c_werror_flag"
30797 || test ! -s conftest.err'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; } &&
30803 { ac_try
='test -s conftest.$ac_objext'
30804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30805 (eval $ac_try) 2>&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); }; }; then
30811 echo "$as_me: failed program was:" >&5
30812 sed 's/^/| /' conftest.
$ac_ext >&5
30817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30821 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30822 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30824 if test $wx_cv_spbcdata = "yes"; then
30825 cat >>confdefs.h
<<\_ACEOF
30826 #define HAVE_SPBCDATA 1
30832 if test "$TOOLKIT" = "PM" ; then
30835 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30838 if test "$wxUSE_UNIVERSAL" = "yes"; then
30839 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30843 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30844 DISTDIR
="wx\$(TOOLKIT)"
30850 if test "$USE_WIN32" = 1 ; then
30854 GUIDIST
="BASE_DIST"
30859 if test "$wxUSE_GUI" = "yes"; then
30860 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30861 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
30862 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
30863 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30866 cat >conftest.
$ac_ext <<_ACEOF
30869 cat confdefs.h
>>conftest.
$ac_ext
30870 cat >>conftest.
$ac_ext <<_ACEOF
30871 /* end confdefs.h. */
30874 #include <X11/Xlib.h>
30876 rm -f conftest.
$ac_objext
30877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30878 (eval $ac_compile) 2>conftest.er1
30880 grep -v '^ *+' conftest.er1
>conftest.err
30882 cat conftest.err
>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); } &&
30885 { ac_try
='test -z "$ac_c_werror_flag"
30886 || test ! -s conftest.err'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; } &&
30892 { ac_try
='test -s conftest.$ac_objext'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; }; then
30898 ac_cv_header_X11_Xlib_h
=yes
30900 echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.
$ac_ext >&5
30903 ac_cv_header_X11_Xlib_h
=no
30905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30907 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
30908 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
30911 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
30912 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
30913 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
30914 echo $ECHO_N "(cached) $ECHO_C" >&6
30916 cat >conftest.
$ac_ext <<_ACEOF
30919 cat confdefs.h
>>conftest.
$ac_ext
30920 cat >>conftest.
$ac_ext <<_ACEOF
30921 /* end confdefs.h. */
30923 #if HAVE_X11_XLIB_H
30924 #include <X11/Xlib.h>
30928 #include <X11/XKBlib.h>
30930 rm -f conftest.
$ac_objext
30931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30932 (eval $ac_compile) 2>conftest.er1
30934 grep -v '^ *+' conftest.er1
>conftest.err
30936 cat conftest.err
>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } &&
30939 { ac_try
='test -z "$ac_c_werror_flag"
30940 || test ! -s conftest.err'
30941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 (eval $ac_try) 2>&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); }; } &&
30946 { ac_try
='test -s conftest.$ac_objext'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; }; then
30952 ac_cv_header_X11_XKBlib_h
=yes
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.
$ac_ext >&5
30957 ac_cv_header_X11_XKBlib_h
=no
30959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30961 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
30962 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
30973 if test "$TOOLKIT" != "MSW" ; then
30975 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30977 echo "$as_me:$LINENO: checking for sql.h" >&5
30978 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30979 if test "${ac_cv_header_sql_h+set}" = set; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30982 cat >conftest.
$ac_ext <<_ACEOF
30985 cat confdefs.h
>>conftest.
$ac_ext
30986 cat >>conftest.
$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30992 rm -f conftest.
$ac_objext
30993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30994 (eval $ac_compile) 2>conftest.er1
30996 grep -v '^ *+' conftest.er1
>conftest.err
30998 cat conftest.err
>&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); } &&
31001 { ac_try
='test -z "$ac_c_werror_flag"
31002 || test ! -s conftest.err'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; } &&
31008 { ac_try
='test -s conftest.$ac_objext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31014 ac_cv_header_sql_h
=yes
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.
$ac_ext >&5
31019 ac_cv_header_sql_h
=no
31021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31023 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31024 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31025 if test $ac_cv_header_sql_h = yes; then
31030 if test "x$found_sql_h" = "x1" ; then
31031 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31032 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31033 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31034 echo $ECHO_N "(cached) $ECHO_C" >&6
31036 ac_check_lib_save_LIBS
=$LIBS
31037 LIBS
="-liodbc $LIBS"
31038 cat >conftest.
$ac_ext <<_ACEOF
31041 cat confdefs.h
>>conftest.
$ac_ext
31042 cat >>conftest.
$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31045 /* Override any gcc2 internal prototype to avoid an error. */
31049 /* We use char because int might match the return type of a gcc2
31050 builtin and then its argument prototype would still apply. */
31051 char SQLAllocEnv ();
31060 rm -f conftest.
$ac_objext conftest
$ac_exeext
31061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31062 (eval $ac_link) 2>conftest.er1
31064 grep -v '^ *+' conftest.er1
>conftest.err
31066 cat conftest.err
>&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } &&
31069 { ac_try
='test -z "$ac_c_werror_flag"
31070 || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try
='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.
$ac_ext >&5
31087 ac_cv_lib_iodbc_SQLAllocEnv
=no
31089 rm -f conftest.err conftest.
$ac_objext \
31090 conftest
$ac_exeext conftest.
$ac_ext
31091 LIBS
=$ac_check_lib_save_LIBS
31093 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31094 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31095 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31096 ODBC_LINK
=" -liodbc"
31099 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31100 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31101 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31104 ac_check_lib_save_LIBS
=$LIBS
31105 LIBS
="-lunixodbc $LIBS"
31106 cat >conftest.
$ac_ext <<_ACEOF
31109 cat confdefs.h
>>conftest.
$ac_ext
31110 cat >>conftest.
$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31113 /* Override any gcc2 internal prototype to avoid an error. */
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31119 char SQLAllocEnv ();
31128 rm -f conftest.
$ac_objext conftest
$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31132 grep -v '^ *+' conftest.er1
>conftest.err
31134 cat conftest.err
>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try
='test -z "$ac_c_werror_flag"
31138 || test ! -s conftest.err'
31139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31140 (eval $ac_try) 2>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); }; } &&
31144 { ac_try
='test -s conftest$ac_exeext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.
$ac_ext >&5
31155 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31157 rm -f conftest.err conftest.
$ac_objext \
31158 conftest
$ac_exeext conftest.
$ac_ext
31159 LIBS
=$ac_check_lib_save_LIBS
31161 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31162 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31163 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31164 ODBC_LINK
=" -lunixodbc"
31167 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31168 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31169 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31170 echo $ECHO_N "(cached) $ECHO_C" >&6
31172 ac_check_lib_save_LIBS
=$LIBS
31173 LIBS
="-lodbc $LIBS"
31174 cat >conftest.
$ac_ext <<_ACEOF
31177 cat confdefs.h
>>conftest.
$ac_ext
31178 cat >>conftest.
$ac_ext <<_ACEOF
31179 /* end confdefs.h. */
31181 /* Override any gcc2 internal prototype to avoid an error. */
31185 /* We use char because int might match the return type of a gcc2
31186 builtin and then its argument prototype would still apply. */
31187 char SQLAllocEnv ();
31196 rm -f conftest.
$ac_objext conftest
$ac_exeext
31197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31198 (eval $ac_link) 2>conftest.er1
31200 grep -v '^ *+' conftest.er1
>conftest.err
31202 cat conftest.err
>&5
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } &&
31205 { ac_try
='test -z "$ac_c_werror_flag"
31206 || test ! -s conftest.err'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; } &&
31212 { ac_try
='test -s conftest$ac_exeext'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; }; then
31218 ac_cv_lib_odbc_SQLAllocEnv
=yes
31220 echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.
$ac_ext >&5
31223 ac_cv_lib_odbc_SQLAllocEnv
=no
31225 rm -f conftest.err conftest.
$ac_objext \
31226 conftest
$ac_exeext conftest.
$ac_ext
31227 LIBS
=$ac_check_lib_save_LIBS
31229 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31230 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31231 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31232 ODBC_LINK
=" -lodbc"
31242 if test "x$ODBC_LINK" = "x" ; then
31243 if test "$wxUSE_ODBC" = "sys" ; then
31244 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31245 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31246 { (exit 1); exit 1; }; }
31248 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31249 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31257 if test "$wxUSE_ODBC" = "builtin" ; then
31258 cat >>confdefs.h
<<\_ACEOF
31259 #define wxUSE_BUILTIN_IODBC 1
31265 if test "$wxUSE_ODBC" != "no" ; then
31266 cat >>confdefs.h
<<\_ACEOF
31267 #define wxUSE_ODBC 1
31270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31272 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31276 if test "$wxUSE_DISPLAY" = "yes"; then
31277 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31278 echo "$as_me:$LINENO: checking for Xinerama" >&5
31279 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31282 for ac_dir
in $SEARCH_LIB;
31284 for ac_extension
in a so sl dylib dll.a
; do
31285 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31286 ac_find_libraries
=$ac_dir
31292 if test "$ac_find_libraries" != "" ; then
31294 if test "$ac_find_libraries" = "default location"; then
31297 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31299 if test $result = 0; then
31302 ac_path_to_link
=" -L$ac_find_libraries"
31306 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31307 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31309 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31313 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31314 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31317 for ac_dir
in $SEARCH_LIB;
31319 for ac_extension
in a so sl dylib dll.a
; do
31320 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31321 ac_find_libraries
=$ac_dir
31327 if test "$ac_find_libraries" != "" ; then
31328 echo "$as_me:$LINENO: result: yes" >&5
31329 echo "${ECHO_T}yes" >&6
31330 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31331 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
31332 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31333 echo $ECHO_N "(cached) $ECHO_C" >&6
31335 cat >conftest.
$ac_ext <<_ACEOF
31338 cat confdefs.h
>>conftest.
$ac_ext
31339 cat >>conftest.
$ac_ext <<_ACEOF
31340 /* end confdefs.h. */
31342 #if HAVE_X11_XLIB_H
31343 #include <X11/Xlib.h>
31347 #include <X11/extensions/xf86vmode.h>
31349 rm -f conftest.
$ac_objext
31350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31351 (eval $ac_compile) 2>conftest.er1
31353 grep -v '^ *+' conftest.er1
>conftest.err
31355 cat conftest.err
>&5
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try
='test -z "$ac_c_werror_flag"
31359 || test ! -s conftest.err'
31360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361 (eval $ac_try) 2>&5
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); }; } &&
31365 { ac_try
='test -s conftest.$ac_objext'
31366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367 (eval $ac_try) 2>&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; }; then
31371 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.
$ac_ext >&5
31376 ac_cv_header_X11_extensions_xf86vmode_h
=no
31378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31380 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31381 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
31382 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31384 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31390 echo "$as_me:$LINENO: result: no" >&5
31391 echo "${ECHO_T}no" >&6
31395 echo "$as_me:$LINENO: result: no" >&5
31396 echo "${ECHO_T}no" >&6
31397 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31398 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31401 elif test "$wxUSE_MSW" = 1; then
31402 echo "$as_me:$LINENO: checking for ddraw.h" >&5
31403 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
31404 if test "${ac_cv_header_ddraw_h+set}" = set; then
31405 echo $ECHO_N "(cached) $ECHO_C" >&6
31407 cat >conftest.
$ac_ext <<_ACEOF
31410 cat confdefs.h
>>conftest.
$ac_ext
31411 cat >>conftest.
$ac_ext <<_ACEOF
31412 /* end confdefs.h. */
31413 #include <windows.h>
31417 rm -f conftest.
$ac_objext
31418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31419 (eval $ac_compile) 2>conftest.er1
31421 grep -v '^ *+' conftest.er1
>conftest.err
31423 cat conftest.err
>&5
31424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 (exit $ac_status); } &&
31426 { ac_try
='test -z "$ac_c_werror_flag"
31427 || test ! -s conftest.err'
31428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31429 (eval $ac_try) 2>&5
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); }; } &&
31433 { ac_try
='test -s conftest.$ac_objext'
31434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435 (eval $ac_try) 2>&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; }; then
31439 ac_cv_header_ddraw_h
=yes
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.
$ac_ext >&5
31444 ac_cv_header_ddraw_h
=no
31446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31448 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31449 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
31455 if test "$wxUSE_DETECT_SM" = "yes"; then
31456 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31457 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31458 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
31461 for ac_dir
in $SEARCH_LIB;
31463 for ac_extension
in a so sl dylib dll.a
; do
31464 if test -f "$ac_dir/libSM.$ac_extension"; then
31465 ac_find_libraries
=$ac_dir
31471 if test "$ac_find_libraries" != "" ; then
31473 if test "$ac_find_libraries" = "default location"; then
31476 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31478 if test $result = 0; then
31481 ac_path_to_link
=" -L$ac_find_libraries"
31485 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31486 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31488 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
31489 echo "$as_me:$LINENO: result: yes" >&5
31490 echo "${ECHO_T}yes" >&6
31492 echo "$as_me:$LINENO: result: no" >&5
31493 echo "${ECHO_T}no" >&6
31494 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
31495 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
31496 wxUSE_DETECT_SM
="no"
31499 wxUSE_DETECT_SM
="no"
31506 if test "$wxUSE_OPENGL" = "yes"; then
31507 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
31508 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
31509 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
31511 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31512 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31513 elif test "$wxUSE_MSW" = 1; then
31514 OPENGL_LIBS
="-lopengl32 -lglu32"
31516 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
31517 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
31520 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
31522 if test -f "$ac_dir/GL/gl.h"; then
31523 ac_find_includes
=$ac_dir
31528 if test "$ac_find_includes" != "" ; then
31529 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31530 echo "${ECHO_T}found in $ac_find_includes" >&6
31532 if test "x$ac_find_includes" = "x/usr/include"; then
31533 ac_path_to_include
=""
31535 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31537 if test $result = 0; then
31538 ac_path_to_include
=""
31540 ac_path_to_include
=" -I$ac_find_includes"
31544 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31546 echo "$as_me:$LINENO: result: not found" >&5
31547 echo "${ECHO_T}not found" >&6
31550 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31551 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31552 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31555 cat >conftest.
$ac_ext <<_ACEOF
31558 cat confdefs.h
>>conftest.
$ac_ext
31559 cat >>conftest.
$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31565 rm -f conftest.
$ac_objext
31566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31567 (eval $ac_compile) 2>conftest.er1
31569 grep -v '^ *+' conftest.er1
>conftest.err
31571 cat conftest.err
>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } &&
31574 { ac_try
='test -z "$ac_c_werror_flag"
31575 || test ! -s conftest.err'
31576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31577 (eval $ac_try) 2>&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); }; } &&
31581 { ac_try
='test -s conftest.$ac_objext'
31582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31583 (eval $ac_try) 2>&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; }; then
31587 ac_cv_header_GL_gl_h
=yes
31589 echo "$as_me: failed program was:" >&5
31590 sed 's/^/| /' conftest.
$ac_ext >&5
31592 ac_cv_header_GL_gl_h
=no
31594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31596 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31597 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31598 if test $ac_cv_header_GL_gl_h = yes; then
31600 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31601 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31602 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31603 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31604 echo $ECHO_N "(cached) $ECHO_C" >&6
31606 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31607 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31609 # Is the header compilable?
31610 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
31611 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
31612 cat >conftest.
$ac_ext <<_ACEOF
31615 cat confdefs.h
>>conftest.
$ac_ext
31616 cat >>conftest.
$ac_ext <<_ACEOF
31617 /* end confdefs.h. */
31618 $ac_includes_default
31619 #include <GL/glu.h>
31621 rm -f conftest.
$ac_objext
31622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31623 (eval $ac_compile) 2>conftest.er1
31625 grep -v '^ *+' conftest.er1
>conftest.err
31627 cat conftest.err
>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } &&
31630 { ac_try
='test -z "$ac_c_werror_flag"
31631 || test ! -s conftest.err'
31632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31633 (eval $ac_try) 2>&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); }; } &&
31637 { ac_try
='test -s conftest.$ac_objext'
31638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31639 (eval $ac_try) 2>&5
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); }; }; then
31643 ac_header_compiler
=yes
31645 echo "$as_me: failed program was:" >&5
31646 sed 's/^/| /' conftest.
$ac_ext >&5
31648 ac_header_compiler
=no
31650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31652 echo "${ECHO_T}$ac_header_compiler" >&6
31654 # Is the header present?
31655 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
31656 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
31657 cat >conftest.
$ac_ext <<_ACEOF
31660 cat confdefs.h
>>conftest.
$ac_ext
31661 cat >>conftest.
$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 #include <GL/glu.h>
31665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31668 grep -v '^ *+' conftest.er1
>conftest.err
31670 cat conftest.err
>&5
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); } >/dev
/null
; then
31673 if test -s conftest.err
; then
31674 ac_cpp_err
=$ac_c_preproc_warn_flag
31675 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31682 if test -z "$ac_cpp_err"; then
31683 ac_header_preproc
=yes
31685 echo "$as_me: failed program was:" >&5
31686 sed 's/^/| /' conftest.
$ac_ext >&5
31688 ac_header_preproc
=no
31690 rm -f conftest.err conftest.
$ac_ext
31691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31692 echo "${ECHO_T}$ac_header_preproc" >&6
31694 # So? What about this header?
31695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31697 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
31698 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31699 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
31700 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
31701 ac_header_preproc
=yes
31704 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
31705 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
31706 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
31707 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
31708 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
31709 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
31710 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
31711 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
31712 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
31713 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
31714 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
31715 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
31718 ## ----------------------------------------- ##
31719 ## Report this to wx-dev@lists.wxwidgets.org ##
31720 ## ----------------------------------------- ##
31723 sed "s/^/$as_me: WARNING: /" >&2
31726 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31727 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31728 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 ac_cv_header_GL_glu_h
=$ac_header_preproc
31733 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31734 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31737 if test $ac_cv_header_GL_glu_h = yes; then
31741 echo "$as_me:$LINENO: checking for -lGL" >&5
31742 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31745 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
31747 for ac_extension
in a so sl dylib dll.a
; do
31748 if test -f "$ac_dir/libGL.$ac_extension"; then
31749 ac_find_libraries
=$ac_dir
31755 if test "$ac_find_libraries" != "" ; then
31756 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31757 echo "${ECHO_T}found in $ac_find_libraries" >&6
31760 if test "$ac_find_libraries" = "default location"; then
31763 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31765 if test $result = 0; then
31768 ac_path_to_link
=" -L$ac_find_libraries"
31772 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31773 LDFLAGS_GL
="$ac_path_to_link"
31776 echo "$as_me:$LINENO: checking for -lGLU" >&5
31777 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31780 for ac_dir
in $SEARCH_LIB;
31782 for ac_extension
in a so sl dylib dll.a
; do
31783 if test -f "$ac_dir/libGLU.$ac_extension"; then
31784 ac_find_libraries
=$ac_dir
31790 if test "$ac_find_libraries" != "" ; then
31792 if test "$ac_find_libraries" = "default location"; then
31795 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31797 if test $result = 0; then
31800 ac_path_to_link
=" -L$ac_find_libraries"
31804 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31805 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31806 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31810 OPENGL_LIBS
="-lGL -lGLU"
31811 echo "$as_me:$LINENO: result: yes" >&5
31812 echo "${ECHO_T}yes" >&6
31814 echo "$as_me:$LINENO: result: no" >&5
31815 echo "${ECHO_T}no" >&6
31818 echo "$as_me:$LINENO: result: no" >&5
31819 echo "${ECHO_T}no" >&6
31822 if test "$found_gl" != 1; then
31823 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31824 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31827 for ac_dir
in $SEARCH_LIB;
31829 for ac_extension
in a so sl dylib dll.a
; do
31830 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31831 ac_find_libraries
=$ac_dir
31837 if test "$ac_find_libraries" != "" ; then
31839 if test "$ac_find_libraries" = "default location"; then
31842 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31844 if test $result = 0; then
31847 ac_path_to_link
=" -L$ac_find_libraries"
31851 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31852 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31853 echo "$as_me:$LINENO: result: yes" >&5
31854 echo "${ECHO_T}yes" >&6
31856 echo "$as_me:$LINENO: result: no" >&5
31857 echo "${ECHO_T}no" >&6
31869 if test "x$OPENGL_LIBS" = "x"; then
31870 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31871 echo "$as_me: error: OpenGL libraries not available" >&2;}
31872 { (exit 1); exit 1; }; }
31876 if test "$wxUSE_OPENGL" = "yes"; then
31878 cat >>confdefs.h
<<\_ACEOF
31879 #define wxUSE_OPENGL 1
31882 cat >>confdefs.h
<<\_ACEOF
31883 #define wxUSE_GLCANVAS 1
31886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31891 if test -n "$TOOLKIT" ; then
31892 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31897 if test "$wxUSE_SHARED" = "yes"; then
31901 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31902 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31907 if test "$wxUSE_SHARED" = "yes"; then
31911 *-*-cygwin* | *-*-mingw* )
31912 wx_cv_version_script
=no
31916 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31917 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31918 if test "${wx_cv_version_script+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 echo "VER_1 { *; };" >conftest.sym
31923 echo "int main() { return 0; }" >conftest.cpp
31926 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31927 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31929 (eval $ac_try) 2>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); }; } ; then
31933 if test -s conftest.stderr
; then
31934 wx_cv_version_script
=no
31936 wx_cv_version_script
=yes
31939 wx_cv_version_script
=no
31942 if test $wx_cv_version_script = yes
31944 echo "struct B { virtual ~B() { } }; \
31945 struct D : public B { }; \
31946 void F() { D d; }" > conftest.cpp
31949 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31950 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952 (eval $ac_try) 2>&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); }; } &&
31957 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31958 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31960 (eval $ac_try) 2>&5
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); }; }
31966 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31967 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }
31974 wx_cv_version_script
=yes
31976 wx_cv_version_script
=no
31981 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31982 rm -f conftest1.output conftest2.output conftest3.output
31985 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31986 echo "${ECHO_T}$wx_cv_version_script" >&6
31988 if test $wx_cv_version_script = yes ; then
31989 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
31996 *-*-linux* | *-*-gnu* )
31997 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
31998 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32002 if test "$GCC" = yes ; then
32003 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32005 saveLdflags
="$LDFLAGS"
32006 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32007 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32008 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32009 cat >conftest.
$ac_ext <<_ACEOF
32012 cat confdefs.h
>>conftest.
$ac_ext
32013 cat >>conftest.
$ac_ext <<_ACEOF
32014 /* end confdefs.h. */
32024 rm -f conftest.
$ac_objext conftest
$ac_exeext
32025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32026 (eval $ac_link) 2>conftest.er1
32028 grep -v '^ *+' conftest.er1
>conftest.err
32030 cat conftest.err
>&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } &&
32033 { ac_try
='test -z "$ac_c_werror_flag"
32034 || test ! -s conftest.err'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; } &&
32040 { ac_try
='test -s conftest$ac_exeext'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; }; then
32047 echo "$as_me:$LINENO: result: yes" >&5
32048 echo "${ECHO_T}yes" >&6
32049 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32050 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.
$ac_ext >&5
32057 echo "$as_me:$LINENO: result: no" >&5
32058 echo "${ECHO_T}no" >&6
32059 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32060 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32061 LDFLAGS
="$saveLdflags -Wl,-R,/"
32062 cat >conftest.
$ac_ext <<_ACEOF
32065 cat confdefs.h
>>conftest.
$ac_ext
32066 cat >>conftest.
$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32077 rm -f conftest.
$ac_objext conftest
$ac_exeext
32078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32079 (eval $ac_link) 2>conftest.er1
32081 grep -v '^ *+' conftest.er1
>conftest.err
32083 cat conftest.err
>&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } &&
32086 { ac_try
='test -z "$ac_c_werror_flag"
32087 || test ! -s conftest.err'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; } &&
32093 { ac_try
='test -s conftest$ac_exeext'
32094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32095 (eval $ac_try) 2>&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; }; then
32100 echo "$as_me:$LINENO: result: yes" >&5
32101 echo "${ECHO_T}yes" >&6
32102 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32103 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32106 echo "$as_me: failed program was:" >&5
32107 sed 's/^/| /' conftest.
$ac_ext >&5
32110 echo "$as_me:$LINENO: result: no" >&5
32111 echo "${ECHO_T}no" >&6
32114 rm -f conftest.err conftest.
$ac_objext \
32115 conftest
$ac_exeext conftest.
$ac_ext
32118 rm -f conftest.err conftest.
$ac_objext \
32119 conftest
$ac_exeext conftest.
$ac_ext
32120 LDFLAGS
="$saveLdflags"
32122 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32123 WXCONFIG_RPATH
="-R\$libdir"
32128 install_name_tool
=`which install_name_tool`
32129 if test "$install_name_tool" -a -x "$install_name_tool"; then
32130 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32131 cat <<EOF >change-install-names
32133 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32134 inst_cmd="install_name_tool "
32135 for i in \${libnames} ; do
32136 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32140 chmod +x change
-install-names
32144 *-*-cygwin* | *-*-mingw32* )
32145 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32149 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32150 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32155 if test $wxUSE_RPATH = "no"; then
32156 SAMPLES_RPATH_FLAG
=''
32157 SAMPLES_RPATH_POSTLINK
=''
32165 config_linkage_component
="-static"
32172 lib_unicode_suffix
=
32174 if test "$wxUSE_UNICODE" = "yes"; then
32175 lib_unicode_suffix
=u
32176 WX_CHARTYPE
="unicode"
32181 WX_DEBUGTYPE
="release"
32183 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32185 WX_DEBUGTYPE
="debug"
32189 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32190 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32193 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32197 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32199 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32201 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32203 if test "$cross_compiling" = "yes"; then
32204 HOST_SUFFIX
="-$host_alias"
32205 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32206 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32209 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32210 if test "${TOOLKIT_DIR}" = "os2"; then
32211 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32213 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32218 if test "$wxUSE_COCOA" = 1; then
32222 ac_cpp
='$CPP $CPPFLAGS'
32223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32229 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32230 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32231 cat >conftest.
$ac_ext <<_ACEOF
32234 cat confdefs.h
>>conftest.
$ac_ext
32235 cat >>conftest.
$ac_ext <<_ACEOF
32236 /* end confdefs.h. */
32237 #include <AppKit/NSEvent.h>
32238 #include <CoreFoundation/CoreFoundation.h>
32248 rm -f conftest.
$ac_objext
32249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32250 (eval $ac_compile) 2>conftest.er1
32252 grep -v '^ *+' conftest.er1
>conftest.err
32254 cat conftest.err
>&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); } &&
32257 { ac_try
='test -z "$ac_c_werror_flag"
32258 || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try
='test -s conftest.$ac_objext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32270 echo "$as_me:$LINENO: result: no" >&5
32271 echo "${ECHO_T}no" >&6
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.
$ac_ext >&5
32276 echo "$as_me:$LINENO: result: yes" >&5
32277 echo "${ECHO_T}yes" >&6
32278 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32279 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32280 cat >conftest.
$ac_ext <<_ACEOF
32283 cat confdefs.h
>>conftest.
$ac_ext
32284 cat >>conftest.
$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286 #define __Point__ 1
32287 #include <AppKit/NSEvent.h>
32288 #include <CoreFoundation/CoreFoundation.h>
32298 rm -f conftest.
$ac_objext
32299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32300 (eval $ac_compile) 2>conftest.er1
32302 grep -v '^ *+' conftest.er1
>conftest.err
32304 cat conftest.err
>&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } &&
32307 { ac_try
='test -z "$ac_c_werror_flag"
32308 || test ! -s conftest.err'
32309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32310 (eval $ac_try) 2>&5
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); }; } &&
32314 { ac_try
='test -s conftest.$ac_objext'
32315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 (eval $ac_try) 2>&5
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; }; then
32320 echo "$as_me:$LINENO: result: yes" >&5
32321 echo "${ECHO_T}yes" >&6
32322 cat >>confdefs.h
<<\_ACEOF
32323 #define __Point__ 1
32328 echo "$as_me: failed program was:" >&5
32329 sed 's/^/| /' conftest.
$ac_ext >&5
32331 { { echo "$as_me:$LINENO: error: no
32332 See \`config.log' for more details." >&5
32333 echo "$as_me: error: no
32334 See \`config.log' for more details." >&2;}
32335 { (exit 1); exit 1; }; }
32338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32343 ac_cpp
='$CPP $CPPFLAGS'
32344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32350 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32351 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32352 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32354 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32356 # Extract the first word of "Rez", so it can be a program name with args.
32357 set dummy Rez
; ac_word
=$2
32358 echo "$as_me:$LINENO: checking for $ac_word" >&5
32359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32360 if test "${ac_cv_prog_REZ+set}" = set; then
32361 echo $ECHO_N "(cached) $ECHO_C" >&6
32363 if test -n "$REZ"; then
32364 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32367 for as_dir
in $PATH
32370 test -z "$as_dir" && as_dir
=.
32371 for ac_exec_ext
in '' $ac_executable_extensions; do
32372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32373 ac_cv_prog_REZ
="Rez"
32374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32380 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32383 REZ
=$ac_cv_prog_REZ
32384 if test -n "$REZ"; then
32385 echo "$as_me:$LINENO: result: $REZ" >&5
32386 echo "${ECHO_T}$REZ" >&6
32388 echo "$as_me:$LINENO: result: no" >&5
32389 echo "${ECHO_T}no" >&6
32392 # Extract the first word of "DeRez", so it can be a program name with args.
32393 set dummy DeRez
; ac_word
=$2
32394 echo "$as_me:$LINENO: checking for $ac_word" >&5
32395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32396 if test "${ac_cv_prog_DEREZ+set}" = set; then
32397 echo $ECHO_N "(cached) $ECHO_C" >&6
32399 if test -n "$DEREZ"; then
32400 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32403 for as_dir
in $PATH
32406 test -z "$as_dir" && as_dir
=.
32407 for ac_exec_ext
in '' $ac_executable_extensions; do
32408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32409 ac_cv_prog_DEREZ
="DeRez"
32410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32416 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32419 DEREZ
=$ac_cv_prog_DEREZ
32420 if test -n "$DEREZ"; then
32421 echo "$as_me:$LINENO: result: $DEREZ" >&5
32422 echo "${ECHO_T}$DEREZ" >&6
32424 echo "$as_me:$LINENO: result: no" >&5
32425 echo "${ECHO_T}no" >&6
32428 # Extract the first word of "SetFile", so it can be a program name with args.
32429 set dummy SetFile
; ac_word
=$2
32430 echo "$as_me:$LINENO: checking for $ac_word" >&5
32431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32432 if test "${ac_cv_prog_SETFILE+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32435 if test -n "$SETFILE"; then
32436 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32439 for as_dir
in $PATH
32442 test -z "$as_dir" && as_dir
=.
32443 for ac_exec_ext
in '' $ac_executable_extensions; do
32444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32445 ac_cv_prog_SETFILE
="SetFile"
32446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32452 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32455 SETFILE
=$ac_cv_prog_SETFILE
32456 if test -n "$SETFILE"; then
32457 echo "$as_me:$LINENO: result: $SETFILE" >&5
32458 echo "${ECHO_T}$SETFILE" >&6
32460 echo "$as_me:$LINENO: result: no" >&5
32461 echo "${ECHO_T}no" >&6
32465 MACSETFILE
="\$(SETFILE)"
32467 if test "$wxUSE_MAC" = 1; then
32468 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32470 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32472 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32473 RESCOMP
="echo -n \| $REZ"
32474 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32480 if test "$wxUSE_PM" = 1; then
32482 WXCONFIG_RESFLAGS
="-ep"
32484 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32486 POSTLINK_COMMAND
="@true"
32493 echo "$as_me:$LINENO: checking for mode_t" >&5
32494 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32495 if test "${ac_cv_type_mode_t+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 cat >conftest.
$ac_ext <<_ACEOF
32501 cat confdefs.h
>>conftest.
$ac_ext
32502 cat >>conftest.
$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 $ac_includes_default
32510 if (sizeof (mode_t))
32516 rm -f conftest.
$ac_objext
32517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32518 (eval $ac_compile) 2>conftest.er1
32520 grep -v '^ *+' conftest.er1
>conftest.err
32522 cat conftest.err
>&5
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); } &&
32525 { ac_try
='test -z "$ac_c_werror_flag"
32526 || test ! -s conftest.err'
32527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32528 (eval $ac_try) 2>&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); }; } &&
32532 { ac_try
='test -s conftest.$ac_objext'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; }; then
32538 ac_cv_type_mode_t
=yes
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.
$ac_ext >&5
32543 ac_cv_type_mode_t
=no
32545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32547 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32548 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32549 if test $ac_cv_type_mode_t = yes; then
32553 cat >>confdefs.h
<<_ACEOF
32559 echo "$as_me:$LINENO: checking for off_t" >&5
32560 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32561 if test "${ac_cv_type_off_t+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32564 cat >conftest.
$ac_ext <<_ACEOF
32567 cat confdefs.h
>>conftest.
$ac_ext
32568 cat >>conftest.
$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570 $ac_includes_default
32576 if (sizeof (off_t))
32582 rm -f conftest.
$ac_objext
32583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32584 (eval $ac_compile) 2>conftest.er1
32586 grep -v '^ *+' conftest.er1
>conftest.err
32588 cat conftest.err
>&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); } &&
32591 { ac_try
='test -z "$ac_c_werror_flag"
32592 || test ! -s conftest.err'
32593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32594 (eval $ac_try) 2>&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); }; } &&
32598 { ac_try
='test -s conftest.$ac_objext'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; }; then
32604 ac_cv_type_off_t
=yes
32606 echo "$as_me: failed program was:" >&5
32607 sed 's/^/| /' conftest.
$ac_ext >&5
32609 ac_cv_type_off_t
=no
32611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32613 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32614 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32615 if test $ac_cv_type_off_t = yes; then
32619 cat >>confdefs.h
<<_ACEOF
32625 echo "$as_me:$LINENO: checking for pid_t" >&5
32626 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32627 if test "${ac_cv_type_pid_t+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32630 cat >conftest.
$ac_ext <<_ACEOF
32633 cat confdefs.h
>>conftest.
$ac_ext
32634 cat >>conftest.
$ac_ext <<_ACEOF
32635 /* end confdefs.h. */
32636 $ac_includes_default
32642 if (sizeof (pid_t))
32648 rm -f conftest.
$ac_objext
32649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32650 (eval $ac_compile) 2>conftest.er1
32652 grep -v '^ *+' conftest.er1
>conftest.err
32654 cat conftest.err
>&5
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); } &&
32657 { ac_try
='test -z "$ac_c_werror_flag"
32658 || test ! -s conftest.err'
32659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32660 (eval $ac_try) 2>&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); }; } &&
32664 { ac_try
='test -s conftest.$ac_objext'
32665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666 (eval $ac_try) 2>&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); }; }; then
32670 ac_cv_type_pid_t
=yes
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.
$ac_ext >&5
32675 ac_cv_type_pid_t
=no
32677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32679 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32680 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32681 if test $ac_cv_type_pid_t = yes; then
32685 cat >>confdefs.h
<<_ACEOF
32691 echo "$as_me:$LINENO: checking for size_t" >&5
32692 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32693 if test "${ac_cv_type_size_t+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 cat >conftest.
$ac_ext <<_ACEOF
32699 cat confdefs.h
>>conftest.
$ac_ext
32700 cat >>conftest.
$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702 $ac_includes_default
32708 if (sizeof (size_t))
32714 rm -f conftest.
$ac_objext
32715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32716 (eval $ac_compile) 2>conftest.er1
32718 grep -v '^ *+' conftest.er1
>conftest.err
32720 cat conftest.err
>&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); } &&
32723 { ac_try
='test -z "$ac_c_werror_flag"
32724 || test ! -s conftest.err'
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); }; } &&
32730 { ac_try
='test -s conftest.$ac_objext'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; }; then
32736 ac_cv_type_size_t
=yes
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.
$ac_ext >&5
32741 ac_cv_type_size_t
=no
32743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32745 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32746 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32747 if test $ac_cv_type_size_t = yes; then
32751 cat >>confdefs.h
<<_ACEOF
32752 #define size_t unsigned
32757 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32758 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32759 if test "${ac_cv_type_uid_t+set}" = set; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 cat >conftest.
$ac_ext <<_ACEOF
32765 cat confdefs.h
>>conftest.
$ac_ext
32766 cat >>conftest.
$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32768 #include <sys/types.h>
32771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32772 $EGREP "uid_t" >/dev
/null
2>&1; then
32773 ac_cv_type_uid_t
=yes
32775 ac_cv_type_uid_t
=no
32780 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32781 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32782 if test $ac_cv_type_uid_t = no
; then
32784 cat >>confdefs.h
<<\_ACEOF
32789 cat >>confdefs.h
<<\_ACEOF
32796 echo "$as_me:$LINENO: checking for ssize_t" >&5
32797 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32798 if test "${ac_cv_type_ssize_t+set}" = set; then
32799 echo $ECHO_N "(cached) $ECHO_C" >&6
32801 cat >conftest.
$ac_ext <<_ACEOF
32804 cat confdefs.h
>>conftest.
$ac_ext
32805 cat >>conftest.
$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32807 $ac_includes_default
32813 if (sizeof (ssize_t))
32819 rm -f conftest.
$ac_objext
32820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32821 (eval $ac_compile) 2>conftest.er1
32823 grep -v '^ *+' conftest.er1
>conftest.err
32825 cat conftest.err
>&5
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); } &&
32828 { ac_try
='test -z "$ac_c_werror_flag"
32829 || test ! -s conftest.err'
32830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32831 (eval $ac_try) 2>&5
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); }; } &&
32835 { ac_try
='test -s conftest.$ac_objext'
32836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32837 (eval $ac_try) 2>&5
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); }; }; then
32841 ac_cv_type_ssize_t
=yes
32843 echo "$as_me: failed program was:" >&5
32844 sed 's/^/| /' conftest.
$ac_ext >&5
32846 ac_cv_type_ssize_t
=no
32848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32850 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32851 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32852 if test $ac_cv_type_ssize_t = yes; then
32854 cat >>confdefs.h
<<_ACEOF
32855 #define HAVE_SSIZE_T 1
32863 ac_cpp
='$CXXCPP $CPPFLAGS'
32864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32867 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32868 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32869 if test "${wx_cv_size_t_is_uint+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32873 cat >conftest.
$ac_ext <<_ACEOF
32876 cat confdefs.h
>>conftest.
$ac_ext
32877 cat >>conftest.
$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32879 #include <stddef.h>
32886 struct Foo { void foo(size_t); void foo(unsigned int); };
32894 rm -f conftest.
$ac_objext
32895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32896 (eval $ac_compile) 2>conftest.er1
32898 grep -v '^ *+' conftest.er1
>conftest.err
32900 cat conftest.err
>&5
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); } &&
32903 { ac_try
='test -z "$ac_cxx_werror_flag"
32904 || test ! -s conftest.err'
32905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32906 (eval $ac_try) 2>&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); }; } &&
32910 { ac_try
='test -s conftest.$ac_objext'
32911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 (eval $ac_try) 2>&5
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; }; then
32916 wx_cv_size_t_is_uint
=no
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.
$ac_ext >&5
32921 wx_cv_size_t_is_uint
=yes
32924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32928 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32929 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32931 if test "$wx_cv_size_t_is_uint" = "yes"; then
32932 cat >>confdefs.h
<<\_ACEOF
32933 #define wxSIZE_T_IS_UINT 1
32937 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32938 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32939 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32942 cat >conftest.
$ac_ext <<_ACEOF
32945 cat confdefs.h
>>conftest.
$ac_ext
32946 cat >>conftest.
$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32948 #include <stddef.h>
32955 struct Foo { void foo(size_t); void foo(unsigned long); };
32963 rm -f conftest.
$ac_objext
32964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32965 (eval $ac_compile) 2>conftest.er1
32967 grep -v '^ *+' conftest.er1
>conftest.err
32969 cat conftest.err
>&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); } &&
32972 { ac_try
='test -z "$ac_cxx_werror_flag"
32973 || test ! -s conftest.err'
32974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32975 (eval $ac_try) 2>&5
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); }; } &&
32979 { ac_try
='test -s conftest.$ac_objext'
32980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32981 (eval $ac_try) 2>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); }; }; then
32985 wx_cv_size_t_is_ulong
=no
32987 echo "$as_me: failed program was:" >&5
32988 sed 's/^/| /' conftest.
$ac_ext >&5
32990 wx_cv_size_t_is_ulong
=yes
32993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32996 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32997 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32999 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33000 cat >>confdefs.h
<<\_ACEOF
33001 #define wxSIZE_T_IS_ULONG 1
33008 ac_cpp
='$CPP $CPPFLAGS'
33009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33014 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33015 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33016 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33020 cat >conftest.
$ac_ext <<_ACEOF
33023 cat confdefs.h
>>conftest.
$ac_ext
33024 cat >>conftest.
$ac_ext <<_ACEOF
33025 /* end confdefs.h. */
33039 rm -f conftest.
$ac_objext
33040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33041 (eval $ac_compile) 2>conftest.er1
33043 grep -v '^ *+' conftest.er1
>conftest.err
33045 cat conftest.err
>&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); } &&
33048 { ac_try
='test -z "$ac_c_werror_flag"
33049 || test ! -s conftest.err'
33050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33051 (eval $ac_try) 2>&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); }; } &&
33055 { ac_try
='test -s conftest.$ac_objext'
33056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057 (eval $ac_try) 2>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); }; }; then
33062 wx_cv_struct_pw_gecos
=yes
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.
$ac_ext >&5
33069 wx_cv_struct_pw_gecos
=no
33073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33077 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33078 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33080 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33081 cat >>confdefs.h
<<\_ACEOF
33082 #define HAVE_PW_GECOS 1
33088 if test "$wxUSE_WCHAR_T" = "yes"; then
33089 cat >>confdefs.h
<<\_ACEOF
33090 #define wxUSE_WCHAR_T 1
33097 for ac_func
in wcslen
33099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33100 echo "$as_me:$LINENO: checking for $ac_func" >&5
33101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33102 if eval "test \"\${$as_ac_var+set}\" = set"; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 cat >conftest.
$ac_ext <<_ACEOF
33108 cat confdefs.h
>>conftest.
$ac_ext
33109 cat >>conftest.
$ac_ext <<_ACEOF
33110 /* end confdefs.h. */
33111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33113 #define $ac_func innocuous_$ac_func
33115 /* System header to define __stub macros and hopefully few prototypes,
33116 which can conflict with char $ac_func (); below.
33117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33118 <limits.h> exists even on freestanding compilers. */
33121 # include <limits.h>
33123 # include <assert.h>
33128 /* Override any gcc2 internal prototype to avoid an error. */
33133 /* We use char because int might match the return type of a gcc2
33134 builtin and then its argument prototype would still apply. */
33136 /* The GNU C library defines this for functions which it implements
33137 to always fail with ENOSYS. Some functions are actually named
33138 something starting with __ and the normal name is an alias. */
33139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33142 char (*f) () = $ac_func;
33151 return f != $ac_func;
33156 rm -f conftest.
$ac_objext conftest
$ac_exeext
33157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33158 (eval $ac_link) 2>conftest.er1
33160 grep -v '^ *+' conftest.er1
>conftest.err
33162 cat conftest.err
>&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } &&
33165 { ac_try
='test -z "$ac_c_werror_flag"
33166 || test ! -s conftest.err'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; } &&
33172 { ac_try
='test -s conftest$ac_exeext'
33173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 (eval $ac_try) 2>&5
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); }; }; then
33178 eval "$as_ac_var=yes"
33180 echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.
$ac_ext >&5
33183 eval "$as_ac_var=no"
33185 rm -f conftest.err conftest.
$ac_objext \
33186 conftest
$ac_exeext conftest.
$ac_ext
33188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33190 if test `eval echo '${'$as_ac_var'}'` = yes; then
33191 cat >>confdefs.h
<<_ACEOF
33192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33199 if test "$WCSLEN_FOUND" = 0; then
33200 if test "$TOOLKIT" = "MSW"; then
33201 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33202 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33203 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33204 echo $ECHO_N "(cached) $ECHO_C" >&6
33206 ac_check_lib_save_LIBS
=$LIBS
33207 LIBS
="-lmsvcrt $LIBS"
33208 cat >conftest.
$ac_ext <<_ACEOF
33211 cat confdefs.h
>>conftest.
$ac_ext
33212 cat >>conftest.
$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33215 /* Override any gcc2 internal prototype to avoid an error. */
33219 /* We use char because int might match the return type of a gcc2
33220 builtin and then its argument prototype would still apply. */
33230 rm -f conftest.
$ac_objext conftest
$ac_exeext
33231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33232 (eval $ac_link) 2>conftest.er1
33234 grep -v '^ *+' conftest.er1
>conftest.err
33236 cat conftest.err
>&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try
='test -z "$ac_c_werror_flag"
33240 || test ! -s conftest.err'
33241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33242 (eval $ac_try) 2>&5
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); }; } &&
33246 { ac_try
='test -s conftest$ac_exeext'
33247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33248 (eval $ac_try) 2>&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); }; }; then
33252 ac_cv_lib_msvcrt_wcslen
=yes
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.
$ac_ext >&5
33257 ac_cv_lib_msvcrt_wcslen
=no
33259 rm -f conftest.err conftest.
$ac_objext \
33260 conftest
$ac_exeext conftest.
$ac_ext
33261 LIBS
=$ac_check_lib_save_LIBS
33263 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33264 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33265 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33270 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33271 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33272 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33275 ac_check_lib_save_LIBS
=$LIBS
33277 cat >conftest.
$ac_ext <<_ACEOF
33280 cat confdefs.h
>>conftest.
$ac_ext
33281 cat >>conftest.
$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33284 /* Override any gcc2 internal prototype to avoid an error. */
33288 /* We use char because int might match the return type of a gcc2
33289 builtin and then its argument prototype would still apply. */
33299 rm -f conftest.
$ac_objext conftest
$ac_exeext
33300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33301 (eval $ac_link) 2>conftest.er1
33303 grep -v '^ *+' conftest.er1
>conftest.err
33305 cat conftest.err
>&5
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); } &&
33308 { ac_try
='test -z "$ac_c_werror_flag"
33309 || test ! -s conftest.err'
33310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33311 (eval $ac_try) 2>&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); }; } &&
33315 { ac_try
='test -s conftest$ac_exeext'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; }; then
33321 ac_cv_lib_w_wcslen
=yes
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.
$ac_ext >&5
33326 ac_cv_lib_w_wcslen
=no
33328 rm -f conftest.err conftest.
$ac_objext \
33329 conftest
$ac_exeext conftest.
$ac_ext
33330 LIBS
=$ac_check_lib_save_LIBS
33332 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33333 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33334 if test $ac_cv_lib_w_wcslen = yes; then
33344 if test "$WCSLEN_FOUND" = 1; then
33345 cat >>confdefs.h
<<\_ACEOF
33346 #define HAVE_WCSLEN 1
33351 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33352 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33355 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33356 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33357 if test "${ac_cv_type_mbstate_t+set}" = set; then
33358 echo $ECHO_N "(cached) $ECHO_C" >&6
33360 cat >conftest.
$ac_ext <<_ACEOF
33363 cat confdefs.h
>>conftest.
$ac_ext
33364 cat >>conftest.
$ac_ext <<_ACEOF
33365 /* end confdefs.h. */
33371 if ((mbstate_t *) 0)
33373 if (sizeof (mbstate_t))
33379 rm -f conftest.
$ac_objext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33381 (eval $ac_compile) 2>conftest.er1
33383 grep -v '^ *+' conftest.er1
>conftest.err
33385 cat conftest.err
>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } &&
33388 { ac_try
='test -z "$ac_c_werror_flag"
33389 || test ! -s conftest.err'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; } &&
33395 { ac_try
='test -s conftest.$ac_objext'
33396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397 (eval $ac_try) 2>&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; }; then
33401 ac_cv_type_mbstate_t
=yes
33403 echo "$as_me: failed program was:" >&5
33404 sed 's/^/| /' conftest.
$ac_ext >&5
33406 ac_cv_type_mbstate_t
=no
33408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33410 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33411 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33412 if test $ac_cv_type_mbstate_t = yes; then
33414 cat >>confdefs.h
<<_ACEOF
33415 #define HAVE_MBSTATE_T 1
33419 for ac_func
in wcsrtombs
33421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33422 echo "$as_me:$LINENO: checking for $ac_func" >&5
33423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33424 if eval "test \"\${$as_ac_var+set}\" = set"; then
33425 echo $ECHO_N "(cached) $ECHO_C" >&6
33427 cat >conftest.
$ac_ext <<_ACEOF
33430 cat confdefs.h
>>conftest.
$ac_ext
33431 cat >>conftest.
$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33435 #define $ac_func innocuous_$ac_func
33437 /* System header to define __stub macros and hopefully few prototypes,
33438 which can conflict with char $ac_func (); below.
33439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33440 <limits.h> exists even on freestanding compilers. */
33443 # include <limits.h>
33445 # include <assert.h>
33450 /* Override any gcc2 internal prototype to avoid an error. */
33455 /* We use char because int might match the return type of a gcc2
33456 builtin and then its argument prototype would still apply. */
33458 /* The GNU C library defines this for functions which it implements
33459 to always fail with ENOSYS. Some functions are actually named
33460 something starting with __ and the normal name is an alias. */
33461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33464 char (*f) () = $ac_func;
33473 return f != $ac_func;
33478 rm -f conftest.
$ac_objext conftest
$ac_exeext
33479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33480 (eval $ac_link) 2>conftest.er1
33482 grep -v '^ *+' conftest.er1
>conftest.err
33484 cat conftest.err
>&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); } &&
33487 { ac_try
='test -z "$ac_c_werror_flag"
33488 || test ! -s conftest.err'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; } &&
33494 { ac_try
='test -s conftest$ac_exeext'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }; then
33500 eval "$as_ac_var=yes"
33502 echo "$as_me: failed program was:" >&5
33503 sed 's/^/| /' conftest.
$ac_ext >&5
33505 eval "$as_ac_var=no"
33507 rm -f conftest.err conftest.
$ac_objext \
33508 conftest
$ac_exeext conftest.
$ac_ext
33510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33512 if test `eval echo '${'$as_ac_var'}'` = yes; then
33513 cat >>confdefs.h
<<_ACEOF
33514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33523 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33524 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33529 for ac_func
in snprintf vsnprintf
33531 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33532 echo "$as_me:$LINENO: checking for $ac_func" >&5
33533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33534 if eval "test \"\${$as_ac_var+set}\" = set"; then
33535 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 cat >conftest.
$ac_ext <<_ACEOF
33540 cat confdefs.h
>>conftest.
$ac_ext
33541 cat >>conftest.
$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33545 #define $ac_func innocuous_$ac_func
33547 /* System header to define __stub macros and hopefully few prototypes,
33548 which can conflict with char $ac_func (); below.
33549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33550 <limits.h> exists even on freestanding compilers. */
33553 # include <limits.h>
33555 # include <assert.h>
33560 /* Override any gcc2 internal prototype to avoid an error. */
33565 /* We use char because int might match the return type of a gcc2
33566 builtin and then its argument prototype would still apply. */
33568 /* The GNU C library defines this for functions which it implements
33569 to always fail with ENOSYS. Some functions are actually named
33570 something starting with __ and the normal name is an alias. */
33571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33574 char (*f) () = $ac_func;
33583 return f != $ac_func;
33588 rm -f conftest.
$ac_objext conftest
$ac_exeext
33589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33590 (eval $ac_link) 2>conftest.er1
33592 grep -v '^ *+' conftest.er1
>conftest.err
33594 cat conftest.err
>&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } &&
33597 { ac_try
='test -z "$ac_c_werror_flag"
33598 || test ! -s conftest.err'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; } &&
33604 { ac_try
='test -s conftest$ac_exeext'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; }; then
33610 eval "$as_ac_var=yes"
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.
$ac_ext >&5
33615 eval "$as_ac_var=no"
33617 rm -f conftest.err conftest.
$ac_objext \
33618 conftest
$ac_exeext conftest.
$ac_ext
33620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33622 if test `eval echo '${'$as_ac_var'}'` = yes; then
33623 cat >>confdefs.h
<<_ACEOF
33624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33631 if test "$ac_cv_func_vsnprintf" = "yes"; then
33632 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33633 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33634 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33638 cat >conftest.
$ac_ext <<_ACEOF
33641 cat confdefs.h
>>conftest.
$ac_ext
33642 cat >>conftest.
$ac_ext <<_ACEOF
33643 /* end confdefs.h. */
33646 #include <stdarg.h>
33648 #if __MSL__ >= 0x6000
33650 using namespace std;
33660 vsnprintf(buf, 10u, "%s", ap);
33666 rm -f conftest.
$ac_objext
33667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33668 (eval $ac_compile) 2>conftest.er1
33670 grep -v '^ *+' conftest.er1
>conftest.err
33672 cat conftest.err
>&5
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); } &&
33675 { ac_try
='test -z "$ac_c_werror_flag"
33676 || test ! -s conftest.err'
33677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678 (eval $ac_try) 2>&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; } &&
33682 { ac_try
='test -s conftest.$ac_objext'
33683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684 (eval $ac_try) 2>&5
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); }; }; then
33688 wx_cv_func_vsnprintf_decl
=yes
33690 echo "$as_me: failed program was:" >&5
33691 sed 's/^/| /' conftest.
$ac_ext >&5
33693 wx_cv_func_vsnprintf_decl
=no
33696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33700 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33701 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33703 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33704 cat >>confdefs.h
<<\_ACEOF
33705 #define HAVE_VSNPRINTF_DECL 1
33709 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33710 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33711 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33715 cat >conftest.
$ac_ext <<_ACEOF
33718 cat confdefs.h
>>conftest.
$ac_ext
33719 cat >>conftest.
$ac_ext <<_ACEOF
33720 /* end confdefs.h. */
33723 #include <stdarg.h>
33725 #if __MSL__ >= 0x6000
33727 using namespace std;
33737 const char *fmt = "%s";
33738 vsnprintf(buf, 10u, fmt, ap);
33744 rm -f conftest.
$ac_objext
33745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33746 (eval $ac_compile) 2>conftest.er1
33748 grep -v '^ *+' conftest.er1
>conftest.err
33750 cat conftest.err
>&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } &&
33753 { ac_try
='test -z "$ac_c_werror_flag"
33754 || test ! -s conftest.err'
33755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33756 (eval $ac_try) 2>&5
33758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33759 (exit $ac_status); }; } &&
33760 { ac_try
='test -s conftest.$ac_objext'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }; then
33766 wx_cv_func_broken_vsnprintf_decl
=no
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.
$ac_ext >&5
33771 wx_cv_func_broken_vsnprintf_decl
=yes
33774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33778 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33779 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33781 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33782 cat >>confdefs.h
<<\_ACEOF
33783 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33790 if test "$ac_cv_func_snprintf" = "yes"; then
33791 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33792 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33793 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33797 cat >conftest.
$ac_ext <<_ACEOF
33800 cat confdefs.h
>>conftest.
$ac_ext
33801 cat >>conftest.
$ac_ext <<_ACEOF
33802 /* end confdefs.h. */
33805 #include <stdarg.h>
33807 #if __MSL__ >= 0x6000
33809 using namespace std;
33818 snprintf(buf, 10u, "%s", "wx");
33824 rm -f conftest.
$ac_objext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33826 (eval $ac_compile) 2>conftest.er1
33828 grep -v '^ *+' conftest.er1
>conftest.err
33830 cat conftest.err
>&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try
='test -z "$ac_c_werror_flag"
33834 || test ! -s conftest.err'
33835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33836 (eval $ac_try) 2>&5
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); }; } &&
33840 { ac_try
='test -s conftest.$ac_objext'
33841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33842 (eval $ac_try) 2>&5
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); }; }; then
33846 wx_cv_func_snprintf_decl
=yes
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.
$ac_ext >&5
33851 wx_cv_func_snprintf_decl
=no
33854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33858 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33859 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33861 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33862 cat >>confdefs.h
<<\_ACEOF
33863 #define HAVE_SNPRINTF_DECL 1
33867 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33868 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33869 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33873 cat >conftest.
$ac_ext <<_ACEOF
33876 cat confdefs.h
>>conftest.
$ac_ext
33877 cat >>conftest.
$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33881 #include <stdarg.h>
33883 #if __MSL__ >= 0x6000
33885 using namespace std;
33894 const char *fmt = "%s";
33895 snprintf(buf, 10u, fmt, "wx");
33901 rm -f conftest.
$ac_objext
33902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33903 (eval $ac_compile) 2>conftest.er1
33905 grep -v '^ *+' conftest.er1
>conftest.err
33907 cat conftest.err
>&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); } &&
33910 { ac_try
='test -z "$ac_c_werror_flag"
33911 || test ! -s conftest.err'
33912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33913 (eval $ac_try) 2>&5
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); }; } &&
33917 { ac_try
='test -s conftest.$ac_objext'
33918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33919 (eval $ac_try) 2>&5
33921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33922 (exit $ac_status); }; }; then
33923 wx_cv_func_broken_snprintf_decl
=no
33925 echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.
$ac_ext >&5
33928 wx_cv_func_broken_snprintf_decl
=yes
33931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33935 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33936 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33938 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33939 cat >>confdefs.h
<<\_ACEOF
33940 #define HAVE_BROKEN_SNPRINTF_DECL 1
33946 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
33948 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
33949 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
33950 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
33951 echo $ECHO_N "(cached) $ECHO_C" >&6
33954 if test "$cross_compiling" = yes; then
33956 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
33957 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
33958 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
33959 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
33960 wx_cv_func_snprintf_pos_params
=no
33964 cat >conftest.
$ac_ext <<_ACEOF
33967 cat confdefs.h
>>conftest.
$ac_ext
33968 cat >>conftest.
$ac_ext <<_ACEOF
33969 /* end confdefs.h. */
33976 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
33977 if (strcmp ("2 3 1", buffer) == 0)
33983 rm -f conftest
$ac_exeext
33984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33985 (eval $ac_link) 2>&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
33989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33990 (eval $ac_try) 2>&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); }; }; then
33994 wx_cv_func_snprintf_pos_params
=no
33996 echo "$as_me: program exited with status $ac_status" >&5
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.
$ac_ext >&5
34000 ( exit $ac_status )
34001 wx_cv_func_snprintf_pos_params
=yes
34003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34008 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34009 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34011 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34012 cat >>confdefs.h
<<\_ACEOF
34013 #define HAVE_UNIX98_PRINTF 1
34020 if test "$wxUSE_UNICODE" = yes; then
34023 for ac_func
in swprintf
34025 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34026 echo "$as_me:$LINENO: checking for $ac_func" >&5
34027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34028 if eval "test \"\${$as_ac_var+set}\" = set"; then
34029 echo $ECHO_N "(cached) $ECHO_C" >&6
34031 cat >conftest.
$ac_ext <<_ACEOF
34034 cat confdefs.h
>>conftest.
$ac_ext
34035 cat >>conftest.
$ac_ext <<_ACEOF
34036 /* end confdefs.h. */
34037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34039 #define $ac_func innocuous_$ac_func
34041 /* System header to define __stub macros and hopefully few prototypes,
34042 which can conflict with char $ac_func (); below.
34043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34044 <limits.h> exists even on freestanding compilers. */
34047 # include <limits.h>
34049 # include <assert.h>
34054 /* Override any gcc2 internal prototype to avoid an error. */
34059 /* We use char because int might match the return type of a gcc2
34060 builtin and then its argument prototype would still apply. */
34062 /* The GNU C library defines this for functions which it implements
34063 to always fail with ENOSYS. Some functions are actually named
34064 something starting with __ and the normal name is an alias. */
34065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34068 char (*f) () = $ac_func;
34077 return f != $ac_func;
34082 rm -f conftest.
$ac_objext conftest
$ac_exeext
34083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34084 (eval $ac_link) 2>conftest.er1
34086 grep -v '^ *+' conftest.er1
>conftest.err
34088 cat conftest.err
>&5
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); } &&
34091 { ac_try
='test -z "$ac_c_werror_flag"
34092 || test ! -s conftest.err'
34093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34094 (eval $ac_try) 2>&5
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); }; } &&
34098 { ac_try
='test -s conftest$ac_exeext'
34099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34100 (eval $ac_try) 2>&5
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); }; }; then
34104 eval "$as_ac_var=yes"
34106 echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.
$ac_ext >&5
34109 eval "$as_ac_var=no"
34111 rm -f conftest.err conftest.
$ac_objext \
34112 conftest
$ac_exeext conftest.
$ac_ext
34114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34116 if test `eval echo '${'$as_ac_var'}'` = yes; then
34117 cat >>confdefs.h
<<_ACEOF
34118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34125 if test "$ac_cv_func_swprintf" = "yes"; then
34126 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34127 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
34128 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34129 echo $ECHO_N "(cached) $ECHO_C" >&6
34132 cat >conftest.
$ac_ext <<_ACEOF
34135 cat confdefs.h
>>conftest.
$ac_ext
34136 cat >>conftest.
$ac_ext <<_ACEOF
34137 /* end confdefs.h. */
34140 #include <stdarg.h>
34148 const wchar_t *fmt = L"test";
34149 swprintf(buf, 10u, fmt);
34155 rm -f conftest.
$ac_objext
34156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34157 (eval $ac_compile) 2>conftest.er1
34159 grep -v '^ *+' conftest.er1
>conftest.err
34161 cat conftest.err
>&5
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); } &&
34164 { ac_try
='test -z "$ac_c_werror_flag"
34165 || test ! -s conftest.err'
34166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34167 (eval $ac_try) 2>&5
34169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34170 (exit $ac_status); }; } &&
34171 { ac_try
='test -s conftest.$ac_objext'
34172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173 (eval $ac_try) 2>&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); }; }; then
34177 wx_cv_func_broken_swprintf_decl
=no
34179 echo "$as_me: failed program was:" >&5
34180 sed 's/^/| /' conftest.
$ac_ext >&5
34182 wx_cv_func_broken_swprintf_decl
=yes
34185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34189 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34190 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
34192 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34193 cat >>confdefs.h
<<\_ACEOF
34194 #define HAVE_BROKEN_SWPRINTF_DECL 1
34200 wchar_headers
="#include <stdio.h>
34201 #include <wchar.h>"
34204 echo "$as_me:$LINENO: checking for widec.h" >&5
34205 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
34206 if test "${ac_cv_header_widec_h+set}" = set; then
34207 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 cat >conftest.
$ac_ext <<_ACEOF
34212 cat confdefs.h
>>conftest.
$ac_ext
34213 cat >>conftest.
$ac_ext <<_ACEOF
34214 /* end confdefs.h. */
34215 $ac_includes_default
34219 rm -f conftest.
$ac_objext
34220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34221 (eval $ac_compile) 2>conftest.er1
34223 grep -v '^ *+' conftest.er1
>conftest.err
34225 cat conftest.err
>&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); } &&
34228 { ac_try
='test -z "$ac_c_werror_flag"
34229 || test ! -s conftest.err'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; } &&
34235 { ac_try
='test -s conftest.$ac_objext'
34236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34237 (eval $ac_try) 2>&5
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); }; }; then
34241 ac_cv_header_widec_h
=yes
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.
$ac_ext >&5
34246 ac_cv_header_widec_h
=no
34248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34250 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34251 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
34254 if test "$ac_cv_header_widec_h" = "yes"; then
34255 wchar_headers
="$wchar_headers
34256 #include <widec.h>"
34261 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
34263 echo "$as_me:$LINENO: checking for $wx_func" >&5
34264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34265 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34266 echo $ECHO_N "(cached) $ECHO_C" >&6
34269 cat >conftest.
$ac_ext <<_ACEOF
34273 cat confdefs.h
>>conftest.
$ac_ext
34274 cat >>conftest.
$ac_ext <<_ACEOF
34275 /* end confdefs.h. */
34278 $ac_includes_default
34294 rm -f conftest.
$ac_objext conftest
$ac_exeext
34295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34296 (eval $ac_link) 2>conftest.er1
34298 grep -v '^ *+' conftest.er1
>conftest.err
34300 cat conftest.err
>&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } &&
34303 { ac_try
='test -z "$ac_c_werror_flag"
34304 || test ! -s conftest.err'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; } &&
34310 { ac_try
='test -s conftest$ac_exeext'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; }; then
34316 eval wx_cv_func_
$wx_func=yes
34318 echo "$as_me: failed program was:" >&5
34319 sed 's/^/| /' conftest.
$ac_ext >&5
34321 eval wx_cv_func_
$wx_func=no
34323 rm -f conftest.err conftest.
$ac_objext \
34324 conftest
$ac_exeext conftest.
$ac_ext
34327 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34328 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34330 if eval test \
$wx_cv_func_$wx_func = yes
34332 cat >>confdefs.h
<<_ACEOF
34333 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34344 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34345 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34346 cat >conftest.
$ac_ext <<_ACEOF
34349 cat confdefs.h
>>conftest.
$ac_ext
34350 cat >>conftest.
$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34361 rm -f conftest.
$ac_objext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34363 (eval $ac_compile) 2>conftest.er1
34365 grep -v '^ *+' conftest.er1
>conftest.err
34367 cat conftest.err
>&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } &&
34370 { ac_try
='test -z "$ac_c_werror_flag"
34371 || test ! -s conftest.err'
34372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34373 (eval $ac_try) 2>&5
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); }; } &&
34377 { ac_try
='test -s conftest.$ac_objext'
34378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379 (eval $ac_try) 2>&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); }; }; then
34383 echo "$as_me:$LINENO: result: yes" >&5
34384 echo "${ECHO_T}yes" >&6
34385 cat >>confdefs.h
<<\_ACEOF
34386 #define HAVE__VSNWPRINTF 1
34390 echo "$as_me: failed program was:" >&5
34391 sed 's/^/| /' conftest.
$ac_ext >&5
34393 echo "$as_me:$LINENO: result: no" >&5
34394 echo "${ECHO_T}no" >&6
34396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34399 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34401 for wx_func
in fnmatch
34403 echo "$as_me:$LINENO: checking for $wx_func" >&5
34404 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34405 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34409 cat >conftest.
$ac_ext <<_ACEOF
34413 cat confdefs.h
>>conftest.
$ac_ext
34414 cat >>conftest.
$ac_ext <<_ACEOF
34415 /* end confdefs.h. */
34417 #include <fnmatch.h>
34418 $ac_includes_default
34434 rm -f conftest.
$ac_objext conftest
$ac_exeext
34435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34436 (eval $ac_link) 2>conftest.er1
34438 grep -v '^ *+' conftest.er1
>conftest.err
34440 cat conftest.err
>&5
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); } &&
34443 { ac_try
='test -z "$ac_c_werror_flag"
34444 || test ! -s conftest.err'
34445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34446 (eval $ac_try) 2>&5
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); }; } &&
34450 { ac_try
='test -s conftest$ac_exeext'
34451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34452 (eval $ac_try) 2>&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); }; }; then
34456 eval wx_cv_func_
$wx_func=yes
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.
$ac_ext >&5
34461 eval wx_cv_func_
$wx_func=no
34463 rm -f conftest.err conftest.
$ac_objext \
34464 conftest
$ac_exeext conftest.
$ac_ext
34467 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34468 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34470 if eval test \
$wx_cv_func_$wx_func = yes
34472 cat >>confdefs.h
<<_ACEOF
34473 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34485 if test "$wxUSE_FILE" = "yes"; then
34487 for wx_func
in fsync
34489 echo "$as_me:$LINENO: checking for $wx_func" >&5
34490 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34491 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34495 cat >conftest.
$ac_ext <<_ACEOF
34499 cat confdefs.h
>>conftest.
$ac_ext
34500 cat >>conftest.
$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34504 $ac_includes_default
34520 rm -f conftest.
$ac_objext conftest
$ac_exeext
34521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34522 (eval $ac_link) 2>conftest.er1
34524 grep -v '^ *+' conftest.er1
>conftest.err
34526 cat conftest.err
>&5
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); } &&
34529 { ac_try
='test -z "$ac_c_werror_flag"
34530 || test ! -s conftest.err'
34531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34532 (eval $ac_try) 2>&5
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); }; } &&
34536 { ac_try
='test -s conftest$ac_exeext'
34537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34538 (eval $ac_try) 2>&5
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); }; }; then
34542 eval wx_cv_func_
$wx_func=yes
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.
$ac_ext >&5
34547 eval wx_cv_func_
$wx_func=no
34549 rm -f conftest.err conftest.
$ac_objext \
34550 conftest
$ac_exeext conftest.
$ac_ext
34553 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34554 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34556 if eval test \
$wx_cv_func_$wx_func = yes
34558 cat >>confdefs.h
<<_ACEOF
34559 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34572 for wx_func
in round
34574 echo "$as_me:$LINENO: checking for $wx_func" >&5
34575 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34576 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 cat >conftest.
$ac_ext <<_ACEOF
34584 cat confdefs.h
>>conftest.
$ac_ext
34585 cat >>conftest.
$ac_ext <<_ACEOF
34586 /* end confdefs.h. */
34589 $ac_includes_default
34605 rm -f conftest.
$ac_objext conftest
$ac_exeext
34606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34607 (eval $ac_link) 2>conftest.er1
34609 grep -v '^ *+' conftest.er1
>conftest.err
34611 cat conftest.err
>&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); } &&
34614 { ac_try
='test -z "$ac_c_werror_flag"
34615 || test ! -s conftest.err'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; } &&
34621 { ac_try
='test -s conftest$ac_exeext'
34622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623 (eval $ac_try) 2>&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); }; }; then
34627 eval wx_cv_func_
$wx_func=yes
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.
$ac_ext >&5
34632 eval wx_cv_func_
$wx_func=no
34634 rm -f conftest.err conftest.
$ac_objext \
34635 conftest
$ac_exeext conftest.
$ac_ext
34638 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34639 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34641 if eval test \
$wx_cv_func_$wx_func = yes
34643 cat >>confdefs.h
<<_ACEOF
34644 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34655 if test "$TOOLKIT" != "MSW"; then
34661 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34662 if test "${with_libiconv_prefix+set}" = set; then
34663 withval
="$with_libiconv_prefix"
34665 for dir
in `echo "$withval" | tr : ' '`; do
34666 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34667 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34672 echo "$as_me:$LINENO: checking for iconv" >&5
34673 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34674 if test "${am_cv_func_iconv+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34678 am_cv_func_iconv
="no, consider installing GNU libiconv"
34680 cat >conftest.
$ac_ext <<_ACEOF
34683 cat confdefs.h
>>conftest.
$ac_ext
34684 cat >>conftest.
$ac_ext <<_ACEOF
34685 /* end confdefs.h. */
34686 #include <stdlib.h>
34691 iconv_t cd = iconv_open("","");
34692 iconv(cd,NULL,NULL,NULL,NULL);
34698 rm -f conftest.
$ac_objext conftest
$ac_exeext
34699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34700 (eval $ac_link) 2>conftest.er1
34702 grep -v '^ *+' conftest.er1
>conftest.err
34704 cat conftest.err
>&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } &&
34707 { ac_try
='test -z "$ac_c_werror_flag"
34708 || test ! -s conftest.err'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try
='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34720 am_cv_func_iconv
=yes
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.
$ac_ext >&5
34726 rm -f conftest.err conftest.
$ac_objext \
34727 conftest
$ac_exeext conftest.
$ac_ext
34728 if test "$am_cv_func_iconv" != yes; then
34729 am_save_LIBS
="$LIBS"
34730 LIBS
="$LIBS -liconv"
34731 cat >conftest.
$ac_ext <<_ACEOF
34734 cat confdefs.h
>>conftest.
$ac_ext
34735 cat >>conftest.
$ac_ext <<_ACEOF
34736 /* end confdefs.h. */
34737 #include <stdlib.h>
34742 iconv_t cd = iconv_open("","");
34743 iconv(cd,NULL,NULL,NULL,NULL);
34749 rm -f conftest.
$ac_objext conftest
$ac_exeext
34750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34751 (eval $ac_link) 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"
34759 || test ! -s conftest.err'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; } &&
34765 { ac_try
='test -s conftest$ac_exeext'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; }; then
34771 am_cv_lib_iconv
=yes
34772 am_cv_func_iconv
=yes
34774 echo "$as_me: failed program was:" >&5
34775 sed 's/^/| /' conftest.
$ac_ext >&5
34778 rm -f conftest.err conftest.
$ac_objext \
34779 conftest
$ac_exeext conftest.
$ac_ext
34780 LIBS
="$am_save_LIBS"
34784 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34785 echo "${ECHO_T}$am_cv_func_iconv" >&6
34786 if test "$am_cv_func_iconv" = yes; then
34788 cat >>confdefs.h
<<\_ACEOF
34789 #define HAVE_ICONV 1
34792 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34793 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34794 if test "${wx_cv_func_iconv_const+set}" = set; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34797 cat >conftest.
$ac_ext <<_ACEOF
34800 cat confdefs.h
>>conftest.
$ac_ext
34801 cat >>conftest.
$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34804 #include <stdlib.h>
34810 #if defined(__STDC__) || defined(__cplusplus)
34811 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34824 rm -f conftest.
$ac_objext
34825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34826 (eval $ac_compile) 2>conftest.er1
34828 grep -v '^ *+' conftest.er1
>conftest.err
34830 cat conftest.err
>&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); } &&
34833 { ac_try
='test -z "$ac_c_werror_flag"
34834 || test ! -s conftest.err'
34835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34836 (eval $ac_try) 2>&5
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); }; } &&
34840 { ac_try
='test -s conftest.$ac_objext'
34841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34842 (eval $ac_try) 2>&5
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); }; }; then
34846 wx_cv_func_iconv_const
="no"
34848 echo "$as_me: failed program was:" >&5
34849 sed 's/^/| /' conftest.
$ac_ext >&5
34851 wx_cv_func_iconv_const
="yes"
34854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34857 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34858 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34861 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34862 iconv_const
="const"
34866 cat >>confdefs.h
<<_ACEOF
34867 #define ICONV_CONST $iconv_const
34872 if test "$am_cv_lib_iconv" = yes; then
34877 LIBS
="$LIBICONV $LIBS"
34879 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34881 for ac_func
in sigaction
34883 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34884 echo "$as_me:$LINENO: checking for $ac_func" >&5
34885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34886 if eval "test \"\${$as_ac_var+set}\" = set"; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34889 cat >conftest.
$ac_ext <<_ACEOF
34892 cat confdefs.h
>>conftest.
$ac_ext
34893 cat >>conftest.
$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34897 #define $ac_func innocuous_$ac_func
34899 /* System header to define __stub macros and hopefully few prototypes,
34900 which can conflict with char $ac_func (); below.
34901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34902 <limits.h> exists even on freestanding compilers. */
34905 # include <limits.h>
34907 # include <assert.h>
34912 /* Override any gcc2 internal prototype to avoid an error. */
34917 /* We use char because int might match the return type of a gcc2
34918 builtin and then its argument prototype would still apply. */
34920 /* The GNU C library defines this for functions which it implements
34921 to always fail with ENOSYS. Some functions are actually named
34922 something starting with __ and the normal name is an alias. */
34923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34926 char (*f) () = $ac_func;
34935 return f != $ac_func;
34940 rm -f conftest.
$ac_objext conftest
$ac_exeext
34941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34942 (eval $ac_link) 2>conftest.er1
34944 grep -v '^ *+' conftest.er1
>conftest.err
34946 cat conftest.err
>&5
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); } &&
34949 { ac_try
='test -z "$ac_c_werror_flag"
34950 || test ! -s conftest.err'
34951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34952 (eval $ac_try) 2>&5
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); }; } &&
34956 { ac_try
='test -s conftest$ac_exeext'
34957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34958 (eval $ac_try) 2>&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); }; }; then
34962 eval "$as_ac_var=yes"
34964 echo "$as_me: failed program was:" >&5
34965 sed 's/^/| /' conftest.
$ac_ext >&5
34967 eval "$as_ac_var=no"
34969 rm -f conftest.err conftest.
$ac_objext \
34970 conftest
$ac_exeext conftest.
$ac_ext
34972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34974 if test `eval echo '${'$as_ac_var'}'` = yes; then
34975 cat >>confdefs.h
<<_ACEOF
34976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34983 if test "$ac_cv_func_sigaction" = "no"; then
34984 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34985 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34986 wxUSE_ON_FATAL_EXCEPTION
=no
34989 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34990 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34991 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34992 if test "${wx_cv_type_sa_handler+set}" = set; then
34993 echo $ECHO_N "(cached) $ECHO_C" >&6
34997 ac_cpp
='$CXXCPP $CPPFLAGS'
34998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35002 cat >conftest.
$ac_ext <<_ACEOF
35005 cat confdefs.h
>>conftest.
$ac_ext
35006 cat >>conftest.
$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35008 #include <signal.h>
35013 extern void testSigHandler(int);
35015 struct sigaction sa;
35016 sa.sa_handler = testSigHandler;
35022 rm -f conftest.
$ac_objext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35024 (eval $ac_compile) 2>conftest.er1
35026 grep -v '^ *+' conftest.er1
>conftest.err
35028 cat conftest.err
>&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } &&
35031 { ac_try
='test -z "$ac_cxx_werror_flag"
35032 || test ! -s conftest.err'
35033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35034 (eval $ac_try) 2>&5
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); }; } &&
35038 { ac_try
='test -s conftest.$ac_objext'
35039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040 (eval $ac_try) 2>&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); }; }; then
35045 wx_cv_type_sa_handler
=int
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.
$ac_ext >&5
35052 wx_cv_type_sa_handler
=void
35055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35057 ac_cpp
='$CPP $CPPFLAGS'
35058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35064 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35065 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35067 cat >>confdefs.h
<<_ACEOF
35068 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35074 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35075 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35076 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35077 if test "${wx_cv_func_backtrace+set}" = set; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 ac_cpp
='$CXXCPP $CPPFLAGS'
35083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35087 cat >conftest.
$ac_ext <<_ACEOF
35090 cat confdefs.h
>>conftest.
$ac_ext
35091 cat >>conftest.
$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35093 #include <execinfo.h>
35101 backtrace(trace, 1);
35102 messages = backtrace_symbols(trace, 1);
35108 rm -f conftest.
$ac_objext
35109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35110 (eval $ac_compile) 2>conftest.er1
35112 grep -v '^ *+' conftest.er1
>conftest.err
35114 cat conftest.err
>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } &&
35117 { ac_try
='test -z "$ac_cxx_werror_flag"
35118 || test ! -s conftest.err'
35119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35120 (eval $ac_try) 2>&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); }; } &&
35124 { ac_try
='test -s conftest.$ac_objext'
35125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35126 (eval $ac_try) 2>&5
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); }; }; then
35130 wx_cv_func_backtrace
=yes
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.
$ac_ext >&5
35135 wx_cv_func_backtrace
=no
35138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35140 ac_cpp
='$CPP $CPPFLAGS'
35141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35148 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35149 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35152 if test "$wx_cv_func_backtrace" = "no"; then
35153 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35154 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35155 wxUSE_STACKWALKER
=no
35157 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35158 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35159 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35160 echo $ECHO_N "(cached) $ECHO_C" >&6
35164 ac_cpp
='$CXXCPP $CPPFLAGS'
35165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35169 cat >conftest.
$ac_ext <<_ACEOF
35172 cat confdefs.h
>>conftest.
$ac_ext
35173 cat >>conftest.
$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 #include <cxxabi.h>
35181 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35187 rm -f conftest.
$ac_objext conftest
$ac_exeext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35189 (eval $ac_link) 2>conftest.er1
35191 grep -v '^ *+' conftest.er1
>conftest.err
35193 cat conftest.err
>&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try
='test -z "$ac_cxx_werror_flag"
35197 || test ! -s conftest.err'
35198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35199 (eval $ac_try) 2>&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); }; } &&
35203 { ac_try
='test -s conftest$ac_exeext'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; }; then
35209 wx_cv_func_cxa_demangle
=yes
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.
$ac_ext >&5
35214 wx_cv_func_cxa_demangle
=no
35217 rm -f conftest.err conftest.
$ac_objext \
35218 conftest
$ac_exeext conftest.
$ac_ext
35220 ac_cpp
='$CPP $CPPFLAGS'
35221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35228 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35229 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35231 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35232 cat >>confdefs.h
<<\_ACEOF
35233 #define HAVE_CXA_DEMANGLE 1
35240 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35241 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35242 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35243 wxUSE_STACKWALKER
=no
35249 for ac_func
in mkstemp mktemp
35251 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35252 echo "$as_me:$LINENO: checking for $ac_func" >&5
35253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35254 if eval "test \"\${$as_ac_var+set}\" = set"; then
35255 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 cat >conftest.
$ac_ext <<_ACEOF
35260 cat confdefs.h
>>conftest.
$ac_ext
35261 cat >>conftest.
$ac_ext <<_ACEOF
35262 /* end confdefs.h. */
35263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35265 #define $ac_func innocuous_$ac_func
35267 /* System header to define __stub macros and hopefully few prototypes,
35268 which can conflict with char $ac_func (); below.
35269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35270 <limits.h> exists even on freestanding compilers. */
35273 # include <limits.h>
35275 # include <assert.h>
35280 /* Override any gcc2 internal prototype to avoid an error. */
35285 /* We use char because int might match the return type of a gcc2
35286 builtin and then its argument prototype would still apply. */
35288 /* The GNU C library defines this for functions which it implements
35289 to always fail with ENOSYS. Some functions are actually named
35290 something starting with __ and the normal name is an alias. */
35291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35294 char (*f) () = $ac_func;
35303 return f != $ac_func;
35308 rm -f conftest.
$ac_objext conftest
$ac_exeext
35309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35310 (eval $ac_link) 2>conftest.er1
35312 grep -v '^ *+' conftest.er1
>conftest.err
35314 cat conftest.err
>&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } &&
35317 { ac_try
='test -z "$ac_c_werror_flag"
35318 || test ! -s conftest.err'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; } &&
35324 { ac_try
='test -s conftest$ac_exeext'
35325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35326 (eval $ac_try) 2>&5
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); }; }; then
35330 eval "$as_ac_var=yes"
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.
$ac_ext >&5
35335 eval "$as_ac_var=no"
35337 rm -f conftest.err conftest.
$ac_objext \
35338 conftest
$ac_exeext conftest.
$ac_ext
35340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35342 if test `eval echo '${'$as_ac_var'}'` = yes; then
35343 cat >>confdefs.h
<<_ACEOF
35344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35351 echo "$as_me:$LINENO: checking for statfs" >&5
35352 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35353 if test "${wx_cv_func_statfs+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35356 cat >conftest.
$ac_ext <<_ACEOF
35359 cat confdefs.h
>>conftest.
$ac_ext
35360 cat >>conftest.
$ac_ext <<_ACEOF
35361 /* end confdefs.h. */
35363 #if defined(__BSD__)
35364 #include <sys/param.h>
35365 #include <sys/mount.h>
35367 #include <sys/vfs.h>
35385 rm -f conftest.
$ac_objext
35386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35387 (eval $ac_compile) 2>conftest.er1
35389 grep -v '^ *+' conftest.er1
>conftest.err
35391 cat conftest.err
>&5
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); } &&
35394 { ac_try
='test -z "$ac_c_werror_flag"
35395 || test ! -s conftest.err'
35396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35397 (eval $ac_try) 2>&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); }; } &&
35401 { ac_try
='test -s conftest.$ac_objext'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; }; then
35407 wx_cv_func_statfs
=yes
35409 echo "$as_me: failed program was:" >&5
35410 sed 's/^/| /' conftest.
$ac_ext >&5
35412 wx_cv_func_statfs
=no
35415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35418 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35419 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35421 if test "$wx_cv_func_statfs" = "yes"; then
35422 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35423 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35424 if test "${wx_cv_func_statfs_decl+set}" = set; then
35425 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 ac_cpp
='$CXXCPP $CPPFLAGS'
35429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35433 cat >conftest.
$ac_ext <<_ACEOF
35436 cat confdefs.h
>>conftest.
$ac_ext
35437 cat >>conftest.
$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35440 #if defined(__BSD__)
35441 #include <sys/param.h>
35442 #include <sys/mount.h>
35444 #include <sys/vfs.h>
35458 rm -f conftest.
$ac_objext
35459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35460 (eval $ac_compile) 2>conftest.er1
35462 grep -v '^ *+' conftest.er1
>conftest.err
35464 cat conftest.err
>&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); } &&
35467 { ac_try
='test -z "$ac_cxx_werror_flag"
35468 || test ! -s conftest.err'
35469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35470 (eval $ac_try) 2>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); }; } &&
35474 { ac_try
='test -s conftest.$ac_objext'
35475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35476 (eval $ac_try) 2>&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); }; }; then
35480 wx_cv_func_statfs_decl
=yes
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.
$ac_ext >&5
35485 wx_cv_func_statfs_decl
=no
35488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35490 ac_cpp
='$CPP $CPPFLAGS'
35491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35497 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35498 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35500 if test "$wx_cv_func_statfs_decl" = "yes"; then
35501 cat >>confdefs.h
<<\_ACEOF
35502 #define HAVE_STATFS_DECL 1
35507 wx_cv_type_statvfs_t
="struct statfs"
35508 cat >>confdefs.h
<<\_ACEOF
35509 #define HAVE_STATFS 1
35513 echo "$as_me:$LINENO: checking for statvfs" >&5
35514 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35515 if test "${wx_cv_func_statvfs+set}" = set; then
35516 echo $ECHO_N "(cached) $ECHO_C" >&6
35518 cat >conftest.
$ac_ext <<_ACEOF
35521 cat confdefs.h
>>conftest.
$ac_ext
35522 cat >>conftest.
$ac_ext <<_ACEOF
35523 /* end confdefs.h. */
35525 #include <stddef.h>
35526 #include <sys/statvfs.h>
35532 statvfs("/", NULL);
35538 rm -f conftest.
$ac_objext
35539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35540 (eval $ac_compile) 2>conftest.er1
35542 grep -v '^ *+' conftest.er1
>conftest.err
35544 cat conftest.err
>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } &&
35547 { ac_try
='test -z "$ac_c_werror_flag"
35548 || test ! -s conftest.err'
35549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550 (eval $ac_try) 2>&5
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); }; } &&
35554 { ac_try
='test -s conftest.$ac_objext'
35555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35556 (eval $ac_try) 2>&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); }; }; then
35560 wx_cv_func_statvfs
=yes
35562 echo "$as_me: failed program was:" >&5
35563 sed 's/^/| /' conftest.
$ac_ext >&5
35565 wx_cv_func_statvfs
=no
35568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35571 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35572 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35574 if test "$wx_cv_func_statvfs" = "yes"; then
35575 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35576 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35577 if test "${wx_cv_type_statvfs_t+set}" = set; then
35578 echo $ECHO_N "(cached) $ECHO_C" >&6
35581 ac_cpp
='$CXXCPP $CPPFLAGS'
35582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35586 cat >conftest.
$ac_ext <<_ACEOF
35589 cat confdefs.h
>>conftest.
$ac_ext
35590 cat >>conftest.
$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35593 #include <sys/statvfs.h>
35610 rm -f conftest.
$ac_objext
35611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35612 (eval $ac_compile) 2>conftest.er1
35614 grep -v '^ *+' conftest.er1
>conftest.err
35616 cat conftest.err
>&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } &&
35619 { ac_try
='test -z "$ac_cxx_werror_flag"
35620 || test ! -s conftest.err'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; } &&
35626 { ac_try
='test -s conftest.$ac_objext'
35627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628 (eval $ac_try) 2>&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; }; then
35632 wx_cv_type_statvfs_t
=statvfs_t
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.
$ac_ext >&5
35638 cat >conftest.
$ac_ext <<_ACEOF
35641 cat confdefs.h
>>conftest.
$ac_ext
35642 cat >>conftest.
$ac_ext <<_ACEOF
35643 /* end confdefs.h. */
35645 #include <sys/statvfs.h>
35662 rm -f conftest.
$ac_objext
35663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35664 (eval $ac_compile) 2>conftest.er1
35666 grep -v '^ *+' conftest.er1
>conftest.err
35668 cat conftest.err
>&5
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); } &&
35671 { ac_try
='test -z "$ac_cxx_werror_flag"
35672 || test ! -s conftest.err'
35673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35674 (eval $ac_try) 2>&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); }; } &&
35678 { ac_try
='test -s conftest.$ac_objext'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; }; then
35684 wx_cv_type_statvfs_t
="struct statvfs"
35686 echo "$as_me: failed program was:" >&5
35687 sed 's/^/| /' conftest.
$ac_ext >&5
35689 wx_cv_type_statvfs_t
="unknown"
35692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35698 ac_cpp
='$CPP $CPPFLAGS'
35699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35705 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35706 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35708 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35709 cat >>confdefs.h
<<\_ACEOF
35710 #define HAVE_STATVFS 1
35715 wx_cv_type_statvfs_t
="unknown"
35719 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35720 cat >>confdefs.h
<<_ACEOF
35721 #define WX_STATFS_T $wx_cv_type_statvfs_t
35725 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35726 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35729 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35732 for ac_func
in fcntl flock
35734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35735 echo "$as_me:$LINENO: checking for $ac_func" >&5
35736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35737 if eval "test \"\${$as_ac_var+set}\" = set"; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35740 cat >conftest.
$ac_ext <<_ACEOF
35743 cat confdefs.h
>>conftest.
$ac_ext
35744 cat >>conftest.
$ac_ext <<_ACEOF
35745 /* end confdefs.h. */
35746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35748 #define $ac_func innocuous_$ac_func
35750 /* System header to define __stub macros and hopefully few prototypes,
35751 which can conflict with char $ac_func (); below.
35752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35753 <limits.h> exists even on freestanding compilers. */
35756 # include <limits.h>
35758 # include <assert.h>
35763 /* Override any gcc2 internal prototype to avoid an error. */
35768 /* We use char because int might match the return type of a gcc2
35769 builtin and then its argument prototype would still apply. */
35771 /* The GNU C library defines this for functions which it implements
35772 to always fail with ENOSYS. Some functions are actually named
35773 something starting with __ and the normal name is an alias. */
35774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35777 char (*f) () = $ac_func;
35786 return f != $ac_func;
35791 rm -f conftest.
$ac_objext conftest
$ac_exeext
35792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35793 (eval $ac_link) 2>conftest.er1
35795 grep -v '^ *+' conftest.er1
>conftest.err
35797 cat conftest.err
>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } &&
35800 { ac_try
='test -z "$ac_c_werror_flag"
35801 || test ! -s conftest.err'
35802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35803 (eval $ac_try) 2>&5
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); }; } &&
35807 { ac_try
='test -s conftest$ac_exeext'
35808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35809 (eval $ac_try) 2>&5
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); }; }; then
35813 eval "$as_ac_var=yes"
35815 echo "$as_me: failed program was:" >&5
35816 sed 's/^/| /' conftest.
$ac_ext >&5
35818 eval "$as_ac_var=no"
35820 rm -f conftest.err conftest.
$ac_objext \
35821 conftest
$ac_exeext conftest.
$ac_ext
35823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35825 if test `eval echo '${'$as_ac_var'}'` = yes; then
35826 cat >>confdefs.h
<<_ACEOF
35827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35834 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35835 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35836 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35837 wxUSE_SNGLINST_CHECKER
=no
35842 for ac_func
in timegm
35844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35845 echo "$as_me:$LINENO: checking for $ac_func" >&5
35846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35847 if eval "test \"\${$as_ac_var+set}\" = set"; then
35848 echo $ECHO_N "(cached) $ECHO_C" >&6
35850 cat >conftest.
$ac_ext <<_ACEOF
35853 cat confdefs.h
>>conftest.
$ac_ext
35854 cat >>conftest.
$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35858 #define $ac_func innocuous_$ac_func
35860 /* System header to define __stub macros and hopefully few prototypes,
35861 which can conflict with char $ac_func (); below.
35862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35863 <limits.h> exists even on freestanding compilers. */
35866 # include <limits.h>
35868 # include <assert.h>
35873 /* Override any gcc2 internal prototype to avoid an error. */
35878 /* We use char because int might match the return type of a gcc2
35879 builtin and then its argument prototype would still apply. */
35881 /* The GNU C library defines this for functions which it implements
35882 to always fail with ENOSYS. Some functions are actually named
35883 something starting with __ and the normal name is an alias. */
35884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35887 char (*f) () = $ac_func;
35896 return f != $ac_func;
35901 rm -f conftest.
$ac_objext conftest
$ac_exeext
35902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35903 (eval $ac_link) 2>conftest.er1
35905 grep -v '^ *+' conftest.er1
>conftest.err
35907 cat conftest.err
>&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); } &&
35910 { ac_try
='test -z "$ac_c_werror_flag"
35911 || test ! -s conftest.err'
35912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913 (eval $ac_try) 2>&5
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; } &&
35917 { ac_try
='test -s conftest$ac_exeext'
35918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35919 (eval $ac_try) 2>&5
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); }; }; then
35923 eval "$as_ac_var=yes"
35925 echo "$as_me: failed program was:" >&5
35926 sed 's/^/| /' conftest.
$ac_ext >&5
35928 eval "$as_ac_var=no"
35930 rm -f conftest.err conftest.
$ac_objext \
35931 conftest
$ac_exeext conftest.
$ac_ext
35933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35935 if test `eval echo '${'$as_ac_var'}'` = yes; then
35936 cat >>confdefs.h
<<_ACEOF
35937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35946 for ac_func
in putenv setenv
35948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35949 echo "$as_me:$LINENO: checking for $ac_func" >&5
35950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35951 if eval "test \"\${$as_ac_var+set}\" = set"; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35954 cat >conftest.
$ac_ext <<_ACEOF
35957 cat confdefs.h
>>conftest.
$ac_ext
35958 cat >>conftest.
$ac_ext <<_ACEOF
35959 /* end confdefs.h. */
35960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35962 #define $ac_func innocuous_$ac_func
35964 /* System header to define __stub macros and hopefully few prototypes,
35965 which can conflict with char $ac_func (); below.
35966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35967 <limits.h> exists even on freestanding compilers. */
35970 # include <limits.h>
35972 # include <assert.h>
35977 /* Override any gcc2 internal prototype to avoid an error. */
35982 /* We use char because int might match the return type of a gcc2
35983 builtin and then its argument prototype would still apply. */
35985 /* The GNU C library defines this for functions which it implements
35986 to always fail with ENOSYS. Some functions are actually named
35987 something starting with __ and the normal name is an alias. */
35988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35991 char (*f) () = $ac_func;
36000 return f != $ac_func;
36005 rm -f conftest.
$ac_objext conftest
$ac_exeext
36006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36007 (eval $ac_link) 2>conftest.er1
36009 grep -v '^ *+' conftest.er1
>conftest.err
36011 cat conftest.err
>&5
36012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36013 (exit $ac_status); } &&
36014 { ac_try
='test -z "$ac_c_werror_flag"
36015 || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try
='test -s conftest$ac_exeext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 eval "$as_ac_var=yes"
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.
$ac_ext >&5
36032 eval "$as_ac_var=no"
36034 rm -f conftest.err conftest.
$ac_objext \
36035 conftest
$ac_exeext conftest.
$ac_ext
36037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36039 if test `eval echo '${'$as_ac_var'}'` = yes; then
36040 cat >>confdefs.h
<<_ACEOF
36041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36048 HAVE_SOME_SLEEP_FUNC
=0
36049 if test "$USE_BEOS" = 1; then
36050 cat >>confdefs.h
<<\_ACEOF
36051 #define HAVE_SLEEP 1
36054 HAVE_SOME_SLEEP_FUNC
=1
36057 if test "$USE_DARWIN" = 1; then
36058 cat >>confdefs.h
<<\_ACEOF
36059 #define HAVE_USLEEP 1
36062 HAVE_SOME_SLEEP_FUNC
=1
36065 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36068 for ac_func
in nanosleep
36070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36071 echo "$as_me:$LINENO: checking for $ac_func" >&5
36072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36073 if eval "test \"\${$as_ac_var+set}\" = set"; then
36074 echo $ECHO_N "(cached) $ECHO_C" >&6
36076 cat >conftest.
$ac_ext <<_ACEOF
36079 cat confdefs.h
>>conftest.
$ac_ext
36080 cat >>conftest.
$ac_ext <<_ACEOF
36081 /* end confdefs.h. */
36082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36084 #define $ac_func innocuous_$ac_func
36086 /* System header to define __stub macros and hopefully few prototypes,
36087 which can conflict with char $ac_func (); below.
36088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36089 <limits.h> exists even on freestanding compilers. */
36092 # include <limits.h>
36094 # include <assert.h>
36099 /* Override any gcc2 internal prototype to avoid an error. */
36104 /* We use char because int might match the return type of a gcc2
36105 builtin and then its argument prototype would still apply. */
36107 /* The GNU C library defines this for functions which it implements
36108 to always fail with ENOSYS. Some functions are actually named
36109 something starting with __ and the normal name is an alias. */
36110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36113 char (*f) () = $ac_func;
36122 return f != $ac_func;
36127 rm -f conftest.
$ac_objext conftest
$ac_exeext
36128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36129 (eval $ac_link) 2>conftest.er1
36131 grep -v '^ *+' conftest.er1
>conftest.err
36133 cat conftest.err
>&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); } &&
36136 { ac_try
='test -z "$ac_c_werror_flag"
36137 || test ! -s conftest.err'
36138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36139 (eval $ac_try) 2>&5
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); }; } &&
36143 { ac_try
='test -s conftest$ac_exeext'
36144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36145 (eval $ac_try) 2>&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); }; }; then
36149 eval "$as_ac_var=yes"
36151 echo "$as_me: failed program was:" >&5
36152 sed 's/^/| /' conftest.
$ac_ext >&5
36154 eval "$as_ac_var=no"
36156 rm -f conftest.err conftest.
$ac_objext \
36157 conftest
$ac_exeext conftest.
$ac_ext
36159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36161 if test `eval echo '${'$as_ac_var'}'` = yes; then
36162 cat >>confdefs.h
<<_ACEOF
36163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36165 cat >>confdefs.h
<<\_ACEOF
36166 #define HAVE_NANOSLEEP 1
36171 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36172 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36173 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36174 echo $ECHO_N "(cached) $ECHO_C" >&6
36176 ac_check_lib_save_LIBS
=$LIBS
36177 LIBS
="-lposix4 $LIBS"
36178 cat >conftest.
$ac_ext <<_ACEOF
36181 cat confdefs.h
>>conftest.
$ac_ext
36182 cat >>conftest.
$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36185 /* Override any gcc2 internal prototype to avoid an error. */
36189 /* We use char because int might match the return type of a gcc2
36190 builtin and then its argument prototype would still apply. */
36200 rm -f conftest.
$ac_objext conftest
$ac_exeext
36201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36202 (eval $ac_link) 2>conftest.er1
36204 grep -v '^ *+' conftest.er1
>conftest.err
36206 cat conftest.err
>&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); } &&
36209 { ac_try
='test -z "$ac_c_werror_flag"
36210 || test ! -s conftest.err'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; } &&
36216 { ac_try
='test -s conftest$ac_exeext'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; }; then
36222 ac_cv_lib_posix4_nanosleep
=yes
36224 echo "$as_me: failed program was:" >&5
36225 sed 's/^/| /' conftest.
$ac_ext >&5
36227 ac_cv_lib_posix4_nanosleep
=no
36229 rm -f conftest.err conftest.
$ac_objext \
36230 conftest
$ac_exeext conftest.
$ac_ext
36231 LIBS
=$ac_check_lib_save_LIBS
36233 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36234 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36235 if test $ac_cv_lib_posix4_nanosleep = yes; then
36237 cat >>confdefs.h
<<\_ACEOF
36238 #define HAVE_NANOSLEEP 1
36241 POSIX4_LINK
=" -lposix4"
36246 for wx_func
in usleep
36248 echo "$as_me:$LINENO: checking for $wx_func" >&5
36249 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36250 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36251 echo $ECHO_N "(cached) $ECHO_C" >&6
36254 cat >conftest.
$ac_ext <<_ACEOF
36258 cat confdefs.h
>>conftest.
$ac_ext
36259 cat >>conftest.
$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36263 $ac_includes_default
36279 rm -f conftest.
$ac_objext conftest
$ac_exeext
36280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36281 (eval $ac_link) 2>conftest.er1
36283 grep -v '^ *+' conftest.er1
>conftest.err
36285 cat conftest.err
>&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); } &&
36288 { ac_try
='test -z "$ac_c_werror_flag"
36289 || test ! -s conftest.err'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; } &&
36295 { ac_try
='test -s conftest$ac_exeext'
36296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297 (eval $ac_try) 2>&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); }; }; then
36301 eval wx_cv_func_
$wx_func=yes
36303 echo "$as_me: failed program was:" >&5
36304 sed 's/^/| /' conftest.
$ac_ext >&5
36306 eval wx_cv_func_
$wx_func=no
36308 rm -f conftest.err conftest.
$ac_objext \
36309 conftest
$ac_exeext conftest.
$ac_ext
36312 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36313 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36315 if eval test \
$wx_cv_func_$wx_func = yes
36317 cat >>confdefs.h
<<_ACEOF
36318 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36324 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36325 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36342 for wx_func
in uname
36344 echo "$as_me:$LINENO: checking for $wx_func" >&5
36345 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36346 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36347 echo $ECHO_N "(cached) $ECHO_C" >&6
36350 cat >conftest.
$ac_ext <<_ACEOF
36354 cat confdefs.h
>>conftest.
$ac_ext
36355 cat >>conftest.
$ac_ext <<_ACEOF
36356 /* end confdefs.h. */
36358 #include <sys/utsname.h>
36359 $ac_includes_default
36375 rm -f conftest.
$ac_objext conftest
$ac_exeext
36376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36377 (eval $ac_link) 2>conftest.er1
36379 grep -v '^ *+' conftest.er1
>conftest.err
36381 cat conftest.err
>&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } &&
36384 { ac_try
='test -z "$ac_c_werror_flag"
36385 || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try
='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 eval wx_cv_func_
$wx_func=yes
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 eval wx_cv_func_
$wx_func=no
36404 rm -f conftest.err conftest.
$ac_objext \
36405 conftest
$ac_exeext conftest.
$ac_ext
36408 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36409 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36411 if eval test \
$wx_cv_func_$wx_func = yes
36413 cat >>confdefs.h
<<_ACEOF
36414 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36424 if test "$wx_cv_func_uname" != yes; then
36426 for wx_func
in gethostname
36428 echo "$as_me:$LINENO: checking for $wx_func" >&5
36429 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36430 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36431 echo $ECHO_N "(cached) $ECHO_C" >&6
36434 cat >conftest.
$ac_ext <<_ACEOF
36438 cat confdefs.h
>>conftest.
$ac_ext
36439 cat >>conftest.
$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36443 $ac_includes_default
36459 rm -f conftest.
$ac_objext conftest
$ac_exeext
36460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36461 (eval $ac_link) 2>conftest.er1
36463 grep -v '^ *+' conftest.er1
>conftest.err
36465 cat conftest.err
>&5
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); } &&
36468 { ac_try
='test -z "$ac_c_werror_flag"
36469 || test ! -s conftest.err'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; } &&
36475 { ac_try
='test -s conftest$ac_exeext'
36476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36477 (eval $ac_try) 2>&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); }; }; then
36481 eval wx_cv_func_
$wx_func=yes
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.
$ac_ext >&5
36486 eval wx_cv_func_
$wx_func=no
36488 rm -f conftest.err conftest.
$ac_objext \
36489 conftest
$ac_exeext conftest.
$ac_ext
36492 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36493 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36495 if eval test \
$wx_cv_func_$wx_func = yes
36497 cat >>confdefs.h
<<_ACEOF
36498 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36511 for wx_func
in strtok_r
36513 echo "$as_me:$LINENO: checking for $wx_func" >&5
36514 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36515 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36516 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 cat >conftest.
$ac_ext <<_ACEOF
36523 cat confdefs.h
>>conftest.
$ac_ext
36524 cat >>conftest.
$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36528 $ac_includes_default
36544 rm -f conftest.
$ac_objext conftest
$ac_exeext
36545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36546 (eval $ac_link) 2>conftest.er1
36548 grep -v '^ *+' conftest.er1
>conftest.err
36550 cat conftest.err
>&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } &&
36553 { ac_try
='test -z "$ac_c_werror_flag"
36554 || test ! -s conftest.err'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; } &&
36560 { ac_try
='test -s conftest$ac_exeext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 eval wx_cv_func_
$wx_func=yes
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.
$ac_ext >&5
36571 eval wx_cv_func_
$wx_func=no
36573 rm -f conftest.err conftest.
$ac_objext \
36574 conftest
$ac_exeext conftest.
$ac_ext
36577 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36578 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36580 if eval test \
$wx_cv_func_$wx_func = yes
36582 cat >>confdefs.h
<<_ACEOF
36583 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36596 for ac_func
in inet_addr
36598 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36599 echo "$as_me:$LINENO: checking for $ac_func" >&5
36600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36601 if eval "test \"\${$as_ac_var+set}\" = set"; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 cat >conftest.
$ac_ext <<_ACEOF
36607 cat confdefs.h
>>conftest.
$ac_ext
36608 cat >>conftest.
$ac_ext <<_ACEOF
36609 /* end confdefs.h. */
36610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36612 #define $ac_func innocuous_$ac_func
36614 /* System header to define __stub macros and hopefully few prototypes,
36615 which can conflict with char $ac_func (); below.
36616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36617 <limits.h> exists even on freestanding compilers. */
36620 # include <limits.h>
36622 # include <assert.h>
36627 /* Override any gcc2 internal prototype to avoid an error. */
36632 /* We use char because int might match the return type of a gcc2
36633 builtin and then its argument prototype would still apply. */
36635 /* The GNU C library defines this for functions which it implements
36636 to always fail with ENOSYS. Some functions are actually named
36637 something starting with __ and the normal name is an alias. */
36638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36641 char (*f) () = $ac_func;
36650 return f != $ac_func;
36655 rm -f conftest.
$ac_objext conftest
$ac_exeext
36656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36657 (eval $ac_link) 2>conftest.er1
36659 grep -v '^ *+' conftest.er1
>conftest.err
36661 cat conftest.err
>&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } &&
36664 { ac_try
='test -z "$ac_c_werror_flag"
36665 || test ! -s conftest.err'
36666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36667 (eval $ac_try) 2>&5
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); }; } &&
36671 { ac_try
='test -s conftest$ac_exeext'
36672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36673 (eval $ac_try) 2>&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); }; }; then
36677 eval "$as_ac_var=yes"
36679 echo "$as_me: failed program was:" >&5
36680 sed 's/^/| /' conftest.
$ac_ext >&5
36682 eval "$as_ac_var=no"
36684 rm -f conftest.err conftest.
$ac_objext \
36685 conftest
$ac_exeext conftest.
$ac_ext
36687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36689 if test `eval echo '${'$as_ac_var'}'` = yes; then
36690 cat >>confdefs.h
<<_ACEOF
36691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36693 cat >>confdefs.h
<<\_ACEOF
36694 #define HAVE_INET_ADDR 1
36699 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36700 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36701 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 ac_check_lib_save_LIBS
=$LIBS
36706 cat >conftest.
$ac_ext <<_ACEOF
36709 cat confdefs.h
>>conftest.
$ac_ext
36710 cat >>conftest.
$ac_ext <<_ACEOF
36711 /* end confdefs.h. */
36713 /* Override any gcc2 internal prototype to avoid an error. */
36717 /* We use char because int might match the return type of a gcc2
36718 builtin and then its argument prototype would still apply. */
36728 rm -f conftest.
$ac_objext conftest
$ac_exeext
36729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36730 (eval $ac_link) 2>conftest.er1
36732 grep -v '^ *+' conftest.er1
>conftest.err
36734 cat conftest.err
>&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); } &&
36737 { ac_try
='test -z "$ac_c_werror_flag"
36738 || test ! -s conftest.err'
36739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36740 (eval $ac_try) 2>&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); }; } &&
36744 { ac_try
='test -s conftest$ac_exeext'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; }; then
36750 ac_cv_lib_nsl_inet_addr
=yes
36752 echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.
$ac_ext >&5
36755 ac_cv_lib_nsl_inet_addr
=no
36757 rm -f conftest.err conftest.
$ac_objext \
36758 conftest
$ac_exeext conftest.
$ac_ext
36759 LIBS
=$ac_check_lib_save_LIBS
36761 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36762 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36763 if test $ac_cv_lib_nsl_inet_addr = yes; then
36767 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36768 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36769 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36770 echo $ECHO_N "(cached) $ECHO_C" >&6
36772 ac_check_lib_save_LIBS
=$LIBS
36773 LIBS
="-lresolv $LIBS"
36774 cat >conftest.
$ac_ext <<_ACEOF
36777 cat confdefs.h
>>conftest.
$ac_ext
36778 cat >>conftest.
$ac_ext <<_ACEOF
36779 /* end confdefs.h. */
36781 /* Override any gcc2 internal prototype to avoid an error. */
36785 /* We use char because int might match the return type of a gcc2
36786 builtin and then its argument prototype would still apply. */
36796 rm -f conftest.
$ac_objext conftest
$ac_exeext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36798 (eval $ac_link) 2>conftest.er1
36800 grep -v '^ *+' conftest.er1
>conftest.err
36802 cat conftest.err
>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try
='test -z "$ac_c_werror_flag"
36806 || test ! -s conftest.err'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; } &&
36812 { ac_try
='test -s conftest$ac_exeext'
36813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36814 (eval $ac_try) 2>&5
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); }; }; then
36818 ac_cv_lib_resolv_inet_addr
=yes
36820 echo "$as_me: failed program was:" >&5
36821 sed 's/^/| /' conftest.
$ac_ext >&5
36823 ac_cv_lib_resolv_inet_addr
=no
36825 rm -f conftest.err conftest.
$ac_objext \
36826 conftest
$ac_exeext conftest.
$ac_ext
36827 LIBS
=$ac_check_lib_save_LIBS
36829 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36830 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36831 if test $ac_cv_lib_resolv_inet_addr = yes; then
36835 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36836 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36837 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36840 ac_check_lib_save_LIBS
=$LIBS
36841 LIBS
="-lsocket $LIBS"
36842 cat >conftest.
$ac_ext <<_ACEOF
36845 cat confdefs.h
>>conftest.
$ac_ext
36846 cat >>conftest.
$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36849 /* Override any gcc2 internal prototype to avoid an error. */
36853 /* We use char because int might match the return type of a gcc2
36854 builtin and then its argument prototype would still apply. */
36864 rm -f conftest.
$ac_objext conftest
$ac_exeext
36865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36866 (eval $ac_link) 2>conftest.er1
36868 grep -v '^ *+' conftest.er1
>conftest.err
36870 cat conftest.err
>&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); } &&
36873 { ac_try
='test -z "$ac_c_werror_flag"
36874 || test ! -s conftest.err'
36875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36876 (eval $ac_try) 2>&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); }; } &&
36880 { ac_try
='test -s conftest$ac_exeext'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; }; then
36886 ac_cv_lib_socket_inet_addr
=yes
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.
$ac_ext >&5
36891 ac_cv_lib_socket_inet_addr
=no
36893 rm -f conftest.err conftest.
$ac_objext \
36894 conftest
$ac_exeext conftest.
$ac_ext
36895 LIBS
=$ac_check_lib_save_LIBS
36897 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36898 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36899 if test $ac_cv_lib_socket_inet_addr = yes; then
36919 for ac_func
in inet_aton
36921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36922 echo "$as_me:$LINENO: checking for $ac_func" >&5
36923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36924 if eval "test \"\${$as_ac_var+set}\" = set"; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36927 cat >conftest.
$ac_ext <<_ACEOF
36930 cat confdefs.h
>>conftest.
$ac_ext
36931 cat >>conftest.
$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36935 #define $ac_func innocuous_$ac_func
36937 /* System header to define __stub macros and hopefully few prototypes,
36938 which can conflict with char $ac_func (); below.
36939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36940 <limits.h> exists even on freestanding compilers. */
36943 # include <limits.h>
36945 # include <assert.h>
36950 /* Override any gcc2 internal prototype to avoid an error. */
36955 /* We use char because int might match the return type of a gcc2
36956 builtin and then its argument prototype would still apply. */
36958 /* The GNU C library defines this for functions which it implements
36959 to always fail with ENOSYS. Some functions are actually named
36960 something starting with __ and the normal name is an alias. */
36961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36964 char (*f) () = $ac_func;
36973 return f != $ac_func;
36978 rm -f conftest.
$ac_objext conftest
$ac_exeext
36979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36980 (eval $ac_link) 2>conftest.er1
36982 grep -v '^ *+' conftest.er1
>conftest.err
36984 cat conftest.err
>&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); } &&
36987 { ac_try
='test -z "$ac_c_werror_flag"
36988 || test ! -s conftest.err'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try
='test -s conftest$ac_exeext'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; }; then
37000 eval "$as_ac_var=yes"
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.
$ac_ext >&5
37005 eval "$as_ac_var=no"
37007 rm -f conftest.err conftest.
$ac_objext \
37008 conftest
$ac_exeext conftest.
$ac_ext
37010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37012 if test `eval echo '${'$as_ac_var'}'` = yes; then
37013 cat >>confdefs.h
<<_ACEOF
37014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37016 cat >>confdefs.h
<<\_ACEOF
37017 #define HAVE_INET_ATON 1
37022 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37023 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37024 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37025 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37028 ac_check_lib_save_LIBS
=$LIBS
37029 LIBS
="-l$INET_LINK $LIBS"
37030 cat >conftest.
$ac_ext <<_ACEOF
37033 cat confdefs.h
>>conftest.
$ac_ext
37034 cat >>conftest.
$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37037 /* Override any gcc2 internal prototype to avoid an error. */
37041 /* We use char because int might match the return type of a gcc2
37042 builtin and then its argument prototype would still apply. */
37052 rm -f conftest.
$ac_objext conftest
$ac_exeext
37053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37054 (eval $ac_link) 2>conftest.er1
37056 grep -v '^ *+' conftest.er1
>conftest.err
37058 cat conftest.err
>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); } &&
37061 { ac_try
='test -z "$ac_c_werror_flag"
37062 || test ! -s conftest.err'
37063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064 (eval $ac_try) 2>&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); }; } &&
37068 { ac_try
='test -s conftest$ac_exeext'
37069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37070 (eval $ac_try) 2>&5
37072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37073 (exit $ac_status); }; }; then
37074 eval "$as_ac_Lib=yes"
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.
$ac_ext >&5
37079 eval "$as_ac_Lib=no"
37081 rm -f conftest.err conftest.
$ac_objext \
37082 conftest
$ac_exeext conftest.
$ac_ext
37083 LIBS
=$ac_check_lib_save_LIBS
37085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37086 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37087 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37088 cat >>confdefs.h
<<\_ACEOF
37089 #define HAVE_INET_ATON 1
37099 if test "x$INET_LINK" != "x"; then
37100 cat >>confdefs.h
<<\_ACEOF
37101 #define HAVE_INET_ADDR 1
37104 INET_LINK
=" -l$INET_LINK"
37108 for wx_func
in fdopen
37110 echo "$as_me:$LINENO: checking for $wx_func" >&5
37111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37112 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37116 cat >conftest.
$ac_ext <<_ACEOF
37120 cat confdefs.h
>>conftest.
$ac_ext
37121 cat >>conftest.
$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37125 $ac_includes_default
37141 rm -f conftest.
$ac_objext conftest
$ac_exeext
37142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37143 (eval $ac_link) 2>conftest.er1
37145 grep -v '^ *+' conftest.er1
>conftest.err
37147 cat conftest.err
>&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } &&
37150 { ac_try
='test -z "$ac_c_werror_flag"
37151 || test ! -s conftest.err'
37152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37153 (eval $ac_try) 2>&5
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); }; } &&
37157 { ac_try
='test -s conftest$ac_exeext'
37158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37159 (eval $ac_try) 2>&5
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); }; }; then
37163 eval wx_cv_func_
$wx_func=yes
37165 echo "$as_me: failed program was:" >&5
37166 sed 's/^/| /' conftest.
$ac_ext >&5
37168 eval wx_cv_func_
$wx_func=no
37170 rm -f conftest.err conftest.
$ac_objext \
37171 conftest
$ac_exeext conftest.
$ac_ext
37174 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37175 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37177 if eval test \
$wx_cv_func_$wx_func = yes
37179 cat >>confdefs.h
<<_ACEOF
37180 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37195 cat >confcache
<<\_ACEOF
37196 # This file is a shell script that caches the results of configure
37197 # tests run on this system so they can be shared between configure
37198 # scripts and configure runs, see configure's option --config-cache.
37199 # It is not useful on other systems. If it contains results you don't
37200 # want to keep, you may remove or edit it.
37202 # config.status only pays attention to the cache file if you give it
37203 # the --recheck option to rerun configure.
37205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37207 # following values.
37211 # The following way of writing the cache mishandles newlines in values,
37212 # but we know of no workaround that is simple, portable, and efficient.
37213 # So, don't put newlines in cache variables' values.
37214 # Ultrix sh set writes to stderr and can't be redirected directly,
37215 # and sets the high bit in the cache file unless we assign to the vars.
37218 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37220 # `set' does not quote correctly, so add quotes (double-quote
37221 # substitution turns \\\\ into \\, and sed turns \\ into \).
37224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37227 # `set' quotes correctly as required by POSIX, so do not add quotes.
37229 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37236 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37238 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37240 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37241 if test -w $cache_file; then
37242 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37243 cat confcache
>$cache_file
37245 echo "not updating unwritable cache $cache_file"
37251 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37257 if test "$wxUSE_THREADS" = "yes" ; then
37258 if test "$USE_BEOS" = 1; then
37259 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37260 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37265 if test "$wxUSE_THREADS" = "yes" ; then
37268 THREAD_OPTS
="-pthread"
37270 *-*-solaris2* | *-*-sunos4* )
37271 if test "x$GCC" = "xyes"; then
37272 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37274 THREAD_OPTS
="-mt $THREAD_OPTS"
37278 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37280 *-*-darwin* | *-*-cygwin* )
37284 THREAD_OPTS
="pthreads"
37287 if test "x$GCC" = "xyes"; then
37288 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37296 if test "x$GCC" = "xyes"; then
37302 if test "x$GCC" != "xyes"; then
37303 THREAD_OPTS
="-Ethread"
37308 THREAD_OPTS
="$THREAD_OPTS pthread none"
37311 for flag
in $THREAD_OPTS; do
37314 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37315 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37319 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37320 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37321 THREADS_CFLAGS
="$flag"
37325 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37326 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37327 THREADS_LINK
="-l$flag"
37332 save_CFLAGS
="$CFLAGS"
37333 LIBS
="$THREADS_LINK $LIBS"
37334 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37336 cat >conftest.
$ac_ext <<_ACEOF
37339 cat confdefs.h
>>conftest.
$ac_ext
37340 cat >>conftest.
$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37342 #include <pthread.h>
37346 pthread_create(0,0,0,0);
37351 rm -f conftest.
$ac_objext conftest
$ac_exeext
37352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37353 (eval $ac_link) 2>conftest.er1
37355 grep -v '^ *+' conftest.er1
>conftest.err
37357 cat conftest.err
>&5
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); } &&
37360 { ac_try
='test -z "$ac_c_werror_flag"
37361 || test ! -s conftest.err'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; } &&
37367 { ac_try
='test -s conftest$ac_exeext'
37368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369 (eval $ac_try) 2>&5
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); }; }; then
37375 echo "$as_me: failed program was:" >&5
37376 sed 's/^/| /' conftest.
$ac_ext >&5
37379 rm -f conftest.err conftest.
$ac_objext \
37380 conftest
$ac_exeext conftest.
$ac_ext
37383 CFLAGS
="$save_CFLAGS"
37385 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37386 echo "${ECHO_T}$THREADS_OK" >&6
37387 if test "x$THREADS_OK" = "xyes"; then
37395 if test "x$THREADS_OK" != "xyes"; then
37397 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37398 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37400 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
37401 LIBS
="$THREADS_LINK $LIBS"
37403 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37404 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37408 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37409 flag
="-D_THREAD_SAFE"
37412 flag
="-D_THREAD_SAFE"
37415 flag
="-D_REENTRANT"
37416 if test "x$GCC" != "xyes"; then
37417 flag
="$flag -D_RWSTD_MULTI_THREAD"
37420 *solaris
* | alpha
*-osf*)
37421 flag
="-D_REENTRANT"
37424 echo "$as_me:$LINENO: result: ${flag}" >&5
37425 echo "${ECHO_T}${flag}" >&6
37426 if test "x$flag" != xno
; then
37427 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37430 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37434 if test "$wxUSE_THREADS" = "yes" ; then
37436 for ac_func
in thr_setconcurrency
37438 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37439 echo "$as_me:$LINENO: checking for $ac_func" >&5
37440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37441 if eval "test \"\${$as_ac_var+set}\" = set"; then
37442 echo $ECHO_N "(cached) $ECHO_C" >&6
37444 cat >conftest.
$ac_ext <<_ACEOF
37447 cat confdefs.h
>>conftest.
$ac_ext
37448 cat >>conftest.
$ac_ext <<_ACEOF
37449 /* end confdefs.h. */
37450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37452 #define $ac_func innocuous_$ac_func
37454 /* System header to define __stub macros and hopefully few prototypes,
37455 which can conflict with char $ac_func (); below.
37456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37457 <limits.h> exists even on freestanding compilers. */
37460 # include <limits.h>
37462 # include <assert.h>
37467 /* Override any gcc2 internal prototype to avoid an error. */
37472 /* We use char because int might match the return type of a gcc2
37473 builtin and then its argument prototype would still apply. */
37475 /* The GNU C library defines this for functions which it implements
37476 to always fail with ENOSYS. Some functions are actually named
37477 something starting with __ and the normal name is an alias. */
37478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37481 char (*f) () = $ac_func;
37490 return f != $ac_func;
37495 rm -f conftest.
$ac_objext conftest
$ac_exeext
37496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37497 (eval $ac_link) 2>conftest.er1
37499 grep -v '^ *+' conftest.er1
>conftest.err
37501 cat conftest.err
>&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } &&
37504 { ac_try
='test -z "$ac_c_werror_flag"
37505 || test ! -s conftest.err'
37506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37507 (eval $ac_try) 2>&5
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); }; } &&
37511 { ac_try
='test -s conftest$ac_exeext'
37512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37513 (eval $ac_try) 2>&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); }; }; then
37517 eval "$as_ac_var=yes"
37519 echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.
$ac_ext >&5
37522 eval "$as_ac_var=no"
37524 rm -f conftest.err conftest.
$ac_objext \
37525 conftest
$ac_exeext conftest.
$ac_ext
37527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37529 if test `eval echo '${'$as_ac_var'}'` = yes; then
37530 cat >>confdefs.h
<<_ACEOF
37531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37538 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37539 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37540 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37544 cat >conftest.
$ac_ext <<_ACEOF
37547 cat confdefs.h
>>conftest.
$ac_ext
37548 cat >>conftest.
$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37550 #include <pthread.h>
37551 void ThreadCleanupFunc(void *p);
37558 pthread_cleanup_push(ThreadCleanupFunc, p);
37559 pthread_cleanup_pop(0);
37565 rm -f conftest.
$ac_objext
37566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37567 (eval $ac_compile) 2>conftest.er1
37569 grep -v '^ *+' conftest.er1
>conftest.err
37571 cat conftest.err
>&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); } &&
37574 { ac_try
='test -z "$ac_c_werror_flag"
37575 || 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_objext'
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
37588 wx_cv_func_pthread_cleanup
=yes
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.
$ac_ext >&5
37595 wx_cv_func_pthread_cleanup
=no
37599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37602 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37603 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37604 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37605 cat >>confdefs.h
<<\_ACEOF
37606 #define wxHAVE_PTHREAD_CLEANUP 1
37611 echo "$as_me:$LINENO: checking for sched.h" >&5
37612 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
37613 if test "${ac_cv_header_sched_h+set}" = set; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37616 cat >conftest.
$ac_ext <<_ACEOF
37619 cat confdefs.h
>>conftest.
$ac_ext
37620 cat >>conftest.
$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622 $ac_includes_default
37626 rm -f conftest.
$ac_objext
37627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37628 (eval $ac_compile) 2>conftest.er1
37630 grep -v '^ *+' conftest.er1
>conftest.err
37632 cat conftest.err
>&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } &&
37635 { ac_try
='test -z "$ac_c_werror_flag"
37636 || test ! -s conftest.err'
37637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37638 (eval $ac_try) 2>&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); }; } &&
37642 { ac_try
='test -s conftest.$ac_objext'
37643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37644 (eval $ac_try) 2>&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); }; }; then
37648 ac_cv_header_sched_h
=yes
37650 echo "$as_me: failed program was:" >&5
37651 sed 's/^/| /' conftest.
$ac_ext >&5
37653 ac_cv_header_sched_h
=no
37655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37657 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37658 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
37661 if test "$ac_cv_header_sched_h" = "yes"; then
37662 echo "$as_me:$LINENO: checking for sched_yield" >&5
37663 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37664 if test "${ac_cv_func_sched_yield+set}" = set; then
37665 echo $ECHO_N "(cached) $ECHO_C" >&6
37667 cat >conftest.
$ac_ext <<_ACEOF
37670 cat confdefs.h
>>conftest.
$ac_ext
37671 cat >>conftest.
$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37673 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37675 #define sched_yield innocuous_sched_yield
37677 /* System header to define __stub macros and hopefully few prototypes,
37678 which can conflict with char sched_yield (); below.
37679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37680 <limits.h> exists even on freestanding compilers. */
37683 # include <limits.h>
37685 # include <assert.h>
37690 /* Override any gcc2 internal prototype to avoid an error. */
37695 /* We use char because int might match the return type of a gcc2
37696 builtin and then its argument prototype would still apply. */
37697 char sched_yield ();
37698 /* The GNU C library defines this for functions which it implements
37699 to always fail with ENOSYS. Some functions are actually named
37700 something starting with __ and the normal name is an alias. */
37701 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37704 char (*f) () = sched_yield;
37713 return f != sched_yield;
37718 rm -f conftest.
$ac_objext conftest
$ac_exeext
37719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37720 (eval $ac_link) 2>conftest.er1
37722 grep -v '^ *+' conftest.er1
>conftest.err
37724 cat conftest.err
>&5
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); } &&
37727 { ac_try
='test -z "$ac_c_werror_flag"
37728 || test ! -s conftest.err'
37729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37730 (eval $ac_try) 2>&5
37732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37733 (exit $ac_status); }; } &&
37734 { ac_try
='test -s conftest$ac_exeext'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; }; then
37740 ac_cv_func_sched_yield
=yes
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.
$ac_ext >&5
37745 ac_cv_func_sched_yield
=no
37747 rm -f conftest.err conftest.
$ac_objext \
37748 conftest
$ac_exeext conftest.
$ac_ext
37750 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37751 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37752 if test $ac_cv_func_sched_yield = yes; then
37753 cat >>confdefs.h
<<\_ACEOF
37754 #define HAVE_SCHED_YIELD 1
37759 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37760 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37761 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37762 echo $ECHO_N "(cached) $ECHO_C" >&6
37764 ac_check_lib_save_LIBS
=$LIBS
37765 LIBS
="-lposix4 $LIBS"
37766 cat >conftest.
$ac_ext <<_ACEOF
37769 cat confdefs.h
>>conftest.
$ac_ext
37770 cat >>conftest.
$ac_ext <<_ACEOF
37771 /* end confdefs.h. */
37773 /* Override any gcc2 internal prototype to avoid an error. */
37777 /* We use char because int might match the return type of a gcc2
37778 builtin and then its argument prototype would still apply. */
37779 char sched_yield ();
37788 rm -f conftest.
$ac_objext conftest
$ac_exeext
37789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37790 (eval $ac_link) 2>conftest.er1
37792 grep -v '^ *+' conftest.er1
>conftest.err
37794 cat conftest.err
>&5
37795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796 (exit $ac_status); } &&
37797 { ac_try
='test -z "$ac_c_werror_flag"
37798 || test ! -s conftest.err'
37799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37800 (eval $ac_try) 2>&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); }; } &&
37804 { ac_try
='test -s conftest$ac_exeext'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; }; then
37810 ac_cv_lib_posix4_sched_yield
=yes
37812 echo "$as_me: failed program was:" >&5
37813 sed 's/^/| /' conftest.
$ac_ext >&5
37815 ac_cv_lib_posix4_sched_yield
=no
37817 rm -f conftest.err conftest.
$ac_objext \
37818 conftest
$ac_exeext conftest.
$ac_ext
37819 LIBS
=$ac_check_lib_save_LIBS
37821 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37822 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37823 if test $ac_cv_lib_posix4_sched_yield = yes; then
37824 cat >>confdefs.h
<<\_ACEOF
37825 #define HAVE_SCHED_YIELD 1
37827 POSIX4_LINK
=" -lposix4"
37829 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37830 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37841 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37842 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37843 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37844 echo $ECHO_N "(cached) $ECHO_C" >&6
37846 cat >conftest.
$ac_ext <<_ACEOF
37849 cat confdefs.h
>>conftest.
$ac_ext
37850 cat >>conftest.
$ac_ext <<_ACEOF
37851 /* end confdefs.h. */
37852 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37854 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37856 /* System header to define __stub macros and hopefully few prototypes,
37857 which can conflict with char pthread_attr_getschedpolicy (); below.
37858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37859 <limits.h> exists even on freestanding compilers. */
37862 # include <limits.h>
37864 # include <assert.h>
37867 #undef pthread_attr_getschedpolicy
37869 /* Override any gcc2 internal prototype to avoid an error. */
37874 /* We use char because int might match the return type of a gcc2
37875 builtin and then its argument prototype would still apply. */
37876 char pthread_attr_getschedpolicy ();
37877 /* The GNU C library defines this for functions which it implements
37878 to always fail with ENOSYS. Some functions are actually named
37879 something starting with __ and the normal name is an alias. */
37880 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37883 char (*f) () = pthread_attr_getschedpolicy;
37892 return f != pthread_attr_getschedpolicy;
37897 rm -f conftest.
$ac_objext conftest
$ac_exeext
37898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37899 (eval $ac_link) 2>conftest.er1
37901 grep -v '^ *+' conftest.er1
>conftest.err
37903 cat conftest.err
>&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } &&
37906 { ac_try
='test -z "$ac_c_werror_flag"
37907 || test ! -s conftest.err'
37908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37909 (eval $ac_try) 2>&5
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); }; } &&
37913 { ac_try
='test -s conftest$ac_exeext'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; }; then
37919 ac_cv_func_pthread_attr_getschedpolicy
=yes
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.
$ac_ext >&5
37924 ac_cv_func_pthread_attr_getschedpolicy
=no
37926 rm -f conftest.err conftest.
$ac_objext \
37927 conftest
$ac_exeext conftest.
$ac_ext
37929 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37930 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37931 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37932 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37933 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37934 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37935 echo $ECHO_N "(cached) $ECHO_C" >&6
37937 cat >conftest.
$ac_ext <<_ACEOF
37940 cat confdefs.h
>>conftest.
$ac_ext
37941 cat >>conftest.
$ac_ext <<_ACEOF
37942 /* end confdefs.h. */
37943 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37945 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37947 /* System header to define __stub macros and hopefully few prototypes,
37948 which can conflict with char pthread_attr_setschedparam (); below.
37949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37950 <limits.h> exists even on freestanding compilers. */
37953 # include <limits.h>
37955 # include <assert.h>
37958 #undef pthread_attr_setschedparam
37960 /* Override any gcc2 internal prototype to avoid an error. */
37965 /* We use char because int might match the return type of a gcc2
37966 builtin and then its argument prototype would still apply. */
37967 char pthread_attr_setschedparam ();
37968 /* The GNU C library defines this for functions which it implements
37969 to always fail with ENOSYS. Some functions are actually named
37970 something starting with __ and the normal name is an alias. */
37971 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37974 char (*f) () = pthread_attr_setschedparam;
37983 return f != pthread_attr_setschedparam;
37988 rm -f conftest.
$ac_objext conftest
$ac_exeext
37989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37990 (eval $ac_link) 2>conftest.er1
37992 grep -v '^ *+' conftest.er1
>conftest.err
37994 cat conftest.err
>&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } &&
37997 { ac_try
='test -z "$ac_c_werror_flag"
37998 || test ! -s conftest.err'
37999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38000 (eval $ac_try) 2>&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); }; } &&
38004 { ac_try
='test -s conftest$ac_exeext'
38005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38006 (eval $ac_try) 2>&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); }; }; then
38010 ac_cv_func_pthread_attr_setschedparam
=yes
38012 echo "$as_me: failed program was:" >&5
38013 sed 's/^/| /' conftest.
$ac_ext >&5
38015 ac_cv_func_pthread_attr_setschedparam
=no
38017 rm -f conftest.err conftest.
$ac_objext \
38018 conftest
$ac_exeext conftest.
$ac_ext
38020 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38021 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38022 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38023 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38024 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38025 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38026 echo $ECHO_N "(cached) $ECHO_C" >&6
38028 cat >conftest.
$ac_ext <<_ACEOF
38031 cat confdefs.h
>>conftest.
$ac_ext
38032 cat >>conftest.
$ac_ext <<_ACEOF
38033 /* end confdefs.h. */
38034 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38036 #define sched_get_priority_max innocuous_sched_get_priority_max
38038 /* System header to define __stub macros and hopefully few prototypes,
38039 which can conflict with char sched_get_priority_max (); below.
38040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38041 <limits.h> exists even on freestanding compilers. */
38044 # include <limits.h>
38046 # include <assert.h>
38049 #undef sched_get_priority_max
38051 /* Override any gcc2 internal prototype to avoid an error. */
38056 /* We use char because int might match the return type of a gcc2
38057 builtin and then its argument prototype would still apply. */
38058 char sched_get_priority_max ();
38059 /* The GNU C library defines this for functions which it implements
38060 to always fail with ENOSYS. Some functions are actually named
38061 something starting with __ and the normal name is an alias. */
38062 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38065 char (*f) () = sched_get_priority_max;
38074 return f != sched_get_priority_max;
38079 rm -f conftest.
$ac_objext conftest
$ac_exeext
38080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38081 (eval $ac_link) 2>conftest.er1
38083 grep -v '^ *+' conftest.er1
>conftest.err
38085 cat conftest.err
>&5
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); } &&
38088 { ac_try
='test -z "$ac_c_werror_flag"
38089 || test ! -s conftest.err'
38090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38091 (eval $ac_try) 2>&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); }; } &&
38095 { ac_try
='test -s conftest$ac_exeext'
38096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097 (eval $ac_try) 2>&5
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); }; }; then
38101 ac_cv_func_sched_get_priority_max
=yes
38103 echo "$as_me: failed program was:" >&5
38104 sed 's/^/| /' conftest.
$ac_ext >&5
38106 ac_cv_func_sched_get_priority_max
=no
38108 rm -f conftest.err conftest.
$ac_objext \
38109 conftest
$ac_exeext conftest.
$ac_ext
38111 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38112 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38113 if test $ac_cv_func_sched_get_priority_max = yes; then
38116 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38117 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38118 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38119 echo $ECHO_N "(cached) $ECHO_C" >&6
38121 ac_check_lib_save_LIBS
=$LIBS
38122 LIBS
="-lposix4 $LIBS"
38123 cat >conftest.
$ac_ext <<_ACEOF
38126 cat confdefs.h
>>conftest.
$ac_ext
38127 cat >>conftest.
$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38130 /* Override any gcc2 internal prototype to avoid an error. */
38134 /* We use char because int might match the return type of a gcc2
38135 builtin and then its argument prototype would still apply. */
38136 char sched_get_priority_max ();
38140 sched_get_priority_max ();
38145 rm -f conftest.
$ac_objext conftest
$ac_exeext
38146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38147 (eval $ac_link) 2>conftest.er1
38149 grep -v '^ *+' conftest.er1
>conftest.err
38151 cat conftest.err
>&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } &&
38154 { ac_try
='test -z "$ac_c_werror_flag"
38155 || test ! -s conftest.err'
38156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38157 (eval $ac_try) 2>&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); }; } &&
38161 { ac_try
='test -s conftest$ac_exeext'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; }; then
38167 ac_cv_lib_posix4_sched_get_priority_max
=yes
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.
$ac_ext >&5
38172 ac_cv_lib_posix4_sched_get_priority_max
=no
38174 rm -f conftest.err conftest.
$ac_objext \
38175 conftest
$ac_exeext conftest.
$ac_ext
38176 LIBS
=$ac_check_lib_save_LIBS
38178 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38179 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38180 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38183 POSIX4_LINK
=" -lposix4"
38197 if test "$HAVE_PRIOR_FUNCS" = 1; then
38198 cat >>confdefs.h
<<\_ACEOF
38199 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38203 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38204 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38207 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38208 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38209 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38210 echo $ECHO_N "(cached) $ECHO_C" >&6
38212 cat >conftest.
$ac_ext <<_ACEOF
38215 cat confdefs.h
>>conftest.
$ac_ext
38216 cat >>conftest.
$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38218 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38220 #define pthread_cancel innocuous_pthread_cancel
38222 /* System header to define __stub macros and hopefully few prototypes,
38223 which can conflict with char pthread_cancel (); below.
38224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38225 <limits.h> exists even on freestanding compilers. */
38228 # include <limits.h>
38230 # include <assert.h>
38233 #undef pthread_cancel
38235 /* Override any gcc2 internal prototype to avoid an error. */
38240 /* We use char because int might match the return type of a gcc2
38241 builtin and then its argument prototype would still apply. */
38242 char pthread_cancel ();
38243 /* The GNU C library defines this for functions which it implements
38244 to always fail with ENOSYS. Some functions are actually named
38245 something starting with __ and the normal name is an alias. */
38246 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38249 char (*f) () = pthread_cancel;
38258 return f != pthread_cancel;
38263 rm -f conftest.
$ac_objext conftest
$ac_exeext
38264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38265 (eval $ac_link) 2>conftest.er1
38267 grep -v '^ *+' conftest.er1
>conftest.err
38269 cat conftest.err
>&5
38270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38271 (exit $ac_status); } &&
38272 { ac_try
='test -z "$ac_c_werror_flag"
38273 || test ! -s conftest.err'
38274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275 (eval $ac_try) 2>&5
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); }; } &&
38279 { ac_try
='test -s conftest$ac_exeext'
38280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38281 (eval $ac_try) 2>&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); }; }; then
38285 ac_cv_func_pthread_cancel
=yes
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.
$ac_ext >&5
38290 ac_cv_func_pthread_cancel
=no
38292 rm -f conftest.err conftest.
$ac_objext \
38293 conftest
$ac_exeext conftest.
$ac_ext
38295 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38296 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38297 if test $ac_cv_func_pthread_cancel = yes; then
38298 cat >>confdefs.h
<<\_ACEOF
38299 #define HAVE_PTHREAD_CANCEL 1
38303 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38304 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38308 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38309 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
38310 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38313 cat >conftest.
$ac_ext <<_ACEOF
38316 cat confdefs.h
>>conftest.
$ac_ext
38317 cat >>conftest.
$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38319 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38321 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38323 /* System header to define __stub macros and hopefully few prototypes,
38324 which can conflict with char pthread_mutex_timedlock (); below.
38325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38326 <limits.h> exists even on freestanding compilers. */
38329 # include <limits.h>
38331 # include <assert.h>
38334 #undef pthread_mutex_timedlock
38336 /* Override any gcc2 internal prototype to avoid an error. */
38341 /* We use char because int might match the return type of a gcc2
38342 builtin and then its argument prototype would still apply. */
38343 char pthread_mutex_timedlock ();
38344 /* The GNU C library defines this for functions which it implements
38345 to always fail with ENOSYS. Some functions are actually named
38346 something starting with __ and the normal name is an alias. */
38347 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
38350 char (*f) () = pthread_mutex_timedlock;
38359 return f != pthread_mutex_timedlock;
38364 rm -f conftest.
$ac_objext conftest
$ac_exeext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38366 (eval $ac_link) 2>conftest.er1
38368 grep -v '^ *+' conftest.er1
>conftest.err
38370 cat conftest.err
>&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try
='test -z "$ac_c_werror_flag"
38374 || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try
='test -s conftest$ac_exeext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38386 ac_cv_func_pthread_mutex_timedlock
=yes
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.
$ac_ext >&5
38391 ac_cv_func_pthread_mutex_timedlock
=no
38393 rm -f conftest.err conftest.
$ac_objext \
38394 conftest
$ac_exeext conftest.
$ac_ext
38396 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38397 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
38398 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38399 cat >>confdefs.h
<<\_ACEOF
38400 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38404 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38405 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38409 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38410 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38411 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38412 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 cat >conftest.
$ac_ext <<_ACEOF
38417 cat confdefs.h
>>conftest.
$ac_ext
38418 cat >>conftest.
$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38420 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38422 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38424 /* System header to define __stub macros and hopefully few prototypes,
38425 which can conflict with char pthread_attr_setstacksize (); below.
38426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38427 <limits.h> exists even on freestanding compilers. */
38430 # include <limits.h>
38432 # include <assert.h>
38435 #undef pthread_attr_setstacksize
38437 /* Override any gcc2 internal prototype to avoid an error. */
38442 /* We use char because int might match the return type of a gcc2
38443 builtin and then its argument prototype would still apply. */
38444 char pthread_attr_setstacksize ();
38445 /* The GNU C library defines this for functions which it implements
38446 to always fail with ENOSYS. Some functions are actually named
38447 something starting with __ and the normal name is an alias. */
38448 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38451 char (*f) () = pthread_attr_setstacksize;
38460 return f != pthread_attr_setstacksize;
38465 rm -f conftest.
$ac_objext conftest
$ac_exeext
38466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38467 (eval $ac_link) 2>conftest.er1
38469 grep -v '^ *+' conftest.er1
>conftest.err
38471 cat conftest.err
>&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } &&
38474 { ac_try
='test -z "$ac_c_werror_flag"
38475 || test ! -s conftest.err'
38476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38477 (eval $ac_try) 2>&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; } &&
38481 { ac_try
='test -s conftest$ac_exeext'
38482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38483 (eval $ac_try) 2>&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); }; }; then
38487 ac_cv_func_pthread_attr_setstacksize
=yes
38489 echo "$as_me: failed program was:" >&5
38490 sed 's/^/| /' conftest.
$ac_ext >&5
38492 ac_cv_func_pthread_attr_setstacksize
=no
38494 rm -f conftest.err conftest.
$ac_objext \
38495 conftest
$ac_exeext conftest.
$ac_ext
38497 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38498 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38499 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38500 cat >>confdefs.h
<<\_ACEOF
38501 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38508 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38509 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38510 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38511 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 cat >conftest.
$ac_ext <<_ACEOF
38517 cat confdefs.h
>>conftest.
$ac_ext
38518 cat >>conftest.
$ac_ext <<_ACEOF
38519 /* end confdefs.h. */
38520 #include <pthread.h>
38525 pthread_mutexattr_t attr;
38526 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38532 rm -f conftest.
$ac_objext
38533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38534 (eval $ac_compile) 2>conftest.er1
38536 grep -v '^ *+' conftest.er1
>conftest.err
38538 cat conftest.err
>&5
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); } &&
38541 { ac_try
='test -z "$ac_c_werror_flag"
38542 || test ! -s conftest.err'
38543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38544 (eval $ac_try) 2>&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); }; } &&
38548 { ac_try
='test -s conftest.$ac_objext'
38549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550 (eval $ac_try) 2>&5
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); }; }; then
38554 wx_cv_type_pthread_mutexattr_t
=yes
38556 echo "$as_me: failed program was:" >&5
38557 sed 's/^/| /' conftest.
$ac_ext >&5
38559 wx_cv_type_pthread_mutexattr_t
=no
38562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38565 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38566 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38568 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38569 cat >>confdefs.h
<<\_ACEOF
38570 #define HAVE_PTHREAD_MUTEXATTR_T 1
38574 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38575 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38576 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 cat >conftest.
$ac_ext <<_ACEOF
38583 cat confdefs.h
>>conftest.
$ac_ext
38584 cat >>conftest.
$ac_ext <<_ACEOF
38585 /* end confdefs.h. */
38586 #include <pthread.h>
38591 pthread_mutexattr_t attr;
38592 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38598 rm -f conftest.
$ac_objext
38599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38600 (eval $ac_compile) 2>conftest.er1
38602 grep -v '^ *+' conftest.er1
>conftest.err
38604 cat conftest.err
>&5
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); } &&
38607 { ac_try
='test -z "$ac_c_werror_flag"
38608 || test ! -s conftest.err'
38609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38610 (eval $ac_try) 2>&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); }; } &&
38614 { ac_try
='test -s conftest.$ac_objext'
38615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38616 (eval $ac_try) 2>&5
38618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38619 (exit $ac_status); }; }; then
38620 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38622 echo "$as_me: failed program was:" >&5
38623 sed 's/^/| /' conftest.
$ac_ext >&5
38625 wx_cv_func_pthread_mutexattr_settype_decl
=no
38628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38631 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38632 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38633 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38634 cat >>confdefs.h
<<\_ACEOF
38635 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38640 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38641 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38642 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38643 echo $ECHO_N "(cached) $ECHO_C" >&6
38646 cat >conftest.
$ac_ext <<_ACEOF
38649 cat confdefs.h
>>conftest.
$ac_ext
38650 cat >>conftest.
$ac_ext <<_ACEOF
38651 /* end confdefs.h. */
38652 #include <pthread.h>
38657 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38663 rm -f conftest.
$ac_objext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38665 (eval $ac_compile) 2>conftest.er1
38667 grep -v '^ *+' conftest.er1
>conftest.err
38669 cat conftest.err
>&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try
='test -z "$ac_c_werror_flag"
38673 || test ! -s conftest.err'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; } &&
38679 { ac_try
='test -s conftest.$ac_objext'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; }; then
38686 wx_cv_type_pthread_rec_mutex_init
=yes
38689 echo "$as_me: failed program was:" >&5
38690 sed 's/^/| /' conftest.
$ac_ext >&5
38693 wx_cv_type_pthread_rec_mutex_init
=no
38697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38700 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38701 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38702 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38703 cat >>confdefs.h
<<\_ACEOF
38704 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38708 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38709 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38715 if test "$wxUSE_THREADS" = "yes" ; then
38718 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38719 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38720 if test "${wx_cv_cflags_mthread+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38724 CFLAGS_OLD
="$CFLAGS"
38725 CFLAGS
="-mthreads $CFLAGS"
38726 cat >conftest.
$ac_ext <<_ACEOF
38729 cat confdefs.h
>>conftest.
$ac_ext
38730 cat >>conftest.
$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38741 rm -f conftest.
$ac_objext
38742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38743 (eval $ac_compile) 2>conftest.er1
38745 grep -v '^ *+' conftest.er1
>conftest.err
38747 cat conftest.err
>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try
='test -z "$ac_c_werror_flag"
38751 || test ! -s conftest.err'
38752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38753 (eval $ac_try) 2>&5
38755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756 (exit $ac_status); }; } &&
38757 { ac_try
='test -s conftest.$ac_objext'
38758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38759 (eval $ac_try) 2>&5
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; }; then
38763 wx_cv_cflags_mthread
=yes
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.
$ac_ext >&5
38768 wx_cv_cflags_mthread
=no
38771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38775 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38776 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38778 if test "$wx_cv_cflags_mthread" = "yes"; then
38779 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38780 LDFLAGS
="$LDFLAGS -mthreads"
38782 CFLAGS
="$CFLAGS_OLD"
38786 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38787 LDFLAGS
="$LDFLAGS -Zmt"
38793 echo "$as_me:$LINENO: checking for localtime_r" >&5
38794 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38795 if test "${ac_cv_func_localtime_r+set}" = set; then
38796 echo $ECHO_N "(cached) $ECHO_C" >&6
38798 cat >conftest.
$ac_ext <<_ACEOF
38801 cat confdefs.h
>>conftest.
$ac_ext
38802 cat >>conftest.
$ac_ext <<_ACEOF
38803 /* end confdefs.h. */
38804 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38806 #define localtime_r innocuous_localtime_r
38808 /* System header to define __stub macros and hopefully few prototypes,
38809 which can conflict with char localtime_r (); below.
38810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38811 <limits.h> exists even on freestanding compilers. */
38814 # include <limits.h>
38816 # include <assert.h>
38821 /* Override any gcc2 internal prototype to avoid an error. */
38826 /* We use char because int might match the return type of a gcc2
38827 builtin and then its argument prototype would still apply. */
38828 char localtime_r ();
38829 /* The GNU C library defines this for functions which it implements
38830 to always fail with ENOSYS. Some functions are actually named
38831 something starting with __ and the normal name is an alias. */
38832 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38835 char (*f) () = localtime_r;
38844 return f != localtime_r;
38849 rm -f conftest.
$ac_objext conftest
$ac_exeext
38850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38851 (eval $ac_link) 2>conftest.er1
38853 grep -v '^ *+' conftest.er1
>conftest.err
38855 cat conftest.err
>&5
38856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857 (exit $ac_status); } &&
38858 { ac_try
='test -z "$ac_c_werror_flag"
38859 || test ! -s conftest.err'
38860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861 (eval $ac_try) 2>&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); }; } &&
38865 { ac_try
='test -s conftest$ac_exeext'
38866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38867 (eval $ac_try) 2>&5
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); }; }; then
38871 ac_cv_func_localtime_r
=yes
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.
$ac_ext >&5
38876 ac_cv_func_localtime_r
=no
38878 rm -f conftest.err conftest.
$ac_objext \
38879 conftest
$ac_exeext conftest.
$ac_ext
38881 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38882 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38883 if test $ac_cv_func_localtime_r = yes; then
38884 cat >>confdefs.h
<<\_ACEOF
38885 #define HAVE_LOCALTIME_R 1
38890 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38891 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38892 if test "${ac_cv_func_gmtime_r+set}" = set; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38895 cat >conftest.
$ac_ext <<_ACEOF
38898 cat confdefs.h
>>conftest.
$ac_ext
38899 cat >>conftest.
$ac_ext <<_ACEOF
38900 /* end confdefs.h. */
38901 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38903 #define gmtime_r innocuous_gmtime_r
38905 /* System header to define __stub macros and hopefully few prototypes,
38906 which can conflict with char gmtime_r (); below.
38907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38908 <limits.h> exists even on freestanding compilers. */
38911 # include <limits.h>
38913 # include <assert.h>
38918 /* Override any gcc2 internal prototype to avoid an error. */
38923 /* We use char because int might match the return type of a gcc2
38924 builtin and then its argument prototype would still apply. */
38926 /* The GNU C library defines this for functions which it implements
38927 to always fail with ENOSYS. Some functions are actually named
38928 something starting with __ and the normal name is an alias. */
38929 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38932 char (*f) () = gmtime_r;
38941 return f != gmtime_r;
38946 rm -f conftest.
$ac_objext conftest
$ac_exeext
38947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38948 (eval $ac_link) 2>conftest.er1
38950 grep -v '^ *+' conftest.er1
>conftest.err
38952 cat conftest.err
>&5
38953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38954 (exit $ac_status); } &&
38955 { ac_try
='test -z "$ac_c_werror_flag"
38956 || test ! -s conftest.err'
38957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38958 (eval $ac_try) 2>&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); }; } &&
38962 { ac_try
='test -s conftest$ac_exeext'
38963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38964 (eval $ac_try) 2>&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); }; }; then
38968 ac_cv_func_gmtime_r
=yes
38970 echo "$as_me: failed program was:" >&5
38971 sed 's/^/| /' conftest.
$ac_ext >&5
38973 ac_cv_func_gmtime_r
=no
38975 rm -f conftest.err conftest.
$ac_objext \
38976 conftest
$ac_exeext conftest.
$ac_ext
38978 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38979 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38980 if test $ac_cv_func_gmtime_r = yes; then
38981 cat >>confdefs.h
<<\_ACEOF
38982 #define HAVE_GMTIME_R 1
38987 echo "$as_me:$LINENO: checking for readdir_r" >&5
38988 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38989 if test "${ac_cv_func_readdir_r+set}" = set; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 cat >conftest.
$ac_ext <<_ACEOF
38995 cat confdefs.h
>>conftest.
$ac_ext
38996 cat >>conftest.
$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define readdir_r innocuous_readdir_r
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char readdir_r (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39008 # include <limits.h>
39010 # include <assert.h>
39015 /* Override any gcc2 internal prototype to avoid an error. */
39020 /* We use char because int might match the return type of a gcc2
39021 builtin and then its argument prototype would still apply. */
39023 /* The GNU C library defines this for functions which it implements
39024 to always fail with ENOSYS. Some functions are actually named
39025 something starting with __ and the normal name is an alias. */
39026 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39029 char (*f) () = readdir_r;
39038 return f != readdir_r;
39043 rm -f conftest.
$ac_objext conftest
$ac_exeext
39044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39045 (eval $ac_link) 2>conftest.er1
39047 grep -v '^ *+' conftest.er1
>conftest.err
39049 cat conftest.err
>&5
39050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39051 (exit $ac_status); } &&
39052 { ac_try
='test -z "$ac_c_werror_flag"
39053 || test ! -s conftest.err'
39054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39055 (eval $ac_try) 2>&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); }; } &&
39059 { ac_try
='test -s conftest$ac_exeext'
39060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39061 (eval $ac_try) 2>&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); }; }; then
39065 ac_cv_func_readdir_r
=yes
39067 echo "$as_me: failed program was:" >&5
39068 sed 's/^/| /' conftest.
$ac_ext >&5
39070 ac_cv_func_readdir_r
=no
39072 rm -f conftest.err conftest.
$ac_objext \
39073 conftest
$ac_exeext conftest.
$ac_ext
39075 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39076 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39077 if test $ac_cv_func_readdir_r = yes; then
39078 cat >>confdefs.h
<<\_ACEOF
39079 #define HAVE_READDIR_R 1
39088 ac_cpp
='$CPP $CPPFLAGS'
39089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39093 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39094 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39096 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39101 ################################################################
39103 ac_cv_func_which_gethostbyname_r
=unknown
39106 # ONE ARGUMENT (sanity check)
39109 # This should fail, as there is no variant of gethostbyname_r() that takes
39110 # a single argument. If it actually compiles, then we can assume that
39111 # netdb.h is not declaring the function, and the compiler is thereby
39112 # assuming an implicit prototype. In which case, we're out of luck.
39114 cat >conftest.
$ac_ext <<_ACEOF
39117 cat confdefs.h
>>conftest.
$ac_ext
39118 cat >>conftest.
$ac_ext <<_ACEOF
39119 /* end confdefs.h. */
39125 char *name = "www.gnu.org";
39126 (void)gethostbyname_r(name) /* ; */
39132 rm -f conftest.
$ac_objext
39133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39134 (eval $ac_compile) 2>conftest.er1
39136 grep -v '^ *+' conftest.er1
>conftest.err
39138 cat conftest.err
>&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); } &&
39141 { ac_try
='test -z "$ac_c_werror_flag"
39142 || test ! -s conftest.err'
39143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39144 (eval $ac_try) 2>&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); }; } &&
39148 { ac_try
='test -s conftest.$ac_objext'
39149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39150 (eval $ac_try) 2>&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); }; }; then
39154 ac_cv_func_which_gethostbyname_r
=no
39156 echo "$as_me: failed program was:" >&5
39157 sed 's/^/| /' conftest.
$ac_ext >&5
39160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39167 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39169 cat >conftest.
$ac_ext <<_ACEOF
39172 cat confdefs.h
>>conftest.
$ac_ext
39173 cat >>conftest.
$ac_ext <<_ACEOF
39174 /* end confdefs.h. */
39180 char *name = "www.gnu.org";
39181 struct hostent ret, *retp;
39185 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39191 rm -f conftest.
$ac_objext
39192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39193 (eval $ac_compile) 2>conftest.er1
39195 grep -v '^ *+' conftest.er1
>conftest.err
39197 cat conftest.err
>&5
39198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39199 (exit $ac_status); } &&
39200 { ac_try
='test -z "$ac_c_werror_flag"
39201 || test ! -s conftest.err'
39202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39203 (eval $ac_try) 2>&5
39205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39206 (exit $ac_status); }; } &&
39207 { ac_try
='test -s conftest.$ac_objext'
39208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39209 (eval $ac_try) 2>&5
39211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39212 (exit $ac_status); }; }; then
39213 ac_cv_func_which_gethostbyname_r
=six
39215 echo "$as_me: failed program was:" >&5
39216 sed 's/^/| /' conftest.
$ac_ext >&5
39219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39228 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39230 cat >conftest.
$ac_ext <<_ACEOF
39233 cat confdefs.h
>>conftest.
$ac_ext
39234 cat >>conftest.
$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39241 char *name = "www.gnu.org";
39242 struct hostent ret;
39246 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39252 rm -f conftest.
$ac_objext
39253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39254 (eval $ac_compile) 2>conftest.er1
39256 grep -v '^ *+' conftest.er1
>conftest.err
39258 cat conftest.err
>&5
39259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39260 (exit $ac_status); } &&
39261 { ac_try
='test -z "$ac_c_werror_flag"
39262 || test ! -s conftest.err'
39263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39264 (eval $ac_try) 2>&5
39266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267 (exit $ac_status); }; } &&
39268 { ac_try
='test -s conftest.$ac_objext'
39269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270 (eval $ac_try) 2>&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); }; }; then
39274 ac_cv_func_which_gethostbyname_r
=five
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.
$ac_ext >&5
39280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39286 # (e.g. AIX, HP-UX, Tru64)
39289 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39291 cat >conftest.
$ac_ext <<_ACEOF
39294 cat confdefs.h
>>conftest.
$ac_ext
39295 cat >>conftest.
$ac_ext <<_ACEOF
39296 /* end confdefs.h. */
39302 char *name = "www.gnu.org";
39303 struct hostent ret;
39304 struct hostent_data data;
39305 (void)gethostbyname_r(name, &ret, &data) /* ; */
39311 rm -f conftest.
$ac_objext
39312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39313 (eval $ac_compile) 2>conftest.er1
39315 grep -v '^ *+' conftest.er1
>conftest.err
39317 cat conftest.err
>&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } &&
39320 { ac_try
='test -z "$ac_c_werror_flag"
39321 || test ! -s conftest.err'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; } &&
39327 { ac_try
='test -s conftest.$ac_objext'
39328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39329 (eval $ac_try) 2>&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); }; }; then
39333 ac_cv_func_which_gethostbyname_r
=three
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.
$ac_ext >&5
39339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39343 ################################################################
39348 case "$ac_cv_func_which_gethostbyname_r" in
39350 echo "$as_me:$LINENO: result: three" >&5
39351 echo "${ECHO_T}three" >&6
39352 cat >>confdefs.h
<<\_ACEOF
39353 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39359 echo "$as_me:$LINENO: result: five" >&5
39360 echo "${ECHO_T}five" >&6
39361 cat >>confdefs.h
<<\_ACEOF
39362 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39368 echo "$as_me:$LINENO: result: six" >&5
39369 echo "${ECHO_T}six" >&6
39370 cat >>confdefs.h
<<\_ACEOF
39371 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39377 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39378 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39382 echo "$as_me:$LINENO: result: can't tell" >&5
39383 echo "${ECHO_T}can't tell" >&6
39387 { { echo "$as_me:$LINENO: error: internal error" >&5
39388 echo "$as_me: error: internal error" >&2;}
39389 { (exit 1); exit 1; }; }
39394 ac_cpp
='$CPP $CPPFLAGS'
39395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39401 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39402 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39403 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39404 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39405 if test "${ac_cv_func_gethostbyname+set}" = set; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39408 cat >conftest.
$ac_ext <<_ACEOF
39411 cat confdefs.h
>>conftest.
$ac_ext
39412 cat >>conftest.
$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39416 #define gethostbyname innocuous_gethostbyname
39418 /* System header to define __stub macros and hopefully few prototypes,
39419 which can conflict with char gethostbyname (); below.
39420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39421 <limits.h> exists even on freestanding compilers. */
39424 # include <limits.h>
39426 # include <assert.h>
39429 #undef gethostbyname
39431 /* Override any gcc2 internal prototype to avoid an error. */
39436 /* We use char because int might match the return type of a gcc2
39437 builtin and then its argument prototype would still apply. */
39438 char gethostbyname ();
39439 /* The GNU C library defines this for functions which it implements
39440 to always fail with ENOSYS. Some functions are actually named
39441 something starting with __ and the normal name is an alias. */
39442 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39445 char (*f) () = gethostbyname;
39454 return f != gethostbyname;
39459 rm -f conftest.
$ac_objext conftest
$ac_exeext
39460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39461 (eval $ac_link) 2>conftest.er1
39463 grep -v '^ *+' conftest.er1
>conftest.err
39465 cat conftest.err
>&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try
='test -z "$ac_c_werror_flag"
39469 || test ! -s conftest.err'
39470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39471 (eval $ac_try) 2>&5
39473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39474 (exit $ac_status); }; } &&
39475 { ac_try
='test -s conftest$ac_exeext'
39476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39477 (eval $ac_try) 2>&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); }; }; then
39481 ac_cv_func_gethostbyname
=yes
39483 echo "$as_me: failed program was:" >&5
39484 sed 's/^/| /' conftest.
$ac_ext >&5
39486 ac_cv_func_gethostbyname
=no
39488 rm -f conftest.err conftest.
$ac_objext \
39489 conftest
$ac_exeext conftest.
$ac_ext
39491 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39492 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39493 if test $ac_cv_func_gethostbyname = yes; then
39494 cat >>confdefs.h
<<\_ACEOF
39495 #define HAVE_GETHOSTBYNAME 1
39502 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39503 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
39504 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39509 ac_cpp
='$CXXCPP $CPPFLAGS'
39510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39515 cat >conftest.
$ac_ext <<_ACEOF
39518 cat confdefs.h
>>conftest.
$ac_ext
39519 cat >>conftest.
$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39528 struct servent *se, *res;
39531 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39537 rm -f conftest.
$ac_objext
39538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39539 (eval $ac_compile) 2>conftest.er1
39541 grep -v '^ *+' conftest.er1
>conftest.err
39543 cat conftest.err
>&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); } &&
39546 { ac_try
='test -z "$ac_cxx_werror_flag"
39547 || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try
='test -s conftest.$ac_objext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39559 ac_cv_func_which_getservbyname_r
=six
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.
$ac_ext >&5
39565 cat >conftest.
$ac_ext <<_ACEOF
39568 cat confdefs.h
>>conftest.
$ac_ext
39569 cat >>conftest.
$ac_ext <<_ACEOF
39570 /* end confdefs.h. */
39578 struct servent *se;
39581 (void) getservbyname_r(name, proto, se, buffer, buflen)
39587 rm -f conftest.
$ac_objext
39588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39589 (eval $ac_compile) 2>conftest.er1
39591 grep -v '^ *+' conftest.er1
>conftest.err
39593 cat conftest.err
>&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } &&
39596 { ac_try
='test -z "$ac_cxx_werror_flag"
39597 || test ! -s conftest.err'
39598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39599 (eval $ac_try) 2>&5
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); }; } &&
39603 { ac_try
='test -s conftest.$ac_objext'
39604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39605 (eval $ac_try) 2>&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); }; }; then
39609 ac_cv_func_which_getservbyname_r
=five
39611 echo "$as_me: failed program was:" >&5
39612 sed 's/^/| /' conftest.
$ac_ext >&5
39615 cat >conftest.
$ac_ext <<_ACEOF
39618 cat confdefs.h
>>conftest.
$ac_ext
39619 cat >>conftest.
$ac_ext <<_ACEOF
39620 /* end confdefs.h. */
39628 struct servent *se;
39629 struct servent_data data;
39630 (void) getservbyname_r(name, proto, se, &data);
39636 rm -f conftest.
$ac_objext
39637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39638 (eval $ac_compile) 2>conftest.er1
39640 grep -v '^ *+' conftest.er1
>conftest.err
39642 cat conftest.err
>&5
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); } &&
39645 { ac_try
='test -z "$ac_cxx_werror_flag"
39646 || test ! -s conftest.err'
39647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39648 (eval $ac_try) 2>&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); }; } &&
39652 { ac_try
='test -s conftest.$ac_objext'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; }; then
39658 ac_cv_func_which_getservbyname_r
=four
39660 echo "$as_me: failed program was:" >&5
39661 sed 's/^/| /' conftest.
$ac_ext >&5
39663 ac_cv_func_which_getservbyname_r
=no
39666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39676 ac_cpp
='$CPP $CPPFLAGS'
39677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39684 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39685 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39687 if test $ac_cv_func_which_getservbyname_r = six
; then
39688 cat >>confdefs.h
<<\_ACEOF
39689 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39692 elif test $ac_cv_func_which_getservbyname_r = five
; then
39693 cat >>confdefs.h
<<\_ACEOF
39694 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39697 elif test $ac_cv_func_which_getservbyname_r = four
; then
39698 cat >>confdefs.h
<<\_ACEOF
39699 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39705 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39706 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39708 for ac_func
in getservbyname
39710 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39711 echo "$as_me:$LINENO: checking for $ac_func" >&5
39712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39713 if eval "test \"\${$as_ac_var+set}\" = set"; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39716 cat >conftest.
$ac_ext <<_ACEOF
39719 cat confdefs.h
>>conftest.
$ac_ext
39720 cat >>conftest.
$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39724 #define $ac_func innocuous_$ac_func
39726 /* System header to define __stub macros and hopefully few prototypes,
39727 which can conflict with char $ac_func (); below.
39728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729 <limits.h> exists even on freestanding compilers. */
39732 # include <limits.h>
39734 # include <assert.h>
39739 /* Override any gcc2 internal prototype to avoid an error. */
39744 /* We use char because int might match the return type of a gcc2
39745 builtin and then its argument prototype would still apply. */
39747 /* The GNU C library defines this for functions which it implements
39748 to always fail with ENOSYS. Some functions are actually named
39749 something starting with __ and the normal name is an alias. */
39750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39753 char (*f) () = $ac_func;
39762 return f != $ac_func;
39767 rm -f conftest.
$ac_objext conftest
$ac_exeext
39768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39769 (eval $ac_link) 2>conftest.er1
39771 grep -v '^ *+' conftest.er1
>conftest.err
39773 cat conftest.err
>&5
39774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775 (exit $ac_status); } &&
39776 { ac_try
='test -z "$ac_c_werror_flag"
39777 || test ! -s conftest.err'
39778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39779 (eval $ac_try) 2>&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); }; } &&
39783 { ac_try
='test -s conftest$ac_exeext'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; }; then
39789 eval "$as_ac_var=yes"
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.
$ac_ext >&5
39794 eval "$as_ac_var=no"
39796 rm -f conftest.err conftest.
$ac_objext \
39797 conftest
$ac_exeext conftest.
$ac_ext
39799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39801 if test `eval echo '${'$as_ac_var'}'` = yes; then
39802 cat >>confdefs.h
<<_ACEOF
39803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39805 cat >>confdefs.h
<<\_ACEOF
39806 #define HAVE_GETSERVBYNAME 1
39814 if test "$wxUSE_THREADS" = "yes"; then
39815 cat >>confdefs.h
<<\_ACEOF
39816 #define wxUSE_THREADS 1
39820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39822 if test "$wx_cv_func_strtok_r" = "yes"; then
39823 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39824 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39825 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39826 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39827 echo "$as_me:$LINENO: result: yes" >&5
39828 echo "${ECHO_T}yes" >&6
39830 echo "$as_me:$LINENO: result: no" >&5
39831 echo "${ECHO_T}no" >&6
39836 if test "$WXGTK20" = 1 ; then
39837 cat >>confdefs.h
<<_ACEOF
39838 #define __WXGTK20__ $WXGTK20
39844 if test "$WXGTK12" = 1 ; then
39845 cat >>confdefs.h
<<_ACEOF
39846 #define __WXGTK12__ $WXGTK12
39851 if test "$WXGTK127" = 1 ; then
39852 cat >>confdefs.h
<<_ACEOF
39853 #define __WXGTK127__ $WXGTK127
39858 if test "$WXGPE" = 1 ; then
39859 cat >>confdefs.h
<<_ACEOF
39860 #define __WXGPE__ $WXGPE
39866 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39871 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39872 wxUSE_DEBUG_INFO
=yes
39873 if test "$GCC" = yes; then
39874 DEBUG_CFLAGS
="-ggdb"
39878 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39879 cat >>confdefs.h
<<\_ACEOF
39883 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39885 if test "$wxUSE_GTK" = 1 ; then
39886 if test "x$wxGTK_VERSION" = "x1" ; then
39887 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39892 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39893 cat >>confdefs.h
<<\_ACEOF
39894 #define wxUSE_MEMORY_TRACING 1
39897 cat >>confdefs.h
<<\_ACEOF
39898 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39901 cat >>confdefs.h
<<\_ACEOF
39902 #define wxUSE_DEBUG_NEW_ALWAYS 1
39905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39908 if test "$wxUSE_DMALLOC" = "yes" ; then
39909 DMALLOC_LIBS
="-ldmallocthcxx"
39913 if test "$wxUSE_PROFILE" = "yes" ; then
39914 PROFILE_FLAGS
=" -pg"
39917 if test "$GCC" = "yes" ; then
39918 if test "$wxUSE_NO_RTTI" = "yes" ; then
39919 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39921 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39922 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39924 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39925 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39930 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39933 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39939 if test "$wxUSE_OPTIMISE" = "no" ; then
39940 if test "$GCC" = yes ; then
39941 OPTIMISE_CFLAGS
="-O0"
39944 if test "$GCC" = yes ; then
39946 *-pc-os2_emx | *-pc-os2-emx )
39947 OPTIMISE_CFLAGS
="-O2"
39950 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
39954 OPTIMISE_CFLAGS
="-O"
39959 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
39960 cat >>confdefs.h
<<\_ACEOF
39961 #define WXWIN_COMPATIBILITY_2_6 1
39965 WXWIN_COMPATIBILITY_2_8
="yes"
39968 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
39969 cat >>confdefs.h
<<\_ACEOF
39970 #define WXWIN_COMPATIBILITY_2_8 1
39976 if test "$wxUSE_GUI" = "yes"; then
39977 cat >>confdefs.h
<<\_ACEOF
39978 #define wxUSE_GUI 1
39985 if test "$wxUSE_UNIX" = "yes"; then
39986 cat >>confdefs.h
<<\_ACEOF
39987 #define wxUSE_UNIX 1
39993 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39997 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39998 if test "$USE_DARWIN" = 1; then
40000 elif test "$USE_DOS" = 1; then
40004 for ac_func
in dlopen
40006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40007 echo "$as_me:$LINENO: checking for $ac_func" >&5
40008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40009 if eval "test \"\${$as_ac_var+set}\" = set"; then
40010 echo $ECHO_N "(cached) $ECHO_C" >&6
40012 cat >conftest.
$ac_ext <<_ACEOF
40015 cat confdefs.h
>>conftest.
$ac_ext
40016 cat >>conftest.
$ac_ext <<_ACEOF
40017 /* end confdefs.h. */
40018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40020 #define $ac_func innocuous_$ac_func
40022 /* System header to define __stub macros and hopefully few prototypes,
40023 which can conflict with char $ac_func (); below.
40024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40025 <limits.h> exists even on freestanding compilers. */
40028 # include <limits.h>
40030 # include <assert.h>
40035 /* Override any gcc2 internal prototype to avoid an error. */
40040 /* We use char because int might match the return type of a gcc2
40041 builtin and then its argument prototype would still apply. */
40043 /* The GNU C library defines this for functions which it implements
40044 to always fail with ENOSYS. Some functions are actually named
40045 something starting with __ and the normal name is an alias. */
40046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40049 char (*f) () = $ac_func;
40058 return f != $ac_func;
40063 rm -f conftest.
$ac_objext conftest
$ac_exeext
40064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40065 (eval $ac_link) 2>conftest.er1
40067 grep -v '^ *+' conftest.er1
>conftest.err
40069 cat conftest.err
>&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } &&
40072 { ac_try
='test -z "$ac_c_werror_flag"
40073 || test ! -s conftest.err'
40074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40075 (eval $ac_try) 2>&5
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); }; } &&
40079 { ac_try
='test -s conftest$ac_exeext'
40080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40081 (eval $ac_try) 2>&5
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); }; }; then
40085 eval "$as_ac_var=yes"
40087 echo "$as_me: failed program was:" >&5
40088 sed 's/^/| /' conftest.
$ac_ext >&5
40090 eval "$as_ac_var=no"
40092 rm -f conftest.err conftest.
$ac_objext \
40093 conftest
$ac_exeext conftest.
$ac_ext
40095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40097 if test `eval echo '${'$as_ac_var'}'` = yes; then
40098 cat >>confdefs.h
<<_ACEOF
40099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40102 cat >>confdefs.h
<<\_ACEOF
40103 #define HAVE_DLOPEN 1
40110 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40111 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40112 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40113 echo $ECHO_N "(cached) $ECHO_C" >&6
40115 ac_check_lib_save_LIBS
=$LIBS
40117 cat >conftest.
$ac_ext <<_ACEOF
40120 cat confdefs.h
>>conftest.
$ac_ext
40121 cat >>conftest.
$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40124 /* Override any gcc2 internal prototype to avoid an error. */
40128 /* We use char because int might match the return type of a gcc2
40129 builtin and then its argument prototype would still apply. */
40139 rm -f conftest.
$ac_objext conftest
$ac_exeext
40140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40141 (eval $ac_link) 2>conftest.er1
40143 grep -v '^ *+' conftest.er1
>conftest.err
40145 cat conftest.err
>&5
40146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40147 (exit $ac_status); } &&
40148 { ac_try
='test -z "$ac_c_werror_flag"
40149 || test ! -s conftest.err'
40150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40151 (eval $ac_try) 2>&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); }; } &&
40155 { ac_try
='test -s conftest$ac_exeext'
40156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40157 (eval $ac_try) 2>&5
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); }; }; then
40161 ac_cv_lib_dl_dlopen
=yes
40163 echo "$as_me: failed program was:" >&5
40164 sed 's/^/| /' conftest.
$ac_ext >&5
40166 ac_cv_lib_dl_dlopen
=no
40168 rm -f conftest.err conftest.
$ac_objext \
40169 conftest
$ac_exeext conftest.
$ac_ext
40170 LIBS
=$ac_check_lib_save_LIBS
40172 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40173 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40174 if test $ac_cv_lib_dl_dlopen = yes; then
40176 cat >>confdefs.h
<<\_ACEOF
40177 #define HAVE_DLOPEN 1
40181 DL_LINK
=" -ldl$DL_LINK"
40186 for ac_func
in shl_load
40188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40189 echo "$as_me:$LINENO: checking for $ac_func" >&5
40190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40191 if eval "test \"\${$as_ac_var+set}\" = set"; then
40192 echo $ECHO_N "(cached) $ECHO_C" >&6
40194 cat >conftest.
$ac_ext <<_ACEOF
40197 cat confdefs.h
>>conftest.
$ac_ext
40198 cat >>conftest.
$ac_ext <<_ACEOF
40199 /* end confdefs.h. */
40200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40202 #define $ac_func innocuous_$ac_func
40204 /* System header to define __stub macros and hopefully few prototypes,
40205 which can conflict with char $ac_func (); below.
40206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40207 <limits.h> exists even on freestanding compilers. */
40210 # include <limits.h>
40212 # include <assert.h>
40217 /* Override any gcc2 internal prototype to avoid an error. */
40222 /* We use char because int might match the return type of a gcc2
40223 builtin and then its argument prototype would still apply. */
40225 /* The GNU C library defines this for functions which it implements
40226 to always fail with ENOSYS. Some functions are actually named
40227 something starting with __ and the normal name is an alias. */
40228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40231 char (*f) () = $ac_func;
40240 return f != $ac_func;
40245 rm -f conftest.
$ac_objext conftest
$ac_exeext
40246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40247 (eval $ac_link) 2>conftest.er1
40249 grep -v '^ *+' conftest.er1
>conftest.err
40251 cat conftest.err
>&5
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); } &&
40254 { ac_try
='test -z "$ac_c_werror_flag"
40255 || test ! -s conftest.err'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; } &&
40261 { ac_try
='test -s conftest$ac_exeext'
40262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40263 (eval $ac_try) 2>&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); }; }; then
40267 eval "$as_ac_var=yes"
40269 echo "$as_me: failed program was:" >&5
40270 sed 's/^/| /' conftest.
$ac_ext >&5
40272 eval "$as_ac_var=no"
40274 rm -f conftest.err conftest.
$ac_objext \
40275 conftest
$ac_exeext conftest.
$ac_ext
40277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40279 if test `eval echo '${'$as_ac_var'}'` = yes; then
40280 cat >>confdefs.h
<<_ACEOF
40281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40284 cat >>confdefs.h
<<\_ACEOF
40285 #define HAVE_SHL_LOAD 1
40292 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40293 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40294 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40297 ac_check_lib_save_LIBS
=$LIBS
40298 LIBS
="-lshl_load $LIBS"
40299 cat >conftest.
$ac_ext <<_ACEOF
40302 cat confdefs.h
>>conftest.
$ac_ext
40303 cat >>conftest.
$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40306 /* Override any gcc2 internal prototype to avoid an error. */
40310 /* We use char because int might match the return type of a gcc2
40311 builtin and then its argument prototype would still apply. */
40321 rm -f conftest.
$ac_objext conftest
$ac_exeext
40322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40323 (eval $ac_link) 2>conftest.er1
40325 grep -v '^ *+' conftest.er1
>conftest.err
40327 cat conftest.err
>&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); } &&
40330 { ac_try
='test -z "$ac_c_werror_flag"
40331 || test ! -s conftest.err'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; } &&
40337 { ac_try
='test -s conftest$ac_exeext'
40338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40339 (eval $ac_try) 2>&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); }; }; then
40343 ac_cv_lib_shl_load_dld
=yes
40345 echo "$as_me: failed program was:" >&5
40346 sed 's/^/| /' conftest.
$ac_ext >&5
40348 ac_cv_lib_shl_load_dld
=no
40350 rm -f conftest.err conftest.
$ac_objext \
40351 conftest
$ac_exeext conftest.
$ac_ext
40352 LIBS
=$ac_check_lib_save_LIBS
40354 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40355 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40356 if test $ac_cv_lib_shl_load_dld = yes; then
40359 DL_LINK
=" -ldld$DL_LINK"
40375 if test "$HAVE_DL_FUNCS" = 1; then
40377 for ac_func
in dlerror
40379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40380 echo "$as_me:$LINENO: checking for $ac_func" >&5
40381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40382 if eval "test \"\${$as_ac_var+set}\" = set"; then
40383 echo $ECHO_N "(cached) $ECHO_C" >&6
40385 cat >conftest.
$ac_ext <<_ACEOF
40388 cat confdefs.h
>>conftest.
$ac_ext
40389 cat >>conftest.
$ac_ext <<_ACEOF
40390 /* end confdefs.h. */
40391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40393 #define $ac_func innocuous_$ac_func
40395 /* System header to define __stub macros and hopefully few prototypes,
40396 which can conflict with char $ac_func (); below.
40397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40398 <limits.h> exists even on freestanding compilers. */
40401 # include <limits.h>
40403 # include <assert.h>
40408 /* Override any gcc2 internal prototype to avoid an error. */
40413 /* We use char because int might match the return type of a gcc2
40414 builtin and then its argument prototype would still apply. */
40416 /* The GNU C library defines this for functions which it implements
40417 to always fail with ENOSYS. Some functions are actually named
40418 something starting with __ and the normal name is an alias. */
40419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40422 char (*f) () = $ac_func;
40431 return f != $ac_func;
40436 rm -f conftest.
$ac_objext conftest
$ac_exeext
40437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40438 (eval $ac_link) 2>conftest.er1
40440 grep -v '^ *+' conftest.er1
>conftest.err
40442 cat conftest.err
>&5
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); } &&
40445 { ac_try
='test -z "$ac_c_werror_flag"
40446 || test ! -s conftest.err'
40447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40448 (eval $ac_try) 2>&5
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); }; } &&
40452 { ac_try
='test -s conftest$ac_exeext'
40453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454 (eval $ac_try) 2>&5
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); }; }; then
40458 eval "$as_ac_var=yes"
40460 echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.
$ac_ext >&5
40463 eval "$as_ac_var=no"
40465 rm -f conftest.err conftest.
$ac_objext \
40466 conftest
$ac_exeext conftest.
$ac_ext
40468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40470 if test `eval echo '${'$as_ac_var'}'` = yes; then
40471 cat >>confdefs.h
<<_ACEOF
40472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40474 cat >>confdefs.h
<<\_ACEOF
40475 #define HAVE_DLERROR 1
40480 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40481 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40482 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40483 echo $ECHO_N "(cached) $ECHO_C" >&6
40485 ac_check_lib_save_LIBS
=$LIBS
40487 cat >conftest.
$ac_ext <<_ACEOF
40490 cat confdefs.h
>>conftest.
$ac_ext
40491 cat >>conftest.
$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40494 /* Override any gcc2 internal prototype to avoid an error. */
40498 /* We use char because int might match the return type of a gcc2
40499 builtin and then its argument prototype would still apply. */
40509 rm -f conftest.
$ac_objext conftest
$ac_exeext
40510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40511 (eval $ac_link) 2>conftest.er1
40513 grep -v '^ *+' conftest.er1
>conftest.err
40515 cat conftest.err
>&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); } &&
40518 { ac_try
='test -z "$ac_c_werror_flag"
40519 || test ! -s conftest.err'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; } &&
40525 { ac_try
='test -s conftest$ac_exeext'
40526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40527 (eval $ac_try) 2>&5
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); }; }; then
40531 ac_cv_lib_dl_dlerror
=yes
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.
$ac_ext >&5
40536 ac_cv_lib_dl_dlerror
=no
40538 rm -f conftest.err conftest.
$ac_objext \
40539 conftest
$ac_exeext conftest.
$ac_ext
40540 LIBS
=$ac_check_lib_save_LIBS
40542 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40543 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40544 if test $ac_cv_lib_dl_dlerror = yes; then
40545 cat >>confdefs.h
<<\_ACEOF
40546 #define HAVE_DLERROR 1
40559 if test "$HAVE_DL_FUNCS" = 0; then
40560 if test "$HAVE_SHL_FUNCS" = 0; then
40561 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40562 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40563 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40564 wxUSE_DYNAMIC_LOADER
=no
40565 wxUSE_DYNLIB_CLASS
=no
40567 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40568 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40575 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40576 cat >>confdefs.h
<<\_ACEOF
40577 #define wxUSE_DYNAMIC_LOADER 1
40581 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40582 cat >>confdefs.h
<<\_ACEOF
40583 #define wxUSE_DYNLIB_CLASS 1
40590 if test "$wxUSE_PLUGINS" = "yes" ; then
40591 if test "$wxUSE_SHARED" = "no" ; then
40592 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40593 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40596 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40597 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40598 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40601 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40602 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40603 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40606 if test "$wxUSE_PLUGINS" = "yes" ; then
40607 cat >>confdefs.h
<<\_ACEOF
40608 #define wxUSE_PLUGINS 1
40615 if test "$wxUSE_STL" = "yes"; then
40616 cat >>confdefs.h
<<\_ACEOF
40617 #define wxUSE_STL 1
40622 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40623 cat >>confdefs.h
<<\_ACEOF
40624 #define wxUSE_EXTENDED_RTTI 1
40629 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40630 cat >>confdefs.h
<<\_ACEOF
40631 #define wxUSE_APPLE_IEEE 1
40636 if test "$wxUSE_TIMER" = "yes"; then
40637 cat >>confdefs.h
<<\_ACEOF
40638 #define wxUSE_TIMER 1
40643 if test "$USE_UNIX" = "1" ; then
40644 if test "$wxUSE_MGL" != 1; then
40645 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40646 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
40647 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40648 echo $ECHO_N "(cached) $ECHO_C" >&6
40651 cat >conftest.
$ac_ext <<_ACEOF
40654 cat confdefs.h
>>conftest.
$ac_ext
40655 cat >>conftest.
$ac_ext <<_ACEOF
40656 /* end confdefs.h. */
40658 #include <sys/ioctl.h>
40659 #include <sys/soundcard.h>
40665 ioctl(0, SNDCTL_DSP_SPEED, 0);
40671 rm -f conftest.
$ac_objext conftest
$ac_exeext
40672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40673 (eval $ac_link) 2>conftest.er1
40675 grep -v '^ *+' conftest.er1
>conftest.err
40677 cat conftest.err
>&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); } &&
40680 { ac_try
='test -z "$ac_c_werror_flag"
40681 || test ! -s conftest.err'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; } &&
40687 { ac_try
='test -s conftest$ac_exeext'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; }; then
40693 ac_cv_header_sys_soundcard
=yes
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.
$ac_ext >&5
40700 LIBS
="$saveLibs -lossaudio"
40701 cat >conftest.
$ac_ext <<_ACEOF
40704 cat confdefs.h
>>conftest.
$ac_ext
40705 cat >>conftest.
$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40708 #include <sys/ioctl.h>
40709 #include <sys/soundcard.h>
40715 ioctl(0, SNDCTL_DSP_SPEED, 0);
40721 rm -f conftest.
$ac_objext conftest
$ac_exeext
40722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40723 (eval $ac_link) 2>conftest.er1
40725 grep -v '^ *+' conftest.er1
>conftest.err
40727 cat conftest.err
>&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } &&
40730 { ac_try
='test -z "$ac_c_werror_flag"
40731 || test ! -s conftest.err'
40732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40733 (eval $ac_try) 2>&5
40735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736 (exit $ac_status); }; } &&
40737 { ac_try
='test -s conftest$ac_exeext'
40738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40739 (eval $ac_try) 2>&5
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); }; }; then
40743 ac_cv_header_sys_soundcard
=yes
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.
$ac_ext >&5
40750 ac_cv_header_sys_soundcard
=no
40754 rm -f conftest.err conftest.
$ac_objext \
40755 conftest
$ac_exeext conftest.
$ac_ext
40759 rm -f conftest.err conftest.
$ac_objext \
40760 conftest
$ac_exeext conftest.
$ac_ext
40763 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40764 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40767 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40768 cat >>confdefs.h
<<\_ACEOF
40769 #define HAVE_SYS_SOUNDCARD_H 1
40776 if test "$wxUSE_SOUND" = "yes"; then
40777 if test "$USE_UNIX" = "1" ; then
40778 if test "$wxUSE_LIBSDL" != "no"; then
40780 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40781 if test "${with_sdl_prefix+set}" = set; then
40782 withval
="$with_sdl_prefix"
40783 sdl_prefix
="$withval"
40788 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40789 if test "${with_sdl_exec_prefix+set}" = set; then
40790 withval
="$with_sdl_exec_prefix"
40791 sdl_exec_prefix
="$withval"
40795 # Check whether --enable-sdltest or --disable-sdltest was given.
40796 if test "${enable_sdltest+set}" = set; then
40797 enableval
="$enable_sdltest"
40803 if test x
$sdl_exec_prefix != x
; then
40804 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40805 if test x
${SDL_CONFIG+set} != xset
; then
40806 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40809 if test x
$sdl_prefix != x
; then
40810 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40811 if test x
${SDL_CONFIG+set} != xset
; then
40812 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40816 if test "x$prefix" != xNONE
; then
40817 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40819 # Extract the first word of "sdl-config", so it can be a program name with args.
40820 set dummy sdl
-config; ac_word
=$2
40821 echo "$as_me:$LINENO: checking for $ac_word" >&5
40822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40823 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40824 echo $ECHO_N "(cached) $ECHO_C" >&6
40826 case $SDL_CONFIG in
40828 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40832 for as_dir
in $PATH
40835 test -z "$as_dir" && as_dir
=.
40836 for ac_exec_ext
in '' $ac_executable_extensions; do
40837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40838 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40845 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40849 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40851 if test -n "$SDL_CONFIG"; then
40852 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40853 echo "${ECHO_T}$SDL_CONFIG" >&6
40855 echo "$as_me:$LINENO: result: no" >&5
40856 echo "${ECHO_T}no" >&6
40859 min_sdl_version
=1.2.0
40860 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40861 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40863 if test "$SDL_CONFIG" = "no" ; then
40866 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40867 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40869 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40871 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40873 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40875 if test "x$enable_sdltest" = "xyes" ; then
40876 ac_save_CFLAGS
="$CFLAGS"
40877 ac_save_CXXFLAGS
="$CXXFLAGS"
40878 ac_save_LIBS
="$LIBS"
40879 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40880 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40881 LIBS
="$LIBS $SDL_LIBS"
40883 if test "$cross_compiling" = yes; then
40884 echo $ac_n "cross compiling; assumed OK... $ac_c"
40886 cat >conftest.
$ac_ext <<_ACEOF
40889 cat confdefs.h
>>conftest.
$ac_ext
40890 cat >>conftest.
$ac_ext <<_ACEOF
40891 /* end confdefs.h. */
40894 #include <stdlib.h>
40895 #include <string.h>
40899 my_strdup (char *str)
40905 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40906 strcpy (new_str, str);
40914 int main (int argc, char *argv[])
40916 int major, minor, micro;
40919 /* This hangs on some systems (?)
40920 system ("touch conf.sdltest");
40922 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40924 /* HP/UX 9 (%@#!) writes to sscanf strings */
40925 tmp_version = my_strdup("$min_sdl_version");
40926 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40927 printf("%s, bad version string\n", "$min_sdl_version");
40931 if (($sdl_major_version > major) ||
40932 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40933 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40939 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40940 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40941 printf("*** best to upgrade to the required version.\n");
40942 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40943 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40944 printf("*** config.cache before re-running configure\n");
40951 rm -f conftest
$ac_exeext
40952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40953 (eval $ac_link) 2>&5
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40958 (eval $ac_try) 2>&5
40960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40961 (exit $ac_status); }; }; then
40964 echo "$as_me: program exited with status $ac_status" >&5
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.
$ac_ext >&5
40968 ( exit $ac_status )
40971 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40973 CFLAGS
="$ac_save_CFLAGS"
40974 CXXFLAGS
="$ac_save_CXXFLAGS"
40975 LIBS
="$ac_save_LIBS"
40978 if test "x$no_sdl" = x
; then
40979 echo "$as_me:$LINENO: result: yes" >&5
40980 echo "${ECHO_T}yes" >&6
40982 EXTRALIBS_SDL
="$SDL_LIBS"
40983 CFLAGS
="$SDL_CFLAGS $CFLAGS"
40984 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40985 cat >>confdefs.h
<<\_ACEOF
40986 #define wxUSE_LIBSDL 1
40991 echo "$as_me:$LINENO: result: no" >&5
40992 echo "${ECHO_T}no" >&6
40993 if test "$SDL_CONFIG" = "no" ; then
40994 echo "*** The sdl-config script installed by SDL could not be found"
40995 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40996 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40997 echo "*** full path to sdl-config."
40999 if test -f conf.sdltest
; then
41002 echo "*** Could not run SDL test program, checking why..."
41003 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41004 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41005 LIBS
="$LIBS $SDL_LIBS"
41006 cat >conftest.
$ac_ext <<_ACEOF
41009 cat confdefs.h
>>conftest.
$ac_ext
41010 cat >>conftest.
$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41016 int main(int argc, char *argv[])
41019 #define main K_and_R_C_main
41029 rm -f conftest.
$ac_objext conftest
$ac_exeext
41030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41031 (eval $ac_link) 2>conftest.er1
41033 grep -v '^ *+' conftest.er1
>conftest.err
41035 cat conftest.err
>&5
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); } &&
41038 { ac_try
='test -z "$ac_c_werror_flag"
41039 || test ! -s conftest.err'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; } &&
41045 { ac_try
='test -s conftest$ac_exeext'
41046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41047 (eval $ac_try) 2>&5
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); }; }; then
41051 echo "*** The test program compiled, but did not run. This usually means"
41052 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41053 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41054 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41055 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41056 echo "*** is required on your system"
41058 echo "*** If you have an old version installed, it is best to remove it, although"
41059 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41061 echo "$as_me: failed program was:" >&5
41062 sed 's/^/| /' conftest.
$ac_ext >&5
41064 echo "*** The test program failed to compile or link. See the file config.log for the"
41065 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41066 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41067 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41069 rm -f conftest.err conftest.
$ac_objext \
41070 conftest
$ac_exeext conftest.
$ac_ext
41071 CFLAGS
="$ac_save_CFLAGS"
41072 CXXFLAGS
="$ac_save_CXXFLAGS"
41073 LIBS
="$ac_save_LIBS"
41084 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41089 if test "$wxUSE_MGL" = 1; then
41090 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41091 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41097 if test "$wxUSE_SOUND" = "yes"; then
41098 cat >>confdefs.h
<<\_ACEOF
41099 #define wxUSE_SOUND 1
41102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41105 if test "$WXGTK20" = 1; then
41108 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41109 if test -n "$ac_tool_prefix"; then
41110 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41111 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41112 echo "$as_me:$LINENO: checking for $ac_word" >&5
41113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41114 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41115 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 case $PKG_CONFIG in
41119 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41123 for as_dir
in $PATH
41126 test -z "$as_dir" && as_dir
=.
41127 for ac_exec_ext
in '' $ac_executable_extensions; do
41128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41129 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41139 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41141 if test -n "$PKG_CONFIG"; then
41142 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41143 echo "${ECHO_T}$PKG_CONFIG" >&6
41145 echo "$as_me:$LINENO: result: no" >&5
41146 echo "${ECHO_T}no" >&6
41150 if test -z "$ac_cv_path_PKG_CONFIG"; then
41151 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41152 # Extract the first word of "pkg-config", so it can be a program name with args.
41153 set dummy pkg
-config; ac_word
=$2
41154 echo "$as_me:$LINENO: checking for $ac_word" >&5
41155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41156 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41157 echo $ECHO_N "(cached) $ECHO_C" >&6
41159 case $ac_pt_PKG_CONFIG in
41161 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41165 for as_dir
in $PATH
41168 test -z "$as_dir" && as_dir
=.
41169 for ac_exec_ext
in '' $ac_executable_extensions; do
41170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41171 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41181 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41183 if test -n "$ac_pt_PKG_CONFIG"; then
41184 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41185 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
41187 echo "$as_me:$LINENO: result: no" >&5
41188 echo "${ECHO_T}no" >&6
41191 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41193 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41197 if test -n "$PKG_CONFIG"; then
41198 _pkg_min_version
=0.9.0
41199 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41200 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
41201 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41202 echo "$as_me:$LINENO: result: yes" >&5
41203 echo "${ECHO_T}yes" >&6
41205 echo "$as_me:$LINENO: result: no" >&5
41206 echo "${ECHO_T}no" >&6
41212 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41213 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41217 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41218 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41220 if test -n "$PKG_CONFIG"; then
41221 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41222 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41224 if test -n "$PKG_CONFIG" && \
41225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41226 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); }; then
41230 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41238 if test -n "$PKG_CONFIG"; then
41239 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41240 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41242 if test -n "$PKG_CONFIG" && \
41243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41244 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41247 (exit $ac_status); }; then
41248 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41259 if test $pkg_failed = yes; then
41261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41262 _pkg_short_errors_supported
=yes
41264 _pkg_short_errors_supported
=no
41266 if test $_pkg_short_errors_supported = yes; then
41267 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41269 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41271 # Put the nasty error message in config.log where it belongs
41272 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41275 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41276 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41277 wxUSE_LIBGNOMEPRINT
="no"
41280 elif test $pkg_failed = untried
; then
41282 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41283 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41284 wxUSE_LIBGNOMEPRINT
="no"
41288 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41289 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41290 echo "$as_me:$LINENO: result: yes" >&5
41291 echo "${ECHO_T}yes" >&6
41293 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41294 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41295 cat >>confdefs.h
<<\_ACEOF
41296 #define wxUSE_LIBGNOMEPRINT 1
41304 if test "$wxUSE_MIMETYPE" = "yes" ; then
41305 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41309 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41310 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41312 if test -n "$PKG_CONFIG"; then
41313 if test -n "$GNOMEVFS_CFLAGS"; then
41314 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41316 if test -n "$PKG_CONFIG" && \
41317 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41318 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; then
41322 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41330 if test -n "$PKG_CONFIG"; then
41331 if test -n "$GNOMEVFS_LIBS"; then
41332 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41334 if test -n "$PKG_CONFIG" && \
41335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41336 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); }; then
41340 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41351 if test $pkg_failed = yes; then
41353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41354 _pkg_short_errors_supported
=yes
41356 _pkg_short_errors_supported
=no
41358 if test $_pkg_short_errors_supported = yes; then
41359 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41361 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41363 # Put the nasty error message in config.log where it belongs
41364 echo "$GNOMEVFS_PKG_ERRORS" >&5
41367 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41368 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41369 wxUSE_LIBGNOMEVFS
="no"
41372 elif test $pkg_failed = untried
; then
41374 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41375 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41376 wxUSE_LIBGNOMEVFS
="no"
41380 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41381 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41382 echo "$as_me:$LINENO: result: yes" >&5
41383 echo "${ECHO_T}yes" >&6
41385 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41386 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41387 cat >>confdefs.h
<<\_ACEOF
41388 #define wxUSE_LIBGNOMEVFS 1
41396 if test "$wxUSE_LIBHILDON" = "yes" ; then
41399 echo "$as_me:$LINENO: checking for HILDON" >&5
41400 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41402 if test -n "$PKG_CONFIG"; then
41403 if test -n "$HILDON_CFLAGS"; then
41404 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41406 if test -n "$PKG_CONFIG" && \
41407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41408 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; then
41412 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41420 if test -n "$PKG_CONFIG"; then
41421 if test -n "$HILDON_LIBS"; then
41422 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41424 if test -n "$PKG_CONFIG" && \
41425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41426 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; then
41430 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41441 if test $pkg_failed = yes; then
41443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41444 _pkg_short_errors_supported
=yes
41446 _pkg_short_errors_supported
=no
41448 if test $_pkg_short_errors_supported = yes; then
41449 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41451 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41453 # Put the nasty error message in config.log where it belongs
41454 echo "$HILDON_PKG_ERRORS" >&5
41457 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41458 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41459 wxUSE_LIBHILDON
="no"
41462 elif test $pkg_failed = untried
; then
41464 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41465 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41466 wxUSE_LIBHILDON
="no"
41470 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41471 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41472 echo "$as_me:$LINENO: result: yes" >&5
41473 echo "${ECHO_T}yes" >&6
41475 EXTRALIBS_HILDON
="$HILDON_LIBS"
41476 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41477 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41478 cat >>confdefs.h
<<\_ACEOF
41479 #define wxUSE_LIBHILDON 1
41487 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41488 cat >>confdefs.h
<<\_ACEOF
41489 #define wxUSE_CMDLINE_PARSER 1
41494 if test "$wxUSE_STOPWATCH" = "yes"; then
41495 cat >>confdefs.h
<<\_ACEOF
41496 #define wxUSE_STOPWATCH 1
41501 if test "$wxUSE_DATETIME" = "yes"; then
41502 cat >>confdefs.h
<<\_ACEOF
41503 #define wxUSE_DATETIME 1
41508 if test "$wxUSE_FILE" = "yes"; then
41509 cat >>confdefs.h
<<\_ACEOF
41510 #define wxUSE_FILE 1
41515 if test "$wxUSE_FFILE" = "yes"; then
41516 cat >>confdefs.h
<<\_ACEOF
41517 #define wxUSE_FFILE 1
41522 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41523 if test "$wxUSE_STREAMS" != yes; then
41524 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41525 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41526 wxUSE_ARCHIVE_STREAMS
=no
41528 cat >>confdefs.h
<<\_ACEOF
41529 #define wxUSE_ARCHIVE_STREAMS 1
41535 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41536 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41537 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41538 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41539 elif test "$wxUSE_ZLIB" = "no"; then
41540 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41541 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41543 cat >>confdefs.h
<<\_ACEOF
41544 #define wxUSE_ZIPSTREAM 1
41550 if test "$wxUSE_TARSTREAM" = "yes"; then
41551 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41552 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41553 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41555 cat >>confdefs.h
<<\_ACEOF
41556 #define wxUSE_TARSTREAM 1
41562 if test "$wxUSE_FILESYSTEM" = "yes"; then
41563 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
41564 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41565 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41566 wxUSE_FILESYSTEM
=no
41568 cat >>confdefs.h
<<\_ACEOF
41569 #define wxUSE_FILESYSTEM 1
41575 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41576 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41577 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41578 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41580 cat >>confdefs.h
<<\_ACEOF
41581 #define wxUSE_FS_ARCHIVE 1
41587 if test "$wxUSE_FS_ZIP" = "yes"; then
41588 if test "$wxUSE_FS_ARCHIVE" != yes; then
41589 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41590 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41592 cat >>confdefs.h
<<\_ACEOF
41593 #define wxUSE_FS_ZIP 1
41599 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41600 if test "$USE_UNIX" != 1; then
41601 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41602 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41603 wxUSE_ON_FATAL_EXCEPTION
=no
41605 cat >>confdefs.h
<<\_ACEOF
41606 #define wxUSE_ON_FATAL_EXCEPTION 1
41612 if test "$wxUSE_STACKWALKER" = "yes"; then
41613 cat >>confdefs.h
<<\_ACEOF
41614 #define wxUSE_STACKWALKER 1
41619 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41620 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41621 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41622 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41623 wxUSE_DEBUGREPORT
=no
41625 cat >>confdefs.h
<<\_ACEOF
41626 #define wxUSE_DEBUGREPORT 1
41629 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41635 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41636 cat >>confdefs.h
<<\_ACEOF
41637 #define wxUSE_SNGLINST_CHECKER 1
41642 if test "$wxUSE_BUSYINFO" = "yes"; then
41643 cat >>confdefs.h
<<\_ACEOF
41644 #define wxUSE_BUSYINFO 1
41649 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41650 cat >>confdefs.h
<<\_ACEOF
41651 #define wxUSE_STD_IOSTREAM 1
41656 if test "$wxUSE_STD_STRING" = "yes"; then
41657 cat >>confdefs.h
<<\_ACEOF
41658 #define wxUSE_STD_STRING 1
41663 if test "$wxUSE_STDPATHS" = "yes"; then
41664 cat >>confdefs.h
<<\_ACEOF
41665 #define wxUSE_STDPATHS 1
41670 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41671 cat >>confdefs.h
<<\_ACEOF
41672 #define wxUSE_TEXTBUFFER 1
41677 if test "$wxUSE_TEXTFILE" = "yes"; then
41678 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41679 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41680 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41682 cat >>confdefs.h
<<\_ACEOF
41683 #define wxUSE_TEXTFILE 1
41689 if test "$wxUSE_CONFIG" = "yes" ; then
41690 if test "$wxUSE_TEXTFILE" != "yes"; then
41691 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41692 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41694 cat >>confdefs.h
<<\_ACEOF
41695 #define wxUSE_CONFIG 1
41698 cat >>confdefs.h
<<\_ACEOF
41699 #define wxUSE_CONFIG_NATIVE 1
41702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41706 if test "$wxUSE_INTL" = "yes" ; then
41707 if test "$wxUSE_FILE" != "yes"; then
41708 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41709 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41711 cat >>confdefs.h
<<\_ACEOF
41712 #define wxUSE_INTL 1
41715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41716 GUIDIST
="$GUIDIST INTL_DIST"
41720 if test "$wxUSE_LOG" = "yes"; then
41721 cat >>confdefs.h
<<\_ACEOF
41722 #define wxUSE_LOG 1
41726 if test "$wxUSE_LOGGUI" = "yes"; then
41727 cat >>confdefs.h
<<\_ACEOF
41728 #define wxUSE_LOGGUI 1
41733 if test "$wxUSE_LOGWINDOW" = "yes"; then
41734 cat >>confdefs.h
<<\_ACEOF
41735 #define wxUSE_LOGWINDOW 1
41740 if test "$wxUSE_LOGDIALOG" = "yes"; then
41741 cat >>confdefs.h
<<\_ACEOF
41742 #define wxUSE_LOG_DIALOG 1
41747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41750 if test "$wxUSE_LONGLONG" = "yes"; then
41751 cat >>confdefs.h
<<\_ACEOF
41752 #define wxUSE_LONGLONG 1
41757 if test "$wxUSE_GEOMETRY" = "yes"; then
41758 cat >>confdefs.h
<<\_ACEOF
41759 #define wxUSE_GEOMETRY 1
41764 if test "$wxUSE_STREAMS" = "yes" ; then
41765 cat >>confdefs.h
<<\_ACEOF
41766 #define wxUSE_STREAMS 1
41771 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41772 cat >>confdefs.h
<<\_ACEOF
41773 #define wxUSE_PRINTF_POS_PARAMS 1
41780 if test "$wxUSE_DATETIME" = "yes"; then
41782 for ac_func
in strptime
41784 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41785 echo "$as_me:$LINENO: checking for $ac_func" >&5
41786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41787 if eval "test \"\${$as_ac_var+set}\" = set"; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41790 cat >conftest.
$ac_ext <<_ACEOF
41793 cat confdefs.h
>>conftest.
$ac_ext
41794 cat >>conftest.
$ac_ext <<_ACEOF
41795 /* end confdefs.h. */
41796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41798 #define $ac_func innocuous_$ac_func
41800 /* System header to define __stub macros and hopefully few prototypes,
41801 which can conflict with char $ac_func (); below.
41802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41803 <limits.h> exists even on freestanding compilers. */
41806 # include <limits.h>
41808 # include <assert.h>
41813 /* Override any gcc2 internal prototype to avoid an error. */
41818 /* We use char because int might match the return type of a gcc2
41819 builtin and then its argument prototype would still apply. */
41821 /* The GNU C library defines this for functions which it implements
41822 to always fail with ENOSYS. Some functions are actually named
41823 something starting with __ and the normal name is an alias. */
41824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41827 char (*f) () = $ac_func;
41836 return f != $ac_func;
41841 rm -f conftest.
$ac_objext conftest
$ac_exeext
41842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41843 (eval $ac_link) 2>conftest.er1
41845 grep -v '^ *+' conftest.er1
>conftest.err
41847 cat conftest.err
>&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } &&
41850 { ac_try
='test -z "$ac_c_werror_flag"
41851 || test ! -s conftest.err'
41852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41853 (eval $ac_try) 2>&5
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); }; } &&
41857 { ac_try
='test -s conftest$ac_exeext'
41858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41859 (eval $ac_try) 2>&5
41861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41862 (exit $ac_status); }; }; then
41863 eval "$as_ac_var=yes"
41865 echo "$as_me: failed program was:" >&5
41866 sed 's/^/| /' conftest.
$ac_ext >&5
41868 eval "$as_ac_var=no"
41870 rm -f conftest.err conftest.
$ac_objext \
41871 conftest
$ac_exeext conftest.
$ac_ext
41873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41875 if test `eval echo '${'$as_ac_var'}'` = yes; then
41876 cat >>confdefs.h
<<_ACEOF
41877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41883 if test "$ac_cv_func_strptime" = "yes"; then
41884 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41885 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41886 if test "${wx_cv_func_strptime_decl+set}" = set; then
41887 echo $ECHO_N "(cached) $ECHO_C" >&6
41891 ac_cpp
='$CXXCPP $CPPFLAGS'
41892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41896 cat >conftest.
$ac_ext <<_ACEOF
41899 cat confdefs.h
>>conftest.
$ac_ext
41900 cat >>conftest.
$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41910 strptime("foo", "bar", &t);
41916 rm -f conftest.
$ac_objext
41917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41918 (eval $ac_compile) 2>conftest.er1
41920 grep -v '^ *+' conftest.er1
>conftest.err
41922 cat conftest.err
>&5
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); } &&
41925 { ac_try
='test -z "$ac_cxx_werror_flag"
41926 || test ! -s conftest.err'
41927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41928 (eval $ac_try) 2>&5
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); }; } &&
41932 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
41938 wx_cv_func_strptime_decl
=yes
41940 echo "$as_me: failed program was:" >&5
41941 sed 's/^/| /' conftest.
$ac_ext >&5
41943 wx_cv_func_strptime_decl
=no
41946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41948 ac_cpp
='$CPP $CPPFLAGS'
41949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41956 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41957 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41959 if test "$wx_cv_func_strptime_decl" = "yes"; then
41960 cat >>confdefs.h
<<\_ACEOF
41961 #define HAVE_STRPTIME_DECL 1
41966 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41967 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41968 if test "${wx_cv_var_timezone+set}" = set; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41973 ac_cpp
='$CXXCPP $CPPFLAGS'
41974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41978 cat >conftest.
$ac_ext <<_ACEOF
41981 cat confdefs.h
>>conftest.
$ac_ext
41982 cat >>conftest.
$ac_ext <<_ACEOF
41983 /* end confdefs.h. */
41998 rm -f conftest.
$ac_objext
41999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42000 (eval $ac_compile) 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_cxx_werror_flag"
42008 || test ! -s conftest.err'
42009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42010 (eval $ac_try) 2>&5
42012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42013 (exit $ac_status); }; } &&
42014 { ac_try
='test -s conftest.$ac_objext'
42015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42016 (eval $ac_try) 2>&5
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); }; }; then
42021 wx_cv_var_timezone
=timezone
42024 echo "$as_me: failed program was:" >&5
42025 sed 's/^/| /' conftest.
$ac_ext >&5
42028 cat >conftest.
$ac_ext <<_ACEOF
42031 cat confdefs.h
>>conftest.
$ac_ext
42032 cat >>conftest.
$ac_ext <<_ACEOF
42033 /* end confdefs.h. */
42048 rm -f conftest.
$ac_objext
42049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42050 (eval $ac_compile) 2>conftest.er1
42052 grep -v '^ *+' conftest.er1
>conftest.err
42054 cat conftest.err
>&5
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); } &&
42057 { ac_try
='test -z "$ac_cxx_werror_flag"
42058 || test ! -s conftest.err'
42059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42060 (eval $ac_try) 2>&5
42062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42063 (exit $ac_status); }; } &&
42064 { ac_try
='test -s conftest.$ac_objext'
42065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42066 (eval $ac_try) 2>&5
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); }; }; then
42071 wx_cv_var_timezone
=_timezone
42074 echo "$as_me: failed program was:" >&5
42075 sed 's/^/| /' conftest.
$ac_ext >&5
42078 cat >conftest.
$ac_ext <<_ACEOF
42081 cat confdefs.h
>>conftest.
$ac_ext
42082 cat >>conftest.
$ac_ext <<_ACEOF
42083 /* end confdefs.h. */
42098 rm -f conftest.
$ac_objext
42099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42100 (eval $ac_compile) 2>conftest.er1
42102 grep -v '^ *+' conftest.er1
>conftest.err
42104 cat conftest.err
>&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } &&
42107 { ac_try
='test -z "$ac_cxx_werror_flag"
42108 || test ! -s conftest.err'
42109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42110 (eval $ac_try) 2>&5
42112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42113 (exit $ac_status); }; } &&
42114 { ac_try
='test -s conftest.$ac_objext'
42115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42116 (eval $ac_try) 2>&5
42118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42119 (exit $ac_status); }; }; then
42121 wx_cv_var_timezone
=__timezone
42124 echo "$as_me: failed program was:" >&5
42125 sed 's/^/| /' conftest.
$ac_ext >&5
42128 if test "$USE_DOS" = 0 ; then
42129 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42130 echo "$as_me: WARNING: no timezone variable" >&2;}
42135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42145 ac_cpp
='$CPP $CPPFLAGS'
42146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42153 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42154 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42156 if test "x$wx_cv_var_timezone" != x
; then
42157 cat >>confdefs.h
<<_ACEOF
42158 #define WX_TIMEZONE $wx_cv_var_timezone
42164 for ac_func
in localtime
42166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42167 echo "$as_me:$LINENO: checking for $ac_func" >&5
42168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42169 if eval "test \"\${$as_ac_var+set}\" = set"; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42172 cat >conftest.
$ac_ext <<_ACEOF
42175 cat confdefs.h
>>conftest.
$ac_ext
42176 cat >>conftest.
$ac_ext <<_ACEOF
42177 /* end confdefs.h. */
42178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42180 #define $ac_func innocuous_$ac_func
42182 /* System header to define __stub macros and hopefully few prototypes,
42183 which can conflict with char $ac_func (); below.
42184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42185 <limits.h> exists even on freestanding compilers. */
42188 # include <limits.h>
42190 # include <assert.h>
42195 /* Override any gcc2 internal prototype to avoid an error. */
42200 /* We use char because int might match the return type of a gcc2
42201 builtin and then its argument prototype would still apply. */
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42209 char (*f) () = $ac_func;
42218 return f != $ac_func;
42223 rm -f conftest.
$ac_objext conftest
$ac_exeext
42224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42225 (eval $ac_link) 2>conftest.er1
42227 grep -v '^ *+' conftest.er1
>conftest.err
42229 cat conftest.err
>&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } &&
42232 { ac_try
='test -z "$ac_c_werror_flag"
42233 || test ! -s conftest.err'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; } &&
42239 { ac_try
='test -s conftest$ac_exeext'
42240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241 (eval $ac_try) 2>&5
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; }; then
42245 eval "$as_ac_var=yes"
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.
$ac_ext >&5
42250 eval "$as_ac_var=no"
42252 rm -f conftest.err conftest.
$ac_objext \
42253 conftest
$ac_exeext conftest.
$ac_ext
42255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42257 if test `eval echo '${'$as_ac_var'}'` = yes; then
42258 cat >>confdefs.h
<<_ACEOF
42259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42266 if test "$ac_cv_func_localtime" = "yes"; then
42267 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42268 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42269 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42270 echo $ECHO_N "(cached) $ECHO_C" >&6
42273 cat >conftest.
$ac_ext <<_ACEOF
42276 cat confdefs.h
>>conftest.
$ac_ext
42277 cat >>conftest.
$ac_ext <<_ACEOF
42278 /* end confdefs.h. */
42293 rm -f conftest.
$ac_objext
42294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42295 (eval $ac_compile) 2>conftest.er1
42297 grep -v '^ *+' conftest.er1
>conftest.err
42299 cat conftest.err
>&5
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); } &&
42302 { ac_try
='test -z "$ac_c_werror_flag"
42303 || test ! -s conftest.err'
42304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42305 (eval $ac_try) 2>&5
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); }; } &&
42309 { ac_try
='test -s conftest.$ac_objext'
42310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42311 (eval $ac_try) 2>&5
42313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314 (exit $ac_status); }; }; then
42316 wx_cv_struct_tm_has_gmtoff
=yes
42319 echo "$as_me: failed program was:" >&5
42320 sed 's/^/| /' conftest.
$ac_ext >&5
42322 wx_cv_struct_tm_has_gmtoff
=no
42325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42328 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42329 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42332 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42333 cat >>confdefs.h
<<\_ACEOF
42334 #define WX_GMTOFF_IN_TM 1
42341 for ac_func
in gettimeofday ftime
42343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42344 echo "$as_me:$LINENO: checking for $ac_func" >&5
42345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42346 if eval "test \"\${$as_ac_var+set}\" = set"; then
42347 echo $ECHO_N "(cached) $ECHO_C" >&6
42349 cat >conftest.
$ac_ext <<_ACEOF
42352 cat confdefs.h
>>conftest.
$ac_ext
42353 cat >>conftest.
$ac_ext <<_ACEOF
42354 /* end confdefs.h. */
42355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42357 #define $ac_func innocuous_$ac_func
42359 /* System header to define __stub macros and hopefully few prototypes,
42360 which can conflict with char $ac_func (); below.
42361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42362 <limits.h> exists even on freestanding compilers. */
42365 # include <limits.h>
42367 # include <assert.h>
42372 /* Override any gcc2 internal prototype to avoid an error. */
42377 /* We use char because int might match the return type of a gcc2
42378 builtin and then its argument prototype would still apply. */
42380 /* The GNU C library defines this for functions which it implements
42381 to always fail with ENOSYS. Some functions are actually named
42382 something starting with __ and the normal name is an alias. */
42383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42386 char (*f) () = $ac_func;
42395 return f != $ac_func;
42400 rm -f conftest.
$ac_objext conftest
$ac_exeext
42401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42402 (eval $ac_link) 2>conftest.er1
42404 grep -v '^ *+' conftest.er1
>conftest.err
42406 cat conftest.err
>&5
42407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42408 (exit $ac_status); } &&
42409 { ac_try
='test -z "$ac_c_werror_flag"
42410 || test ! -s conftest.err'
42411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412 (eval $ac_try) 2>&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); }; } &&
42416 { ac_try
='test -s conftest$ac_exeext'
42417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42418 (eval $ac_try) 2>&5
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); }; }; then
42422 eval "$as_ac_var=yes"
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.
$ac_ext >&5
42427 eval "$as_ac_var=no"
42429 rm -f conftest.err conftest.
$ac_objext \
42430 conftest
$ac_exeext conftest.
$ac_ext
42432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42434 if test `eval echo '${'$as_ac_var'}'` = yes; then
42435 cat >>confdefs.h
<<_ACEOF
42436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42443 if test "$ac_cv_func_gettimeofday" = "yes"; then
42444 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42445 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42446 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42447 echo $ECHO_N "(cached) $ECHO_C" >&6
42450 cat >conftest.
$ac_ext <<_ACEOF
42453 cat confdefs.h
>>conftest.
$ac_ext
42454 cat >>conftest.
$ac_ext <<_ACEOF
42455 /* end confdefs.h. */
42457 #include <sys/time.h>
42458 #include <unistd.h>
42465 gettimeofday(&tv, NULL);
42471 rm -f conftest.
$ac_objext
42472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42473 (eval $ac_compile) 2>conftest.er1
42475 grep -v '^ *+' conftest.er1
>conftest.err
42477 cat conftest.err
>&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } &&
42480 { ac_try
='test -z "$ac_c_werror_flag"
42481 || test ! -s conftest.err'
42482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42483 (eval $ac_try) 2>&5
42485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42486 (exit $ac_status); }; } &&
42487 { ac_try
='test -s conftest.$ac_objext'
42488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42489 (eval $ac_try) 2>&5
42491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42492 (exit $ac_status); }; }; then
42493 wx_cv_func_gettimeofday_has_2_args
=yes
42495 echo "$as_me: failed program was:" >&5
42496 sed 's/^/| /' conftest.
$ac_ext >&5
42498 cat >conftest.
$ac_ext <<_ACEOF
42501 cat confdefs.h
>>conftest.
$ac_ext
42502 cat >>conftest.
$ac_ext <<_ACEOF
42503 /* end confdefs.h. */
42505 #include <sys/time.h>
42506 #include <unistd.h>
42519 rm -f conftest.
$ac_objext
42520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42521 (eval $ac_compile) 2>conftest.er1
42523 grep -v '^ *+' conftest.er1
>conftest.err
42525 cat conftest.err
>&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); } &&
42528 { ac_try
='test -z "$ac_c_werror_flag"
42529 || test ! -s conftest.err'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; } &&
42535 { ac_try
='test -s conftest.$ac_objext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 wx_cv_func_gettimeofday_has_2_args
=no
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.
$ac_ext >&5
42547 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42548 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42549 wx_cv_func_gettimeofday_has_2_args
=unknown
42553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42559 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42560 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42562 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42563 cat >>confdefs.h
<<\_ACEOF
42564 #define WX_GETTIMEOFDAY_NO_TZ 1
42570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42574 if test "$wxUSE_SOCKETS" = "yes"; then
42575 if test "$wxUSE_MGL" = "1"; then
42576 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42577 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42582 if test "$wxUSE_SOCKETS" = "yes"; then
42583 if test "$TOOLKIT" != "MSW"; then
42584 echo "$as_me:$LINENO: checking for socket" >&5
42585 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42586 if test "${ac_cv_func_socket+set}" = set; then
42587 echo $ECHO_N "(cached) $ECHO_C" >&6
42589 cat >conftest.
$ac_ext <<_ACEOF
42592 cat confdefs.h
>>conftest.
$ac_ext
42593 cat >>conftest.
$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42595 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42597 #define socket innocuous_socket
42599 /* System header to define __stub macros and hopefully few prototypes,
42600 which can conflict with char socket (); below.
42601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42602 <limits.h> exists even on freestanding compilers. */
42605 # include <limits.h>
42607 # include <assert.h>
42612 /* Override any gcc2 internal prototype to avoid an error. */
42617 /* We use char because int might match the return type of a gcc2
42618 builtin and then its argument prototype would still apply. */
42620 /* The GNU C library defines this for functions which it implements
42621 to always fail with ENOSYS. Some functions are actually named
42622 something starting with __ and the normal name is an alias. */
42623 #if defined (__stub_socket) || defined (__stub___socket)
42626 char (*f) () = socket;
42635 return f != socket;
42640 rm -f conftest.
$ac_objext conftest
$ac_exeext
42641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42642 (eval $ac_link) 2>conftest.er1
42644 grep -v '^ *+' conftest.er1
>conftest.err
42646 cat conftest.err
>&5
42647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42648 (exit $ac_status); } &&
42649 { ac_try
='test -z "$ac_c_werror_flag"
42650 || test ! -s conftest.err'
42651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42652 (eval $ac_try) 2>&5
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); }; } &&
42656 { ac_try
='test -s conftest$ac_exeext'
42657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42658 (eval $ac_try) 2>&5
42660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42661 (exit $ac_status); }; }; then
42662 ac_cv_func_socket
=yes
42664 echo "$as_me: failed program was:" >&5
42665 sed 's/^/| /' conftest.
$ac_ext >&5
42667 ac_cv_func_socket
=no
42669 rm -f conftest.err conftest.
$ac_objext \
42670 conftest
$ac_exeext conftest.
$ac_ext
42672 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42673 echo "${ECHO_T}$ac_cv_func_socket" >&6
42674 if test $ac_cv_func_socket = yes; then
42678 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42679 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42680 if test "${ac_cv_lib_socket_socket+set}" = set; then
42681 echo $ECHO_N "(cached) $ECHO_C" >&6
42683 ac_check_lib_save_LIBS
=$LIBS
42684 LIBS
="-lsocket $LIBS"
42685 cat >conftest.
$ac_ext <<_ACEOF
42688 cat confdefs.h
>>conftest.
$ac_ext
42689 cat >>conftest.
$ac_ext <<_ACEOF
42690 /* end confdefs.h. */
42692 /* Override any gcc2 internal prototype to avoid an error. */
42696 /* We use char because int might match the return type of a gcc2
42697 builtin and then its argument prototype would still apply. */
42707 rm -f conftest.
$ac_objext conftest
$ac_exeext
42708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42709 (eval $ac_link) 2>conftest.er1
42711 grep -v '^ *+' conftest.er1
>conftest.err
42713 cat conftest.err
>&5
42714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42715 (exit $ac_status); } &&
42716 { ac_try
='test -z "$ac_c_werror_flag"
42717 || test ! -s conftest.err'
42718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42719 (eval $ac_try) 2>&5
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; } &&
42723 { ac_try
='test -s conftest$ac_exeext'
42724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42725 (eval $ac_try) 2>&5
42727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728 (exit $ac_status); }; }; then
42729 ac_cv_lib_socket_socket
=yes
42731 echo "$as_me: failed program was:" >&5
42732 sed 's/^/| /' conftest.
$ac_ext >&5
42734 ac_cv_lib_socket_socket
=no
42736 rm -f conftest.err conftest.
$ac_objext \
42737 conftest
$ac_exeext conftest.
$ac_ext
42738 LIBS
=$ac_check_lib_save_LIBS
42740 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42741 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42742 if test $ac_cv_lib_socket_socket = yes; then
42743 if test "$INET_LINK" != " -lsocket"; then
42744 INET_LINK
="$INET_LINK -lsocket"
42748 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42749 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42762 if test "$wxUSE_SOCKETS" = "yes" ; then
42763 if test "$TOOLKIT" != "MSW"; then
42764 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42765 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42766 if test "${wx_cv_type_getsockname3+set}" = set; then
42767 echo $ECHO_N "(cached) $ECHO_C" >&6
42771 ac_cpp
='$CXXCPP $CPPFLAGS'
42772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42776 cat >conftest.
$ac_ext <<_ACEOF
42779 cat confdefs.h
>>conftest.
$ac_ext
42780 cat >>conftest.
$ac_ext <<_ACEOF
42781 /* end confdefs.h. */
42783 #include <sys/types.h>
42784 #include <sys/socket.h>
42791 getsockname(0, 0, &len);
42797 rm -f conftest.
$ac_objext
42798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42799 (eval $ac_compile) 2>conftest.er1
42801 grep -v '^ *+' conftest.er1
>conftest.err
42803 cat conftest.err
>&5
42804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42805 (exit $ac_status); } &&
42806 { ac_try
='test -z "$ac_cxx_werror_flag"
42807 || test ! -s conftest.err'
42808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42809 (eval $ac_try) 2>&5
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); }; } &&
42813 { ac_try
='test -s conftest.$ac_objext'
42814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42815 (eval $ac_try) 2>&5
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; }; then
42819 wx_cv_type_getsockname3
=socklen_t
42821 echo "$as_me: failed program was:" >&5
42822 sed 's/^/| /' conftest.
$ac_ext >&5
42825 CFLAGS_OLD
="$CFLAGS"
42826 if test "$GCC" = yes ; then
42827 CFLAGS
="-Werror $CFLAGS"
42830 cat >conftest.
$ac_ext <<_ACEOF
42833 cat confdefs.h
>>conftest.
$ac_ext
42834 cat >>conftest.
$ac_ext <<_ACEOF
42835 /* end confdefs.h. */
42837 #include <sys/types.h>
42838 #include <sys/socket.h>
42845 getsockname(0, 0, &len);
42851 rm -f conftest.
$ac_objext
42852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42853 (eval $ac_compile) 2>conftest.er1
42855 grep -v '^ *+' conftest.er1
>conftest.err
42857 cat conftest.err
>&5
42858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42859 (exit $ac_status); } &&
42860 { ac_try
='test -z "$ac_cxx_werror_flag"
42861 || test ! -s conftest.err'
42862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42863 (eval $ac_try) 2>&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); }; } &&
42867 { ac_try
='test -s conftest.$ac_objext'
42868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42869 (eval $ac_try) 2>&5
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; }; then
42873 wx_cv_type_getsockname3
=size_t
42875 echo "$as_me: failed program was:" >&5
42876 sed 's/^/| /' conftest.
$ac_ext >&5
42878 cat >conftest.
$ac_ext <<_ACEOF
42881 cat confdefs.h
>>conftest.
$ac_ext
42882 cat >>conftest.
$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42885 #include <sys/types.h>
42886 #include <sys/socket.h>
42893 getsockname(0, 0, &len);
42899 rm -f conftest.
$ac_objext
42900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42901 (eval $ac_compile) 2>conftest.er1
42903 grep -v '^ *+' conftest.er1
>conftest.err
42905 cat conftest.err
>&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } &&
42908 { ac_try
='test -z "$ac_cxx_werror_flag"
42909 || test ! -s conftest.err'
42910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911 (eval $ac_try) 2>&5
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; } &&
42915 { ac_try
='test -s conftest.$ac_objext'
42916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42917 (eval $ac_try) 2>&5
42919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42920 (exit $ac_status); }; }; then
42921 wx_cv_type_getsockname3
=int
42923 echo "$as_me: failed program was:" >&5
42924 sed 's/^/| /' conftest.
$ac_ext >&5
42926 wx_cv_type_getsockname3
=unknown
42929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42934 CFLAGS
="$CFLAGS_OLD"
42938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42940 ac_cpp
='$CPP $CPPFLAGS'
42941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42947 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42948 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42950 if test "$wx_cv_type_getsockname3" = "unknown"; then
42952 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42953 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42955 cat >>confdefs.h
<<_ACEOF
42956 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42960 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42961 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42962 if test "${wx_cv_type_getsockopt5+set}" = set; then
42963 echo $ECHO_N "(cached) $ECHO_C" >&6
42967 ac_cpp
='$CXXCPP $CPPFLAGS'
42968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42972 cat >conftest.
$ac_ext <<_ACEOF
42975 cat confdefs.h
>>conftest.
$ac_ext
42976 cat >>conftest.
$ac_ext <<_ACEOF
42977 /* end confdefs.h. */
42979 #include <sys/types.h>
42980 #include <sys/socket.h>
42987 getsockopt(0, 0, 0, 0, &len);
42993 rm -f conftest.
$ac_objext
42994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42995 (eval $ac_compile) 2>conftest.er1
42997 grep -v '^ *+' conftest.er1
>conftest.err
42999 cat conftest.err
>&5
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); } &&
43002 { ac_try
='test -z "$ac_cxx_werror_flag"
43003 || test ! -s conftest.err'
43004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43005 (eval $ac_try) 2>&5
43007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43008 (exit $ac_status); }; } &&
43009 { ac_try
='test -s conftest.$ac_objext'
43010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43011 (eval $ac_try) 2>&5
43013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43014 (exit $ac_status); }; }; then
43015 wx_cv_type_getsockopt5
=socklen_t
43017 echo "$as_me: failed program was:" >&5
43018 sed 's/^/| /' conftest.
$ac_ext >&5
43021 cat >conftest.
$ac_ext <<_ACEOF
43024 cat confdefs.h
>>conftest.
$ac_ext
43025 cat >>conftest.
$ac_ext <<_ACEOF
43026 /* end confdefs.h. */
43028 #include <sys/types.h>
43029 #include <sys/socket.h>
43036 getsockopt(0, 0, 0, 0, &len);
43042 rm -f conftest.
$ac_objext
43043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43044 (eval $ac_compile) 2>conftest.er1
43046 grep -v '^ *+' conftest.er1
>conftest.err
43048 cat conftest.err
>&5
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); } &&
43051 { ac_try
='test -z "$ac_cxx_werror_flag"
43052 || test ! -s conftest.err'
43053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43054 (eval $ac_try) 2>&5
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); }; } &&
43058 { ac_try
='test -s conftest.$ac_objext'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; }; then
43064 wx_cv_type_getsockopt5
=size_t
43066 echo "$as_me: failed program was:" >&5
43067 sed 's/^/| /' conftest.
$ac_ext >&5
43069 cat >conftest.
$ac_ext <<_ACEOF
43072 cat confdefs.h
>>conftest.
$ac_ext
43073 cat >>conftest.
$ac_ext <<_ACEOF
43074 /* end confdefs.h. */
43076 #include <sys/types.h>
43077 #include <sys/socket.h>
43084 getsockopt(0, 0, 0, 0, &len);
43090 rm -f conftest.
$ac_objext
43091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43092 (eval $ac_compile) 2>conftest.er1
43094 grep -v '^ *+' conftest.er1
>conftest.err
43096 cat conftest.err
>&5
43097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098 (exit $ac_status); } &&
43099 { ac_try
='test -z "$ac_cxx_werror_flag"
43100 || test ! -s conftest.err'
43101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43102 (eval $ac_try) 2>&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; } &&
43106 { ac_try
='test -s conftest.$ac_objext'
43107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43108 (eval $ac_try) 2>&5
43110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43111 (exit $ac_status); }; }; then
43112 wx_cv_type_getsockopt5
=int
43114 echo "$as_me: failed program was:" >&5
43115 sed 's/^/| /' conftest.
$ac_ext >&5
43117 wx_cv_type_getsockopt5
=unknown
43120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43129 ac_cpp
='$CPP $CPPFLAGS'
43130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43136 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43137 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43139 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43141 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43142 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43144 cat >>confdefs.h
<<_ACEOF
43145 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43152 if test "$wxUSE_SOCKETS" = "yes" ; then
43153 cat >>confdefs.h
<<\_ACEOF
43154 #define wxUSE_SOCKETS 1
43157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43160 if test "$wxUSE_PROTOCOL" = "yes"; then
43161 if test "$wxUSE_SOCKETS" != "yes"; then
43162 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43163 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43168 if test "$wxUSE_PROTOCOL" = "yes"; then
43169 cat >>confdefs.h
<<\_ACEOF
43170 #define wxUSE_PROTOCOL 1
43174 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43175 cat >>confdefs.h
<<\_ACEOF
43176 #define wxUSE_PROTOCOL_HTTP 1
43180 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43181 cat >>confdefs.h
<<\_ACEOF
43182 #define wxUSE_PROTOCOL_FTP 1
43186 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43187 cat >>confdefs.h
<<\_ACEOF
43188 #define wxUSE_PROTOCOL_FILE 1
43193 if test "$wxUSE_FS_INET" = "yes"; then
43194 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43195 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43200 if test "$wxUSE_URL" = "yes"; then
43201 if test "$wxUSE_PROTOCOL" != "yes"; then
43202 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43203 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43206 if test "$wxUSE_URL" = "yes"; then
43207 cat >>confdefs.h
<<\_ACEOF
43208 #define wxUSE_URL 1
43214 if test "$wxUSE_VARIANT" = "yes"; then
43215 cat >>confdefs.h
<<\_ACEOF
43216 #define wxUSE_VARIANT 1
43221 if test "$wxUSE_FS_INET" = "yes"; then
43222 cat >>confdefs.h
<<\_ACEOF
43223 #define wxUSE_FS_INET 1
43229 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43232 if test "$TOOLKIT" = "MSW"; then
43235 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43236 if test "$USE_DARWIN" = 1; then
43237 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43238 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43240 ac_cpp
='$CXXCPP $CPPFLAGS'
43241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43245 cat >conftest.
$ac_ext <<_ACEOF
43248 cat confdefs.h
>>conftest.
$ac_ext
43249 cat >>conftest.
$ac_ext <<_ACEOF
43250 /* end confdefs.h. */
43251 #include <IOKit/hid/IOHIDLib.h>
43255 IOHIDQueueInterface *qi = NULL;
43256 IOHIDCallbackFunction cb = NULL;
43257 qi->setEventCallout(NULL, cb, NULL, NULL);
43262 rm -f conftest.
$ac_objext
43263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43264 (eval $ac_compile) 2>conftest.er1
43266 grep -v '^ *+' conftest.er1
>conftest.err
43268 cat conftest.err
>&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } &&
43271 { ac_try
='test -z "$ac_cxx_werror_flag"
43272 || test ! -s conftest.err'
43273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43274 (eval $ac_try) 2>&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; } &&
43278 { ac_try
='test -s conftest.$ac_objext'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; }; then
43287 echo "$as_me: failed program was:" >&5
43288 sed 's/^/| /' conftest.
$ac_ext >&5
43291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43293 ac_cpp
='$CPP $CPPFLAGS'
43294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43298 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43299 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43303 if test "$wxUSE_MGL" != "1"; then
43304 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43305 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
43306 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43309 cat >conftest.
$ac_ext <<_ACEOF
43312 cat confdefs.h
>>conftest.
$ac_ext
43313 cat >>conftest.
$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43315 $ac_includes_default
43317 #include <linux/joystick.h>
43319 rm -f conftest.
$ac_objext
43320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43321 (eval $ac_compile) 2>conftest.er1
43323 grep -v '^ *+' conftest.er1
>conftest.err
43325 cat conftest.err
>&5
43326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327 (exit $ac_status); } &&
43328 { ac_try
='test -z "$ac_c_werror_flag"
43329 || test ! -s conftest.err'
43330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43331 (eval $ac_try) 2>&5
43333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334 (exit $ac_status); }; } &&
43335 { ac_try
='test -s conftest.$ac_objext'
43336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43337 (eval $ac_try) 2>&5
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); }; }; then
43341 ac_cv_header_linux_joystick_h
=yes
43343 echo "$as_me: failed program was:" >&5
43344 sed 's/^/| /' conftest.
$ac_ext >&5
43346 ac_cv_header_linux_joystick_h
=no
43348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43350 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43351 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
43352 if test $ac_cv_header_linux_joystick_h = yes; then
43360 if test "$wxUSE_JOYSTICK" = "yes"; then
43361 cat >>confdefs.h
<<\_ACEOF
43362 #define wxUSE_JOYSTICK 1
43365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43367 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43368 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43374 if test "$wxUSE_FONTMAP" = "yes" ; then
43375 cat >>confdefs.h
<<\_ACEOF
43376 #define wxUSE_FONTMAP 1
43381 if test "$wxUSE_UNICODE" = "yes" ; then
43382 cat >>confdefs.h
<<\_ACEOF
43383 #define wxUSE_UNICODE 1
43387 if test "$USE_WIN32" != 1; then
43388 wxUSE_UNICODE_MSLU
=no
43391 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43392 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43393 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43394 if test "${ac_cv_lib_unicows_main+set}" = set; then
43395 echo $ECHO_N "(cached) $ECHO_C" >&6
43397 ac_check_lib_save_LIBS
=$LIBS
43398 LIBS
="-lunicows $LIBS"
43399 cat >conftest.
$ac_ext <<_ACEOF
43402 cat confdefs.h
>>conftest.
$ac_ext
43403 cat >>conftest.
$ac_ext <<_ACEOF
43404 /* end confdefs.h. */
43415 rm -f conftest.
$ac_objext conftest
$ac_exeext
43416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43417 (eval $ac_link) 2>conftest.er1
43419 grep -v '^ *+' conftest.er1
>conftest.err
43421 cat conftest.err
>&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); } &&
43424 { ac_try
='test -z "$ac_c_werror_flag"
43425 || test ! -s conftest.err'
43426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43427 (eval $ac_try) 2>&5
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); }; } &&
43431 { ac_try
='test -s conftest$ac_exeext'
43432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433 (eval $ac_try) 2>&5
43435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436 (exit $ac_status); }; }; then
43437 ac_cv_lib_unicows_main
=yes
43439 echo "$as_me: failed program was:" >&5
43440 sed 's/^/| /' conftest.
$ac_ext >&5
43442 ac_cv_lib_unicows_main
=no
43444 rm -f conftest.err conftest.
$ac_objext \
43445 conftest
$ac_exeext conftest.
$ac_ext
43446 LIBS
=$ac_check_lib_save_LIBS
43448 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43449 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43450 if test $ac_cv_lib_unicows_main = yes; then
43452 cat >>confdefs.h
<<\_ACEOF
43453 #define wxUSE_UNICODE_MSLU 1
43459 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43460 Applications will only run on Windows NT/2000/XP!" >&5
43461 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43462 Applications will only run on Windows NT/2000/XP!" >&2;}
43463 wxUSE_UNICODE_MSLU
=no
43470 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43471 cat >>confdefs.h
<<\_ACEOF
43472 #define wxUSE_UNICODE_UTF8 1
43477 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43478 cat >>confdefs.h
<<\_ACEOF
43479 #define wxUSE_EXPERIMENTAL_PRINTF 1
43485 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43486 cat >>confdefs.h
<<\_ACEOF
43487 #define wxUSE_POSTSCRIPT 1
43492 cat >>confdefs.h
<<\_ACEOF
43493 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43497 cat >>confdefs.h
<<\_ACEOF
43498 #define wxUSE_NORMALIZED_PS_FONTS 1
43503 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43504 cat >>confdefs.h
<<\_ACEOF
43505 #define wxUSE_CONSTRAINTS 1
43508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43511 if test "$wxUSE_MDI" = "yes"; then
43512 cat >>confdefs.h
<<\_ACEOF
43513 #define wxUSE_MDI 1
43517 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43518 cat >>confdefs.h
<<\_ACEOF
43519 #define wxUSE_MDI_ARCHITECTURE 1
43522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43526 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43527 cat >>confdefs.h
<<\_ACEOF
43528 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43532 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43537 if test "$wxUSE_HELP" = "yes"; then
43538 cat >>confdefs.h
<<\_ACEOF
43539 #define wxUSE_HELP 1
43542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43544 if test "$wxUSE_MSW" = 1; then
43545 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43546 cat >>confdefs.h
<<\_ACEOF
43547 #define wxUSE_MS_HTML_HELP 1
43553 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43554 if test "$wxUSE_HTML" = "yes"; then
43555 cat >>confdefs.h
<<\_ACEOF
43556 #define wxUSE_WXHTML_HELP 1
43560 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43561 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43562 wxUSE_WXHTML_HELP
=no
43567 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43568 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43569 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43570 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43572 cat >>confdefs.h
<<\_ACEOF
43573 #define wxUSE_PRINTING_ARCHITECTURE 1
43577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43582 if test "$wxUSE_METAFILE" = "yes"; then
43583 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43584 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43585 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43591 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43592 -o "$wxUSE_CLIPBOARD" = "yes" \
43593 -o "$wxUSE_OLE" = "yes" \
43594 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43595 echo "$as_me:$LINENO: checking for ole2.h" >&5
43596 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
43597 if test "${ac_cv_header_ole2_h+set}" = set; then
43598 echo $ECHO_N "(cached) $ECHO_C" >&6
43600 cat >conftest.
$ac_ext <<_ACEOF
43603 cat confdefs.h
>>conftest.
$ac_ext
43604 cat >>conftest.
$ac_ext <<_ACEOF
43605 /* end confdefs.h. */
43610 rm -f conftest.
$ac_objext
43611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43612 (eval $ac_compile) 2>conftest.er1
43614 grep -v '^ *+' conftest.er1
>conftest.err
43616 cat conftest.err
>&5
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); } &&
43619 { ac_try
='test -z "$ac_c_werror_flag"
43620 || test ! -s conftest.err'
43621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43622 (eval $ac_try) 2>&5
43624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625 (exit $ac_status); }; } &&
43626 { ac_try
='test -s conftest.$ac_objext'
43627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43628 (eval $ac_try) 2>&5
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); }; }; then
43632 ac_cv_header_ole2_h
=yes
43634 echo "$as_me: failed program was:" >&5
43635 sed 's/^/| /' conftest.
$ac_ext >&5
43637 ac_cv_header_ole2_h
=no
43639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43641 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43642 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
43646 if test "$ac_cv_header_ole2_h" = "yes" ; then
43647 if test "$GCC" = yes ; then
43648 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43649 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43650 cat >conftest.
$ac_ext <<_ACEOF
43653 cat confdefs.h
>>conftest.
$ac_ext
43654 cat >>conftest.
$ac_ext <<_ACEOF
43655 /* end confdefs.h. */
43656 #include <windows.h>
43666 rm -f conftest.
$ac_objext
43667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43668 (eval $ac_compile) 2>conftest.er1
43670 grep -v '^ *+' conftest.er1
>conftest.err
43672 cat conftest.err
>&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); } &&
43675 { ac_try
='test -z "$ac_c_werror_flag"
43676 || test ! -s conftest.err'
43677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43678 (eval $ac_try) 2>&5
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); }; } &&
43682 { ac_try
='test -s conftest.$ac_objext'
43683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43684 (eval $ac_try) 2>&5
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); }; }; then
43688 echo "$as_me:$LINENO: result: no" >&5
43689 echo "${ECHO_T}no" >&6
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.
$ac_ext >&5
43694 echo "$as_me:$LINENO: result: yes" >&5
43695 echo "${ECHO_T}yes" >&6
43696 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43699 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43700 if test "$wxUSE_OLE" = "yes" ; then
43701 cat >>confdefs.h
<<\_ACEOF
43702 #define wxUSE_OLE 1
43705 cat >>confdefs.h
<<\_ACEOF
43706 #define wxUSE_OLE_AUTOMATION 1
43709 cat >>confdefs.h
<<\_ACEOF
43710 #define wxUSE_ACTIVEX 1
43713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43717 if test "$wxUSE_DATAOBJ" = "yes" ; then
43718 cat >>confdefs.h
<<\_ACEOF
43719 #define wxUSE_DATAOBJ 1
43724 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43725 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43728 wxUSE_DRAG_AND_DROP
=no
43733 if test "$wxUSE_METAFILE" = "yes"; then
43734 cat >>confdefs.h
<<\_ACEOF
43735 #define wxUSE_METAFILE 1
43739 cat >>confdefs.h
<<\_ACEOF
43740 #define wxUSE_ENH_METAFILE 1
43746 if test "$wxUSE_IPC" = "yes"; then
43747 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43748 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43749 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43753 if test "$wxUSE_IPC" = "yes"; then
43754 cat >>confdefs.h
<<\_ACEOF
43755 #define wxUSE_IPC 1
43758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43762 if test "$wxUSE_DATAOBJ" = "yes"; then
43763 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43764 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43765 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43768 cat >>confdefs.h
<<\_ACEOF
43769 #define wxUSE_DATAOBJ 1
43774 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43775 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43777 wxUSE_DRAG_AND_DROP
=no
43780 if test "$wxUSE_CLIPBOARD" = "yes"; then
43781 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43782 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43783 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43787 if test "$wxUSE_CLIPBOARD" = "yes"; then
43788 cat >>confdefs.h
<<\_ACEOF
43789 #define wxUSE_CLIPBOARD 1
43795 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43796 if test "$wxUSE_GTK" = 1; then
43797 if test "$WXGTK12" != 1; then
43798 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43799 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43800 wxUSE_DRAG_AND_DROP
=no
43804 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43805 "$wxUSE_DFB" = 1; then
43806 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43807 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43808 wxUSE_DRAG_AND_DROP
=no
43811 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43812 cat >>confdefs.h
<<\_ACEOF
43813 #define wxUSE_DRAG_AND_DROP 1
43820 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43824 if test "$wxUSE_SPLINES" = "yes" ; then
43825 cat >>confdefs.h
<<\_ACEOF
43826 #define wxUSE_SPLINES 1
43831 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43832 cat >>confdefs.h
<<\_ACEOF
43833 #define wxUSE_MOUSEWHEEL 1
43840 if test "$wxUSE_CONTROLS" = "yes"; then
43844 if test "$wxUSE_ACCEL" = "yes"; then
43845 cat >>confdefs.h
<<\_ACEOF
43846 #define wxUSE_ACCEL 1
43852 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43853 cat >>confdefs.h
<<\_ACEOF
43854 #define wxUSE_ANIMATIONCTRL 1
43858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
43861 if test "$wxUSE_BUTTON" = "yes"; then
43862 cat >>confdefs.h
<<\_ACEOF
43863 #define wxUSE_BUTTON 1
43869 if test "$wxUSE_BMPBUTTON" = "yes"; then
43870 cat >>confdefs.h
<<\_ACEOF
43871 #define wxUSE_BMPBUTTON 1
43877 if test "$wxUSE_CALCTRL" = "yes"; then
43878 cat >>confdefs.h
<<\_ACEOF
43879 #define wxUSE_CALENDARCTRL 1
43883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43886 if test "$wxUSE_CARET" = "yes"; then
43887 cat >>confdefs.h
<<\_ACEOF
43888 #define wxUSE_CARET 1
43892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43895 if test "$wxUSE_COLLPANE" = "yes"; then
43896 cat >>confdefs.h
<<\_ACEOF
43897 #define wxUSE_COLLPANE 1
43901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
43904 if test "$wxUSE_COMBOBOX" = "yes"; then
43905 cat >>confdefs.h
<<\_ACEOF
43906 #define wxUSE_COMBOBOX 1
43912 if test "$wxUSE_COMBOCTRL" = "yes"; then
43913 cat >>confdefs.h
<<\_ACEOF
43914 #define wxUSE_COMBOCTRL 1
43920 if test "$wxUSE_CHOICE" = "yes"; then
43921 cat >>confdefs.h
<<\_ACEOF
43922 #define wxUSE_CHOICE 1
43928 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43929 cat >>confdefs.h
<<\_ACEOF
43930 #define wxUSE_CHOICEBOOK 1
43936 if test "$wxUSE_CHECKBOX" = "yes"; then
43937 cat >>confdefs.h
<<\_ACEOF
43938 #define wxUSE_CHECKBOX 1
43944 if test "$wxUSE_CHECKLST" = "yes"; then
43945 cat >>confdefs.h
<<\_ACEOF
43946 #define wxUSE_CHECKLISTBOX 1
43950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43953 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
43954 cat >>confdefs.h
<<\_ACEOF
43955 #define wxUSE_COLOURPICKERCTRL 1
43961 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43962 cat >>confdefs.h
<<\_ACEOF
43963 #define wxUSE_DATEPICKCTRL 1
43969 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
43970 cat >>confdefs.h
<<\_ACEOF
43971 #define wxUSE_DIRPICKERCTRL 1
43977 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
43978 cat >>confdefs.h
<<\_ACEOF
43979 #define wxUSE_FILEPICKERCTRL 1
43985 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
43986 cat >>confdefs.h
<<\_ACEOF
43987 #define wxUSE_FONTPICKERCTRL 1
43993 if test "$wxUSE_DISPLAY" = "yes"; then
43994 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
43995 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
43996 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
43999 cat >>confdefs.h
<<\_ACEOF
44000 #define wxUSE_DISPLAY 1
44003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44007 if test "$wxUSE_DETECT_SM" = "yes"; then
44008 cat >>confdefs.h
<<\_ACEOF
44009 #define wxUSE_DETECT_SM 1
44014 if test "$wxUSE_GAUGE" = "yes"; then
44015 cat >>confdefs.h
<<\_ACEOF
44016 #define wxUSE_GAUGE 1
44022 if test "$wxUSE_GRID" = "yes"; then
44023 cat >>confdefs.h
<<\_ACEOF
44024 #define wxUSE_GRID 1
44028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44031 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44032 cat >>confdefs.h
<<\_ACEOF
44033 #define wxUSE_HYPERLINKCTRL 1
44039 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44040 cat >>confdefs.h
<<\_ACEOF
44041 #define wxUSE_BITMAPCOMBOBOX 1
44047 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44048 cat >>confdefs.h
<<\_ACEOF
44049 #define wxUSE_DATAVIEWCTRL 1
44053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44056 if test "$wxUSE_IMAGLIST" = "yes"; then
44057 cat >>confdefs.h
<<\_ACEOF
44058 #define wxUSE_IMAGLIST 1
44063 if test "$wxUSE_LISTBOOK" = "yes"; then
44064 cat >>confdefs.h
<<\_ACEOF
44065 #define wxUSE_LISTBOOK 1
44071 if test "$wxUSE_LISTBOX" = "yes"; then
44072 cat >>confdefs.h
<<\_ACEOF
44073 #define wxUSE_LISTBOX 1
44077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44080 if test "$wxUSE_LISTCTRL" = "yes"; then
44081 if test "$wxUSE_IMAGLIST" = "yes"; then
44082 cat >>confdefs.h
<<\_ACEOF
44083 #define wxUSE_LISTCTRL 1
44087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44089 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44090 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44094 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44095 cat >>confdefs.h
<<\_ACEOF
44096 #define wxUSE_EDITABLELISTBOX 1
44100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
44103 if test "$wxUSE_NOTEBOOK" = "yes"; then
44104 cat >>confdefs.h
<<\_ACEOF
44105 #define wxUSE_NOTEBOOK 1
44109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44112 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44113 cat >>confdefs.h
<<\_ACEOF
44114 #define wxUSE_ODCOMBOBOX 1
44118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44122 if test "$wxUSE_RADIOBOX" = "yes"; then
44123 cat >>confdefs.h
<<\_ACEOF
44124 #define wxUSE_RADIOBOX 1
44130 if test "$wxUSE_RADIOBTN" = "yes"; then
44131 cat >>confdefs.h
<<\_ACEOF
44132 #define wxUSE_RADIOBTN 1
44138 if test "$wxUSE_SASH" = "yes"; then
44139 cat >>confdefs.h
<<\_ACEOF
44140 #define wxUSE_SASH 1
44143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44146 if test "$wxUSE_SCROLLBAR" = "yes"; then
44147 cat >>confdefs.h
<<\_ACEOF
44148 #define wxUSE_SCROLLBAR 1
44152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44155 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44156 cat >>confdefs.h
<<\_ACEOF
44157 #define wxUSE_SEARCHCTRL 1
44163 if test "$wxUSE_SLIDER" = "yes"; then
44164 cat >>confdefs.h
<<\_ACEOF
44165 #define wxUSE_SLIDER 1
44171 if test "$wxUSE_SPINBTN" = "yes"; then
44172 cat >>confdefs.h
<<\_ACEOF
44173 #define wxUSE_SPINBTN 1
44179 if test "$wxUSE_SPINCTRL" = "yes"; then
44180 cat >>confdefs.h
<<\_ACEOF
44181 #define wxUSE_SPINCTRL 1
44187 if test "$wxUSE_SPLITTER" = "yes"; then
44188 cat >>confdefs.h
<<\_ACEOF
44189 #define wxUSE_SPLITTER 1
44192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44195 if test "$wxUSE_STATBMP" = "yes"; then
44196 cat >>confdefs.h
<<\_ACEOF
44197 #define wxUSE_STATBMP 1
44203 if test "$wxUSE_STATBOX" = "yes"; then
44204 cat >>confdefs.h
<<\_ACEOF
44205 #define wxUSE_STATBOX 1
44211 if test "$wxUSE_STATTEXT" = "yes"; then
44212 cat >>confdefs.h
<<\_ACEOF
44213 #define wxUSE_STATTEXT 1
44219 if test "$wxUSE_STATLINE" = "yes"; then
44220 cat >>confdefs.h
<<\_ACEOF
44221 #define wxUSE_STATLINE 1
44227 if test "$wxUSE_STATUSBAR" = "yes"; then
44228 cat >>confdefs.h
<<\_ACEOF
44229 #define wxUSE_NATIVE_STATUSBAR 1
44232 cat >>confdefs.h
<<\_ACEOF
44233 #define wxUSE_STATUSBAR 1
44238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44241 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44242 cat >>confdefs.h
<<\_ACEOF
44243 #define wxUSE_TAB_DIALOG 1
44248 if test "$wxUSE_TEXTCTRL" = "yes"; then
44249 cat >>confdefs.h
<<\_ACEOF
44250 #define wxUSE_TEXTCTRL 1
44254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44257 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44258 if test "$wxUSE_COCOA" = 1 ; then
44259 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44260 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44264 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44265 cat >>confdefs.h
<<\_ACEOF
44266 #define wxUSE_TOGGLEBTN 1
44273 if test "$wxUSE_TOOLBAR" = "yes"; then
44274 cat >>confdefs.h
<<\_ACEOF
44275 #define wxUSE_TOOLBAR 1
44280 if test "$wxUSE_UNIVERSAL" = "yes"; then
44281 wxUSE_TOOLBAR_NATIVE
="no"
44283 wxUSE_TOOLBAR_NATIVE
="yes"
44284 cat >>confdefs.h
<<\_ACEOF
44285 #define wxUSE_TOOLBAR_NATIVE 1
44290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44293 if test "$wxUSE_TOOLTIPS" = "yes"; then
44294 if test "$wxUSE_MOTIF" = 1; then
44295 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44296 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44298 if test "$wxUSE_UNIVERSAL" = "yes"; then
44299 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44300 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44302 cat >>confdefs.h
<<\_ACEOF
44303 #define wxUSE_TOOLTIPS 1
44310 if test "$wxUSE_TREEBOOK" = "yes"; then
44311 cat >>confdefs.h
<<\_ACEOF
44312 #define wxUSE_TREEBOOK 1
44318 if test "$wxUSE_TOOLBOOK" = "yes"; then
44319 cat >>confdefs.h
<<\_ACEOF
44320 #define wxUSE_TOOLBOOK 1
44326 if test "$wxUSE_TREECTRL" = "yes"; then
44327 if test "$wxUSE_IMAGLIST" = "yes"; then
44328 cat >>confdefs.h
<<\_ACEOF
44329 #define wxUSE_TREECTRL 1
44333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44335 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44336 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44340 if test "$wxUSE_POPUPWIN" = "yes"; then
44341 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44342 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44343 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44345 if test "$wxUSE_PM" = 1; then
44346 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44347 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44349 cat >>confdefs.h
<<\_ACEOF
44350 #define wxUSE_POPUPWIN 1
44353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44360 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44361 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44362 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44363 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44365 cat >>confdefs.h
<<\_ACEOF
44366 #define wxUSE_DIALUP_MANAGER 1
44369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44373 if test "$wxUSE_TIPWINDOW" = "yes"; then
44374 if test "$wxUSE_PM" = 1; then
44375 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44376 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44378 cat >>confdefs.h
<<\_ACEOF
44379 #define wxUSE_TIPWINDOW 1
44385 if test "$USES_CONTROLS" = 1; then
44386 cat >>confdefs.h
<<\_ACEOF
44387 #define wxUSE_CONTROLS 1
44393 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44394 cat >>confdefs.h
<<\_ACEOF
44395 #define wxUSE_ACCESSIBILITY 1
44398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44401 if test "$wxUSE_DC_CACHEING" = "yes"; then
44402 cat >>confdefs.h
<<\_ACEOF
44403 #define wxUSE_DC_CACHEING 1
44408 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44409 cat >>confdefs.h
<<\_ACEOF
44410 #define wxUSE_DRAGIMAGE 1
44413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44416 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44417 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44418 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44419 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44421 cat >>confdefs.h
<<\_ACEOF
44422 #define wxUSE_EXCEPTIONS 1
44425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44430 if test "$wxUSE_HTML" = "yes"; then
44431 cat >>confdefs.h
<<\_ACEOF
44432 #define wxUSE_HTML 1
44436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44437 if test "$wxUSE_MAC" = 1; then
44438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44441 if test "$wxUSE_WEBKIT" = "yes"; then
44442 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44443 old_CPPFLAGS
="$CPPFLAGS"
44444 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44445 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44446 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44447 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44448 echo $ECHO_N "(cached) $ECHO_C" >&6
44450 cat >conftest.
$ac_ext <<_ACEOF
44453 cat confdefs.h
>>conftest.
$ac_ext
44454 cat >>conftest.
$ac_ext <<_ACEOF
44455 /* end confdefs.h. */
44457 #include <Carbon/Carbon.h>
44458 #include <WebKit/WebKit.h>
44461 #include <WebKit/HIWebView.h>
44463 rm -f conftest.
$ac_objext
44464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44465 (eval $ac_compile) 2>conftest.er1
44467 grep -v '^ *+' conftest.er1
>conftest.err
44469 cat conftest.err
>&5
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); } &&
44472 { ac_try
='test -z "$ac_c_werror_flag"
44473 || test ! -s conftest.err'
44474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44475 (eval $ac_try) 2>&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); }; } &&
44479 { ac_try
='test -s conftest.$ac_objext'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; }; then
44485 ac_cv_header_WebKit_HIWebView_h
=yes
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.
$ac_ext >&5
44490 ac_cv_header_WebKit_HIWebView_h
=no
44492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44494 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44495 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44496 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44498 cat >>confdefs.h
<<\_ACEOF
44499 #define wxUSE_WEBKIT 1
44502 WEBKIT_LINK
="-framework WebKit"
44506 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44507 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44513 CPPFLAGS
="$old_CPPFLAGS"
44514 elif test "$wxUSE_COCOA" = 1; then
44515 cat >>confdefs.h
<<\_ACEOF
44516 #define wxUSE_WEBKIT 1
44525 if test "$wxUSE_XRC" = "yes"; then
44526 if test "$wxUSE_XML" != "yes"; then
44527 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44528 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44531 cat >>confdefs.h
<<\_ACEOF
44532 #define wxUSE_XRC 1
44536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44541 if test "$wxUSE_AUI" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_AUI 1
44547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44551 if test "$wxUSE_STC" = "yes"; then
44552 cat >>confdefs.h
<<\_ACEOF
44553 #define wxUSE_STC 1
44557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
44560 if test "$wxUSE_MENUS" = "yes"; then
44561 cat >>confdefs.h
<<\_ACEOF
44562 #define wxUSE_MENUS 1
44565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44568 if test "$wxUSE_METAFILE" = "yes"; then
44569 cat >>confdefs.h
<<\_ACEOF
44570 #define wxUSE_METAFILE 1
44575 if test "$wxUSE_MIMETYPE" = "yes"; then
44576 cat >>confdefs.h
<<\_ACEOF
44577 #define wxUSE_MIMETYPE 1
44582 if test "$wxUSE_MINIFRAME" = "yes"; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define wxUSE_MINIFRAME 1
44587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44590 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44591 cat >>confdefs.h
<<\_ACEOF
44592 #define wxUSE_SYSTEM_OPTIONS 1
44595 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44596 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44602 if test "$wxUSE_VALIDATORS" = "yes"; then
44603 cat >>confdefs.h
<<\_ACEOF
44604 #define wxUSE_VALIDATORS 1
44607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44610 if test "$wxUSE_PALETTE" = "yes" ; then
44611 if test "$wxUSE_DFB" = 1; then
44612 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44613 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44616 cat >>confdefs.h
<<\_ACEOF
44617 #define wxUSE_PALETTE 1
44623 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44624 LIBS
=" -lunicows $LIBS"
44628 if test "$wxUSE_RICHTEXT" = "yes"; then
44629 cat >>confdefs.h
<<\_ACEOF
44630 #define wxUSE_RICHTEXT 1
44634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44638 if test "$wxUSE_IMAGE" = "yes" ; then
44639 cat >>confdefs.h
<<\_ACEOF
44640 #define wxUSE_IMAGE 1
44644 if test "$wxUSE_GIF" = "yes" ; then
44645 cat >>confdefs.h
<<\_ACEOF
44646 #define wxUSE_GIF 1
44651 if test "$wxUSE_PCX" = "yes" ; then
44652 cat >>confdefs.h
<<\_ACEOF
44653 #define wxUSE_PCX 1
44658 if test "$wxUSE_TGA" = "yes" ; then
44659 cat >>confdefs.h
<<\_ACEOF
44660 #define wxUSE_TGA 1
44665 if test "$wxUSE_IFF" = "yes" ; then
44666 cat >>confdefs.h
<<\_ACEOF
44667 #define wxUSE_IFF 1
44672 if test "$wxUSE_PNM" = "yes" ; then
44673 cat >>confdefs.h
<<\_ACEOF
44674 #define wxUSE_PNM 1
44679 if test "$wxUSE_XPM" = "yes" ; then
44680 cat >>confdefs.h
<<\_ACEOF
44681 #define wxUSE_XPM 1
44686 if test "$wxUSE_ICO_CUR" = "yes" ; then
44687 cat >>confdefs.h
<<\_ACEOF
44688 #define wxUSE_ICO_CUR 1
44695 if test "$wxUSE_ABOUTDLG" = "yes"; then
44696 cat >>confdefs.h
<<\_ACEOF
44697 #define wxUSE_ABOUTDLG 1
44702 if test "$wxUSE_CHOICEDLG" = "yes"; then
44703 cat >>confdefs.h
<<\_ACEOF
44704 #define wxUSE_CHOICEDLG 1
44709 if test "$wxUSE_COLOURDLG" = "yes"; then
44710 cat >>confdefs.h
<<\_ACEOF
44711 #define wxUSE_COLOURDLG 1
44716 if test "$wxUSE_FILEDLG" = "yes"; then
44717 cat >>confdefs.h
<<\_ACEOF
44718 #define wxUSE_FILEDLG 1
44723 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44724 cat >>confdefs.h
<<\_ACEOF
44725 #define wxUSE_FINDREPLDLG 1
44730 if test "$wxUSE_FONTDLG" = "yes"; then
44731 cat >>confdefs.h
<<\_ACEOF
44732 #define wxUSE_FONTDLG 1
44737 if test "$wxUSE_DIRDLG" = "yes"; then
44738 if test "$wxUSE_TREECTRL" != "yes"; then
44739 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44740 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44742 cat >>confdefs.h
<<\_ACEOF
44743 #define wxUSE_DIRDLG 1
44749 if test "$wxUSE_MSGDLG" = "yes"; then
44750 cat >>confdefs.h
<<\_ACEOF
44751 #define wxUSE_MSGDLG 1
44756 if test "$wxUSE_NUMBERDLG" = "yes"; then
44757 cat >>confdefs.h
<<\_ACEOF
44758 #define wxUSE_NUMBERDLG 1
44763 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44764 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44765 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44766 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44768 cat >>confdefs.h
<<\_ACEOF
44769 #define wxUSE_PROGRESSDLG 1
44775 if test "$wxUSE_SPLASH" = "yes"; then
44776 cat >>confdefs.h
<<\_ACEOF
44777 #define wxUSE_SPLASH 1
44780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44783 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44784 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44785 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44786 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44788 cat >>confdefs.h
<<\_ACEOF
44789 #define wxUSE_STARTUP_TIPS 1
44795 if test "$wxUSE_TEXTDLG" = "yes"; then
44796 cat >>confdefs.h
<<\_ACEOF
44797 #define wxUSE_TEXTDLG 1
44802 if test "$wxUSE_WIZARDDLG" = "yes"; then
44803 cat >>confdefs.h
<<\_ACEOF
44804 #define wxUSE_WIZARDDLG 1
44807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44811 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44812 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44813 cat >>confdefs.h
<<\_ACEOF
44814 #define wxUSE_GRAPHICS_CONTEXT 1
44817 elif test "$wxUSE_GTK" != 1; then
44818 cat >>confdefs.h
<<\_ACEOF
44819 #define wxUSE_GRAPHICS_CONTEXT 1
44825 echo "$as_me:$LINENO: checking for CAIRO" >&5
44826 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
44828 if test -n "$PKG_CONFIG"; then
44829 if test -n "$CAIRO_CFLAGS"; then
44830 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
44832 if test -n "$PKG_CONFIG" && \
44833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44834 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44837 (exit $ac_status); }; then
44838 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44846 if test -n "$PKG_CONFIG"; then
44847 if test -n "$CAIRO_LIBS"; then
44848 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
44850 if test -n "$PKG_CONFIG" && \
44851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44852 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); }; then
44856 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44867 if test $pkg_failed = yes; then
44869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44870 _pkg_short_errors_supported
=yes
44872 _pkg_short_errors_supported
=no
44874 if test $_pkg_short_errors_supported = yes; then
44875 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44877 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44879 # Put the nasty error message in config.log where it belongs
44880 echo "$CAIRO_PKG_ERRORS" >&5
44882 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44883 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44885 elif test $pkg_failed = untried
; then
44886 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44887 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44890 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
44891 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
44892 echo "$as_me:$LINENO: result: yes" >&5
44893 echo "${ECHO_T}yes" >&6
44894 cat >>confdefs.h
<<\_ACEOF
44895 #define wxUSE_GRAPHICS_CONTEXT 1
44905 if test "$wxUSE_MEDIACTRL" = "yes"; then
44908 if test "$wxUSE_GTK" = 1; then
44909 wxUSE_GSTREAMER
="no"
44911 GST_VERSION_MAJOR
=0
44912 GST_VERSION_MINOR
=10
44913 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
44915 if test "$wxUSE_GSTREAMER8" = "no"; then
44918 echo "$as_me:$LINENO: checking for GST" >&5
44919 echo $ECHO_N "checking for GST... $ECHO_C" >&6
44921 if test -n "$PKG_CONFIG"; then
44922 if test -n "$GST_CFLAGS"; then
44923 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
44925 if test -n "$PKG_CONFIG" && \
44926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44927 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44930 (exit $ac_status); }; then
44931 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44939 if test -n "$PKG_CONFIG"; then
44940 if test -n "$GST_LIBS"; then
44941 pkg_cv_GST_LIBS
="$GST_LIBS"
44943 if test -n "$PKG_CONFIG" && \
44944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44945 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44948 (exit $ac_status); }; then
44949 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44960 if test $pkg_failed = yes; then
44962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44963 _pkg_short_errors_supported
=yes
44965 _pkg_short_errors_supported
=no
44967 if test $_pkg_short_errors_supported = yes; then
44968 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44970 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44972 # Put the nasty error message in config.log where it belongs
44973 echo "$GST_PKG_ERRORS" >&5
44976 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44977 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44978 GST_VERSION_MINOR
=8
44981 elif test $pkg_failed = untried
; then
44983 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44984 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44985 GST_VERSION_MINOR
=8
44989 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
44990 GST_LIBS
=$pkg_cv_GST_LIBS
44991 echo "$as_me:$LINENO: result: yes" >&5
44992 echo "${ECHO_T}yes" >&6
44994 wxUSE_GSTREAMER
="yes"
44995 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
44999 GST_VERSION_MINOR
=8
45002 if test $GST_VERSION_MINOR = "8"; then
45003 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45006 echo "$as_me:$LINENO: checking for GST" >&5
45007 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45009 if test -n "$PKG_CONFIG"; then
45010 if test -n "$GST_CFLAGS"; then
45011 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45013 if test -n "$PKG_CONFIG" && \
45014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45015 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); }; then
45019 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45027 if test -n "$PKG_CONFIG"; then
45028 if test -n "$GST_LIBS"; then
45029 pkg_cv_GST_LIBS
="$GST_LIBS"
45031 if test -n "$PKG_CONFIG" && \
45032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45033 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); }; then
45037 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45048 if test $pkg_failed = yes; then
45050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45051 _pkg_short_errors_supported
=yes
45053 _pkg_short_errors_supported
=no
45055 if test $_pkg_short_errors_supported = yes; then
45056 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45058 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45060 # Put the nasty error message in config.log where it belongs
45061 echo "$GST_PKG_ERRORS" >&5
45064 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45065 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45067 elif test $pkg_failed = untried
; then
45069 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45070 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45073 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45074 GST_LIBS
=$pkg_cv_GST_LIBS
45075 echo "$as_me:$LINENO: result: yes" >&5
45076 echo "${ECHO_T}yes" >&6
45077 wxUSE_GSTREAMER
="yes"
45082 if test "$wxUSE_GSTREAMER" = "yes"; then
45085 if "$GCC" = yes; then
45086 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45087 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45091 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45092 LIBS
="$GST_LIBS $LIBS"
45094 cat >>confdefs.h
<<\_ACEOF
45095 #define wxUSE_GSTREAMER 1
45103 if test $USE_MEDIA = 1; then
45104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45105 cat >>confdefs.h
<<\_ACEOF
45106 #define wxUSE_MEDIACTRL 1
45113 if test "$cross_compiling" = "yes"; then
45116 OSINFO
=`uname -s -r -m`
45117 OSINFO
="\"$OSINFO\""
45120 cat >>confdefs.h
<<_ACEOF
45121 #define WXWIN_OS_DESCRIPTION $OSINFO
45126 if test "x$prefix" != "xNONE"; then
45129 wxPREFIX
=$ac_default_prefix
45132 cat >>confdefs.h
<<_ACEOF
45133 #define wxINSTALL_PREFIX "$wxPREFIX"
45139 CORE_BASE_LIBS
="net base"
45140 CORE_GUI_LIBS
="adv core"
45142 if test "$wxUSE_XML" = "yes" ; then
45143 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45145 if test "$wxUSE_ODBC" != "no" ; then
45146 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45147 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45149 if test "$wxUSE_HTML" = "yes" ; then
45150 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45152 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45153 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45155 if test "$wxUSE_XRC" = "yes" ; then
45156 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45158 if test "$wxUSE_AUI" = "yes" ; then
45159 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45161 if test "$wxUSE_STC" = "yes" ; then
45162 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
45165 if test "$wxUSE_GUI" != "yes"; then
45174 if test "$wxUSE_MAC" = 1 ; then
45175 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45176 if test "$USE_DARWIN" = 1; then
45177 LDFLAGS
="$LDFLAGS -framework QuickTime"
45179 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45182 if test "$USE_DARWIN" = 1; then
45183 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45185 LDFLAGS
="$LDFLAGS -lCarbonLib"
45188 if test "$wxUSE_COCOA" = 1 ; then
45189 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45190 if test "$wxUSE_MEDIACTRL" = "yes"; then
45191 LDFLAGS
="$LDFLAGS -framework QuickTime"
45194 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45195 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45198 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45200 if test "$wxUSE_GUI" = "yes"; then
45203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45204 dynamic erase event exec font image minimal mobile \
45205 mobile/wxedit mobile/styles propsize render \
45206 rotate shaped svg taborder vscroll widgets"
45208 if test "$wxUSE_MONOLITHIC" != "yes"; then
45209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45211 if test "$TOOLKIT" = "MSW"; then
45212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45213 if test "$wxUSE_UNIVERSAL" != "yes"; then
45214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45217 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45221 SAMPLES_SUBDIRS
="console"
45225 if test "x$INTELCC" = "xyes" ; then
45226 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45227 elif test "$GCC" = yes ; then
45228 CWARNINGS
="-Wall -Wundef"
45231 if test "x$INTELCXX" = "xyes" ; then
45232 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45233 elif test "$GXX" = yes ; then
45234 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45238 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45239 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45242 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45243 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45244 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45247 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45248 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45249 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45251 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45254 if test "x$MWCC" = "xyes"; then
45256 CC
="$CC -cwd source -I-"
45257 CXX
="$CXX -cwd source -I-"
45262 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45263 EXTRALIBS_XML
="$EXPAT_LINK"
45264 EXTRALIBS_HTML
="$MSPACK_LINK"
45265 EXTRALIBS_ODBC
="$ODBC_LINK"
45266 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45267 if test "$wxUSE_GUI" = "yes"; then
45268 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45270 if test "$wxUSE_OPENGL" = "yes"; then
45271 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45274 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45276 WXCONFIG_LIBS
="$LIBS"
45278 if test "$wxUSE_REGEX" = "builtin" ; then
45279 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45281 if test "$wxUSE_EXPAT" = "builtin" ; then
45282 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45284 if test "$wxUSE_ODBC" = "builtin" ; then
45285 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45287 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45288 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45290 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45291 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45293 if test "$wxUSE_LIBPNG" = "builtin" ; then
45294 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45296 if test "$wxUSE_ZLIB" = "builtin" ; then
45297 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45300 for i
in $wxconfig_3rdparty ; do
45301 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45305 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45308 case "$wxUNIV_THEMES" in
45310 cat >>confdefs.h
<<\_ACEOF
45311 #define wxUSE_ALL_THEMES 1
45317 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45318 cat >>confdefs.h
<<_ACEOF
45319 #define wxUSE_THEME_$t 1
45336 if test $wxUSE_MONOLITHIC = "yes" ; then
45342 if test $wxUSE_PLUGINS = "yes" ; then
45348 if test $wxUSE_ODBC != "no" ; then
45354 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45360 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45391 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45402 TOOLKIT_DESC
="GTK+"
45403 if test "$WXGTK20" = 1; then
45404 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45405 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45406 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45408 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45409 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45411 if test "$wxUSE_LIBHILDON" = "yes"; then
45412 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45415 if test "$TOOLKIT_EXTRA" != ""; then
45416 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45422 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45426 TOOLKIT_DESC
="base only"
45430 if test "$wxUSE_WINE" = "yes"; then
45431 BAKEFILE_FORCE_PLATFORM
=win32
45434 if test "$wxUSE_MAC" = 1 ; then
45435 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45436 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45437 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45439 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45441 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45442 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45443 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45444 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45447 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45448 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45451 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45453 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45454 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
45455 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45456 echo $ECHO_N "(cached) $ECHO_C" >&6
45459 echo '#include <stdio.h>
45460 const wchar_t test_var[] = L"awidetest";' > conftest.h
45462 echo '#include "conftest.h"
45465 printf("%ls", test_var);
45469 wx_cv_gcc_pch_bug
="pch not supported"
45471 if $CXX conftest.h
>/dev
/null
2>&1
45475 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45477 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45478 grep awidetest
>/dev
/null
45480 wx_cv_gcc_pch_bug
=no
45482 wx_cv_gcc_pch_bug
=yes
45487 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45490 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45491 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
45493 if test "$wx_cv_gcc_pch_bug" = yes; then
45501 if test "x$BAKEFILE_HOST" = "x"; then
45502 if test "x${host}" = "x" ; then
45503 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45504 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45505 { (exit 1); exit 1; }; }
45508 BAKEFILE_HOST
="${host}"
45511 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45513 if test -n "$ac_tool_prefix"; then
45514 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45515 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45516 echo "$as_me:$LINENO: checking for $ac_word" >&5
45517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45518 if test "${ac_cv_prog_RANLIB+set}" = set; then
45519 echo $ECHO_N "(cached) $ECHO_C" >&6
45521 if test -n "$RANLIB"; then
45522 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45525 for as_dir
in $PATH
45528 test -z "$as_dir" && as_dir
=.
45529 for ac_exec_ext
in '' $ac_executable_extensions; do
45530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45531 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45540 RANLIB
=$ac_cv_prog_RANLIB
45541 if test -n "$RANLIB"; then
45542 echo "$as_me:$LINENO: result: $RANLIB" >&5
45543 echo "${ECHO_T}$RANLIB" >&6
45545 echo "$as_me:$LINENO: result: no" >&5
45546 echo "${ECHO_T}no" >&6
45550 if test -z "$ac_cv_prog_RANLIB"; then
45551 ac_ct_RANLIB
=$RANLIB
45552 # Extract the first word of "ranlib", so it can be a program name with args.
45553 set dummy ranlib
; ac_word
=$2
45554 echo "$as_me:$LINENO: checking for $ac_word" >&5
45555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45556 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45557 echo $ECHO_N "(cached) $ECHO_C" >&6
45559 if test -n "$ac_ct_RANLIB"; then
45560 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45563 for as_dir
in $PATH
45566 test -z "$as_dir" && as_dir
=.
45567 for ac_exec_ext
in '' $ac_executable_extensions; do
45568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45569 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45576 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45579 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45580 if test -n "$ac_ct_RANLIB"; then
45581 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45582 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45584 echo "$as_me:$LINENO: result: no" >&5
45585 echo "${ECHO_T}no" >&6
45588 RANLIB
=$ac_ct_RANLIB
45590 RANLIB
="$ac_cv_prog_RANLIB"
45593 # Find a good install program. We prefer a C program (faster),
45594 # so one script is as good as another. But avoid the broken or
45595 # incompatible versions:
45596 # SysV /etc/install, /usr/sbin/install
45597 # SunOS /usr/etc/install
45598 # IRIX /sbin/install
45600 # AmigaOS /C/install, which installs bootblocks on floppy discs
45601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45604 # OS/2's system install, which has a completely different semantic
45605 # ./install, which can be erroneously created by make from ./install.sh.
45606 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45607 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45608 if test -z "$INSTALL"; then
45609 if test "${ac_cv_path_install+set}" = set; then
45610 echo $ECHO_N "(cached) $ECHO_C" >&6
45612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45613 for as_dir
in $PATH
45616 test -z "$as_dir" && as_dir
=.
45617 # Account for people who put trailing slashes in PATH elements.
45619 .
/ | .
// | /cC
/* | \
45620 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45621 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45624 # OSF1 and SCO ODT 3.0 have their own names for install.
45625 # Don't use installbsd from OSF since it installs stuff as root
45627 for ac_prog
in ginstall scoinst
install; do
45628 for ac_exec_ext
in '' $ac_executable_extensions; do
45629 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45630 if test $ac_prog = install &&
45631 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45632 # AIX install. It has an incompatible calling convention.
45634 elif test $ac_prog = install &&
45635 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45636 # program-specific install script used by HP pwplus--don't use.
45639 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45651 if test "${ac_cv_path_install+set}" = set; then
45652 INSTALL
=$ac_cv_path_install
45654 # As a last resort, use the slow shell script. We don't cache a
45655 # path for INSTALL within a source directory, because that will
45656 # break other packages using the cache if that directory is
45657 # removed, or if the path is relative.
45658 INSTALL
=$ac_install_sh
45661 echo "$as_me:$LINENO: result: $INSTALL" >&5
45662 echo "${ECHO_T}$INSTALL" >&6
45664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45665 # It thinks the first close brace ends the variable substitution.
45666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45670 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45672 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45673 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45675 if test "$LN_S" = "ln -s"; then
45676 echo "$as_me:$LINENO: result: yes" >&5
45677 echo "${ECHO_T}yes" >&6
45679 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45680 echo "${ECHO_T}no, using $LN_S" >&6
45684 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45685 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45686 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45687 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45688 echo $ECHO_N "(cached) $ECHO_C" >&6
45690 cat >conftest.
make <<\_ACEOF
45692 @
echo 'ac_maketemp="$(MAKE)"'
45694 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45695 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45696 if test -n "$ac_maketemp"; then
45697 eval ac_cv_prog_make_
${ac_make}_set
=yes
45699 eval ac_cv_prog_make_
${ac_make}_set
=no
45701 rm -f conftest.
make
45703 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45704 echo "$as_me:$LINENO: result: yes" >&5
45705 echo "${ECHO_T}yes" >&6
45708 echo "$as_me:$LINENO: result: no" >&5
45709 echo "${ECHO_T}no" >&6
45710 SET_MAKE
="MAKE=${MAKE-make}"
45715 if test "x$SUNCXX" = "xyes"; then
45717 AROPTIONS
="-xar -o"
45719 elif test "x$SGICC" = "xyes"; then
45724 if test -n "$ac_tool_prefix"; then
45725 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45726 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45727 echo "$as_me:$LINENO: checking for $ac_word" >&5
45728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45729 if test "${ac_cv_prog_AR+set}" = set; then
45730 echo $ECHO_N "(cached) $ECHO_C" >&6
45732 if test -n "$AR"; then
45733 ac_cv_prog_AR
="$AR" # Let the user override the test.
45735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45736 for as_dir
in $PATH
45739 test -z "$as_dir" && as_dir
=.
45740 for ac_exec_ext
in '' $ac_executable_extensions; do
45741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45742 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45752 if test -n "$AR"; then
45753 echo "$as_me:$LINENO: result: $AR" >&5
45754 echo "${ECHO_T}$AR" >&6
45756 echo "$as_me:$LINENO: result: no" >&5
45757 echo "${ECHO_T}no" >&6
45761 if test -z "$ac_cv_prog_AR"; then
45763 # Extract the first word of "ar", so it can be a program name with args.
45764 set dummy
ar; ac_word
=$2
45765 echo "$as_me:$LINENO: checking for $ac_word" >&5
45766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45770 if test -n "$ac_ct_AR"; then
45771 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45774 for as_dir
in $PATH
45777 test -z "$as_dir" && as_dir
=.
45778 for ac_exec_ext
in '' $ac_executable_extensions; do
45779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45780 ac_cv_prog_ac_ct_AR
="ar"
45781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45787 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45790 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45791 if test -n "$ac_ct_AR"; then
45792 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45793 echo "${ECHO_T}$ac_ct_AR" >&6
45795 echo "$as_me:$LINENO: result: no" >&5
45796 echo "${ECHO_T}no" >&6
45801 AR
="$ac_cv_prog_AR"
45808 if test -n "$ac_tool_prefix"; then
45809 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45810 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45811 echo "$as_me:$LINENO: checking for $ac_word" >&5
45812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45813 if test "${ac_cv_prog_STRIP+set}" = set; then
45814 echo $ECHO_N "(cached) $ECHO_C" >&6
45816 if test -n "$STRIP"; then
45817 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45820 for as_dir
in $PATH
45823 test -z "$as_dir" && as_dir
=.
45824 for ac_exec_ext
in '' $ac_executable_extensions; do
45825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45826 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45835 STRIP
=$ac_cv_prog_STRIP
45836 if test -n "$STRIP"; then
45837 echo "$as_me:$LINENO: result: $STRIP" >&5
45838 echo "${ECHO_T}$STRIP" >&6
45840 echo "$as_me:$LINENO: result: no" >&5
45841 echo "${ECHO_T}no" >&6
45845 if test -z "$ac_cv_prog_STRIP"; then
45847 # Extract the first word of "strip", so it can be a program name with args.
45848 set dummy strip
; ac_word
=$2
45849 echo "$as_me:$LINENO: checking for $ac_word" >&5
45850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45851 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45852 echo $ECHO_N "(cached) $ECHO_C" >&6
45854 if test -n "$ac_ct_STRIP"; then
45855 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45858 for as_dir
in $PATH
45861 test -z "$as_dir" && as_dir
=.
45862 for ac_exec_ext
in '' $ac_executable_extensions; do
45863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45864 ac_cv_prog_ac_ct_STRIP
="strip"
45865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45871 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45874 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45875 if test -n "$ac_ct_STRIP"; then
45876 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45877 echo "${ECHO_T}$ac_ct_STRIP" >&6
45879 echo "$as_me:$LINENO: result: no" >&5
45880 echo "${ECHO_T}no" >&6
45885 STRIP
="$ac_cv_prog_STRIP"
45888 if test -n "$ac_tool_prefix"; then
45889 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45890 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45891 echo "$as_me:$LINENO: checking for $ac_word" >&5
45892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45893 if test "${ac_cv_prog_NM+set}" = set; then
45894 echo $ECHO_N "(cached) $ECHO_C" >&6
45896 if test -n "$NM"; then
45897 ac_cv_prog_NM
="$NM" # Let the user override the test.
45899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45900 for as_dir
in $PATH
45903 test -z "$as_dir" && as_dir
=.
45904 for ac_exec_ext
in '' $ac_executable_extensions; do
45905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45906 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45916 if test -n "$NM"; then
45917 echo "$as_me:$LINENO: result: $NM" >&5
45918 echo "${ECHO_T}$NM" >&6
45920 echo "$as_me:$LINENO: result: no" >&5
45921 echo "${ECHO_T}no" >&6
45925 if test -z "$ac_cv_prog_NM"; then
45927 # Extract the first word of "nm", so it can be a program name with args.
45928 set dummy nm
; ac_word
=$2
45929 echo "$as_me:$LINENO: checking for $ac_word" >&5
45930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45931 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45934 if test -n "$ac_ct_NM"; then
45935 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45938 for as_dir
in $PATH
45941 test -z "$as_dir" && as_dir
=.
45942 for ac_exec_ext
in '' $ac_executable_extensions; do
45943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45944 ac_cv_prog_ac_ct_NM
="nm"
45945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45951 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45954 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45955 if test -n "$ac_ct_NM"; then
45956 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45957 echo "${ECHO_T}$ac_ct_NM" >&6
45959 echo "$as_me:$LINENO: result: no" >&5
45960 echo "${ECHO_T}no" >&6
45965 NM
="$ac_cv_prog_NM"
45969 case ${BAKEFILE_HOST} in
45971 INSTALL_DIR
="mkdir -p"
45974 INSTALL_DIR
='$(INSTALL) -d'
45980 case ${BAKEFILE_HOST} in
45981 *-*-cygwin* | *-*-mingw32* )
45982 LDFLAGS_GUI
="-mwindows"
45988 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45989 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45990 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45991 echo $ECHO_N "(cached) $ECHO_C" >&6
45994 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45995 egrep -s GNU
> /dev
/null
); then
45996 bakefile_cv_prog_makeisgnu
="yes"
45998 bakefile_cv_prog_makeisgnu
="no"
46002 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46003 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46005 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46022 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46023 case "${BAKEFILE_HOST}" in
46030 *-pc-os2_emx | *-pc-os2-emx )
46040 powerpc
-apple-macos* )
46049 case "$BAKEFILE_FORCE_PLATFORM" in
46084 # Check whether --enable-omf or --disable-omf was given.
46085 if test "${enable_omf+set}" = set; then
46086 enableval
="$enable_omf"
46087 bk_os2_use_omf
="$enableval"
46090 case "${BAKEFILE_HOST}" in
46092 if test "x$GCC" = "xyes"; then
46093 CFLAGS
="$CFLAGS -fno-common"
46094 CXXFLAGS
="$CXXFLAGS -fno-common"
46096 if test "x$XLCC" = "xyes"; then
46097 CFLAGS
="$CFLAGS -qnocommon"
46098 CXXFLAGS
="$CXXFLAGS -qnocommon"
46102 *-pc-os2_emx | *-pc-os2-emx )
46103 if test "x$bk_os2_use_omf" = "xyes" ; then
46106 LDFLAGS
="-Zomf $LDFLAGS"
46107 CFLAGS
="-Zomf $CFLAGS"
46108 CXXFLAGS
="-Zomf $CXXFLAGS"
46116 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46122 SO_SUFFIX_MODULE
="so"
46127 DLLPREFIX_MODULE
=""
46131 case "${BAKEFILE_HOST}" in
46134 SO_SUFFIX_MODULE
="sl"
46138 SO_SUFFIX_MODULE
="a"
46142 SO_SUFFIX_MODULE
="dll"
46143 DLLIMP_SUFFIX
="dll.a"
46150 SO_SUFFIX_MODULE
="dll"
46151 DLLIMP_SUFFIX
="dll.a"
46161 *-pc-os2_emx | *-pc-os2-emx )
46163 SO_SUFFIX_MODULE
="dll"
46164 DLLIMP_SUFFIX
=$OS2_LIBEXT
46168 LIBEXT
=".$OS2_LIBEXT"
46173 SO_SUFFIX_MODULE
="bundle"
46177 if test "x$DLLIMP_SUFFIX" = "x" ; then
46178 DLLIMP_SUFFIX
="$SO_SUFFIX"
46193 if test "x$GCC" = "xyes"; then
46197 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46198 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46201 case "${BAKEFILE_HOST}" in
46203 if test "x$GCC" != "xyes"; then
46204 LDFLAGS
="$LDFLAGS -L/usr/lib"
46206 SHARED_LD_CC
="${CC} -b -o"
46207 SHARED_LD_CXX
="${CXX} -b -o"
46213 if test "x$GCC" != "xyes"; then
46214 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46215 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46216 if test "${bakefile_cv_prog_icc+set}" = set; then
46217 echo $ECHO_N "(cached) $ECHO_C" >&6
46220 cat >conftest.
$ac_ext <<_ACEOF
46223 cat confdefs.h
>>conftest.
$ac_ext
46224 cat >>conftest.
$ac_ext <<_ACEOF
46225 /* end confdefs.h. */
46231 #ifndef __INTEL_COMPILER
46239 rm -f conftest.
$ac_objext
46240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46241 (eval $ac_compile) 2>conftest.er1
46243 grep -v '^ *+' conftest.er1
>conftest.err
46245 cat conftest.err
>&5
46246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46247 (exit $ac_status); } &&
46248 { ac_try
='test -z "$ac_c_werror_flag"
46249 || test ! -s conftest.err'
46250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46251 (eval $ac_try) 2>&5
46253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46254 (exit $ac_status); }; } &&
46255 { ac_try
='test -s conftest.$ac_objext'
46256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46257 (eval $ac_try) 2>&5
46259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260 (exit $ac_status); }; }; then
46261 bakefile_cv_prog_icc
=yes
46263 echo "$as_me: failed program was:" >&5
46264 sed 's/^/| /' conftest.
$ac_ext >&5
46266 bakefile_cv_prog_icc
=no
46269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46272 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46273 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46274 if test "$bakefile_cv_prog_icc" = "yes"; then
46281 if test "x$GCC" != xyes
; then
46282 SHARED_LD_CC
="${CC} -G -o"
46283 SHARED_LD_CXX
="${CXX} -G -o"
46291 cat <<EOF >shared-ld-sh
46293 #-----------------------------------------------------------------------------
46294 #-- Name: distrib/mac/shared-ld-sh
46295 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46296 #-- Author: Gilles Depeyrot
46297 #-- Copyright: (c) 2002 Gilles Depeyrot
46298 #-- Licence: any use permitted
46299 #-----------------------------------------------------------------------------
46304 linking_flag="-dynamiclib"
46305 ldargs="-r -keep_private_externs -nostdlib"
46307 while test ${D}# -gt 0; do
46314 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46315 # collect these options and values
46316 args="${D}{args} ${D}1 ${D}2"
46321 # collect these load args
46322 ldargs="${D}{ldargs} ${D}1"
46325 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46326 # collect these options
46327 args="${D}{args} ${D}1"
46330 -dynamiclib|-bundle)
46331 linking_flag="${D}1"
46335 echo "shared-ld: unhandled option '${D}1'"
46339 *.o | *.a | *.dylib)
46340 # collect object files
46341 objects="${D}{objects} ${D}1"
46345 echo "shared-ld: unhandled argument '${D}1'"
46356 # Link one module containing all the others
46358 if test ${D}{verbose} = 1; then
46359 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46361 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46365 # Link the shared library from the single module created, but only if the
46366 # previous command didn't fail:
46368 if test ${D}{status} = 0; then
46369 if test ${D}{verbose} = 1; then
46370 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46372 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46377 # Remove intermediate module
46379 rm -f master.${D}${D}.o
46384 chmod +x shared
-ld-sh
46386 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46387 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46390 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46391 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46392 if test "${bakefile_cv_gcc31+set}" = set; then
46393 echo $ECHO_N "(cached) $ECHO_C" >&6
46396 cat >conftest.
$ac_ext <<_ACEOF
46399 cat confdefs.h
>>conftest.
$ac_ext
46400 cat >>conftest.
$ac_ext <<_ACEOF
46401 /* end confdefs.h. */
46407 #if (__GNUC__ < 3) || \
46408 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46416 rm -f conftest.
$ac_objext
46417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46418 (eval $ac_compile) 2>conftest.er1
46420 grep -v '^ *+' conftest.er1
>conftest.err
46422 cat conftest.err
>&5
46423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46424 (exit $ac_status); } &&
46425 { ac_try
='test -z "$ac_c_werror_flag"
46426 || test ! -s conftest.err'
46427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46428 (eval $ac_try) 2>&5
46430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46431 (exit $ac_status); }; } &&
46432 { ac_try
='test -s conftest.$ac_objext'
46433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46434 (eval $ac_try) 2>&5
46436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46437 (exit $ac_status); }; }; then
46439 bakefile_cv_gcc31
=yes
46442 echo "$as_me: failed program was:" >&5
46443 sed 's/^/| /' conftest.
$ac_ext >&5
46446 bakefile_cv_gcc31
=no
46450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46453 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46454 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46455 if test "$bakefile_cv_gcc31" = "no"; then
46456 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46457 SHARED_LD_CXX
="$SHARED_LD_CC"
46459 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46460 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46463 if test "x$GCC" == "xyes"; then
46464 PIC_FLAG
="-dynamic -fPIC"
46466 if test "x$XLCC" = "xyes"; then
46467 PIC_FLAG
="-dynamic -DPIC"
46472 if test "x$GCC" = "xyes"; then
46475 case "${BAKEFILE_HOST}" in
46477 LD_EXPFULL
="-Wl,-bexpfull"
46481 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46482 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46484 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46485 set dummy makeC
++SharedLib
; ac_word
=$2
46486 echo "$as_me:$LINENO: checking for $ac_word" >&5
46487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46488 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46489 echo $ECHO_N "(cached) $ECHO_C" >&6
46491 if test -n "$AIX_CXX_LD"; then
46492 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46495 for as_dir
in $PATH
46498 test -z "$as_dir" && as_dir
=.
46499 for ac_exec_ext
in '' $ac_executable_extensions; do
46500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46501 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46508 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46511 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46512 if test -n "$AIX_CXX_LD"; then
46513 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46514 echo "${ECHO_T}$AIX_CXX_LD" >&6
46516 echo "$as_me:$LINENO: result: no" >&5
46517 echo "${ECHO_T}no" >&6
46520 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46521 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46526 SHARED_LD_CC
="${LD} -nostart -o"
46527 SHARED_LD_CXX
="${LD} -nostart -o"
46531 if test "x$GCC" != "xyes"; then
46536 *-*-cygwin* | *-*-mingw32* )
46538 SHARED_LD_CC
="\$(CC) -shared -o"
46539 SHARED_LD_CXX
="\$(CXX) -shared -o"
46543 *-pc-os2_emx | *-pc-os2-emx )
46544 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46545 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46549 cat <<EOF >dllar.sh
46552 # dllar - a tool to build both a .dll and an .a file
46553 # from a set of object (.o) files for EMX/OS2.
46555 # Written by Andrew Zabolotny, bit@freya.etu.ru
46556 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46558 # This script will accept a set of files on the command line.
46559 # All the public symbols from the .o files will be exported into
46560 # a .DEF file, then linker will be run (through gcc) against them to
46561 # build a shared library consisting of all given .o files. All libraries
46562 # (.a) will be first decompressed into component .o files then act as
46563 # described above. You can optionally give a description (-d "description")
46564 # which will be put into .DLL. To see the list of accepted options (as well
46565 # as command-line format) simply run this program without options. The .DLL
46566 # is built to be imported by name (there is no guarantee that new versions
46567 # of the library you build will have same ordinals for same symbols).
46569 # dllar is free software; you can redistribute it and/or modify
46570 # it under the terms of the GNU General Public License as published by
46571 # the Free Software Foundation; either version 2, or (at your option)
46572 # any later version.
46574 # dllar is distributed in the hope that it will be useful,
46575 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46576 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46577 # GNU General Public License for more details.
46579 # You should have received a copy of the GNU General Public License
46580 # along with dllar; see the file COPYING. If not, write to the Free
46581 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46584 # To successfuly run this program you will need:
46585 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46586 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46588 # (used to build the .dll)
46590 # (used to create .def file from .o files)
46592 # (used to create .a file from .def file)
46593 # - GNU text utilites (cat, sort, uniq)
46594 # used to process emxexp output
46595 # - GNU file utilities (mv, rm)
46597 # - lxlite (optional, see flag below)
46598 # (used for general .dll cleanup)
46605 # basnam, variant of basename, which does _not_ remove the path, _iff_
46606 # second argument (suffix to remove) is given
46610 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46613 echo ${D}1 | sed 's/'${D}2'${D}//'
46616 echo "error in basnam ${D}*"
46622 # Cleanup temporary files and output
46625 for i in ${D}inputFiles ; do
46628 rm -rf \`basnam ${D}i !\`
46635 # Kill result in case of failure as there is just to many stupid make/nmake
46636 # things out there which doesn't do this.
46637 if [ ${D}# -eq 0 ]; then
46638 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46642 # Print usage and exit script with rc=1.
46644 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46645 echo ' [-name-mangler-script script.sh]'
46646 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46647 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46648 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46649 echo ' [*.o] [*.a]'
46650 echo '*> "output_file" should have no extension.'
46651 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46652 echo ' The import library name is derived from this and is set to "name".a,'
46653 echo ' unless overridden by -import'
46654 echo '*> "importlib_name" should have no extension.'
46655 echo ' If it has the .o, or .a extension, it is automatically removed.'
46656 echo ' This name is used as the import library name and may be longer and'
46657 echo ' more descriptive than the DLL name which has to follow the old '
46658 echo ' 8.3 convention of FAT.'
46659 echo '*> "script.sh may be given to override the output_file name by a'
46660 echo ' different name. It is mainly useful if the regular make process'
46661 echo ' of some package does not take into account OS/2 restriction of'
46662 echo ' DLL name lengths. It takes the importlib name as input and is'
46663 echo ' supposed to procude a shorter name as output. The script should'
46664 echo ' expect to get importlib_name without extension and should produce'
46665 echo ' a (max.) 8 letter name without extension.'
46666 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46667 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46668 echo ' These flags will be put at the start of GCC command line.'
46669 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46670 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46671 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46672 echo ' If the last character of a symbol is "*", all symbols beginning'
46673 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46674 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46675 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46676 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46677 echo ' C runtime DLLs.'
46678 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46679 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46680 echo ' unchanged to GCC at the end of command line.'
46681 echo '*> If you create a DLL from a library and you do not specify -o,'
46682 echo ' the basename for DLL and import library will be set to library name,'
46683 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46684 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46685 echo ' library will be renamed into gcc_s.a.'
46688 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46689 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46694 # Execute a command.
46695 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46696 # @Uses Whatever CleanUp() uses.
46702 if [ ${D}rcCmd -ne 0 ]; then
46703 echo "command failed, exit code="${D}rcCmd
46718 CFLAGS="-s -Zcrtdll"
46720 EXPORT_BY_ORDINALS=0
46725 case ${D}curDirS in
46729 curDirS=${D}{curDirS}"/"
46732 # Parse commandline
46735 while [ ${D}1 ]; do
46738 EXPORT_BY_ORDINALS=1;
46748 -name-mangler-script)
46769 exclude_symbols=${D}{exclude_symbols}${D}1" "
46773 library_flags=${D}{library_flags}${D}1" "
46792 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46795 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46796 if [ ${D}omfLinking -eq 1 ]; then
46797 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46799 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46804 if [ ${D}libsToLink -ne 0 ]; then
46805 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46807 for file in ${D}1 ; do
46808 if [ -f ${D}file ]; then
46809 inputFiles="${D}{inputFiles} ${D}file"
46813 if [ ${D}found -eq 0 ]; then
46814 echo "ERROR: No file(s) found: "${D}1
46821 done # iterate cmdline words
46824 if [ -z "${D}inputFiles" ]; then
46825 echo "dllar: no input files"
46829 # Now extract all .o files from .a files
46831 for file in ${D}inputFiles ; do
46842 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46847 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46849 if [ ${D}? -ne 0 ]; then
46850 echo "Failed to create subdirectory ./${D}dirname"
46854 # Append '!' to indicate archive
46855 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46856 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46859 for subfile in ${D}dirname/*.o* ; do
46860 if [ -f ${D}subfile ]; then
46862 if [ -s ${D}subfile ]; then
46863 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46864 newInputFiles="${D}newInputFiles ${D}subfile"
46868 if [ ${D}found -eq 0 ]; then
46869 echo "WARNING: there are no files in archive \\'${D}file\\'"
46873 newInputFiles="${D}{newInputFiles} ${D}file"
46877 inputFiles="${D}newInputFiles"
46879 # Output filename(s).
46881 if [ -z ${D}outFile ]; then
46883 set outFile ${D}inputFiles; outFile=${D}2
46886 # If it is an archive, remove the '!' and the '_%' suffixes
46887 case ${D}outFile in
46889 outFile=\`basnam ${D}outFile _%!\`
46894 case ${D}outFile in
46896 outFile=\`basnam ${D}outFile .dll\`
46899 outFile=\`basnam ${D}outFile .DLL\`
46902 outFile=\`basnam ${D}outFile .o\`
46905 outFile=\`basnam ${D}outFile .obj\`
46908 outFile=\`basnam ${D}outFile .a\`
46911 outFile=\`basnam ${D}outFile .lib\`
46916 case ${D}outimpFile in
46918 outimpFile=\`basnam ${D}outimpFile .a\`
46921 outimpFile=\`basnam ${D}outimpFile .lib\`
46926 if [ -z ${D}outimpFile ]; then
46927 outimpFile=${D}outFile
46929 defFile="${D}{outFile}.def"
46930 arcFile="${D}{outimpFile}.a"
46931 arcFile2="${D}{outimpFile}.lib"
46933 #create ${D}dllFile as something matching 8.3 restrictions,
46934 if [ -z ${D}renameScript ] ; then
46935 dllFile="${D}outFile"
46937 dllFile=\`${D}renameScript ${D}outimpFile\`
46940 if [ ${D}do_backup -ne 0 ] ; then
46941 if [ -f ${D}arcFile ] ; then
46942 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46944 if [ -f ${D}arcFile2 ] ; then
46945 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46949 # Extract public symbols from all the object files.
46950 tmpdefFile=${D}{defFile}_%
46951 rm -f ${D}tmpdefFile
46952 for file in ${D}inputFiles ; do
46957 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46962 # Create the def file.
46964 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46965 dllFile="${D}{dllFile}.dll"
46966 if [ ! -z ${D}description ]; then
46967 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46969 echo "EXPORTS" >> ${D}defFile
46971 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46972 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46974 # Checks if the export is ok or not.
46975 for word in ${D}exclude_symbols; do
46976 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46977 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46981 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46982 sed "=" < ${D}tmpdefFile | \\
46986 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46988 ' > ${D}{tmpdefFile}%
46989 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46991 rm -f ${D}{tmpdefFile}%
46993 cat ${D}tmpdefFile >> ${D}defFile
46994 rm -f ${D}tmpdefFile
46996 # Do linking, create implib, and apply lxlite.
46998 for file in ${D}inputFiles ; do
47003 gccCmdl="${D}gccCmdl ${D}file"
47007 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47008 touch "${D}{outFile}.dll"
47010 doCommand "emximp -o ${D}arcFile ${D}defFile"
47011 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47013 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47016 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47018 doCommand "emxomf -s -l ${D}arcFile"
47028 powerpc
-apple-macos* | \
47029 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47039 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47040 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47041 { (exit 1); exit 1; }; }
47044 if test "x$PIC_FLAG" != "x" ; then
47045 PIC_FLAG
="$PIC_FLAG -DPIC"
47048 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47049 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47051 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47052 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47071 case "${BAKEFILE_HOST}" in
47072 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47073 SONAME_FLAG
="-Wl,-soname,"
47107 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47108 if test "${enable_dependency_tracking+set}" = set; then
47109 enableval
="$enable_dependency_tracking"
47110 bk_use_trackdeps
="$enableval"
47113 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47114 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47117 if test "x$bk_use_trackdeps" = "xno" ; then
47119 echo "$as_me:$LINENO: result: disabled" >&5
47120 echo "${ECHO_T}disabled" >&6
47124 if test "x$GCC" = "xyes"; then
47126 case "${BAKEFILE_HOST}" in
47128 DEPSFLAG
="-no-cpp-precomp -MMD"
47134 echo "$as_me:$LINENO: result: gcc" >&5
47135 echo "${ECHO_T}gcc" >&6
47136 elif test "x$MWCC" = "xyes"; then
47139 echo "$as_me:$LINENO: result: mwcc" >&5
47140 echo "${ECHO_T}mwcc" >&6
47141 elif test "x$SUNCC" = "xyes"; then
47144 echo "$as_me:$LINENO: result: Sun cc" >&5
47145 echo "${ECHO_T}Sun cc" >&6
47146 elif test "x$SGICC" = "xyes"; then
47149 echo "$as_me:$LINENO: result: SGI cc" >&5
47150 echo "${ECHO_T}SGI cc" >&6
47151 elif test "x$HPCC" = "xyes"; then
47154 echo "$as_me:$LINENO: result: HP cc" >&5
47155 echo "${ECHO_T}HP cc" >&6
47156 elif test "x$COMPAQCC" = "xyes"; then
47159 echo "$as_me:$LINENO: result: Compaq cc" >&5
47160 echo "${ECHO_T}Compaq cc" >&6
47163 echo "$as_me:$LINENO: result: none" >&5
47164 echo "${ECHO_T}none" >&6
47167 if test $DEPS_TRACKING = 1 ; then
47173 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47174 # script. It is used to track C/C++ files dependencies in portable way.
47176 # Permission is given to use this file in any way.
47178 DEPSMODE=${DEPSMODE}
47180 DEPSFLAG="${DEPSFLAG}"
47182 mkdir -p ${D}DEPSDIR
47184 if test ${D}DEPSMODE = gcc ; then
47185 ${D}* ${D}{DEPSFLAG}
47187 if test ${D}{status} != 0 ; then
47190 # move created file to the location we want it in:
47191 while test ${D}# -gt 0; do
47205 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47206 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47207 if test -f ${D}depfile ; then
47208 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47211 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47212 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47213 if test ! -f ${D}depfile ; then
47214 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47215 depfile="${D}objfile.d"
47217 if test -f ${D}depfile ; then
47218 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47223 elif test ${D}DEPSMODE = mwcc ; then
47224 ${D}* || exit ${D}?
47225 # Run mwcc again with -MM and redirect into the dep file we want
47226 # NOTE: We can't use shift here because we need ${D}* to be valid
47228 for arg in ${D}* ; do
47229 if test "${D}prevarg" = "-o"; then
47242 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47244 elif test ${D}DEPSMODE = unixcc; then
47245 ${D}* || exit ${D}?
47246 # Run compiler again with deps flag and redirect into the dep file.
47247 # It doesn't work if the '-o FILE' option is used, but without it the
47248 # dependency file will contain the wrong name for the object. So it is
47249 # removed from the command line, and the dep file is fixed with sed.
47251 while test ${D}# -gt 0; do
47258 eval arg${D}#=\\${D}1
47259 cmd="${D}cmd \\${D}arg${D}#"
47264 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47273 BK_DEPS
="`pwd`/bk-deps"
47281 case ${BAKEFILE_HOST} in
47282 *-*-cygwin* | *-*-mingw32* )
47283 if test -n "$ac_tool_prefix"; then
47284 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47285 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47286 echo "$as_me:$LINENO: checking for $ac_word" >&5
47287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47288 if test "${ac_cv_prog_WINDRES+set}" = set; then
47289 echo $ECHO_N "(cached) $ECHO_C" >&6
47291 if test -n "$WINDRES"; then
47292 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47295 for as_dir
in $PATH
47298 test -z "$as_dir" && as_dir
=.
47299 for ac_exec_ext
in '' $ac_executable_extensions; do
47300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47301 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47310 WINDRES
=$ac_cv_prog_WINDRES
47311 if test -n "$WINDRES"; then
47312 echo "$as_me:$LINENO: result: $WINDRES" >&5
47313 echo "${ECHO_T}$WINDRES" >&6
47315 echo "$as_me:$LINENO: result: no" >&5
47316 echo "${ECHO_T}no" >&6
47320 if test -z "$ac_cv_prog_WINDRES"; then
47321 ac_ct_WINDRES
=$WINDRES
47322 # Extract the first word of "windres", so it can be a program name with args.
47323 set dummy windres
; ac_word
=$2
47324 echo "$as_me:$LINENO: checking for $ac_word" >&5
47325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47326 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47327 echo $ECHO_N "(cached) $ECHO_C" >&6
47329 if test -n "$ac_ct_WINDRES"; then
47330 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47333 for as_dir
in $PATH
47336 test -z "$as_dir" && as_dir
=.
47337 for ac_exec_ext
in '' $ac_executable_extensions; do
47338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47339 ac_cv_prog_ac_ct_WINDRES
="windres"
47340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47348 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47349 if test -n "$ac_ct_WINDRES"; then
47350 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47351 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47353 echo "$as_me:$LINENO: result: no" >&5
47354 echo "${ECHO_T}no" >&6
47357 WINDRES
=$ac_ct_WINDRES
47359 WINDRES
="$ac_cv_prog_WINDRES"
47364 *-*-darwin* | powerpc
-apple-macos* )
47365 # Extract the first word of "Rez", so it can be a program name with args.
47366 set dummy Rez
; ac_word
=$2
47367 echo "$as_me:$LINENO: checking for $ac_word" >&5
47368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47369 if test "${ac_cv_prog_REZ+set}" = set; then
47370 echo $ECHO_N "(cached) $ECHO_C" >&6
47372 if test -n "$REZ"; then
47373 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47376 for as_dir
in $PATH
47379 test -z "$as_dir" && as_dir
=.
47380 for ac_exec_ext
in '' $ac_executable_extensions; do
47381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47382 ac_cv_prog_REZ
="Rez"
47383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47389 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47392 REZ
=$ac_cv_prog_REZ
47393 if test -n "$REZ"; then
47394 echo "$as_me:$LINENO: result: $REZ" >&5
47395 echo "${ECHO_T}$REZ" >&6
47397 echo "$as_me:$LINENO: result: no" >&5
47398 echo "${ECHO_T}no" >&6
47401 # Extract the first word of "SetFile", so it can be a program name with args.
47402 set dummy SetFile
; ac_word
=$2
47403 echo "$as_me:$LINENO: checking for $ac_word" >&5
47404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47405 if test "${ac_cv_prog_SETFILE+set}" = set; then
47406 echo $ECHO_N "(cached) $ECHO_C" >&6
47408 if test -n "$SETFILE"; then
47409 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47412 for as_dir
in $PATH
47415 test -z "$as_dir" && as_dir
=.
47416 for ac_exec_ext
in '' $ac_executable_extensions; do
47417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47418 ac_cv_prog_SETFILE
="SetFile"
47419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47425 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47428 SETFILE
=$ac_cv_prog_SETFILE
47429 if test -n "$SETFILE"; then
47430 echo "$as_me:$LINENO: result: $SETFILE" >&5
47431 echo "${ECHO_T}$SETFILE" >&6
47433 echo "$as_me:$LINENO: result: no" >&5
47434 echo "${ECHO_T}no" >&6
47445 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47448 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47452 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47453 if test "${enable_precomp_headers+set}" = set; then
47454 enableval
="$enable_precomp_headers"
47455 bk_use_pch
="$enableval"
47463 case ${BAKEFILE_HOST} in
47469 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47470 if test "x$GCC" = "xyes"; then
47471 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47472 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47473 cat >conftest.
$ac_ext <<_ACEOF
47476 cat confdefs.h
>>conftest.
$ac_ext
47477 cat >>conftest.
$ac_ext <<_ACEOF
47478 /* end confdefs.h. */
47484 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47485 There is no PCH support
47488 There is no PCH support
47490 #if (__GNUC__ == 3) && \
47491 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47492 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47493 ( defined(__INTEL_COMPILER) )
47494 There is no PCH support
47501 rm -f conftest.
$ac_objext
47502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47503 (eval $ac_compile) 2>conftest.er1
47505 grep -v '^ *+' conftest.er1
>conftest.err
47507 cat conftest.err
>&5
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); } &&
47510 { ac_try
='test -z "$ac_c_werror_flag"
47511 || test ! -s conftest.err'
47512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47513 (eval $ac_try) 2>&5
47515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47516 (exit $ac_status); }; } &&
47517 { ac_try
='test -s conftest.$ac_objext'
47518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47519 (eval $ac_try) 2>&5
47521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47522 (exit $ac_status); }; }; then
47524 echo "$as_me:$LINENO: result: yes" >&5
47525 echo "${ECHO_T}yes" >&6
47529 echo "$as_me: failed program was:" >&5
47530 sed 's/^/| /' conftest.
$ac_ext >&5
47533 cat >conftest.
$ac_ext <<_ACEOF
47536 cat confdefs.h
>>conftest.
$ac_ext
47537 cat >>conftest.
$ac_ext <<_ACEOF
47538 /* end confdefs.h. */
47544 #if !defined(__INTEL_COMPILER) || \
47545 (__INTEL_COMPILER < 800)
47546 There is no PCH support
47553 rm -f conftest.
$ac_objext
47554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47555 (eval $ac_compile) 2>conftest.er1
47557 grep -v '^ *+' conftest.er1
>conftest.err
47559 cat conftest.err
>&5
47560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47561 (exit $ac_status); } &&
47562 { ac_try
='test -z "$ac_c_werror_flag"
47563 || test ! -s conftest.err'
47564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47565 (eval $ac_try) 2>&5
47567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47568 (exit $ac_status); }; } &&
47569 { ac_try
='test -s conftest.$ac_objext'
47570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47571 (eval $ac_try) 2>&5
47573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47574 (exit $ac_status); }; }; then
47576 echo "$as_me:$LINENO: result: yes" >&5
47577 echo "${ECHO_T}yes" >&6
47581 echo "$as_me: failed program was:" >&5
47582 sed 's/^/| /' conftest.
$ac_ext >&5
47585 echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6
47589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47593 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47597 cat <<EOF >bk-make-pch
47600 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47601 # script. It is used to generated precompiled headers.
47603 # Permission is given to use this file in any way.
47613 while test ${D}{#} -gt 0; do
47617 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47618 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47619 headerfile="${D}{incdir}/${D}{header}"
47622 -use-pch|-use_pch )
47627 if test ${D}add_to_cmdline = 1 ; then
47628 compiler="${D}{compiler} ${D}{1}"
47633 if test "x${D}{headerfile}" = "x" ; then
47634 echo "error: can't find header ${D}{header} in include paths" >&2
47636 if test -f ${D}{outfile} ; then
47637 rm -f ${D}{outfile}
47639 mkdir -p \`dirname ${D}{outfile}\`
47641 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47643 if test "x${GCC_PCH}" = "x1" ; then
47644 # can do this because gcc is >= 3.4:
47645 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47646 elif test "x${ICC_PCH}" = "x1" ; then
47647 filename=pch_gen-${D}${D}
47648 file=${D}{filename}.c
47649 dfile=${D}{filename}.d
47650 cat > ${D}file <<EOT
47651 #include "${D}header"
47653 # using -MF icc complains about differing command lines in creation/use
47654 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47655 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47656 rm -f ${D}file ${D}dfile ${D}{filename}.o
47662 chmod +x bk
-make-pch
47663 BK_MAKE_PCH
="`pwd`/bk-make-pch"
47672 COND_BUILD_DEBUG
="#"
47673 if test "x$BUILD" = "xdebug" ; then
47674 COND_BUILD_DEBUG
=""
47677 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47678 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47679 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47682 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47683 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47684 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47687 COND_BUILD_DEBUG_UNICODE_0
="#"
47688 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47689 COND_BUILD_DEBUG_UNICODE_0
=""
47692 COND_BUILD_DEBUG_UNICODE_1
="#"
47693 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47694 COND_BUILD_DEBUG_UNICODE_1
=""
47697 COND_BUILD_RELEASE
="#"
47698 if test "x$BUILD" = "xrelease" ; then
47699 COND_BUILD_RELEASE
=""
47702 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47703 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47704 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47707 COND_BUILD_RELEASE_UNICODE_0
="#"
47708 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47709 COND_BUILD_RELEASE_UNICODE_0
=""
47712 COND_BUILD_RELEASE_UNICODE_1
="#"
47713 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47714 COND_BUILD_RELEASE_UNICODE_1
=""
47717 COND_DEBUG_FLAG_1
="#"
47718 if test "x$DEBUG_FLAG" = "x1" ; then
47719 COND_DEBUG_FLAG_1
=""
47722 COND_DEBUG_INFO_0
="#"
47723 if test "x$DEBUG_INFO" = "x0" ; then
47724 COND_DEBUG_INFO_0
=""
47727 COND_DEBUG_INFO_1
="#"
47728 if test "x$DEBUG_INFO" = "x1" ; then
47729 COND_DEBUG_INFO_1
=""
47732 COND_DEPS_TRACKING_0
="#"
47733 if test "x$DEPS_TRACKING" = "x0" ; then
47734 COND_DEPS_TRACKING_0
=""
47737 COND_DEPS_TRACKING_1
="#"
47738 if test "x$DEPS_TRACKING" = "x1" ; then
47739 COND_DEPS_TRACKING_1
=""
47743 if test "x$GCC_PCH" = "x1" ; then
47748 if test "x$ICC_PCH" = "x1" ; then
47752 COND_MONOLITHIC_0
="#"
47753 if test "x$MONOLITHIC" = "x0" ; then
47754 COND_MONOLITHIC_0
=""
47757 COND_MONOLITHIC_0_SHARED_0
="#"
47758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47759 COND_MONOLITHIC_0_SHARED_0
=""
47762 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
47763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47764 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
47767 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47777 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47779 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47792 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47794 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47797 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
47798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47799 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
47802 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
47803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47804 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
47807 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47809 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47812 COND_MONOLITHIC_0_SHARED_1
="#"
47813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47814 COND_MONOLITHIC_0_SHARED_1
=""
47817 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
47818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47819 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
47822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47849 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47852 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
47853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47854 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
47857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
47858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47859 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
47862 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47864 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47867 COND_MONOLITHIC_0_USE_AUI_1
="#"
47868 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
47869 COND_MONOLITHIC_0_USE_AUI_1
=""
47872 COND_MONOLITHIC_0_USE_GUI_1
="#"
47873 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
47874 COND_MONOLITHIC_0_USE_GUI_1
=""
47877 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
47878 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47879 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
47882 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
47883 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47884 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
47887 COND_MONOLITHIC_0_USE_HTML_1
="#"
47888 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
47889 COND_MONOLITHIC_0_USE_HTML_1
=""
47892 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
47893 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47894 COND_MONOLITHIC_0_USE_MEDIA_1
=""
47897 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47898 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47899 COND_MONOLITHIC_0_USE_ODBC_1
=""
47902 COND_MONOLITHIC_0_USE_QA_1
="#"
47903 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
47904 COND_MONOLITHIC_0_USE_QA_1
=""
47907 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
47908 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47909 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
47912 COND_MONOLITHIC_0_USE_STC_1
="#"
47913 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
47914 COND_MONOLITHIC_0_USE_STC_1
=""
47917 COND_MONOLITHIC_0_USE_XRC_1
="#"
47918 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
47919 COND_MONOLITHIC_0_USE_XRC_1
=""
47922 COND_MONOLITHIC_1
="#"
47923 if test "x$MONOLITHIC" = "x1" ; then
47924 COND_MONOLITHIC_1
=""
47927 COND_MONOLITHIC_1_SHARED_0
="#"
47928 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47929 COND_MONOLITHIC_1_SHARED_0
=""
47932 COND_MONOLITHIC_1_SHARED_1
="#"
47933 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47934 COND_MONOLITHIC_1_SHARED_1
=""
47937 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47938 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47939 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47942 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47943 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47944 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47947 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47948 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47949 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47952 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47953 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47954 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47957 COND_PLATFORM_MACOSX_1
="#"
47958 if test "x$PLATFORM_MACOSX" = "x1" ; then
47959 COND_PLATFORM_MACOSX_1
=""
47962 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47964 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47967 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47969 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47972 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47974 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47977 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47979 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47982 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47984 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47987 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47989 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47992 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47994 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47997 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47998 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47999 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48002 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48003 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48004 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48007 COND_PLATFORM_MACOS_1
="#"
48008 if test "x$PLATFORM_MACOS" = "x1" ; then
48009 COND_PLATFORM_MACOS_1
=""
48012 COND_PLATFORM_MAC_1
="#"
48013 if test "x$PLATFORM_MAC" = "x1" ; then
48014 COND_PLATFORM_MAC_1
=""
48017 COND_PLATFORM_MSDOS_0
="#"
48018 if test "x$PLATFORM_MSDOS" = "x0" ; then
48019 COND_PLATFORM_MSDOS_0
=""
48022 COND_PLATFORM_MSDOS_1
="#"
48023 if test "x$PLATFORM_MSDOS" = "x1" ; then
48024 COND_PLATFORM_MSDOS_1
=""
48027 COND_PLATFORM_OS2_1
="#"
48028 if test "x$PLATFORM_OS2" = "x1" ; then
48029 COND_PLATFORM_OS2_1
=""
48032 COND_PLATFORM_UNIX_0
="#"
48033 if test "x$PLATFORM_UNIX" = "x0" ; then
48034 COND_PLATFORM_UNIX_0
=""
48037 COND_PLATFORM_UNIX_1
="#"
48038 if test "x$PLATFORM_UNIX" = "x1" ; then
48039 COND_PLATFORM_UNIX_1
=""
48042 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48043 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48044 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48047 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48048 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48049 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48052 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48053 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48054 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48057 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48058 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48062 COND_PLATFORM_WIN32_0
="#"
48063 if test "x$PLATFORM_WIN32" = "x0" ; then
48064 COND_PLATFORM_WIN32_0
=""
48067 COND_PLATFORM_WIN32_1
="#"
48068 if test "x$PLATFORM_WIN32" = "x1" ; then
48069 COND_PLATFORM_WIN32_1
=""
48073 if test "x$SHARED" = "x0" ; then
48077 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48078 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48079 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48082 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48083 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48084 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48087 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48088 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48092 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48093 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48097 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48098 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48099 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48102 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48103 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48104 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48107 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48108 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48109 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48112 COND_SHARED_0_USE_STC_1
="#"
48113 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48114 COND_SHARED_0_USE_STC_1
=""
48117 COND_SHARED_0_USE_XRC_1
="#"
48118 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48119 COND_SHARED_0_USE_XRC_1
=""
48122 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48123 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48124 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48127 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48128 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48129 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48132 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48133 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48134 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48137 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48138 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48139 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48143 if test "x$SHARED" = "x1" ; then
48147 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48148 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48149 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48152 COND_SHARED_1_USE_XRC_1
="#"
48153 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48154 COND_SHARED_1_USE_XRC_1
=""
48158 if test "x$TOOLKIT" = "x" ; then
48162 COND_TOOLKIT_COCOA
="#"
48163 if test "x$TOOLKIT" = "xCOCOA" ; then
48164 COND_TOOLKIT_COCOA
=""
48167 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48168 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48169 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48172 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48173 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48174 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48177 COND_TOOLKIT_DFB
="#"
48178 if test "x$TOOLKIT" = "xDFB" ; then
48179 COND_TOOLKIT_DFB
=""
48182 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48183 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48184 COND_TOOLKIT_DFB_USE_GUI_1
=""
48187 COND_TOOLKIT_GTK
="#"
48188 if test "x$TOOLKIT" = "xGTK" ; then
48189 COND_TOOLKIT_GTK
=""
48192 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48193 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48197 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48198 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48203 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48204 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48207 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48208 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48209 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48212 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48213 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48214 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48217 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48218 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48219 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48222 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48223 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48224 COND_TOOLKIT_GTK_USE_GUI_1
=""
48227 COND_TOOLKIT_MAC
="#"
48228 if test "x$TOOLKIT" = "xMAC" ; then
48229 COND_TOOLKIT_MAC
=""
48232 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48233 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48234 COND_TOOLKIT_MAC_USE_GUI_1
=""
48237 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48238 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48239 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48242 COND_TOOLKIT_MGL
="#"
48243 if test "x$TOOLKIT" = "xMGL" ; then
48244 COND_TOOLKIT_MGL
=""
48247 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48248 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48249 COND_TOOLKIT_MGL_USE_GUI_1
=""
48252 COND_TOOLKIT_MOTIF
="#"
48253 if test "x$TOOLKIT" = "xMOTIF" ; then
48254 COND_TOOLKIT_MOTIF
=""
48257 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48258 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48259 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48262 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48263 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48264 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48267 COND_TOOLKIT_MSW
="#"
48268 if test "x$TOOLKIT" = "xMSW" ; then
48269 COND_TOOLKIT_MSW
=""
48272 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48273 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48274 COND_TOOLKIT_MSW_USE_GUI_1
=""
48277 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48278 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48279 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48282 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48283 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48284 COND_TOOLKIT_MSW_WXUNIV_0
=""
48287 COND_TOOLKIT_PM
="#"
48288 if test "x$TOOLKIT" = "xPM" ; then
48292 COND_TOOLKIT_PM_USE_GUI_1
="#"
48293 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48294 COND_TOOLKIT_PM_USE_GUI_1
=""
48297 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48298 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48299 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48302 COND_TOOLKIT_WINCE
="#"
48303 if test "x$TOOLKIT" = "xWINCE" ; then
48304 COND_TOOLKIT_WINCE
=""
48307 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48308 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48309 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48312 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48313 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48314 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48317 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48318 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48319 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48322 COND_TOOLKIT_X11
="#"
48323 if test "x$TOOLKIT" = "xX11" ; then
48324 COND_TOOLKIT_X11
=""
48327 COND_TOOLKIT_X11_USE_GUI_1
="#"
48328 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48329 COND_TOOLKIT_X11_USE_GUI_1
=""
48333 if test "x$UNICODE" = "x1" ; then
48337 COND_USE_EXCEPTIONS_0
="#"
48338 if test "x$USE_EXCEPTIONS" = "x0" ; then
48339 COND_USE_EXCEPTIONS_0
=""
48342 COND_USE_EXCEPTIONS_1
="#"
48343 if test "x$USE_EXCEPTIONS" = "x1" ; then
48344 COND_USE_EXCEPTIONS_1
=""
48348 if test "x$USE_GUI" = "x0" ; then
48353 if test "x$USE_GUI" = "x1" ; then
48357 COND_USE_GUI_1_USE_OPENGL_1
="#"
48358 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48359 COND_USE_GUI_1_USE_OPENGL_1
=""
48362 COND_USE_GUI_1_WXUNIV_0
="#"
48363 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48364 COND_USE_GUI_1_WXUNIV_0
=""
48367 COND_USE_GUI_1_WXUNIV_1
="#"
48368 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48369 COND_USE_GUI_1_WXUNIV_1
=""
48372 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48374 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48377 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48378 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48379 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48382 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48383 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48384 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48387 COND_USE_ODBC_1
="#"
48388 if test "x$USE_ODBC" = "x1" ; then
48392 COND_USE_OPENGL_1
="#"
48393 if test "x$USE_OPENGL" = "x1" ; then
48394 COND_USE_OPENGL_1
=""
48398 if test "x$USE_PCH" = "x1" ; then
48402 COND_USE_PLUGINS_0
="#"
48403 if test "x$USE_PLUGINS" = "x0" ; then
48404 COND_USE_PLUGINS_0
=""
48407 COND_USE_RTTI_0
="#"
48408 if test "x$USE_RTTI" = "x0" ; then
48412 COND_USE_RTTI_1
="#"
48413 if test "x$USE_RTTI" = "x1" ; then
48417 COND_USE_SOSYMLINKS_1
="#"
48418 if test "x$USE_SOSYMLINKS" = "x1" ; then
48419 COND_USE_SOSYMLINKS_1
=""
48422 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48423 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48424 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48427 COND_USE_SOVERLINUX_1
="#"
48428 if test "x$USE_SOVERLINUX" = "x1" ; then
48429 COND_USE_SOVERLINUX_1
=""
48432 COND_USE_SOVERSION_0
="#"
48433 if test "x$USE_SOVERSION" = "x0" ; then
48434 COND_USE_SOVERSION_0
=""
48437 COND_USE_SOVERSOLARIS_1
="#"
48438 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48439 COND_USE_SOVERSOLARIS_1
=""
48443 if test "x$USE_STC" = "x1" ; then
48447 COND_USE_THREADS_0
="#"
48448 if test "x$USE_THREADS" = "x0" ; then
48449 COND_USE_THREADS_0
=""
48452 COND_USE_THREADS_1
="#"
48453 if test "x$USE_THREADS" = "x1" ; then
48454 COND_USE_THREADS_1
=""
48458 if test "x$USE_XRC" = "x1" ; then
48462 COND_WINDOWS_IMPLIB_1
="#"
48463 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48464 COND_WINDOWS_IMPLIB_1
=""
48467 COND_WITH_PLUGIN_SDL_1
="#"
48468 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48469 COND_WITH_PLUGIN_SDL_1
=""
48473 if test "x$WXUNIV" = "x0" ; then
48478 if test "x$WXUNIV" = "x1" ; then
48482 COND_WXUSE_EXPAT_BUILTIN
="#"
48483 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48484 COND_WXUSE_EXPAT_BUILTIN
=""
48487 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48488 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48489 COND_WXUSE_LIBJPEG_BUILTIN
=""
48492 COND_WXUSE_LIBPNG_BUILTIN
="#"
48493 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48494 COND_WXUSE_LIBPNG_BUILTIN
=""
48497 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48498 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48499 COND_WXUSE_LIBTIFF_BUILTIN
=""
48502 COND_WXUSE_ODBC_BUILTIN
="#"
48503 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48504 COND_WXUSE_ODBC_BUILTIN
=""
48507 COND_WXUSE_REGEX_BUILTIN
="#"
48508 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48509 COND_WXUSE_REGEX_BUILTIN
=""
48512 COND_WXUSE_ZLIB_BUILTIN
="#"
48513 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48514 COND_WXUSE_ZLIB_BUILTIN
=""
48519 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48520 { { 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
48521 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;}
48522 { (exit 1); exit 1; }; }
48525 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48526 { { 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
48527 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;}
48528 { (exit 1); exit 1; }; }
48532 if test $GCC_PCH = 1
48534 if test "$wx_cv_gcc_pch_bug" = yes; then
48535 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48536 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48537 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48538 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48539 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48540 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48543 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48547 if test "$wxUSE_MAC" = 1 ; then
48548 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48549 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48555 if test "$wxUSE_SHARED" = "yes"; then
48557 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48558 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48561 *-pc-os2_emx | *-pc-os2-emx )
48562 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48563 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48564 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48565 cp -p ${srcdir}/src
/os
2/dllar.sh .
48570 EXE_LINKER
="$CXX -o"
48573 if test "$wxUSE_OMF" = "yes"; then
48575 *-pc-os2_emx | *-pc-os2-emx )
48576 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48577 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48578 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48583 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48585 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48647 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48648 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48649 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48650 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48651 echo $ECHO_N "(cached) $ECHO_C" >&6
48653 cat >conftest.
make <<\_ACEOF
48655 @
echo 'ac_maketemp="$(MAKE)"'
48657 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48658 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48659 if test -n "$ac_maketemp"; then
48660 eval ac_cv_prog_make_
${ac_make}_set
=yes
48662 eval ac_cv_prog_make_
${ac_make}_set
=no
48664 rm -f conftest.
make
48666 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48667 echo "$as_me:$LINENO: result: yes" >&5
48668 echo "${ECHO_T}yes" >&6
48671 echo "$as_me:$LINENO: result: no" >&5
48672 echo "${ECHO_T}no" >&6
48673 SET_MAKE
="MAKE=${MAKE-make}"
48678 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48681 if test "$USE_WIN32" = 1; then
48682 ac_config_commands
="$ac_config_commands
48688 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48691 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48694 if test "$wx_cv_version_script" = "yes"; then
48695 ac_config_files
="$ac_config_files version-script"
48698 ac_config_files
="$ac_config_files Makefile"
48701 ac_config_commands
="$ac_config_commands wx-config"
48705 if test "$wxWITH_SUBDIRS" != "no"; then
48706 if test "$wxUSE_GUI" = "yes"; then
48707 SUBDIRS
="samples demos utils"
48708 else SUBDIRS
="samples utils"
48713 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48714 if test "${with_cppunit_prefix+set}" = set; then
48715 withval
="$with_cppunit_prefix"
48716 cppunit_config_prefix
="$withval"
48718 cppunit_config_prefix
=""
48721 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48722 if test "${with_cppunit_exec_prefix+set}" = set; then
48723 withval
="$with_cppunit_exec_prefix"
48724 cppunit_config_exec_prefix
="$withval"
48726 cppunit_config_exec_prefix
=""
48729 if test x
$cppunit_config_exec_prefix != x
; then
48730 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48731 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48732 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48735 if test x
$cppunit_config_prefix != x
; then
48736 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48737 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48738 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48742 # Extract the first word of "cppunit-config", so it can be a program name with args.
48743 set dummy cppunit
-config; ac_word
=$2
48744 echo "$as_me:$LINENO: checking for $ac_word" >&5
48745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48746 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48747 echo $ECHO_N "(cached) $ECHO_C" >&6
48749 case $CPPUNIT_CONFIG in
48751 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48755 for as_dir
in $PATH
48758 test -z "$as_dir" && as_dir
=.
48759 for ac_exec_ext
in '' $ac_executable_extensions; do
48760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48761 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48768 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48772 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48774 if test -n "$CPPUNIT_CONFIG"; then
48775 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48776 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48778 echo "$as_me:$LINENO: result: no" >&5
48779 echo "${ECHO_T}no" >&6
48782 cppunit_version_min
=1.8.0
48784 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48785 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48787 if test "$CPPUNIT_CONFIG" = "no" ; then
48788 echo "$as_me:$LINENO: result: no" >&5
48789 echo "${ECHO_T}no" >&6
48792 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48793 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48794 cppunit_version
=`$CPPUNIT_CONFIG --version`
48796 cppunit_major_version
=`echo $cppunit_version | \
48797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48798 cppunit_minor_version
=`echo $cppunit_version | \
48799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48800 cppunit_micro_version
=`echo $cppunit_version | \
48801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48803 cppunit_major_min
=`echo $cppunit_version_min | \
48804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48805 cppunit_minor_min
=`echo $cppunit_version_min | \
48806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48807 cppunit_micro_min
=`echo $cppunit_version_min | \
48808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48810 cppunit_version_proper
=`expr \
48811 $cppunit_major_version \> $cppunit_major_min \| \
48812 $cppunit_major_version \= $cppunit_major_min \& \
48813 $cppunit_minor_version \> $cppunit_minor_min \| \
48814 $cppunit_major_version \= $cppunit_major_min \& \
48815 $cppunit_minor_version \= $cppunit_minor_min \& \
48816 $cppunit_micro_version \>= $cppunit_micro_min `
48818 if test "$cppunit_version_proper" = "1" ; then
48819 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48820 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48822 echo "$as_me:$LINENO: result: no" >&5
48823 echo "${ECHO_T}no" >&6
48828 if test "x$no_cppunit" = x
; then
48829 SUBDIRS
="$SUBDIRS tests"
48840 for subdir
in `echo $SUBDIRS`; do
48841 if test -d ${srcdir}/${subdir} ; then
48842 if test "$wxUSE_GUI" = "yes"; then
48843 if test ${subdir} = "samples"; then
48844 makefiles
="samples/Makefile.in $makefiles"
48845 for sample
in `echo $SAMPLES_SUBDIRS`; do
48846 if test -d $srcdir/samples
/$sample; then
48847 makefiles
="samples/$sample/Makefile.in $makefiles"
48851 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48852 eval "disabled=\$$disabled_var"
48853 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48854 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
48856 else if test ${subdir} = "samples"; then
48857 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48858 elif test ${subdir} = "utils"; then
48860 for util
in HelpGen tex2rtf
; do
48861 if test -d $srcdir/utils
/$util ; then
48862 makefiles
="utils/$util/Makefile.in \
48863 utils/$util/src/Makefile.in \
48867 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48871 for mkin
in $makefiles ; do
48872 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48873 ac_config_files
="$ac_config_files $mk"
48879 cat >confcache
<<\_ACEOF
48880 # This file is a shell script that caches the results of configure
48881 # tests run on this system so they can be shared between configure
48882 # scripts and configure runs, see configure's option --config-cache.
48883 # It is not useful on other systems. If it contains results you don't
48884 # want to keep, you may remove or edit it.
48886 # config.status only pays attention to the cache file if you give it
48887 # the --recheck option to rerun configure.
48889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48891 # following values.
48895 # The following way of writing the cache mishandles newlines in values,
48896 # but we know of no workaround that is simple, portable, and efficient.
48897 # So, don't put newlines in cache variables' values.
48898 # Ultrix sh set writes to stderr and can't be redirected directly,
48899 # and sets the high bit in the cache file unless we assign to the vars.
48902 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48904 # `set' does not quote correctly, so add quotes (double-quote
48905 # substitution turns \\\\ into \\, and sed turns \\ into \).
48908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48911 # `set' quotes correctly as required by POSIX, so do not add quotes.
48913 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48922 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48924 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48925 if test -w $cache_file; then
48926 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48927 cat confcache
>$cache_file
48929 echo "not updating unwritable cache $cache_file"
48934 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48935 # Let make expand exec_prefix.
48936 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48938 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48939 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48940 # trailing colons and then remove the whole line if VPATH becomes empty
48941 # (actually we leave an empty line to preserve line numbers).
48942 if test "x$srcdir" = x.
; then
48943 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48944 s/:*\$(srcdir):*/:/;
48945 s/:*\${srcdir}:*/:/;
48947 s/^\([^=]*=[ ]*\):*/\1/;
48953 DEFS
=-DHAVE_CONFIG_H
48957 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48958 # 1. Remove the extension, and $U if already installed.
48959 ac_i
=`echo "$ac_i" |
48960 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48962 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48963 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48965 LIBOBJS
=$ac_libobjs
48967 LTLIBOBJS
=$ac_ltlibobjs
48971 : ${CONFIG_STATUS=./config.status}
48972 ac_clean_files_save
=$ac_clean_files
48973 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48974 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48975 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48976 cat >$CONFIG_STATUS <<_ACEOF
48978 # Generated by $as_me.
48979 # Run this file to recreate the current configuration.
48980 # Compiler output produced by configure, useful for debugging
48981 # configure, is in config.log if it exists.
48984 ac_cs_recheck=false
48986 SHELL=\${CONFIG_SHELL-$SHELL}
48989 cat >>$CONFIG_STATUS <<\_ACEOF
48990 ## --------------------- ##
48991 ## M4sh Initialization. ##
48992 ## --------------------- ##
48994 # Be Bourne compatible
48995 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48998 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48999 # is contrary to our usage. Disable this feature.
49000 alias -g '${1+"$@"}'='"$@"'
49001 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49004 DUALCASE
=1; export DUALCASE
# for MKS sh
49006 # Support unset when possible.
49007 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49014 # Work around bugs in pre-3.0 UWIN ksh.
49015 $as_unset ENV MAIL MAILPATH
49022 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49023 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49024 LC_TELEPHONE LC_TIME
49026 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49027 eval $as_var=C
; export $as_var
49033 # Required to use basename.
49034 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49040 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49041 as_basename
=basename
49047 # Name of the executable.
49048 as_me
=`$as_basename "$0" ||
49049 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49050 X"$0" : 'X\(//\)$' \| \
49051 X"$0" : 'X\(/\)$' \| \
49052 . : '\(.\)' 2>/dev/null ||
49054 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49055 /^X\/\(\/\/\)$/{ s//\1/; q; }
49056 /^X\/\(\/\).*/{ s//\1/; q; }
49060 # PATH needs CR, and LINENO needs CR and PATH.
49061 # Avoid depending upon Character Ranges.
49062 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49063 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49064 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49065 as_cr_digits
='0123456789'
49066 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49068 # The user is always right.
49069 if test "${PATH_SEPARATOR+set}" != set; then
49070 echo "#! /bin/sh" >conf$$.sh
49071 echo "exit 0" >>conf$$.sh
49073 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49082 as_lineno_1
=$LINENO
49083 as_lineno_2
=$LINENO
49084 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49085 test "x$as_lineno_1" != "x$as_lineno_2" &&
49086 test "x$as_lineno_3" = "x$as_lineno_2" || {
49087 # Find who we are. Look in the path if we contain no path at all
49090 *[\\/]* ) as_myself
=$0 ;;
49091 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49092 for as_dir
in $PATH
49095 test -z "$as_dir" && as_dir
=.
49096 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49101 # We did not find ourselves, most probably we were run as `sh COMMAND'
49102 # in which case we are not to be found in the path.
49103 if test "x$as_myself" = x
; then
49106 if test ! -f "$as_myself"; then
49107 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49108 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49109 { (exit 1); exit 1; }; }
49111 case $CONFIG_SHELL in
49113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49114 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49117 test -z "$as_dir" && as_dir
=.
49118 for as_base
in sh bash ksh sh5
; do
49121 if ("$as_dir/$as_base" -c '
49122 as_lineno_1=$LINENO
49123 as_lineno_2=$LINENO
49124 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49125 test "x$as_lineno_1" != "x$as_lineno_2" &&
49126 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49127 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49128 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49129 CONFIG_SHELL
=$as_dir/$as_base
49130 export CONFIG_SHELL
49131 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49139 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49140 # uniformly replaced by the line number. The first 'sed' inserts a
49141 # line-number line before each line; the second 'sed' does the real
49142 # work. The second script uses 'N' to pair each line-number line
49143 # with the numbered line, and appends trailing '-' during
49144 # substitution so that $LINENO is not a special case at line end.
49145 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49146 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49147 sed '=' <$as_myself |
49152 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49155 s,^['$as_cr_digits']*\n,,
49156 ' >$as_me.lineno
&&
49157 chmod +x
$as_me.lineno
||
49158 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49159 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49160 { (exit 1); exit 1; }; }
49162 # Don't try to exec as it changes $[0], causing all sort of problems
49163 # (the dirname of $[0] is not the place where we might find the
49164 # original and so on. Autoconf is especially sensible to this).
49166 # Exit status is that of the last command.
49171 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49172 *c
*,-n*) ECHO_N
= ECHO_C
='
49174 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49175 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49178 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49184 rm -f conf$$ conf$$.exe conf$$.
file
49186 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49187 # We could just check for DJGPP; but this test a) works b) is more generic
49188 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49189 if test -f conf$$.exe
; then
49190 # Don't use ln at all; we don't have any links
49195 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49200 rm -f conf$$ conf$$.exe conf$$.
file
49202 if mkdir -p .
2>/dev
/null
; then
49205 test -d .
/-p && rmdir .
/-p
49209 as_executable_p
="test -f"
49211 # Sed expression to map a string onto a valid CPP name.
49212 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49214 # Sed expression to map a string onto a valid variable name.
49215 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49219 # We need space, tab and new line, in precisely that order.
49229 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49230 # report actual input values of CONFIG_FILES etc. instead of their
49231 # values after options handling. Logging --version etc. is OK.
49235 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49236 ## Running $as_me. ##
49241 This file was extended by wxWidgets $as_me 2.9.0, which was
49242 generated by GNU Autoconf 2.59. Invocation command line was
49244 CONFIG_FILES = $CONFIG_FILES
49245 CONFIG_HEADERS = $CONFIG_HEADERS
49246 CONFIG_LINKS = $CONFIG_LINKS
49247 CONFIG_COMMANDS = $CONFIG_COMMANDS
49251 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49255 # Files that config.status was made for.
49256 if test -n "$ac_config_files"; then
49257 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49260 if test -n "$ac_config_headers"; then
49261 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49264 if test -n "$ac_config_links"; then
49265 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49268 if test -n "$ac_config_commands"; then
49269 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49272 cat >>$CONFIG_STATUS <<\_ACEOF
49275 \`$as_me' instantiates files from templates according to the
49276 current configuration.
49278 Usage: $0 [OPTIONS] [FILE]...
49280 -h, --help print this help, then exit
49281 -V, --version print version number, then exit
49282 -q, --quiet do not print progress messages
49283 -d, --debug don't remove temporary files
49284 --recheck update $as_me by reconfiguring in the same conditions
49285 --file=FILE[:TEMPLATE]
49286 instantiate the configuration file FILE
49287 --header=FILE[:TEMPLATE]
49288 instantiate the configuration header FILE
49290 Configuration files:
49293 Configuration headers:
49296 Configuration commands:
49299 Report bugs to <bug-autoconf@gnu.org>."
49302 cat >>$CONFIG_STATUS <<_ACEOF
49304 wxWidgets config.status 2.9.0
49305 configured by $0, generated by GNU Autoconf 2.59,
49306 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49308 Copyright (C) 2003 Free Software Foundation, Inc.
49309 This config.status script is free software; the Free Software Foundation
49310 gives unlimited permission to copy, distribute and modify it."
49315 cat >>$CONFIG_STATUS <<\_ACEOF
49316 # If no file are specified by the user, then we need to provide default
49317 # value. By we need to know if files were specified by the user.
49323 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49324 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49332 *) # This is not an option, so the user has probably given explicit
49335 ac_need_defaults
=false
;;
49339 # Handling of the options.
49341 cat >>$CONFIG_STATUS <<\_ACEOF
49342 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49344 --version | --vers* | -V )
49345 echo "$ac_cs_version"; exit 0 ;;
49347 # Conflict between --help and --header
49348 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49349 Try \`$0 --help' for more information." >&5
49350 echo "$as_me: error: ambiguous option: $1
49351 Try \`$0 --help' for more information." >&2;}
49352 { (exit 1); exit 1; }; };;
49353 --help | --hel | -h )
49354 echo "$ac_cs_usage"; exit 0 ;;
49355 --debug | --d* | -d )
49357 --file | --fil | --fi | --f )
49359 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49360 ac_need_defaults
=false
;;
49361 --header | --heade | --head | --hea )
49363 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49364 ac_need_defaults
=false
;;
49365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49366 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49369 # This is an error.
49370 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49371 Try \`$0 --help' for more information." >&5
49372 echo "$as_me: error: unrecognized option: $1
49373 Try \`$0 --help' for more information." >&2;}
49374 { (exit 1); exit 1; }; } ;;
49376 *) ac_config_targets
="$ac_config_targets $1" ;;
49382 ac_configure_extra_args
=
49384 if $ac_cs_silent; then
49386 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49390 cat >>$CONFIG_STATUS <<_ACEOF
49391 if \$ac_cs_recheck; then
49392 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49393 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49398 cat >>$CONFIG_STATUS <<_ACEOF
49400 # INIT-COMMANDS section.
49405 infile="$srcdir/include/wx/msw/genrcdefs.h"
49406 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49409 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49410 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49411 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49419 cat >>$CONFIG_STATUS <<\_ACEOF
49420 for ac_config_target
in $ac_config_targets
49422 case "$ac_config_target" in
49423 # Handling of arguments.
49424 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49425 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49426 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49427 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49428 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49429 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49430 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49431 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49432 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49433 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49434 { (exit 1); exit 1; }; };;
49438 # If the user did not use the arguments to specify the items to instantiate,
49439 # then the envvar interface is used. Set only those that are not.
49440 # We use the long form for the default assignment because of an extremely
49441 # bizarre bug on SunOS 4.1.3.
49442 if $ac_need_defaults; then
49443 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49444 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49445 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49448 # Have a temporary directory for convenience. Make it in the build tree
49449 # simply because there is no reason to put it here, and in addition,
49450 # creating and moving files from /tmp can sometimes cause problems.
49451 # Create a temporary directory, and hook for its removal unless debugging.
49454 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49455 trap '{ (exit 1); exit 1; }' 1 2 13 15
49458 # Create a (secure) tmp directory for tmp files.
49461 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49462 test -n "$tmp" && test -d "$tmp"
49465 tmp
=.
/confstat$$
-$RANDOM
49466 (umask 077 && mkdir $tmp)
49469 echo "$me: cannot create a temporary directory in ." >&2
49470 { (exit 1); exit 1; }
49475 cat >>$CONFIG_STATUS <<_ACEOF
49478 # CONFIG_FILES section.
49481 # No need to generate the scripts if there are no CONFIG_FILES.
49482 # This happens for instance when ./config.status config.h
49483 if test -n "\$CONFIG_FILES"; then
49484 # Protect against being on the right side of a sed subst in config.status.
49485 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49486 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49487 s,@SHELL@,$SHELL,;t t
49488 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49489 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49490 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49491 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49492 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49493 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49494 s,@exec_prefix@,$exec_prefix,;t t
49495 s,@prefix@,$prefix,;t t
49496 s,@program_transform_name@,$program_transform_name,;t t
49497 s,@bindir@,$bindir,;t t
49498 s,@sbindir@,$sbindir,;t t
49499 s,@libexecdir@,$libexecdir,;t t
49500 s,@datadir@,$datadir,;t t
49501 s,@sysconfdir@,$sysconfdir,;t t
49502 s,@sharedstatedir@,$sharedstatedir,;t t
49503 s,@localstatedir@,$localstatedir,;t t
49504 s,@libdir@,$libdir,;t t
49505 s,@includedir@,$includedir,;t t
49506 s,@oldincludedir@,$oldincludedir,;t t
49507 s,@infodir@,$infodir,;t t
49508 s,@mandir@,$mandir,;t t
49509 s,@build_alias@,$build_alias,;t t
49510 s,@host_alias@,$host_alias,;t t
49511 s,@target_alias@,$target_alias,;t t
49512 s,@DEFS@,$DEFS,;t t
49513 s,@ECHO_C@,$ECHO_C,;t t
49514 s,@ECHO_N@,$ECHO_N,;t t
49515 s,@ECHO_T@,$ECHO_T,;t t
49516 s,@LIBS@,$LIBS,;t t
49517 s,@build@,$build,;t t
49518 s,@build_cpu@,$build_cpu,;t t
49519 s,@build_vendor@,$build_vendor,;t t
49520 s,@build_os@,$build_os,;t t
49521 s,@host@,$host,;t t
49522 s,@host_cpu@,$host_cpu,;t t
49523 s,@host_vendor@,$host_vendor,;t t
49524 s,@host_os@,$host_os,;t t
49525 s,@target@,$target,;t t
49526 s,@target_cpu@,$target_cpu,;t t
49527 s,@target_vendor@,$target_vendor,;t t
49528 s,@target_os@,$target_os,;t t
49529 s,@wx_top_builddir@,$wx_top_builddir,;t t
49531 s,@CFLAGS@,$CFLAGS,;t t
49532 s,@LDFLAGS@,$LDFLAGS,;t t
49533 s,@CPPFLAGS@,$CPPFLAGS,;t t
49534 s,@ac_ct_CC@,$ac_ct_CC,;t t
49535 s,@EXEEXT@,$EXEEXT,;t t
49536 s,@OBJEXT@,$OBJEXT,;t t
49538 s,@EGREP@,$EGREP,;t t
49540 s,@CXXFLAGS@,$CXXFLAGS,;t t
49541 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49542 s,@RANLIB@,$RANLIB,;t t
49543 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49545 s,@ac_ct_AR@,$ac_ct_AR,;t t
49546 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49547 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49548 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49549 s,@STRIP@,$STRIP,;t t
49550 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49551 s,@WINDRES@,$WINDRES,;t t
49552 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49553 s,@DLLTOOL@,$DLLTOOL,;t t
49554 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49555 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49556 s,@LN_S@,$LN_S,;t t
49557 s,@subdirs@,$subdirs,;t t
49558 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49559 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49560 s,@GTK_LIBS@,$GTK_LIBS,;t t
49561 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49562 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49563 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
49564 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
49565 s,@X_CFLAGS@,$X_CFLAGS,;t t
49566 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49567 s,@X_LIBS@,$X_LIBS,;t t
49568 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49569 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49570 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49571 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49572 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49573 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49574 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49576 s,@DEREZ@,$DEREZ,;t t
49577 s,@SETFILE@,$SETFILE,;t t
49578 s,@LIBICONV@,$LIBICONV,;t t
49579 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49580 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49581 s,@SDL_LIBS@,$SDL_LIBS,;t t
49582 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49583 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49584 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49585 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49586 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49587 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49588 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
49589 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
49590 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49591 s,@GST_LIBS@,$GST_LIBS,;t t
49592 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49593 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49594 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49595 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49596 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49597 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49598 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49599 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49600 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49601 s,@VENDOR@,$VENDOR,;t t
49602 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49603 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49604 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49605 s,@WXUNIV@,$WXUNIV,;t t
49606 s,@MONOLITHIC@,$MONOLITHIC,;t t
49607 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49608 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
49609 s,@EXTRALIBS@,$EXTRALIBS,;t t
49610 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49611 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49612 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49613 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49614 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49615 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49616 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49617 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49618 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49619 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49620 s,@UNICODE@,$UNICODE,;t t
49621 s,@BUILD@,$BUILD,;t t
49622 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49623 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49624 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49625 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49626 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49627 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49628 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49629 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49630 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49631 s,@SET_MAKE@,$SET_MAKE,;t t
49632 s,@MAKE_SET@,$MAKE_SET,;t t
49633 s,@AROPTIONS@,$AROPTIONS,;t t
49635 s,@ac_ct_NM@,$ac_ct_NM,;t t
49636 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49637 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49638 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49639 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49640 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49641 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49642 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49643 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49644 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49645 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49646 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49647 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49648 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49649 s,@LIBPREFIX@,$LIBPREFIX,;t t
49650 s,@LIBEXT@,$LIBEXT,;t t
49651 s,@DLLPREFIX@,$DLLPREFIX,;t t
49652 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49653 s,@dlldir@,$dlldir,;t t
49654 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49655 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49656 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49657 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49658 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49659 s,@PIC_FLAG@,$PIC_FLAG,;t t
49660 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49661 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49662 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49663 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49664 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49665 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49666 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49667 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49668 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49669 s,@BK_DEPS@,$BK_DEPS,;t t
49670 s,@GCC_PCH@,$GCC_PCH,;t t
49671 s,@ICC_PCH@,$ICC_PCH,;t t
49672 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
49673 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49674 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49675 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49676 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49677 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49678 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49679 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49680 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49681 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49682 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49683 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49684 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49685 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49686 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49687 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49688 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49689 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49690 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49691 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49692 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49693 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
49694 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
49695 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
49696 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
49697 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49698 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49699 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
49700 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49701 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49702 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49703 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49704 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
49705 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
49706 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
49707 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
49708 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49709 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49710 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
49711 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49712 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
49713 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
49714 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
49715 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
49716 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
49717 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49718 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49719 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
49720 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
49721 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
49722 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
49723 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49724 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49725 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49726 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49727 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49728 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49729 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49730 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49731 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49732 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49733 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49734 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49735 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49736 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49737 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49738 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49739 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49740 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49741 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49742 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49743 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49744 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49745 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49746 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49747 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
49748 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
49749 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49750 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49751 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49752 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49753 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49754 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49755 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49756 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49757 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49758 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49759 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49760 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49761 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
49762 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49763 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49764 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49765 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49766 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49767 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49768 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49769 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49770 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49771 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49772 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49773 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49774 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
49775 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
49776 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49777 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49778 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49779 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49780 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
49781 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49782 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49783 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49784 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49785 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49786 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49787 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49788 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49789 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49790 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49791 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49792 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49793 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49794 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49795 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49796 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49797 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49798 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49799 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49800 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49801 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49802 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49803 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49804 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49805 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49806 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49807 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49808 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49809 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49810 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
49811 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49812 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49813 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49814 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49815 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49816 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49817 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49818 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49819 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49820 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49821 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49822 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49823 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49824 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49825 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49826 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49827 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
49828 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49829 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49830 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49831 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49832 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49833 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49834 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49835 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49836 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49837 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49838 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49839 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49840 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49841 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49842 s,@SHARED@,$SHARED,;t t
49843 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49844 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49845 s,@USE_GUI@,$USE_GUI,;t t
49846 s,@AFMINSTALL@,$AFMINSTALL,;t t
49847 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49848 s,@TOOLKIT@,$TOOLKIT,;t t
49849 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49850 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49851 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49852 s,@cross_compiling@,$cross_compiling,;t t
49853 s,@WIDGET_SET@,$WIDGET_SET,;t t
49854 s,@WX_RELEASE@,$WX_RELEASE,;t t
49855 s,@WX_VERSION@,$WX_VERSION,;t t
49856 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49857 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49858 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49859 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49860 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49861 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49862 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49863 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49864 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49865 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49866 s,@EXE_LINKER@,$EXE_LINKER,;t t
49867 s,@GUIDIST@,$GUIDIST,;t t
49868 s,@DISTDIR@,$DISTDIR,;t t
49869 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49870 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49871 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49872 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49873 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49874 s,@RESCOMP@,$RESCOMP,;t t
49875 s,@RESFLAGS@,$RESFLAGS,;t t
49876 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49877 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49878 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49879 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49880 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49881 s,@MACSETFILE@,$MACSETFILE,;t t
49883 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49884 s,@LIBOBJS@,$LIBOBJS,;t t
49885 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49890 cat >>$CONFIG_STATUS <<\_ACEOF
49891 # Split the substitutions into bite-sized pieces for seds with
49892 # small command number limits, like on Digital OSF/1 and HP-UX.
49893 ac_max_sed_lines
=48
49894 ac_sed_frag
=1 # Number of current file.
49895 ac_beg
=1 # First line for current file.
49896 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49899 while $ac_more_lines; do
49900 if test $ac_beg -gt 1; then
49901 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49903 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49905 if test ! -s $tmp/subs.frag
; then
49906 ac_more_lines
=false
49908 # The purpose of the label and of the branching condition is to
49909 # speed up the sed processing (if there are no `@' at all, there
49910 # is no need to browse any of the substitutions).
49911 # These are the two extra sed commands mentioned above.
49913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49914 if test -z "$ac_sed_cmds"; then
49915 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49917 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49919 ac_sed_frag
=`expr $ac_sed_frag + 1`
49921 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49924 if test -z "$ac_sed_cmds"; then
49927 fi # test -n "$CONFIG_FILES"
49930 cat >>$CONFIG_STATUS <<\_ACEOF
49931 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49932 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49934 - | *:- | *:-:* ) # input from stdin
49936 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49937 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49938 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49939 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49940 * ) ac_file_in
=$ac_file.
in ;;
49943 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49944 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49946 X"$ac_file" : 'X\(//\)[^/]' \| \
49947 X"$ac_file" : 'X\(//\)$' \| \
49948 X"$ac_file" : 'X\(/\)' \| \
49949 . : '\(.\)' 2>/dev/null ||
49951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49953 /^X\(\/\/\)$/{ s//\1/; q; }
49954 /^X\(\/\).*/{ s//\1/; q; }
49956 { if $as_mkdir_p; then
49961 while test ! -d "$as_dir"; do
49962 as_dirs
="$as_dir $as_dirs"
49963 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49965 X"$as_dir" : 'X\(//\)[^/]' \| \
49966 X"$as_dir" : 'X\(//\)$' \| \
49967 X"$as_dir" : 'X\(/\)' \| \
49968 . : '\(.\)' 2>/dev/null ||
49970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49972 /^X\(\/\/\)$/{ s//\1/; q; }
49973 /^X\(\/\).*/{ s//\1/; q; }
49976 test ! -n "$as_dirs" || mkdir $as_dirs
49977 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49978 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49979 { (exit 1); exit 1; }; }; }
49983 if test "$ac_dir" != .
; then
49984 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49985 # A "../" for each directory in $ac_dir_suffix.
49986 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49988 ac_dir_suffix
= ac_top_builddir
=
49992 .
) # No --srcdir option. We are building in place.
49994 if test -z "$ac_top_builddir"; then
49997 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49999 [\\/]* | ?
:[\\/]* ) # Absolute path.
50000 ac_srcdir
=$srcdir$ac_dir_suffix;
50001 ac_top_srcdir
=$srcdir ;;
50002 *) # Relative path.
50003 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50004 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50007 # Do not use `cd foo && pwd` to compute absolute paths, because
50008 # the directories may not exist.
50010 .
) ac_abs_builddir
="$ac_dir";;
50013 .
) ac_abs_builddir
=`pwd`;;
50014 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50015 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50018 case $ac_abs_builddir in
50019 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50021 case ${ac_top_builddir}.
in
50022 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50023 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50024 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50027 case $ac_abs_builddir in
50028 .
) ac_abs_srcdir
=$ac_srcdir;;
50031 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50032 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50033 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50036 case $ac_abs_builddir in
50037 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50039 case $ac_top_srcdir in
50040 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50041 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50042 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50048 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50049 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50052 if test x
"$ac_file" != x
-; then
50053 { echo "$as_me:$LINENO: creating $ac_file" >&5
50054 echo "$as_me: creating $ac_file" >&6;}
50057 # Let's still pretend it is `configure' which instantiates (i.e., don't
50058 # use $as_me), people would be surprised to read:
50059 # /* config.h. Generated by config.status. */
50060 if test x
"$ac_file" = x
-; then
50063 configure_input
="$ac_file. "
50065 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50066 sed 's,.*/,,'` by configure."
50068 # First look for the input files in the build tree, otherwise in the
50070 ac_file_inputs
=`IFS=:
50071 for f in $ac_file_in; do
50073 -) echo $tmp/stdin ;;
50075 # Absolute (can't be DOS-style, as IFS=:)
50076 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50077 echo "$as_me: error: cannot find input file: $f" >&2;}
50078 { (exit 1); exit 1; }; }
50081 if test -f "$f"; then
50084 elif test -f "$srcdir/$f"; then
50089 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50090 echo "$as_me: error: cannot find input file: $f" >&2;}
50091 { (exit 1); exit 1; }; }
50094 done` || { (exit 1); exit 1; }
50096 cat >>$CONFIG_STATUS <<_ACEOF
50100 cat >>$CONFIG_STATUS <<\_ACEOF
50102 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50103 s
,@configure_input@
,$configure_input,;t t
50104 s
,@srcdir@
,$ac_srcdir,;t t
50105 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50106 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50107 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50108 s
,@builddir@
,$ac_builddir,;t t
50109 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50110 s
,@top_builddir@
,$ac_top_builddir,;t t
50111 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50112 s
,@INSTALL@
,$ac_INSTALL,;t t
50113 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50115 if test x"$ac_file" != x-; then
50116 mv $tmp/out $ac_file
50122 # Run the commands associated with the file.
50124 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50125 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50129 cat >>$CONFIG_STATUS <<\_ACEOF
50132 # CONFIG_HEADER section.
50135 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50136 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50138 # ac_d sets the value in "#define NAME VALUE" lines.
50139 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50140 ac_dB
='[ ].*$,\1#\2'
50143 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50144 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50145 ac_uB
='$,\1#\2define\3'
50149 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50150 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50152 - | *:- | *:-:* ) # input from stdin
50154 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50155 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50156 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50157 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50158 * ) ac_file_in
=$ac_file.
in ;;
50161 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50162 echo "$as_me: creating $ac_file" >&6;}
50164 # First look for the input files in the build tree, otherwise in the
50166 ac_file_inputs
=`IFS=:
50167 for f in $ac_file_in; do
50169 -) echo $tmp/stdin ;;
50171 # Absolute (can't be DOS-style, as IFS=:)
50172 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50173 echo "$as_me: error: cannot find input file: $f" >&2;}
50174 { (exit 1); exit 1; }; }
50175 # Do quote $f, to prevent DOS paths from being IFS'd.
50178 if test -f "$f"; then
50181 elif test -f "$srcdir/$f"; then
50186 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50187 echo "$as_me: error: cannot find input file: $f" >&2;}
50188 { (exit 1); exit 1; }; }
50191 done` || { (exit 1); exit 1; }
50192 # Remove the trailing spaces.
50193 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50197 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50198 # `conftest.undefs', that substitutes the proper values into
50199 # config.h.in to produce config.h. The first handles `#define'
50200 # templates, and the second `#undef' templates.
50201 # And first: Protect against being on the right side of a sed subst in
50202 # config.status. Protect against being in an unquoted here document
50203 # in config.status.
50204 rm -f conftest.defines conftest.undefs
50205 # Using a here document instead of a string reduces the quoting nightmare.
50206 # Putting comments in sed scripts is not portable.
50208 # `end' is used to avoid that the second main sed command (meant for
50209 # 0-ary CPP macros) applies to n-ary macro definitions.
50210 # See the Autoconf documentation for `clear'.
50211 cat >confdef2sed.
sed <<\_ACEOF
50216 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50218 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50221 # If some macros were called several times there might be several times
50222 # the same #defines, which is useless. Nevertheless, we may not want to
50223 # sort them, since we want the *last* AC-DEFINE to be honored.
50224 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50225 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50226 rm -f confdef2sed.sed
50228 # This sed command replaces #undef with comments. This is necessary, for
50229 # example, in the case of _POSIX_SOURCE, which is predefined and required
50230 # on some systems where configure will not decide to define it.
50231 cat >>conftest.undefs <<\_ACEOF
50232 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50235 # Break up conftest.defines because some shells have a limit on the size
50236 # of here documents, and old seds have small limits too (100 cmds).
50237 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50238 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50239 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50240 echo ' :' >>$CONFIG_STATUS
50241 rm -f conftest.tail
50242 while grep . conftest.defines >/dev/null
50244 # Write a limited-size here document to $tmp/defines.sed.
50245 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50246 # Speed up: don't consider the non `#define' lines.
50247 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50248 # Work around the forget-to-reset-the-flag bug.
50249 echo 't clr' >>$CONFIG_STATUS
50250 echo ': clr' >>$CONFIG_STATUS
50251 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50253 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50255 mv $tmp/out $tmp/in
50257 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50258 rm -f conftest.defines
50259 mv conftest.
tail conftest.defines
50261 rm -f conftest.defines
50262 echo ' fi # grep' >>$CONFIG_STATUS
50263 echo >>$CONFIG_STATUS
50265 # Break up conftest.undefs because some shells have a limit on the size
50266 # of here documents, and old seds have small limits too (100 cmds).
50267 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50268 rm -f conftest.
tail
50269 while grep . conftest.undefs
>/dev
/null
50271 # Write a limited-size here document to $tmp/undefs.sed.
50272 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50273 # Speed up: don't consider the non
`#undef'
50274 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50275 # Work around the forget-to-reset-the-flag bug.
50276 echo 't clr' >>$CONFIG_STATUS
50277 echo ': clr' >>$CONFIG_STATUS
50278 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50280 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50282 mv $tmp/out $tmp/in
50284 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50285 rm -f conftest.undefs
50286 mv conftest.tail conftest.undefs
50288 rm -f conftest.undefs
50290 cat >>$CONFIG_STATUS <<\_ACEOF
50291 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50292 # use $as_me), people would be surprised to read:
50293 # /* config.h. Generated by config.status. */
50294 if test x
"$ac_file" = x
-; then
50295 echo "/* Generated by configure. */" >$tmp/config.h
50297 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50299 cat $tmp/in >>$tmp/config.h
50301 if test x
"$ac_file" != x
-; then
50302 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50303 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50304 echo "$as_me: $ac_file is unchanged" >&6;}
50306 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50308 X"$ac_file" : 'X\(//\)[^/]' \| \
50309 X"$ac_file" : 'X\(//\)$' \| \
50310 X"$ac_file" : 'X\(/\)' \| \
50311 . : '\(.\)' 2>/dev/null ||
50313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50315 /^X\(\/\/\)$/{ s//\1/; q; }
50316 /^X\(\/\).*/{ s//\1/; q; }
50318 { if $as_mkdir_p; then
50323 while test ! -d "$as_dir"; do
50324 as_dirs
="$as_dir $as_dirs"
50325 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50327 X"$as_dir" : 'X\(//\)[^/]' \| \
50328 X"$as_dir" : 'X\(//\)$' \| \
50329 X"$as_dir" : 'X\(/\)' \| \
50330 . : '\(.\)' 2>/dev/null ||
50332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50334 /^X\(\/\/\)$/{ s//\1/; q; }
50335 /^X\(\/\).*/{ s//\1/; q; }
50338 test ! -n "$as_dirs" || mkdir $as_dirs
50339 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50340 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50341 { (exit 1); exit 1; }; }; }
50344 mv $tmp/config.h
$ac_file
50348 rm -f $tmp/config.h
50352 cat >>$CONFIG_STATUS <<\_ACEOF
50355 # CONFIG_COMMANDS section.
50357 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50358 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50359 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50360 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50361 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50362 X"$ac_dest" : 'X\(//\)[^/]' \| \
50363 X"$ac_dest" : 'X\(//\)$' \| \
50364 X"$ac_dest" : 'X\(/\)' \| \
50365 . : '\(.\)' 2>/dev/null ||
50367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50369 /^X\(\/\/\)$/{ s//\1/; q; }
50370 /^X\(\/\).*/{ s//\1/; q; }
50372 { if $as_mkdir_p; then
50377 while test ! -d "$as_dir"; do
50378 as_dirs
="$as_dir $as_dirs"
50379 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50381 X"$as_dir" : 'X\(//\)[^/]' \| \
50382 X"$as_dir" : 'X\(//\)$' \| \
50383 X"$as_dir" : 'X\(/\)' \| \
50384 . : '\(.\)' 2>/dev/null ||
50386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50388 /^X\(\/\/\)$/{ s//\1/; q; }
50389 /^X\(\/\).*/{ s//\1/; q; }
50392 test ! -n "$as_dirs" || mkdir $as_dirs
50393 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50394 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50395 { (exit 1); exit 1; }; }; }
50399 if test "$ac_dir" != .
; then
50400 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50401 # A "../" for each directory in $ac_dir_suffix.
50402 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50404 ac_dir_suffix
= ac_top_builddir
=
50408 .
) # No --srcdir option. We are building in place.
50410 if test -z "$ac_top_builddir"; then
50413 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50415 [\\/]* | ?
:[\\/]* ) # Absolute path.
50416 ac_srcdir
=$srcdir$ac_dir_suffix;
50417 ac_top_srcdir
=$srcdir ;;
50418 *) # Relative path.
50419 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50420 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50423 # Do not use `cd foo && pwd` to compute absolute paths, because
50424 # the directories may not exist.
50426 .
) ac_abs_builddir
="$ac_dir";;
50429 .
) ac_abs_builddir
=`pwd`;;
50430 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50431 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50434 case $ac_abs_builddir in
50435 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50437 case ${ac_top_builddir}.
in
50438 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50439 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50440 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50443 case $ac_abs_builddir in
50444 .
) ac_abs_srcdir
=$ac_srcdir;;
50447 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50448 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50449 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50452 case $ac_abs_builddir in
50453 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50455 case $ac_top_srcdir in
50456 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50457 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50458 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50463 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50464 echo "$as_me: executing $ac_dest commands" >&6;}
50467 mkdir -p $outdir &&
50468 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50470 wx
-config ) rm -f wx
-config
50471 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50477 cat >>$CONFIG_STATUS <<\_ACEOF
50479 { (exit 0); exit 0; }
50481 chmod +x
$CONFIG_STATUS
50482 ac_clean_files
=$ac_clean_files_save
50485 # configure is writing to config.log, and then calls config.status.
50486 # config.status does its own redirection, appending to config.log.
50487 # Unfortunately, on DOS this fails, as config.log is still kept open
50488 # by configure, so config.status won't be able to write to it; its
50489 # output is simply discarded. So we exec the FD to /dev/null,
50490 # effectively closing config.log, so it can be properly (re)opened and
50491 # appended to by config.status. When coming back to configure, we
50492 # need to make the FD available again.
50493 if test "$no_create" != yes; then
50495 ac_config_status_args
=
50496 test "$silent" = yes &&
50497 ac_config_status_args
="$ac_config_status_args --quiet"
50499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50502 # would make configure fail if this is the last instruction.
50503 $ac_cs_success || { (exit 1); exit 1; }
50507 # CONFIG_SUBDIRS section.
50509 if test "$no_recursion" != yes; then
50511 # Remove --cache-file and --srcdir arguments so they do not pile up.
50512 ac_sub_configure_args
=
50514 for ac_arg
in $ac_configure_args; do
50515 if test -n "$ac_prev"; then
50520 -cache-file | --cache-file | --cache-fil | --cache-fi \
50521 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50522 ac_prev
=cache_file
;;
50523 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50524 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50527 --config-cache | -C)
50529 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50531 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50533 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50535 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50537 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50541 # Always prepend --prefix to ensure using the same prefix
50542 # in subdir configurations.
50543 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50546 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50548 # Do not complain, so a configure script can configure whichever
50549 # parts of a large source tree are present.
50550 test -d $srcdir/$ac_dir || continue
50552 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50553 echo "$as_me: configuring in $ac_dir" >&6;}
50554 { if $as_mkdir_p; then
50559 while test ! -d "$as_dir"; do
50560 as_dirs
="$as_dir $as_dirs"
50561 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50562 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50563 X"$as_dir" : 'X\(//\)[^/]' \| \
50564 X"$as_dir" : 'X\(//\)$' \| \
50565 X"$as_dir" : 'X\(/\)' \| \
50566 . : '\(.\)' 2>/dev/null ||
50568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50569 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50570 /^X\(\/\/\)$/{ s//\1/; q; }
50571 /^X\(\/\).*/{ s//\1/; q; }
50574 test ! -n "$as_dirs" || mkdir $as_dirs
50575 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50576 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50577 { (exit 1); exit 1; }; }; }
50581 if test "$ac_dir" != .
; then
50582 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50583 # A "../" for each directory in $ac_dir_suffix.
50584 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50586 ac_dir_suffix
= ac_top_builddir
=
50590 .
) # No --srcdir option. We are building in place.
50592 if test -z "$ac_top_builddir"; then
50595 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50597 [\\/]* | ?
:[\\/]* ) # Absolute path.
50598 ac_srcdir
=$srcdir$ac_dir_suffix;
50599 ac_top_srcdir
=$srcdir ;;
50600 *) # Relative path.
50601 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50602 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50605 # Do not use `cd foo && pwd` to compute absolute paths, because
50606 # the directories may not exist.
50608 .
) ac_abs_builddir
="$ac_dir";;
50611 .
) ac_abs_builddir
=`pwd`;;
50612 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50613 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50616 case $ac_abs_builddir in
50617 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50619 case ${ac_top_builddir}.
in
50620 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50621 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50622 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50625 case $ac_abs_builddir in
50626 .
) ac_abs_srcdir
=$ac_srcdir;;
50629 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50630 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50631 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50634 case $ac_abs_builddir in
50635 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50637 case $ac_top_srcdir in
50638 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50639 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50640 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50647 # Check for guested configure; otherwise get Cygnus style configure.
50648 if test -f $ac_srcdir/configure.gnu
; then
50649 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50650 elif test -f $ac_srcdir/configure
; then
50651 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50652 elif test -f $ac_srcdir/configure.
in; then
50653 ac_sub_configure
=$ac_configure
50655 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50656 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50660 # The recursion is here.
50661 if test -n "$ac_sub_configure"; then
50662 # Make the cache file name correct relative to the subdirectory.
50663 case $cache_file in
50664 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50665 *) # Relative path.
50666 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50669 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50670 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50671 # The eval makes quoting arguments work.
50672 eval $ac_sub_configure $ac_sub_configure_args \
50673 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50674 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50675 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50676 { (exit 1); exit 1; }; }
50685 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50687 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50688 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50690 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50691 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50692 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50694 echo " What level of wxWidgets compatibility should be enabled?"
50695 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50696 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50698 echo " Which libraries should wxWidgets use?"
50699 echo " jpeg ${wxUSE_LIBJPEG-none}"
50700 echo " png ${wxUSE_LIBPNG-none}"
50701 echo " regex ${wxUSE_REGEX}"
50702 echo " tiff ${wxUSE_LIBTIFF-none}"
50703 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50704 echo " xpm ${wxUSE_LIBXPM-none}"
50706 echo " zlib ${wxUSE_ZLIB}"
50707 echo " odbc ${wxUSE_ODBC}"
50708 echo " expat ${wxUSE_EXPAT}"
50709 echo " libmspack ${wxUSE_LIBMSPACK}"
50710 echo " sdl ${wxUSE_LIBSDL}"