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-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-stc use wxStyledTextCtrl library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-clipboard use wxClipboard class
1049 --enable-dnd use Drag'n
'Drop classes
1050 --enable-metafile use win32 metafiles
1051 --enable-controls use all usual controls
1052 --enable-accel use accelerators
1053 --enable-animatectrl use wxAnimationCtrl class
1054 --enable-button use wxButton class
1055 --enable-bmpbutton use wxBitmapButton class
1056 --enable-bmpcombobox use wxBitmapComboBox class
1057 --enable-calendar use wxCalendarCtrl class
1058 --enable-caret use wxCaret class
1059 --enable-checkbox use wxCheckBox class
1060 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1061 --enable-choice use wxChoice class
1062 --enable-choicebook use wxChoicebook class
1063 --enable-collpane use wxCollapsiblePane class
1064 --enable-colourpicker use wxColourPickerCtrl class
1065 --enable-combobox use wxComboBox class
1066 --enable-comboctrl use wxComboCtrl class
1067 --enable-datepick use wxDatePickerCtrl class
1068 --enable-dirpicker use wxDirPickerCtrl class
1069 --enable-display use wxDisplay class
1070 --enable-detect_sm use code to detect X11 session manager
1071 --enable-editablebox use wxEditableListBox class
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-searchctrl use wxSearchCtrl class
1089 --enable-slider use wxSlider class
1090 --enable-spinbtn use wxSpinButton class
1091 --enable-spinctrl use wxSpinCtrl class
1092 --enable-splitter use wxSplitterWindow class
1093 --enable-statbmp use wxStaticBitmap class
1094 --enable-statbox use wxStaticBox class
1095 --enable-statline use wxStaticLine class
1096 --enable-stattext use wxStaticText class
1097 --enable-statusbar use wxStatusBar class
1098 --enable-tabdialog use wxTabControl class
1099 --enable-textctrl use wxTextCtrl class
1100 --enable-togglebtn use wxToggleButton class
1101 --enable-toolbar use wxToolBar class
1102 --enable-tbarnative use native wxToolBar class
1103 --enable-treebook use wxTreebook class
1104 --enable-toolbook use wxToolbook class
1105 --enable-treectrl use wxTreeCtrl class
1106 --enable-tipwindow use wxTipWindow class
1107 --enable-popupwin use wxPopUpWindow class
1108 --enable-commondlg use all common dialogs
1109 --enable-aboutdlg use wxAboutBox
1110 --enable-choicedlg use wxChoiceDialog
1111 --enable-coldlg use wxColourDialog
1112 --enable-filedlg use wxFileDialog
1113 --enable-finddlg use wxFindReplaceDialog
1114 --enable-fontdlg use wxFontDialog
1115 --enable-dirdlg use wxDirDialog
1116 --enable-msgdlg use wxMessageDialog
1117 --enable-numberdlg use wxNumberEntryDialog
1118 --enable-splash use wxSplashScreen
1119 --enable-textdlg use wxTextDialog
1120 --enable-tipdlg use startup tips
1121 --enable-progressdlg use wxProgressDialog
1122 --enable-wizarddlg use wxWizard
1123 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1124 --enable-miniframe use wxMiniFrame class
1125 --enable-tooltips use wxToolTip class
1126 --enable-splines use spline drawing code
1127 --enable-mousewheel use mousewheel
1128 --enable-validators use wxValidator and derived classes
1129 --enable-busyinfo use wxBusyInfo
1130 --enable-joystick use wxJoystick
1131 --enable-metafiles use wxMetaFile (Win32 only)
1132 --enable-dragimage use wxDragImage
1133 --enable-accessibility enable accessibility support
1134 --enable-dccache cache temporary wxDC objects (Win32 only)
1135 --enable-palette use wxPalette class
1136 --enable-image use wxImage class
1137 --enable-gif use gif images (GIF file format)
1138 --enable-pcx use pcx images (PCX file format)
1139 --enable-tga use tga images (TGA file format)
1140 --enable-iff use iff images (IFF file format)
1141 --enable-pnm use pnm images (PNM file format)
1142 --enable-xpm use xpm images (XPM file format)
1143 --enable-icocur use Windows ICO and CUR formats
1144 --enable-official_build official build of wxWidgets (win32 DLL only)
1145 --enable-vendor=VENDOR vendor name (win32 DLL only)
1146 --disable-largefile omit support for large files
1147 --disable-gtktest do not try to compile and run a test GTK+ program
1148 --disable-gtktest Do not try to compile and run a test GTK program
1149 --disable-sdltest Do not try to compile and run a test SDL program
1150 --enable-omf use OMF object format (OS/2)
1151 --disable-dependency-tracking
1152 don't use dependency tracking even
if the compiler
1154 --disable-precomp-headers
1155 don
't use precompiled headers even if compiler can
1158 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1159 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1160 --without-subdirs don't generate makefiles
for samples
/demos
/...
1161 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1162 --with-motif use Motif
/Lesstif
1163 --with-mac use Mac OS X
1164 --with-cocoa use Cocoa
1165 --with-wine use Wine
1166 --with-msw use MS
-Windows
1167 --with-pm use OS
/2 Presentation Manager
1168 --with-mgl use SciTech MGL
1169 --with-directfb use DirectFB
1170 --with-microwin use MicroWindows
1172 --with-libpng use libpng
(PNG image format
)
1173 --with-libjpeg use libjpeg
(JPEG
file format
)
1174 --with-libtiff use libtiff
(TIFF
file format
)
1175 --with-libxpm use libxpm
(XPM
file format
)
1176 --with-libmspack use libmspack
(CHM
help files loading
)
1177 --with-sdl use SDL
for audio on Unix
1178 --with-gnomeprint use GNOME print
for printing under GNOME
1179 --with-gnomevfs use GNOME VFS
for associating MIME types
1180 --with-hildon use Hildon framework
for Nokia
770
1181 --with-opengl use OpenGL
(or Mesa
)
1182 --with-themes=all
|list use only the specified comma
-separated list of wxUniversal themes
1183 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1184 --with-regex enable support
for wxRegEx class
1185 --with-zlib use zlib
for LZW compression
1186 --with-odbc use the IODBC and wxODBC classes
1187 --with-expat enable XML support using expat parser
1188 --with-flavour=NAME specify a name to identify this build
1189 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1190 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1191 --with-x use the X Window System
1192 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1193 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1194 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1195 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1196 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1198 Some influential environment variables
:
1199 CC C compiler
command
1200 CFLAGS C compiler flags
1201 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1202 nonstandard directory
<lib dir
>
1203 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1204 headers
in a nonstandard directory
<include dir
>
1206 CXX C
++ compiler
command
1207 CXXFLAGS C
++ compiler flags
1208 PKG_CONFIG path to pkg
-config utility
1210 C compiler flags
for DIRECTFB
, overriding pkg
-config
1212 linker flags
for DIRECTFB
, overriding pkg
-config
1214 C compiler flags
for PANGOX
, overriding pkg
-config
1215 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
1217 C compiler flags
for PANGOFT2
, overriding pkg
-config
1219 linker flags
for PANGOFT2
, overriding pkg
-config
1221 C compiler flags
for PANGOXFT
, overriding pkg
-config
1223 linker flags
for PANGOXFT
, overriding pkg
-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags
for LIBGNOMEPRINTUI
, overriding pkg
-config
1229 C compiler flags
for GNOMEVFS
, overriding pkg
-config
1231 linker flags
for GNOMEVFS
, overriding pkg
-config
1233 C compiler flags
for HILDON
, overriding pkg
-config
1234 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
1236 C compiler flags
for CAIRO
, overriding pkg
-config
1237 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
1238 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
1239 GST_LIBS linker flags
for GST
, overriding pkg
-config
1241 Use these variables to override the choices made by
`configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1260 ac_dir_suffix= ac_top_builddir=
1264 .) # No --srcdir option. We are building in place.
1266 if test -z "$ac_top_builddir"; then
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1279 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1280 # the directories may not exist.
1282 .) ac_abs_builddir="$ac_dir";;
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1329 $ac_configure --help
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1340 wxWidgets configure 2.9.0
1341 generated by GNU Autoconf 2.59
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1354 It was created by wxWidgets $as_me 2.9.0, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1366 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1367 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1368 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1369 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1370 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1372 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1373 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1375 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1376 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1377 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1378 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1379 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1380 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1381 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_must_keep_next=false
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 -* ) ac_must_keep_next=true ;;
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close
' the trap.
1461 trap 'exit_status
=$?
1462 # Save into config.log some information that might help in debugging.
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1472 # The following way of writing the cache mishandles newlines in values,
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1495 for ac_var
in $ac_subst_vars
1497 eval ac_val
=$
`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1502 if test -n "$ac_subst_files"; then
1509 for ac_var
in $ac_subst_files
1511 eval ac_val
=$
`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1517 if test -s confdefs.h
; then
1524 sed "/^$/d" confdefs.h
| sort
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1531 rm -f core
*.core
&&
1532 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1545 # Predefined preprocessor variables.
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's
/^
/| /' "$ac_site_file" >&5
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1607 # Check that the precious variables saved in the cache have kept the same
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1620 ac_cache_corrupted=: ;;
1622 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1629 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1654 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1661 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1699 elif test -f $ac_dir/install.sh; then
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1703 elif test -f $ac_dir/shtool; then
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1745 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1747 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1767 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1769 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1791 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1799 program_prefix=${target_alias}-
1803 wx_major_version_number=2
1804 wx_minor_version_number=9
1806 wx_subrelease_number=0
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1815 wx_top_builddir="`pwd`"
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1844 DEFAULT_wxUSE_COCOA=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1869 SAMPLES_RPATH_POSTLINK=
1871 DEFAULT_STD_FLAG=yes
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879 cat >>confdefs.h <<\_ACEOF
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1888 cat >>confdefs.h <<\_ACEOF
1893 if test "x$TMP" = "xalpha"; then
1895 cat >>confdefs.h <<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1905 if test "x$TMP" = "xalpha"; then
1907 cat >>confdefs.h <<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1914 *-*-irix5* | *-*-irix6* )
1917 cat >>confdefs.h <<\_ACEOF
1921 cat >>confdefs.h <<\_ACEOF
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1931 cat >>confdefs.h <<\_ACEOF
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1939 cat >>confdefs.h <<\_ACEOF
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1950 cat >>confdefs.h <<\_ACEOF
1954 cat >>confdefs.h <<\_ACEOF
1958 cat >>confdefs.h <<\_ACEOF
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1971 cat >>confdefs.h <<\_ACEOF
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1977 *-*-openbsd*|*-*-mirbsd*)
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1984 cat >>confdefs.h <<\_ACEOF
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1997 cat >>confdefs.h <<\_ACEOF
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2009 cat >>confdefs.h <<\_ACEOF
2013 cat >>confdefs.h <<\_ACEOF
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2023 cat >>confdefs.h <<\_ACEOF
2027 cat >>confdefs.h <<\_ACEOF
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2036 cat >>confdefs.h <<\_ACEOF
2040 cat >>confdefs.h <<\_ACEOF
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2051 cat >>confdefs.h <<\_ACEOF
2055 cat >>confdefs.h <<\_ACEOF
2059 cat >>confdefs.h <<\_ACEOF
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2076 *-*-cygwin* | *-*-mingw32* )
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2085 cat >>confdefs.h <<\_ACEOF
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2099 cat >>confdefs.h <<\_ACEOF
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2112 for ac_dir in $PATH; do
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2120 export PATH="$ac_TEMP_PATH"
2129 cat >>confdefs.h <<\_ACEOF
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2144 powerpc-apple-macos* )
2146 ac_cv_c_bigendian=yes
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2154 cat >>confdefs.h <<\_ACEOF
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184 DEFAULT_wxUSE_EXTENDED_RTTI=no
2186 DEFAULT_wxUSE_NANOX=no
2188 DEFAULT_wxUSE_THREADS=yes
2190 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2191 DEFAULT_wxUSE_OPTIMISE=no
2192 DEFAULT_wxUSE_PROFILE=no
2193 DEFAULT_wxUSE_NO_DEPS=no
2194 DEFAULT_wxUSE_VARARG_MACROS=no
2195 DEFAULT_wxUSE_NO_RTTI=no
2196 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2197 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2198 DEFAULT_wxUSE_RPATH=yes
2199 DEFAULT_wxUSE_PERMISSIVE=no
2200 DEFAULT_wxUSE_DEBUG_FLAG=yes
2201 DEFAULT_wxUSE_DEBUG_INFO=yes
2202 DEFAULT_wxUSE_DEBUG_GDB=yes
2203 DEFAULT_wxUSE_MEM_TRACING=no
2204 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2205 DEFAULT_wxUSE_DMALLOC=no
2206 DEFAULT_wxUSE_APPLE_IEEE=no
2208 DEFAULT_wxUSE_EXCEPTIONS=no
2209 DEFAULT_wxUSE_LOG=yes
2210 DEFAULT_wxUSE_LOGWINDOW=no
2211 DEFAULT_wxUSE_LOGGUI=no
2212 DEFAULT_wxUSE_LOGDIALOG=no
2214 DEFAULT_wxUSE_GUI=yes
2215 DEFAULT_wxUSE_CONTROLS=no
2217 DEFAULT_wxUSE_REGEX=no
2218 DEFAULT_wxUSE_XML=no
2219 DEFAULT_wxUSE_EXPAT=no
2220 DEFAULT_wxUSE_ZLIB=no
2221 DEFAULT_wxUSE_LIBPNG=no
2222 DEFAULT_wxUSE_LIBJPEG=no
2223 DEFAULT_wxUSE_LIBTIFF=no
2224 DEFAULT_wxUSE_LIBXPM=no
2225 DEFAULT_wxUSE_LIBMSPACK=no
2226 DEFAULT_wxUSE_LIBSDL=no
2227 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2228 DEFAULT_wxUSE_LIBGNOMEVFS=no
2229 DEFAULT_wxUSE_LIBHILDON=no
2230 DEFAULT_wxUSE_ODBC=no
2231 DEFAULT_wxUSE_OPENGL=no
2233 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2234 DEFAULT_wxUSE_STACKWALKER=no
2235 DEFAULT_wxUSE_DEBUGREPORT=no
2236 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2237 DEFAULT_wxUSE_STD_IOSTREAM=no
2238 DEFAULT_wxUSE_STD_STRING=no
2239 DEFAULT_wxUSE_CMDLINE_PARSER=no
2240 DEFAULT_wxUSE_DATETIME=no
2241 DEFAULT_wxUSE_TIMER=no
2242 DEFAULT_wxUSE_STOPWATCH=no
2243 DEFAULT_wxUSE_FILE=no
2244 DEFAULT_wxUSE_FFILE=no
2245 DEFAULT_wxUSE_STDPATHS=no
2246 DEFAULT_wxUSE_TEXTBUFFER=no
2247 DEFAULT_wxUSE_TEXTFILE=no
2248 DEFAULT_wxUSE_SOUND=no
2249 DEFAULT_wxUSE_MEDIACTRL=no
2250 DEFAULT_wxUSE_GSTREAMER8=no
2251 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2252 DEFAULT_wxUSE_INTL=no
2253 DEFAULT_wxUSE_CONFIG=no
2254 DEFAULT_wxUSE_FONTMAP=no
2255 DEFAULT_wxUSE_STREAMS=no
2256 DEFAULT_wxUSE_SOCKETS=no
2257 DEFAULT_wxUSE_OLE=no
2258 DEFAULT_wxUSE_DATAOBJ=no
2259 DEFAULT_wxUSE_DIALUP_MANAGER=no
2260 DEFAULT_wxUSE_JOYSTICK=no
2261 DEFAULT_wxUSE_DYNLIB_CLASS=no
2262 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2263 DEFAULT_wxUSE_LONGLONG=no
2264 DEFAULT_wxUSE_GEOMETRY=no
2266 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2267 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2268 DEFAULT_wxUSE_POSTSCRIPT=no
2270 DEFAULT_wxUSE_CLIPBOARD=no
2271 DEFAULT_wxUSE_TOOLTIPS=no
2272 DEFAULT_wxUSE_DRAG_AND_DROP=no
2273 DEFAULT_wxUSE_DRAGIMAGE=no
2274 DEFAULT_wxUSE_SPLINES=no
2275 DEFAULT_wxUSE_MOUSEWHEEL=no
2277 DEFAULT_wxUSE_MDI=no
2278 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2279 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2280 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2282 DEFAULT_wxUSE_CONSTRAINTS=no
2283 DEFAULT_wxUSE_IPC=no
2284 DEFAULT_wxUSE_HELP=no
2285 DEFAULT_wxUSE_MS_HTML_HELP=no
2286 DEFAULT_wxUSE_WXHTML_HELP=no
2287 DEFAULT_wxUSE_TREELAYOUT=no
2288 DEFAULT_wxUSE_METAFILE=no
2289 DEFAULT_wxUSE_MIMETYPE=no
2290 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2291 DEFAULT_wxUSE_PROTOCOL=no
2292 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FTP=no
2294 DEFAULT_wxUSE_PROTOCOL_FILE=no
2295 DEFAULT_wxUSE_URL=no
2296 DEFAULT_wxUSE_VARIANT=no
2298 DEFAULT_wxUSE_ABOUTDLG=no
2299 DEFAULT_wxUSE_COMMONDLGS=no
2300 DEFAULT_wxUSE_CHOICEDLG=no
2301 DEFAULT_wxUSE_COLOURDLG=no
2302 DEFAULT_wxUSE_DIRDLG=no
2303 DEFAULT_wxUSE_FILEDLG=no
2304 DEFAULT_wxUSE_FINDREPLDLG=no
2305 DEFAULT_wxUSE_FONTDLG=no
2306 DEFAULT_wxUSE_MSGDLG=no
2307 DEFAULT_wxUSE_NUMBERDLG=no
2308 DEFAULT_wxUSE_TEXTDLG=no
2309 DEFAULT_wxUSE_SPLASH=no
2310 DEFAULT_wxUSE_STARTUP_TIPS=no
2311 DEFAULT_wxUSE_PROGRESSDLG=no
2312 DEFAULT_wxUSE_WIZARDDLG=no
2314 DEFAULT_wxUSE_MENUS=no
2315 DEFAULT_wxUSE_MINIFRAME=no
2316 DEFAULT_wxUSE_HTML=no
2317 DEFAULT_wxUSE_RICHTEXT=no
2318 DEFAULT_wxUSE_XRC=no
2319 DEFAULT_wxUSE_AUI=no
2320 DEFAULT_wxUSE_STC=no
2321 DEFAULT_wxUSE_WEBKIT=no
2322 DEFAULT_wxUSE_FILESYSTEM=no
2323 DEFAULT_wxUSE_FS_INET=no
2324 DEFAULT_wxUSE_FS_ZIP=no
2325 DEFAULT_wxUSE_FS_ARCHIVE=no
2326 DEFAULT_wxUSE_BUSYINFO=no
2327 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2328 DEFAULT_wxUSE_ZIPSTREAM=no
2329 DEFAULT_wxUSE_TARSTREAM=no
2330 DEFAULT_wxUSE_VALIDATORS=no
2332 DEFAULT_wxUSE_ACCEL=no
2333 DEFAULT_wxUSE_ANIMATIONCTRL=no
2334 DEFAULT_wxUSE_BUTTON=no
2335 DEFAULT_wxUSE_BMPBUTTON=no
2336 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2337 DEFAULT_wxUSE_CALCTRL=no
2338 DEFAULT_wxUSE_CARET=no
2339 DEFAULT_wxUSE_CHECKBOX=no
2340 DEFAULT_wxUSE_CHECKLST=no
2341 DEFAULT_wxUSE_CHOICE=no
2342 DEFAULT_wxUSE_CHOICEBOOK=no
2343 DEFAULT_wxUSE_COLLPANE=no
2344 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2345 DEFAULT_wxUSE_COMBOBOX=no
2346 DEFAULT_wxUSE_COMBOCTRL=no
2347 DEFAULT_wxUSE_DATEPICKCTRL=no
2348 DEFAULT_wxUSE_DISPLAY=no
2349 DEFAULT_wxUSE_DETECT_SM=no
2350 DEFAULT_wxUSE_DIRPICKERCTRL=no
2351 DEFAULT_wxUSE_EDITABLELISTBOX=no
2352 DEFAULT_wxUSE_FILEPICKERCTRL=no
2353 DEFAULT_wxUSE_FONTPICKERCTRL=no
2354 DEFAULT_wxUSE_GAUGE=no
2355 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2356 DEFAULT_wxUSE_GRID=no
2357 DEFAULT_wxUSE_HYPERLINKCTRL=no
2358 DEFAULT_wxUSE_DATAVIEWCTRL=no
2359 DEFAULT_wxUSE_IMAGLIST=no
2360 DEFAULT_wxUSE_LISTBOOK=no
2361 DEFAULT_wxUSE_LISTBOX=no
2362 DEFAULT_wxUSE_LISTCTRL=no
2363 DEFAULT_wxUSE_NOTEBOOK=no
2364 DEFAULT_wxUSE_ODCOMBOBOX=no
2365 DEFAULT_wxUSE_RADIOBOX=no
2366 DEFAULT_wxUSE_RADIOBTN=no
2367 DEFAULT_wxUSE_SASH=no
2368 DEFAULT_wxUSE_SCROLLBAR=no
2369 DEFAULT_wxUSE_SEARCHCTRL=no
2370 DEFAULT_wxUSE_SLIDER=no
2371 DEFAULT_wxUSE_SPINBTN=no
2372 DEFAULT_wxUSE_SPINCTRL=no
2373 DEFAULT_wxUSE_SPLITTER=no
2374 DEFAULT_wxUSE_STATBMP=no
2375 DEFAULT_wxUSE_STATBOX=no
2376 DEFAULT_wxUSE_STATLINE=no
2377 DEFAULT_wxUSE_STATTEXT=no
2378 DEFAULT_wxUSE_STATUSBAR=yes
2379 DEFAULT_wxUSE_TAB_DIALOG=no
2380 DEFAULT_wxUSE_TEXTCTRL=no
2381 DEFAULT_wxUSE_TOGGLEBTN=no
2382 DEFAULT_wxUSE_TOOLBAR=no
2383 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2384 DEFAULT_wxUSE_TREEBOOK=no
2385 DEFAULT_wxUSE_TOOLBOOK=no
2386 DEFAULT_wxUSE_TREECTRL=no
2387 DEFAULT_wxUSE_POPUPWIN=no
2388 DEFAULT_wxUSE_TIPWINDOW=no
2390 DEFAULT_wxUSE_UNICODE=no
2391 DEFAULT_wxUSE_UNICODE_MSLU=no
2392 DEFAULT_wxUSE_UNICODE_UTF8=no
2393 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2394 DEFAULT_wxUSE_WCSRTOMBS=no
2396 DEFAULT_wxUSE_PALETTE=no
2397 DEFAULT_wxUSE_IMAGE=no
2398 DEFAULT_wxUSE_GIF=no
2399 DEFAULT_wxUSE_PCX=no
2400 DEFAULT_wxUSE_TGA=no
2401 DEFAULT_wxUSE_PNM=no
2402 DEFAULT_wxUSE_IFF=no
2403 DEFAULT_wxUSE_XPM=no
2404 DEFAULT_wxUSE_ICO_CUR=no
2405 DEFAULT_wxUSE_ACCESSIBILITY=no
2407 DEFAULT_wxUSE_MONOLITHIC=no
2408 DEFAULT_wxUSE_PLUGINS=no
2409 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2411 DEFAULT_wxUSE_UNIVERSAL=no
2412 DEFAULT_wxUSE_STL=no
2413 DEFAULT_wxUSE_EXTENDED_RTTI=no
2415 DEFAULT_wxUSE_NANOX=no
2417 DEFAULT_wxUSE_THREADS=yes
2419 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2420 DEFAULT_wxUSE_OPTIMISE=yes
2421 DEFAULT_wxUSE_PROFILE=no
2422 DEFAULT_wxUSE_NO_DEPS=no
2423 DEFAULT_wxUSE_VARARG_MACROS=yes
2424 DEFAULT_wxUSE_NO_RTTI=no
2425 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2426 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2427 DEFAULT_wxUSE_RPATH=yes
2428 DEFAULT_wxUSE_PERMISSIVE=no
2429 DEFAULT_wxUSE_DEBUG_FLAG=no
2430 DEFAULT_wxUSE_DEBUG_INFO=no
2431 DEFAULT_wxUSE_DEBUG_GDB=no
2432 DEFAULT_wxUSE_MEM_TRACING=no
2433 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2434 DEFAULT_wxUSE_DMALLOC=no
2435 DEFAULT_wxUSE_APPLE_IEEE=yes
2437 DEFAULT_wxUSE_EXCEPTIONS=yes
2438 DEFAULT_wxUSE_LOG=yes
2439 DEFAULT_wxUSE_LOGWINDOW=yes
2440 DEFAULT_wxUSE_LOGGUI=yes
2441 DEFAULT_wxUSE_LOGDIALOG=yes
2443 DEFAULT_wxUSE_GUI=yes
2445 DEFAULT_wxUSE_REGEX=yes
2446 DEFAULT_wxUSE_XML=yes
2447 DEFAULT_wxUSE_EXPAT=yes
2448 DEFAULT_wxUSE_ZLIB=yes
2449 DEFAULT_wxUSE_LIBPNG=yes
2450 DEFAULT_wxUSE_LIBJPEG=yes
2451 DEFAULT_wxUSE_LIBTIFF=yes
2452 DEFAULT_wxUSE_LIBXPM=yes
2453 DEFAULT_wxUSE_LIBMSPACK=yes
2454 DEFAULT_wxUSE_LIBSDL=no
2455 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2456 DEFAULT_wxUSE_LIBGNOMEVFS=no
2457 DEFAULT_wxUSE_LIBHILDON=no
2458 DEFAULT_wxUSE_ODBC=no
2459 DEFAULT_wxUSE_OPENGL=no
2461 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2462 DEFAULT_wxUSE_STACKWALKER=yes
2463 DEFAULT_wxUSE_DEBUGREPORT=yes
2464 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2465 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2466 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2467 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2468 DEFAULT_wxUSE_DATETIME=yes
2469 DEFAULT_wxUSE_TIMER=yes
2470 DEFAULT_wxUSE_STOPWATCH=yes
2471 DEFAULT_wxUSE_FILE=yes
2472 DEFAULT_wxUSE_FFILE=yes
2473 DEFAULT_wxUSE_STDPATHS=yes
2474 DEFAULT_wxUSE_TEXTBUFFER=yes
2475 DEFAULT_wxUSE_TEXTFILE=yes
2476 DEFAULT_wxUSE_SOUND=yes
2477 DEFAULT_wxUSE_MEDIACTRL=no
2478 DEFAULT_wxUSE_GSTREAMER8=no
2479 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2480 DEFAULT_wxUSE_INTL=yes
2481 DEFAULT_wxUSE_CONFIG=yes
2482 DEFAULT_wxUSE_FONTMAP=yes
2483 DEFAULT_wxUSE_STREAMS=yes
2484 DEFAULT_wxUSE_SOCKETS=yes
2485 DEFAULT_wxUSE_OLE=yes
2486 DEFAULT_wxUSE_DATAOBJ=yes
2487 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2488 DEFAULT_wxUSE_JOYSTICK=yes
2489 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2490 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2491 DEFAULT_wxUSE_LONGLONG=yes
2492 DEFAULT_wxUSE_GEOMETRY=yes
2494 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2495 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2496 DEFAULT_wxUSE_POSTSCRIPT=yes
2498 DEFAULT_wxUSE_CLIPBOARD=yes
2499 DEFAULT_wxUSE_TOOLTIPS=yes
2500 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2501 DEFAULT_wxUSE_DRAGIMAGE=yes
2502 DEFAULT_wxUSE_SPLINES=yes
2503 DEFAULT_wxUSE_MOUSEWHEEL=yes
2505 DEFAULT_wxUSE_MDI=yes
2506 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2507 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2508 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2510 DEFAULT_wxUSE_CONSTRAINTS=yes
2511 DEFAULT_wxUSE_IPC=yes
2512 DEFAULT_wxUSE_HELP=yes
2513 DEFAULT_wxUSE_MS_HTML_HELP=yes
2514 DEFAULT_wxUSE_WXHTML_HELP=yes
2515 DEFAULT_wxUSE_TREELAYOUT=yes
2516 DEFAULT_wxUSE_METAFILE=yes
2517 DEFAULT_wxUSE_MIMETYPE=yes
2518 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2519 DEFAULT_wxUSE_PROTOCOL=yes
2520 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2521 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2522 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2523 DEFAULT_wxUSE_URL=yes
2524 DEFAULT_wxUSE_VARIANT=yes
2526 DEFAULT_wxUSE_ABOUTDLG=yes
2527 DEFAULT_wxUSE_COMMONDLGS=yes
2528 DEFAULT_wxUSE_CHOICEDLG=yes
2529 DEFAULT_wxUSE_COLOURDLG=yes
2530 DEFAULT_wxUSE_DIRDLG=yes
2531 DEFAULT_wxUSE_FILEDLG=yes
2532 DEFAULT_wxUSE_FINDREPLDLG=yes
2533 DEFAULT_wxUSE_FONTDLG=yes
2534 DEFAULT_wxUSE_MSGDLG=yes
2535 DEFAULT_wxUSE_NUMBERDLG=yes
2536 DEFAULT_wxUSE_TEXTDLG=yes
2537 DEFAULT_wxUSE_SPLASH=yes
2538 DEFAULT_wxUSE_STARTUP_TIPS=yes
2539 DEFAULT_wxUSE_PROGRESSDLG=yes
2540 DEFAULT_wxUSE_WIZARDDLG=yes
2542 DEFAULT_wxUSE_MENUS=yes
2543 DEFAULT_wxUSE_MINIFRAME=yes
2544 DEFAULT_wxUSE_HTML=yes
2545 DEFAULT_wxUSE_RICHTEXT=yes
2546 DEFAULT_wxUSE_XRC=yes
2547 DEFAULT_wxUSE_AUI=yes
2548 DEFAULT_wxUSE_STC=yes
2549 DEFAULT_wxUSE_WEBKIT=yes
2550 DEFAULT_wxUSE_FILESYSTEM=yes
2551 DEFAULT_wxUSE_FS_INET=yes
2552 DEFAULT_wxUSE_FS_ZIP=yes
2553 DEFAULT_wxUSE_FS_ARCHIVE=yes
2554 DEFAULT_wxUSE_BUSYINFO=yes
2555 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2556 DEFAULT_wxUSE_ZIPSTREAM=yes
2557 DEFAULT_wxUSE_TARSTREAM=yes
2558 DEFAULT_wxUSE_VALIDATORS=yes
2560 DEFAULT_wxUSE_ACCEL=yes
2561 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2562 DEFAULT_wxUSE_BUTTON=yes
2563 DEFAULT_wxUSE_BMPBUTTON=yes
2564 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2565 DEFAULT_wxUSE_CALCTRL=yes
2566 DEFAULT_wxUSE_CARET=yes
2567 DEFAULT_wxUSE_CHECKBOX=yes
2568 DEFAULT_wxUSE_CHECKLST=yes
2569 DEFAULT_wxUSE_CHOICE=yes
2570 DEFAULT_wxUSE_CHOICEBOOK=yes
2571 DEFAULT_wxUSE_COLLPANE=yes
2572 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2573 DEFAULT_wxUSE_COMBOBOX=yes
2574 DEFAULT_wxUSE_COMBOCTRL=yes
2575 DEFAULT_wxUSE_DATEPICKCTRL=yes
2576 DEFAULT_wxUSE_DISPLAY=yes
2577 DEFAULT_wxUSE_DETECT_SM=yes
2578 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2579 DEFAULT_wxUSE_EDITABLELISTBOX=yes
2580 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2581 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2582 DEFAULT_wxUSE_GAUGE=yes
2583 DEFAULT_wxUSE_GRID=yes
2584 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2585 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2586 DEFAULT_wxUSE_DATAVIEWCTRL=no
2587 DEFAULT_wxUSE_IMAGLIST=yes
2588 DEFAULT_wxUSE_LISTBOOK=yes
2589 DEFAULT_wxUSE_LISTBOX=yes
2590 DEFAULT_wxUSE_LISTCTRL=yes
2591 DEFAULT_wxUSE_NOTEBOOK=yes
2592 DEFAULT_wxUSE_ODCOMBOBOX=yes
2593 DEFAULT_wxUSE_RADIOBOX=yes
2594 DEFAULT_wxUSE_RADIOBTN=yes
2595 DEFAULT_wxUSE_SASH=yes
2596 DEFAULT_wxUSE_SCROLLBAR=yes
2597 DEFAULT_wxUSE_SEARCHCTRL=yes
2598 DEFAULT_wxUSE_SLIDER=yes
2599 DEFAULT_wxUSE_SPINBTN=yes
2600 DEFAULT_wxUSE_SPINCTRL=yes
2601 DEFAULT_wxUSE_SPLITTER=yes
2602 DEFAULT_wxUSE_STATBMP=yes
2603 DEFAULT_wxUSE_STATBOX=yes
2604 DEFAULT_wxUSE_STATLINE=yes
2605 DEFAULT_wxUSE_STATTEXT=yes
2606 DEFAULT_wxUSE_STATUSBAR=yes
2607 DEFAULT_wxUSE_TAB_DIALOG=no
2608 DEFAULT_wxUSE_TEXTCTRL=yes
2609 DEFAULT_wxUSE_TOGGLEBTN=yes
2610 DEFAULT_wxUSE_TOOLBAR=yes
2611 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2612 DEFAULT_wxUSE_TREEBOOK=yes
2613 DEFAULT_wxUSE_TOOLBOOK=yes
2614 DEFAULT_wxUSE_TREECTRL=yes
2615 DEFAULT_wxUSE_POPUPWIN=yes
2616 DEFAULT_wxUSE_TIPWINDOW=yes
2618 DEFAULT_wxUSE_UNICODE=no
2619 DEFAULT_wxUSE_UNICODE_MSLU=yes
2620 DEFAULT_wxUSE_UNICODE_UTF8=no
2621 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2622 DEFAULT_wxUSE_WCSRTOMBS=no
2624 DEFAULT_wxUSE_PALETTE=yes
2625 DEFAULT_wxUSE_IMAGE=yes
2626 DEFAULT_wxUSE_GIF=yes
2627 DEFAULT_wxUSE_PCX=yes
2628 DEFAULT_wxUSE_TGA=yes
2629 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2630 DEFAULT_wxUSE_XPM=yes
2631 DEFAULT_wxUSE_ICO_CUR=yes
2632 DEFAULT_wxUSE_ACCESSIBILITY=no
2634 DEFAULT_wxUSE_MONOLITHIC=no
2635 DEFAULT_wxUSE_PLUGINS=no
2636 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2638 DEFAULT_wxUSE_GTK2=yes
2644 for toolkit in `echo $ALL_TOOLKITS`; do
2645 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2646 if test "x$LINE" != "x" ; then
2647 has_toolkit_in_cache=1
2648 eval "DEFAULT_$LINE"
2649 eval "CACHE_$toolkit=1"
2651 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2652 if test "x$LINE" != "x" ; then
2653 eval "DEFAULT_$LINE"
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2664 # Check whether --enable-gui or --disable-gui was given.
2665 if test "${enable_gui+set}" = set; then
2666 enableval="$enable_gui"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gui='wxUSE_GUI
=yes'
2671 ac_cv_use_gui='wxUSE_GUI
=no
'
2676 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2687 eval "$ac_cv_use_gui"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_GUI" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2705 # Check whether --enable-monolithic or --disable-monolithic was given.
2706 if test "${enable_monolithic+set}" = set; then
2707 enableval="$enable_monolithic"
2709 if test "$enableval" = yes; then
2710 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2717 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x ; then
2719 eval "DEFAULT_$LINE"
2724 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2728 eval "$ac_cv_use_monolithic"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_MONOLITHIC" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2744 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2746 # Check whether --enable-plugins or --disable-plugins was given.
2747 if test "${enable_plugins+set}" = set; then
2748 enableval="$enable_plugins"
2750 if test "$enableval" = yes; then
2751 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2753 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2758 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x ; then
2760 eval "DEFAULT_$LINE"
2765 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2769 eval "$ac_cv_use_plugins"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2774 if test "$wxUSE_PLUGINS" = yes; then
2775 echo "$as_me:$LINENO: result: yes" >&5
2776 echo "${ECHO_T}yes" >&6
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2784 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2785 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2788 # Check whether --with-subdirs or --without-subdirs was given.
2789 if test "${with_subdirs+set}" = set; then
2790 withval="$with_subdirs"
2792 if test "$withval" = yes; then
2793 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2800 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2801 if test "x$LINE" != x ; then
2802 eval "DEFAULT_$LINE"
2807 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2811 eval "$ac_cv_use_subdirs"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2816 if test "$wxWITH_SUBDIRS" = yes; then
2817 echo "$as_me:$LINENO: result: yes" >&5
2818 echo "${ECHO_T}yes" >&6
2820 echo "$as_me:$LINENO: result: no" >&5
2821 echo "${ECHO_T}no" >&6
2825 if test "$wxUSE_GUI" = "yes"; then
2829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2830 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2832 # Check whether --enable-universal or --disable-universal was given.
2833 if test "${enable_universal+set}" = set; then
2834 enableval="$enable_universal"
2836 if test "$enableval" = yes; then
2837 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2839 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2844 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x ; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2855 eval "$ac_cv_use_universal"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_UNIVERSAL" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2869 # Check whether --with-gtk or --without-gtk was given.
2870 if test "${with_gtk+set}" = set; then
2872 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2875 # Check whether --with-motif or --without-motif was given.
2876 if test "${with_motif+set}" = set; then
2877 withval="$with_motif"
2878 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2881 # Check whether --with-mac or --without-mac was given.
2882 if test "${with_mac+set}" = set; then
2884 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2887 # Check whether --with-cocoa or --without-cocoa was given.
2888 if test "${with_cocoa+set}" = set; then
2889 withval="$with_cocoa"
2890 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2893 # Check whether --with-wine or --without-wine was given.
2894 if test "${with_wine+set}" = set; then
2895 withval="$with_wine"
2896 wxUSE_WINE="$withval" CACHE_WINE=1
2899 # Check whether --with-msw or --without-msw was given.
2900 if test "${with_msw+set}" = set; then
2902 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2905 # Check whether --with-pm or --without-pm was given.
2906 if test "${with_pm+set}" = set; then
2908 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2911 # Check whether --with-mgl or --without-mgl was given.
2912 if test "${with_mgl+set}" = set; then
2914 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2917 # Check whether --with-directfb or --without-directfb was given.
2918 if test "${with_directfb+set}" = set; then
2919 withval="$with_directfb"
2920 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2923 # Check whether --with-microwin or --without-microwin was given.
2924 if test "${with_microwin+set}" = set; then
2925 withval="$with_microwin"
2926 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2929 # Check whether --with-x11 or --without-x11 was given.
2930 if test "${with_x11+set}" = set; then
2932 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2937 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2939 # Check whether --enable-nanox or --disable-nanox was given.
2940 if test "${enable_nanox+set}" = set; then
2941 enableval="$enable_nanox"
2943 if test "$enableval" = yes; then
2944 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2946 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2951 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x ; then
2953 eval "DEFAULT_$LINE"
2958 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2962 eval "$ac_cv_use_nanox"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_NANOX" = yes; then
2968 echo "$as_me:$LINENO: result: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2976 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2977 if test "${enable_gtk2+set}" = set; then
2978 enableval="$enable_gtk2"
2979 wxUSE_GTK2="$enableval"
2983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2984 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2986 # Check whether --enable-gpe or --disable-gpe was given.
2987 if test "${enable_gpe+set}" = set; then
2988 enableval="$enable_gpe"
2990 if test "$enableval" = yes; then
2991 ac_cv_use_gpe='wxUSE_GPE
=yes'
2993 ac_cv_use_gpe='wxUSE_GPE
=no
'
2998 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2999 if test "x$LINE" != x ; then
3000 eval "DEFAULT_$LINE"
3005 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
3009 eval "$ac_cv_use_gpe"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3014 if test "$wxUSE_GPE" = yes; then
3015 echo "$as_me:$LINENO: result: yes" >&5
3016 echo "${ECHO_T}yes" >&6
3018 echo "$as_me:$LINENO: result: no" >&5
3019 echo "${ECHO_T}no" >&6
3024 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3025 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3028 # Check whether --with-libpng or --without-libpng was given.
3029 if test "${with_libpng+set}" = set; then
3030 withval="$with_libpng"
3032 if test "$withval" = yes; then
3033 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
3034 elif test "$withval" = no; then
3035 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
3036 elif test "$withval" = sys; then
3037 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
3038 elif test "$withval" = builtin; then
3039 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
3041 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3042 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3043 { (exit 1); exit 1; }; }
3048 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3049 if test "x$LINE" != x ; then
3050 eval "DEFAULT_$LINE"
3055 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
3059 eval "$ac_cv_use_libpng"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3064 if test "$wxUSE_LIBPNG" = yes; then
3065 echo "$as_me:$LINENO: result: yes" >&5
3066 echo "${ECHO_T}yes" >&6
3067 elif test "$wxUSE_LIBPNG" = no; then
3068 echo "$as_me:$LINENO: result: no" >&5
3069 echo "${ECHO_T}no" >&6
3070 elif test "$wxUSE_LIBPNG" = sys; then
3071 echo "$as_me:$LINENO: result: system version" >&5
3072 echo "${ECHO_T}system version" >&6
3073 elif test "$wxUSE_LIBPNG" = builtin; then
3074 echo "$as_me:$LINENO: result: builtin version" >&5
3075 echo "${ECHO_T}builtin version" >&6
3077 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3078 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3079 { (exit 1); exit 1; }; }
3083 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3084 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3087 # Check whether --with-libjpeg or --without-libjpeg was given.
3088 if test "${with_libjpeg+set}" = set; then
3089 withval="$with_libjpeg"
3091 if test "$withval" = yes; then
3092 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3093 elif test "$withval" = no; then
3094 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3095 elif test "$withval" = sys; then
3096 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3097 elif test "$withval" = builtin; then
3098 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3100 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3101 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3102 { (exit 1); exit 1; }; }
3107 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
3118 eval "$ac_cv_use_libjpeg"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3123 if test "$wxUSE_LIBJPEG" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3126 elif test "$wxUSE_LIBJPEG" = no; then
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3129 elif test "$wxUSE_LIBJPEG" = sys; then
3130 echo "$as_me:$LINENO: result: system version" >&5
3131 echo "${ECHO_T}system version" >&6
3132 elif test "$wxUSE_LIBJPEG" = builtin; then
3133 echo "$as_me:$LINENO: result: builtin version" >&5
3134 echo "${ECHO_T}builtin version" >&6
3136 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3137 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3138 { (exit 1); exit 1; }; }
3142 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3143 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3146 # Check whether --with-libtiff or --without-libtiff was given.
3147 if test "${with_libtiff+set}" = set; then
3148 withval="$with_libtiff"
3150 if test "$withval" = yes; then
3151 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
3152 elif test "$withval" = no; then
3153 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
3154 elif test "$withval" = sys; then
3155 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
3156 elif test "$withval" = builtin; then
3157 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
3159 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3160 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3161 { (exit 1); exit 1; }; }
3166 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x ; then
3168 eval "DEFAULT_$LINE"
3173 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
3177 eval "$ac_cv_use_libtiff"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3182 if test "$wxUSE_LIBTIFF" = yes; then
3183 echo "$as_me:$LINENO: result: yes" >&5
3184 echo "${ECHO_T}yes" >&6
3185 elif test "$wxUSE_LIBTIFF" = no; then
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3188 elif test "$wxUSE_LIBTIFF" = sys; then
3189 echo "$as_me:$LINENO: result: system version" >&5
3190 echo "${ECHO_T}system version" >&6
3191 elif test "$wxUSE_LIBTIFF" = builtin; then
3192 echo "$as_me:$LINENO: result: builtin version" >&5
3193 echo "${ECHO_T}builtin version" >&6
3195 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3196 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3197 { (exit 1); exit 1; }; }
3201 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3202 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3205 # Check whether --with-libxpm or --without-libxpm was given.
3206 if test "${with_libxpm+set}" = set; then
3207 withval="$with_libxpm"
3209 if test "$withval" = yes; then
3210 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3211 elif test "$withval" = no; then
3212 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3213 elif test "$withval" = sys; then
3214 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3215 elif test "$withval" = builtin; then
3216 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3218 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3219 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3220 { (exit 1); exit 1; }; }
3225 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3226 if test "x$LINE" != x ; then
3227 eval "DEFAULT_$LINE"
3232 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3236 eval "$ac_cv_use_libxpm"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3241 if test "$wxUSE_LIBXPM" = yes; then
3242 echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3244 elif test "$wxUSE_LIBXPM" = no; then
3245 echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247 elif test "$wxUSE_LIBXPM" = sys; then
3248 echo "$as_me:$LINENO: result: system version" >&5
3249 echo "${ECHO_T}system version" >&6
3250 elif test "$wxUSE_LIBXPM" = builtin; then
3251 echo "$as_me:$LINENO: result: builtin version" >&5
3252 echo "${ECHO_T}builtin version" >&6
3254 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3255 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3256 { (exit 1); exit 1; }; }
3261 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3262 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3265 # Check whether --with-libmspack or --without-libmspack was given.
3266 if test "${with_libmspack+set}" = set; then
3267 withval="$with_libmspack"
3269 if test "$withval" = yes; then
3270 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3277 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3284 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3288 eval "$ac_cv_use_libmspack"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_LIBMSPACK" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3303 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3304 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3307 # Check whether --with-sdl or --without-sdl was given.
3308 if test "${with_sdl+set}" = set; then
3311 if test "$withval" = yes; then
3312 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3314 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3319 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x ; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3330 eval "$ac_cv_use_sdl"
3331 if test "$no_cache" != 1; then
3332 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3335 if test "$wxUSE_LIBSDL" = yes; then
3336 echo "$as_me:$LINENO: result: yes" >&5
3337 echo "${ECHO_T}yes" >&6
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3345 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3346 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3349 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3350 if test "${with_gnomeprint+set}" = set; then
3351 withval="$with_gnomeprint"
3353 if test "$withval" = yes; then
3354 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3361 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3372 eval "$ac_cv_use_gnomeprint"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3377 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3378 echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3387 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3388 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3391 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3392 if test "${with_gnomevfs+set}" = set; then
3393 withval="$with_gnomevfs"
3395 if test "$withval" = yes; then
3396 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
3403 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3410 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
='$DEFAULT_wxUSE_LIBGNOMEVFS
3414 eval "$ac_cv_use_gnomevfs"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3429 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3430 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3433 # Check whether --with-hildon or --without-hildon was given.
3434 if test "${with_hildon+set}" = set; then
3435 withval="$with_hildon"
3437 if test "$withval" = yes; then
3438 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3440 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3445 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3456 eval "$ac_cv_use_hildon"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_LIBHILDON" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3471 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3472 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3475 # Check whether --with-opengl or --without-opengl was given.
3476 if test "${with_opengl+set}" = set; then
3477 withval="$with_opengl"
3479 if test "$withval" = yes; then
3480 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3482 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3487 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3494 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3498 eval "$ac_cv_use_opengl"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_OPENGL" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3512 if test "$wxUSE_UNIVERSAL" = "yes"; then
3514 # Check whether --with-themes or --without-themes was given.
3515 if test "${with_themes+set}" = set; then
3516 withval="$with_themes"
3517 wxUNIV_THEMES="$withval"
3525 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3526 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3529 # Check whether --with-dmalloc or --without-dmalloc was given.
3530 if test "${with_dmalloc+set}" = set; then
3531 withval="$with_dmalloc"
3533 if test "$withval" = yes; then
3534 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3541 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3552 eval "$ac_cv_use_dmalloc"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DMALLOC" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3566 echo "$as_me:$LINENO: checking for --with-regex" >&5
3567 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3570 # Check whether --with-regex or --without-regex was given.
3571 if test "${with_regex+set}" = set; then
3572 withval="$with_regex"
3574 if test "$withval" = yes; then
3575 ac_cv_use_regex='wxUSE_REGEX
=yes'
3576 elif test "$withval" = no; then
3577 ac_cv_use_regex='wxUSE_REGEX
=no
'
3578 elif test "$withval" = sys; then
3579 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3580 elif test "$withval" = builtin; then
3581 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3583 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3584 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3585 { (exit 1); exit 1; }; }
3590 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x ; then
3592 eval "DEFAULT_$LINE"
3597 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3601 eval "$ac_cv_use_regex"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3606 if test "$wxUSE_REGEX" = yes; then
3607 echo "$as_me:$LINENO: result: yes" >&5
3608 echo "${ECHO_T}yes" >&6
3609 elif test "$wxUSE_REGEX" = no; then
3610 echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6
3612 elif test "$wxUSE_REGEX" = sys; then
3613 echo "$as_me:$LINENO: result: system version" >&5
3614 echo "${ECHO_T}system version" >&6
3615 elif test "$wxUSE_REGEX" = builtin; then
3616 echo "$as_me:$LINENO: result: builtin version" >&5
3617 echo "${ECHO_T}builtin version" >&6
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3625 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3626 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3629 # Check whether --with-zlib or --without-zlib was given.
3630 if test "${with_zlib+set}" = set; then
3631 withval="$with_zlib"
3633 if test "$withval" = yes; then
3634 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3635 elif test "$withval" = no; then
3636 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3637 elif test "$withval" = sys; then
3638 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3639 elif test "$withval" = builtin; then
3640 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3642 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3643 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3644 { (exit 1); exit 1; }; }
3649 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3660 eval "$ac_cv_use_zlib"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3665 if test "$wxUSE_ZLIB" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3668 elif test "$wxUSE_ZLIB" = no; then
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3671 elif test "$wxUSE_ZLIB" = sys; then
3672 echo "$as_me:$LINENO: result: system version" >&5
3673 echo "${ECHO_T}system version" >&6
3674 elif test "$wxUSE_ZLIB" = builtin; then
3675 echo "$as_me:$LINENO: result: builtin version" >&5
3676 echo "${ECHO_T}builtin version" >&6
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3684 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3685 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3688 # Check whether --with-odbc or --without-odbc was given.
3689 if test "${with_odbc+set}" = set; then
3690 withval="$with_odbc"
3692 if test "$withval" = yes; then
3693 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3694 elif test "$withval" = no; then
3695 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3696 elif test "$withval" = sys; then
3697 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3698 elif test "$withval" = builtin; then
3699 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3701 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3702 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3703 { (exit 1); exit 1; }; }
3708 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3715 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3719 eval "$ac_cv_use_odbc"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_ODBC" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3727 elif test "$wxUSE_ODBC" = no; then
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3730 elif test "$wxUSE_ODBC" = sys; then
3731 echo "$as_me:$LINENO: result: system version" >&5
3732 echo "${ECHO_T}system version" >&6
3733 elif test "$wxUSE_ODBC" = builtin; then
3734 echo "$as_me:$LINENO: result: builtin version" >&5
3735 echo "${ECHO_T}builtin version" >&6
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3743 echo "$as_me:$LINENO: checking for --with-expat" >&5
3744 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3747 # Check whether --with-expat or --without-expat was given.
3748 if test "${with_expat+set}" = set; then
3749 withval="$with_expat"
3751 if test "$withval" = yes; then
3752 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3753 elif test "$withval" = no; then
3754 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3755 elif test "$withval" = sys; then
3756 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3757 elif test "$withval" = builtin; then
3758 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3760 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3761 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3762 { (exit 1); exit 1; }; }
3767 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x ; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3778 eval "$ac_cv_use_expat"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_EXPAT" = yes; then
3784 echo "$as_me:$LINENO: result: yes" >&5
3785 echo "${ECHO_T}yes" >&6
3786 elif test "$wxUSE_EXPAT" = no; then
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3789 elif test "$wxUSE_EXPAT" = sys; then
3790 echo "$as_me:$LINENO: result: system version" >&5
3791 echo "${ECHO_T}system version" >&6
3792 elif test "$wxUSE_EXPAT" = builtin; then
3793 echo "$as_me:$LINENO: result: builtin version" >&5
3794 echo "${ECHO_T}builtin version" >&6
3796 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3797 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3798 { (exit 1); exit 1; }; }
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3808 # Check whether --enable-shared or --disable-shared was given.
3809 if test "${enable_shared+set}" = set; then
3810 enableval="$enable_shared"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_shared='wxUSE_SHARED
=yes'
3815 ac_cv_use_shared='wxUSE_SHARED
=no
'
3820 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3831 eval "$ac_cv_use_shared"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_SHARED" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3849 # Check whether --enable-optimise or --disable-optimise was given.
3850 if test "${enable_optimise+set}" = set; then
3851 enableval="$enable_optimise"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3856 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3861 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3872 eval "$ac_cv_use_optimise"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_OPTIMISE" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3888 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3890 # Check whether --enable-debug or --disable-debug was given.
3891 if test "${enable_debug+set}" = set; then
3892 enableval="$enable_debug"
3894 if test "$enableval" = yes; then
3895 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3897 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3902 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x ; then
3904 eval "DEFAULT_$LINE"
3909 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3913 eval "$ac_cv_use_debug"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3918 if test "$wxUSE_DEBUG" = yes; then
3919 echo "$as_me:$LINENO: result: yes" >&5
3920 echo "${ECHO_T}yes" >&6
3922 echo "$as_me:$LINENO: result: no" >&5
3923 echo "${ECHO_T}no" >&6
3928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3929 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3931 # Check whether --enable-stl or --disable-stl was given.
3932 if test "${enable_stl+set}" = set; then
3933 enableval="$enable_stl"
3935 if test "$enableval" = yes; then
3936 ac_cv_use_stl='wxUSE_STL
=yes'
3938 ac_cv_use_stl='wxUSE_STL
=no
'
3943 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x ; then
3945 eval "DEFAULT_$LINE"
3950 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3954 eval "$ac_cv_use_stl"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3959 if test "$wxUSE_STL" = yes; then
3960 echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6
3963 echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6
3969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
3970 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
3972 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
3973 if test "${enable_extended_rtti+set}" = set; then
3974 enableval="$enable_extended_rtti"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
3979 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
3984 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
='$DEFAULT_wxUSE_EXTENDED_RTTI
3995 eval "$ac_cv_use_extended_rtti"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4000 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4001 echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6
4004 echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6
4008 if test "$USE_OS2" = "1"; then
4009 DEFAULT_wxUSE_OMF=no
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4015 # Check whether --enable-omf or --disable-omf was given.
4016 if test "${enable_omf+set}" = set; then
4017 enableval="$enable_omf"
4019 if test "$enableval" = yes; then
4020 ac_cv_use_omf='wxUSE_OMF
=yes'
4022 ac_cv_use_omf='wxUSE_OMF
=no
'
4027 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4034 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
4038 eval "$ac_cv_use_omf"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_OMF" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4053 if test "$wxUSE_DEBUG" = "yes"; then
4054 DEFAULT_wxUSE_DEBUG_FLAG=yes
4055 DEFAULT_wxUSE_DEBUG_INFO=yes
4057 elif test "$wxUSE_DEBUG" = "no"; then
4058 DEFAULT_wxUSE_DEBUG_FLAG=no
4059 DEFAULT_wxUSE_DEBUG_INFO=no
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4068 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4069 if test "${enable_debug_flag+set}" = set; then
4070 enableval="$enable_debug_flag"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4075 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4080 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
4091 eval "$ac_cv_use_debug_flag"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_DEBUG_FLAG" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4107 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4109 # Check whether --enable-debug_info or --disable-debug_info was given.
4110 if test "${enable_debug_info+set}" = set; then
4111 enableval="$enable_debug_info"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
4116 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
4121 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
4132 eval "$ac_cv_use_debug_info"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_DEBUG_INFO" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4148 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4150 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4151 if test "${enable_debug_gdb+set}" = set; then
4152 enableval="$enable_debug_gdb"
4154 if test "$enableval" = yes; then
4155 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
4157 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
4162 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
4173 eval "$ac_cv_use_debug_gdb"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_DEBUG_GDB" = yes; then
4179 echo "$as_me:$LINENO: result: yes" >&5
4180 echo "${ECHO_T}yes" >&6
4182 echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6
4188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4189 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4191 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4192 if test "${enable_debug_cntxt+set}" = set; then
4193 enableval="$enable_debug_cntxt"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4198 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4203 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x ; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
4214 eval "$ac_cv_use_debug_cntxt"
4215 if test "$no_cache" != 1; then
4216 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4219 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4220 echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4230 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4232 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4233 if test "${enable_mem_tracing+set}" = set; then
4234 enableval="$enable_mem_tracing"
4236 if test "$enableval" = yes; then
4237 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
4239 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
4244 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x ; then
4246 eval "DEFAULT_$LINE"
4251 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
4255 eval "$ac_cv_use_mem_tracing"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_MEM_TRACING" = yes; then
4261 echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4273 # Check whether --enable-profile or --disable-profile was given.
4274 if test "${enable_profile+set}" = set; then
4275 enableval="$enable_profile"
4277 if test "$enableval" = yes; then
4278 ac_cv_use_profile='wxUSE_PROFILE
=yes'
4280 ac_cv_use_profile='wxUSE_PROFILE
=no
'
4285 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
4296 eval "$ac_cv_use_profile"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_PROFILE" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4312 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4314 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4315 if test "${enable_no_rtti+set}" = set; then
4316 enableval="$enable_no_rtti"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4321 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4326 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x ; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4337 eval "$ac_cv_use_no_rtti"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4342 if test "$wxUSE_NO_RTTI" = yes; then
4343 echo "$as_me:$LINENO: result: yes" >&5
4344 echo "${ECHO_T}yes" >&6
4346 echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4355 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4356 if test "${enable_no_exceptions+set}" = set; then
4357 enableval="$enable_no_exceptions"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4362 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4367 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4378 eval "$ac_cv_use_no_exceptions"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4396 # Check whether --enable-permissive or --disable-permissive was given.
4397 if test "${enable_permissive+set}" = set; then
4398 enableval="$enable_permissive"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4403 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4408 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x ; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4419 eval "$ac_cv_use_permissive"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_PERMISSIVE" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4435 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4437 # Check whether --enable-no_deps or --disable-no_deps was given.
4438 if test "${enable_no_deps+set}" = set; then
4439 enableval="$enable_no_deps"
4441 if test "$enableval" = yes; then
4442 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4444 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4449 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x ; then
4451 eval "DEFAULT_$LINE"
4456 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4460 eval "$ac_cv_use_no_deps"
4461 if test "$no_cache" != 1; then
4462 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4465 if test "$wxUSE_NO_DEPS" = yes; then
4466 echo "$as_me:$LINENO: result: yes" >&5
4467 echo "${ECHO_T}yes" >&6
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4478 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4479 if test "${enable_vararg_macros+set}" = set; then
4480 enableval="$enable_vararg_macros"
4482 if test "$enableval" = yes; then
4483 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
4485 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
4490 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4497 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS
='$DEFAULT_wxUSE_VARARG_MACROS
4501 eval "$ac_cv_use_vararg_macros"
4502 if test "$no_cache" != 1; then
4503 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4506 if test "$wxUSE_VARARG_MACROS" = yes; then
4507 echo "$as_me:$LINENO: result: yes" >&5
4508 echo "${ECHO_T}yes" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4519 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4520 if test "${enable_universal_binary+set}" = set; then
4521 enableval="$enable_universal_binary"
4523 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4527 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4533 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4538 eval "$wx_cv_use_universal_binary"
4539 if test "$no_cache" != 1; then
4540 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4543 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4544 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4550 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4552 # Check whether --enable-compat26 or --disable-compat26 was given.
4553 if test "${enable_compat26+set}" = set; then
4554 enableval="$enable_compat26"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4559 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4564 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4575 eval "$ac_cv_use_compat26"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4580 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4581 echo "$as_me:$LINENO: result: yes" >&5
4582 echo "${ECHO_T}yes" >&6
4584 echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6
4589 enablestring=disable
4590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4593 # Check whether --enable-compat28 or --disable-compat28 was given.
4594 if test "${enable_compat28+set}" = set; then
4595 enableval="$enable_compat28"
4597 if test "$enableval" = yes; then
4598 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
4600 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
4605 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x ; then
4607 eval "DEFAULT_$LINE"
4612 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
='$DEFAULT_WXWIN_COMPATIBILITY_2_8
4616 eval "$ac_cv_use_compat28"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4621 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
4622 echo "$as_me:$LINENO: result: yes" >&5
4623 echo "${ECHO_T}yes" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4633 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4635 # Check whether --enable-rpath or --disable-rpath was given.
4636 if test "${enable_rpath+set}" = set; then
4637 enableval="$enable_rpath"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4642 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4647 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x ; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4658 eval "$ac_cv_use_rpath"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_RPATH" = yes; then
4664 echo "$as_me:$LINENO: result: yes" >&5
4665 echo "${ECHO_T}yes" >&6
4667 echo "$as_me:$LINENO: result: no" >&5
4668 echo "${ECHO_T}no" >&6
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4679 # Check whether --enable-intl or --disable-intl was given.
4680 if test "${enable_intl+set}" = set; then
4681 enableval="$enable_intl"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_intl='wxUSE_INTL
=yes'
4686 ac_cv_use_intl='wxUSE_INTL
=no
'
4691 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4702 eval "$ac_cv_use_intl"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_INTL" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4720 # Check whether --enable-config or --disable-config was given.
4721 if test "${enable_config+set}" = set; then
4722 enableval="$enable_config"
4724 if test "$enableval" = yes; then
4725 ac_cv_use_config='wxUSE_CONFIG
=yes'
4727 ac_cv_use_config='wxUSE_CONFIG
=no
'
4732 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x ; then
4734 eval "DEFAULT_$LINE"
4739 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4743 eval "$ac_cv_use_config"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_CONFIG" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4762 # Check whether --enable-protocols or --disable-protocols was given.
4763 if test "${enable_protocols+set}" = set; then
4764 enableval="$enable_protocols"
4766 if test "$enableval" = yes; then
4767 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4769 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4774 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4781 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4785 eval "$ac_cv_use_protocols"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_PROTOCOL" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4801 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4803 # Check whether --enable-ftp or --disable-ftp was given.
4804 if test "${enable_ftp+set}" = set; then
4805 enableval="$enable_ftp"
4807 if test "$enableval" = yes; then
4808 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4810 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4822 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4826 eval "$ac_cv_use_ftp"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4832 echo "$as_me:$LINENO: result: yes" >&5
4833 echo "${ECHO_T}yes" >&6
4835 echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6
4841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4844 # Check whether --enable-http or --disable-http was given.
4845 if test "${enable_http+set}" = set; then
4846 enableval="$enable_http"
4848 if test "$enableval" = yes; then
4849 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4851 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4856 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x ; then
4858 eval "DEFAULT_$LINE"
4863 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4867 eval "$ac_cv_use_http"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4872 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4873 echo "$as_me:$LINENO: result: yes" >&5
4874 echo "${ECHO_T}yes" >&6
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4885 # Check whether --enable-fileproto or --disable-fileproto was given.
4886 if test "${enable_fileproto+set}" = set; then
4887 enableval="$enable_fileproto"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4892 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4897 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4908 eval "$ac_cv_use_fileproto"
4909 if test "$no_cache" != 1; then
4910 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4913 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4914 echo "$as_me:$LINENO: result: yes" >&5
4915 echo "${ECHO_T}yes" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4926 # Check whether --enable-sockets or --disable-sockets was given.
4927 if test "${enable_sockets+set}" = set; then
4928 enableval="$enable_sockets"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4933 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4938 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4949 eval "$ac_cv_use_sockets"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_SOCKETS" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4967 # Check whether --enable-ole or --disable-ole was given.
4968 if test "${enable_ole+set}" = set; then
4969 enableval="$enable_ole"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_ole='wxUSE_OLE
=yes'
4974 ac_cv_use_ole='wxUSE_OLE
=no
'
4979 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x ; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4990 eval "$ac_cv_use_ole"
4991 if test "$no_cache" != 1; then
4992 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4995 if test "$wxUSE_OLE" = yes; then
4996 echo "$as_me:$LINENO: result: yes" >&5
4997 echo "${ECHO_T}yes" >&6
4999 echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5008 # Check whether --enable-dataobj or --disable-dataobj was given.
5009 if test "${enable_dataobj+set}" = set; then
5010 enableval="$enable_dataobj"
5012 if test "$enableval" = yes; then
5013 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
5015 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
5020 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x ; then
5022 eval "DEFAULT_$LINE"
5027 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
5031 eval "$ac_cv_use_dataobj"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_DATAOBJ" = yes; then
5037 echo "$as_me:$LINENO: result: yes" >&5
5038 echo "${ECHO_T}yes" >&6
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5050 # Check whether --enable-ipc or --disable-ipc was given.
5051 if test "${enable_ipc+set}" = set; then
5052 enableval="$enable_ipc"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_ipc='wxUSE_IPC
=yes'
5057 ac_cv_use_ipc='wxUSE_IPC
=no
'
5062 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
5073 eval "$ac_cv_use_ipc"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_IPC" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5092 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5093 if test "${enable_apple_ieee+set}" = set; then
5094 enableval="$enable_apple_ieee"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
5099 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
5104 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
5115 eval "$ac_cv_use_apple_ieee"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_APPLE_IEEE" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5133 # Check whether --enable-arcstream or --disable-arcstream was given.
5134 if test "${enable_arcstream+set}" = set; then
5135 enableval="$enable_arcstream"
5137 if test "$enableval" = yes; then
5138 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
5140 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
5145 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5152 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5156 eval "$ac_cv_use_arcstream"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5174 # Check whether --enable-backtrace or --disable-backtrace was given.
5175 if test "${enable_backtrace+set}" = set; then
5176 enableval="$enable_backtrace"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
5181 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
5186 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
5197 eval "$ac_cv_use_backtrace"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_STACKWALKER" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5215 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5216 if test "${enable_catch_segvs+set}" = set; then
5217 enableval="$enable_catch_segvs"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5222 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5227 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5238 eval "$ac_cv_use_catch_segvs"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5256 # Check whether --enable-cmdline or --disable-cmdline was given.
5257 if test "${enable_cmdline+set}" = set; then
5258 enableval="$enable_cmdline"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
5263 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
5268 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
5279 eval "$ac_cv_use_cmdline"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5297 # Check whether --enable-datetime or --disable-datetime was given.
5298 if test "${enable_datetime+set}" = set; then
5299 enableval="$enable_datetime"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
5304 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
5309 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
5320 eval "$ac_cv_use_datetime"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_DATETIME" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5338 # Check whether --enable-debugreport or --disable-debugreport was given.
5339 if test "${enable_debugreport+set}" = set; then
5340 enableval="$enable_debugreport"
5342 if test "$enableval" = yes; then
5343 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
5345 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
5350 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5357 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
5361 eval "$ac_cv_use_debugreport"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_DEBUGREPORT" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5379 # Check whether --enable-dialupman or --disable-dialupman was given.
5380 if test "${enable_dialupman+set}" = set; then
5381 enableval="$enable_dialupman"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5386 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5391 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5402 eval "$ac_cv_use_dialupman"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5420 # Check whether --enable-dynlib or --disable-dynlib was given.
5421 if test "${enable_dynlib+set}" = set; then
5422 enableval="$enable_dynlib"
5424 if test "$enableval" = yes; then
5425 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5427 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5432 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x ; then
5434 eval "DEFAULT_$LINE"
5439 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5443 eval "$ac_cv_use_dynlib"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5461 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5462 if test "${enable_dynamicloader+set}" = set; then
5463 enableval="$enable_dynamicloader"
5465 if test "$enableval" = yes; then
5466 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5468 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5473 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x ; then
5475 eval "DEFAULT_$LINE"
5480 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5484 eval "$ac_cv_use_dynamicloader"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5502 # Check whether --enable-exceptions or --disable-exceptions was given.
5503 if test "${enable_exceptions+set}" = set; then
5504 enableval="$enable_exceptions"
5506 if test "$enableval" = yes; then
5507 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5509 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5514 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x ; then
5516 eval "DEFAULT_$LINE"
5521 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5525 eval "$ac_cv_use_exceptions"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_EXCEPTIONS" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5543 # Check whether --enable-ffile or --disable-ffile was given.
5544 if test "${enable_ffile+set}" = set; then
5545 enableval="$enable_ffile"
5547 if test "$enableval" = yes; then
5548 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5550 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5555 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x ; then
5557 eval "DEFAULT_$LINE"
5562 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5566 eval "$ac_cv_use_ffile"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_FFILE" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5584 # Check whether --enable-file or --disable-file was given.
5585 if test "${enable_file+set}" = set; then
5586 enableval="$enable_file"
5588 if test "$enableval" = yes; then
5589 ac_cv_use_file='wxUSE_FILE
=yes'
5591 ac_cv_use_file='wxUSE_FILE
=no
'
5596 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x ; then
5598 eval "DEFAULT_$LINE"
5603 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5607 eval "$ac_cv_use_file"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_FILE" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5625 # Check whether --enable-filesystem or --disable-filesystem was given.
5626 if test "${enable_filesystem+set}" = set; then
5627 enableval="$enable_filesystem"
5629 if test "$enableval" = yes; then
5630 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5632 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5637 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x ; then
5639 eval "DEFAULT_$LINE"
5644 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5648 eval "$ac_cv_use_filesystem"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_FILESYSTEM" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5666 # Check whether --enable-fontmap or --disable-fontmap was given.
5667 if test "${enable_fontmap+set}" = set; then
5668 enableval="$enable_fontmap"
5670 if test "$enableval" = yes; then
5671 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5673 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5678 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x ; then
5680 eval "DEFAULT_$LINE"
5685 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5689 eval "$ac_cv_use_fontmap"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_FONTMAP" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5707 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5708 if test "${enable_fs_archive+set}" = set; then
5709 enableval="$enable_fs_archive"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
5714 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
5719 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE
='$DEFAULT_wxUSE_FS_ARCHIVE
5730 eval "$ac_cv_use_fs_archive"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5735 if test "$wxUSE_FS_ARCHIVE" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5748 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5749 if test "${enable_fs_inet+set}" = set; then
5750 enableval="$enable_fs_inet"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5755 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5760 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5771 eval "$ac_cv_use_fs_inet"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_FS_INET" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5789 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5790 if test "${enable_fs_zip+set}" = set; then
5791 enableval="$enable_fs_zip"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5796 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5801 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5812 eval "$ac_cv_use_fs_zip"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_FS_ZIP" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5830 # Check whether --enable-geometry or --disable-geometry was given.
5831 if test "${enable_geometry+set}" = set; then
5832 enableval="$enable_geometry"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5837 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5842 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5853 eval "$ac_cv_use_geometry"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_GEOMETRY" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5871 # Check whether --enable-log or --disable-log was given.
5872 if test "${enable_log+set}" = set; then
5873 enableval="$enable_log"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_log='wxUSE_LOG
=yes'
5878 ac_cv_use_log='wxUSE_LOG
=no
'
5883 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5894 eval "$ac_cv_use_log"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_LOG" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5912 # Check whether --enable-longlong or --disable-longlong was given.
5913 if test "${enable_longlong+set}" = set; then
5914 enableval="$enable_longlong"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5919 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5924 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5935 eval "$ac_cv_use_longlong"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_LONGLONG" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5953 # Check whether --enable-mimetype or --disable-mimetype was given.
5954 if test "${enable_mimetype+set}" = set; then
5955 enableval="$enable_mimetype"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5960 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5965 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5976 eval "$ac_cv_use_mimetype"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_MIMETYPE" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5994 # Check whether --enable-mslu or --disable-mslu was given.
5995 if test "${enable_mslu+set}" = set; then
5996 enableval="$enable_mslu"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6001 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6006 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
6017 eval "$ac_cv_use_mslu"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_UNICODE_MSLU" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
6035 # Check whether --enable-utf8 or --disable-utf8 was given.
6036 if test "${enable_utf8+set}" = set; then
6037 enableval="$enable_utf8"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_utf8='wxUSE_UNICODE_UTF8
=yes'
6042 ac_cv_use_utf8='wxUSE_UNICODE_UTF8
=no
'
6047 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_utf8='wxUSE_UNICODE_UTF8
='$DEFAULT_wxUSE_UNICODE_UTF8
6058 eval "$ac_cv_use_utf8"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_UNICODE_UTF8" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
6076 # Check whether --enable-utf8only or --disable-utf8only was given.
6077 if test "${enable_utf8only+set}" = set; then
6078 enableval="$enable_utf8only"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE
=yes'
6083 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE
=no
'
6088 LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE
='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6099 eval "$ac_cv_use_utf8only"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6117 # Check whether --enable-snglinst or --disable-snglinst was given.
6118 if test "${enable_snglinst+set}" = set; then
6119 enableval="$enable_snglinst"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
6124 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
6129 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
6140 eval "$ac_cv_use_snglinst"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6158 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6159 if test "${enable_std_iostreams+set}" = set; then
6160 enableval="$enable_std_iostreams"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
6165 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
6170 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
6181 eval "$ac_cv_use_std_iostreams"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6186 if test "$wxUSE_STD_IOSTREAM" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6199 # Check whether --enable-std_string or --disable-std_string was given.
6200 if test "${enable_std_string+set}" = set; then
6201 enableval="$enable_std_string"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
6206 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
6211 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
6222 eval "$ac_cv_use_std_string"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_STD_STRING" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6240 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6241 if test "${enable_stdpaths+set}" = set; then
6242 enableval="$enable_stdpaths"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
6247 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
6252 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
6263 eval "$ac_cv_use_stdpaths"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_STDPATHS" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6281 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6282 if test "${enable_stopwatch+set}" = set; then
6283 enableval="$enable_stopwatch"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
6288 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
6293 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
6304 eval "$ac_cv_use_stopwatch"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6309 if test "$wxUSE_STOPWATCH" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6320 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6322 # Check whether --enable-streams or --disable-streams was given.
6323 if test "${enable_streams+set}" = set; then
6324 enableval="$enable_streams"
6326 if test "$enableval" = yes; then
6327 ac_cv_use_streams='wxUSE_STREAMS
=yes'
6329 ac_cv_use_streams='wxUSE_STREAMS
=no
'
6334 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6341 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
6345 eval "$ac_cv_use_streams"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_STREAMS" = yes; then
6351 echo "$as_me:$LINENO: result: yes" >&5
6352 echo "${ECHO_T}yes" >&6
6354 echo "$as_me:$LINENO: result: no" >&5
6355 echo "${ECHO_T}no" >&6
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6363 # Check whether --enable-system_options or --disable-system_options was given.
6364 if test "${enable_system_options+set}" = set; then
6365 enableval="$enable_system_options"
6367 if test "$enableval" = yes; then
6368 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
6370 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
6375 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6382 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6386 eval "$ac_cv_use_system_options"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6391 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6392 echo "$as_me:$LINENO: result: yes" >&5
6393 echo "${ECHO_T}yes" >&6
6395 echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6
6401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6402 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6404 # Check whether --enable-tarstream or --disable-tarstream was given.
6405 if test "${enable_tarstream+set}" = set; then
6406 enableval="$enable_tarstream"
6408 if test "$enableval" = yes; then
6409 ac_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
6411 ac_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
6416 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6417 if test "x$LINE" != x ; then
6418 eval "DEFAULT_$LINE"
6423 ac_cv_use_tarstream='wxUSE_TARSTREAM
='$DEFAULT_wxUSE_TARSTREAM
6427 eval "$ac_cv_use_tarstream"
6428 if test "$no_cache" != 1; then
6429 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6432 if test "$wxUSE_TARSTREAM" = yes; then
6433 echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6
6436 echo "$as_me:$LINENO: result: no" >&5
6437 echo "${ECHO_T}no" >&6
6442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6443 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6445 # Check whether --enable-textbuf or --disable-textbuf was given.
6446 if test "${enable_textbuf+set}" = set; then
6447 enableval="$enable_textbuf"
6449 if test "$enableval" = yes; then
6450 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
6452 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
6457 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x ; then
6459 eval "DEFAULT_$LINE"
6464 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
6468 eval "$ac_cv_use_textbuf"
6469 if test "$no_cache" != 1; then
6470 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6473 if test "$wxUSE_TEXTBUFFER" = yes; then
6474 echo "$as_me:$LINENO: result: yes" >&5
6475 echo "${ECHO_T}yes" >&6
6477 echo "$as_me:$LINENO: result: no" >&5
6478 echo "${ECHO_T}no" >&6
6483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6484 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6486 # Check whether --enable-textfile or --disable-textfile was given.
6487 if test "${enable_textfile+set}" = set; then
6488 enableval="$enable_textfile"
6490 if test "$enableval" = yes; then
6491 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
6493 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
6498 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6499 if test "x$LINE" != x ; then
6500 eval "DEFAULT_$LINE"
6505 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
6509 eval "$ac_cv_use_textfile"
6510 if test "$no_cache" != 1; then
6511 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6514 if test "$wxUSE_TEXTFILE" = yes; then
6515 echo "$as_me:$LINENO: result: yes" >&5
6516 echo "${ECHO_T}yes" >&6
6518 echo "$as_me:$LINENO: result: no" >&5
6519 echo "${ECHO_T}no" >&6
6524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6527 # Check whether --enable-timer or --disable-timer was given.
6528 if test "${enable_timer+set}" = set; then
6529 enableval="$enable_timer"
6531 if test "$enableval" = yes; then
6532 ac_cv_use_timer='wxUSE_TIMER
=yes'
6534 ac_cv_use_timer='wxUSE_TIMER
=no
'
6539 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6540 if test "x$LINE" != x ; then
6541 eval "DEFAULT_$LINE"
6546 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6550 eval "$ac_cv_use_timer"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6555 if test "$wxUSE_TIMER" = yes; then
6556 echo "$as_me:$LINENO: result: yes" >&5
6557 echo "${ECHO_T}yes" >&6
6559 echo "$as_me:$LINENO: result: no" >&5
6560 echo "${ECHO_T}no" >&6
6565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6568 # Check whether --enable-unicode or --disable-unicode was given.
6569 if test "${enable_unicode+set}" = set; then
6570 enableval="$enable_unicode"
6572 if test "$enableval" = yes; then
6573 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6575 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6580 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6581 if test "x$LINE" != x ; then
6582 eval "DEFAULT_$LINE"
6587 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6591 eval "$ac_cv_use_unicode"
6592 if test "$no_cache" != 1; then
6593 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6596 if test "$wxUSE_UNICODE" = yes; then
6597 echo "$as_me:$LINENO: result: yes" >&5
6598 echo "${ECHO_T}yes" >&6
6600 echo "$as_me:$LINENO: result: no" >&5
6601 echo "${ECHO_T}no" >&6
6606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6609 # Check whether --enable-sound or --disable-sound was given.
6610 if test "${enable_sound+set}" = set; then
6611 enableval="$enable_sound"
6613 if test "$enableval" = yes; then
6614 ac_cv_use_sound='wxUSE_SOUND
=yes'
6616 ac_cv_use_sound='wxUSE_SOUND
=no
'
6621 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x ; then
6623 eval "DEFAULT_$LINE"
6628 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6632 eval "$ac_cv_use_sound"
6633 if test "$no_cache" != 1; then
6634 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6637 if test "$wxUSE_SOUND" = yes; then
6638 echo "$as_me:$LINENO: result: yes" >&5
6639 echo "${ECHO_T}yes" >&6
6641 echo "$as_me:$LINENO: result: no" >&5
6642 echo "${ECHO_T}no" >&6
6647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6650 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6651 if test "${enable_mediactrl+set}" = set; then
6652 enableval="$enable_mediactrl"
6654 if test "$enableval" = yes; then
6655 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6657 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6662 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x ; then
6664 eval "DEFAULT_$LINE"
6669 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6673 eval "$ac_cv_use_mediactrl"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6678 if test "$wxUSE_MEDIACTRL" = yes; then
6679 echo "$as_me:$LINENO: result: yes" >&5
6680 echo "${ECHO_T}yes" >&6
6682 echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6
6688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6691 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6692 if test "${enable_gstreamer8+set}" = set; then
6693 enableval="$enable_gstreamer8"
6695 if test "$enableval" = yes; then
6696 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
6698 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
6703 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x ; then
6705 eval "DEFAULT_$LINE"
6710 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8
='$DEFAULT_wxUSE_GSTREAMER8
6714 eval "$ac_cv_use_gstreamer8"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6719 if test "$wxUSE_GSTREAMER8" = yes; then
6720 echo "$as_me:$LINENO: result: yes" >&5
6721 echo "${ECHO_T}yes" >&6
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6732 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6733 if test "${enable_printfposparam+set}" = set; then
6734 enableval="$enable_printfposparam"
6736 if test "$enableval" = yes; then
6737 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
6739 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
6744 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x ; then
6746 eval "DEFAULT_$LINE"
6751 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6755 eval "$ac_cv_use_printfposparam"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6761 echo "$as_me:$LINENO: result: yes" >&5
6762 echo "${ECHO_T}yes" >&6
6764 echo "$as_me:$LINENO: result: no" >&5
6765 echo "${ECHO_T}no" >&6
6770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6771 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6773 # Check whether --enable-zipstream or --disable-zipstream was given.
6774 if test "${enable_zipstream+set}" = set; then
6775 enableval="$enable_zipstream"
6777 if test "$enableval" = yes; then
6778 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6780 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6785 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6786 if test "x$LINE" != x ; then
6787 eval "DEFAULT_$LINE"
6792 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6796 eval "$ac_cv_use_zipstream"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6801 if test "$wxUSE_ZIPSTREAM" = yes; then
6802 echo "$as_me:$LINENO: result: yes" >&5
6803 echo "${ECHO_T}yes" >&6
6805 echo "$as_me:$LINENO: result: no" >&5
6806 echo "${ECHO_T}no" >&6
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6815 # Check whether --enable-url or --disable-url was given.
6816 if test "${enable_url+set}" = set; then
6817 enableval="$enable_url"
6819 if test "$enableval" = yes; then
6820 ac_cv_use_url='wxUSE_URL
=yes'
6822 ac_cv_use_url='wxUSE_URL
=no
'
6827 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6838 eval "$ac_cv_use_url"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_URL" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6854 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6856 # Check whether --enable-variant or --disable-variant was given.
6857 if test "${enable_variant+set}" = set; then
6858 enableval="$enable_variant"
6860 if test "$enableval" = yes; then
6861 ac_cv_use_variant='wxUSE_VARIANT
=yes'
6863 ac_cv_use_variant='wxUSE_VARIANT
=no
'
6868 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_variant='wxUSE_VARIANT
='$DEFAULT_wxUSE_VARIANT
6879 eval "$ac_cv_use_variant"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6884 if test "$wxUSE_VARIANT" = yes; then
6885 echo "$as_me:$LINENO: result: yes" >&5
6886 echo "${ECHO_T}yes" >&6
6888 echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6897 # Check whether --enable-protocol or --disable-protocol was given.
6898 if test "${enable_protocol+set}" = set; then
6899 enableval="$enable_protocol"
6901 if test "$enableval" = yes; then
6902 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6904 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6909 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6916 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6920 eval "$ac_cv_use_protocol"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6925 if test "$wxUSE_PROTOCOL" = yes; then
6926 echo "$as_me:$LINENO: result: yes" >&5
6927 echo "${ECHO_T}yes" >&6
6929 echo "$as_me:$LINENO: result: no" >&5
6930 echo "${ECHO_T}no" >&6
6935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6938 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6939 if test "${enable_protocol_http+set}" = set; then
6940 enableval="$enable_protocol_http"
6942 if test "$enableval" = yes; then
6943 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6945 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6950 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6957 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6961 eval "$ac_cv_use_protocol_http"
6962 if test "$no_cache" != 1; then
6963 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6966 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6967 echo "$as_me:$LINENO: result: yes" >&5
6968 echo "${ECHO_T}yes" >&6
6970 echo "$as_me:$LINENO: result: no" >&5
6971 echo "${ECHO_T}no" >&6
6976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6977 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6979 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6980 if test "${enable_protocol_ftp+set}" = set; then
6981 enableval="$enable_protocol_ftp"
6983 if test "$enableval" = yes; then
6984 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6986 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6991 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6998 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
7002 eval "$ac_cv_use_protocol_ftp"
7003 if test "$no_cache" != 1; then
7004 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7007 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7008 echo "$as_me:$LINENO: result: yes" >&5
7009 echo "${ECHO_T}yes" >&6
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
7020 # Check whether --enable-protocol_file or --disable-protocol_file was given.
7021 if test "${enable_protocol_file+set}" = set; then
7022 enableval="$enable_protocol_file"
7024 if test "$enableval" = yes; then
7025 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
7027 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
7032 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
7043 eval "$ac_cv_use_protocol_file"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7048 if test "$wxUSE_PROTOCOL_FILE" = 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
7061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
7064 # Check whether --enable-threads or --disable-threads was given.
7065 if test "${enable_threads+set}" = set; then
7066 enableval="$enable_threads"
7068 if test "$enableval" = yes; then
7069 ac_cv_use_threads='wxUSE_THREADS
=yes'
7071 ac_cv_use_threads='wxUSE_THREADS
=no
'
7076 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x ; then
7078 eval "DEFAULT_$LINE"
7083 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
7087 eval "$ac_cv_use_threads"
7088 if test "$no_cache" != 1; then
7089 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7092 if test "$wxUSE_THREADS" = yes; then
7093 echo "$as_me:$LINENO: result: yes" >&5
7094 echo "${ECHO_T}yes" >&6
7096 echo "$as_me:$LINENO: result: no" >&5
7097 echo "${ECHO_T}no" >&6
7101 if test "$wxUSE_GUI" = "yes"; then
7106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
7109 # Check whether --enable-docview or --disable-docview was given.
7110 if test "${enable_docview+set}" = set; then
7111 enableval="$enable_docview"
7113 if test "$enableval" = yes; then
7114 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
7116 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
7121 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7122 if test "x$LINE" != x ; then
7123 eval "DEFAULT_$LINE"
7128 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7132 eval "$ac_cv_use_docview"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7137 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7138 echo "$as_me:$LINENO: result: yes" >&5
7139 echo "${ECHO_T}yes" >&6
7141 echo "$as_me:$LINENO: result: no" >&5
7142 echo "${ECHO_T}no" >&6
7147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7150 # Check whether --enable-help or --disable-help was given.
7151 if test "${enable_help+set}" = set; then
7152 enableval="$enable_help"
7154 if test "$enableval" = yes; then
7155 ac_cv_use_help='wxUSE_HELP
=yes'
7157 ac_cv_use_help='wxUSE_HELP
=no
'
7162 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7163 if test "x$LINE" != x ; then
7164 eval "DEFAULT_$LINE"
7169 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
7173 eval "$ac_cv_use_help"
7174 if test "$no_cache" != 1; then
7175 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7178 if test "$wxUSE_HELP" = yes; then
7179 echo "$as_me:$LINENO: result: yes" >&5
7180 echo "${ECHO_T}yes" >&6
7182 echo "$as_me:$LINENO: result: no" >&5
7183 echo "${ECHO_T}no" >&6
7188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7189 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7191 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7192 if test "${enable_mshtmlhelp+set}" = set; then
7193 enableval="$enable_mshtmlhelp"
7195 if test "$enableval" = yes; then
7196 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
7198 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
7203 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7204 if test "x$LINE" != x ; then
7205 eval "DEFAULT_$LINE"
7210 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
7214 eval "$ac_cv_use_mshtmlhelp"
7215 if test "$no_cache" != 1; then
7216 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7219 if test "$wxUSE_MS_HTML_HELP" = yes; then
7220 echo "$as_me:$LINENO: result: yes" >&5
7221 echo "${ECHO_T}yes" >&6
7223 echo "$as_me:$LINENO: result: no" >&5
7224 echo "${ECHO_T}no" >&6
7229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7230 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7232 # Check whether --enable-html or --disable-html was given.
7233 if test "${enable_html+set}" = set; then
7234 enableval="$enable_html"
7236 if test "$enableval" = yes; then
7237 ac_cv_use_html='wxUSE_HTML
=yes'
7239 ac_cv_use_html='wxUSE_HTML
=no
'
7244 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7245 if test "x$LINE" != x ; then
7246 eval "DEFAULT_$LINE"
7251 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
7255 eval "$ac_cv_use_html"
7256 if test "$no_cache" != 1; then
7257 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7260 if test "$wxUSE_HTML" = yes; then
7261 echo "$as_me:$LINENO: result: yes" >&5
7262 echo "${ECHO_T}yes" >&6
7264 echo "$as_me:$LINENO: result: no" >&5
7265 echo "${ECHO_T}no" >&6
7270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7273 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7274 if test "${enable_htmlhelp+set}" = set; then
7275 enableval="$enable_htmlhelp"
7277 if test "$enableval" = yes; then
7278 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
7280 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
7285 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7286 if test "x$LINE" != x ; then
7287 eval "DEFAULT_$LINE"
7292 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
7296 eval "$ac_cv_use_htmlhelp"
7297 if test "$no_cache" != 1; then
7298 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7301 if test "$wxUSE_WXHTML_HELP" = yes; then
7302 echo "$as_me:$LINENO: result: yes" >&5
7303 echo "${ECHO_T}yes" >&6
7305 echo "$as_me:$LINENO: result: no" >&5
7306 echo "${ECHO_T}no" >&6
7311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7312 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7314 # Check whether --enable-xrc or --disable-xrc was given.
7315 if test "${enable_xrc+set}" = set; then
7316 enableval="$enable_xrc"
7318 if test "$enableval" = yes; then
7319 ac_cv_use_xrc='wxUSE_XRC
=yes'
7321 ac_cv_use_xrc='wxUSE_XRC
=no
'
7326 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7333 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
7337 eval "$ac_cv_use_xrc"
7338 if test "$no_cache" != 1; then
7339 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7342 if test "$wxUSE_XRC" = yes; then
7343 echo "$as_me:$LINENO: result: yes" >&5
7344 echo "${ECHO_T}yes" >&6
7346 echo "$as_me:$LINENO: result: no" >&5
7347 echo "${ECHO_T}no" >&6
7352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7355 # Check whether --enable-aui or --disable-aui was given.
7356 if test "${enable_aui+set}" = set; then
7357 enableval="$enable_aui"
7359 if test "$enableval" = yes; then
7360 ac_cv_use_aui='wxUSE_AUI
=yes'
7362 ac_cv_use_aui='wxUSE_AUI
=no
'
7367 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7368 if test "x$LINE" != x ; then
7369 eval "DEFAULT_$LINE"
7374 ac_cv_use_aui='wxUSE_AUI
='$DEFAULT_wxUSE_AUI
7378 eval "$ac_cv_use_aui"
7379 if test "$no_cache" != 1; then
7380 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7383 if test "$wxUSE_AUI" = yes; then
7384 echo "$as_me:$LINENO: result: yes" >&5
7385 echo "${ECHO_T}yes" >&6
7387 echo "$as_me:$LINENO: result: no" >&5
7388 echo "${ECHO_T}no" >&6
7393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
7396 # Check whether --enable-stc or --disable-stc was given.
7397 if test "${enable_stc+set}" = set; then
7398 enableval="$enable_stc"
7400 if test "$enableval" = yes; then
7401 ac_cv_use_stc='wxUSE_STC
=yes'
7403 ac_cv_use_stc='wxUSE_STC
=no
'
7408 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x ; then
7410 eval "DEFAULT_$LINE"
7415 ac_cv_use_stc='wxUSE_STC
='$DEFAULT_wxUSE_STC
7419 eval "$ac_cv_use_stc"
7420 if test "$no_cache" != 1; then
7421 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7424 if test "$wxUSE_STC" = yes; then
7425 echo "$as_me:$LINENO: result: yes" >&5
7426 echo "${ECHO_T}yes" >&6
7428 echo "$as_me:$LINENO: result: no" >&5
7429 echo "${ECHO_T}no" >&6
7434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7435 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7437 # Check whether --enable-constraints or --disable-constraints was given.
7438 if test "${enable_constraints+set}" = set; then
7439 enableval="$enable_constraints"
7441 if test "$enableval" = yes; then
7442 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
7444 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
7449 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x ; then
7451 eval "DEFAULT_$LINE"
7456 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
7460 eval "$ac_cv_use_constraints"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7465 if test "$wxUSE_CONSTRAINTS" = yes; then
7466 echo "$as_me:$LINENO: result: yes" >&5
7467 echo "${ECHO_T}yes" >&6
7469 echo "$as_me:$LINENO: result: no" >&5
7470 echo "${ECHO_T}no" >&6
7475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7478 # Check whether --enable-printarch or --disable-printarch was given.
7479 if test "${enable_printarch+set}" = set; then
7480 enableval="$enable_printarch"
7482 if test "$enableval" = yes; then
7483 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
7485 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
7490 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7491 if test "x$LINE" != x ; then
7492 eval "DEFAULT_$LINE"
7497 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7501 eval "$ac_cv_use_printarch"
7502 if test "$no_cache" != 1; then
7503 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7506 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7507 echo "$as_me:$LINENO: result: yes" >&5
7508 echo "${ECHO_T}yes" >&6
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7519 # Check whether --enable-mdi or --disable-mdi was given.
7520 if test "${enable_mdi+set}" = set; then
7521 enableval="$enable_mdi"
7523 if test "$enableval" = yes; then
7524 ac_cv_use_mdi='wxUSE_MDI
=yes'
7526 ac_cv_use_mdi='wxUSE_MDI
=no
'
7531 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7538 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
7542 eval "$ac_cv_use_mdi"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_MDI" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7558 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7560 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7561 if test "${enable_mdidoc+set}" = set; then
7562 enableval="$enable_mdidoc"
7564 if test "$enableval" = yes; then
7565 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
7567 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
7572 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7573 if test "x$LINE" != x ; then
7574 eval "DEFAULT_$LINE"
7579 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7583 eval "$ac_cv_use_mdidoc"
7584 if test "$no_cache" != 1; then
7585 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7588 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7589 echo "$as_me:$LINENO: result: yes" >&5
7590 echo "${ECHO_T}yes" >&6
7592 echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6
7598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7601 # Check whether --enable-loggui or --disable-loggui was given.
7602 if test "${enable_loggui+set}" = set; then
7603 enableval="$enable_loggui"
7605 if test "$enableval" = yes; then
7606 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
7608 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
7613 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7614 if test "x$LINE" != x ; then
7615 eval "DEFAULT_$LINE"
7620 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
7624 eval "$ac_cv_use_loggui"
7625 if test "$no_cache" != 1; then
7626 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7629 if test "$wxUSE_LOGGUI" = yes; then
7630 echo "$as_me:$LINENO: result: yes" >&5
7631 echo "${ECHO_T}yes" >&6
7633 echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6
7639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7640 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7642 # Check whether --enable-logwin or --disable-logwin was given.
7643 if test "${enable_logwin+set}" = set; then
7644 enableval="$enable_logwin"
7646 if test "$enableval" = yes; then
7647 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
7649 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
7654 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x ; then
7656 eval "DEFAULT_$LINE"
7661 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
7665 eval "$ac_cv_use_logwin"
7666 if test "$no_cache" != 1; then
7667 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7670 if test "$wxUSE_LOGWINDOW" = yes; then
7671 echo "$as_me:$LINENO: result: yes" >&5
7672 echo "${ECHO_T}yes" >&6
7674 echo "$as_me:$LINENO: result: no" >&5
7675 echo "${ECHO_T}no" >&6
7680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7681 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7683 # Check whether --enable-logdialog or --disable-logdialog was given.
7684 if test "${enable_logdialog+set}" = set; then
7685 enableval="$enable_logdialog"
7687 if test "$enableval" = yes; then
7688 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
7690 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
7695 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x ; then
7697 eval "DEFAULT_$LINE"
7702 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7706 eval "$ac_cv_use_logdialog"
7707 if test "$no_cache" != 1; then
7708 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7711 if test "$wxUSE_LOGDIALOG" = yes; then
7712 echo "$as_me:$LINENO: result: yes" >&5
7713 echo "${ECHO_T}yes" >&6
7715 echo "$as_me:$LINENO: result: no" >&5
7716 echo "${ECHO_T}no" >&6
7721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7722 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7724 # Check whether --enable-webkit or --disable-webkit was given.
7725 if test "${enable_webkit+set}" = set; then
7726 enableval="$enable_webkit"
7728 if test "$enableval" = yes; then
7729 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7731 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7736 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7737 if test "x$LINE" != x ; then
7738 eval "DEFAULT_$LINE"
7743 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7747 eval "$ac_cv_use_webkit"
7748 if test "$no_cache" != 1; then
7749 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7752 if test "$wxUSE_WEBKIT" = yes; then
7753 echo "$as_me:$LINENO: result: yes" >&5
7754 echo "${ECHO_T}yes" >&6
7756 echo "$as_me:$LINENO: result: no" >&5
7757 echo "${ECHO_T}no" >&6
7762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7763 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7765 # Check whether --enable-richtext or --disable-richtext was given.
7766 if test "${enable_richtext+set}" = set; then
7767 enableval="$enable_richtext"
7769 if test "$enableval" = yes; then
7770 ac_cv_use_richtext='wxUSE_RICHTEXT
=yes'
7772 ac_cv_use_richtext='wxUSE_RICHTEXT
=no
'
7777 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7778 if test "x$LINE" != x ; then
7779 eval "DEFAULT_$LINE"
7784 ac_cv_use_richtext='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7788 eval "$ac_cv_use_richtext"
7789 if test "$no_cache" != 1; then
7790 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7793 if test "$wxUSE_RICHTEXT" = yes; then
7794 echo "$as_me:$LINENO: result: yes" >&5
7795 echo "${ECHO_T}yes" >&6
7797 echo "$as_me:$LINENO: result: no" >&5
7798 echo "${ECHO_T}no" >&6
7803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7806 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7807 if test "${enable_graphics_ctx+set}" = set; then
7808 enableval="$enable_graphics_ctx"
7810 if test "$enableval" = yes; then
7811 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
7813 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
7818 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x ; then
7820 eval "DEFAULT_$LINE"
7825 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7829 eval "$ac_cv_use_graphics_ctx"
7830 if test "$no_cache" != 1; then
7831 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7834 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7835 echo "$as_me:$LINENO: result: yes" >&5
7836 echo "${ECHO_T}yes" >&6
7838 echo "$as_me:$LINENO: result: no" >&5
7839 echo "${ECHO_T}no" >&6
7845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7846 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7848 # Check whether --enable-postscript or --disable-postscript was given.
7849 if test "${enable_postscript+set}" = set; then
7850 enableval="$enable_postscript"
7852 if test "$enableval" = yes; then
7853 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7855 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7860 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7867 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7871 eval "$ac_cv_use_postscript"
7872 if test "$no_cache" != 1; then
7873 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7876 if test "$wxUSE_POSTSCRIPT" = 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
7889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7890 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7892 # Check whether --enable-clipboard or --disable-clipboard was given.
7893 if test "${enable_clipboard+set}" = set; then
7894 enableval="$enable_clipboard"
7896 if test "$enableval" = yes; then
7897 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7899 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7904 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7911 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7915 eval "$ac_cv_use_clipboard"
7916 if test "$no_cache" != 1; then
7917 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7920 if test "$wxUSE_CLIPBOARD" = yes; then
7921 echo "$as_me:$LINENO: result: yes" >&5
7922 echo "${ECHO_T}yes" >&6
7924 echo "$as_me:$LINENO: result: no" >&5
7925 echo "${ECHO_T}no" >&6
7930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7933 # Check whether --enable-dnd or --disable-dnd was given.
7934 if test "${enable_dnd+set}" = set; then
7935 enableval="$enable_dnd"
7937 if test "$enableval" = yes; then
7938 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7940 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7945 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7952 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7956 eval "$ac_cv_use_dnd"
7957 if test "$no_cache" != 1; then
7958 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7961 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7962 echo "$as_me:$LINENO: result: yes" >&5
7963 echo "${ECHO_T}yes" >&6
7965 echo "$as_me:$LINENO: result: no" >&5
7966 echo "${ECHO_T}no" >&6
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7974 # Check whether --enable-metafile or --disable-metafile was given.
7975 if test "${enable_metafile+set}" = set; then
7976 enableval="$enable_metafile"
7978 if test "$enableval" = yes; then
7979 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7981 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7986 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7993 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7997 eval "$ac_cv_use_metafile"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8002 if test "$wxUSE_METAFILE" = 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
8015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
8018 # Check whether --enable-controls or --disable-controls was given.
8019 if test "${enable_controls+set}" = set; then
8020 enableval="$enable_controls"
8022 if test "$enableval" = yes; then
8023 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
8025 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
8030 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x ; then
8032 eval "DEFAULT_$LINE"
8037 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
8041 eval "$ac_cv_use_controls"
8042 if test "$no_cache" != 1; then
8043 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8046 if test "$wxUSE_CONTROLS" = yes; then
8047 echo "$as_me:$LINENO: result: yes" >&5
8048 echo "${ECHO_T}yes" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8055 if test "$wxUSE_CONTROLS" = "yes"; then
8056 DEFAULT_wxUSE_ACCEL=yes
8057 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8058 DEFAULT_wxUSE_BMPBUTTON=yes
8059 DEFAULT_wxUSE_BUTTON=yes
8060 DEFAULT_wxUSE_CALCTRL=yes
8061 DEFAULT_wxUSE_CARET=yes
8062 DEFAULT_wxUSE_COMBOBOX=yes
8063 DEFAULT_wxUSE_CHECKBOX=yes
8064 DEFAULT_wxUSE_CHECKLISTBOX=yes
8065 DEFAULT_wxUSE_CHOICE=yes
8066 DEFAULT_wxUSE_CHOICEBOOK=yes
8067 DEFAULT_wxUSE_COLLPANE=yes
8068 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8069 DEFAULT_wxUSE_COMBOBOX=yes
8070 DEFAULT_wxUSE_DATEPICKCTRL=yes
8071 DEFAULT_wxUSE_DISPLAY=yes
8072 DEFAULT_wxUSE_DETECT_SM=yes
8073 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8074 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8075 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8076 DEFAULT_wxUSE_GAUGE=yes
8077 DEFAULT_wxUSE_GRID=yes
8078 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8079 DEFAULT_wxUSE_DATAVIEWCTRL=no
8080 DEFAULT_wxUSE_IMAGLIST=yes
8081 DEFAULT_wxUSE_LISTBOOK=yes
8082 DEFAULT_wxUSE_LISTBOX=yes
8083 DEFAULT_wxUSE_LISTCTRL=yes
8084 DEFAULT_wxUSE_NOTEBOOK=yes
8085 DEFAULT_wxUSE_RADIOBOX=yes
8086 DEFAULT_wxUSE_RADIOBTN=yes
8087 DEFAULT_wxUSE_SASH=yes
8088 DEFAULT_wxUSE_SCROLLBAR=yes
8089 DEFAULT_wxUSE_SEARCHCTRL=yes
8090 DEFAULT_wxUSE_SLIDER=yes
8091 DEFAULT_wxUSE_SPINBTN=yes
8092 DEFAULT_wxUSE_SPINCTRL=yes
8093 DEFAULT_wxUSE_SPLITTER=yes
8094 DEFAULT_wxUSE_STATBMP=yes
8095 DEFAULT_wxUSE_STATBOX=yes
8096 DEFAULT_wxUSE_STATLINE=yes
8097 DEFAULT_wxUSE_STATUSBAR=yes
8098 DEFAULT_wxUSE_TAB_DIALOG=yes
8099 DEFAULT_wxUSE_TOGGLEBTN=yes
8100 DEFAULT_wxUSE_TOOLBAR=yes
8101 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8102 DEFAULT_wxUSE_TOOLTIPS=yes
8103 DEFAULT_wxUSE_TREEBOOK=yes
8104 DEFAULT_wxUSE_TOOLBOOK=yes
8105 DEFAULT_wxUSE_TREECTRL=yes
8106 DEFAULT_wxUSE_POPUPWIN=yes
8107 DEFAULT_wxUSE_TIPWINDOW=yes
8108 elif test "$wxUSE_CONTROLS" = "no"; then
8109 DEFAULT_wxUSE_ACCEL=no
8110 DEFAULT_wxUSE_ANIMATIONCTRL=no
8111 DEFAULT_wxUSE_BMPBUTTON=no
8112 DEFAULT_wxUSE_BUTTON=no
8113 DEFAULT_wxUSE_CALCTRL=no
8114 DEFAULT_wxUSE_CARET=no
8115 DEFAULT_wxUSE_COLLPANE=no
8116 DEFAULT_wxUSE_COMBOBOX=no
8117 DEFAULT_wxUSE_CHECKBOX=no
8118 DEFAULT_wxUSE_CHECKLISTBOX=no
8119 DEFAULT_wxUSE_CHOICE=no
8120 DEFAULT_wxUSE_CHOICEBOOK=no
8121 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8122 DEFAULT_wxUSE_COMBOBOX=no
8123 DEFAULT_wxUSE_DATEPICKCTRL=no
8124 DEFAULT_wxUSE_DISPLAY=no
8125 DEFAULT_wxUSE_DETECT_SM=no
8126 DEFAULT_wxUSE_DIRPICKERCTRL=no
8127 DEFAULT_wxUSE_FILEPICKERCTRL=no
8128 DEFAULT_wxUSE_FONTPICKERCTRL=no
8129 DEFAULT_wxUSE_GAUGE=no
8130 DEFAULT_wxUSE_GRID=no
8131 DEFAULT_wxUSE_HYPERLINKCTRL=no
8132 DEFAULT_wxUSE_DATAVIEWCTRL=no
8133 DEFAULT_wxUSE_IMAGLIST=no
8134 DEFAULT_wxUSE_LISTBOOK=no
8135 DEFAULT_wxUSE_LISTBOX=no
8136 DEFAULT_wxUSE_LISTCTRL=no
8137 DEFAULT_wxUSE_NOTEBOOK=no
8138 DEFAULT_wxUSE_RADIOBOX=no
8139 DEFAULT_wxUSE_RADIOBTN=no
8140 DEFAULT_wxUSE_SASH=no
8141 DEFAULT_wxUSE_SCROLLBAR=no
8142 DEFAULT_wxUSE_SEARCHCTRL=no
8143 DEFAULT_wxUSE_SLIDER=no
8144 DEFAULT_wxUSE_SPINBTN=no
8145 DEFAULT_wxUSE_SPINCTRL=no
8146 DEFAULT_wxUSE_SPLITTER=no
8147 DEFAULT_wxUSE_STATBMP=no
8148 DEFAULT_wxUSE_STATBOX=no
8149 DEFAULT_wxUSE_STATLINE=no
8150 DEFAULT_wxUSE_STATUSBAR=no
8151 DEFAULT_wxUSE_TAB_DIALOG=no
8152 DEFAULT_wxUSE_TOGGLEBTN=no
8153 DEFAULT_wxUSE_TOOLBAR=no
8154 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8155 DEFAULT_wxUSE_TOOLTIPS=no
8156 DEFAULT_wxUSE_TREEBOOK=no
8157 DEFAULT_wxUSE_TOOLBOOK=no
8158 DEFAULT_wxUSE_TREECTRL=no
8159 DEFAULT_wxUSE_POPUPWIN=no
8160 DEFAULT_wxUSE_TIPWINDOW=no
8165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8166 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8168 # Check whether --enable-accel or --disable-accel was given.
8169 if test "${enable_accel+set}" = set; then
8170 enableval="$enable_accel"
8172 if test "$enableval" = yes; then
8173 ac_cv_use_accel='wxUSE_ACCEL
=yes'
8175 ac_cv_use_accel='wxUSE_ACCEL
=no
'
8180 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x ; then
8182 eval "DEFAULT_$LINE"
8187 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
8191 eval "$ac_cv_use_accel"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8196 if test "$wxUSE_ACCEL" = yes; then
8197 echo "$as_me:$LINENO: result: yes" >&5
8198 echo "${ECHO_T}yes" >&6
8200 echo "$as_me:$LINENO: result: no" >&5
8201 echo "${ECHO_T}no" >&6
8206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8209 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8210 if test "${enable_animatectrl+set}" = set; then
8211 enableval="$enable_animatectrl"
8213 if test "$enableval" = yes; then
8214 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
8216 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
8221 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8228 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
='$DEFAULT_wxUSE_ANIMATIONCTRL
8232 eval "$ac_cv_use_animatectrl"
8233 if test "$no_cache" != 1; then
8234 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8237 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8238 echo "$as_me:$LINENO: result: yes" >&5
8239 echo "${ECHO_T}yes" >&6
8241 echo "$as_me:$LINENO: result: no" >&5
8242 echo "${ECHO_T}no" >&6
8247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8250 # Check whether --enable-button or --disable-button was given.
8251 if test "${enable_button+set}" = set; then
8252 enableval="$enable_button"
8254 if test "$enableval" = yes; then
8255 ac_cv_use_button='wxUSE_BUTTON
=yes'
8257 ac_cv_use_button='wxUSE_BUTTON
=no
'
8262 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8263 if test "x$LINE" != x ; then
8264 eval "DEFAULT_$LINE"
8269 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
8273 eval "$ac_cv_use_button"
8274 if test "$no_cache" != 1; then
8275 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8278 if test "$wxUSE_BUTTON" = yes; then
8279 echo "$as_me:$LINENO: result: yes" >&5
8280 echo "${ECHO_T}yes" >&6
8282 echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6
8288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8289 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8291 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8292 if test "${enable_bmpbutton+set}" = set; then
8293 enableval="$enable_bmpbutton"
8295 if test "$enableval" = yes; then
8296 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
8298 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
8303 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8310 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
8314 eval "$ac_cv_use_bmpbutton"
8315 if test "$no_cache" != 1; then
8316 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8319 if test "$wxUSE_BMPBUTTON" = yes; then
8320 echo "$as_me:$LINENO: result: yes" >&5
8321 echo "${ECHO_T}yes" >&6
8323 echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6
8329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8332 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8333 if test "${enable_bmpcombobox+set}" = set; then
8334 enableval="$enable_bmpcombobox"
8336 if test "$enableval" = yes; then
8337 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
8339 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
8344 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x ; then
8346 eval "DEFAULT_$LINE"
8351 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8355 eval "$ac_cv_use_bmpcombobox"
8356 if test "$no_cache" != 1; then
8357 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8360 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8361 echo "$as_me:$LINENO: result: yes" >&5
8362 echo "${ECHO_T}yes" >&6
8364 echo "$as_me:$LINENO: result: no" >&5
8365 echo "${ECHO_T}no" >&6
8370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8373 # Check whether --enable-calendar or --disable-calendar was given.
8374 if test "${enable_calendar+set}" = set; then
8375 enableval="$enable_calendar"
8377 if test "$enableval" = yes; then
8378 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
8380 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
8385 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8386 if test "x$LINE" != x ; then
8387 eval "DEFAULT_$LINE"
8392 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
8396 eval "$ac_cv_use_calendar"
8397 if test "$no_cache" != 1; then
8398 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8401 if test "$wxUSE_CALCTRL" = yes; then
8402 echo "$as_me:$LINENO: result: yes" >&5
8403 echo "${ECHO_T}yes" >&6
8405 echo "$as_me:$LINENO: result: no" >&5
8406 echo "${ECHO_T}no" >&6
8411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8412 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8414 # Check whether --enable-caret or --disable-caret was given.
8415 if test "${enable_caret+set}" = set; then
8416 enableval="$enable_caret"
8418 if test "$enableval" = yes; then
8419 ac_cv_use_caret='wxUSE_CARET
=yes'
8421 ac_cv_use_caret='wxUSE_CARET
=no
'
8426 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8433 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
8437 eval "$ac_cv_use_caret"
8438 if test "$no_cache" != 1; then
8439 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8442 if test "$wxUSE_CARET" = yes; then
8443 echo "$as_me:$LINENO: result: yes" >&5
8444 echo "${ECHO_T}yes" >&6
8446 echo "$as_me:$LINENO: result: no" >&5
8447 echo "${ECHO_T}no" >&6
8452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8453 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8455 # Check whether --enable-checkbox or --disable-checkbox was given.
8456 if test "${enable_checkbox+set}" = set; then
8457 enableval="$enable_checkbox"
8459 if test "$enableval" = yes; then
8460 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
8462 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
8467 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8468 if test "x$LINE" != x ; then
8469 eval "DEFAULT_$LINE"
8474 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
8478 eval "$ac_cv_use_checkbox"
8479 if test "$no_cache" != 1; then
8480 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8483 if test "$wxUSE_CHECKBOX" = yes; then
8484 echo "$as_me:$LINENO: result: yes" >&5
8485 echo "${ECHO_T}yes" >&6
8487 echo "$as_me:$LINENO: result: no" >&5
8488 echo "${ECHO_T}no" >&6
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8496 # Check whether --enable-checklst or --disable-checklst was given.
8497 if test "${enable_checklst+set}" = set; then
8498 enableval="$enable_checklst"
8500 if test "$enableval" = yes; then
8501 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
8503 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
8508 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
8519 eval "$ac_cv_use_checklst"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8524 if test "$wxUSE_CHECKLST" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8537 # Check whether --enable-choice or --disable-choice was given.
8538 if test "${enable_choice+set}" = set; then
8539 enableval="$enable_choice"
8541 if test "$enableval" = yes; then
8542 ac_cv_use_choice='wxUSE_CHOICE
=yes'
8544 ac_cv_use_choice='wxUSE_CHOICE
=no
'
8549 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8556 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
8560 eval "$ac_cv_use_choice"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8565 if test "$wxUSE_CHOICE" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8578 # Check whether --enable-choicebook or --disable-choicebook was given.
8579 if test "${enable_choicebook+set}" = set; then
8580 enableval="$enable_choicebook"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
8585 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
8590 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
8601 eval "$ac_cv_use_choicebook"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8606 if test "$wxUSE_CHOICEBOOK" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8619 # Check whether --enable-collpane or --disable-collpane was given.
8620 if test "${enable_collpane+set}" = set; then
8621 enableval="$enable_collpane"
8623 if test "$enableval" = yes; then
8624 ac_cv_use_collpane='wxUSE_COLLPANE
=yes'
8626 ac_cv_use_collpane='wxUSE_COLLPANE
=no
'
8631 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8638 ac_cv_use_collpane='wxUSE_COLLPANE
='$DEFAULT_wxUSE_COLLPANE
8642 eval "$ac_cv_use_collpane"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_COLLPANE" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8660 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8661 if test "${enable_colourpicker+set}" = set; then
8662 enableval="$enable_colourpicker"
8664 if test "$enableval" = yes; then
8665 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
8667 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
8672 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8679 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
='$DEFAULT_wxUSE_COLOURPICKERCTRL
8683 eval "$ac_cv_use_colourpicker"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8688 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8701 # Check whether --enable-combobox or --disable-combobox was given.
8702 if test "${enable_combobox+set}" = set; then
8703 enableval="$enable_combobox"
8705 if test "$enableval" = yes; then
8706 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
8708 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
8713 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8720 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
8724 eval "$ac_cv_use_combobox"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8729 if test "$wxUSE_COMBOBOX" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8742 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8743 if test "${enable_comboctrl+set}" = set; then
8744 enableval="$enable_comboctrl"
8746 if test "$enableval" = yes; then
8747 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
8749 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
8754 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8761 ac_cv_use_comboctrl='wxUSE_COMBOCTRL
='$DEFAULT_wxUSE_COMBOCTRL
8765 eval "$ac_cv_use_comboctrl"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8770 if test "$wxUSE_COMBOCTRL" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8783 # Check whether --enable-datepick or --disable-datepick was given.
8784 if test "${enable_datepick+set}" = set; then
8785 enableval="$enable_datepick"
8787 if test "$enableval" = yes; then
8788 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
8790 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
8795 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8802 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
8806 eval "$ac_cv_use_datepick"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8811 if test "$wxUSE_DATEPICKCTRL" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8824 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8825 if test "${enable_dirpicker+set}" = set; then
8826 enableval="$enable_dirpicker"
8828 if test "$enableval" = yes; then
8829 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
8831 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
8836 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8843 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
='$DEFAULT_wxUSE_DIRPICKERCTRL
8847 eval "$ac_cv_use_dirpicker"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8852 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8865 # Check whether --enable-display or --disable-display was given.
8866 if test "${enable_display+set}" = set; then
8867 enableval="$enable_display"
8869 if test "$enableval" = yes; then
8870 ac_cv_use_display='wxUSE_DISPLAY
=yes'
8872 ac_cv_use_display='wxUSE_DISPLAY
=no
'
8877 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8884 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
8888 eval "$ac_cv_use_display"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8893 if test "$wxUSE_DISPLAY" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8906 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8907 if test "${enable_detect_sm+set}" = set; then
8908 enableval="$enable_detect_sm"
8910 if test "$enableval" = yes; then
8911 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
8913 ac_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
8918 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8925 ac_cv_use_detect_sm='wxUSE_DETECT_SM
='$DEFAULT_wxUSE_DETECT_SM
8929 eval "$ac_cv_use_detect_sm"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8934 if test "$wxUSE_DETECT_SM" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
8947 # Check whether --enable-editablebox or --disable-editablebox was given.
8948 if test "${enable_editablebox+set}" = set; then
8949 enableval="$enable_editablebox"
8951 if test "$enableval" = yes; then
8952 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
8954 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
8959 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8966 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX
='$DEFAULT_wxUSE_EDITABLELISTBOX
8970 eval "$ac_cv_use_editablebox"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
8975 if test "$wxUSE_EDITABLELISTBOX" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8988 # Check whether --enable-filepicker or --disable-filepicker was given.
8989 if test "${enable_filepicker+set}" = set; then
8990 enableval="$enable_filepicker"
8992 if test "$enableval" = yes; then
8993 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
8995 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
9000 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9007 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL
='$DEFAULT_wxUSE_FILEPICKERCTRL
9011 eval "$ac_cv_use_filepicker"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9016 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
9029 # Check whether --enable-fontpicker or --disable-fontpicker was given.
9030 if test "${enable_fontpicker+set}" = set; then
9031 enableval="$enable_fontpicker"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
9036 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
9041 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
='$DEFAULT_wxUSE_FONTPICKERCTRL
9052 eval "$ac_cv_use_fontpicker"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
9070 # Check whether --enable-gauge or --disable-gauge was given.
9071 if test "${enable_gauge+set}" = set; then
9072 enableval="$enable_gauge"
9074 if test "$enableval" = yes; then
9075 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
9077 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
9082 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x ; then
9084 eval "DEFAULT_$LINE"
9089 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
9093 eval "$ac_cv_use_gauge"
9094 if test "$no_cache" != 1; then
9095 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9098 if test "$wxUSE_GAUGE" = yes; then
9099 echo "$as_me:$LINENO: result: yes" >&5
9100 echo "${ECHO_T}yes" >&6
9102 echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6
9108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9109 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
9111 # Check whether --enable-grid or --disable-grid was given.
9112 if test "${enable_grid+set}" = set; then
9113 enableval="$enable_grid"
9115 if test "$enableval" = yes; then
9116 ac_cv_use_grid='wxUSE_GRID
=yes'
9118 ac_cv_use_grid='wxUSE_GRID
=no
'
9123 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9124 if test "x$LINE" != x ; then
9125 eval "DEFAULT_$LINE"
9130 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
9134 eval "$ac_cv_use_grid"
9135 if test "$no_cache" != 1; then
9136 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9139 if test "$wxUSE_GRID" = yes; then
9140 echo "$as_me:$LINENO: result: yes" >&5
9141 echo "${ECHO_T}yes" >&6
9143 echo "$as_me:$LINENO: result: no" >&5
9144 echo "${ECHO_T}no" >&6
9149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9152 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9153 if test "${enable_dataviewctrl+set}" = set; then
9154 enableval="$enable_dataviewctrl"
9156 if test "$enableval" = yes; then
9157 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
9159 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
9164 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9165 if test "x$LINE" != x ; then
9166 eval "DEFAULT_$LINE"
9171 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
9175 eval "$ac_cv_use_dataviewctrl"
9176 if test "$no_cache" != 1; then
9177 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9180 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9181 echo "$as_me:$LINENO: result: yes" >&5
9182 echo "${ECHO_T}yes" >&6
9184 echo "$as_me:$LINENO: result: no" >&5
9185 echo "${ECHO_T}no" >&6
9190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9193 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9194 if test "${enable_hyperlink+set}" = set; then
9195 enableval="$enable_hyperlink"
9197 if test "$enableval" = yes; then
9198 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
9200 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
9205 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x ; then
9207 eval "DEFAULT_$LINE"
9212 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
='$DEFAULT_wxUSE_HYPERLINKCTRL
9216 eval "$ac_cv_use_hyperlink"
9217 if test "$no_cache" != 1; then
9218 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9221 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9222 echo "$as_me:$LINENO: result: yes" >&5
9223 echo "${ECHO_T}yes" >&6
9225 echo "$as_me:$LINENO: result: no" >&5
9226 echo "${ECHO_T}no" >&6
9231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9232 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9234 # Check whether --enable-imaglist or --disable-imaglist was given.
9235 if test "${enable_imaglist+set}" = set; then
9236 enableval="$enable_imaglist"
9238 if test "$enableval" = yes; then
9239 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
9241 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
9246 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x ; then
9248 eval "DEFAULT_$LINE"
9253 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
9257 eval "$ac_cv_use_imaglist"
9258 if test "$no_cache" != 1; then
9259 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9262 if test "$wxUSE_IMAGLIST" = yes; then
9263 echo "$as_me:$LINENO: result: yes" >&5
9264 echo "${ECHO_T}yes" >&6
9266 echo "$as_me:$LINENO: result: no" >&5
9267 echo "${ECHO_T}no" >&6
9272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9275 # Check whether --enable-listbook or --disable-listbook was given.
9276 if test "${enable_listbook+set}" = set; then
9277 enableval="$enable_listbook"
9279 if test "$enableval" = yes; then
9280 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
9282 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
9287 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x ; then
9289 eval "DEFAULT_$LINE"
9294 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
9298 eval "$ac_cv_use_listbook"
9299 if test "$no_cache" != 1; then
9300 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9303 if test "$wxUSE_LISTBOOK" = yes; then
9304 echo "$as_me:$LINENO: result: yes" >&5
9305 echo "${ECHO_T}yes" >&6
9307 echo "$as_me:$LINENO: result: no" >&5
9308 echo "${ECHO_T}no" >&6
9313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9316 # Check whether --enable-listbox or --disable-listbox was given.
9317 if test "${enable_listbox+set}" = set; then
9318 enableval="$enable_listbox"
9320 if test "$enableval" = yes; then
9321 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
9323 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
9328 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9335 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
9339 eval "$ac_cv_use_listbox"
9340 if test "$no_cache" != 1; then
9341 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9344 if test "$wxUSE_LISTBOX" = yes; then
9345 echo "$as_me:$LINENO: result: yes" >&5
9346 echo "${ECHO_T}yes" >&6
9348 echo "$as_me:$LINENO: result: no" >&5
9349 echo "${ECHO_T}no" >&6
9354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9357 # Check whether --enable-listctrl or --disable-listctrl was given.
9358 if test "${enable_listctrl+set}" = set; then
9359 enableval="$enable_listctrl"
9361 if test "$enableval" = yes; then
9362 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
9364 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
9369 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9376 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
9380 eval "$ac_cv_use_listctrl"
9381 if test "$no_cache" != 1; then
9382 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9385 if test "$wxUSE_LISTCTRL" = yes; then
9386 echo "$as_me:$LINENO: result: yes" >&5
9387 echo "${ECHO_T}yes" >&6
9389 echo "$as_me:$LINENO: result: no" >&5
9390 echo "${ECHO_T}no" >&6
9395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9396 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9398 # Check whether --enable-notebook or --disable-notebook was given.
9399 if test "${enable_notebook+set}" = set; then
9400 enableval="$enable_notebook"
9402 if test "$enableval" = yes; then
9403 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
9405 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
9410 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x ; then
9412 eval "DEFAULT_$LINE"
9417 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
9421 eval "$ac_cv_use_notebook"
9422 if test "$no_cache" != 1; then
9423 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9426 if test "$wxUSE_NOTEBOOK" = yes; then
9427 echo "$as_me:$LINENO: result: yes" >&5
9428 echo "${ECHO_T}yes" >&6
9430 echo "$as_me:$LINENO: result: no" >&5
9431 echo "${ECHO_T}no" >&6
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9439 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9440 if test "${enable_odcombobox+set}" = set; then
9441 enableval="$enable_odcombobox"
9443 if test "$enableval" = yes; then
9444 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
9446 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
9451 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9458 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX
='$DEFAULT_wxUSE_ODCOMBOBOX
9462 eval "$ac_cv_use_odcombobox"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9467 if test "$wxUSE_ODCOMBOBOX" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9471 echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6
9477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9480 # Check whether --enable-radiobox or --disable-radiobox was given.
9481 if test "${enable_radiobox+set}" = set; then
9482 enableval="$enable_radiobox"
9484 if test "$enableval" = yes; then
9485 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
9487 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
9492 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9499 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
9503 eval "$ac_cv_use_radiobox"
9504 if test "$no_cache" != 1; then
9505 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9508 if test "$wxUSE_RADIOBOX" = yes; then
9509 echo "$as_me:$LINENO: result: yes" >&5
9510 echo "${ECHO_T}yes" >&6
9512 echo "$as_me:$LINENO: result: no" >&5
9513 echo "${ECHO_T}no" >&6
9518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9521 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9522 if test "${enable_radiobtn+set}" = set; then
9523 enableval="$enable_radiobtn"
9525 if test "$enableval" = yes; then
9526 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
9528 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
9533 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9534 if test "x$LINE" != x ; then
9535 eval "DEFAULT_$LINE"
9540 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
9544 eval "$ac_cv_use_radiobtn"
9545 if test "$no_cache" != 1; then
9546 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9549 if test "$wxUSE_RADIOBTN" = yes; then
9550 echo "$as_me:$LINENO: result: yes" >&5
9551 echo "${ECHO_T}yes" >&6
9553 echo "$as_me:$LINENO: result: no" >&5
9554 echo "${ECHO_T}no" >&6
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9562 # Check whether --enable-sash or --disable-sash was given.
9563 if test "${enable_sash+set}" = set; then
9564 enableval="$enable_sash"
9566 if test "$enableval" = yes; then
9567 ac_cv_use_sash='wxUSE_SASH
=yes'
9569 ac_cv_use_sash='wxUSE_SASH
=no
'
9574 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x ; then
9576 eval "DEFAULT_$LINE"
9581 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
9585 eval "$ac_cv_use_sash"
9586 if test "$no_cache" != 1; then
9587 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9590 if test "$wxUSE_SASH" = yes; then
9591 echo "$as_me:$LINENO: result: yes" >&5
9592 echo "${ECHO_T}yes" >&6
9594 echo "$as_me:$LINENO: result: no" >&5
9595 echo "${ECHO_T}no" >&6
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9603 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9604 if test "${enable_scrollbar+set}" = set; then
9605 enableval="$enable_scrollbar"
9607 if test "$enableval" = yes; then
9608 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
9610 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
9615 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x ; then
9617 eval "DEFAULT_$LINE"
9622 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
9626 eval "$ac_cv_use_scrollbar"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9631 if test "$wxUSE_SCROLLBAR" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9644 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9645 if test "${enable_searchctrl+set}" = set; then
9646 enableval="$enable_searchctrl"
9648 if test "$enableval" = yes; then
9649 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
9651 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
9656 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9657 if test "x$LINE" != x ; then
9658 eval "DEFAULT_$LINE"
9663 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL
='$DEFAULT_wxUSE_SEARCHCTRL
9667 eval "$ac_cv_use_searchctrl"
9668 if test "$no_cache" != 1; then
9669 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9672 if test "$wxUSE_SEARCHCTRL" = yes; then
9673 echo "$as_me:$LINENO: result: yes" >&5
9674 echo "${ECHO_T}yes" >&6
9676 echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6
9682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9683 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9685 # Check whether --enable-slider or --disable-slider was given.
9686 if test "${enable_slider+set}" = set; then
9687 enableval="$enable_slider"
9689 if test "$enableval" = yes; then
9690 ac_cv_use_slider='wxUSE_SLIDER
=yes'
9692 ac_cv_use_slider='wxUSE_SLIDER
=no
'
9697 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9704 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
9708 eval "$ac_cv_use_slider"
9709 if test "$no_cache" != 1; then
9710 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9713 if test "$wxUSE_SLIDER" = yes; then
9714 echo "$as_me:$LINENO: result: yes" >&5
9715 echo "${ECHO_T}yes" >&6
9717 echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6
9723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9726 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9727 if test "${enable_spinbtn+set}" = set; then
9728 enableval="$enable_spinbtn"
9730 if test "$enableval" = yes; then
9731 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
9733 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
9738 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9739 if test "x$LINE" != x ; then
9740 eval "DEFAULT_$LINE"
9745 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
9749 eval "$ac_cv_use_spinbtn"
9750 if test "$no_cache" != 1; then
9751 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9754 if test "$wxUSE_SPINBTN" = yes; then
9755 echo "$as_me:$LINENO: result: yes" >&5
9756 echo "${ECHO_T}yes" >&6
9758 echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6
9764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9765 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9767 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9768 if test "${enable_spinctrl+set}" = set; then
9769 enableval="$enable_spinctrl"
9771 if test "$enableval" = yes; then
9772 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
9774 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
9779 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9780 if test "x$LINE" != x ; then
9781 eval "DEFAULT_$LINE"
9786 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
9790 eval "$ac_cv_use_spinctrl"
9791 if test "$no_cache" != 1; then
9792 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9795 if test "$wxUSE_SPINCTRL" = yes; then
9796 echo "$as_me:$LINENO: result: yes" >&5
9797 echo "${ECHO_T}yes" >&6
9799 echo "$as_me:$LINENO: result: no" >&5
9800 echo "${ECHO_T}no" >&6
9805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9808 # Check whether --enable-splitter or --disable-splitter was given.
9809 if test "${enable_splitter+set}" = set; then
9810 enableval="$enable_splitter"
9812 if test "$enableval" = yes; then
9813 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
9815 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
9820 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9821 if test "x$LINE" != x ; then
9822 eval "DEFAULT_$LINE"
9827 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
9831 eval "$ac_cv_use_splitter"
9832 if test "$no_cache" != 1; then
9833 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9836 if test "$wxUSE_SPLITTER" = yes; then
9837 echo "$as_me:$LINENO: result: yes" >&5
9838 echo "${ECHO_T}yes" >&6
9840 echo "$as_me:$LINENO: result: no" >&5
9841 echo "${ECHO_T}no" >&6
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9849 # Check whether --enable-statbmp or --disable-statbmp was given.
9850 if test "${enable_statbmp+set}" = set; then
9851 enableval="$enable_statbmp"
9853 if test "$enableval" = yes; then
9854 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
9856 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
9861 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9868 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
9872 eval "$ac_cv_use_statbmp"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9877 if test "$wxUSE_STATBMP" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9888 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9890 # Check whether --enable-statbox or --disable-statbox was given.
9891 if test "${enable_statbox+set}" = set; then
9892 enableval="$enable_statbox"
9894 if test "$enableval" = yes; then
9895 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
9897 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
9902 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9903 if test "x$LINE" != x ; then
9904 eval "DEFAULT_$LINE"
9909 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
9913 eval "$ac_cv_use_statbox"
9914 if test "$no_cache" != 1; then
9915 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9918 if test "$wxUSE_STATBOX" = yes; then
9919 echo "$as_me:$LINENO: result: yes" >&5
9920 echo "${ECHO_T}yes" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9929 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9931 # Check whether --enable-statline or --disable-statline was given.
9932 if test "${enable_statline+set}" = set; then
9933 enableval="$enable_statline"
9935 if test "$enableval" = yes; then
9936 ac_cv_use_statline='wxUSE_STATLINE
=yes'
9938 ac_cv_use_statline='wxUSE_STATLINE
=no
'
9943 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9944 if test "x$LINE" != x ; then
9945 eval "DEFAULT_$LINE"
9950 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
9954 eval "$ac_cv_use_statline"
9955 if test "$no_cache" != 1; then
9956 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9959 if test "$wxUSE_STATLINE" = yes; then
9960 echo "$as_me:$LINENO: result: yes" >&5
9961 echo "${ECHO_T}yes" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9972 # Check whether --enable-stattext or --disable-stattext was given.
9973 if test "${enable_stattext+set}" = set; then
9974 enableval="$enable_stattext"
9976 if test "$enableval" = yes; then
9977 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
9979 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
9984 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9985 if test "x$LINE" != x ; then
9986 eval "DEFAULT_$LINE"
9991 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
9995 eval "$ac_cv_use_stattext"
9996 if test "$no_cache" != 1; then
9997 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10000 if test "$wxUSE_STATTEXT" = yes; then
10001 echo "$as_me:$LINENO: result: yes" >&5
10002 echo "${ECHO_T}yes" >&6
10004 echo "$as_me:$LINENO: result: no" >&5
10005 echo "${ECHO_T}no" >&6
10010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10011 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
10013 # Check whether --enable-statusbar or --disable-statusbar was given.
10014 if test "${enable_statusbar+set}" = set; then
10015 enableval="$enable_statusbar"
10017 if test "$enableval" = yes; then
10018 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
10020 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
10025 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10026 if test "x$LINE" != x ; then
10027 eval "DEFAULT_$LINE"
10032 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
10036 eval "$ac_cv_use_statusbar"
10037 if test "$no_cache" != 1; then
10038 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10041 if test "$wxUSE_STATUSBAR" = yes; then
10042 echo "$as_me:$LINENO: result: yes" >&5
10043 echo "${ECHO_T}yes" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
10054 # Check whether --enable-tabdialog or --disable-tabdialog was given.
10055 if test "${enable_tabdialog+set}" = set; then
10056 enableval="$enable_tabdialog"
10058 if test "$enableval" = yes; then
10059 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
10061 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
10066 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x ; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG
='$DEFAULT_wxUSE_TAB_DIALOG
10077 eval "$ac_cv_use_tabdialog"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10082 if test "$wxUSE_TAB_DIALOG" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
10095 # Check whether --enable-textctrl or --disable-textctrl was given.
10096 if test "${enable_textctrl+set}" = set; then
10097 enableval="$enable_textctrl"
10099 if test "$enableval" = yes; then
10100 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
10102 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
10107 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x ; then
10109 eval "DEFAULT_$LINE"
10114 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
10118 eval "$ac_cv_use_textctrl"
10119 if test "$no_cache" != 1; then
10120 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10123 if test "$wxUSE_TEXTCTRL" = yes; then
10124 echo "$as_me:$LINENO: result: yes" >&5
10125 echo "${ECHO_T}yes" >&6
10127 echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6
10133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10136 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10137 if test "${enable_togglebtn+set}" = set; then
10138 enableval="$enable_togglebtn"
10140 if test "$enableval" = yes; then
10141 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
10143 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
10148 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x ; then
10150 eval "DEFAULT_$LINE"
10155 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
10159 eval "$ac_cv_use_togglebtn"
10160 if test "$no_cache" != 1; then
10161 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10164 if test "$wxUSE_TOGGLEBTN" = yes; then
10165 echo "$as_me:$LINENO: result: yes" >&5
10166 echo "${ECHO_T}yes" >&6
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10175 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10177 # Check whether --enable-toolbar or --disable-toolbar was given.
10178 if test "${enable_toolbar+set}" = set; then
10179 enableval="$enable_toolbar"
10181 if test "$enableval" = yes; then
10182 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
10184 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
10189 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x ; then
10191 eval "DEFAULT_$LINE"
10196 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
10200 eval "$ac_cv_use_toolbar"
10201 if test "$no_cache" != 1; then
10202 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10205 if test "$wxUSE_TOOLBAR" = yes; then
10206 echo "$as_me:$LINENO: result: yes" >&5
10207 echo "${ECHO_T}yes" >&6
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10216 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10218 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10219 if test "${enable_tbarnative+set}" = set; then
10220 enableval="$enable_tbarnative"
10222 if test "$enableval" = yes; then
10223 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
10225 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
10230 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x ; then
10232 eval "DEFAULT_$LINE"
10237 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10241 eval "$ac_cv_use_tbarnative"
10242 if test "$no_cache" != 1; then
10243 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10246 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10247 echo "$as_me:$LINENO: result: yes" >&5
10248 echo "${ECHO_T}yes" >&6
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10257 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10259 # Check whether --enable-treebook or --disable-treebook was given.
10260 if test "${enable_treebook+set}" = set; then
10261 enableval="$enable_treebook"
10263 if test "$enableval" = yes; then
10264 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
10266 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
10271 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x ; then
10273 eval "DEFAULT_$LINE"
10278 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
10282 eval "$ac_cv_use_treebook"
10283 if test "$no_cache" != 1; then
10284 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10287 if test "$wxUSE_TREEBOOK" = yes; then
10288 echo "$as_me:$LINENO: result: yes" >&5
10289 echo "${ECHO_T}yes" >&6
10291 echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6
10297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10298 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10300 # Check whether --enable-toolbook or --disable-toolbook was given.
10301 if test "${enable_toolbook+set}" = set; then
10302 enableval="$enable_toolbook"
10304 if test "$enableval" = yes; then
10305 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
10307 ac_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
10312 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x ; then
10314 eval "DEFAULT_$LINE"
10319 ac_cv_use_toolbook='wxUSE_TOOLBOOK
='$DEFAULT_wxUSE_TOOLBOOK
10323 eval "$ac_cv_use_toolbook"
10324 if test "$no_cache" != 1; then
10325 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10328 if test "$wxUSE_TOOLBOOK" = yes; then
10329 echo "$as_me:$LINENO: result: yes" >&5
10330 echo "${ECHO_T}yes" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10339 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10341 # Check whether --enable-treectrl or --disable-treectrl was given.
10342 if test "${enable_treectrl+set}" = set; then
10343 enableval="$enable_treectrl"
10345 if test "$enableval" = yes; then
10346 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
10348 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
10353 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x ; then
10355 eval "DEFAULT_$LINE"
10360 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
10364 eval "$ac_cv_use_treectrl"
10365 if test "$no_cache" != 1; then
10366 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10369 if test "$wxUSE_TREECTRL" = yes; then
10370 echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6
10373 echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6
10379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10382 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10383 if test "${enable_tipwindow+set}" = set; then
10384 enableval="$enable_tipwindow"
10386 if test "$enableval" = yes; then
10387 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
10389 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
10394 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10401 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
10405 eval "$ac_cv_use_tipwindow"
10406 if test "$no_cache" != 1; then
10407 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10410 if test "$wxUSE_TIPWINDOW" = yes; then
10411 echo "$as_me:$LINENO: result: yes" >&5
10412 echo "${ECHO_T}yes" >&6
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10423 # Check whether --enable-popupwin or --disable-popupwin was given.
10424 if test "${enable_popupwin+set}" = set; then
10425 enableval="$enable_popupwin"
10427 if test "$enableval" = yes; then
10428 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
10430 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
10435 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x ; then
10437 eval "DEFAULT_$LINE"
10442 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
10446 eval "$ac_cv_use_popupwin"
10447 if test "$no_cache" != 1; then
10448 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10451 if test "$wxUSE_POPUPWIN" = yes; then
10452 echo "$as_me:$LINENO: result: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10455 echo "$as_me:$LINENO: result: no" >&5
10456 echo "${ECHO_T}no" >&6
10463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10466 # Check whether --enable-commondlg or --disable-commondlg was given.
10467 if test "${enable_commondlg+set}" = set; then
10468 enableval="$enable_commondlg"
10470 if test "$enableval" = yes; then
10471 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
10473 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
10478 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10479 if test "x$LINE" != x ; then
10480 eval "DEFAULT_$LINE"
10485 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
10489 eval "$ac_cv_use_commondlg"
10490 if test "$no_cache" != 1; then
10491 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10494 if test "$wxUSE_COMMONDLGS" = yes; then
10495 echo "$as_me:$LINENO: result: yes" >&5
10496 echo "${ECHO_T}yes" >&6
10498 echo "$as_me:$LINENO: result: no" >&5
10499 echo "${ECHO_T}no" >&6
10504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10507 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10508 if test "${enable_aboutdlg+set}" = set; then
10509 enableval="$enable_aboutdlg"
10511 if test "$enableval" = yes; then
10512 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
10514 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
10519 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10520 if test "x$LINE" != x ; then
10521 eval "DEFAULT_$LINE"
10526 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG
='$DEFAULT_wxUSE_ABOUTDLG
10530 eval "$ac_cv_use_aboutdlg"
10531 if test "$no_cache" != 1; then
10532 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10535 if test "$wxUSE_ABOUTDLG" = yes; then
10536 echo "$as_me:$LINENO: result: yes" >&5
10537 echo "${ECHO_T}yes" >&6
10539 echo "$as_me:$LINENO: result: no" >&5
10540 echo "${ECHO_T}no" >&6
10545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10548 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10549 if test "${enable_choicedlg+set}" = set; then
10550 enableval="$enable_choicedlg"
10552 if test "$enableval" = yes; then
10553 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
10555 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
10560 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10561 if test "x$LINE" != x ; then
10562 eval "DEFAULT_$LINE"
10567 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
10571 eval "$ac_cv_use_choicedlg"
10572 if test "$no_cache" != 1; then
10573 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10576 if test "$wxUSE_CHOICEDLG" = yes; then
10577 echo "$as_me:$LINENO: result: yes" >&5
10578 echo "${ECHO_T}yes" >&6
10580 echo "$as_me:$LINENO: result: no" >&5
10581 echo "${ECHO_T}no" >&6
10586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10587 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10589 # Check whether --enable-coldlg or --disable-coldlg was given.
10590 if test "${enable_coldlg+set}" = set; then
10591 enableval="$enable_coldlg"
10593 if test "$enableval" = yes; then
10594 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
10596 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
10601 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10602 if test "x$LINE" != x ; then
10603 eval "DEFAULT_$LINE"
10608 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
10612 eval "$ac_cv_use_coldlg"
10613 if test "$no_cache" != 1; then
10614 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10617 if test "$wxUSE_COLOURDLG" = yes; then
10618 echo "$as_me:$LINENO: result: yes" >&5
10619 echo "${ECHO_T}yes" >&6
10621 echo "$as_me:$LINENO: result: no" >&5
10622 echo "${ECHO_T}no" >&6
10627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10628 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10630 # Check whether --enable-filedlg or --disable-filedlg was given.
10631 if test "${enable_filedlg+set}" = set; then
10632 enableval="$enable_filedlg"
10634 if test "$enableval" = yes; then
10635 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
10637 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
10642 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10643 if test "x$LINE" != x ; then
10644 eval "DEFAULT_$LINE"
10649 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
10653 eval "$ac_cv_use_filedlg"
10654 if test "$no_cache" != 1; then
10655 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10658 if test "$wxUSE_FILEDLG" = yes; then
10659 echo "$as_me:$LINENO: result: yes" >&5
10660 echo "${ECHO_T}yes" >&6
10662 echo "$as_me:$LINENO: result: no" >&5
10663 echo "${ECHO_T}no" >&6
10668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10671 # Check whether --enable-finddlg or --disable-finddlg was given.
10672 if test "${enable_finddlg+set}" = set; then
10673 enableval="$enable_finddlg"
10675 if test "$enableval" = yes; then
10676 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
10678 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
10683 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10684 if test "x$LINE" != x ; then
10685 eval "DEFAULT_$LINE"
10690 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
10694 eval "$ac_cv_use_finddlg"
10695 if test "$no_cache" != 1; then
10696 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10699 if test "$wxUSE_FINDREPLDLG" = yes; then
10700 echo "$as_me:$LINENO: result: yes" >&5
10701 echo "${ECHO_T}yes" >&6
10703 echo "$as_me:$LINENO: result: no" >&5
10704 echo "${ECHO_T}no" >&6
10709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10710 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10712 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10713 if test "${enable_fontdlg+set}" = set; then
10714 enableval="$enable_fontdlg"
10716 if test "$enableval" = yes; then
10717 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
10719 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
10724 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10725 if test "x$LINE" != x ; then
10726 eval "DEFAULT_$LINE"
10731 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
10735 eval "$ac_cv_use_fontdlg"
10736 if test "$no_cache" != 1; then
10737 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10740 if test "$wxUSE_FONTDLG" = yes; then
10741 echo "$as_me:$LINENO: result: yes" >&5
10742 echo "${ECHO_T}yes" >&6
10744 echo "$as_me:$LINENO: result: no" >&5
10745 echo "${ECHO_T}no" >&6
10750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10753 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10754 if test "${enable_dirdlg+set}" = set; then
10755 enableval="$enable_dirdlg"
10757 if test "$enableval" = yes; then
10758 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
10760 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
10765 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10766 if test "x$LINE" != x ; then
10767 eval "DEFAULT_$LINE"
10772 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
10776 eval "$ac_cv_use_dirdlg"
10777 if test "$no_cache" != 1; then
10778 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10781 if test "$wxUSE_DIRDLG" = yes; then
10782 echo "$as_me:$LINENO: result: yes" >&5
10783 echo "${ECHO_T}yes" >&6
10785 echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6
10791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10794 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10795 if test "${enable_msgdlg+set}" = set; then
10796 enableval="$enable_msgdlg"
10798 if test "$enableval" = yes; then
10799 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
10801 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
10806 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x ; then
10808 eval "DEFAULT_$LINE"
10813 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
10817 eval "$ac_cv_use_msgdlg"
10818 if test "$no_cache" != 1; then
10819 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10822 if test "$wxUSE_MSGDLG" = yes; then
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10826 echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10835 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10836 if test "${enable_numberdlg+set}" = set; then
10837 enableval="$enable_numberdlg"
10839 if test "$enableval" = yes; then
10840 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
10842 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
10847 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x ; then
10849 eval "DEFAULT_$LINE"
10854 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
10858 eval "$ac_cv_use_numberdlg"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10863 if test "$wxUSE_NUMBERDLG" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10874 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10876 # Check whether --enable-splash or --disable-splash was given.
10877 if test "${enable_splash+set}" = set; then
10878 enableval="$enable_splash"
10880 if test "$enableval" = yes; then
10881 ac_cv_use_splash='wxUSE_SPLASH
=yes'
10883 ac_cv_use_splash='wxUSE_SPLASH
=no
'
10888 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10889 if test "x$LINE" != x ; then
10890 eval "DEFAULT_$LINE"
10895 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
10899 eval "$ac_cv_use_splash"
10900 if test "$no_cache" != 1; then
10901 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10904 if test "$wxUSE_SPLASH" = yes; then
10905 echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10915 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10917 # Check whether --enable-textdlg or --disable-textdlg was given.
10918 if test "${enable_textdlg+set}" = set; then
10919 enableval="$enable_textdlg"
10921 if test "$enableval" = yes; then
10922 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
10924 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
10929 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10930 if test "x$LINE" != x ; then
10931 eval "DEFAULT_$LINE"
10936 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
10940 eval "$ac_cv_use_textdlg"
10941 if test "$no_cache" != 1; then
10942 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10945 if test "$wxUSE_TEXTDLG" = yes; then
10946 echo "$as_me:$LINENO: result: yes" >&5
10947 echo "${ECHO_T}yes" >&6
10949 echo "$as_me:$LINENO: result: no" >&5
10950 echo "${ECHO_T}no" >&6
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10958 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10959 if test "${enable_tipdlg+set}" = set; then
10960 enableval="$enable_tipdlg"
10962 if test "$enableval" = yes; then
10963 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
10965 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
10970 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x ; then
10972 eval "DEFAULT_$LINE"
10977 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
10981 eval "$ac_cv_use_tipdlg"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10986 if test "$wxUSE_STARTUP_TIPS" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10999 # Check whether --enable-progressdlg or --disable-progressdlg was given.
11000 if test "${enable_progressdlg+set}" = set; then
11001 enableval="$enable_progressdlg"
11003 if test "$enableval" = yes; then
11004 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
11006 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
11011 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x ; then
11013 eval "DEFAULT_$LINE"
11018 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
11022 eval "$ac_cv_use_progressdlg"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11027 if test "$wxUSE_PROGRESSDLG" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
11040 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
11041 if test "${enable_wizarddlg+set}" = set; then
11042 enableval="$enable_wizarddlg"
11044 if test "$enableval" = yes; then
11045 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
11047 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
11052 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x ; then
11054 eval "DEFAULT_$LINE"
11059 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
11063 eval "$ac_cv_use_wizarddlg"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11068 if test "$wxUSE_WIZARDDLG" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11081 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
11083 # Check whether --enable-menus or --disable-menus was given.
11084 if test "${enable_menus+set}" = set; then
11085 enableval="$enable_menus"
11087 if test "$enableval" = yes; then
11088 ac_cv_use_menus='wxUSE_MENUS
=yes'
11090 ac_cv_use_menus='wxUSE_MENUS
=no
'
11095 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11096 if test "x$LINE" != x ; then
11097 eval "DEFAULT_$LINE"
11102 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
11106 eval "$ac_cv_use_menus"
11107 if test "$no_cache" != 1; then
11108 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11111 if test "$wxUSE_MENUS" = yes; then
11112 echo "$as_me:$LINENO: result: yes" >&5
11113 echo "${ECHO_T}yes" >&6
11115 echo "$as_me:$LINENO: result: no" >&5
11116 echo "${ECHO_T}no" >&6
11121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
11124 # Check whether --enable-miniframe or --disable-miniframe was given.
11125 if test "${enable_miniframe+set}" = set; then
11126 enableval="$enable_miniframe"
11128 if test "$enableval" = yes; then
11129 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
11131 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
11136 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11137 if test "x$LINE" != x ; then
11138 eval "DEFAULT_$LINE"
11143 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
11147 eval "$ac_cv_use_miniframe"
11148 if test "$no_cache" != 1; then
11149 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11152 if test "$wxUSE_MINIFRAME" = yes; then
11153 echo "$as_me:$LINENO: result: yes" >&5
11154 echo "${ECHO_T}yes" >&6
11156 echo "$as_me:$LINENO: result: no" >&5
11157 echo "${ECHO_T}no" >&6
11162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11163 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11165 # Check whether --enable-tooltips or --disable-tooltips was given.
11166 if test "${enable_tooltips+set}" = set; then
11167 enableval="$enable_tooltips"
11169 if test "$enableval" = yes; then
11170 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
11172 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
11177 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11178 if test "x$LINE" != x ; then
11179 eval "DEFAULT_$LINE"
11184 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
11188 eval "$ac_cv_use_tooltips"
11189 if test "$no_cache" != 1; then
11190 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11193 if test "$wxUSE_TOOLTIPS" = yes; then
11194 echo "$as_me:$LINENO: result: yes" >&5
11195 echo "${ECHO_T}yes" >&6
11197 echo "$as_me:$LINENO: result: no" >&5
11198 echo "${ECHO_T}no" >&6
11203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11206 # Check whether --enable-splines or --disable-splines was given.
11207 if test "${enable_splines+set}" = set; then
11208 enableval="$enable_splines"
11210 if test "$enableval" = yes; then
11211 ac_cv_use_splines='wxUSE_SPLINES
=yes'
11213 ac_cv_use_splines='wxUSE_SPLINES
=no
'
11218 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11219 if test "x$LINE" != x ; then
11220 eval "DEFAULT_$LINE"
11225 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
11229 eval "$ac_cv_use_splines"
11230 if test "$no_cache" != 1; then
11231 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11234 if test "$wxUSE_SPLINES" = yes; then
11235 echo "$as_me:$LINENO: result: yes" >&5
11236 echo "${ECHO_T}yes" >&6
11238 echo "$as_me:$LINENO: result: no" >&5
11239 echo "${ECHO_T}no" >&6
11244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11245 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11247 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11248 if test "${enable_mousewheel+set}" = set; then
11249 enableval="$enable_mousewheel"
11251 if test "$enableval" = yes; then
11252 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
11254 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
11259 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11260 if test "x$LINE" != x ; then
11261 eval "DEFAULT_$LINE"
11266 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
11270 eval "$ac_cv_use_mousewheel"
11271 if test "$no_cache" != 1; then
11272 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11275 if test "$wxUSE_MOUSEWHEEL" = yes; then
11276 echo "$as_me:$LINENO: result: yes" >&5
11277 echo "${ECHO_T}yes" >&6
11279 echo "$as_me:$LINENO: result: no" >&5
11280 echo "${ECHO_T}no" >&6
11285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11286 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11288 # Check whether --enable-validators or --disable-validators was given.
11289 if test "${enable_validators+set}" = set; then
11290 enableval="$enable_validators"
11292 if test "$enableval" = yes; then
11293 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
11295 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
11300 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11301 if test "x$LINE" != x ; then
11302 eval "DEFAULT_$LINE"
11307 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
11311 eval "$ac_cv_use_validators"
11312 if test "$no_cache" != 1; then
11313 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11316 if test "$wxUSE_VALIDATORS" = yes; then
11317 echo "$as_me:$LINENO: result: yes" >&5
11318 echo "${ECHO_T}yes" >&6
11320 echo "$as_me:$LINENO: result: no" >&5
11321 echo "${ECHO_T}no" >&6
11326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11327 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11329 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11330 if test "${enable_busyinfo+set}" = set; then
11331 enableval="$enable_busyinfo"
11333 if test "$enableval" = yes; then
11334 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
11336 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
11341 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11342 if test "x$LINE" != x ; then
11343 eval "DEFAULT_$LINE"
11348 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
11352 eval "$ac_cv_use_busyinfo"
11353 if test "$no_cache" != 1; then
11354 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11357 if test "$wxUSE_BUSYINFO" = yes; then
11358 echo "$as_me:$LINENO: result: yes" >&5
11359 echo "${ECHO_T}yes" >&6
11361 echo "$as_me:$LINENO: result: no" >&5
11362 echo "${ECHO_T}no" >&6
11367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11368 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11370 # Check whether --enable-joystick or --disable-joystick was given.
11371 if test "${enable_joystick+set}" = set; then
11372 enableval="$enable_joystick"
11374 if test "$enableval" = yes; then
11375 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
11377 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
11382 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11383 if test "x$LINE" != x ; then
11384 eval "DEFAULT_$LINE"
11389 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
11393 eval "$ac_cv_use_joystick"
11394 if test "$no_cache" != 1; then
11395 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11398 if test "$wxUSE_JOYSTICK" = yes; then
11399 echo "$as_me:$LINENO: result: yes" >&5
11400 echo "${ECHO_T}yes" >&6
11402 echo "$as_me:$LINENO: result: no" >&5
11403 echo "${ECHO_T}no" >&6
11408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11409 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11411 # Check whether --enable-metafile or --disable-metafile was given.
11412 if test "${enable_metafile+set}" = set; then
11413 enableval="$enable_metafile"
11415 if test "$enableval" = yes; then
11416 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
11418 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
11423 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11424 if test "x$LINE" != x ; then
11425 eval "DEFAULT_$LINE"
11430 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
11434 eval "$ac_cv_use_metafile"
11435 if test "$no_cache" != 1; then
11436 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11439 if test "$wxUSE_METAFILE" = yes; then
11440 echo "$as_me:$LINENO: result: yes" >&5
11441 echo "${ECHO_T}yes" >&6
11443 echo "$as_me:$LINENO: result: no" >&5
11444 echo "${ECHO_T}no" >&6
11449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11450 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11452 # Check whether --enable-dragimage or --disable-dragimage was given.
11453 if test "${enable_dragimage+set}" = set; then
11454 enableval="$enable_dragimage"
11456 if test "$enableval" = yes; then
11457 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
11459 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
11464 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11465 if test "x$LINE" != x ; then
11466 eval "DEFAULT_$LINE"
11471 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
11475 eval "$ac_cv_use_dragimage"
11476 if test "$no_cache" != 1; then
11477 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11480 if test "$wxUSE_DRAGIMAGE" = yes; then
11481 echo "$as_me:$LINENO: result: yes" >&5
11482 echo "${ECHO_T}yes" >&6
11484 echo "$as_me:$LINENO: result: no" >&5
11485 echo "${ECHO_T}no" >&6
11490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11491 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11493 # Check whether --enable-accessibility or --disable-accessibility was given.
11494 if test "${enable_accessibility+set}" = set; then
11495 enableval="$enable_accessibility"
11497 if test "$enableval" = yes; then
11498 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
11500 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
11505 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11506 if test "x$LINE" != x ; then
11507 eval "DEFAULT_$LINE"
11512 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
11516 eval "$ac_cv_use_accessibility"
11517 if test "$no_cache" != 1; then
11518 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11521 if test "$wxUSE_ACCESSIBILITY" = yes; then
11522 echo "$as_me:$LINENO: result: yes" >&5
11523 echo "${ECHO_T}yes" >&6
11525 echo "$as_me:$LINENO: result: no" >&5
11526 echo "${ECHO_T}no" >&6
11530 if test "$wxUSE_MSW" = "1"; then
11533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11536 # Check whether --enable-dccache or --disable-dccache was given.
11537 if test "${enable_dccache+set}" = set; then
11538 enableval="$enable_dccache"
11540 if test "$enableval" = yes; then
11541 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
11543 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
11548 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11549 if test "x$LINE" != x ; then
11550 eval "DEFAULT_$LINE"
11555 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
11559 eval "$ac_cv_use_dccache"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11564 if test "$wxUSE_DC_CACHEING" = 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
11577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11580 # Check whether --enable-palette or --disable-palette was given.
11581 if test "${enable_palette+set}" = set; then
11582 enableval="$enable_palette"
11584 if test "$enableval" = yes; then
11585 ac_cv_use_palette='wxUSE_PALETTE
=yes'
11587 ac_cv_use_palette='wxUSE_PALETTE
=no
'
11592 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11593 if test "x$LINE" != x ; then
11594 eval "DEFAULT_$LINE"
11599 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
11603 eval "$ac_cv_use_palette"
11604 if test "$no_cache" != 1; then
11605 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11608 if test "$wxUSE_PALETTE" = yes; then
11609 echo "$as_me:$LINENO: result: yes" >&5
11610 echo "${ECHO_T}yes" >&6
11612 echo "$as_me:$LINENO: result: no" >&5
11613 echo "${ECHO_T}no" >&6
11618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11619 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11621 # Check whether --enable-image or --disable-image was given.
11622 if test "${enable_image+set}" = set; then
11623 enableval="$enable_image"
11625 if test "$enableval" = yes; then
11626 ac_cv_use_image='wxUSE_IMAGE
=yes'
11628 ac_cv_use_image='wxUSE_IMAGE
=no
'
11633 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11634 if test "x$LINE" != x ; then
11635 eval "DEFAULT_$LINE"
11640 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
11644 eval "$ac_cv_use_image"
11645 if test "$no_cache" != 1; then
11646 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11649 if test "$wxUSE_IMAGE" = yes; then
11650 echo "$as_me:$LINENO: result: yes" >&5
11651 echo "${ECHO_T}yes" >&6
11653 echo "$as_me:$LINENO: result: no" >&5
11654 echo "${ECHO_T}no" >&6
11659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11660 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11662 # Check whether --enable-gif or --disable-gif was given.
11663 if test "${enable_gif+set}" = set; then
11664 enableval="$enable_gif"
11666 if test "$enableval" = yes; then
11667 ac_cv_use_gif='wxUSE_GIF
=yes'
11669 ac_cv_use_gif='wxUSE_GIF
=no
'
11674 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11675 if test "x$LINE" != x ; then
11676 eval "DEFAULT_$LINE"
11681 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
11685 eval "$ac_cv_use_gif"
11686 if test "$no_cache" != 1; then
11687 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11690 if test "$wxUSE_GIF" = yes; then
11691 echo "$as_me:$LINENO: result: yes" >&5
11692 echo "${ECHO_T}yes" >&6
11694 echo "$as_me:$LINENO: result: no" >&5
11695 echo "${ECHO_T}no" >&6
11700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11701 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11703 # Check whether --enable-pcx or --disable-pcx was given.
11704 if test "${enable_pcx+set}" = set; then
11705 enableval="$enable_pcx"
11707 if test "$enableval" = yes; then
11708 ac_cv_use_pcx='wxUSE_PCX
=yes'
11710 ac_cv_use_pcx='wxUSE_PCX
=no
'
11715 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11716 if test "x$LINE" != x ; then
11717 eval "DEFAULT_$LINE"
11722 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
11726 eval "$ac_cv_use_pcx"
11727 if test "$no_cache" != 1; then
11728 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11731 if test "$wxUSE_PCX" = yes; then
11732 echo "$as_me:$LINENO: result: yes" >&5
11733 echo "${ECHO_T}yes" >&6
11735 echo "$as_me:$LINENO: result: no" >&5
11736 echo "${ECHO_T}no" >&6
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11744 # Check whether --enable-tga or --disable-tga was given.
11745 if test "${enable_tga+set}" = set; then
11746 enableval="$enable_tga"
11748 if test "$enableval" = yes; then
11749 ac_cv_use_tga='wxUSE_TGA
=yes'
11751 ac_cv_use_tga='wxUSE_TGA
=no
'
11756 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11763 ac_cv_use_tga='wxUSE_TGA
='$DEFAULT_wxUSE_TGA
11767 eval "$ac_cv_use_tga"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11772 if test "$wxUSE_TGA" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11783 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11785 # Check whether --enable-iff or --disable-iff was given.
11786 if test "${enable_iff+set}" = set; then
11787 enableval="$enable_iff"
11789 if test "$enableval" = yes; then
11790 ac_cv_use_iff='wxUSE_IFF
=yes'
11792 ac_cv_use_iff='wxUSE_IFF
=no
'
11797 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11798 if test "x$LINE" != x ; then
11799 eval "DEFAULT_$LINE"
11804 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
11808 eval "$ac_cv_use_iff"
11809 if test "$no_cache" != 1; then
11810 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11813 if test "$wxUSE_IFF" = yes; then
11814 echo "$as_me:$LINENO: result: yes" >&5
11815 echo "${ECHO_T}yes" >&6
11817 echo "$as_me:$LINENO: result: no" >&5
11818 echo "${ECHO_T}no" >&6
11823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11826 # Check whether --enable-pnm or --disable-pnm was given.
11827 if test "${enable_pnm+set}" = set; then
11828 enableval="$enable_pnm"
11830 if test "$enableval" = yes; then
11831 ac_cv_use_pnm='wxUSE_PNM
=yes'
11833 ac_cv_use_pnm='wxUSE_PNM
=no
'
11838 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11839 if test "x$LINE" != x ; then
11840 eval "DEFAULT_$LINE"
11845 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
11849 eval "$ac_cv_use_pnm"
11850 if test "$no_cache" != 1; then
11851 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11854 if test "$wxUSE_PNM" = yes; then
11855 echo "$as_me:$LINENO: result: yes" >&5
11856 echo "${ECHO_T}yes" >&6
11858 echo "$as_me:$LINENO: result: no" >&5
11859 echo "${ECHO_T}no" >&6
11864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11865 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11867 # Check whether --enable-xpm or --disable-xpm was given.
11868 if test "${enable_xpm+set}" = set; then
11869 enableval="$enable_xpm"
11871 if test "$enableval" = yes; then
11872 ac_cv_use_xpm='wxUSE_XPM
=yes'
11874 ac_cv_use_xpm='wxUSE_XPM
=no
'
11879 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11880 if test "x$LINE" != x ; then
11881 eval "DEFAULT_$LINE"
11886 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
11890 eval "$ac_cv_use_xpm"
11891 if test "$no_cache" != 1; then
11892 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11895 if test "$wxUSE_XPM" = yes; then
11896 echo "$as_me:$LINENO: result: yes" >&5
11897 echo "${ECHO_T}yes" >&6
11899 echo "$as_me:$LINENO: result: no" >&5
11900 echo "${ECHO_T}no" >&6
11905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11906 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11908 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11909 if test "${enable_ico_cur+set}" = set; then
11910 enableval="$enable_ico_cur"
11912 if test "$enableval" = yes; then
11913 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
11915 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
11920 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11921 if test "x$LINE" != x ; then
11922 eval "DEFAULT_$LINE"
11927 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
11931 eval "$ac_cv_use_ico_cur"
11932 if test "$no_cache" != 1; then
11933 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11936 if test "$wxUSE_ICO_CUR" = yes; then
11937 echo "$as_me:$LINENO: result: yes" >&5
11938 echo "${ECHO_T}yes" >&6
11940 echo "$as_me:$LINENO: result: no" >&5
11941 echo "${ECHO_T}no" >&6
11949 # Check whether --with-flavour or --without-flavour was given.
11950 if test "${with_flavour+set}" = set; then
11951 withval="$with_flavour"
11952 WX_FLAVOUR="$withval"
11958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11959 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11961 # Check whether --enable-official_build or --disable-official_build was given.
11962 if test "${enable_official_build+set}" = set; then
11963 enableval="$enable_official_build"
11965 if test "$enableval" = yes; then
11966 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
11968 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
11973 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11980 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
11984 eval "$ac_cv_use_official_build"
11985 if test "$no_cache" != 1; then
11986 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11989 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11990 echo "$as_me:$LINENO: result: yes" >&5
11991 echo "${ECHO_T}yes" >&6
11993 echo "$as_me:$LINENO: result: no" >&5
11994 echo "${ECHO_T}no" >&6
11997 # Check whether --enable-vendor or --disable-vendor was given.
11998 if test "${enable_vendor+set}" = set; then
11999 enableval="$enable_vendor"
12000 VENDOR="$enableval"
12002 if test "x$VENDOR" = "x"; then
12009 echo "saving argument cache $wx_arg_cache_file"
12010 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12014 echo "$as_me:$LINENO: checking for toolkit" >&5
12015 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
12017 # In Wine, we need to default to MSW, not GTK or MOTIF
12018 if test "$wxUSE_WINE" = "yes"; then
12019 DEFAULT_DEFAULT_wxUSE_GTK=0
12020 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12021 DEFAULT_DEFAULT_wxUSE_MSW=1
12024 CXX=${CXX:-wineg++}
12028 if test "$wxUSE_GUI" = "yes"; then
12030 if test "$USE_BEOS" = 1; then
12031 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12032 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12033 { (exit 1); exit 1; }; }
12036 if test "$TOOLKIT_GIVEN" = 1; then
12037 for toolkit in `echo $ALL_TOOLKITS`; do
12039 eval "value=\$${var}"
12040 if test "x$value" = "xno"; then
12042 elif test "x$value" != "x"; then
12046 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12047 eval "wx${toolkit}_VERSION=$value"
12051 for toolkit in `echo $ALL_TOOLKITS`; do
12052 if test "$has_toolkit_in_cache" != 1; then
12053 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12055 var=DEFAULT_wxUSE_$toolkit
12057 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12058 if test "x$version" != "x"; then
12059 eval "wx${toolkit}_VERSION=$version"
12062 eval "wxUSE_$toolkit=\$${var}"
12066 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12067 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12068 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12071 *-pc-os2_emx | *-pc-os2-emx )
12072 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12075 case "$NUM_TOOLKITS" in
12079 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12080 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12081 { (exit 1); exit 1; }; }
12084 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12085 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12086 { (exit 1); exit 1; }; }
12089 # to be removed when --disable-gtk2 isn't needed
12090 if test "x$wxUSE_GTK2" = "xyes"; then
12092 elif test "x$wxUSE_GTK2" = "xno"; then
12096 for toolkit
in `echo $ALL_TOOLKITS`; do
12098 eval "value=\$${var}"
12099 if test "x$value" != x
; then
12100 cache_var
=CACHE_
$toolkit
12101 eval "cache=\$${cache_var}"
12102 if test "$cache" = 1; then
12103 echo "$var=$value" >> ${wx_arg_cache_file}
12104 eval "version=\$wx${toolkit}_VERSION"
12105 if test "x$version" != "x"; then
12106 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12109 if test "$value" = 1; then
12110 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12111 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12112 echo "${ECHO_T}$toolkit_echo" >&6
12117 if test "x$host_alias" != "x"; then
12118 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12119 echo "${ECHO_T}base ($host_alias hosted) only" >&6
12121 echo "$as_me:$LINENO: result: base only" >&5
12122 echo "${ECHO_T}base only" >&6
12127 cat >confcache
<<\_ACEOF
12128 # This file is a shell script that caches the results of configure
12129 # tests run on this system so they can be shared between configure
12130 # scripts and configure runs, see configure's option --config-cache.
12131 # It is not useful on other systems. If it contains results you don't
12132 # want to keep, you may remove or edit it.
12134 # config.status only pays attention to the cache file if you give it
12135 # the --recheck option to rerun configure.
12137 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12138 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12139 # following values.
12143 # The following way of writing the cache mishandles newlines in values,
12144 # but we know of no workaround that is simple, portable, and efficient.
12145 # So, don't put newlines in cache variables' values.
12146 # Ultrix sh set writes to stderr and can't be redirected directly,
12147 # and sets the high bit in the cache file unless we assign to the vars.
12150 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12152 # `set' does not quote correctly, so add quotes (double-quote
12153 # substitution turns \\\\ into \\, and sed turns \\ into \).
12156 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12159 # `set' quotes correctly as required by POSIX, so do not add quotes.
12161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12168 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12170 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12172 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
12173 if test -w $cache_file; then
12174 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12175 cat confcache
>$cache_file
12177 echo "not updating unwritable cache $cache_file"
12187 ac_cpp
='$CPP $CPPFLAGS'
12188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12191 if test -n "$ac_tool_prefix"; then
12192 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12193 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
12194 echo "$as_me:$LINENO: checking for $ac_word" >&5
12195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12196 if test "${ac_cv_prog_CC+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 if test -n "$CC"; then
12200 ac_cv_prog_CC
="$CC" # Let the user override the test.
12202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12203 for as_dir
in $PATH
12206 test -z "$as_dir" && as_dir
=.
12207 for ac_exec_ext
in '' $ac_executable_extensions; do
12208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12209 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
12210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12219 if test -n "$CC"; then
12220 echo "$as_me:$LINENO: result: $CC" >&5
12221 echo "${ECHO_T}$CC" >&6
12223 echo "$as_me:$LINENO: result: no" >&5
12224 echo "${ECHO_T}no" >&6
12228 if test -z "$ac_cv_prog_CC"; then
12230 # Extract the first word of "gcc", so it can be a program name with args.
12231 set dummy gcc
; ac_word
=$2
12232 echo "$as_me:$LINENO: checking for $ac_word" >&5
12233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12234 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 if test -n "$ac_ct_CC"; then
12238 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12241 for as_dir
in $PATH
12244 test -z "$as_dir" && as_dir
=.
12245 for ac_exec_ext
in '' $ac_executable_extensions; do
12246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12247 ac_cv_prog_ac_ct_CC
="gcc"
12248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12256 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12257 if test -n "$ac_ct_CC"; then
12258 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12259 echo "${ECHO_T}$ac_ct_CC" >&6
12261 echo "$as_me:$LINENO: result: no" >&5
12262 echo "${ECHO_T}no" >&6
12267 CC
="$ac_cv_prog_CC"
12270 if test -z "$CC"; then
12271 if test -n "$ac_tool_prefix"; then
12272 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12273 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
12274 echo "$as_me:$LINENO: checking for $ac_word" >&5
12275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12276 if test "${ac_cv_prog_CC+set}" = set; then
12277 echo $ECHO_N "(cached) $ECHO_C" >&6
12279 if test -n "$CC"; then
12280 ac_cv_prog_CC
="$CC" # Let the user override the test.
12282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12283 for as_dir
in $PATH
12286 test -z "$as_dir" && as_dir
=.
12287 for ac_exec_ext
in '' $ac_executable_extensions; do
12288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12289 ac_cv_prog_CC
="${ac_tool_prefix}cc"
12290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12299 if test -n "$CC"; then
12300 echo "$as_me:$LINENO: result: $CC" >&5
12301 echo "${ECHO_T}$CC" >&6
12303 echo "$as_me:$LINENO: result: no" >&5
12304 echo "${ECHO_T}no" >&6
12308 if test -z "$ac_cv_prog_CC"; then
12310 # Extract the first word of "cc", so it can be a program name with args.
12311 set dummy cc
; ac_word
=$2
12312 echo "$as_me:$LINENO: checking for $ac_word" >&5
12313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 if test -n "$ac_ct_CC"; then
12318 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12321 for as_dir
in $PATH
12324 test -z "$as_dir" && as_dir
=.
12325 for ac_exec_ext
in '' $ac_executable_extensions; do
12326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12327 ac_cv_prog_ac_ct_CC
="cc"
12328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12336 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12337 if test -n "$ac_ct_CC"; then
12338 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12339 echo "${ECHO_T}$ac_ct_CC" >&6
12341 echo "$as_me:$LINENO: result: no" >&5
12342 echo "${ECHO_T}no" >&6
12347 CC
="$ac_cv_prog_CC"
12351 if test -z "$CC"; then
12352 # Extract the first word of "cc", so it can be a program name with args.
12353 set dummy cc
; ac_word
=$2
12354 echo "$as_me:$LINENO: checking for $ac_word" >&5
12355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12356 if test "${ac_cv_prog_CC+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 if test -n "$CC"; then
12360 ac_cv_prog_CC
="$CC" # Let the user override the test.
12362 ac_prog_rejected
=no
12363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12364 for as_dir
in $PATH
12367 test -z "$as_dir" && as_dir
=.
12368 for ac_exec_ext
in '' $ac_executable_extensions; do
12369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12371 ac_prog_rejected
=yes
12375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12381 if test $ac_prog_rejected = yes; then
12382 # We found a bogon in the path, so make sure we never use it.
12383 set dummy
$ac_cv_prog_CC
12385 if test $# != 0; then
12386 # We chose a different compiler from the bogus one.
12387 # However, it has the same basename, so the bogon will be chosen
12388 # first if we set CC to just the basename; use the full file name.
12390 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
12396 if test -n "$CC"; then
12397 echo "$as_me:$LINENO: result: $CC" >&5
12398 echo "${ECHO_T}$CC" >&6
12400 echo "$as_me:$LINENO: result: no" >&5
12401 echo "${ECHO_T}no" >&6
12405 if test -z "$CC"; then
12406 if test -n "$ac_tool_prefix"; then
12409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12410 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12411 echo "$as_me:$LINENO: checking for $ac_word" >&5
12412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12413 if test "${ac_cv_prog_CC+set}" = set; then
12414 echo $ECHO_N "(cached) $ECHO_C" >&6
12416 if test -n "$CC"; then
12417 ac_cv_prog_CC
="$CC" # Let the user override the test.
12419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12420 for as_dir
in $PATH
12423 test -z "$as_dir" && as_dir
=.
12424 for ac_exec_ext
in '' $ac_executable_extensions; do
12425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12426 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
12427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12436 if test -n "$CC"; then
12437 echo "$as_me:$LINENO: result: $CC" >&5
12438 echo "${ECHO_T}$CC" >&6
12440 echo "$as_me:$LINENO: result: no" >&5
12441 echo "${ECHO_T}no" >&6
12444 test -n "$CC" && break
12447 if test -z "$CC"; then
12451 # Extract the first word of "$ac_prog", so it can be a program name with args.
12452 set dummy
$ac_prog; ac_word
=$2
12453 echo "$as_me:$LINENO: checking for $ac_word" >&5
12454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12455 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 if test -n "$ac_ct_CC"; then
12459 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
12461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12462 for as_dir
in $PATH
12465 test -z "$as_dir" && as_dir
=.
12466 for ac_exec_ext
in '' $ac_executable_extensions; do
12467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12468 ac_cv_prog_ac_ct_CC
="$ac_prog"
12469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12477 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
12478 if test -n "$ac_ct_CC"; then
12479 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12480 echo "${ECHO_T}$ac_ct_CC" >&6
12482 echo "$as_me:$LINENO: result: no" >&5
12483 echo "${ECHO_T}no" >&6
12486 test -n "$ac_ct_CC" && break
12495 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12496 See \`config.log' for more details." >&5
12497 echo "$as_me: error: no acceptable C compiler found in \$PATH
12498 See \`config.log' for more details." >&2;}
12499 { (exit 1); exit 1; }; }
12501 # Provide some information about the compiler.
12502 echo "$as_me:$LINENO:" \
12503 "checking for C compiler version" >&5
12504 ac_compiler
=`set X $ac_compile; echo $2`
12505 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12506 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }
12510 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12511 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }
12515 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12516 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }
12521 cat >conftest.
$ac_ext <<_ACEOF
12524 cat confdefs.h
>>conftest.
$ac_ext
12525 cat >>conftest.
$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12536 ac_clean_files_save
=$ac_clean_files
12537 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
12538 # Try to create an executable without -o first, disregard a.out.
12539 # It will help us diagnose broken compilers, and finding out an intuition
12541 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12542 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12543 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12544 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12545 (eval $ac_link_default) 2>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); }; then
12549 # Find the output, starting from the most likely. This scheme is
12550 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12553 # Be careful to initialize this variable, since it used to be cached.
12554 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12556 # b.out is created by i960 compilers.
12557 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
12559 test -f "$ac_file" || continue
12561 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
12564 # This is the source file.
12567 # We found the default executable, but exeext='' is most
12571 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12572 # FIXME: I believe we export ac_cv_exeext for Libtool,
12573 # but it would be cool to find out if it's true. Does anybody
12574 # maintain Libtool? --akim.
12575 export ac_cv_exeext
12582 echo "$as_me: failed program was:" >&5
12583 sed 's/^/| /' conftest.
$ac_ext >&5
12585 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12586 See \`config.log' for more details." >&5
12587 echo "$as_me: error: C compiler cannot create executables
12588 See \`config.log' for more details." >&2;}
12589 { (exit 77); exit 77; }; }
12592 ac_exeext
=$ac_cv_exeext
12593 echo "$as_me:$LINENO: result: $ac_file" >&5
12594 echo "${ECHO_T}$ac_file" >&6
12596 # Check the compiler produces executables we can run. If not, either
12597 # the compiler is broken, or we cross compile.
12598 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12599 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12600 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12601 # If not cross compiling, check that we can run a simple program.
12602 if test "$cross_compiling" != yes; then
12603 if { ac_try
='./$ac_file'
12604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12605 (eval $ac_try) 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12611 if test "$cross_compiling" = maybe
; then
12612 cross_compiling
=yes
12614 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12615 If you meant to cross compile, use \`--host'.
12616 See \`config.log' for more details." >&5
12617 echo "$as_me: error: cannot run C compiled programs.
12618 If you meant to cross compile, use \`--host'.
12619 See \`config.log' for more details." >&2;}
12620 { (exit 1); exit 1; }; }
12624 echo "$as_me:$LINENO: result: yes" >&5
12625 echo "${ECHO_T}yes" >&6
12627 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
12628 ac_clean_files
=$ac_clean_files_save
12629 # Check the compiler produces executables we can run. If not, either
12630 # the compiler is broken, or we cross compile.
12631 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12632 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12633 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12634 echo "${ECHO_T}$cross_compiling" >&6
12636 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12637 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12639 (eval $ac_link) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; then
12643 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12644 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12645 # work properly (i.e., refer to `conftest.exe'), while it won't with
12647 for ac_file
in conftest.exe conftest conftest.
*; do
12648 test -f "$ac_file" || continue
12650 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
12651 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
12652 export ac_cv_exeext
12658 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12659 See \`config.log' for more details." >&5
12660 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12661 See \`config.log' for more details." >&2;}
12662 { (exit 1); exit 1; }; }
12665 rm -f conftest
$ac_cv_exeext
12666 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12667 echo "${ECHO_T}$ac_cv_exeext" >&6
12669 rm -f conftest.
$ac_ext
12670 EXEEXT
=$ac_cv_exeext
12672 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12673 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12674 if test "${ac_cv_objext+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12677 cat >conftest.
$ac_ext <<_ACEOF
12680 cat confdefs.h
>>conftest.
$ac_ext
12681 cat >>conftest.
$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12692 rm -f conftest.o conftest.obj
12693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12694 (eval $ac_compile) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; then
12698 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12700 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
12701 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.
$ac_ext >&5
12709 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12710 See \`config.log' for more details." >&5
12711 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12712 See \`config.log' for more details." >&2;}
12713 { (exit 1); exit 1; }; }
12716 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
12718 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12719 echo "${ECHO_T}$ac_cv_objext" >&6
12720 OBJEXT
=$ac_cv_objext
12722 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12723 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12724 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12745 rm -f conftest.
$ac_objext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12747 (eval $ac_compile) 2>conftest.er1
12749 grep -v '^ *+' conftest.er1
>conftest.err
12751 cat conftest.err
>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } &&
12754 { ac_try
='test -z "$ac_c_werror_flag"
12755 || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try
='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_compiler_gnu
=yes
12769 echo "$as_me: failed program was:" >&5
12770 sed 's/^/| /' conftest.
$ac_ext >&5
12774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12775 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
12778 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12779 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12780 GCC
=`test $ac_compiler_gnu = yes && echo yes`
12781 ac_test_CFLAGS
=${CFLAGS+set}
12782 ac_save_CFLAGS
=$CFLAGS
12784 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12785 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12786 if test "${ac_cv_prog_cc_g+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 cat >conftest.
$ac_ext <<_ACEOF
12792 cat confdefs.h
>>conftest.
$ac_ext
12793 cat >>conftest.
$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12804 rm -f conftest.
$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>conftest.er1
12808 grep -v '^ *+' conftest.er1
>conftest.err
12810 cat conftest.err
>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try
='test -z "$ac_c_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try
='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 ac_cv_prog_cc_g
=yes
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.
$ac_ext >&5
12833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12835 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12836 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12837 if test "$ac_test_CFLAGS" = set; then
12838 CFLAGS
=$ac_save_CFLAGS
12839 elif test $ac_cv_prog_cc_g = yes; then
12840 if test "$GCC" = yes; then
12846 if test "$GCC" = yes; then
12852 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12853 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12854 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12857 ac_cv_prog_cc_stdc
=no
12859 cat >conftest.
$ac_ext <<_ACEOF
12862 cat confdefs.h
>>conftest.
$ac_ext
12863 cat >>conftest.
$ac_ext <<_ACEOF
12864 /* end confdefs.h. */
12865 #include <stdarg.h>
12867 #include <sys/types.h>
12868 #include <sys/stat.h>
12869 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12870 struct buf { int x; };
12871 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12872 static char *e (p, i)
12878 static char *f (char * (*g) (char **, int), char **p, ...)
12883 s = g (p, va_arg (v,int));
12888 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12889 function prototypes and stuff, but not '\xHH' hex character constants.
12890 These don't provoke an error unfortunately, instead are silently treated
12891 as 'x'. The following induces an error, until -std1 is added to get
12892 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12893 array size at least. It's necessary to write '\x00'==0 to get something
12894 that's true only with -std1. */
12895 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12897 int test (int i, double x);
12898 struct s1 {int (*f) (int a);};
12899 struct s2 {int (*f) (double a);};
12900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12906 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12911 # Don't try gcc -ansi; that turns off useful extensions and
12912 # breaks some systems' header files.
12913 # AIX -qlanglvl=ansi
12914 # Ultrix and OSF/1 -std1
12915 # HP-UX 10.20 and later -Ae
12916 # HP-UX older versions -Aa -D_HPUX_SOURCE
12917 # SVR4 -Xc -D__EXTENSIONS__
12918 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12920 CC
="$ac_save_CC $ac_arg"
12921 rm -f conftest.
$ac_objext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12923 (eval $ac_compile) 2>conftest.er1
12925 grep -v '^ *+' conftest.er1
>conftest.err
12927 cat conftest.err
>&5
12928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929 (exit $ac_status); } &&
12930 { ac_try
='test -z "$ac_c_werror_flag"
12931 || test ! -s conftest.err'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; } &&
12937 { ac_try
='test -s conftest.$ac_objext'
12938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939 (eval $ac_try) 2>&5
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }; }; then
12943 ac_cv_prog_cc_stdc
=$ac_arg
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.
$ac_ext >&5
12950 rm -f conftest.err conftest.
$ac_objext
12952 rm -f conftest.
$ac_ext conftest.
$ac_objext
12957 case "x$ac_cv_prog_cc_stdc" in
12959 echo "$as_me:$LINENO: result: none needed" >&5
12960 echo "${ECHO_T}none needed" >&6 ;;
12962 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12963 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12964 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12967 # Some people use a C++ compiler to compile C. Since we use `exit',
12968 # in C++ we need to declare it. In case someone uses the same compiler
12969 # for both compiling C and C++ we need to have the C++ compiler decide
12970 # the declaration of exit, since it's the most demanding environment.
12971 cat >conftest.
$ac_ext <<_ACEOF
12972 #ifndef __cplusplus
12976 rm -f conftest.
$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>conftest.er1
12980 grep -v '^ *+' conftest.er1
>conftest.err
12982 cat conftest.err
>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); } &&
12985 { ac_try
='test -z "$ac_c_werror_flag"
12986 || test ! -s conftest.err'
12987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988 (eval $ac_try) 2>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; } &&
12992 { ac_try
='test -s conftest.$ac_objext'
12993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994 (eval $ac_try) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
12998 for ac_declaration
in \
13000 'extern "C" void std::exit (int) throw (); using std::exit;' \
13001 'extern "C" void std::exit (int); using std::exit;' \
13002 'extern "C" void exit (int) throw ();' \
13003 'extern "C" void exit (int);' \
13006 cat >conftest.
$ac_ext <<_ACEOF
13009 cat confdefs.h
>>conftest.
$ac_ext
13010 cat >>conftest.
$ac_ext <<_ACEOF
13011 /* end confdefs.h. */
13013 #include <stdlib.h>
13022 rm -f conftest.
$ac_objext
13023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13024 (eval $ac_compile) 2>conftest.er1
13026 grep -v '^ *+' conftest.er1
>conftest.err
13028 cat conftest.err
>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } &&
13031 { ac_try
='test -z "$ac_c_werror_flag"
13032 || test ! -s conftest.err'
13033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 (eval $ac_try) 2>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); }; } &&
13038 { ac_try
='test -s conftest.$ac_objext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13052 cat >conftest.
$ac_ext <<_ACEOF
13055 cat confdefs.h
>>conftest.
$ac_ext
13056 cat >>conftest.
$ac_ext <<_ACEOF
13057 /* end confdefs.h. */
13067 rm -f conftest.
$ac_objext
13068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13069 (eval $ac_compile) 2>conftest.er1
13071 grep -v '^ *+' conftest.er1
>conftest.err
13073 cat conftest.err
>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } &&
13076 { ac_try
='test -z "$ac_c_werror_flag"
13077 || test ! -s conftest.err'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; } &&
13083 { ac_try
='test -s conftest.$ac_objext'
13084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13085 (eval $ac_try) 2>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); }; }; then
13091 echo "$as_me: failed program was:" >&5
13092 sed 's/^/| /' conftest.
$ac_ext >&5
13095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13098 if test -n "$ac_declaration"; then
13099 echo '#ifdef __cplusplus' >>confdefs.h
13100 echo $ac_declaration >>confdefs.h
13101 echo '#endif' >>confdefs.h
13105 echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.
$ac_ext >&5
13109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13111 ac_cpp
='$CPP $CPPFLAGS'
13112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13119 ac_cpp
='$CPP $CPPFLAGS'
13120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13124 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13125 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13126 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 cat >conftest.
$ac_ext <<_ACEOF
13132 cat confdefs.h
>>conftest.
$ac_ext
13133 cat >>conftest.
$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13140 #ifndef __INTEL_COMPILER
13148 rm -f conftest.
$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13152 grep -v '^ *+' conftest.er1
>conftest.err
13154 cat conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try
='test -z "$ac_c_werror_flag"
13158 || test ! -s conftest.err'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; } &&
13164 { ac_try
='test -s conftest.$ac_objext'
13165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13166 (eval $ac_try) 2>&5
13168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13169 (exit $ac_status); }; }; then
13170 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.
$ac_ext >&5
13175 bakefile_cv_c_compiler___INTEL_COMPILER
=no
13178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13182 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13183 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13185 ac_cpp
='$CPP $CPPFLAGS'
13186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13190 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13197 if test "x$GCC" != "xyes"; then
13198 if test "xCC" = "xC"; then
13199 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13200 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13201 if test "${bakefile_cv_c_exto+set}" = set; then
13202 echo $ECHO_N "(cached) $ECHO_C" >&6
13204 cat >conftest.
$ac_ext <<_ACEOF
13207 cat confdefs.h
>>conftest.
$ac_ext
13208 cat >>conftest.
$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13219 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13221 (eval $ac_compile) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; then
13225 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13227 conftest.
$ac_ext.o
)
13228 bakefile_cv_c_exto
="-ext o"
13235 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13236 See \`config.log' for more details." >&5
13237 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13238 See \`config.log' for more details." >&2;}
13239 { (exit 1); exit 1; }; }
13243 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13246 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13247 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13248 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13249 if test "c" = "c"; then
13250 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
13252 if test "c" = "cxx"; then
13253 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
13257 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13258 unset ac_cv_prog_cc_g
13259 ac_test_CFLAGS
=${CFLAGS+set}
13260 ac_save_CFLAGS
=$CFLAGS
13262 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13263 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13264 if test "${ac_cv_prog_cc_g+set}" = set; then
13265 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 cat >conftest.
$ac_ext <<_ACEOF
13270 cat confdefs.h
>>conftest.
$ac_ext
13271 cat >>conftest.
$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13282 rm -f conftest.
$ac_objext
13283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13284 (eval $ac_compile) 2>conftest.er1
13286 grep -v '^ *+' conftest.er1
>conftest.err
13288 cat conftest.err
>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try
='test -z "$ac_c_werror_flag"
13292 || test ! -s conftest.err'
13293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13294 (eval $ac_try) 2>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); }; } &&
13298 { ac_try
='test -s conftest.$ac_objext'
13299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13300 (eval $ac_try) 2>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); }; }; then
13304 ac_cv_prog_cc_g
=yes
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.
$ac_ext >&5
13311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13313 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13314 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13315 if test "$ac_test_CFLAGS" = set; then
13316 CFLAGS
=$ac_save_CFLAGS
13317 elif test $ac_cv_prog_cc_g = yes; then
13318 if test "$GCC" = yes; then
13324 if test "$GCC" = yes; then
13336 ac_cpp
='$CPP $CPPFLAGS'
13337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13341 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13342 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13343 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 cat >conftest.
$ac_ext <<_ACEOF
13349 cat confdefs.h
>>conftest.
$ac_ext
13350 cat >>conftest.
$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13364 rm -f conftest.
$ac_objext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13366 (eval $ac_compile) 2>conftest.er1
13368 grep -v '^ *+' conftest.er1
>conftest.err
13370 cat conftest.err
>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try
='test -z "$ac_c_werror_flag"
13374 || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try
='test -s conftest.$ac_objext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 bakefile_compiler_xlc
=yes
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.
$ac_ext >&5
13391 bakefile_compiler_xlc
=no
13393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13394 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13397 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13398 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13400 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13402 ac_cpp
='$CPP $CPPFLAGS'
13403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13412 ac_cpp
='$CPP $CPPFLAGS'
13413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13417 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13418 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13419 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13422 cat >conftest.
$ac_ext <<_ACEOF
13425 cat confdefs.h
>>conftest.
$ac_ext
13426 cat >>conftest.
$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13440 rm -f conftest.
$ac_objext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>conftest.er1
13444 grep -v '^ *+' conftest.er1
>conftest.err
13446 cat conftest.err
>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try
='test -z "$ac_c_werror_flag"
13450 || test ! -s conftest.err'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; } &&
13456 { ac_try
='test -s conftest.$ac_objext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13462 bakefile_compiler_mwerks
=yes
13464 echo "$as_me: failed program was:" >&5
13465 sed 's/^/| /' conftest.
$ac_ext >&5
13467 bakefile_compiler_mwerks
=no
13469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13470 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
13473 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13474 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13476 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13478 ac_cpp
='$CPP $CPPFLAGS'
13479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13485 ac_cpp
='$CPP $CPPFLAGS'
13486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13490 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13491 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13492 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13495 cat >conftest.
$ac_ext <<_ACEOF
13498 cat confdefs.h
>>conftest.
$ac_ext
13499 cat >>conftest.
$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13513 rm -f conftest.
$ac_objext
13514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13515 (eval $ac_compile) 2>conftest.er1
13517 grep -v '^ *+' conftest.er1
>conftest.err
13519 cat conftest.err
>&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); } &&
13522 { ac_try
='test -z "$ac_c_werror_flag"
13523 || test ! -s conftest.err'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; } &&
13529 { ac_try
='test -s conftest.$ac_objext'
13530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13531 (eval $ac_try) 2>&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); }; }; then
13535 bakefile_compiler_xlc
=yes
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.
$ac_ext >&5
13540 bakefile_compiler_xlc
=no
13542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13543 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
13546 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13547 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13549 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13551 ac_cpp
='$CPP $CPPFLAGS'
13552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13563 ac_cpp
='$CPP $CPPFLAGS'
13564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13568 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13569 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13570 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13571 echo $ECHO_N "(cached) $ECHO_C" >&6
13573 cat >conftest.
$ac_ext <<_ACEOF
13576 cat confdefs.h
>>conftest.
$ac_ext
13577 cat >>conftest.
$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13584 #ifndef _SGI_COMPILER_VERSION
13592 rm -f conftest.
$ac_objext
13593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13594 (eval $ac_compile) 2>conftest.er1
13596 grep -v '^ *+' conftest.er1
>conftest.err
13598 cat conftest.err
>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } &&
13601 { ac_try
='test -z "$ac_c_werror_flag"
13602 || test ! -s conftest.err'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; } &&
13608 { ac_try
='test -s conftest.$ac_objext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13614 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.
$ac_ext >&5
13619 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
13622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13626 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13627 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13629 ac_cpp
='$CPP $CPPFLAGS'
13630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13634 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13647 ac_cpp
='$CPP $CPPFLAGS'
13648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13652 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13653 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13654 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13655 echo $ECHO_N "(cached) $ECHO_C" >&6
13657 cat >conftest.
$ac_ext <<_ACEOF
13660 cat confdefs.h
>>conftest.
$ac_ext
13661 cat >>conftest.
$ac_ext <<_ACEOF
13662 /* end confdefs.h. */
13676 rm -f conftest.
$ac_objext
13677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13678 (eval $ac_compile) 2>conftest.er1
13680 grep -v '^ *+' conftest.er1
>conftest.err
13682 cat conftest.err
>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } &&
13685 { ac_try
='test -z "$ac_c_werror_flag"
13686 || test ! -s conftest.err'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; } &&
13692 { ac_try
='test -s conftest.$ac_objext'
13693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 (eval $ac_try) 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; }; then
13698 bakefile_cv_c_compiler___HP_cc
=yes
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.
$ac_ext >&5
13703 bakefile_cv_c_compiler___HP_cc
=no
13706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13710 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13711 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13713 ac_cpp
='$CPP $CPPFLAGS'
13714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13718 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13731 ac_cpp
='$CPP $CPPFLAGS'
13732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13736 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13737 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13738 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13739 echo $ECHO_N "(cached) $ECHO_C" >&6
13741 cat >conftest.
$ac_ext <<_ACEOF
13744 cat confdefs.h
>>conftest.
$ac_ext
13745 cat >>conftest.
$ac_ext <<_ACEOF
13746 /* end confdefs.h. */
13760 rm -f conftest.
$ac_objext
13761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13762 (eval $ac_compile) 2>conftest.er1
13764 grep -v '^ *+' conftest.er1
>conftest.err
13766 cat conftest.err
>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); } &&
13769 { ac_try
='test -z "$ac_c_werror_flag"
13770 || test ! -s conftest.err'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; } &&
13776 { ac_try
='test -s conftest.$ac_objext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13782 bakefile_cv_c_compiler___DECC
=yes
13784 echo "$as_me: failed program was:" >&5
13785 sed 's/^/| /' conftest.
$ac_ext >&5
13787 bakefile_cv_c_compiler___DECC
=no
13790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13794 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13795 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13797 ac_cpp
='$CPP $CPPFLAGS'
13798 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13799 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13800 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13802 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13815 ac_cpp
='$CPP $CPPFLAGS'
13816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13820 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13821 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13822 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 cat >conftest.
$ac_ext <<_ACEOF
13828 cat confdefs.h
>>conftest.
$ac_ext
13829 cat >>conftest.
$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13844 rm -f conftest.
$ac_objext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846 (eval $ac_compile) 2>conftest.er1
13848 grep -v '^ *+' conftest.er1
>conftest.err
13850 cat conftest.err
>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } &&
13853 { ac_try
='test -z "$ac_c_werror_flag"
13854 || test ! -s conftest.err'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; } &&
13860 { ac_try
='test -s conftest.$ac_objext'
13861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13862 (eval $ac_try) 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 bakefile_cv_c_compiler___SUNPRO_C
=yes
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 bakefile_cv_c_compiler___SUNPRO_C
=no
13874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13878 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13879 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13881 ac_cpp
='$CPP $CPPFLAGS'
13882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13886 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13900 ac_cpp
='$CPP $CPPFLAGS'
13901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13904 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13905 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13906 # On Suns, sometimes $CPP names a directory.
13907 if test -n "$CPP" && test -d "$CPP"; then
13910 if test -z "$CPP"; then
13911 if test "${ac_cv_prog_CPP+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13914 # Double quotes because CPP needs to be expanded
13915 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13917 ac_preproc_ok
=false
13918 for ac_c_preproc_warn_flag
in '' yes
13920 # Use a header file that comes with gcc, so configuring glibc
13921 # with a fresh cross-compiler works.
13922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13923 # <limits.h> exists even on freestanding compilers.
13924 # On the NeXT, cc -E runs the code through the compiler's parser,
13925 # not just through cpp. "Syntax error" is here to catch this case.
13926 cat >conftest.
$ac_ext <<_ACEOF
13929 cat confdefs.h
>>conftest.
$ac_ext
13930 cat >>conftest.
$ac_ext <<_ACEOF
13931 /* end confdefs.h. */
13933 # include <limits.h>
13935 # include <assert.h>
13939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13940 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13942 grep -v '^ *+' conftest.er1
>conftest.err
13944 cat conftest.err
>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } >/dev
/null
; then
13947 if test -s conftest.err
; then
13948 ac_cpp_err
=$ac_c_preproc_warn_flag
13949 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13956 if test -z "$ac_cpp_err"; then
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.
$ac_ext >&5
13962 # Broken: fails on valid input.
13965 rm -f conftest.err conftest.
$ac_ext
13967 # OK, works on sane cases. Now check whether non-existent headers
13968 # can be detected and how.
13969 cat >conftest.
$ac_ext <<_ACEOF
13972 cat confdefs.h
>>conftest.
$ac_ext
13973 cat >>conftest.
$ac_ext <<_ACEOF
13974 /* end confdefs.h. */
13975 #include <ac_nonexistent.h>
13977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13978 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13980 grep -v '^ *+' conftest.er1
>conftest.err
13982 cat conftest.err
>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); } >/dev
/null
; then
13985 if test -s conftest.err
; then
13986 ac_cpp_err
=$ac_c_preproc_warn_flag
13987 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13994 if test -z "$ac_cpp_err"; then
13995 # Broken: success on invalid input.
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.
$ac_ext >&5
14001 # Passes both tests.
14005 rm -f conftest.err conftest.
$ac_ext
14008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14009 rm -f conftest.err conftest.
$ac_ext
14010 if $ac_preproc_ok; then
14015 ac_cv_prog_CPP
=$CPP
14018 CPP
=$ac_cv_prog_CPP
14020 ac_cv_prog_CPP
=$CPP
14022 echo "$as_me:$LINENO: result: $CPP" >&5
14023 echo "${ECHO_T}$CPP" >&6
14024 ac_preproc_ok
=false
14025 for ac_c_preproc_warn_flag
in '' yes
14027 # Use a header file that comes with gcc, so configuring glibc
14028 # with a fresh cross-compiler works.
14029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14030 # <limits.h> exists even on freestanding compilers.
14031 # On the NeXT, cc -E runs the code through the compiler's parser,
14032 # not just through cpp. "Syntax error" is here to catch this case.
14033 cat >conftest.
$ac_ext <<_ACEOF
14036 cat confdefs.h
>>conftest.
$ac_ext
14037 cat >>conftest.
$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14040 # include <limits.h>
14042 # include <assert.h>
14046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14049 grep -v '^ *+' conftest.er1
>conftest.err
14051 cat conftest.err
>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); } >/dev
/null
; then
14054 if test -s conftest.err
; then
14055 ac_cpp_err
=$ac_c_preproc_warn_flag
14056 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14063 if test -z "$ac_cpp_err"; then
14066 echo "$as_me: failed program was:" >&5
14067 sed 's/^/| /' conftest.
$ac_ext >&5
14069 # Broken: fails on valid input.
14072 rm -f conftest.err conftest.
$ac_ext
14074 # OK, works on sane cases. Now check whether non-existent headers
14075 # can be detected and how.
14076 cat >conftest.
$ac_ext <<_ACEOF
14079 cat confdefs.h
>>conftest.
$ac_ext
14080 cat >>conftest.
$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082 #include <ac_nonexistent.h>
14084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14085 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14087 grep -v '^ *+' conftest.er1
>conftest.err
14089 cat conftest.err
>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } >/dev
/null
; then
14092 if test -s conftest.err
; then
14093 ac_cpp_err
=$ac_c_preproc_warn_flag
14094 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14101 if test -z "$ac_cpp_err"; then
14102 # Broken: success on invalid input.
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.
$ac_ext >&5
14108 # Passes both tests.
14112 rm -f conftest.err conftest.
$ac_ext
14115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14116 rm -f conftest.err conftest.
$ac_ext
14117 if $ac_preproc_ok; then
14120 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14121 See \`config.log' for more details." >&5
14122 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14123 See \`config.log' for more details." >&2;}
14124 { (exit 1); exit 1; }; }
14128 ac_cpp
='$CPP $CPPFLAGS'
14129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14134 echo "$as_me:$LINENO: checking for egrep" >&5
14135 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14136 if test "${ac_cv_prog_egrep+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
14140 then ac_cv_prog_egrep
='grep -E'
14141 else ac_cv_prog_egrep
='egrep'
14144 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14145 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14146 EGREP
=$ac_cv_prog_egrep
14149 if test $ac_cv_c_compiler_gnu = yes; then
14150 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14151 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14152 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 ac_pattern
="Autoconf.*'x'"
14156 cat >conftest.
$ac_ext <<_ACEOF
14159 cat confdefs.h
>>conftest.
$ac_ext
14160 cat >>conftest.
$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14166 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14167 ac_cv_prog_gcc_traditional
=yes
14169 ac_cv_prog_gcc_traditional
=no
14174 if test $ac_cv_prog_gcc_traditional = no
; then
14175 cat >conftest.
$ac_ext <<_ACEOF
14178 cat confdefs.h
>>conftest.
$ac_ext
14179 cat >>conftest.
$ac_ext <<_ACEOF
14180 /* end confdefs.h. */
14181 #include <termio.h>
14184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14185 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
14186 ac_cv_prog_gcc_traditional
=yes
14192 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14193 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14194 if test $ac_cv_prog_gcc_traditional = yes; then
14195 CC
="$CC -traditional"
14200 CXXFLAGS
=${CXXFLAGS:=}
14205 ac_cpp
='$CXXCPP $CPPFLAGS'
14206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14209 if test -n "$ac_tool_prefix"; then
14210 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14213 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14214 echo "$as_me:$LINENO: checking for $ac_word" >&5
14215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14216 if test "${ac_cv_prog_CXX+set}" = set; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 if test -n "$CXX"; then
14220 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
14222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14223 for as_dir
in $PATH
14226 test -z "$as_dir" && as_dir
=.
14227 for ac_exec_ext
in '' $ac_executable_extensions; do
14228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14229 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
14230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14238 CXX
=$ac_cv_prog_CXX
14239 if test -n "$CXX"; then
14240 echo "$as_me:$LINENO: result: $CXX" >&5
14241 echo "${ECHO_T}$CXX" >&6
14243 echo "$as_me:$LINENO: result: no" >&5
14244 echo "${ECHO_T}no" >&6
14247 test -n "$CXX" && break
14250 if test -z "$CXX"; then
14252 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
14254 # Extract the first word of "$ac_prog", so it can be a program name with args.
14255 set dummy
$ac_prog; ac_word
=$2
14256 echo "$as_me:$LINENO: checking for $ac_word" >&5
14257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 if test -n "$ac_ct_CXX"; then
14262 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
14264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14265 for as_dir
in $PATH
14268 test -z "$as_dir" && as_dir
=.
14269 for ac_exec_ext
in '' $ac_executable_extensions; do
14270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14271 ac_cv_prog_ac_ct_CXX
="$ac_prog"
14272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14280 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
14281 if test -n "$ac_ct_CXX"; then
14282 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14283 echo "${ECHO_T}$ac_ct_CXX" >&6
14285 echo "$as_me:$LINENO: result: no" >&5
14286 echo "${ECHO_T}no" >&6
14289 test -n "$ac_ct_CXX" && break
14291 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
14297 # Provide some information about the compiler.
14298 echo "$as_me:$LINENO:" \
14299 "checking for C++ compiler version" >&5
14300 ac_compiler
=`set X $ac_compile; echo $2`
14301 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14302 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }
14306 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14307 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }
14311 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14312 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }
14317 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14318 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14319 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14322 cat >conftest.
$ac_ext <<_ACEOF
14325 cat confdefs.h
>>conftest.
$ac_ext
14326 cat >>conftest.
$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14340 rm -f conftest.
$ac_objext
14341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14342 (eval $ac_compile) 2>conftest.er1
14344 grep -v '^ *+' conftest.er1
>conftest.err
14346 cat conftest.err
>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); } &&
14349 { ac_try
='test -z "$ac_cxx_werror_flag"
14350 || test ! -s conftest.err'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; } &&
14356 { ac_try
='test -s conftest.$ac_objext'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; }; then
14362 ac_compiler_gnu
=yes
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.
$ac_ext >&5
14369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14370 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
14373 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14374 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14375 GXX
=`test $ac_compiler_gnu = yes && echo yes`
14376 ac_test_CXXFLAGS
=${CXXFLAGS+set}
14377 ac_save_CXXFLAGS
=$CXXFLAGS
14379 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14380 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14381 if test "${ac_cv_prog_cxx_g+set}" = set; then
14382 echo $ECHO_N "(cached) $ECHO_C" >&6
14384 cat >conftest.
$ac_ext <<_ACEOF
14387 cat confdefs.h
>>conftest.
$ac_ext
14388 cat >>conftest.
$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14399 rm -f conftest.
$ac_objext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14401 (eval $ac_compile) 2>conftest.er1
14403 grep -v '^ *+' conftest.er1
>conftest.err
14405 cat conftest.err
>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try
='test -z "$ac_cxx_werror_flag"
14409 || test ! -s conftest.err'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; } &&
14415 { ac_try
='test -s conftest.$ac_objext'
14416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14417 (eval $ac_try) 2>&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); }; }; then
14421 ac_cv_prog_cxx_g
=yes
14423 echo "$as_me: failed program was:" >&5
14424 sed 's/^/| /' conftest.
$ac_ext >&5
14426 ac_cv_prog_cxx_g
=no
14428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14430 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14431 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14432 if test "$ac_test_CXXFLAGS" = set; then
14433 CXXFLAGS
=$ac_save_CXXFLAGS
14434 elif test $ac_cv_prog_cxx_g = yes; then
14435 if test "$GXX" = yes; then
14441 if test "$GXX" = yes; then
14447 for ac_declaration
in \
14449 'extern "C" void std::exit (int) throw (); using std::exit;' \
14450 'extern "C" void std::exit (int); using std::exit;' \
14451 'extern "C" void exit (int) throw ();' \
14452 'extern "C" void exit (int);' \
14455 cat >conftest.
$ac_ext <<_ACEOF
14458 cat confdefs.h
>>conftest.
$ac_ext
14459 cat >>conftest.
$ac_ext <<_ACEOF
14460 /* end confdefs.h. */
14462 #include <stdlib.h>
14471 rm -f conftest.
$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14475 grep -v '^ *+' conftest.er1
>conftest.err
14477 cat conftest.err
>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try
='test -z "$ac_cxx_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try
='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.
$ac_ext >&5
14500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14501 cat >conftest.
$ac_ext <<_ACEOF
14504 cat confdefs.h
>>conftest.
$ac_ext
14505 cat >>conftest.
$ac_ext <<_ACEOF
14506 /* end confdefs.h. */
14516 rm -f conftest.
$ac_objext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14518 (eval $ac_compile) 2>conftest.er1
14520 grep -v '^ *+' conftest.er1
>conftest.err
14522 cat conftest.err
>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try
='test -z "$ac_cxx_werror_flag"
14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try
='test -s conftest.$ac_objext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.
$ac_ext >&5
14544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14547 if test -n "$ac_declaration"; then
14548 echo '#ifdef __cplusplus' >>confdefs.h
14549 echo $ac_declaration >>confdefs.h
14550 echo '#endif' >>confdefs.h
14554 ac_cpp
='$CPP $CPPFLAGS'
14555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14562 ac_cpp
='$CXXCPP $CPPFLAGS'
14563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14567 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14568 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14569 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14572 cat >conftest.
$ac_ext <<_ACEOF
14575 cat confdefs.h
>>conftest.
$ac_ext
14576 cat >>conftest.
$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14583 #ifndef __INTEL_COMPILER
14591 rm -f conftest.
$ac_objext
14592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14593 (eval $ac_compile) 2>conftest.er1
14595 grep -v '^ *+' conftest.er1
>conftest.err
14597 cat conftest.err
>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try
='test -z "$ac_cxx_werror_flag"
14601 || test ! -s conftest.err'
14602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14603 (eval $ac_try) 2>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; } &&
14607 { ac_try
='test -s conftest.$ac_objext'
14608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14609 (eval $ac_try) 2>&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); }; }; then
14613 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
14615 echo "$as_me: failed program was:" >&5
14616 sed 's/^/| /' conftest.
$ac_ext >&5
14618 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
14621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14625 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14626 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14628 ac_cpp
='$CPP $CPPFLAGS'
14629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14633 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14640 if test "x$GCXX" != "xyes"; then
14641 if test "xCXX" = "xC"; then
14642 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14643 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14644 if test "${bakefile_cv_c_exto+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 cat >conftest.
$ac_ext <<_ACEOF
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14662 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
14663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14664 (eval $ac_compile) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; then
14668 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
14670 conftest.
$ac_ext.o
)
14671 bakefile_cv_c_exto
="-ext o"
14678 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14679 See \`config.log' for more details." >&5
14680 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14681 See \`config.log' for more details." >&2;}
14682 { (exit 1); exit 1; }; }
14686 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
14689 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14690 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14691 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14692 if test "c" = "c"; then
14693 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
14695 if test "c" = "cxx"; then
14696 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
14700 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14701 unset ac_cv_prog_cc_g
14702 ac_test_CFLAGS
=${CFLAGS+set}
14703 ac_save_CFLAGS
=$CFLAGS
14705 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14707 if test "${ac_cv_prog_cc_g+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 cat >conftest.
$ac_ext <<_ACEOF
14713 cat confdefs.h
>>conftest.
$ac_ext
14714 cat >>conftest.
$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14725 rm -f conftest.
$ac_objext
14726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14727 (eval $ac_compile) 2>conftest.er1
14729 grep -v '^ *+' conftest.er1
>conftest.err
14731 cat conftest.err
>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } &&
14734 { ac_try
='test -z "$ac_c_werror_flag"
14735 || test ! -s conftest.err'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; } &&
14741 { ac_try
='test -s conftest.$ac_objext'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; }; then
14747 ac_cv_prog_cc_g
=yes
14749 echo "$as_me: failed program was:" >&5
14750 sed 's/^/| /' conftest.
$ac_ext >&5
14754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14757 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14758 if test "$ac_test_CFLAGS" = set; then
14759 CFLAGS
=$ac_save_CFLAGS
14760 elif test $ac_cv_prog_cc_g = yes; then
14761 if test "$GCC" = yes; then
14767 if test "$GCC" = yes; then
14779 ac_cpp
='$CXXCPP $CPPFLAGS'
14780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14784 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14785 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14786 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14787 echo $ECHO_N "(cached) $ECHO_C" >&6
14789 cat >conftest.
$ac_ext <<_ACEOF
14792 cat confdefs.h
>>conftest.
$ac_ext
14793 cat >>conftest.
$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14807 rm -f conftest.
$ac_objext
14808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14809 (eval $ac_compile) 2>conftest.er1
14811 grep -v '^ *+' conftest.er1
>conftest.err
14813 cat conftest.err
>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); } &&
14816 { ac_try
='test -z "$ac_cxx_werror_flag"
14817 || test ! -s conftest.err'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; } &&
14823 { ac_try
='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 bakefile_compiler_xlc
=yes
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.
$ac_ext >&5
14834 bakefile_compiler_xlc
=no
14836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14837 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14840 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14841 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14843 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14845 ac_cpp
='$CPP $CPPFLAGS'
14846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14855 ac_cpp
='$CXXCPP $CPPFLAGS'
14856 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14857 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14858 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14860 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14861 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14862 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14865 cat >conftest.
$ac_ext <<_ACEOF
14868 cat confdefs.h
>>conftest.
$ac_ext
14869 cat >>conftest.
$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14883 rm -f conftest.
$ac_objext
14884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14885 (eval $ac_compile) 2>conftest.er1
14887 grep -v '^ *+' conftest.er1
>conftest.err
14889 cat conftest.err
>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); } &&
14892 { ac_try
='test -z "$ac_cxx_werror_flag"
14893 || test ! -s conftest.err'
14894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895 (eval $ac_try) 2>&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); }; } &&
14899 { ac_try
='test -s conftest.$ac_objext'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; }; then
14905 bakefile_compiler_mwerks
=yes
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.
$ac_ext >&5
14910 bakefile_compiler_mwerks
=no
14912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14913 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
14916 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14917 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14919 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14921 ac_cpp
='$CPP $CPPFLAGS'
14922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14928 ac_cpp
='$CXXCPP $CPPFLAGS'
14929 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14930 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14931 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14933 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14934 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14935 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14956 rm -f conftest.
$ac_objext
14957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14958 (eval $ac_compile) 2>conftest.er1
14960 grep -v '^ *+' conftest.er1
>conftest.err
14962 cat conftest.err
>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } &&
14965 { ac_try
='test -z "$ac_cxx_werror_flag"
14966 || test ! -s conftest.err'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; } &&
14972 { ac_try
='test -s conftest.$ac_objext'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; }; then
14978 bakefile_compiler_xlc
=yes
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.
$ac_ext >&5
14983 bakefile_compiler_xlc
=no
14985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14986 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
14989 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14990 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14992 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14994 ac_cpp
='$CPP $CPPFLAGS'
14995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15006 ac_cpp
='$CXXCPP $CPPFLAGS'
15007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15011 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15012 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
15013 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 cat >conftest.
$ac_ext <<_ACEOF
15019 cat confdefs.h
>>conftest.
$ac_ext
15020 cat >>conftest.
$ac_ext <<_ACEOF
15021 /* end confdefs.h. */
15027 #ifndef _SGI_COMPILER_VERSION
15035 rm -f conftest.
$ac_objext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15037 (eval $ac_compile) 2>conftest.er1
15039 grep -v '^ *+' conftest.er1
>conftest.err
15041 cat conftest.err
>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try
='test -z "$ac_cxx_werror_flag"
15045 || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try
='test -s conftest.$ac_objext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15062 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
15065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15069 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15070 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15072 ac_cpp
='$CPP $CPPFLAGS'
15073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15077 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15090 ac_cpp
='$CXXCPP $CPPFLAGS'
15091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15095 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15096 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15097 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 cat >conftest.
$ac_ext <<_ACEOF
15103 cat confdefs.h
>>conftest.
$ac_ext
15104 cat >>conftest.
$ac_ext <<_ACEOF
15105 /* end confdefs.h. */
15119 rm -f conftest.
$ac_objext
15120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15121 (eval $ac_compile) 2>conftest.er1
15123 grep -v '^ *+' conftest.er1
>conftest.err
15125 cat conftest.err
>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
15128 { ac_try
='test -z "$ac_cxx_werror_flag"
15129 || test ! -s conftest.err'
15130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15131 (eval $ac_try) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }; } &&
15135 { ac_try
='test -s conftest.$ac_objext'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; }; then
15141 bakefile_cv_cxx_compiler___HP_aCC
=yes
15143 echo "$as_me: failed program was:" >&5
15144 sed 's/^/| /' conftest.
$ac_ext >&5
15146 bakefile_cv_cxx_compiler___HP_aCC
=no
15149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15153 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15156 ac_cpp
='$CPP $CPPFLAGS'
15157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15161 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15174 ac_cpp
='$CXXCPP $CPPFLAGS'
15175 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15176 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15177 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15179 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15180 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15181 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15184 cat >conftest.
$ac_ext <<_ACEOF
15187 cat confdefs.h
>>conftest.
$ac_ext
15188 cat >>conftest.
$ac_ext <<_ACEOF
15189 /* end confdefs.h. */
15203 rm -f conftest.
$ac_objext
15204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15205 (eval $ac_compile) 2>conftest.er1
15207 grep -v '^ *+' conftest.er1
>conftest.err
15209 cat conftest.err
>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); } &&
15212 { ac_try
='test -z "$ac_cxx_werror_flag"
15213 || test ! -s conftest.err'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; } &&
15219 { ac_try
='test -s conftest.$ac_objext'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; }; then
15225 bakefile_cv_cxx_compiler___DECCXX
=yes
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.
$ac_ext >&5
15230 bakefile_cv_cxx_compiler___DECCXX
=no
15233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15237 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15238 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15240 ac_cpp
='$CPP $CPPFLAGS'
15241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15245 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15258 ac_cpp
='$CXXCPP $CPPFLAGS'
15259 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15260 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15261 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15263 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15264 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15265 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 cat >conftest.
$ac_ext <<_ACEOF
15271 cat confdefs.h
>>conftest.
$ac_ext
15272 cat >>conftest.
$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15279 #ifndef __SUNPRO_CC
15287 rm -f conftest.
$ac_objext
15288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15289 (eval $ac_compile) 2>conftest.er1
15291 grep -v '^ *+' conftest.er1
>conftest.err
15293 cat conftest.err
>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try
='test -z "$ac_cxx_werror_flag"
15297 || test ! -s conftest.err'
15298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15299 (eval $ac_try) 2>&5
15301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15302 (exit $ac_status); }; } &&
15303 { ac_try
='test -s conftest.$ac_objext'
15304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15305 (eval $ac_try) 2>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.
$ac_ext >&5
15314 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
15317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15321 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15322 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15324 ac_cpp
='$CPP $CPPFLAGS'
15325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15329 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15342 if test -n "$ac_tool_prefix"; then
15343 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15344 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
15345 echo "$as_me:$LINENO: checking for $ac_word" >&5
15346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15347 if test "${ac_cv_prog_RANLIB+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 if test -n "$RANLIB"; then
15351 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
15353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15354 for as_dir
in $PATH
15357 test -z "$as_dir" && as_dir
=.
15358 for ac_exec_ext
in '' $ac_executable_extensions; do
15359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15360 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
15361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15369 RANLIB
=$ac_cv_prog_RANLIB
15370 if test -n "$RANLIB"; then
15371 echo "$as_me:$LINENO: result: $RANLIB" >&5
15372 echo "${ECHO_T}$RANLIB" >&6
15374 echo "$as_me:$LINENO: result: no" >&5
15375 echo "${ECHO_T}no" >&6
15379 if test -z "$ac_cv_prog_RANLIB"; then
15380 ac_ct_RANLIB
=$RANLIB
15381 # Extract the first word of "ranlib", so it can be a program name with args.
15382 set dummy ranlib
; 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_ac_ct_RANLIB+set}" = set; then
15386 echo $ECHO_N "(cached) $ECHO_C" >&6
15388 if test -n "$ac_ct_RANLIB"; then
15389 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # 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_ac_ct_RANLIB
="ranlib"
15399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15405 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
15408 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
15409 if test -n "$ac_ct_RANLIB"; then
15410 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15411 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15413 echo "$as_me:$LINENO: result: no" >&5
15414 echo "${ECHO_T}no" >&6
15417 RANLIB
=$ac_ct_RANLIB
15419 RANLIB
="$ac_cv_prog_RANLIB"
15423 if test "x$SUNCXX" != xyes
; then
15424 if test -n "$ac_tool_prefix"; then
15425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15426 set dummy
${ac_tool_prefix}ar; ac_word
=$2
15427 echo "$as_me:$LINENO: checking for $ac_word" >&5
15428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15429 if test "${ac_cv_prog_AR+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 if test -n "$AR"; then
15433 ac_cv_prog_AR
="$AR" # Let the user override the test.
15435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15436 for as_dir
in $PATH
15439 test -z "$as_dir" && as_dir
=.
15440 for ac_exec_ext
in '' $ac_executable_extensions; do
15441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15442 ac_cv_prog_AR
="${ac_tool_prefix}ar"
15443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15452 if test -n "$AR"; then
15453 echo "$as_me:$LINENO: result: $AR" >&5
15454 echo "${ECHO_T}$AR" >&6
15456 echo "$as_me:$LINENO: result: no" >&5
15457 echo "${ECHO_T}no" >&6
15461 if test -z "$ac_cv_prog_AR"; then
15463 # Extract the first word of "ar", so it can be a program name with args.
15464 set dummy
ar; ac_word
=$2
15465 echo "$as_me:$LINENO: checking for $ac_word" >&5
15466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15467 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15470 if test -n "$ac_ct_AR"; then
15471 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
15473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15474 for as_dir
in $PATH
15477 test -z "$as_dir" && as_dir
=.
15478 for ac_exec_ext
in '' $ac_executable_extensions; do
15479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15480 ac_cv_prog_ac_ct_AR
="ar"
15481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15489 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
15490 if test -n "$ac_ct_AR"; then
15491 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15492 echo "${ECHO_T}$ac_ct_AR" >&6
15494 echo "$as_me:$LINENO: result: no" >&5
15495 echo "${ECHO_T}no" >&6
15500 AR
="$ac_cv_prog_AR"
15503 if test "x$AR" = "x" ; then
15504 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15505 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15506 { (exit 1); exit 1; }; }
15510 # Find a good install program. We prefer a C program (faster),
15511 # so one script is as good as another. But avoid the broken or
15512 # incompatible versions:
15513 # SysV /etc/install, /usr/sbin/install
15514 # SunOS /usr/etc/install
15515 # IRIX /sbin/install
15517 # AmigaOS /C/install, which installs bootblocks on floppy discs
15518 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15519 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15520 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15521 # OS/2's system install, which has a completely different semantic
15522 # ./install, which can be erroneously created by make from ./install.sh.
15523 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15524 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15525 if test -z "$INSTALL"; then
15526 if test "${ac_cv_path_install+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15530 for as_dir
in $PATH
15533 test -z "$as_dir" && as_dir
=.
15534 # Account for people who put trailing slashes in PATH elements.
15536 .
/ | .
// | /cC
/* | \
15537 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
15538 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
15541 # OSF1 and SCO ODT 3.0 have their own names for install.
15542 # Don't use installbsd from OSF since it installs stuff as root
15544 for ac_prog
in ginstall scoinst
install; do
15545 for ac_exec_ext
in '' $ac_executable_extensions; do
15546 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15547 if test $ac_prog = install &&
15548 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15549 # AIX install. It has an incompatible calling convention.
15551 elif test $ac_prog = install &&
15552 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
15553 # program-specific install script used by HP pwplus--don't use.
15556 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
15568 if test "${ac_cv_path_install+set}" = set; then
15569 INSTALL
=$ac_cv_path_install
15571 # As a last resort, use the slow shell script. We don't cache a
15572 # path for INSTALL within a source directory, because that will
15573 # break other packages using the cache if that directory is
15574 # removed, or if the path is relative.
15575 INSTALL
=$ac_install_sh
15578 echo "$as_me:$LINENO: result: $INSTALL" >&5
15579 echo "${ECHO_T}$INSTALL" >&6
15581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15582 # It thinks the first close brace ends the variable substitution.
15583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
15585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
15587 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15593 ?
:* ) # Drive letter, considered as absolute.
15596 INSTALL
=`pwd`/${INSTALL} ;;
15603 INSTALL_PROGRAM
="cp -fp"
15604 INSTALL_DATA
="cp -fp"
15610 if test -n "$ac_tool_prefix"; then
15611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15612 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
15613 echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15615 if test "${ac_cv_prog_STRIP+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 if test -n "$STRIP"; then
15619 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
15621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15622 for as_dir
in $PATH
15625 test -z "$as_dir" && as_dir
=.
15626 for ac_exec_ext
in '' $ac_executable_extensions; do
15627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15628 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15637 STRIP
=$ac_cv_prog_STRIP
15638 if test -n "$STRIP"; then
15639 echo "$as_me:$LINENO: result: $STRIP" >&5
15640 echo "${ECHO_T}$STRIP" >&6
15642 echo "$as_me:$LINENO: result: no" >&5
15643 echo "${ECHO_T}no" >&6
15647 if test -z "$ac_cv_prog_STRIP"; then
15649 # Extract the first word of "strip", so it can be a program name with args.
15650 set dummy strip
; 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_ac_ct_STRIP+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 if test -n "$ac_ct_STRIP"; then
15657 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # 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_ac_ct_STRIP
="strip"
15667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15673 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
15676 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
15677 if test -n "$ac_ct_STRIP"; then
15678 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15679 echo "${ECHO_T}$ac_ct_STRIP" >&6
15681 echo "$as_me:$LINENO: result: no" >&5
15682 echo "${ECHO_T}no" >&6
15687 STRIP
="$ac_cv_prog_STRIP"
15691 if test "$wxUSE_WINE" = "yes"; then
15692 if test -n "$ac_tool_prefix"; then
15693 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15694 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
15695 echo "$as_me:$LINENO: checking for $ac_word" >&5
15696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15697 if test "${ac_cv_prog_WINDRES+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 if test -n "$WINDRES"; then
15701 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15704 for as_dir
in $PATH
15707 test -z "$as_dir" && as_dir
=.
15708 for ac_exec_ext
in '' $ac_executable_extensions; do
15709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15710 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
15711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15719 WINDRES
=$ac_cv_prog_WINDRES
15720 if test -n "$WINDRES"; then
15721 echo "$as_me:$LINENO: result: $WINDRES" >&5
15722 echo "${ECHO_T}$WINDRES" >&6
15724 echo "$as_me:$LINENO: result: no" >&5
15725 echo "${ECHO_T}no" >&6
15729 if test -z "$ac_cv_prog_WINDRES"; then
15730 ac_ct_WINDRES
=$WINDRES
15731 # Extract the first word of "wrc", so it can be a program name with args.
15732 set dummy wrc
; ac_word
=$2
15733 echo "$as_me:$LINENO: checking for $ac_word" >&5
15734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15735 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15736 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 if test -n "$ac_ct_WINDRES"; then
15739 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15742 for as_dir
in $PATH
15745 test -z "$as_dir" && as_dir
=.
15746 for ac_exec_ext
in '' $ac_executable_extensions; do
15747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15748 ac_cv_prog_ac_ct_WINDRES
="wrc"
15749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15757 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15758 if test -n "$ac_ct_WINDRES"; then
15759 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15760 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15762 echo "$as_me:$LINENO: result: no" >&5
15763 echo "${ECHO_T}no" >&6
15766 WINDRES
=$ac_ct_WINDRES
15768 WINDRES
="$ac_cv_prog_WINDRES"
15774 *-*-cygwin* | *-*-mingw32* )
15775 if test -n "$ac_tool_prefix"; then
15776 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15777 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
15778 echo "$as_me:$LINENO: checking for $ac_word" >&5
15779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15780 if test "${ac_cv_prog_WINDRES+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 if test -n "$WINDRES"; then
15784 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
15786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15787 for as_dir
in $PATH
15790 test -z "$as_dir" && as_dir
=.
15791 for ac_exec_ext
in '' $ac_executable_extensions; do
15792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15793 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
15794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15802 WINDRES
=$ac_cv_prog_WINDRES
15803 if test -n "$WINDRES"; then
15804 echo "$as_me:$LINENO: result: $WINDRES" >&5
15805 echo "${ECHO_T}$WINDRES" >&6
15807 echo "$as_me:$LINENO: result: no" >&5
15808 echo "${ECHO_T}no" >&6
15812 if test -z "$ac_cv_prog_WINDRES"; then
15813 ac_ct_WINDRES
=$WINDRES
15814 # Extract the first word of "windres", so it can be a program name with args.
15815 set dummy windres
; ac_word
=$2
15816 echo "$as_me:$LINENO: checking for $ac_word" >&5
15817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15818 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15819 echo $ECHO_N "(cached) $ECHO_C" >&6
15821 if test -n "$ac_ct_WINDRES"; then
15822 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
15824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15825 for as_dir
in $PATH
15828 test -z "$as_dir" && as_dir
=.
15829 for ac_exec_ext
in '' $ac_executable_extensions; do
15830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15831 ac_cv_prog_ac_ct_WINDRES
="windres"
15832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15840 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
15841 if test -n "$ac_ct_WINDRES"; then
15842 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15843 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15845 echo "$as_me:$LINENO: result: no" >&5
15846 echo "${ECHO_T}no" >&6
15849 WINDRES
=$ac_ct_WINDRES
15851 WINDRES
="$ac_cv_prog_WINDRES"
15855 if test -n "$ac_tool_prefix"; then
15856 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15857 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15858 echo "$as_me:$LINENO: checking for $ac_word" >&5
15859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15860 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15861 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 if test -n "$DLLTOOL"; then
15864 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15867 for as_dir
in $PATH
15870 test -z "$as_dir" && as_dir
=.
15871 for ac_exec_ext
in '' $ac_executable_extensions; do
15872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15873 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15882 DLLTOOL
=$ac_cv_prog_DLLTOOL
15883 if test -n "$DLLTOOL"; then
15884 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15885 echo "${ECHO_T}$DLLTOOL" >&6
15887 echo "$as_me:$LINENO: result: no" >&5
15888 echo "${ECHO_T}no" >&6
15892 if test -z "$ac_cv_prog_DLLTOOL"; then
15893 ac_ct_DLLTOOL
=$DLLTOOL
15894 # Extract the first word of "dlltool", so it can be a program name with args.
15895 set dummy dlltool
; ac_word
=$2
15896 echo "$as_me:$LINENO: checking for $ac_word" >&5
15897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15898 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15899 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 if test -n "$ac_ct_DLLTOOL"; then
15902 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15905 for as_dir
in $PATH
15908 test -z "$as_dir" && as_dir
=.
15909 for ac_exec_ext
in '' $ac_executable_extensions; do
15910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15911 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15920 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15921 if test -n "$ac_ct_DLLTOOL"; then
15922 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15923 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15925 echo "$as_me:$LINENO: result: no" >&5
15926 echo "${ECHO_T}no" >&6
15929 DLLTOOL
=$ac_ct_DLLTOOL
15931 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15938 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15939 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15940 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15941 echo $ECHO_N "(cached) $ECHO_C" >&6
15944 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
15945 $EGREP -s GNU
> /dev
/null
); then
15946 wx_cv_prog_makeisgnu
="yes"
15948 wx_cv_prog_makeisgnu
="no"
15952 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15953 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15955 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15963 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15964 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15965 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15966 if test "${wx_cv_prog_makevpath+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 cat - << EOF > confMake
15976 if test ! -d sub
; then
15979 echo dummy
> sub
/file
15980 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
15982 rm -f sub
/file check final_file confMake
15984 if test "$RESULT" = 0; then
15985 wx_cv_prog_makevpath
="yes"
15987 wx_cv_prog_makevpath
="no"
15991 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15992 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15994 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15995 { { echo "$as_me:$LINENO: error:
15996 You need a make-utility that is able to use the variable
15998 If your version of make does not support VPATH correctly,
15999 please install GNU-make (possibly as gmake), and start
16000 configure with the following command:
16001 export MAKE=gmake; ./configure for sh-type shells
16002 setenv MAKE gmake; ./configure for csh-type shells
16003 Also please do remember to use gmake in this case every time
16004 you are trying to compile.
16006 echo "$as_me: error:
16007 You need a make-utility that is able to use the variable
16009 If your version of make does not support VPATH correctly,
16010 please install GNU-make (possibly as gmake), and start
16011 configure with the following command:
16012 export MAKE=gmake; ./configure for sh-type shells
16013 setenv MAKE gmake; ./configure for csh-type shells
16014 Also please do remember to use gmake in this case every time
16015 you are trying to compile.
16017 { (exit 1); exit 1; }; }
16019 echo "$as_me:$LINENO: checking whether ln -s works" >&5
16020 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
16022 if test "$LN_S" = "ln -s"; then
16023 echo "$as_me:$LINENO: result: yes" >&5
16024 echo "${ECHO_T}yes" >&6
16026 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16027 echo "${ECHO_T}no, using $LN_S" >&6
16033 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16034 CXXFLAGS
="-qunique $CXXFLAGS"
16038 powerpc
-*-darwin* )
16039 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16040 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
16041 cat >conftest.
$ac_ext <<_ACEOF
16044 cat confdefs.h
>>conftest.
$ac_ext
16045 cat >>conftest.
$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16051 #ifndef __POWERPC__
16052 choke me for lack of PowerPC
16059 rm -f conftest.
$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>conftest.er1
16063 grep -v '^ *+' conftest.er1
>conftest.err
16065 cat conftest.err
>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try
='test -z "$ac_c_werror_flag"
16069 || test ! -s conftest.err'
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; } &&
16075 { ac_try
='test -s conftest.$ac_objext'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; }; then
16081 echo "$as_me:$LINENO: result: yes" >&5
16082 echo "${ECHO_T}yes" >&6
16084 echo "$as_me: failed program was:" >&5
16085 sed 's/^/| /' conftest.
$ac_ext >&5
16087 echo "$as_me:$LINENO: result: no" >&5
16088 echo "${ECHO_T}no" >&6
16089 cat >>confdefs.h
<<\_ACEOF
16090 #define __POWERPC__ 1
16095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16101 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16102 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16103 cat >conftest.
$ac_ext <<_ACEOF
16106 cat confdefs.h
>>conftest.
$ac_ext
16107 cat >>conftest.
$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 #include <CoreFoundation/CFBase.h>
16119 rm -f conftest.
$ac_objext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16121 (eval $ac_compile) 2>conftest.er1
16123 grep -v '^ *+' conftest.er1
>conftest.err
16125 cat conftest.err
>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try
='test -z "$ac_c_werror_flag"
16129 || test ! -s conftest.err'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; } &&
16135 { ac_try
='test -s conftest.$ac_objext'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; }; then
16141 echo "$as_me:$LINENO: result: yes" >&5
16142 echo "${ECHO_T}yes" >&6
16144 echo "$as_me: failed program was:" >&5
16145 sed 's/^/| /' conftest.
$ac_ext >&5
16147 echo "$as_me:$LINENO: result: no" >&5
16148 echo "${ECHO_T}no" >&6
16149 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16150 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16151 cat >conftest.
$ac_ext <<_ACEOF
16154 cat confdefs.h
>>conftest.
$ac_ext
16155 cat >>conftest.
$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 #define __CF_USE_FRAMEWORK_INCLUDES__
16158 #include <CoreFoundation/CFBase.h>
16168 rm -f conftest.
$ac_objext
16169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16170 (eval $ac_compile) 2>conftest.er1
16172 grep -v '^ *+' conftest.er1
>conftest.err
16174 cat conftest.err
>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } &&
16177 { ac_try
='test -z "$ac_c_werror_flag"
16178 || test ! -s conftest.err'
16179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16180 (eval $ac_try) 2>&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); }; } &&
16184 { ac_try
='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 echo "$as_me:$LINENO: result: yes" >&5
16191 echo "${ECHO_T}yes" >&6
16192 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16194 echo "$as_me: failed program was:" >&5
16195 sed 's/^/| /' conftest.
$ac_ext >&5
16197 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16198 See \`config.log' for more details." >&5
16199 echo "$as_me: error: no. CoreFoundation not available.
16200 See \`config.log' for more details." >&2;}
16201 { (exit 1); exit 1; }; }
16204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16213 doesnt_want_win32
=0
16216 if test "$wxUSE_MSW" = 1 ; then
16219 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16220 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16221 if test "${wx_cv_nocygwin+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16225 cat >conftest.
$ac_ext <<_ACEOF
16228 cat confdefs.h
>>conftest.
$ac_ext
16229 cat >>conftest.
$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16244 rm -f conftest.
$ac_objext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16246 (eval $ac_compile) 2>conftest.er1
16248 grep -v '^ *+' conftest.er1
>conftest.err
16250 cat conftest.err
>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try
='test -z "$ac_c_werror_flag"
16254 || test ! -s conftest.err'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; } &&
16260 { ac_try
='test -s conftest.$ac_objext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.
$ac_ext >&5
16274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16278 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16279 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16281 if test "$wx_cv_nocygwin" = "yes"; then
16284 doesnt_want_win32
=1
16287 if test "$wants_win32" = 1 ; then
16288 BAKEFILE_FORCE_PLATFORM
=win32
16296 if test "$wxUSE_WINE" = "yes"; then
16298 LDFLAGS_GUI
="-mwindows"
16301 if test "$wants_win32" = 1 ; then
16304 cat >>confdefs.h
<<\_ACEOF
16305 #define __WIN32__ 1
16308 cat >>confdefs.h
<<\_ACEOF
16309 #define __WIN95__ 1
16312 cat >>confdefs.h
<<\_ACEOF
16313 #define __WINDOWS__ 1
16316 cat >>confdefs.h
<<\_ACEOF
16317 #define __GNUWIN32__ 1
16320 cat >>confdefs.h
<<\_ACEOF
16325 if test "$doesnt_want_win32" = 1 ; then
16330 if test "$USE_UNIX" = 1 ; then
16332 cat >>confdefs.h
<<\_ACEOF
16339 *-pc-os2_emx | *-pc-os2-emx )
16340 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16341 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16342 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16343 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 ac_check_lib_save_LIBS
=$LIBS
16347 LIBS
="-lcExt $LIBS"
16348 cat >conftest.
$ac_ext <<_ACEOF
16351 cat confdefs.h
>>conftest.
$ac_ext
16352 cat >>conftest.
$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16355 /* Override any gcc2 internal prototype to avoid an error. */
16359 /* We use char because int might match the return type of a gcc2
16360 builtin and then its argument prototype would still apply. */
16370 rm -f conftest.
$ac_objext conftest
$ac_exeext
16371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16372 (eval $ac_link) 2>conftest.er1
16374 grep -v '^ *+' conftest.er1
>conftest.err
16376 cat conftest.err
>&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } &&
16379 { ac_try
='test -z "$ac_c_werror_flag"
16380 || test ! -s conftest.err'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; } &&
16386 { ac_try
='test -s conftest$ac_exeext'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16392 ac_cv_lib_cExt_drand48
=yes
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.
$ac_ext >&5
16397 ac_cv_lib_cExt_drand48
=no
16399 rm -f conftest.err conftest.
$ac_objext \
16400 conftest
$ac_exeext conftest.
$ac_ext
16401 LIBS
=$ac_check_lib_save_LIBS
16403 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16404 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16405 if test $ac_cv_lib_cExt_drand48 = yes; then
16406 LIBS
="$LIBS -lcExt"
16410 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
16412 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16413 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16414 if test "${wx_cv_gccversion+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 if test "$cross_compiling" = yes; then
16419 wx_cv_gccversion
="EMX2"
16422 cat >conftest.
$ac_ext <<_ACEOF
16425 cat confdefs.h
>>conftest.
$ac_ext
16426 cat >>conftest.
$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16433 FILE *f=fopen("conftestval", "w");
16438 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16440 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16450 rm -f conftest
$ac_exeext
16451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16452 (eval $ac_link) 2>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 wx_cv_gccversion
=`cat conftestval`
16463 echo "$as_me: program exited with status $ac_status" >&5
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.
$ac_ext >&5
16467 ( exit $ac_status )
16468 wx_cv_gccversion
="EMX2"
16470 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16474 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16475 echo "${ECHO_T}$wx_cv_gccversion" >&6
16476 if test "$wx_cv_gccversion" = "EMX2"; then
16477 LIBS
="$LIBS -lstdcpp"
16478 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16480 if test "$wx_cv_gccversion" = "EMX3"; then
16481 LIBS
="$LIBS -lstdcxx -lgcc"
16482 LDFLAGS
="$LDFLAGS -Zsysv-signals"
16484 LIBS
="$LIBS -lstdc++"
16487 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16488 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16489 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16496 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16497 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16498 if test "${ac_cv_string_strcasecmp+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 cat >conftest.
$ac_ext <<_ACEOF
16505 cat confdefs.h
>>conftest.
$ac_ext
16506 cat >>conftest.
$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16509 #include <string.h>
16515 strcasecmp("foo", "bar");
16521 rm -f conftest.
$ac_objext conftest
$ac_exeext
16522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16523 (eval $ac_link) 2>conftest.er1
16525 grep -v '^ *+' conftest.er1
>conftest.err
16527 cat conftest.err
>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try
='test -z "$ac_c_werror_flag"
16531 || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try
='test -s conftest$ac_exeext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_cv_string_strcasecmp
=yes
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16548 ac_cv_string_strcasecmp
=no
16551 rm -f conftest.err conftest.
$ac_objext \
16552 conftest
$ac_exeext conftest.
$ac_ext
16555 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16556 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16558 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
16559 cat >>confdefs.h
<<\_ACEOF
16560 #define HAVE_STRCASECMP_IN_STRING_H 1
16564 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16565 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16566 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16567 echo $ECHO_N "(cached) $ECHO_C" >&6
16570 cat >conftest.
$ac_ext <<_ACEOF
16573 cat confdefs.h
>>conftest.
$ac_ext
16574 cat >>conftest.
$ac_ext <<_ACEOF
16575 /* end confdefs.h. */
16577 #include <strings.h>
16583 strcasecmp("foo", "bar");
16589 rm -f conftest.
$ac_objext conftest
$ac_exeext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591 (eval $ac_link) 2>conftest.er1
16593 grep -v '^ *+' conftest.er1
>conftest.err
16595 cat conftest.err
>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); } &&
16598 { ac_try
='test -z "$ac_c_werror_flag"
16599 || test ! -s conftest.err'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; } &&
16605 { ac_try
='test -s conftest$ac_exeext'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; }; then
16611 ac_cv_strings_strcasecmp
=yes
16613 echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.
$ac_ext >&5
16616 ac_cv_strings_strcasecmp
=no
16619 rm -f conftest.err conftest.
$ac_objext \
16620 conftest
$ac_exeext conftest.
$ac_ext
16623 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16624 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16626 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
16627 cat >>confdefs.h
<<\_ACEOF
16628 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16632 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16633 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16634 { (exit 1); exit 1; }; }
16642 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16643 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16644 if test "${ac_cv_header_stdc+set}" = set; then
16645 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 cat >conftest.
$ac_ext <<_ACEOF
16650 cat confdefs.h
>>conftest.
$ac_ext
16651 cat >>conftest.
$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16653 #include <stdlib.h>
16654 #include <stdarg.h>
16655 #include <string.h>
16666 rm -f conftest.
$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668 (eval $ac_compile) 2>conftest.er1
16670 grep -v '^ *+' conftest.er1
>conftest.err
16672 cat conftest.err
>&5
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); } &&
16675 { ac_try
='test -z "$ac_c_werror_flag"
16676 || test ! -s conftest.err'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; } &&
16682 { ac_try
='test -s conftest.$ac_objext'
16683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684 (eval $ac_try) 2>&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); }; }; then
16688 ac_cv_header_stdc
=yes
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.
$ac_ext >&5
16693 ac_cv_header_stdc
=no
16695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16697 if test $ac_cv_header_stdc = yes; then
16698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16699 cat >conftest.
$ac_ext <<_ACEOF
16702 cat confdefs.h
>>conftest.
$ac_ext
16703 cat >>conftest.
$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 #include <string.h>
16708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16709 $EGREP "memchr" >/dev
/null
2>&1; then
16712 ac_cv_header_stdc
=no
16718 if test $ac_cv_header_stdc = yes; then
16719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16720 cat >conftest.
$ac_ext <<_ACEOF
16723 cat confdefs.h
>>conftest.
$ac_ext
16724 cat >>conftest.
$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 #include <stdlib.h>
16729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16730 $EGREP "free" >/dev
/null
2>&1; then
16733 ac_cv_header_stdc
=no
16739 if test $ac_cv_header_stdc = yes; then
16740 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16741 if test "$cross_compiling" = yes; then
16744 cat >conftest.
$ac_ext <<_ACEOF
16747 cat confdefs.h
>>conftest.
$ac_ext
16748 cat >>conftest.
$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16751 #if ((' ' & 0x0FF) == 0x020)
16752 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16753 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16755 # define ISLOWER(c) \
16756 (('a' <= (c) && (c) <= 'i') \
16757 || ('j' <= (c) && (c) <= 'r') \
16758 || ('s' <= (c) && (c) <= 'z'))
16759 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16762 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16767 for (i = 0; i < 256; i++)
16768 if (XOR (islower (i), ISLOWER (i))
16769 || toupper (i) != TOUPPER (i))
16774 rm -f conftest
$ac_exeext
16775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16776 (eval $ac_link) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; }; then
16787 echo "$as_me: program exited with status $ac_status" >&5
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.
$ac_ext >&5
16791 ( exit $ac_status )
16792 ac_cv_header_stdc
=no
16794 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16798 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16799 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16800 if test $ac_cv_header_stdc = yes; then
16802 cat >>confdefs.h
<<\_ACEOF
16803 #define STDC_HEADERS 1
16808 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16818 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
16819 inttypes.h stdint.h unistd.h
16821 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16822 echo "$as_me:$LINENO: checking for $ac_header" >&5
16823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833 $ac_includes_default
16835 #include <$ac_header>
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_c_werror_flag"
16847 || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try
='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16859 eval "$as_ac_Header=yes"
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.
$ac_ext >&5
16864 eval "$as_ac_Header=no"
16866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16871 cat >>confdefs.h
<<_ACEOF
16872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16886 for ac_header
in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16889 echo "$as_me:$LINENO: checking for $ac_header" >&5
16890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16892 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 cat >conftest.
$ac_ext <<_ACEOF
16897 cat confdefs.h
>>conftest.
$ac_ext
16898 cat >>conftest.
$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16902 #include <$ac_header>
16904 rm -f conftest.
$ac_objext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906 (eval $ac_compile) 2>conftest.er1
16908 grep -v '^ *+' conftest.er1
>conftest.err
16910 cat conftest.err
>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try
='test -z "$ac_c_werror_flag"
16914 || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try
='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 eval "$as_ac_Header=yes"
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 eval "$as_ac_Header=no"
16933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16938 cat >>confdefs.h
<<_ACEOF
16939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16947 if test "$ac_cv_header_wchar_h" != "yes"; then
16948 echo "$as_me:$LINENO: checking for wcstr.h" >&5
16949 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
16950 if test "${ac_cv_header_wcstr_h+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 $ac_includes_default
16963 rm -f conftest.
$ac_objext
16964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16965 (eval $ac_compile) 2>conftest.er1
16967 grep -v '^ *+' conftest.er1
>conftest.err
16969 cat conftest.err
>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); } &&
16972 { ac_try
='test -z "$ac_c_werror_flag"
16973 || test ! -s conftest.err'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; } &&
16979 { ac_try
='test -s conftest.$ac_objext'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; }; then
16985 ac_cv_header_wcstr_h
=yes
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.
$ac_ext >&5
16990 ac_cv_header_wcstr_h
=no
16992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16994 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
16995 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
17001 *-pc-os2_emx | *-pc-os2-emx )
17002 if test $ac_cv_header_langinfo_h = "yes" \
17003 -a \
( "$wx_cv_gccversion" = "EMX2" \
17004 -o "$wx_cv_gccversion" = "EMX3" \
17005 -o "$wx_cv_gccversion" = "Innotek5" \
); then
17006 LIBS
="$LIBS -lintl"
17011 if test "$USE_UNIX" = 1 ; then
17012 echo "$as_me:$LINENO: checking for sys/select.h" >&5
17013 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
17014 if test "${ac_cv_header_sys_select_h+set}" = set; then
17015 echo $ECHO_N "(cached) $ECHO_C" >&6
17017 cat >conftest.
$ac_ext <<_ACEOF
17020 cat confdefs.h
>>conftest.
$ac_ext
17021 cat >>conftest.
$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023 $ac_includes_default
17025 #include <sys/select.h>
17027 rm -f conftest.
$ac_objext
17028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17029 (eval $ac_compile) 2>conftest.er1
17031 grep -v '^ *+' conftest.er1
>conftest.err
17033 cat conftest.err
>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); } &&
17036 { ac_try
='test -z "$ac_c_werror_flag"
17037 || test ! -s conftest.err'
17038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17039 (eval $ac_try) 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; } &&
17043 { ac_try
='test -s conftest.$ac_objext'
17044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17045 (eval $ac_try) 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); }; }; then
17049 ac_cv_header_sys_select_h
=yes
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.
$ac_ext >&5
17054 ac_cv_header_sys_select_h
=no
17056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17058 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17059 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
17065 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17066 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17067 if test "${ac_cv_c_const+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 cat >conftest.
$ac_ext <<_ACEOF
17073 cat confdefs.h
>>conftest.
$ac_ext
17074 cat >>conftest.
$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17080 /* FIXME: Include the comments suggested by Paul. */
17081 #ifndef __cplusplus
17082 /* Ultrix mips cc rejects this. */
17083 typedef int charset[2];
17085 /* SunOS 4.1.1 cc rejects this. */
17086 char const *const *ccp;
17088 /* NEC SVR4.0.2 mips cc rejects this. */
17089 struct point {int x, y;};
17090 static struct point const zero = {0,0};
17091 /* AIX XL C 1.02.0.0 rejects this.
17092 It does not let you subtract one const X* pointer from another in
17093 an arm of an if-expression whose if-part is not a constant
17095 const char *g = "string";
17096 ccp = &g + (g ? g-g : 0);
17097 /* HPUX 7.0 cc rejects these. */
17100 ccp = (char const *const *) p;
17101 { /* SCO 3.2v4 cc rejects this. */
17103 char const *s = 0 ? (char *) 0 : (char const *) 0;
17107 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17108 int x[] = {25, 17};
17109 const int *foo = &x[0];
17112 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17113 typedef const int *iptr;
17117 { /* AIX XL C 1.02.0.0 rejects this saying
17118 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17119 struct s { int j; const int *ap[3]; };
17120 struct s *b; b->j = 5;
17122 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17123 const int foo = 10;
17131 rm -f conftest.
$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17135 grep -v '^ *+' conftest.er1
>conftest.err
17137 cat conftest.err
>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try
='test -z "$ac_c_werror_flag"
17141 || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try
='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17162 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17163 echo "${ECHO_T}$ac_cv_c_const" >&6
17164 if test $ac_cv_c_const = no
; then
17166 cat >>confdefs.h
<<\_ACEOF
17172 echo "$as_me:$LINENO: checking for inline" >&5
17173 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17174 if test "${ac_cv_c_inline+set}" = set; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17178 for ac_kw
in inline __inline__ __inline
; do
17179 cat >conftest.
$ac_ext <<_ACEOF
17182 cat confdefs.h
>>conftest.
$ac_ext
17183 cat >>conftest.
$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17185 #ifndef __cplusplus
17187 static $ac_kw foo_t static_foo () {return 0; }
17188 $ac_kw foo_t foo () {return 0; }
17192 rm -f conftest.
$ac_objext
17193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17194 (eval $ac_compile) 2>conftest.er1
17196 grep -v '^ *+' conftest.er1
>conftest.err
17198 cat conftest.err
>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } &&
17201 { ac_try
='test -z "$ac_c_werror_flag"
17202 || test ! -s conftest.err'
17203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17204 (eval $ac_try) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; } &&
17208 { ac_try
='test -s conftest.$ac_objext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 ac_cv_c_inline
=$ac_kw; break
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.
$ac_ext >&5
17220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17224 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17225 echo "${ECHO_T}$ac_cv_c_inline" >&6
17228 case $ac_cv_c_inline in
17231 case $ac_cv_c_inline in
17233 *) ac_val
=$ac_cv_c_inline;;
17235 cat >>confdefs.h
<<_ACEOF
17236 #ifndef __cplusplus
17237 #define inline $ac_val
17244 echo "$as_me:$LINENO: checking for short" >&5
17245 echo $ECHO_N "checking for short... $ECHO_C" >&6
17246 if test "${ac_cv_type_short+set}" = set; then
17247 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 cat >conftest.
$ac_ext <<_ACEOF
17252 cat confdefs.h
>>conftest.
$ac_ext
17253 cat >>conftest.
$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 $ac_includes_default
17261 if (sizeof (short))
17267 rm -f conftest.
$ac_objext
17268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17269 (eval $ac_compile) 2>conftest.er1
17271 grep -v '^ *+' conftest.er1
>conftest.err
17273 cat conftest.err
>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } &&
17276 { ac_try
='test -z "$ac_c_werror_flag"
17277 || test ! -s conftest.err'
17278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17279 (eval $ac_try) 2>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); }; } &&
17283 { ac_try
='test -s conftest.$ac_objext'
17284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17285 (eval $ac_try) 2>&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); }; }; then
17289 ac_cv_type_short
=yes
17291 echo "$as_me: failed program was:" >&5
17292 sed 's/^/| /' conftest.
$ac_ext >&5
17294 ac_cv_type_short
=no
17296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17298 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17299 echo "${ECHO_T}$ac_cv_type_short" >&6
17301 echo "$as_me:$LINENO: checking size of short" >&5
17302 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17303 if test "${ac_cv_sizeof_short+set}" = set; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17306 if test "$ac_cv_type_short" = yes; then
17307 # The cast to unsigned long works around a bug in the HP C Compiler
17308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17310 # This bug is HP SR number 8606223364.
17311 if test "$cross_compiling" = yes; then
17312 # Depending upon the size, compute the lo and hi bounds.
17313 cat >conftest.
$ac_ext <<_ACEOF
17316 cat confdefs.h
>>conftest.
$ac_ext
17317 cat >>conftest.
$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 $ac_includes_default
17323 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17330 rm -f conftest.
$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17334 grep -v '^ *+' conftest.er1
>conftest.err
17336 cat conftest.err
>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try
='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try
='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17354 cat >conftest.
$ac_ext <<_ACEOF
17357 cat confdefs.h
>>conftest.
$ac_ext
17358 cat >>conftest.
$ac_ext <<_ACEOF
17359 /* end confdefs.h. */
17360 $ac_includes_default
17364 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17371 rm -f conftest.
$ac_objext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17373 (eval $ac_compile) 2>conftest.er1
17375 grep -v '^ *+' conftest.er1
>conftest.err
17377 cat conftest.err
>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } &&
17380 { ac_try
='test -z "$ac_c_werror_flag"
17381 || test ! -s conftest.err'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } &&
17387 { ac_try
='test -s conftest.$ac_objext'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; }; then
17393 ac_hi
=$ac_mid; break
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.
$ac_ext >&5
17398 ac_lo
=`expr $ac_mid + 1`
17399 if test $ac_lo -le $ac_mid; then
17403 ac_mid
=`expr 2 '*' $ac_mid + 1`
17405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17408 echo "$as_me: failed program was:" >&5
17409 sed 's/^/| /' conftest.
$ac_ext >&5
17411 cat >conftest.
$ac_ext <<_ACEOF
17414 cat confdefs.h
>>conftest.
$ac_ext
17415 cat >>conftest.
$ac_ext <<_ACEOF
17416 /* end confdefs.h. */
17417 $ac_includes_default
17421 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17428 rm -f conftest.
$ac_objext
17429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17430 (eval $ac_compile) 2>conftest.er1
17432 grep -v '^ *+' conftest.er1
>conftest.err
17434 cat conftest.err
>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } &&
17437 { ac_try
='test -z "$ac_c_werror_flag"
17438 || test ! -s conftest.err'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } &&
17444 { ac_try
='test -s conftest.$ac_objext'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17452 cat >conftest.
$ac_ext <<_ACEOF
17455 cat confdefs.h
>>conftest.
$ac_ext
17456 cat >>conftest.
$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 $ac_includes_default
17462 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17469 rm -f conftest.
$ac_objext
17470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17471 (eval $ac_compile) 2>conftest.er1
17473 grep -v '^ *+' conftest.er1
>conftest.err
17475 cat conftest.err
>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } &&
17478 { ac_try
='test -z "$ac_c_werror_flag"
17479 || test ! -s conftest.err'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try
='test -s conftest.$ac_objext'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 ac_lo
=$ac_mid; break
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.
$ac_ext >&5
17496 ac_hi
=`expr '(' $ac_mid ')' - 1`
17497 if test $ac_mid -le $ac_hi; then
17501 ac_mid
=`expr 2 '*' $ac_mid`
17503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.
$ac_ext >&5
17511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17514 # Binary search between lo and hi bounds.
17515 while test "x$ac_lo" != "x$ac_hi"; do
17516 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17517 cat >conftest.
$ac_ext <<_ACEOF
17520 cat confdefs.h
>>conftest.
$ac_ext
17521 cat >>conftest.
$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17523 $ac_includes_default
17527 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17534 rm -f conftest.
$ac_objext
17535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17536 (eval $ac_compile) 2>conftest.er1
17538 grep -v '^ *+' conftest.er1
>conftest.err
17540 cat conftest.err
>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } &&
17543 { ac_try
='test -z "$ac_c_werror_flag"
17544 || test ! -s conftest.err'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; } &&
17550 { ac_try
='test -s conftest.$ac_objext'
17551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17552 (eval $ac_try) 2>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); }; }; then
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.
$ac_ext >&5
17561 ac_lo
=`expr '(' $ac_mid ')' + 1`
17563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17567 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: cannot compute sizeof (short), 77
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; } ;;
17574 if test "$cross_compiling" = yes; then
17575 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17576 See \`config.log' for more details." >&5
17577 echo "$as_me: error: cannot run test program while cross compiling
17578 See \`config.log' for more details." >&2;}
17579 { (exit 1); exit 1; }; }
17581 cat >conftest.
$ac_ext <<_ACEOF
17584 cat confdefs.h
>>conftest.
$ac_ext
17585 cat >>conftest.
$ac_ext <<_ACEOF
17586 /* end confdefs.h. */
17587 $ac_includes_default
17588 long longval () { return (long) (sizeof (short)); }
17589 unsigned long ulongval () { return (long) (sizeof (short)); }
17591 #include <stdlib.h>
17596 FILE *f = fopen ("conftest.val", "w");
17599 if (((long) (sizeof (short))) < 0)
17601 long i = longval ();
17602 if (i != ((long) (sizeof (short))))
17604 fprintf (f, "%ld\n", i);
17608 unsigned long i = ulongval ();
17609 if (i != ((long) (sizeof (short))))
17611 fprintf (f, "%lu\n", i);
17613 exit (ferror (f) || fclose (f) != 0);
17619 rm -f conftest
$ac_exeext
17620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17621 (eval $ac_link) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17630 ac_cv_sizeof_short
=`cat conftest.val`
17632 echo "$as_me: program exited with status $ac_status" >&5
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.
$ac_ext >&5
17636 ( exit $ac_status )
17637 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17638 See \`config.log' for more details." >&5
17639 echo "$as_me: error: cannot compute sizeof (short), 77
17640 See \`config.log' for more details." >&2;}
17641 { (exit 1); exit 1; }; }
17643 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17648 ac_cv_sizeof_short
=0
17651 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17652 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17653 cat >>confdefs.h
<<_ACEOF
17654 #define SIZEOF_SHORT $ac_cv_sizeof_short
17658 echo "$as_me:$LINENO: checking for void *" >&5
17659 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17660 if test "${ac_cv_type_void_p+set}" = set; then
17661 echo $ECHO_N "(cached) $ECHO_C" >&6
17663 cat >conftest.
$ac_ext <<_ACEOF
17666 cat confdefs.h
>>conftest.
$ac_ext
17667 cat >>conftest.
$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17669 $ac_includes_default
17675 if (sizeof (void *))
17681 rm -f conftest.
$ac_objext
17682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17683 (eval $ac_compile) 2>conftest.er1
17685 grep -v '^ *+' conftest.er1
>conftest.err
17687 cat conftest.err
>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); } &&
17690 { ac_try
='test -z "$ac_c_werror_flag"
17691 || test ! -s conftest.err'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; } &&
17697 { ac_try
='test -s conftest.$ac_objext'
17698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17699 (eval $ac_try) 2>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); }; }; then
17703 ac_cv_type_void_p
=yes
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.
$ac_ext >&5
17708 ac_cv_type_void_p
=no
17710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17712 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17713 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17715 echo "$as_me:$LINENO: checking size of void *" >&5
17716 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17717 if test "${ac_cv_sizeof_void_p+set}" = set; then
17718 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 if test "$ac_cv_type_void_p" = yes; then
17721 # The cast to unsigned long works around a bug in the HP C Compiler
17722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17724 # This bug is HP SR number 8606223364.
17725 if test "$cross_compiling" = yes; then
17726 # Depending upon the size, compute the lo and hi bounds.
17727 cat >conftest.
$ac_ext <<_ACEOF
17730 cat confdefs.h
>>conftest.
$ac_ext
17731 cat >>conftest.
$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733 $ac_includes_default
17737 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17744 rm -f conftest.
$ac_objext
17745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17746 (eval $ac_compile) 2>conftest.er1
17748 grep -v '^ *+' conftest.er1
>conftest.err
17750 cat conftest.err
>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } &&
17753 { ac_try
='test -z "$ac_c_werror_flag"
17754 || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try
='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17768 cat >conftest.
$ac_ext <<_ACEOF
17771 cat confdefs.h
>>conftest.
$ac_ext
17772 cat >>conftest.
$ac_ext <<_ACEOF
17773 /* end confdefs.h. */
17774 $ac_includes_default
17778 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17785 rm -f conftest.
$ac_objext
17786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17787 (eval $ac_compile) 2>conftest.er1
17789 grep -v '^ *+' conftest.er1
>conftest.err
17791 cat conftest.err
>&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } &&
17794 { ac_try
='test -z "$ac_c_werror_flag"
17795 || test ! -s conftest.err'
17796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17797 (eval $ac_try) 2>&5
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); }; } &&
17801 { ac_try
='test -s conftest.$ac_objext'
17802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17803 (eval $ac_try) 2>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); }; }; then
17807 ac_hi
=$ac_mid; break
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.
$ac_ext >&5
17812 ac_lo
=`expr $ac_mid + 1`
17813 if test $ac_lo -le $ac_mid; then
17817 ac_mid
=`expr 2 '*' $ac_mid + 1`
17819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.
$ac_ext >&5
17825 cat >conftest.
$ac_ext <<_ACEOF
17828 cat confdefs.h
>>conftest.
$ac_ext
17829 cat >>conftest.
$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17831 $ac_includes_default
17835 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17842 rm -f conftest.
$ac_objext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844 (eval $ac_compile) 2>conftest.er1
17846 grep -v '^ *+' conftest.er1
>conftest.err
17848 cat conftest.err
>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try
='test -z "$ac_c_werror_flag"
17852 || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try
='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17866 cat >conftest.
$ac_ext <<_ACEOF
17869 cat confdefs.h
>>conftest.
$ac_ext
17870 cat >>conftest.
$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 $ac_includes_default
17876 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17883 rm -f conftest.
$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>conftest.er1
17887 grep -v '^ *+' conftest.er1
>conftest.err
17889 cat conftest.err
>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); } &&
17892 { ac_try
='test -z "$ac_c_werror_flag"
17893 || test ! -s conftest.err'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; } &&
17899 { ac_try
='test -s conftest.$ac_objext'
17900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901 (eval $ac_try) 2>&5
17903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904 (exit $ac_status); }; }; then
17905 ac_lo
=$ac_mid; break
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.
$ac_ext >&5
17910 ac_hi
=`expr '(' $ac_mid ')' - 1`
17911 if test $ac_mid -le $ac_hi; then
17915 ac_mid
=`expr 2 '*' $ac_mid`
17917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17920 echo "$as_me: failed program was:" >&5
17921 sed 's/^/| /' conftest.
$ac_ext >&5
17925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17928 # Binary search between lo and hi bounds.
17929 while test "x$ac_lo" != "x$ac_hi"; do
17930 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17931 cat >conftest.
$ac_ext <<_ACEOF
17934 cat confdefs.h
>>conftest.
$ac_ext
17935 cat >>conftest.
$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17937 $ac_includes_default
17941 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17948 rm -f conftest.
$ac_objext
17949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17950 (eval $ac_compile) 2>conftest.er1
17952 grep -v '^ *+' conftest.er1
>conftest.err
17954 cat conftest.err
>&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } &&
17957 { ac_try
='test -z "$ac_c_werror_flag"
17958 || test ! -s conftest.err'
17959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17960 (eval $ac_try) 2>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); }; } &&
17964 { ac_try
='test -s conftest.$ac_objext'
17965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17966 (eval $ac_try) 2>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; }; then
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.
$ac_ext >&5
17975 ac_lo
=`expr '(' $ac_mid ')' + 1`
17977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17980 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17981 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17982 See \`config.log' for more details." >&5
17983 echo "$as_me: error: cannot compute sizeof (void *), 77
17984 See \`config.log' for more details." >&2;}
17985 { (exit 1); exit 1; }; } ;;
17988 if test "$cross_compiling" = yes; then
17989 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17990 See \`config.log' for more details." >&5
17991 echo "$as_me: error: cannot run test program while cross compiling
17992 See \`config.log' for more details." >&2;}
17993 { (exit 1); exit 1; }; }
17995 cat >conftest.
$ac_ext <<_ACEOF
17998 cat confdefs.h
>>conftest.
$ac_ext
17999 cat >>conftest.
$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 $ac_includes_default
18002 long longval () { return (long) (sizeof (void *)); }
18003 unsigned long ulongval () { return (long) (sizeof (void *)); }
18005 #include <stdlib.h>
18010 FILE *f = fopen ("conftest.val", "w");
18013 if (((long) (sizeof (void *))) < 0)
18015 long i = longval ();
18016 if (i != ((long) (sizeof (void *))))
18018 fprintf (f, "%ld\n", i);
18022 unsigned long i = ulongval ();
18023 if (i != ((long) (sizeof (void *))))
18025 fprintf (f, "%lu\n", i);
18027 exit (ferror (f) || fclose (f) != 0);
18033 rm -f conftest
$ac_exeext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18035 (eval $ac_link) 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18040 (eval $ac_try) 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); }; }; then
18044 ac_cv_sizeof_void_p
=`cat conftest.val`
18046 echo "$as_me: program exited with status $ac_status" >&5
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.
$ac_ext >&5
18050 ( exit $ac_status )
18051 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18052 See \`config.log' for more details." >&5
18053 echo "$as_me: error: cannot compute sizeof (void *), 77
18054 See \`config.log' for more details." >&2;}
18055 { (exit 1); exit 1; }; }
18057 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18062 ac_cv_sizeof_void_p
=0
18065 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18066 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18067 cat >>confdefs.h
<<_ACEOF
18068 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18072 echo "$as_me:$LINENO: checking for int" >&5
18073 echo $ECHO_N "checking for int... $ECHO_C" >&6
18074 if test "${ac_cv_type_int+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 cat >conftest.
$ac_ext <<_ACEOF
18080 cat confdefs.h
>>conftest.
$ac_ext
18081 cat >>conftest.
$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 $ac_includes_default
18095 rm -f conftest.
$ac_objext
18096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18097 (eval $ac_compile) 2>conftest.er1
18099 grep -v '^ *+' conftest.er1
>conftest.err
18101 cat conftest.err
>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); } &&
18104 { ac_try
='test -z "$ac_c_werror_flag"
18105 || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try
='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.
$ac_ext >&5
18124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18126 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18127 echo "${ECHO_T}$ac_cv_type_int" >&6
18129 echo "$as_me:$LINENO: checking size of int" >&5
18130 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18131 if test "${ac_cv_sizeof_int+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 if test "$ac_cv_type_int" = yes; then
18135 # The cast to unsigned long works around a bug in the HP C Compiler
18136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18138 # This bug is HP SR number 8606223364.
18139 if test "$cross_compiling" = yes; then
18140 # Depending upon the size, compute the lo and hi bounds.
18141 cat >conftest.
$ac_ext <<_ACEOF
18144 cat confdefs.h
>>conftest.
$ac_ext
18145 cat >>conftest.
$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 $ac_includes_default
18151 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18158 rm -f conftest.
$ac_objext
18159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18160 (eval $ac_compile) 2>conftest.er1
18162 grep -v '^ *+' conftest.er1
>conftest.err
18164 cat conftest.err
>&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } &&
18167 { ac_try
='test -z "$ac_c_werror_flag"
18168 || test ! -s conftest.err'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; } &&
18174 { ac_try
='test -s conftest.$ac_objext'
18175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18176 (eval $ac_try) 2>&5
18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18179 (exit $ac_status); }; }; then
18182 cat >conftest.
$ac_ext <<_ACEOF
18185 cat confdefs.h
>>conftest.
$ac_ext
18186 cat >>conftest.
$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 $ac_includes_default
18192 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18199 rm -f conftest.
$ac_objext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18201 (eval $ac_compile) 2>conftest.er1
18203 grep -v '^ *+' conftest.er1
>conftest.err
18205 cat conftest.err
>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } &&
18208 { ac_try
='test -z "$ac_c_werror_flag"
18209 || test ! -s conftest.err'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; } &&
18215 { ac_try
='test -s conftest.$ac_objext'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; }; then
18221 ac_hi
=$ac_mid; break
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.
$ac_ext >&5
18226 ac_lo
=`expr $ac_mid + 1`
18227 if test $ac_lo -le $ac_mid; then
18231 ac_mid
=`expr 2 '*' $ac_mid + 1`
18233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.
$ac_ext >&5
18239 cat >conftest.
$ac_ext <<_ACEOF
18242 cat confdefs.h
>>conftest.
$ac_ext
18243 cat >>conftest.
$ac_ext <<_ACEOF
18244 /* end confdefs.h. */
18245 $ac_includes_default
18249 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18256 rm -f conftest.
$ac_objext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 (eval $ac_compile) 2>conftest.er1
18260 grep -v '^ *+' conftest.er1
>conftest.err
18262 cat conftest.err
>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try
='test -z "$ac_c_werror_flag"
18266 || test ! -s conftest.err'
18267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268 (eval $ac_try) 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); }; } &&
18272 { ac_try
='test -s conftest.$ac_objext'
18273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18274 (eval $ac_try) 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18280 cat >conftest.
$ac_ext <<_ACEOF
18283 cat confdefs.h
>>conftest.
$ac_ext
18284 cat >>conftest.
$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286 $ac_includes_default
18290 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18297 rm -f conftest.
$ac_objext
18298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18299 (eval $ac_compile) 2>conftest.er1
18301 grep -v '^ *+' conftest.er1
>conftest.err
18303 cat conftest.err
>&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } &&
18306 { ac_try
='test -z "$ac_c_werror_flag"
18307 || test ! -s conftest.err'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; } &&
18313 { ac_try
='test -s conftest.$ac_objext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 ac_lo
=$ac_mid; break
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.
$ac_ext >&5
18324 ac_hi
=`expr '(' $ac_mid ')' - 1`
18325 if test $ac_mid -le $ac_hi; then
18329 ac_mid
=`expr 2 '*' $ac_mid`
18331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.
$ac_ext >&5
18339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18342 # Binary search between lo and hi bounds.
18343 while test "x$ac_lo" != "x$ac_hi"; do
18344 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18345 cat >conftest.
$ac_ext <<_ACEOF
18348 cat confdefs.h
>>conftest.
$ac_ext
18349 cat >>conftest.
$ac_ext <<_ACEOF
18350 /* end confdefs.h. */
18351 $ac_includes_default
18355 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18362 rm -f conftest.
$ac_objext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>conftest.er1
18366 grep -v '^ *+' conftest.er1
>conftest.err
18368 cat conftest.err
>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try
='test -z "$ac_c_werror_flag"
18372 || test ! -s conftest.err'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; } &&
18378 { ac_try
='test -s conftest.$ac_objext'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; }; then
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.
$ac_ext >&5
18389 ac_lo
=`expr '(' $ac_mid ')' + 1`
18391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18394 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18395 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18396 See \`config.log' for more details." >&5
18397 echo "$as_me: error: cannot compute sizeof (int), 77
18398 See \`config.log' for more details." >&2;}
18399 { (exit 1); exit 1; }; } ;;
18402 if test "$cross_compiling" = yes; then
18403 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18404 See \`config.log' for more details." >&5
18405 echo "$as_me: error: cannot run test program while cross compiling
18406 See \`config.log' for more details." >&2;}
18407 { (exit 1); exit 1; }; }
18409 cat >conftest.
$ac_ext <<_ACEOF
18412 cat confdefs.h
>>conftest.
$ac_ext
18413 cat >>conftest.
$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 long longval () { return (long) (sizeof (int)); }
18417 unsigned long ulongval () { return (long) (sizeof (int)); }
18419 #include <stdlib.h>
18424 FILE *f = fopen ("conftest.val", "w");
18427 if (((long) (sizeof (int))) < 0)
18429 long i = longval ();
18430 if (i != ((long) (sizeof (int))))
18432 fprintf (f, "%ld\n", i);
18436 unsigned long i = ulongval ();
18437 if (i != ((long) (sizeof (int))))
18439 fprintf (f, "%lu\n", i);
18441 exit (ferror (f) || fclose (f) != 0);
18447 rm -f conftest
$ac_exeext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18449 (eval $ac_link) 2>&5
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454 (eval $ac_try) 2>&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; }; then
18458 ac_cv_sizeof_int
=`cat conftest.val`
18460 echo "$as_me: program exited with status $ac_status" >&5
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.
$ac_ext >&5
18464 ( exit $ac_status )
18465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18466 See \`config.log' for more details." >&5
18467 echo "$as_me: error: cannot compute sizeof (int), 77
18468 See \`config.log' for more details." >&2;}
18469 { (exit 1); exit 1; }; }
18471 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18479 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18480 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18481 cat >>confdefs.h
<<_ACEOF
18482 #define SIZEOF_INT $ac_cv_sizeof_int
18486 echo "$as_me:$LINENO: checking for long" >&5
18487 echo $ECHO_N "checking for long... $ECHO_C" >&6
18488 if test "${ac_cv_type_long+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 cat >conftest.
$ac_ext <<_ACEOF
18494 cat confdefs.h
>>conftest.
$ac_ext
18495 cat >>conftest.
$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497 $ac_includes_default
18509 rm -f conftest.
$ac_objext
18510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18511 (eval $ac_compile) 2>conftest.er1
18513 grep -v '^ *+' conftest.er1
>conftest.err
18515 cat conftest.err
>&5
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); } &&
18518 { ac_try
='test -z "$ac_c_werror_flag"
18519 || test ! -s conftest.err'
18520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18521 (eval $ac_try) 2>&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); }; } &&
18525 { ac_try
='test -s conftest.$ac_objext'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; }; then
18531 ac_cv_type_long
=yes
18533 echo "$as_me: failed program was:" >&5
18534 sed 's/^/| /' conftest.
$ac_ext >&5
18538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18540 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18541 echo "${ECHO_T}$ac_cv_type_long" >&6
18543 echo "$as_me:$LINENO: checking size of long" >&5
18544 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18545 if test "${ac_cv_sizeof_long+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 if test "$ac_cv_type_long" = yes; then
18549 # The cast to unsigned long works around a bug in the HP C Compiler
18550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18552 # This bug is HP SR number 8606223364.
18553 if test "$cross_compiling" = yes; then
18554 # Depending upon the size, compute the lo and hi bounds.
18555 cat >conftest.
$ac_ext <<_ACEOF
18558 cat confdefs.h
>>conftest.
$ac_ext
18559 cat >>conftest.
$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 $ac_includes_default
18565 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18572 rm -f conftest.
$ac_objext
18573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18574 (eval $ac_compile) 2>conftest.er1
18576 grep -v '^ *+' conftest.er1
>conftest.err
18578 cat conftest.err
>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); } &&
18581 { ac_try
='test -z "$ac_c_werror_flag"
18582 || test ! -s conftest.err'
18583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18584 (eval $ac_try) 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; } &&
18588 { ac_try
='test -s conftest.$ac_objext'
18589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590 (eval $ac_try) 2>&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18596 cat >conftest.
$ac_ext <<_ACEOF
18599 cat confdefs.h
>>conftest.
$ac_ext
18600 cat >>conftest.
$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 $ac_includes_default
18606 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18613 rm -f conftest.
$ac_objext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18615 (eval $ac_compile) 2>conftest.er1
18617 grep -v '^ *+' conftest.er1
>conftest.err
18619 cat conftest.err
>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try
='test -z "$ac_c_werror_flag"
18623 || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try
='test -s conftest.$ac_objext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_hi
=$ac_mid; break
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.
$ac_ext >&5
18640 ac_lo
=`expr $ac_mid + 1`
18641 if test $ac_lo -le $ac_mid; then
18645 ac_mid
=`expr 2 '*' $ac_mid + 1`
18647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.
$ac_ext >&5
18653 cat >conftest.
$ac_ext <<_ACEOF
18656 cat confdefs.h
>>conftest.
$ac_ext
18657 cat >>conftest.
$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18663 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18670 rm -f conftest.
$ac_objext
18671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18672 (eval $ac_compile) 2>conftest.er1
18674 grep -v '^ *+' conftest.er1
>conftest.err
18676 cat conftest.err
>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } &&
18679 { ac_try
='test -z "$ac_c_werror_flag"
18680 || test ! -s conftest.err'
18681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18682 (eval $ac_try) 2>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); }; } &&
18686 { ac_try
='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18694 cat >conftest.
$ac_ext <<_ACEOF
18697 cat confdefs.h
>>conftest.
$ac_ext
18698 cat >>conftest.
$ac_ext <<_ACEOF
18699 /* end confdefs.h. */
18700 $ac_includes_default
18704 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18711 rm -f conftest.
$ac_objext
18712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18713 (eval $ac_compile) 2>conftest.er1
18715 grep -v '^ *+' conftest.er1
>conftest.err
18717 cat conftest.err
>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try
='test -z "$ac_c_werror_flag"
18721 || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try
='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_lo
=$ac_mid; break
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.
$ac_ext >&5
18738 ac_hi
=`expr '(' $ac_mid ')' - 1`
18739 if test $ac_mid -le $ac_hi; then
18743 ac_mid
=`expr 2 '*' $ac_mid`
18745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.
$ac_ext >&5
18753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18756 # Binary search between lo and hi bounds.
18757 while test "x$ac_lo" != "x$ac_hi"; do
18758 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18759 cat >conftest.
$ac_ext <<_ACEOF
18762 cat confdefs.h
>>conftest.
$ac_ext
18763 cat >>conftest.
$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 $ac_includes_default
18769 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18776 rm -f conftest.
$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18780 grep -v '^ *+' conftest.er1
>conftest.err
18782 cat conftest.err
>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try
='test -z "$ac_c_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try
='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.
$ac_ext >&5
18803 ac_lo
=`expr '(' $ac_mid ')' + 1`
18805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18808 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18809 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18810 See \`config.log' for more details." >&5
18811 echo "$as_me: error: cannot compute sizeof (long), 77
18812 See \`config.log' for more details." >&2;}
18813 { (exit 1); exit 1; }; } ;;
18816 if test "$cross_compiling" = yes; then
18817 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18818 See \`config.log' for more details." >&5
18819 echo "$as_me: error: cannot run test program while cross compiling
18820 See \`config.log' for more details." >&2;}
18821 { (exit 1); exit 1; }; }
18823 cat >conftest.
$ac_ext <<_ACEOF
18826 cat confdefs.h
>>conftest.
$ac_ext
18827 cat >>conftest.
$ac_ext <<_ACEOF
18828 /* end confdefs.h. */
18829 $ac_includes_default
18830 long longval () { return (long) (sizeof (long)); }
18831 unsigned long ulongval () { return (long) (sizeof (long)); }
18833 #include <stdlib.h>
18838 FILE *f = fopen ("conftest.val", "w");
18841 if (((long) (sizeof (long))) < 0)
18843 long i = longval ();
18844 if (i != ((long) (sizeof (long))))
18846 fprintf (f, "%ld\n", i);
18850 unsigned long i = ulongval ();
18851 if (i != ((long) (sizeof (long))))
18853 fprintf (f, "%lu\n", i);
18855 exit (ferror (f) || fclose (f) != 0);
18861 rm -f conftest
$ac_exeext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18863 (eval $ac_link) 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_cv_sizeof_long
=`cat conftest.val`
18874 echo "$as_me: program exited with status $ac_status" >&5
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.
$ac_ext >&5
18878 ( exit $ac_status )
18879 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18880 See \`config.log' for more details." >&5
18881 echo "$as_me: error: cannot compute sizeof (long), 77
18882 See \`config.log' for more details." >&2;}
18883 { (exit 1); exit 1; }; }
18885 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18890 ac_cv_sizeof_long
=0
18893 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18894 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18895 cat >>confdefs.h
<<_ACEOF
18896 #define SIZEOF_LONG $ac_cv_sizeof_long
18900 echo "$as_me:$LINENO: checking for size_t" >&5
18901 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18902 if test "${ac_cv_type_size_t+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 cat >conftest.
$ac_ext <<_ACEOF
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 $ac_includes_default
18917 if (sizeof (size_t))
18923 rm -f conftest.
$ac_objext
18924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18925 (eval $ac_compile) 2>conftest.er1
18927 grep -v '^ *+' conftest.er1
>conftest.err
18929 cat conftest.err
>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } &&
18932 { ac_try
='test -z "$ac_c_werror_flag"
18933 || test ! -s conftest.err'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; } &&
18939 { ac_try
='test -s conftest.$ac_objext'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; }; then
18945 ac_cv_type_size_t
=yes
18947 echo "$as_me: failed program was:" >&5
18948 sed 's/^/| /' conftest.
$ac_ext >&5
18950 ac_cv_type_size_t
=no
18952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18954 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18955 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18957 echo "$as_me:$LINENO: checking size of size_t" >&5
18958 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18959 if test "${ac_cv_sizeof_size_t+set}" = set; then
18960 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 if test "$ac_cv_type_size_t" = yes; then
18963 # The cast to unsigned long works around a bug in the HP C Compiler
18964 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18965 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18966 # This bug is HP SR number 8606223364.
18967 if test "$cross_compiling" = yes; then
18968 # Depending upon the size, compute the lo and hi bounds.
18969 cat >conftest.
$ac_ext <<_ACEOF
18972 cat confdefs.h
>>conftest.
$ac_ext
18973 cat >>conftest.
$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 $ac_includes_default
18979 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18986 rm -f conftest.
$ac_objext
18987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18988 (eval $ac_compile) 2>conftest.er1
18990 grep -v '^ *+' conftest.er1
>conftest.err
18992 cat conftest.err
>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
18995 { ac_try
='test -z "$ac_c_werror_flag"
18996 || test ! -s conftest.err'
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18998 (eval $ac_try) 2>&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); }; } &&
19002 { ac_try
='test -s conftest.$ac_objext'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; }; then
19010 cat >conftest.
$ac_ext <<_ACEOF
19013 cat confdefs.h
>>conftest.
$ac_ext
19014 cat >>conftest.
$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 $ac_includes_default
19020 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19027 rm -f conftest.
$ac_objext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19029 (eval $ac_compile) 2>conftest.er1
19031 grep -v '^ *+' conftest.er1
>conftest.err
19033 cat conftest.err
>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } &&
19036 { ac_try
='test -z "$ac_c_werror_flag"
19037 || test ! -s conftest.err'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; } &&
19043 { ac_try
='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19049 ac_hi
=$ac_mid; break
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.
$ac_ext >&5
19054 ac_lo
=`expr $ac_mid + 1`
19055 if test $ac_lo -le $ac_mid; then
19059 ac_mid
=`expr 2 '*' $ac_mid + 1`
19061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.
$ac_ext >&5
19067 cat >conftest.
$ac_ext <<_ACEOF
19070 cat confdefs.h
>>conftest.
$ac_ext
19071 cat >>conftest.
$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 $ac_includes_default
19077 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19084 rm -f conftest.
$ac_objext
19085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19086 (eval $ac_compile) 2>conftest.er1
19088 grep -v '^ *+' conftest.er1
>conftest.err
19090 cat conftest.err
>&5
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); } &&
19093 { ac_try
='test -z "$ac_c_werror_flag"
19094 || test ! -s conftest.err'
19095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096 (eval $ac_try) 2>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; } &&
19100 { ac_try
='test -s conftest.$ac_objext'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; }; then
19108 cat >conftest.
$ac_ext <<_ACEOF
19111 cat confdefs.h
>>conftest.
$ac_ext
19112 cat >>conftest.
$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 $ac_includes_default
19118 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19125 rm -f conftest.
$ac_objext
19126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19127 (eval $ac_compile) 2>conftest.er1
19129 grep -v '^ *+' conftest.er1
>conftest.err
19131 cat conftest.err
>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try
='test -z "$ac_c_werror_flag"
19135 || test ! -s conftest.err'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; } &&
19141 { ac_try
='test -s conftest.$ac_objext'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 ac_lo
=$ac_mid; break
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.
$ac_ext >&5
19152 ac_hi
=`expr '(' $ac_mid ')' - 1`
19153 if test $ac_mid -le $ac_hi; then
19157 ac_mid
=`expr 2 '*' $ac_mid`
19159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.
$ac_ext >&5
19167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19170 # Binary search between lo and hi bounds.
19171 while test "x$ac_lo" != "x$ac_hi"; do
19172 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19173 cat >conftest.
$ac_ext <<_ACEOF
19176 cat confdefs.h
>>conftest.
$ac_ext
19177 cat >>conftest.
$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19183 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19190 rm -f conftest.
$ac_objext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19192 (eval $ac_compile) 2>conftest.er1
19194 grep -v '^ *+' conftest.er1
>conftest.err
19196 cat conftest.err
>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try
='test -z "$ac_c_werror_flag"
19200 || test ! -s conftest.err'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; } &&
19206 { ac_try
='test -s conftest.$ac_objext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.
$ac_ext >&5
19217 ac_lo
=`expr '(' $ac_mid ')' + 1`
19219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19222 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19223 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19224 See \`config.log' for more details." >&5
19225 echo "$as_me: error: cannot compute sizeof (size_t), 77
19226 See \`config.log' for more details." >&2;}
19227 { (exit 1); exit 1; }; } ;;
19230 if test "$cross_compiling" = yes; then
19231 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19232 See \`config.log' for more details." >&5
19233 echo "$as_me: error: cannot run test program while cross compiling
19234 See \`config.log' for more details." >&2;}
19235 { (exit 1); exit 1; }; }
19237 cat >conftest.
$ac_ext <<_ACEOF
19240 cat confdefs.h
>>conftest.
$ac_ext
19241 cat >>conftest.
$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19244 long longval () { return (long) (sizeof (size_t)); }
19245 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19247 #include <stdlib.h>
19252 FILE *f = fopen ("conftest.val", "w");
19255 if (((long) (sizeof (size_t))) < 0)
19257 long i = longval ();
19258 if (i != ((long) (sizeof (size_t))))
19260 fprintf (f, "%ld\n", i);
19264 unsigned long i = ulongval ();
19265 if (i != ((long) (sizeof (size_t))))
19267 fprintf (f, "%lu\n", i);
19269 exit (ferror (f) || fclose (f) != 0);
19275 rm -f conftest
$ac_exeext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19277 (eval $ac_link) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 ac_cv_sizeof_size_t
=`cat conftest.val`
19288 echo "$as_me: program exited with status $ac_status" >&5
19289 echo "$as_me: failed program was:" >&5
19290 sed 's/^/| /' conftest.
$ac_ext >&5
19292 ( exit $ac_status )
19293 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19294 See \`config.log' for more details." >&5
19295 echo "$as_me: error: cannot compute sizeof (size_t), 77
19296 See \`config.log' for more details." >&2;}
19297 { (exit 1); exit 1; }; }
19299 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19304 ac_cv_sizeof_size_t
=0
19307 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19308 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19309 cat >>confdefs.h
<<_ACEOF
19310 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19317 echo "$as_me:$LINENO: checking for long long" >&5
19318 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19319 if test "${ac_cv_type_long_long+set}" = set; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 cat >conftest.
$ac_ext <<_ACEOF
19325 cat confdefs.h
>>conftest.
$ac_ext
19326 cat >>conftest.
$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19332 if ((long long *) 0)
19334 if (sizeof (long long))
19340 rm -f conftest.
$ac_objext
19341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19342 (eval $ac_compile) 2>conftest.er1
19344 grep -v '^ *+' conftest.er1
>conftest.err
19346 cat conftest.err
>&5
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try
='test -z "$ac_c_werror_flag"
19350 || test ! -s conftest.err'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; } &&
19356 { ac_try
='test -s conftest.$ac_objext'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; }; then
19362 ac_cv_type_long_long
=yes
19364 echo "$as_me: failed program was:" >&5
19365 sed 's/^/| /' conftest.
$ac_ext >&5
19367 ac_cv_type_long_long
=no
19369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19371 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19372 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19374 echo "$as_me:$LINENO: checking size of long long" >&5
19375 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19376 if test "${ac_cv_sizeof_long_long+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19379 if test "$ac_cv_type_long_long" = yes; then
19380 # The cast to unsigned long works around a bug in the HP C Compiler
19381 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19382 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19383 # This bug is HP SR number 8606223364.
19384 if test "$cross_compiling" = yes; then
19385 # Depending upon the size, compute the lo and hi bounds.
19386 cat >conftest.
$ac_ext <<_ACEOF
19389 cat confdefs.h
>>conftest.
$ac_ext
19390 cat >>conftest.
$ac_ext <<_ACEOF
19391 /* end confdefs.h. */
19392 $ac_includes_default
19396 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19403 rm -f conftest.
$ac_objext
19404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19405 (eval $ac_compile) 2>conftest.er1
19407 grep -v '^ *+' conftest.er1
>conftest.err
19409 cat conftest.err
>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } &&
19412 { ac_try
='test -z "$ac_c_werror_flag"
19413 || test ! -s conftest.err'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try
='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19427 cat >conftest.
$ac_ext <<_ACEOF
19430 cat confdefs.h
>>conftest.
$ac_ext
19431 cat >>conftest.
$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19437 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19444 rm -f conftest.
$ac_objext
19445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19446 (eval $ac_compile) 2>conftest.er1
19448 grep -v '^ *+' conftest.er1
>conftest.err
19450 cat conftest.err
>&5
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); } &&
19453 { ac_try
='test -z "$ac_c_werror_flag"
19454 || test ! -s conftest.err'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; } &&
19460 { ac_try
='test -s conftest.$ac_objext'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; }; then
19466 ac_hi
=$ac_mid; break
19468 echo "$as_me: failed program was:" >&5
19469 sed 's/^/| /' conftest.
$ac_ext >&5
19471 ac_lo
=`expr $ac_mid + 1`
19472 if test $ac_lo -le $ac_mid; then
19476 ac_mid
=`expr 2 '*' $ac_mid + 1`
19478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.
$ac_ext >&5
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 $ac_includes_default
19494 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19501 rm -f conftest.
$ac_objext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19503 (eval $ac_compile) 2>conftest.er1
19505 grep -v '^ *+' conftest.er1
>conftest.err
19507 cat conftest.err
>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try
='test -z "$ac_c_werror_flag"
19511 || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try
='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19525 cat >conftest.
$ac_ext <<_ACEOF
19528 cat confdefs.h
>>conftest.
$ac_ext
19529 cat >>conftest.
$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19542 rm -f conftest.
$ac_objext
19543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19544 (eval $ac_compile) 2>conftest.er1
19546 grep -v '^ *+' conftest.er1
>conftest.err
19548 cat conftest.err
>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } &&
19551 { ac_try
='test -z "$ac_c_werror_flag"
19552 || test ! -s conftest.err'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; } &&
19558 { ac_try
='test -s conftest.$ac_objext'
19559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19560 (eval $ac_try) 2>&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); }; }; then
19564 ac_lo
=$ac_mid; break
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.
$ac_ext >&5
19569 ac_hi
=`expr '(' $ac_mid ')' - 1`
19570 if test $ac_mid -le $ac_hi; then
19574 ac_mid
=`expr 2 '*' $ac_mid`
19576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.
$ac_ext >&5
19584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19587 # Binary search between lo and hi bounds.
19588 while test "x$ac_lo" != "x$ac_hi"; do
19589 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19600 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19607 rm -f conftest.
$ac_objext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>conftest.er1
19611 grep -v '^ *+' conftest.er1
>conftest.err
19613 cat conftest.err
>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } &&
19616 { ac_try
='test -z "$ac_c_werror_flag"
19617 || test ! -s conftest.err'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; } &&
19623 { ac_try
='test -s conftest.$ac_objext'
19624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19625 (eval $ac_try) 2>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); }; }; then
19631 echo "$as_me: failed program was:" >&5
19632 sed 's/^/| /' conftest.
$ac_ext >&5
19634 ac_lo
=`expr '(' $ac_mid ')' + 1`
19636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19639 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19640 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19641 See \`config.log' for more details." >&5
19642 echo "$as_me: error: cannot compute sizeof (long long), 77
19643 See \`config.log' for more details." >&2;}
19644 { (exit 1); exit 1; }; } ;;
19647 if test "$cross_compiling" = yes; then
19648 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19649 See \`config.log' for more details." >&5
19650 echo "$as_me: error: cannot run test program while cross compiling
19651 See \`config.log' for more details." >&2;}
19652 { (exit 1); exit 1; }; }
19654 cat >conftest.
$ac_ext <<_ACEOF
19657 cat confdefs.h
>>conftest.
$ac_ext
19658 cat >>conftest.
$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 $ac_includes_default
19661 long longval () { return (long) (sizeof (long long)); }
19662 unsigned long ulongval () { return (long) (sizeof (long long)); }
19664 #include <stdlib.h>
19669 FILE *f = fopen ("conftest.val", "w");
19672 if (((long) (sizeof (long long))) < 0)
19674 long i = longval ();
19675 if (i != ((long) (sizeof (long long))))
19677 fprintf (f, "%ld\n", i);
19681 unsigned long i = ulongval ();
19682 if (i != ((long) (sizeof (long long))))
19684 fprintf (f, "%lu\n", i);
19686 exit (ferror (f) || fclose (f) != 0);
19692 rm -f conftest
$ac_exeext
19693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19694 (eval $ac_link) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_cv_sizeof_long_long
=`cat conftest.val`
19705 echo "$as_me: program exited with status $ac_status" >&5
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.
$ac_ext >&5
19709 ( exit $ac_status )
19710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19711 See \`config.log' for more details." >&5
19712 echo "$as_me: error: cannot compute sizeof (long long), 77
19713 See \`config.log' for more details." >&2;}
19714 { (exit 1); exit 1; }; }
19716 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19721 ac_cv_sizeof_long_long
=0
19724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19725 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19726 cat >>confdefs.h
<<_ACEOF
19727 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19733 echo "$as_me:$LINENO: checking for long long" >&5
19734 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19735 if test "${ac_cv_type_long_long+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 cat >conftest.
$ac_ext <<_ACEOF
19741 cat confdefs.h
>>conftest.
$ac_ext
19742 cat >>conftest.
$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 $ac_includes_default
19748 if ((long long *) 0)
19750 if (sizeof (long long))
19756 rm -f conftest.
$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>conftest.er1
19760 grep -v '^ *+' conftest.er1
>conftest.err
19762 cat conftest.err
>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try
='test -z "$ac_c_werror_flag"
19766 || test ! -s conftest.err'
19767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19768 (eval $ac_try) 2>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; } &&
19772 { ac_try
='test -s conftest.$ac_objext'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; }; then
19778 ac_cv_type_long_long
=yes
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.
$ac_ext >&5
19783 ac_cv_type_long_long
=no
19785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19787 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19788 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19790 echo "$as_me:$LINENO: checking size of long long" >&5
19791 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19792 if test "${ac_cv_sizeof_long_long+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 if test "$ac_cv_type_long_long" = yes; then
19796 # The cast to unsigned long works around a bug in the HP C Compiler
19797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19799 # This bug is HP SR number 8606223364.
19800 if test "$cross_compiling" = yes; then
19801 # Depending upon the size, compute the lo and hi bounds.
19802 cat >conftest.
$ac_ext <<_ACEOF
19805 cat confdefs.h
>>conftest.
$ac_ext
19806 cat >>conftest.
$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 $ac_includes_default
19812 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19819 rm -f conftest.
$ac_objext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19821 (eval $ac_compile) 2>conftest.er1
19823 grep -v '^ *+' conftest.er1
>conftest.err
19825 cat conftest.err
>&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try
='test -z "$ac_c_werror_flag"
19829 || test ! -s conftest.err'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; } &&
19835 { ac_try
='test -s conftest.$ac_objext'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; }; then
19843 cat >conftest.
$ac_ext <<_ACEOF
19846 cat confdefs.h
>>conftest.
$ac_ext
19847 cat >>conftest.
$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849 $ac_includes_default
19853 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19860 rm -f conftest.
$ac_objext
19861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19862 (eval $ac_compile) 2>conftest.er1
19864 grep -v '^ *+' conftest.er1
>conftest.err
19866 cat conftest.err
>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } &&
19869 { ac_try
='test -z "$ac_c_werror_flag"
19870 || test ! -s conftest.err'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; } &&
19876 { ac_try
='test -s conftest.$ac_objext'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 ac_hi
=$ac_mid; break
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.
$ac_ext >&5
19887 ac_lo
=`expr $ac_mid + 1`
19888 if test $ac_lo -le $ac_mid; then
19892 ac_mid
=`expr 2 '*' $ac_mid + 1`
19894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.
$ac_ext >&5
19900 cat >conftest.
$ac_ext <<_ACEOF
19903 cat confdefs.h
>>conftest.
$ac_ext
19904 cat >>conftest.
$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19906 $ac_includes_default
19910 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19917 rm -f conftest.
$ac_objext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19919 (eval $ac_compile) 2>conftest.er1
19921 grep -v '^ *+' conftest.er1
>conftest.err
19923 cat conftest.err
>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } &&
19926 { ac_try
='test -z "$ac_c_werror_flag"
19927 || test ! -s conftest.err'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; } &&
19933 { ac_try
='test -s conftest.$ac_objext'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; }; then
19941 cat >conftest.
$ac_ext <<_ACEOF
19944 cat confdefs.h
>>conftest.
$ac_ext
19945 cat >>conftest.
$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19951 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19958 rm -f conftest.
$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19962 grep -v '^ *+' conftest.er1
>conftest.err
19964 cat conftest.err
>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try
='test -z "$ac_c_werror_flag"
19968 || test ! -s conftest.err'
19969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19970 (eval $ac_try) 2>&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); }; } &&
19974 { ac_try
='test -s conftest.$ac_objext'
19975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19976 (eval $ac_try) 2>&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); }; }; then
19980 ac_lo
=$ac_mid; break
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.
$ac_ext >&5
19985 ac_hi
=`expr '(' $ac_mid ')' - 1`
19986 if test $ac_mid -le $ac_hi; then
19990 ac_mid
=`expr 2 '*' $ac_mid`
19992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.
$ac_ext >&5
20000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20003 # Binary search between lo and hi bounds.
20004 while test "x$ac_lo" != "x$ac_hi"; do
20005 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20006 cat >conftest.
$ac_ext <<_ACEOF
20009 cat confdefs.h
>>conftest.
$ac_ext
20010 cat >>conftest.
$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 $ac_includes_default
20016 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20023 rm -f conftest.
$ac_objext
20024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20025 (eval $ac_compile) 2>conftest.er1
20027 grep -v '^ *+' conftest.er1
>conftest.err
20029 cat conftest.err
>&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } &&
20032 { ac_try
='test -z "$ac_c_werror_flag"
20033 || test ! -s conftest.err'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; } &&
20039 { ac_try
='test -s conftest.$ac_objext'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; }; then
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.
$ac_ext >&5
20050 ac_lo
=`expr '(' $ac_mid ')' + 1`
20052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20055 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20056 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20057 See \`config.log' for more details." >&5
20058 echo "$as_me: error: cannot compute sizeof (long long), 77
20059 See \`config.log' for more details." >&2;}
20060 { (exit 1); exit 1; }; } ;;
20063 if test "$cross_compiling" = yes; then
20064 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20065 See \`config.log' for more details." >&5
20066 echo "$as_me: error: cannot run test program while cross compiling
20067 See \`config.log' for more details." >&2;}
20068 { (exit 1); exit 1; }; }
20070 cat >conftest.
$ac_ext <<_ACEOF
20073 cat confdefs.h
>>conftest.
$ac_ext
20074 cat >>conftest.
$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 $ac_includes_default
20077 long longval () { return (long) (sizeof (long long)); }
20078 unsigned long ulongval () { return (long) (sizeof (long long)); }
20080 #include <stdlib.h>
20085 FILE *f = fopen ("conftest.val", "w");
20088 if (((long) (sizeof (long long))) < 0)
20090 long i = longval ();
20091 if (i != ((long) (sizeof (long long))))
20093 fprintf (f, "%ld\n", i);
20097 unsigned long i = ulongval ();
20098 if (i != ((long) (sizeof (long long))))
20100 fprintf (f, "%lu\n", i);
20102 exit (ferror (f) || fclose (f) != 0);
20108 rm -f conftest
$ac_exeext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20110 (eval $ac_link) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 ac_cv_sizeof_long_long
=`cat conftest.val`
20121 echo "$as_me: program exited with status $ac_status" >&5
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.
$ac_ext >&5
20125 ( exit $ac_status )
20126 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20127 See \`config.log' for more details." >&5
20128 echo "$as_me: error: cannot compute sizeof (long long), 77
20129 See \`config.log' for more details." >&2;}
20130 { (exit 1); exit 1; }; }
20132 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20137 ac_cv_sizeof_long_long
=0
20140 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20141 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20142 cat >>confdefs.h
<<_ACEOF
20143 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20147 if test "$ac_cv_sizeof_long_long" != "0"; then
20148 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20152 echo "$as_me:$LINENO: checking for long long" >&5
20153 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20154 if test "${ac_cv_type_long_long+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20157 cat >conftest.
$ac_ext <<_ACEOF
20160 cat confdefs.h
>>conftest.
$ac_ext
20161 cat >>conftest.
$ac_ext <<_ACEOF
20162 /* end confdefs.h. */
20163 $ac_includes_default
20167 if ((long long *) 0)
20169 if (sizeof (long long))
20175 rm -f conftest.
$ac_objext
20176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20177 (eval $ac_compile) 2>conftest.er1
20179 grep -v '^ *+' conftest.er1
>conftest.err
20181 cat conftest.err
>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } &&
20184 { ac_try
='test -z "$ac_c_werror_flag"
20185 || test ! -s conftest.err'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; } &&
20191 { ac_try
='test -s conftest.$ac_objext'
20192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193 (eval $ac_try) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); }; }; then
20197 ac_cv_type_long_long
=yes
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.
$ac_ext >&5
20202 ac_cv_type_long_long
=no
20204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20206 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20207 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20209 echo "$as_me:$LINENO: checking size of long long" >&5
20210 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20211 if test "${ac_cv_sizeof_long_long+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 if test "$ac_cv_type_long_long" = yes; then
20215 # The cast to unsigned long works around a bug in the HP C Compiler
20216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20218 # This bug is HP SR number 8606223364.
20219 if test "$cross_compiling" = yes; then
20220 # Depending upon the size, compute the lo and hi bounds.
20221 cat >conftest.
$ac_ext <<_ACEOF
20224 cat confdefs.h
>>conftest.
$ac_ext
20225 cat >>conftest.
$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227 $ac_includes_default
20231 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20238 rm -f conftest.
$ac_objext
20239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20240 (eval $ac_compile) 2>conftest.er1
20242 grep -v '^ *+' conftest.er1
>conftest.err
20244 cat conftest.err
>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } &&
20247 { ac_try
='test -z "$ac_c_werror_flag"
20248 || test ! -s conftest.err'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; } &&
20254 { ac_try
='test -s conftest.$ac_objext'
20255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256 (eval $ac_try) 2>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20262 cat >conftest.
$ac_ext <<_ACEOF
20265 cat confdefs.h
>>conftest.
$ac_ext
20266 cat >>conftest.
$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 $ac_includes_default
20272 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20279 rm -f conftest.
$ac_objext
20280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20281 (eval $ac_compile) 2>conftest.er1
20283 grep -v '^ *+' conftest.er1
>conftest.err
20285 cat conftest.err
>&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } &&
20288 { ac_try
='test -z "$ac_c_werror_flag"
20289 || test ! -s conftest.err'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; } &&
20295 { ac_try
='test -s conftest.$ac_objext'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; }; then
20301 ac_hi
=$ac_mid; break
20303 echo "$as_me: failed program was:" >&5
20304 sed 's/^/| /' conftest.
$ac_ext >&5
20306 ac_lo
=`expr $ac_mid + 1`
20307 if test $ac_lo -le $ac_mid; then
20311 ac_mid
=`expr 2 '*' $ac_mid + 1`
20313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20316 echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.
$ac_ext >&5
20319 cat >conftest.
$ac_ext <<_ACEOF
20322 cat confdefs.h
>>conftest.
$ac_ext
20323 cat >>conftest.
$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20329 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20336 rm -f conftest.
$ac_objext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20338 (eval $ac_compile) 2>conftest.er1
20340 grep -v '^ *+' conftest.er1
>conftest.err
20342 cat conftest.err
>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } &&
20345 { ac_try
='test -z "$ac_c_werror_flag"
20346 || test ! -s conftest.err'
20347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20348 (eval $ac_try) 2>&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); }; } &&
20352 { ac_try
='test -s conftest.$ac_objext'
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; }; then
20360 cat >conftest.
$ac_ext <<_ACEOF
20363 cat confdefs.h
>>conftest.
$ac_ext
20364 cat >>conftest.
$ac_ext <<_ACEOF
20365 /* end confdefs.h. */
20366 $ac_includes_default
20370 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20377 rm -f conftest.
$ac_objext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20379 (eval $ac_compile) 2>conftest.er1
20381 grep -v '^ *+' conftest.er1
>conftest.err
20383 cat conftest.err
>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try
='test -z "$ac_c_werror_flag"
20387 || test ! -s conftest.err'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; } &&
20393 { ac_try
='test -s conftest.$ac_objext'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; }; then
20399 ac_lo
=$ac_mid; break
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.
$ac_ext >&5
20404 ac_hi
=`expr '(' $ac_mid ')' - 1`
20405 if test $ac_mid -le $ac_hi; then
20409 ac_mid
=`expr 2 '*' $ac_mid`
20411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.
$ac_ext >&5
20419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20422 # Binary search between lo and hi bounds.
20423 while test "x$ac_lo" != "x$ac_hi"; do
20424 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20425 cat >conftest.
$ac_ext <<_ACEOF
20428 cat confdefs.h
>>conftest.
$ac_ext
20429 cat >>conftest.
$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 $ac_includes_default
20435 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20442 rm -f conftest.
$ac_objext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20444 (eval $ac_compile) 2>conftest.er1
20446 grep -v '^ *+' conftest.er1
>conftest.err
20448 cat conftest.err
>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } &&
20451 { ac_try
='test -z "$ac_c_werror_flag"
20452 || test ! -s conftest.err'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; } &&
20458 { ac_try
='test -s conftest.$ac_objext'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; }; then
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.
$ac_ext >&5
20469 ac_lo
=`expr '(' $ac_mid ')' + 1`
20471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20474 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20475 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20476 See \`config.log' for more details." >&5
20477 echo "$as_me: error: cannot compute sizeof (long long), 77
20478 See \`config.log' for more details." >&2;}
20479 { (exit 1); exit 1; }; } ;;
20482 if test "$cross_compiling" = yes; then
20483 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20484 See \`config.log' for more details." >&5
20485 echo "$as_me: error: cannot run test program while cross compiling
20486 See \`config.log' for more details." >&2;}
20487 { (exit 1); exit 1; }; }
20489 cat >conftest.
$ac_ext <<_ACEOF
20492 cat confdefs.h
>>conftest.
$ac_ext
20493 cat >>conftest.
$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 long longval () { return (long) (sizeof (long long)); }
20497 unsigned long ulongval () { return (long) (sizeof (long long)); }
20499 #include <stdlib.h>
20504 FILE *f = fopen ("conftest.val", "w");
20507 if (((long) (sizeof (long long))) < 0)
20509 long i = longval ();
20510 if (i != ((long) (sizeof (long long))))
20512 fprintf (f, "%ld\n", i);
20516 unsigned long i = ulongval ();
20517 if (i != ((long) (sizeof (long long))))
20519 fprintf (f, "%lu\n", i);
20521 exit (ferror (f) || fclose (f) != 0);
20527 rm -f conftest
$ac_exeext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20529 (eval $ac_link) 2>&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; }; then
20538 ac_cv_sizeof_long_long
=`cat conftest.val`
20540 echo "$as_me: program exited with status $ac_status" >&5
20541 echo "$as_me: failed program was:" >&5
20542 sed 's/^/| /' conftest.
$ac_ext >&5
20544 ( exit $ac_status )
20545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20546 See \`config.log' for more details." >&5
20547 echo "$as_me: error: cannot compute sizeof (long long), 77
20548 See \`config.log' for more details." >&2;}
20549 { (exit 1); exit 1; }; }
20551 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20556 ac_cv_sizeof_long_long
=0
20559 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20560 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20561 cat >>confdefs.h
<<_ACEOF
20562 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20568 echo "$as_me:$LINENO: checking for wchar_t" >&5
20569 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20570 if test "${ac_cv_type_wchar_t+set}" = set; then
20571 echo $ECHO_N "(cached) $ECHO_C" >&6
20573 cat >conftest.
$ac_ext <<_ACEOF
20576 cat confdefs.h
>>conftest.
$ac_ext
20577 cat >>conftest.
$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20580 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20581 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20582 # error "fake wchar_t"
20584 #ifdef HAVE_WCHAR_H
20586 # include <stddef.h>
20588 # include <wchar.h>
20590 #ifdef HAVE_STDLIB_H
20591 # include <stdlib.h>
20602 if (sizeof (wchar_t))
20608 rm -f conftest.
$ac_objext
20609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20610 (eval $ac_compile) 2>conftest.er1
20612 grep -v '^ *+' conftest.er1
>conftest.err
20614 cat conftest.err
>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } &&
20617 { ac_try
='test -z "$ac_c_werror_flag"
20618 || test ! -s conftest.err'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; } &&
20624 { ac_try
='test -s conftest.$ac_objext'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 ac_cv_type_wchar_t
=yes
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.
$ac_ext >&5
20635 ac_cv_type_wchar_t
=no
20637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20639 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20640 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20642 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20643 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20644 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20645 echo $ECHO_N "(cached) $ECHO_C" >&6
20647 if test "$ac_cv_type_wchar_t" = yes; then
20648 # The cast to unsigned long works around a bug in the HP C Compiler
20649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20651 # This bug is HP SR number 8606223364.
20652 if test "$cross_compiling" = yes; then
20653 # Depending upon the size, compute the lo and hi bounds.
20654 cat >conftest.
$ac_ext <<_ACEOF
20657 cat confdefs.h
>>conftest.
$ac_ext
20658 cat >>conftest.
$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20661 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20662 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20663 # error "fake wchar_t"
20665 #ifdef HAVE_WCHAR_H
20667 # include <stddef.h>
20669 # include <wchar.h>
20671 #ifdef HAVE_STDLIB_H
20672 # include <stdlib.h>
20681 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20688 rm -f conftest.
$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690 (eval $ac_compile) 2>conftest.er1
20692 grep -v '^ *+' conftest.er1
>conftest.err
20694 cat conftest.err
>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try
='test -z "$ac_c_werror_flag"
20698 || test ! -s conftest.err'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; } &&
20704 { ac_try
='test -s conftest.$ac_objext'
20705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20706 (eval $ac_try) 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); }; }; then
20712 cat >conftest.
$ac_ext <<_ACEOF
20715 cat confdefs.h
>>conftest.
$ac_ext
20716 cat >>conftest.
$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20719 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20720 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20721 # error "fake wchar_t"
20723 #ifdef HAVE_WCHAR_H
20725 # include <stddef.h>
20727 # include <wchar.h>
20729 #ifdef HAVE_STDLIB_H
20730 # include <stdlib.h>
20739 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20746 rm -f conftest.
$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20750 grep -v '^ *+' conftest.er1
>conftest.err
20752 cat conftest.err
>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try
='test -z "$ac_c_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try
='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_hi
=$ac_mid; break
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.
$ac_ext >&5
20773 ac_lo
=`expr $ac_mid + 1`
20774 if test $ac_lo -le $ac_mid; then
20778 ac_mid
=`expr 2 '*' $ac_mid + 1`
20780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.
$ac_ext >&5
20786 cat >conftest.
$ac_ext <<_ACEOF
20789 cat confdefs.h
>>conftest.
$ac_ext
20790 cat >>conftest.
$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20793 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20794 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20795 # error "fake wchar_t"
20797 #ifdef HAVE_WCHAR_H
20799 # include <stddef.h>
20801 # include <wchar.h>
20803 #ifdef HAVE_STDLIB_H
20804 # include <stdlib.h>
20813 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20820 rm -f conftest.
$ac_objext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20822 (eval $ac_compile) 2>conftest.er1
20824 grep -v '^ *+' conftest.er1
>conftest.err
20826 cat conftest.err
>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); } &&
20829 { ac_try
='test -z "$ac_c_werror_flag"
20830 || test ! -s conftest.err'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; } &&
20836 { ac_try
='test -s conftest.$ac_objext'
20837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20838 (eval $ac_try) 2>&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); }; }; then
20844 cat >conftest.
$ac_ext <<_ACEOF
20847 cat confdefs.h
>>conftest.
$ac_ext
20848 cat >>conftest.
$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20851 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20852 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20853 # error "fake wchar_t"
20855 #ifdef HAVE_WCHAR_H
20857 # include <stddef.h>
20859 # include <wchar.h>
20861 #ifdef HAVE_STDLIB_H
20862 # include <stdlib.h>
20871 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20878 rm -f conftest.
$ac_objext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20880 (eval $ac_compile) 2>conftest.er1
20882 grep -v '^ *+' conftest.er1
>conftest.err
20884 cat conftest.err
>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try
='test -z "$ac_c_werror_flag"
20888 || test ! -s conftest.err'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; } &&
20894 { ac_try
='test -s conftest.$ac_objext'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20900 ac_lo
=$ac_mid; break
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.
$ac_ext >&5
20905 ac_hi
=`expr '(' $ac_mid ')' - 1`
20906 if test $ac_mid -le $ac_hi; then
20910 ac_mid
=`expr 2 '*' $ac_mid`
20912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.
$ac_ext >&5
20920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20923 # Binary search between lo and hi bounds.
20924 while test "x$ac_lo" != "x$ac_hi"; do
20925 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20926 cat >conftest.
$ac_ext <<_ACEOF
20929 cat confdefs.h
>>conftest.
$ac_ext
20930 cat >>conftest.
$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20933 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20934 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20935 # error "fake wchar_t"
20937 #ifdef HAVE_WCHAR_H
20939 # include <stddef.h>
20941 # include <wchar.h>
20943 #ifdef HAVE_STDLIB_H
20944 # include <stdlib.h>
20953 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20960 rm -f conftest.
$ac_objext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20962 (eval $ac_compile) 2>conftest.er1
20964 grep -v '^ *+' conftest.er1
>conftest.err
20966 cat conftest.err
>&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } &&
20969 { ac_try
='test -z "$ac_c_werror_flag"
20970 || test ! -s conftest.err'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; } &&
20976 { ac_try
='test -s conftest.$ac_objext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.
$ac_ext >&5
20987 ac_lo
=`expr '(' $ac_mid ')' + 1`
20989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20992 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20993 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20994 See \`config.log' for more details." >&5
20995 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20996 See \`config.log' for more details." >&2;}
20997 { (exit 1); exit 1; }; } ;;
21000 if test "$cross_compiling" = yes; then
21001 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21002 See \`config.log' for more details." >&5
21003 echo "$as_me: error: cannot run test program while cross compiling
21004 See \`config.log' for more details." >&2;}
21005 { (exit 1); exit 1; }; }
21007 cat >conftest.
$ac_ext <<_ACEOF
21010 cat confdefs.h
>>conftest.
$ac_ext
21011 cat >>conftest.
$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21014 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21015 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21016 # error "fake wchar_t"
21018 #ifdef HAVE_WCHAR_H
21020 # include <stddef.h>
21022 # include <wchar.h>
21024 #ifdef HAVE_STDLIB_H
21025 # include <stdlib.h>
21031 long longval () { return (long) (sizeof (wchar_t)); }
21032 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21034 #include <stdlib.h>
21039 FILE *f = fopen ("conftest.val", "w");
21042 if (((long) (sizeof (wchar_t))) < 0)
21044 long i = longval ();
21045 if (i != ((long) (sizeof (wchar_t))))
21047 fprintf (f, "%ld\n", i);
21051 unsigned long i = ulongval ();
21052 if (i != ((long) (sizeof (wchar_t))))
21054 fprintf (f, "%lu\n", i);
21056 exit (ferror (f) || fclose (f) != 0);
21062 rm -f conftest
$ac_exeext
21063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21064 (eval $ac_link) 2>&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21069 (eval $ac_try) 2>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); }; }; then
21073 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21075 echo "$as_me: program exited with status $ac_status" >&5
21076 echo "$as_me: failed program was:" >&5
21077 sed 's/^/| /' conftest.
$ac_ext >&5
21079 ( exit $ac_status )
21080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21081 See \`config.log' for more details." >&5
21082 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21083 See \`config.log' for more details." >&2;}
21084 { (exit 1); exit 1; }; }
21086 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21091 ac_cv_sizeof_wchar_t
=0
21094 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21095 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21096 cat >>confdefs.h
<<_ACEOF
21097 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21101 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21107 echo "$as_me:$LINENO: checking for va_copy" >&5
21108 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21109 if test "${wx_cv_func_va_copy+set}" = set; then
21110 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 cat >conftest.
$ac_ext <<_ACEOF
21115 #include <stdarg.h>
21116 void foo(char *f, ...)
21130 rm -f conftest.
$ac_objext conftest
$ac_exeext
21131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21132 (eval $ac_link) 2>conftest.er1
21134 grep -v '^ *+' conftest.er1
>conftest.err
21136 cat conftest.err
>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } &&
21139 { ac_try
='test -z "$ac_c_werror_flag"
21140 || test ! -s conftest.err'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; } &&
21146 { ac_try
='test -s conftest$ac_exeext'
21147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148 (eval $ac_try) 2>&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); }; }; then
21152 wx_cv_func_va_copy
=yes
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.
$ac_ext >&5
21157 wx_cv_func_va_copy
=no
21160 rm -f conftest.err conftest.
$ac_objext \
21161 conftest
$ac_exeext conftest.
$ac_ext
21165 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21166 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21168 if test $wx_cv_func_va_copy = "yes"; then
21169 cat >>confdefs.h
<<\_ACEOF
21170 #define HAVE_VA_COPY 1
21174 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21175 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21176 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21177 echo $ECHO_N "(cached) $ECHO_C" >&6
21180 if test "$cross_compiling" = yes; then
21181 wx_cv_type_va_list_lvalue
=yes
21184 cat >conftest.
$ac_ext <<_ACEOF
21186 #include <stdarg.h>
21187 int foo(char *f, ...)
21192 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21200 return foo("hi", 17);
21203 rm -f conftest
$ac_exeext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21205 (eval $ac_link) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 wx_cv_type_va_list_lvalue
=yes
21216 echo "$as_me: program exited with status $ac_status" >&5
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.
$ac_ext >&5
21220 ( exit $ac_status )
21221 wx_cv_type_va_list_lvalue
=no
21223 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21228 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21229 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21231 if test $wx_cv_type_va_list_lvalue != "yes"; then
21232 cat >>confdefs.h
<<\_ACEOF
21233 #define VA_LIST_IS_ARRAY 1
21239 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21241 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21242 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21243 if test "${wx_cv_have_variadic_macros+set}" = set; then
21244 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 ac_cpp
='$CXXCPP $CPPFLAGS'
21249 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21253 cat >conftest.
$ac_ext <<_ACEOF
21256 cat confdefs.h
>>conftest.
$ac_ext
21257 cat >>conftest.
$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21261 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21267 test("%s %d %p", "test", 1, 0);
21274 rm -f conftest.
$ac_objext
21275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21276 (eval $ac_compile) 2>conftest.er1
21278 grep -v '^ *+' conftest.er1
>conftest.err
21280 cat conftest.err
>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } &&
21283 { ac_try
='test -z "$ac_cxx_werror_flag"
21284 || test ! -s conftest.err'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; } &&
21290 { ac_try
='test -s conftest.$ac_objext'
21291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21292 (eval $ac_try) 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 wx_cv_have_variadic_macros
=yes
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.
$ac_ext >&5
21301 wx_cv_have_variadic_macros
=no
21304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21306 ac_cpp
='$CPP $CPPFLAGS'
21307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21314 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21315 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21317 if test $wx_cv_have_variadic_macros = "yes"; then
21318 cat >>confdefs.h
<<\_ACEOF
21319 #define HAVE_VARIADIC_MACROS 1
21325 # Check whether --enable-largefile or --disable-largefile was given.
21326 if test "${enable_largefile+set}" = set; then
21327 enableval
="$enable_largefile"
21330 if test "$enable_largefile" != no
; then
21333 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21334 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21335 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21339 cat >conftest.
$ac_ext <<_ACEOF
21342 cat confdefs.h
>>conftest.
$ac_ext
21343 cat >>conftest.
$ac_ext <<_ACEOF
21344 /* end confdefs.h. */
21345 #define _FILE_OFFSET_BITS 64
21346 #include <sys/types.h>
21351 unsigned int field: sizeof(off_t) == 8;
21358 rm -f conftest.
$ac_objext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21360 (eval $ac_compile) 2>conftest.er1
21362 grep -v '^ *+' conftest.er1
>conftest.err
21364 cat conftest.err
>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try
='test -z "$ac_c_werror_flag"
21368 || test ! -s conftest.err'
21369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21370 (eval $ac_try) 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try
='test -s conftest.$ac_objext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_cv_sys_file_offset_bits
=64
21382 echo "$as_me: failed program was:" >&5
21383 sed 's/^/| /' conftest.
$ac_ext >&5
21385 ac_cv_sys_file_offset_bits
=no
21387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21391 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21392 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21394 if test "$ac_cv_sys_file_offset_bits" != no
; then
21396 cat >>confdefs.h
<<_ACEOF
21397 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21402 if test "x$wx_largefile" != "xyes"; then
21404 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21405 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21406 if test "${ac_cv_sys_large_files+set}" = set; then
21407 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 cat >conftest.
$ac_ext <<_ACEOF
21413 cat confdefs.h
>>conftest.
$ac_ext
21414 cat >>conftest.
$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 #define _LARGE_FILES 1
21417 #include <sys/types.h>
21422 unsigned int field: sizeof(off_t) == 8;
21429 rm -f conftest.
$ac_objext
21430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21431 (eval $ac_compile) 2>conftest.er1
21433 grep -v '^ *+' conftest.er1
>conftest.err
21435 cat conftest.err
>&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try
='test -z "$ac_c_werror_flag"
21439 || test ! -s conftest.err'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try
='test -s conftest.$ac_objext'
21446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447 (eval $ac_try) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); }; }; then
21451 ac_cv_sys_large_files
=1
21453 echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.
$ac_ext >&5
21456 ac_cv_sys_large_files
=no
21458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21462 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21463 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21465 if test "$ac_cv_sys_large_files" != no
; then
21467 cat >>confdefs.h
<<_ACEOF
21468 #define _LARGE_FILES $ac_cv_sys_large_files
21475 echo "$as_me:$LINENO: checking if large file support is available" >&5
21476 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21477 if test "x$wx_largefile" = "xyes"; then
21478 cat >>confdefs.h
<<\_ACEOF
21479 #define HAVE_LARGEFILE_SUPPORT 1
21483 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21484 echo "${ECHO_T}$wx_largefile" >&6
21488 if test "x$wx_largefile" = "xyes"; then
21489 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21490 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21492 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21493 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21494 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21495 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21496 echo $ECHO_N "(cached) $ECHO_C" >&6
21500 ac_cpp
='$CXXCPP $CPPFLAGS'
21501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21505 cat >conftest.
$ac_ext <<_ACEOF
21508 cat confdefs.h
>>conftest.
$ac_ext
21509 cat >>conftest.
$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21516 #ifndef __STDC_EXT__
21524 rm -f conftest.
$ac_objext
21525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21526 (eval $ac_compile) 2>conftest.er1
21528 grep -v '^ *+' conftest.er1
>conftest.err
21530 cat conftest.err
>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); } &&
21533 { ac_try
='test -z "$ac_cxx_werror_flag"
21534 || test ! -s conftest.err'
21535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21536 (eval $ac_try) 2>&5
21538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21539 (exit $ac_status); }; } &&
21540 { ac_try
='test -s conftest.$ac_objext'
21541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542 (eval $ac_try) 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 wx_cv_STDC_EXT_required
=no
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.
$ac_ext >&5
21551 wx_cv_STDC_EXT_required
=yes
21554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21556 ac_cpp
='$CPP $CPPFLAGS'
21557 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21564 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21565 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21566 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21567 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21571 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21573 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21574 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21575 if test "${ac_cv_sys_largefile_source+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21579 ac_cv_sys_largefile_source
=no
21580 cat >conftest.
$ac_ext <<_ACEOF
21583 cat confdefs.h
>>conftest.
$ac_ext
21584 cat >>conftest.
$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21595 rm -f conftest.
$ac_objext
21596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21597 (eval $ac_compile) 2>conftest.er1
21599 grep -v '^ *+' conftest.er1
>conftest.err
21601 cat conftest.err
>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); } &&
21604 { ac_try
='test -z "$ac_c_werror_flag"
21605 || test ! -s conftest.err'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; } &&
21611 { ac_try
='test -s conftest.$ac_objext'
21612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613 (eval $ac_try) 2>&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); }; }; then
21619 echo "$as_me: failed program was:" >&5
21620 sed 's/^/| /' conftest.
$ac_ext >&5
21623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21624 cat >conftest.
$ac_ext <<_ACEOF
21627 cat confdefs.h
>>conftest.
$ac_ext
21628 cat >>conftest.
$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 #define _LARGEFILE_SOURCE 1
21640 rm -f conftest.
$ac_objext
21641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21642 (eval $ac_compile) 2>conftest.er1
21644 grep -v '^ *+' conftest.er1
>conftest.err
21646 cat conftest.err
>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); } &&
21649 { ac_try
='test -z "$ac_c_werror_flag"
21650 || test ! -s conftest.err'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; } &&
21656 { ac_try
='test -s conftest.$ac_objext'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; }; then
21662 ac_cv_sys_largefile_source
=1; break
21664 echo "$as_me: failed program was:" >&5
21665 sed 's/^/| /' conftest.
$ac_ext >&5
21668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21672 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21673 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21674 if test "$ac_cv_sys_largefile_source" != no
; then
21676 cat >>confdefs.h
<<_ACEOF
21677 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21683 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21684 # in glibc 2.1.3, but that breaks too many other things.
21685 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21686 echo "$as_me:$LINENO: checking for fseeko" >&5
21687 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21688 if test "${ac_cv_func_fseeko+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 cat >conftest.
$ac_ext <<_ACEOF
21694 cat confdefs.h
>>conftest.
$ac_ext
21695 cat >>conftest.
$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21701 return fseeko && fseeko (stdin, 0, 0);
21706 rm -f conftest.
$ac_objext conftest
$ac_exeext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>conftest.er1
21710 grep -v '^ *+' conftest.er1
>conftest.err
21712 cat conftest.err
>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); } &&
21715 { ac_try
='test -z "$ac_c_werror_flag"
21716 || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try
='test -s conftest$ac_exeext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21728 ac_cv_func_fseeko
=yes
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.
$ac_ext >&5
21733 ac_cv_func_fseeko
=no
21735 rm -f conftest.err conftest.
$ac_objext \
21736 conftest
$ac_exeext conftest.
$ac_ext
21738 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21739 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21740 if test $ac_cv_func_fseeko = yes; then
21742 cat >>confdefs.h
<<\_ACEOF
21743 #define HAVE_FSEEKO 1
21748 if test "$ac_cv_sys_largefile_source" != no
; then
21749 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21753 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21754 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21755 if test "${ac_cv_c_bigendian+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 ac_cv_c_bigendian
=unknown
21759 # See if sys/param.h defines the BYTE_ORDER macro.
21760 cat >conftest.
$ac_ext <<_ACEOF
21763 cat confdefs.h
>>conftest.
$ac_ext
21764 cat >>conftest.
$ac_ext <<_ACEOF
21765 /* end confdefs.h. */
21766 #include <sys/types.h>
21767 #include <sys/param.h>
21772 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21773 bogus endian macros
21779 rm -f conftest.
$ac_objext
21780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21781 (eval $ac_compile) 2>conftest.er1
21783 grep -v '^ *+' conftest.er1
>conftest.err
21785 cat conftest.err
>&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } &&
21788 { ac_try
='test -z "$ac_c_werror_flag"
21789 || test ! -s conftest.err'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; } &&
21795 { ac_try
='test -s conftest.$ac_objext'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; }; then
21801 # It does; now see whether it defined to BIG_ENDIAN or not.
21802 cat >conftest.
$ac_ext <<_ACEOF
21805 cat confdefs.h
>>conftest.
$ac_ext
21806 cat >>conftest.
$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 #include <sys/types.h>
21809 #include <sys/param.h>
21814 #if BYTE_ORDER != BIG_ENDIAN
21821 rm -f conftest.
$ac_objext
21822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21823 (eval $ac_compile) 2>conftest.er1
21825 grep -v '^ *+' conftest.er1
>conftest.err
21827 cat conftest.err
>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } &&
21830 { ac_try
='test -z "$ac_c_werror_flag"
21831 || test ! -s conftest.err'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; } &&
21837 { ac_try
='test -s conftest.$ac_objext'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; }; then
21843 ac_cv_c_bigendian
=yes
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.
$ac_ext >&5
21848 ac_cv_c_bigendian
=no
21850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.
$ac_ext >&5
21856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21857 if test $ac_cv_c_bigendian = unknown
; then
21858 if test "$cross_compiling" = yes; then
21859 ac_cv_c_bigendian
=unknown
21861 cat >conftest.
$ac_ext <<_ACEOF
21864 cat confdefs.h
>>conftest.
$ac_ext
21865 cat >>conftest.
$ac_ext <<_ACEOF
21866 /* end confdefs.h. */
21868 /* Are we little or big endian? From Harbison&Steele. */
21872 char c[sizeof (long)];
21875 exit (u.c[sizeof (long) - 1] == 1);
21878 rm -f conftest
$ac_exeext
21879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21880 (eval $ac_link) 2>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; }; then
21889 ac_cv_c_bigendian
=no
21891 echo "$as_me: program exited with status $ac_status" >&5
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.
$ac_ext >&5
21895 ( exit $ac_status )
21896 ac_cv_c_bigendian
=yes
21898 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21902 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21903 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21904 if test $ac_cv_c_bigendian = unknown
; then
21905 { 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
21906 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;}
21908 if test $ac_cv_c_bigendian = yes; then
21909 cat >>confdefs.h
<<\_ACEOF
21910 #define WORDS_BIGENDIAN 1
21920 ac_cpp
='$CXXCPP $CPPFLAGS'
21921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21926 echo "$as_me:$LINENO: checking for iostream" >&5
21927 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
21928 if test "${ac_cv_header_iostream+set}" = set; then
21929 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 cat >conftest.
$ac_ext <<_ACEOF
21934 cat confdefs.h
>>conftest.
$ac_ext
21935 cat >>conftest.
$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21939 #include <iostream>
21941 rm -f conftest.
$ac_objext
21942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21943 (eval $ac_compile) 2>conftest.er1
21945 grep -v '^ *+' conftest.er1
>conftest.err
21947 cat conftest.err
>&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } &&
21950 { ac_try
='test -z "$ac_cxx_werror_flag"
21951 || test ! -s conftest.err'
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; } &&
21957 { ac_try
='test -s conftest.$ac_objext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_cv_header_iostream
=yes
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.
$ac_ext >&5
21968 ac_cv_header_iostream
=no
21970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21972 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
21973 echo "${ECHO_T}$ac_cv_header_iostream" >&6
21977 if test "$ac_cv_header_iostream" = "yes" ; then
21980 cat >>confdefs.h
<<\_ACEOF
21981 #define wxUSE_IOSTREAMH 1
21987 ac_cpp
='$CPP $CPPFLAGS'
21988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21995 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21996 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21997 if test "${wx_cv_cpp_bool+set}" = set; then
21998 echo $ECHO_N "(cached) $ECHO_C" >&6
22004 ac_cpp
='$CXXCPP $CPPFLAGS'
22005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22010 cat >conftest.
$ac_ext <<_ACEOF
22013 cat confdefs.h
>>conftest.
$ac_ext
22014 cat >>conftest.
$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22030 rm -f conftest.
$ac_objext
22031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22032 (eval $ac_compile) 2>conftest.er1
22034 grep -v '^ *+' conftest.er1
>conftest.err
22036 cat conftest.err
>&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } &&
22039 { ac_try
='test -z "$ac_cxx_werror_flag"
22040 || test ! -s conftest.err'
22041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22042 (eval $ac_try) 2>&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); }; } &&
22046 { ac_try
='test -s conftest.$ac_objext'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; }; then
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.
$ac_ext >&5
22064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22067 ac_cpp
='$CPP $CPPFLAGS'
22068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22074 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22075 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22077 if test "$wx_cv_cpp_bool" = "yes"; then
22078 cat >>confdefs.h
<<\_ACEOF
22079 #define HAVE_BOOL 1
22086 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22087 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22088 if test "${wx_cv_explicit+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 ac_cpp
='$CXXCPP $CPPFLAGS'
22096 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22101 cat >conftest.
$ac_ext <<_ACEOF
22104 cat confdefs.h
>>conftest.
$ac_ext
22105 cat >>conftest.
$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22108 class Foo { public: explicit Foo(int) {} };
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
22143 cat >conftest.
$ac_ext <<_ACEOF
22146 cat confdefs.h
>>conftest.
$ac_ext
22147 cat >>conftest.
$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22150 class Foo { public: explicit Foo(int) {} };
22151 static void TakeFoo(const Foo& foo) { }
22164 rm -f conftest.
$ac_objext
22165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22166 (eval $ac_compile) 2>conftest.er1
22168 grep -v '^ *+' conftest.er1
>conftest.err
22170 cat conftest.err
>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } &&
22173 { ac_try
='test -z "$ac_cxx_werror_flag"
22174 || test ! -s conftest.err'
22175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 (eval $ac_try) 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; } &&
22180 { ac_try
='test -s conftest.$ac_objext'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; }; then
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.
$ac_ext >&5
22194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.
$ac_ext >&5
22203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22206 ac_cpp
='$CPP $CPPFLAGS'
22207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22213 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22214 echo "${ECHO_T}$wx_cv_explicit" >&6
22216 if test "$wx_cv_explicit" = "yes"; then
22217 cat >>confdefs.h
<<\_ACEOF
22218 #define HAVE_EXPLICIT 1
22224 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22225 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22226 if test "${ac_cv_cxx_const_cast+set}" = set; then
22227 echo $ECHO_N "(cached) $ECHO_C" >&6
22232 ac_cpp
='$CXXCPP $CPPFLAGS'
22233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22237 cat >conftest.
$ac_ext <<_ACEOF
22240 cat confdefs.h
>>conftest.
$ac_ext
22241 cat >>conftest.
$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22247 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22252 rm -f conftest.
$ac_objext
22253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22254 (eval $ac_compile) 2>conftest.er1
22256 grep -v '^ *+' conftest.er1
>conftest.err
22258 cat conftest.err
>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try
='test -z "$ac_cxx_werror_flag"
22262 || test ! -s conftest.err'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; } &&
22268 { ac_try
='test -s conftest.$ac_objext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 ac_cv_cxx_const_cast
=yes
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.
$ac_ext >&5
22279 ac_cv_cxx_const_cast
=no
22281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22283 ac_cpp
='$CPP $CPPFLAGS'
22284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22290 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22291 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22292 if test "$ac_cv_cxx_const_cast" = yes; then
22294 cat >>confdefs.h
<<\_ACEOF
22295 #define HAVE_CONST_CAST
22300 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22301 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22302 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22303 echo $ECHO_N "(cached) $ECHO_C" >&6
22308 ac_cpp
='$CXXCPP $CPPFLAGS'
22309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22313 cat >conftest.
$ac_ext <<_ACEOF
22316 cat confdefs.h
>>conftest.
$ac_ext
22317 cat >>conftest.
$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 #include <typeinfo>
22320 class Base { public : Base () {} virtual void f () = 0;};
22321 class Derived : public Base { public : Derived () {} virtual void f () {} };
22322 class Unrelated { public : Unrelated () {} };
22323 int g (Unrelated&) { return 0; }
22328 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22333 rm -f conftest.
$ac_objext
22334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22335 (eval $ac_compile) 2>conftest.er1
22337 grep -v '^ *+' conftest.er1
>conftest.err
22339 cat conftest.err
>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); } &&
22342 { ac_try
='test -z "$ac_cxx_werror_flag"
22343 || test ! -s conftest.err'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; } &&
22349 { ac_try
='test -s conftest.$ac_objext'
22350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22351 (eval $ac_try) 2>&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); }; }; then
22355 ac_cv_cxx_reinterpret_cast
=yes
22357 echo "$as_me: failed program was:" >&5
22358 sed 's/^/| /' conftest.
$ac_ext >&5
22360 ac_cv_cxx_reinterpret_cast
=no
22362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22364 ac_cpp
='$CPP $CPPFLAGS'
22365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22371 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22372 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22373 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22375 cat >>confdefs.h
<<\_ACEOF
22376 #define HAVE_REINTERPRET_CAST
22381 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22382 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22383 if test "${ac_cv_cxx_static_cast+set}" = set; then
22384 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 ac_cpp
='$CXXCPP $CPPFLAGS'
22390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22394 cat >conftest.
$ac_ext <<_ACEOF
22397 cat confdefs.h
>>conftest.
$ac_ext
22398 cat >>conftest.
$ac_ext <<_ACEOF
22399 /* end confdefs.h. */
22400 #include <typeinfo>
22401 class Base { public : Base () {} virtual void f () = 0; };
22402 class Derived : public Base { public : Derived () {} virtual void f () {} };
22403 int g (Derived&) { return 0; }
22408 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22413 rm -f conftest.
$ac_objext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22415 (eval $ac_compile) 2>conftest.er1
22417 grep -v '^ *+' conftest.er1
>conftest.err
22419 cat conftest.err
>&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try
='test -z "$ac_cxx_werror_flag"
22423 || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try
='test -s conftest.$ac_objext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_cxx_static_cast
=yes
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.
$ac_ext >&5
22440 ac_cv_cxx_static_cast
=no
22442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22444 ac_cpp
='$CPP $CPPFLAGS'
22445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22451 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22452 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22453 if test "$ac_cv_cxx_static_cast" = yes; then
22455 cat >>confdefs.h
<<\_ACEOF
22456 #define HAVE_STATIC_CAST
22462 if test "x$SUNCXX" = xyes
; then
22463 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22466 if test "x$SUNCC" = xyes
; then
22467 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22470 if test "x$SGICC" = "xyes"; then
22471 CFLAGS
="-woff 3970 $CFLAGS"
22473 if test "x$SGICXX" = "xyes"; then
22474 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22477 if test "x$HPCC" = "xyes"; then
22478 CFLAGS
="+W 2011,2450 $CFLAGS"
22480 if test "x$HPCXX" = "xyes"; then
22481 CXXFLAGS
="+W 2340 $CXXFLAGS"
22484 if test "x$COMPAQCXX" = "xyes"; then
22485 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22489 ac_cpp
='$CXXCPP $CPPFLAGS'
22490 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22495 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22496 if test "$wxUSE_UNICODE" = "yes"; then
22497 std_string
="std::wstring"
22498 char_type
="wchar_t"
22500 std_string
="std::string"
22504 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22505 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22506 if test "${wx_cv_class_stdstring+set}" = set; then
22507 echo $ECHO_N "(cached) $ECHO_C" >&6
22510 cat >conftest.
$ac_ext <<_ACEOF
22513 cat confdefs.h
>>conftest.
$ac_ext
22514 cat >>conftest.
$ac_ext <<_ACEOF
22515 /* end confdefs.h. */
22525 rm -f conftest.
$ac_objext
22526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22527 (eval $ac_compile) 2>conftest.er1
22529 grep -v '^ *+' conftest.er1
>conftest.err
22531 cat conftest.err
>&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); } &&
22534 { ac_try
='test -z "$ac_cxx_werror_flag"
22535 || test ! -s conftest.err'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; } &&
22541 { ac_try
='test -s conftest.$ac_objext'
22542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22543 (eval $ac_try) 2>&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); }; }; then
22547 wx_cv_class_stdstring
=yes
22549 echo "$as_me: failed program was:" >&5
22550 sed 's/^/| /' conftest.
$ac_ext >&5
22552 wx_cv_class_stdstring
=no
22555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22559 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
22560 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
22562 if test "$wx_cv_class_stdstring" = yes; then
22563 if test "$wxUSE_UNICODE" = "yes"; then
22564 cat >>confdefs.h
<<\_ACEOF
22565 #define HAVE_STD_WSTRING 1
22570 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22571 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22572 if test "${wx_cv_class_stdbasicstring+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22576 cat >conftest.
$ac_ext <<_ACEOF
22579 cat confdefs.h
>>conftest.
$ac_ext
22580 cat >>conftest.
$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22583 #ifdef HAVE_WCHAR_H
22585 # include <stddef.h>
22587 # include <wchar.h>
22589 #ifdef HAVE_STDLIB_H
22590 # include <stdlib.h>
22598 std::basic_string<$char_type> foo;
22599 const $char_type* dummy = foo.c_str();
22604 rm -f conftest.
$ac_objext
22605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22606 (eval $ac_compile) 2>conftest.er1
22608 grep -v '^ *+' conftest.er1
>conftest.err
22610 cat conftest.err
>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } &&
22613 { ac_try
='test -z "$ac_cxx_werror_flag"
22614 || test ! -s conftest.err'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; } &&
22620 { ac_try
='test -s conftest.$ac_objext'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; }; then
22626 wx_cv_class_stdbasicstring
=yes
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.
$ac_ext >&5
22631 wx_cv_class_stdbasicstring
=no
22634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22638 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
22639 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
22641 if test "$wx_cv_class_stdbasicstring" != yes; then
22642 if test "$wxUSE_STL" = "yes"; then
22643 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22644 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22645 { (exit 1); exit 1; }; }
22646 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22647 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22648 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22649 { (exit 1); exit 1; }; }
22651 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22652 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22653 wxUSE_STD_STRING
=no
22659 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22660 echo "$as_me:$LINENO: checking for std::istream" >&5
22661 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22662 if test "${ac_cv_type_std__istream+set}" = set; then
22663 echo $ECHO_N "(cached) $ECHO_C" >&6
22665 cat >conftest.
$ac_ext <<_ACEOF
22668 cat confdefs.h
>>conftest.
$ac_ext
22669 cat >>conftest.
$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22671 #include <iostream>
22676 if ((std::istream *) 0)
22678 if (sizeof (std::istream))
22684 rm -f conftest.
$ac_objext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22686 (eval $ac_compile) 2>conftest.er1
22688 grep -v '^ *+' conftest.er1
>conftest.err
22690 cat conftest.err
>&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try
='test -z "$ac_cxx_werror_flag"
22694 || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try
='test -s conftest.$ac_objext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 ac_cv_type_std__istream
=yes
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.
$ac_ext >&5
22711 ac_cv_type_std__istream
=no
22713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22715 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22716 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22717 if test $ac_cv_type_std__istream = yes; then
22719 cat >>confdefs.h
<<_ACEOF
22720 #define HAVE_STD__ISTREAM 1
22725 wxUSE_STD_IOSTREAM
=no
22727 echo "$as_me:$LINENO: checking for std::ostream" >&5
22728 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22729 if test "${ac_cv_type_std__ostream+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22732 cat >conftest.
$ac_ext <<_ACEOF
22735 cat confdefs.h
>>conftest.
$ac_ext
22736 cat >>conftest.
$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 #include <iostream>
22743 if ((std::ostream *) 0)
22745 if (sizeof (std::ostream))
22751 rm -f conftest.
$ac_objext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22753 (eval $ac_compile) 2>conftest.er1
22755 grep -v '^ *+' conftest.er1
>conftest.err
22757 cat conftest.err
>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } &&
22760 { ac_try
='test -z "$ac_cxx_werror_flag"
22761 || test ! -s conftest.err'
22762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22763 (eval $ac_try) 2>&5
22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22766 (exit $ac_status); }; } &&
22767 { ac_try
='test -s conftest.$ac_objext'
22768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769 (eval $ac_try) 2>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; }; then
22773 ac_cv_type_std__ostream
=yes
22775 echo "$as_me: failed program was:" >&5
22776 sed 's/^/| /' conftest.
$ac_ext >&5
22778 ac_cv_type_std__ostream
=no
22780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22782 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22783 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22784 if test $ac_cv_type_std__ostream = yes; then
22786 cat >>confdefs.h
<<_ACEOF
22787 #define HAVE_STD__OSTREAM 1
22792 wxUSE_STD_IOSTREAM
=no
22796 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22797 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22798 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22799 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22800 { (exit 1); exit 1; }; }
22802 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22803 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22808 if test "$wxUSE_STL" = "yes"; then
22809 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22810 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22811 if test "${wx_cv_lib_stl+set}" = set; then
22812 echo $ECHO_N "(cached) $ECHO_C" >&6
22814 cat >conftest.
$ac_ext <<_ACEOF
22817 cat confdefs.h
>>conftest.
$ac_ext
22818 cat >>conftest.
$ac_ext <<_ACEOF
22819 /* end confdefs.h. */
22821 #include <functional>
22822 #include <algorithm>
22828 std::vector<int> moo;
22829 std::list<int> foo;
22830 std::vector<int>::iterator it =
22831 std::find_if(moo.begin(), moo.end(),
22832 std::bind2nd(std::less<int>(), 3));
22837 rm -f conftest.
$ac_objext
22838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22839 (eval $ac_compile) 2>conftest.er1
22841 grep -v '^ *+' conftest.er1
>conftest.err
22843 cat conftest.err
>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); } &&
22846 { ac_try
='test -z "$ac_cxx_werror_flag"
22847 || test ! -s conftest.err'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; } &&
22853 { ac_try
='test -s conftest.$ac_objext'
22854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22855 (eval $ac_try) 2>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); }; }; then
22861 echo "$as_me: failed program was:" >&5
22862 sed 's/^/| /' conftest.
$ac_ext >&5
22867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22870 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
22871 echo "${ECHO_T}$wx_cv_lib_stl" >&6
22873 if test "$wx_cv_lib_stl" != yes; then
22874 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
22875 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
22876 { (exit 1); exit 1; }; }
22879 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22880 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22881 if test "${wx_cv_func_stdstring_compare+set}" = set; then
22882 echo $ECHO_N "(cached) $ECHO_C" >&6
22884 cat >conftest.
$ac_ext <<_ACEOF
22887 cat confdefs.h
>>conftest.
$ac_ext
22888 cat >>conftest.
$ac_ext <<_ACEOF
22889 /* end confdefs.h. */
22894 std::string foo, bar;
22896 foo.compare(1, 1, bar);
22897 foo.compare(1, 1, bar, 1, 1);
22899 foo.compare(1, 1, "");
22900 foo.compare(1, 1, "", 2);
22905 rm -f conftest.
$ac_objext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22907 (eval $ac_compile) 2>conftest.er1
22909 grep -v '^ *+' conftest.er1
>conftest.err
22911 cat conftest.err
>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try
='test -z "$ac_cxx_werror_flag"
22915 || test ! -s conftest.err'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; } &&
22921 { ac_try
='test -s conftest.$ac_objext'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; }; then
22927 wx_cv_func_stdstring_compare
=yes
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.
$ac_ext >&5
22932 wx_cv_func_stdstring_compare
=no
22935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22938 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
22939 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
22941 if test "$wx_cv_func_stdstring_compare" = yes; then
22942 cat >>confdefs.h
<<\_ACEOF
22943 #define HAVE_STD_STRING_COMPARE 1
22948 echo "$as_me:$LINENO: checking for hash_map" >&5
22949 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22950 if test "${ac_cv_header_hash_map+set}" = set; then
22951 echo $ECHO_N "(cached) $ECHO_C" >&6
22953 cat >conftest.
$ac_ext <<_ACEOF
22956 cat confdefs.h
>>conftest.
$ac_ext
22957 cat >>conftest.
$ac_ext <<_ACEOF
22958 /* end confdefs.h. */
22962 #include <hash_map>
22964 rm -f conftest.
$ac_objext
22965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22966 (eval $ac_compile) 2>conftest.er1
22968 grep -v '^ *+' conftest.er1
>conftest.err
22970 cat conftest.err
>&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } &&
22973 { ac_try
='test -z "$ac_cxx_werror_flag"
22974 || test ! -s conftest.err'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; } &&
22980 { ac_try
='test -s conftest.$ac_objext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 ac_cv_header_hash_map
=yes
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.
$ac_ext >&5
22991 ac_cv_header_hash_map
=no
22993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22995 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22996 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22997 if test $ac_cv_header_hash_map = yes; then
22998 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
22999 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23000 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23001 echo $ECHO_N "(cached) $ECHO_C" >&6
23003 cat >conftest.
$ac_ext <<_ACEOF
23006 cat confdefs.h
>>conftest.
$ac_ext
23007 cat >>conftest.
$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009 #include <hash_map>
23010 #include <hash_set>
23014 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23015 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23020 rm -f conftest.
$ac_objext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23022 (eval $ac_compile) 2>conftest.er1
23024 grep -v '^ *+' conftest.er1
>conftest.err
23026 cat conftest.err
>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try
='test -z "$ac_cxx_werror_flag"
23030 || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try
='test -s conftest.$ac_objext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 wx_cv_class_stdhashmapset
=yes
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.
$ac_ext >&5
23047 wx_cv_class_stdhashmapset
=no
23049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23053 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23054 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23059 if test "$wx_cv_class_stdhashmapset" = yes; then
23060 cat >>confdefs.h
<<\_ACEOF
23061 #define HAVE_HASH_MAP 1
23064 cat >>confdefs.h
<<\_ACEOF
23065 #define HAVE_STD_HASH_MAP 1
23070 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23071 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23072 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 cat >conftest.
$ac_ext <<_ACEOF
23078 cat confdefs.h
>>conftest.
$ac_ext
23079 cat >>conftest.
$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23084 #include <ext/hash_map>
23086 rm -f conftest.
$ac_objext
23087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23088 (eval $ac_compile) 2>conftest.er1
23090 grep -v '^ *+' conftest.er1
>conftest.err
23092 cat conftest.err
>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try
='test -z "$ac_cxx_werror_flag"
23096 || test ! -s conftest.err'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; } &&
23102 { ac_try
='test -s conftest.$ac_objext'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; }; then
23108 ac_cv_header_ext_hash_map
=yes
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.
$ac_ext >&5
23113 ac_cv_header_ext_hash_map
=no
23115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23118 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23119 if test $ac_cv_header_ext_hash_map = yes; then
23120 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23121 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23122 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23123 echo $ECHO_N "(cached) $ECHO_C" >&6
23125 cat >conftest.
$ac_ext <<_ACEOF
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131 #include <ext/hash_map>
23132 #include <ext/hash_set>
23136 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23137 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23142 rm -f conftest.
$ac_objext
23143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23144 (eval $ac_compile) 2>conftest.er1
23146 grep -v '^ *+' conftest.er1
>conftest.err
23148 cat conftest.err
>&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try
='test -z "$ac_cxx_werror_flag"
23152 || test ! -s conftest.err'
23153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154 (eval $ac_try) 2>&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); }; } &&
23158 { ac_try
='test -s conftest.$ac_objext'
23159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160 (eval $ac_try) 2>&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164 wx_cv_class_gnuhashmapset
=yes
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.
$ac_ext >&5
23169 wx_cv_class_gnuhashmapset
=no
23171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23175 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23176 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
23181 if test "$wx_cv_class_gnuhashmapset" = yes; then
23182 cat >>confdefs.h
<<\_ACEOF
23183 #define HAVE_EXT_HASH_MAP 1
23186 cat >>confdefs.h
<<\_ACEOF
23187 #define HAVE_GNU_CXX_HASH_MAP 1
23194 ac_cpp
='$CPP $CPPFLAGS'
23195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23202 /usr/local/include \
23204 /usr/Motif-2.1/include \
23205 /usr/Motif-1.2/include \
23206 /usr/include/Motif1.2 \
23209 /usr/openwin/include \
23213 /usr/X11R6/include \
23214 /usr/X11R6.4/include \
23215 /usr/X11R5/include \
23216 /usr/X11R4/include \
23218 /usr/include/X11R6 \
23219 /usr/include/X11R5 \
23220 /usr/include/X11R4 \
23222 /usr/local/X11R6/include \
23223 /usr/local/X11R5/include \
23224 /usr/local/X11R4/include \
23226 /usr/local/include/X11R6 \
23227 /usr/local/include/X11R5 \
23228 /usr/local/include/X11R4 \
23232 /usr/local/X11/include \
23233 /usr/local/include/X11 \
23235 /usr/XFree86/include/X11 \
23238 /usr/openwin/share/include"
23240 echo "$as_me:$LINENO: checking for libraries directory" >&5
23241 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23245 if test "${wx_cv_std_libpath+set}" = set; then
23246 echo $ECHO_N "(cached) $ECHO_C" >&6
23249 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23250 for e
in a so sl dylib dll.a
; do
23252 if test -f $libc; then
23255 cat >conftest.
$ac_ext <<_ACEOF
23256 int main() { return 0; }
23258 rm -f conftest.
$ac_objext conftest
$ac_exeext
23259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23260 (eval $ac_link) 2>conftest.er1
23262 grep -v '^ *+' conftest.er1
>conftest.err
23264 cat conftest.err
>&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); } &&
23267 { ac_try
='test -z "$ac_c_werror_flag"
23268 || test ! -s conftest.err'
23269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270 (eval $ac_try) 2>&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; } &&
23274 { ac_try
='test -s conftest$ac_exeext'
23275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23276 (eval $ac_try) 2>&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); }; }; then
23280 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23282 echo "$as_me: failed program was:" >&5
23283 sed 's/^/| /' conftest.
$ac_ext >&5
23286 rm -f conftest.err conftest.
$ac_objext \
23287 conftest
$ac_exeext conftest.
$ac_ext
23289 if test "x$wx_cv_std_libpath" != "x"; then
23295 if test "x$wx_cv_std_libpath" = "x"; then
23296 wx_cv_std_libpath
="lib"
23305 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23306 wx_cv_std_libpath
="lib/64"
23308 wx_cv_std_libpath
="lib"
23313 if test "$ac_cv_sizeof_void_p" = 8 -a \
23314 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23315 wx_cv_std_libpath
="lib64"
23317 wx_cv_std_libpath
="lib"
23322 wx_cv_std_libpath
="lib";
23326 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23327 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23329 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23331 if test "$build" != "$host" -a "$GCC" = yes; then
23332 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23333 cross_root
=`dirname $cross_root`
23334 cross_root
=`dirname $cross_root`
23336 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23337 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23338 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23340 if test -z "$PKG_CONFIG_PATH"; then
23341 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23342 export PKG_CONFIG_PATH
23345 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23348 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23350 if test -f "$ac_dir/X11/Intrinsic.h"; then
23351 ac_find_includes
=$ac_dir
23356 x_includes
=$ac_find_includes
23358 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23361 for ac_dir
in $SEARCH_LIB;
23363 for ac_extension
in a so sl dylib dll.a
; do
23364 if test -f "$ac_dir/libXt.$ac_extension"; then
23365 ac_find_libraries
=$ac_dir
23371 x_libraries
=$ac_find_libraries
23377 cat >confcache
<<\_ACEOF
23378 # This file is a shell script that caches the results of configure
23379 # tests run on this system so they can be shared between configure
23380 # scripts and configure runs, see configure's option --config-cache.
23381 # It is not useful on other systems. If it contains results you don't
23382 # want to keep, you may remove or edit it.
23384 # config.status only pays attention to the cache file if you give it
23385 # the --recheck option to rerun configure.
23387 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23388 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23389 # following values.
23393 # The following way of writing the cache mishandles newlines in values,
23394 # but we know of no workaround that is simple, portable, and efficient.
23395 # So, don't put newlines in cache variables' values.
23396 # Ultrix sh set writes to stderr and can't be redirected directly,
23397 # and sets the high bit in the cache file unless we assign to the vars.
23400 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23402 # `set' does not quote correctly, so add quotes (double-quote
23403 # substitution turns \\\\ into \\, and sed turns \\ into \).
23406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23409 # `set' quotes correctly as required by POSIX, so do not add quotes.
23411 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23418 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23420 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23422 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23423 if test -w $cache_file; then
23424 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23425 cat confcache
>$cache_file
23427 echo "not updating unwritable cache $cache_file"
23432 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23433 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23434 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23435 if test "${wx_cv_lib_glibc21+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 cat >conftest.
$ac_ext <<_ACEOF
23442 cat confdefs.h
>>conftest.
$ac_ext
23443 cat >>conftest.
$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 #include <features.h>
23450 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23458 rm -f conftest.
$ac_objext
23459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23460 (eval $ac_compile) 2>conftest.er1
23462 grep -v '^ *+' conftest.er1
>conftest.err
23464 cat conftest.err
>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try
='test -z "$ac_c_werror_flag"
23468 || test ! -s conftest.err'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; } &&
23474 { ac_try
='test -s conftest.$ac_objext'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23481 wx_cv_lib_glibc21
=yes
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.
$ac_ext >&5
23488 wx_cv_lib_glibc21
=no
23492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23495 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23496 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23497 if test "$wx_cv_lib_glibc21" = "yes"; then
23498 cat >>confdefs.h
<<\_ACEOF
23499 #define wxHAVE_GLIBC2 1
23505 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23506 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23507 cat >>confdefs.h
<<\_ACEOF
23508 #define _GNU_SOURCE 1
23519 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23520 echo "$as_me:$LINENO: checking for $ac_func" >&5
23521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23522 if eval "test \"\${$as_ac_var+set}\" = set"; then
23523 echo $ECHO_N "(cached) $ECHO_C" >&6
23525 cat >conftest.
$ac_ext <<_ACEOF
23528 cat confdefs.h
>>conftest.
$ac_ext
23529 cat >>conftest.
$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23533 #define $ac_func innocuous_$ac_func
23535 /* System header to define __stub macros and hopefully few prototypes,
23536 which can conflict with char $ac_func (); below.
23537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23538 <limits.h> exists even on freestanding compilers. */
23541 # include <limits.h>
23543 # include <assert.h>
23548 /* Override any gcc2 internal prototype to avoid an error. */
23553 /* We use char because int might match the return type of a gcc2
23554 builtin and then its argument prototype would still apply. */
23556 /* The GNU C library defines this for functions which it implements
23557 to always fail with ENOSYS. Some functions are actually named
23558 something starting with __ and the normal name is an alias. */
23559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23562 char (*f) () = $ac_func;
23571 return f != $ac_func;
23576 rm -f conftest.
$ac_objext conftest
$ac_exeext
23577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23578 (eval $ac_link) 2>conftest.er1
23580 grep -v '^ *+' conftest.er1
>conftest.err
23582 cat conftest.err
>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } &&
23585 { ac_try
='test -z "$ac_c_werror_flag"
23586 || test ! -s conftest.err'
23587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23588 (eval $ac_try) 2>&5
23590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23591 (exit $ac_status); }; } &&
23592 { ac_try
='test -s conftest$ac_exeext'
23593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594 (eval $ac_try) 2>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; }; then
23598 eval "$as_ac_var=yes"
23600 echo "$as_me: failed program was:" >&5
23601 sed 's/^/| /' conftest.
$ac_ext >&5
23603 eval "$as_ac_var=no"
23605 rm -f conftest.err conftest.
$ac_objext \
23606 conftest
$ac_exeext conftest.
$ac_ext
23608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23610 if test `eval echo '${'$as_ac_var'}'` = yes; then
23611 cat >>confdefs.h
<<_ACEOF
23612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23619 for ac_func
in floor
23621 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23622 echo "$as_me:$LINENO: checking for $ac_func" >&5
23623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23624 if eval "test \"\${$as_ac_var+set}\" = set"; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 cat >conftest.
$ac_ext <<_ACEOF
23630 cat confdefs.h
>>conftest.
$ac_ext
23631 cat >>conftest.
$ac_ext <<_ACEOF
23632 /* end confdefs.h. */
23633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23635 #define $ac_func innocuous_$ac_func
23637 /* System header to define __stub macros and hopefully few prototypes,
23638 which can conflict with char $ac_func (); below.
23639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23640 <limits.h> exists even on freestanding compilers. */
23643 # include <limits.h>
23645 # include <assert.h>
23650 /* Override any gcc2 internal prototype to avoid an error. */
23655 /* We use char because int might match the return type of a gcc2
23656 builtin and then its argument prototype would still apply. */
23658 /* The GNU C library defines this for functions which it implements
23659 to always fail with ENOSYS. Some functions are actually named
23660 something starting with __ and the normal name is an alias. */
23661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23664 char (*f) () = $ac_func;
23673 return f != $ac_func;
23678 rm -f conftest.
$ac_objext conftest
$ac_exeext
23679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23680 (eval $ac_link) 2>conftest.er1
23682 grep -v '^ *+' conftest.er1
>conftest.err
23684 cat conftest.err
>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); } &&
23687 { ac_try
='test -z "$ac_c_werror_flag"
23688 || test ! -s conftest.err'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; } &&
23694 { ac_try
='test -s conftest$ac_exeext'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; }; then
23700 eval "$as_ac_var=yes"
23702 echo "$as_me: failed program was:" >&5
23703 sed 's/^/| /' conftest.
$ac_ext >&5
23705 eval "$as_ac_var=no"
23707 rm -f conftest.err conftest.
$ac_objext \
23708 conftest
$ac_exeext conftest.
$ac_ext
23710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23712 if test `eval echo '${'$as_ac_var'}'` = yes; then
23713 cat >>confdefs.h
<<_ACEOF
23714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23720 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
23721 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
23722 if test "$have_cos" = 1 -a "$have_floor" = 1; then
23723 echo "$as_me:$LINENO: result: yes" >&5
23724 echo "${ECHO_T}yes" >&6
23726 echo "$as_me:$LINENO: result: no" >&5
23727 echo "${ECHO_T}no" >&6
23729 # use different functions to avoid configure caching
23735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23736 echo "$as_me:$LINENO: checking for $ac_func" >&5
23737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23738 if eval "test \"\${$as_ac_var+set}\" = set"; then
23739 echo $ECHO_N "(cached) $ECHO_C" >&6
23741 cat >conftest.
$ac_ext <<_ACEOF
23744 cat confdefs.h
>>conftest.
$ac_ext
23745 cat >>conftest.
$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23749 #define $ac_func innocuous_$ac_func
23751 /* System header to define __stub macros and hopefully few prototypes,
23752 which can conflict with char $ac_func (); below.
23753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23754 <limits.h> exists even on freestanding compilers. */
23757 # include <limits.h>
23759 # include <assert.h>
23764 /* Override any gcc2 internal prototype to avoid an error. */
23769 /* We use char because int might match the return type of a gcc2
23770 builtin and then its argument prototype would still apply. */
23772 /* The GNU C library defines this for functions which it implements
23773 to always fail with ENOSYS. Some functions are actually named
23774 something starting with __ and the normal name is an alias. */
23775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23778 char (*f) () = $ac_func;
23787 return f != $ac_func;
23792 rm -f conftest.
$ac_objext conftest
$ac_exeext
23793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23794 (eval $ac_link) 2>conftest.er1
23796 grep -v '^ *+' conftest.er1
>conftest.err
23798 cat conftest.err
>&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } &&
23801 { ac_try
='test -z "$ac_c_werror_flag"
23802 || test ! -s conftest.err'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; } &&
23808 { ac_try
='test -s conftest$ac_exeext'
23809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23810 (eval $ac_try) 2>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); }; }; then
23814 eval "$as_ac_var=yes"
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.
$ac_ext >&5
23819 eval "$as_ac_var=no"
23821 rm -f conftest.err conftest.
$ac_objext \
23822 conftest
$ac_exeext conftest.
$ac_ext
23824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23826 if test `eval echo '${'$as_ac_var'}'` = yes; then
23827 cat >>confdefs.h
<<_ACEOF
23828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23835 for ac_func
in ceil
23837 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23838 echo "$as_me:$LINENO: checking for $ac_func" >&5
23839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23840 if eval "test \"\${$as_ac_var+set}\" = set"; then
23841 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 cat >conftest.
$ac_ext <<_ACEOF
23846 cat confdefs.h
>>conftest.
$ac_ext
23847 cat >>conftest.
$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23851 #define $ac_func innocuous_$ac_func
23853 /* System header to define __stub macros and hopefully few prototypes,
23854 which can conflict with char $ac_func (); below.
23855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23856 <limits.h> exists even on freestanding compilers. */
23859 # include <limits.h>
23861 # include <assert.h>
23866 /* Override any gcc2 internal prototype to avoid an error. */
23871 /* We use char because int might match the return type of a gcc2
23872 builtin and then its argument prototype would still apply. */
23874 /* The GNU C library defines this for functions which it implements
23875 to always fail with ENOSYS. Some functions are actually named
23876 something starting with __ and the normal name is an alias. */
23877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23880 char (*f) () = $ac_func;
23889 return f != $ac_func;
23894 rm -f conftest.
$ac_objext conftest
$ac_exeext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23896 (eval $ac_link) 2>conftest.er1
23898 grep -v '^ *+' conftest.er1
>conftest.err
23900 cat conftest.err
>&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try
='test -z "$ac_c_werror_flag"
23904 || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try
='test -s conftest$ac_exeext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 eval "$as_ac_var=yes"
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.
$ac_ext >&5
23921 eval "$as_ac_var=no"
23923 rm -f conftest.err conftest.
$ac_objext \
23924 conftest
$ac_exeext conftest.
$ac_ext
23926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23928 if test `eval echo '${'$as_ac_var'}'` = yes; then
23929 cat >>confdefs.h
<<_ACEOF
23930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23936 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
23937 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
23938 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
23939 echo "$as_me:$LINENO: result: yes" >&5
23940 echo "${ECHO_T}yes" >&6
23942 echo "$as_me:$LINENO: result: no" >&5
23943 echo "${ECHO_T}no" >&6
23944 # not sure we should warn the user, crash, etc.
23949 ac_cpp
='$CXXCPP $CPPFLAGS'
23950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23954 if test "wxUSE_UNICODE" = "yes"; then
23956 for wx_func
in wcstoull
23958 echo "$as_me:$LINENO: checking for $wx_func" >&5
23959 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
23960 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 cat >conftest.
$ac_ext <<_ACEOF
23968 cat confdefs.h
>>conftest.
$ac_ext
23969 cat >>conftest.
$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23973 $ac_includes_default
23989 rm -f conftest.
$ac_objext conftest
$ac_exeext
23990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23991 (eval $ac_link) 2>conftest.er1
23993 grep -v '^ *+' conftest.er1
>conftest.err
23995 cat conftest.err
>&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try
='test -z "$ac_cxx_werror_flag"
23999 || test ! -s conftest.err'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; } &&
24005 { ac_try
='test -s conftest$ac_exeext'
24006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24007 (eval $ac_try) 2>&5
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); }; }; then
24011 eval wx_cv_func_
$wx_func=yes
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.
$ac_ext >&5
24016 eval wx_cv_func_
$wx_func=no
24018 rm -f conftest.err conftest.
$ac_objext \
24019 conftest
$ac_exeext conftest.
$ac_ext
24022 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24023 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24025 if eval test \
$wx_cv_func_$wx_func = yes
24027 cat >>confdefs.h
<<_ACEOF
24028 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24040 for wx_func
in strtoull
24042 echo "$as_me:$LINENO: checking for $wx_func" >&5
24043 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24044 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24045 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 cat >conftest.
$ac_ext <<_ACEOF
24052 cat confdefs.h
>>conftest.
$ac_ext
24053 cat >>conftest.
$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24057 $ac_includes_default
24073 rm -f conftest.
$ac_objext conftest
$ac_exeext
24074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24075 (eval $ac_link) 2>conftest.er1
24077 grep -v '^ *+' conftest.er1
>conftest.err
24079 cat conftest.err
>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); } &&
24082 { ac_try
='test -z "$ac_cxx_werror_flag"
24083 || test ! -s conftest.err'
24084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085 (eval $ac_try) 2>&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); }; } &&
24089 { ac_try
='test -s conftest$ac_exeext'
24090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091 (eval $ac_try) 2>&5
24093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094 (exit $ac_status); }; }; then
24095 eval wx_cv_func_
$wx_func=yes
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.
$ac_ext >&5
24100 eval wx_cv_func_
$wx_func=no
24102 rm -f conftest.err conftest.
$ac_objext \
24103 conftest
$ac_exeext conftest.
$ac_ext
24106 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24107 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24109 if eval test \
$wx_cv_func_$wx_func = yes
24111 cat >>confdefs.h
<<_ACEOF
24112 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24124 ac_cpp
='$CPP $CPPFLAGS'
24125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24132 if test "$wxUSE_REGEX" != "no"; then
24133 cat >>confdefs.h
<<\_ACEOF
24134 #define wxUSE_REGEX 1
24138 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24139 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24140 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24141 wxUSE_REGEX
=builtin
24144 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24145 echo "$as_me:$LINENO: checking for regex.h" >&5
24146 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24147 if test "${ac_cv_header_regex_h+set}" = set; then
24148 echo $ECHO_N "(cached) $ECHO_C" >&6
24150 cat >conftest.
$ac_ext <<_ACEOF
24153 cat confdefs.h
>>conftest.
$ac_ext
24154 cat >>conftest.
$ac_ext <<_ACEOF
24155 /* end confdefs.h. */
24160 rm -f conftest.
$ac_objext
24161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24162 (eval $ac_compile) 2>conftest.er1
24164 grep -v '^ *+' conftest.er1
>conftest.err
24166 cat conftest.err
>&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } &&
24169 { ac_try
='test -z "$ac_c_werror_flag"
24170 || test ! -s conftest.err'
24171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 (eval $ac_try) 2>&5
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); }; } &&
24176 { ac_try
='test -s conftest.$ac_objext'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; }; then
24182 ac_cv_header_regex_h
=yes
24184 echo "$as_me: failed program was:" >&5
24185 sed 's/^/| /' conftest.
$ac_ext >&5
24187 ac_cv_header_regex_h
=no
24189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24191 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24192 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24193 if test $ac_cv_header_regex_h = yes; then
24196 for ac_func
in regcomp re_search
24198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24199 echo "$as_me:$LINENO: checking for $ac_func" >&5
24200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24201 if eval "test \"\${$as_ac_var+set}\" = set"; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 cat >conftest.
$ac_ext <<_ACEOF
24207 cat confdefs.h
>>conftest.
$ac_ext
24208 cat >>conftest.
$ac_ext <<_ACEOF
24209 /* end confdefs.h. */
24210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24212 #define $ac_func innocuous_$ac_func
24214 /* System header to define __stub macros and hopefully few prototypes,
24215 which can conflict with char $ac_func (); below.
24216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24217 <limits.h> exists even on freestanding compilers. */
24220 # include <limits.h>
24222 # include <assert.h>
24227 /* Override any gcc2 internal prototype to avoid an error. */
24232 /* We use char because int might match the return type of a gcc2
24233 builtin and then its argument prototype would still apply. */
24235 /* The GNU C library defines this for functions which it implements
24236 to always fail with ENOSYS. Some functions are actually named
24237 something starting with __ and the normal name is an alias. */
24238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24241 char (*f) () = $ac_func;
24250 return f != $ac_func;
24255 rm -f conftest.
$ac_objext conftest
$ac_exeext
24256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24257 (eval $ac_link) 2>conftest.er1
24259 grep -v '^ *+' conftest.er1
>conftest.err
24261 cat conftest.err
>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } &&
24264 { ac_try
='test -z "$ac_c_werror_flag"
24265 || test ! -s conftest.err'
24266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24267 (eval $ac_try) 2>&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); }; } &&
24271 { ac_try
='test -s conftest$ac_exeext'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; }; then
24277 eval "$as_ac_var=yes"
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.
$ac_ext >&5
24282 eval "$as_ac_var=no"
24284 rm -f conftest.err conftest.
$ac_objext \
24285 conftest
$ac_exeext conftest.
$ac_ext
24287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24289 if test `eval echo '${'$as_ac_var'}'` = yes; then
24290 cat >>confdefs.h
<<_ACEOF
24291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24301 if test "x$ac_cv_func_regcomp" != "xyes"; then
24302 if test "$wxUSE_REGEX" = "sys" ; then
24303 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24304 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24305 { (exit 1); exit 1; }; }
24307 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24308 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24309 wxUSE_REGEX
=builtin
24313 cat >>confdefs.h
<<\_ACEOF
24314 #define WX_NO_REGEX_ADVANCED 1
24323 if test "$wxUSE_ZLIB" != "no" ; then
24324 cat >>confdefs.h
<<\_ACEOF
24325 #define wxUSE_ZLIB 1
24329 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24330 if test "$USE_DARWIN" = 1; then
24331 system_zlib_h_ok
="yes"
24333 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24334 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24335 if test "${ac_cv_header_zlib_h+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24338 if test "$cross_compiling" = yes; then
24339 unset ac_cv_header_zlib_h
24342 cat >conftest.
$ac_ext <<_ACEOF
24345 cat confdefs.h
>>conftest.
$ac_ext
24346 cat >>conftest.
$ac_ext <<_ACEOF
24347 /* end confdefs.h. */
24354 FILE *f=fopen("conftestval", "w");
24357 ZLIB_VERSION[0] == '1' &&
24358 (ZLIB_VERSION[2] > '1' ||
24359 (ZLIB_VERSION[2] == '1' &&
24360 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24365 rm -f conftest
$ac_exeext
24366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24367 (eval $ac_link) 2>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 ac_cv_header_zlib_h
=`cat conftestval`
24378 echo "$as_me: program exited with status $ac_status" >&5
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.
$ac_ext >&5
24382 ( exit $ac_status )
24383 ac_cv_header_zlib_h
=no
24385 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24389 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24390 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24391 echo "$as_me:$LINENO: checking for zlib.h" >&5
24392 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24393 if test "${ac_cv_header_zlib_h+set}" = set; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24396 cat >conftest.
$ac_ext <<_ACEOF
24399 cat confdefs.h
>>conftest.
$ac_ext
24400 cat >>conftest.
$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24406 rm -f conftest.
$ac_objext
24407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24408 (eval $ac_compile) 2>conftest.er1
24410 grep -v '^ *+' conftest.er1
>conftest.err
24412 cat conftest.err
>&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } &&
24415 { ac_try
='test -z "$ac_c_werror_flag"
24416 || test ! -s conftest.err'
24417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24418 (eval $ac_try) 2>&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); }; } &&
24422 { ac_try
='test -s conftest.$ac_objext'
24423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24424 (eval $ac_try) 2>&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); }; }; then
24428 ac_cv_header_zlib_h
=yes
24430 echo "$as_me: failed program was:" >&5
24431 sed 's/^/| /' conftest.
$ac_ext >&5
24433 ac_cv_header_zlib_h
=no
24435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24437 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24438 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24442 system_zlib_h_ok
=$ac_cv_header_zlib_h
24445 if test "$system_zlib_h_ok" = "yes"; then
24446 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24447 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24448 if test "${ac_cv_lib_z_deflate+set}" = set; then
24449 echo $ECHO_N "(cached) $ECHO_C" >&6
24451 ac_check_lib_save_LIBS
=$LIBS
24453 cat >conftest.
$ac_ext <<_ACEOF
24456 cat confdefs.h
>>conftest.
$ac_ext
24457 cat >>conftest.
$ac_ext <<_ACEOF
24458 /* end confdefs.h. */
24460 /* Override any gcc2 internal prototype to avoid an error. */
24464 /* We use char because int might match the return type of a gcc2
24465 builtin and then its argument prototype would still apply. */
24475 rm -f conftest.
$ac_objext conftest
$ac_exeext
24476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24477 (eval $ac_link) 2>conftest.er1
24479 grep -v '^ *+' conftest.er1
>conftest.err
24481 cat conftest.err
>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); } &&
24484 { ac_try
='test -z "$ac_c_werror_flag"
24485 || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try
='test -s conftest$ac_exeext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 ac_cv_lib_z_deflate
=yes
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.
$ac_ext >&5
24502 ac_cv_lib_z_deflate
=no
24504 rm -f conftest.err conftest.
$ac_objext \
24505 conftest
$ac_exeext conftest.
$ac_ext
24506 LIBS
=$ac_check_lib_save_LIBS
24508 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24509 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24510 if test $ac_cv_lib_z_deflate = yes; then
24516 if test "x$ZLIB_LINK" = "x" ; then
24517 if test "$wxUSE_ZLIB" = "sys" ; then
24518 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24519 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24520 { (exit 1); exit 1; }; }
24522 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24523 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24534 if test "$wxUSE_LIBPNG" != "no" ; then
24535 cat >>confdefs.h
<<\_ACEOF
24536 #define wxUSE_LIBPNG 1
24540 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24541 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24542 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24546 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24547 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24548 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24549 wxUSE_LIBPNG
=builtin
24552 if test "$wxUSE_MGL" != 1 ; then
24553 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24554 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24555 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24556 if test "${ac_cv_header_png_h+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24559 if test "$cross_compiling" = yes; then
24560 unset ac_cv_header_png_h
24563 cat >conftest.
$ac_ext <<_ACEOF
24566 cat confdefs.h
>>conftest.
$ac_ext
24567 cat >>conftest.
$ac_ext <<_ACEOF
24568 /* end confdefs.h. */
24575 FILE *f=fopen("conftestval", "w");
24578 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24583 rm -f conftest
$ac_exeext
24584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24585 (eval $ac_link) 2>&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 ac_cv_header_png_h
=`cat conftestval`
24596 echo "$as_me: program exited with status $ac_status" >&5
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.
$ac_ext >&5
24600 ( exit $ac_status )
24601 ac_cv_header_png_h
=no
24603 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24607 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24608 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24609 echo "$as_me:$LINENO: checking for png.h" >&5
24610 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24611 if test "${ac_cv_header_png_h+set}" = set; then
24612 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 cat >conftest.
$ac_ext <<_ACEOF
24617 cat confdefs.h
>>conftest.
$ac_ext
24618 cat >>conftest.
$ac_ext <<_ACEOF
24619 /* end confdefs.h. */
24624 rm -f conftest.
$ac_objext
24625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24626 (eval $ac_compile) 2>conftest.er1
24628 grep -v '^ *+' conftest.er1
>conftest.err
24630 cat conftest.err
>&5
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); } &&
24633 { ac_try
='test -z "$ac_c_werror_flag"
24634 || test ! -s conftest.err'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; } &&
24640 { ac_try
='test -s conftest.$ac_objext'
24641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24642 (eval $ac_try) 2>&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); }; }; then
24646 ac_cv_header_png_h
=yes
24648 echo "$as_me: failed program was:" >&5
24649 sed 's/^/| /' conftest.
$ac_ext >&5
24651 ac_cv_header_png_h
=no
24653 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24655 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24656 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24660 if test "$ac_cv_header_png_h" = "yes"; then
24661 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24662 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24663 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 ac_check_lib_save_LIBS
=$LIBS
24667 LIBS
="-lpng -lz -lm $LIBS"
24668 cat >conftest.
$ac_ext <<_ACEOF
24671 cat confdefs.h
>>conftest.
$ac_ext
24672 cat >>conftest.
$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24675 /* Override any gcc2 internal prototype to avoid an error. */
24679 /* We use char because int might match the return type of a gcc2
24680 builtin and then its argument prototype would still apply. */
24681 char png_check_sig ();
24690 rm -f conftest.
$ac_objext conftest
$ac_exeext
24691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24692 (eval $ac_link) 2>conftest.er1
24694 grep -v '^ *+' conftest.er1
>conftest.err
24696 cat conftest.err
>&5
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); } &&
24699 { ac_try
='test -z "$ac_c_werror_flag"
24700 || test ! -s conftest.err'
24701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24702 (eval $ac_try) 2>&5
24704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24705 (exit $ac_status); }; } &&
24706 { ac_try
='test -s conftest$ac_exeext'
24707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24708 (eval $ac_try) 2>&5
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); }; }; then
24712 ac_cv_lib_png_png_check_sig
=yes
24714 echo "$as_me: failed program was:" >&5
24715 sed 's/^/| /' conftest.
$ac_ext >&5
24717 ac_cv_lib_png_png_check_sig
=no
24719 rm -f conftest.err conftest.
$ac_objext \
24720 conftest
$ac_exeext conftest.
$ac_ext
24721 LIBS
=$ac_check_lib_save_LIBS
24723 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24724 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24725 if test $ac_cv_lib_png_png_check_sig = yes; then
24726 PNG_LINK
=" -lpng -lz"
24731 if test "x$PNG_LINK" = "x" ; then
24732 if test "$wxUSE_LIBPNG" = "sys" ; then
24733 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24734 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24735 { (exit 1); exit 1; }; }
24737 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24738 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24739 wxUSE_LIBPNG
=builtin
24747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24752 if test "$wxUSE_LIBJPEG" != "no" ; then
24753 cat >>confdefs.h
<<\_ACEOF
24754 #define wxUSE_LIBJPEG 1
24758 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24759 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24760 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24764 if test "$wxUSE_MGL" != 1 ; then
24765 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24766 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24767 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24768 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24771 cat >conftest.
$ac_ext <<_ACEOF
24774 cat confdefs.h
>>conftest.
$ac_ext
24775 cat >>conftest.
$ac_ext <<_ACEOF
24776 /* end confdefs.h. */
24778 #undef HAVE_STDLIB_H
24780 #include <jpeglib.h>
24791 rm -f conftest.
$ac_objext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793 (eval $ac_compile) 2>conftest.er1
24795 grep -v '^ *+' conftest.er1
>conftest.err
24797 cat conftest.err
>&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } &&
24800 { ac_try
='test -z "$ac_c_werror_flag"
24801 || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try
='test -s conftest.$ac_objext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 ac_cv_header_jpeglib_h
=yes
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.
$ac_ext >&5
24818 ac_cv_header_jpeglib_h
=no
24821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24825 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24826 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24828 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24829 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24830 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24831 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24832 echo $ECHO_N "(cached) $ECHO_C" >&6
24834 ac_check_lib_save_LIBS
=$LIBS
24835 LIBS
="-ljpeg $LIBS"
24836 cat >conftest.
$ac_ext <<_ACEOF
24839 cat confdefs.h
>>conftest.
$ac_ext
24840 cat >>conftest.
$ac_ext <<_ACEOF
24841 /* end confdefs.h. */
24843 /* Override any gcc2 internal prototype to avoid an error. */
24847 /* We use char because int might match the return type of a gcc2
24848 builtin and then its argument prototype would still apply. */
24849 char jpeg_read_header ();
24853 jpeg_read_header ();
24858 rm -f conftest.
$ac_objext conftest
$ac_exeext
24859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24860 (eval $ac_link) 2>conftest.er1
24862 grep -v '^ *+' conftest.er1
>conftest.err
24864 cat conftest.err
>&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); } &&
24867 { ac_try
='test -z "$ac_c_werror_flag"
24868 || test ! -s conftest.err'
24869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24870 (eval $ac_try) 2>&5
24872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24873 (exit $ac_status); }; } &&
24874 { ac_try
='test -s conftest$ac_exeext'
24875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24876 (eval $ac_try) 2>&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); }; }; then
24880 ac_cv_lib_jpeg_jpeg_read_header
=yes
24882 echo "$as_me: failed program was:" >&5
24883 sed 's/^/| /' conftest.
$ac_ext >&5
24885 ac_cv_lib_jpeg_jpeg_read_header
=no
24887 rm -f conftest.err conftest.
$ac_objext \
24888 conftest
$ac_exeext conftest.
$ac_ext
24889 LIBS
=$ac_check_lib_save_LIBS
24891 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24892 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24893 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24894 JPEG_LINK
=" -ljpeg"
24899 if test "x$JPEG_LINK" = "x" ; then
24900 if test "$wxUSE_LIBJPEG" = "sys" ; then
24901 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24902 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24903 { (exit 1); exit 1; }; }
24905 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24906 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24907 wxUSE_LIBJPEG
=builtin
24912 if test "$wxUSE_MSW" = 1; then
24913 echo "$as_me:$LINENO: checking for boolean" >&5
24914 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24915 if test "${ac_cv_type_boolean+set}" = set; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24918 cat >conftest.
$ac_ext <<_ACEOF
24921 cat confdefs.h
>>conftest.
$ac_ext
24922 cat >>conftest.
$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 #include <windows.h>
24931 if (sizeof (boolean))
24937 rm -f conftest.
$ac_objext
24938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24939 (eval $ac_compile) 2>conftest.er1
24941 grep -v '^ *+' conftest.er1
>conftest.err
24943 cat conftest.err
>&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); } &&
24946 { ac_try
='test -z "$ac_c_werror_flag"
24947 || test ! -s conftest.err'
24948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24949 (eval $ac_try) 2>&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); }; } &&
24953 { ac_try
='test -s conftest.$ac_objext'
24954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24955 (eval $ac_try) 2>&5
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); }; }; then
24959 ac_cv_type_boolean
=yes
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.
$ac_ext >&5
24964 ac_cv_type_boolean
=no
24966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24968 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24969 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24970 if test $ac_cv_type_boolean = yes; then
24972 cat >>confdefs.h
<<_ACEOF
24973 #define HAVE_BOOLEAN 1
24977 echo "$as_me:$LINENO: checking for boolean" >&5
24978 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24979 if test "${ac_cv_type_boolean+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 cat >conftest.
$ac_ext <<_ACEOF
24985 cat confdefs.h
>>conftest.
$ac_ext
24986 cat >>conftest.
$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24989 #undef HAVE_BOOLEAN
24991 #include <jpeglib.h>
24999 if (sizeof (boolean))
25005 rm -f conftest.
$ac_objext
25006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25007 (eval $ac_compile) 2>conftest.er1
25009 grep -v '^ *+' conftest.er1
>conftest.err
25011 cat conftest.err
>&5
25012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013 (exit $ac_status); } &&
25014 { ac_try
='test -z "$ac_c_werror_flag"
25015 || test ! -s conftest.err'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; } &&
25021 { ac_try
='test -s conftest.$ac_objext'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 ac_cv_type_boolean
=yes
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.
$ac_ext >&5
25032 ac_cv_type_boolean
=no
25034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25036 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25037 echo "${ECHO_T}$ac_cv_type_boolean" >&6
25039 echo "$as_me:$LINENO: checking size of boolean" >&5
25040 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
25041 if test "${ac_cv_sizeof_boolean+set}" = set; then
25042 echo $ECHO_N "(cached) $ECHO_C" >&6
25044 if test "$ac_cv_type_boolean" = yes; then
25045 # The cast to unsigned long works around a bug in the HP C Compiler
25046 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25047 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25048 # This bug is HP SR number 8606223364.
25049 if test "$cross_compiling" = yes; then
25050 # Depending upon the size, compute the lo and hi bounds.
25051 cat >conftest.
$ac_ext <<_ACEOF
25054 cat confdefs.h
>>conftest.
$ac_ext
25055 cat >>conftest.
$ac_ext <<_ACEOF
25056 /* end confdefs.h. */
25058 #undef HAVE_BOOLEAN
25060 #include <jpeglib.h>
25066 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
25073 rm -f conftest.
$ac_objext
25074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25075 (eval $ac_compile) 2>conftest.er1
25077 grep -v '^ *+' conftest.er1
>conftest.err
25079 cat conftest.err
>&5
25080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25081 (exit $ac_status); } &&
25082 { ac_try
='test -z "$ac_c_werror_flag"
25083 || test ! -s conftest.err'
25084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25085 (eval $ac_try) 2>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); }; } &&
25089 { ac_try
='test -s conftest.$ac_objext'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; }; then
25097 cat >conftest.
$ac_ext <<_ACEOF
25100 cat confdefs.h
>>conftest.
$ac_ext
25101 cat >>conftest.
$ac_ext <<_ACEOF
25102 /* end confdefs.h. */
25104 #undef HAVE_BOOLEAN
25106 #include <jpeglib.h>
25112 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25119 rm -f conftest.
$ac_objext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25121 (eval $ac_compile) 2>conftest.er1
25123 grep -v '^ *+' conftest.er1
>conftest.err
25125 cat conftest.err
>&5
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); } &&
25128 { ac_try
='test -z "$ac_c_werror_flag"
25129 || test ! -s conftest.err'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; } &&
25135 { ac_try
='test -s conftest.$ac_objext'
25136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25137 (eval $ac_try) 2>&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); }; }; then
25141 ac_hi
=$ac_mid; break
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.
$ac_ext >&5
25146 ac_lo
=`expr $ac_mid + 1`
25147 if test $ac_lo -le $ac_mid; then
25151 ac_mid
=`expr 2 '*' $ac_mid + 1`
25153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25156 echo "$as_me: failed program was:" >&5
25157 sed 's/^/| /' conftest.
$ac_ext >&5
25159 cat >conftest.
$ac_ext <<_ACEOF
25162 cat confdefs.h
>>conftest.
$ac_ext
25163 cat >>conftest.
$ac_ext <<_ACEOF
25164 /* end confdefs.h. */
25166 #undef HAVE_BOOLEAN
25168 #include <jpeglib.h>
25174 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
25181 rm -f conftest.
$ac_objext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25183 (eval $ac_compile) 2>conftest.er1
25185 grep -v '^ *+' conftest.er1
>conftest.err
25187 cat conftest.err
>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try
='test -z "$ac_c_werror_flag"
25191 || test ! -s conftest.err'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; } &&
25197 { ac_try
='test -s conftest.$ac_objext'
25198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199 (eval $ac_try) 2>&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25205 cat >conftest.
$ac_ext <<_ACEOF
25208 cat confdefs.h
>>conftest.
$ac_ext
25209 cat >>conftest.
$ac_ext <<_ACEOF
25210 /* end confdefs.h. */
25212 #undef HAVE_BOOLEAN
25214 #include <jpeglib.h>
25220 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
25227 rm -f conftest.
$ac_objext
25228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25229 (eval $ac_compile) 2>conftest.er1
25231 grep -v '^ *+' conftest.er1
>conftest.err
25233 cat conftest.err
>&5
25234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25235 (exit $ac_status); } &&
25236 { ac_try
='test -z "$ac_c_werror_flag"
25237 || test ! -s conftest.err'
25238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25239 (eval $ac_try) 2>&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); }; } &&
25243 { ac_try
='test -s conftest.$ac_objext'
25244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245 (eval $ac_try) 2>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; }; then
25249 ac_lo
=$ac_mid; break
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.
$ac_ext >&5
25254 ac_hi
=`expr '(' $ac_mid ')' - 1`
25255 if test $ac_mid -le $ac_hi; then
25259 ac_mid
=`expr 2 '*' $ac_mid`
25261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.
$ac_ext >&5
25269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25272 # Binary search between lo and hi bounds.
25273 while test "x$ac_lo" != "x$ac_hi"; do
25274 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25275 cat >conftest.
$ac_ext <<_ACEOF
25278 cat confdefs.h
>>conftest.
$ac_ext
25279 cat >>conftest.
$ac_ext <<_ACEOF
25280 /* end confdefs.h. */
25282 #undef HAVE_BOOLEAN
25284 #include <jpeglib.h>
25290 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25297 rm -f conftest.
$ac_objext
25298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25299 (eval $ac_compile) 2>conftest.er1
25301 grep -v '^ *+' conftest.er1
>conftest.err
25303 cat conftest.err
>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } &&
25306 { ac_try
='test -z "$ac_c_werror_flag"
25307 || test ! -s conftest.err'
25308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309 (eval $ac_try) 2>&5
25311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312 (exit $ac_status); }; } &&
25313 { ac_try
='test -s conftest.$ac_objext'
25314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315 (eval $ac_try) 2>&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); }; }; then
25321 echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.
$ac_ext >&5
25324 ac_lo
=`expr '(' $ac_mid ')' + 1`
25326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25329 ?
*) ac_cv_sizeof_boolean
=$ac_lo;;
25330 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25331 See \`config.log' for more details." >&5
25332 echo "$as_me: error: cannot compute sizeof (boolean), 77
25333 See \`config.log' for more details." >&2;}
25334 { (exit 1); exit 1; }; } ;;
25337 if test "$cross_compiling" = yes; then
25338 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25339 See \`config.log' for more details." >&5
25340 echo "$as_me: error: cannot run test program while cross compiling
25341 See \`config.log' for more details." >&2;}
25342 { (exit 1); exit 1; }; }
25344 cat >conftest.
$ac_ext <<_ACEOF
25347 cat confdefs.h
>>conftest.
$ac_ext
25348 cat >>conftest.
$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25351 #undef HAVE_BOOLEAN
25353 #include <jpeglib.h>
25356 long longval () { return (long) (sizeof (boolean)); }
25357 unsigned long ulongval () { return (long) (sizeof (boolean)); }
25359 #include <stdlib.h>
25364 FILE *f = fopen ("conftest.val", "w");
25367 if (((long) (sizeof (boolean))) < 0)
25369 long i = longval ();
25370 if (i != ((long) (sizeof (boolean))))
25372 fprintf (f, "%ld\n", i);
25376 unsigned long i = ulongval ();
25377 if (i != ((long) (sizeof (boolean))))
25379 fprintf (f, "%lu\n", i);
25381 exit (ferror (f) || fclose (f) != 0);
25387 rm -f conftest
$ac_exeext
25388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25389 (eval $ac_link) 2>&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25394 (eval $ac_try) 2>&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); }; }; then
25398 ac_cv_sizeof_boolean
=`cat conftest.val`
25400 echo "$as_me: program exited with status $ac_status" >&5
25401 echo "$as_me: failed program was:" >&5
25402 sed 's/^/| /' conftest.
$ac_ext >&5
25404 ( exit $ac_status )
25405 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25406 See \`config.log' for more details." >&5
25407 echo "$as_me: error: cannot compute sizeof (boolean), 77
25408 See \`config.log' for more details." >&2;}
25409 { (exit 1); exit 1; }; }
25411 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25416 ac_cv_sizeof_boolean
=0
25419 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
25420 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
25421 cat >>confdefs.h
<<_ACEOF
25422 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
25426 cat >>confdefs.h
<<_ACEOF
25427 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
25441 TIFF_PREREQ_LINKS
=-lm
25442 if test "$wxUSE_LIBTIFF" != "no" ; then
25443 cat >>confdefs.h
<<\_ACEOF
25444 #define wxUSE_LIBTIFF 1
25448 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25449 if test "$wxUSE_LIBJPEG" = "sys"; then
25450 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
25452 if test "$wxUSE_ZLIB" = "sys"; then
25453 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25455 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25456 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25457 if test "${ac_cv_header_tiffio_h+set}" = set; then
25458 echo $ECHO_N "(cached) $ECHO_C" >&6
25460 cat >conftest.
$ac_ext <<_ACEOF
25463 cat confdefs.h
>>conftest.
$ac_ext
25464 cat >>conftest.
$ac_ext <<_ACEOF
25465 /* end confdefs.h. */
25469 #include <tiffio.h>
25471 rm -f conftest.
$ac_objext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25473 (eval $ac_compile) 2>conftest.er1
25475 grep -v '^ *+' conftest.er1
>conftest.err
25477 cat conftest.err
>&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try
='test -z "$ac_c_werror_flag"
25481 || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try
='test -s conftest.$ac_objext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_cv_header_tiffio_h
=yes
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.
$ac_ext >&5
25498 ac_cv_header_tiffio_h
=no
25500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25502 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25503 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25504 if test $ac_cv_header_tiffio_h = yes; then
25506 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25507 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25508 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 ac_check_lib_save_LIBS
=$LIBS
25512 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25513 cat >conftest.
$ac_ext <<_ACEOF
25516 cat confdefs.h
>>conftest.
$ac_ext
25517 cat >>conftest.
$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25520 /* Override any gcc2 internal prototype to avoid an error. */
25524 /* We use char because int might match the return type of a gcc2
25525 builtin and then its argument prototype would still apply. */
25535 rm -f conftest.
$ac_objext conftest
$ac_exeext
25536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25537 (eval $ac_link) 2>conftest.er1
25539 grep -v '^ *+' conftest.er1
>conftest.err
25541 cat conftest.err
>&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } &&
25544 { ac_try
='test -z "$ac_c_werror_flag"
25545 || test ! -s conftest.err'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; } &&
25551 { ac_try
='test -s conftest$ac_exeext'
25552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25553 (eval $ac_try) 2>&5
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); }; }; then
25557 ac_cv_lib_tiff_TIFFError
=yes
25559 echo "$as_me: failed program was:" >&5
25560 sed 's/^/| /' conftest.
$ac_ext >&5
25562 ac_cv_lib_tiff_TIFFError
=no
25564 rm -f conftest.err conftest.
$ac_objext \
25565 conftest
$ac_exeext conftest.
$ac_ext
25566 LIBS
=$ac_check_lib_save_LIBS
25568 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25569 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25570 if test $ac_cv_lib_tiff_TIFFError = yes; then
25571 TIFF_LINK
=" -ltiff"
25579 if test "x$TIFF_LINK" = "x" ; then
25580 if test "$wxUSE_LIBTIFF" = "sys" ; then
25581 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25582 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25583 { (exit 1); exit 1; }; }
25585 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25586 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25587 wxUSE_LIBTIFF
=builtin
25596 if test "$wxUSE_WCHAR_T" != "yes"; then
25597 if test "$wxUSE_EXPAT" != "no"; then
25598 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25599 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25602 if test "$wxUSE_XML" != "no"; then
25603 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25604 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25609 if test "$wxUSE_EXPAT" != "no"; then
25611 cat >>confdefs.h
<<\_ACEOF
25612 #define wxUSE_EXPAT 1
25615 cat >>confdefs.h
<<\_ACEOF
25616 #define wxUSE_XML 1
25620 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25621 echo "$as_me:$LINENO: checking for expat.h" >&5
25622 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25623 if test "${ac_cv_header_expat_h+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 cat >conftest.
$ac_ext <<_ACEOF
25629 cat confdefs.h
>>conftest.
$ac_ext
25630 cat >>conftest.
$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25636 rm -f conftest.
$ac_objext
25637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25638 (eval $ac_compile) 2>conftest.er1
25640 grep -v '^ *+' conftest.er1
>conftest.err
25642 cat conftest.err
>&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try
='test -z "$ac_c_werror_flag"
25646 || test ! -s conftest.err'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; } &&
25652 { ac_try
='test -s conftest.$ac_objext'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; }; then
25658 ac_cv_header_expat_h
=yes
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.
$ac_ext >&5
25663 ac_cv_header_expat_h
=no
25665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25667 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25668 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25669 if test $ac_cv_header_expat_h = yes; then
25674 if test "x$found_expat_h" = "x1"; then
25675 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25676 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25677 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 ac_cpp
='$CXXCPP $CPPFLAGS'
25683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25687 cat >conftest.
$ac_ext <<_ACEOF
25690 cat confdefs.h
>>conftest.
$ac_ext
25691 cat >>conftest.
$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25702 rm -f conftest.
$ac_objext
25703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25704 (eval $ac_compile) 2>conftest.er1
25706 grep -v '^ *+' conftest.er1
>conftest.err
25708 cat conftest.err
>&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } &&
25711 { ac_try
='test -z "$ac_cxx_werror_flag"
25712 || test ! -s conftest.err'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; } &&
25718 { ac_try
='test -s conftest.$ac_objext'
25719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25720 (eval $ac_try) 2>&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); }; }; then
25724 wx_cv_expat_is_not_broken
=yes
25726 echo "$as_me: failed program was:" >&5
25727 sed 's/^/| /' conftest.
$ac_ext >&5
25729 wx_cv_expat_is_not_broken
=no
25732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25734 ac_cpp
='$CPP $CPPFLAGS'
25735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25742 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25743 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25744 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25745 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25746 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25747 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 ac_check_lib_save_LIBS
=$LIBS
25751 LIBS
="-lexpat $LIBS"
25752 cat >conftest.
$ac_ext <<_ACEOF
25755 cat confdefs.h
>>conftest.
$ac_ext
25756 cat >>conftest.
$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25759 /* Override any gcc2 internal prototype to avoid an error. */
25763 /* We use char because int might match the return type of a gcc2
25764 builtin and then its argument prototype would still apply. */
25765 char XML_ParserCreate ();
25769 XML_ParserCreate ();
25774 rm -f conftest.
$ac_objext conftest
$ac_exeext
25775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25776 (eval $ac_link) 2>conftest.er1
25778 grep -v '^ *+' conftest.er1
>conftest.err
25780 cat conftest.err
>&5
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); } &&
25783 { ac_try
='test -z "$ac_c_werror_flag"
25784 || test ! -s conftest.err'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; } &&
25790 { ac_try
='test -s conftest$ac_exeext'
25791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25792 (eval $ac_try) 2>&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); }; }; then
25796 ac_cv_lib_expat_XML_ParserCreate
=yes
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.
$ac_ext >&5
25801 ac_cv_lib_expat_XML_ParserCreate
=no
25803 rm -f conftest.err conftest.
$ac_objext \
25804 conftest
$ac_exeext conftest.
$ac_ext
25805 LIBS
=$ac_check_lib_save_LIBS
25807 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25808 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25809 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25810 EXPAT_LINK
=" -lexpat"
25815 if test "x$EXPAT_LINK" = "x" ; then
25816 if test "$wxUSE_EXPAT" = "sys" ; then
25817 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25818 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25819 { (exit 1); exit 1; }; }
25821 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25822 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25823 wxUSE_EXPAT
=builtin
25829 if test "$wxUSE_EXPAT" = "builtin" ; then
25832 subdirs
="$subdirs src/expat"
25839 if test "$wxUSE_LIBMSPACK" != "no"; then
25840 echo "$as_me:$LINENO: checking for mspack.h" >&5
25841 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25842 if test "${ac_cv_header_mspack_h+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25845 cat >conftest.
$ac_ext <<_ACEOF
25848 cat confdefs.h
>>conftest.
$ac_ext
25849 cat >>conftest.
$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25853 #include <mspack.h>
25855 rm -f conftest.
$ac_objext
25856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25857 (eval $ac_compile) 2>conftest.er1
25859 grep -v '^ *+' conftest.er1
>conftest.err
25861 cat conftest.err
>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } &&
25864 { ac_try
='test -z "$ac_c_werror_flag"
25865 || test ! -s conftest.err'
25866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25867 (eval $ac_try) 2>&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); }; } &&
25871 { ac_try
='test -s conftest.$ac_objext'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; }; then
25877 ac_cv_header_mspack_h
=yes
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.
$ac_ext >&5
25882 ac_cv_header_mspack_h
=no
25884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25886 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25887 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25888 if test $ac_cv_header_mspack_h = yes; then
25893 if test "x$found_mspack_h" = "x1"; then
25894 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25895 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25896 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25897 echo $ECHO_N "(cached) $ECHO_C" >&6
25899 ac_check_lib_save_LIBS
=$LIBS
25900 LIBS
="-lmspack $LIBS"
25901 cat >conftest.
$ac_ext <<_ACEOF
25904 cat confdefs.h
>>conftest.
$ac_ext
25905 cat >>conftest.
$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25908 /* Override any gcc2 internal prototype to avoid an error. */
25912 /* We use char because int might match the return type of a gcc2
25913 builtin and then its argument prototype would still apply. */
25914 char mspack_create_chm_decompressor ();
25918 mspack_create_chm_decompressor ();
25923 rm -f conftest.
$ac_objext conftest
$ac_exeext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25925 (eval $ac_link) 2>conftest.er1
25927 grep -v '^ *+' conftest.er1
>conftest.err
25929 cat conftest.err
>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try
='test -z "$ac_c_werror_flag"
25933 || test ! -s conftest.err'
25934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935 (eval $ac_try) 2>&5
25937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938 (exit $ac_status); }; } &&
25939 { ac_try
='test -s conftest$ac_exeext'
25940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25941 (eval $ac_try) 2>&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); }; }; then
25945 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.
$ac_ext >&5
25950 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25952 rm -f conftest.err conftest.
$ac_objext \
25953 conftest
$ac_exeext conftest.
$ac_ext
25954 LIBS
=$ac_check_lib_save_LIBS
25956 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25957 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25958 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25959 MSPACK_LINK
=" -lmspack"
25963 if test "x$MSPACK_LINK" = "x" ; then
25968 if test "$wxUSE_LIBMSPACK" != "no"; then
25969 cat >>confdefs.h
<<\_ACEOF
25970 #define wxUSE_LIBMSPACK 1
25984 if test "$USE_WIN32" = 1 ; then
25985 echo "$as_me:$LINENO: checking for w32api.h" >&5
25986 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
25987 if test "${ac_cv_header_w32api_h+set}" = set; then
25988 echo $ECHO_N "(cached) $ECHO_C" >&6
25990 cat >conftest.
$ac_ext <<_ACEOF
25993 cat confdefs.h
>>conftest.
$ac_ext
25994 cat >>conftest.
$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
25998 #include <w32api.h>
26000 rm -f conftest.
$ac_objext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26002 (eval $ac_compile) 2>conftest.er1
26004 grep -v '^ *+' conftest.er1
>conftest.err
26006 cat conftest.err
>&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); } &&
26009 { ac_try
='test -z "$ac_c_werror_flag"
26010 || test ! -s conftest.err'
26011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012 (eval $ac_try) 2>&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); }; } &&
26016 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
26022 ac_cv_header_w32api_h
=yes
26024 echo "$as_me: failed program was:" >&5
26025 sed 's/^/| /' conftest.
$ac_ext >&5
26027 ac_cv_header_w32api_h
=no
26029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26031 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26032 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
26035 echo "$as_me:$LINENO: checking for windows.h" >&5
26036 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26037 if test "${ac_cv_header_windows_h+set}" = set; then
26038 echo $ECHO_N "(cached) $ECHO_C" >&6
26040 cat >conftest.
$ac_ext <<_ACEOF
26043 cat confdefs.h
>>conftest.
$ac_ext
26044 cat >>conftest.
$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26048 #include <windows.h>
26050 rm -f conftest.
$ac_objext
26051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26052 (eval $ac_compile) 2>conftest.er1
26054 grep -v '^ *+' conftest.er1
>conftest.err
26056 cat conftest.err
>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } &&
26059 { ac_try
='test -z "$ac_c_werror_flag"
26060 || test ! -s conftest.err'
26061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26062 (eval $ac_try) 2>&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); }; } &&
26066 { ac_try
='test -s conftest.$ac_objext'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; }; then
26072 ac_cv_header_windows_h
=yes
26074 echo "$as_me: failed program was:" >&5
26075 sed 's/^/| /' conftest.
$ac_ext >&5
26077 ac_cv_header_windows_h
=no
26079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26081 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26082 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26083 if test $ac_cv_header_windows_h = yes; then
26087 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26088 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26089 { (exit 1); exit 1; }; }
26095 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26097 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26098 LIBS
="$LIBS -loleacc"
26103 LIBS
="$LIBS -lkernel32 -luser32"
26106 if test "$wxUSE_ODBC" = "sys" ; then
26109 if test "$wxUSE_ODBC" = "yes" ; then
26110 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26111 cat >>confdefs.h
<<\_ACEOF
26112 #define wxUSE_ODBC 1
26117 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26118 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26120 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26122 WIN32INSTALL
=win32install
26124 echo "$as_me:$LINENO: checking for pbt.h" >&5
26125 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
26126 if test "${ac_cv_header_pbt_h+set}" = set; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 cat >conftest.
$ac_ext <<_ACEOF
26132 cat confdefs.h
>>conftest.
$ac_ext
26133 cat >>conftest.
$ac_ext <<_ACEOF
26134 /* end confdefs.h. */
26139 rm -f conftest.
$ac_objext
26140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26141 (eval $ac_compile) 2>conftest.er1
26143 grep -v '^ *+' conftest.er1
>conftest.err
26145 cat conftest.err
>&5
26146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147 (exit $ac_status); } &&
26148 { ac_try
='test -z "$ac_c_werror_flag"
26149 || test ! -s conftest.err'
26150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151 (eval $ac_try) 2>&5
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); }; } &&
26155 { ac_try
='test -s conftest.$ac_objext'
26156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26157 (eval $ac_try) 2>&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); }; }; then
26161 ac_cv_header_pbt_h
=yes
26163 echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.
$ac_ext >&5
26166 ac_cv_header_pbt_h
=no
26168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26170 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26171 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
26172 if test $ac_cv_header_pbt_h = yes; then
26175 cat >>confdefs.h
<<\_ACEOF
26176 #define NEED_PBT_H 1
26184 if test "$wxUSE_GUI" = "yes"; then
26194 if test "$wxUSE_COCOA" = 1 ; then
26195 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26196 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26197 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26198 wxUSE_PRINTING_ARCHITECTURE
=no
26200 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26201 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26202 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26203 wxUSE_DRAG_AND_DROP
=no
26205 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26206 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26207 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26212 if test "$wxUSE_MSW" = 1 ; then
26218 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26222 if test "$wxUSE_GTK" = 1; then
26223 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26224 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26226 gtk_version_cached
=1
26227 if test "${wx_cv_lib_gtk+set}" = set; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26231 gtk_version_cached
=0
26232 echo "$as_me:$LINENO: result: " >&5
26233 echo "${ECHO_T}" >&6
26236 if test "$wxUSE_THREADS" = "yes"; then
26237 GTK_MODULES
=gthread
26241 if test "x$wxGTK_VERSION" != "x1"
26245 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26250 # Check whether --enable-gtktest or --disable-gtktest was given.
26251 if test "${enable_gtktest+set}" = set; then
26252 enableval
="$enable_gtktest"
26258 pkg_config_args
=gtk
+-2.0
26259 for module
in .
$GTK_MODULES
26263 pkg_config_args
="$pkg_config_args gthread-2.0"
26270 # Extract the first word of "pkg-config", so it can be a program name with args.
26271 set dummy pkg
-config; ac_word
=$2
26272 echo "$as_me:$LINENO: checking for $ac_word" >&5
26273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26277 case $PKG_CONFIG in
26279 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26283 for as_dir
in $PATH
26286 test -z "$as_dir" && as_dir
=.
26287 for ac_exec_ext
in '' $ac_executable_extensions; do
26288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26289 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26300 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26302 if test -n "$PKG_CONFIG"; then
26303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26304 echo "${ECHO_T}$PKG_CONFIG" >&6
26306 echo "$as_me:$LINENO: result: no" >&5
26307 echo "${ECHO_T}no" >&6
26311 if test x
$PKG_CONFIG != xno
; then
26312 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26315 echo "*** pkg-config too old; version 0.7 or better required."
26323 min_gtk_version
=2.0.0
26324 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26325 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26327 if test x
$PKG_CONFIG != xno
; then
26328 ## don't try to run the test against uninstalled libtool libs
26329 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26330 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26334 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26341 if test x
"$no_gtk" = x
; then
26342 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26343 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26344 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26346 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26348 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26350 if test "x$enable_gtktest" = "xyes" ; then
26351 ac_save_CFLAGS
="$CFLAGS"
26352 ac_save_LIBS
="$LIBS"
26353 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26354 LIBS
="$GTK_LIBS $LIBS"
26356 if test "$cross_compiling" = yes; then
26357 echo $ac_n "cross compiling; assumed OK... $ac_c"
26359 cat >conftest.
$ac_ext <<_ACEOF
26362 cat confdefs.h
>>conftest.
$ac_ext
26363 cat >>conftest.
$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26366 #include <gtk/gtk.h>
26368 #include <stdlib.h>
26373 int major, minor, micro;
26376 system ("touch conf.gtktest");
26378 /* HP/UX 9 (%@#!) writes to sscanf strings */
26379 tmp_version = g_strdup("$min_gtk_version");
26380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26381 printf("%s, bad version string\n", "$min_gtk_version");
26385 if ((gtk_major_version != $gtk_config_major_version) ||
26386 (gtk_minor_version != $gtk_config_minor_version) ||
26387 (gtk_micro_version != $gtk_config_micro_version))
26389 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26390 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26391 gtk_major_version, gtk_minor_version, gtk_micro_version);
26392 printf ("*** was found! If pkg-config was correct, then it is best\n");
26393 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26394 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26395 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26396 printf("*** required on your system.\n");
26397 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26398 printf("*** to point to the correct configuration files\n");
26400 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26401 (gtk_minor_version != GTK_MINOR_VERSION) ||
26402 (gtk_micro_version != GTK_MICRO_VERSION))
26404 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26405 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26406 printf("*** library (version %d.%d.%d)\n",
26407 gtk_major_version, gtk_minor_version, gtk_micro_version);
26411 if ((gtk_major_version > major) ||
26412 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26413 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26419 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26420 gtk_major_version, gtk_minor_version, gtk_micro_version);
26421 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26422 major, minor, micro);
26423 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26425 printf("*** If you have already installed a sufficiently new version, this error\n");
26426 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26427 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26428 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26429 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26430 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26431 printf("*** so that the correct libraries are found at run-time))\n");
26438 rm -f conftest
$ac_exeext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26440 (eval $ac_link) 2>&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26445 (eval $ac_try) 2>&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); }; }; then
26451 echo "$as_me: program exited with status $ac_status" >&5
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.
$ac_ext >&5
26455 ( exit $ac_status )
26458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26460 CFLAGS
="$ac_save_CFLAGS"
26461 LIBS
="$ac_save_LIBS"
26464 if test "x$no_gtk" = x
; then
26465 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26466 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26469 echo "$as_me:$LINENO: result: no" >&5
26470 echo "${ECHO_T}no" >&6
26471 if test "$PKG_CONFIG" = "no" ; then
26472 echo "*** A new enough version of pkg-config was not found."
26473 echo "*** See http://pkgconfig.sourceforge.net"
26475 if test -f conf.gtktest
; then
26478 echo "*** Could not run GTK+ test program, checking why..."
26479 ac_save_CFLAGS
="$CFLAGS"
26480 ac_save_LIBS
="$LIBS"
26481 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26482 LIBS
="$LIBS $GTK_LIBS"
26483 cat >conftest.
$ac_ext <<_ACEOF
26486 cat confdefs.h
>>conftest.
$ac_ext
26487 cat >>conftest.
$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26490 #include <gtk/gtk.h>
26496 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26501 rm -f conftest.
$ac_objext conftest
$ac_exeext
26502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26503 (eval $ac_link) 2>conftest.er1
26505 grep -v '^ *+' conftest.er1
>conftest.err
26507 cat conftest.err
>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } &&
26510 { ac_try
='test -z "$ac_c_werror_flag"
26511 || test ! -s conftest.err'
26512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26513 (eval $ac_try) 2>&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; } &&
26517 { ac_try
='test -s conftest$ac_exeext'
26518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519 (eval $ac_try) 2>&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); }; }; then
26523 echo "*** The test program compiled, but did not run. This usually means"
26524 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26525 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26526 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26527 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26528 echo "*** is required on your system"
26530 echo "*** If you have an old version installed, it is best to remove it, although"
26531 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.
$ac_ext >&5
26536 echo "*** The test program failed to compile or link. See the file config.log for the"
26537 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26539 rm -f conftest.err conftest.
$ac_objext \
26540 conftest
$ac_exeext conftest.
$ac_ext
26541 CFLAGS
="$ac_save_CFLAGS"
26542 LIBS
="$ac_save_LIBS"
26556 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26557 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26558 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26560 if test "$wxUSE_SHARED" != "yes"; then
26561 GTK_LIBS
="$GTK_LIBS -lX11"
26566 if test -z "$wx_cv_lib_gtk"; then
26567 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26569 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26570 if test "${with_gtk_prefix+set}" = set; then
26571 withval
="$with_gtk_prefix"
26572 gtk_config_prefix
="$withval"
26574 gtk_config_prefix
=""
26577 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26578 if test "${with_gtk_exec_prefix+set}" = set; then
26579 withval
="$with_gtk_exec_prefix"
26580 gtk_config_exec_prefix
="$withval"
26582 gtk_config_exec_prefix
=""
26584 # Check whether --enable-gtktest or --disable-gtktest was given.
26585 if test "${enable_gtktest+set}" = set; then
26586 enableval
="$enable_gtktest"
26592 for module
in .
$GTK_MODULES
26596 gtk_config_args
="$gtk_config_args gthread"
26601 if test x
$gtk_config_exec_prefix != x
; then
26602 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26603 if test x
${GTK_CONFIG+set} != xset
; then
26604 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26607 if test x
$gtk_config_prefix != x
; then
26608 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26609 if test x
${GTK_CONFIG+set} != xset
; then
26610 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26614 # Extract the first word of "gtk-config", so it can be a program name with args.
26615 set dummy gtk
-config; ac_word
=$2
26616 echo "$as_me:$LINENO: checking for $ac_word" >&5
26617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26618 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 case $GTK_CONFIG in
26623 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26627 for as_dir
in $PATH
26630 test -z "$as_dir" && as_dir
=.
26631 for ac_exec_ext
in '' $ac_executable_extensions; do
26632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26633 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26640 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26644 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26646 if test -n "$GTK_CONFIG"; then
26647 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26648 echo "${ECHO_T}$GTK_CONFIG" >&6
26650 echo "$as_me:$LINENO: result: no" >&5
26651 echo "${ECHO_T}no" >&6
26654 min_gtk_version
=1.2.7
26655 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26656 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26658 if test "$GTK_CONFIG" = "no" ; then
26661 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26662 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26663 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26664 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26665 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26666 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26667 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26668 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26669 if test "x$enable_gtktest" = "xyes" ; then
26670 ac_save_CFLAGS
="$CFLAGS"
26671 ac_save_LIBS
="$LIBS"
26672 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26673 LIBS
="$GTK_LIBS $LIBS"
26675 if test "$cross_compiling" = yes; then
26676 echo $ac_n "cross compiling; assumed OK... $ac_c"
26678 cat >conftest.
$ac_ext <<_ACEOF
26681 cat confdefs.h
>>conftest.
$ac_ext
26682 cat >>conftest.
$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26685 #include <gtk/gtk.h>
26687 #include <stdlib.h>
26692 int major, minor, micro;
26695 system ("touch conf.gtktest");
26697 /* HP/UX 9 (%@#!) writes to sscanf strings */
26698 tmp_version = g_strdup("$min_gtk_version");
26699 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26700 printf("%s, bad version string\n", "$min_gtk_version");
26704 if ((gtk_major_version != $gtk_config_major_version) ||
26705 (gtk_minor_version != $gtk_config_minor_version) ||
26706 (gtk_micro_version != $gtk_config_micro_version))
26708 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26709 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26710 gtk_major_version, gtk_minor_version, gtk_micro_version);
26711 printf ("*** was found! If gtk-config was correct, then it is best\n");
26712 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26713 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26714 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26715 printf("*** required on your system.\n");
26716 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26717 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26718 printf("*** before re-running configure\n");
26720 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26721 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26722 (gtk_minor_version != GTK_MINOR_VERSION) ||
26723 (gtk_micro_version != GTK_MICRO_VERSION))
26725 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26726 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26727 printf("*** library (version %d.%d.%d)\n",
26728 gtk_major_version, gtk_minor_version, gtk_micro_version);
26730 #endif /* defined (GTK_MAJOR_VERSION) ... */
26733 if ((gtk_major_version > major) ||
26734 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26735 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26741 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26742 gtk_major_version, gtk_minor_version, gtk_micro_version);
26743 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26744 major, minor, micro);
26745 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26747 printf("*** If you have already installed a sufficiently new version, this error\n");
26748 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26749 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26750 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26751 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26752 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26753 printf("*** so that the correct libraries are found at run-time))\n");
26760 rm -f conftest
$ac_exeext
26761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26762 (eval $ac_link) 2>&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26773 echo "$as_me: program exited with status $ac_status" >&5
26774 echo "$as_me: failed program was:" >&5
26775 sed 's/^/| /' conftest.
$ac_ext >&5
26777 ( exit $ac_status )
26780 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26782 CFLAGS
="$ac_save_CFLAGS"
26783 LIBS
="$ac_save_LIBS"
26786 if test "x$no_gtk" = x
; then
26787 echo "$as_me:$LINENO: result: yes" >&5
26788 echo "${ECHO_T}yes" >&6
26789 wx_cv_lib_gtk
=1.2.7
26791 echo "$as_me:$LINENO: result: no" >&5
26792 echo "${ECHO_T}no" >&6
26793 if test "$GTK_CONFIG" = "no" ; then
26794 echo "*** The gtk-config script installed by GTK could not be found"
26795 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26796 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26797 echo "*** full path to gtk-config."
26799 if test -f conf.gtktest
; then
26802 echo "*** Could not run GTK test program, checking why..."
26803 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26804 LIBS
="$LIBS $GTK_LIBS"
26805 cat >conftest.
$ac_ext <<_ACEOF
26808 cat confdefs.h
>>conftest.
$ac_ext
26809 cat >>conftest.
$ac_ext <<_ACEOF
26810 /* end confdefs.h. */
26812 #include <gtk/gtk.h>
26818 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26823 rm -f conftest.
$ac_objext conftest
$ac_exeext
26824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26825 (eval $ac_link) 2>conftest.er1
26827 grep -v '^ *+' conftest.er1
>conftest.err
26829 cat conftest.err
>&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } &&
26832 { ac_try
='test -z "$ac_c_werror_flag"
26833 || test ! -s conftest.err'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; } &&
26839 { ac_try
='test -s conftest$ac_exeext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 echo "*** The test program compiled, but did not run. This usually means"
26846 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26847 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26848 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26849 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26850 echo "*** is required on your system"
26852 echo "*** If you have an old version installed, it is best to remove it, although"
26853 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26855 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26856 echo "*** came with the system with the command"
26858 echo "*** rpm --erase --nodeps gtk gtk-devel"
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.
$ac_ext >&5
26863 echo "*** The test program failed to compile or link. See the file config.log for the"
26864 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26865 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26866 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26868 rm -f conftest.err conftest.
$ac_objext \
26869 conftest
$ac_exeext conftest.
$ac_ext
26870 CFLAGS
="$ac_save_CFLAGS"
26871 LIBS
="$ac_save_LIBS"
26883 if test -z "$wx_cv_lib_gtk"; then
26885 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26886 if test "${with_gtk_prefix+set}" = set; then
26887 withval
="$with_gtk_prefix"
26888 gtk_config_prefix
="$withval"
26890 gtk_config_prefix
=""
26893 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26894 if test "${with_gtk_exec_prefix+set}" = set; then
26895 withval
="$with_gtk_exec_prefix"
26896 gtk_config_exec_prefix
="$withval"
26898 gtk_config_exec_prefix
=""
26900 # Check whether --enable-gtktest or --disable-gtktest was given.
26901 if test "${enable_gtktest+set}" = set; then
26902 enableval
="$enable_gtktest"
26908 for module
in .
$GTK_MODULES
26912 gtk_config_args
="$gtk_config_args gthread"
26917 if test x
$gtk_config_exec_prefix != x
; then
26918 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26919 if test x
${GTK_CONFIG+set} != xset
; then
26920 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26923 if test x
$gtk_config_prefix != x
; then
26924 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26925 if test x
${GTK_CONFIG+set} != xset
; then
26926 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26930 # Extract the first word of "gtk-config", so it can be a program name with args.
26931 set dummy gtk
-config; ac_word
=$2
26932 echo "$as_me:$LINENO: checking for $ac_word" >&5
26933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26934 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26935 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 case $GTK_CONFIG in
26939 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26943 for as_dir
in $PATH
26946 test -z "$as_dir" && as_dir
=.
26947 for ac_exec_ext
in '' $ac_executable_extensions; do
26948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26949 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26956 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26960 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26962 if test -n "$GTK_CONFIG"; then
26963 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26964 echo "${ECHO_T}$GTK_CONFIG" >&6
26966 echo "$as_me:$LINENO: result: no" >&5
26967 echo "${ECHO_T}no" >&6
26970 min_gtk_version
=1.2.3
26971 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26972 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26974 if test "$GTK_CONFIG" = "no" ; then
26977 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26978 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26979 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26981 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26983 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26985 if test "x$enable_gtktest" = "xyes" ; then
26986 ac_save_CFLAGS
="$CFLAGS"
26987 ac_save_LIBS
="$LIBS"
26988 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26989 LIBS
="$GTK_LIBS $LIBS"
26991 if test "$cross_compiling" = yes; then
26992 echo $ac_n "cross compiling; assumed OK... $ac_c"
26994 cat >conftest.
$ac_ext <<_ACEOF
26997 cat confdefs.h
>>conftest.
$ac_ext
26998 cat >>conftest.
$ac_ext <<_ACEOF
26999 /* end confdefs.h. */
27001 #include <gtk/gtk.h>
27003 #include <stdlib.h>
27008 int major, minor, micro;
27011 system ("touch conf.gtktest");
27013 /* HP/UX 9 (%@#!) writes to sscanf strings */
27014 tmp_version = g_strdup("$min_gtk_version");
27015 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
27016 printf("%s, bad version string\n", "$min_gtk_version");
27020 if ((gtk_major_version != $gtk_config_major_version) ||
27021 (gtk_minor_version != $gtk_config_minor_version) ||
27022 (gtk_micro_version != $gtk_config_micro_version))
27024 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27025 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27026 gtk_major_version, gtk_minor_version, gtk_micro_version);
27027 printf ("*** was found! If gtk-config was correct, then it is best\n");
27028 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27029 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27030 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27031 printf("*** required on your system.\n");
27032 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27033 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27034 printf("*** before re-running configure\n");
27036 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27037 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27038 (gtk_minor_version != GTK_MINOR_VERSION) ||
27039 (gtk_micro_version != GTK_MICRO_VERSION))
27041 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27042 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27043 printf("*** library (version %d.%d.%d)\n",
27044 gtk_major_version, gtk_minor_version, gtk_micro_version);
27046 #endif /* defined (GTK_MAJOR_VERSION) ... */
27049 if ((gtk_major_version > major) ||
27050 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27051 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27057 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27058 gtk_major_version, gtk_minor_version, gtk_micro_version);
27059 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27060 major, minor, micro);
27061 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27063 printf("*** If you have already installed a sufficiently new version, this error\n");
27064 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27065 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27066 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27067 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27068 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27069 printf("*** so that the correct libraries are found at run-time))\n");
27076 rm -f conftest
$ac_exeext
27077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27078 (eval $ac_link) 2>&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27089 echo "$as_me: program exited with status $ac_status" >&5
27090 echo "$as_me: failed program was:" >&5
27091 sed 's/^/| /' conftest.
$ac_ext >&5
27093 ( exit $ac_status )
27096 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27098 CFLAGS
="$ac_save_CFLAGS"
27099 LIBS
="$ac_save_LIBS"
27102 if test "x$no_gtk" = x
; then
27103 echo "$as_me:$LINENO: result: yes" >&5
27104 echo "${ECHO_T}yes" >&6
27105 wx_cv_lib_gtk
=1.2.3
27107 echo "$as_me:$LINENO: result: no" >&5
27108 echo "${ECHO_T}no" >&6
27109 if test "$GTK_CONFIG" = "no" ; then
27110 echo "*** The gtk-config script installed by GTK could not be found"
27111 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27112 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27113 echo "*** full path to gtk-config."
27115 if test -f conf.gtktest
; then
27118 echo "*** Could not run GTK test program, checking why..."
27119 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27120 LIBS
="$LIBS $GTK_LIBS"
27121 cat >conftest.
$ac_ext <<_ACEOF
27124 cat confdefs.h
>>conftest.
$ac_ext
27125 cat >>conftest.
$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27128 #include <gtk/gtk.h>
27134 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27139 rm -f conftest.
$ac_objext conftest
$ac_exeext
27140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27141 (eval $ac_link) 2>conftest.er1
27143 grep -v '^ *+' conftest.er1
>conftest.err
27145 cat conftest.err
>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try
='test -z "$ac_c_werror_flag"
27149 || test ! -s conftest.err'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; } &&
27155 { ac_try
='test -s conftest$ac_exeext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 echo "*** The test program compiled, but did not run. This usually means"
27162 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27163 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27164 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27165 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27166 echo "*** is required on your system"
27168 echo "*** If you have an old version installed, it is best to remove it, although"
27169 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27171 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27172 echo "*** came with the system with the command"
27174 echo "*** rpm --erase --nodeps gtk gtk-devel"
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.
$ac_ext >&5
27179 echo "*** The test program failed to compile or link. See the file config.log for the"
27180 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27181 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27182 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27184 rm -f conftest.err conftest.
$ac_objext \
27185 conftest
$ac_exeext conftest.
$ac_ext
27186 CFLAGS
="$ac_save_CFLAGS"
27187 LIBS
="$ac_save_LIBS"
27202 if test -z "$wx_cv_lib_gtk"; then
27205 wx_cv_cflags_gtk
=$GTK_CFLAGS
27206 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27213 if test "$gtk_version_cached" = 1; then
27214 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27215 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27218 case "$wx_cv_lib_gtk" in
27227 *) { { echo "$as_me:$LINENO: error:
27228 The development files for GTK+ were not found. For GTK+ 2, please
27229 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27230 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27231 and that the version is 1.2.3 or above. Also check that the
27232 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27233 --libs' are in the LD_LIBRARY_PATH or equivalent.
27235 echo "$as_me: error:
27236 The development files for GTK+ were not found. For GTK+ 2, please
27237 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27238 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27239 and that the version is 1.2.3 or above. Also check that the
27240 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27241 --libs' are in the LD_LIBRARY_PATH or equivalent.
27243 { (exit 1); exit 1; }; }
27247 if test "$WXGTK20" = 1; then
27248 save_CFLAGS
="$CFLAGS"
27250 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27251 LIBS
="$LIBS $wx_cv_libs_gtk"
27253 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27254 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
27255 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27258 cat >conftest.
$ac_ext <<_ACEOF
27261 cat confdefs.h
>>conftest.
$ac_ext
27262 cat >>conftest.
$ac_ext <<_ACEOF
27263 /* end confdefs.h. */
27264 #include <gtk/gtk.h>
27269 #ifndef gtk_icon_size_lookup
27270 char *p = (char *) gtk_icon_size_lookup;
27277 rm -f conftest.
$ac_objext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27279 (eval $ac_compile) 2>conftest.er1
27281 grep -v '^ *+' conftest.er1
>conftest.err
27283 cat conftest.err
>&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); } &&
27286 { ac_try
='test -z "$ac_c_werror_flag"
27287 || test ! -s conftest.err'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; } &&
27293 { ac_try
='test -s conftest.$ac_objext'
27294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295 (eval $ac_try) 2>&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; }; then
27299 ac_cv_have_decl_gtk_icon_size_lookup
=yes
27301 echo "$as_me: failed program was:" >&5
27302 sed 's/^/| /' conftest.
$ac_ext >&5
27304 ac_cv_have_decl_gtk_icon_size_lookup
=no
27306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27308 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27309 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
27310 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27312 cat >>confdefs.h
<<_ACEOF
27313 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27318 cat >>confdefs.h
<<_ACEOF
27319 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27322 cat >>confdefs.h
<<\_ACEOF
27323 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27331 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27332 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
27333 cat >conftest.
$ac_ext <<_ACEOF
27336 cat confdefs.h
>>conftest.
$ac_ext
27337 cat >>conftest.
$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27340 #include <gtk/gtk.h>
27346 #if !GTK_CHECK_VERSION(2,10,0)
27354 rm -f conftest.
$ac_objext
27355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27356 (eval $ac_compile) 2>conftest.er1
27358 grep -v '^ *+' conftest.er1
>conftest.err
27360 cat conftest.err
>&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try
='test -z "$ac_c_werror_flag"
27364 || test ! -s conftest.err'
27365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 (eval $ac_try) 2>&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); }; } &&
27370 { ac_try
='test -s conftest.$ac_objext'
27371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27372 (eval $ac_try) 2>&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); }; }; then
27377 cat >>confdefs.h
<<\_ACEOF
27378 #define __WXGTK210__ 1
27381 cat >>confdefs.h
<<\_ACEOF
27382 #define __WXGTK26__ 1
27385 cat >>confdefs.h
<<\_ACEOF
27386 #define __WXGTK24__ 1
27389 echo "$as_me:$LINENO: result: yes" >&5
27390 echo "${ECHO_T}yes" >&6
27394 echo "$as_me: failed program was:" >&5
27395 sed 's/^/| /' conftest.
$ac_ext >&5
27398 echo "$as_me:$LINENO: result: no" >&5
27399 echo "${ECHO_T}no" >&6
27403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27405 if test "$ac_wxgtk210" = 0; then
27406 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27407 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27408 cat >conftest.
$ac_ext <<_ACEOF
27411 cat confdefs.h
>>conftest.
$ac_ext
27412 cat >>conftest.
$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27415 #include <gtk/gtk.h>
27421 #if !GTK_CHECK_VERSION(2,6,0)
27429 rm -f conftest.
$ac_objext
27430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27431 (eval $ac_compile) 2>conftest.er1
27433 grep -v '^ *+' conftest.er1
>conftest.err
27435 cat conftest.err
>&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try
='test -z "$ac_c_werror_flag"
27439 || test ! -s conftest.err'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; } &&
27445 { ac_try
='test -s conftest.$ac_objext'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; }; then
27452 cat >>confdefs.h
<<\_ACEOF
27453 #define __WXGTK26__ 1
27456 cat >>confdefs.h
<<\_ACEOF
27457 #define __WXGTK24__ 1
27460 echo "$as_me:$LINENO: result: yes" >&5
27461 echo "${ECHO_T}yes" >&6
27465 echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.
$ac_ext >&5
27469 echo "$as_me:$LINENO: result: no" >&5
27470 echo "${ECHO_T}no" >&6
27474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27477 if test "$ac_wxgtk26" = 0; then
27478 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27479 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27480 cat >conftest.
$ac_ext <<_ACEOF
27483 cat confdefs.h
>>conftest.
$ac_ext
27484 cat >>conftest.
$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27487 #include <gtk/gtk.h>
27493 #if !GTK_CHECK_VERSION(2,4,0)
27501 rm -f conftest.
$ac_objext
27502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27503 (eval $ac_compile) 2>conftest.er1
27505 grep -v '^ *+' conftest.er1
>conftest.err
27507 cat conftest.err
>&5
27508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27509 (exit $ac_status); } &&
27510 { ac_try
='test -z "$ac_c_werror_flag"
27511 || test ! -s conftest.err'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; } &&
27517 { ac_try
='test -s conftest.$ac_objext'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; }; then
27524 cat >>confdefs.h
<<\_ACEOF
27525 #define __WXGTK24__ 1
27528 echo "$as_me:$LINENO: result: yes" >&5
27529 echo "${ECHO_T}yes" >&6
27532 echo "$as_me: failed program was:" >&5
27533 sed 's/^/| /' conftest.
$ac_ext >&5
27536 echo "$as_me:$LINENO: result: no" >&5
27537 echo "${ECHO_T}no" >&6
27540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27543 CFLAGS
="$save_CFLAGS"
27546 if test "$wxUSE_UNICODE" = "yes"; then
27547 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27548 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27552 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27553 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27554 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6
27557 ac_check_lib_save_LIBS
=$LIBS
27559 cat >conftest.
$ac_ext <<_ACEOF
27562 cat confdefs.h
>>conftest.
$ac_ext
27563 cat >>conftest.
$ac_ext <<_ACEOF
27564 /* end confdefs.h. */
27566 /* Override any gcc2 internal prototype to avoid an error. */
27570 /* We use char because int might match the return type of a gcc2
27571 builtin and then its argument prototype would still apply. */
27572 char gdk_im_open ();
27581 rm -f conftest.
$ac_objext conftest
$ac_exeext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27583 (eval $ac_link) 2>conftest.er1
27585 grep -v '^ *+' conftest.er1
>conftest.err
27587 cat conftest.err
>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try
='test -z "$ac_c_werror_flag"
27591 || test ! -s conftest.err'
27592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27593 (eval $ac_try) 2>&5
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); }; } &&
27597 { ac_try
='test -s conftest$ac_exeext'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; }; then
27603 ac_cv_lib_gdk_gdk_im_open
=yes
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.
$ac_ext >&5
27608 ac_cv_lib_gdk_gdk_im_open
=no
27610 rm -f conftest.err conftest.
$ac_objext \
27611 conftest
$ac_exeext conftest.
$ac_ext
27612 LIBS
=$ac_check_lib_save_LIBS
27614 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27615 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27616 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27617 cat >>confdefs.h
<<\_ACEOF
27624 if test "$USE_DARWIN" != 1; then
27626 for ac_func
in poll
27628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27629 echo "$as_me:$LINENO: checking for $ac_func" >&5
27630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27631 if eval "test \"\${$as_ac_var+set}\" = set"; then
27632 echo $ECHO_N "(cached) $ECHO_C" >&6
27634 cat >conftest.
$ac_ext <<_ACEOF
27637 cat confdefs.h
>>conftest.
$ac_ext
27638 cat >>conftest.
$ac_ext <<_ACEOF
27639 /* end confdefs.h. */
27640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27642 #define $ac_func innocuous_$ac_func
27644 /* System header to define __stub macros and hopefully few prototypes,
27645 which can conflict with char $ac_func (); below.
27646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27647 <limits.h> exists even on freestanding compilers. */
27650 # include <limits.h>
27652 # include <assert.h>
27657 /* Override any gcc2 internal prototype to avoid an error. */
27662 /* We use char because int might match the return type of a gcc2
27663 builtin and then its argument prototype would still apply. */
27665 /* The GNU C library defines this for functions which it implements
27666 to always fail with ENOSYS. Some functions are actually named
27667 something starting with __ and the normal name is an alias. */
27668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27671 char (*f) () = $ac_func;
27680 return f != $ac_func;
27685 rm -f conftest.
$ac_objext conftest
$ac_exeext
27686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27687 (eval $ac_link) 2>conftest.er1
27689 grep -v '^ *+' conftest.er1
>conftest.err
27691 cat conftest.err
>&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); } &&
27694 { ac_try
='test -z "$ac_c_werror_flag"
27695 || test ! -s conftest.err'
27696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27697 (eval $ac_try) 2>&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; } &&
27701 { ac_try
='test -s conftest$ac_exeext'
27702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27703 (eval $ac_try) 2>&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); }; }; then
27707 eval "$as_ac_var=yes"
27709 echo "$as_me: failed program was:" >&5
27710 sed 's/^/| /' conftest.
$ac_ext >&5
27712 eval "$as_ac_var=no"
27714 rm -f conftest.err conftest.
$ac_objext \
27715 conftest
$ac_exeext conftest.
$ac_ext
27717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27719 if test `eval echo '${'$as_ac_var'}'` = yes; then
27720 cat >>confdefs.h
<<_ACEOF
27721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27730 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27731 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27733 AFMINSTALL
=afminstall
27737 if test "$wxUSE_GPE" = "yes"; then
27738 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27739 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27742 for ac_dir
in $SEARCH_LIB;
27744 for ac_extension
in a so sl dylib dll.a
; do
27745 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27746 ac_find_libraries
=$ac_dir
27752 if test "$ac_find_libraries" != "" ; then
27754 if test "$ac_find_libraries" = "default location"; then
27757 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27759 if test $result = 0; then
27762 ac_path_to_link
=" -L$ac_find_libraries"
27766 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27768 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27769 echo "${ECHO_T}found in $ac_find_libraries" >&6
27771 echo "$as_me:$LINENO: result: not found" >&5
27772 echo "${ECHO_T}not found" >&6
27778 if test "$wxUSE_MGL" = 1; then
27779 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27780 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27781 if test "x$MGL_ROOT" = x
; then
27782 echo "$as_me:$LINENO: result: not found" >&5
27783 echo "${ECHO_T}not found" >&6
27784 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27785 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27786 { (exit 1); exit 1; }; }
27788 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27789 echo "${ECHO_T}$MGL_ROOT" >&6
27792 echo "$as_me:$LINENO: checking for libmgl location" >&5
27793 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27796 if test "x$wxUSE_SHARED" = xyes
; then
27797 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27799 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27803 mgl_os_candidates
="dos32/dj2"
27806 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27807 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27808 { (exit 1); exit 1; }; }
27814 for mgl_os_i
in $mgl_os_candidates ; do
27815 if test "x$mgl_os" = x
; then
27816 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27817 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27818 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27823 if test "x$mgl_lib_type" = x
; then
27824 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27825 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27826 mgl_lib_type
=release
27833 if test "x$mgl_os" = x
; then
27834 echo "$as_me:$LINENO: result: not found" >&5
27835 echo "${ECHO_T}not found" >&6
27836 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27837 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27838 { (exit 1); exit 1; }; }
27840 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27841 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27843 wxUSE_UNIVERSAL
="yes"
27845 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27846 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27848 AFMINSTALL
=afminstall
27853 if test "$wxUSE_DFB" = 1; then
27856 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27857 if test -n "$ac_tool_prefix"; then
27858 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27859 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27860 echo "$as_me:$LINENO: checking for $ac_word" >&5
27861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27862 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27865 case $PKG_CONFIG in
27867 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27871 for as_dir
in $PATH
27874 test -z "$as_dir" && as_dir
=.
27875 for ac_exec_ext
in '' $ac_executable_extensions; do
27876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27877 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27887 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27889 if test -n "$PKG_CONFIG"; then
27890 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27891 echo "${ECHO_T}$PKG_CONFIG" >&6
27893 echo "$as_me:$LINENO: result: no" >&5
27894 echo "${ECHO_T}no" >&6
27898 if test -z "$ac_cv_path_PKG_CONFIG"; then
27899 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27900 # Extract the first word of "pkg-config", so it can be a program name with args.
27901 set dummy pkg
-config; ac_word
=$2
27902 echo "$as_me:$LINENO: checking for $ac_word" >&5
27903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27904 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 case $ac_pt_PKG_CONFIG in
27909 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27913 for as_dir
in $PATH
27916 test -z "$as_dir" && as_dir
=.
27917 for ac_exec_ext
in '' $ac_executable_extensions; do
27918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27919 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27929 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27931 if test -n "$ac_pt_PKG_CONFIG"; then
27932 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
27933 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
27935 echo "$as_me:$LINENO: result: no" >&5
27936 echo "${ECHO_T}no" >&6
27939 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27941 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27945 if test -n "$PKG_CONFIG"; then
27946 _pkg_min_version
=0.9.0
27947 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
27948 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
27949 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27950 echo "$as_me:$LINENO: result: yes" >&5
27951 echo "${ECHO_T}yes" >&6
27953 echo "$as_me:$LINENO: result: no" >&5
27954 echo "${ECHO_T}no" >&6
27962 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
27963 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
27965 if test -n "$PKG_CONFIG"; then
27966 if test -n "$DIRECTFB_CFLAGS"; then
27967 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
27969 if test -n "$PKG_CONFIG" && \
27970 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27971 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; then
27975 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
27983 if test -n "$PKG_CONFIG"; then
27984 if test -n "$DIRECTFB_LIBS"; then
27985 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
27987 if test -n "$PKG_CONFIG" && \
27988 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27989 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); }; then
27993 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28004 if test $pkg_failed = yes; then
28006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28007 _pkg_short_errors_supported
=yes
28009 _pkg_short_errors_supported
=no
28011 if test $_pkg_short_errors_supported = yes; then
28012 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28014 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28016 # Put the nasty error message in config.log where it belongs
28017 echo "$DIRECTFB_PKG_ERRORS" >&5
28020 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28021 echo "$as_me: error: DirectFB not found." >&2;}
28022 { (exit 1); exit 1; }; }
28025 elif test $pkg_failed = untried
; then
28027 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28028 echo "$as_me: error: DirectFB not found." >&2;}
28029 { (exit 1); exit 1; }; }
28033 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
28034 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
28035 echo "$as_me:$LINENO: result: yes" >&5
28036 echo "${ECHO_T}yes" >&6
28038 wxUSE_UNIVERSAL
="yes"
28039 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
28040 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
28047 if test "$wxUSE_MICROWIN" = 1; then
28048 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28049 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28050 if test "x$MICROWINDOWS" = x
; then
28051 echo "$as_me:$LINENO: result: not found" >&5
28052 echo "${ECHO_T}not found" >&6
28053 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28054 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28055 { (exit 1); exit 1; }; }
28057 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28058 echo "${ECHO_T}$MICROWINDOWS" >&6
28061 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
28062 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28063 echo "${ECHO_T}MicroWindows' libraries found." >&6
28065 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28066 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28067 { (exit 1); exit 1; }; }
28070 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
28071 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28073 wxUSE_UNIVERSAL
="yes"
28075 AFMINSTALL
=afminstall
28077 GUIDIST
=MICROWIN_DIST
28079 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28082 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28083 echo "$as_me:$LINENO: checking for X" >&5
28084 echo $ECHO_N "checking for X... $ECHO_C" >&6
28087 # Check whether --with-x or --without-x was given.
28088 if test "${with_x+set}" = set; then
28092 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28093 if test "x$with_x" = xno
; then
28094 # The user explicitly disabled X.
28097 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
28098 # Both variables are already set.
28101 if test "${ac_cv_have_x+set}" = set; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28104 # One or both of the vars are not set, and there is no cached value.
28105 ac_x_includes
=no ac_x_libraries
=no
28106 rm -fr conftest.dir
28107 if mkdir conftest.dir
; then
28109 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28110 cat >Imakefile
<<'_ACEOF'
28112 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28114 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
28115 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28116 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28117 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28118 for ac_extension
in a so sl
; do
28119 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
28120 test -f $ac_im_libdir/libX11.
$ac_extension; then
28121 ac_im_usrlibdir
=$ac_im_libdir; break
28124 # Screen out bogus values from the imake configuration. They are
28125 # bogus both because they are the default anyway, and because
28126 # using them would break gcc on systems where it needs fixed includes.
28127 case $ac_im_incroot in
28129 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
28131 case $ac_im_usrlibdir in
28132 /usr
/lib
| /lib
) ;;
28133 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
28137 rm -fr conftest.dir
28140 # Standard set of common directories for X headers.
28141 # Check X11 before X11Rn because it is often a symlink to the current release.
28153 /usr/local/X11/include
28154 /usr/local/X11R6/include
28155 /usr/local/X11R5/include
28156 /usr/local/X11R4/include
28158 /usr/local/include/X11
28159 /usr/local/include/X11R6
28160 /usr/local/include/X11R5
28161 /usr/local/include/X11R4
28165 /usr/XFree86/include/X11
28169 /usr/unsupported/include
28170 /usr/athena/include
28171 /usr/local/x11r5/include
28172 /usr/lpp/Xamples/include
28174 /usr/openwin/include
28175 /usr/openwin/share/include'
28177 if test "$ac_x_includes" = no
; then
28178 # Guess where to find include files, by looking for Intrinsic.h.
28179 # First, try using that file with no special directory specified.
28180 cat >conftest.
$ac_ext <<_ACEOF
28183 cat confdefs.h
>>conftest.
$ac_ext
28184 cat >>conftest.
$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28186 #include <X11/Intrinsic.h>
28188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28191 grep -v '^ *+' conftest.er1
>conftest.err
28193 cat conftest.err
>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } >/dev
/null
; then
28196 if test -s conftest.err
; then
28197 ac_cpp_err
=$ac_c_preproc_warn_flag
28198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28205 if test -z "$ac_cpp_err"; then
28206 # We can compile using X headers with no special include directory.
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.
$ac_ext >&5
28212 for ac_dir
in $ac_x_header_dirs; do
28213 if test -r "$ac_dir/X11/Intrinsic.h"; then
28214 ac_x_includes
=$ac_dir
28219 rm -f conftest.err conftest.
$ac_ext
28220 fi # $ac_x_includes = no
28222 if test "$ac_x_libraries" = no
; then
28223 # Check for the libraries.
28224 # See if we find them without any special options.
28225 # Don't add to $LIBS permanently.
28228 cat >conftest.
$ac_ext <<_ACEOF
28231 cat confdefs.h
>>conftest.
$ac_ext
28232 cat >>conftest.
$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28234 #include <X11/Intrinsic.h>
28243 rm -f conftest.
$ac_objext conftest
$ac_exeext
28244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28245 (eval $ac_link) 2>conftest.er1
28247 grep -v '^ *+' conftest.er1
>conftest.err
28249 cat conftest.err
>&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); } &&
28252 { ac_try
='test -z "$ac_c_werror_flag"
28253 || test ! -s conftest.err'
28254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28255 (eval $ac_try) 2>&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); }; } &&
28259 { ac_try
='test -s conftest$ac_exeext'
28260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28261 (eval $ac_try) 2>&5
28263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28264 (exit $ac_status); }; }; then
28266 # We can link X programs with no special library path.
28269 echo "$as_me: failed program was:" >&5
28270 sed 's/^/| /' conftest.
$ac_ext >&5
28273 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28275 # Don't even attempt the hair of trying to link an X program!
28276 for ac_extension
in a so sl
; do
28277 if test -r $ac_dir/libXt.
$ac_extension; then
28278 ac_x_libraries
=$ac_dir
28284 rm -f conftest.err conftest.
$ac_objext \
28285 conftest
$ac_exeext conftest.
$ac_ext
28286 fi # $ac_x_libraries = no
28288 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
28289 # Didn't find X anywhere. Cache the known absence of X.
28290 ac_cv_have_x
="have_x=no"
28292 # Record where we found X for the cache.
28293 ac_cv_have_x
="have_x=yes \
28294 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28299 eval "$ac_cv_have_x"
28302 if test "$have_x" != yes; then
28303 echo "$as_me:$LINENO: result: $have_x" >&5
28304 echo "${ECHO_T}$have_x" >&6
28307 # If each of the values was on the command line, it overrides each guess.
28308 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
28309 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
28310 # Update the cache value to reflect the command line values.
28311 ac_cv_have_x
="have_x=yes \
28312 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28313 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28314 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28317 if test "$no_x" = yes; then
28318 # Not all programs may use this symbol, but it does not hurt to define it.
28320 cat >>confdefs.h
<<\_ACEOF
28321 #define X_DISPLAY_MISSING 1
28324 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
28326 if test -n "$x_includes"; then
28327 X_CFLAGS
="$X_CFLAGS -I$x_includes"
28330 # It would also be nice to do this for all -L options, not just this one.
28331 if test -n "$x_libraries"; then
28332 X_LIBS
="$X_LIBS -L$x_libraries"
28333 # For Solaris; some versions of Sun CC require a space after -R and
28334 # others require no space. Words are not sufficient . . . .
28335 case `(uname -sr) 2>/dev/null` in
28337 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28338 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28339 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
28340 cat >conftest.
$ac_ext <<_ACEOF
28343 cat confdefs.h
>>conftest.
$ac_ext
28344 cat >>conftest.
$ac_ext <<_ACEOF
28345 /* end confdefs.h. */
28355 rm -f conftest.
$ac_objext conftest
$ac_exeext
28356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28357 (eval $ac_link) 2>conftest.er1
28359 grep -v '^ *+' conftest.er1
>conftest.err
28361 cat conftest.err
>&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); } &&
28364 { ac_try
='test -z "$ac_c_werror_flag"
28365 || test ! -s conftest.err'
28366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367 (eval $ac_try) 2>&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); }; } &&
28371 { ac_try
='test -s conftest$ac_exeext'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; }; then
28379 echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.
$ac_ext >&5
28384 rm -f conftest.err conftest.
$ac_objext \
28385 conftest
$ac_exeext conftest.
$ac_ext
28386 if test $ac_R_nospace = yes; then
28387 echo "$as_me:$LINENO: result: no" >&5
28388 echo "${ECHO_T}no" >&6
28389 X_LIBS
="$X_LIBS -R$x_libraries"
28391 LIBS
="$ac_xsave_LIBS -R $x_libraries"
28392 cat >conftest.
$ac_ext <<_ACEOF
28395 cat confdefs.h
>>conftest.
$ac_ext
28396 cat >>conftest.
$ac_ext <<_ACEOF
28397 /* end confdefs.h. */
28407 rm -f conftest.
$ac_objext conftest
$ac_exeext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28409 (eval $ac_link) 2>conftest.er1
28411 grep -v '^ *+' conftest.er1
>conftest.err
28413 cat conftest.err
>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); } &&
28416 { ac_try
='test -z "$ac_c_werror_flag"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try
='test -s conftest$ac_exeext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.
$ac_ext >&5
28436 rm -f conftest.err conftest.
$ac_objext \
28437 conftest
$ac_exeext conftest.
$ac_ext
28438 if test $ac_R_space = yes; then
28439 echo "$as_me:$LINENO: result: yes" >&5
28440 echo "${ECHO_T}yes" >&6
28441 X_LIBS
="$X_LIBS -R $x_libraries"
28443 echo "$as_me:$LINENO: result: neither works" >&5
28444 echo "${ECHO_T}neither works" >&6
28447 LIBS
=$ac_xsave_LIBS
28451 # Check for system-dependent libraries X programs must link with.
28452 # Do this before checking for the system-independent R6 libraries
28453 # (-lICE), since we may need -lsocket or whatever for X linking.
28455 if test "$ISC" = yes; then
28456 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28458 # Martyn Johnson says this is needed for Ultrix, if the X
28459 # libraries were built with DECnet support. And Karl Berry says
28460 # the Alpha needs dnet_stub (dnet does not exist).
28461 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28462 cat >conftest.
$ac_ext <<_ACEOF
28465 cat confdefs.h
>>conftest.
$ac_ext
28466 cat >>conftest.
$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28469 /* Override any gcc2 internal prototype to avoid an error. */
28473 /* We use char because int might match the return type of a gcc2
28474 builtin and then its argument prototype would still apply. */
28475 char XOpenDisplay ();
28484 rm -f conftest.
$ac_objext conftest
$ac_exeext
28485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28486 (eval $ac_link) 2>conftest.er1
28488 grep -v '^ *+' conftest.er1
>conftest.err
28490 cat conftest.err
>&5
28491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492 (exit $ac_status); } &&
28493 { ac_try
='test -z "$ac_c_werror_flag"
28494 || test ! -s conftest.err'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; } &&
28500 { ac_try
='test -s conftest$ac_exeext'
28501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28502 (eval $ac_try) 2>&5
28504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28505 (exit $ac_status); }; }; then
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.
$ac_ext >&5
28511 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28512 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28513 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28514 echo $ECHO_N "(cached) $ECHO_C" >&6
28516 ac_check_lib_save_LIBS
=$LIBS
28517 LIBS
="-ldnet $LIBS"
28518 cat >conftest.
$ac_ext <<_ACEOF
28521 cat confdefs.h
>>conftest.
$ac_ext
28522 cat >>conftest.
$ac_ext <<_ACEOF
28523 /* end confdefs.h. */
28525 /* Override any gcc2 internal prototype to avoid an error. */
28529 /* We use char because int might match the return type of a gcc2
28530 builtin and then its argument prototype would still apply. */
28540 rm -f conftest.
$ac_objext conftest
$ac_exeext
28541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28542 (eval $ac_link) 2>conftest.er1
28544 grep -v '^ *+' conftest.er1
>conftest.err
28546 cat conftest.err
>&5
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); } &&
28549 { ac_try
='test -z "$ac_c_werror_flag"
28550 || test ! -s conftest.err'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; } &&
28556 { ac_try
='test -s conftest$ac_exeext'
28557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28558 (eval $ac_try) 2>&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); }; }; then
28562 ac_cv_lib_dnet_dnet_ntoa
=yes
28564 echo "$as_me: failed program was:" >&5
28565 sed 's/^/| /' conftest.
$ac_ext >&5
28567 ac_cv_lib_dnet_dnet_ntoa
=no
28569 rm -f conftest.err conftest.
$ac_objext \
28570 conftest
$ac_exeext conftest.
$ac_ext
28571 LIBS
=$ac_check_lib_save_LIBS
28573 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28574 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28575 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28576 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28579 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28580 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28581 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28582 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28583 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 ac_check_lib_save_LIBS
=$LIBS
28586 LIBS
="-ldnet_stub $LIBS"
28587 cat >conftest.
$ac_ext <<_ACEOF
28590 cat confdefs.h
>>conftest.
$ac_ext
28591 cat >>conftest.
$ac_ext <<_ACEOF
28592 /* end confdefs.h. */
28594 /* Override any gcc2 internal prototype to avoid an error. */
28598 /* We use char because int might match the return type of a gcc2
28599 builtin and then its argument prototype would still apply. */
28609 rm -f conftest.
$ac_objext conftest
$ac_exeext
28610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28611 (eval $ac_link) 2>conftest.er1
28613 grep -v '^ *+' conftest.er1
>conftest.err
28615 cat conftest.err
>&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); } &&
28618 { ac_try
='test -z "$ac_c_werror_flag"
28619 || test ! -s conftest.err'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; } &&
28625 { ac_try
='test -s conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.
$ac_ext >&5
28636 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28638 rm -f conftest.err conftest.
$ac_objext \
28639 conftest
$ac_exeext conftest.
$ac_ext
28640 LIBS
=$ac_check_lib_save_LIBS
28642 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28643 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28644 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28645 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28650 rm -f conftest.err conftest.
$ac_objext \
28651 conftest
$ac_exeext conftest.
$ac_ext
28652 LIBS
="$ac_xsave_LIBS"
28654 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28655 # to get the SysV transport functions.
28656 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28658 # The nsl library prevents programs from opening the X display
28659 # on Irix 5.2, according to T.E. Dickey.
28660 # The functions gethostbyname, getservbyname, and inet_addr are
28661 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28662 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28663 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28664 if test "${ac_cv_func_gethostbyname+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28667 cat >conftest.
$ac_ext <<_ACEOF
28670 cat confdefs.h
>>conftest.
$ac_ext
28671 cat >>conftest.
$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28675 #define gethostbyname innocuous_gethostbyname
28677 /* System header to define __stub macros and hopefully few prototypes,
28678 which can conflict with char gethostbyname (); below.
28679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28680 <limits.h> exists even on freestanding compilers. */
28683 # include <limits.h>
28685 # include <assert.h>
28688 #undef gethostbyname
28690 /* Override any gcc2 internal prototype to avoid an error. */
28695 /* We use char because int might match the return type of a gcc2
28696 builtin and then its argument prototype would still apply. */
28697 char gethostbyname ();
28698 /* The GNU C library defines this for functions which it implements
28699 to always fail with ENOSYS. Some functions are actually named
28700 something starting with __ and the normal name is an alias. */
28701 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28704 char (*f) () = gethostbyname;
28713 return f != gethostbyname;
28718 rm -f conftest.
$ac_objext conftest
$ac_exeext
28719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28720 (eval $ac_link) 2>conftest.er1
28722 grep -v '^ *+' conftest.er1
>conftest.err
28724 cat conftest.err
>&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); } &&
28727 { ac_try
='test -z "$ac_c_werror_flag"
28728 || test ! -s conftest.err'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; } &&
28734 { ac_try
='test -s conftest$ac_exeext'
28735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28736 (eval $ac_try) 2>&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); }; }; then
28740 ac_cv_func_gethostbyname
=yes
28742 echo "$as_me: failed program was:" >&5
28743 sed 's/^/| /' conftest.
$ac_ext >&5
28745 ac_cv_func_gethostbyname
=no
28747 rm -f conftest.err conftest.
$ac_objext \
28748 conftest
$ac_exeext conftest.
$ac_ext
28750 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28751 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28753 if test $ac_cv_func_gethostbyname = no
; then
28754 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28755 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28756 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28757 echo $ECHO_N "(cached) $ECHO_C" >&6
28759 ac_check_lib_save_LIBS
=$LIBS
28761 cat >conftest.
$ac_ext <<_ACEOF
28764 cat confdefs.h
>>conftest.
$ac_ext
28765 cat >>conftest.
$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28768 /* Override any gcc2 internal prototype to avoid an error. */
28772 /* We use char because int might match the return type of a gcc2
28773 builtin and then its argument prototype would still apply. */
28774 char gethostbyname ();
28783 rm -f conftest.
$ac_objext conftest
$ac_exeext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28785 (eval $ac_link) 2>conftest.er1
28787 grep -v '^ *+' conftest.er1
>conftest.err
28789 cat conftest.err
>&5
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } &&
28792 { ac_try
='test -z "$ac_c_werror_flag"
28793 || test ! -s conftest.err'
28794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28795 (eval $ac_try) 2>&5
28797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28798 (exit $ac_status); }; } &&
28799 { ac_try
='test -s conftest$ac_exeext'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; }; then
28805 ac_cv_lib_nsl_gethostbyname
=yes
28807 echo "$as_me: failed program was:" >&5
28808 sed 's/^/| /' conftest.
$ac_ext >&5
28810 ac_cv_lib_nsl_gethostbyname
=no
28812 rm -f conftest.err conftest.
$ac_objext \
28813 conftest
$ac_exeext conftest.
$ac_ext
28814 LIBS
=$ac_check_lib_save_LIBS
28816 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28817 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28818 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28819 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28822 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28823 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28824 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28825 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28826 echo $ECHO_N "(cached) $ECHO_C" >&6
28828 ac_check_lib_save_LIBS
=$LIBS
28830 cat >conftest.
$ac_ext <<_ACEOF
28833 cat confdefs.h
>>conftest.
$ac_ext
28834 cat >>conftest.
$ac_ext <<_ACEOF
28835 /* end confdefs.h. */
28837 /* Override any gcc2 internal prototype to avoid an error. */
28841 /* We use char because int might match the return type of a gcc2
28842 builtin and then its argument prototype would still apply. */
28843 char gethostbyname ();
28852 rm -f conftest.
$ac_objext conftest
$ac_exeext
28853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28854 (eval $ac_link) 2>conftest.er1
28856 grep -v '^ *+' conftest.er1
>conftest.err
28858 cat conftest.err
>&5
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); } &&
28861 { ac_try
='test -z "$ac_c_werror_flag"
28862 || test ! -s conftest.err'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; } &&
28868 { ac_try
='test -s conftest$ac_exeext'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; }; then
28874 ac_cv_lib_bsd_gethostbyname
=yes
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.
$ac_ext >&5
28879 ac_cv_lib_bsd_gethostbyname
=no
28881 rm -f conftest.err conftest.
$ac_objext \
28882 conftest
$ac_exeext conftest.
$ac_ext
28883 LIBS
=$ac_check_lib_save_LIBS
28885 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28886 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28887 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28888 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28894 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28895 # socket/setsockopt and other routines are undefined under SCO ODT
28896 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28897 # on later versions), says Simon Leinen: it contains gethostby*
28898 # variants that don't use the name server (or something). -lsocket
28899 # must be given before -lnsl if both are needed. We assume that
28900 # if connect needs -lnsl, so does gethostbyname.
28901 echo "$as_me:$LINENO: checking for connect" >&5
28902 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28903 if test "${ac_cv_func_connect+set}" = set; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28906 cat >conftest.
$ac_ext <<_ACEOF
28909 cat confdefs.h
>>conftest.
$ac_ext
28910 cat >>conftest.
$ac_ext <<_ACEOF
28911 /* end confdefs.h. */
28912 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28914 #define connect innocuous_connect
28916 /* System header to define __stub macros and hopefully few prototypes,
28917 which can conflict with char connect (); below.
28918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28919 <limits.h> exists even on freestanding compilers. */
28922 # include <limits.h>
28924 # include <assert.h>
28929 /* Override any gcc2 internal prototype to avoid an error. */
28934 /* We use char because int might match the return type of a gcc2
28935 builtin and then its argument prototype would still apply. */
28937 /* The GNU C library defines this for functions which it implements
28938 to always fail with ENOSYS. Some functions are actually named
28939 something starting with __ and the normal name is an alias. */
28940 #if defined (__stub_connect) || defined (__stub___connect)
28943 char (*f) () = connect;
28952 return f != connect;
28957 rm -f conftest.
$ac_objext conftest
$ac_exeext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28959 (eval $ac_link) 2>conftest.er1
28961 grep -v '^ *+' conftest.er1
>conftest.err
28963 cat conftest.err
>&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try
='test -z "$ac_c_werror_flag"
28967 || test ! -s conftest.err'
28968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28969 (eval $ac_try) 2>&5
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); }; } &&
28973 { ac_try
='test -s conftest$ac_exeext'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; }; then
28979 ac_cv_func_connect
=yes
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.
$ac_ext >&5
28984 ac_cv_func_connect
=no
28986 rm -f conftest.err conftest.
$ac_objext \
28987 conftest
$ac_exeext conftest.
$ac_ext
28989 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28990 echo "${ECHO_T}$ac_cv_func_connect" >&6
28992 if test $ac_cv_func_connect = no
; then
28993 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28994 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28995 if test "${ac_cv_lib_socket_connect+set}" = set; then
28996 echo $ECHO_N "(cached) $ECHO_C" >&6
28998 ac_check_lib_save_LIBS
=$LIBS
28999 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
29000 cat >conftest.
$ac_ext <<_ACEOF
29003 cat confdefs.h
>>conftest.
$ac_ext
29004 cat >>conftest.
$ac_ext <<_ACEOF
29005 /* end confdefs.h. */
29007 /* Override any gcc2 internal prototype to avoid an error. */
29011 /* We use char because int might match the return type of a gcc2
29012 builtin and then its argument prototype would still apply. */
29022 rm -f conftest.
$ac_objext conftest
$ac_exeext
29023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29024 (eval $ac_link) 2>conftest.er1
29026 grep -v '^ *+' conftest.er1
>conftest.err
29028 cat conftest.err
>&5
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); } &&
29031 { ac_try
='test -z "$ac_c_werror_flag"
29032 || test ! -s conftest.err'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; } &&
29038 { ac_try
='test -s conftest$ac_exeext'
29039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29040 (eval $ac_try) 2>&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); }; }; then
29044 ac_cv_lib_socket_connect
=yes
29046 echo "$as_me: failed program was:" >&5
29047 sed 's/^/| /' conftest.
$ac_ext >&5
29049 ac_cv_lib_socket_connect
=no
29051 rm -f conftest.err conftest.
$ac_objext \
29052 conftest
$ac_exeext conftest.
$ac_ext
29053 LIBS
=$ac_check_lib_save_LIBS
29055 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29056 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29057 if test $ac_cv_lib_socket_connect = yes; then
29058 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
29063 # Guillermo Gomez says -lposix is necessary on A/UX.
29064 echo "$as_me:$LINENO: checking for remove" >&5
29065 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29066 if test "${ac_cv_func_remove+set}" = set; then
29067 echo $ECHO_N "(cached) $ECHO_C" >&6
29069 cat >conftest.
$ac_ext <<_ACEOF
29072 cat confdefs.h
>>conftest.
$ac_ext
29073 cat >>conftest.
$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29077 #define remove innocuous_remove
29079 /* System header to define __stub macros and hopefully few prototypes,
29080 which can conflict with char remove (); below.
29081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29082 <limits.h> exists even on freestanding compilers. */
29085 # include <limits.h>
29087 # include <assert.h>
29092 /* Override any gcc2 internal prototype to avoid an error. */
29097 /* We use char because int might match the return type of a gcc2
29098 builtin and then its argument prototype would still apply. */
29100 /* The GNU C library defines this for functions which it implements
29101 to always fail with ENOSYS. Some functions are actually named
29102 something starting with __ and the normal name is an alias. */
29103 #if defined (__stub_remove) || defined (__stub___remove)
29106 char (*f) () = remove;
29115 return f != remove;
29120 rm -f conftest.
$ac_objext conftest
$ac_exeext
29121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29122 (eval $ac_link) 2>conftest.er1
29124 grep -v '^ *+' conftest.er1
>conftest.err
29126 cat conftest.err
>&5
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); } &&
29129 { ac_try
='test -z "$ac_c_werror_flag"
29130 || test ! -s conftest.err'
29131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29132 (eval $ac_try) 2>&5
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); }; } &&
29136 { ac_try
='test -s conftest$ac_exeext'
29137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29138 (eval $ac_try) 2>&5
29140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141 (exit $ac_status); }; }; then
29142 ac_cv_func_remove
=yes
29144 echo "$as_me: failed program was:" >&5
29145 sed 's/^/| /' conftest.
$ac_ext >&5
29147 ac_cv_func_remove
=no
29149 rm -f conftest.err conftest.
$ac_objext \
29150 conftest
$ac_exeext conftest.
$ac_ext
29152 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29153 echo "${ECHO_T}$ac_cv_func_remove" >&6
29155 if test $ac_cv_func_remove = no
; then
29156 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29157 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29158 if test "${ac_cv_lib_posix_remove+set}" = set; then
29159 echo $ECHO_N "(cached) $ECHO_C" >&6
29161 ac_check_lib_save_LIBS
=$LIBS
29162 LIBS
="-lposix $LIBS"
29163 cat >conftest.
$ac_ext <<_ACEOF
29166 cat confdefs.h
>>conftest.
$ac_ext
29167 cat >>conftest.
$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29170 /* Override any gcc2 internal prototype to avoid an error. */
29174 /* We use char because int might match the return type of a gcc2
29175 builtin and then its argument prototype would still apply. */
29185 rm -f conftest.
$ac_objext conftest
$ac_exeext
29186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29187 (eval $ac_link) 2>conftest.er1
29189 grep -v '^ *+' conftest.er1
>conftest.err
29191 cat conftest.err
>&5
29192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29193 (exit $ac_status); } &&
29194 { ac_try
='test -z "$ac_c_werror_flag"
29195 || test ! -s conftest.err'
29196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29197 (eval $ac_try) 2>&5
29199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200 (exit $ac_status); }; } &&
29201 { ac_try
='test -s conftest$ac_exeext'
29202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29203 (eval $ac_try) 2>&5
29205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29206 (exit $ac_status); }; }; then
29207 ac_cv_lib_posix_remove
=yes
29209 echo "$as_me: failed program was:" >&5
29210 sed 's/^/| /' conftest.
$ac_ext >&5
29212 ac_cv_lib_posix_remove
=no
29214 rm -f conftest.err conftest.
$ac_objext \
29215 conftest
$ac_exeext conftest.
$ac_ext
29216 LIBS
=$ac_check_lib_save_LIBS
29218 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29219 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29220 if test $ac_cv_lib_posix_remove = yes; then
29221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
29226 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29227 echo "$as_me:$LINENO: checking for shmat" >&5
29228 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29229 if test "${ac_cv_func_shmat+set}" = set; then
29230 echo $ECHO_N "(cached) $ECHO_C" >&6
29232 cat >conftest.
$ac_ext <<_ACEOF
29235 cat confdefs.h
>>conftest.
$ac_ext
29236 cat >>conftest.
$ac_ext <<_ACEOF
29237 /* end confdefs.h. */
29238 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29240 #define shmat innocuous_shmat
29242 /* System header to define __stub macros and hopefully few prototypes,
29243 which can conflict with char shmat (); below.
29244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29245 <limits.h> exists even on freestanding compilers. */
29248 # include <limits.h>
29250 # include <assert.h>
29255 /* Override any gcc2 internal prototype to avoid an error. */
29260 /* We use char because int might match the return type of a gcc2
29261 builtin and then its argument prototype would still apply. */
29263 /* The GNU C library defines this for functions which it implements
29264 to always fail with ENOSYS. Some functions are actually named
29265 something starting with __ and the normal name is an alias. */
29266 #if defined (__stub_shmat) || defined (__stub___shmat)
29269 char (*f) () = shmat;
29283 rm -f conftest.
$ac_objext conftest
$ac_exeext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29285 (eval $ac_link) 2>conftest.er1
29287 grep -v '^ *+' conftest.er1
>conftest.err
29289 cat conftest.err
>&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try
='test -z "$ac_c_werror_flag"
29293 || test ! -s conftest.err'
29294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 (eval $ac_try) 2>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); }; } &&
29299 { ac_try
='test -s conftest$ac_exeext'
29300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29301 (eval $ac_try) 2>&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29305 ac_cv_func_shmat
=yes
29307 echo "$as_me: failed program was:" >&5
29308 sed 's/^/| /' conftest.
$ac_ext >&5
29310 ac_cv_func_shmat
=no
29312 rm -f conftest.err conftest.
$ac_objext \
29313 conftest
$ac_exeext conftest.
$ac_ext
29315 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29316 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29318 if test $ac_cv_func_shmat = no
; then
29319 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29320 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29321 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 ac_check_lib_save_LIBS
=$LIBS
29326 cat >conftest.
$ac_ext <<_ACEOF
29329 cat confdefs.h
>>conftest.
$ac_ext
29330 cat >>conftest.
$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29333 /* Override any gcc2 internal prototype to avoid an error. */
29337 /* We use char because int might match the return type of a gcc2
29338 builtin and then its argument prototype would still apply. */
29348 rm -f conftest.
$ac_objext conftest
$ac_exeext
29349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29350 (eval $ac_link) 2>conftest.er1
29352 grep -v '^ *+' conftest.er1
>conftest.err
29354 cat conftest.err
>&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } &&
29357 { ac_try
='test -z "$ac_c_werror_flag"
29358 || test ! -s conftest.err'
29359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29360 (eval $ac_try) 2>&5
29362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29363 (exit $ac_status); }; } &&
29364 { ac_try
='test -s conftest$ac_exeext'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; }; then
29370 ac_cv_lib_ipc_shmat
=yes
29372 echo "$as_me: failed program was:" >&5
29373 sed 's/^/| /' conftest.
$ac_ext >&5
29375 ac_cv_lib_ipc_shmat
=no
29377 rm -f conftest.err conftest.
$ac_objext \
29378 conftest
$ac_exeext conftest.
$ac_ext
29379 LIBS
=$ac_check_lib_save_LIBS
29381 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29382 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29383 if test $ac_cv_lib_ipc_shmat = yes; then
29384 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
29390 # Check for libraries that X11R6 Xt/Xaw programs need.
29391 ac_save_LDFLAGS
=$LDFLAGS
29392 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
29393 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29394 # check for ICE first), but we must link in the order -lSM -lICE or
29395 # we get undefined symbols. So assume we have SM if we have ICE.
29396 # These have to be linked with before -lX11, unlike the other
29397 # libraries we check for below, so use a different variable.
29398 # John Interrante, Karl Berry
29399 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29400 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29401 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29402 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 ac_check_lib_save_LIBS
=$LIBS
29405 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
29406 cat >conftest.
$ac_ext <<_ACEOF
29409 cat confdefs.h
>>conftest.
$ac_ext
29410 cat >>conftest.
$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29413 /* Override any gcc2 internal prototype to avoid an error. */
29417 /* We use char because int might match the return type of a gcc2
29418 builtin and then its argument prototype would still apply. */
29419 char IceConnectionNumber ();
29423 IceConnectionNumber ();
29428 rm -f conftest.
$ac_objext conftest
$ac_exeext
29429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29430 (eval $ac_link) 2>conftest.er1
29432 grep -v '^ *+' conftest.er1
>conftest.err
29434 cat conftest.err
>&5
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); } &&
29437 { ac_try
='test -z "$ac_c_werror_flag"
29438 || test ! -s conftest.err'
29439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29440 (eval $ac_try) 2>&5
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; } &&
29444 { ac_try
='test -s conftest$ac_exeext'
29445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29446 (eval $ac_try) 2>&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); }; }; then
29450 ac_cv_lib_ICE_IceConnectionNumber
=yes
29452 echo "$as_me: failed program was:" >&5
29453 sed 's/^/| /' conftest.
$ac_ext >&5
29455 ac_cv_lib_ICE_IceConnectionNumber
=no
29457 rm -f conftest.err conftest.
$ac_objext \
29458 conftest
$ac_exeext conftest.
$ac_ext
29459 LIBS
=$ac_check_lib_save_LIBS
29461 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29462 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29463 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29464 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29467 LDFLAGS
=$ac_save_LDFLAGS
29472 if test "$no_x" = "yes"; then
29473 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29474 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29475 { (exit 1); exit 1; }; }
29478 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29479 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29480 AFMINSTALL
=afminstall
29481 COMPILED_X_PROGRAM
=0
29485 if test "$wxUSE_X11" = 1; then
29486 if test "$wxUSE_NANOX" = "yes"; then
29487 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29488 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29489 if test "x$MICROWIN" = x
; then
29490 echo "$as_me:$LINENO: result: not found" >&5
29491 echo "${ECHO_T}not found" >&6
29492 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29493 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29494 { (exit 1); exit 1; }; }
29496 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29497 echo "${ECHO_T}$MICROWIN" >&6
29498 cat >>confdefs.h
<<\_ACEOF
29499 #define wxUSE_NANOX 1
29505 if test "$wxUSE_UNICODE" = "yes"; then
29508 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29509 if test -n "$ac_tool_prefix"; then
29510 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29511 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
29512 echo "$as_me:$LINENO: checking for $ac_word" >&5
29513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29514 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29515 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 case $PKG_CONFIG in
29519 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29523 for as_dir
in $PATH
29526 test -z "$as_dir" && as_dir
=.
29527 for ac_exec_ext
in '' $ac_executable_extensions; do
29528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29529 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29539 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29541 if test -n "$PKG_CONFIG"; then
29542 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29543 echo "${ECHO_T}$PKG_CONFIG" >&6
29545 echo "$as_me:$LINENO: result: no" >&5
29546 echo "${ECHO_T}no" >&6
29550 if test -z "$ac_cv_path_PKG_CONFIG"; then
29551 ac_pt_PKG_CONFIG
=$PKG_CONFIG
29552 # Extract the first word of "pkg-config", so it can be a program name with args.
29553 set dummy pkg
-config; ac_word
=$2
29554 echo "$as_me:$LINENO: checking for $ac_word" >&5
29555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29556 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29559 case $ac_pt_PKG_CONFIG in
29561 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29565 for as_dir
in $PATH
29568 test -z "$as_dir" && as_dir
=.
29569 for ac_exec_ext
in '' $ac_executable_extensions; do
29570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29571 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29581 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
29583 if test -n "$ac_pt_PKG_CONFIG"; then
29584 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29585 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29587 echo "$as_me:$LINENO: result: no" >&5
29588 echo "${ECHO_T}no" >&6
29591 PKG_CONFIG
=$ac_pt_PKG_CONFIG
29593 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
29597 if test -n "$PKG_CONFIG"; then
29598 _pkg_min_version
=0.9.0
29599 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29600 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29601 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29602 echo "$as_me:$LINENO: result: yes" >&5
29603 echo "${ECHO_T}yes" >&6
29605 echo "$as_me:$LINENO: result: no" >&5
29606 echo "${ECHO_T}no" >&6
29614 echo "$as_me:$LINENO: checking for PANGOX" >&5
29615 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
29617 if test -n "$PKG_CONFIG"; then
29618 if test -n "$PANGOX_CFLAGS"; then
29619 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
29621 if test -n "$PKG_CONFIG" && \
29622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29623 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); }; then
29627 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
29635 if test -n "$PKG_CONFIG"; then
29636 if test -n "$PANGOX_LIBS"; then
29637 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
29639 if test -n "$PKG_CONFIG" && \
29640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29641 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); }; then
29645 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
29656 if test $pkg_failed = yes; then
29658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29659 _pkg_short_errors_supported
=yes
29661 _pkg_short_errors_supported
=no
29663 if test $_pkg_short_errors_supported = yes; then
29664 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
29666 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29668 # Put the nasty error message in config.log where it belongs
29669 echo "$PANGOX_PKG_ERRORS" >&5
29672 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29673 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29674 { (exit 1); exit 1; }; }
29677 elif test $pkg_failed = untried
; then
29679 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29680 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29681 { (exit 1); exit 1; }; }
29685 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
29686 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
29687 echo "$as_me:$LINENO: result: yes" >&5
29688 echo "${ECHO_T}yes" >&6
29690 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29691 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29692 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29697 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
29698 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
29700 if test -n "$PKG_CONFIG"; then
29701 if test -n "$PANGOFT2_CFLAGS"; then
29702 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
29704 if test -n "$PKG_CONFIG" && \
29705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29706 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; then
29710 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
29718 if test -n "$PKG_CONFIG"; then
29719 if test -n "$PANGOFT2_LIBS"; then
29720 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
29722 if test -n "$PKG_CONFIG" && \
29723 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29724 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; then
29728 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
29739 if test $pkg_failed = yes; then
29741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29742 _pkg_short_errors_supported
=yes
29744 _pkg_short_errors_supported
=no
29746 if test $_pkg_short_errors_supported = yes; then
29747 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
29749 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29751 # Put the nasty error message in config.log where it belongs
29752 echo "$PANGOFT2_PKG_ERRORS" >&5
29755 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29756 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29757 wxUSE_PRINTING_ARCHITECTURE
="no"
29760 elif test $pkg_failed = untried
; then
29762 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29763 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29764 wxUSE_PRINTING_ARCHITECTURE
="no"
29768 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
29769 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
29770 echo "$as_me:$LINENO: result: yes" >&5
29771 echo "${ECHO_T}yes" >&6
29773 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
29774 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29775 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29780 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
29781 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
29783 if test -n "$PKG_CONFIG"; then
29784 if test -n "$PANGOXFT_CFLAGS"; then
29785 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
29787 if test -n "$PKG_CONFIG" && \
29788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29789 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); }; then
29793 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
29801 if test -n "$PKG_CONFIG"; then
29802 if test -n "$PANGOXFT_LIBS"; then
29803 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
29805 if test -n "$PKG_CONFIG" && \
29806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29807 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; then
29811 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
29822 if test $pkg_failed = yes; then
29824 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29825 _pkg_short_errors_supported
=yes
29827 _pkg_short_errors_supported
=no
29829 if test $_pkg_short_errors_supported = yes; then
29830 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
29832 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29834 # Put the nasty error message in config.log where it belongs
29835 echo "$PANGOXFT_PKG_ERRORS" >&5
29838 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29839 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29842 elif test $pkg_failed = untried
; then
29844 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29845 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29849 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
29850 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
29851 echo "$as_me:$LINENO: result: yes" >&5
29852 echo "${ECHO_T}yes" >&6
29854 cat >>confdefs.h
<<\_ACEOF
29855 #define HAVE_PANGO_XFT 1
29858 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
29859 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29860 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29864 LIBS
="$LIBS $PANGOX_LIBS"
29866 for ac_func
in pango_font_family_is_monospace
29868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29869 echo "$as_me:$LINENO: checking for $ac_func" >&5
29870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29871 if eval "test \"\${$as_ac_var+set}\" = set"; then
29872 echo $ECHO_N "(cached) $ECHO_C" >&6
29874 cat >conftest.
$ac_ext <<_ACEOF
29877 cat confdefs.h
>>conftest.
$ac_ext
29878 cat >>conftest.
$ac_ext <<_ACEOF
29879 /* end confdefs.h. */
29880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29882 #define $ac_func innocuous_$ac_func
29884 /* System header to define __stub macros and hopefully few prototypes,
29885 which can conflict with char $ac_func (); below.
29886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29887 <limits.h> exists even on freestanding compilers. */
29890 # include <limits.h>
29892 # include <assert.h>
29897 /* Override any gcc2 internal prototype to avoid an error. */
29902 /* We use char because int might match the return type of a gcc2
29903 builtin and then its argument prototype would still apply. */
29905 /* The GNU C library defines this for functions which it implements
29906 to always fail with ENOSYS. Some functions are actually named
29907 something starting with __ and the normal name is an alias. */
29908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29911 char (*f) () = $ac_func;
29920 return f != $ac_func;
29925 rm -f conftest.
$ac_objext conftest
$ac_exeext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927 (eval $ac_link) 2>conftest.er1
29929 grep -v '^ *+' conftest.er1
>conftest.err
29931 cat conftest.err
>&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } &&
29934 { ac_try
='test -z "$ac_c_werror_flag"
29935 || test ! -s conftest.err'
29936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29937 (eval $ac_try) 2>&5
29939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29940 (exit $ac_status); }; } &&
29941 { ac_try
='test -s conftest$ac_exeext'
29942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29943 (eval $ac_try) 2>&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); }; }; then
29947 eval "$as_ac_var=yes"
29949 echo "$as_me: failed program was:" >&5
29950 sed 's/^/| /' conftest.
$ac_ext >&5
29952 eval "$as_ac_var=no"
29954 rm -f conftest.err conftest.
$ac_objext \
29955 conftest
$ac_exeext conftest.
$ac_ext
29957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29959 if test `eval echo '${'$as_ac_var'}'` = yes; then
29960 cat >>confdefs.h
<<_ACEOF
29961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29970 wxUSE_UNIVERSAL
="yes"
29972 if test "$wxUSE_NANOX" = "yes"; then
29973 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29974 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"
29975 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29977 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29984 if test "$wxUSE_MOTIF" = 1; then
29985 if test "$wxUSE_UNICODE" = "yes"; then
29986 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29987 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29988 { (exit 1); exit 1; }; }
29991 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29992 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29995 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29997 if test -f "$ac_dir/Xm/Xm.h"; then
29998 ac_find_includes
=$ac_dir
30003 if test "$ac_find_includes" != "" ; then
30004 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30005 echo "${ECHO_T}found in $ac_find_includes" >&6
30007 if test "x$ac_find_includes" = "x/usr/include"; then
30008 ac_path_to_include
=""
30010 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
30012 if test $result = 0; then
30013 ac_path_to_include
=""
30015 ac_path_to_include
=" -I$ac_find_includes"
30019 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
30021 save_CFLAGS
=$CFLAGS
30022 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30024 cat >conftest.
$ac_ext <<_ACEOF
30027 cat confdefs.h
>>conftest.
$ac_ext
30028 cat >>conftest.
$ac_ext <<_ACEOF
30029 /* end confdefs.h. */
30038 version = xmUseVersion;
30044 rm -f conftest.
$ac_objext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30046 (eval $ac_compile) 2>conftest.er1
30048 grep -v '^ *+' conftest.er1
>conftest.err
30050 cat conftest.err
>&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try
='test -z "$ac_c_werror_flag"
30054 || test ! -s conftest.err'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; } &&
30060 { ac_try
='test -s conftest.$ac_objext'
30061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30062 (eval $ac_try) 2>&5
30064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 (exit $ac_status); }; }; then
30067 echo "$as_me:$LINENO: result: found in default search path" >&5
30068 echo "${ECHO_T}found in default search path" >&6
30069 COMPILED_X_PROGRAM
=1
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.
$ac_ext >&5
30076 echo "$as_me:$LINENO: result: no" >&5
30077 echo "${ECHO_T}no" >&6
30078 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30079 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30080 { (exit 1); exit 1; }; }
30084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30086 CFLAGS
=$save_CFLAGS
30090 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30091 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30094 for ac_dir
in $SEARCH_LIB;
30096 for ac_extension
in a so sl dylib dll.a
; do
30097 if test -f "$ac_dir/libXm.$ac_extension"; then
30098 ac_find_libraries
=$ac_dir
30105 if test "x$ac_find_libraries" != "x" ; then
30106 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30107 echo "${ECHO_T}found in $ac_find_libraries" >&6
30110 if test "$ac_find_libraries" = "default location"; then
30113 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30115 if test $result = 0; then
30118 ac_path_to_link
=" -L$ac_find_libraries"
30122 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30124 save_CFLAGS
=$CFLAGS
30125 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30127 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30129 cat >conftest.
$ac_ext <<_ACEOF
30132 cat confdefs.h
>>conftest.
$ac_ext
30133 cat >>conftest.
$ac_ext <<_ACEOF
30134 /* end confdefs.h. */
30143 version = xmUseVersion;
30149 rm -f conftest.
$ac_objext conftest
$ac_exeext
30150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30151 (eval $ac_link) 2>conftest.er1
30153 grep -v '^ *+' conftest.er1
>conftest.err
30155 cat conftest.err
>&5
30156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157 (exit $ac_status); } &&
30158 { ac_try
='test -z "$ac_c_werror_flag"
30159 || test ! -s conftest.err'
30160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30161 (eval $ac_try) 2>&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); }; } &&
30165 { ac_try
='test -s conftest$ac_exeext'
30166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30167 (eval $ac_try) 2>&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); }; }; then
30172 echo "$as_me:$LINENO: result: found in default search path" >&5
30173 echo "${ECHO_T}found in default search path" >&6
30174 COMPILED_X_PROGRAM
=1
30177 echo "$as_me: failed program was:" >&5
30178 sed 's/^/| /' conftest.
$ac_ext >&5
30181 echo "$as_me:$LINENO: result: no" >&5
30182 echo "${ECHO_T}no" >&6
30183 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30184 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30185 { (exit 1); exit 1; }; }
30189 rm -f conftest.err conftest.
$ac_objext \
30190 conftest
$ac_exeext conftest.
$ac_ext
30192 CFLAGS
=$save_CFLAGS
30196 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30197 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30201 for libp
in "" " -lXp"; do
30202 if test "$libs_found" = "0"; then
30203 for libsm_ice
in "" " -lSM -lICE"; do
30204 if test "$libs_found" = "0"; then
30206 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30207 save_CFLAGS
=$CFLAGS
30208 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30210 cat >conftest.
$ac_ext <<_ACEOF
30213 cat confdefs.h
>>conftest.
$ac_ext
30214 cat >>conftest.
$ac_ext <<_ACEOF
30215 /* end confdefs.h. */
30218 #include <Xm/List.h>
30224 XmString string = NULL;
30227 XmListAddItem(w, string, position);
30233 rm -f conftest.
$ac_objext conftest
$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>conftest.er1
30237 grep -v '^ *+' conftest.er1
>conftest.err
30239 cat conftest.err
>&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try
='test -z "$ac_c_werror_flag"
30243 || test ! -s conftest.err'
30244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30245 (eval $ac_try) 2>&5
30247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30248 (exit $ac_status); }; } &&
30249 { ac_try
='test -s conftest$ac_exeext'
30250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30251 (eval $ac_try) 2>&5
30253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30254 (exit $ac_status); }; }; then
30257 libsm_ice_link
="$libsm_ice"
30258 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30259 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30263 echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.
$ac_ext >&5
30269 rm -f conftest.err conftest.
$ac_objext \
30270 conftest
$ac_exeext conftest.
$ac_ext
30273 CFLAGS
=$save_CFLAGS
30279 if test "$libs_found" = "0"; then
30280 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30281 echo "${ECHO_T}can't find the right libraries" >&6
30282 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30283 echo "$as_me: error: can't link a simple motif program" >&2;}
30284 { (exit 1); exit 1; }; }
30287 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30288 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30289 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30290 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 ac_check_lib_save_LIBS
=$LIBS
30294 cat >conftest.
$ac_ext <<_ACEOF
30297 cat confdefs.h
>>conftest.
$ac_ext
30298 cat >>conftest.
$ac_ext <<_ACEOF
30299 /* end confdefs.h. */
30301 /* Override any gcc2 internal prototype to avoid an error. */
30305 /* We use char because int might match the return type of a gcc2
30306 builtin and then its argument prototype would still apply. */
30307 char SgCreateList ();
30316 rm -f conftest.
$ac_objext conftest
$ac_exeext
30317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30318 (eval $ac_link) 2>conftest.er1
30320 grep -v '^ *+' conftest.er1
>conftest.err
30322 cat conftest.err
>&5
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); } &&
30325 { ac_try
='test -z "$ac_c_werror_flag"
30326 || test ! -s conftest.err'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; } &&
30332 { ac_try
='test -s conftest$ac_exeext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30338 ac_cv_lib_Sgm_SgCreateList
=yes
30340 echo "$as_me: failed program was:" >&5
30341 sed 's/^/| /' conftest.
$ac_ext >&5
30343 ac_cv_lib_Sgm_SgCreateList
=no
30345 rm -f conftest.err conftest.
$ac_objext \
30346 conftest
$ac_exeext conftest.
$ac_ext
30347 LIBS
=$ac_check_lib_save_LIBS
30349 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30350 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30351 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30352 libsgm_link
=" -lSgm"
30356 save_CFLAGS
=$CFLAGS
30357 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30359 echo "$as_me:$LINENO: checking for Motif 2" >&5
30360 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30361 if test "${wx_cv_lib_motif2+set}" = set; then
30362 echo $ECHO_N "(cached) $ECHO_C" >&6
30364 cat >conftest.
$ac_ext <<_ACEOF
30367 cat confdefs.h
>>conftest.
$ac_ext
30368 cat >>conftest.
$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30377 #if XmVersion < 2000
30385 rm -f conftest.
$ac_objext
30386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30387 (eval $ac_compile) 2>conftest.er1
30389 grep -v '^ *+' conftest.er1
>conftest.err
30391 cat conftest.err
>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); } &&
30394 { ac_try
='test -z "$ac_c_werror_flag"
30395 || test ! -s conftest.err'
30396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30397 (eval $ac_try) 2>&5
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); }; } &&
30401 { ac_try
='test -s conftest.$ac_objext'
30402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30403 (eval $ac_try) 2>&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); }; }; then
30407 wx_cv_lib_motif2
="yes"
30409 echo "$as_me: failed program was:" >&5
30410 sed 's/^/| /' conftest.
$ac_ext >&5
30412 wx_cv_lib_motif2
="no"
30414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30416 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30417 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30418 if test "$wx_cv_lib_motif2" = "yes"; then
30419 cat >>confdefs.h
<<\_ACEOF
30420 #define __WXMOTIF20__ 1
30424 cat >>confdefs.h
<<\_ACEOF
30425 #define __WXMOTIF20__ 0
30430 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30431 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30432 if test "${wx_cv_lib_lesstif+set}" = set; then
30433 echo $ECHO_N "(cached) $ECHO_C" >&6
30435 cat >conftest.
$ac_ext <<_ACEOF
30438 cat confdefs.h
>>conftest.
$ac_ext
30439 cat >>conftest.
$ac_ext <<_ACEOF
30440 /* end confdefs.h. */
30448 #if !defined(LesstifVersion) || LesstifVersion <= 0
30456 rm -f conftest.
$ac_objext
30457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30458 (eval $ac_compile) 2>conftest.er1
30460 grep -v '^ *+' conftest.er1
>conftest.err
30462 cat conftest.err
>&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } &&
30465 { ac_try
='test -z "$ac_c_werror_flag"
30466 || test ! -s conftest.err'
30467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30468 (eval $ac_try) 2>&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); }; } &&
30472 { ac_try
='test -s conftest.$ac_objext'
30473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30474 (eval $ac_try) 2>&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); }; }; then
30478 wx_cv_lib_lesstif
="yes"
30480 echo "$as_me: failed program was:" >&5
30481 sed 's/^/| /' conftest.
$ac_ext >&5
30483 wx_cv_lib_lesstif
="no"
30485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30488 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30489 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30490 if test "$wx_cv_lib_lesstif" = "yes"; then
30491 cat >>confdefs.h
<<\_ACEOF
30492 #define __WXLESSTIF__ 1
30496 cat >>confdefs.h
<<\_ACEOF
30497 #define __WXLESSTIF__ 0
30502 CFLAGS
=$save_CFLAGS
30504 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30509 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30510 if test "$wxUSE_LIBXPM" = "sys"; then
30511 echo "$as_me:$LINENO: checking for Xpm library" >&5
30512 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30515 for ac_dir
in $SEARCH_LIB;
30517 for ac_extension
in a so sl dylib dll.a
; do
30518 if test -f "$ac_dir/libXpm.$ac_extension"; then
30519 ac_find_libraries
=$ac_dir
30525 if test "$ac_find_libraries" != "" ; then
30527 if test "$ac_find_libraries" = "default location"; then
30530 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30532 if test $result = 0; then
30535 ac_path_to_link
=" -L$ac_find_libraries"
30539 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30540 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30541 echo "${ECHO_T}found in $ac_find_libraries" >&6
30543 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30544 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30545 if test "${wx_cv_x11_xpm_h+set}" = set; then
30546 echo $ECHO_N "(cached) $ECHO_C" >&6
30549 save_CFLAGS
=$CFLAGS
30550 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30552 cat >conftest.
$ac_ext <<_ACEOF
30555 cat confdefs.h
>>conftest.
$ac_ext
30556 cat >>conftest.
$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30559 #include <X11/xpm.h>
30566 version = XpmLibraryVersion();
30572 rm -f conftest.
$ac_objext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30574 (eval $ac_compile) 2>conftest.er1
30576 grep -v '^ *+' conftest.er1
>conftest.err
30578 cat conftest.err
>&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try
='test -z "$ac_c_werror_flag"
30582 || test ! -s conftest.err'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try
='test -s conftest.$ac_objext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 wx_cv_x11_xpm_h
=yes
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.
$ac_ext >&5
30602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30604 CFLAGS
=$save_CFLAGS
30608 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30609 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30611 if test $wx_cv_x11_xpm_h = "yes"; then
30612 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30613 cat >>confdefs.h
<<\_ACEOF
30614 #define wxHAVE_LIB_XPM 1
30618 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30619 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30625 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30626 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30627 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30628 echo $ECHO_N "(cached) $ECHO_C" >&6
30630 ac_check_lib_save_LIBS
=$LIBS
30631 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30632 cat >conftest.
$ac_ext <<_ACEOF
30635 cat confdefs.h
>>conftest.
$ac_ext
30636 cat >>conftest.
$ac_ext <<_ACEOF
30637 /* end confdefs.h. */
30639 /* Override any gcc2 internal prototype to avoid an error. */
30643 /* We use char because int might match the return type of a gcc2
30644 builtin and then its argument prototype would still apply. */
30645 char XShapeQueryExtension ();
30649 XShapeQueryExtension ();
30654 rm -f conftest.
$ac_objext conftest
$ac_exeext
30655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30656 (eval $ac_link) 2>conftest.er1
30658 grep -v '^ *+' conftest.er1
>conftest.err
30660 cat conftest.err
>&5
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); } &&
30663 { ac_try
='test -z "$ac_c_werror_flag"
30664 || test ! -s conftest.err'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; } &&
30670 { ac_try
='test -s conftest$ac_exeext'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; }; then
30676 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.
$ac_ext >&5
30681 ac_cv_lib_Xext_XShapeQueryExtension
=no
30683 rm -f conftest.err conftest.
$ac_objext \
30684 conftest
$ac_exeext conftest.
$ac_ext
30685 LIBS
=$ac_check_lib_save_LIBS
30687 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30688 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30689 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30691 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30697 if test "$wxHAVE_XEXT_LIB" = 1; then
30698 save_CFLAGS
="$CFLAGS"
30699 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30701 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30702 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30703 cat >conftest.
$ac_ext <<_ACEOF
30706 cat confdefs.h
>>conftest.
$ac_ext
30707 cat >>conftest.
$ac_ext <<_ACEOF
30708 /* end confdefs.h. */
30710 #include <X11/Xlib.h>
30711 #include <X11/extensions/shape.h>
30717 int dummy1, dummy2;
30718 XShapeQueryExtension((Display*)NULL,
30719 (int*)NULL, (int*)NULL);
30725 rm -f conftest.
$ac_objext
30726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30727 (eval $ac_compile) 2>conftest.er1
30729 grep -v '^ *+' conftest.er1
>conftest.err
30731 cat conftest.err
>&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } &&
30734 { ac_try
='test -z "$ac_c_werror_flag"
30735 || test ! -s conftest.err'
30736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737 (eval $ac_try) 2>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); }; } &&
30741 { ac_try
='test -s conftest.$ac_objext'
30742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30743 (eval $ac_try) 2>&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); }; }; then
30748 cat >>confdefs.h
<<\_ACEOF
30749 #define HAVE_XSHAPE 1
30752 echo "$as_me:$LINENO: result: found" >&5
30753 echo "${ECHO_T}found" >&6
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.
$ac_ext >&5
30760 echo "$as_me:$LINENO: result: not found" >&5
30761 echo "${ECHO_T}not found" >&6
30764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30765 CFLAGS
="$save_CFLAGS"
30770 if test "$wxUSE_MAC" = 1; then
30771 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30772 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30773 if test "$GCC" = yes; then
30774 echo "$as_me:$LINENO: result: gcc" >&5
30775 echo "${ECHO_T}gcc" >&6
30776 CPPFLAGS_PASCAL
="-fpascal-strings"
30777 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30778 echo "$as_me:$LINENO: result: xlc" >&5
30779 echo "${ECHO_T}xlc" >&6
30780 CPPFLAGS_PASCAL
="-qmacpstr"
30782 echo "$as_me:$LINENO: result: none" >&5
30783 echo "${ECHO_T}none" >&6
30786 if test "x$wxUSE_UNIX" = "xyes"; then
30787 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30789 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30794 WXBASEPORT
="_carbon"
30797 if test "$wxUSE_COCOA" = 1; then
30802 if test "$wxUSE_PM" = 1; then
30805 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30806 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30807 if test "${wx_cv_spbcdata+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30811 cat >conftest.
$ac_ext <<_ACEOF
30814 cat confdefs.h
>>conftest.
$ac_ext
30815 cat >>conftest.
$ac_ext <<_ACEOF
30816 /* end confdefs.h. */
30831 rm -f conftest.
$ac_objext
30832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30833 (eval $ac_compile) 2>conftest.er1
30835 grep -v '^ *+' conftest.er1
>conftest.err
30837 cat conftest.err
>&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); } &&
30840 { ac_try
='test -z "$ac_c_werror_flag"
30841 || test ! -s conftest.err'
30842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30843 (eval $ac_try) 2>&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); }; } &&
30847 { ac_try
='test -s conftest.$ac_objext'
30848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 (eval $ac_try) 2>&5
30851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 (exit $ac_status); }; }; then
30855 echo "$as_me: failed program was:" >&5
30856 sed 's/^/| /' conftest.
$ac_ext >&5
30861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30865 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30866 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30868 if test $wx_cv_spbcdata = "yes"; then
30869 cat >>confdefs.h
<<\_ACEOF
30870 #define HAVE_SPBCDATA 1
30876 if test "$TOOLKIT" = "PM" ; then
30879 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30882 if test "$wxUSE_UNIVERSAL" = "yes"; then
30883 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30887 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30888 DISTDIR
="wx\$(TOOLKIT)"
30894 if test "$USE_WIN32" = 1 ; then
30898 GUIDIST
="BASE_DIST"
30903 if test "$wxUSE_GUI" = "yes"; then
30904 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30905 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
30906 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
30907 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
30908 echo $ECHO_N "(cached) $ECHO_C" >&6
30910 cat >conftest.
$ac_ext <<_ACEOF
30913 cat confdefs.h
>>conftest.
$ac_ext
30914 cat >>conftest.
$ac_ext <<_ACEOF
30915 /* end confdefs.h. */
30918 #include <X11/Xlib.h>
30920 rm -f conftest.
$ac_objext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30922 (eval $ac_compile) 2>conftest.er1
30924 grep -v '^ *+' conftest.er1
>conftest.err
30926 cat conftest.err
>&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } &&
30929 { ac_try
='test -z "$ac_c_werror_flag"
30930 || test ! -s conftest.err'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; } &&
30936 { ac_try
='test -s conftest.$ac_objext'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; }; then
30942 ac_cv_header_X11_Xlib_h
=yes
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.
$ac_ext >&5
30947 ac_cv_header_X11_Xlib_h
=no
30949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30951 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
30952 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
30955 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
30956 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
30957 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
30958 echo $ECHO_N "(cached) $ECHO_C" >&6
30960 cat >conftest.
$ac_ext <<_ACEOF
30963 cat confdefs.h
>>conftest.
$ac_ext
30964 cat >>conftest.
$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30967 #if HAVE_X11_XLIB_H
30968 #include <X11/Xlib.h>
30972 #include <X11/XKBlib.h>
30974 rm -f conftest.
$ac_objext
30975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30976 (eval $ac_compile) 2>conftest.er1
30978 grep -v '^ *+' conftest.er1
>conftest.err
30980 cat conftest.err
>&5
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); } &&
30983 { ac_try
='test -z "$ac_c_werror_flag"
30984 || test ! -s conftest.err'
30985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30986 (eval $ac_try) 2>&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); }; } &&
30990 { ac_try
='test -s conftest.$ac_objext'
30991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992 (eval $ac_try) 2>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); }; }; then
30996 ac_cv_header_X11_XKBlib_h
=yes
30998 echo "$as_me: failed program was:" >&5
30999 sed 's/^/| /' conftest.
$ac_ext >&5
31001 ac_cv_header_X11_XKBlib_h
=no
31003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31005 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31006 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
31017 if test "$TOOLKIT" != "MSW" ; then
31019 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31021 echo "$as_me:$LINENO: checking for sql.h" >&5
31022 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31023 if test "${ac_cv_header_sql_h+set}" = set; then
31024 echo $ECHO_N "(cached) $ECHO_C" >&6
31026 cat >conftest.
$ac_ext <<_ACEOF
31029 cat confdefs.h
>>conftest.
$ac_ext
31030 cat >>conftest.
$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31036 rm -f conftest.
$ac_objext
31037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31038 (eval $ac_compile) 2>conftest.er1
31040 grep -v '^ *+' conftest.er1
>conftest.err
31042 cat conftest.err
>&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); } &&
31045 { ac_try
='test -z "$ac_c_werror_flag"
31046 || test ! -s conftest.err'
31047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31048 (eval $ac_try) 2>&5
31050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31051 (exit $ac_status); }; } &&
31052 { ac_try
='test -s conftest.$ac_objext'
31053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31054 (eval $ac_try) 2>&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); }; }; then
31058 ac_cv_header_sql_h
=yes
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.
$ac_ext >&5
31063 ac_cv_header_sql_h
=no
31065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31067 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31068 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31069 if test $ac_cv_header_sql_h = yes; then
31074 if test "x$found_sql_h" = "x1" ; then
31075 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31076 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31077 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31078 echo $ECHO_N "(cached) $ECHO_C" >&6
31080 ac_check_lib_save_LIBS
=$LIBS
31081 LIBS
="-liodbc $LIBS"
31082 cat >conftest.
$ac_ext <<_ACEOF
31085 cat confdefs.h
>>conftest.
$ac_ext
31086 cat >>conftest.
$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31089 /* Override any gcc2 internal prototype to avoid an error. */
31093 /* We use char because int might match the return type of a gcc2
31094 builtin and then its argument prototype would still apply. */
31095 char SQLAllocEnv ();
31104 rm -f conftest.
$ac_objext conftest
$ac_exeext
31105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31106 (eval $ac_link) 2>conftest.er1
31108 grep -v '^ *+' conftest.er1
>conftest.err
31110 cat conftest.err
>&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } &&
31113 { ac_try
='test -z "$ac_c_werror_flag"
31114 || test ! -s conftest.err'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; } &&
31120 { ac_try
='test -s conftest$ac_exeext'
31121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31122 (eval $ac_try) 2>&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); }; }; then
31126 ac_cv_lib_iodbc_SQLAllocEnv
=yes
31128 echo "$as_me: failed program was:" >&5
31129 sed 's/^/| /' conftest.
$ac_ext >&5
31131 ac_cv_lib_iodbc_SQLAllocEnv
=no
31133 rm -f conftest.err conftest.
$ac_objext \
31134 conftest
$ac_exeext conftest.
$ac_ext
31135 LIBS
=$ac_check_lib_save_LIBS
31137 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31138 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31139 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31140 ODBC_LINK
=" -liodbc"
31143 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31144 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31145 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31148 ac_check_lib_save_LIBS
=$LIBS
31149 LIBS
="-lunixodbc $LIBS"
31150 cat >conftest.
$ac_ext <<_ACEOF
31153 cat confdefs.h
>>conftest.
$ac_ext
31154 cat >>conftest.
$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31157 /* Override any gcc2 internal prototype to avoid an error. */
31161 /* We use char because int might match the return type of a gcc2
31162 builtin and then its argument prototype would still apply. */
31163 char SQLAllocEnv ();
31172 rm -f conftest.
$ac_objext conftest
$ac_exeext
31173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31174 (eval $ac_link) 2>conftest.er1
31176 grep -v '^ *+' conftest.er1
>conftest.err
31178 cat conftest.err
>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } &&
31181 { ac_try
='test -z "$ac_c_werror_flag"
31182 || test ! -s conftest.err'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; } &&
31188 { ac_try
='test -s conftest$ac_exeext'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; }; then
31194 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.
$ac_ext >&5
31199 ac_cv_lib_unixodbc_SQLAllocEnv
=no
31201 rm -f conftest.err conftest.
$ac_objext \
31202 conftest
$ac_exeext conftest.
$ac_ext
31203 LIBS
=$ac_check_lib_save_LIBS
31205 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31206 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31207 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31208 ODBC_LINK
=" -lunixodbc"
31211 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31212 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31213 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31216 ac_check_lib_save_LIBS
=$LIBS
31217 LIBS
="-lodbc $LIBS"
31218 cat >conftest.
$ac_ext <<_ACEOF
31221 cat confdefs.h
>>conftest.
$ac_ext
31222 cat >>conftest.
$ac_ext <<_ACEOF
31223 /* end confdefs.h. */
31225 /* Override any gcc2 internal prototype to avoid an error. */
31229 /* We use char because int might match the return type of a gcc2
31230 builtin and then its argument prototype would still apply. */
31231 char SQLAllocEnv ();
31240 rm -f conftest.
$ac_objext conftest
$ac_exeext
31241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31242 (eval $ac_link) 2>conftest.er1
31244 grep -v '^ *+' conftest.er1
>conftest.err
31246 cat conftest.err
>&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); } &&
31249 { ac_try
='test -z "$ac_c_werror_flag"
31250 || test ! -s conftest.err'
31251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252 (eval $ac_try) 2>&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); }; } &&
31256 { ac_try
='test -s conftest$ac_exeext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 ac_cv_lib_odbc_SQLAllocEnv
=yes
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.
$ac_ext >&5
31267 ac_cv_lib_odbc_SQLAllocEnv
=no
31269 rm -f conftest.err conftest.
$ac_objext \
31270 conftest
$ac_exeext conftest.
$ac_ext
31271 LIBS
=$ac_check_lib_save_LIBS
31273 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31274 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31275 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31276 ODBC_LINK
=" -lodbc"
31286 if test "x$ODBC_LINK" = "x" ; then
31287 if test "$wxUSE_ODBC" = "sys" ; then
31288 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31289 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31290 { (exit 1); exit 1; }; }
31292 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31293 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31301 if test "$wxUSE_ODBC" = "builtin" ; then
31302 cat >>confdefs.h
<<\_ACEOF
31303 #define wxUSE_BUILTIN_IODBC 1
31309 if test "$wxUSE_ODBC" != "no" ; then
31310 cat >>confdefs.h
<<\_ACEOF
31311 #define wxUSE_ODBC 1
31314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31316 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31320 if test "$wxUSE_DISPLAY" = "yes"; then
31321 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31322 echo "$as_me:$LINENO: checking for Xinerama" >&5
31323 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31326 for ac_dir
in $SEARCH_LIB;
31328 for ac_extension
in a so sl dylib dll.a
; do
31329 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31330 ac_find_libraries
=$ac_dir
31336 if test "$ac_find_libraries" != "" ; then
31338 if test "$ac_find_libraries" = "default location"; then
31341 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31343 if test $result = 0; then
31346 ac_path_to_link
=" -L$ac_find_libraries"
31350 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31351 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31353 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31354 echo "$as_me:$LINENO: result: yes" >&5
31355 echo "${ECHO_T}yes" >&6
31357 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31358 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31361 for ac_dir
in $SEARCH_LIB;
31363 for ac_extension
in a so sl dylib dll.a
; do
31364 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31365 ac_find_libraries
=$ac_dir
31371 if test "$ac_find_libraries" != "" ; then
31372 echo "$as_me:$LINENO: result: yes" >&5
31373 echo "${ECHO_T}yes" >&6
31374 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31375 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
31376 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31377 echo $ECHO_N "(cached) $ECHO_C" >&6
31379 cat >conftest.
$ac_ext <<_ACEOF
31382 cat confdefs.h
>>conftest.
$ac_ext
31383 cat >>conftest.
$ac_ext <<_ACEOF
31384 /* end confdefs.h. */
31386 #if HAVE_X11_XLIB_H
31387 #include <X11/Xlib.h>
31391 #include <X11/extensions/xf86vmode.h>
31393 rm -f conftest.
$ac_objext
31394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31395 (eval $ac_compile) 2>conftest.er1
31397 grep -v '^ *+' conftest.er1
>conftest.err
31399 cat conftest.err
>&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); } &&
31402 { ac_try
='test -z "$ac_c_werror_flag"
31403 || test ! -s conftest.err'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; } &&
31409 { ac_try
='test -s conftest.$ac_objext'
31410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31411 (eval $ac_try) 2>&5
31413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 (exit $ac_status); }; }; then
31415 ac_cv_header_X11_extensions_xf86vmode_h
=yes
31417 echo "$as_me: failed program was:" >&5
31418 sed 's/^/| /' conftest.
$ac_ext >&5
31420 ac_cv_header_X11_extensions_xf86vmode_h
=no
31422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31424 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31425 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
31426 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31428 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31434 echo "$as_me:$LINENO: result: no" >&5
31435 echo "${ECHO_T}no" >&6
31439 echo "$as_me:$LINENO: result: no" >&5
31440 echo "${ECHO_T}no" >&6
31441 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31442 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31445 elif test "$wxUSE_MSW" = 1; then
31446 echo "$as_me:$LINENO: checking for ddraw.h" >&5
31447 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
31448 if test "${ac_cv_header_ddraw_h+set}" = set; then
31449 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 cat >conftest.
$ac_ext <<_ACEOF
31454 cat confdefs.h
>>conftest.
$ac_ext
31455 cat >>conftest.
$ac_ext <<_ACEOF
31456 /* end confdefs.h. */
31457 #include <windows.h>
31461 rm -f conftest.
$ac_objext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31463 (eval $ac_compile) 2>conftest.er1
31465 grep -v '^ *+' conftest.er1
>conftest.err
31467 cat conftest.err
>&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); } &&
31470 { ac_try
='test -z "$ac_c_werror_flag"
31471 || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try
='test -s conftest.$ac_objext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31483 ac_cv_header_ddraw_h
=yes
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.
$ac_ext >&5
31488 ac_cv_header_ddraw_h
=no
31490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31492 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31493 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
31499 if test "$wxUSE_DETECT_SM" = "yes"; then
31500 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31501 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31502 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
31505 for ac_dir
in $SEARCH_LIB;
31507 for ac_extension
in a so sl dylib dll.a
; do
31508 if test -f "$ac_dir/libSM.$ac_extension"; then
31509 ac_find_libraries
=$ac_dir
31515 if test "$ac_find_libraries" != "" ; then
31517 if test "$ac_find_libraries" = "default location"; then
31520 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31522 if test $result = 0; then
31525 ac_path_to_link
=" -L$ac_find_libraries"
31529 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31530 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31532 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
31533 echo "$as_me:$LINENO: result: yes" >&5
31534 echo "${ECHO_T}yes" >&6
31536 echo "$as_me:$LINENO: result: no" >&5
31537 echo "${ECHO_T}no" >&6
31538 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
31539 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
31540 wxUSE_DETECT_SM
="no"
31543 wxUSE_DETECT_SM
="no"
31550 if test "$wxUSE_OPENGL" = "yes"; then
31551 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
31552 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
31553 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
31555 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31556 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31557 elif test "$wxUSE_MSW" = 1; then
31558 OPENGL_LIBS
="-lopengl32 -lglu32"
31560 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
31561 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
31564 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
31566 if test -f "$ac_dir/GL/gl.h"; then
31567 ac_find_includes
=$ac_dir
31572 if test "$ac_find_includes" != "" ; then
31573 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31574 echo "${ECHO_T}found in $ac_find_includes" >&6
31576 if test "x$ac_find_includes" = "x/usr/include"; then
31577 ac_path_to_include
=""
31579 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31581 if test $result = 0; then
31582 ac_path_to_include
=""
31584 ac_path_to_include
=" -I$ac_find_includes"
31588 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31590 echo "$as_me:$LINENO: result: not found" >&5
31591 echo "${ECHO_T}not found" >&6
31594 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31595 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31596 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31599 cat >conftest.
$ac_ext <<_ACEOF
31602 cat confdefs.h
>>conftest.
$ac_ext
31603 cat >>conftest.
$ac_ext <<_ACEOF
31604 /* end confdefs.h. */
31609 rm -f conftest.
$ac_objext
31610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31611 (eval $ac_compile) 2>conftest.er1
31613 grep -v '^ *+' conftest.er1
>conftest.err
31615 cat conftest.err
>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); } &&
31618 { ac_try
='test -z "$ac_c_werror_flag"
31619 || test ! -s conftest.err'
31620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621 (eval $ac_try) 2>&5
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); }; } &&
31625 { ac_try
='test -s conftest.$ac_objext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 ac_cv_header_GL_gl_h
=yes
31633 echo "$as_me: failed program was:" >&5
31634 sed 's/^/| /' conftest.
$ac_ext >&5
31636 ac_cv_header_GL_gl_h
=no
31638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31640 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31641 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31642 if test $ac_cv_header_GL_gl_h = yes; then
31644 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31645 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31646 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31647 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31651 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31653 # Is the header compilable?
31654 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
31655 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
31656 cat >conftest.
$ac_ext <<_ACEOF
31659 cat confdefs.h
>>conftest.
$ac_ext
31660 cat >>conftest.
$ac_ext <<_ACEOF
31661 /* end confdefs.h. */
31662 $ac_includes_default
31663 #include <GL/glu.h>
31665 rm -f conftest.
$ac_objext
31666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31667 (eval $ac_compile) 2>conftest.er1
31669 grep -v '^ *+' conftest.er1
>conftest.err
31671 cat conftest.err
>&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } &&
31674 { ac_try
='test -z "$ac_c_werror_flag"
31675 || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try
='test -s conftest.$ac_objext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31687 ac_header_compiler
=yes
31689 echo "$as_me: failed program was:" >&5
31690 sed 's/^/| /' conftest.
$ac_ext >&5
31692 ac_header_compiler
=no
31694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31696 echo "${ECHO_T}$ac_header_compiler" >&6
31698 # Is the header present?
31699 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
31700 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
31701 cat >conftest.
$ac_ext <<_ACEOF
31704 cat confdefs.h
>>conftest.
$ac_ext
31705 cat >>conftest.
$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31707 #include <GL/glu.h>
31709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31712 grep -v '^ *+' conftest.er1
>conftest.err
31714 cat conftest.err
>&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); } >/dev
/null
; then
31717 if test -s conftest.err
; then
31718 ac_cpp_err
=$ac_c_preproc_warn_flag
31719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31726 if test -z "$ac_cpp_err"; then
31727 ac_header_preproc
=yes
31729 echo "$as_me: failed program was:" >&5
31730 sed 's/^/| /' conftest.
$ac_ext >&5
31732 ac_header_preproc
=no
31734 rm -f conftest.err conftest.
$ac_ext
31735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31736 echo "${ECHO_T}$ac_header_preproc" >&6
31738 # So? What about this header?
31739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31741 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
31742 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31743 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
31744 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
31745 ac_header_preproc
=yes
31748 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
31749 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
31750 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
31751 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
31752 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
31753 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
31754 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
31755 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
31756 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
31757 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
31758 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
31759 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
31762 ## ----------------------------------------- ##
31763 ## Report this to wx-dev@lists.wxwidgets.org ##
31764 ## ----------------------------------------- ##
31767 sed "s/^/$as_me: WARNING: /" >&2
31770 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31771 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31772 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31773 echo $ECHO_N "(cached) $ECHO_C" >&6
31775 ac_cv_header_GL_glu_h
=$ac_header_preproc
31777 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31778 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31781 if test $ac_cv_header_GL_glu_h = yes; then
31785 echo "$as_me:$LINENO: checking for -lGL" >&5
31786 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31789 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
31791 for ac_extension
in a so sl dylib dll.a
; do
31792 if test -f "$ac_dir/libGL.$ac_extension"; then
31793 ac_find_libraries
=$ac_dir
31799 if test "$ac_find_libraries" != "" ; then
31800 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31801 echo "${ECHO_T}found in $ac_find_libraries" >&6
31804 if test "$ac_find_libraries" = "default location"; then
31807 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31809 if test $result = 0; then
31812 ac_path_to_link
=" -L$ac_find_libraries"
31816 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31817 LDFLAGS_GL
="$ac_path_to_link"
31820 echo "$as_me:$LINENO: checking for -lGLU" >&5
31821 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31824 for ac_dir
in $SEARCH_LIB;
31826 for ac_extension
in a so sl dylib dll.a
; do
31827 if test -f "$ac_dir/libGLU.$ac_extension"; then
31828 ac_find_libraries
=$ac_dir
31834 if test "$ac_find_libraries" != "" ; then
31836 if test "$ac_find_libraries" = "default location"; then
31839 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31841 if test $result = 0; then
31844 ac_path_to_link
=" -L$ac_find_libraries"
31848 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31849 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31850 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31854 OPENGL_LIBS
="-lGL -lGLU"
31855 echo "$as_me:$LINENO: result: yes" >&5
31856 echo "${ECHO_T}yes" >&6
31858 echo "$as_me:$LINENO: result: no" >&5
31859 echo "${ECHO_T}no" >&6
31862 echo "$as_me:$LINENO: result: no" >&5
31863 echo "${ECHO_T}no" >&6
31866 if test "$found_gl" != 1; then
31867 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31868 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31871 for ac_dir
in $SEARCH_LIB;
31873 for ac_extension
in a so sl dylib dll.a
; do
31874 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31875 ac_find_libraries
=$ac_dir
31881 if test "$ac_find_libraries" != "" ; then
31883 if test "$ac_find_libraries" = "default location"; then
31886 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31888 if test $result = 0; then
31891 ac_path_to_link
=" -L$ac_find_libraries"
31895 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31896 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31897 echo "$as_me:$LINENO: result: yes" >&5
31898 echo "${ECHO_T}yes" >&6
31900 echo "$as_me:$LINENO: result: no" >&5
31901 echo "${ECHO_T}no" >&6
31913 if test "x$OPENGL_LIBS" = "x"; then
31914 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31915 echo "$as_me: error: OpenGL libraries not available" >&2;}
31916 { (exit 1); exit 1; }; }
31920 if test "$wxUSE_OPENGL" = "yes"; then
31922 cat >>confdefs.h
<<\_ACEOF
31923 #define wxUSE_OPENGL 1
31926 cat >>confdefs.h
<<\_ACEOF
31927 #define wxUSE_GLCANVAS 1
31930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31935 if test -n "$TOOLKIT" ; then
31936 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31941 if test "$wxUSE_SHARED" = "yes"; then
31945 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31946 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31951 if test "$wxUSE_SHARED" = "yes"; then
31955 *-*-cygwin* | *-*-mingw* )
31956 wx_cv_version_script
=no
31960 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31961 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31962 if test "${wx_cv_version_script+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31966 echo "VER_1 { *; };" >conftest.sym
31967 echo "int main() { return 0; }" >conftest.cpp
31970 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31971 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } ; then
31977 if test -s conftest.stderr
; then
31978 wx_cv_version_script
=no
31980 wx_cv_version_script
=yes
31983 wx_cv_version_script
=no
31986 if test $wx_cv_version_script = yes
31988 echo "struct B { virtual ~B() { } }; \
31989 struct D : public B { }; \
31990 void F() { D d; }" > conftest.cpp
31993 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31994 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31996 (eval $ac_try) 2>&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); }; } &&
32001 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32002 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }
32010 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32011 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }
32018 wx_cv_version_script
=yes
32020 wx_cv_version_script
=no
32025 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32026 rm -f conftest1.output conftest2.output conftest3.output
32029 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32030 echo "${ECHO_T}$wx_cv_version_script" >&6
32032 if test $wx_cv_version_script = yes ; then
32033 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32040 *-*-linux* | *-*-gnu* )
32041 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32042 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32046 if test "$GCC" = yes ; then
32047 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
32049 saveLdflags
="$LDFLAGS"
32050 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
32051 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32052 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32053 cat >conftest.
$ac_ext <<_ACEOF
32056 cat confdefs.h
>>conftest.
$ac_ext
32057 cat >>conftest.
$ac_ext <<_ACEOF
32058 /* end confdefs.h. */
32068 rm -f conftest.
$ac_objext conftest
$ac_exeext
32069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32070 (eval $ac_link) 2>conftest.er1
32072 grep -v '^ *+' conftest.er1
>conftest.err
32074 cat conftest.err
>&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } &&
32077 { ac_try
='test -z "$ac_c_werror_flag"
32078 || test ! -s conftest.err'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; } &&
32084 { ac_try
='test -s conftest$ac_exeext'
32085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32086 (eval $ac_try) 2>&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); }; }; then
32091 echo "$as_me:$LINENO: result: yes" >&5
32092 echo "${ECHO_T}yes" >&6
32093 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
32094 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
32097 echo "$as_me: failed program was:" >&5
32098 sed 's/^/| /' conftest.
$ac_ext >&5
32101 echo "$as_me:$LINENO: result: no" >&5
32102 echo "${ECHO_T}no" >&6
32103 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32104 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32105 LDFLAGS
="$saveLdflags -Wl,-R,/"
32106 cat >conftest.
$ac_ext <<_ACEOF
32109 cat confdefs.h
>>conftest.
$ac_ext
32110 cat >>conftest.
$ac_ext <<_ACEOF
32111 /* end confdefs.h. */
32121 rm -f conftest.
$ac_objext conftest
$ac_exeext
32122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32123 (eval $ac_link) 2>conftest.er1
32125 grep -v '^ *+' conftest.er1
>conftest.err
32127 cat conftest.err
>&5
32128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32129 (exit $ac_status); } &&
32130 { ac_try
='test -z "$ac_c_werror_flag"
32131 || test ! -s conftest.err'
32132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32133 (eval $ac_try) 2>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; } &&
32137 { ac_try
='test -s conftest$ac_exeext'
32138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32139 (eval $ac_try) 2>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; }; then
32144 echo "$as_me:$LINENO: result: yes" >&5
32145 echo "${ECHO_T}yes" >&6
32146 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
32147 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.
$ac_ext >&5
32154 echo "$as_me:$LINENO: result: no" >&5
32155 echo "${ECHO_T}no" >&6
32158 rm -f conftest.err conftest.
$ac_objext \
32159 conftest
$ac_exeext conftest.
$ac_ext
32162 rm -f conftest.err conftest.
$ac_objext \
32163 conftest
$ac_exeext conftest.
$ac_ext
32164 LDFLAGS
="$saveLdflags"
32166 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
32167 WXCONFIG_RPATH
="-R\$libdir"
32172 install_name_tool
=`which install_name_tool`
32173 if test "$install_name_tool" -a -x "$install_name_tool"; then
32174 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32175 cat <<EOF >change-install-names
32177 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32178 inst_cmd="install_name_tool "
32179 for i in \${libnames} ; do
32180 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32184 chmod +x change
-install-names
32188 *-*-cygwin* | *-*-mingw32* )
32189 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32193 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
32194 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
32199 if test $wxUSE_RPATH = "no"; then
32200 SAMPLES_RPATH_FLAG
=''
32201 SAMPLES_RPATH_POSTLINK
=''
32209 config_linkage_component
="-static"
32216 lib_unicode_suffix
=
32218 if test "$wxUSE_UNICODE" = "yes"; then
32219 lib_unicode_suffix
=u
32220 WX_CHARTYPE
="unicode"
32225 WX_DEBUGTYPE
="release"
32227 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32229 WX_DEBUGTYPE
="debug"
32233 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
32234 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
32237 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32241 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32243 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32245 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32247 if test "$cross_compiling" = "yes"; then
32248 HOST_SUFFIX
="-$host_alias"
32249 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
32250 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
32253 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32254 if test "${TOOLKIT_DIR}" = "os2"; then
32255 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32257 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32262 if test "$wxUSE_COCOA" = 1; then
32266 ac_cpp
='$CPP $CPPFLAGS'
32267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32273 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32274 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32275 cat >conftest.
$ac_ext <<_ACEOF
32278 cat confdefs.h
>>conftest.
$ac_ext
32279 cat >>conftest.
$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32281 #include <AppKit/NSEvent.h>
32282 #include <CoreFoundation/CoreFoundation.h>
32292 rm -f conftest.
$ac_objext
32293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32294 (eval $ac_compile) 2>conftest.er1
32296 grep -v '^ *+' conftest.er1
>conftest.err
32298 cat conftest.err
>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); } &&
32301 { ac_try
='test -z "$ac_c_werror_flag"
32302 || test ! -s conftest.err'
32303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32304 (eval $ac_try) 2>&5
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); }; } &&
32308 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
32314 echo "$as_me:$LINENO: result: no" >&5
32315 echo "${ECHO_T}no" >&6
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.
$ac_ext >&5
32320 echo "$as_me:$LINENO: result: yes" >&5
32321 echo "${ECHO_T}yes" >&6
32322 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32323 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32324 cat >conftest.
$ac_ext <<_ACEOF
32327 cat confdefs.h
>>conftest.
$ac_ext
32328 cat >>conftest.
$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330 #define __Point__ 1
32331 #include <AppKit/NSEvent.h>
32332 #include <CoreFoundation/CoreFoundation.h>
32342 rm -f conftest.
$ac_objext
32343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32344 (eval $ac_compile) 2>conftest.er1
32346 grep -v '^ *+' conftest.er1
>conftest.err
32348 cat conftest.err
>&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); } &&
32351 { ac_try
='test -z "$ac_c_werror_flag"
32352 || test ! -s conftest.err'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; } &&
32358 { ac_try
='test -s conftest.$ac_objext'
32359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360 (eval $ac_try) 2>&5
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; }; then
32364 echo "$as_me:$LINENO: result: yes" >&5
32365 echo "${ECHO_T}yes" >&6
32366 cat >>confdefs.h
<<\_ACEOF
32367 #define __Point__ 1
32372 echo "$as_me: failed program was:" >&5
32373 sed 's/^/| /' conftest.
$ac_ext >&5
32375 { { echo "$as_me:$LINENO: error: no
32376 See \`config.log' for more details." >&5
32377 echo "$as_me: error: no
32378 See \`config.log' for more details." >&2;}
32379 { (exit 1); exit 1; }; }
32382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32387 ac_cpp
='$CPP $CPPFLAGS'
32388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32394 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32395 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32396 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32398 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32400 # Extract the first word of "Rez", so it can be a program name with args.
32401 set dummy Rez
; ac_word
=$2
32402 echo "$as_me:$LINENO: checking for $ac_word" >&5
32403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32404 if test "${ac_cv_prog_REZ+set}" = set; then
32405 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 if test -n "$REZ"; then
32408 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32411 for as_dir
in $PATH
32414 test -z "$as_dir" && as_dir
=.
32415 for ac_exec_ext
in '' $ac_executable_extensions; do
32416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32417 ac_cv_prog_REZ
="Rez"
32418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32424 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32427 REZ
=$ac_cv_prog_REZ
32428 if test -n "$REZ"; then
32429 echo "$as_me:$LINENO: result: $REZ" >&5
32430 echo "${ECHO_T}$REZ" >&6
32432 echo "$as_me:$LINENO: result: no" >&5
32433 echo "${ECHO_T}no" >&6
32436 # Extract the first word of "DeRez", so it can be a program name with args.
32437 set dummy DeRez
; ac_word
=$2
32438 echo "$as_me:$LINENO: checking for $ac_word" >&5
32439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32440 if test "${ac_cv_prog_DEREZ+set}" = set; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32443 if test -n "$DEREZ"; then
32444 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32447 for as_dir
in $PATH
32450 test -z "$as_dir" && as_dir
=.
32451 for ac_exec_ext
in '' $ac_executable_extensions; do
32452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32453 ac_cv_prog_DEREZ
="DeRez"
32454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32460 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32463 DEREZ
=$ac_cv_prog_DEREZ
32464 if test -n "$DEREZ"; then
32465 echo "$as_me:$LINENO: result: $DEREZ" >&5
32466 echo "${ECHO_T}$DEREZ" >&6
32468 echo "$as_me:$LINENO: result: no" >&5
32469 echo "${ECHO_T}no" >&6
32472 # Extract the first word of "SetFile", so it can be a program name with args.
32473 set dummy SetFile
; ac_word
=$2
32474 echo "$as_me:$LINENO: checking for $ac_word" >&5
32475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32476 if test "${ac_cv_prog_SETFILE+set}" = set; then
32477 echo $ECHO_N "(cached) $ECHO_C" >&6
32479 if test -n "$SETFILE"; then
32480 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32483 for as_dir
in $PATH
32486 test -z "$as_dir" && as_dir
=.
32487 for ac_exec_ext
in '' $ac_executable_extensions; do
32488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32489 ac_cv_prog_SETFILE
="SetFile"
32490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32496 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32499 SETFILE
=$ac_cv_prog_SETFILE
32500 if test -n "$SETFILE"; then
32501 echo "$as_me:$LINENO: result: $SETFILE" >&5
32502 echo "${ECHO_T}$SETFILE" >&6
32504 echo "$as_me:$LINENO: result: no" >&5
32505 echo "${ECHO_T}no" >&6
32509 MACSETFILE
="\$(SETFILE)"
32511 if test "$wxUSE_MAC" = 1; then
32512 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32514 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32516 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32517 RESCOMP
="echo -n \| $REZ"
32518 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32524 if test "$wxUSE_PM" = 1; then
32526 WXCONFIG_RESFLAGS
="-ep"
32528 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32530 POSTLINK_COMMAND
="@true"
32537 echo "$as_me:$LINENO: checking for mode_t" >&5
32538 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32539 if test "${ac_cv_type_mode_t+set}" = set; then
32540 echo $ECHO_N "(cached) $ECHO_C" >&6
32542 cat >conftest.
$ac_ext <<_ACEOF
32545 cat confdefs.h
>>conftest.
$ac_ext
32546 cat >>conftest.
$ac_ext <<_ACEOF
32547 /* end confdefs.h. */
32548 $ac_includes_default
32554 if (sizeof (mode_t))
32560 rm -f conftest.
$ac_objext
32561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32562 (eval $ac_compile) 2>conftest.er1
32564 grep -v '^ *+' conftest.er1
>conftest.err
32566 cat conftest.err
>&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); } &&
32569 { ac_try
='test -z "$ac_c_werror_flag"
32570 || test ! -s conftest.err'
32571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32572 (eval $ac_try) 2>&5
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); }; } &&
32576 { ac_try
='test -s conftest.$ac_objext'
32577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32578 (eval $ac_try) 2>&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); }; }; then
32582 ac_cv_type_mode_t
=yes
32584 echo "$as_me: failed program was:" >&5
32585 sed 's/^/| /' conftest.
$ac_ext >&5
32587 ac_cv_type_mode_t
=no
32589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32591 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32592 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32593 if test $ac_cv_type_mode_t = yes; then
32597 cat >>confdefs.h
<<_ACEOF
32603 echo "$as_me:$LINENO: checking for off_t" >&5
32604 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32605 if test "${ac_cv_type_off_t+set}" = set; then
32606 echo $ECHO_N "(cached) $ECHO_C" >&6
32608 cat >conftest.
$ac_ext <<_ACEOF
32611 cat confdefs.h
>>conftest.
$ac_ext
32612 cat >>conftest.
$ac_ext <<_ACEOF
32613 /* end confdefs.h. */
32614 $ac_includes_default
32620 if (sizeof (off_t))
32626 rm -f conftest.
$ac_objext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32628 (eval $ac_compile) 2>conftest.er1
32630 grep -v '^ *+' conftest.er1
>conftest.err
32632 cat conftest.err
>&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } &&
32635 { ac_try
='test -z "$ac_c_werror_flag"
32636 || test ! -s conftest.err'
32637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32638 (eval $ac_try) 2>&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); }; } &&
32642 { ac_try
='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_cv_type_off_t
=yes
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.
$ac_ext >&5
32653 ac_cv_type_off_t
=no
32655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32657 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32658 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32659 if test $ac_cv_type_off_t = yes; then
32663 cat >>confdefs.h
<<_ACEOF
32669 echo "$as_me:$LINENO: checking for pid_t" >&5
32670 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32671 if test "${ac_cv_type_pid_t+set}" = set; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32674 cat >conftest.
$ac_ext <<_ACEOF
32677 cat confdefs.h
>>conftest.
$ac_ext
32678 cat >>conftest.
$ac_ext <<_ACEOF
32679 /* end confdefs.h. */
32680 $ac_includes_default
32686 if (sizeof (pid_t))
32692 rm -f conftest.
$ac_objext
32693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32694 (eval $ac_compile) 2>conftest.er1
32696 grep -v '^ *+' conftest.er1
>conftest.err
32698 cat conftest.err
>&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); } &&
32701 { ac_try
='test -z "$ac_c_werror_flag"
32702 || test ! -s conftest.err'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; } &&
32708 { ac_try
='test -s conftest.$ac_objext'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; }; then
32714 ac_cv_type_pid_t
=yes
32716 echo "$as_me: failed program was:" >&5
32717 sed 's/^/| /' conftest.
$ac_ext >&5
32719 ac_cv_type_pid_t
=no
32721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32723 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32724 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32725 if test $ac_cv_type_pid_t = yes; then
32729 cat >>confdefs.h
<<_ACEOF
32735 echo "$as_me:$LINENO: checking for size_t" >&5
32736 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32737 if test "${ac_cv_type_size_t+set}" = set; then
32738 echo $ECHO_N "(cached) $ECHO_C" >&6
32740 cat >conftest.
$ac_ext <<_ACEOF
32743 cat confdefs.h
>>conftest.
$ac_ext
32744 cat >>conftest.
$ac_ext <<_ACEOF
32745 /* end confdefs.h. */
32746 $ac_includes_default
32752 if (sizeof (size_t))
32758 rm -f conftest.
$ac_objext
32759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32760 (eval $ac_compile) 2>conftest.er1
32762 grep -v '^ *+' conftest.er1
>conftest.err
32764 cat conftest.err
>&5
32765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32766 (exit $ac_status); } &&
32767 { ac_try
='test -z "$ac_c_werror_flag"
32768 || test ! -s conftest.err'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; } &&
32774 { ac_try
='test -s conftest.$ac_objext'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; }; then
32780 ac_cv_type_size_t
=yes
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.
$ac_ext >&5
32785 ac_cv_type_size_t
=no
32787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32789 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32790 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32791 if test $ac_cv_type_size_t = yes; then
32795 cat >>confdefs.h
<<_ACEOF
32796 #define size_t unsigned
32801 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32802 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32803 if test "${ac_cv_type_uid_t+set}" = set; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32806 cat >conftest.
$ac_ext <<_ACEOF
32809 cat confdefs.h
>>conftest.
$ac_ext
32810 cat >>conftest.
$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32812 #include <sys/types.h>
32815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32816 $EGREP "uid_t" >/dev
/null
2>&1; then
32817 ac_cv_type_uid_t
=yes
32819 ac_cv_type_uid_t
=no
32824 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32825 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32826 if test $ac_cv_type_uid_t = no
; then
32828 cat >>confdefs.h
<<\_ACEOF
32833 cat >>confdefs.h
<<\_ACEOF
32840 echo "$as_me:$LINENO: checking for ssize_t" >&5
32841 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32842 if test "${ac_cv_type_ssize_t+set}" = set; then
32843 echo $ECHO_N "(cached) $ECHO_C" >&6
32845 cat >conftest.
$ac_ext <<_ACEOF
32848 cat confdefs.h
>>conftest.
$ac_ext
32849 cat >>conftest.
$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851 $ac_includes_default
32857 if (sizeof (ssize_t))
32863 rm -f conftest.
$ac_objext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32865 (eval $ac_compile) 2>conftest.er1
32867 grep -v '^ *+' conftest.er1
>conftest.err
32869 cat conftest.err
>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } &&
32872 { ac_try
='test -z "$ac_c_werror_flag"
32873 || test ! -s conftest.err'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; } &&
32879 { ac_try
='test -s conftest.$ac_objext'
32880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32881 (eval $ac_try) 2>&5
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); }; }; then
32885 ac_cv_type_ssize_t
=yes
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.
$ac_ext >&5
32890 ac_cv_type_ssize_t
=no
32892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32894 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32895 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32896 if test $ac_cv_type_ssize_t = yes; then
32898 cat >>confdefs.h
<<_ACEOF
32899 #define HAVE_SSIZE_T 1
32907 ac_cpp
='$CXXCPP $CPPFLAGS'
32908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32911 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32912 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32913 if test "${wx_cv_size_t_is_uint+set}" = set; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32917 cat >conftest.
$ac_ext <<_ACEOF
32920 cat confdefs.h
>>conftest.
$ac_ext
32921 cat >>conftest.
$ac_ext <<_ACEOF
32922 /* end confdefs.h. */
32923 #include <stddef.h>
32930 struct Foo { void foo(size_t); void foo(unsigned int); };
32938 rm -f conftest.
$ac_objext
32939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32940 (eval $ac_compile) 2>conftest.er1
32942 grep -v '^ *+' conftest.er1
>conftest.err
32944 cat conftest.err
>&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); } &&
32947 { ac_try
='test -z "$ac_cxx_werror_flag"
32948 || test ! -s conftest.err'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; } &&
32954 { ac_try
='test -s conftest.$ac_objext'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; }; then
32960 wx_cv_size_t_is_uint
=no
32962 echo "$as_me: failed program was:" >&5
32963 sed 's/^/| /' conftest.
$ac_ext >&5
32965 wx_cv_size_t_is_uint
=yes
32968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32972 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32973 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32975 if test "$wx_cv_size_t_is_uint" = "yes"; then
32976 cat >>confdefs.h
<<\_ACEOF
32977 #define wxSIZE_T_IS_UINT 1
32981 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32982 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32983 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32984 echo $ECHO_N "(cached) $ECHO_C" >&6
32986 cat >conftest.
$ac_ext <<_ACEOF
32989 cat confdefs.h
>>conftest.
$ac_ext
32990 cat >>conftest.
$ac_ext <<_ACEOF
32991 /* end confdefs.h. */
32992 #include <stddef.h>
32999 struct Foo { void foo(size_t); void foo(unsigned long); };
33007 rm -f conftest.
$ac_objext
33008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33009 (eval $ac_compile) 2>conftest.er1
33011 grep -v '^ *+' conftest.er1
>conftest.err
33013 cat conftest.err
>&5
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); } &&
33016 { ac_try
='test -z "$ac_cxx_werror_flag"
33017 || test ! -s conftest.err'
33018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33019 (eval $ac_try) 2>&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); }; } &&
33023 { ac_try
='test -s conftest.$ac_objext'
33024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33025 (eval $ac_try) 2>&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); }; }; then
33029 wx_cv_size_t_is_ulong
=no
33031 echo "$as_me: failed program was:" >&5
33032 sed 's/^/| /' conftest.
$ac_ext >&5
33034 wx_cv_size_t_is_ulong
=yes
33037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33040 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33041 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33043 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxSIZE_T_IS_ULONG 1
33052 ac_cpp
='$CPP $CPPFLAGS'
33053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33058 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33059 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33060 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33061 echo $ECHO_N "(cached) $ECHO_C" >&6
33064 cat >conftest.
$ac_ext <<_ACEOF
33067 cat confdefs.h
>>conftest.
$ac_ext
33068 cat >>conftest.
$ac_ext <<_ACEOF
33069 /* end confdefs.h. */
33083 rm -f conftest.
$ac_objext
33084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33085 (eval $ac_compile) 2>conftest.er1
33087 grep -v '^ *+' conftest.er1
>conftest.err
33089 cat conftest.err
>&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } &&
33092 { ac_try
='test -z "$ac_c_werror_flag"
33093 || test ! -s conftest.err'
33094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33095 (eval $ac_try) 2>&5
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); }; } &&
33099 { ac_try
='test -s conftest.$ac_objext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33106 wx_cv_struct_pw_gecos
=yes
33109 echo "$as_me: failed program was:" >&5
33110 sed 's/^/| /' conftest.
$ac_ext >&5
33113 wx_cv_struct_pw_gecos
=no
33117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33121 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33122 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33124 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33125 cat >>confdefs.h
<<\_ACEOF
33126 #define HAVE_PW_GECOS 1
33132 if test "$wxUSE_WCHAR_T" = "yes"; then
33133 cat >>confdefs.h
<<\_ACEOF
33134 #define wxUSE_WCHAR_T 1
33141 for ac_func
in wcslen
33143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33144 echo "$as_me:$LINENO: checking for $ac_func" >&5
33145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33146 if eval "test \"\${$as_ac_var+set}\" = set"; then
33147 echo $ECHO_N "(cached) $ECHO_C" >&6
33149 cat >conftest.
$ac_ext <<_ACEOF
33152 cat confdefs.h
>>conftest.
$ac_ext
33153 cat >>conftest.
$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33157 #define $ac_func innocuous_$ac_func
33159 /* System header to define __stub macros and hopefully few prototypes,
33160 which can conflict with char $ac_func (); below.
33161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33162 <limits.h> exists even on freestanding compilers. */
33165 # include <limits.h>
33167 # include <assert.h>
33172 /* Override any gcc2 internal prototype to avoid an error. */
33177 /* We use char because int might match the return type of a gcc2
33178 builtin and then its argument prototype would still apply. */
33180 /* The GNU C library defines this for functions which it implements
33181 to always fail with ENOSYS. Some functions are actually named
33182 something starting with __ and the normal name is an alias. */
33183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33186 char (*f) () = $ac_func;
33195 return f != $ac_func;
33200 rm -f conftest.
$ac_objext conftest
$ac_exeext
33201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33202 (eval $ac_link) 2>conftest.er1
33204 grep -v '^ *+' conftest.er1
>conftest.err
33206 cat conftest.err
>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } &&
33209 { ac_try
='test -z "$ac_c_werror_flag"
33210 || test ! -s conftest.err'
33211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33212 (eval $ac_try) 2>&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); }; } &&
33216 { ac_try
='test -s conftest$ac_exeext'
33217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33218 (eval $ac_try) 2>&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; }; then
33222 eval "$as_ac_var=yes"
33224 echo "$as_me: failed program was:" >&5
33225 sed 's/^/| /' conftest.
$ac_ext >&5
33227 eval "$as_ac_var=no"
33229 rm -f conftest.err conftest.
$ac_objext \
33230 conftest
$ac_exeext conftest.
$ac_ext
33232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33234 if test `eval echo '${'$as_ac_var'}'` = yes; then
33235 cat >>confdefs.h
<<_ACEOF
33236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33243 if test "$WCSLEN_FOUND" = 0; then
33244 if test "$TOOLKIT" = "MSW"; then
33245 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33246 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33247 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33248 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 ac_check_lib_save_LIBS
=$LIBS
33251 LIBS
="-lmsvcrt $LIBS"
33252 cat >conftest.
$ac_ext <<_ACEOF
33255 cat confdefs.h
>>conftest.
$ac_ext
33256 cat >>conftest.
$ac_ext <<_ACEOF
33257 /* end confdefs.h. */
33259 /* Override any gcc2 internal prototype to avoid an error. */
33263 /* We use char because int might match the return type of a gcc2
33264 builtin and then its argument prototype would still apply. */
33274 rm -f conftest.
$ac_objext conftest
$ac_exeext
33275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33276 (eval $ac_link) 2>conftest.er1
33278 grep -v '^ *+' conftest.er1
>conftest.err
33280 cat conftest.err
>&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); } &&
33283 { ac_try
='test -z "$ac_c_werror_flag"
33284 || test ! -s conftest.err'
33285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33286 (eval $ac_try) 2>&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); }; } &&
33290 { ac_try
='test -s conftest$ac_exeext'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; }; then
33296 ac_cv_lib_msvcrt_wcslen
=yes
33298 echo "$as_me: failed program was:" >&5
33299 sed 's/^/| /' conftest.
$ac_ext >&5
33301 ac_cv_lib_msvcrt_wcslen
=no
33303 rm -f conftest.err conftest.
$ac_objext \
33304 conftest
$ac_exeext conftest.
$ac_ext
33305 LIBS
=$ac_check_lib_save_LIBS
33307 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33308 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33309 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33314 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33315 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33316 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33317 echo $ECHO_N "(cached) $ECHO_C" >&6
33319 ac_check_lib_save_LIBS
=$LIBS
33321 cat >conftest.
$ac_ext <<_ACEOF
33324 cat confdefs.h
>>conftest.
$ac_ext
33325 cat >>conftest.
$ac_ext <<_ACEOF
33326 /* end confdefs.h. */
33328 /* Override any gcc2 internal prototype to avoid an error. */
33332 /* We use char because int might match the return type of a gcc2
33333 builtin and then its argument prototype would still apply. */
33343 rm -f conftest.
$ac_objext conftest
$ac_exeext
33344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33345 (eval $ac_link) 2>conftest.er1
33347 grep -v '^ *+' conftest.er1
>conftest.err
33349 cat conftest.err
>&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); } &&
33352 { ac_try
='test -z "$ac_c_werror_flag"
33353 || test ! -s conftest.err'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; } &&
33359 { ac_try
='test -s conftest$ac_exeext'
33360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33361 (eval $ac_try) 2>&5
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); }; }; then
33365 ac_cv_lib_w_wcslen
=yes
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.
$ac_ext >&5
33370 ac_cv_lib_w_wcslen
=no
33372 rm -f conftest.err conftest.
$ac_objext \
33373 conftest
$ac_exeext conftest.
$ac_ext
33374 LIBS
=$ac_check_lib_save_LIBS
33376 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33377 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33378 if test $ac_cv_lib_w_wcslen = yes; then
33388 if test "$WCSLEN_FOUND" = 1; then
33389 cat >>confdefs.h
<<\_ACEOF
33390 #define HAVE_WCSLEN 1
33395 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33396 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33399 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33400 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33401 if test "${ac_cv_type_mbstate_t+set}" = set; then
33402 echo $ECHO_N "(cached) $ECHO_C" >&6
33404 cat >conftest.
$ac_ext <<_ACEOF
33407 cat confdefs.h
>>conftest.
$ac_ext
33408 cat >>conftest.
$ac_ext <<_ACEOF
33409 /* end confdefs.h. */
33415 if ((mbstate_t *) 0)
33417 if (sizeof (mbstate_t))
33423 rm -f conftest.
$ac_objext
33424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33425 (eval $ac_compile) 2>conftest.er1
33427 grep -v '^ *+' conftest.er1
>conftest.err
33429 cat conftest.err
>&5
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); } &&
33432 { ac_try
='test -z "$ac_c_werror_flag"
33433 || test ! -s conftest.err'
33434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33435 (eval $ac_try) 2>&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); }; } &&
33439 { ac_try
='test -s conftest.$ac_objext'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; }; then
33445 ac_cv_type_mbstate_t
=yes
33447 echo "$as_me: failed program was:" >&5
33448 sed 's/^/| /' conftest.
$ac_ext >&5
33450 ac_cv_type_mbstate_t
=no
33452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33454 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33455 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33456 if test $ac_cv_type_mbstate_t = yes; then
33458 cat >>confdefs.h
<<_ACEOF
33459 #define HAVE_MBSTATE_T 1
33463 for ac_func
in wcsrtombs
33465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33466 echo "$as_me:$LINENO: checking for $ac_func" >&5
33467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33468 if eval "test \"\${$as_ac_var+set}\" = set"; then
33469 echo $ECHO_N "(cached) $ECHO_C" >&6
33471 cat >conftest.
$ac_ext <<_ACEOF
33474 cat confdefs.h
>>conftest.
$ac_ext
33475 cat >>conftest.
$ac_ext <<_ACEOF
33476 /* end confdefs.h. */
33477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33479 #define $ac_func innocuous_$ac_func
33481 /* System header to define __stub macros and hopefully few prototypes,
33482 which can conflict with char $ac_func (); below.
33483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33484 <limits.h> exists even on freestanding compilers. */
33487 # include <limits.h>
33489 # include <assert.h>
33494 /* Override any gcc2 internal prototype to avoid an error. */
33499 /* We use char because int might match the return type of a gcc2
33500 builtin and then its argument prototype would still apply. */
33502 /* The GNU C library defines this for functions which it implements
33503 to always fail with ENOSYS. Some functions are actually named
33504 something starting with __ and the normal name is an alias. */
33505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33508 char (*f) () = $ac_func;
33517 return f != $ac_func;
33522 rm -f conftest.
$ac_objext conftest
$ac_exeext
33523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33524 (eval $ac_link) 2>conftest.er1
33526 grep -v '^ *+' conftest.er1
>conftest.err
33528 cat conftest.err
>&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } &&
33531 { ac_try
='test -z "$ac_c_werror_flag"
33532 || test ! -s conftest.err'
33533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33534 (eval $ac_try) 2>&5
33536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 (exit $ac_status); }; } &&
33538 { ac_try
='test -s conftest$ac_exeext'
33539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33540 (eval $ac_try) 2>&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); }; }; then
33544 eval "$as_ac_var=yes"
33546 echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.
$ac_ext >&5
33549 eval "$as_ac_var=no"
33551 rm -f conftest.err conftest.
$ac_objext \
33552 conftest
$ac_exeext conftest.
$ac_ext
33554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33556 if test `eval echo '${'$as_ac_var'}'` = yes; then
33557 cat >>confdefs.h
<<_ACEOF
33558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33567 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33568 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33573 for ac_func
in snprintf vsnprintf
33575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33576 echo "$as_me:$LINENO: checking for $ac_func" >&5
33577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33578 if eval "test \"\${$as_ac_var+set}\" = set"; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 cat >conftest.
$ac_ext <<_ACEOF
33584 cat confdefs.h
>>conftest.
$ac_ext
33585 cat >>conftest.
$ac_ext <<_ACEOF
33586 /* end confdefs.h. */
33587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33589 #define $ac_func innocuous_$ac_func
33591 /* System header to define __stub macros and hopefully few prototypes,
33592 which can conflict with char $ac_func (); below.
33593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33594 <limits.h> exists even on freestanding compilers. */
33597 # include <limits.h>
33599 # include <assert.h>
33604 /* Override any gcc2 internal prototype to avoid an error. */
33609 /* We use char because int might match the return type of a gcc2
33610 builtin and then its argument prototype would still apply. */
33612 /* The GNU C library defines this for functions which it implements
33613 to always fail with ENOSYS. Some functions are actually named
33614 something starting with __ and the normal name is an alias. */
33615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33618 char (*f) () = $ac_func;
33627 return f != $ac_func;
33632 rm -f conftest.
$ac_objext conftest
$ac_exeext
33633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33634 (eval $ac_link) 2>conftest.er1
33636 grep -v '^ *+' conftest.er1
>conftest.err
33638 cat conftest.err
>&5
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); } &&
33641 { ac_try
='test -z "$ac_c_werror_flag"
33642 || test ! -s conftest.err'
33643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644 (eval $ac_try) 2>&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); }; } &&
33648 { ac_try
='test -s conftest$ac_exeext'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; }; then
33654 eval "$as_ac_var=yes"
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.
$ac_ext >&5
33659 eval "$as_ac_var=no"
33661 rm -f conftest.err conftest.
$ac_objext \
33662 conftest
$ac_exeext conftest.
$ac_ext
33664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33666 if test `eval echo '${'$as_ac_var'}'` = yes; then
33667 cat >>confdefs.h
<<_ACEOF
33668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33675 if test "$ac_cv_func_vsnprintf" = "yes"; then
33676 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33677 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33678 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33679 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 cat >conftest.
$ac_ext <<_ACEOF
33685 cat confdefs.h
>>conftest.
$ac_ext
33686 cat >>conftest.
$ac_ext <<_ACEOF
33687 /* end confdefs.h. */
33690 #include <stdarg.h>
33692 #if __MSL__ >= 0x6000
33694 using namespace std;
33704 vsnprintf(buf, 10u, "%s", ap);
33710 rm -f conftest.
$ac_objext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33712 (eval $ac_compile) 2>conftest.er1
33714 grep -v '^ *+' conftest.er1
>conftest.err
33716 cat conftest.err
>&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try
='test -z "$ac_c_werror_flag"
33720 || test ! -s conftest.err'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; } &&
33726 { ac_try
='test -s conftest.$ac_objext'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; }; then
33732 wx_cv_func_vsnprintf_decl
=yes
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.
$ac_ext >&5
33737 wx_cv_func_vsnprintf_decl
=no
33740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33744 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33745 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33747 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33748 cat >>confdefs.h
<<\_ACEOF
33749 #define HAVE_VSNPRINTF_DECL 1
33753 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33754 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33755 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 cat >conftest.
$ac_ext <<_ACEOF
33762 cat confdefs.h
>>conftest.
$ac_ext
33763 cat >>conftest.
$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33767 #include <stdarg.h>
33769 #if __MSL__ >= 0x6000
33771 using namespace std;
33781 const char *fmt = "%s";
33782 vsnprintf(buf, 10u, fmt, ap);
33788 rm -f conftest.
$ac_objext
33789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33790 (eval $ac_compile) 2>conftest.er1
33792 grep -v '^ *+' conftest.er1
>conftest.err
33794 cat conftest.err
>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } &&
33797 { ac_try
='test -z "$ac_c_werror_flag"
33798 || test ! -s conftest.err'
33799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33800 (eval $ac_try) 2>&5
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); }; } &&
33804 { ac_try
='test -s conftest.$ac_objext'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; }; then
33810 wx_cv_func_broken_vsnprintf_decl
=no
33812 echo "$as_me: failed program was:" >&5
33813 sed 's/^/| /' conftest.
$ac_ext >&5
33815 wx_cv_func_broken_vsnprintf_decl
=yes
33818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33822 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33823 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33825 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33826 cat >>confdefs.h
<<\_ACEOF
33827 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33834 if test "$ac_cv_func_snprintf" = "yes"; then
33835 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33836 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33837 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33838 echo $ECHO_N "(cached) $ECHO_C" >&6
33841 cat >conftest.
$ac_ext <<_ACEOF
33844 cat confdefs.h
>>conftest.
$ac_ext
33845 cat >>conftest.
$ac_ext <<_ACEOF
33846 /* end confdefs.h. */
33849 #include <stdarg.h>
33851 #if __MSL__ >= 0x6000
33853 using namespace std;
33862 snprintf(buf, 10u, "%s", "wx");
33868 rm -f conftest.
$ac_objext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33870 (eval $ac_compile) 2>conftest.er1
33872 grep -v '^ *+' conftest.er1
>conftest.err
33874 cat conftest.err
>&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try
='test -z "$ac_c_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try
='test -s conftest.$ac_objext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 wx_cv_func_snprintf_decl
=yes
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.
$ac_ext >&5
33895 wx_cv_func_snprintf_decl
=no
33898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33902 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33903 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33905 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33906 cat >>confdefs.h
<<\_ACEOF
33907 #define HAVE_SNPRINTF_DECL 1
33911 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33912 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33913 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33914 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 cat >conftest.
$ac_ext <<_ACEOF
33920 cat confdefs.h
>>conftest.
$ac_ext
33921 cat >>conftest.
$ac_ext <<_ACEOF
33922 /* end confdefs.h. */
33925 #include <stdarg.h>
33927 #if __MSL__ >= 0x6000
33929 using namespace std;
33938 const char *fmt = "%s";
33939 snprintf(buf, 10u, fmt, "wx");
33945 rm -f conftest.
$ac_objext
33946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33947 (eval $ac_compile) 2>conftest.er1
33949 grep -v '^ *+' conftest.er1
>conftest.err
33951 cat conftest.err
>&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); } &&
33954 { ac_try
='test -z "$ac_c_werror_flag"
33955 || test ! -s conftest.err'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; } &&
33961 { ac_try
='test -s conftest.$ac_objext'
33962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33963 (eval $ac_try) 2>&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); }; }; then
33967 wx_cv_func_broken_snprintf_decl
=no
33969 echo "$as_me: failed program was:" >&5
33970 sed 's/^/| /' conftest.
$ac_ext >&5
33972 wx_cv_func_broken_snprintf_decl
=yes
33975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33979 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33980 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33982 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33983 cat >>confdefs.h
<<\_ACEOF
33984 #define HAVE_BROKEN_SNPRINTF_DECL 1
33990 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
33992 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
33993 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
33994 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 if test "$cross_compiling" = yes; then
34000 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34001 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34002 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34003 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34004 wx_cv_func_snprintf_pos_params
=no
34008 cat >conftest.
$ac_ext <<_ACEOF
34011 cat confdefs.h
>>conftest.
$ac_ext
34012 cat >>conftest.
$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34020 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34021 if (strcmp ("2 3 1", buffer) == 0)
34027 rm -f conftest
$ac_exeext
34028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34029 (eval $ac_link) 2>&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; }; then
34038 wx_cv_func_snprintf_pos_params
=no
34040 echo "$as_me: program exited with status $ac_status" >&5
34041 echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.
$ac_ext >&5
34044 ( exit $ac_status )
34045 wx_cv_func_snprintf_pos_params
=yes
34047 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34052 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34053 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34055 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34056 cat >>confdefs.h
<<\_ACEOF
34057 #define HAVE_UNIX98_PRINTF 1
34064 if test "$wxUSE_UNICODE" = yes; then
34067 for ac_func
in swprintf
34069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34070 echo "$as_me:$LINENO: checking for $ac_func" >&5
34071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34072 if eval "test \"\${$as_ac_var+set}\" = set"; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34075 cat >conftest.
$ac_ext <<_ACEOF
34078 cat confdefs.h
>>conftest.
$ac_ext
34079 cat >>conftest.
$ac_ext <<_ACEOF
34080 /* end confdefs.h. */
34081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34083 #define $ac_func innocuous_$ac_func
34085 /* System header to define __stub macros and hopefully few prototypes,
34086 which can conflict with char $ac_func (); below.
34087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34088 <limits.h> exists even on freestanding compilers. */
34091 # include <limits.h>
34093 # include <assert.h>
34098 /* Override any gcc2 internal prototype to avoid an error. */
34103 /* We use char because int might match the return type of a gcc2
34104 builtin and then its argument prototype would still apply. */
34106 /* The GNU C library defines this for functions which it implements
34107 to always fail with ENOSYS. Some functions are actually named
34108 something starting with __ and the normal name is an alias. */
34109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34112 char (*f) () = $ac_func;
34121 return f != $ac_func;
34126 rm -f conftest.
$ac_objext conftest
$ac_exeext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34128 (eval $ac_link) 2>conftest.er1
34130 grep -v '^ *+' conftest.er1
>conftest.err
34132 cat conftest.err
>&5
34133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34134 (exit $ac_status); } &&
34135 { ac_try
='test -z "$ac_c_werror_flag"
34136 || test ! -s conftest.err'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; } &&
34142 { ac_try
='test -s conftest$ac_exeext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148 eval "$as_ac_var=yes"
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.
$ac_ext >&5
34153 eval "$as_ac_var=no"
34155 rm -f conftest.err conftest.
$ac_objext \
34156 conftest
$ac_exeext conftest.
$ac_ext
34158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34160 if test `eval echo '${'$as_ac_var'}'` = yes; then
34161 cat >>confdefs.h
<<_ACEOF
34162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34169 if test "$ac_cv_func_swprintf" = "yes"; then
34170 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34171 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
34172 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 cat >conftest.
$ac_ext <<_ACEOF
34179 cat confdefs.h
>>conftest.
$ac_ext
34180 cat >>conftest.
$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34184 #include <stdarg.h>
34192 const wchar_t *fmt = L"test";
34193 swprintf(buf, 10u, fmt);
34199 rm -f conftest.
$ac_objext
34200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34201 (eval $ac_compile) 2>conftest.er1
34203 grep -v '^ *+' conftest.er1
>conftest.err
34205 cat conftest.err
>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } &&
34208 { ac_try
='test -z "$ac_c_werror_flag"
34209 || test ! -s conftest.err'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; } &&
34215 { ac_try
='test -s conftest.$ac_objext'
34216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34217 (eval $ac_try) 2>&5
34219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34220 (exit $ac_status); }; }; then
34221 wx_cv_func_broken_swprintf_decl
=no
34223 echo "$as_me: failed program was:" >&5
34224 sed 's/^/| /' conftest.
$ac_ext >&5
34226 wx_cv_func_broken_swprintf_decl
=yes
34229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34233 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34234 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
34236 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34237 cat >>confdefs.h
<<\_ACEOF
34238 #define HAVE_BROKEN_SWPRINTF_DECL 1
34244 wchar_headers
="#include <stdio.h>
34245 #include <wchar.h>"
34248 echo "$as_me:$LINENO: checking for widec.h" >&5
34249 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
34250 if test "${ac_cv_header_widec_h+set}" = set; then
34251 echo $ECHO_N "(cached) $ECHO_C" >&6
34253 cat >conftest.
$ac_ext <<_ACEOF
34256 cat confdefs.h
>>conftest.
$ac_ext
34257 cat >>conftest.
$ac_ext <<_ACEOF
34258 /* end confdefs.h. */
34259 $ac_includes_default
34263 rm -f conftest.
$ac_objext
34264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34265 (eval $ac_compile) 2>conftest.er1
34267 grep -v '^ *+' conftest.er1
>conftest.err
34269 cat conftest.err
>&5
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); } &&
34272 { ac_try
='test -z "$ac_c_werror_flag"
34273 || test ! -s conftest.err'
34274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34275 (eval $ac_try) 2>&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); }; } &&
34279 { ac_try
='test -s conftest.$ac_objext'
34280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34281 (eval $ac_try) 2>&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); }; }; then
34285 ac_cv_header_widec_h
=yes
34287 echo "$as_me: failed program was:" >&5
34288 sed 's/^/| /' conftest.
$ac_ext >&5
34290 ac_cv_header_widec_h
=no
34292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34294 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34295 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
34298 if test "$ac_cv_header_widec_h" = "yes"; then
34299 wchar_headers
="$wchar_headers
34300 #include <widec.h>"
34305 for wx_func
in wputc wputchar putws fputws wprintf vswprintf
34307 echo "$as_me:$LINENO: checking for $wx_func" >&5
34308 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34309 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34310 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 cat >conftest.
$ac_ext <<_ACEOF
34317 cat confdefs.h
>>conftest.
$ac_ext
34318 cat >>conftest.
$ac_ext <<_ACEOF
34319 /* end confdefs.h. */
34322 $ac_includes_default
34338 rm -f conftest.
$ac_objext conftest
$ac_exeext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34340 (eval $ac_link) 2>conftest.er1
34342 grep -v '^ *+' conftest.er1
>conftest.err
34344 cat conftest.err
>&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try
='test -z "$ac_c_werror_flag"
34348 || test ! -s conftest.err'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; } &&
34354 { ac_try
='test -s conftest$ac_exeext'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; }; then
34360 eval wx_cv_func_
$wx_func=yes
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.
$ac_ext >&5
34365 eval wx_cv_func_
$wx_func=no
34367 rm -f conftest.err conftest.
$ac_objext \
34368 conftest
$ac_exeext conftest.
$ac_ext
34371 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34372 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34374 if eval test \
$wx_cv_func_$wx_func = yes
34376 cat >>confdefs.h
<<_ACEOF
34377 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34388 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34389 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34390 cat >conftest.
$ac_ext <<_ACEOF
34393 cat confdefs.h
>>conftest.
$ac_ext
34394 cat >>conftest.
$ac_ext <<_ACEOF
34395 /* end confdefs.h. */
34405 rm -f conftest.
$ac_objext
34406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34407 (eval $ac_compile) 2>conftest.er1
34409 grep -v '^ *+' conftest.er1
>conftest.err
34411 cat conftest.err
>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } &&
34414 { ac_try
='test -z "$ac_c_werror_flag"
34415 || test ! -s conftest.err'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; } &&
34421 { ac_try
='test -s conftest.$ac_objext'
34422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34423 (eval $ac_try) 2>&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); }; }; then
34427 echo "$as_me:$LINENO: result: yes" >&5
34428 echo "${ECHO_T}yes" >&6
34429 cat >>confdefs.h
<<\_ACEOF
34430 #define HAVE__VSNWPRINTF 1
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.
$ac_ext >&5
34437 echo "$as_me:$LINENO: result: no" >&5
34438 echo "${ECHO_T}no" >&6
34440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
34443 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34445 for wx_func
in fnmatch
34447 echo "$as_me:$LINENO: checking for $wx_func" >&5
34448 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34449 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34450 echo $ECHO_N "(cached) $ECHO_C" >&6
34453 cat >conftest.
$ac_ext <<_ACEOF
34457 cat confdefs.h
>>conftest.
$ac_ext
34458 cat >>conftest.
$ac_ext <<_ACEOF
34459 /* end confdefs.h. */
34461 #include <fnmatch.h>
34462 $ac_includes_default
34478 rm -f conftest.
$ac_objext conftest
$ac_exeext
34479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34480 (eval $ac_link) 2>conftest.er1
34482 grep -v '^ *+' conftest.er1
>conftest.err
34484 cat conftest.err
>&5
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); } &&
34487 { ac_try
='test -z "$ac_c_werror_flag"
34488 || test ! -s conftest.err'
34489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34490 (eval $ac_try) 2>&5
34492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34493 (exit $ac_status); }; } &&
34494 { ac_try
='test -s conftest$ac_exeext'
34495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34496 (eval $ac_try) 2>&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); }; }; then
34500 eval wx_cv_func_
$wx_func=yes
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.
$ac_ext >&5
34505 eval wx_cv_func_
$wx_func=no
34507 rm -f conftest.err conftest.
$ac_objext \
34508 conftest
$ac_exeext conftest.
$ac_ext
34511 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34512 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34514 if eval test \
$wx_cv_func_$wx_func = yes
34516 cat >>confdefs.h
<<_ACEOF
34517 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34529 if test "$wxUSE_FILE" = "yes"; then
34531 for wx_func
in fsync
34533 echo "$as_me:$LINENO: checking for $wx_func" >&5
34534 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34535 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 cat >conftest.
$ac_ext <<_ACEOF
34543 cat confdefs.h
>>conftest.
$ac_ext
34544 cat >>conftest.
$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34548 $ac_includes_default
34564 rm -f conftest.
$ac_objext conftest
$ac_exeext
34565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34566 (eval $ac_link) 2>conftest.er1
34568 grep -v '^ *+' conftest.er1
>conftest.err
34570 cat conftest.err
>&5
34571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34572 (exit $ac_status); } &&
34573 { ac_try
='test -z "$ac_c_werror_flag"
34574 || test ! -s conftest.err'
34575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34576 (eval $ac_try) 2>&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); }; } &&
34580 { ac_try
='test -s conftest$ac_exeext'
34581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34582 (eval $ac_try) 2>&5
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); }; }; then
34586 eval wx_cv_func_
$wx_func=yes
34588 echo "$as_me: failed program was:" >&5
34589 sed 's/^/| /' conftest.
$ac_ext >&5
34591 eval wx_cv_func_
$wx_func=no
34593 rm -f conftest.err conftest.
$ac_objext \
34594 conftest
$ac_exeext conftest.
$ac_ext
34597 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34598 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34600 if eval test \
$wx_cv_func_$wx_func = yes
34602 cat >>confdefs.h
<<_ACEOF
34603 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34616 for wx_func
in round
34618 echo "$as_me:$LINENO: checking for $wx_func" >&5
34619 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34620 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34624 cat >conftest.
$ac_ext <<_ACEOF
34628 cat confdefs.h
>>conftest.
$ac_ext
34629 cat >>conftest.
$ac_ext <<_ACEOF
34630 /* end confdefs.h. */
34633 $ac_includes_default
34649 rm -f conftest.
$ac_objext conftest
$ac_exeext
34650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34651 (eval $ac_link) 2>conftest.er1
34653 grep -v '^ *+' conftest.er1
>conftest.err
34655 cat conftest.err
>&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); } &&
34658 { ac_try
='test -z "$ac_c_werror_flag"
34659 || test ! -s conftest.err'
34660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34661 (eval $ac_try) 2>&5
34663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); }; } &&
34665 { ac_try
='test -s conftest$ac_exeext'
34666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34667 (eval $ac_try) 2>&5
34669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670 (exit $ac_status); }; }; then
34671 eval wx_cv_func_
$wx_func=yes
34673 echo "$as_me: failed program was:" >&5
34674 sed 's/^/| /' conftest.
$ac_ext >&5
34676 eval wx_cv_func_
$wx_func=no
34678 rm -f conftest.err conftest.
$ac_objext \
34679 conftest
$ac_exeext conftest.
$ac_ext
34682 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34683 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34685 if eval test \
$wx_cv_func_$wx_func = yes
34687 cat >>confdefs.h
<<_ACEOF
34688 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34699 if test "$TOOLKIT" != "MSW"; then
34705 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34706 if test "${with_libiconv_prefix+set}" = set; then
34707 withval
="$with_libiconv_prefix"
34709 for dir
in `echo "$withval" | tr : ' '`; do
34710 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34711 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34716 echo "$as_me:$LINENO: checking for iconv" >&5
34717 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34718 if test "${am_cv_func_iconv+set}" = set; then
34719 echo $ECHO_N "(cached) $ECHO_C" >&6
34722 am_cv_func_iconv
="no, consider installing GNU libiconv"
34724 cat >conftest.
$ac_ext <<_ACEOF
34727 cat confdefs.h
>>conftest.
$ac_ext
34728 cat >>conftest.
$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730 #include <stdlib.h>
34735 iconv_t cd = iconv_open("","");
34736 iconv(cd,NULL,NULL,NULL,NULL);
34742 rm -f conftest.
$ac_objext conftest
$ac_exeext
34743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34744 (eval $ac_link) 2>conftest.er1
34746 grep -v '^ *+' conftest.er1
>conftest.err
34748 cat conftest.err
>&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } &&
34751 { ac_try
='test -z "$ac_c_werror_flag"
34752 || test ! -s conftest.err'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; } &&
34758 { ac_try
='test -s conftest$ac_exeext'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; }; then
34764 am_cv_func_iconv
=yes
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.
$ac_ext >&5
34770 rm -f conftest.err conftest.
$ac_objext \
34771 conftest
$ac_exeext conftest.
$ac_ext
34772 if test "$am_cv_func_iconv" != yes; then
34773 am_save_LIBS
="$LIBS"
34774 LIBS
="$LIBS -liconv"
34775 cat >conftest.
$ac_ext <<_ACEOF
34778 cat confdefs.h
>>conftest.
$ac_ext
34779 cat >>conftest.
$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34781 #include <stdlib.h>
34786 iconv_t cd = iconv_open("","");
34787 iconv(cd,NULL,NULL,NULL,NULL);
34793 rm -f conftest.
$ac_objext conftest
$ac_exeext
34794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34795 (eval $ac_link) 2>conftest.er1
34797 grep -v '^ *+' conftest.er1
>conftest.err
34799 cat conftest.err
>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } &&
34802 { ac_try
='test -z "$ac_c_werror_flag"
34803 || test ! -s conftest.err'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; } &&
34809 { ac_try
='test -s conftest$ac_exeext'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; }; then
34815 am_cv_lib_iconv
=yes
34816 am_cv_func_iconv
=yes
34818 echo "$as_me: failed program was:" >&5
34819 sed 's/^/| /' conftest.
$ac_ext >&5
34822 rm -f conftest.err conftest.
$ac_objext \
34823 conftest
$ac_exeext conftest.
$ac_ext
34824 LIBS
="$am_save_LIBS"
34828 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34829 echo "${ECHO_T}$am_cv_func_iconv" >&6
34830 if test "$am_cv_func_iconv" = yes; then
34832 cat >>confdefs.h
<<\_ACEOF
34833 #define HAVE_ICONV 1
34836 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34837 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34838 if test "${wx_cv_func_iconv_const+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 cat >conftest.
$ac_ext <<_ACEOF
34844 cat confdefs.h
>>conftest.
$ac_ext
34845 cat >>conftest.
$ac_ext <<_ACEOF
34846 /* end confdefs.h. */
34848 #include <stdlib.h>
34854 #if defined(__STDC__) || defined(__cplusplus)
34855 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34868 rm -f conftest.
$ac_objext
34869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34870 (eval $ac_compile) 2>conftest.er1
34872 grep -v '^ *+' conftest.er1
>conftest.err
34874 cat conftest.err
>&5
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); } &&
34877 { ac_try
='test -z "$ac_c_werror_flag"
34878 || test ! -s conftest.err'
34879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34880 (eval $ac_try) 2>&5
34882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34883 (exit $ac_status); }; } &&
34884 { ac_try
='test -s conftest.$ac_objext'
34885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34886 (eval $ac_try) 2>&5
34888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889 (exit $ac_status); }; }; then
34890 wx_cv_func_iconv_const
="no"
34892 echo "$as_me: failed program was:" >&5
34893 sed 's/^/| /' conftest.
$ac_ext >&5
34895 wx_cv_func_iconv_const
="yes"
34898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34901 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34902 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34905 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34906 iconv_const
="const"
34910 cat >>confdefs.h
<<_ACEOF
34911 #define ICONV_CONST $iconv_const
34916 if test "$am_cv_lib_iconv" = yes; then
34921 LIBS
="$LIBICONV $LIBS"
34923 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34925 for ac_func
in sigaction
34927 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34928 echo "$as_me:$LINENO: checking for $ac_func" >&5
34929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34930 if eval "test \"\${$as_ac_var+set}\" = set"; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34933 cat >conftest.
$ac_ext <<_ACEOF
34936 cat confdefs.h
>>conftest.
$ac_ext
34937 cat >>conftest.
$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34941 #define $ac_func innocuous_$ac_func
34943 /* System header to define __stub macros and hopefully few prototypes,
34944 which can conflict with char $ac_func (); below.
34945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34946 <limits.h> exists even on freestanding compilers. */
34949 # include <limits.h>
34951 # include <assert.h>
34956 /* Override any gcc2 internal prototype to avoid an error. */
34961 /* We use char because int might match the return type of a gcc2
34962 builtin and then its argument prototype would still apply. */
34964 /* The GNU C library defines this for functions which it implements
34965 to always fail with ENOSYS. Some functions are actually named
34966 something starting with __ and the normal name is an alias. */
34967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34970 char (*f) () = $ac_func;
34979 return f != $ac_func;
34984 rm -f conftest.
$ac_objext conftest
$ac_exeext
34985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34986 (eval $ac_link) 2>conftest.er1
34988 grep -v '^ *+' conftest.er1
>conftest.err
34990 cat conftest.err
>&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } &&
34993 { ac_try
='test -z "$ac_c_werror_flag"
34994 || test ! -s conftest.err'
34995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34996 (eval $ac_try) 2>&5
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); }; } &&
35000 { ac_try
='test -s conftest$ac_exeext'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; }; then
35006 eval "$as_ac_var=yes"
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.
$ac_ext >&5
35011 eval "$as_ac_var=no"
35013 rm -f conftest.err conftest.
$ac_objext \
35014 conftest
$ac_exeext conftest.
$ac_ext
35016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35018 if test `eval echo '${'$as_ac_var'}'` = yes; then
35019 cat >>confdefs.h
<<_ACEOF
35020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35027 if test "$ac_cv_func_sigaction" = "no"; then
35028 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35029 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35030 wxUSE_ON_FATAL_EXCEPTION
=no
35033 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35034 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35035 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35036 if test "${wx_cv_type_sa_handler+set}" = set; then
35037 echo $ECHO_N "(cached) $ECHO_C" >&6
35041 ac_cpp
='$CXXCPP $CPPFLAGS'
35042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35046 cat >conftest.
$ac_ext <<_ACEOF
35049 cat confdefs.h
>>conftest.
$ac_ext
35050 cat >>conftest.
$ac_ext <<_ACEOF
35051 /* end confdefs.h. */
35052 #include <signal.h>
35057 extern void testSigHandler(int);
35059 struct sigaction sa;
35060 sa.sa_handler = testSigHandler;
35066 rm -f conftest.
$ac_objext
35067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35068 (eval $ac_compile) 2>conftest.er1
35070 grep -v '^ *+' conftest.er1
>conftest.err
35072 cat conftest.err
>&5
35073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074 (exit $ac_status); } &&
35075 { ac_try
='test -z "$ac_cxx_werror_flag"
35076 || test ! -s conftest.err'
35077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35078 (eval $ac_try) 2>&5
35080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081 (exit $ac_status); }; } &&
35082 { ac_try
='test -s conftest.$ac_objext'
35083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35084 (eval $ac_try) 2>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); }; }; then
35089 wx_cv_type_sa_handler
=int
35092 echo "$as_me: failed program was:" >&5
35093 sed 's/^/| /' conftest.
$ac_ext >&5
35096 wx_cv_type_sa_handler
=void
35099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35101 ac_cpp
='$CPP $CPPFLAGS'
35102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35108 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35109 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35111 cat >>confdefs.h
<<_ACEOF
35112 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35118 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35119 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35120 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35121 if test "${wx_cv_func_backtrace+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 ac_cpp
='$CXXCPP $CPPFLAGS'
35127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35131 cat >conftest.
$ac_ext <<_ACEOF
35134 cat confdefs.h
>>conftest.
$ac_ext
35135 cat >>conftest.
$ac_ext <<_ACEOF
35136 /* end confdefs.h. */
35137 #include <execinfo.h>
35145 backtrace(trace, 1);
35146 messages = backtrace_symbols(trace, 1);
35152 rm -f conftest.
$ac_objext
35153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35154 (eval $ac_compile) 2>conftest.er1
35156 grep -v '^ *+' conftest.er1
>conftest.err
35158 cat conftest.err
>&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); } &&
35161 { ac_try
='test -z "$ac_cxx_werror_flag"
35162 || test ! -s conftest.err'
35163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35164 (eval $ac_try) 2>&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); }; } &&
35168 { ac_try
='test -s conftest.$ac_objext'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; }; then
35174 wx_cv_func_backtrace
=yes
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.
$ac_ext >&5
35179 wx_cv_func_backtrace
=no
35182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35184 ac_cpp
='$CPP $CPPFLAGS'
35185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35192 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35193 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35196 if test "$wx_cv_func_backtrace" = "no"; then
35197 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35198 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35199 wxUSE_STACKWALKER
=no
35201 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35202 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35203 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35204 echo $ECHO_N "(cached) $ECHO_C" >&6
35208 ac_cpp
='$CXXCPP $CPPFLAGS'
35209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35213 cat >conftest.
$ac_ext <<_ACEOF
35216 cat confdefs.h
>>conftest.
$ac_ext
35217 cat >>conftest.
$ac_ext <<_ACEOF
35218 /* end confdefs.h. */
35219 #include <cxxabi.h>
35225 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35231 rm -f conftest.
$ac_objext conftest
$ac_exeext
35232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35233 (eval $ac_link) 2>conftest.er1
35235 grep -v '^ *+' conftest.er1
>conftest.err
35237 cat conftest.err
>&5
35238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35239 (exit $ac_status); } &&
35240 { ac_try
='test -z "$ac_cxx_werror_flag"
35241 || test ! -s conftest.err'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; } &&
35247 { ac_try
='test -s conftest$ac_exeext'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; }; then
35253 wx_cv_func_cxa_demangle
=yes
35255 echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.
$ac_ext >&5
35258 wx_cv_func_cxa_demangle
=no
35261 rm -f conftest.err conftest.
$ac_objext \
35262 conftest
$ac_exeext conftest.
$ac_ext
35264 ac_cpp
='$CPP $CPPFLAGS'
35265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35272 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35273 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35275 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35276 cat >>confdefs.h
<<\_ACEOF
35277 #define HAVE_CXA_DEMANGLE 1
35284 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35285 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35286 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35287 wxUSE_STACKWALKER
=no
35293 for ac_func
in mkstemp mktemp
35295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35296 echo "$as_me:$LINENO: checking for $ac_func" >&5
35297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35298 if eval "test \"\${$as_ac_var+set}\" = set"; then
35299 echo $ECHO_N "(cached) $ECHO_C" >&6
35301 cat >conftest.
$ac_ext <<_ACEOF
35304 cat confdefs.h
>>conftest.
$ac_ext
35305 cat >>conftest.
$ac_ext <<_ACEOF
35306 /* end confdefs.h. */
35307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35309 #define $ac_func innocuous_$ac_func
35311 /* System header to define __stub macros and hopefully few prototypes,
35312 which can conflict with char $ac_func (); below.
35313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35314 <limits.h> exists even on freestanding compilers. */
35317 # include <limits.h>
35319 # include <assert.h>
35324 /* Override any gcc2 internal prototype to avoid an error. */
35329 /* We use char because int might match the return type of a gcc2
35330 builtin and then its argument prototype would still apply. */
35332 /* The GNU C library defines this for functions which it implements
35333 to always fail with ENOSYS. Some functions are actually named
35334 something starting with __ and the normal name is an alias. */
35335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35338 char (*f) () = $ac_func;
35347 return f != $ac_func;
35352 rm -f conftest.
$ac_objext conftest
$ac_exeext
35353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35354 (eval $ac_link) 2>conftest.er1
35356 grep -v '^ *+' conftest.er1
>conftest.err
35358 cat conftest.err
>&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } &&
35361 { ac_try
='test -z "$ac_c_werror_flag"
35362 || test ! -s conftest.err'
35363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364 (eval $ac_try) 2>&5
35366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367 (exit $ac_status); }; } &&
35368 { ac_try
='test -s conftest$ac_exeext'
35369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 (eval $ac_try) 2>&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); }; }; then
35374 eval "$as_ac_var=yes"
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.
$ac_ext >&5
35379 eval "$as_ac_var=no"
35381 rm -f conftest.err conftest.
$ac_objext \
35382 conftest
$ac_exeext conftest.
$ac_ext
35384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35386 if test `eval echo '${'$as_ac_var'}'` = yes; then
35387 cat >>confdefs.h
<<_ACEOF
35388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35395 echo "$as_me:$LINENO: checking for statfs" >&5
35396 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35397 if test "${wx_cv_func_statfs+set}" = set; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35400 cat >conftest.
$ac_ext <<_ACEOF
35403 cat confdefs.h
>>conftest.
$ac_ext
35404 cat >>conftest.
$ac_ext <<_ACEOF
35405 /* end confdefs.h. */
35407 #if defined(__BSD__)
35408 #include <sys/param.h>
35409 #include <sys/mount.h>
35411 #include <sys/vfs.h>
35429 rm -f conftest.
$ac_objext
35430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35431 (eval $ac_compile) 2>conftest.er1
35433 grep -v '^ *+' conftest.er1
>conftest.err
35435 cat conftest.err
>&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); } &&
35438 { ac_try
='test -z "$ac_c_werror_flag"
35439 || test ! -s conftest.err'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; } &&
35445 { ac_try
='test -s conftest.$ac_objext'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; }; then
35451 wx_cv_func_statfs
=yes
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.
$ac_ext >&5
35456 wx_cv_func_statfs
=no
35459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35462 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35463 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35465 if test "$wx_cv_func_statfs" = "yes"; then
35466 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35467 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35468 if test "${wx_cv_func_statfs_decl+set}" = set; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 ac_cpp
='$CXXCPP $CPPFLAGS'
35473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35477 cat >conftest.
$ac_ext <<_ACEOF
35480 cat confdefs.h
>>conftest.
$ac_ext
35481 cat >>conftest.
$ac_ext <<_ACEOF
35482 /* end confdefs.h. */
35484 #if defined(__BSD__)
35485 #include <sys/param.h>
35486 #include <sys/mount.h>
35488 #include <sys/vfs.h>
35502 rm -f conftest.
$ac_objext
35503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35504 (eval $ac_compile) 2>conftest.er1
35506 grep -v '^ *+' conftest.er1
>conftest.err
35508 cat conftest.err
>&5
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); } &&
35511 { ac_try
='test -z "$ac_cxx_werror_flag"
35512 || test ! -s conftest.err'
35513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35514 (eval $ac_try) 2>&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); }; } &&
35518 { ac_try
='test -s conftest.$ac_objext'
35519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35520 (eval $ac_try) 2>&5
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); }; }; then
35524 wx_cv_func_statfs_decl
=yes
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.
$ac_ext >&5
35529 wx_cv_func_statfs_decl
=no
35532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35534 ac_cpp
='$CPP $CPPFLAGS'
35535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35541 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35542 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35544 if test "$wx_cv_func_statfs_decl" = "yes"; then
35545 cat >>confdefs.h
<<\_ACEOF
35546 #define HAVE_STATFS_DECL 1
35551 wx_cv_type_statvfs_t
="struct statfs"
35552 cat >>confdefs.h
<<\_ACEOF
35553 #define HAVE_STATFS 1
35557 echo "$as_me:$LINENO: checking for statvfs" >&5
35558 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35559 if test "${wx_cv_func_statvfs+set}" = set; then
35560 echo $ECHO_N "(cached) $ECHO_C" >&6
35562 cat >conftest.
$ac_ext <<_ACEOF
35565 cat confdefs.h
>>conftest.
$ac_ext
35566 cat >>conftest.
$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35569 #include <stddef.h>
35570 #include <sys/statvfs.h>
35576 statvfs("/", NULL);
35582 rm -f conftest.
$ac_objext
35583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35584 (eval $ac_compile) 2>conftest.er1
35586 grep -v '^ *+' conftest.er1
>conftest.err
35588 cat conftest.err
>&5
35589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35590 (exit $ac_status); } &&
35591 { ac_try
='test -z "$ac_c_werror_flag"
35592 || test ! -s conftest.err'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; } &&
35598 { ac_try
='test -s conftest.$ac_objext'
35599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35600 (eval $ac_try) 2>&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; }; then
35604 wx_cv_func_statvfs
=yes
35606 echo "$as_me: failed program was:" >&5
35607 sed 's/^/| /' conftest.
$ac_ext >&5
35609 wx_cv_func_statvfs
=no
35612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35615 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35616 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35618 if test "$wx_cv_func_statvfs" = "yes"; then
35619 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35620 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35621 if test "${wx_cv_type_statvfs_t+set}" = set; then
35622 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 ac_cpp
='$CXXCPP $CPPFLAGS'
35626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35630 cat >conftest.
$ac_ext <<_ACEOF
35633 cat confdefs.h
>>conftest.
$ac_ext
35634 cat >>conftest.
$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35637 #include <sys/statvfs.h>
35654 rm -f conftest.
$ac_objext
35655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35656 (eval $ac_compile) 2>conftest.er1
35658 grep -v '^ *+' conftest.er1
>conftest.err
35660 cat conftest.err
>&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } &&
35663 { ac_try
='test -z "$ac_cxx_werror_flag"
35664 || test ! -s conftest.err'
35665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35666 (eval $ac_try) 2>&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); }; } &&
35670 { ac_try
='test -s conftest.$ac_objext'
35671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672 (eval $ac_try) 2>&5
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); }; }; then
35676 wx_cv_type_statvfs_t
=statvfs_t
35678 echo "$as_me: failed program was:" >&5
35679 sed 's/^/| /' conftest.
$ac_ext >&5
35682 cat >conftest.
$ac_ext <<_ACEOF
35685 cat confdefs.h
>>conftest.
$ac_ext
35686 cat >>conftest.
$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35689 #include <sys/statvfs.h>
35706 rm -f conftest.
$ac_objext
35707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35708 (eval $ac_compile) 2>conftest.er1
35710 grep -v '^ *+' conftest.er1
>conftest.err
35712 cat conftest.err
>&5
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); } &&
35715 { ac_try
='test -z "$ac_cxx_werror_flag"
35716 || test ! -s conftest.err'
35717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35718 (eval $ac_try) 2>&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); }; } &&
35722 { ac_try
='test -s conftest.$ac_objext'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; }; then
35728 wx_cv_type_statvfs_t
="struct statvfs"
35730 echo "$as_me: failed program was:" >&5
35731 sed 's/^/| /' conftest.
$ac_ext >&5
35733 wx_cv_type_statvfs_t
="unknown"
35736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35742 ac_cpp
='$CPP $CPPFLAGS'
35743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35749 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35750 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35752 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35753 cat >>confdefs.h
<<\_ACEOF
35754 #define HAVE_STATVFS 1
35759 wx_cv_type_statvfs_t
="unknown"
35763 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35764 cat >>confdefs.h
<<_ACEOF
35765 #define WX_STATFS_T $wx_cv_type_statvfs_t
35769 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35770 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35773 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35776 for ac_func
in fcntl flock
35778 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35779 echo "$as_me:$LINENO: checking for $ac_func" >&5
35780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35781 if eval "test \"\${$as_ac_var+set}\" = set"; then
35782 echo $ECHO_N "(cached) $ECHO_C" >&6
35784 cat >conftest.
$ac_ext <<_ACEOF
35787 cat confdefs.h
>>conftest.
$ac_ext
35788 cat >>conftest.
$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35792 #define $ac_func innocuous_$ac_func
35794 /* System header to define __stub macros and hopefully few prototypes,
35795 which can conflict with char $ac_func (); below.
35796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35797 <limits.h> exists even on freestanding compilers. */
35800 # include <limits.h>
35802 # include <assert.h>
35807 /* Override any gcc2 internal prototype to avoid an error. */
35812 /* We use char because int might match the return type of a gcc2
35813 builtin and then its argument prototype would still apply. */
35815 /* The GNU C library defines this for functions which it implements
35816 to always fail with ENOSYS. Some functions are actually named
35817 something starting with __ and the normal name is an alias. */
35818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35821 char (*f) () = $ac_func;
35830 return f != $ac_func;
35835 rm -f conftest.
$ac_objext conftest
$ac_exeext
35836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35837 (eval $ac_link) 2>conftest.er1
35839 grep -v '^ *+' conftest.er1
>conftest.err
35841 cat conftest.err
>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); } &&
35844 { ac_try
='test -z "$ac_c_werror_flag"
35845 || test ! -s conftest.err'
35846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35847 (eval $ac_try) 2>&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); }; } &&
35851 { ac_try
='test -s conftest$ac_exeext'
35852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35853 (eval $ac_try) 2>&5
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); }; }; then
35857 eval "$as_ac_var=yes"
35859 echo "$as_me: failed program was:" >&5
35860 sed 's/^/| /' conftest.
$ac_ext >&5
35862 eval "$as_ac_var=no"
35864 rm -f conftest.err conftest.
$ac_objext \
35865 conftest
$ac_exeext conftest.
$ac_ext
35867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35869 if test `eval echo '${'$as_ac_var'}'` = yes; then
35870 cat >>confdefs.h
<<_ACEOF
35871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35878 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35879 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35880 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35881 wxUSE_SNGLINST_CHECKER
=no
35886 for ac_func
in timegm
35888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35889 echo "$as_me:$LINENO: checking for $ac_func" >&5
35890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35891 if eval "test \"\${$as_ac_var+set}\" = set"; then
35892 echo $ECHO_N "(cached) $ECHO_C" >&6
35894 cat >conftest.
$ac_ext <<_ACEOF
35897 cat confdefs.h
>>conftest.
$ac_ext
35898 cat >>conftest.
$ac_ext <<_ACEOF
35899 /* end confdefs.h. */
35900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35902 #define $ac_func innocuous_$ac_func
35904 /* System header to define __stub macros and hopefully few prototypes,
35905 which can conflict with char $ac_func (); below.
35906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35907 <limits.h> exists even on freestanding compilers. */
35910 # include <limits.h>
35912 # include <assert.h>
35917 /* Override any gcc2 internal prototype to avoid an error. */
35922 /* We use char because int might match the return type of a gcc2
35923 builtin and then its argument prototype would still apply. */
35925 /* The GNU C library defines this for functions which it implements
35926 to always fail with ENOSYS. Some functions are actually named
35927 something starting with __ and the normal name is an alias. */
35928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35931 char (*f) () = $ac_func;
35940 return f != $ac_func;
35945 rm -f conftest.
$ac_objext conftest
$ac_exeext
35946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35947 (eval $ac_link) 2>conftest.er1
35949 grep -v '^ *+' conftest.er1
>conftest.err
35951 cat conftest.err
>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); } &&
35954 { ac_try
='test -z "$ac_c_werror_flag"
35955 || test ! -s conftest.err'
35956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35957 (eval $ac_try) 2>&5
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); }; } &&
35961 { ac_try
='test -s conftest$ac_exeext'
35962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963 (eval $ac_try) 2>&5
35965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966 (exit $ac_status); }; }; then
35967 eval "$as_ac_var=yes"
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.
$ac_ext >&5
35972 eval "$as_ac_var=no"
35974 rm -f conftest.err conftest.
$ac_objext \
35975 conftest
$ac_exeext conftest.
$ac_ext
35977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35979 if test `eval echo '${'$as_ac_var'}'` = yes; then
35980 cat >>confdefs.h
<<_ACEOF
35981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35990 for ac_func
in putenv setenv
35992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35993 echo "$as_me:$LINENO: checking for $ac_func" >&5
35994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35995 if eval "test \"\${$as_ac_var+set}\" = set"; then
35996 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 cat >conftest.
$ac_ext <<_ACEOF
36001 cat confdefs.h
>>conftest.
$ac_ext
36002 cat >>conftest.
$ac_ext <<_ACEOF
36003 /* end confdefs.h. */
36004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36006 #define $ac_func innocuous_$ac_func
36008 /* System header to define __stub macros and hopefully few prototypes,
36009 which can conflict with char $ac_func (); below.
36010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36011 <limits.h> exists even on freestanding compilers. */
36014 # include <limits.h>
36016 # include <assert.h>
36021 /* Override any gcc2 internal prototype to avoid an error. */
36026 /* We use char because int might match the return type of a gcc2
36027 builtin and then its argument prototype would still apply. */
36029 /* The GNU C library defines this for functions which it implements
36030 to always fail with ENOSYS. Some functions are actually named
36031 something starting with __ and the normal name is an alias. */
36032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36035 char (*f) () = $ac_func;
36044 return f != $ac_func;
36049 rm -f conftest.
$ac_objext conftest
$ac_exeext
36050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36051 (eval $ac_link) 2>conftest.er1
36053 grep -v '^ *+' conftest.er1
>conftest.err
36055 cat conftest.err
>&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); } &&
36058 { ac_try
='test -z "$ac_c_werror_flag"
36059 || test ! -s conftest.err'
36060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36061 (eval $ac_try) 2>&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); }; } &&
36065 { ac_try
='test -s conftest$ac_exeext'
36066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36067 (eval $ac_try) 2>&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; }; then
36071 eval "$as_ac_var=yes"
36073 echo "$as_me: failed program was:" >&5
36074 sed 's/^/| /' conftest.
$ac_ext >&5
36076 eval "$as_ac_var=no"
36078 rm -f conftest.err conftest.
$ac_objext \
36079 conftest
$ac_exeext conftest.
$ac_ext
36081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36083 if test `eval echo '${'$as_ac_var'}'` = yes; then
36084 cat >>confdefs.h
<<_ACEOF
36085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36092 HAVE_SOME_SLEEP_FUNC
=0
36093 if test "$USE_BEOS" = 1; then
36094 cat >>confdefs.h
<<\_ACEOF
36095 #define HAVE_SLEEP 1
36098 HAVE_SOME_SLEEP_FUNC
=1
36101 if test "$USE_DARWIN" = 1; then
36102 cat >>confdefs.h
<<\_ACEOF
36103 #define HAVE_USLEEP 1
36106 HAVE_SOME_SLEEP_FUNC
=1
36109 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36112 for ac_func
in nanosleep
36114 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36115 echo "$as_me:$LINENO: checking for $ac_func" >&5
36116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36117 if eval "test \"\${$as_ac_var+set}\" = set"; then
36118 echo $ECHO_N "(cached) $ECHO_C" >&6
36120 cat >conftest.
$ac_ext <<_ACEOF
36123 cat confdefs.h
>>conftest.
$ac_ext
36124 cat >>conftest.
$ac_ext <<_ACEOF
36125 /* end confdefs.h. */
36126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36128 #define $ac_func innocuous_$ac_func
36130 /* System header to define __stub macros and hopefully few prototypes,
36131 which can conflict with char $ac_func (); below.
36132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36133 <limits.h> exists even on freestanding compilers. */
36136 # include <limits.h>
36138 # include <assert.h>
36143 /* Override any gcc2 internal prototype to avoid an error. */
36148 /* We use char because int might match the return type of a gcc2
36149 builtin and then its argument prototype would still apply. */
36151 /* The GNU C library defines this for functions which it implements
36152 to always fail with ENOSYS. Some functions are actually named
36153 something starting with __ and the normal name is an alias. */
36154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36157 char (*f) () = $ac_func;
36166 return f != $ac_func;
36171 rm -f conftest.
$ac_objext conftest
$ac_exeext
36172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36173 (eval $ac_link) 2>conftest.er1
36175 grep -v '^ *+' conftest.er1
>conftest.err
36177 cat conftest.err
>&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } &&
36180 { ac_try
='test -z "$ac_c_werror_flag"
36181 || test ! -s conftest.err'
36182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36183 (eval $ac_try) 2>&5
36185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36186 (exit $ac_status); }; } &&
36187 { ac_try
='test -s conftest$ac_exeext'
36188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189 (eval $ac_try) 2>&5
36191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192 (exit $ac_status); }; }; then
36193 eval "$as_ac_var=yes"
36195 echo "$as_me: failed program was:" >&5
36196 sed 's/^/| /' conftest.
$ac_ext >&5
36198 eval "$as_ac_var=no"
36200 rm -f conftest.err conftest.
$ac_objext \
36201 conftest
$ac_exeext conftest.
$ac_ext
36203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36205 if test `eval echo '${'$as_ac_var'}'` = yes; then
36206 cat >>confdefs.h
<<_ACEOF
36207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36209 cat >>confdefs.h
<<\_ACEOF
36210 #define HAVE_NANOSLEEP 1
36215 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36216 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36217 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36218 echo $ECHO_N "(cached) $ECHO_C" >&6
36220 ac_check_lib_save_LIBS
=$LIBS
36221 LIBS
="-lposix4 $LIBS"
36222 cat >conftest.
$ac_ext <<_ACEOF
36225 cat confdefs.h
>>conftest.
$ac_ext
36226 cat >>conftest.
$ac_ext <<_ACEOF
36227 /* end confdefs.h. */
36229 /* Override any gcc2 internal prototype to avoid an error. */
36233 /* We use char because int might match the return type of a gcc2
36234 builtin and then its argument prototype would still apply. */
36244 rm -f conftest.
$ac_objext conftest
$ac_exeext
36245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36246 (eval $ac_link) 2>conftest.er1
36248 grep -v '^ *+' conftest.er1
>conftest.err
36250 cat conftest.err
>&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); } &&
36253 { ac_try
='test -z "$ac_c_werror_flag"
36254 || test ! -s conftest.err'
36255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36256 (eval $ac_try) 2>&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); }; } &&
36260 { ac_try
='test -s conftest$ac_exeext'
36261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36262 (eval $ac_try) 2>&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); }; }; then
36266 ac_cv_lib_posix4_nanosleep
=yes
36268 echo "$as_me: failed program was:" >&5
36269 sed 's/^/| /' conftest.
$ac_ext >&5
36271 ac_cv_lib_posix4_nanosleep
=no
36273 rm -f conftest.err conftest.
$ac_objext \
36274 conftest
$ac_exeext conftest.
$ac_ext
36275 LIBS
=$ac_check_lib_save_LIBS
36277 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36278 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36279 if test $ac_cv_lib_posix4_nanosleep = yes; then
36281 cat >>confdefs.h
<<\_ACEOF
36282 #define HAVE_NANOSLEEP 1
36285 POSIX4_LINK
=" -lposix4"
36290 for wx_func
in usleep
36292 echo "$as_me:$LINENO: checking for $wx_func" >&5
36293 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36294 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36295 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 cat >conftest.
$ac_ext <<_ACEOF
36302 cat confdefs.h
>>conftest.
$ac_ext
36303 cat >>conftest.
$ac_ext <<_ACEOF
36304 /* end confdefs.h. */
36307 $ac_includes_default
36323 rm -f conftest.
$ac_objext conftest
$ac_exeext
36324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36325 (eval $ac_link) 2>conftest.er1
36327 grep -v '^ *+' conftest.er1
>conftest.err
36329 cat conftest.err
>&5
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); } &&
36332 { ac_try
='test -z "$ac_c_werror_flag"
36333 || test ! -s conftest.err'
36334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36335 (eval $ac_try) 2>&5
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); }; } &&
36339 { ac_try
='test -s conftest$ac_exeext'
36340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341 (eval $ac_try) 2>&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; }; then
36345 eval wx_cv_func_
$wx_func=yes
36347 echo "$as_me: failed program was:" >&5
36348 sed 's/^/| /' conftest.
$ac_ext >&5
36350 eval wx_cv_func_
$wx_func=no
36352 rm -f conftest.err conftest.
$ac_objext \
36353 conftest
$ac_exeext conftest.
$ac_ext
36356 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36357 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36359 if eval test \
$wx_cv_func_$wx_func = yes
36361 cat >>confdefs.h
<<_ACEOF
36362 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36368 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36369 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36386 for wx_func
in uname
36388 echo "$as_me:$LINENO: checking for $wx_func" >&5
36389 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36390 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36394 cat >conftest.
$ac_ext <<_ACEOF
36398 cat confdefs.h
>>conftest.
$ac_ext
36399 cat >>conftest.
$ac_ext <<_ACEOF
36400 /* end confdefs.h. */
36402 #include <sys/utsname.h>
36403 $ac_includes_default
36419 rm -f conftest.
$ac_objext conftest
$ac_exeext
36420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36421 (eval $ac_link) 2>conftest.er1
36423 grep -v '^ *+' conftest.er1
>conftest.err
36425 cat conftest.err
>&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } &&
36428 { ac_try
='test -z "$ac_c_werror_flag"
36429 || test ! -s conftest.err'
36430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36431 (eval $ac_try) 2>&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); }; } &&
36435 { ac_try
='test -s conftest$ac_exeext'
36436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437 (eval $ac_try) 2>&5
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); }; }; then
36441 eval wx_cv_func_
$wx_func=yes
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.
$ac_ext >&5
36446 eval wx_cv_func_
$wx_func=no
36448 rm -f conftest.err conftest.
$ac_objext \
36449 conftest
$ac_exeext conftest.
$ac_ext
36452 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36453 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36455 if eval test \
$wx_cv_func_$wx_func = yes
36457 cat >>confdefs.h
<<_ACEOF
36458 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36468 if test "$wx_cv_func_uname" != yes; then
36470 for wx_func
in gethostname
36472 echo "$as_me:$LINENO: checking for $wx_func" >&5
36473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36474 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36478 cat >conftest.
$ac_ext <<_ACEOF
36482 cat confdefs.h
>>conftest.
$ac_ext
36483 cat >>conftest.
$ac_ext <<_ACEOF
36484 /* end confdefs.h. */
36487 $ac_includes_default
36503 rm -f conftest.
$ac_objext conftest
$ac_exeext
36504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36505 (eval $ac_link) 2>conftest.er1
36507 grep -v '^ *+' conftest.er1
>conftest.err
36509 cat conftest.err
>&5
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); } &&
36512 { ac_try
='test -z "$ac_c_werror_flag"
36513 || test ! -s conftest.err'
36514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515 (eval $ac_try) 2>&5
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); }; } &&
36519 { ac_try
='test -s conftest$ac_exeext'
36520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36521 (eval $ac_try) 2>&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); }; }; then
36525 eval wx_cv_func_
$wx_func=yes
36527 echo "$as_me: failed program was:" >&5
36528 sed 's/^/| /' conftest.
$ac_ext >&5
36530 eval wx_cv_func_
$wx_func=no
36532 rm -f conftest.err conftest.
$ac_objext \
36533 conftest
$ac_exeext conftest.
$ac_ext
36536 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36537 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36539 if eval test \
$wx_cv_func_$wx_func = yes
36541 cat >>confdefs.h
<<_ACEOF
36542 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36555 for wx_func
in strtok_r
36557 echo "$as_me:$LINENO: checking for $wx_func" >&5
36558 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36559 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36560 echo $ECHO_N "(cached) $ECHO_C" >&6
36563 cat >conftest.
$ac_ext <<_ACEOF
36567 cat confdefs.h
>>conftest.
$ac_ext
36568 cat >>conftest.
$ac_ext <<_ACEOF
36569 /* end confdefs.h. */
36572 $ac_includes_default
36588 rm -f conftest.
$ac_objext conftest
$ac_exeext
36589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36590 (eval $ac_link) 2>conftest.er1
36592 grep -v '^ *+' conftest.er1
>conftest.err
36594 cat conftest.err
>&5
36595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36596 (exit $ac_status); } &&
36597 { ac_try
='test -z "$ac_c_werror_flag"
36598 || test ! -s conftest.err'
36599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600 (eval $ac_try) 2>&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); }; } &&
36604 { ac_try
='test -s conftest$ac_exeext'
36605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36606 (eval $ac_try) 2>&5
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); }; }; then
36610 eval wx_cv_func_
$wx_func=yes
36612 echo "$as_me: failed program was:" >&5
36613 sed 's/^/| /' conftest.
$ac_ext >&5
36615 eval wx_cv_func_
$wx_func=no
36617 rm -f conftest.err conftest.
$ac_objext \
36618 conftest
$ac_exeext conftest.
$ac_ext
36621 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36622 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36624 if eval test \
$wx_cv_func_$wx_func = yes
36626 cat >>confdefs.h
<<_ACEOF
36627 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36640 for ac_func
in inet_addr
36642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 echo "$as_me:$LINENO: checking for $ac_func" >&5
36644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36645 if eval "test \"\${$as_ac_var+set}\" = set"; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 cat >conftest.
$ac_ext <<_ACEOF
36651 cat confdefs.h
>>conftest.
$ac_ext
36652 cat >>conftest.
$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define $ac_func innocuous_$ac_func
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char $ac_func (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36664 # include <limits.h>
36666 # include <assert.h>
36671 /* Override any gcc2 internal prototype to avoid an error. */
36676 /* We use char because int might match the return type of a gcc2
36677 builtin and then its argument prototype would still apply. */
36679 /* The GNU C library defines this for functions which it implements
36680 to always fail with ENOSYS. Some functions are actually named
36681 something starting with __ and the normal name is an alias. */
36682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36685 char (*f) () = $ac_func;
36694 return f != $ac_func;
36699 rm -f conftest.
$ac_objext conftest
$ac_exeext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36701 (eval $ac_link) 2>conftest.er1
36703 grep -v '^ *+' conftest.er1
>conftest.err
36705 cat conftest.err
>&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try
='test -z "$ac_c_werror_flag"
36709 || test ! -s conftest.err'
36710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36711 (eval $ac_try) 2>&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; } &&
36715 { ac_try
='test -s conftest$ac_exeext'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; }; then
36721 eval "$as_ac_var=yes"
36723 echo "$as_me: failed program was:" >&5
36724 sed 's/^/| /' conftest.
$ac_ext >&5
36726 eval "$as_ac_var=no"
36728 rm -f conftest.err conftest.
$ac_objext \
36729 conftest
$ac_exeext conftest.
$ac_ext
36731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36733 if test `eval echo '${'$as_ac_var'}'` = yes; then
36734 cat >>confdefs.h
<<_ACEOF
36735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36737 cat >>confdefs.h
<<\_ACEOF
36738 #define HAVE_INET_ADDR 1
36743 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36744 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36745 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36746 echo $ECHO_N "(cached) $ECHO_C" >&6
36748 ac_check_lib_save_LIBS
=$LIBS
36750 cat >conftest.
$ac_ext <<_ACEOF
36753 cat confdefs.h
>>conftest.
$ac_ext
36754 cat >>conftest.
$ac_ext <<_ACEOF
36755 /* end confdefs.h. */
36757 /* Override any gcc2 internal prototype to avoid an error. */
36761 /* We use char because int might match the return type of a gcc2
36762 builtin and then its argument prototype would still apply. */
36772 rm -f conftest.
$ac_objext conftest
$ac_exeext
36773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36774 (eval $ac_link) 2>conftest.er1
36776 grep -v '^ *+' conftest.er1
>conftest.err
36778 cat conftest.err
>&5
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); } &&
36781 { ac_try
='test -z "$ac_c_werror_flag"
36782 || test ! -s conftest.err'
36783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36784 (eval $ac_try) 2>&5
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); }; } &&
36788 { ac_try
='test -s conftest$ac_exeext'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; }; then
36794 ac_cv_lib_nsl_inet_addr
=yes
36796 echo "$as_me: failed program was:" >&5
36797 sed 's/^/| /' conftest.
$ac_ext >&5
36799 ac_cv_lib_nsl_inet_addr
=no
36801 rm -f conftest.err conftest.
$ac_objext \
36802 conftest
$ac_exeext conftest.
$ac_ext
36803 LIBS
=$ac_check_lib_save_LIBS
36805 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36806 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36807 if test $ac_cv_lib_nsl_inet_addr = yes; then
36811 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36812 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36813 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36816 ac_check_lib_save_LIBS
=$LIBS
36817 LIBS
="-lresolv $LIBS"
36818 cat >conftest.
$ac_ext <<_ACEOF
36821 cat confdefs.h
>>conftest.
$ac_ext
36822 cat >>conftest.
$ac_ext <<_ACEOF
36823 /* end confdefs.h. */
36825 /* Override any gcc2 internal prototype to avoid an error. */
36829 /* We use char because int might match the return type of a gcc2
36830 builtin and then its argument prototype would still apply. */
36840 rm -f conftest.
$ac_objext conftest
$ac_exeext
36841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36842 (eval $ac_link) 2>conftest.er1
36844 grep -v '^ *+' conftest.er1
>conftest.err
36846 cat conftest.err
>&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } &&
36849 { ac_try
='test -z "$ac_c_werror_flag"
36850 || test ! -s conftest.err'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; } &&
36856 { ac_try
='test -s conftest$ac_exeext'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; }; then
36862 ac_cv_lib_resolv_inet_addr
=yes
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.
$ac_ext >&5
36867 ac_cv_lib_resolv_inet_addr
=no
36869 rm -f conftest.err conftest.
$ac_objext \
36870 conftest
$ac_exeext conftest.
$ac_ext
36871 LIBS
=$ac_check_lib_save_LIBS
36873 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36874 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36875 if test $ac_cv_lib_resolv_inet_addr = yes; then
36879 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36880 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36881 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36882 echo $ECHO_N "(cached) $ECHO_C" >&6
36884 ac_check_lib_save_LIBS
=$LIBS
36885 LIBS
="-lsocket $LIBS"
36886 cat >conftest.
$ac_ext <<_ACEOF
36889 cat confdefs.h
>>conftest.
$ac_ext
36890 cat >>conftest.
$ac_ext <<_ACEOF
36891 /* end confdefs.h. */
36893 /* Override any gcc2 internal prototype to avoid an error. */
36897 /* We use char because int might match the return type of a gcc2
36898 builtin and then its argument prototype would still apply. */
36908 rm -f conftest.
$ac_objext conftest
$ac_exeext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36910 (eval $ac_link) 2>conftest.er1
36912 grep -v '^ *+' conftest.er1
>conftest.err
36914 cat conftest.err
>&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try
='test -z "$ac_c_werror_flag"
36918 || test ! -s conftest.err'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; } &&
36924 { ac_try
='test -s conftest$ac_exeext'
36925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36926 (eval $ac_try) 2>&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); }; }; then
36930 ac_cv_lib_socket_inet_addr
=yes
36932 echo "$as_me: failed program was:" >&5
36933 sed 's/^/| /' conftest.
$ac_ext >&5
36935 ac_cv_lib_socket_inet_addr
=no
36937 rm -f conftest.err conftest.
$ac_objext \
36938 conftest
$ac_exeext conftest.
$ac_ext
36939 LIBS
=$ac_check_lib_save_LIBS
36941 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36942 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36943 if test $ac_cv_lib_socket_inet_addr = yes; then
36963 for ac_func
in inet_aton
36965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36966 echo "$as_me:$LINENO: checking for $ac_func" >&5
36967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36968 if eval "test \"\${$as_ac_var+set}\" = set"; then
36969 echo $ECHO_N "(cached) $ECHO_C" >&6
36971 cat >conftest.
$ac_ext <<_ACEOF
36974 cat confdefs.h
>>conftest.
$ac_ext
36975 cat >>conftest.
$ac_ext <<_ACEOF
36976 /* end confdefs.h. */
36977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36979 #define $ac_func innocuous_$ac_func
36981 /* System header to define __stub macros and hopefully few prototypes,
36982 which can conflict with char $ac_func (); below.
36983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36984 <limits.h> exists even on freestanding compilers. */
36987 # include <limits.h>
36989 # include <assert.h>
36994 /* Override any gcc2 internal prototype to avoid an error. */
36999 /* We use char because int might match the return type of a gcc2
37000 builtin and then its argument prototype would still apply. */
37002 /* The GNU C library defines this for functions which it implements
37003 to always fail with ENOSYS. Some functions are actually named
37004 something starting with __ and the normal name is an alias. */
37005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37008 char (*f) () = $ac_func;
37017 return f != $ac_func;
37022 rm -f conftest.
$ac_objext conftest
$ac_exeext
37023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37024 (eval $ac_link) 2>conftest.er1
37026 grep -v '^ *+' conftest.er1
>conftest.err
37028 cat conftest.err
>&5
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); } &&
37031 { ac_try
='test -z "$ac_c_werror_flag"
37032 || test ! -s conftest.err'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; } &&
37038 { ac_try
='test -s conftest$ac_exeext'
37039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040 (eval $ac_try) 2>&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); }; }; then
37044 eval "$as_ac_var=yes"
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.
$ac_ext >&5
37049 eval "$as_ac_var=no"
37051 rm -f conftest.err conftest.
$ac_objext \
37052 conftest
$ac_exeext conftest.
$ac_ext
37054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37056 if test `eval echo '${'$as_ac_var'}'` = yes; then
37057 cat >>confdefs.h
<<_ACEOF
37058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37060 cat >>confdefs.h
<<\_ACEOF
37061 #define HAVE_INET_ATON 1
37066 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37067 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37068 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37069 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37070 echo $ECHO_N "(cached) $ECHO_C" >&6
37072 ac_check_lib_save_LIBS
=$LIBS
37073 LIBS
="-l$INET_LINK $LIBS"
37074 cat >conftest.
$ac_ext <<_ACEOF
37077 cat confdefs.h
>>conftest.
$ac_ext
37078 cat >>conftest.
$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37081 /* Override any gcc2 internal prototype to avoid an error. */
37085 /* We use char because int might match the return type of a gcc2
37086 builtin and then its argument prototype would still apply. */
37096 rm -f conftest.
$ac_objext conftest
$ac_exeext
37097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37098 (eval $ac_link) 2>conftest.er1
37100 grep -v '^ *+' conftest.er1
>conftest.err
37102 cat conftest.err
>&5
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); } &&
37105 { ac_try
='test -z "$ac_c_werror_flag"
37106 || test ! -s conftest.err'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; } &&
37112 { ac_try
='test -s conftest$ac_exeext'
37113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37114 (eval $ac_try) 2>&5
37116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37117 (exit $ac_status); }; }; then
37118 eval "$as_ac_Lib=yes"
37120 echo "$as_me: failed program was:" >&5
37121 sed 's/^/| /' conftest.
$ac_ext >&5
37123 eval "$as_ac_Lib=no"
37125 rm -f conftest.err conftest.
$ac_objext \
37126 conftest
$ac_exeext conftest.
$ac_ext
37127 LIBS
=$ac_check_lib_save_LIBS
37129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37130 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37131 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37132 cat >>confdefs.h
<<\_ACEOF
37133 #define HAVE_INET_ATON 1
37143 if test "x$INET_LINK" != "x"; then
37144 cat >>confdefs.h
<<\_ACEOF
37145 #define HAVE_INET_ADDR 1
37148 INET_LINK
=" -l$INET_LINK"
37152 for wx_func
in fdopen
37154 echo "$as_me:$LINENO: checking for $wx_func" >&5
37155 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37156 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37160 cat >conftest.
$ac_ext <<_ACEOF
37164 cat confdefs.h
>>conftest.
$ac_ext
37165 cat >>conftest.
$ac_ext <<_ACEOF
37166 /* end confdefs.h. */
37169 $ac_includes_default
37185 rm -f conftest.
$ac_objext conftest
$ac_exeext
37186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37187 (eval $ac_link) 2>conftest.er1
37189 grep -v '^ *+' conftest.er1
>conftest.err
37191 cat conftest.err
>&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } &&
37194 { ac_try
='test -z "$ac_c_werror_flag"
37195 || test ! -s conftest.err'
37196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37197 (eval $ac_try) 2>&5
37199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); }; } &&
37201 { ac_try
='test -s conftest$ac_exeext'
37202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37203 (eval $ac_try) 2>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); }; }; then
37207 eval wx_cv_func_
$wx_func=yes
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.
$ac_ext >&5
37212 eval wx_cv_func_
$wx_func=no
37214 rm -f conftest.err conftest.
$ac_objext \
37215 conftest
$ac_exeext conftest.
$ac_ext
37218 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37219 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37221 if eval test \
$wx_cv_func_$wx_func = yes
37223 cat >>confdefs.h
<<_ACEOF
37224 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37239 cat >confcache
<<\_ACEOF
37240 # This file is a shell script that caches the results of configure
37241 # tests run on this system so they can be shared between configure
37242 # scripts and configure runs, see configure's option --config-cache.
37243 # It is not useful on other systems. If it contains results you don't
37244 # want to keep, you may remove or edit it.
37246 # config.status only pays attention to the cache file if you give it
37247 # the --recheck option to rerun configure.
37249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37251 # following values.
37255 # The following way of writing the cache mishandles newlines in values,
37256 # but we know of no workaround that is simple, portable, and efficient.
37257 # So, don't put newlines in cache variables' values.
37258 # Ultrix sh set writes to stderr and can't be redirected directly,
37259 # and sets the high bit in the cache file unless we assign to the vars.
37262 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37264 # `set' does not quote correctly, so add quotes (double-quote
37265 # substitution turns \\\\ into \\, and sed turns \\ into \).
37268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37271 # `set' quotes correctly as required by POSIX, so do not add quotes.
37273 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37282 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37284 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
37285 if test -w $cache_file; then
37286 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37287 cat confcache
>$cache_file
37289 echo "not updating unwritable cache $cache_file"
37295 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37301 if test "$wxUSE_THREADS" = "yes" ; then
37302 if test "$USE_BEOS" = 1; then
37303 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37304 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37309 if test "$wxUSE_THREADS" = "yes" ; then
37312 THREAD_OPTS
="-pthread"
37314 *-*-solaris2* | *-*-sunos4* )
37315 if test "x$GCC" = "xyes"; then
37316 THREAD_OPTS
="-pthreads $THREAD_OPTS"
37318 THREAD_OPTS
="-mt $THREAD_OPTS"
37322 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
37324 *-*-darwin* | *-*-cygwin* )
37328 THREAD_OPTS
="pthreads"
37331 if test "x$GCC" = "xyes"; then
37332 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
37340 if test "x$GCC" = "xyes"; then
37346 if test "x$GCC" != "xyes"; then
37347 THREAD_OPTS
="-Ethread"
37352 THREAD_OPTS
="$THREAD_OPTS pthread none"
37355 for flag
in $THREAD_OPTS; do
37358 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37359 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37363 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37364 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37365 THREADS_CFLAGS
="$flag"
37369 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37370 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37371 THREADS_LINK
="-l$flag"
37376 save_CFLAGS
="$CFLAGS"
37377 LIBS
="$THREADS_LINK $LIBS"
37378 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
37380 cat >conftest.
$ac_ext <<_ACEOF
37383 cat confdefs.h
>>conftest.
$ac_ext
37384 cat >>conftest.
$ac_ext <<_ACEOF
37385 /* end confdefs.h. */
37386 #include <pthread.h>
37390 pthread_create(0,0,0,0);
37395 rm -f conftest.
$ac_objext conftest
$ac_exeext
37396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37397 (eval $ac_link) 2>conftest.er1
37399 grep -v '^ *+' conftest.er1
>conftest.err
37401 cat conftest.err
>&5
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); } &&
37404 { ac_try
='test -z "$ac_c_werror_flag"
37405 || test ! -s conftest.err'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; } &&
37411 { ac_try
='test -s conftest$ac_exeext'
37412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37413 (eval $ac_try) 2>&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); }; }; then
37419 echo "$as_me: failed program was:" >&5
37420 sed 's/^/| /' conftest.
$ac_ext >&5
37423 rm -f conftest.err conftest.
$ac_objext \
37424 conftest
$ac_exeext conftest.
$ac_ext
37427 CFLAGS
="$save_CFLAGS"
37429 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37430 echo "${ECHO_T}$THREADS_OK" >&6
37431 if test "x$THREADS_OK" = "xyes"; then
37439 if test "x$THREADS_OK" != "xyes"; then
37441 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37442 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37444 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
37445 LIBS
="$THREADS_LINK $LIBS"
37447 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37448 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37452 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37453 flag
="-D_THREAD_SAFE"
37456 flag
="-D_THREAD_SAFE"
37459 flag
="-D_REENTRANT"
37460 if test "x$GCC" != "xyes"; then
37461 flag
="$flag -D_RWSTD_MULTI_THREAD"
37464 *solaris
* | alpha
*-osf*)
37465 flag
="-D_REENTRANT"
37468 echo "$as_me:$LINENO: result: ${flag}" >&5
37469 echo "${ECHO_T}${flag}" >&6
37470 if test "x$flag" != xno
; then
37471 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37474 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37478 if test "$wxUSE_THREADS" = "yes" ; then
37480 for ac_func
in thr_setconcurrency
37482 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37483 echo "$as_me:$LINENO: checking for $ac_func" >&5
37484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37485 if eval "test \"\${$as_ac_var+set}\" = set"; then
37486 echo $ECHO_N "(cached) $ECHO_C" >&6
37488 cat >conftest.
$ac_ext <<_ACEOF
37491 cat confdefs.h
>>conftest.
$ac_ext
37492 cat >>conftest.
$ac_ext <<_ACEOF
37493 /* end confdefs.h. */
37494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37496 #define $ac_func innocuous_$ac_func
37498 /* System header to define __stub macros and hopefully few prototypes,
37499 which can conflict with char $ac_func (); below.
37500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37501 <limits.h> exists even on freestanding compilers. */
37504 # include <limits.h>
37506 # include <assert.h>
37511 /* Override any gcc2 internal prototype to avoid an error. */
37516 /* We use char because int might match the return type of a gcc2
37517 builtin and then its argument prototype would still apply. */
37519 /* The GNU C library defines this for functions which it implements
37520 to always fail with ENOSYS. Some functions are actually named
37521 something starting with __ and the normal name is an alias. */
37522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37525 char (*f) () = $ac_func;
37534 return f != $ac_func;
37539 rm -f conftest.
$ac_objext conftest
$ac_exeext
37540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37541 (eval $ac_link) 2>conftest.er1
37543 grep -v '^ *+' conftest.er1
>conftest.err
37545 cat conftest.err
>&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); } &&
37548 { ac_try
='test -z "$ac_c_werror_flag"
37549 || test ! -s conftest.err'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; } &&
37555 { ac_try
='test -s conftest$ac_exeext'
37556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37557 (eval $ac_try) 2>&5
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); }; }; then
37561 eval "$as_ac_var=yes"
37563 echo "$as_me: failed program was:" >&5
37564 sed 's/^/| /' conftest.
$ac_ext >&5
37566 eval "$as_ac_var=no"
37568 rm -f conftest.err conftest.
$ac_objext \
37569 conftest
$ac_exeext conftest.
$ac_ext
37571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37573 if test `eval echo '${'$as_ac_var'}'` = yes; then
37574 cat >>confdefs.h
<<_ACEOF
37575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37582 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37583 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37584 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 cat >conftest.
$ac_ext <<_ACEOF
37591 cat confdefs.h
>>conftest.
$ac_ext
37592 cat >>conftest.
$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37594 #include <pthread.h>
37595 void ThreadCleanupFunc(void *p);
37602 pthread_cleanup_push(ThreadCleanupFunc, p);
37603 pthread_cleanup_pop(0);
37609 rm -f conftest.
$ac_objext
37610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37611 (eval $ac_compile) 2>conftest.er1
37613 grep -v '^ *+' conftest.er1
>conftest.err
37615 cat conftest.err
>&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } &&
37618 { ac_try
='test -z "$ac_c_werror_flag"
37619 || test ! -s conftest.err'
37620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621 (eval $ac_try) 2>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); }; } &&
37625 { ac_try
='test -s conftest.$ac_objext'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; }; then
37632 wx_cv_func_pthread_cleanup
=yes
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.
$ac_ext >&5
37639 wx_cv_func_pthread_cleanup
=no
37643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37646 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37647 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37648 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37649 cat >>confdefs.h
<<\_ACEOF
37650 #define wxHAVE_PTHREAD_CLEANUP 1
37655 echo "$as_me:$LINENO: checking for sched.h" >&5
37656 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
37657 if test "${ac_cv_header_sched_h+set}" = set; then
37658 echo $ECHO_N "(cached) $ECHO_C" >&6
37660 cat >conftest.
$ac_ext <<_ACEOF
37663 cat confdefs.h
>>conftest.
$ac_ext
37664 cat >>conftest.
$ac_ext <<_ACEOF
37665 /* end confdefs.h. */
37666 $ac_includes_default
37670 rm -f conftest.
$ac_objext
37671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37672 (eval $ac_compile) 2>conftest.er1
37674 grep -v '^ *+' conftest.er1
>conftest.err
37676 cat conftest.err
>&5
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); } &&
37679 { ac_try
='test -z "$ac_c_werror_flag"
37680 || test ! -s conftest.err'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; } &&
37686 { ac_try
='test -s conftest.$ac_objext'
37687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37688 (eval $ac_try) 2>&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); }; }; then
37692 ac_cv_header_sched_h
=yes
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.
$ac_ext >&5
37697 ac_cv_header_sched_h
=no
37699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37701 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37702 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
37705 if test "$ac_cv_header_sched_h" = "yes"; then
37706 echo "$as_me:$LINENO: checking for sched_yield" >&5
37707 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37708 if test "${ac_cv_func_sched_yield+set}" = set; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37711 cat >conftest.
$ac_ext <<_ACEOF
37714 cat confdefs.h
>>conftest.
$ac_ext
37715 cat >>conftest.
$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37719 #define sched_yield innocuous_sched_yield
37721 /* System header to define __stub macros and hopefully few prototypes,
37722 which can conflict with char sched_yield (); below.
37723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37724 <limits.h> exists even on freestanding compilers. */
37727 # include <limits.h>
37729 # include <assert.h>
37734 /* Override any gcc2 internal prototype to avoid an error. */
37739 /* We use char because int might match the return type of a gcc2
37740 builtin and then its argument prototype would still apply. */
37741 char sched_yield ();
37742 /* The GNU C library defines this for functions which it implements
37743 to always fail with ENOSYS. Some functions are actually named
37744 something starting with __ and the normal name is an alias. */
37745 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37748 char (*f) () = sched_yield;
37757 return f != sched_yield;
37762 rm -f conftest.
$ac_objext conftest
$ac_exeext
37763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37764 (eval $ac_link) 2>conftest.er1
37766 grep -v '^ *+' conftest.er1
>conftest.err
37768 cat conftest.err
>&5
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); } &&
37771 { ac_try
='test -z "$ac_c_werror_flag"
37772 || test ! -s conftest.err'
37773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37774 (eval $ac_try) 2>&5
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); }; } &&
37778 { ac_try
='test -s conftest$ac_exeext'
37779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37780 (eval $ac_try) 2>&5
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); }; }; then
37784 ac_cv_func_sched_yield
=yes
37786 echo "$as_me: failed program was:" >&5
37787 sed 's/^/| /' conftest.
$ac_ext >&5
37789 ac_cv_func_sched_yield
=no
37791 rm -f conftest.err conftest.
$ac_objext \
37792 conftest
$ac_exeext conftest.
$ac_ext
37794 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37795 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37796 if test $ac_cv_func_sched_yield = yes; then
37797 cat >>confdefs.h
<<\_ACEOF
37798 #define HAVE_SCHED_YIELD 1
37803 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37804 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37805 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37806 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 ac_check_lib_save_LIBS
=$LIBS
37809 LIBS
="-lposix4 $LIBS"
37810 cat >conftest.
$ac_ext <<_ACEOF
37813 cat confdefs.h
>>conftest.
$ac_ext
37814 cat >>conftest.
$ac_ext <<_ACEOF
37815 /* end confdefs.h. */
37817 /* Override any gcc2 internal prototype to avoid an error. */
37821 /* We use char because int might match the return type of a gcc2
37822 builtin and then its argument prototype would still apply. */
37823 char sched_yield ();
37832 rm -f conftest.
$ac_objext conftest
$ac_exeext
37833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37834 (eval $ac_link) 2>conftest.er1
37836 grep -v '^ *+' conftest.er1
>conftest.err
37838 cat conftest.err
>&5
37839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37840 (exit $ac_status); } &&
37841 { ac_try
='test -z "$ac_c_werror_flag"
37842 || test ! -s conftest.err'
37843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37844 (eval $ac_try) 2>&5
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); }; } &&
37848 { ac_try
='test -s conftest$ac_exeext'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; }; then
37854 ac_cv_lib_posix4_sched_yield
=yes
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.
$ac_ext >&5
37859 ac_cv_lib_posix4_sched_yield
=no
37861 rm -f conftest.err conftest.
$ac_objext \
37862 conftest
$ac_exeext conftest.
$ac_ext
37863 LIBS
=$ac_check_lib_save_LIBS
37865 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37866 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37867 if test $ac_cv_lib_posix4_sched_yield = yes; then
37868 cat >>confdefs.h
<<\_ACEOF
37869 #define HAVE_SCHED_YIELD 1
37871 POSIX4_LINK
=" -lposix4"
37873 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37874 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37885 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37886 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37887 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37888 echo $ECHO_N "(cached) $ECHO_C" >&6
37890 cat >conftest.
$ac_ext <<_ACEOF
37893 cat confdefs.h
>>conftest.
$ac_ext
37894 cat >>conftest.
$ac_ext <<_ACEOF
37895 /* end confdefs.h. */
37896 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37898 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37900 /* System header to define __stub macros and hopefully few prototypes,
37901 which can conflict with char pthread_attr_getschedpolicy (); below.
37902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37903 <limits.h> exists even on freestanding compilers. */
37906 # include <limits.h>
37908 # include <assert.h>
37911 #undef pthread_attr_getschedpolicy
37913 /* Override any gcc2 internal prototype to avoid an error. */
37918 /* We use char because int might match the return type of a gcc2
37919 builtin and then its argument prototype would still apply. */
37920 char pthread_attr_getschedpolicy ();
37921 /* The GNU C library defines this for functions which it implements
37922 to always fail with ENOSYS. Some functions are actually named
37923 something starting with __ and the normal name is an alias. */
37924 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37927 char (*f) () = pthread_attr_getschedpolicy;
37936 return f != pthread_attr_getschedpolicy;
37941 rm -f conftest.
$ac_objext conftest
$ac_exeext
37942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37943 (eval $ac_link) 2>conftest.er1
37945 grep -v '^ *+' conftest.er1
>conftest.err
37947 cat conftest.err
>&5
37948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37949 (exit $ac_status); } &&
37950 { ac_try
='test -z "$ac_c_werror_flag"
37951 || test ! -s conftest.err'
37952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37953 (eval $ac_try) 2>&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); }; } &&
37957 { ac_try
='test -s conftest$ac_exeext'
37958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959 (eval $ac_try) 2>&5
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); }; }; then
37963 ac_cv_func_pthread_attr_getschedpolicy
=yes
37965 echo "$as_me: failed program was:" >&5
37966 sed 's/^/| /' conftest.
$ac_ext >&5
37968 ac_cv_func_pthread_attr_getschedpolicy
=no
37970 rm -f conftest.err conftest.
$ac_objext \
37971 conftest
$ac_exeext conftest.
$ac_ext
37973 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37974 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37975 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37976 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37977 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37978 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37979 echo $ECHO_N "(cached) $ECHO_C" >&6
37981 cat >conftest.
$ac_ext <<_ACEOF
37984 cat confdefs.h
>>conftest.
$ac_ext
37985 cat >>conftest.
$ac_ext <<_ACEOF
37986 /* end confdefs.h. */
37987 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37989 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37991 /* System header to define __stub macros and hopefully few prototypes,
37992 which can conflict with char pthread_attr_setschedparam (); below.
37993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37994 <limits.h> exists even on freestanding compilers. */
37997 # include <limits.h>
37999 # include <assert.h>
38002 #undef pthread_attr_setschedparam
38004 /* Override any gcc2 internal prototype to avoid an error. */
38009 /* We use char because int might match the return type of a gcc2
38010 builtin and then its argument prototype would still apply. */
38011 char pthread_attr_setschedparam ();
38012 /* The GNU C library defines this for functions which it implements
38013 to always fail with ENOSYS. Some functions are actually named
38014 something starting with __ and the normal name is an alias. */
38015 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38018 char (*f) () = pthread_attr_setschedparam;
38027 return f != pthread_attr_setschedparam;
38032 rm -f conftest.
$ac_objext conftest
$ac_exeext
38033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38034 (eval $ac_link) 2>conftest.er1
38036 grep -v '^ *+' conftest.er1
>conftest.err
38038 cat conftest.err
>&5
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); } &&
38041 { ac_try
='test -z "$ac_c_werror_flag"
38042 || test ! -s conftest.err'
38043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38044 (eval $ac_try) 2>&5
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; } &&
38048 { ac_try
='test -s conftest$ac_exeext'
38049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38050 (eval $ac_try) 2>&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); }; }; then
38054 ac_cv_func_pthread_attr_setschedparam
=yes
38056 echo "$as_me: failed program was:" >&5
38057 sed 's/^/| /' conftest.
$ac_ext >&5
38059 ac_cv_func_pthread_attr_setschedparam
=no
38061 rm -f conftest.err conftest.
$ac_objext \
38062 conftest
$ac_exeext conftest.
$ac_ext
38064 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38065 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38066 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38067 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38068 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38069 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38072 cat >conftest.
$ac_ext <<_ACEOF
38075 cat confdefs.h
>>conftest.
$ac_ext
38076 cat >>conftest.
$ac_ext <<_ACEOF
38077 /* end confdefs.h. */
38078 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38080 #define sched_get_priority_max innocuous_sched_get_priority_max
38082 /* System header to define __stub macros and hopefully few prototypes,
38083 which can conflict with char sched_get_priority_max (); below.
38084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38085 <limits.h> exists even on freestanding compilers. */
38088 # include <limits.h>
38090 # include <assert.h>
38093 #undef sched_get_priority_max
38095 /* Override any gcc2 internal prototype to avoid an error. */
38100 /* We use char because int might match the return type of a gcc2
38101 builtin and then its argument prototype would still apply. */
38102 char sched_get_priority_max ();
38103 /* The GNU C library defines this for functions which it implements
38104 to always fail with ENOSYS. Some functions are actually named
38105 something starting with __ and the normal name is an alias. */
38106 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38109 char (*f) () = sched_get_priority_max;
38118 return f != sched_get_priority_max;
38123 rm -f conftest.
$ac_objext conftest
$ac_exeext
38124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38125 (eval $ac_link) 2>conftest.er1
38127 grep -v '^ *+' conftest.er1
>conftest.err
38129 cat conftest.err
>&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); } &&
38132 { ac_try
='test -z "$ac_c_werror_flag"
38133 || test ! -s conftest.err'
38134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38135 (eval $ac_try) 2>&5
38137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38138 (exit $ac_status); }; } &&
38139 { ac_try
='test -s conftest$ac_exeext'
38140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38141 (eval $ac_try) 2>&5
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); }; }; then
38145 ac_cv_func_sched_get_priority_max
=yes
38147 echo "$as_me: failed program was:" >&5
38148 sed 's/^/| /' conftest.
$ac_ext >&5
38150 ac_cv_func_sched_get_priority_max
=no
38152 rm -f conftest.err conftest.
$ac_objext \
38153 conftest
$ac_exeext conftest.
$ac_ext
38155 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38156 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38157 if test $ac_cv_func_sched_get_priority_max = yes; then
38160 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38161 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38162 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 ac_check_lib_save_LIBS
=$LIBS
38166 LIBS
="-lposix4 $LIBS"
38167 cat >conftest.
$ac_ext <<_ACEOF
38170 cat confdefs.h
>>conftest.
$ac_ext
38171 cat >>conftest.
$ac_ext <<_ACEOF
38172 /* end confdefs.h. */
38174 /* Override any gcc2 internal prototype to avoid an error. */
38178 /* We use char because int might match the return type of a gcc2
38179 builtin and then its argument prototype would still apply. */
38180 char sched_get_priority_max ();
38184 sched_get_priority_max ();
38189 rm -f conftest.
$ac_objext conftest
$ac_exeext
38190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38191 (eval $ac_link) 2>conftest.er1
38193 grep -v '^ *+' conftest.er1
>conftest.err
38195 cat conftest.err
>&5
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); } &&
38198 { ac_try
='test -z "$ac_c_werror_flag"
38199 || test ! -s conftest.err'
38200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38201 (eval $ac_try) 2>&5
38203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204 (exit $ac_status); }; } &&
38205 { ac_try
='test -s conftest$ac_exeext'
38206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38207 (eval $ac_try) 2>&5
38209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38210 (exit $ac_status); }; }; then
38211 ac_cv_lib_posix4_sched_get_priority_max
=yes
38213 echo "$as_me: failed program was:" >&5
38214 sed 's/^/| /' conftest.
$ac_ext >&5
38216 ac_cv_lib_posix4_sched_get_priority_max
=no
38218 rm -f conftest.err conftest.
$ac_objext \
38219 conftest
$ac_exeext conftest.
$ac_ext
38220 LIBS
=$ac_check_lib_save_LIBS
38222 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38223 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38224 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38227 POSIX4_LINK
=" -lposix4"
38241 if test "$HAVE_PRIOR_FUNCS" = 1; then
38242 cat >>confdefs.h
<<\_ACEOF
38243 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38247 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38248 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38251 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38252 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38253 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38256 cat >conftest.
$ac_ext <<_ACEOF
38259 cat confdefs.h
>>conftest.
$ac_ext
38260 cat >>conftest.
$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38264 #define pthread_cancel innocuous_pthread_cancel
38266 /* System header to define __stub macros and hopefully few prototypes,
38267 which can conflict with char pthread_cancel (); below.
38268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38269 <limits.h> exists even on freestanding compilers. */
38272 # include <limits.h>
38274 # include <assert.h>
38277 #undef pthread_cancel
38279 /* Override any gcc2 internal prototype to avoid an error. */
38284 /* We use char because int might match the return type of a gcc2
38285 builtin and then its argument prototype would still apply. */
38286 char pthread_cancel ();
38287 /* The GNU C library defines this for functions which it implements
38288 to always fail with ENOSYS. Some functions are actually named
38289 something starting with __ and the normal name is an alias. */
38290 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38293 char (*f) () = pthread_cancel;
38302 return f != pthread_cancel;
38307 rm -f conftest.
$ac_objext conftest
$ac_exeext
38308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38309 (eval $ac_link) 2>conftest.er1
38311 grep -v '^ *+' conftest.er1
>conftest.err
38313 cat conftest.err
>&5
38314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38315 (exit $ac_status); } &&
38316 { ac_try
='test -z "$ac_c_werror_flag"
38317 || test ! -s conftest.err'
38318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38319 (eval $ac_try) 2>&5
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); }; } &&
38323 { ac_try
='test -s conftest$ac_exeext'
38324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38325 (eval $ac_try) 2>&5
38327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38328 (exit $ac_status); }; }; then
38329 ac_cv_func_pthread_cancel
=yes
38331 echo "$as_me: failed program was:" >&5
38332 sed 's/^/| /' conftest.
$ac_ext >&5
38334 ac_cv_func_pthread_cancel
=no
38336 rm -f conftest.err conftest.
$ac_objext \
38337 conftest
$ac_exeext conftest.
$ac_ext
38339 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38340 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38341 if test $ac_cv_func_pthread_cancel = yes; then
38342 cat >>confdefs.h
<<\_ACEOF
38343 #define HAVE_PTHREAD_CANCEL 1
38347 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38348 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38352 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38353 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
38354 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38357 cat >conftest.
$ac_ext <<_ACEOF
38360 cat confdefs.h
>>conftest.
$ac_ext
38361 cat >>conftest.
$ac_ext <<_ACEOF
38362 /* end confdefs.h. */
38363 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38365 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38367 /* System header to define __stub macros and hopefully few prototypes,
38368 which can conflict with char pthread_mutex_timedlock (); below.
38369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38370 <limits.h> exists even on freestanding compilers. */
38373 # include <limits.h>
38375 # include <assert.h>
38378 #undef pthread_mutex_timedlock
38380 /* Override any gcc2 internal prototype to avoid an error. */
38385 /* We use char because int might match the return type of a gcc2
38386 builtin and then its argument prototype would still apply. */
38387 char pthread_mutex_timedlock ();
38388 /* The GNU C library defines this for functions which it implements
38389 to always fail with ENOSYS. Some functions are actually named
38390 something starting with __ and the normal name is an alias. */
38391 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
38394 char (*f) () = pthread_mutex_timedlock;
38403 return f != pthread_mutex_timedlock;
38408 rm -f conftest.
$ac_objext conftest
$ac_exeext
38409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38410 (eval $ac_link) 2>conftest.er1
38412 grep -v '^ *+' conftest.er1
>conftest.err
38414 cat conftest.err
>&5
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); } &&
38417 { ac_try
='test -z "$ac_c_werror_flag"
38418 || test ! -s conftest.err'
38419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38420 (eval $ac_try) 2>&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); }; } &&
38424 { ac_try
='test -s conftest$ac_exeext'
38425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426 (eval $ac_try) 2>&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; }; then
38430 ac_cv_func_pthread_mutex_timedlock
=yes
38432 echo "$as_me: failed program was:" >&5
38433 sed 's/^/| /' conftest.
$ac_ext >&5
38435 ac_cv_func_pthread_mutex_timedlock
=no
38437 rm -f conftest.err conftest.
$ac_objext \
38438 conftest
$ac_exeext conftest.
$ac_ext
38440 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38441 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
38442 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38443 cat >>confdefs.h
<<\_ACEOF
38444 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38448 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38449 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38453 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38454 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38455 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38456 echo $ECHO_N "(cached) $ECHO_C" >&6
38458 cat >conftest.
$ac_ext <<_ACEOF
38461 cat confdefs.h
>>conftest.
$ac_ext
38462 cat >>conftest.
$ac_ext <<_ACEOF
38463 /* end confdefs.h. */
38464 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38466 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38468 /* System header to define __stub macros and hopefully few prototypes,
38469 which can conflict with char pthread_attr_setstacksize (); below.
38470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38471 <limits.h> exists even on freestanding compilers. */
38474 # include <limits.h>
38476 # include <assert.h>
38479 #undef pthread_attr_setstacksize
38481 /* Override any gcc2 internal prototype to avoid an error. */
38486 /* We use char because int might match the return type of a gcc2
38487 builtin and then its argument prototype would still apply. */
38488 char pthread_attr_setstacksize ();
38489 /* The GNU C library defines this for functions which it implements
38490 to always fail with ENOSYS. Some functions are actually named
38491 something starting with __ and the normal name is an alias. */
38492 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38495 char (*f) () = pthread_attr_setstacksize;
38504 return f != pthread_attr_setstacksize;
38509 rm -f conftest.
$ac_objext conftest
$ac_exeext
38510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38511 (eval $ac_link) 2>conftest.er1
38513 grep -v '^ *+' conftest.er1
>conftest.err
38515 cat conftest.err
>&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } &&
38518 { ac_try
='test -z "$ac_c_werror_flag"
38519 || test ! -s conftest.err'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; } &&
38525 { ac_try
='test -s conftest$ac_exeext'
38526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38527 (eval $ac_try) 2>&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); }; }; then
38531 ac_cv_func_pthread_attr_setstacksize
=yes
38533 echo "$as_me: failed program was:" >&5
38534 sed 's/^/| /' conftest.
$ac_ext >&5
38536 ac_cv_func_pthread_attr_setstacksize
=no
38538 rm -f conftest.err conftest.
$ac_objext \
38539 conftest
$ac_exeext conftest.
$ac_ext
38541 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38542 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38543 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38544 cat >>confdefs.h
<<\_ACEOF
38545 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38552 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38553 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38554 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38555 echo $ECHO_N "(cached) $ECHO_C" >&6
38558 cat >conftest.
$ac_ext <<_ACEOF
38561 cat confdefs.h
>>conftest.
$ac_ext
38562 cat >>conftest.
$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38564 #include <pthread.h>
38569 pthread_mutexattr_t attr;
38570 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38576 rm -f conftest.
$ac_objext
38577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38578 (eval $ac_compile) 2>conftest.er1
38580 grep -v '^ *+' conftest.er1
>conftest.err
38582 cat conftest.err
>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); } &&
38585 { ac_try
='test -z "$ac_c_werror_flag"
38586 || test ! -s conftest.err'
38587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38588 (eval $ac_try) 2>&5
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); }; } &&
38592 { ac_try
='test -s conftest.$ac_objext'
38593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38594 (eval $ac_try) 2>&5
38596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38597 (exit $ac_status); }; }; then
38598 wx_cv_type_pthread_mutexattr_t
=yes
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.
$ac_ext >&5
38603 wx_cv_type_pthread_mutexattr_t
=no
38606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38609 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38610 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38612 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38613 cat >>confdefs.h
<<\_ACEOF
38614 #define HAVE_PTHREAD_MUTEXATTR_T 1
38618 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38619 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38620 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38621 echo $ECHO_N "(cached) $ECHO_C" >&6
38624 cat >conftest.
$ac_ext <<_ACEOF
38627 cat confdefs.h
>>conftest.
$ac_ext
38628 cat >>conftest.
$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 #include <pthread.h>
38635 pthread_mutexattr_t attr;
38636 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38642 rm -f conftest.
$ac_objext
38643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38644 (eval $ac_compile) 2>conftest.er1
38646 grep -v '^ *+' conftest.er1
>conftest.err
38648 cat conftest.err
>&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } &&
38651 { ac_try
='test -z "$ac_c_werror_flag"
38652 || test ! -s conftest.err'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; } &&
38658 { ac_try
='test -s conftest.$ac_objext'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; }; then
38664 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38666 echo "$as_me: failed program was:" >&5
38667 sed 's/^/| /' conftest.
$ac_ext >&5
38669 wx_cv_func_pthread_mutexattr_settype_decl
=no
38672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38675 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38676 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38677 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38678 cat >>confdefs.h
<<\_ACEOF
38679 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38684 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38685 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38686 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38687 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 cat >conftest.
$ac_ext <<_ACEOF
38693 cat confdefs.h
>>conftest.
$ac_ext
38694 cat >>conftest.
$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38696 #include <pthread.h>
38701 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38707 rm -f conftest.
$ac_objext
38708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38709 (eval $ac_compile) 2>conftest.er1
38711 grep -v '^ *+' conftest.er1
>conftest.err
38713 cat conftest.err
>&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } &&
38716 { ac_try
='test -z "$ac_c_werror_flag"
38717 || test ! -s conftest.err'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; } &&
38723 { ac_try
='test -s conftest.$ac_objext'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; }; then
38730 wx_cv_type_pthread_rec_mutex_init
=yes
38733 echo "$as_me: failed program was:" >&5
38734 sed 's/^/| /' conftest.
$ac_ext >&5
38737 wx_cv_type_pthread_rec_mutex_init
=no
38741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38744 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38745 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38746 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38747 cat >>confdefs.h
<<\_ACEOF
38748 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38752 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38753 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38759 if test "$wxUSE_THREADS" = "yes" ; then
38762 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38763 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38764 if test "${wx_cv_cflags_mthread+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38768 CFLAGS_OLD
="$CFLAGS"
38769 CFLAGS
="-mthreads $CFLAGS"
38770 cat >conftest.
$ac_ext <<_ACEOF
38773 cat confdefs.h
>>conftest.
$ac_ext
38774 cat >>conftest.
$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38785 rm -f conftest.
$ac_objext
38786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38787 (eval $ac_compile) 2>conftest.er1
38789 grep -v '^ *+' conftest.er1
>conftest.err
38791 cat conftest.err
>&5
38792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38793 (exit $ac_status); } &&
38794 { ac_try
='test -z "$ac_c_werror_flag"
38795 || test ! -s conftest.err'
38796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38797 (eval $ac_try) 2>&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); }; } &&
38801 { ac_try
='test -s conftest.$ac_objext'
38802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38803 (eval $ac_try) 2>&5
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); }; }; then
38807 wx_cv_cflags_mthread
=yes
38809 echo "$as_me: failed program was:" >&5
38810 sed 's/^/| /' conftest.
$ac_ext >&5
38812 wx_cv_cflags_mthread
=no
38815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38819 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38820 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38822 if test "$wx_cv_cflags_mthread" = "yes"; then
38823 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38824 LDFLAGS
="$LDFLAGS -mthreads"
38826 CFLAGS
="$CFLAGS_OLD"
38830 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38831 LDFLAGS
="$LDFLAGS -Zmt"
38837 echo "$as_me:$LINENO: checking for localtime_r" >&5
38838 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38839 if test "${ac_cv_func_localtime_r+set}" = set; then
38840 echo $ECHO_N "(cached) $ECHO_C" >&6
38842 cat >conftest.
$ac_ext <<_ACEOF
38845 cat confdefs.h
>>conftest.
$ac_ext
38846 cat >>conftest.
$ac_ext <<_ACEOF
38847 /* end confdefs.h. */
38848 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38850 #define localtime_r innocuous_localtime_r
38852 /* System header to define __stub macros and hopefully few prototypes,
38853 which can conflict with char localtime_r (); below.
38854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38855 <limits.h> exists even on freestanding compilers. */
38858 # include <limits.h>
38860 # include <assert.h>
38865 /* Override any gcc2 internal prototype to avoid an error. */
38870 /* We use char because int might match the return type of a gcc2
38871 builtin and then its argument prototype would still apply. */
38872 char localtime_r ();
38873 /* The GNU C library defines this for functions which it implements
38874 to always fail with ENOSYS. Some functions are actually named
38875 something starting with __ and the normal name is an alias. */
38876 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38879 char (*f) () = localtime_r;
38888 return f != localtime_r;
38893 rm -f conftest.
$ac_objext conftest
$ac_exeext
38894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38895 (eval $ac_link) 2>conftest.er1
38897 grep -v '^ *+' conftest.er1
>conftest.err
38899 cat conftest.err
>&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); } &&
38902 { ac_try
='test -z "$ac_c_werror_flag"
38903 || test ! -s conftest.err'
38904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38905 (eval $ac_try) 2>&5
38907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908 (exit $ac_status); }; } &&
38909 { ac_try
='test -s conftest$ac_exeext'
38910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911 (eval $ac_try) 2>&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); }; }; then
38915 ac_cv_func_localtime_r
=yes
38917 echo "$as_me: failed program was:" >&5
38918 sed 's/^/| /' conftest.
$ac_ext >&5
38920 ac_cv_func_localtime_r
=no
38922 rm -f conftest.err conftest.
$ac_objext \
38923 conftest
$ac_exeext conftest.
$ac_ext
38925 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38926 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38927 if test $ac_cv_func_localtime_r = yes; then
38928 cat >>confdefs.h
<<\_ACEOF
38929 #define HAVE_LOCALTIME_R 1
38934 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38935 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38936 if test "${ac_cv_func_gmtime_r+set}" = set; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38939 cat >conftest.
$ac_ext <<_ACEOF
38942 cat confdefs.h
>>conftest.
$ac_ext
38943 cat >>conftest.
$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38947 #define gmtime_r innocuous_gmtime_r
38949 /* System header to define __stub macros and hopefully few prototypes,
38950 which can conflict with char gmtime_r (); below.
38951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952 <limits.h> exists even on freestanding compilers. */
38955 # include <limits.h>
38957 # include <assert.h>
38962 /* Override any gcc2 internal prototype to avoid an error. */
38967 /* We use char because int might match the return type of a gcc2
38968 builtin and then its argument prototype would still apply. */
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38976 char (*f) () = gmtime_r;
38985 return f != gmtime_r;
38990 rm -f conftest.
$ac_objext conftest
$ac_exeext
38991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38992 (eval $ac_link) 2>conftest.er1
38994 grep -v '^ *+' conftest.er1
>conftest.err
38996 cat conftest.err
>&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } &&
38999 { ac_try
='test -z "$ac_c_werror_flag"
39000 || test ! -s conftest.err'
39001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39002 (eval $ac_try) 2>&5
39004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39005 (exit $ac_status); }; } &&
39006 { ac_try
='test -s conftest$ac_exeext'
39007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39008 (eval $ac_try) 2>&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); }; }; then
39012 ac_cv_func_gmtime_r
=yes
39014 echo "$as_me: failed program was:" >&5
39015 sed 's/^/| /' conftest.
$ac_ext >&5
39017 ac_cv_func_gmtime_r
=no
39019 rm -f conftest.err conftest.
$ac_objext \
39020 conftest
$ac_exeext conftest.
$ac_ext
39022 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39023 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39024 if test $ac_cv_func_gmtime_r = yes; then
39025 cat >>confdefs.h
<<\_ACEOF
39026 #define HAVE_GMTIME_R 1
39031 echo "$as_me:$LINENO: checking for readdir_r" >&5
39032 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39033 if test "${ac_cv_func_readdir_r+set}" = set; then
39034 echo $ECHO_N "(cached) $ECHO_C" >&6
39036 cat >conftest.
$ac_ext <<_ACEOF
39039 cat confdefs.h
>>conftest.
$ac_ext
39040 cat >>conftest.
$ac_ext <<_ACEOF
39041 /* end confdefs.h. */
39042 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39044 #define readdir_r innocuous_readdir_r
39046 /* System header to define __stub macros and hopefully few prototypes,
39047 which can conflict with char readdir_r (); below.
39048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39049 <limits.h> exists even on freestanding compilers. */
39052 # include <limits.h>
39054 # include <assert.h>
39059 /* Override any gcc2 internal prototype to avoid an error. */
39064 /* We use char because int might match the return type of a gcc2
39065 builtin and then its argument prototype would still apply. */
39067 /* The GNU C library defines this for functions which it implements
39068 to always fail with ENOSYS. Some functions are actually named
39069 something starting with __ and the normal name is an alias. */
39070 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39073 char (*f) () = readdir_r;
39082 return f != readdir_r;
39087 rm -f conftest.
$ac_objext conftest
$ac_exeext
39088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39089 (eval $ac_link) 2>conftest.er1
39091 grep -v '^ *+' conftest.er1
>conftest.err
39093 cat conftest.err
>&5
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); } &&
39096 { ac_try
='test -z "$ac_c_werror_flag"
39097 || test ! -s conftest.err'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; } &&
39103 { ac_try
='test -s conftest$ac_exeext'
39104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39105 (eval $ac_try) 2>&5
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); }; }; then
39109 ac_cv_func_readdir_r
=yes
39111 echo "$as_me: failed program was:" >&5
39112 sed 's/^/| /' conftest.
$ac_ext >&5
39114 ac_cv_func_readdir_r
=no
39116 rm -f conftest.err conftest.
$ac_objext \
39117 conftest
$ac_exeext conftest.
$ac_ext
39119 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39120 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39121 if test $ac_cv_func_readdir_r = yes; then
39122 cat >>confdefs.h
<<\_ACEOF
39123 #define HAVE_READDIR_R 1
39132 ac_cpp
='$CPP $CPPFLAGS'
39133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39137 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39138 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39140 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39141 echo $ECHO_N "(cached) $ECHO_C" >&6
39146 ac_cv_func_which_gethostbyname_r
=unknown
39149 # ONE ARGUMENT (sanity check)
39152 # This should fail, as there is no variant of gethostbyname_r() that takes
39153 # a single argument. If it actually compiles, then we can assume that
39154 # netdb.h is not declaring the function, and the compiler is thereby
39155 # assuming an implicit prototype. In which case, we're out of luck.
39157 cat >conftest.
$ac_ext <<_ACEOF
39160 cat confdefs.h
>>conftest.
$ac_ext
39161 cat >>conftest.
$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39168 char *name = "www.gnu.org";
39169 (void)gethostbyname_r(name) /* ; */
39175 rm -f conftest.
$ac_objext
39176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39177 (eval $ac_compile) 2>conftest.er1
39179 grep -v '^ *+' conftest.er1
>conftest.err
39181 cat conftest.err
>&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } &&
39184 { ac_try
='test -z "$ac_c_werror_flag"
39185 || test ! -s conftest.err'
39186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187 (eval $ac_try) 2>&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; } &&
39191 { ac_try
='test -s conftest.$ac_objext'
39192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39193 (eval $ac_try) 2>&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); }; }; then
39197 ac_cv_func_which_gethostbyname_r
=no
39199 echo "$as_me: failed program was:" >&5
39200 sed 's/^/| /' conftest.
$ac_ext >&5
39203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39210 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39212 cat >conftest.
$ac_ext <<_ACEOF
39215 cat confdefs.h
>>conftest.
$ac_ext
39216 cat >>conftest.
$ac_ext <<_ACEOF
39217 /* end confdefs.h. */
39223 char *name = "www.gnu.org";
39224 struct hostent ret, *retp;
39228 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39234 rm -f conftest.
$ac_objext
39235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39236 (eval $ac_compile) 2>conftest.er1
39238 grep -v '^ *+' conftest.er1
>conftest.err
39240 cat conftest.err
>&5
39241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39242 (exit $ac_status); } &&
39243 { ac_try
='test -z "$ac_c_werror_flag"
39244 || test ! -s conftest.err'
39245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39246 (eval $ac_try) 2>&5
39248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39249 (exit $ac_status); }; } &&
39250 { ac_try
='test -s conftest.$ac_objext'
39251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39252 (eval $ac_try) 2>&5
39254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39255 (exit $ac_status); }; }; then
39256 ac_cv_func_which_gethostbyname_r
=six
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.
$ac_ext >&5
39262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39271 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39273 cat >conftest.
$ac_ext <<_ACEOF
39276 cat confdefs.h
>>conftest.
$ac_ext
39277 cat >>conftest.
$ac_ext <<_ACEOF
39278 /* end confdefs.h. */
39284 char *name = "www.gnu.org";
39285 struct hostent ret;
39289 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39295 rm -f conftest.
$ac_objext
39296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39297 (eval $ac_compile) 2>conftest.er1
39299 grep -v '^ *+' conftest.er1
>conftest.err
39301 cat conftest.err
>&5
39302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39303 (exit $ac_status); } &&
39304 { ac_try
='test -z "$ac_c_werror_flag"
39305 || test ! -s conftest.err'
39306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39307 (eval $ac_try) 2>&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); }; } &&
39311 { ac_try
='test -s conftest.$ac_objext'
39312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39313 (eval $ac_try) 2>&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); }; }; then
39317 ac_cv_func_which_gethostbyname_r
=five
39319 echo "$as_me: failed program was:" >&5
39320 sed 's/^/| /' conftest.
$ac_ext >&5
39323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39329 # (e.g. AIX, HP-UX, Tru64)
39332 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39334 cat >conftest.
$ac_ext <<_ACEOF
39337 cat confdefs.h
>>conftest.
$ac_ext
39338 cat >>conftest.
$ac_ext <<_ACEOF
39339 /* end confdefs.h. */
39345 char *name = "www.gnu.org";
39346 struct hostent ret;
39347 struct hostent_data data;
39348 (void)gethostbyname_r(name, &ret, &data) /* ; */
39354 rm -f conftest.
$ac_objext
39355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39356 (eval $ac_compile) 2>conftest.er1
39358 grep -v '^ *+' conftest.er1
>conftest.err
39360 cat conftest.err
>&5
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); } &&
39363 { ac_try
='test -z "$ac_c_werror_flag"
39364 || test ! -s conftest.err'
39365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39366 (eval $ac_try) 2>&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); }; } &&
39370 { ac_try
='test -s conftest.$ac_objext'
39371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372 (eval $ac_try) 2>&5
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); }; }; then
39376 ac_cv_func_which_gethostbyname_r
=three
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.
$ac_ext >&5
39382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39390 case "$ac_cv_func_which_gethostbyname_r" in
39392 echo "$as_me:$LINENO: result: three" >&5
39393 echo "${ECHO_T}three" >&6
39394 cat >>confdefs.h
<<\_ACEOF
39395 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39401 echo "$as_me:$LINENO: result: five" >&5
39402 echo "${ECHO_T}five" >&6
39403 cat >>confdefs.h
<<\_ACEOF
39404 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39410 echo "$as_me:$LINENO: result: six" >&5
39411 echo "${ECHO_T}six" >&6
39412 cat >>confdefs.h
<<\_ACEOF
39413 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39419 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39420 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39424 echo "$as_me:$LINENO: result: can't tell" >&5
39425 echo "${ECHO_T}can't tell" >&6
39429 { { echo "$as_me:$LINENO: error: internal error" >&5
39430 echo "$as_me: error: internal error" >&2;}
39431 { (exit 1); exit 1; }; }
39436 ac_cpp
='$CPP $CPPFLAGS'
39437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39443 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39444 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39445 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39446 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39447 if test "${ac_cv_func_gethostbyname+set}" = set; then
39448 echo $ECHO_N "(cached) $ECHO_C" >&6
39450 cat >conftest.
$ac_ext <<_ACEOF
39453 cat confdefs.h
>>conftest.
$ac_ext
39454 cat >>conftest.
$ac_ext <<_ACEOF
39455 /* end confdefs.h. */
39456 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39458 #define gethostbyname innocuous_gethostbyname
39460 /* System header to define __stub macros and hopefully few prototypes,
39461 which can conflict with char gethostbyname (); below.
39462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39463 <limits.h> exists even on freestanding compilers. */
39466 # include <limits.h>
39468 # include <assert.h>
39471 #undef gethostbyname
39473 /* Override any gcc2 internal prototype to avoid an error. */
39478 /* We use char because int might match the return type of a gcc2
39479 builtin and then its argument prototype would still apply. */
39480 char gethostbyname ();
39481 /* The GNU C library defines this for functions which it implements
39482 to always fail with ENOSYS. Some functions are actually named
39483 something starting with __ and the normal name is an alias. */
39484 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39487 char (*f) () = gethostbyname;
39496 return f != gethostbyname;
39501 rm -f conftest.
$ac_objext conftest
$ac_exeext
39502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39503 (eval $ac_link) 2>conftest.er1
39505 grep -v '^ *+' conftest.er1
>conftest.err
39507 cat conftest.err
>&5
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); } &&
39510 { ac_try
='test -z "$ac_c_werror_flag"
39511 || test ! -s conftest.err'
39512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39513 (eval $ac_try) 2>&5
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); }; } &&
39517 { ac_try
='test -s conftest$ac_exeext'
39518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39519 (eval $ac_try) 2>&5
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); }; }; then
39523 ac_cv_func_gethostbyname
=yes
39525 echo "$as_me: failed program was:" >&5
39526 sed 's/^/| /' conftest.
$ac_ext >&5
39528 ac_cv_func_gethostbyname
=no
39530 rm -f conftest.err conftest.
$ac_objext \
39531 conftest
$ac_exeext conftest.
$ac_ext
39533 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39534 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39535 if test $ac_cv_func_gethostbyname = yes; then
39536 cat >>confdefs.h
<<\_ACEOF
39537 #define HAVE_GETHOSTBYNAME 1
39543 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39544 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39545 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39549 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39550 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39551 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39552 echo $ECHO_N "(cached) $ECHO_C" >&6
39554 cat >conftest.
$ac_ext <<_ACEOF
39557 cat confdefs.h
>>conftest.
$ac_ext
39558 cat >>conftest.
$ac_ext <<_ACEOF
39559 /* end confdefs.h. */
39560 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39562 #define getservbyname_r innocuous_getservbyname_r
39564 /* System header to define __stub macros and hopefully few prototypes,
39565 which can conflict with char getservbyname_r (); below.
39566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39567 <limits.h> exists even on freestanding compilers. */
39570 # include <limits.h>
39572 # include <assert.h>
39575 #undef getservbyname_r
39577 /* Override any gcc2 internal prototype to avoid an error. */
39582 /* We use char because int might match the return type of a gcc2
39583 builtin and then its argument prototype would still apply. */
39584 char getservbyname_r ();
39585 /* The GNU C library defines this for functions which it implements
39586 to always fail with ENOSYS. Some functions are actually named
39587 something starting with __ and the normal name is an alias. */
39588 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39591 char (*f) () = getservbyname_r;
39600 return f != getservbyname_r;
39605 rm -f conftest.
$ac_objext conftest
$ac_exeext
39606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39607 (eval $ac_link) 2>conftest.er1
39609 grep -v '^ *+' conftest.er1
>conftest.err
39611 cat conftest.err
>&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } &&
39614 { ac_try
='test -z "$ac_c_werror_flag"
39615 || test ! -s conftest.err'
39616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39617 (eval $ac_try) 2>&5
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); }; } &&
39621 { ac_try
='test -s conftest$ac_exeext'
39622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39623 (eval $ac_try) 2>&5
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); }; }; then
39627 ac_cv_func_getservbyname_r
=yes
39629 echo "$as_me: failed program was:" >&5
39630 sed 's/^/| /' conftest.
$ac_ext >&5
39632 ac_cv_func_getservbyname_r
=no
39634 rm -f conftest.err conftest.
$ac_objext \
39635 conftest
$ac_exeext conftest.
$ac_ext
39637 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39638 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39639 if test $ac_cv_func_getservbyname_r = yes; then
39641 cat >conftest.
$ac_ext <<_ACEOF
39644 cat confdefs.h
>>conftest.
$ac_ext
39645 cat >>conftest.
$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39648 # include <netdb.h>
39657 struct servent *se;
39658 struct servent_data data;
39659 (void) getservbyname_r(name, proto, se, &data);
39666 rm -f conftest.
$ac_objext
39667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39668 (eval $ac_compile) 2>conftest.er1
39670 grep -v '^ *+' conftest.er1
>conftest.err
39672 cat conftest.err
>&5
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); } &&
39675 { ac_try
='test -z "$ac_c_werror_flag"
39676 || test ! -s conftest.err'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; } &&
39682 { ac_try
='test -s conftest.$ac_objext'
39683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39684 (eval $ac_try) 2>&5
39686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39687 (exit $ac_status); }; }; then
39688 ac_cv_func_which_getservbyname_r
=four
39690 echo "$as_me: failed program was:" >&5
39691 sed 's/^/| /' conftest.
$ac_ext >&5
39694 cat >conftest.
$ac_ext <<_ACEOF
39697 cat confdefs.h
>>conftest.
$ac_ext
39698 cat >>conftest.
$ac_ext <<_ACEOF
39699 /* end confdefs.h. */
39701 # include <netdb.h>
39709 struct servent *se, *res;
39712 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39718 rm -f conftest.
$ac_objext
39719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39720 (eval $ac_compile) 2>conftest.er1
39722 grep -v '^ *+' conftest.er1
>conftest.err
39724 cat conftest.err
>&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } &&
39727 { ac_try
='test -z "$ac_c_werror_flag"
39728 || test ! -s conftest.err'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; } &&
39734 { ac_try
='test -s conftest.$ac_objext'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; }; then
39740 ac_cv_func_which_getservbyname_r
=six
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.
$ac_ext >&5
39746 cat >conftest.
$ac_ext <<_ACEOF
39749 cat confdefs.h
>>conftest.
$ac_ext
39750 cat >>conftest.
$ac_ext <<_ACEOF
39751 /* end confdefs.h. */
39753 # include <netdb.h>
39761 struct servent *se;
39764 (void) getservbyname_r(name, proto, se, buffer, buflen)
39770 rm -f conftest.
$ac_objext
39771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39772 (eval $ac_compile) 2>conftest.er1
39774 grep -v '^ *+' conftest.er1
>conftest.err
39776 cat conftest.err
>&5
39777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39778 (exit $ac_status); } &&
39779 { ac_try
='test -z "$ac_c_werror_flag"
39780 || test ! -s conftest.err'
39781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39782 (eval $ac_try) 2>&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); }; } &&
39786 { ac_try
='test -s conftest.$ac_objext'
39787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39788 (eval $ac_try) 2>&5
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); }; }; then
39792 ac_cv_func_which_getservbyname_r
=five
39794 echo "$as_me: failed program was:" >&5
39795 sed 's/^/| /' conftest.
$ac_ext >&5
39797 ac_cv_func_which_getservbyname_r
=no
39799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39812 ac_cv_func_which_getservbyname_r
=no
39816 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39817 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39819 if test $ac_cv_func_which_getservbyname_r = six
; then
39820 cat >>confdefs.h
<<\_ACEOF
39821 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39824 elif test $ac_cv_func_which_getservbyname_r = five
; then
39825 cat >>confdefs.h
<<\_ACEOF
39826 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39829 elif test $ac_cv_func_which_getservbyname_r = four
; then
39830 cat >>confdefs.h
<<\_ACEOF
39831 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39838 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39839 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39841 for ac_func
in getservbyname
39843 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39844 echo "$as_me:$LINENO: checking for $ac_func" >&5
39845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39846 if eval "test \"\${$as_ac_var+set}\" = set"; then
39847 echo $ECHO_N "(cached) $ECHO_C" >&6
39849 cat >conftest.
$ac_ext <<_ACEOF
39852 cat confdefs.h
>>conftest.
$ac_ext
39853 cat >>conftest.
$ac_ext <<_ACEOF
39854 /* end confdefs.h. */
39855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39857 #define $ac_func innocuous_$ac_func
39859 /* System header to define __stub macros and hopefully few prototypes,
39860 which can conflict with char $ac_func (); below.
39861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39862 <limits.h> exists even on freestanding compilers. */
39865 # include <limits.h>
39867 # include <assert.h>
39872 /* Override any gcc2 internal prototype to avoid an error. */
39877 /* We use char because int might match the return type of a gcc2
39878 builtin and then its argument prototype would still apply. */
39880 /* The GNU C library defines this for functions which it implements
39881 to always fail with ENOSYS. Some functions are actually named
39882 something starting with __ and the normal name is an alias. */
39883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39886 char (*f) () = $ac_func;
39895 return f != $ac_func;
39900 rm -f conftest.
$ac_objext conftest
$ac_exeext
39901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39902 (eval $ac_link) 2>conftest.er1
39904 grep -v '^ *+' conftest.er1
>conftest.err
39906 cat conftest.err
>&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } &&
39909 { ac_try
='test -z "$ac_c_werror_flag"
39910 || test ! -s conftest.err'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; } &&
39916 { ac_try
='test -s conftest$ac_exeext'
39917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39918 (eval $ac_try) 2>&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); }; }; then
39922 eval "$as_ac_var=yes"
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.
$ac_ext >&5
39927 eval "$as_ac_var=no"
39929 rm -f conftest.err conftest.
$ac_objext \
39930 conftest
$ac_exeext conftest.
$ac_ext
39932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39934 if test `eval echo '${'$as_ac_var'}'` = yes; then
39935 cat >>confdefs.h
<<_ACEOF
39936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39938 cat >>confdefs.h
<<\_ACEOF
39939 #define HAVE_GETSERVBYNAME 1
39947 if test "$wxUSE_THREADS" = "yes"; then
39948 cat >>confdefs.h
<<\_ACEOF
39949 #define wxUSE_THREADS 1
39953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39955 if test "$wx_cv_func_strtok_r" = "yes"; then
39956 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39957 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39958 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39959 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39960 echo "$as_me:$LINENO: result: yes" >&5
39961 echo "${ECHO_T}yes" >&6
39963 echo "$as_me:$LINENO: result: no" >&5
39964 echo "${ECHO_T}no" >&6
39969 if test "$WXGTK20" = 1 ; then
39970 cat >>confdefs.h
<<_ACEOF
39971 #define __WXGTK20__ $WXGTK20
39977 if test "$WXGTK12" = 1 ; then
39978 cat >>confdefs.h
<<_ACEOF
39979 #define __WXGTK12__ $WXGTK12
39984 if test "$WXGTK127" = 1 ; then
39985 cat >>confdefs.h
<<_ACEOF
39986 #define __WXGTK127__ $WXGTK127
39991 if test "$WXGPE" = 1 ; then
39992 cat >>confdefs.h
<<_ACEOF
39993 #define __WXGPE__ $WXGPE
39999 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40004 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40005 wxUSE_DEBUG_INFO
=yes
40006 if test "$GCC" = yes; then
40007 DEBUG_CFLAGS
="-ggdb"
40011 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40012 cat >>confdefs.h
<<\_ACEOF
40016 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40018 if test "$wxUSE_GTK" = 1 ; then
40019 if test "x$wxGTK_VERSION" = "x1" ; then
40020 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40025 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40026 cat >>confdefs.h
<<\_ACEOF
40027 #define wxUSE_MEMORY_TRACING 1
40030 cat >>confdefs.h
<<\_ACEOF
40031 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40034 cat >>confdefs.h
<<\_ACEOF
40035 #define wxUSE_DEBUG_NEW_ALWAYS 1
40038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
40041 if test "$wxUSE_DMALLOC" = "yes" ; then
40042 DMALLOC_LIBS
="-ldmallocthcxx"
40046 if test "$wxUSE_PROFILE" = "yes" ; then
40047 PROFILE_FLAGS
=" -pg"
40050 if test "$GCC" = "yes" ; then
40051 if test "$wxUSE_NO_RTTI" = "yes" ; then
40052 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
40054 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40055 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
40057 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40058 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
40063 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
40066 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
40072 if test "$wxUSE_OPTIMISE" = "no" ; then
40073 if test "$GCC" = yes ; then
40074 OPTIMISE_CFLAGS
="-O0"
40077 if test "$GCC" = yes ; then
40079 *-pc-os2_emx | *-pc-os2-emx )
40080 OPTIMISE_CFLAGS
="-O2"
40083 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
40087 OPTIMISE_CFLAGS
="-O"
40092 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40093 cat >>confdefs.h
<<\_ACEOF
40094 #define WXWIN_COMPATIBILITY_2_6 1
40098 WXWIN_COMPATIBILITY_2_8
="yes"
40101 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40102 cat >>confdefs.h
<<\_ACEOF
40103 #define WXWIN_COMPATIBILITY_2_8 1
40109 if test "$wxUSE_GUI" = "yes"; then
40110 cat >>confdefs.h
<<\_ACEOF
40111 #define wxUSE_GUI 1
40118 if test "$wxUSE_UNIX" = "yes"; then
40119 cat >>confdefs.h
<<\_ACEOF
40120 #define wxUSE_UNIX 1
40126 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40130 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40131 if test "$USE_DARWIN" = 1; then
40133 elif test "$USE_DOS" = 1; then
40137 for ac_func
in dlopen
40139 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40140 echo "$as_me:$LINENO: checking for $ac_func" >&5
40141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40142 if eval "test \"\${$as_ac_var+set}\" = set"; then
40143 echo $ECHO_N "(cached) $ECHO_C" >&6
40145 cat >conftest.
$ac_ext <<_ACEOF
40148 cat confdefs.h
>>conftest.
$ac_ext
40149 cat >>conftest.
$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40153 #define $ac_func innocuous_$ac_func
40155 /* System header to define __stub macros and hopefully few prototypes,
40156 which can conflict with char $ac_func (); below.
40157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40158 <limits.h> exists even on freestanding compilers. */
40161 # include <limits.h>
40163 # include <assert.h>
40168 /* Override any gcc2 internal prototype to avoid an error. */
40173 /* We use char because int might match the return type of a gcc2
40174 builtin and then its argument prototype would still apply. */
40176 /* The GNU C library defines this for functions which it implements
40177 to always fail with ENOSYS. Some functions are actually named
40178 something starting with __ and the normal name is an alias. */
40179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40182 char (*f) () = $ac_func;
40191 return f != $ac_func;
40196 rm -f conftest.
$ac_objext conftest
$ac_exeext
40197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40198 (eval $ac_link) 2>conftest.er1
40200 grep -v '^ *+' conftest.er1
>conftest.err
40202 cat conftest.err
>&5
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); } &&
40205 { ac_try
='test -z "$ac_c_werror_flag"
40206 || test ! -s conftest.err'
40207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40208 (eval $ac_try) 2>&5
40210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211 (exit $ac_status); }; } &&
40212 { ac_try
='test -s conftest$ac_exeext'
40213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40214 (eval $ac_try) 2>&5
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); }; }; then
40218 eval "$as_ac_var=yes"
40220 echo "$as_me: failed program was:" >&5
40221 sed 's/^/| /' conftest.
$ac_ext >&5
40223 eval "$as_ac_var=no"
40225 rm -f conftest.err conftest.
$ac_objext \
40226 conftest
$ac_exeext conftest.
$ac_ext
40228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40230 if test `eval echo '${'$as_ac_var'}'` = yes; then
40231 cat >>confdefs.h
<<_ACEOF
40232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40235 cat >>confdefs.h
<<\_ACEOF
40236 #define HAVE_DLOPEN 1
40243 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40244 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40245 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40246 echo $ECHO_N "(cached) $ECHO_C" >&6
40248 ac_check_lib_save_LIBS
=$LIBS
40250 cat >conftest.
$ac_ext <<_ACEOF
40253 cat confdefs.h
>>conftest.
$ac_ext
40254 cat >>conftest.
$ac_ext <<_ACEOF
40255 /* end confdefs.h. */
40257 /* Override any gcc2 internal prototype to avoid an error. */
40261 /* We use char because int might match the return type of a gcc2
40262 builtin and then its argument prototype would still apply. */
40272 rm -f conftest.
$ac_objext conftest
$ac_exeext
40273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40274 (eval $ac_link) 2>conftest.er1
40276 grep -v '^ *+' conftest.er1
>conftest.err
40278 cat conftest.err
>&5
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } &&
40281 { ac_try
='test -z "$ac_c_werror_flag"
40282 || test ! -s conftest.err'
40283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40284 (eval $ac_try) 2>&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); }; } &&
40288 { ac_try
='test -s conftest$ac_exeext'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; }; then
40294 ac_cv_lib_dl_dlopen
=yes
40296 echo "$as_me: failed program was:" >&5
40297 sed 's/^/| /' conftest.
$ac_ext >&5
40299 ac_cv_lib_dl_dlopen
=no
40301 rm -f conftest.err conftest.
$ac_objext \
40302 conftest
$ac_exeext conftest.
$ac_ext
40303 LIBS
=$ac_check_lib_save_LIBS
40305 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40306 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40307 if test $ac_cv_lib_dl_dlopen = yes; then
40309 cat >>confdefs.h
<<\_ACEOF
40310 #define HAVE_DLOPEN 1
40314 DL_LINK
=" -ldl$DL_LINK"
40319 for ac_func
in shl_load
40321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40322 echo "$as_me:$LINENO: checking for $ac_func" >&5
40323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40324 if eval "test \"\${$as_ac_var+set}\" = set"; then
40325 echo $ECHO_N "(cached) $ECHO_C" >&6
40327 cat >conftest.
$ac_ext <<_ACEOF
40330 cat confdefs.h
>>conftest.
$ac_ext
40331 cat >>conftest.
$ac_ext <<_ACEOF
40332 /* end confdefs.h. */
40333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40335 #define $ac_func innocuous_$ac_func
40337 /* System header to define __stub macros and hopefully few prototypes,
40338 which can conflict with char $ac_func (); below.
40339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40340 <limits.h> exists even on freestanding compilers. */
40343 # include <limits.h>
40345 # include <assert.h>
40350 /* Override any gcc2 internal prototype to avoid an error. */
40355 /* We use char because int might match the return type of a gcc2
40356 builtin and then its argument prototype would still apply. */
40358 /* The GNU C library defines this for functions which it implements
40359 to always fail with ENOSYS. Some functions are actually named
40360 something starting with __ and the normal name is an alias. */
40361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40364 char (*f) () = $ac_func;
40373 return f != $ac_func;
40378 rm -f conftest.
$ac_objext conftest
$ac_exeext
40379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40380 (eval $ac_link) 2>conftest.er1
40382 grep -v '^ *+' conftest.er1
>conftest.err
40384 cat conftest.err
>&5
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); } &&
40387 { ac_try
='test -z "$ac_c_werror_flag"
40388 || test ! -s conftest.err'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; } &&
40394 { ac_try
='test -s conftest$ac_exeext'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; }; then
40400 eval "$as_ac_var=yes"
40402 echo "$as_me: failed program was:" >&5
40403 sed 's/^/| /' conftest.
$ac_ext >&5
40405 eval "$as_ac_var=no"
40407 rm -f conftest.err conftest.
$ac_objext \
40408 conftest
$ac_exeext conftest.
$ac_ext
40410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40412 if test `eval echo '${'$as_ac_var'}'` = yes; then
40413 cat >>confdefs.h
<<_ACEOF
40414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40417 cat >>confdefs.h
<<\_ACEOF
40418 #define HAVE_SHL_LOAD 1
40425 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40426 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40427 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40430 ac_check_lib_save_LIBS
=$LIBS
40431 LIBS
="-lshl_load $LIBS"
40432 cat >conftest.
$ac_ext <<_ACEOF
40435 cat confdefs.h
>>conftest.
$ac_ext
40436 cat >>conftest.
$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40439 /* Override any gcc2 internal prototype to avoid an error. */
40443 /* We use char because int might match the return type of a gcc2
40444 builtin and then its argument prototype would still apply. */
40454 rm -f conftest.
$ac_objext conftest
$ac_exeext
40455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40456 (eval $ac_link) 2>conftest.er1
40458 grep -v '^ *+' conftest.er1
>conftest.err
40460 cat conftest.err
>&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } &&
40463 { ac_try
='test -z "$ac_c_werror_flag"
40464 || test ! -s conftest.err'
40465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40466 (eval $ac_try) 2>&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); }; } &&
40470 { ac_try
='test -s conftest$ac_exeext'
40471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40472 (eval $ac_try) 2>&5
40474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40475 (exit $ac_status); }; }; then
40476 ac_cv_lib_shl_load_dld
=yes
40478 echo "$as_me: failed program was:" >&5
40479 sed 's/^/| /' conftest.
$ac_ext >&5
40481 ac_cv_lib_shl_load_dld
=no
40483 rm -f conftest.err conftest.
$ac_objext \
40484 conftest
$ac_exeext conftest.
$ac_ext
40485 LIBS
=$ac_check_lib_save_LIBS
40487 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40488 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40489 if test $ac_cv_lib_shl_load_dld = yes; then
40492 DL_LINK
=" -ldld$DL_LINK"
40508 if test "$HAVE_DL_FUNCS" = 1; then
40510 for ac_func
in dlerror
40512 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40513 echo "$as_me:$LINENO: checking for $ac_func" >&5
40514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40515 if eval "test \"\${$as_ac_var+set}\" = set"; then
40516 echo $ECHO_N "(cached) $ECHO_C" >&6
40518 cat >conftest.
$ac_ext <<_ACEOF
40521 cat confdefs.h
>>conftest.
$ac_ext
40522 cat >>conftest.
$ac_ext <<_ACEOF
40523 /* end confdefs.h. */
40524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40526 #define $ac_func innocuous_$ac_func
40528 /* System header to define __stub macros and hopefully few prototypes,
40529 which can conflict with char $ac_func (); below.
40530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40531 <limits.h> exists even on freestanding compilers. */
40534 # include <limits.h>
40536 # include <assert.h>
40541 /* Override any gcc2 internal prototype to avoid an error. */
40546 /* We use char because int might match the return type of a gcc2
40547 builtin and then its argument prototype would still apply. */
40549 /* The GNU C library defines this for functions which it implements
40550 to always fail with ENOSYS. Some functions are actually named
40551 something starting with __ and the normal name is an alias. */
40552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40555 char (*f) () = $ac_func;
40564 return f != $ac_func;
40569 rm -f conftest.
$ac_objext conftest
$ac_exeext
40570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40571 (eval $ac_link) 2>conftest.er1
40573 grep -v '^ *+' conftest.er1
>conftest.err
40575 cat conftest.err
>&5
40576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40577 (exit $ac_status); } &&
40578 { ac_try
='test -z "$ac_c_werror_flag"
40579 || test ! -s conftest.err'
40580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40581 (eval $ac_try) 2>&5
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); }; } &&
40585 { ac_try
='test -s conftest$ac_exeext'
40586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40587 (eval $ac_try) 2>&5
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); }; }; then
40591 eval "$as_ac_var=yes"
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.
$ac_ext >&5
40596 eval "$as_ac_var=no"
40598 rm -f conftest.err conftest.
$ac_objext \
40599 conftest
$ac_exeext conftest.
$ac_ext
40601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40603 if test `eval echo '${'$as_ac_var'}'` = yes; then
40604 cat >>confdefs.h
<<_ACEOF
40605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40607 cat >>confdefs.h
<<\_ACEOF
40608 #define HAVE_DLERROR 1
40613 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40614 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40615 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40616 echo $ECHO_N "(cached) $ECHO_C" >&6
40618 ac_check_lib_save_LIBS
=$LIBS
40620 cat >conftest.
$ac_ext <<_ACEOF
40623 cat confdefs.h
>>conftest.
$ac_ext
40624 cat >>conftest.
$ac_ext <<_ACEOF
40625 /* end confdefs.h. */
40627 /* Override any gcc2 internal prototype to avoid an error. */
40631 /* We use char because int might match the return type of a gcc2
40632 builtin and then its argument prototype would still apply. */
40642 rm -f conftest.
$ac_objext conftest
$ac_exeext
40643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40644 (eval $ac_link) 2>conftest.er1
40646 grep -v '^ *+' conftest.er1
>conftest.err
40648 cat conftest.err
>&5
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); } &&
40651 { ac_try
='test -z "$ac_c_werror_flag"
40652 || test ! -s conftest.err'
40653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40654 (eval $ac_try) 2>&5
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); }; } &&
40658 { ac_try
='test -s conftest$ac_exeext'
40659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40660 (eval $ac_try) 2>&5
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); }; }; then
40664 ac_cv_lib_dl_dlerror
=yes
40666 echo "$as_me: failed program was:" >&5
40667 sed 's/^/| /' conftest.
$ac_ext >&5
40669 ac_cv_lib_dl_dlerror
=no
40671 rm -f conftest.err conftest.
$ac_objext \
40672 conftest
$ac_exeext conftest.
$ac_ext
40673 LIBS
=$ac_check_lib_save_LIBS
40675 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40676 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40677 if test $ac_cv_lib_dl_dlerror = yes; then
40678 cat >>confdefs.h
<<\_ACEOF
40679 #define HAVE_DLERROR 1
40692 if test "$HAVE_DL_FUNCS" = 0; then
40693 if test "$HAVE_SHL_FUNCS" = 0; then
40694 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40695 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40696 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40697 wxUSE_DYNAMIC_LOADER
=no
40698 wxUSE_DYNLIB_CLASS
=no
40700 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40701 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40708 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40709 cat >>confdefs.h
<<\_ACEOF
40710 #define wxUSE_DYNAMIC_LOADER 1
40714 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40715 cat >>confdefs.h
<<\_ACEOF
40716 #define wxUSE_DYNLIB_CLASS 1
40723 if test "$wxUSE_PLUGINS" = "yes" ; then
40724 if test "$wxUSE_SHARED" = "no" ; then
40725 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40726 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40729 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40730 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40731 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40734 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40735 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40736 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40739 if test "$wxUSE_PLUGINS" = "yes" ; then
40740 cat >>confdefs.h
<<\_ACEOF
40741 #define wxUSE_PLUGINS 1
40748 if test "$wxUSE_STL" = "yes"; then
40749 cat >>confdefs.h
<<\_ACEOF
40750 #define wxUSE_STL 1
40755 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40756 cat >>confdefs.h
<<\_ACEOF
40757 #define wxUSE_EXTENDED_RTTI 1
40762 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40763 cat >>confdefs.h
<<\_ACEOF
40764 #define wxUSE_APPLE_IEEE 1
40769 if test "$wxUSE_TIMER" = "yes"; then
40770 cat >>confdefs.h
<<\_ACEOF
40771 #define wxUSE_TIMER 1
40776 if test "$USE_UNIX" = "1" ; then
40777 if test "$wxUSE_MGL" != 1; then
40778 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40779 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
40780 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40781 echo $ECHO_N "(cached) $ECHO_C" >&6
40784 cat >conftest.
$ac_ext <<_ACEOF
40787 cat confdefs.h
>>conftest.
$ac_ext
40788 cat >>conftest.
$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40791 #include <sys/ioctl.h>
40792 #include <sys/soundcard.h>
40798 ioctl(0, SNDCTL_DSP_SPEED, 0);
40804 rm -f conftest.
$ac_objext conftest
$ac_exeext
40805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40806 (eval $ac_link) 2>conftest.er1
40808 grep -v '^ *+' conftest.er1
>conftest.err
40810 cat conftest.err
>&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } &&
40813 { ac_try
='test -z "$ac_c_werror_flag"
40814 || test ! -s conftest.err'
40815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40816 (eval $ac_try) 2>&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); }; } &&
40820 { ac_try
='test -s conftest$ac_exeext'
40821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40822 (eval $ac_try) 2>&5
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; }; then
40826 ac_cv_header_sys_soundcard
=yes
40828 echo "$as_me: failed program was:" >&5
40829 sed 's/^/| /' conftest.
$ac_ext >&5
40833 LIBS
="$saveLibs -lossaudio"
40834 cat >conftest.
$ac_ext <<_ACEOF
40837 cat confdefs.h
>>conftest.
$ac_ext
40838 cat >>conftest.
$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40841 #include <sys/ioctl.h>
40842 #include <sys/soundcard.h>
40848 ioctl(0, SNDCTL_DSP_SPEED, 0);
40854 rm -f conftest.
$ac_objext conftest
$ac_exeext
40855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40856 (eval $ac_link) 2>conftest.er1
40858 grep -v '^ *+' conftest.er1
>conftest.err
40860 cat conftest.err
>&5
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); } &&
40863 { ac_try
='test -z "$ac_c_werror_flag"
40864 || test ! -s conftest.err'
40865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866 (eval $ac_try) 2>&5
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); }; } &&
40870 { ac_try
='test -s conftest$ac_exeext'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; }; then
40876 ac_cv_header_sys_soundcard
=yes
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.
$ac_ext >&5
40883 ac_cv_header_sys_soundcard
=no
40887 rm -f conftest.err conftest.
$ac_objext \
40888 conftest
$ac_exeext conftest.
$ac_ext
40892 rm -f conftest.err conftest.
$ac_objext \
40893 conftest
$ac_exeext conftest.
$ac_ext
40896 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40897 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40900 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40901 cat >>confdefs.h
<<\_ACEOF
40902 #define HAVE_SYS_SOUNDCARD_H 1
40909 if test "$wxUSE_SOUND" = "yes"; then
40910 if test "$USE_UNIX" = "1" ; then
40911 if test "$wxUSE_LIBSDL" != "no"; then
40913 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40914 if test "${with_sdl_prefix+set}" = set; then
40915 withval
="$with_sdl_prefix"
40916 sdl_prefix
="$withval"
40921 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40922 if test "${with_sdl_exec_prefix+set}" = set; then
40923 withval
="$with_sdl_exec_prefix"
40924 sdl_exec_prefix
="$withval"
40928 # Check whether --enable-sdltest or --disable-sdltest was given.
40929 if test "${enable_sdltest+set}" = set; then
40930 enableval
="$enable_sdltest"
40936 if test x
$sdl_exec_prefix != x
; then
40937 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40938 if test x
${SDL_CONFIG+set} != xset
; then
40939 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40942 if test x
$sdl_prefix != x
; then
40943 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40944 if test x
${SDL_CONFIG+set} != xset
; then
40945 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40949 if test "x$prefix" != xNONE
; then
40950 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40952 # Extract the first word of "sdl-config", so it can be a program name with args.
40953 set dummy sdl
-config; ac_word
=$2
40954 echo "$as_me:$LINENO: checking for $ac_word" >&5
40955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40956 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40957 echo $ECHO_N "(cached) $ECHO_C" >&6
40959 case $SDL_CONFIG in
40961 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40965 for as_dir
in $PATH
40968 test -z "$as_dir" && as_dir
=.
40969 for ac_exec_ext
in '' $ac_executable_extensions; do
40970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40971 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40978 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40982 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40984 if test -n "$SDL_CONFIG"; then
40985 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40986 echo "${ECHO_T}$SDL_CONFIG" >&6
40988 echo "$as_me:$LINENO: result: no" >&5
40989 echo "${ECHO_T}no" >&6
40992 min_sdl_version
=1.2.0
40993 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40994 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40996 if test "$SDL_CONFIG" = "no" ; then
40999 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
41000 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
41002 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
41003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41004 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
41005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41006 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
41007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41008 if test "x$enable_sdltest" = "xyes" ; then
41009 ac_save_CFLAGS
="$CFLAGS"
41010 ac_save_CXXFLAGS
="$CXXFLAGS"
41011 ac_save_LIBS
="$LIBS"
41012 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41013 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41014 LIBS
="$LIBS $SDL_LIBS"
41016 if test "$cross_compiling" = yes; then
41017 echo $ac_n "cross compiling; assumed OK... $ac_c"
41019 cat >conftest.
$ac_ext <<_ACEOF
41022 cat confdefs.h
>>conftest.
$ac_ext
41023 cat >>conftest.
$ac_ext <<_ACEOF
41024 /* end confdefs.h. */
41027 #include <stdlib.h>
41028 #include <string.h>
41032 my_strdup (char *str)
41038 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41039 strcpy (new_str, str);
41047 int main (int argc, char *argv[])
41049 int major, minor, micro;
41052 /* This hangs on some systems (?)
41053 system ("touch conf.sdltest");
41055 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41057 /* HP/UX 9 (%@#!) writes to sscanf strings */
41058 tmp_version = my_strdup("$min_sdl_version");
41059 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
41060 printf("%s, bad version string\n", "$min_sdl_version");
41064 if (($sdl_major_version > major) ||
41065 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41066 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41072 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41073 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41074 printf("*** best to upgrade to the required version.\n");
41075 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41076 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41077 printf("*** config.cache before re-running configure\n");
41084 rm -f conftest
$ac_exeext
41085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41086 (eval $ac_link) 2>&5
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
41090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41091 (eval $ac_try) 2>&5
41093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41094 (exit $ac_status); }; }; then
41097 echo "$as_me: program exited with status $ac_status" >&5
41098 echo "$as_me: failed program was:" >&5
41099 sed 's/^/| /' conftest.
$ac_ext >&5
41101 ( exit $ac_status )
41104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
41106 CFLAGS
="$ac_save_CFLAGS"
41107 CXXFLAGS
="$ac_save_CXXFLAGS"
41108 LIBS
="$ac_save_LIBS"
41111 if test "x$no_sdl" = x
; then
41112 echo "$as_me:$LINENO: result: yes" >&5
41113 echo "${ECHO_T}yes" >&6
41115 EXTRALIBS_SDL
="$SDL_LIBS"
41116 CFLAGS
="$SDL_CFLAGS $CFLAGS"
41117 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
41118 cat >>confdefs.h
<<\_ACEOF
41119 #define wxUSE_LIBSDL 1
41124 echo "$as_me:$LINENO: result: no" >&5
41125 echo "${ECHO_T}no" >&6
41126 if test "$SDL_CONFIG" = "no" ; then
41127 echo "*** The sdl-config script installed by SDL could not be found"
41128 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41129 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41130 echo "*** full path to sdl-config."
41132 if test -f conf.sdltest
; then
41135 echo "*** Could not run SDL test program, checking why..."
41136 CFLAGS
="$CFLAGS $SDL_CFLAGS"
41137 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
41138 LIBS
="$LIBS $SDL_LIBS"
41139 cat >conftest.
$ac_ext <<_ACEOF
41142 cat confdefs.h
>>conftest.
$ac_ext
41143 cat >>conftest.
$ac_ext <<_ACEOF
41144 /* end confdefs.h. */
41149 int main(int argc, char *argv[])
41152 #define main K_and_R_C_main
41162 rm -f conftest.
$ac_objext conftest
$ac_exeext
41163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41164 (eval $ac_link) 2>conftest.er1
41166 grep -v '^ *+' conftest.er1
>conftest.err
41168 cat conftest.err
>&5
41169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41170 (exit $ac_status); } &&
41171 { ac_try
='test -z "$ac_c_werror_flag"
41172 || test ! -s conftest.err'
41173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41174 (eval $ac_try) 2>&5
41176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41177 (exit $ac_status); }; } &&
41178 { ac_try
='test -s conftest$ac_exeext'
41179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41180 (eval $ac_try) 2>&5
41182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41183 (exit $ac_status); }; }; then
41184 echo "*** The test program compiled, but did not run. This usually means"
41185 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41186 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41187 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41188 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41189 echo "*** is required on your system"
41191 echo "*** If you have an old version installed, it is best to remove it, although"
41192 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41194 echo "$as_me: failed program was:" >&5
41195 sed 's/^/| /' conftest.
$ac_ext >&5
41197 echo "*** The test program failed to compile or link. See the file config.log for the"
41198 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41199 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41200 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41202 rm -f conftest.err conftest.
$ac_objext \
41203 conftest
$ac_exeext conftest.
$ac_ext
41204 CFLAGS
="$ac_save_CFLAGS"
41205 CXXFLAGS
="$ac_save_CXXFLAGS"
41206 LIBS
="$ac_save_LIBS"
41217 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41222 if test "$wxUSE_MGL" = 1; then
41223 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41224 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41230 if test "$wxUSE_SOUND" = "yes"; then
41231 cat >>confdefs.h
<<\_ACEOF
41232 #define wxUSE_SOUND 1
41235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
41238 if test "$WXGTK20" = 1; then
41241 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41242 if test -n "$ac_tool_prefix"; then
41243 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41244 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
41245 echo "$as_me:$LINENO: checking for $ac_word" >&5
41246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41247 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41250 case $PKG_CONFIG in
41252 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41256 for as_dir
in $PATH
41259 test -z "$as_dir" && as_dir
=.
41260 for ac_exec_ext
in '' $ac_executable_extensions; do
41261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41262 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41272 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41274 if test -n "$PKG_CONFIG"; then
41275 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41276 echo "${ECHO_T}$PKG_CONFIG" >&6
41278 echo "$as_me:$LINENO: result: no" >&5
41279 echo "${ECHO_T}no" >&6
41283 if test -z "$ac_cv_path_PKG_CONFIG"; then
41284 ac_pt_PKG_CONFIG
=$PKG_CONFIG
41285 # Extract the first word of "pkg-config", so it can be a program name with args.
41286 set dummy pkg
-config; ac_word
=$2
41287 echo "$as_me:$LINENO: checking for $ac_word" >&5
41288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41289 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41290 echo $ECHO_N "(cached) $ECHO_C" >&6
41292 case $ac_pt_PKG_CONFIG in
41294 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41298 for as_dir
in $PATH
41301 test -z "$as_dir" && as_dir
=.
41302 for ac_exec_ext
in '' $ac_executable_extensions; do
41303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41304 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41314 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
41316 if test -n "$ac_pt_PKG_CONFIG"; then
41317 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41318 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
41320 echo "$as_me:$LINENO: result: no" >&5
41321 echo "${ECHO_T}no" >&6
41324 PKG_CONFIG
=$ac_pt_PKG_CONFIG
41326 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
41330 if test -n "$PKG_CONFIG"; then
41331 _pkg_min_version
=0.9.0
41332 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41333 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
41334 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41335 echo "$as_me:$LINENO: result: yes" >&5
41336 echo "${ECHO_T}yes" >&6
41338 echo "$as_me:$LINENO: result: no" >&5
41339 echo "${ECHO_T}no" >&6
41345 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41346 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41350 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41351 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41353 if test -n "$PKG_CONFIG"; then
41354 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41355 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
41357 if test -n "$PKG_CONFIG" && \
41358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41359 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); }; then
41363 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41371 if test -n "$PKG_CONFIG"; then
41372 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41373 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
41375 if test -n "$PKG_CONFIG" && \
41376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41377 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); }; then
41381 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41392 if test $pkg_failed = yes; then
41394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41395 _pkg_short_errors_supported
=yes
41397 _pkg_short_errors_supported
=no
41399 if test $_pkg_short_errors_supported = yes; then
41400 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41402 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41404 # Put the nasty error message in config.log where it belongs
41405 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41408 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41409 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41410 wxUSE_LIBGNOMEPRINT
="no"
41413 elif test $pkg_failed = untried
; then
41415 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41416 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41417 wxUSE_LIBGNOMEPRINT
="no"
41421 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41422 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41423 echo "$as_me:$LINENO: result: yes" >&5
41424 echo "${ECHO_T}yes" >&6
41426 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41427 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41428 cat >>confdefs.h
<<\_ACEOF
41429 #define wxUSE_LIBGNOMEPRINT 1
41437 if test "$wxUSE_MIMETYPE" = "yes" ; then
41438 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41442 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41443 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41445 if test -n "$PKG_CONFIG"; then
41446 if test -n "$GNOMEVFS_CFLAGS"; then
41447 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
41449 if test -n "$PKG_CONFIG" && \
41450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41451 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); }; then
41455 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41463 if test -n "$PKG_CONFIG"; then
41464 if test -n "$GNOMEVFS_LIBS"; then
41465 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
41467 if test -n "$PKG_CONFIG" && \
41468 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41469 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472 (exit $ac_status); }; then
41473 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41484 if test $pkg_failed = yes; then
41486 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41487 _pkg_short_errors_supported
=yes
41489 _pkg_short_errors_supported
=no
41491 if test $_pkg_short_errors_supported = yes; then
41492 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41494 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41496 # Put the nasty error message in config.log where it belongs
41497 echo "$GNOMEVFS_PKG_ERRORS" >&5
41500 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41501 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41502 wxUSE_LIBGNOMEVFS
="no"
41505 elif test $pkg_failed = untried
; then
41507 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41508 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41509 wxUSE_LIBGNOMEVFS
="no"
41513 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
41514 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
41515 echo "$as_me:$LINENO: result: yes" >&5
41516 echo "${ECHO_T}yes" >&6
41518 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
41519 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
41520 cat >>confdefs.h
<<\_ACEOF
41521 #define wxUSE_LIBGNOMEVFS 1
41529 if test "$wxUSE_LIBHILDON" = "yes" ; then
41532 echo "$as_me:$LINENO: checking for HILDON" >&5
41533 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41535 if test -n "$PKG_CONFIG"; then
41536 if test -n "$HILDON_CFLAGS"; then
41537 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
41539 if test -n "$PKG_CONFIG" && \
41540 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41541 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41544 (exit $ac_status); }; then
41545 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41553 if test -n "$PKG_CONFIG"; then
41554 if test -n "$HILDON_LIBS"; then
41555 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
41557 if test -n "$PKG_CONFIG" && \
41558 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41559 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); }; then
41563 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41574 if test $pkg_failed = yes; then
41576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41577 _pkg_short_errors_supported
=yes
41579 _pkg_short_errors_supported
=no
41581 if test $_pkg_short_errors_supported = yes; then
41582 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41584 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41586 # Put the nasty error message in config.log where it belongs
41587 echo "$HILDON_PKG_ERRORS" >&5
41590 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41591 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41592 wxUSE_LIBHILDON
="no"
41595 elif test $pkg_failed = untried
; then
41597 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41598 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41599 wxUSE_LIBHILDON
="no"
41603 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
41604 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
41605 echo "$as_me:$LINENO: result: yes" >&5
41606 echo "${ECHO_T}yes" >&6
41608 EXTRALIBS_HILDON
="$HILDON_LIBS"
41609 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
41610 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41611 cat >>confdefs.h
<<\_ACEOF
41612 #define wxUSE_LIBHILDON 1
41620 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41621 cat >>confdefs.h
<<\_ACEOF
41622 #define wxUSE_CMDLINE_PARSER 1
41627 if test "$wxUSE_STOPWATCH" = "yes"; then
41628 cat >>confdefs.h
<<\_ACEOF
41629 #define wxUSE_STOPWATCH 1
41634 if test "$wxUSE_DATETIME" = "yes"; then
41635 cat >>confdefs.h
<<\_ACEOF
41636 #define wxUSE_DATETIME 1
41641 if test "$wxUSE_FILE" = "yes"; then
41642 cat >>confdefs.h
<<\_ACEOF
41643 #define wxUSE_FILE 1
41648 if test "$wxUSE_FFILE" = "yes"; then
41649 cat >>confdefs.h
<<\_ACEOF
41650 #define wxUSE_FFILE 1
41655 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41656 if test "$wxUSE_STREAMS" != yes; then
41657 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41658 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41659 wxUSE_ARCHIVE_STREAMS
=no
41661 cat >>confdefs.h
<<\_ACEOF
41662 #define wxUSE_ARCHIVE_STREAMS 1
41668 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41669 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41670 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41671 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41672 elif test "$wxUSE_ZLIB" = "no"; then
41673 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41674 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41676 cat >>confdefs.h
<<\_ACEOF
41677 #define wxUSE_ZIPSTREAM 1
41683 if test "$wxUSE_TARSTREAM" = "yes"; then
41684 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41685 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41686 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41688 cat >>confdefs.h
<<\_ACEOF
41689 #define wxUSE_TARSTREAM 1
41695 if test "$wxUSE_FILESYSTEM" = "yes"; then
41696 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
41697 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41698 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41699 wxUSE_FILESYSTEM
=no
41701 cat >>confdefs.h
<<\_ACEOF
41702 #define wxUSE_FILESYSTEM 1
41708 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41709 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41710 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41711 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41713 cat >>confdefs.h
<<\_ACEOF
41714 #define wxUSE_FS_ARCHIVE 1
41720 if test "$wxUSE_FS_ZIP" = "yes"; then
41721 if test "$wxUSE_FS_ARCHIVE" != yes; then
41722 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41723 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41725 cat >>confdefs.h
<<\_ACEOF
41726 #define wxUSE_FS_ZIP 1
41732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41733 if test "$USE_UNIX" != 1; then
41734 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41735 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41736 wxUSE_ON_FATAL_EXCEPTION
=no
41738 cat >>confdefs.h
<<\_ACEOF
41739 #define wxUSE_ON_FATAL_EXCEPTION 1
41745 if test "$wxUSE_STACKWALKER" = "yes"; then
41746 cat >>confdefs.h
<<\_ACEOF
41747 #define wxUSE_STACKWALKER 1
41752 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41753 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41754 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41755 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41756 wxUSE_DEBUGREPORT
=no
41758 cat >>confdefs.h
<<\_ACEOF
41759 #define wxUSE_DEBUGREPORT 1
41762 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41768 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41769 cat >>confdefs.h
<<\_ACEOF
41770 #define wxUSE_SNGLINST_CHECKER 1
41775 if test "$wxUSE_BUSYINFO" = "yes"; then
41776 cat >>confdefs.h
<<\_ACEOF
41777 #define wxUSE_BUSYINFO 1
41782 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41783 cat >>confdefs.h
<<\_ACEOF
41784 #define wxUSE_STD_IOSTREAM 1
41789 if test "$wxUSE_STD_STRING" = "yes"; then
41790 cat >>confdefs.h
<<\_ACEOF
41791 #define wxUSE_STD_STRING 1
41796 if test "$wxUSE_STDPATHS" = "yes"; then
41797 cat >>confdefs.h
<<\_ACEOF
41798 #define wxUSE_STDPATHS 1
41803 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41804 cat >>confdefs.h
<<\_ACEOF
41805 #define wxUSE_TEXTBUFFER 1
41810 if test "$wxUSE_TEXTFILE" = "yes"; then
41811 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41812 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41813 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41815 cat >>confdefs.h
<<\_ACEOF
41816 #define wxUSE_TEXTFILE 1
41822 if test "$wxUSE_CONFIG" = "yes" ; then
41823 if test "$wxUSE_TEXTFILE" != "yes"; then
41824 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41825 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41827 cat >>confdefs.h
<<\_ACEOF
41828 #define wxUSE_CONFIG 1
41831 cat >>confdefs.h
<<\_ACEOF
41832 #define wxUSE_CONFIG_NATIVE 1
41835 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41839 if test "$wxUSE_INTL" = "yes" ; then
41840 if test "$wxUSE_FILE" != "yes"; then
41841 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41842 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41844 cat >>confdefs.h
<<\_ACEOF
41845 #define wxUSE_INTL 1
41848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41849 GUIDIST
="$GUIDIST INTL_DIST"
41853 if test "$wxUSE_LOG" = "yes"; then
41854 cat >>confdefs.h
<<\_ACEOF
41855 #define wxUSE_LOG 1
41859 if test "$wxUSE_LOGGUI" = "yes"; then
41860 cat >>confdefs.h
<<\_ACEOF
41861 #define wxUSE_LOGGUI 1
41866 if test "$wxUSE_LOGWINDOW" = "yes"; then
41867 cat >>confdefs.h
<<\_ACEOF
41868 #define wxUSE_LOGWINDOW 1
41873 if test "$wxUSE_LOGDIALOG" = "yes"; then
41874 cat >>confdefs.h
<<\_ACEOF
41875 #define wxUSE_LOG_DIALOG 1
41880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41883 if test "$wxUSE_LONGLONG" = "yes"; then
41884 cat >>confdefs.h
<<\_ACEOF
41885 #define wxUSE_LONGLONG 1
41890 if test "$wxUSE_GEOMETRY" = "yes"; then
41891 cat >>confdefs.h
<<\_ACEOF
41892 #define wxUSE_GEOMETRY 1
41897 if test "$wxUSE_STREAMS" = "yes" ; then
41898 cat >>confdefs.h
<<\_ACEOF
41899 #define wxUSE_STREAMS 1
41904 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41905 cat >>confdefs.h
<<\_ACEOF
41906 #define wxUSE_PRINTF_POS_PARAMS 1
41913 if test "$wxUSE_DATETIME" = "yes"; then
41915 for ac_func
in strptime
41917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41918 echo "$as_me:$LINENO: checking for $ac_func" >&5
41919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41920 if eval "test \"\${$as_ac_var+set}\" = set"; then
41921 echo $ECHO_N "(cached) $ECHO_C" >&6
41923 cat >conftest.
$ac_ext <<_ACEOF
41926 cat confdefs.h
>>conftest.
$ac_ext
41927 cat >>conftest.
$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41931 #define $ac_func innocuous_$ac_func
41933 /* System header to define __stub macros and hopefully few prototypes,
41934 which can conflict with char $ac_func (); below.
41935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41936 <limits.h> exists even on freestanding compilers. */
41939 # include <limits.h>
41941 # include <assert.h>
41946 /* Override any gcc2 internal prototype to avoid an error. */
41951 /* We use char because int might match the return type of a gcc2
41952 builtin and then its argument prototype would still apply. */
41954 /* The GNU C library defines this for functions which it implements
41955 to always fail with ENOSYS. Some functions are actually named
41956 something starting with __ and the normal name is an alias. */
41957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41960 char (*f) () = $ac_func;
41969 return f != $ac_func;
41974 rm -f conftest.
$ac_objext conftest
$ac_exeext
41975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41976 (eval $ac_link) 2>conftest.er1
41978 grep -v '^ *+' conftest.er1
>conftest.err
41980 cat conftest.err
>&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); } &&
41983 { ac_try
='test -z "$ac_c_werror_flag"
41984 || test ! -s conftest.err'
41985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41986 (eval $ac_try) 2>&5
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); }; } &&
41990 { ac_try
='test -s conftest$ac_exeext'
41991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41992 (eval $ac_try) 2>&5
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); }; }; then
41996 eval "$as_ac_var=yes"
41998 echo "$as_me: failed program was:" >&5
41999 sed 's/^/| /' conftest.
$ac_ext >&5
42001 eval "$as_ac_var=no"
42003 rm -f conftest.err conftest.
$ac_objext \
42004 conftest
$ac_exeext conftest.
$ac_ext
42006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42008 if test `eval echo '${'$as_ac_var'}'` = yes; then
42009 cat >>confdefs.h
<<_ACEOF
42010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42016 if test "$ac_cv_func_strptime" = "yes"; then
42017 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42018 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42019 if test "${wx_cv_func_strptime_decl+set}" = set; then
42020 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 ac_cpp
='$CXXCPP $CPPFLAGS'
42025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42029 cat >conftest.
$ac_ext <<_ACEOF
42032 cat confdefs.h
>>conftest.
$ac_ext
42033 cat >>conftest.
$ac_ext <<_ACEOF
42034 /* end confdefs.h. */
42043 strptime("foo", "bar", &t);
42049 rm -f conftest.
$ac_objext
42050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42051 (eval $ac_compile) 2>conftest.er1
42053 grep -v '^ *+' conftest.er1
>conftest.err
42055 cat conftest.err
>&5
42056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42057 (exit $ac_status); } &&
42058 { ac_try
='test -z "$ac_cxx_werror_flag"
42059 || test ! -s conftest.err'
42060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42061 (eval $ac_try) 2>&5
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); }; } &&
42065 { ac_try
='test -s conftest.$ac_objext'
42066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42067 (eval $ac_try) 2>&5
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; }; then
42071 wx_cv_func_strptime_decl
=yes
42073 echo "$as_me: failed program was:" >&5
42074 sed 's/^/| /' conftest.
$ac_ext >&5
42076 wx_cv_func_strptime_decl
=no
42079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42081 ac_cpp
='$CPP $CPPFLAGS'
42082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42089 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42090 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42092 if test "$wx_cv_func_strptime_decl" = "yes"; then
42093 cat >>confdefs.h
<<\_ACEOF
42094 #define HAVE_STRPTIME_DECL 1
42099 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42100 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42101 if test "${wx_cv_var_timezone+set}" = set; then
42102 echo $ECHO_N "(cached) $ECHO_C" >&6
42106 ac_cpp
='$CXXCPP $CPPFLAGS'
42107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42111 cat >conftest.
$ac_ext <<_ACEOF
42114 cat confdefs.h
>>conftest.
$ac_ext
42115 cat >>conftest.
$ac_ext <<_ACEOF
42116 /* end confdefs.h. */
42131 rm -f conftest.
$ac_objext
42132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42133 (eval $ac_compile) 2>conftest.er1
42135 grep -v '^ *+' conftest.er1
>conftest.err
42137 cat conftest.err
>&5
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); } &&
42140 { ac_try
='test -z "$ac_cxx_werror_flag"
42141 || test ! -s conftest.err'
42142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42143 (eval $ac_try) 2>&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); }; } &&
42147 { ac_try
='test -s conftest.$ac_objext'
42148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42149 (eval $ac_try) 2>&5
42151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42152 (exit $ac_status); }; }; then
42154 wx_cv_var_timezone
=timezone
42157 echo "$as_me: failed program was:" >&5
42158 sed 's/^/| /' conftest.
$ac_ext >&5
42161 cat >conftest.
$ac_ext <<_ACEOF
42164 cat confdefs.h
>>conftest.
$ac_ext
42165 cat >>conftest.
$ac_ext <<_ACEOF
42166 /* end confdefs.h. */
42181 rm -f conftest.
$ac_objext
42182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42183 (eval $ac_compile) 2>conftest.er1
42185 grep -v '^ *+' conftest.er1
>conftest.err
42187 cat conftest.err
>&5
42188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42189 (exit $ac_status); } &&
42190 { ac_try
='test -z "$ac_cxx_werror_flag"
42191 || test ! -s conftest.err'
42192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42193 (eval $ac_try) 2>&5
42195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42196 (exit $ac_status); }; } &&
42197 { ac_try
='test -s conftest.$ac_objext'
42198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42199 (eval $ac_try) 2>&5
42201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42202 (exit $ac_status); }; }; then
42204 wx_cv_var_timezone
=_timezone
42207 echo "$as_me: failed program was:" >&5
42208 sed 's/^/| /' conftest.
$ac_ext >&5
42211 cat >conftest.
$ac_ext <<_ACEOF
42214 cat confdefs.h
>>conftest.
$ac_ext
42215 cat >>conftest.
$ac_ext <<_ACEOF
42216 /* end confdefs.h. */
42231 rm -f conftest.
$ac_objext
42232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42233 (eval $ac_compile) 2>conftest.er1
42235 grep -v '^ *+' conftest.er1
>conftest.err
42237 cat conftest.err
>&5
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); } &&
42240 { ac_try
='test -z "$ac_cxx_werror_flag"
42241 || test ! -s conftest.err'
42242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42243 (eval $ac_try) 2>&5
42245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246 (exit $ac_status); }; } &&
42247 { ac_try
='test -s conftest.$ac_objext'
42248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42249 (eval $ac_try) 2>&5
42251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42252 (exit $ac_status); }; }; then
42254 wx_cv_var_timezone
=__timezone
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.
$ac_ext >&5
42261 if test "$USE_DOS" = 0 ; then
42262 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42263 echo "$as_me: WARNING: no timezone variable" >&2;}
42268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42278 ac_cpp
='$CPP $CPPFLAGS'
42279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42286 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42287 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42289 if test "x$wx_cv_var_timezone" != x
; then
42290 cat >>confdefs.h
<<_ACEOF
42291 #define WX_TIMEZONE $wx_cv_var_timezone
42297 for ac_func
in localtime
42299 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42300 echo "$as_me:$LINENO: checking for $ac_func" >&5
42301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42302 if eval "test \"\${$as_ac_var+set}\" = set"; then
42303 echo $ECHO_N "(cached) $ECHO_C" >&6
42305 cat >conftest.
$ac_ext <<_ACEOF
42308 cat confdefs.h
>>conftest.
$ac_ext
42309 cat >>conftest.
$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42313 #define $ac_func innocuous_$ac_func
42315 /* System header to define __stub macros and hopefully few prototypes,
42316 which can conflict with char $ac_func (); below.
42317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42318 <limits.h> exists even on freestanding compilers. */
42321 # include <limits.h>
42323 # include <assert.h>
42328 /* Override any gcc2 internal prototype to avoid an error. */
42333 /* We use char because int might match the return type of a gcc2
42334 builtin and then its argument prototype would still apply. */
42336 /* The GNU C library defines this for functions which it implements
42337 to always fail with ENOSYS. Some functions are actually named
42338 something starting with __ and the normal name is an alias. */
42339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42342 char (*f) () = $ac_func;
42351 return f != $ac_func;
42356 rm -f conftest.
$ac_objext conftest
$ac_exeext
42357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42358 (eval $ac_link) 2>conftest.er1
42360 grep -v '^ *+' conftest.er1
>conftest.err
42362 cat conftest.err
>&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } &&
42365 { ac_try
='test -z "$ac_c_werror_flag"
42366 || test ! -s conftest.err'
42367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42368 (eval $ac_try) 2>&5
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); }; } &&
42372 { ac_try
='test -s conftest$ac_exeext'
42373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42374 (eval $ac_try) 2>&5
42376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42377 (exit $ac_status); }; }; then
42378 eval "$as_ac_var=yes"
42380 echo "$as_me: failed program was:" >&5
42381 sed 's/^/| /' conftest.
$ac_ext >&5
42383 eval "$as_ac_var=no"
42385 rm -f conftest.err conftest.
$ac_objext \
42386 conftest
$ac_exeext conftest.
$ac_ext
42388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42390 if test `eval echo '${'$as_ac_var'}'` = yes; then
42391 cat >>confdefs.h
<<_ACEOF
42392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42399 if test "$ac_cv_func_localtime" = "yes"; then
42400 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42401 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42402 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42406 cat >conftest.
$ac_ext <<_ACEOF
42409 cat confdefs.h
>>conftest.
$ac_ext
42410 cat >>conftest.
$ac_ext <<_ACEOF
42411 /* end confdefs.h. */
42426 rm -f conftest.
$ac_objext
42427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42428 (eval $ac_compile) 2>conftest.er1
42430 grep -v '^ *+' conftest.er1
>conftest.err
42432 cat conftest.err
>&5
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); } &&
42435 { ac_try
='test -z "$ac_c_werror_flag"
42436 || test ! -s conftest.err'
42437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438 (eval $ac_try) 2>&5
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); }; } &&
42442 { ac_try
='test -s conftest.$ac_objext'
42443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42444 (eval $ac_try) 2>&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); }; }; then
42449 wx_cv_struct_tm_has_gmtoff
=yes
42452 echo "$as_me: failed program was:" >&5
42453 sed 's/^/| /' conftest.
$ac_ext >&5
42455 wx_cv_struct_tm_has_gmtoff
=no
42458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42461 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42462 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42465 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42466 cat >>confdefs.h
<<\_ACEOF
42467 #define WX_GMTOFF_IN_TM 1
42474 for ac_func
in gettimeofday ftime
42476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42477 echo "$as_me:$LINENO: checking for $ac_func" >&5
42478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42479 if eval "test \"\${$as_ac_var+set}\" = set"; then
42480 echo $ECHO_N "(cached) $ECHO_C" >&6
42482 cat >conftest.
$ac_ext <<_ACEOF
42485 cat confdefs.h
>>conftest.
$ac_ext
42486 cat >>conftest.
$ac_ext <<_ACEOF
42487 /* end confdefs.h. */
42488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42490 #define $ac_func innocuous_$ac_func
42492 /* System header to define __stub macros and hopefully few prototypes,
42493 which can conflict with char $ac_func (); below.
42494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42495 <limits.h> exists even on freestanding compilers. */
42498 # include <limits.h>
42500 # include <assert.h>
42505 /* Override any gcc2 internal prototype to avoid an error. */
42510 /* We use char because int might match the return type of a gcc2
42511 builtin and then its argument prototype would still apply. */
42513 /* The GNU C library defines this for functions which it implements
42514 to always fail with ENOSYS. Some functions are actually named
42515 something starting with __ and the normal name is an alias. */
42516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42519 char (*f) () = $ac_func;
42528 return f != $ac_func;
42533 rm -f conftest.
$ac_objext conftest
$ac_exeext
42534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42535 (eval $ac_link) 2>conftest.er1
42537 grep -v '^ *+' conftest.er1
>conftest.err
42539 cat conftest.err
>&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } &&
42542 { ac_try
='test -z "$ac_c_werror_flag"
42543 || test ! -s conftest.err'
42544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42545 (eval $ac_try) 2>&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); }; } &&
42549 { ac_try
='test -s conftest$ac_exeext'
42550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42551 (eval $ac_try) 2>&5
42553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42554 (exit $ac_status); }; }; then
42555 eval "$as_ac_var=yes"
42557 echo "$as_me: failed program was:" >&5
42558 sed 's/^/| /' conftest.
$ac_ext >&5
42560 eval "$as_ac_var=no"
42562 rm -f conftest.err conftest.
$ac_objext \
42563 conftest
$ac_exeext conftest.
$ac_ext
42565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42567 if test `eval echo '${'$as_ac_var'}'` = yes; then
42568 cat >>confdefs.h
<<_ACEOF
42569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42576 if test "$ac_cv_func_gettimeofday" = "yes"; then
42577 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42578 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42579 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42580 echo $ECHO_N "(cached) $ECHO_C" >&6
42583 cat >conftest.
$ac_ext <<_ACEOF
42586 cat confdefs.h
>>conftest.
$ac_ext
42587 cat >>conftest.
$ac_ext <<_ACEOF
42588 /* end confdefs.h. */
42590 #include <sys/time.h>
42591 #include <unistd.h>
42598 gettimeofday(&tv, NULL);
42604 rm -f conftest.
$ac_objext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42606 (eval $ac_compile) 2>conftest.er1
42608 grep -v '^ *+' conftest.er1
>conftest.err
42610 cat conftest.err
>&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } &&
42613 { ac_try
='test -z "$ac_c_werror_flag"
42614 || test ! -s conftest.err'
42615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42616 (eval $ac_try) 2>&5
42618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42619 (exit $ac_status); }; } &&
42620 { ac_try
='test -s conftest.$ac_objext'
42621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42622 (eval $ac_try) 2>&5
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; }; then
42626 wx_cv_func_gettimeofday_has_2_args
=yes
42628 echo "$as_me: failed program was:" >&5
42629 sed 's/^/| /' conftest.
$ac_ext >&5
42631 cat >conftest.
$ac_ext <<_ACEOF
42634 cat confdefs.h
>>conftest.
$ac_ext
42635 cat >>conftest.
$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42638 #include <sys/time.h>
42639 #include <unistd.h>
42652 rm -f conftest.
$ac_objext
42653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42654 (eval $ac_compile) 2>conftest.er1
42656 grep -v '^ *+' conftest.er1
>conftest.err
42658 cat conftest.err
>&5
42659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660 (exit $ac_status); } &&
42661 { ac_try
='test -z "$ac_c_werror_flag"
42662 || test ! -s conftest.err'
42663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42664 (eval $ac_try) 2>&5
42666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42667 (exit $ac_status); }; } &&
42668 { ac_try
='test -s conftest.$ac_objext'
42669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42670 (eval $ac_try) 2>&5
42672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42673 (exit $ac_status); }; }; then
42674 wx_cv_func_gettimeofday_has_2_args
=no
42676 echo "$as_me: failed program was:" >&5
42677 sed 's/^/| /' conftest.
$ac_ext >&5
42680 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42681 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42682 wx_cv_func_gettimeofday_has_2_args
=unknown
42686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42692 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42693 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42695 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42696 cat >>confdefs.h
<<\_ACEOF
42697 #define WX_GETTIMEOFDAY_NO_TZ 1
42703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42707 if test "$wxUSE_SOCKETS" = "yes"; then
42708 if test "$wxUSE_MGL" = "1"; then
42709 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42710 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42715 if test "$wxUSE_SOCKETS" = "yes"; then
42716 if test "$TOOLKIT" != "MSW"; then
42717 echo "$as_me:$LINENO: checking for socket" >&5
42718 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42719 if test "${ac_cv_func_socket+set}" = set; then
42720 echo $ECHO_N "(cached) $ECHO_C" >&6
42722 cat >conftest.
$ac_ext <<_ACEOF
42725 cat confdefs.h
>>conftest.
$ac_ext
42726 cat >>conftest.
$ac_ext <<_ACEOF
42727 /* end confdefs.h. */
42728 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42730 #define socket innocuous_socket
42732 /* System header to define __stub macros and hopefully few prototypes,
42733 which can conflict with char socket (); below.
42734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42735 <limits.h> exists even on freestanding compilers. */
42738 # include <limits.h>
42740 # include <assert.h>
42745 /* Override any gcc2 internal prototype to avoid an error. */
42750 /* We use char because int might match the return type of a gcc2
42751 builtin and then its argument prototype would still apply. */
42753 /* The GNU C library defines this for functions which it implements
42754 to always fail with ENOSYS. Some functions are actually named
42755 something starting with __ and the normal name is an alias. */
42756 #if defined (__stub_socket) || defined (__stub___socket)
42759 char (*f) () = socket;
42768 return f != socket;
42773 rm -f conftest.
$ac_objext conftest
$ac_exeext
42774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42775 (eval $ac_link) 2>conftest.er1
42777 grep -v '^ *+' conftest.er1
>conftest.err
42779 cat conftest.err
>&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); } &&
42782 { ac_try
='test -z "$ac_c_werror_flag"
42783 || test ! -s conftest.err'
42784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42785 (eval $ac_try) 2>&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try
='test -s conftest$ac_exeext'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; }; then
42795 ac_cv_func_socket
=yes
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.
$ac_ext >&5
42800 ac_cv_func_socket
=no
42802 rm -f conftest.err conftest.
$ac_objext \
42803 conftest
$ac_exeext conftest.
$ac_ext
42805 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42806 echo "${ECHO_T}$ac_cv_func_socket" >&6
42807 if test $ac_cv_func_socket = yes; then
42811 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42812 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42813 if test "${ac_cv_lib_socket_socket+set}" = set; then
42814 echo $ECHO_N "(cached) $ECHO_C" >&6
42816 ac_check_lib_save_LIBS
=$LIBS
42817 LIBS
="-lsocket $LIBS"
42818 cat >conftest.
$ac_ext <<_ACEOF
42821 cat confdefs.h
>>conftest.
$ac_ext
42822 cat >>conftest.
$ac_ext <<_ACEOF
42823 /* end confdefs.h. */
42825 /* Override any gcc2 internal prototype to avoid an error. */
42829 /* We use char because int might match the return type of a gcc2
42830 builtin and then its argument prototype would still apply. */
42840 rm -f conftest.
$ac_objext conftest
$ac_exeext
42841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42842 (eval $ac_link) 2>conftest.er1
42844 grep -v '^ *+' conftest.er1
>conftest.err
42846 cat conftest.err
>&5
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); } &&
42849 { ac_try
='test -z "$ac_c_werror_flag"
42850 || test ! -s conftest.err'
42851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42852 (eval $ac_try) 2>&5
42854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42855 (exit $ac_status); }; } &&
42856 { ac_try
='test -s conftest$ac_exeext'
42857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42858 (eval $ac_try) 2>&5
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); }; }; then
42862 ac_cv_lib_socket_socket
=yes
42864 echo "$as_me: failed program was:" >&5
42865 sed 's/^/| /' conftest.
$ac_ext >&5
42867 ac_cv_lib_socket_socket
=no
42869 rm -f conftest.err conftest.
$ac_objext \
42870 conftest
$ac_exeext conftest.
$ac_ext
42871 LIBS
=$ac_check_lib_save_LIBS
42873 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42874 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42875 if test $ac_cv_lib_socket_socket = yes; then
42876 if test "$INET_LINK" != " -lsocket"; then
42877 INET_LINK
="$INET_LINK -lsocket"
42881 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42882 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42895 if test "$wxUSE_SOCKETS" = "yes" ; then
42896 if test "$TOOLKIT" != "MSW"; then
42897 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42898 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42899 if test "${wx_cv_type_getsockname3+set}" = set; then
42900 echo $ECHO_N "(cached) $ECHO_C" >&6
42904 ac_cpp
='$CXXCPP $CPPFLAGS'
42905 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42909 cat >conftest.
$ac_ext <<_ACEOF
42912 cat confdefs.h
>>conftest.
$ac_ext
42913 cat >>conftest.
$ac_ext <<_ACEOF
42914 /* end confdefs.h. */
42916 #include <sys/types.h>
42917 #include <sys/socket.h>
42924 getsockname(0, 0, &len);
42930 rm -f conftest.
$ac_objext
42931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42932 (eval $ac_compile) 2>conftest.er1
42934 grep -v '^ *+' conftest.er1
>conftest.err
42936 cat conftest.err
>&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } &&
42939 { ac_try
='test -z "$ac_cxx_werror_flag"
42940 || test ! -s conftest.err'
42941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42942 (eval $ac_try) 2>&5
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); }; } &&
42946 { ac_try
='test -s conftest.$ac_objext'
42947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948 (eval $ac_try) 2>&5
42950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951 (exit $ac_status); }; }; then
42952 wx_cv_type_getsockname3
=socklen_t
42954 echo "$as_me: failed program was:" >&5
42955 sed 's/^/| /' conftest.
$ac_ext >&5
42958 CFLAGS_OLD
="$CFLAGS"
42959 if test "$GCC" = yes ; then
42960 CFLAGS
="-Werror $CFLAGS"
42963 cat >conftest.
$ac_ext <<_ACEOF
42966 cat confdefs.h
>>conftest.
$ac_ext
42967 cat >>conftest.
$ac_ext <<_ACEOF
42968 /* end confdefs.h. */
42970 #include <sys/types.h>
42971 #include <sys/socket.h>
42978 getsockname(0, 0, &len);
42984 rm -f conftest.
$ac_objext
42985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42986 (eval $ac_compile) 2>conftest.er1
42988 grep -v '^ *+' conftest.er1
>conftest.err
42990 cat conftest.err
>&5
42991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42992 (exit $ac_status); } &&
42993 { ac_try
='test -z "$ac_cxx_werror_flag"
42994 || test ! -s conftest.err'
42995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42996 (eval $ac_try) 2>&5
42998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42999 (exit $ac_status); }; } &&
43000 { ac_try
='test -s conftest.$ac_objext'
43001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43002 (eval $ac_try) 2>&5
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); }; }; then
43006 wx_cv_type_getsockname3
=size_t
43008 echo "$as_me: failed program was:" >&5
43009 sed 's/^/| /' conftest.
$ac_ext >&5
43011 cat >conftest.
$ac_ext <<_ACEOF
43014 cat confdefs.h
>>conftest.
$ac_ext
43015 cat >>conftest.
$ac_ext <<_ACEOF
43016 /* end confdefs.h. */
43018 #include <sys/types.h>
43019 #include <sys/socket.h>
43026 getsockname(0, 0, &len);
43032 rm -f conftest.
$ac_objext
43033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43034 (eval $ac_compile) 2>conftest.er1
43036 grep -v '^ *+' conftest.er1
>conftest.err
43038 cat conftest.err
>&5
43039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43040 (exit $ac_status); } &&
43041 { ac_try
='test -z "$ac_cxx_werror_flag"
43042 || test ! -s conftest.err'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; } &&
43048 { ac_try
='test -s conftest.$ac_objext'
43049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43050 (eval $ac_try) 2>&5
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); }; }; then
43054 wx_cv_type_getsockname3
=int
43056 echo "$as_me: failed program was:" >&5
43057 sed 's/^/| /' conftest.
$ac_ext >&5
43059 wx_cv_type_getsockname3
=unknown
43062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43067 CFLAGS
="$CFLAGS_OLD"
43071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43073 ac_cpp
='$CPP $CPPFLAGS'
43074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43080 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43081 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43083 if test "$wx_cv_type_getsockname3" = "unknown"; then
43085 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43086 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43088 cat >>confdefs.h
<<_ACEOF
43089 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43093 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43094 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43095 if test "${wx_cv_type_getsockopt5+set}" = set; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43100 ac_cpp
='$CXXCPP $CPPFLAGS'
43101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43105 cat >conftest.
$ac_ext <<_ACEOF
43108 cat confdefs.h
>>conftest.
$ac_ext
43109 cat >>conftest.
$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43112 #include <sys/types.h>
43113 #include <sys/socket.h>
43120 getsockopt(0, 0, 0, 0, &len);
43126 rm -f conftest.
$ac_objext
43127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43128 (eval $ac_compile) 2>conftest.er1
43130 grep -v '^ *+' conftest.er1
>conftest.err
43132 cat conftest.err
>&5
43133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43134 (exit $ac_status); } &&
43135 { ac_try
='test -z "$ac_cxx_werror_flag"
43136 || test ! -s conftest.err'
43137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43138 (eval $ac_try) 2>&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); }; } &&
43142 { ac_try
='test -s conftest.$ac_objext'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; }; then
43148 wx_cv_type_getsockopt5
=socklen_t
43150 echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.
$ac_ext >&5
43154 cat >conftest.
$ac_ext <<_ACEOF
43157 cat confdefs.h
>>conftest.
$ac_ext
43158 cat >>conftest.
$ac_ext <<_ACEOF
43159 /* end confdefs.h. */
43161 #include <sys/types.h>
43162 #include <sys/socket.h>
43169 getsockopt(0, 0, 0, 0, &len);
43175 rm -f conftest.
$ac_objext
43176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43177 (eval $ac_compile) 2>conftest.er1
43179 grep -v '^ *+' conftest.er1
>conftest.err
43181 cat conftest.err
>&5
43182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43183 (exit $ac_status); } &&
43184 { ac_try
='test -z "$ac_cxx_werror_flag"
43185 || test ! -s conftest.err'
43186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43187 (eval $ac_try) 2>&5
43189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43190 (exit $ac_status); }; } &&
43191 { ac_try
='test -s conftest.$ac_objext'
43192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43193 (eval $ac_try) 2>&5
43195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43196 (exit $ac_status); }; }; then
43197 wx_cv_type_getsockopt5
=size_t
43199 echo "$as_me: failed program was:" >&5
43200 sed 's/^/| /' conftest.
$ac_ext >&5
43202 cat >conftest.
$ac_ext <<_ACEOF
43205 cat confdefs.h
>>conftest.
$ac_ext
43206 cat >>conftest.
$ac_ext <<_ACEOF
43207 /* end confdefs.h. */
43209 #include <sys/types.h>
43210 #include <sys/socket.h>
43217 getsockopt(0, 0, 0, 0, &len);
43223 rm -f conftest.
$ac_objext
43224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43225 (eval $ac_compile) 2>conftest.er1
43227 grep -v '^ *+' conftest.er1
>conftest.err
43229 cat conftest.err
>&5
43230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43231 (exit $ac_status); } &&
43232 { ac_try
='test -z "$ac_cxx_werror_flag"
43233 || test ! -s conftest.err'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; } &&
43239 { ac_try
='test -s conftest.$ac_objext'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; }; then
43245 wx_cv_type_getsockopt5
=int
43247 echo "$as_me: failed program was:" >&5
43248 sed 's/^/| /' conftest.
$ac_ext >&5
43250 wx_cv_type_getsockopt5
=unknown
43253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43262 ac_cpp
='$CPP $CPPFLAGS'
43263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43269 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43270 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43272 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43274 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43275 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43277 cat >>confdefs.h
<<_ACEOF
43278 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43285 if test "$wxUSE_SOCKETS" = "yes" ; then
43286 cat >>confdefs.h
<<\_ACEOF
43287 #define wxUSE_SOCKETS 1
43290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
43293 if test "$wxUSE_PROTOCOL" = "yes"; then
43294 if test "$wxUSE_SOCKETS" != "yes"; then
43295 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43296 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43301 if test "$wxUSE_PROTOCOL" = "yes"; then
43302 cat >>confdefs.h
<<\_ACEOF
43303 #define wxUSE_PROTOCOL 1
43307 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43308 cat >>confdefs.h
<<\_ACEOF
43309 #define wxUSE_PROTOCOL_HTTP 1
43313 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43314 cat >>confdefs.h
<<\_ACEOF
43315 #define wxUSE_PROTOCOL_FTP 1
43319 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43320 cat >>confdefs.h
<<\_ACEOF
43321 #define wxUSE_PROTOCOL_FILE 1
43326 if test "$wxUSE_FS_INET" = "yes"; then
43327 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43328 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43333 if test "$wxUSE_URL" = "yes"; then
43334 if test "$wxUSE_PROTOCOL" != "yes"; then
43335 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43336 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43339 if test "$wxUSE_URL" = "yes"; then
43340 cat >>confdefs.h
<<\_ACEOF
43341 #define wxUSE_URL 1
43347 if test "$wxUSE_VARIANT" = "yes"; then
43348 cat >>confdefs.h
<<\_ACEOF
43349 #define wxUSE_VARIANT 1
43354 if test "$wxUSE_FS_INET" = "yes"; then
43355 cat >>confdefs.h
<<\_ACEOF
43356 #define wxUSE_FS_INET 1
43362 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43365 if test "$TOOLKIT" = "MSW"; then
43368 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43369 if test "$USE_DARWIN" = 1; then
43370 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43371 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43373 ac_cpp
='$CXXCPP $CPPFLAGS'
43374 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43375 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43376 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43378 cat >conftest.
$ac_ext <<_ACEOF
43381 cat confdefs.h
>>conftest.
$ac_ext
43382 cat >>conftest.
$ac_ext <<_ACEOF
43383 /* end confdefs.h. */
43384 #include <IOKit/hid/IOHIDLib.h>
43388 IOHIDQueueInterface *qi = NULL;
43389 IOHIDCallbackFunction cb = NULL;
43390 qi->setEventCallout(NULL, cb, NULL, NULL);
43395 rm -f conftest.
$ac_objext
43396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43397 (eval $ac_compile) 2>conftest.er1
43399 grep -v '^ *+' conftest.er1
>conftest.err
43401 cat conftest.err
>&5
43402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403 (exit $ac_status); } &&
43404 { ac_try
='test -z "$ac_cxx_werror_flag"
43405 || test ! -s conftest.err'
43406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43407 (eval $ac_try) 2>&5
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); }; } &&
43411 { ac_try
='test -s conftest.$ac_objext'
43412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43413 (eval $ac_try) 2>&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); }; }; then
43420 echo "$as_me: failed program was:" >&5
43421 sed 's/^/| /' conftest.
$ac_ext >&5
43424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43426 ac_cpp
='$CPP $CPPFLAGS'
43427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43431 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43432 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43436 if test "$wxUSE_MGL" != "1"; then
43437 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43438 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
43439 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43442 cat >conftest.
$ac_ext <<_ACEOF
43445 cat confdefs.h
>>conftest.
$ac_ext
43446 cat >>conftest.
$ac_ext <<_ACEOF
43447 /* end confdefs.h. */
43448 $ac_includes_default
43450 #include <linux/joystick.h>
43452 rm -f conftest.
$ac_objext
43453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43454 (eval $ac_compile) 2>conftest.er1
43456 grep -v '^ *+' conftest.er1
>conftest.err
43458 cat conftest.err
>&5
43459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43460 (exit $ac_status); } &&
43461 { ac_try
='test -z "$ac_c_werror_flag"
43462 || test ! -s conftest.err'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; } &&
43468 { ac_try
='test -s conftest.$ac_objext'
43469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43470 (eval $ac_try) 2>&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); }; }; then
43474 ac_cv_header_linux_joystick_h
=yes
43476 echo "$as_me: failed program was:" >&5
43477 sed 's/^/| /' conftest.
$ac_ext >&5
43479 ac_cv_header_linux_joystick_h
=no
43481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43483 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43484 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
43485 if test $ac_cv_header_linux_joystick_h = yes; then
43493 if test "$wxUSE_JOYSTICK" = "yes"; then
43494 cat >>confdefs.h
<<\_ACEOF
43495 #define wxUSE_JOYSTICK 1
43498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43500 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43501 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43507 if test "$wxUSE_FONTMAP" = "yes" ; then
43508 cat >>confdefs.h
<<\_ACEOF
43509 #define wxUSE_FONTMAP 1
43514 if test "$wxUSE_UNICODE" = "yes" ; then
43515 cat >>confdefs.h
<<\_ACEOF
43516 #define wxUSE_UNICODE 1
43520 if test "$USE_WIN32" != 1; then
43521 wxUSE_UNICODE_MSLU
=no
43524 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43525 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43526 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43527 if test "${ac_cv_lib_unicows_main+set}" = set; then
43528 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 ac_check_lib_save_LIBS
=$LIBS
43531 LIBS
="-lunicows $LIBS"
43532 cat >conftest.
$ac_ext <<_ACEOF
43535 cat confdefs.h
>>conftest.
$ac_ext
43536 cat >>conftest.
$ac_ext <<_ACEOF
43537 /* end confdefs.h. */
43548 rm -f conftest.
$ac_objext conftest
$ac_exeext
43549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43550 (eval $ac_link) 2>conftest.er1
43552 grep -v '^ *+' conftest.er1
>conftest.err
43554 cat conftest.err
>&5
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); } &&
43557 { ac_try
='test -z "$ac_c_werror_flag"
43558 || test ! -s conftest.err'
43559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43560 (eval $ac_try) 2>&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); }; } &&
43564 { ac_try
='test -s conftest$ac_exeext'
43565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43566 (eval $ac_try) 2>&5
43568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43569 (exit $ac_status); }; }; then
43570 ac_cv_lib_unicows_main
=yes
43572 echo "$as_me: failed program was:" >&5
43573 sed 's/^/| /' conftest.
$ac_ext >&5
43575 ac_cv_lib_unicows_main
=no
43577 rm -f conftest.err conftest.
$ac_objext \
43578 conftest
$ac_exeext conftest.
$ac_ext
43579 LIBS
=$ac_check_lib_save_LIBS
43581 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43582 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43583 if test $ac_cv_lib_unicows_main = yes; then
43585 cat >>confdefs.h
<<\_ACEOF
43586 #define wxUSE_UNICODE_MSLU 1
43592 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43593 Applications will only run on Windows NT/2000/XP!" >&5
43594 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43595 Applications will only run on Windows NT/2000/XP!" >&2;}
43596 wxUSE_UNICODE_MSLU
=no
43603 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43604 cat >>confdefs.h
<<\_ACEOF
43605 #define wxUSE_UNICODE_UTF8 1
43609 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43610 cat >>confdefs.h
<<\_ACEOF
43611 #define wxUSE_UTF8_LOCALE_ONLY 1
43617 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43618 cat >>confdefs.h
<<\_ACEOF
43619 #define wxUSE_EXPERIMENTAL_PRINTF 1
43625 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43626 cat >>confdefs.h
<<\_ACEOF
43627 #define wxUSE_POSTSCRIPT 1
43632 cat >>confdefs.h
<<\_ACEOF
43633 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43637 cat >>confdefs.h
<<\_ACEOF
43638 #define wxUSE_NORMALIZED_PS_FONTS 1
43643 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43644 cat >>confdefs.h
<<\_ACEOF
43645 #define wxUSE_CONSTRAINTS 1
43648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43651 if test "$wxUSE_MDI" = "yes"; then
43652 cat >>confdefs.h
<<\_ACEOF
43653 #define wxUSE_MDI 1
43657 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43658 cat >>confdefs.h
<<\_ACEOF
43659 #define wxUSE_MDI_ARCHITECTURE 1
43662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43666 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43667 cat >>confdefs.h
<<\_ACEOF
43668 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43672 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43677 if test "$wxUSE_HELP" = "yes"; then
43678 cat >>confdefs.h
<<\_ACEOF
43679 #define wxUSE_HELP 1
43682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43684 if test "$wxUSE_MSW" = 1; then
43685 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43686 cat >>confdefs.h
<<\_ACEOF
43687 #define wxUSE_MS_HTML_HELP 1
43693 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43694 if test "$wxUSE_HTML" = "yes"; then
43695 cat >>confdefs.h
<<\_ACEOF
43696 #define wxUSE_WXHTML_HELP 1
43700 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43701 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43702 wxUSE_WXHTML_HELP
=no
43707 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43708 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43709 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43710 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43712 cat >>confdefs.h
<<\_ACEOF
43713 #define wxUSE_PRINTING_ARCHITECTURE 1
43717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43722 if test "$wxUSE_METAFILE" = "yes"; then
43723 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43724 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43725 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43731 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43732 -o "$wxUSE_CLIPBOARD" = "yes" \
43733 -o "$wxUSE_OLE" = "yes" \
43734 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43735 echo "$as_me:$LINENO: checking for ole2.h" >&5
43736 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
43737 if test "${ac_cv_header_ole2_h+set}" = set; then
43738 echo $ECHO_N "(cached) $ECHO_C" >&6
43740 cat >conftest.
$ac_ext <<_ACEOF
43743 cat confdefs.h
>>conftest.
$ac_ext
43744 cat >>conftest.
$ac_ext <<_ACEOF
43745 /* end confdefs.h. */
43750 rm -f conftest.
$ac_objext
43751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43752 (eval $ac_compile) 2>conftest.er1
43754 grep -v '^ *+' conftest.er1
>conftest.err
43756 cat conftest.err
>&5
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); } &&
43759 { ac_try
='test -z "$ac_c_werror_flag"
43760 || test ! -s conftest.err'
43761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43762 (eval $ac_try) 2>&5
43764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43765 (exit $ac_status); }; } &&
43766 { ac_try
='test -s conftest.$ac_objext'
43767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43768 (eval $ac_try) 2>&5
43770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43771 (exit $ac_status); }; }; then
43772 ac_cv_header_ole2_h
=yes
43774 echo "$as_me: failed program was:" >&5
43775 sed 's/^/| /' conftest.
$ac_ext >&5
43777 ac_cv_header_ole2_h
=no
43779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43781 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43782 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
43786 if test "$ac_cv_header_ole2_h" = "yes" ; then
43787 if test "$GCC" = yes ; then
43788 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43789 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43790 cat >conftest.
$ac_ext <<_ACEOF
43793 cat confdefs.h
>>conftest.
$ac_ext
43794 cat >>conftest.
$ac_ext <<_ACEOF
43795 /* end confdefs.h. */
43796 #include <windows.h>
43806 rm -f conftest.
$ac_objext
43807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43808 (eval $ac_compile) 2>conftest.er1
43810 grep -v '^ *+' conftest.er1
>conftest.err
43812 cat conftest.err
>&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } &&
43815 { ac_try
='test -z "$ac_c_werror_flag"
43816 || test ! -s conftest.err'
43817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43818 (eval $ac_try) 2>&5
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); }; } &&
43822 { ac_try
='test -s conftest.$ac_objext'
43823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43824 (eval $ac_try) 2>&5
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); }; }; then
43828 echo "$as_me:$LINENO: result: no" >&5
43829 echo "${ECHO_T}no" >&6
43831 echo "$as_me: failed program was:" >&5
43832 sed 's/^/| /' conftest.
$ac_ext >&5
43834 echo "$as_me:$LINENO: result: yes" >&5
43835 echo "${ECHO_T}yes" >&6
43836 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43839 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43840 if test "$wxUSE_OLE" = "yes" ; then
43841 cat >>confdefs.h
<<\_ACEOF
43842 #define wxUSE_OLE 1
43845 cat >>confdefs.h
<<\_ACEOF
43846 #define wxUSE_OLE_AUTOMATION 1
43849 cat >>confdefs.h
<<\_ACEOF
43850 #define wxUSE_ACTIVEX 1
43853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43857 if test "$wxUSE_DATAOBJ" = "yes" ; then
43858 cat >>confdefs.h
<<\_ACEOF
43859 #define wxUSE_DATAOBJ 1
43864 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43865 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43868 wxUSE_DRAG_AND_DROP
=no
43873 if test "$wxUSE_METAFILE" = "yes"; then
43874 cat >>confdefs.h
<<\_ACEOF
43875 #define wxUSE_METAFILE 1
43879 cat >>confdefs.h
<<\_ACEOF
43880 #define wxUSE_ENH_METAFILE 1
43886 if test "$wxUSE_IPC" = "yes"; then
43887 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43888 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43889 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43893 if test "$wxUSE_IPC" = "yes"; then
43894 cat >>confdefs.h
<<\_ACEOF
43895 #define wxUSE_IPC 1
43898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43902 if test "$wxUSE_DATAOBJ" = "yes"; then
43903 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43904 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43905 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43908 cat >>confdefs.h
<<\_ACEOF
43909 #define wxUSE_DATAOBJ 1
43914 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43915 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43917 wxUSE_DRAG_AND_DROP
=no
43920 if test "$wxUSE_CLIPBOARD" = "yes"; then
43921 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43922 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43923 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43927 if test "$wxUSE_CLIPBOARD" = "yes"; then
43928 cat >>confdefs.h
<<\_ACEOF
43929 #define wxUSE_CLIPBOARD 1
43935 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43936 if test "$wxUSE_GTK" = 1; then
43937 if test "$WXGTK12" != 1; then
43938 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43939 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43940 wxUSE_DRAG_AND_DROP
=no
43944 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43945 "$wxUSE_DFB" = 1; then
43946 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43947 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43948 wxUSE_DRAG_AND_DROP
=no
43951 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43952 cat >>confdefs.h
<<\_ACEOF
43953 #define wxUSE_DRAG_AND_DROP 1
43960 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43964 if test "$wxUSE_SPLINES" = "yes" ; then
43965 cat >>confdefs.h
<<\_ACEOF
43966 #define wxUSE_SPLINES 1
43971 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43972 cat >>confdefs.h
<<\_ACEOF
43973 #define wxUSE_MOUSEWHEEL 1
43980 if test "$wxUSE_CONTROLS" = "yes"; then
43984 if test "$wxUSE_ACCEL" = "yes"; then
43985 cat >>confdefs.h
<<\_ACEOF
43986 #define wxUSE_ACCEL 1
43992 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43993 cat >>confdefs.h
<<\_ACEOF
43994 #define wxUSE_ANIMATIONCTRL 1
43998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
44001 if test "$wxUSE_BUTTON" = "yes"; then
44002 cat >>confdefs.h
<<\_ACEOF
44003 #define wxUSE_BUTTON 1
44009 if test "$wxUSE_BMPBUTTON" = "yes"; then
44010 cat >>confdefs.h
<<\_ACEOF
44011 #define wxUSE_BMPBUTTON 1
44017 if test "$wxUSE_CALCTRL" = "yes"; then
44018 cat >>confdefs.h
<<\_ACEOF
44019 #define wxUSE_CALENDARCTRL 1
44023 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
44026 if test "$wxUSE_CARET" = "yes"; then
44027 cat >>confdefs.h
<<\_ACEOF
44028 #define wxUSE_CARET 1
44032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
44035 if test "$wxUSE_COLLPANE" = "yes"; then
44036 cat >>confdefs.h
<<\_ACEOF
44037 #define wxUSE_COLLPANE 1
44041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
44044 if test "$wxUSE_COMBOBOX" = "yes"; then
44045 cat >>confdefs.h
<<\_ACEOF
44046 #define wxUSE_COMBOBOX 1
44052 if test "$wxUSE_COMBOCTRL" = "yes"; then
44053 cat >>confdefs.h
<<\_ACEOF
44054 #define wxUSE_COMBOCTRL 1
44060 if test "$wxUSE_CHOICE" = "yes"; then
44061 cat >>confdefs.h
<<\_ACEOF
44062 #define wxUSE_CHOICE 1
44068 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44069 cat >>confdefs.h
<<\_ACEOF
44070 #define wxUSE_CHOICEBOOK 1
44076 if test "$wxUSE_CHECKBOX" = "yes"; then
44077 cat >>confdefs.h
<<\_ACEOF
44078 #define wxUSE_CHECKBOX 1
44084 if test "$wxUSE_CHECKLST" = "yes"; then
44085 cat >>confdefs.h
<<\_ACEOF
44086 #define wxUSE_CHECKLISTBOX 1
44090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
44093 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_COLOURPICKERCTRL 1
44101 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44102 cat >>confdefs.h
<<\_ACEOF
44103 #define wxUSE_DATEPICKCTRL 1
44109 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44110 cat >>confdefs.h
<<\_ACEOF
44111 #define wxUSE_DIRPICKERCTRL 1
44117 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44118 cat >>confdefs.h
<<\_ACEOF
44119 #define wxUSE_FILEPICKERCTRL 1
44125 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44126 cat >>confdefs.h
<<\_ACEOF
44127 #define wxUSE_FONTPICKERCTRL 1
44133 if test "$wxUSE_DISPLAY" = "yes"; then
44134 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44135 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44136 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44139 cat >>confdefs.h
<<\_ACEOF
44140 #define wxUSE_DISPLAY 1
44143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
44147 if test "$wxUSE_DETECT_SM" = "yes"; then
44148 cat >>confdefs.h
<<\_ACEOF
44149 #define wxUSE_DETECT_SM 1
44154 if test "$wxUSE_GAUGE" = "yes"; then
44155 cat >>confdefs.h
<<\_ACEOF
44156 #define wxUSE_GAUGE 1
44162 if test "$wxUSE_GRID" = "yes"; then
44163 cat >>confdefs.h
<<\_ACEOF
44164 #define wxUSE_GRID 1
44168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
44171 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44172 cat >>confdefs.h
<<\_ACEOF
44173 #define wxUSE_HYPERLINKCTRL 1
44179 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44180 cat >>confdefs.h
<<\_ACEOF
44181 #define wxUSE_BITMAPCOMBOBOX 1
44187 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44188 cat >>confdefs.h
<<\_ACEOF
44189 #define wxUSE_DATAVIEWCTRL 1
44193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
44196 if test "$wxUSE_IMAGLIST" = "yes"; then
44197 cat >>confdefs.h
<<\_ACEOF
44198 #define wxUSE_IMAGLIST 1
44203 if test "$wxUSE_LISTBOOK" = "yes"; then
44204 cat >>confdefs.h
<<\_ACEOF
44205 #define wxUSE_LISTBOOK 1
44211 if test "$wxUSE_LISTBOX" = "yes"; then
44212 cat >>confdefs.h
<<\_ACEOF
44213 #define wxUSE_LISTBOX 1
44217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
44220 if test "$wxUSE_LISTCTRL" = "yes"; then
44221 if test "$wxUSE_IMAGLIST" = "yes"; then
44222 cat >>confdefs.h
<<\_ACEOF
44223 #define wxUSE_LISTCTRL 1
44227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
44229 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44230 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44234 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44235 cat >>confdefs.h
<<\_ACEOF
44236 #define wxUSE_EDITABLELISTBOX 1
44240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
44243 if test "$wxUSE_NOTEBOOK" = "yes"; then
44244 cat >>confdefs.h
<<\_ACEOF
44245 #define wxUSE_NOTEBOOK 1
44249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
44252 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44253 cat >>confdefs.h
<<\_ACEOF
44254 #define wxUSE_ODCOMBOBOX 1
44258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
44262 if test "$wxUSE_RADIOBOX" = "yes"; then
44263 cat >>confdefs.h
<<\_ACEOF
44264 #define wxUSE_RADIOBOX 1
44270 if test "$wxUSE_RADIOBTN" = "yes"; then
44271 cat >>confdefs.h
<<\_ACEOF
44272 #define wxUSE_RADIOBTN 1
44278 if test "$wxUSE_SASH" = "yes"; then
44279 cat >>confdefs.h
<<\_ACEOF
44280 #define wxUSE_SASH 1
44283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
44286 if test "$wxUSE_SCROLLBAR" = "yes"; then
44287 cat >>confdefs.h
<<\_ACEOF
44288 #define wxUSE_SCROLLBAR 1
44292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
44295 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44296 cat >>confdefs.h
<<\_ACEOF
44297 #define wxUSE_SEARCHCTRL 1
44303 if test "$wxUSE_SLIDER" = "yes"; then
44304 cat >>confdefs.h
<<\_ACEOF
44305 #define wxUSE_SLIDER 1
44311 if test "$wxUSE_SPINBTN" = "yes"; then
44312 cat >>confdefs.h
<<\_ACEOF
44313 #define wxUSE_SPINBTN 1
44319 if test "$wxUSE_SPINCTRL" = "yes"; then
44320 cat >>confdefs.h
<<\_ACEOF
44321 #define wxUSE_SPINCTRL 1
44327 if test "$wxUSE_SPLITTER" = "yes"; then
44328 cat >>confdefs.h
<<\_ACEOF
44329 #define wxUSE_SPLITTER 1
44332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
44335 if test "$wxUSE_STATBMP" = "yes"; then
44336 cat >>confdefs.h
<<\_ACEOF
44337 #define wxUSE_STATBMP 1
44343 if test "$wxUSE_STATBOX" = "yes"; then
44344 cat >>confdefs.h
<<\_ACEOF
44345 #define wxUSE_STATBOX 1
44351 if test "$wxUSE_STATTEXT" = "yes"; then
44352 cat >>confdefs.h
<<\_ACEOF
44353 #define wxUSE_STATTEXT 1
44359 if test "$wxUSE_STATLINE" = "yes"; then
44360 cat >>confdefs.h
<<\_ACEOF
44361 #define wxUSE_STATLINE 1
44367 if test "$wxUSE_STATUSBAR" = "yes"; then
44368 cat >>confdefs.h
<<\_ACEOF
44369 #define wxUSE_NATIVE_STATUSBAR 1
44372 cat >>confdefs.h
<<\_ACEOF
44373 #define wxUSE_STATUSBAR 1
44378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
44381 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44382 cat >>confdefs.h
<<\_ACEOF
44383 #define wxUSE_TAB_DIALOG 1
44388 if test "$wxUSE_TEXTCTRL" = "yes"; then
44389 cat >>confdefs.h
<<\_ACEOF
44390 #define wxUSE_TEXTCTRL 1
44394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
44397 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44398 if test "$wxUSE_COCOA" = 1 ; then
44399 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44400 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44404 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44405 cat >>confdefs.h
<<\_ACEOF
44406 #define wxUSE_TOGGLEBTN 1
44413 if test "$wxUSE_TOOLBAR" = "yes"; then
44414 cat >>confdefs.h
<<\_ACEOF
44415 #define wxUSE_TOOLBAR 1
44420 if test "$wxUSE_UNIVERSAL" = "yes"; then
44421 wxUSE_TOOLBAR_NATIVE
="no"
44423 wxUSE_TOOLBAR_NATIVE
="yes"
44424 cat >>confdefs.h
<<\_ACEOF
44425 #define wxUSE_TOOLBAR_NATIVE 1
44430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
44433 if test "$wxUSE_TOOLTIPS" = "yes"; then
44434 if test "$wxUSE_MOTIF" = 1; then
44435 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44436 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44438 if test "$wxUSE_UNIVERSAL" = "yes"; then
44439 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44440 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44442 cat >>confdefs.h
<<\_ACEOF
44443 #define wxUSE_TOOLTIPS 1
44450 if test "$wxUSE_TREEBOOK" = "yes"; then
44451 cat >>confdefs.h
<<\_ACEOF
44452 #define wxUSE_TREEBOOK 1
44458 if test "$wxUSE_TOOLBOOK" = "yes"; then
44459 cat >>confdefs.h
<<\_ACEOF
44460 #define wxUSE_TOOLBOOK 1
44466 if test "$wxUSE_TREECTRL" = "yes"; then
44467 if test "$wxUSE_IMAGLIST" = "yes"; then
44468 cat >>confdefs.h
<<\_ACEOF
44469 #define wxUSE_TREECTRL 1
44473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
44475 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44476 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44480 if test "$wxUSE_POPUPWIN" = "yes"; then
44481 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44482 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44483 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44485 if test "$wxUSE_PM" = 1; then
44486 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44487 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44489 cat >>confdefs.h
<<\_ACEOF
44490 #define wxUSE_POPUPWIN 1
44493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44500 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44501 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44502 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44503 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44505 cat >>confdefs.h
<<\_ACEOF
44506 #define wxUSE_DIALUP_MANAGER 1
44509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44513 if test "$wxUSE_TIPWINDOW" = "yes"; then
44514 if test "$wxUSE_PM" = 1; then
44515 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44516 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44518 cat >>confdefs.h
<<\_ACEOF
44519 #define wxUSE_TIPWINDOW 1
44525 if test "$USES_CONTROLS" = 1; then
44526 cat >>confdefs.h
<<\_ACEOF
44527 #define wxUSE_CONTROLS 1
44533 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44534 cat >>confdefs.h
<<\_ACEOF
44535 #define wxUSE_ACCESSIBILITY 1
44538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44541 if test "$wxUSE_DC_CACHEING" = "yes"; then
44542 cat >>confdefs.h
<<\_ACEOF
44543 #define wxUSE_DC_CACHEING 1
44548 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44549 cat >>confdefs.h
<<\_ACEOF
44550 #define wxUSE_DRAGIMAGE 1
44553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44556 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44557 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44558 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44559 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44561 cat >>confdefs.h
<<\_ACEOF
44562 #define wxUSE_EXCEPTIONS 1
44565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44570 if test "$wxUSE_HTML" = "yes"; then
44571 cat >>confdefs.h
<<\_ACEOF
44572 #define wxUSE_HTML 1
44576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44577 if test "$wxUSE_MAC" = 1; then
44578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44581 if test "$wxUSE_WEBKIT" = "yes"; then
44582 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44583 old_CPPFLAGS
="$CPPFLAGS"
44584 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44585 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44586 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44587 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44590 cat >conftest.
$ac_ext <<_ACEOF
44593 cat confdefs.h
>>conftest.
$ac_ext
44594 cat >>conftest.
$ac_ext <<_ACEOF
44595 /* end confdefs.h. */
44597 #include <Carbon/Carbon.h>
44598 #include <WebKit/WebKit.h>
44601 #include <WebKit/HIWebView.h>
44603 rm -f conftest.
$ac_objext
44604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44605 (eval $ac_compile) 2>conftest.er1
44607 grep -v '^ *+' conftest.er1
>conftest.err
44609 cat conftest.err
>&5
44610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44611 (exit $ac_status); } &&
44612 { ac_try
='test -z "$ac_c_werror_flag"
44613 || test ! -s conftest.err'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; } &&
44619 { ac_try
='test -s conftest.$ac_objext'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; }; then
44625 ac_cv_header_WebKit_HIWebView_h
=yes
44627 echo "$as_me: failed program was:" >&5
44628 sed 's/^/| /' conftest.
$ac_ext >&5
44630 ac_cv_header_WebKit_HIWebView_h
=no
44632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44634 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44635 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44636 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44638 cat >>confdefs.h
<<\_ACEOF
44639 #define wxUSE_WEBKIT 1
44642 WEBKIT_LINK
="-framework WebKit"
44646 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44647 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44653 CPPFLAGS
="$old_CPPFLAGS"
44654 elif test "$wxUSE_COCOA" = 1; then
44655 cat >>confdefs.h
<<\_ACEOF
44656 #define wxUSE_WEBKIT 1
44665 if test "$wxUSE_XRC" = "yes"; then
44666 if test "$wxUSE_XML" != "yes"; then
44667 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44668 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44671 cat >>confdefs.h
<<\_ACEOF
44672 #define wxUSE_XRC 1
44676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44681 if test "$wxUSE_AUI" = "yes"; then
44682 cat >>confdefs.h
<<\_ACEOF
44683 #define wxUSE_AUI 1
44687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
44691 if test "$wxUSE_STC" = "yes"; then
44692 cat >>confdefs.h
<<\_ACEOF
44693 #define wxUSE_STC 1
44697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
44700 if test "$wxUSE_MENUS" = "yes"; then
44701 cat >>confdefs.h
<<\_ACEOF
44702 #define wxUSE_MENUS 1
44705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44708 if test "$wxUSE_METAFILE" = "yes"; then
44709 cat >>confdefs.h
<<\_ACEOF
44710 #define wxUSE_METAFILE 1
44715 if test "$wxUSE_MIMETYPE" = "yes"; then
44716 cat >>confdefs.h
<<\_ACEOF
44717 #define wxUSE_MIMETYPE 1
44722 if test "$wxUSE_MINIFRAME" = "yes"; then
44723 cat >>confdefs.h
<<\_ACEOF
44724 #define wxUSE_MINIFRAME 1
44727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44730 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44731 cat >>confdefs.h
<<\_ACEOF
44732 #define wxUSE_SYSTEM_OPTIONS 1
44735 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44736 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44742 if test "$wxUSE_VALIDATORS" = "yes"; then
44743 cat >>confdefs.h
<<\_ACEOF
44744 #define wxUSE_VALIDATORS 1
44747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44750 if test "$wxUSE_PALETTE" = "yes" ; then
44751 if test "$wxUSE_DFB" = 1; then
44752 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44753 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44756 cat >>confdefs.h
<<\_ACEOF
44757 #define wxUSE_PALETTE 1
44763 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44764 LIBS
=" -lunicows $LIBS"
44768 if test "$wxUSE_RICHTEXT" = "yes"; then
44769 cat >>confdefs.h
<<\_ACEOF
44770 #define wxUSE_RICHTEXT 1
44774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44778 if test "$wxUSE_IMAGE" = "yes" ; then
44779 cat >>confdefs.h
<<\_ACEOF
44780 #define wxUSE_IMAGE 1
44784 if test "$wxUSE_GIF" = "yes" ; then
44785 cat >>confdefs.h
<<\_ACEOF
44786 #define wxUSE_GIF 1
44791 if test "$wxUSE_PCX" = "yes" ; then
44792 cat >>confdefs.h
<<\_ACEOF
44793 #define wxUSE_PCX 1
44798 if test "$wxUSE_TGA" = "yes" ; then
44799 cat >>confdefs.h
<<\_ACEOF
44800 #define wxUSE_TGA 1
44805 if test "$wxUSE_IFF" = "yes" ; then
44806 cat >>confdefs.h
<<\_ACEOF
44807 #define wxUSE_IFF 1
44812 if test "$wxUSE_PNM" = "yes" ; then
44813 cat >>confdefs.h
<<\_ACEOF
44814 #define wxUSE_PNM 1
44819 if test "$wxUSE_XPM" = "yes" ; then
44820 cat >>confdefs.h
<<\_ACEOF
44821 #define wxUSE_XPM 1
44826 if test "$wxUSE_ICO_CUR" = "yes" ; then
44827 cat >>confdefs.h
<<\_ACEOF
44828 #define wxUSE_ICO_CUR 1
44835 if test "$wxUSE_ABOUTDLG" = "yes"; then
44836 cat >>confdefs.h
<<\_ACEOF
44837 #define wxUSE_ABOUTDLG 1
44842 if test "$wxUSE_CHOICEDLG" = "yes"; then
44843 cat >>confdefs.h
<<\_ACEOF
44844 #define wxUSE_CHOICEDLG 1
44849 if test "$wxUSE_COLOURDLG" = "yes"; then
44850 cat >>confdefs.h
<<\_ACEOF
44851 #define wxUSE_COLOURDLG 1
44856 if test "$wxUSE_FILEDLG" = "yes"; then
44857 cat >>confdefs.h
<<\_ACEOF
44858 #define wxUSE_FILEDLG 1
44863 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44864 cat >>confdefs.h
<<\_ACEOF
44865 #define wxUSE_FINDREPLDLG 1
44870 if test "$wxUSE_FONTDLG" = "yes"; then
44871 cat >>confdefs.h
<<\_ACEOF
44872 #define wxUSE_FONTDLG 1
44877 if test "$wxUSE_DIRDLG" = "yes"; then
44878 if test "$wxUSE_TREECTRL" != "yes"; then
44879 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44880 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44882 cat >>confdefs.h
<<\_ACEOF
44883 #define wxUSE_DIRDLG 1
44889 if test "$wxUSE_MSGDLG" = "yes"; then
44890 cat >>confdefs.h
<<\_ACEOF
44891 #define wxUSE_MSGDLG 1
44896 if test "$wxUSE_NUMBERDLG" = "yes"; then
44897 cat >>confdefs.h
<<\_ACEOF
44898 #define wxUSE_NUMBERDLG 1
44903 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44904 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44905 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44906 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44908 cat >>confdefs.h
<<\_ACEOF
44909 #define wxUSE_PROGRESSDLG 1
44915 if test "$wxUSE_SPLASH" = "yes"; then
44916 cat >>confdefs.h
<<\_ACEOF
44917 #define wxUSE_SPLASH 1
44920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44923 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44925 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44926 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44928 cat >>confdefs.h
<<\_ACEOF
44929 #define wxUSE_STARTUP_TIPS 1
44935 if test "$wxUSE_TEXTDLG" = "yes"; then
44936 cat >>confdefs.h
<<\_ACEOF
44937 #define wxUSE_TEXTDLG 1
44942 if test "$wxUSE_WIZARDDLG" = "yes"; then
44943 cat >>confdefs.h
<<\_ACEOF
44944 #define wxUSE_WIZARDDLG 1
44947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44951 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44952 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44953 cat >>confdefs.h
<<\_ACEOF
44954 #define wxUSE_GRAPHICS_CONTEXT 1
44957 elif test "$wxUSE_GTK" != 1; then
44958 cat >>confdefs.h
<<\_ACEOF
44959 #define wxUSE_GRAPHICS_CONTEXT 1
44965 echo "$as_me:$LINENO: checking for CAIRO" >&5
44966 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
44968 if test -n "$PKG_CONFIG"; then
44969 if test -n "$CAIRO_CFLAGS"; then
44970 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
44972 if test -n "$PKG_CONFIG" && \
44973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44974 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44977 (exit $ac_status); }; then
44978 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44986 if test -n "$PKG_CONFIG"; then
44987 if test -n "$CAIRO_LIBS"; then
44988 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
44990 if test -n "$PKG_CONFIG" && \
44991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44992 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); }; then
44996 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45007 if test $pkg_failed = yes; then
45009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45010 _pkg_short_errors_supported
=yes
45012 _pkg_short_errors_supported
=no
45014 if test $_pkg_short_errors_supported = yes; then
45015 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45017 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45019 # Put the nasty error message in config.log where it belongs
45020 echo "$CAIRO_PKG_ERRORS" >&5
45022 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45023 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45025 elif test $pkg_failed = untried
; then
45026 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45027 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45030 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
45031 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
45032 echo "$as_me:$LINENO: result: yes" >&5
45033 echo "${ECHO_T}yes" >&6
45034 cat >>confdefs.h
<<\_ACEOF
45035 #define wxUSE_GRAPHICS_CONTEXT 1
45045 if test "$wxUSE_MEDIACTRL" = "yes"; then
45048 if test "$wxUSE_GTK" = 1; then
45049 wxUSE_GSTREAMER
="no"
45051 GST_VERSION_MAJOR
=0
45052 GST_VERSION_MINOR
=10
45053 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45055 if test "$wxUSE_GSTREAMER8" = "no"; then
45058 echo "$as_me:$LINENO: checking for GST" >&5
45059 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45061 if test -n "$PKG_CONFIG"; then
45062 if test -n "$GST_CFLAGS"; then
45063 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45065 if test -n "$PKG_CONFIG" && \
45066 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45067 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45070 (exit $ac_status); }; then
45071 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45079 if test -n "$PKG_CONFIG"; then
45080 if test -n "$GST_LIBS"; then
45081 pkg_cv_GST_LIBS
="$GST_LIBS"
45083 if test -n "$PKG_CONFIG" && \
45084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45085 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088 (exit $ac_status); }; then
45089 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45100 if test $pkg_failed = yes; then
45102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45103 _pkg_short_errors_supported
=yes
45105 _pkg_short_errors_supported
=no
45107 if test $_pkg_short_errors_supported = yes; then
45108 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45110 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45112 # Put the nasty error message in config.log where it belongs
45113 echo "$GST_PKG_ERRORS" >&5
45116 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45117 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45118 GST_VERSION_MINOR
=8
45121 elif test $pkg_failed = untried
; then
45123 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45124 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45125 GST_VERSION_MINOR
=8
45129 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45130 GST_LIBS
=$pkg_cv_GST_LIBS
45131 echo "$as_me:$LINENO: result: yes" >&5
45132 echo "${ECHO_T}yes" >&6
45134 wxUSE_GSTREAMER
="yes"
45135 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45139 GST_VERSION_MINOR
=8
45142 if test $GST_VERSION_MINOR = "8"; then
45143 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
45146 echo "$as_me:$LINENO: checking for GST" >&5
45147 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45149 if test -n "$PKG_CONFIG"; then
45150 if test -n "$GST_CFLAGS"; then
45151 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
45153 if test -n "$PKG_CONFIG" && \
45154 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45155 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); }; then
45159 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45167 if test -n "$PKG_CONFIG"; then
45168 if test -n "$GST_LIBS"; then
45169 pkg_cv_GST_LIBS
="$GST_LIBS"
45171 if test -n "$PKG_CONFIG" && \
45172 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45173 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45176 (exit $ac_status); }; then
45177 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45188 if test $pkg_failed = yes; then
45190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45191 _pkg_short_errors_supported
=yes
45193 _pkg_short_errors_supported
=no
45195 if test $_pkg_short_errors_supported = yes; then
45196 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45198 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45200 # Put the nasty error message in config.log where it belongs
45201 echo "$GST_PKG_ERRORS" >&5
45204 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45205 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45207 elif test $pkg_failed = untried
; then
45209 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45210 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45213 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
45214 GST_LIBS
=$pkg_cv_GST_LIBS
45215 echo "$as_me:$LINENO: result: yes" >&5
45216 echo "${ECHO_T}yes" >&6
45217 wxUSE_GSTREAMER
="yes"
45222 if test "$wxUSE_GSTREAMER" = "yes"; then
45225 if "$GCC" = yes; then
45226 GST_CFLAGS
=`echo $GST_CFLAGS | sed 's/-mt//'`
45227 GST_LIBS
=`echo $GST_LIBS | sed 's/-mt//'`
45231 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
45232 LIBS
="$GST_LIBS $LIBS"
45234 cat >>confdefs.h
<<\_ACEOF
45235 #define wxUSE_GSTREAMER 1
45243 if test $USE_MEDIA = 1; then
45244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
45245 cat >>confdefs.h
<<\_ACEOF
45246 #define wxUSE_MEDIACTRL 1
45253 if test "$cross_compiling" = "yes"; then
45256 OSINFO
=`uname -s -r -m`
45257 OSINFO
="\"$OSINFO\""
45260 cat >>confdefs.h
<<_ACEOF
45261 #define WXWIN_OS_DESCRIPTION $OSINFO
45266 if test "x$prefix" != "xNONE"; then
45269 wxPREFIX
=$ac_default_prefix
45272 cat >>confdefs.h
<<_ACEOF
45273 #define wxINSTALL_PREFIX "$wxPREFIX"
45279 CORE_BASE_LIBS
="net base"
45280 CORE_GUI_LIBS
="adv core"
45282 if test "$wxUSE_XML" = "yes" ; then
45283 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
45285 if test "$wxUSE_ODBC" != "no" ; then
45286 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
45287 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
45289 if test "$wxUSE_HTML" = "yes" ; then
45290 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
45292 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45293 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
45295 if test "$wxUSE_XRC" = "yes" ; then
45296 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
45298 if test "$wxUSE_AUI" = "yes" ; then
45299 CORE_GUI_LIBS
="aui $CORE_GUI_LIBS"
45301 if test "$wxUSE_STC" = "yes" ; then
45302 CORE_GUI_LIBS
="stc $CORE_GUI_LIBS"
45305 if test "$wxUSE_GUI" != "yes"; then
45314 if test "$wxUSE_MAC" = 1 ; then
45315 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45316 if test "$USE_DARWIN" = 1; then
45317 LDFLAGS
="$LDFLAGS -framework QuickTime"
45319 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
45322 if test "$USE_DARWIN" = 1; then
45323 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45325 LDFLAGS
="$LDFLAGS -lCarbonLib"
45328 if test "$wxUSE_COCOA" = 1 ; then
45329 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
45330 if test "$wxUSE_MEDIACTRL" = "yes"; then
45331 LDFLAGS
="$LDFLAGS -framework QuickTime"
45334 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45335 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45338 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45340 if test "$wxUSE_GUI" = "yes"; then
45343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45344 dynamic erase event exec font image minimal mobile \
45345 mobile/wxedit mobile/styles propsize render \
45346 rotate shaped svg taborder vscroll widgets"
45348 if test "$wxUSE_MONOLITHIC" != "yes"; then
45349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45351 if test "$TOOLKIT" = "MSW"; then
45352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45353 if test "$wxUSE_UNIVERSAL" != "yes"; then
45354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45357 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45361 SAMPLES_SUBDIRS
="console"
45365 if test "x$INTELCC" = "xyes" ; then
45366 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45367 elif test "$GCC" = yes ; then
45368 CWARNINGS
="-Wall -Wundef"
45371 if test "x$INTELCXX" = "xyes" ; then
45372 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45373 elif test "$GXX" = yes ; then
45374 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45378 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45379 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45382 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45383 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45384 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45387 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45388 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45389 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45391 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45394 if test "x$MWCC" = "xyes"; then
45396 CC
="$CC -cwd source -I-"
45397 CXX
="$CXX -cwd source -I-"
45402 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45403 EXTRALIBS_XML
="$EXPAT_LINK"
45404 EXTRALIBS_HTML
="$MSPACK_LINK"
45405 EXTRALIBS_ODBC
="$ODBC_LINK"
45406 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45407 if test "$wxUSE_GUI" = "yes"; then
45408 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45410 if test "$wxUSE_OPENGL" = "yes"; then
45411 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45414 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45416 WXCONFIG_LIBS
="$LIBS"
45418 if test "$wxUSE_REGEX" = "builtin" ; then
45419 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45421 if test "$wxUSE_EXPAT" = "builtin" ; then
45422 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45424 if test "$wxUSE_ODBC" = "builtin" ; then
45425 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45427 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45428 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45430 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45431 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45433 if test "$wxUSE_LIBPNG" = "builtin" ; then
45434 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45436 if test "$wxUSE_ZLIB" = "builtin" ; then
45437 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45440 for i
in $wxconfig_3rdparty ; do
45441 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45445 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45448 case "$wxUNIV_THEMES" in
45450 cat >>confdefs.h
<<\_ACEOF
45451 #define wxUSE_ALL_THEMES 1
45457 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45458 cat >>confdefs.h
<<_ACEOF
45459 #define wxUSE_THEME_$t 1
45476 if test $wxUSE_MONOLITHIC = "yes" ; then
45482 if test $wxUSE_PLUGINS = "yes" ; then
45488 if test $wxUSE_ODBC != "no" ; then
45494 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45500 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45531 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45542 TOOLKIT_DESC
="GTK+"
45543 if test "$WXGTK20" = 1; then
45544 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
45545 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45546 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
45548 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45549 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
45551 if test "$wxUSE_LIBHILDON" = "yes"; then
45552 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
45555 if test "$TOOLKIT_EXTRA" != ""; then
45556 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45562 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
45566 TOOLKIT_DESC
="base only"
45570 if test "$wxUSE_WINE" = "yes"; then
45571 BAKEFILE_FORCE_PLATFORM
=win32
45574 if test "$wxUSE_MAC" = 1 ; then
45575 if test "x$wxUSE_UNIVERSAL_BINARY" != xno
; then
45576 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes
; then
45577 OSX_UNIV_OPTS
="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45579 OSX_UNIV_OPTS
=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45581 OSX_UNIV_OPTS
="$OSX_UNIV_OPTS -arch ppc -arch i386"
45582 CXXFLAGS
="$OSX_UNIV_OPTS $CXXFLAGS"
45583 CFLAGS
="$OSX_UNIV_OPTS $CFLAGS"
45584 LDFLAGS
="$OSX_UNIV_OPTS $LDFLAGS"
45587 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45588 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45591 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45593 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45594 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
45595 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45596 echo $ECHO_N "(cached) $ECHO_C" >&6
45599 echo '#include <stdio.h>
45600 const wchar_t test_var[] = L"awidetest";' > conftest.h
45602 echo '#include "conftest.h"
45605 printf("%ls", test_var);
45609 wx_cv_gcc_pch_bug
="pch not supported"
45611 if $CXX conftest.h
>/dev
/null
2>&1
45615 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
45617 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
45618 grep awidetest
>/dev
/null
45620 wx_cv_gcc_pch_bug
=no
45622 wx_cv_gcc_pch_bug
=yes
45627 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
45630 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45631 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
45633 if test "$wx_cv_gcc_pch_bug" = yes; then
45641 if test "x$BAKEFILE_HOST" = "x"; then
45642 if test "x${host}" = "x" ; then
45643 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45644 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45645 { (exit 1); exit 1; }; }
45648 BAKEFILE_HOST
="${host}"
45651 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45653 if test -n "$ac_tool_prefix"; then
45654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45655 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45656 echo "$as_me:$LINENO: checking for $ac_word" >&5
45657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45658 if test "${ac_cv_prog_RANLIB+set}" = set; then
45659 echo $ECHO_N "(cached) $ECHO_C" >&6
45661 if test -n "$RANLIB"; then
45662 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45665 for as_dir
in $PATH
45668 test -z "$as_dir" && as_dir
=.
45669 for ac_exec_ext
in '' $ac_executable_extensions; do
45670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45671 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45680 RANLIB
=$ac_cv_prog_RANLIB
45681 if test -n "$RANLIB"; then
45682 echo "$as_me:$LINENO: result: $RANLIB" >&5
45683 echo "${ECHO_T}$RANLIB" >&6
45685 echo "$as_me:$LINENO: result: no" >&5
45686 echo "${ECHO_T}no" >&6
45690 if test -z "$ac_cv_prog_RANLIB"; then
45691 ac_ct_RANLIB
=$RANLIB
45692 # Extract the first word of "ranlib", so it can be a program name with args.
45693 set dummy ranlib
; ac_word
=$2
45694 echo "$as_me:$LINENO: checking for $ac_word" >&5
45695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45696 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45697 echo $ECHO_N "(cached) $ECHO_C" >&6
45699 if test -n "$ac_ct_RANLIB"; then
45700 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45703 for as_dir
in $PATH
45706 test -z "$as_dir" && as_dir
=.
45707 for ac_exec_ext
in '' $ac_executable_extensions; do
45708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45709 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45716 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45719 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45720 if test -n "$ac_ct_RANLIB"; then
45721 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45722 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45724 echo "$as_me:$LINENO: result: no" >&5
45725 echo "${ECHO_T}no" >&6
45728 RANLIB
=$ac_ct_RANLIB
45730 RANLIB
="$ac_cv_prog_RANLIB"
45733 # Find a good install program. We prefer a C program (faster),
45734 # so one script is as good as another. But avoid the broken or
45735 # incompatible versions:
45736 # SysV /etc/install, /usr/sbin/install
45737 # SunOS /usr/etc/install
45738 # IRIX /sbin/install
45740 # AmigaOS /C/install, which installs bootblocks on floppy discs
45741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45744 # OS/2's system install, which has a completely different semantic
45745 # ./install, which can be erroneously created by make from ./install.sh.
45746 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45747 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45748 if test -z "$INSTALL"; then
45749 if test "${ac_cv_path_install+set}" = set; then
45750 echo $ECHO_N "(cached) $ECHO_C" >&6
45752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45753 for as_dir
in $PATH
45756 test -z "$as_dir" && as_dir
=.
45757 # Account for people who put trailing slashes in PATH elements.
45759 .
/ | .
// | /cC
/* | \
45760 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45761 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45764 # OSF1 and SCO ODT 3.0 have their own names for install.
45765 # Don't use installbsd from OSF since it installs stuff as root
45767 for ac_prog
in ginstall scoinst
install; do
45768 for ac_exec_ext
in '' $ac_executable_extensions; do
45769 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45770 if test $ac_prog = install &&
45771 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45772 # AIX install. It has an incompatible calling convention.
45774 elif test $ac_prog = install &&
45775 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45776 # program-specific install script used by HP pwplus--don't use.
45779 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45791 if test "${ac_cv_path_install+set}" = set; then
45792 INSTALL
=$ac_cv_path_install
45794 # As a last resort, use the slow shell script. We don't cache a
45795 # path for INSTALL within a source directory, because that will
45796 # break other packages using the cache if that directory is
45797 # removed, or if the path is relative.
45798 INSTALL
=$ac_install_sh
45801 echo "$as_me:$LINENO: result: $INSTALL" >&5
45802 echo "${ECHO_T}$INSTALL" >&6
45804 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45805 # It thinks the first close brace ends the variable substitution.
45806 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45810 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45812 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45813 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45815 if test "$LN_S" = "ln -s"; then
45816 echo "$as_me:$LINENO: result: yes" >&5
45817 echo "${ECHO_T}yes" >&6
45819 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45820 echo "${ECHO_T}no, using $LN_S" >&6
45824 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45825 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45826 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45827 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45828 echo $ECHO_N "(cached) $ECHO_C" >&6
45830 cat >conftest.
make <<\_ACEOF
45832 @
echo 'ac_maketemp="$(MAKE)"'
45834 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45835 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45836 if test -n "$ac_maketemp"; then
45837 eval ac_cv_prog_make_
${ac_make}_set
=yes
45839 eval ac_cv_prog_make_
${ac_make}_set
=no
45841 rm -f conftest.
make
45843 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45844 echo "$as_me:$LINENO: result: yes" >&5
45845 echo "${ECHO_T}yes" >&6
45848 echo "$as_me:$LINENO: result: no" >&5
45849 echo "${ECHO_T}no" >&6
45850 SET_MAKE
="MAKE=${MAKE-make}"
45855 if test "x$SUNCXX" = "xyes"; then
45857 AROPTIONS
="-xar -o"
45859 elif test "x$SGICC" = "xyes"; then
45864 if test -n "$ac_tool_prefix"; then
45865 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45866 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45867 echo "$as_me:$LINENO: checking for $ac_word" >&5
45868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45869 if test "${ac_cv_prog_AR+set}" = set; then
45870 echo $ECHO_N "(cached) $ECHO_C" >&6
45872 if test -n "$AR"; then
45873 ac_cv_prog_AR
="$AR" # Let the user override the test.
45875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45876 for as_dir
in $PATH
45879 test -z "$as_dir" && as_dir
=.
45880 for ac_exec_ext
in '' $ac_executable_extensions; do
45881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45882 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45892 if test -n "$AR"; then
45893 echo "$as_me:$LINENO: result: $AR" >&5
45894 echo "${ECHO_T}$AR" >&6
45896 echo "$as_me:$LINENO: result: no" >&5
45897 echo "${ECHO_T}no" >&6
45901 if test -z "$ac_cv_prog_AR"; then
45903 # Extract the first word of "ar", so it can be a program name with args.
45904 set dummy
ar; ac_word
=$2
45905 echo "$as_me:$LINENO: checking for $ac_word" >&5
45906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45907 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45910 if test -n "$ac_ct_AR"; then
45911 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45914 for as_dir
in $PATH
45917 test -z "$as_dir" && as_dir
=.
45918 for ac_exec_ext
in '' $ac_executable_extensions; do
45919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45920 ac_cv_prog_ac_ct_AR
="ar"
45921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45927 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45930 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45931 if test -n "$ac_ct_AR"; then
45932 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45933 echo "${ECHO_T}$ac_ct_AR" >&6
45935 echo "$as_me:$LINENO: result: no" >&5
45936 echo "${ECHO_T}no" >&6
45941 AR
="$ac_cv_prog_AR"
45948 if test -n "$ac_tool_prefix"; then
45949 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45950 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45951 echo "$as_me:$LINENO: checking for $ac_word" >&5
45952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45953 if test "${ac_cv_prog_STRIP+set}" = set; then
45954 echo $ECHO_N "(cached) $ECHO_C" >&6
45956 if test -n "$STRIP"; then
45957 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45960 for as_dir
in $PATH
45963 test -z "$as_dir" && as_dir
=.
45964 for ac_exec_ext
in '' $ac_executable_extensions; do
45965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45966 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45975 STRIP
=$ac_cv_prog_STRIP
45976 if test -n "$STRIP"; then
45977 echo "$as_me:$LINENO: result: $STRIP" >&5
45978 echo "${ECHO_T}$STRIP" >&6
45980 echo "$as_me:$LINENO: result: no" >&5
45981 echo "${ECHO_T}no" >&6
45985 if test -z "$ac_cv_prog_STRIP"; then
45987 # Extract the first word of "strip", so it can be a program name with args.
45988 set dummy strip
; ac_word
=$2
45989 echo "$as_me:$LINENO: checking for $ac_word" >&5
45990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45991 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45992 echo $ECHO_N "(cached) $ECHO_C" >&6
45994 if test -n "$ac_ct_STRIP"; then
45995 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45998 for as_dir
in $PATH
46001 test -z "$as_dir" && as_dir
=.
46002 for ac_exec_ext
in '' $ac_executable_extensions; do
46003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46004 ac_cv_prog_ac_ct_STRIP
="strip"
46005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46011 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
46014 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
46015 if test -n "$ac_ct_STRIP"; then
46016 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46017 echo "${ECHO_T}$ac_ct_STRIP" >&6
46019 echo "$as_me:$LINENO: result: no" >&5
46020 echo "${ECHO_T}no" >&6
46025 STRIP
="$ac_cv_prog_STRIP"
46028 if test -n "$ac_tool_prefix"; then
46029 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46030 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
46031 echo "$as_me:$LINENO: checking for $ac_word" >&5
46032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46033 if test "${ac_cv_prog_NM+set}" = set; then
46034 echo $ECHO_N "(cached) $ECHO_C" >&6
46036 if test -n "$NM"; then
46037 ac_cv_prog_NM
="$NM" # Let the user override the test.
46039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46040 for as_dir
in $PATH
46043 test -z "$as_dir" && as_dir
=.
46044 for ac_exec_ext
in '' $ac_executable_extensions; do
46045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46046 ac_cv_prog_NM
="${ac_tool_prefix}nm"
46047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46056 if test -n "$NM"; then
46057 echo "$as_me:$LINENO: result: $NM" >&5
46058 echo "${ECHO_T}$NM" >&6
46060 echo "$as_me:$LINENO: result: no" >&5
46061 echo "${ECHO_T}no" >&6
46065 if test -z "$ac_cv_prog_NM"; then
46067 # Extract the first word of "nm", so it can be a program name with args.
46068 set dummy nm
; ac_word
=$2
46069 echo "$as_me:$LINENO: checking for $ac_word" >&5
46070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46071 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46072 echo $ECHO_N "(cached) $ECHO_C" >&6
46074 if test -n "$ac_ct_NM"; then
46075 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
46077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46078 for as_dir
in $PATH
46081 test -z "$as_dir" && as_dir
=.
46082 for ac_exec_ext
in '' $ac_executable_extensions; do
46083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46084 ac_cv_prog_ac_ct_NM
="nm"
46085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46091 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
46094 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
46095 if test -n "$ac_ct_NM"; then
46096 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46097 echo "${ECHO_T}$ac_ct_NM" >&6
46099 echo "$as_me:$LINENO: result: no" >&5
46100 echo "${ECHO_T}no" >&6
46105 NM
="$ac_cv_prog_NM"
46109 case ${BAKEFILE_HOST} in
46111 INSTALL_DIR
="mkdir -p"
46114 INSTALL_DIR
='$(INSTALL) -d'
46120 case ${BAKEFILE_HOST} in
46121 *-*-cygwin* | *-*-mingw32* )
46122 LDFLAGS_GUI
="-mwindows"
46128 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46129 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46130 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46131 echo $ECHO_N "(cached) $ECHO_C" >&6
46134 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
46135 egrep -s GNU
> /dev
/null
); then
46136 bakefile_cv_prog_makeisgnu
="yes"
46138 bakefile_cv_prog_makeisgnu
="no"
46142 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46143 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46145 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46162 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46163 case "${BAKEFILE_HOST}" in
46170 *-pc-os2_emx | *-pc-os2-emx )
46180 powerpc
-apple-macos* )
46189 case "$BAKEFILE_FORCE_PLATFORM" in
46210 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46211 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46212 { (exit 1); exit 1; }; }
46227 # Check whether --enable-omf or --disable-omf was given.
46228 if test "${enable_omf+set}" = set; then
46229 enableval
="$enable_omf"
46230 bk_os2_use_omf
="$enableval"
46233 case "${BAKEFILE_HOST}" in
46235 if test "x$GCC" = "xyes"; then
46236 CFLAGS
="$CFLAGS -fno-common"
46237 CXXFLAGS
="$CXXFLAGS -fno-common"
46239 if test "x$XLCC" = "xyes"; then
46240 CFLAGS
="$CFLAGS -qnocommon"
46241 CXXFLAGS
="$CXXFLAGS -qnocommon"
46245 *-pc-os2_emx | *-pc-os2-emx )
46246 if test "x$bk_os2_use_omf" = "xyes" ; then
46249 LDFLAGS
="-Zomf $LDFLAGS"
46250 CFLAGS
="-Zomf $CFLAGS"
46251 CXXFLAGS
="-Zomf $CXXFLAGS"
46259 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46265 SO_SUFFIX_MODULE
="so"
46270 DLLPREFIX_MODULE
=""
46274 case "${BAKEFILE_HOST}" in
46277 SO_SUFFIX_MODULE
="sl"
46281 SO_SUFFIX_MODULE
="a"
46285 SO_SUFFIX_MODULE
="dll"
46286 DLLIMP_SUFFIX
="dll.a"
46293 SO_SUFFIX_MODULE
="dll"
46294 DLLIMP_SUFFIX
="dll.a"
46304 *-pc-os2_emx | *-pc-os2-emx )
46306 SO_SUFFIX_MODULE
="dll"
46307 DLLIMP_SUFFIX
=$OS2_LIBEXT
46311 LIBEXT
=".$OS2_LIBEXT"
46316 SO_SUFFIX_MODULE
="bundle"
46320 if test "x$DLLIMP_SUFFIX" = "x" ; then
46321 DLLIMP_SUFFIX
="$SO_SUFFIX"
46336 if test "x$GCC" = "xyes"; then
46340 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46341 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46344 case "${BAKEFILE_HOST}" in
46346 if test "x$GCC" != "xyes"; then
46347 LDFLAGS
="$LDFLAGS -L/usr/lib"
46349 SHARED_LD_CC
="${CC} -b -o"
46350 SHARED_LD_CXX
="${CXX} -b -o"
46356 if test "x$GCC" != "xyes"; then
46357 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46358 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46359 if test "${bakefile_cv_prog_icc+set}" = set; then
46360 echo $ECHO_N "(cached) $ECHO_C" >&6
46363 cat >conftest.
$ac_ext <<_ACEOF
46366 cat confdefs.h
>>conftest.
$ac_ext
46367 cat >>conftest.
$ac_ext <<_ACEOF
46368 /* end confdefs.h. */
46374 #ifndef __INTEL_COMPILER
46382 rm -f conftest.
$ac_objext
46383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46384 (eval $ac_compile) 2>conftest.er1
46386 grep -v '^ *+' conftest.er1
>conftest.err
46388 cat conftest.err
>&5
46389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46390 (exit $ac_status); } &&
46391 { ac_try
='test -z "$ac_c_werror_flag"
46392 || test ! -s conftest.err'
46393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46394 (eval $ac_try) 2>&5
46396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397 (exit $ac_status); }; } &&
46398 { ac_try
='test -s conftest.$ac_objext'
46399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46400 (eval $ac_try) 2>&5
46402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403 (exit $ac_status); }; }; then
46404 bakefile_cv_prog_icc
=yes
46406 echo "$as_me: failed program was:" >&5
46407 sed 's/^/| /' conftest.
$ac_ext >&5
46409 bakefile_cv_prog_icc
=no
46412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46415 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46416 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46417 if test "$bakefile_cv_prog_icc" = "yes"; then
46424 if test "x$GCC" != xyes
; then
46425 SHARED_LD_CC
="${CC} -G -o"
46426 SHARED_LD_CXX
="${CXX} -G -o"
46434 cat <<EOF >shared-ld-sh
46436 #-----------------------------------------------------------------------------
46437 #-- Name: distrib/mac/shared-ld-sh
46438 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46439 #-- Author: Gilles Depeyrot
46440 #-- Copyright: (c) 2002 Gilles Depeyrot
46441 #-- Licence: any use permitted
46442 #-----------------------------------------------------------------------------
46447 linking_flag="-dynamiclib"
46448 ldargs="-r -keep_private_externs -nostdlib"
46450 while test ${D}# -gt 0; do
46457 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46458 # collect these options and values
46459 args="${D}{args} ${D}1 ${D}2"
46464 # collect these load args
46465 ldargs="${D}{ldargs} ${D}1"
46468 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46469 # collect these options
46470 args="${D}{args} ${D}1"
46473 -dynamiclib|-bundle)
46474 linking_flag="${D}1"
46478 echo "shared-ld: unhandled option '${D}1'"
46482 *.o | *.a | *.dylib)
46483 # collect object files
46484 objects="${D}{objects} ${D}1"
46488 echo "shared-ld: unhandled argument '${D}1'"
46499 # Link one module containing all the others
46501 if test ${D}{verbose} = 1; then
46502 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46504 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46508 # Link the shared library from the single module created, but only if the
46509 # previous command didn't fail:
46511 if test ${D}{status} = 0; then
46512 if test ${D}{verbose} = 1; then
46513 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46515 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46520 # Remove intermediate module
46522 rm -f master.${D}${D}.o
46527 chmod +x shared
-ld-sh
46529 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46530 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46533 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46534 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46535 if test "${bakefile_cv_gcc31+set}" = set; then
46536 echo $ECHO_N "(cached) $ECHO_C" >&6
46539 cat >conftest.
$ac_ext <<_ACEOF
46542 cat confdefs.h
>>conftest.
$ac_ext
46543 cat >>conftest.
$ac_ext <<_ACEOF
46544 /* end confdefs.h. */
46550 #if (__GNUC__ < 3) || \
46551 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46559 rm -f conftest.
$ac_objext
46560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46561 (eval $ac_compile) 2>conftest.er1
46563 grep -v '^ *+' conftest.er1
>conftest.err
46565 cat conftest.err
>&5
46566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46567 (exit $ac_status); } &&
46568 { ac_try
='test -z "$ac_c_werror_flag"
46569 || test ! -s conftest.err'
46570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46571 (eval $ac_try) 2>&5
46573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46574 (exit $ac_status); }; } &&
46575 { ac_try
='test -s conftest.$ac_objext'
46576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46577 (eval $ac_try) 2>&5
46579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46580 (exit $ac_status); }; }; then
46582 bakefile_cv_gcc31
=yes
46585 echo "$as_me: failed program was:" >&5
46586 sed 's/^/| /' conftest.
$ac_ext >&5
46589 bakefile_cv_gcc31
=no
46593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46596 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46597 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46598 if test "$bakefile_cv_gcc31" = "no"; then
46599 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46600 SHARED_LD_CXX
="$SHARED_LD_CC"
46602 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46603 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46606 if test "x$GCC" == "xyes"; then
46607 PIC_FLAG
="-dynamic -fPIC"
46609 if test "x$XLCC" = "xyes"; then
46610 PIC_FLAG
="-dynamic -DPIC"
46615 if test "x$GCC" = "xyes"; then
46618 case "${BAKEFILE_HOST}" in
46620 LD_EXPFULL
="-Wl,-bexpfull"
46624 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46625 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46627 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46628 set dummy makeC
++SharedLib
; ac_word
=$2
46629 echo "$as_me:$LINENO: checking for $ac_word" >&5
46630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46631 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46632 echo $ECHO_N "(cached) $ECHO_C" >&6
46634 if test -n "$AIX_CXX_LD"; then
46635 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46638 for as_dir
in $PATH
46641 test -z "$as_dir" && as_dir
=.
46642 for ac_exec_ext
in '' $ac_executable_extensions; do
46643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46644 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46651 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46654 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46655 if test -n "$AIX_CXX_LD"; then
46656 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46657 echo "${ECHO_T}$AIX_CXX_LD" >&6
46659 echo "$as_me:$LINENO: result: no" >&5
46660 echo "${ECHO_T}no" >&6
46663 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46664 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46669 SHARED_LD_CC
="${LD} -nostart -o"
46670 SHARED_LD_CXX
="${LD} -nostart -o"
46674 if test "x$GCC" != "xyes"; then
46679 *-*-cygwin* | *-*-mingw32* )
46681 SHARED_LD_CC
="\$(CC) -shared -o"
46682 SHARED_LD_CXX
="\$(CXX) -shared -o"
46686 *-pc-os2_emx | *-pc-os2-emx )
46687 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46688 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46692 cat <<EOF >dllar.sh
46695 # dllar - a tool to build both a .dll and an .a file
46696 # from a set of object (.o) files for EMX/OS2.
46698 # Written by Andrew Zabolotny, bit@freya.etu.ru
46699 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46701 # This script will accept a set of files on the command line.
46702 # All the public symbols from the .o files will be exported into
46703 # a .DEF file, then linker will be run (through gcc) against them to
46704 # build a shared library consisting of all given .o files. All libraries
46705 # (.a) will be first decompressed into component .o files then act as
46706 # described above. You can optionally give a description (-d "description")
46707 # which will be put into .DLL. To see the list of accepted options (as well
46708 # as command-line format) simply run this program without options. The .DLL
46709 # is built to be imported by name (there is no guarantee that new versions
46710 # of the library you build will have same ordinals for same symbols).
46712 # dllar is free software; you can redistribute it and/or modify
46713 # it under the terms of the GNU General Public License as published by
46714 # the Free Software Foundation; either version 2, or (at your option)
46715 # any later version.
46717 # dllar is distributed in the hope that it will be useful,
46718 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46719 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46720 # GNU General Public License for more details.
46722 # You should have received a copy of the GNU General Public License
46723 # along with dllar; see the file COPYING. If not, write to the Free
46724 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46727 # To successfuly run this program you will need:
46728 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46729 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46731 # (used to build the .dll)
46733 # (used to create .def file from .o files)
46735 # (used to create .a file from .def file)
46736 # - GNU text utilites (cat, sort, uniq)
46737 # used to process emxexp output
46738 # - GNU file utilities (mv, rm)
46740 # - lxlite (optional, see flag below)
46741 # (used for general .dll cleanup)
46748 # basnam, variant of basename, which does _not_ remove the path, _iff_
46749 # second argument (suffix to remove) is given
46753 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46756 echo ${D}1 | sed 's/'${D}2'${D}//'
46759 echo "error in basnam ${D}*"
46765 # Cleanup temporary files and output
46768 for i in ${D}inputFiles ; do
46771 rm -rf \`basnam ${D}i !\`
46778 # Kill result in case of failure as there is just to many stupid make/nmake
46779 # things out there which doesn't do this.
46780 if [ ${D}# -eq 0 ]; then
46781 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46785 # Print usage and exit script with rc=1.
46787 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46788 echo ' [-name-mangler-script script.sh]'
46789 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46790 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46791 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46792 echo ' [*.o] [*.a]'
46793 echo '*> "output_file" should have no extension.'
46794 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46795 echo ' The import library name is derived from this and is set to "name".a,'
46796 echo ' unless overridden by -import'
46797 echo '*> "importlib_name" should have no extension.'
46798 echo ' If it has the .o, or .a extension, it is automatically removed.'
46799 echo ' This name is used as the import library name and may be longer and'
46800 echo ' more descriptive than the DLL name which has to follow the old '
46801 echo ' 8.3 convention of FAT.'
46802 echo '*> "script.sh may be given to override the output_file name by a'
46803 echo ' different name. It is mainly useful if the regular make process'
46804 echo ' of some package does not take into account OS/2 restriction of'
46805 echo ' DLL name lengths. It takes the importlib name as input and is'
46806 echo ' supposed to procude a shorter name as output. The script should'
46807 echo ' expect to get importlib_name without extension and should produce'
46808 echo ' a (max.) 8 letter name without extension.'
46809 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46810 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46811 echo ' These flags will be put at the start of GCC command line.'
46812 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46813 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46814 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46815 echo ' If the last character of a symbol is "*", all symbols beginning'
46816 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46817 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46818 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46819 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46820 echo ' C runtime DLLs.'
46821 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46822 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46823 echo ' unchanged to GCC at the end of command line.'
46824 echo '*> If you create a DLL from a library and you do not specify -o,'
46825 echo ' the basename for DLL and import library will be set to library name,'
46826 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46827 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46828 echo ' library will be renamed into gcc_s.a.'
46831 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46832 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46837 # Execute a command.
46838 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46839 # @Uses Whatever CleanUp() uses.
46845 if [ ${D}rcCmd -ne 0 ]; then
46846 echo "command failed, exit code="${D}rcCmd
46861 CFLAGS="-s -Zcrtdll"
46863 EXPORT_BY_ORDINALS=0
46868 case ${D}curDirS in
46872 curDirS=${D}{curDirS}"/"
46875 # Parse commandline
46878 while [ ${D}1 ]; do
46881 EXPORT_BY_ORDINALS=1;
46891 -name-mangler-script)
46912 exclude_symbols=${D}{exclude_symbols}${D}1" "
46916 library_flags=${D}{library_flags}${D}1" "
46935 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46938 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46939 if [ ${D}omfLinking -eq 1 ]; then
46940 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46942 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46947 if [ ${D}libsToLink -ne 0 ]; then
46948 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46950 for file in ${D}1 ; do
46951 if [ -f ${D}file ]; then
46952 inputFiles="${D}{inputFiles} ${D}file"
46956 if [ ${D}found -eq 0 ]; then
46957 echo "ERROR: No file(s) found: "${D}1
46964 done # iterate cmdline words
46967 if [ -z "${D}inputFiles" ]; then
46968 echo "dllar: no input files"
46972 # Now extract all .o files from .a files
46974 for file in ${D}inputFiles ; do
46985 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46990 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46992 if [ ${D}? -ne 0 ]; then
46993 echo "Failed to create subdirectory ./${D}dirname"
46997 # Append '!' to indicate archive
46998 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46999 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47002 for subfile in ${D}dirname/*.o* ; do
47003 if [ -f ${D}subfile ]; then
47005 if [ -s ${D}subfile ]; then
47006 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47007 newInputFiles="${D}newInputFiles ${D}subfile"
47011 if [ ${D}found -eq 0 ]; then
47012 echo "WARNING: there are no files in archive \\'${D}file\\'"
47016 newInputFiles="${D}{newInputFiles} ${D}file"
47020 inputFiles="${D}newInputFiles"
47022 # Output filename(s).
47024 if [ -z ${D}outFile ]; then
47026 set outFile ${D}inputFiles; outFile=${D}2
47029 # If it is an archive, remove the '!' and the '_%' suffixes
47030 case ${D}outFile in
47032 outFile=\`basnam ${D}outFile _%!\`
47037 case ${D}outFile in
47039 outFile=\`basnam ${D}outFile .dll\`
47042 outFile=\`basnam ${D}outFile .DLL\`
47045 outFile=\`basnam ${D}outFile .o\`
47048 outFile=\`basnam ${D}outFile .obj\`
47051 outFile=\`basnam ${D}outFile .a\`
47054 outFile=\`basnam ${D}outFile .lib\`
47059 case ${D}outimpFile in
47061 outimpFile=\`basnam ${D}outimpFile .a\`
47064 outimpFile=\`basnam ${D}outimpFile .lib\`
47069 if [ -z ${D}outimpFile ]; then
47070 outimpFile=${D}outFile
47072 defFile="${D}{outFile}.def"
47073 arcFile="${D}{outimpFile}.a"
47074 arcFile2="${D}{outimpFile}.lib"
47076 #create ${D}dllFile as something matching 8.3 restrictions,
47077 if [ -z ${D}renameScript ] ; then
47078 dllFile="${D}outFile"
47080 dllFile=\`${D}renameScript ${D}outimpFile\`
47083 if [ ${D}do_backup -ne 0 ] ; then
47084 if [ -f ${D}arcFile ] ; then
47085 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47087 if [ -f ${D}arcFile2 ] ; then
47088 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47092 # Extract public symbols from all the object files.
47093 tmpdefFile=${D}{defFile}_%
47094 rm -f ${D}tmpdefFile
47095 for file in ${D}inputFiles ; do
47100 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47105 # Create the def file.
47107 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47108 dllFile="${D}{dllFile}.dll"
47109 if [ ! -z ${D}description ]; then
47110 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47112 echo "EXPORTS" >> ${D}defFile
47114 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47115 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47117 # Checks if the export is ok or not.
47118 for word in ${D}exclude_symbols; do
47119 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47120 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47124 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47125 sed "=" < ${D}tmpdefFile | \\
47129 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47131 ' > ${D}{tmpdefFile}%
47132 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47134 rm -f ${D}{tmpdefFile}%
47136 cat ${D}tmpdefFile >> ${D}defFile
47137 rm -f ${D}tmpdefFile
47139 # Do linking, create implib, and apply lxlite.
47141 for file in ${D}inputFiles ; do
47146 gccCmdl="${D}gccCmdl ${D}file"
47150 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47151 touch "${D}{outFile}.dll"
47153 doCommand "emximp -o ${D}arcFile ${D}defFile"
47154 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47156 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47159 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47161 doCommand "emxomf -s -l ${D}arcFile"
47171 powerpc
-apple-macos* | \
47172 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
47182 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47183 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47184 { (exit 1); exit 1; }; }
47187 if test "x$PIC_FLAG" != "x" ; then
47188 PIC_FLAG
="$PIC_FLAG -DPIC"
47191 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47192 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
47194 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47195 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
47214 case "${BAKEFILE_HOST}" in
47215 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
47216 SONAME_FLAG
="-Wl,-soname,"
47250 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47251 if test "${enable_dependency_tracking+set}" = set; then
47252 enableval
="$enable_dependency_tracking"
47253 bk_use_trackdeps
="$enableval"
47256 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47257 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47260 if test "x$bk_use_trackdeps" = "xno" ; then
47262 echo "$as_me:$LINENO: result: disabled" >&5
47263 echo "${ECHO_T}disabled" >&6
47267 if test "x$GCC" = "xyes"; then
47269 case "${BAKEFILE_HOST}" in
47271 DEPSFLAG
="-no-cpp-precomp -MMD"
47277 echo "$as_me:$LINENO: result: gcc" >&5
47278 echo "${ECHO_T}gcc" >&6
47279 elif test "x$MWCC" = "xyes"; then
47282 echo "$as_me:$LINENO: result: mwcc" >&5
47283 echo "${ECHO_T}mwcc" >&6
47284 elif test "x$SUNCC" = "xyes"; then
47287 echo "$as_me:$LINENO: result: Sun cc" >&5
47288 echo "${ECHO_T}Sun cc" >&6
47289 elif test "x$SGICC" = "xyes"; then
47292 echo "$as_me:$LINENO: result: SGI cc" >&5
47293 echo "${ECHO_T}SGI cc" >&6
47294 elif test "x$HPCC" = "xyes"; then
47297 echo "$as_me:$LINENO: result: HP cc" >&5
47298 echo "${ECHO_T}HP cc" >&6
47299 elif test "x$COMPAQCC" = "xyes"; then
47302 echo "$as_me:$LINENO: result: Compaq cc" >&5
47303 echo "${ECHO_T}Compaq cc" >&6
47306 echo "$as_me:$LINENO: result: none" >&5
47307 echo "${ECHO_T}none" >&6
47310 if test $DEPS_TRACKING = 1 ; then
47316 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47317 # script. It is used to track C/C++ files dependencies in portable way.
47319 # Permission is given to use this file in any way.
47321 DEPSMODE=${DEPSMODE}
47323 DEPSFLAG="${DEPSFLAG}"
47325 mkdir -p ${D}DEPSDIR
47327 if test ${D}DEPSMODE = gcc ; then
47328 ${D}* ${D}{DEPSFLAG}
47330 if test ${D}{status} != 0 ; then
47333 # move created file to the location we want it in:
47334 while test ${D}# -gt 0; do
47348 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47349 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47350 if test -f ${D}depfile ; then
47351 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47354 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47355 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47356 if test ! -f ${D}depfile ; then
47357 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47358 depfile="${D}objfile.d"
47360 if test -f ${D}depfile ; then
47361 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47366 elif test ${D}DEPSMODE = mwcc ; then
47367 ${D}* || exit ${D}?
47368 # Run mwcc again with -MM and redirect into the dep file we want
47369 # NOTE: We can't use shift here because we need ${D}* to be valid
47371 for arg in ${D}* ; do
47372 if test "${D}prevarg" = "-o"; then
47385 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47387 elif test ${D}DEPSMODE = unixcc; then
47388 ${D}* || exit ${D}?
47389 # Run compiler again with deps flag and redirect into the dep file.
47390 # It doesn't work if the '-o FILE' option is used, but without it the
47391 # dependency file will contain the wrong name for the object. So it is
47392 # removed from the command line, and the dep file is fixed with sed.
47394 while test ${D}# -gt 0; do
47401 eval arg${D}#=\\${D}1
47402 cmd="${D}cmd \\${D}arg${D}#"
47407 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47416 BK_DEPS
="`pwd`/bk-deps"
47424 case ${BAKEFILE_HOST} in
47425 *-*-cygwin* | *-*-mingw32* )
47426 if test -n "$ac_tool_prefix"; then
47427 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47428 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47429 echo "$as_me:$LINENO: checking for $ac_word" >&5
47430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47431 if test "${ac_cv_prog_WINDRES+set}" = set; then
47432 echo $ECHO_N "(cached) $ECHO_C" >&6
47434 if test -n "$WINDRES"; then
47435 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47438 for as_dir
in $PATH
47441 test -z "$as_dir" && as_dir
=.
47442 for ac_exec_ext
in '' $ac_executable_extensions; do
47443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47444 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47453 WINDRES
=$ac_cv_prog_WINDRES
47454 if test -n "$WINDRES"; then
47455 echo "$as_me:$LINENO: result: $WINDRES" >&5
47456 echo "${ECHO_T}$WINDRES" >&6
47458 echo "$as_me:$LINENO: result: no" >&5
47459 echo "${ECHO_T}no" >&6
47463 if test -z "$ac_cv_prog_WINDRES"; then
47464 ac_ct_WINDRES
=$WINDRES
47465 # Extract the first word of "windres", so it can be a program name with args.
47466 set dummy windres
; ac_word
=$2
47467 echo "$as_me:$LINENO: checking for $ac_word" >&5
47468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47469 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47470 echo $ECHO_N "(cached) $ECHO_C" >&6
47472 if test -n "$ac_ct_WINDRES"; then
47473 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47476 for as_dir
in $PATH
47479 test -z "$as_dir" && as_dir
=.
47480 for ac_exec_ext
in '' $ac_executable_extensions; do
47481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47482 ac_cv_prog_ac_ct_WINDRES
="windres"
47483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47491 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47492 if test -n "$ac_ct_WINDRES"; then
47493 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47494 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47496 echo "$as_me:$LINENO: result: no" >&5
47497 echo "${ECHO_T}no" >&6
47500 WINDRES
=$ac_ct_WINDRES
47502 WINDRES
="$ac_cv_prog_WINDRES"
47507 *-*-darwin* | powerpc
-apple-macos* )
47508 # Extract the first word of "Rez", so it can be a program name with args.
47509 set dummy Rez
; ac_word
=$2
47510 echo "$as_me:$LINENO: checking for $ac_word" >&5
47511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47512 if test "${ac_cv_prog_REZ+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47515 if test -n "$REZ"; then
47516 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47519 for as_dir
in $PATH
47522 test -z "$as_dir" && as_dir
=.
47523 for ac_exec_ext
in '' $ac_executable_extensions; do
47524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47525 ac_cv_prog_REZ
="Rez"
47526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47532 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47535 REZ
=$ac_cv_prog_REZ
47536 if test -n "$REZ"; then
47537 echo "$as_me:$LINENO: result: $REZ" >&5
47538 echo "${ECHO_T}$REZ" >&6
47540 echo "$as_me:$LINENO: result: no" >&5
47541 echo "${ECHO_T}no" >&6
47544 # Extract the first word of "SetFile", so it can be a program name with args.
47545 set dummy SetFile
; ac_word
=$2
47546 echo "$as_me:$LINENO: checking for $ac_word" >&5
47547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47548 if test "${ac_cv_prog_SETFILE+set}" = set; then
47549 echo $ECHO_N "(cached) $ECHO_C" >&6
47551 if test -n "$SETFILE"; then
47552 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47555 for as_dir
in $PATH
47558 test -z "$as_dir" && as_dir
=.
47559 for ac_exec_ext
in '' $ac_executable_extensions; do
47560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47561 ac_cv_prog_SETFILE
="SetFile"
47562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47568 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47571 SETFILE
=$ac_cv_prog_SETFILE
47572 if test -n "$SETFILE"; then
47573 echo "$as_me:$LINENO: result: $SETFILE" >&5
47574 echo "${ECHO_T}$SETFILE" >&6
47576 echo "$as_me:$LINENO: result: no" >&5
47577 echo "${ECHO_T}no" >&6
47588 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.2"
47591 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.2"
47595 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47596 if test "${enable_precomp_headers+set}" = set; then
47597 enableval
="$enable_precomp_headers"
47598 bk_use_pch
="$enableval"
47606 case ${BAKEFILE_HOST} in
47612 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47613 if test "x$GCC" = "xyes"; then
47614 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47615 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47616 cat >conftest.
$ac_ext <<_ACEOF
47619 cat confdefs.h
>>conftest.
$ac_ext
47620 cat >>conftest.
$ac_ext <<_ACEOF
47621 /* end confdefs.h. */
47627 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47628 There is no PCH support
47631 There is no PCH support
47633 #if (__GNUC__ == 3) && \
47634 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47635 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47636 ( defined(__INTEL_COMPILER) )
47637 There is no PCH support
47644 rm -f conftest.
$ac_objext
47645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47646 (eval $ac_compile) 2>conftest.er1
47648 grep -v '^ *+' conftest.er1
>conftest.err
47650 cat conftest.err
>&5
47651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47652 (exit $ac_status); } &&
47653 { ac_try
='test -z "$ac_c_werror_flag"
47654 || test ! -s conftest.err'
47655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47656 (eval $ac_try) 2>&5
47658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47659 (exit $ac_status); }; } &&
47660 { ac_try
='test -s conftest.$ac_objext'
47661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47662 (eval $ac_try) 2>&5
47664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665 (exit $ac_status); }; }; then
47667 echo "$as_me:$LINENO: result: yes" >&5
47668 echo "${ECHO_T}yes" >&6
47672 echo "$as_me: failed program was:" >&5
47673 sed 's/^/| /' conftest.
$ac_ext >&5
47676 cat >conftest.
$ac_ext <<_ACEOF
47679 cat confdefs.h
>>conftest.
$ac_ext
47680 cat >>conftest.
$ac_ext <<_ACEOF
47681 /* end confdefs.h. */
47687 #if !defined(__INTEL_COMPILER) || \
47688 (__INTEL_COMPILER < 800)
47689 There is no PCH support
47696 rm -f conftest.
$ac_objext
47697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47698 (eval $ac_compile) 2>conftest.er1
47700 grep -v '^ *+' conftest.er1
>conftest.err
47702 cat conftest.err
>&5
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); } &&
47705 { ac_try
='test -z "$ac_c_werror_flag"
47706 || test ! -s conftest.err'
47707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47708 (eval $ac_try) 2>&5
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); }; } &&
47712 { ac_try
='test -s conftest.$ac_objext'
47713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47714 (eval $ac_try) 2>&5
47716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717 (exit $ac_status); }; }; then
47719 echo "$as_me:$LINENO: result: yes" >&5
47720 echo "${ECHO_T}yes" >&6
47724 echo "$as_me: failed program was:" >&5
47725 sed 's/^/| /' conftest.
$ac_ext >&5
47728 echo "$as_me:$LINENO: result: no" >&5
47729 echo "${ECHO_T}no" >&6
47732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47736 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47740 cat <<EOF >bk-make-pch
47743 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47744 # script. It is used to generated precompiled headers.
47746 # Permission is given to use this file in any way.
47756 while test ${D}{#} -gt 0; do
47760 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47761 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47762 headerfile="${D}{incdir}/${D}{header}"
47765 -use-pch|-use_pch )
47770 if test ${D}add_to_cmdline = 1 ; then
47771 compiler="${D}{compiler} ${D}{1}"
47776 if test "x${D}{headerfile}" = "x" ; then
47777 echo "error: can't find header ${D}{header} in include paths" >&2
47779 if test -f ${D}{outfile} ; then
47780 rm -f ${D}{outfile}
47782 mkdir -p \`dirname ${D}{outfile}\`
47784 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47786 if test "x${GCC_PCH}" = "x1" ; then
47787 # can do this because gcc is >= 3.4:
47788 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47789 elif test "x${ICC_PCH}" = "x1" ; then
47790 filename=pch_gen-${D}${D}
47791 file=${D}{filename}.c
47792 dfile=${D}{filename}.d
47793 cat > ${D}file <<EOT
47794 #include "${D}header"
47796 # using -MF icc complains about differing command lines in creation/use
47797 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47798 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47799 rm -f ${D}file ${D}dfile ${D}{filename}.o
47805 chmod +x bk
-make-pch
47806 BK_MAKE_PCH
="`pwd`/bk-make-pch"
47815 COND_BUILD_DEBUG
="#"
47816 if test "x$BUILD" = "xdebug" ; then
47817 COND_BUILD_DEBUG
=""
47820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47821 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47822 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47825 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47826 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47827 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47830 COND_BUILD_DEBUG_UNICODE_0
="#"
47831 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47832 COND_BUILD_DEBUG_UNICODE_0
=""
47835 COND_BUILD_DEBUG_UNICODE_1
="#"
47836 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47837 COND_BUILD_DEBUG_UNICODE_1
=""
47840 COND_BUILD_RELEASE
="#"
47841 if test "x$BUILD" = "xrelease" ; then
47842 COND_BUILD_RELEASE
=""
47845 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47846 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47847 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47850 COND_BUILD_RELEASE_UNICODE_0
="#"
47851 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47852 COND_BUILD_RELEASE_UNICODE_0
=""
47855 COND_BUILD_RELEASE_UNICODE_1
="#"
47856 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47857 COND_BUILD_RELEASE_UNICODE_1
=""
47860 COND_DEBUG_FLAG_1
="#"
47861 if test "x$DEBUG_FLAG" = "x1" ; then
47862 COND_DEBUG_FLAG_1
=""
47865 COND_DEBUG_INFO_0
="#"
47866 if test "x$DEBUG_INFO" = "x0" ; then
47867 COND_DEBUG_INFO_0
=""
47870 COND_DEBUG_INFO_1
="#"
47871 if test "x$DEBUG_INFO" = "x1" ; then
47872 COND_DEBUG_INFO_1
=""
47875 COND_DEPS_TRACKING_0
="#"
47876 if test "x$DEPS_TRACKING" = "x0" ; then
47877 COND_DEPS_TRACKING_0
=""
47880 COND_DEPS_TRACKING_1
="#"
47881 if test "x$DEPS_TRACKING" = "x1" ; then
47882 COND_DEPS_TRACKING_1
=""
47886 if test "x$GCC_PCH" = "x1" ; then
47891 if test "x$ICC_PCH" = "x1" ; then
47895 COND_MONOLITHIC_0
="#"
47896 if test "x$MONOLITHIC" = "x0" ; then
47897 COND_MONOLITHIC_0
=""
47900 COND_MONOLITHIC_0_SHARED_0
="#"
47901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47902 COND_MONOLITHIC_0_SHARED_0
=""
47905 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
47906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47907 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
47910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
47921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47922 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
47925 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47927 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47935 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47937 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47940 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
47941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47942 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
47945 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
47946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47947 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
47950 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47952 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47955 COND_MONOLITHIC_0_SHARED_1
="#"
47956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47957 COND_MONOLITHIC_0_SHARED_1
=""
47960 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
47961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47962 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
47965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47967 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47972 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
47976 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
47980 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47981 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47982 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47985 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47986 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47987 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47990 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47991 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47992 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47995 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
47996 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47997 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
48000 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
48001 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48002 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
48005 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
48006 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48007 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
48010 COND_MONOLITHIC_0_USE_AUI_1
="#"
48011 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48012 COND_MONOLITHIC_0_USE_AUI_1
=""
48015 COND_MONOLITHIC_0_USE_GUI_1
="#"
48016 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48017 COND_MONOLITHIC_0_USE_GUI_1
=""
48020 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
48021 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48022 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
48025 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
="#"
48026 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48027 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
=""
48030 COND_MONOLITHIC_0_USE_HTML_1
="#"
48031 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48032 COND_MONOLITHIC_0_USE_HTML_1
=""
48035 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
48036 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48037 COND_MONOLITHIC_0_USE_MEDIA_1
=""
48040 COND_MONOLITHIC_0_USE_ODBC_1
="#"
48041 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48042 COND_MONOLITHIC_0_USE_ODBC_1
=""
48045 COND_MONOLITHIC_0_USE_QA_1
="#"
48046 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48047 COND_MONOLITHIC_0_USE_QA_1
=""
48050 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
48051 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48052 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
48055 COND_MONOLITHIC_0_USE_STC_1
="#"
48056 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48057 COND_MONOLITHIC_0_USE_STC_1
=""
48060 COND_MONOLITHIC_0_USE_XRC_1
="#"
48061 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48062 COND_MONOLITHIC_0_USE_XRC_1
=""
48065 COND_MONOLITHIC_1
="#"
48066 if test "x$MONOLITHIC" = "x1" ; then
48067 COND_MONOLITHIC_1
=""
48070 COND_MONOLITHIC_1_SHARED_0
="#"
48071 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48072 COND_MONOLITHIC_1_SHARED_0
=""
48075 COND_MONOLITHIC_1_SHARED_1
="#"
48076 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48077 COND_MONOLITHIC_1_SHARED_1
=""
48080 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
48081 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48082 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
48085 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
48086 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48087 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
48090 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
48091 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48092 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
48095 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
48096 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48097 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
48100 COND_PLATFORM_MACOSX_1
="#"
48101 if test "x$PLATFORM_MACOSX" = "x1" ; then
48102 COND_PLATFORM_MACOSX_1
=""
48105 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
48106 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48107 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
48110 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
48111 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48112 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
48115 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
48116 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48117 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
48120 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
48121 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48122 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
48125 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
48126 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48127 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
48130 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
48131 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48132 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
48135 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
48136 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48137 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
48140 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
48141 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48142 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
48145 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
48146 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48147 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
48150 COND_PLATFORM_MACOS_1
="#"
48151 if test "x$PLATFORM_MACOS" = "x1" ; then
48152 COND_PLATFORM_MACOS_1
=""
48155 COND_PLATFORM_MAC_1
="#"
48156 if test "x$PLATFORM_MAC" = "x1" ; then
48157 COND_PLATFORM_MAC_1
=""
48160 COND_PLATFORM_MSDOS_0
="#"
48161 if test "x$PLATFORM_MSDOS" = "x0" ; then
48162 COND_PLATFORM_MSDOS_0
=""
48165 COND_PLATFORM_MSDOS_1
="#"
48166 if test "x$PLATFORM_MSDOS" = "x1" ; then
48167 COND_PLATFORM_MSDOS_1
=""
48170 COND_PLATFORM_OS2_1
="#"
48171 if test "x$PLATFORM_OS2" = "x1" ; then
48172 COND_PLATFORM_OS2_1
=""
48175 COND_PLATFORM_UNIX_0
="#"
48176 if test "x$PLATFORM_UNIX" = "x0" ; then
48177 COND_PLATFORM_UNIX_0
=""
48180 COND_PLATFORM_UNIX_1
="#"
48181 if test "x$PLATFORM_UNIX" = "x1" ; then
48182 COND_PLATFORM_UNIX_1
=""
48185 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
48186 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48187 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
48190 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
48191 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48192 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
48195 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
48196 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48197 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
48200 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
48201 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48202 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
48205 COND_PLATFORM_WIN32_0
="#"
48206 if test "x$PLATFORM_WIN32" = "x0" ; then
48207 COND_PLATFORM_WIN32_0
=""
48210 COND_PLATFORM_WIN32_1
="#"
48211 if test "x$PLATFORM_WIN32" = "x1" ; then
48212 COND_PLATFORM_WIN32_1
=""
48216 if test "x$SHARED" = "x0" ; then
48220 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
48221 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48222 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
48225 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
48226 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48227 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
48230 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
48231 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48232 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
48235 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
48236 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48237 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
48240 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48241 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48242 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48245 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48246 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48247 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48250 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48251 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48252 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48255 COND_SHARED_0_USE_STC_1
="#"
48256 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48257 COND_SHARED_0_USE_STC_1
=""
48260 COND_SHARED_0_USE_XRC_1
="#"
48261 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48262 COND_SHARED_0_USE_XRC_1
=""
48265 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
48266 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48267 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
48270 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
48271 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48272 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
48275 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
48276 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48277 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
48280 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
48281 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48282 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
48286 if test "x$SHARED" = "x1" ; then
48290 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
48291 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48292 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
48295 COND_SHARED_1_USE_XRC_1
="#"
48296 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48297 COND_SHARED_1_USE_XRC_1
=""
48301 if test "x$TOOLKIT" = "x" ; then
48305 COND_TOOLKIT_COCOA
="#"
48306 if test "x$TOOLKIT" = "xCOCOA" ; then
48307 COND_TOOLKIT_COCOA
=""
48310 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
48311 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48312 COND_TOOLKIT_COCOA_USE_GUI_1
=""
48315 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
48316 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48317 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
48320 COND_TOOLKIT_DFB
="#"
48321 if test "x$TOOLKIT" = "xDFB" ; then
48322 COND_TOOLKIT_DFB
=""
48325 COND_TOOLKIT_DFB_USE_GUI_1
="#"
48326 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48327 COND_TOOLKIT_DFB_USE_GUI_1
=""
48330 COND_TOOLKIT_GTK
="#"
48331 if test "x$TOOLKIT" = "xGTK" ; then
48332 COND_TOOLKIT_GTK
=""
48335 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
48336 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48337 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
48340 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
48341 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
48345 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
48346 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
48350 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
48351 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
48355 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
48356 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48357 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
48360 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
48361 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
48365 COND_TOOLKIT_GTK_USE_GUI_1
="#"
48366 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48367 COND_TOOLKIT_GTK_USE_GUI_1
=""
48370 COND_TOOLKIT_MAC
="#"
48371 if test "x$TOOLKIT" = "xMAC" ; then
48372 COND_TOOLKIT_MAC
=""
48375 COND_TOOLKIT_MAC_USE_GUI_1
="#"
48376 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48377 COND_TOOLKIT_MAC_USE_GUI_1
=""
48380 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
48381 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48382 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
48385 COND_TOOLKIT_MGL
="#"
48386 if test "x$TOOLKIT" = "xMGL" ; then
48387 COND_TOOLKIT_MGL
=""
48390 COND_TOOLKIT_MGL_USE_GUI_1
="#"
48391 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48392 COND_TOOLKIT_MGL_USE_GUI_1
=""
48395 COND_TOOLKIT_MOTIF
="#"
48396 if test "x$TOOLKIT" = "xMOTIF" ; then
48397 COND_TOOLKIT_MOTIF
=""
48400 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
48401 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48402 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
48405 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
48406 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48407 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
48410 COND_TOOLKIT_MSW
="#"
48411 if test "x$TOOLKIT" = "xMSW" ; then
48412 COND_TOOLKIT_MSW
=""
48415 COND_TOOLKIT_MSW_USE_GUI_1
="#"
48416 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48417 COND_TOOLKIT_MSW_USE_GUI_1
=""
48420 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
48421 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48422 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
48425 COND_TOOLKIT_MSW_WXUNIV_0
="#"
48426 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48427 COND_TOOLKIT_MSW_WXUNIV_0
=""
48430 COND_TOOLKIT_PM
="#"
48431 if test "x$TOOLKIT" = "xPM" ; then
48435 COND_TOOLKIT_PM_USE_GUI_1
="#"
48436 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48437 COND_TOOLKIT_PM_USE_GUI_1
=""
48440 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
48441 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48442 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
48445 COND_TOOLKIT_WINCE
="#"
48446 if test "x$TOOLKIT" = "xWINCE" ; then
48447 COND_TOOLKIT_WINCE
=""
48450 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
48451 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48452 COND_TOOLKIT_WINCE_USE_GUI_1
=""
48455 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
48456 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48457 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
48460 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
48461 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48462 COND_TOOLKIT_WINCE_WXUNIV_0
=""
48465 COND_TOOLKIT_X11
="#"
48466 if test "x$TOOLKIT" = "xX11" ; then
48467 COND_TOOLKIT_X11
=""
48470 COND_TOOLKIT_X11_USE_GUI_1
="#"
48471 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48472 COND_TOOLKIT_X11_USE_GUI_1
=""
48476 if test "x$UNICODE" = "x1" ; then
48480 COND_USE_EXCEPTIONS_0
="#"
48481 if test "x$USE_EXCEPTIONS" = "x0" ; then
48482 COND_USE_EXCEPTIONS_0
=""
48485 COND_USE_EXCEPTIONS_1
="#"
48486 if test "x$USE_EXCEPTIONS" = "x1" ; then
48487 COND_USE_EXCEPTIONS_1
=""
48491 if test "x$USE_GUI" = "x0" ; then
48496 if test "x$USE_GUI" = "x1" ; then
48500 COND_USE_GUI_1_USE_OPENGL_1
="#"
48501 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48502 COND_USE_GUI_1_USE_OPENGL_1
=""
48505 COND_USE_GUI_1_WXUNIV_0
="#"
48506 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48507 COND_USE_GUI_1_WXUNIV_0
=""
48510 COND_USE_GUI_1_WXUNIV_1
="#"
48511 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48512 COND_USE_GUI_1_WXUNIV_1
=""
48515 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48516 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48520 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48521 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48525 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48526 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48530 COND_USE_ODBC_1
="#"
48531 if test "x$USE_ODBC" = "x1" ; then
48535 COND_USE_OPENGL_1
="#"
48536 if test "x$USE_OPENGL" = "x1" ; then
48537 COND_USE_OPENGL_1
=""
48541 if test "x$USE_PCH" = "x1" ; then
48545 COND_USE_PLUGINS_0
="#"
48546 if test "x$USE_PLUGINS" = "x0" ; then
48547 COND_USE_PLUGINS_0
=""
48550 COND_USE_RTTI_0
="#"
48551 if test "x$USE_RTTI" = "x0" ; then
48555 COND_USE_RTTI_1
="#"
48556 if test "x$USE_RTTI" = "x1" ; then
48560 COND_USE_SOSYMLINKS_1
="#"
48561 if test "x$USE_SOSYMLINKS" = "x1" ; then
48562 COND_USE_SOSYMLINKS_1
=""
48565 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48566 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48567 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48570 COND_USE_SOVERLINUX_1
="#"
48571 if test "x$USE_SOVERLINUX" = "x1" ; then
48572 COND_USE_SOVERLINUX_1
=""
48575 COND_USE_SOVERSION_0
="#"
48576 if test "x$USE_SOVERSION" = "x0" ; then
48577 COND_USE_SOVERSION_0
=""
48580 COND_USE_SOVERSOLARIS_1
="#"
48581 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48582 COND_USE_SOVERSOLARIS_1
=""
48586 if test "x$USE_STC" = "x1" ; then
48590 COND_USE_THREADS_0
="#"
48591 if test "x$USE_THREADS" = "x0" ; then
48592 COND_USE_THREADS_0
=""
48595 COND_USE_THREADS_1
="#"
48596 if test "x$USE_THREADS" = "x1" ; then
48597 COND_USE_THREADS_1
=""
48601 if test "x$USE_XRC" = "x1" ; then
48605 COND_WINDOWS_IMPLIB_1
="#"
48606 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48607 COND_WINDOWS_IMPLIB_1
=""
48610 COND_WITH_PLUGIN_SDL_1
="#"
48611 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48612 COND_WITH_PLUGIN_SDL_1
=""
48616 if test "x$WXUNIV" = "x0" ; then
48621 if test "x$WXUNIV" = "x1" ; then
48625 COND_WXUSE_EXPAT_BUILTIN
="#"
48626 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48627 COND_WXUSE_EXPAT_BUILTIN
=""
48630 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48631 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48632 COND_WXUSE_LIBJPEG_BUILTIN
=""
48635 COND_WXUSE_LIBPNG_BUILTIN
="#"
48636 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48637 COND_WXUSE_LIBPNG_BUILTIN
=""
48640 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48641 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48642 COND_WXUSE_LIBTIFF_BUILTIN
=""
48645 COND_WXUSE_ODBC_BUILTIN
="#"
48646 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48647 COND_WXUSE_ODBC_BUILTIN
=""
48650 COND_WXUSE_REGEX_BUILTIN
="#"
48651 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48652 COND_WXUSE_REGEX_BUILTIN
=""
48655 COND_WXUSE_ZLIB_BUILTIN
="#"
48656 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48657 COND_WXUSE_ZLIB_BUILTIN
=""
48662 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48663 { { 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
48664 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;}
48665 { (exit 1); exit 1; }; }
48668 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48669 { { 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
48670 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;}
48671 { (exit 1); exit 1; }; }
48675 if test $GCC_PCH = 1
48677 if test "$wx_cv_gcc_pch_bug" = yes; then
48678 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48679 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48680 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48681 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48682 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48683 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48686 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48690 if test "$wxUSE_MAC" = 1 ; then
48691 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48692 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
48698 if test "$wxUSE_SHARED" = "yes"; then
48700 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48701 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48704 *-pc-os2_emx | *-pc-os2-emx )
48705 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48706 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48707 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48708 cp -p ${srcdir}/src
/os
2/dllar.sh .
48713 EXE_LINKER
="$CXX -o"
48716 if test "$wxUSE_OMF" = "yes"; then
48718 *-pc-os2_emx | *-pc-os2-emx )
48719 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48720 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48721 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48726 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48728 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48790 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48791 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48792 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48793 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48794 echo $ECHO_N "(cached) $ECHO_C" >&6
48796 cat >conftest.
make <<\_ACEOF
48798 @
echo 'ac_maketemp="$(MAKE)"'
48800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48801 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48802 if test -n "$ac_maketemp"; then
48803 eval ac_cv_prog_make_
${ac_make}_set
=yes
48805 eval ac_cv_prog_make_
${ac_make}_set
=no
48807 rm -f conftest.
make
48809 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48810 echo "$as_me:$LINENO: result: yes" >&5
48811 echo "${ECHO_T}yes" >&6
48814 echo "$as_me:$LINENO: result: no" >&5
48815 echo "${ECHO_T}no" >&6
48816 SET_MAKE
="MAKE=${MAKE-make}"
48821 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48824 if test "$USE_WIN32" = 1; then
48825 ac_config_commands
="$ac_config_commands
48831 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48834 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48837 if test "$wx_cv_version_script" = "yes"; then
48838 ac_config_files
="$ac_config_files version-script"
48841 ac_config_files
="$ac_config_files Makefile"
48844 ac_config_commands
="$ac_config_commands wx-config"
48848 if test "$wxWITH_SUBDIRS" != "no"; then
48849 if test "$wxUSE_GUI" = "yes"; then
48850 SUBDIRS
="samples demos utils"
48851 else SUBDIRS
="samples utils"
48856 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48857 if test "${with_cppunit_prefix+set}" = set; then
48858 withval
="$with_cppunit_prefix"
48859 cppunit_config_prefix
="$withval"
48861 cppunit_config_prefix
=""
48864 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48865 if test "${with_cppunit_exec_prefix+set}" = set; then
48866 withval
="$with_cppunit_exec_prefix"
48867 cppunit_config_exec_prefix
="$withval"
48869 cppunit_config_exec_prefix
=""
48872 if test x
$cppunit_config_exec_prefix != x
; then
48873 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48874 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48875 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48878 if test x
$cppunit_config_prefix != x
; then
48879 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48880 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48881 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48885 # Extract the first word of "cppunit-config", so it can be a program name with args.
48886 set dummy cppunit
-config; ac_word
=$2
48887 echo "$as_me:$LINENO: checking for $ac_word" >&5
48888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48889 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48890 echo $ECHO_N "(cached) $ECHO_C" >&6
48892 case $CPPUNIT_CONFIG in
48894 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48898 for as_dir
in $PATH
48901 test -z "$as_dir" && as_dir
=.
48902 for ac_exec_ext
in '' $ac_executable_extensions; do
48903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48904 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48911 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48915 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48917 if test -n "$CPPUNIT_CONFIG"; then
48918 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48919 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48921 echo "$as_me:$LINENO: result: no" >&5
48922 echo "${ECHO_T}no" >&6
48925 cppunit_version_min
=1.8.0
48927 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48928 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48930 if test "$CPPUNIT_CONFIG" = "no" ; then
48931 echo "$as_me:$LINENO: result: no" >&5
48932 echo "${ECHO_T}no" >&6
48935 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48936 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48937 cppunit_version
=`$CPPUNIT_CONFIG --version`
48939 cppunit_major_version
=`echo $cppunit_version | \
48940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48941 cppunit_minor_version
=`echo $cppunit_version | \
48942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48943 cppunit_micro_version
=`echo $cppunit_version | \
48944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48946 cppunit_major_min
=`echo $cppunit_version_min | \
48947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48948 if test "x${cppunit_major_min}" = "x" ; then
48949 cppunit_major_min
=0
48952 cppunit_minor_min
=`echo $cppunit_version_min | \
48953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48954 if test "x${cppunit_minor_min}" = "x" ; then
48955 cppunit_minor_min
=0
48958 cppunit_micro_min
=`echo $cppunit_version_min | \
48959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48960 if test "x${cppunit_micro_min}" = "x" ; then
48961 cppunit_micro_min
=0
48964 cppunit_version_proper
=`expr \
48965 $cppunit_major_version \> $cppunit_major_min \| \
48966 $cppunit_major_version \= $cppunit_major_min \& \
48967 $cppunit_minor_version \> $cppunit_minor_min \| \
48968 $cppunit_major_version \= $cppunit_major_min \& \
48969 $cppunit_minor_version \= $cppunit_minor_min \& \
48970 $cppunit_micro_version \>= $cppunit_micro_min `
48972 if test "$cppunit_version_proper" = "1" ; then
48973 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48974 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48976 echo "$as_me:$LINENO: result: no" >&5
48977 echo "${ECHO_T}no" >&6
48982 if test "x$no_cppunit" = x
; then
48983 SUBDIRS
="$SUBDIRS tests"
48994 for subdir
in `echo $SUBDIRS`; do
48995 if test -d ${srcdir}/${subdir} ; then
48996 if test "$wxUSE_GUI" = "yes"; then
48997 if test ${subdir} = "samples"; then
48998 makefiles
="samples/Makefile.in $makefiles"
48999 for sample
in `echo $SAMPLES_SUBDIRS`; do
49000 if test -d $srcdir/samples
/$sample; then
49001 makefiles
="samples/$sample/Makefile.in $makefiles"
49005 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
49006 eval "disabled=\$$disabled_var"
49007 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
49008 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49010 else if test ${subdir} = "samples"; then
49011 makefiles
="samples/Makefile.in samples/console/Makefile.in"
49012 elif test ${subdir} = "utils"; then
49014 for util
in HelpGen tex2rtf
; do
49015 if test -d $srcdir/utils
/$util ; then
49016 makefiles
="utils/$util/Makefile.in \
49017 utils/$util/src/Makefile.in \
49021 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
49025 for mkin
in $makefiles ; do
49026 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49027 ac_config_files
="$ac_config_files $mk"
49033 cat >confcache
<<\_ACEOF
49034 # This file is a shell script that caches the results of configure
49035 # tests run on this system so they can be shared between configure
49036 # scripts and configure runs, see configure's option --config-cache.
49037 # It is not useful on other systems. If it contains results you don't
49038 # want to keep, you may remove or edit it.
49040 # config.status only pays attention to the cache file if you give it
49041 # the --recheck option to rerun configure.
49043 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49044 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49045 # following values.
49049 # The following way of writing the cache mishandles newlines in values,
49050 # but we know of no workaround that is simple, portable, and efficient.
49051 # So, don't put newlines in cache variables' values.
49052 # Ultrix sh set writes to stderr and can't be redirected directly,
49053 # and sets the high bit in the cache file unless we assign to the vars.
49056 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49058 # `set' does not quote correctly, so add quotes (double-quote
49059 # substitution turns \\\\ into \\, and sed turns \\ into \).
49062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49065 # `set' quotes correctly as required by POSIX, so do not add quotes.
49067 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49076 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49078 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
49079 if test -w $cache_file; then
49080 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49081 cat confcache
>$cache_file
49083 echo "not updating unwritable cache $cache_file"
49088 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
49089 # Let make expand exec_prefix.
49090 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
49092 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49093 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49094 # trailing colons and then remove the whole line if VPATH becomes empty
49095 # (actually we leave an empty line to preserve line numbers).
49096 if test "x$srcdir" = x.
; then
49097 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
49098 s/:*\$(srcdir):*/:/;
49099 s/:*\${srcdir}:*/:/;
49101 s/^\([^=]*=[ ]*\):*/\1/;
49107 DEFS
=-DHAVE_CONFIG_H
49111 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
49112 # 1. Remove the extension, and $U if already installed.
49113 ac_i
=`echo "$ac_i" |
49114 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49116 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
49117 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
49119 LIBOBJS
=$ac_libobjs
49121 LTLIBOBJS
=$ac_ltlibobjs
49125 : ${CONFIG_STATUS=./config.status}
49126 ac_clean_files_save
=$ac_clean_files
49127 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
49128 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49129 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49130 cat >$CONFIG_STATUS <<_ACEOF
49132 # Generated by $as_me.
49133 # Run this file to recreate the current configuration.
49134 # Compiler output produced by configure, useful for debugging
49135 # configure, is in config.log if it exists.
49138 ac_cs_recheck=false
49140 SHELL=\${CONFIG_SHELL-$SHELL}
49143 cat >>$CONFIG_STATUS <<\_ACEOF
49144 ## --------------------- ##
49145 ## M4sh Initialization. ##
49146 ## --------------------- ##
49148 # Be Bourne compatible
49149 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
49152 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49153 # is contrary to our usage. Disable this feature.
49154 alias -g '${1+"$@"}'='"$@"'
49155 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
49158 DUALCASE
=1; export DUALCASE
# for MKS sh
49160 # Support unset when possible.
49161 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
49168 # Work around bugs in pre-3.0 UWIN ksh.
49169 $as_unset ENV MAIL MAILPATH
49176 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49177 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49178 LC_TELEPHONE LC_TIME
49180 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49181 eval $as_var=C
; export $as_var
49187 # Required to use basename.
49188 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49194 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
49195 as_basename
=basename
49201 # Name of the executable.
49202 as_me
=`$as_basename "$0" ||
49203 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49204 X"$0" : 'X\(//\)$' \| \
49205 X"$0" : 'X\(/\)$' \| \
49206 . : '\(.\)' 2>/dev/null ||
49208 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49209 /^X\/\(\/\/\)$/{ s//\1/; q; }
49210 /^X\/\(\/\).*/{ s//\1/; q; }
49214 # PATH needs CR, and LINENO needs CR and PATH.
49215 # Avoid depending upon Character Ranges.
49216 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
49217 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49218 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
49219 as_cr_digits
='0123456789'
49220 as_cr_alnum
=$as_cr_Letters$as_cr_digits
49222 # The user is always right.
49223 if test "${PATH_SEPARATOR+set}" != set; then
49224 echo "#! /bin/sh" >conf$$.sh
49225 echo "exit 0" >>conf$$.sh
49227 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
49236 as_lineno_1
=$LINENO
49237 as_lineno_2
=$LINENO
49238 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
49239 test "x$as_lineno_1" != "x$as_lineno_2" &&
49240 test "x$as_lineno_3" = "x$as_lineno_2" || {
49241 # Find who we are. Look in the path if we contain no path at all
49244 *[\\/]* ) as_myself
=$0 ;;
49245 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49246 for as_dir
in $PATH
49249 test -z "$as_dir" && as_dir
=.
49250 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
49255 # We did not find ourselves, most probably we were run as `sh COMMAND'
49256 # in which case we are not to be found in the path.
49257 if test "x$as_myself" = x
; then
49260 if test ! -f "$as_myself"; then
49261 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49262 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49263 { (exit 1); exit 1; }; }
49265 case $CONFIG_SHELL in
49267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49268 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
49271 test -z "$as_dir" && as_dir
=.
49272 for as_base
in sh bash ksh sh5
; do
49275 if ("$as_dir/$as_base" -c '
49276 as_lineno_1=$LINENO
49277 as_lineno_2=$LINENO
49278 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49279 test "x$as_lineno_1" != "x$as_lineno_2" &&
49280 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
49281 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
49282 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
49283 CONFIG_SHELL
=$as_dir/$as_base
49284 export CONFIG_SHELL
49285 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49293 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49294 # uniformly replaced by the line number. The first 'sed' inserts a
49295 # line-number line before each line; the second 'sed' does the real
49296 # work. The second script uses 'N' to pair each line-number line
49297 # with the numbered line, and appends trailing '-' during
49298 # substitution so that $LINENO is not a special case at line end.
49299 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49300 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49301 sed '=' <$as_myself |
49306 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49309 s,^['$as_cr_digits']*\n,,
49310 ' >$as_me.lineno
&&
49311 chmod +x
$as_me.lineno
||
49312 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49313 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49314 { (exit 1); exit 1; }; }
49316 # Don't try to exec as it changes $[0], causing all sort of problems
49317 # (the dirname of $[0] is not the place where we might find the
49318 # original and so on. Autoconf is especially sensible to this).
49320 # Exit status is that of the last command.
49325 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49326 *c
*,-n*) ECHO_N
= ECHO_C
='
49328 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
49329 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
49332 if expr a
: '\(a\)' >/dev
/null
2>&1; then
49338 rm -f conf$$ conf$$.exe conf$$.
file
49340 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
49341 # We could just check for DJGPP; but this test a) works b) is more generic
49342 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49343 if test -f conf$$.exe
; then
49344 # Don't use ln at all; we don't have any links
49349 elif ln conf$$.
file conf$$
2>/dev
/null
; then
49354 rm -f conf$$ conf$$.exe conf$$.
file
49356 if mkdir -p .
2>/dev
/null
; then
49359 test -d .
/-p && rmdir .
/-p
49363 as_executable_p
="test -f"
49365 # Sed expression to map a string onto a valid CPP name.
49366 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49368 # Sed expression to map a string onto a valid variable name.
49369 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49373 # We need space, tab and new line, in precisely that order.
49383 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49384 # report actual input values of CONFIG_FILES etc. instead of their
49385 # values after options handling. Logging --version etc. is OK.
49389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49390 ## Running $as_me. ##
49395 This file was extended by wxWidgets $as_me 2.9.0, which was
49396 generated by GNU Autoconf 2.59. Invocation command line was
49398 CONFIG_FILES = $CONFIG_FILES
49399 CONFIG_HEADERS = $CONFIG_HEADERS
49400 CONFIG_LINKS = $CONFIG_LINKS
49401 CONFIG_COMMANDS = $CONFIG_COMMANDS
49405 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49409 # Files that config.status was made for.
49410 if test -n "$ac_config_files"; then
49411 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49414 if test -n "$ac_config_headers"; then
49415 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49418 if test -n "$ac_config_links"; then
49419 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49422 if test -n "$ac_config_commands"; then
49423 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49426 cat >>$CONFIG_STATUS <<\_ACEOF
49429 \`$as_me' instantiates files from templates according to the
49430 current configuration.
49432 Usage: $0 [OPTIONS] [FILE]...
49434 -h, --help print this help, then exit
49435 -V, --version print version number, then exit
49436 -q, --quiet do not print progress messages
49437 -d, --debug don't remove temporary files
49438 --recheck update $as_me by reconfiguring in the same conditions
49439 --file=FILE[:TEMPLATE]
49440 instantiate the configuration file FILE
49441 --header=FILE[:TEMPLATE]
49442 instantiate the configuration header FILE
49444 Configuration files:
49447 Configuration headers:
49450 Configuration commands:
49453 Report bugs to <bug-autoconf@gnu.org>."
49456 cat >>$CONFIG_STATUS <<_ACEOF
49458 wxWidgets config.status 2.9.0
49459 configured by $0, generated by GNU Autoconf 2.59,
49460 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49462 Copyright (C) 2003 Free Software Foundation, Inc.
49463 This config.status script is free software; the Free Software Foundation
49464 gives unlimited permission to copy, distribute and modify it."
49469 cat >>$CONFIG_STATUS <<\_ACEOF
49470 # If no file are specified by the user, then we need to provide default
49471 # value. By we need to know if files were specified by the user.
49477 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
49478 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
49486 *) # This is not an option, so the user has probably given explicit
49489 ac_need_defaults
=false
;;
49493 # Handling of the options.
49495 cat >>$CONFIG_STATUS <<\_ACEOF
49496 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49498 --version | --vers* | -V )
49499 echo "$ac_cs_version"; exit 0 ;;
49501 # Conflict between --help and --header
49502 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49503 Try \`$0 --help' for more information." >&5
49504 echo "$as_me: error: ambiguous option: $1
49505 Try \`$0 --help' for more information." >&2;}
49506 { (exit 1); exit 1; }; };;
49507 --help | --hel | -h )
49508 echo "$ac_cs_usage"; exit 0 ;;
49509 --debug | --d* | -d )
49511 --file | --fil | --fi | --f )
49513 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
49514 ac_need_defaults
=false
;;
49515 --header | --heade | --head | --hea )
49517 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
49518 ac_need_defaults
=false
;;
49519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49520 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49523 # This is an error.
49524 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49525 Try \`$0 --help' for more information." >&5
49526 echo "$as_me: error: unrecognized option: $1
49527 Try \`$0 --help' for more information." >&2;}
49528 { (exit 1); exit 1; }; } ;;
49530 *) ac_config_targets
="$ac_config_targets $1" ;;
49536 ac_configure_extra_args
=
49538 if $ac_cs_silent; then
49540 ac_configure_extra_args
="$ac_configure_extra_args --silent"
49544 cat >>$CONFIG_STATUS <<_ACEOF
49545 if \$ac_cs_recheck; then
49546 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49547 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49552 cat >>$CONFIG_STATUS <<_ACEOF
49554 # INIT-COMMANDS section.
49559 infile="$srcdir/include/wx/msw/genrcdefs.h"
49560 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49563 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49564 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49565 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49573 cat >>$CONFIG_STATUS <<\_ACEOF
49574 for ac_config_target
in $ac_config_targets
49576 case "$ac_config_target" in
49577 # Handling of arguments.
49578 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49579 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49580 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49581 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49582 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49583 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49584 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49585 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49586 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49587 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49588 { (exit 1); exit 1; }; };;
49592 # If the user did not use the arguments to specify the items to instantiate,
49593 # then the envvar interface is used. Set only those that are not.
49594 # We use the long form for the default assignment because of an extremely
49595 # bizarre bug on SunOS 4.1.3.
49596 if $ac_need_defaults; then
49597 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49598 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49599 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49602 # Have a temporary directory for convenience. Make it in the build tree
49603 # simply because there is no reason to put it here, and in addition,
49604 # creating and moving files from /tmp can sometimes cause problems.
49605 # Create a temporary directory, and hook for its removal unless debugging.
49608 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49609 trap '{ (exit 1); exit 1; }' 1 2 13 15
49612 # Create a (secure) tmp directory for tmp files.
49615 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49616 test -n "$tmp" && test -d "$tmp"
49619 tmp
=.
/confstat$$
-$RANDOM
49620 (umask 077 && mkdir $tmp)
49623 echo "$me: cannot create a temporary directory in ." >&2
49624 { (exit 1); exit 1; }
49629 cat >>$CONFIG_STATUS <<_ACEOF
49632 # CONFIG_FILES section.
49635 # No need to generate the scripts if there are no CONFIG_FILES.
49636 # This happens for instance when ./config.status config.h
49637 if test -n "\$CONFIG_FILES"; then
49638 # Protect against being on the right side of a sed subst in config.status.
49639 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49640 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49641 s,@SHELL@,$SHELL,;t t
49642 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49643 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49644 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49645 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49646 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49647 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49648 s,@exec_prefix@,$exec_prefix,;t t
49649 s,@prefix@,$prefix,;t t
49650 s,@program_transform_name@,$program_transform_name,;t t
49651 s,@bindir@,$bindir,;t t
49652 s,@sbindir@,$sbindir,;t t
49653 s,@libexecdir@,$libexecdir,;t t
49654 s,@datadir@,$datadir,;t t
49655 s,@sysconfdir@,$sysconfdir,;t t
49656 s,@sharedstatedir@,$sharedstatedir,;t t
49657 s,@localstatedir@,$localstatedir,;t t
49658 s,@libdir@,$libdir,;t t
49659 s,@includedir@,$includedir,;t t
49660 s,@oldincludedir@,$oldincludedir,;t t
49661 s,@infodir@,$infodir,;t t
49662 s,@mandir@,$mandir,;t t
49663 s,@build_alias@,$build_alias,;t t
49664 s,@host_alias@,$host_alias,;t t
49665 s,@target_alias@,$target_alias,;t t
49666 s,@DEFS@,$DEFS,;t t
49667 s,@ECHO_C@,$ECHO_C,;t t
49668 s,@ECHO_N@,$ECHO_N,;t t
49669 s,@ECHO_T@,$ECHO_T,;t t
49670 s,@LIBS@,$LIBS,;t t
49671 s,@build@,$build,;t t
49672 s,@build_cpu@,$build_cpu,;t t
49673 s,@build_vendor@,$build_vendor,;t t
49674 s,@build_os@,$build_os,;t t
49675 s,@host@,$host,;t t
49676 s,@host_cpu@,$host_cpu,;t t
49677 s,@host_vendor@,$host_vendor,;t t
49678 s,@host_os@,$host_os,;t t
49679 s,@target@,$target,;t t
49680 s,@target_cpu@,$target_cpu,;t t
49681 s,@target_vendor@,$target_vendor,;t t
49682 s,@target_os@,$target_os,;t t
49683 s,@wx_top_builddir@,$wx_top_builddir,;t t
49685 s,@CFLAGS@,$CFLAGS,;t t
49686 s,@LDFLAGS@,$LDFLAGS,;t t
49687 s,@CPPFLAGS@,$CPPFLAGS,;t t
49688 s,@ac_ct_CC@,$ac_ct_CC,;t t
49689 s,@EXEEXT@,$EXEEXT,;t t
49690 s,@OBJEXT@,$OBJEXT,;t t
49692 s,@EGREP@,$EGREP,;t t
49694 s,@CXXFLAGS@,$CXXFLAGS,;t t
49695 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49696 s,@RANLIB@,$RANLIB,;t t
49697 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49699 s,@ac_ct_AR@,$ac_ct_AR,;t t
49700 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49701 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49702 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49703 s,@STRIP@,$STRIP,;t t
49704 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49705 s,@WINDRES@,$WINDRES,;t t
49706 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49707 s,@DLLTOOL@,$DLLTOOL,;t t
49708 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49709 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49710 s,@LN_S@,$LN_S,;t t
49711 s,@subdirs@,$subdirs,;t t
49712 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49713 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49714 s,@GTK_LIBS@,$GTK_LIBS,;t t
49715 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49716 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49717 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
49718 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
49719 s,@X_CFLAGS@,$X_CFLAGS,;t t
49720 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49721 s,@X_LIBS@,$X_LIBS,;t t
49722 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49723 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49724 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49725 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49726 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49727 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49728 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49730 s,@DEREZ@,$DEREZ,;t t
49731 s,@SETFILE@,$SETFILE,;t t
49732 s,@LIBICONV@,$LIBICONV,;t t
49733 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49734 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49735 s,@SDL_LIBS@,$SDL_LIBS,;t t
49736 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49737 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49738 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49739 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49740 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49741 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49742 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
49743 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
49744 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49745 s,@GST_LIBS@,$GST_LIBS,;t t
49746 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49747 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49748 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49749 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49750 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49751 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49752 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49753 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49754 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49755 s,@VENDOR@,$VENDOR,;t t
49756 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49757 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49758 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49759 s,@WXUNIV@,$WXUNIV,;t t
49760 s,@MONOLITHIC@,$MONOLITHIC,;t t
49761 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49762 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
49763 s,@EXTRALIBS@,$EXTRALIBS,;t t
49764 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49765 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49766 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49767 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49768 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49769 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49770 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49771 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49772 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49773 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49774 s,@UNICODE@,$UNICODE,;t t
49775 s,@BUILD@,$BUILD,;t t
49776 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49777 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49778 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49779 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49780 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49781 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49782 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49783 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49784 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49785 s,@SET_MAKE@,$SET_MAKE,;t t
49786 s,@MAKE_SET@,$MAKE_SET,;t t
49787 s,@AROPTIONS@,$AROPTIONS,;t t
49789 s,@ac_ct_NM@,$ac_ct_NM,;t t
49790 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49791 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49792 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49793 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49794 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49795 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49796 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49797 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49798 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49799 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49800 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49801 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49802 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49803 s,@LIBPREFIX@,$LIBPREFIX,;t t
49804 s,@LIBEXT@,$LIBEXT,;t t
49805 s,@DLLPREFIX@,$DLLPREFIX,;t t
49806 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49807 s,@dlldir@,$dlldir,;t t
49808 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49809 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49810 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49811 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49812 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49813 s,@PIC_FLAG@,$PIC_FLAG,;t t
49814 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49815 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49816 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49817 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49818 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49819 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49820 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49821 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49822 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49823 s,@BK_DEPS@,$BK_DEPS,;t t
49824 s,@GCC_PCH@,$GCC_PCH,;t t
49825 s,@ICC_PCH@,$ICC_PCH,;t t
49826 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
49827 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49828 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49829 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49830 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49831 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49832 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49833 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49834 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49835 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49836 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49837 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49838 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49839 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49840 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49841 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49842 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49843 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49844 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49845 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49846 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49847 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
49848 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
49849 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
49850 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
49851 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49852 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49853 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
49854 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49855 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49856 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49857 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49858 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
49859 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
49860 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
49861 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
49862 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49863 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49864 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
49865 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49866 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
49867 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
49868 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
49869 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
49870 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
49871 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49872 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49873 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
49874 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
49875 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
49876 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
49877 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49878 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49879 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49880 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49881 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49882 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49883 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49884 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49885 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49886 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49887 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49888 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49889 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49890 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49891 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49892 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49893 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49894 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49895 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49896 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49897 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49898 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49899 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49900 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49901 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
49902 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
49903 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49904 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49905 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49906 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49907 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49908 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49909 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49910 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49911 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49912 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49913 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49914 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49915 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
49916 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49917 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49918 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49919 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49920 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49921 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49922 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49923 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49924 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49925 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49926 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49927 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49928 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
49929 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
49930 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49931 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49932 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49933 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49934 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
49935 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49936 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49937 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49938 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49939 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49940 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49941 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49942 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49943 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49944 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49945 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49946 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49947 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49948 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49949 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49950 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49951 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49952 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49953 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49954 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49955 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49956 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49957 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49958 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49959 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49960 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49961 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49962 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49963 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49964 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
49965 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49966 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49967 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49968 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49969 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49970 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49971 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49972 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49973 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49974 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49975 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49976 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49977 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49978 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49979 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49980 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49981 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
49982 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49983 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49984 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49985 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49986 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49987 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49988 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49989 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49990 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49991 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49992 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49993 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49994 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49995 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49996 s,@SHARED@,$SHARED,;t t
49997 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49998 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49999 s,@USE_GUI@,$USE_GUI,;t t
50000 s,@AFMINSTALL@,$AFMINSTALL,;t t
50001 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50002 s,@TOOLKIT@,$TOOLKIT,;t t
50003 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50004 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50005 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50006 s,@cross_compiling@,$cross_compiling,;t t
50007 s,@WIDGET_SET@,$WIDGET_SET,;t t
50008 s,@WX_RELEASE@,$WX_RELEASE,;t t
50009 s,@WX_VERSION@,$WX_VERSION,;t t
50010 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50011 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50012 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50013 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50014 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50015 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50016 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50017 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50018 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50019 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50020 s,@EXE_LINKER@,$EXE_LINKER,;t t
50021 s,@GUIDIST@,$GUIDIST,;t t
50022 s,@DISTDIR@,$DISTDIR,;t t
50023 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50024 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50025 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50026 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50027 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50028 s,@RESCOMP@,$RESCOMP,;t t
50029 s,@RESFLAGS@,$RESFLAGS,;t t
50030 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50031 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50032 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50033 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50034 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50035 s,@MACSETFILE@,$MACSETFILE,;t t
50037 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50038 s,@LIBOBJS@,$LIBOBJS,;t t
50039 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50044 cat >>$CONFIG_STATUS <<\_ACEOF
50045 # Split the substitutions into bite-sized pieces for seds with
50046 # small command number limits, like on Digital OSF/1 and HP-UX.
50047 ac_max_sed_lines
=48
50048 ac_sed_frag
=1 # Number of current file.
50049 ac_beg
=1 # First line for current file.
50050 ac_end
=$ac_max_sed_lines # Line after last line for current file.
50053 while $ac_more_lines; do
50054 if test $ac_beg -gt 1; then
50055 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50057 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
50059 if test ! -s $tmp/subs.frag
; then
50060 ac_more_lines
=false
50062 # The purpose of the label and of the branching condition is to
50063 # speed up the sed processing (if there are no `@' at all, there
50064 # is no need to browse any of the substitutions).
50065 # These are the two extra sed commands mentioned above.
50067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
50068 if test -z "$ac_sed_cmds"; then
50069 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
50071 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50073 ac_sed_frag
=`expr $ac_sed_frag + 1`
50075 ac_end
=`expr $ac_end + $ac_max_sed_lines`
50078 if test -z "$ac_sed_cmds"; then
50081 fi # test -n "$CONFIG_FILES"
50084 cat >>$CONFIG_STATUS <<\_ACEOF
50085 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
50086 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50088 - | *:- | *:-:* ) # input from stdin
50090 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50091 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50092 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50093 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50094 * ) ac_file_in
=$ac_file.
in ;;
50097 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50098 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50100 X"$ac_file" : 'X\(//\)[^/]' \| \
50101 X"$ac_file" : 'X\(//\)$' \| \
50102 X"$ac_file" : 'X\(/\)' \| \
50103 . : '\(.\)' 2>/dev/null ||
50105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50106 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50107 /^X\(\/\/\)$/{ s//\1/; q; }
50108 /^X\(\/\).*/{ s//\1/; q; }
50110 { if $as_mkdir_p; then
50115 while test ! -d "$as_dir"; do
50116 as_dirs
="$as_dir $as_dirs"
50117 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50119 X"$as_dir" : 'X\(//\)[^/]' \| \
50120 X"$as_dir" : 'X\(//\)$' \| \
50121 X"$as_dir" : 'X\(/\)' \| \
50122 . : '\(.\)' 2>/dev/null ||
50124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50126 /^X\(\/\/\)$/{ s//\1/; q; }
50127 /^X\(\/\).*/{ s//\1/; q; }
50130 test ! -n "$as_dirs" || mkdir $as_dirs
50131 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50132 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50133 { (exit 1); exit 1; }; }; }
50137 if test "$ac_dir" != .
; then
50138 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50139 # A "../" for each directory in $ac_dir_suffix.
50140 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50142 ac_dir_suffix
= ac_top_builddir
=
50146 .
) # No --srcdir option. We are building in place.
50148 if test -z "$ac_top_builddir"; then
50151 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50153 [\\/]* | ?
:[\\/]* ) # Absolute path.
50154 ac_srcdir
=$srcdir$ac_dir_suffix;
50155 ac_top_srcdir
=$srcdir ;;
50156 *) # Relative path.
50157 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50158 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50161 # Do not use `cd foo && pwd` to compute absolute paths, because
50162 # the directories may not exist.
50164 .
) ac_abs_builddir
="$ac_dir";;
50167 .
) ac_abs_builddir
=`pwd`;;
50168 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50169 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50172 case $ac_abs_builddir in
50173 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50175 case ${ac_top_builddir}.
in
50176 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50177 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50178 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50181 case $ac_abs_builddir in
50182 .
) ac_abs_srcdir
=$ac_srcdir;;
50185 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50186 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50187 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50190 case $ac_abs_builddir in
50191 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50193 case $ac_top_srcdir in
50194 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50195 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50196 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50202 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
50203 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
50206 if test x
"$ac_file" != x
-; then
50207 { echo "$as_me:$LINENO: creating $ac_file" >&5
50208 echo "$as_me: creating $ac_file" >&6;}
50211 # Let's still pretend it is `configure' which instantiates (i.e., don't
50212 # use $as_me), people would be surprised to read:
50213 # /* config.h. Generated by config.status. */
50214 if test x
"$ac_file" = x
-; then
50217 configure_input
="$ac_file. "
50219 configure_input
=$configure_input"Generated from `echo $ac_file_in |
50220 sed 's,.*/,,'` by configure."
50222 # First look for the input files in the build tree, otherwise in the
50224 ac_file_inputs
=`IFS=:
50225 for f in $ac_file_in; do
50227 -) echo $tmp/stdin ;;
50229 # Absolute (can't be DOS-style, as IFS=:)
50230 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50231 echo "$as_me: error: cannot find input file: $f" >&2;}
50232 { (exit 1); exit 1; }; }
50235 if test -f "$f"; then
50238 elif test -f "$srcdir/$f"; then
50243 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50244 echo "$as_me: error: cannot find input file: $f" >&2;}
50245 { (exit 1); exit 1; }; }
50248 done` || { (exit 1); exit 1; }
50250 cat >>$CONFIG_STATUS <<_ACEOF
50254 cat >>$CONFIG_STATUS <<\_ACEOF
50256 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
50257 s
,@configure_input@
,$configure_input,;t t
50258 s
,@srcdir@
,$ac_srcdir,;t t
50259 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
50260 s
,@top_srcdir@
,$ac_top_srcdir,;t t
50261 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
50262 s
,@builddir@
,$ac_builddir,;t t
50263 s
,@abs_builddir@
,$ac_abs_builddir,;t t
50264 s
,@top_builddir@
,$ac_top_builddir,;t t
50265 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
50266 s
,@INSTALL@
,$ac_INSTALL,;t t
50267 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50269 if test x"$ac_file" != x-; then
50270 mv $tmp/out $ac_file
50276 # Run the commands associated with the file.
50278 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50279 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50283 cat >>$CONFIG_STATUS <<\_ACEOF
50286 # CONFIG_HEADER section.
50289 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
50290 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50292 # ac_d sets the value in "#define NAME VALUE" lines.
50293 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50294 ac_dB
='[ ].*$,\1#\2'
50297 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50298 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50299 ac_uB
='$,\1#\2define\3'
50303 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
50304 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50306 - | *:- | *:-:* ) # input from stdin
50308 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50309 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50310 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50311 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
50312 * ) ac_file_in
=$ac_file.
in ;;
50315 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50316 echo "$as_me: creating $ac_file" >&6;}
50318 # First look for the input files in the build tree, otherwise in the
50320 ac_file_inputs
=`IFS=:
50321 for f in $ac_file_in; do
50323 -) echo $tmp/stdin ;;
50325 # Absolute (can't be DOS-style, as IFS=:)
50326 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50327 echo "$as_me: error: cannot find input file: $f" >&2;}
50328 { (exit 1); exit 1; }; }
50329 # Do quote $f, to prevent DOS paths from being IFS'd.
50332 if test -f "$f"; then
50335 elif test -f "$srcdir/$f"; then
50340 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50341 echo "$as_me: error: cannot find input file: $f" >&2;}
50342 { (exit 1); exit 1; }; }
50345 done` || { (exit 1); exit 1; }
50346 # Remove the trailing spaces.
50347 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50351 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50352 # `conftest.undefs', that substitutes the proper values into
50353 # config.h.in to produce config.h. The first handles `#define'
50354 # templates, and the second `#undef' templates.
50355 # And first: Protect against being on the right side of a sed subst in
50356 # config.status. Protect against being in an unquoted here document
50357 # in config.status.
50358 rm -f conftest.defines conftest.undefs
50359 # Using a here document instead of a string reduces the quoting nightmare.
50360 # Putting comments in sed scripts is not portable.
50362 # `end' is used to avoid that the second main sed command (meant for
50363 # 0-ary CPP macros) applies to n-ary macro definitions.
50364 # See the Autoconf documentation for `clear'.
50365 cat >confdef2sed.
sed <<\_ACEOF
50370 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50372 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50375 # If some macros were called several times there might be several times
50376 # the same #defines, which is useless. Nevertheless, we may not want to
50377 # sort them, since we want the *last* AC-DEFINE to be honored.
50378 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50379 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50380 rm -f confdef2sed.sed
50382 # This sed command replaces #undef with comments. This is necessary, for
50383 # example, in the case of _POSIX_SOURCE, which is predefined and required
50384 # on some systems where configure will not decide to define it.
50385 cat >>conftest.undefs <<\_ACEOF
50386 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50389 # Break up conftest.defines because some shells have a limit on the size
50390 # of here documents, and old seds have small limits too (100 cmds).
50391 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50392 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50393 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50394 echo ' :' >>$CONFIG_STATUS
50395 rm -f conftest.tail
50396 while grep . conftest.defines >/dev/null
50398 # Write a limited-size here document to $tmp/defines.sed.
50399 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50400 # Speed up: don't consider the non `#define' lines.
50401 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50402 # Work around the forget-to-reset-the-flag bug.
50403 echo 't clr' >>$CONFIG_STATUS
50404 echo ': clr' >>$CONFIG_STATUS
50405 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
50407 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50409 mv $tmp/out $tmp/in
50411 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
50412 rm -f conftest.defines
50413 mv conftest.
tail conftest.defines
50415 rm -f conftest.defines
50416 echo ' fi # grep' >>$CONFIG_STATUS
50417 echo >>$CONFIG_STATUS
50419 # Break up conftest.undefs because some shells have a limit on the size
50420 # of here documents, and old seds have small limits too (100 cmds).
50421 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50422 rm -f conftest.
tail
50423 while grep . conftest.undefs
>/dev
/null
50425 # Write a limited-size here document to $tmp/undefs.sed.
50426 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50427 # Speed up: don't consider the non
`#undef'
50428 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50429 # Work around the forget-to-reset-the-flag bug.
50430 echo 't clr' >>$CONFIG_STATUS
50431 echo ': clr' >>$CONFIG_STATUS
50432 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50434 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50436 mv $tmp/out $tmp/in
50438 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50439 rm -f conftest.undefs
50440 mv conftest.tail conftest.undefs
50442 rm -f conftest.undefs
50444 cat >>$CONFIG_STATUS <<\_ACEOF
50445 # Let's still pretend it is `configure
' which instantiates (i.e., don't
50446 # use $as_me), people would be surprised to read:
50447 # /* config.h. Generated by config.status. */
50448 if test x
"$ac_file" = x
-; then
50449 echo "/* Generated by configure. */" >$tmp/config.h
50451 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50453 cat $tmp/in >>$tmp/config.h
50455 if test x
"$ac_file" != x
-; then
50456 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
50457 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50458 echo "$as_me: $ac_file is unchanged" >&6;}
50460 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
50461 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50462 X"$ac_file" : 'X\(//\)[^/]' \| \
50463 X"$ac_file" : 'X\(//\)$' \| \
50464 X"$ac_file" : 'X\(/\)' \| \
50465 . : '\(.\)' 2>/dev/null ||
50467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50468 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50469 /^X\(\/\/\)$/{ s//\1/; q; }
50470 /^X\(\/\).*/{ s//\1/; q; }
50472 { if $as_mkdir_p; then
50477 while test ! -d "$as_dir"; do
50478 as_dirs
="$as_dir $as_dirs"
50479 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50481 X"$as_dir" : 'X\(//\)[^/]' \| \
50482 X"$as_dir" : 'X\(//\)$' \| \
50483 X"$as_dir" : 'X\(/\)' \| \
50484 . : '\(.\)' 2>/dev/null ||
50486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50488 /^X\(\/\/\)$/{ s//\1/; q; }
50489 /^X\(\/\).*/{ s//\1/; q; }
50492 test ! -n "$as_dirs" || mkdir $as_dirs
50493 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50494 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50495 { (exit 1); exit 1; }; }; }
50498 mv $tmp/config.h
$ac_file
50502 rm -f $tmp/config.h
50506 cat >>$CONFIG_STATUS <<\_ACEOF
50509 # CONFIG_COMMANDS section.
50511 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
50512 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
50513 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
50514 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
50515 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50516 X"$ac_dest" : 'X\(//\)[^/]' \| \
50517 X"$ac_dest" : 'X\(//\)$' \| \
50518 X"$ac_dest" : 'X\(/\)' \| \
50519 . : '\(.\)' 2>/dev/null ||
50521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50523 /^X\(\/\/\)$/{ s//\1/; q; }
50524 /^X\(\/\).*/{ s//\1/; q; }
50526 { if $as_mkdir_p; then
50531 while test ! -d "$as_dir"; do
50532 as_dirs
="$as_dir $as_dirs"
50533 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50534 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50535 X"$as_dir" : 'X\(//\)[^/]' \| \
50536 X"$as_dir" : 'X\(//\)$' \| \
50537 X"$as_dir" : 'X\(/\)' \| \
50538 . : '\(.\)' 2>/dev/null ||
50540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50542 /^X\(\/\/\)$/{ s//\1/; q; }
50543 /^X\(\/\).*/{ s//\1/; q; }
50546 test ! -n "$as_dirs" || mkdir $as_dirs
50547 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50548 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50549 { (exit 1); exit 1; }; }; }
50553 if test "$ac_dir" != .
; then
50554 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50555 # A "../" for each directory in $ac_dir_suffix.
50556 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50558 ac_dir_suffix
= ac_top_builddir
=
50562 .
) # No --srcdir option. We are building in place.
50564 if test -z "$ac_top_builddir"; then
50567 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50569 [\\/]* | ?
:[\\/]* ) # Absolute path.
50570 ac_srcdir
=$srcdir$ac_dir_suffix;
50571 ac_top_srcdir
=$srcdir ;;
50572 *) # Relative path.
50573 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50574 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50577 # Do not use `cd foo && pwd` to compute absolute paths, because
50578 # the directories may not exist.
50580 .
) ac_abs_builddir
="$ac_dir";;
50583 .
) ac_abs_builddir
=`pwd`;;
50584 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50585 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50588 case $ac_abs_builddir in
50589 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50591 case ${ac_top_builddir}.
in
50592 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50593 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50594 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50597 case $ac_abs_builddir in
50598 .
) ac_abs_srcdir
=$ac_srcdir;;
50601 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50602 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50603 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50606 case $ac_abs_builddir in
50607 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50609 case $ac_top_srcdir in
50610 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50611 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50612 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50617 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50618 echo "$as_me: executing $ac_dest commands" >&6;}
50621 mkdir -p $outdir &&
50622 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50624 wx
-config ) rm -f wx
-config
50625 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50631 cat >>$CONFIG_STATUS <<\_ACEOF
50633 { (exit 0); exit 0; }
50635 chmod +x
$CONFIG_STATUS
50636 ac_clean_files
=$ac_clean_files_save
50639 # configure is writing to config.log, and then calls config.status.
50640 # config.status does its own redirection, appending to config.log.
50641 # Unfortunately, on DOS this fails, as config.log is still kept open
50642 # by configure, so config.status won't be able to write to it; its
50643 # output is simply discarded. So we exec the FD to /dev/null,
50644 # effectively closing config.log, so it can be properly (re)opened and
50645 # appended to by config.status. When coming back to configure, we
50646 # need to make the FD available again.
50647 if test "$no_create" != yes; then
50649 ac_config_status_args
=
50650 test "$silent" = yes &&
50651 ac_config_status_args
="$ac_config_status_args --quiet"
50653 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50655 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50656 # would make configure fail if this is the last instruction.
50657 $ac_cs_success || { (exit 1); exit 1; }
50661 # CONFIG_SUBDIRS section.
50663 if test "$no_recursion" != yes; then
50665 # Remove --cache-file and --srcdir arguments so they do not pile up.
50666 ac_sub_configure_args
=
50668 for ac_arg
in $ac_configure_args; do
50669 if test -n "$ac_prev"; then
50674 -cache-file | --cache-file | --cache-fil | --cache-fi \
50675 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50676 ac_prev
=cache_file
;;
50677 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50678 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50681 --config-cache | -C)
50683 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50685 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50691 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50695 # Always prepend --prefix to ensure using the same prefix
50696 # in subdir configurations.
50697 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50700 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50702 # Do not complain, so a configure script can configure whichever
50703 # parts of a large source tree are present.
50704 test -d $srcdir/$ac_dir || continue
50706 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50707 echo "$as_me: configuring in $ac_dir" >&6;}
50708 { if $as_mkdir_p; then
50713 while test ! -d "$as_dir"; do
50714 as_dirs
="$as_dir $as_dirs"
50715 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50717 X"$as_dir" : 'X\(//\)[^/]' \| \
50718 X"$as_dir" : 'X\(//\)$' \| \
50719 X"$as_dir" : 'X\(/\)' \| \
50720 . : '\(.\)' 2>/dev/null ||
50722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50724 /^X\(\/\/\)$/{ s//\1/; q; }
50725 /^X\(\/\).*/{ s//\1/; q; }
50728 test ! -n "$as_dirs" || mkdir $as_dirs
50729 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50730 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50731 { (exit 1); exit 1; }; }; }
50735 if test "$ac_dir" != .
; then
50736 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50737 # A "../" for each directory in $ac_dir_suffix.
50738 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50740 ac_dir_suffix
= ac_top_builddir
=
50744 .
) # No --srcdir option. We are building in place.
50746 if test -z "$ac_top_builddir"; then
50749 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50751 [\\/]* | ?
:[\\/]* ) # Absolute path.
50752 ac_srcdir
=$srcdir$ac_dir_suffix;
50753 ac_top_srcdir
=$srcdir ;;
50754 *) # Relative path.
50755 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50756 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50759 # Do not use `cd foo && pwd` to compute absolute paths, because
50760 # the directories may not exist.
50762 .
) ac_abs_builddir
="$ac_dir";;
50765 .
) ac_abs_builddir
=`pwd`;;
50766 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50767 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50770 case $ac_abs_builddir in
50771 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50773 case ${ac_top_builddir}.
in
50774 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50775 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50776 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50779 case $ac_abs_builddir in
50780 .
) ac_abs_srcdir
=$ac_srcdir;;
50783 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50784 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50785 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50788 case $ac_abs_builddir in
50789 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50791 case $ac_top_srcdir in
50792 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50793 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50794 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50801 # Check for guested configure; otherwise get Cygnus style configure.
50802 if test -f $ac_srcdir/configure.gnu
; then
50803 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50804 elif test -f $ac_srcdir/configure
; then
50805 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50806 elif test -f $ac_srcdir/configure.
in; then
50807 ac_sub_configure
=$ac_configure
50809 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50810 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50814 # The recursion is here.
50815 if test -n "$ac_sub_configure"; then
50816 # Make the cache file name correct relative to the subdirectory.
50817 case $cache_file in
50818 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50819 *) # Relative path.
50820 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50823 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50824 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50825 # The eval makes quoting arguments work.
50826 eval $ac_sub_configure $ac_sub_configure_args \
50827 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50828 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50829 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50830 { (exit 1); exit 1; }; }
50839 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50841 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50842 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50844 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50845 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50846 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50848 echo " What level of wxWidgets compatibility should be enabled?"
50849 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50850 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50852 echo " Which libraries should wxWidgets use?"
50853 echo " jpeg ${wxUSE_LIBJPEG-none}"
50854 echo " png ${wxUSE_LIBPNG-none}"
50855 echo " regex ${wxUSE_REGEX}"
50856 echo " tiff ${wxUSE_LIBTIFF-none}"
50857 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50858 echo " xpm ${wxUSE_LIBXPM-none}"
50860 echo " zlib ${wxUSE_ZLIB}"
50861 echo " odbc ${wxUSE_ODBC}"
50862 echo " expat ${wxUSE_EXPAT}"
50863 echo " libmspack ${wxUSE_LIBMSPACK}"
50864 echo " sdl ${wxUSE_LIBSDL}"