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.6.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.6.0'
274 PACKAGE_STRING
='wxWidgets 2.6.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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT 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 ac_ct_AR ac_ct_STRIP 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 AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_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_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 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_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_XRC_1 COND_MONOLITHIC_0_SHARED_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_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_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 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_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_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_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 WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.6.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets
2.2 compatibility
893 --disable-compat24 disable wxWidgets
2.4 compatibility
894 --disable-rpath disable use of rpath
for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig
(and derived
) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP
(requires wxProtocol
899 --enable-http use wxHTTP
(requires wxProtocol
900 --enable-fileproto use wxFileProto class
(requires wxProtocol
901 --enable-sockets use socket
/network classes
902 --enable-ole use OLE classes
(Win32 only
)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication
(wxSocket etc.
)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-arcstream use wxArchive streams
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-debugreport use wxDebugReport class
912 --enable-dialupman use dialup network classes
913 --enable-dynlib use wxLibrary class
for DLL loading
914 --enable-dynamicloader use
(new
) wxDynamicLibrary class
915 --enable-exceptions build exception
-safe library
916 --enable-ffile use wxFFile class
917 --enable-file use wxFile class
918 --enable-filesystem use virtual
file systems classes
919 --enable-fontmap use font encodings conversion classes
920 --enable-fs_inet use virtual HTTP
/FTP filesystems
921 --enable-fs_zip use virtual ZIP filesystems
922 --enable-geometry use geometry class
923 --enable-log use logging system
924 --enable-longlong use wxLongLong class
925 --enable-mimetype use wxMimeTypesManager
926 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
927 --enable-snglinst use wxSingleInstanceChecker class
928 --enable-std_iostreams use standard C
++ stream classes
929 --enable-std_string use standard C
++ string classes
930 --enable-stdpaths use wxStandardPaths class
931 --enable-stopwatch use wxStopWatch class
932 --enable-streams use wxStream etc classes
933 --enable-sysoptions use wxSystemOptions
934 --enable-textbuf use wxTextBuffer class
935 --enable-textfile use wxTextFile class
936 --enable-timer use wxTimer class
937 --enable-unicode compile wxString with Unicode support
938 --enable-sound use wxSound class
939 --enable-mediactrl use wxMediaCtrl class
940 --enable-wxprintfv use wxWidgets implementation of vprintf
()
941 --enable-zipstream use wxZip streams
942 --enable-url use wxURL class
943 --enable-protocol use wxProtocol class
944 --enable-protocol-http HTTP support
in wxProtocol
945 --enable-protocol-ftp FTP support
in wxProtocol
946 --enable-protocol-file FILE support
in wxProtocol
947 --enable-threads use threads
948 --enable-docview use document view architecture
949 --enable-help use
help subsystem
950 --enable-mshtmlhelp use MS HTML Help
(win32
)
951 --enable-html use wxHTML sub
-library
952 --enable-htmlhelp use wxHTML
-based help
953 --enable-xrc use XRC resources sub
-library
954 --enable-constraints use layout
-constraints system
955 --enable-printarch use printing architecture
956 --enable-mdi use multiple document interface architecture
957 --enable-mdidoc use docview architecture with MDI
958 --enable-loggui use standard GUI logger
959 --enable-logwin use wxLogWindow
960 --enable-logdialog use wxLogDialog
961 --enable-webkit use wxWebKitCtrl
(Mac
)
962 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
963 --enable-prologio not available
; see contrib
964 --enable-resources not available
; see contrib
965 --enable-clipboard use wxClipboard class
966 --enable-dnd use Drag
'n'Drop classes
967 --enable-metafile use win32 metafiles
968 --enable-controls use all usual controls
969 --enable-accel use accelerators
970 --enable-button use wxButton class
971 --enable-bmpbutton use wxBitmapButton class
972 --enable-calendar use wxCalendarCtrl class
973 --enable-caret use wxCaret class
974 --enable-checkbox use wxCheckBox class
975 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
976 --enable-choice use wxChoice class
977 --enable-choicebook use wxChoicebook class
978 --enable-combobox use wxComboBox class
979 --enable-datepick use wxDatePickerCtrl class
980 --enable-display use wxDisplay class
981 --enable-gauge use wxGauge class
982 --enable-grid use wxGrid class
983 --enable-imaglist use wxImageList class
984 --enable-listbook use wxListbook class
985 --enable-listbox use wxListBox class
986 --enable-listctrl use wxListCtrl class
987 --enable-notebook use wxNotebook class
988 --enable-radiobox use wxRadioBox class
989 --enable-radiobtn use wxRadioButton class
990 --enable-sash use wxSashWindow class
991 --enable-scrollbar use wxScrollBar class and scrollable windows
992 --enable-slider use wxSlider class
993 --enable-spinbtn use wxSpinButton class
994 --enable-spinctrl use wxSpinCtrl class
995 --enable-splitter use wxSplitterWindow class
996 --enable-statbmp use wxStaticBitmap class
997 --enable-statbox use wxStaticBox class
998 --enable-statline use wxStaticLine class
999 --enable-stattext use wxStaticText class
1000 --enable-statusbar use wxStatusBar class
1001 --enable-tabdialog use wxTabControl class
1002 --enable-textctrl use wxTextCtrl class
1003 --enable-togglebtn use wxToggleButton class
1004 --enable-toolbar use wxToolBar class
1005 --enable-tbarnative use native wxToolBar class
1006 --enable-tbarsmpl use wxToolBarSimple class
1007 --enable-treectrl use wxTreeCtrl class
1008 --enable-tipwindow use wxTipWindow class
1009 --enable-popupwin use wxPopUpWindow class
1010 --enable-commondlg use all common dialogs
1011 --enable-choicedlg use wxChoiceDialog
1012 --enable-coldlg use wxColourDialog
1013 --enable-filedlg use wxFileDialog
1014 --enable-finddlg use wxFindReplaceDialog
1015 --enable-fontdlg use wxFontDialog
1016 --enable-dirdlg use wxDirDialog
1017 --enable-msgdlg use wxMessageDialog
1018 --enable-numberdlg use wxNumberEntryDialog
1019 --enable-splash use wxSplashScreen
1020 --enable-textdlg use wxTextDialog
1021 --enable-tipdlg use startup tips
1022 --enable-progressdlg use wxProgressDialog
1023 --enable-wizarddlg use wxWizard
1024 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1025 --enable-miniframe use wxMiniFrame class
1026 --enable-tooltips use wxToolTip class
1027 --enable-splines use spline drawing code
1028 --enable-mousewheel use mousewheel
1029 --enable-validators use wxValidator and derived classes
1030 --enable-busyinfo use wxBusyInfo
1031 --enable-joystick use wxJoystick
1032 --enable-metafiles use wxMetaFile
(Windows only
)
1033 --enable-dragimage use wxDragImage
1034 --enable-accessibility enable accessibility support
1035 --enable-palette use wxPalette class
1036 --enable-image use wxImage class
1037 --enable-gif use gif images
(GIF
file format
)
1038 --enable-pcx use pcx images
(PCX
file format
)
1039 --enable-iff use iff images
(IFF
file format
)
1040 --enable-pnm use pnm images
(PNM
file format
)
1041 --enable-xpm use xpm images
(XPM
file format
)
1042 --enable-icocur use Windows ICO and CUR formats
1043 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1044 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1045 --disable-largefile omit support
for large files
1046 --disable-gtktest do not try to compile and run a
test GTK
+ program
1047 --disable-gtktest Do not try to compile and run a
test GTK program
1048 --disable-sdltest Do not try to compile and run a
test SDL program
1049 --enable-omf use OMF object format
(OS
/2)
1050 --disable-precomp-headers
1051 don
't use precompiled headers even if compiler can
1054 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1055 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1056 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1057 --with-motif use Motif/Lesstif
1058 --with-mac use Mac OS X
1059 --with-cocoa use Cocoa
1060 --with-wine use Wine
1061 --with-msw use MS-Windows
1062 --with-pm use OS/2 Presentation Manager
1063 --with-mgl use SciTech MGL
1064 --with-microwin use MicroWindows
1066 --with-libpng use libpng (PNG image format)
1067 --with-libjpeg use libjpeg (JPEG file format)
1068 --with-libtiff use libtiff (TIFF file format)
1069 --with-libxpm use libxpm (XPM file format)
1070 --with-libmspack use libmspack (CHM help files loading)
1071 --with-sdl use SDL for audio on Unix
1072 --with-gnomeprint use GNOME print for printing under Unix
1073 --with-opengl use OpenGL (or Mesa)
1074 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1075 --with-regex enable support for wxRegEx class
1076 --with-zlib use zlib for LZW compression
1077 --with-odbc use the IODBC and wxODBC classes
1078 --with-expat enable XML support using expat parser
1079 --with-flavour=NAME specify a name to identify this build
1080 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1081 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1082 --with-x use the X Window System
1083 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1084 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1085 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1086 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1087 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1089 Some influential environment variables:
1090 CC C compiler command
1091 CFLAGS C compiler flags
1092 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1093 nonstandard directory <lib dir>
1094 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1095 headers in a nonstandard directory <include dir>
1097 CXX C++ compiler command
1098 CXXFLAGS C++ compiler flags
1099 CXXCPP C++ preprocessor
1101 Use these variables to override the choices made by `configure' or to
help
1102 it to
find libraries and programs with nonstandard names
/locations.
1104 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1108 if test "$ac_init_help" = "recursive"; then
1109 # If there are subdirs, report their specific --help.
1111 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1112 test -d $ac_dir || continue
1115 if test "$ac_dir" != .
; then
1116 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1117 # A "../" for each directory in $ac_dir_suffix.
1118 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1120 ac_dir_suffix
= ac_top_builddir
=
1124 .
) # No --srcdir option. We are building in place.
1126 if test -z "$ac_top_builddir"; then
1129 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1131 [\\/]* | ?
:[\\/]* ) # Absolute path.
1132 ac_srcdir
=$srcdir$ac_dir_suffix;
1133 ac_top_srcdir
=$srcdir ;;
1135 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1136 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1139 # Do not use `cd foo && pwd` to compute absolute paths, because
1140 # the directories may not exist.
1142 .
) ac_abs_builddir
="$ac_dir";;
1145 .
) ac_abs_builddir
=`pwd`;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1147 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1153 case ${ac_top_builddir}.
in
1154 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1156 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_srcdir
=$ac_srcdir;;
1163 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1165 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1168 case $ac_abs_builddir in
1169 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1171 case $ac_top_srcdir in
1172 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1173 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1174 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1179 # Check for guested configure; otherwise get Cygnus style configure.
1180 if test -f $ac_srcdir/configure.gnu
; then
1182 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1183 elif test -f $ac_srcdir/configure
; then
1185 $SHELL $ac_srcdir/configure
--help=recursive
1186 elif test -f $ac_srcdir/configure.ac
||
1187 test -f $ac_srcdir/configure.
in; then
1189 $ac_configure --help
1191 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1197 test -n "$ac_init_help" && exit 0
1198 if $ac_init_version; then
1200 wxWidgets configure
2.6.0
1201 generated by GNU Autoconf
2.59
1203 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1204 This configure
script is free software
; the Free Software Foundation
1205 gives unlimited permission to copy
, distribute and modify it.
1211 This file contains any messages produced by compilers while
1212 running configure, to aid debugging if configure makes a mistake.
1214 It was created by wxWidgets $as_me 2.6.0, which was
1215 generated by GNU Autoconf 2.59. Invocation command line was
1226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1238 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1249 test -z "$as_dir" && as_dir
=.
1250 echo "PATH: $as_dir"
1265 # Keep a trace of the command line.
1266 # Strip out --no-create and --no-recursion so they do not pile up.
1267 # Strip out --silent because we don't want to record it for future runs.
1268 # Also quote any args containing shell meta-characters.
1269 # Make two passes to allow for proper duplicate-argument suppression.
1274 ac_must_keep_next
=false
1280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1282 | -silent | --silent | --silen | --sile | --sil)
1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1285 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1288 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1290 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1291 if test $ac_must_keep_next = true
; then
1292 ac_must_keep_next
=false
# Got value, back to normal.
1295 *=* | --config-cache | -C | -disable-* | --disable-* \
1296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1298 | -with-* | --with-* | -without-* | --without-* | --x)
1299 case "$ac_configure_args0 " in
1300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1303 -* ) ac_must_keep_next
=true
;;
1306 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1307 # Get rid of the leading space.
1313 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1314 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1316 # When interrupted or exit'd, cleanup temporary files, and complete
1317 # config.log. We remove comments because anyway the quotes in there
1318 # would cause problems or look ugly.
1319 # WARNING: Be sure not to use single quotes in there, as some shells,
1320 # such as our DU 5.0 friend, will then `close' the trap.
1321 trap 'exit_status=$?
1322 # Save into config.log some information that might help in debugging.
1327 ## ---------------- ##
1328 ## Cache variables. ##
1329 ## ---------------- ##
1332 # The following way of writing the cache mishandles newlines in values,
1335 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1338 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1350 ## ----------------- ##
1351 ## Output variables. ##
1352 ## ----------------- ##
1355 for ac_var in $ac_subst_vars
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1362 if test -n "$ac_subst_files"; then
1369 for ac_var in $ac_subst_files
1371 eval ac_val=$`echo $ac_var`
1372 echo "$ac_var='"'"'$ac_val'"'"'"
1377 if test -s confdefs.h; then
1384 sed "/^$/d" confdefs.h | sort
1387 test "$ac_signal" != 0 &&
1388 echo "$as_me: caught signal $ac_signal"
1389 echo "$as_me: exit $exit_status"
1391 rm -f core *.core &&
1392 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1395 for ac_signal
in 1 2 13 15; do
1396 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1401 rm -rf conftest
* confdefs.h
1402 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1405 # Predefined preprocessor variables.
1407 cat >>confdefs.h
<<_ACEOF
1408 #define PACKAGE_NAME "$PACKAGE_NAME"
1412 cat >>confdefs.h
<<_ACEOF
1413 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1417 cat >>confdefs.h
<<_ACEOF
1418 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1422 cat >>confdefs.h
<<_ACEOF
1423 #define PACKAGE_STRING "$PACKAGE_STRING"
1427 cat >>confdefs.h
<<_ACEOF
1428 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1432 # Let the site file select an alternate cache file if it wants to.
1433 # Prefer explicitly selected file to automatically selected ones.
1434 if test -z "$CONFIG_SITE"; then
1435 if test "x$prefix" != xNONE
; then
1436 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1438 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1441 for ac_site_file
in $CONFIG_SITE; do
1442 if test -r "$ac_site_file"; then
1443 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1444 echo "$as_me: loading site script $ac_site_file" >&6;}
1445 sed 's/^/| /' "$ac_site_file" >&5
1450 if test -r "$cache_file"; then
1451 # Some versions of bash will fail to source /dev/null (special
1452 # files actually), so we avoid doing that.
1453 if test -f "$cache_file"; then
1454 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1455 echo "$as_me: loading cache $cache_file" >&6;}
1457 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1458 *) . .
/$cache_file;;
1462 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1463 echo "$as_me: creating cache $cache_file" >&6;}
1467 # Check that the precious variables saved in the cache have kept the same
1469 ac_cache_corrupted
=false
1470 for ac_var
in `(set) 2>&1 |
1471 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1472 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1473 eval ac_new_set
=\
$ac_env_${ac_var}_set
1474 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1475 eval ac_new_val
="\$ac_env_${ac_var}_value"
1476 case $ac_old_set,$ac_new_set in
1478 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1479 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1480 ac_cache_corrupted
=: ;;
1482 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1483 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1484 ac_cache_corrupted
=: ;;
1487 if test "x$ac_old_val" != "x$ac_new_val"; then
1488 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1489 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1490 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1491 echo "$as_me: former value: $ac_old_val" >&2;}
1492 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1493 echo "$as_me: current value: $ac_new_val" >&2;}
1494 ac_cache_corrupted
=:
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg
=$ac_var=$ac_new_val ;;
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1519 ac_cpp
='$CPP $CPPFLAGS'
1520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1554 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1555 if test -f $ac_dir/install-sh; then
1557 ac_install_sh
="$ac_aux_dir/install-sh -c"
1559 elif test -f $ac_dir/install.sh
; then
1561 ac_install_sh
="$ac_aux_dir/install.sh -c"
1563 elif test -f $ac_dir/shtool
; then
1565 ac_install_sh
="$ac_aux_dir/shtool install -c"
1569 if test -z "$ac_aux_dir"; then
1570 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1571 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1572 { (exit 1); exit 1; }; }
1574 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1575 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1576 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1578 # Make sure we can run config.sub.
1579 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1580 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1581 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1582 { (exit 1); exit 1; }; }
1584 echo "$as_me:$LINENO: checking build system type" >&5
1585 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1586 if test "${ac_cv_build+set}" = set; then
1587 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 ac_cv_build_alias
=$build_alias
1590 test -z "$ac_cv_build_alias" &&
1591 ac_cv_build_alias
=`$ac_config_guess`
1592 test -z "$ac_cv_build_alias" &&
1593 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1594 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1595 { (exit 1); exit 1; }; }
1596 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1597 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1598 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1599 { (exit 1); exit 1; }; }
1602 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1603 echo "${ECHO_T}$ac_cv_build" >&6
1605 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610 echo "$as_me:$LINENO: checking host system type" >&5
1611 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1612 if test "${ac_cv_host+set}" = set; then
1613 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 ac_cv_host_alias
=$host_alias
1616 test -z "$ac_cv_host_alias" &&
1617 ac_cv_host_alias
=$ac_cv_build_alias
1618 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1619 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1620 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1621 { (exit 1); exit 1; }; }
1624 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625 echo "${ECHO_T}$ac_cv_host" >&6
1627 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632 echo "$as_me:$LINENO: checking target system type" >&5
1633 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1634 if test "${ac_cv_target+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 ac_cv_target_alias
=$target_alias
1638 test "x$ac_cv_target_alias" = "x" &&
1639 ac_cv_target_alias
=$ac_cv_host_alias
1640 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1641 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1642 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1643 { (exit 1); exit 1; }; }
1646 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1647 echo "${ECHO_T}$ac_cv_target" >&6
1648 target
=$ac_cv_target
1649 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1650 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1651 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1654 # The aliases save the names the user supplied, while $host etc.
1655 # will get canonicalized.
1656 test -n "$target_alias" &&
1657 test "$program_prefix$program_suffix$program_transform_name" = \
1659 program_prefix
=${target_alias}-
1663 wx_major_version_number
=2
1664 wx_minor_version_number
=6
1666 wx_subrelease_number
=0
1668 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1669 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1670 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1672 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1688 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1694 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1700 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1702 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1704 DEFAULT_wxUSE_COCOA
=0
1708 DEFAULT_wxUSE_MICROWIN
=0
1709 DEFAULT_wxUSE_MOTIF
=0
1714 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1715 DEFAULT_DEFAULT_wxUSE_GTK
=0
1716 DEFAULT_DEFAULT_wxUSE_MAC
=0
1717 DEFAULT_DEFAULT_wxUSE_MGL
=0
1718 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1719 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1720 DEFAULT_DEFAULT_wxUSE_MSW
=0
1721 DEFAULT_DEFAULT_wxUSE_PM
=0
1722 DEFAULT_DEFAULT_wxUSE_X11
=0
1727 SAMPLES_RPATH_POSTLINK
=
1732 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1735 cat >>confdefs.h
<<\_ACEOF
1742 cat >>confdefs.h
<<\_ACEOF
1747 if test "x$TMP" = "xalpha"; then
1749 cat >>confdefs.h
<<\_ACEOF
1754 DEFAULT_DEFAULT_wxUSE_GTK
=1
1756 *-*-gnu* | *-*-k*bsd
*-gnu )
1759 if test "x$TMP" = "xalpha"; then
1761 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_GTK
=1
1768 *-*-irix5* | *-*-irix6* )
1771 cat >>confdefs.h
<<\_ACEOF
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1785 cat >>confdefs.h
<<\_ACEOF
1789 cat >>confdefs.h
<<\_ACEOF
1790 #define __SOLARIS__ 1
1793 cat >>confdefs.h
<<\_ACEOF
1797 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1804 cat >>confdefs.h
<<\_ACEOF
1808 cat >>confdefs.h
<<\_ACEOF
1812 cat >>confdefs.h
<<\_ACEOF
1816 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1821 cat >>confdefs.h
<<\_ACEOF
1822 #define __FREEBSD__ 1
1825 cat >>confdefs.h
<<\_ACEOF
1829 DEFAULT_DEFAULT_wxUSE_GTK
=1
1834 cat >>confdefs.h
<<\_ACEOF
1835 #define __OPENBSD__ 1
1838 cat >>confdefs.h
<<\_ACEOF
1842 DEFAULT_DEFAULT_wxUSE_GTK
=1
1847 cat >>confdefs.h
<<\_ACEOF
1848 #define __NETBSD__ 1
1851 cat >>confdefs.h
<<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_GTK
=1
1860 cat >>confdefs.h
<<\_ACEOF
1864 cat >>confdefs.h
<<\_ACEOF
1868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 cat >>confdefs.h
<<\_ACEOF
1878 cat >>confdefs.h
<<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1902 cat >>confdefs.h
<<\_ACEOF
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 cat >>confdefs.h
<<\_ACEOF
1922 #define __UNIXWARE__ 1
1927 *-*-cygwin* | *-*-mingw32* )
1931 DEFAULT_DEFAULT_wxUSE_MSW
=1
1937 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_MGL
=1
1943 LIBS
="$LIBS -lstdc++"
1946 *-pc-os2_emx | *-pc-os2-emx )
1947 cat >>confdefs.h
<<\_ACEOF
1952 cat >>confdefs.h
<<\_ACEOF
1957 DEFAULT_DEFAULT_wxUSE_PM
=1
1959 LDFLAGS
="$LDFLAGS -Zcrtdll"
1960 ac_executable_extensions
=".exe"
1961 export ac_executable_extensions
1965 for ac_dir
in $PATH; do
1967 if test -z "$ac_TEMP_PATH"; then
1968 ac_TEMP_PATH
="$ac_dir"
1970 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1973 export PATH
="$ac_TEMP_PATH"
1981 cat >>confdefs.h
<<\_ACEOF
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define __DARWIN__ 1
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define TARGET_CARBON 1
1993 DEFAULT_DEFAULT_wxUSE_MAC
=1
1995 powerpc
-apple-macos* )
1997 ac_cv_c_bigendian
=yes
1999 DEFAULT_DEFAULT_wxUSE_MAC
=1
2004 cat >>confdefs.h
<<\_ACEOF
2011 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2012 echo "$as_me: error: unknown system type ${host}." >&2;}
2013 { (exit 1); exit 1; }; }
2019 wx_arg_cache_file
="configarg.cache"
2020 echo "loading argument cache $wx_arg_cache_file"
2021 rm -f ${wx_arg_cache_file}.tmp
2022 touch ${wx_arg_cache_file}.tmp
2023 touch ${wx_arg_cache_file}
2027 if test $DEBUG_CONFIGURE = 1; then
2028 DEFAULT_wxUSE_UNIVERSAL
=no
2029 DEFAULT_wxUSE_STL
=no
2031 DEFAULT_wxUSE_NANOX
=no
2033 DEFAULT_wxUSE_THREADS
=yes
2035 DEFAULT_wxUSE_SHARED
=yes
2036 DEFAULT_wxUSE_OPTIMISE
=no
2037 DEFAULT_wxUSE_PROFILE
=no
2038 DEFAULT_wxUSE_NO_DEPS
=no
2039 DEFAULT_wxUSE_NO_RTTI
=no
2040 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2041 DEFAULT_wxUSE_RPATH
=yes
2042 DEFAULT_wxUSE_PERMISSIVE
=no
2043 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2044 DEFAULT_wxUSE_DEBUG_INFO
=yes
2045 DEFAULT_wxUSE_DEBUG_GDB
=yes
2046 DEFAULT_wxUSE_MEM_TRACING
=no
2047 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2048 DEFAULT_wxUSE_DMALLOC
=no
2049 DEFAULT_wxUSE_APPLE_IEEE
=no
2051 DEFAULT_wxUSE_EXCEPTIONS
=no
2052 DEFAULT_wxUSE_LOG
=yes
2053 DEFAULT_wxUSE_LOGWINDOW
=no
2054 DEFAULT_wxUSE_LOGGUI
=no
2055 DEFAULT_wxUSE_LOGDIALOG
=no
2057 DEFAULT_wxUSE_GUI
=yes
2058 DEFAULT_wxUSE_CONTROLS
=no
2060 DEFAULT_wxUSE_REGEX
=no
2061 DEFAULT_wxUSE_XML
=no
2062 DEFAULT_wxUSE_EXPAT
=no
2063 DEFAULT_wxUSE_ZLIB
=no
2064 DEFAULT_wxUSE_LIBPNG
=no
2065 DEFAULT_wxUSE_LIBJPEG
=no
2066 DEFAULT_wxUSE_LIBTIFF
=no
2067 DEFAULT_wxUSE_LIBXPM
=no
2068 DEFAULT_wxUSE_LIBMSPACK
=no
2069 DEFAULT_wxUSE_LIBSDL
=no
2070 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2071 DEFAULT_wxUSE_ODBC
=no
2072 DEFAULT_wxUSE_OPENGL
=no
2074 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2075 DEFAULT_wxUSE_STACKWALKER
=no
2076 DEFAULT_wxUSE_DEBUGREPORT
=no
2077 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2078 DEFAULT_wxUSE_STD_IOSTREAM
=no
2079 DEFAULT_wxUSE_STD_STRING
=no
2080 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2081 DEFAULT_wxUSE_DATETIME
=no
2082 DEFAULT_wxUSE_TIMER
=no
2083 DEFAULT_wxUSE_STOPWATCH
=no
2084 DEFAULT_wxUSE_FILE
=no
2085 DEFAULT_wxUSE_FFILE
=no
2086 DEFAULT_wxUSE_STDPATHS
=no
2087 DEFAULT_wxUSE_TEXTBUFFER
=no
2088 DEFAULT_wxUSE_TEXTFILE
=no
2089 DEFAULT_wxUSE_SOUND
=no
2090 DEFAULT_wxUSE_MEDIACTRL
=no
2091 DEFAULT_wxUSE_DIRECTSHOW
=no
2092 DEFAULT_wxUSE_INTL
=no
2093 DEFAULT_wxUSE_CONFIG
=no
2094 DEFAULT_wxUSE_FONTMAP
=no
2095 DEFAULT_wxUSE_STREAMS
=no
2096 DEFAULT_wxUSE_SOCKETS
=no
2097 DEFAULT_wxUSE_OLE
=no
2098 DEFAULT_wxUSE_DATAOBJ
=no
2099 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2100 DEFAULT_wxUSE_JOYSTICK
=no
2101 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2102 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2103 DEFAULT_wxUSE_LONGLONG
=no
2104 DEFAULT_wxUSE_GEOMETRY
=no
2106 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2107 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2108 DEFAULT_wxUSE_POSTSCRIPT
=no
2110 DEFAULT_wxUSE_CLIPBOARD
=no
2111 DEFAULT_wxUSE_TOOLTIPS
=no
2112 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2113 DEFAULT_wxUSE_DRAGIMAGE
=no
2114 DEFAULT_wxUSE_SPLINES
=no
2115 DEFAULT_wxUSE_MOUSEWHEEL
=no
2117 DEFAULT_wxUSE_MDI
=no
2118 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2119 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2120 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2122 DEFAULT_wxUSE_RESOURCES
=no
2123 DEFAULT_wxUSE_CONSTRAINTS
=no
2124 DEFAULT_wxUSE_IPC
=no
2125 DEFAULT_wxUSE_HELP
=no
2126 DEFAULT_wxUSE_MS_HTML_HELP
=no
2127 DEFAULT_wxUSE_WXHTML_HELP
=no
2128 DEFAULT_wxUSE_TREELAYOUT
=no
2129 DEFAULT_wxUSE_METAFILE
=no
2130 DEFAULT_wxUSE_MIMETYPE
=no
2131 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2132 DEFAULT_wxUSE_PROTOCOL
=no
2133 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2134 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2135 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2136 DEFAULT_wxUSE_URL
=no
2138 DEFAULT_wxUSE_COMMONDLGS
=no
2139 DEFAULT_wxUSE_CHOICEDLG
=no
2140 DEFAULT_wxUSE_COLOURDLG
=no
2141 DEFAULT_wxUSE_DIRDLG
=no
2142 DEFAULT_wxUSE_FILEDLG
=no
2143 DEFAULT_wxUSE_FINDREPLDLG
=no
2144 DEFAULT_wxUSE_FONTDLG
=no
2145 DEFAULT_wxUSE_MSGDLG
=no
2146 DEFAULT_wxUSE_NUMBERDLG
=no
2147 DEFAULT_wxUSE_TEXTDLG
=no
2148 DEFAULT_wxUSE_SPLASH
=no
2149 DEFAULT_wxUSE_STARTUP_TIPS
=no
2150 DEFAULT_wxUSE_PROGRESSDLG
=no
2151 DEFAULT_wxUSE_WIZARDDLG
=no
2153 DEFAULT_wxUSE_MENUS
=no
2154 DEFAULT_wxUSE_MINIFRAME
=no
2155 DEFAULT_wxUSE_HTML
=no
2156 DEFAULT_wxUSE_XRC
=no
2157 DEFAULT_wxUSE_WEBKIT
=no
2158 DEFAULT_wxUSE_FILESYSTEM
=no
2159 DEFAULT_wxUSE_FS_INET
=no
2160 DEFAULT_wxUSE_FS_ZIP
=no
2161 DEFAULT_wxUSE_BUSYINFO
=no
2162 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2163 DEFAULT_wxUSE_ZIPSTREAM
=no
2164 DEFAULT_wxUSE_VALIDATORS
=no
2166 DEFAULT_wxUSE_ACCEL
=no
2167 DEFAULT_wxUSE_BUTTON
=no
2168 DEFAULT_wxUSE_BMPBUTTON
=no
2169 DEFAULT_wxUSE_CALCTRL
=no
2170 DEFAULT_wxUSE_CARET
=no
2171 DEFAULT_wxUSE_CHECKBOX
=no
2172 DEFAULT_wxUSE_CHECKLST
=no
2173 DEFAULT_wxUSE_CHOICE
=no
2174 DEFAULT_wxUSE_CHOICEBOOK
=no
2175 DEFAULT_wxUSE_COMBOBOX
=no
2176 DEFAULT_wxUSE_DATEPICKCTRL
=no
2177 DEFAULT_wxUSE_DISPLAY
=no
2178 DEFAULT_wxUSE_GAUGE
=no
2179 DEFAULT_wxUSE_GRID
=no
2180 DEFAULT_wxUSE_IMAGLIST
=no
2181 DEFAULT_wxUSE_LISTBOOK
=no
2182 DEFAULT_wxUSE_LISTBOX
=no
2183 DEFAULT_wxUSE_LISTCTRL
=no
2184 DEFAULT_wxUSE_NOTEBOOK
=no
2185 DEFAULT_wxUSE_RADIOBOX
=no
2186 DEFAULT_wxUSE_RADIOBTN
=no
2187 DEFAULT_wxUSE_SASH
=no
2188 DEFAULT_wxUSE_SCROLLBAR
=no
2189 DEFAULT_wxUSE_SLIDER
=no
2190 DEFAULT_wxUSE_SPINBTN
=no
2191 DEFAULT_wxUSE_SPINCTRL
=no
2192 DEFAULT_wxUSE_SPLITTER
=no
2193 DEFAULT_wxUSE_STATBMP
=no
2194 DEFAULT_wxUSE_STATBOX
=no
2195 DEFAULT_wxUSE_STATLINE
=no
2196 DEFAULT_wxUSE_STATTEXT
=no
2197 DEFAULT_wxUSE_STATUSBAR
=yes
2198 DEFAULT_wxUSE_TABDIALOG
=no
2199 DEFAULT_wxUSE_TEXTCTRL
=no
2200 DEFAULT_wxUSE_TOGGLEBTN
=no
2201 DEFAULT_wxUSE_TOOLBAR
=no
2202 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2203 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2204 DEFAULT_wxUSE_TREECTRL
=no
2205 DEFAULT_wxUSE_POPUPWIN
=no
2206 DEFAULT_wxUSE_TIPWINDOW
=no
2208 DEFAULT_wxUSE_UNICODE
=no
2209 DEFAULT_wxUSE_UNICODE_MSLU
=no
2210 DEFAULT_wxUSE_WCSRTOMBS
=no
2212 DEFAULT_wxUSE_PALETTE
=no
2213 DEFAULT_wxUSE_IMAGE
=no
2214 DEFAULT_wxUSE_GIF
=no
2215 DEFAULT_wxUSE_PCX
=no
2216 DEFAULT_wxUSE_PNM
=no
2217 DEFAULT_wxUSE_IFF
=no
2218 DEFAULT_wxUSE_XPM
=no
2219 DEFAULT_wxUSE_ICO_CUR
=no
2220 DEFAULT_wxUSE_ACCESSIBILITY
=no
2222 DEFAULT_wxUSE_MONOLITHIC
=no
2223 DEFAULT_wxUSE_PLUGINS
=no
2224 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2226 DEFAULT_wxUSE_UNIVERSAL
=no
2227 DEFAULT_wxUSE_STL
=no
2229 DEFAULT_wxUSE_NANOX
=no
2231 DEFAULT_wxUSE_THREADS
=yes
2233 DEFAULT_wxUSE_SHARED
=yes
2234 DEFAULT_wxUSE_OPTIMISE
=yes
2235 DEFAULT_wxUSE_PROFILE
=no
2236 DEFAULT_wxUSE_NO_DEPS
=no
2237 DEFAULT_wxUSE_NO_RTTI
=no
2238 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2239 DEFAULT_wxUSE_RPATH
=yes
2240 DEFAULT_wxUSE_PERMISSIVE
=no
2241 DEFAULT_wxUSE_DEBUG_FLAG
=no
2242 DEFAULT_wxUSE_DEBUG_INFO
=no
2243 DEFAULT_wxUSE_DEBUG_GDB
=no
2244 DEFAULT_wxUSE_MEM_TRACING
=no
2245 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2246 DEFAULT_wxUSE_DMALLOC
=no
2247 DEFAULT_wxUSE_APPLE_IEEE
=yes
2249 DEFAULT_wxUSE_EXCEPTIONS
=yes
2250 DEFAULT_wxUSE_LOG
=yes
2251 DEFAULT_wxUSE_LOGWINDOW
=yes
2252 DEFAULT_wxUSE_LOGGUI
=yes
2253 DEFAULT_wxUSE_LOGDIALOG
=yes
2255 DEFAULT_wxUSE_GUI
=yes
2257 DEFAULT_wxUSE_REGEX
=yes
2258 DEFAULT_wxUSE_XML
=yes
2259 DEFAULT_wxUSE_EXPAT
=yes
2260 DEFAULT_wxUSE_ZLIB
=yes
2261 DEFAULT_wxUSE_LIBPNG
=yes
2262 DEFAULT_wxUSE_LIBJPEG
=yes
2263 DEFAULT_wxUSE_LIBTIFF
=yes
2264 DEFAULT_wxUSE_LIBXPM
=yes
2265 DEFAULT_wxUSE_LIBMSPACK
=yes
2266 DEFAULT_wxUSE_LIBSDL
=no
2267 DEFAULT_wxUSE_LIBGNOMEPRINT
=yes
2268 DEFAULT_wxUSE_ODBC
=no
2269 DEFAULT_wxUSE_OPENGL
=no
2271 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2272 DEFAULT_wxUSE_STACKWALKER
=yes
2273 DEFAULT_wxUSE_DEBUGREPORT
=yes
2274 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2275 DEFAULT_wxUSE_STD_IOSTREAM
=yes
2276 DEFAULT_wxUSE_STD_STRING
=yes
2277 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2278 DEFAULT_wxUSE_DATETIME
=yes
2279 DEFAULT_wxUSE_TIMER
=yes
2280 DEFAULT_wxUSE_STOPWATCH
=yes
2281 DEFAULT_wxUSE_FILE
=yes
2282 DEFAULT_wxUSE_FFILE
=yes
2283 DEFAULT_wxUSE_STDPATHS
=yes
2284 DEFAULT_wxUSE_TEXTBUFFER
=yes
2285 DEFAULT_wxUSE_TEXTFILE
=yes
2286 DEFAULT_wxUSE_SOUND
=yes
2287 DEFAULT_wxUSE_MEDIACTRL
=no
2288 DEFAULT_wxUSE_DIRECTSHOW
=no
2289 DEFAULT_wxUSE_INTL
=yes
2290 DEFAULT_wxUSE_CONFIG
=yes
2291 DEFAULT_wxUSE_FONTMAP
=yes
2292 DEFAULT_wxUSE_STREAMS
=yes
2293 DEFAULT_wxUSE_SOCKETS
=yes
2294 DEFAULT_wxUSE_OLE
=yes
2295 DEFAULT_wxUSE_DATAOBJ
=yes
2296 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2297 DEFAULT_wxUSE_JOYSTICK
=yes
2298 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2299 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2300 DEFAULT_wxUSE_LONGLONG
=yes
2301 DEFAULT_wxUSE_GEOMETRY
=yes
2303 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2304 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2305 DEFAULT_wxUSE_POSTSCRIPT
=yes
2307 DEFAULT_wxUSE_CLIPBOARD
=yes
2308 DEFAULT_wxUSE_TOOLTIPS
=yes
2309 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2310 DEFAULT_wxUSE_DRAGIMAGE
=yes
2311 DEFAULT_wxUSE_SPLINES
=yes
2312 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2314 DEFAULT_wxUSE_MDI
=yes
2315 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2316 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2317 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2319 DEFAULT_wxUSE_RESOURCES
=no
2320 DEFAULT_wxUSE_CONSTRAINTS
=yes
2321 DEFAULT_wxUSE_IPC
=yes
2322 DEFAULT_wxUSE_HELP
=yes
2323 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2324 DEFAULT_wxUSE_WXHTML_HELP
=yes
2325 DEFAULT_wxUSE_TREELAYOUT
=yes
2326 DEFAULT_wxUSE_METAFILE
=yes
2327 DEFAULT_wxUSE_MIMETYPE
=yes
2328 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2329 DEFAULT_wxUSE_PROTOCOL
=yes
2330 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2331 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2332 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2333 DEFAULT_wxUSE_URL
=yes
2335 DEFAULT_wxUSE_COMMONDLGS
=yes
2336 DEFAULT_wxUSE_CHOICEDLG
=yes
2337 DEFAULT_wxUSE_COLOURDLG
=yes
2338 DEFAULT_wxUSE_DIRDLG
=yes
2339 DEFAULT_wxUSE_FILEDLG
=yes
2340 DEFAULT_wxUSE_FINDREPLDLG
=yes
2341 DEFAULT_wxUSE_FONTDLG
=yes
2342 DEFAULT_wxUSE_MSGDLG
=yes
2343 DEFAULT_wxUSE_NUMBERDLG
=yes
2344 DEFAULT_wxUSE_TEXTDLG
=yes
2345 DEFAULT_wxUSE_SPLASH
=yes
2346 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2347 DEFAULT_wxUSE_PROGRESSDLG
=yes
2348 DEFAULT_wxUSE_WIZARDDLG
=yes
2350 DEFAULT_wxUSE_MENUS
=yes
2351 DEFAULT_wxUSE_MINIFRAME
=yes
2352 DEFAULT_wxUSE_HTML
=yes
2353 DEFAULT_wxUSE_XRC
=yes
2354 DEFAULT_wxUSE_WEBKIT
=yes
2355 DEFAULT_wxUSE_FILESYSTEM
=yes
2356 DEFAULT_wxUSE_FS_INET
=yes
2357 DEFAULT_wxUSE_FS_ZIP
=yes
2358 DEFAULT_wxUSE_BUSYINFO
=yes
2359 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2360 DEFAULT_wxUSE_ZIPSTREAM
=yes
2361 DEFAULT_wxUSE_VALIDATORS
=yes
2363 DEFAULT_wxUSE_ACCEL
=yes
2364 DEFAULT_wxUSE_BUTTON
=yes
2365 DEFAULT_wxUSE_BMPBUTTON
=yes
2366 DEFAULT_wxUSE_CALCTRL
=yes
2367 DEFAULT_wxUSE_CARET
=yes
2368 DEFAULT_wxUSE_CHECKBOX
=yes
2369 DEFAULT_wxUSE_CHECKLST
=yes
2370 DEFAULT_wxUSE_CHOICE
=yes
2371 DEFAULT_wxUSE_CHOICEBOOK
=yes
2372 DEFAULT_wxUSE_COMBOBOX
=yes
2373 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2374 DEFAULT_wxUSE_DISPLAY
=yes
2375 DEFAULT_wxUSE_GAUGE
=yes
2376 DEFAULT_wxUSE_GRID
=yes
2377 DEFAULT_wxUSE_IMAGLIST
=yes
2378 DEFAULT_wxUSE_LISTBOOK
=yes
2379 DEFAULT_wxUSE_LISTBOX
=yes
2380 DEFAULT_wxUSE_LISTCTRL
=yes
2381 DEFAULT_wxUSE_NOTEBOOK
=yes
2382 DEFAULT_wxUSE_RADIOBOX
=yes
2383 DEFAULT_wxUSE_RADIOBTN
=yes
2384 DEFAULT_wxUSE_SASH
=yes
2385 DEFAULT_wxUSE_SCROLLBAR
=yes
2386 DEFAULT_wxUSE_SLIDER
=yes
2387 DEFAULT_wxUSE_SPINBTN
=yes
2388 DEFAULT_wxUSE_SPINCTRL
=yes
2389 DEFAULT_wxUSE_SPLITTER
=yes
2390 DEFAULT_wxUSE_STATBMP
=yes
2391 DEFAULT_wxUSE_STATBOX
=yes
2392 DEFAULT_wxUSE_STATLINE
=yes
2393 DEFAULT_wxUSE_STATTEXT
=yes
2394 DEFAULT_wxUSE_STATUSBAR
=yes
2395 DEFAULT_wxUSE_TABDIALOG
=no
2396 DEFAULT_wxUSE_TEXTCTRL
=yes
2397 DEFAULT_wxUSE_TOGGLEBTN
=yes
2398 DEFAULT_wxUSE_TOOLBAR
=yes
2399 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2400 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2401 DEFAULT_wxUSE_TREECTRL
=yes
2402 DEFAULT_wxUSE_POPUPWIN
=yes
2403 DEFAULT_wxUSE_TIPWINDOW
=yes
2405 DEFAULT_wxUSE_UNICODE
=no
2406 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2407 DEFAULT_wxUSE_WCSRTOMBS
=no
2409 DEFAULT_wxUSE_PALETTE
=yes
2410 DEFAULT_wxUSE_IMAGE
=yes
2411 DEFAULT_wxUSE_GIF
=yes
2412 DEFAULT_wxUSE_PCX
=yes
2413 DEFAULT_wxUSE_IFF
=no
2414 DEFAULT_wxUSE_PNM
=yes
2415 DEFAULT_wxUSE_XPM
=yes
2416 DEFAULT_wxUSE_ICO_CUR
=yes
2417 DEFAULT_wxUSE_ACCESSIBILITY
=no
2419 DEFAULT_wxUSE_MONOLITHIC
=no
2420 DEFAULT_wxUSE_PLUGINS
=no
2421 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2423 DEFAULT_wxUSE_GTK2
=yes
2429 for toolkit
in `echo $ALL_TOOLKITS`; do
2430 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2431 if test "x$LINE" != "x" ; then
2432 has_toolkit_in_cache
=1
2433 eval "DEFAULT_$LINE"
2434 eval "CACHE_$toolkit=1"
2436 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 eval "DEFAULT_$LINE"
2446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2447 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 # Check whether --enable-gui or --disable-gui was given.
2450 if test "${enable_gui+set}" = set; then
2451 enableval
="$enable_gui"
2453 if test "$enableval" = yes; then
2454 ac_cv_use_gui
='wxUSE_GUI=yes'
2456 ac_cv_use_gui
='wxUSE_GUI=no'
2461 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2462 if test "x$LINE" != x
; then
2463 eval "DEFAULT_$LINE"
2468 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472 eval "$ac_cv_use_gui"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2477 if test "$wxUSE_GUI" = yes; then
2478 echo "$as_me:$LINENO: result: yes" >&5
2479 echo "${ECHO_T}yes" >&6
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 # Check whether --enable-monolithic or --disable-monolithic was given.
2491 if test "${enable_monolithic+set}" = set; then
2492 enableval
="$enable_monolithic"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2502 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513 eval "$ac_cv_use_monolithic"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_MONOLITHIC" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2529 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 # Check whether --enable-plugins or --disable-plugins was given.
2532 if test "${enable_plugins+set}" = set; then
2533 enableval
="$enable_plugins"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2538 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2543 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554 eval "$ac_cv_use_plugins"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_PLUGINS" = yes; then
2560 echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2568 if test "$wxUSE_GUI" = "yes"; then
2572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2573 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2575 # Check whether --enable-universal or --disable-universal was given.
2576 if test "${enable_universal+set}" = set; then
2577 enableval
="$enable_universal"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2587 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598 eval "$ac_cv_use_universal"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2603 if test "$wxUSE_UNIVERSAL" = yes; then
2604 echo "$as_me:$LINENO: result: yes" >&5
2605 echo "${ECHO_T}yes" >&6
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2612 # Check whether --with-gtk or --without-gtk was given.
2613 if test "${with_gtk+set}" = set; then
2615 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-motif or --without-motif was given.
2619 if test "${with_motif+set}" = set; then
2620 withval
="$with_motif"
2621 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-mac or --without-mac was given.
2625 if test "${with_mac+set}" = set; then
2627 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2630 # Check whether --with-cocoa or --without-cocoa was given.
2631 if test "${with_cocoa+set}" = set; then
2632 withval
="$with_cocoa"
2633 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-wine or --without-wine was given.
2637 if test "${with_wine+set}" = set; then
2638 withval
="$with_wine"
2639 wxUSE_WINE
="$withval" CACHE_WINE
=1
2642 # Check whether --with-msw or --without-msw was given.
2643 if test "${with_msw+set}" = set; then
2645 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-pm or --without-pm was given.
2649 if test "${with_pm+set}" = set; then
2651 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-mgl or --without-mgl was given.
2655 if test "${with_mgl+set}" = set; then
2657 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2660 # Check whether --with-microwin or --without-microwin was given.
2661 if test "${with_microwin+set}" = set; then
2662 withval
="$with_microwin"
2663 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2666 # Check whether --with-x11 or --without-x11 was given.
2667 if test "${with_x11+set}" = set; then
2669 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2676 # Check whether --enable-nanox or --disable-nanox was given.
2677 if test "${enable_nanox+set}" = set; then
2678 enableval
="$enable_nanox"
2680 if test "$enableval" = yes; then
2681 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2683 ac_cv_use_nanox
='wxUSE_NANOX=no'
2688 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x
; then
2690 eval "DEFAULT_$LINE"
2695 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699 eval "$ac_cv_use_nanox"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_NANOX" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2713 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2714 if test "${enable_gtk2+set}" = set; then
2715 enableval
="$enable_gtk2"
2716 wxUSE_GTK2
="$enableval"
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2723 # Check whether --enable-gpe or --disable-gpe was given.
2724 if test "${enable_gpe+set}" = set; then
2725 enableval
="$enable_gpe"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_gpe
='wxUSE_GPE=yes'
2730 ac_cv_use_gpe
='wxUSE_GPE=no'
2735 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746 eval "$ac_cv_use_gpe"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_GPE" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2761 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2762 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2765 # Check whether --with-libpng or --without-libpng was given.
2766 if test "${with_libpng+set}" = set; then
2767 withval
="$with_libpng"
2769 if test "$withval" = yes; then
2770 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2771 elif test "$withval" = no
; then
2772 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2773 elif test "$withval" = sys
; then
2774 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2775 elif test "$withval" = builtin; then
2776 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2779 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2780 { (exit 1); exit 1; }; }
2785 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796 eval "$ac_cv_use_libpng"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2801 if test "$wxUSE_LIBPNG" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 elif test "$wxUSE_LIBPNG" = no
; then
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 elif test "$wxUSE_LIBPNG" = sys
; then
2808 echo "$as_me:$LINENO: result: system version" >&5
2809 echo "${ECHO_T}system version" >&6
2810 elif test "$wxUSE_LIBPNG" = builtin; then
2811 echo "$as_me:$LINENO: result: builtin version" >&5
2812 echo "${ECHO_T}builtin version" >&6
2814 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2815 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2816 { (exit 1); exit 1; }; }
2820 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2821 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2824 # Check whether --with-libjpeg or --without-libjpeg was given.
2825 if test "${with_libjpeg+set}" = set; then
2826 withval
="$with_libjpeg"
2828 if test "$withval" = yes; then
2829 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2830 elif test "$withval" = no
; then
2831 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2832 elif test "$withval" = sys
; then
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2844 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x
; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855 eval "$ac_cv_use_libjpeg"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_LIBJPEG" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBJPEG" = no
; then
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 elif test "$wxUSE_LIBJPEG" = sys
; then
2867 echo "$as_me:$LINENO: result: system version" >&5
2868 echo "${ECHO_T}system version" >&6
2869 elif test "$wxUSE_LIBJPEG" = builtin; then
2870 echo "$as_me:$LINENO: result: builtin version" >&5
2871 echo "${ECHO_T}builtin version" >&6
2873 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2874 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2879 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2880 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2883 # Check whether --with-libtiff or --without-libtiff was given.
2884 if test "${with_libtiff+set}" = set; then
2885 withval
="$with_libtiff"
2887 if test "$withval" = yes; then
2888 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2889 elif test "$withval" = no
; then
2890 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2891 elif test "$withval" = sys
; then
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2903 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914 eval "$ac_cv_use_libtiff"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_LIBTIFF" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBTIFF" = no
; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBTIFF" = sys
; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBTIFF" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2938 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2939 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2942 # Check whether --with-libxpm or --without-libxpm was given.
2943 if test "${with_libxpm+set}" = set; then
2944 withval
="$with_libxpm"
2946 if test "$withval" = yes; then
2947 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2948 elif test "$withval" = no
; then
2949 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2950 elif test "$withval" = sys
; then
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2962 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x
; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973 eval "$ac_cv_use_libxpm"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_LIBXPM" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBXPM" = no
; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBXPM" = sys
; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBXPM" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2997 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2998 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3001 # Check whether --with-libmspack or --without-libmspack was given.
3002 if test "${with_libmspack+set}" = set; then
3003 withval
="$with_libmspack"
3005 if test "$withval" = yes; then
3006 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3008 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3013 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024 eval "$ac_cv_use_libmspack"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_LIBMSPACK" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3038 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3039 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3042 # Check whether --with-sdl or --without-sdl was given.
3043 if test "${with_sdl+set}" = set; then
3046 if test "$withval" = yes; then
3047 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3049 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3054 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x
; then
3056 eval "DEFAULT_$LINE"
3061 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065 eval "$ac_cv_use_sdl"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_LIBSDL" = yes; then
3071 echo "$as_me:$LINENO: result: yes" >&5
3072 echo "${ECHO_T}yes" >&6
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3079 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3080 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3083 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3084 if test "${with_gnomeprint+set}" = set; then
3085 withval
="$with_gnomeprint"
3087 if test "$withval" = yes; then
3088 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3090 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3095 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106 eval "$ac_cv_use_gnomeprint"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3120 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3121 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3124 # Check whether --with-opengl or --without-opengl was given.
3125 if test "${with_opengl+set}" = set; then
3126 withval
="$with_opengl"
3128 if test "$withval" = yes; then
3129 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3131 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3136 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147 eval "$ac_cv_use_opengl"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_OPENGL" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3164 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3165 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3168 # Check whether --with-dmalloc or --without-dmalloc was given.
3169 if test "${with_dmalloc+set}" = set; then
3170 withval
="$with_dmalloc"
3172 if test "$withval" = yes; then
3173 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3175 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3180 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x
; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191 eval "$ac_cv_use_dmalloc"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DMALLOC" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3205 echo "$as_me:$LINENO: checking for --with-regex" >&5
3206 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3209 # Check whether --with-regex or --without-regex was given.
3210 if test "${with_regex+set}" = set; then
3211 withval
="$with_regex"
3213 if test "$withval" = yes; then
3214 ac_cv_use_regex
='wxUSE_REGEX=yes'
3215 elif test "$withval" = no
; then
3216 ac_cv_use_regex
='wxUSE_REGEX=no'
3217 elif test "$withval" = sys
; then
3218 ac_cv_use_regex
='wxUSE_REGEX=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3229 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240 eval "$ac_cv_use_regex"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_REGEX" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_REGEX" = no
; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_REGEX" = sys
; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_REGEX" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3264 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3265 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3268 # Check whether --with-zlib or --without-zlib was given.
3269 if test "${with_zlib+set}" = set; then
3270 withval
="$with_zlib"
3272 if test "$withval" = yes; then
3273 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3274 elif test "$withval" = no
; then
3275 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3276 elif test "$withval" = sys
; then
3277 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3288 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299 eval "$ac_cv_use_zlib"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_ZLIB" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ZLIB" = no
; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ZLIB" = sys
; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ZLIB" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3324 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3327 # Check whether --with-odbc or --without-odbc was given.
3328 if test "${with_odbc+set}" = set; then
3329 withval
="$with_odbc"
3331 if test "$withval" = yes; then
3332 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3333 elif test "$withval" = no
; then
3334 ac_cv_use_odbc
='wxUSE_ODBC=no'
3335 elif test "$withval" = sys
; then
3336 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3347 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358 eval "$ac_cv_use_odbc"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_ODBC" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_ODBC" = no
; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_ODBC" = sys
; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_ODBC" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3382 echo "$as_me:$LINENO: checking for --with-expat" >&5
3383 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3386 # Check whether --with-expat or --without-expat was given.
3387 if test "${with_expat+set}" = set; then
3388 withval
="$with_expat"
3390 if test "$withval" = yes; then
3391 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3392 elif test "$withval" = no
; then
3393 ac_cv_use_expat
='wxUSE_EXPAT=no'
3394 elif test "$withval" = sys
; then
3395 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3396 elif test "$withval" = builtin; then
3397 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3401 { (exit 1); exit 1; }; }
3406 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417 eval "$ac_cv_use_expat"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_EXPAT" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 elif test "$wxUSE_EXPAT" = no
; then
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 elif test "$wxUSE_EXPAT" = sys
; then
3429 echo "$as_me:$LINENO: result: system version" >&5
3430 echo "${ECHO_T}system version" >&6
3431 elif test "$wxUSE_EXPAT" = builtin; then
3432 echo "$as_me:$LINENO: result: builtin version" >&5
3433 echo "${ECHO_T}builtin version" >&6
3435 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3436 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3437 { (exit 1); exit 1; }; }
3444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3447 # Check whether --enable-shared or --disable-shared was given.
3448 if test "${enable_shared+set}" = set; then
3449 enableval
="$enable_shared"
3451 if test "$enableval" = yes; then
3452 ac_cv_use_shared
='wxUSE_SHARED=yes'
3454 ac_cv_use_shared
='wxUSE_SHARED=no'
3459 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470 eval "$ac_cv_use_shared"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_SHARED" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3488 # Check whether --enable-optimise or --disable-optimise was given.
3489 if test "${enable_optimise+set}" = set; then
3490 enableval
="$enable_optimise"
3492 if test "$enableval" = yes; then
3493 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3495 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3500 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x
; then
3502 eval "DEFAULT_$LINE"
3507 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511 eval "$ac_cv_use_optimise"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_OPTIMISE" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3529 # Check whether --enable-debug or --disable-debug was given.
3530 if test "${enable_debug+set}" = set; then
3531 enableval
="$enable_debug"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3536 ac_cv_use_debug
='wxUSE_DEBUG=no'
3541 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552 eval "$ac_cv_use_debug"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DEBUG" = 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
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3570 # Check whether --enable-stl or --disable-stl was given.
3571 if test "${enable_stl+set}" = set; then
3572 enableval
="$enable_stl"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_stl
='wxUSE_STL=yes'
3577 ac_cv_use_stl
='wxUSE_STL=no'
3582 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3593 eval "$ac_cv_use_stl"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_STL" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3606 if test "$USE_OS2" = "1"; then
3607 DEFAULT_wxUSE_OMF
=no
3610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3611 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3613 # Check whether --enable-omf or --disable-omf was given.
3614 if test "${enable_omf+set}" = set; then
3615 enableval
="$enable_omf"
3617 if test "$enableval" = yes; then
3618 ac_cv_use_omf
='wxUSE_OMF=yes'
3620 ac_cv_use_omf
='wxUSE_OMF=no'
3625 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x
; then
3627 eval "DEFAULT_$LINE"
3632 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636 eval "$ac_cv_use_omf"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_OMF" = yes; then
3642 echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3651 if test "$wxUSE_DEBUG" = "yes"; then
3652 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3653 DEFAULT_wxUSE_DEBUG_INFO
=yes
3655 elif test "$wxUSE_DEBUG" = "no"; then
3656 DEFAULT_wxUSE_DEBUG_FLAG
=no
3657 DEFAULT_wxUSE_DEBUG_INFO
=no
3663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3666 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3667 if test "${enable_debug_flag+set}" = set; then
3668 enableval
="$enable_debug_flag"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3673 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3678 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689 eval "$ac_cv_use_debug_flag"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_DEBUG_FLAG" = yes; then
3695 echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3705 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3707 # Check whether --enable-debug_info or --disable-debug_info was given.
3708 if test "${enable_debug_info+set}" = set; then
3709 enableval
="$enable_debug_info"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3714 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3719 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730 eval "$ac_cv_use_debug_info"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3735 if test "$wxUSE_DEBUG_INFO" = yes; then
3736 echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3748 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3749 if test "${enable_debug_gdb+set}" = set; then
3750 enableval
="$enable_debug_gdb"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3755 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3760 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771 eval "$ac_cv_use_debug_gdb"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_DEBUG_GDB" = yes; then
3777 echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6
3780 echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6
3786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3789 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3790 if test "${enable_debug_cntxt+set}" = set; then
3791 enableval
="$enable_debug_cntxt"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3796 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3801 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812 eval "$ac_cv_use_debug_cntxt"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3818 echo "$as_me:$LINENO: result: yes" >&5
3819 echo "${ECHO_T}yes" >&6
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3830 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3831 if test "${enable_mem_tracing+set}" = set; then
3832 enableval
="$enable_mem_tracing"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3837 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3842 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853 eval "$ac_cv_use_mem_tracing"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_MEM_TRACING" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3871 # Check whether --enable-profile or --disable-profile was given.
3872 if test "${enable_profile+set}" = set; then
3873 enableval
="$enable_profile"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3878 ac_cv_use_profile
='wxUSE_PROFILE=no'
3883 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894 eval "$ac_cv_use_profile"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_PROFILE" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3912 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3913 if test "${enable_no_rtti+set}" = set; then
3914 enableval
="$enable_no_rtti"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3919 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3924 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935 eval "$ac_cv_use_no_rtti"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_NO_RTTI" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3953 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3954 if test "${enable_no_exceptions+set}" = set; then
3955 enableval
="$enable_no_exceptions"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3960 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3965 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x
; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976 eval "$ac_cv_use_no_exceptions"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3994 # Check whether --enable-permissive or --disable-permissive was given.
3995 if test "${enable_permissive+set}" = set; then
3996 enableval
="$enable_permissive"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4001 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4006 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017 eval "$ac_cv_use_permissive"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_PERMISSIVE" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4035 # Check whether --enable-no_deps or --disable-no_deps was given.
4036 if test "${enable_no_deps+set}" = set; then
4037 enableval
="$enable_no_deps"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4042 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4047 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058 eval "$ac_cv_use_no_deps"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_NO_DEPS" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4077 # Check whether --enable-compat22 or --disable-compat22 was given.
4078 if test "${enable_compat22+set}" = set; then
4079 enableval
="$enable_compat22"
4081 if test "$enableval" = yes; then
4082 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4084 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4089 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x
; then
4091 eval "DEFAULT_$LINE"
4096 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100 eval "$ac_cv_use_compat22"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4105 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4114 enablestring
=disable
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4118 # Check whether --enable-compat24 or --disable-compat24 was given.
4119 if test "${enable_compat24+set}" = set; then
4120 enableval
="$enable_compat24"
4122 if test "$enableval" = yes; then
4123 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4125 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4130 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x
; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141 eval "$ac_cv_use_compat24"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4146 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4160 # Check whether --enable-rpath or --disable-rpath was given.
4161 if test "${enable_rpath+set}" = set; then
4162 enableval
="$enable_rpath"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4167 ac_cv_use_rpath
='wxUSE_RPATH=no'
4172 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183 eval "$ac_cv_use_rpath"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_RPATH" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4204 # Check whether --enable-intl or --disable-intl was given.
4205 if test "${enable_intl+set}" = set; then
4206 enableval
="$enable_intl"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_intl
='wxUSE_INTL=yes'
4211 ac_cv_use_intl
='wxUSE_INTL=no'
4216 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227 eval "$ac_cv_use_intl"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4232 if test "$wxUSE_INTL" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4245 # Check whether --enable-config or --disable-config was given.
4246 if test "${enable_config+set}" = set; then
4247 enableval
="$enable_config"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_config
='wxUSE_CONFIG=yes'
4252 ac_cv_use_config
='wxUSE_CONFIG=no'
4257 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268 eval "$ac_cv_use_config"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_CONFIG" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4285 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4287 # Check whether --enable-protocols or --disable-protocols was given.
4288 if test "${enable_protocols+set}" = set; then
4289 enableval
="$enable_protocols"
4291 if test "$enableval" = yes; then
4292 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4294 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4299 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x
; then
4301 eval "DEFAULT_$LINE"
4306 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310 eval "$ac_cv_use_protocols"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4315 if test "$wxUSE_PROTOCOL" = yes; then
4316 echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4328 # Check whether --enable-ftp or --disable-ftp was given.
4329 if test "${enable_ftp+set}" = set; then
4330 enableval
="$enable_ftp"
4332 if test "$enableval" = yes; then
4333 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4335 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4340 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x
; then
4342 eval "DEFAULT_$LINE"
4347 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351 eval "$ac_cv_use_ftp"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4356 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4357 echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4369 # Check whether --enable-http or --disable-http was given.
4370 if test "${enable_http+set}" = set; then
4371 enableval
="$enable_http"
4373 if test "$enableval" = yes; then
4374 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4376 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4381 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4388 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392 eval "$ac_cv_use_http"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4401 echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6
4407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4408 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4410 # Check whether --enable-fileproto or --disable-fileproto was given.
4411 if test "${enable_fileproto+set}" = set; then
4412 enableval
="$enable_fileproto"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4417 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4422 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433 eval "$ac_cv_use_fileproto"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4438 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4439 echo "$as_me:$LINENO: result: yes" >&5
4440 echo "${ECHO_T}yes" >&6
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4451 # Check whether --enable-sockets or --disable-sockets was given.
4452 if test "${enable_sockets+set}" = set; then
4453 enableval
="$enable_sockets"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4458 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4463 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474 eval "$ac_cv_use_sockets"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_SOCKETS" = yes; then
4480 echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4492 # Check whether --enable-ole or --disable-ole was given.
4493 if test "${enable_ole+set}" = set; then
4494 enableval
="$enable_ole"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_ole
='wxUSE_OLE=yes'
4499 ac_cv_use_ole
='wxUSE_OLE=no'
4504 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515 eval "$ac_cv_use_ole"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_OLE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4533 # Check whether --enable-dataobj or --disable-dataobj was given.
4534 if test "${enable_dataobj+set}" = set; then
4535 enableval
="$enable_dataobj"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4540 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4545 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556 eval "$ac_cv_use_dataobj"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_DATAOBJ" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4575 # Check whether --enable-ipc or --disable-ipc was given.
4576 if test "${enable_ipc+set}" = set; then
4577 enableval
="$enable_ipc"
4579 if test "$enableval" = yes; then
4580 ac_cv_use_ipc
='wxUSE_IPC=yes'
4582 ac_cv_use_ipc
='wxUSE_IPC=no'
4587 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x
; then
4589 eval "DEFAULT_$LINE"
4594 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598 eval "$ac_cv_use_ipc"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_IPC" = yes; then
4604 echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6
4607 echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6
4614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4617 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4618 if test "${enable_apple_ieee+set}" = set; then
4619 enableval
="$enable_apple_ieee"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4624 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4629 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640 eval "$ac_cv_use_apple_ieee"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_APPLE_IEEE" = yes; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4658 # Check whether --enable-arcstream or --disable-arcstream was given.
4659 if test "${enable_arcstream+set}" = set; then
4660 enableval
="$enable_arcstream"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4665 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4670 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681 eval "$ac_cv_use_arcstream"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4687 echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6
4690 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4699 # Check whether --enable-backtrace or --disable-backtrace was given.
4700 if test "${enable_backtrace+set}" = set; then
4701 enableval
="$enable_backtrace"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4706 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4711 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722 eval "$ac_cv_use_backtrace"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4727 if test "$wxUSE_STACKWALKER" = yes; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4740 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4741 if test "${enable_catch_segvs+set}" = set; then
4742 enableval
="$enable_catch_segvs"
4744 if test "$enableval" = yes; then
4745 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4747 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4752 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x
; then
4754 eval "DEFAULT_$LINE"
4759 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763 eval "$ac_cv_use_catch_segvs"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4768 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4781 # Check whether --enable-cmdline or --disable-cmdline was given.
4782 if test "${enable_cmdline+set}" = set; then
4783 enableval
="$enable_cmdline"
4785 if test "$enableval" = yes; then
4786 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4788 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4793 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4800 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804 eval "$ac_cv_use_cmdline"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4810 echo "$as_me:$LINENO: result: yes" >&5
4811 echo "${ECHO_T}yes" >&6
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4822 # Check whether --enable-datetime or --disable-datetime was given.
4823 if test "${enable_datetime+set}" = set; then
4824 enableval
="$enable_datetime"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4829 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4834 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845 eval "$ac_cv_use_datetime"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_DATETIME" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4863 # Check whether --enable-debugreport or --disable-debugreport was given.
4864 if test "${enable_debugreport+set}" = set; then
4865 enableval
="$enable_debugreport"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4870 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4875 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886 eval "$ac_cv_use_debugreport"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_DEBUGREPORT" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4904 # Check whether --enable-dialupman or --disable-dialupman was given.
4905 if test "${enable_dialupman+set}" = set; then
4906 enableval
="$enable_dialupman"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4911 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4916 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927 eval "$ac_cv_use_dialupman"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4945 # Check whether --enable-dynlib or --disable-dynlib was given.
4946 if test "${enable_dynlib+set}" = set; then
4947 enableval
="$enable_dynlib"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4952 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4957 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968 eval "$ac_cv_use_dynlib"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4986 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4987 if test "${enable_dynamicloader+set}" = set; then
4988 enableval
="$enable_dynamicloader"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4993 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4998 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009 eval "$ac_cv_use_dynamicloader"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5027 # Check whether --enable-exceptions or --disable-exceptions was given.
5028 if test "${enable_exceptions+set}" = set; then
5029 enableval
="$enable_exceptions"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5034 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5039 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050 eval "$ac_cv_use_exceptions"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_EXCEPTIONS" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5068 # Check whether --enable-ffile or --disable-ffile was given.
5069 if test "${enable_ffile+set}" = set; then
5070 enableval
="$enable_ffile"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5075 ac_cv_use_ffile
='wxUSE_FFILE=no'
5080 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091 eval "$ac_cv_use_ffile"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_FFILE" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5109 # Check whether --enable-file or --disable-file was given.
5110 if test "${enable_file+set}" = set; then
5111 enableval
="$enable_file"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_file
='wxUSE_FILE=yes'
5116 ac_cv_use_file
='wxUSE_FILE=no'
5121 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132 eval "$ac_cv_use_file"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_FILE" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5150 # Check whether --enable-filesystem or --disable-filesystem was given.
5151 if test "${enable_filesystem+set}" = set; then
5152 enableval
="$enable_filesystem"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5157 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5162 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173 eval "$ac_cv_use_filesystem"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_FILESYSTEM" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5191 # Check whether --enable-fontmap or --disable-fontmap was given.
5192 if test "${enable_fontmap+set}" = set; then
5193 enableval
="$enable_fontmap"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5198 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5203 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214 eval "$ac_cv_use_fontmap"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_FONTMAP" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5232 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5233 if test "${enable_fs_inet+set}" = set; then
5234 enableval
="$enable_fs_inet"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5239 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5244 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255 eval "$ac_cv_use_fs_inet"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_FS_INET" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5273 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5274 if test "${enable_fs_zip+set}" = set; then
5275 enableval
="$enable_fs_zip"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5280 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5285 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296 eval "$ac_cv_use_fs_zip"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_FS_ZIP" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5314 # Check whether --enable-geometry or --disable-geometry was given.
5315 if test "${enable_geometry+set}" = set; then
5316 enableval
="$enable_geometry"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5321 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5326 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337 eval "$ac_cv_use_geometry"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_GEOMETRY" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5355 # Check whether --enable-log or --disable-log was given.
5356 if test "${enable_log+set}" = set; then
5357 enableval
="$enable_log"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_log
='wxUSE_LOG=yes'
5362 ac_cv_use_log
='wxUSE_LOG=no'
5367 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378 eval "$ac_cv_use_log"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_LOG" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5396 # Check whether --enable-longlong or --disable-longlong was given.
5397 if test "${enable_longlong+set}" = set; then
5398 enableval
="$enable_longlong"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5403 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5408 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419 eval "$ac_cv_use_longlong"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_LONGLONG" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5437 # Check whether --enable-mimetype or --disable-mimetype was given.
5438 if test "${enable_mimetype+set}" = set; then
5439 enableval
="$enable_mimetype"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5444 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5449 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460 eval "$ac_cv_use_mimetype"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_MIMETYPE" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5478 # Check whether --enable-mslu or --disable-mslu was given.
5479 if test "${enable_mslu+set}" = set; then
5480 enableval
="$enable_mslu"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5485 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5490 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501 eval "$ac_cv_use_mslu"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_UNICODE_MSLU" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5519 # Check whether --enable-snglinst or --disable-snglinst was given.
5520 if test "${enable_snglinst+set}" = set; then
5521 enableval
="$enable_snglinst"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5526 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5531 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542 eval "$ac_cv_use_snglinst"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5560 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5561 if test "${enable_std_iostreams+set}" = set; then
5562 enableval
="$enable_std_iostreams"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5567 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5572 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583 eval "$ac_cv_use_std_iostreams"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_STD_IOSTREAM" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5601 # Check whether --enable-std_string or --disable-std_string was given.
5602 if test "${enable_std_string+set}" = set; then
5603 enableval
="$enable_std_string"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5608 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5613 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624 eval "$ac_cv_use_std_string"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_STD_STRING" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5642 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5643 if test "${enable_stdpaths+set}" = set; then
5644 enableval
="$enable_stdpaths"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5649 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5654 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665 eval "$ac_cv_use_stdpaths"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_STDPATHS" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5683 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5684 if test "${enable_stopwatch+set}" = set; then
5685 enableval
="$enable_stopwatch"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5690 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5695 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706 eval "$ac_cv_use_stopwatch"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_STOPWATCH" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5724 # Check whether --enable-streams or --disable-streams was given.
5725 if test "${enable_streams+set}" = set; then
5726 enableval
="$enable_streams"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5731 ac_cv_use_streams
='wxUSE_STREAMS=no'
5736 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747 eval "$ac_cv_use_streams"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_STREAMS" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5765 # Check whether --enable-system_options or --disable-system_options was given.
5766 if test "${enable_system_options+set}" = set; then
5767 enableval
="$enable_system_options"
5769 if test "$enableval" = yes; then
5770 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5772 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5777 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x
; then
5779 eval "DEFAULT_$LINE"
5784 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788 eval "$ac_cv_use_system_options"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5806 # Check whether --enable-textbuf or --disable-textbuf was given.
5807 if test "${enable_textbuf+set}" = set; then
5808 enableval
="$enable_textbuf"
5810 if test "$enableval" = yes; then
5811 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5813 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5818 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x
; then
5820 eval "DEFAULT_$LINE"
5825 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829 eval "$ac_cv_use_textbuf"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5834 if test "$wxUSE_TEXTBUFFER" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5847 # Check whether --enable-textfile or --disable-textfile was given.
5848 if test "${enable_textfile+set}" = set; then
5849 enableval
="$enable_textfile"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5854 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5859 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870 eval "$ac_cv_use_textfile"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_TEXTFILE" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5888 # Check whether --enable-timer or --disable-timer was given.
5889 if test "${enable_timer+set}" = set; then
5890 enableval
="$enable_timer"
5892 if test "$enableval" = yes; then
5893 ac_cv_use_timer
='wxUSE_TIMER=yes'
5895 ac_cv_use_timer
='wxUSE_TIMER=no'
5900 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x
; then
5902 eval "DEFAULT_$LINE"
5907 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911 eval "$ac_cv_use_timer"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5916 if test "$wxUSE_TIMER" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5929 # Check whether --enable-unicode or --disable-unicode was given.
5930 if test "${enable_unicode+set}" = set; then
5931 enableval
="$enable_unicode"
5933 if test "$enableval" = yes; then
5934 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5936 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5941 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x
; then
5943 eval "DEFAULT_$LINE"
5948 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952 eval "$ac_cv_use_unicode"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_UNICODE" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5970 # Check whether --enable-sound or --disable-sound was given.
5971 if test "${enable_sound+set}" = set; then
5972 enableval
="$enable_sound"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_sound
='wxUSE_SOUND=yes'
5977 ac_cv_use_sound
='wxUSE_SOUND=no'
5982 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993 eval "$ac_cv_use_sound"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_SOUND" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6011 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6012 if test "${enable_mediactrl+set}" = set; then
6013 enableval
="$enable_mediactrl"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6018 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6023 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034 eval "$ac_cv_use_mediactrl"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_MEDIACTRL" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6052 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6053 if test "${enable_wxprintfv+set}" = set; then
6054 enableval
="$enable_wxprintfv"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6059 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6064 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075 eval "$ac_cv_use_wxprintfv"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6080 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6093 # Check whether --enable-zipstream or --disable-zipstream was given.
6094 if test "${enable_zipstream+set}" = set; then
6095 enableval
="$enable_zipstream"
6097 if test "$enableval" = yes; then
6098 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6100 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6105 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x
; then
6107 eval "DEFAULT_$LINE"
6112 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116 eval "$ac_cv_use_zipstream"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_ZIPSTREAM" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6135 # Check whether --enable-url or --disable-url was given.
6136 if test "${enable_url+set}" = set; then
6137 enableval
="$enable_url"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_url
='wxUSE_URL=yes'
6142 ac_cv_use_url
='wxUSE_URL=no'
6147 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6158 eval "$ac_cv_use_url"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_URL" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6176 # Check whether --enable-protocol or --disable-protocol was given.
6177 if test "${enable_protocol+set}" = set; then
6178 enableval
="$enable_protocol"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6183 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6188 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199 eval "$ac_cv_use_protocol"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_PROTOCOL" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6217 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6218 if test "${enable_protocol_http+set}" = set; then
6219 enableval
="$enable_protocol_http"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6224 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6229 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240 eval "$ac_cv_use_protocol_http"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6258 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6259 if test "${enable_protocol_ftp+set}" = set; then
6260 enableval
="$enable_protocol_ftp"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6265 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6270 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281 eval "$ac_cv_use_protocol_ftp"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6299 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6300 if test "${enable_protocol_file+set}" = set; then
6301 enableval
="$enable_protocol_file"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6306 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6311 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322 eval "$ac_cv_use_protocol_file"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6343 # Check whether --enable-threads or --disable-threads was given.
6344 if test "${enable_threads+set}" = set; then
6345 enableval
="$enable_threads"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_threads
='wxUSE_THREADS=yes'
6350 ac_cv_use_threads
='wxUSE_THREADS=no'
6355 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366 eval "$ac_cv_use_threads"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_THREADS" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6380 if test "$wxUSE_GUI" = "yes"; then
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6388 # Check whether --enable-docview or --disable-docview was given.
6389 if test "${enable_docview+set}" = set; then
6390 enableval
="$enable_docview"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6395 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6400 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411 eval "$ac_cv_use_docview"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6429 # Check whether --enable-help or --disable-help was given.
6430 if test "${enable_help+set}" = set; then
6431 enableval
="$enable_help"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_help
='wxUSE_HELP=yes'
6436 ac_cv_use_help
='wxUSE_HELP=no'
6441 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452 eval "$ac_cv_use_help"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_HELP" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6470 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6471 if test "${enable_mshtmlhelp+set}" = set; then
6472 enableval
="$enable_mshtmlhelp"
6474 if test "$enableval" = yes; then
6475 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6477 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6482 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x
; then
6484 eval "DEFAULT_$LINE"
6489 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493 eval "$ac_cv_use_mshtmlhelp"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6498 if test "$wxUSE_MS_HTML_HELP" = yes; then
6499 echo "$as_me:$LINENO: result: yes" >&5
6500 echo "${ECHO_T}yes" >&6
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6511 # Check whether --enable-html or --disable-html was given.
6512 if test "${enable_html+set}" = set; then
6513 enableval
="$enable_html"
6515 if test "$enableval" = yes; then
6516 ac_cv_use_html
='wxUSE_HTML=yes'
6518 ac_cv_use_html
='wxUSE_HTML=no'
6523 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x
; then
6525 eval "DEFAULT_$LINE"
6530 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534 eval "$ac_cv_use_html"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_HTML" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6552 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6553 if test "${enable_htmlhelp+set}" = set; then
6554 enableval
="$enable_htmlhelp"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6559 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6564 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575 eval "$ac_cv_use_htmlhelp"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_WXHTML_HELP" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6593 # Check whether --enable-xrc or --disable-xrc was given.
6594 if test "${enable_xrc+set}" = set; then
6595 enableval
="$enable_xrc"
6597 if test "$enableval" = yes; then
6598 ac_cv_use_xrc
='wxUSE_XRC=yes'
6600 ac_cv_use_xrc
='wxUSE_XRC=no'
6605 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x
; then
6607 eval "DEFAULT_$LINE"
6612 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616 eval "$ac_cv_use_xrc"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6621 if test "$wxUSE_XRC" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6634 # Check whether --enable-constraints or --disable-constraints was given.
6635 if test "${enable_constraints+set}" = set; then
6636 enableval
="$enable_constraints"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6641 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6646 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657 eval "$ac_cv_use_constraints"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_CONSTRAINTS" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6675 # Check whether --enable-printarch or --disable-printarch was given.
6676 if test "${enable_printarch+set}" = set; then
6677 enableval
="$enable_printarch"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6682 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6687 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698 eval "$ac_cv_use_printarch"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6716 # Check whether --enable-mdi or --disable-mdi was given.
6717 if test "${enable_mdi+set}" = set; then
6718 enableval
="$enable_mdi"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mdi
='wxUSE_MDI=yes'
6723 ac_cv_use_mdi
='wxUSE_MDI=no'
6728 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739 eval "$ac_cv_use_mdi"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_MDI" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6757 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6758 if test "${enable_mdidoc+set}" = set; then
6759 enableval
="$enable_mdidoc"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6764 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6769 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780 eval "$ac_cv_use_mdidoc"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6798 # Check whether --enable-loggui or --disable-loggui was given.
6799 if test "${enable_loggui+set}" = set; then
6800 enableval
="$enable_loggui"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6805 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6810 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821 eval "$ac_cv_use_loggui"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_LOGGUI" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6839 # Check whether --enable-logwin or --disable-logwin was given.
6840 if test "${enable_logwin+set}" = set; then
6841 enableval
="$enable_logwin"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6846 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6851 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862 eval "$ac_cv_use_logwin"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_LOGWINDOW" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6880 # Check whether --enable-logdialog or --disable-logdialog was given.
6881 if test "${enable_logdialog+set}" = set; then
6882 enableval
="$enable_logdialog"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6887 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6892 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903 eval "$ac_cv_use_logdialog"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_LOGDIALOG" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6921 # Check whether --enable-webkit or --disable-webkit was given.
6922 if test "${enable_webkit+set}" = set; then
6923 enableval
="$enable_webkit"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6928 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6933 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944 eval "$ac_cv_use_webkit"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6949 if test "$wxUSE_WEBKIT" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6963 # Check whether --enable-postscript or --disable-postscript was given.
6964 if test "${enable_postscript+set}" = set; then
6965 enableval
="$enable_postscript"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6970 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6975 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986 eval "$ac_cv_use_postscript"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_POSTSCRIPT" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7007 # Check whether --enable-prologio or --disable-prologio was given.
7008 if test "${enable_prologio+set}" = set; then
7009 enableval
="$enable_prologio"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7014 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7019 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030 eval "$ac_cv_use_prologio"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_PROLOGIO" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7048 # Check whether --enable-resources or --disable-resources was given.
7049 if test "${enable_resources+set}" = set; then
7050 enableval
="$enable_resources"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7055 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7060 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071 eval "$ac_cv_use_resources"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_RESOURCES" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7091 # Check whether --enable-clipboard or --disable-clipboard was given.
7092 if test "${enable_clipboard+set}" = set; then
7093 enableval
="$enable_clipboard"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7098 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7103 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114 eval "$ac_cv_use_clipboard"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_CLIPBOARD" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7132 # Check whether --enable-dnd or --disable-dnd was given.
7133 if test "${enable_dnd+set}" = set; then
7134 enableval
="$enable_dnd"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7139 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7144 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155 eval "$ac_cv_use_dnd"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7173 # Check whether --enable-metafile or --disable-metafile was given.
7174 if test "${enable_metafile+set}" = set; then
7175 enableval
="$enable_metafile"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7180 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7185 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196 eval "$ac_cv_use_metafile"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_METAFILE" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7217 # Check whether --enable-controls or --disable-controls was given.
7218 if test "${enable_controls+set}" = set; then
7219 enableval
="$enable_controls"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7224 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7229 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240 eval "$ac_cv_use_controls"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CONTROLS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7254 if test "$wxUSE_CONTROLS" = "yes"; then
7255 DEFAULT_wxUSE_ACCEL
=yes
7256 DEFAULT_wxUSE_BMPBUTTON
=yes
7257 DEFAULT_wxUSE_BUTTON
=yes
7258 DEFAULT_wxUSE_CALCTRL
=yes
7259 DEFAULT_wxUSE_CARET
=yes
7260 DEFAULT_wxUSE_COMBOBOX
=yes
7261 DEFAULT_wxUSE_CHECKBOX
=yes
7262 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7263 DEFAULT_wxUSE_CHOICE
=yes
7264 DEFAULT_wxUSE_CHOICEBOOK
=yes
7265 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7266 DEFAULT_wxUSE_GAUGE
=yes
7267 DEFAULT_wxUSE_GRID
=yes
7268 DEFAULT_wxUSE_IMAGLIST
=yes
7269 DEFAULT_wxUSE_LISTBOOK
=yes
7270 DEFAULT_wxUSE_LISTBOX
=yes
7271 DEFAULT_wxUSE_LISTCTRL
=yes
7272 DEFAULT_wxUSE_NOTEBOOK
=yes
7273 DEFAULT_wxUSE_RADIOBOX
=yes
7274 DEFAULT_wxUSE_RADIOBTN
=yes
7275 DEFAULT_wxUSE_SASH
=yes
7276 DEFAULT_wxUSE_SCROLLBAR
=yes
7277 DEFAULT_wxUSE_SLIDER
=yes
7278 DEFAULT_wxUSE_SPINBTN
=yes
7279 DEFAULT_wxUSE_SPINCTRL
=yes
7280 DEFAULT_wxUSE_SPLITTER
=yes
7281 DEFAULT_wxUSE_STATBMP
=yes
7282 DEFAULT_wxUSE_STATBOX
=yes
7283 DEFAULT_wxUSE_STATLINE
=yes
7284 DEFAULT_wxUSE_STATUSBAR
=yes
7285 DEFAULT_wxUSE_TAB_DIALOG
=yes
7286 DEFAULT_wxUSE_TOGGLEBTN
=yes
7287 DEFAULT_wxUSE_TOOLBAR
=yes
7288 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7289 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7290 DEFAULT_wxUSE_TOOLTIPS
=yes
7291 DEFAULT_wxUSE_TREECTRL
=yes
7292 DEFAULT_wxUSE_POPUPWIN
=yes
7293 DEFAULT_wxUSE_TIPWINDOW
=yes
7294 elif test "$wxUSE_CONTROLS" = "no"; then
7295 DEFAULT_wxUSE_ACCEL
=no
7296 DEFAULT_wxUSE_BMPBUTTON
=no
7297 DEFAULT_wxUSE_BUTTON
=no
7298 DEFAULT_wxUSE_CALCTRL
=no
7299 DEFAULT_wxUSE_CARET
=no
7300 DEFAULT_wxUSE_COMBOBOX
=no
7301 DEFAULT_wxUSE_CHECKBOX
=no
7302 DEFAULT_wxUSE_CHECKLISTBOX
=no
7303 DEFAULT_wxUSE_CHOICE
=no
7304 DEFAULT_wxUSE_CHOICEBOOK
=no
7305 DEFAULT_wxUSE_DATEPICKCTRL
=no
7306 DEFAULT_wxUSE_GAUGE
=no
7307 DEFAULT_wxUSE_GRID
=no
7308 DEFAULT_wxUSE_IMAGLIST
=no
7309 DEFAULT_wxUSE_LISTBOOK
=no
7310 DEFAULT_wxUSE_LISTBOX
=no
7311 DEFAULT_wxUSE_LISTCTRL
=no
7312 DEFAULT_wxUSE_NOTEBOOK
=no
7313 DEFAULT_wxUSE_RADIOBOX
=no
7314 DEFAULT_wxUSE_RADIOBTN
=no
7315 DEFAULT_wxUSE_SASH
=no
7316 DEFAULT_wxUSE_SCROLLBAR
=no
7317 DEFAULT_wxUSE_SLIDER
=no
7318 DEFAULT_wxUSE_SPINBTN
=no
7319 DEFAULT_wxUSE_SPINCTRL
=no
7320 DEFAULT_wxUSE_SPLITTER
=no
7321 DEFAULT_wxUSE_STATBMP
=no
7322 DEFAULT_wxUSE_STATBOX
=no
7323 DEFAULT_wxUSE_STATLINE
=no
7324 DEFAULT_wxUSE_STATUSBAR
=no
7325 DEFAULT_wxUSE_TAB_DIALOG
=no
7326 DEFAULT_wxUSE_TOGGLEBTN
=no
7327 DEFAULT_wxUSE_TOOLBAR
=no
7328 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7329 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7330 DEFAULT_wxUSE_TOOLTIPS
=no
7331 DEFAULT_wxUSE_TREECTRL
=no
7332 DEFAULT_wxUSE_POPUPWIN
=no
7333 DEFAULT_wxUSE_TIPWINDOW
=no
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7341 # Check whether --enable-accel or --disable-accel was given.
7342 if test "${enable_accel+set}" = set; then
7343 enableval
="$enable_accel"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7348 ac_cv_use_accel
='wxUSE_ACCEL=no'
7353 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364 eval "$ac_cv_use_accel"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_ACCEL" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7382 # Check whether --enable-button or --disable-button was given.
7383 if test "${enable_button+set}" = set; then
7384 enableval
="$enable_button"
7386 if test "$enableval" = yes; then
7387 ac_cv_use_button
='wxUSE_BUTTON=yes'
7389 ac_cv_use_button
='wxUSE_BUTTON=no'
7394 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x
; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405 eval "$ac_cv_use_button"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7410 if test "$wxUSE_BUTTON" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7423 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7424 if test "${enable_bmpbutton+set}" = set; then
7425 enableval
="$enable_bmpbutton"
7427 if test "$enableval" = yes; then
7428 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7430 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7435 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x
; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446 eval "$ac_cv_use_bmpbutton"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7451 if test "$wxUSE_BMPBUTTON" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7464 # Check whether --enable-calendar or --disable-calendar was given.
7465 if test "${enable_calendar+set}" = set; then
7466 enableval
="$enable_calendar"
7468 if test "$enableval" = yes; then
7469 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7471 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7476 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x
; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487 eval "$ac_cv_use_calendar"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7492 if test "$wxUSE_CALCTRL" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7505 # Check whether --enable-caret or --disable-caret was given.
7506 if test "${enable_caret+set}" = set; then
7507 enableval
="$enable_caret"
7509 if test "$enableval" = yes; then
7510 ac_cv_use_caret
='wxUSE_CARET=yes'
7512 ac_cv_use_caret
='wxUSE_CARET=no'
7517 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x
; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528 eval "$ac_cv_use_caret"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7533 if test "$wxUSE_CARET" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7546 # Check whether --enable-checkbox or --disable-checkbox was given.
7547 if test "${enable_checkbox+set}" = set; then
7548 enableval
="$enable_checkbox"
7550 if test "$enableval" = yes; then
7551 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7553 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7558 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x
; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569 eval "$ac_cv_use_checkbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_CHECKBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7587 # Check whether --enable-checklst or --disable-checklst was given.
7588 if test "${enable_checklst+set}" = set; then
7589 enableval
="$enable_checklst"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7594 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7599 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610 eval "$ac_cv_use_checklst"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7615 if test "$wxUSE_CHECKLST" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7628 # Check whether --enable-choice or --disable-choice was given.
7629 if test "${enable_choice+set}" = set; then
7630 enableval
="$enable_choice"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7635 ac_cv_use_choice
='wxUSE_CHOICE=no'
7640 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651 eval "$ac_cv_use_choice"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_CHOICE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7669 # Check whether --enable-choicebook or --disable-choicebook was given.
7670 if test "${enable_choicebook+set}" = set; then
7671 enableval
="$enable_choicebook"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7676 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7681 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692 eval "$ac_cv_use_choicebook"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_CHOICEBOOK" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7710 # Check whether --enable-combobox or --disable-combobox was given.
7711 if test "${enable_combobox+set}" = set; then
7712 enableval
="$enable_combobox"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7717 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7722 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733 eval "$ac_cv_use_combobox"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_COMBOBOX" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7751 # Check whether --enable-datepick or --disable-datepick was given.
7752 if test "${enable_datepick+set}" = set; then
7753 enableval
="$enable_datepick"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7758 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7763 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774 eval "$ac_cv_use_datepick"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_DATEPICKCTRL" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7792 # Check whether --enable-display or --disable-display was given.
7793 if test "${enable_display+set}" = set; then
7794 enableval
="$enable_display"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7799 ac_cv_use_display
='wxUSE_DISPLAY=no'
7804 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815 eval "$ac_cv_use_display"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_DISPLAY" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7833 # Check whether --enable-gauge or --disable-gauge was given.
7834 if test "${enable_gauge+set}" = set; then
7835 enableval
="$enable_gauge"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7840 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7845 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856 eval "$ac_cv_use_gauge"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_GAUGE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7874 # Check whether --enable-grid or --disable-grid was given.
7875 if test "${enable_grid+set}" = set; then
7876 enableval
="$enable_grid"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_grid
='wxUSE_GRID=yes'
7881 ac_cv_use_grid
='wxUSE_GRID=no'
7886 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897 eval "$ac_cv_use_grid"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_GRID" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7915 # Check whether --enable-imaglist or --disable-imaglist was given.
7916 if test "${enable_imaglist+set}" = set; then
7917 enableval
="$enable_imaglist"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7922 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7927 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938 eval "$ac_cv_use_imaglist"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_IMAGLIST" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7956 # Check whether --enable-listbook or --disable-listbook was given.
7957 if test "${enable_listbook+set}" = set; then
7958 enableval
="$enable_listbook"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7963 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7968 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979 eval "$ac_cv_use_listbook"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_LISTBOOK" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7997 # Check whether --enable-listbox or --disable-listbox was given.
7998 if test "${enable_listbox+set}" = set; then
7999 enableval
="$enable_listbox"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8004 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8009 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020 eval "$ac_cv_use_listbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_LISTBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8038 # Check whether --enable-listctrl or --disable-listctrl was given.
8039 if test "${enable_listctrl+set}" = set; then
8040 enableval
="$enable_listctrl"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8045 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8050 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061 eval "$ac_cv_use_listctrl"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_LISTCTRL" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8079 # Check whether --enable-notebook or --disable-notebook was given.
8080 if test "${enable_notebook+set}" = set; then
8081 enableval
="$enable_notebook"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8086 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8091 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102 eval "$ac_cv_use_notebook"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_NOTEBOOK" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8120 # Check whether --enable-radiobox or --disable-radiobox was given.
8121 if test "${enable_radiobox+set}" = set; then
8122 enableval
="$enable_radiobox"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8127 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8132 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143 eval "$ac_cv_use_radiobox"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_RADIOBOX" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8162 if test "${enable_radiobtn+set}" = set; then
8163 enableval
="$enable_radiobtn"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8168 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8173 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184 eval "$ac_cv_use_radiobtn"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_RADIOBTN" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8202 # Check whether --enable-sash or --disable-sash was given.
8203 if test "${enable_sash+set}" = set; then
8204 enableval
="$enable_sash"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_sash
='wxUSE_SASH=yes'
8209 ac_cv_use_sash
='wxUSE_SASH=no'
8214 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225 eval "$ac_cv_use_sash"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_SASH" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8244 if test "${enable_scrollbar+set}" = set; then
8245 enableval
="$enable_scrollbar"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8250 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8255 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266 eval "$ac_cv_use_scrollbar"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_SCROLLBAR" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8284 # Check whether --enable-slider or --disable-slider was given.
8285 if test "${enable_slider+set}" = set; then
8286 enableval
="$enable_slider"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8291 ac_cv_use_slider
='wxUSE_SLIDER=no'
8296 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307 eval "$ac_cv_use_slider"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_SLIDER" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8326 if test "${enable_spinbtn+set}" = set; then
8327 enableval
="$enable_spinbtn"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8332 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8337 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348 eval "$ac_cv_use_spinbtn"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_SPINBTN" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8367 if test "${enable_spinctrl+set}" = set; then
8368 enableval
="$enable_spinctrl"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8373 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8378 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389 eval "$ac_cv_use_spinctrl"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_SPINCTRL" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8407 # Check whether --enable-splitter or --disable-splitter was given.
8408 if test "${enable_splitter+set}" = set; then
8409 enableval
="$enable_splitter"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8414 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8419 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430 eval "$ac_cv_use_splitter"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_SPLITTER" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8448 # Check whether --enable-statbmp or --disable-statbmp was given.
8449 if test "${enable_statbmp+set}" = set; then
8450 enableval
="$enable_statbmp"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8455 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8460 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471 eval "$ac_cv_use_statbmp"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_STATBMP" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8489 # Check whether --enable-statbox or --disable-statbox was given.
8490 if test "${enable_statbox+set}" = set; then
8491 enableval
="$enable_statbox"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8496 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8501 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512 eval "$ac_cv_use_statbox"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_STATBOX" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8530 # Check whether --enable-statline or --disable-statline was given.
8531 if test "${enable_statline+set}" = set; then
8532 enableval
="$enable_statline"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8537 ac_cv_use_statline
='wxUSE_STATLINE=no'
8542 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553 eval "$ac_cv_use_statline"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_STATLINE" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8571 # Check whether --enable-stattext or --disable-stattext was given.
8572 if test "${enable_stattext+set}" = set; then
8573 enableval
="$enable_stattext"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8578 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8583 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594 eval "$ac_cv_use_stattext"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_STATTEXT" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8612 # Check whether --enable-statusbar or --disable-statusbar was given.
8613 if test "${enable_statusbar+set}" = set; then
8614 enableval
="$enable_statusbar"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8619 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8624 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635 eval "$ac_cv_use_statusbar"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_STATUSBAR" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8654 if test "${enable_tabdialog+set}" = set; then
8655 enableval
="$enable_tabdialog"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8660 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8665 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676 eval "$ac_cv_use_tabdialog"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_TABDIALOG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8694 # Check whether --enable-textctrl or --disable-textctrl was given.
8695 if test "${enable_textctrl+set}" = set; then
8696 enableval
="$enable_textctrl"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8701 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8706 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717 eval "$ac_cv_use_textctrl"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_TEXTCTRL" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8736 if test "${enable_togglebtn+set}" = set; then
8737 enableval
="$enable_togglebtn"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8742 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8747 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758 eval "$ac_cv_use_togglebtn"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_TOGGLEBTN" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8776 # Check whether --enable-toolbar or --disable-toolbar was given.
8777 if test "${enable_toolbar+set}" = set; then
8778 enableval
="$enable_toolbar"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8783 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8788 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799 eval "$ac_cv_use_toolbar"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_TOOLBAR" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8818 if test "${enable_tbarnative+set}" = set; then
8819 enableval
="$enable_tbarnative"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8824 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8829 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840 eval "$ac_cv_use_tbarnative"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8858 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8859 if test "${enable_tbarsmpl+set}" = set; then
8860 enableval
="$enable_tbarsmpl"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8865 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8870 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881 eval "$ac_cv_use_tbarsmpl"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8899 # Check whether --enable-treectrl or --disable-treectrl was given.
8900 if test "${enable_treectrl+set}" = set; then
8901 enableval
="$enable_treectrl"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8906 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8911 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922 eval "$ac_cv_use_treectrl"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_TREECTRL" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8940 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8941 if test "${enable_tipwindow+set}" = set; then
8942 enableval
="$enable_tipwindow"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8947 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8952 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963 eval "$ac_cv_use_tipwindow"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_TIPWINDOW" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8981 # Check whether --enable-popupwin or --disable-popupwin was given.
8982 if test "${enable_popupwin+set}" = set; then
8983 enableval
="$enable_popupwin"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8988 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8993 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004 eval "$ac_cv_use_popupwin"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_POPUPWIN" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9024 # Check whether --enable-commondlg or --disable-commondlg was given.
9025 if test "${enable_commondlg+set}" = set; then
9026 enableval
="$enable_commondlg"
9028 if test "$enableval" = yes; then
9029 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9031 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9036 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x
; then
9038 eval "DEFAULT_$LINE"
9043 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047 eval "$ac_cv_use_commondlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9052 if test "$wxUSE_COMMONDLGS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9065 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9066 if test "${enable_choicedlg+set}" = set; then
9067 enableval
="$enable_choicedlg"
9069 if test "$enableval" = yes; then
9070 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9072 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9077 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x
; then
9079 eval "DEFAULT_$LINE"
9084 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088 eval "$ac_cv_use_choicedlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9093 if test "$wxUSE_CHOICEDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9106 # Check whether --enable-coldlg or --disable-coldlg was given.
9107 if test "${enable_coldlg+set}" = set; then
9108 enableval
="$enable_coldlg"
9110 if test "$enableval" = yes; then
9111 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9113 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9118 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x
; then
9120 eval "DEFAULT_$LINE"
9125 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129 eval "$ac_cv_use_coldlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9134 if test "$wxUSE_COLOURDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9147 # Check whether --enable-filedlg or --disable-filedlg was given.
9148 if test "${enable_filedlg+set}" = set; then
9149 enableval
="$enable_filedlg"
9151 if test "$enableval" = yes; then
9152 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9154 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9159 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x
; then
9161 eval "DEFAULT_$LINE"
9166 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170 eval "$ac_cv_use_filedlg"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9175 if test "$wxUSE_FILEDLG" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9188 # Check whether --enable-finddlg or --disable-finddlg was given.
9189 if test "${enable_finddlg+set}" = set; then
9190 enableval
="$enable_finddlg"
9192 if test "$enableval" = yes; then
9193 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9195 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9200 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x
; then
9202 eval "DEFAULT_$LINE"
9207 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211 eval "$ac_cv_use_finddlg"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9216 if test "$wxUSE_FINDREPLDLG" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9229 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9230 if test "${enable_fontdlg+set}" = set; then
9231 enableval
="$enable_fontdlg"
9233 if test "$enableval" = yes; then
9234 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9236 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9241 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x
; then
9243 eval "DEFAULT_$LINE"
9248 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252 eval "$ac_cv_use_fontdlg"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9257 if test "$wxUSE_FONTDLG" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9270 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9271 if test "${enable_dirdlg+set}" = set; then
9272 enableval
="$enable_dirdlg"
9274 if test "$enableval" = yes; then
9275 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9277 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9282 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x
; then
9284 eval "DEFAULT_$LINE"
9289 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293 eval "$ac_cv_use_dirdlg"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9298 if test "$wxUSE_DIRDLG" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9311 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9312 if test "${enable_msgdlg+set}" = set; then
9313 enableval
="$enable_msgdlg"
9315 if test "$enableval" = yes; then
9316 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9318 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9323 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x
; then
9325 eval "DEFAULT_$LINE"
9330 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334 eval "$ac_cv_use_msgdlg"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9339 if test "$wxUSE_MSGDLG" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9352 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9353 if test "${enable_numberdlg+set}" = set; then
9354 enableval
="$enable_numberdlg"
9356 if test "$enableval" = yes; then
9357 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9359 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9364 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x
; then
9366 eval "DEFAULT_$LINE"
9371 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375 eval "$ac_cv_use_numberdlg"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9380 if test "$wxUSE_NUMBERDLG" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9393 # Check whether --enable-splash or --disable-splash was given.
9394 if test "${enable_splash+set}" = set; then
9395 enableval
="$enable_splash"
9397 if test "$enableval" = yes; then
9398 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9400 ac_cv_use_splash
='wxUSE_SPLASH=no'
9405 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x
; then
9407 eval "DEFAULT_$LINE"
9412 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416 eval "$ac_cv_use_splash"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9421 if test "$wxUSE_SPLASH" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9434 # Check whether --enable-textdlg or --disable-textdlg was given.
9435 if test "${enable_textdlg+set}" = set; then
9436 enableval
="$enable_textdlg"
9438 if test "$enableval" = yes; then
9439 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9441 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9446 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x
; then
9448 eval "DEFAULT_$LINE"
9453 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457 eval "$ac_cv_use_textdlg"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9462 if test "$wxUSE_TEXTDLG" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9475 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9476 if test "${enable_tipdlg+set}" = set; then
9477 enableval
="$enable_tipdlg"
9479 if test "$enableval" = yes; then
9480 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9482 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9487 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x
; then
9489 eval "DEFAULT_$LINE"
9494 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498 eval "$ac_cv_use_tipdlg"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9503 if test "$wxUSE_STARTUP_TIPS" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9516 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9517 if test "${enable_progressdlg+set}" = set; then
9518 enableval
="$enable_progressdlg"
9520 if test "$enableval" = yes; then
9521 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9523 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9528 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x
; then
9530 eval "DEFAULT_$LINE"
9535 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539 eval "$ac_cv_use_progressdlg"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9544 if test "$wxUSE_PROGRESSDLG" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9557 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9558 if test "${enable_wizarddlg+set}" = set; then
9559 enableval
="$enable_wizarddlg"
9561 if test "$enableval" = yes; then
9562 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9564 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9569 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x
; then
9571 eval "DEFAULT_$LINE"
9576 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580 eval "$ac_cv_use_wizarddlg"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9585 if test "$wxUSE_WIZARDDLG" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9600 # Check whether --enable-menus or --disable-menus was given.
9601 if test "${enable_menus+set}" = set; then
9602 enableval
="$enable_menus"
9604 if test "$enableval" = yes; then
9605 ac_cv_use_menus
='wxUSE_MENUS=yes'
9607 ac_cv_use_menus
='wxUSE_MENUS=no'
9612 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x
; then
9614 eval "DEFAULT_$LINE"
9619 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623 eval "$ac_cv_use_menus"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9628 if test "$wxUSE_MENUS" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9641 # Check whether --enable-miniframe or --disable-miniframe was given.
9642 if test "${enable_miniframe+set}" = set; then
9643 enableval
="$enable_miniframe"
9645 if test "$enableval" = yes; then
9646 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9648 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9653 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x
; then
9655 eval "DEFAULT_$LINE"
9660 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664 eval "$ac_cv_use_miniframe"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9669 if test "$wxUSE_MINIFRAME" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9682 # Check whether --enable-tooltips or --disable-tooltips was given.
9683 if test "${enable_tooltips+set}" = set; then
9684 enableval
="$enable_tooltips"
9686 if test "$enableval" = yes; then
9687 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9689 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9694 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x
; then
9696 eval "DEFAULT_$LINE"
9701 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705 eval "$ac_cv_use_tooltips"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9710 if test "$wxUSE_TOOLTIPS" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9723 # Check whether --enable-splines or --disable-splines was given.
9724 if test "${enable_splines+set}" = set; then
9725 enableval
="$enable_splines"
9727 if test "$enableval" = yes; then
9728 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9730 ac_cv_use_splines
='wxUSE_SPLINES=no'
9735 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x
; then
9737 eval "DEFAULT_$LINE"
9742 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746 eval "$ac_cv_use_splines"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9751 if test "$wxUSE_SPLINES" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9764 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9765 if test "${enable_mousewheel+set}" = set; then
9766 enableval
="$enable_mousewheel"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9771 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9776 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x
; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787 eval "$ac_cv_use_mousewheel"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_MOUSEWHEEL" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9805 # Check whether --enable-validators or --disable-validators was given.
9806 if test "${enable_validators+set}" = set; then
9807 enableval
="$enable_validators"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9812 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9817 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x
; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828 eval "$ac_cv_use_validators"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_VALIDATORS" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9846 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9847 if test "${enable_busyinfo+set}" = set; then
9848 enableval
="$enable_busyinfo"
9850 if test "$enableval" = yes; then
9851 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9853 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9858 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x
; then
9860 eval "DEFAULT_$LINE"
9865 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869 eval "$ac_cv_use_busyinfo"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9874 if test "$wxUSE_BUSYINFO" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9887 # Check whether --enable-joystick or --disable-joystick was given.
9888 if test "${enable_joystick+set}" = set; then
9889 enableval
="$enable_joystick"
9891 if test "$enableval" = yes; then
9892 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9894 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9899 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x
; then
9901 eval "DEFAULT_$LINE"
9906 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910 eval "$ac_cv_use_joystick"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9915 if test "$wxUSE_JOYSTICK" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9928 # Check whether --enable-metafile or --disable-metafile was given.
9929 if test "${enable_metafile+set}" = set; then
9930 enableval
="$enable_metafile"
9932 if test "$enableval" = yes; then
9933 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9935 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9940 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x
; then
9942 eval "DEFAULT_$LINE"
9947 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951 eval "$ac_cv_use_metafile"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9956 if test "$wxUSE_METAFILE" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9969 # Check whether --enable-dragimage or --disable-dragimage was given.
9970 if test "${enable_dragimage+set}" = set; then
9971 enableval
="$enable_dragimage"
9973 if test "$enableval" = yes; then
9974 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9976 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9981 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x
; then
9983 eval "DEFAULT_$LINE"
9988 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992 eval "$ac_cv_use_dragimage"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9997 if test "$wxUSE_DRAGIMAGE" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10010 # Check whether --enable-accessibility or --disable-accessibility was given.
10011 if test "${enable_accessibility+set}" = set; then
10012 enableval
="$enable_accessibility"
10014 if test "$enableval" = yes; then
10015 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10017 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10022 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x
; then
10024 eval "DEFAULT_$LINE"
10029 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033 eval "$ac_cv_use_accessibility"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10038 if test "$wxUSE_ACCESSIBILITY" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10053 # Check whether --enable-palette or --disable-palette was given.
10054 if test "${enable_palette+set}" = set; then
10055 enableval
="$enable_palette"
10057 if test "$enableval" = yes; then
10058 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10060 ac_cv_use_palette
='wxUSE_PALETTE=no'
10065 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10066 if test "x$LINE" != x
; then
10067 eval "DEFAULT_$LINE"
10072 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10076 eval "$ac_cv_use_palette"
10077 if test "$no_cache" != 1; then
10078 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10081 if test "$wxUSE_PALETTE" = yes; then
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10085 echo "$as_me:$LINENO: result: no" >&5
10086 echo "${ECHO_T}no" >&6
10091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10092 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10094 # Check whether --enable-image or --disable-image was given.
10095 if test "${enable_image+set}" = set; then
10096 enableval
="$enable_image"
10098 if test "$enableval" = yes; then
10099 ac_cv_use_image
='wxUSE_IMAGE=yes'
10101 ac_cv_use_image
='wxUSE_IMAGE=no'
10106 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10107 if test "x$LINE" != x
; then
10108 eval "DEFAULT_$LINE"
10113 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10117 eval "$ac_cv_use_image"
10118 if test "$no_cache" != 1; then
10119 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10122 if test "$wxUSE_IMAGE" = yes; then
10123 echo "$as_me:$LINENO: result: yes" >&5
10124 echo "${ECHO_T}yes" >&6
10126 echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6
10132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10135 # Check whether --enable-gif or --disable-gif was given.
10136 if test "${enable_gif+set}" = set; then
10137 enableval
="$enable_gif"
10139 if test "$enableval" = yes; then
10140 ac_cv_use_gif
='wxUSE_GIF=yes'
10142 ac_cv_use_gif
='wxUSE_GIF=no'
10147 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10148 if test "x$LINE" != x
; then
10149 eval "DEFAULT_$LINE"
10154 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10158 eval "$ac_cv_use_gif"
10159 if test "$no_cache" != 1; then
10160 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10163 if test "$wxUSE_GIF" = yes; then
10164 echo "$as_me:$LINENO: result: yes" >&5
10165 echo "${ECHO_T}yes" >&6
10167 echo "$as_me:$LINENO: result: no" >&5
10168 echo "${ECHO_T}no" >&6
10173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10174 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10176 # Check whether --enable-pcx or --disable-pcx was given.
10177 if test "${enable_pcx+set}" = set; then
10178 enableval
="$enable_pcx"
10180 if test "$enableval" = yes; then
10181 ac_cv_use_pcx
='wxUSE_PCX=yes'
10183 ac_cv_use_pcx
='wxUSE_PCX=no'
10188 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10189 if test "x$LINE" != x
; then
10190 eval "DEFAULT_$LINE"
10195 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10199 eval "$ac_cv_use_pcx"
10200 if test "$no_cache" != 1; then
10201 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10204 if test "$wxUSE_PCX" = yes; then
10205 echo "$as_me:$LINENO: result: yes" >&5
10206 echo "${ECHO_T}yes" >&6
10208 echo "$as_me:$LINENO: result: no" >&5
10209 echo "${ECHO_T}no" >&6
10214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10215 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10217 # Check whether --enable-iff or --disable-iff was given.
10218 if test "${enable_iff+set}" = set; then
10219 enableval
="$enable_iff"
10221 if test "$enableval" = yes; then
10222 ac_cv_use_iff
='wxUSE_IFF=yes'
10224 ac_cv_use_iff
='wxUSE_IFF=no'
10229 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10230 if test "x$LINE" != x
; then
10231 eval "DEFAULT_$LINE"
10236 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10240 eval "$ac_cv_use_iff"
10241 if test "$no_cache" != 1; then
10242 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10245 if test "$wxUSE_IFF" = yes; then
10246 echo "$as_me:$LINENO: result: yes" >&5
10247 echo "${ECHO_T}yes" >&6
10249 echo "$as_me:$LINENO: result: no" >&5
10250 echo "${ECHO_T}no" >&6
10255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10256 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10258 # Check whether --enable-pnm or --disable-pnm was given.
10259 if test "${enable_pnm+set}" = set; then
10260 enableval
="$enable_pnm"
10262 if test "$enableval" = yes; then
10263 ac_cv_use_pnm
='wxUSE_PNM=yes'
10265 ac_cv_use_pnm
='wxUSE_PNM=no'
10270 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10271 if test "x$LINE" != x
; then
10272 eval "DEFAULT_$LINE"
10277 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10281 eval "$ac_cv_use_pnm"
10282 if test "$no_cache" != 1; then
10283 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10286 if test "$wxUSE_PNM" = yes; then
10287 echo "$as_me:$LINENO: result: yes" >&5
10288 echo "${ECHO_T}yes" >&6
10290 echo "$as_me:$LINENO: result: no" >&5
10291 echo "${ECHO_T}no" >&6
10296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10297 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10299 # Check whether --enable-xpm or --disable-xpm was given.
10300 if test "${enable_xpm+set}" = set; then
10301 enableval
="$enable_xpm"
10303 if test "$enableval" = yes; then
10304 ac_cv_use_xpm
='wxUSE_XPM=yes'
10306 ac_cv_use_xpm
='wxUSE_XPM=no'
10311 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10312 if test "x$LINE" != x
; then
10313 eval "DEFAULT_$LINE"
10318 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10322 eval "$ac_cv_use_xpm"
10323 if test "$no_cache" != 1; then
10324 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10327 if test "$wxUSE_XPM" = yes; then
10328 echo "$as_me:$LINENO: result: yes" >&5
10329 echo "${ECHO_T}yes" >&6
10331 echo "$as_me:$LINENO: result: no" >&5
10332 echo "${ECHO_T}no" >&6
10337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10340 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10341 if test "${enable_ico_cur+set}" = set; then
10342 enableval
="$enable_ico_cur"
10344 if test "$enableval" = yes; then
10345 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10347 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10352 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10353 if test "x$LINE" != x
; then
10354 eval "DEFAULT_$LINE"
10359 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10363 eval "$ac_cv_use_ico_cur"
10364 if test "$no_cache" != 1; then
10365 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10368 if test "$wxUSE_ICO_CUR" = yes; then
10369 echo "$as_me:$LINENO: result: yes" >&5
10370 echo "${ECHO_T}yes" >&6
10372 echo "$as_me:$LINENO: result: no" >&5
10373 echo "${ECHO_T}no" >&6
10381 # Check whether --with-flavour or --without-flavour was given.
10382 if test "${with_flavour+set}" = set; then
10383 withval
="$with_flavour"
10384 WX_FLAVOUR
="$withval"
10390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10393 # Check whether --enable-official_build or --disable-official_build was given.
10394 if test "${enable_official_build+set}" = set; then
10395 enableval
="$enable_official_build"
10397 if test "$enableval" = yes; then
10398 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10400 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10405 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x
; then
10407 eval "DEFAULT_$LINE"
10412 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10416 eval "$ac_cv_use_official_build"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10421 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10422 echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10429 # Check whether --enable-vendor or --disable-vendor was given.
10430 if test "${enable_vendor+set}" = set; then
10431 enableval
="$enable_vendor"
10432 VENDOR
="$enableval"
10434 if test "x$VENDOR" = "x"; then
10441 echo "saving argument cache $wx_arg_cache_file"
10442 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10446 echo "$as_me:$LINENO: checking for toolkit" >&5
10447 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10449 # In Wine, we need to default to MSW, not GTK or MOTIF
10450 if test "$wxUSE_WINE" = "yes"; then
10451 DEFAULT_DEFAULT_wxUSE_GTK
=0
10452 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10453 DEFAULT_DEFAULT_wxUSE_MSW
=1
10458 if test "$wxUSE_GUI" = "yes"; then
10460 if test "$USE_BEOS" = 1; then
10461 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10462 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10463 { (exit 1); exit 1; }; }
10466 if test "$TOOLKIT_GIVEN" = 1; then
10467 for toolkit
in `echo $ALL_TOOLKITS`; do
10469 eval "value=\$${var}"
10470 if test "x$value" = "xno"; then
10472 elif test "x$value" != "x"; then
10476 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10477 eval "wx${toolkit}_VERSION=$value"
10481 for toolkit
in `echo $ALL_TOOLKITS`; do
10482 if test "$has_toolkit_in_cache" != 1; then
10483 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10485 var
=DEFAULT_wxUSE_
$toolkit
10487 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10488 if test "x$version" != "x"; then
10489 eval "wx${toolkit}_VERSION=$version"
10492 eval "wxUSE_$toolkit=\$${var}"
10496 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10497 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10498 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10501 *-pc-os2_emx | *-pc-os2-emx )
10502 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10505 case "$NUM_TOOLKITS" in
10509 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10510 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10511 { (exit 1); exit 1; }; }
10514 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10515 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10516 { (exit 1); exit 1; }; }
10519 # to be removed when --disable-gtk2 isn't needed
10520 if test "x$wxUSE_GTK2" = "xyes"; then
10522 elif test "x$wxUSE_GTK2" = "xno"; then
10526 for toolkit
in `echo $ALL_TOOLKITS`; do
10528 eval "value=\$${var}"
10529 if test "x$value" != x
; then
10530 cache_var
=CACHE_
$toolkit
10531 eval "cache=\$${cache_var}"
10532 if test "$cache" = 1; then
10533 echo "$var=$value" >> ${wx_arg_cache_file}
10534 eval "version=\$wx${toolkit}_VERSION"
10535 if test "x$version" != "x"; then
10536 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10539 if test "$value" = 1; then
10540 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10541 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10542 echo "${ECHO_T}$toolkit_echo" >&6
10547 if test "x$host_alias" != "x"; then
10548 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10549 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10551 echo "$as_me:$LINENO: result: base only" >&5
10552 echo "${ECHO_T}base only" >&6
10557 doesnt_want_win32
=0
10560 if test "$wxUSE_MSW" = 1 ; then
10563 doesnt_want_win32
=1
10571 if test "$wxUSE_WINE" = "yes"; then
10576 LDFLAGS_GUI
="-mwindows"
10579 if test "$wants_win32" = 1 ; then
10582 cat >>confdefs.h
<<\_ACEOF
10583 #define __WIN32__ 1
10586 cat >>confdefs.h
<<\_ACEOF
10587 #define __WIN95__ 1
10590 cat >>confdefs.h
<<\_ACEOF
10591 #define __WINDOWS__ 1
10594 cat >>confdefs.h
<<\_ACEOF
10595 #define __GNUWIN32__ 1
10598 cat >>confdefs.h
<<\_ACEOF
10602 cat >>confdefs.h
<<\_ACEOF
10603 #define WINVER 0x0400
10607 if test "$doesnt_want_win32" = 1 ; then
10612 if test "$USE_UNIX" = 1 ; then
10614 cat >>confdefs.h
<<\_ACEOF
10621 cat >confcache
<<\_ACEOF
10622 # This file is a shell script that caches the results of configure
10623 # tests run on this system so they can be shared between configure
10624 # scripts and configure runs, see configure's option --config-cache.
10625 # It is not useful on other systems. If it contains results you don't
10626 # want to keep, you may remove or edit it.
10628 # config.status only pays attention to the cache file if you give it
10629 # the --recheck option to rerun configure.
10631 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10632 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10633 # following values.
10637 # The following way of writing the cache mishandles newlines in values,
10638 # but we know of no workaround that is simple, portable, and efficient.
10639 # So, don't put newlines in cache variables' values.
10640 # Ultrix sh set writes to stderr and can't be redirected directly,
10641 # and sets the high bit in the cache file unless we assign to the vars.
10644 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10646 # `set' does not quote correctly, so add quotes (double-quote
10647 # substitution turns \\\\ into \\, and sed turns \\ into \).
10650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10653 # `set' quotes correctly as required by POSIX, so do not add quotes.
10655 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10662 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10664 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10666 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10667 if test -w $cache_file; then
10668 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10669 cat confcache
>$cache_file
10671 echo "not updating unwritable cache $cache_file"
10676 if test "$build" != "$host" ; then
10677 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10679 CXX
=$host_alias-c++
10681 RANLIB
=$host_alias-ranlib
10682 DLLTOOL
=$host_alias-dlltool
10683 RESCOMP
=$host_alias-windres
10684 STRIP
=$host_alias-strip
10685 elif test "x$CC" '!=' "x"; then
10686 echo "You set CC, I assume you know what you are doing."
10688 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10689 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10690 { (exit 1); exit 1; }; }
10698 ac_cpp
='$CPP $CPPFLAGS'
10699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10702 if test -n "$ac_tool_prefix"; then
10703 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10704 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10705 echo "$as_me:$LINENO: checking for $ac_word" >&5
10706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10707 if test "${ac_cv_prog_CC+set}" = set; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10710 if test -n "$CC"; then
10711 ac_cv_prog_CC
="$CC" # Let the user override the test.
10713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10714 for as_dir
in $PATH
10717 test -z "$as_dir" && as_dir
=.
10718 for ac_exec_ext
in '' $ac_executable_extensions; do
10719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10720 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10730 if test -n "$CC"; then
10731 echo "$as_me:$LINENO: result: $CC" >&5
10732 echo "${ECHO_T}$CC" >&6
10734 echo "$as_me:$LINENO: result: no" >&5
10735 echo "${ECHO_T}no" >&6
10739 if test -z "$ac_cv_prog_CC"; then
10741 # Extract the first word of "gcc", so it can be a program name with args.
10742 set dummy gcc
; ac_word
=$2
10743 echo "$as_me:$LINENO: checking for $ac_word" >&5
10744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10746 echo $ECHO_N "(cached) $ECHO_C" >&6
10748 if test -n "$ac_ct_CC"; then
10749 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10752 for as_dir
in $PATH
10755 test -z "$as_dir" && as_dir
=.
10756 for ac_exec_ext
in '' $ac_executable_extensions; do
10757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10758 ac_cv_prog_ac_ct_CC
="gcc"
10759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10767 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10768 if test -n "$ac_ct_CC"; then
10769 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10770 echo "${ECHO_T}$ac_ct_CC" >&6
10772 echo "$as_me:$LINENO: result: no" >&5
10773 echo "${ECHO_T}no" >&6
10778 CC
="$ac_cv_prog_CC"
10781 if test -z "$CC"; then
10782 if test -n "$ac_tool_prefix"; then
10783 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10784 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10785 echo "$as_me:$LINENO: checking for $ac_word" >&5
10786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10787 if test "${ac_cv_prog_CC+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 if test -n "$CC"; then
10791 ac_cv_prog_CC
="$CC" # Let the user override the test.
10793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10794 for as_dir
in $PATH
10797 test -z "$as_dir" && as_dir
=.
10798 for ac_exec_ext
in '' $ac_executable_extensions; do
10799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10800 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10810 if test -n "$CC"; then
10811 echo "$as_me:$LINENO: result: $CC" >&5
10812 echo "${ECHO_T}$CC" >&6
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10819 if test -z "$ac_cv_prog_CC"; then
10821 # Extract the first word of "cc", so it can be a program name with args.
10822 set dummy cc
; ac_word
=$2
10823 echo "$as_me:$LINENO: checking for $ac_word" >&5
10824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10825 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 if test -n "$ac_ct_CC"; then
10829 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10832 for as_dir
in $PATH
10835 test -z "$as_dir" && as_dir
=.
10836 for ac_exec_ext
in '' $ac_executable_extensions; do
10837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10838 ac_cv_prog_ac_ct_CC
="cc"
10839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10847 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10848 if test -n "$ac_ct_CC"; then
10849 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10850 echo "${ECHO_T}$ac_ct_CC" >&6
10852 echo "$as_me:$LINENO: result: no" >&5
10853 echo "${ECHO_T}no" >&6
10858 CC
="$ac_cv_prog_CC"
10862 if test -z "$CC"; then
10863 # Extract the first word of "cc", so it can be a program name with args.
10864 set dummy cc
; ac_word
=$2
10865 echo "$as_me:$LINENO: checking for $ac_word" >&5
10866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10867 if test "${ac_cv_prog_CC+set}" = set; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 if test -n "$CC"; then
10871 ac_cv_prog_CC
="$CC" # Let the user override the test.
10873 ac_prog_rejected
=no
10874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10875 for as_dir
in $PATH
10878 test -z "$as_dir" && as_dir
=.
10879 for ac_exec_ext
in '' $ac_executable_extensions; do
10880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10881 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10882 ac_prog_rejected
=yes
10886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10892 if test $ac_prog_rejected = yes; then
10893 # We found a bogon in the path, so make sure we never use it.
10894 set dummy
$ac_cv_prog_CC
10896 if test $# != 0; then
10897 # We chose a different compiler from the bogus one.
10898 # However, it has the same basename, so the bogon will be chosen
10899 # first if we set CC to just the basename; use the full file name.
10901 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10907 if test -n "$CC"; then
10908 echo "$as_me:$LINENO: result: $CC" >&5
10909 echo "${ECHO_T}$CC" >&6
10911 echo "$as_me:$LINENO: result: no" >&5
10912 echo "${ECHO_T}no" >&6
10916 if test -z "$CC"; then
10917 if test -n "$ac_tool_prefix"; then
10920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10921 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10922 echo "$as_me:$LINENO: checking for $ac_word" >&5
10923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10924 if test "${ac_cv_prog_CC+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 if test -n "$CC"; then
10928 ac_cv_prog_CC
="$CC" # Let the user override the test.
10930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10931 for as_dir
in $PATH
10934 test -z "$as_dir" && as_dir
=.
10935 for ac_exec_ext
in '' $ac_executable_extensions; do
10936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10937 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10947 if test -n "$CC"; then
10948 echo "$as_me:$LINENO: result: $CC" >&5
10949 echo "${ECHO_T}$CC" >&6
10951 echo "$as_me:$LINENO: result: no" >&5
10952 echo "${ECHO_T}no" >&6
10955 test -n "$CC" && break
10958 if test -z "$CC"; then
10962 # Extract the first word of "$ac_prog", so it can be a program name with args.
10963 set dummy
$ac_prog; ac_word
=$2
10964 echo "$as_me:$LINENO: checking for $ac_word" >&5
10965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10966 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10967 echo $ECHO_N "(cached) $ECHO_C" >&6
10969 if test -n "$ac_ct_CC"; then
10970 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10973 for as_dir
in $PATH
10976 test -z "$as_dir" && as_dir
=.
10977 for ac_exec_ext
in '' $ac_executable_extensions; do
10978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10979 ac_cv_prog_ac_ct_CC
="$ac_prog"
10980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10988 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10989 if test -n "$ac_ct_CC"; then
10990 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10991 echo "${ECHO_T}$ac_ct_CC" >&6
10993 echo "$as_me:$LINENO: result: no" >&5
10994 echo "${ECHO_T}no" >&6
10997 test -n "$ac_ct_CC" && break
11006 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11007 See \`config.log' for more details." >&5
11008 echo "$as_me: error: no acceptable C compiler found in \$PATH
11009 See \`config.log' for more details." >&2;}
11010 { (exit 1); exit 1; }; }
11012 # Provide some information about the compiler.
11013 echo "$as_me:$LINENO:" \
11014 "checking for C compiler version" >&5
11015 ac_compiler
=`set X $ac_compile; echo $2`
11016 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11017 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); }
11021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11022 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }
11026 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11027 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }
11032 cat >conftest.
$ac_ext <<_ACEOF
11035 cat confdefs.h
>>conftest.
$ac_ext
11036 cat >>conftest.
$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11047 ac_clean_files_save
=$ac_clean_files
11048 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11049 # Try to create an executable without -o first, disregard a.out.
11050 # It will help us diagnose broken compilers, and finding out an intuition
11052 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11053 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11054 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11055 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11056 (eval $ac_link_default) 2>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); }; then
11060 # Find the output, starting from the most likely. This scheme is
11061 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11064 # Be careful to initialize this variable, since it used to be cached.
11065 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11067 # b.out is created by i960 compilers.
11068 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11070 test -f "$ac_file" || continue
11072 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11075 # This is the source file.
11078 # We found the default executable, but exeext='' is most
11082 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11083 # FIXME: I believe we export ac_cv_exeext for Libtool,
11084 # but it would be cool to find out if it's true. Does anybody
11085 # maintain Libtool? --akim.
11086 export ac_cv_exeext
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.
$ac_ext >&5
11096 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11097 See \`config.log' for more details." >&5
11098 echo "$as_me: error: C compiler cannot create executables
11099 See \`config.log' for more details." >&2;}
11100 { (exit 77); exit 77; }; }
11103 ac_exeext
=$ac_cv_exeext
11104 echo "$as_me:$LINENO: result: $ac_file" >&5
11105 echo "${ECHO_T}$ac_file" >&6
11107 # Check the compiler produces executables we can run. If not, either
11108 # the compiler is broken, or we cross compile.
11109 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11110 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11111 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11112 # If not cross compiling, check that we can run a simple program.
11113 if test "$cross_compiling" != yes; then
11114 if { ac_try
='./$ac_file'
11115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; }; then
11122 if test "$cross_compiling" = maybe
; then
11123 cross_compiling
=yes
11125 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11126 If you meant to cross compile, use \`--host'.
11127 See \`config.log' for more details." >&5
11128 echo "$as_me: error: cannot run C compiled programs.
11129 If you meant to cross compile, use \`--host'.
11130 See \`config.log' for more details." >&2;}
11131 { (exit 1); exit 1; }; }
11135 echo "$as_me:$LINENO: result: yes" >&5
11136 echo "${ECHO_T}yes" >&6
11138 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11139 ac_clean_files
=$ac_clean_files_save
11140 # Check the compiler produces executables we can run. If not, either
11141 # the compiler is broken, or we cross compile.
11142 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11143 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11144 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11145 echo "${ECHO_T}$cross_compiling" >&6
11147 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11148 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11150 (eval $ac_link) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; then
11154 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11155 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11156 # work properly (i.e., refer to `conftest.exe'), while it won't with
11158 for ac_file
in conftest.exe conftest conftest.
*; do
11159 test -f "$ac_file" || continue
11161 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11162 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11163 export ac_cv_exeext
11169 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11170 See \`config.log' for more details." >&5
11171 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11172 See \`config.log' for more details." >&2;}
11173 { (exit 1); exit 1; }; }
11176 rm -f conftest
$ac_cv_exeext
11177 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11178 echo "${ECHO_T}$ac_cv_exeext" >&6
11180 rm -f conftest.
$ac_ext
11181 EXEEXT
=$ac_cv_exeext
11183 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11184 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11185 if test "${ac_cv_objext+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 cat >conftest.
$ac_ext <<_ACEOF
11191 cat confdefs.h
>>conftest.
$ac_ext
11192 cat >>conftest.
$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11203 rm -f conftest.o conftest.obj
11204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11205 (eval $ac_compile) 2>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); }; then
11209 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11211 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11212 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11217 echo "$as_me: failed program was:" >&5
11218 sed 's/^/| /' conftest.
$ac_ext >&5
11220 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11221 See \`config.log' for more details." >&5
11222 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11223 See \`config.log' for more details." >&2;}
11224 { (exit 1); exit 1; }; }
11227 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11229 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11230 echo "${ECHO_T}$ac_cv_objext" >&6
11231 OBJEXT
=$ac_cv_objext
11233 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11234 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11235 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11236 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 cat >conftest.
$ac_ext <<_ACEOF
11241 cat confdefs.h
>>conftest.
$ac_ext
11242 cat >>conftest.
$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11256 rm -f conftest.
$ac_objext
11257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11258 (eval $ac_compile) 2>conftest.er1
11260 grep -v '^ *+' conftest.er1
>conftest.err
11262 cat conftest.err
>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } &&
11265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; } &&
11271 { ac_try
='test -s conftest.$ac_objext'
11272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273 (eval $ac_try) 2>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; }; then
11277 ac_compiler_gnu
=yes
11279 echo "$as_me: failed program was:" >&5
11280 sed 's/^/| /' conftest.
$ac_ext >&5
11284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11285 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11288 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11289 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11290 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11291 ac_test_CFLAGS
=${CFLAGS+set}
11292 ac_save_CFLAGS
=$CFLAGS
11294 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11295 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11296 if test "${ac_cv_prog_cc_g+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 cat >conftest.
$ac_ext <<_ACEOF
11302 cat confdefs.h
>>conftest.
$ac_ext
11303 cat >>conftest.
$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11314 rm -f conftest.
$ac_objext
11315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11316 (eval $ac_compile) 2>conftest.er1
11318 grep -v '^ *+' conftest.er1
>conftest.err
11320 cat conftest.err
>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } &&
11323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; } &&
11329 { ac_try
='test -s conftest.$ac_objext'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 ac_cv_prog_cc_g
=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.
$ac_ext >&5
11342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11344 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11345 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11346 if test "$ac_test_CFLAGS" = set; then
11347 CFLAGS
=$ac_save_CFLAGS
11348 elif test $ac_cv_prog_cc_g = yes; then
11349 if test "$GCC" = yes; then
11355 if test "$GCC" = yes; then
11361 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11362 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11363 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11364 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 ac_cv_prog_cc_stdc
=no
11368 cat >conftest.
$ac_ext <<_ACEOF
11371 cat confdefs.h
>>conftest.
$ac_ext
11372 cat >>conftest.
$ac_ext <<_ACEOF
11373 /* end confdefs.h. */
11374 #include <stdarg.h>
11376 #include <sys/types.h>
11377 #include <sys/stat.h>
11378 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11379 struct buf { int x; };
11380 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11381 static char *e (p, i)
11387 static char *f (char * (*g) (char **, int), char **p, ...)
11392 s = g (p, va_arg (v,int));
11397 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11398 function prototypes and stuff, but not '\xHH' hex character constants.
11399 These don't provoke an error unfortunately, instead are silently treated
11400 as 'x'. The following induces an error, until -std1 is added to get
11401 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11402 array size at least. It's necessary to write '\x00'==0 to get something
11403 that's true only with -std1. */
11404 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11406 int test (int i, double x);
11407 struct s1 {int (*f) (int a);};
11408 struct s2 {int (*f) (double a);};
11409 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11415 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11420 # Don't try gcc -ansi; that turns off useful extensions and
11421 # breaks some systems' header files.
11422 # AIX -qlanglvl=ansi
11423 # Ultrix and OSF/1 -std1
11424 # HP-UX 10.20 and later -Ae
11425 # HP-UX older versions -Aa -D_HPUX_SOURCE
11426 # SVR4 -Xc -D__EXTENSIONS__
11427 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11429 CC
="$ac_save_CC $ac_arg"
11430 rm -f conftest.
$ac_objext
11431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11432 (eval $ac_compile) 2>conftest.er1
11434 grep -v '^ *+' conftest.er1
>conftest.err
11436 cat conftest.err
>&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } &&
11439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11441 (eval $ac_try) 2>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; } &&
11445 { ac_try
='test -s conftest.$ac_objext'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; }; then
11451 ac_cv_prog_cc_stdc
=$ac_arg
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.
$ac_ext >&5
11458 rm -f conftest.err conftest.
$ac_objext
11460 rm -f conftest.
$ac_ext conftest.
$ac_objext
11465 case "x$ac_cv_prog_cc_stdc" in
11467 echo "$as_me:$LINENO: result: none needed" >&5
11468 echo "${ECHO_T}none needed" >&6 ;;
11470 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11471 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11472 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11475 # Some people use a C++ compiler to compile C. Since we use `exit',
11476 # in C++ we need to declare it. In case someone uses the same compiler
11477 # for both compiling C and C++ we need to have the C++ compiler decide
11478 # the declaration of exit, since it's the most demanding environment.
11479 cat >conftest.
$ac_ext <<_ACEOF
11480 #ifndef __cplusplus
11484 rm -f conftest.
$ac_objext
11485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11486 (eval $ac_compile) 2>conftest.er1
11488 grep -v '^ *+' conftest.er1
>conftest.err
11490 cat conftest.err
>&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); } &&
11493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11495 (eval $ac_try) 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; } &&
11499 { ac_try
='test -s conftest.$ac_objext'
11500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11501 (eval $ac_try) 2>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); }; }; then
11505 for ac_declaration
in \
11507 'extern "C" void std::exit (int) throw (); using std::exit;' \
11508 'extern "C" void std::exit (int); using std::exit;' \
11509 'extern "C" void exit (int) throw ();' \
11510 'extern "C" void exit (int);' \
11513 cat >conftest.
$ac_ext <<_ACEOF
11516 cat confdefs.h
>>conftest.
$ac_ext
11517 cat >>conftest.
$ac_ext <<_ACEOF
11518 /* end confdefs.h. */
11520 #include <stdlib.h>
11529 rm -f conftest.
$ac_objext
11530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11531 (eval $ac_compile) 2>conftest.er1
11533 grep -v '^ *+' conftest.er1
>conftest.err
11535 cat conftest.err
>&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } &&
11538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11540 (eval $ac_try) 2>&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); }; } &&
11544 { ac_try
='test -s conftest.$ac_objext'
11545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546 (eval $ac_try) 2>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); }; }; then
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.
$ac_ext >&5
11557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11573 rm -f conftest.
$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11577 grep -v '^ *+' conftest.er1
>conftest.err
11579 cat conftest.err
>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11584 (eval $ac_try) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; } &&
11588 { ac_try
='test -s conftest.$ac_objext'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.
$ac_ext >&5
11600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11603 if test -n "$ac_declaration"; then
11604 echo '#ifdef __cplusplus' >>confdefs.h
11605 echo $ac_declaration >>confdefs.h
11606 echo '#endif' >>confdefs.h
11610 echo "$as_me: failed program was:" >&5
11611 sed 's/^/| /' conftest.
$ac_ext >&5
11614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11616 ac_cpp
='$CPP $CPPFLAGS'
11617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11621 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11622 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11623 if test "${wx_cv_c_exto+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 cat >conftest.
$ac_ext <<_ACEOF
11629 cat confdefs.h
>>conftest.
$ac_ext
11630 cat >>conftest.
$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11641 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11643 (eval $ac_compile) 2>&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); }; then
11647 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11649 conftest.
$ac_ext.o
)
11650 wx_cv_c_exto
="-ext o"
11657 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11658 See \`config.log' for more details." >&5
11659 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11660 See \`config.log' for more details." >&2;}
11661 { (exit 1); exit 1; }; }
11665 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11668 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11669 echo "${ECHO_T}$wx_cv_c_exto" >&6
11670 if test "x$wx_cv_c_exto" '!=' "x"; then
11671 if test "c" = "c"; then
11672 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11674 if test "c" = "cxx"; then
11675 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11679 if test "x$wx_cv_c_exto" '!=' "x"; then
11680 unset ac_cv_prog_cc_g
11681 ac_test_CFLAGS
=${CFLAGS+set}
11682 ac_save_CFLAGS
=$CFLAGS
11684 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11686 if test "${ac_cv_prog_cc_g+set}" = set; then
11687 echo $ECHO_N "(cached) $ECHO_C" >&6
11689 cat >conftest.
$ac_ext <<_ACEOF
11692 cat confdefs.h
>>conftest.
$ac_ext
11693 cat >>conftest.
$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11704 rm -f conftest.
$ac_objext
11705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11706 (eval $ac_compile) 2>conftest.er1
11708 grep -v '^ *+' conftest.er1
>conftest.err
11710 cat conftest.err
>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } &&
11713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; } &&
11719 { ac_try
='test -s conftest.$ac_objext'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; }; then
11725 ac_cv_prog_cc_g
=yes
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.
$ac_ext >&5
11732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11735 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11736 if test "$ac_test_CFLAGS" = set; then
11737 CFLAGS
=$ac_save_CFLAGS
11738 elif test $ac_cv_prog_cc_g = yes; then
11739 if test "$GCC" = yes; then
11745 if test "$GCC" = yes; then
11753 ac_cpp
='$CPP $CPPFLAGS'
11754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11758 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11759 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11760 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11761 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 cat >conftest.
$ac_ext <<_ACEOF
11766 cat confdefs.h
>>conftest.
$ac_ext
11767 cat >>conftest.
$ac_ext <<_ACEOF
11768 /* end confdefs.h. */
11781 rm -f conftest.
$ac_objext
11782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11783 (eval $ac_compile) 2>conftest.er1
11785 grep -v '^ *+' conftest.er1
>conftest.err
11787 cat conftest.err
>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } &&
11790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; } &&
11796 { ac_try
='test -s conftest.$ac_objext'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then
11802 bakefile_compiler_mwerks
=yes
11804 echo "$as_me: failed program was:" >&5
11805 sed 's/^/| /' conftest.
$ac_ext >&5
11807 bakefile_compiler_mwerks
=no
11809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11810 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11813 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11814 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11816 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11818 ac_cpp
='$CPP $CPPFLAGS'
11819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11825 ac_cpp
='$CPP $CPPFLAGS'
11826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11830 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11831 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11832 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 cat >conftest.
$ac_ext <<_ACEOF
11838 cat confdefs.h
>>conftest.
$ac_ext
11839 cat >>conftest.
$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11853 rm -f conftest.
$ac_objext
11854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11855 (eval $ac_compile) 2>conftest.er1
11857 grep -v '^ *+' conftest.er1
>conftest.err
11859 cat conftest.err
>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } &&
11862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11864 (eval $ac_try) 2>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); }; } &&
11868 { ac_try
='test -s conftest.$ac_objext'
11869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11870 (eval $ac_try) 2>&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); }; }; then
11874 wx_compiler_xlc
=yes
11876 echo "$as_me: failed program was:" >&5
11877 sed 's/^/| /' conftest.
$ac_ext >&5
11881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11882 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11885 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11886 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11888 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11890 ac_cpp
='$CPP $CPPFLAGS'
11891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11899 ac_cpp
='$CPP $CPPFLAGS'
11900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11903 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11904 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11905 # On Suns, sometimes $CPP names a directory.
11906 if test -n "$CPP" && test -d "$CPP"; then
11909 if test -z "$CPP"; then
11910 if test "${ac_cv_prog_CPP+set}" = set; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 # Double quotes because CPP needs to be expanded
11914 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11916 ac_preproc_ok
=false
11917 for ac_c_preproc_warn_flag
in '' yes
11919 # Use a header file that comes with gcc, so configuring glibc
11920 # with a fresh cross-compiler works.
11921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11922 # <limits.h> exists even on freestanding compilers.
11923 # On the NeXT, cc -E runs the code through the compiler's parser,
11924 # not just through cpp. "Syntax error" is here to catch this case.
11925 cat >conftest.
$ac_ext <<_ACEOF
11928 cat confdefs.h
>>conftest.
$ac_ext
11929 cat >>conftest.
$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11932 # include <limits.h>
11934 # include <assert.h>
11938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11939 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11941 grep -v '^ *+' conftest.er1
>conftest.err
11943 cat conftest.err
>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); } >/dev
/null
; then
11946 if test -s conftest.err
; then
11947 ac_cpp_err
=$ac_c_preproc_warn_flag
11948 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11955 if test -z "$ac_cpp_err"; then
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.
$ac_ext >&5
11961 # Broken: fails on valid input.
11964 rm -f conftest.err conftest.
$ac_ext
11966 # OK, works on sane cases. Now check whether non-existent headers
11967 # can be detected and how.
11968 cat >conftest.
$ac_ext <<_ACEOF
11971 cat confdefs.h
>>conftest.
$ac_ext
11972 cat >>conftest.
$ac_ext <<_ACEOF
11973 /* end confdefs.h. */
11974 #include <ac_nonexistent.h>
11976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11979 grep -v '^ *+' conftest.er1
>conftest.err
11981 cat conftest.err
>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } >/dev
/null
; then
11984 if test -s conftest.err
; then
11985 ac_cpp_err
=$ac_c_preproc_warn_flag
11986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11993 if test -z "$ac_cpp_err"; then
11994 # Broken: success on invalid input.
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.
$ac_ext >&5
12000 # Passes both tests.
12004 rm -f conftest.err conftest.
$ac_ext
12007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12008 rm -f conftest.err conftest.
$ac_ext
12009 if $ac_preproc_ok; then
12014 ac_cv_prog_CPP
=$CPP
12017 CPP
=$ac_cv_prog_CPP
12019 ac_cv_prog_CPP
=$CPP
12021 echo "$as_me:$LINENO: result: $CPP" >&5
12022 echo "${ECHO_T}$CPP" >&6
12023 ac_preproc_ok
=false
12024 for ac_c_preproc_warn_flag
in '' yes
12026 # Use a header file that comes with gcc, so configuring glibc
12027 # with a fresh cross-compiler works.
12028 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12029 # <limits.h> exists even on freestanding compilers.
12030 # On the NeXT, cc -E runs the code through the compiler's parser,
12031 # not just through cpp. "Syntax error" is here to catch this case.
12032 cat >conftest.
$ac_ext <<_ACEOF
12035 cat confdefs.h
>>conftest.
$ac_ext
12036 cat >>conftest.
$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12039 # include <limits.h>
12041 # include <assert.h>
12045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12048 grep -v '^ *+' conftest.er1
>conftest.err
12050 cat conftest.err
>&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); } >/dev
/null
; then
12053 if test -s conftest.err
; then
12054 ac_cpp_err
=$ac_c_preproc_warn_flag
12055 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12062 if test -z "$ac_cpp_err"; then
12065 echo "$as_me: failed program was:" >&5
12066 sed 's/^/| /' conftest.
$ac_ext >&5
12068 # Broken: fails on valid input.
12071 rm -f conftest.err conftest.
$ac_ext
12073 # OK, works on sane cases. Now check whether non-existent headers
12074 # can be detected and how.
12075 cat >conftest.
$ac_ext <<_ACEOF
12078 cat confdefs.h
>>conftest.
$ac_ext
12079 cat >>conftest.
$ac_ext <<_ACEOF
12080 /* end confdefs.h. */
12081 #include <ac_nonexistent.h>
12083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12086 grep -v '^ *+' conftest.er1
>conftest.err
12088 cat conftest.err
>&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); } >/dev
/null
; then
12091 if test -s conftest.err
; then
12092 ac_cpp_err
=$ac_c_preproc_warn_flag
12093 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12100 if test -z "$ac_cpp_err"; then
12101 # Broken: success on invalid input.
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.
$ac_ext >&5
12107 # Passes both tests.
12111 rm -f conftest.err conftest.
$ac_ext
12114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12115 rm -f conftest.err conftest.
$ac_ext
12116 if $ac_preproc_ok; then
12119 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12120 See \`config.log' for more details." >&5
12121 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12122 See \`config.log' for more details." >&2;}
12123 { (exit 1); exit 1; }; }
12127 ac_cpp
='$CPP $CPPFLAGS'
12128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12133 echo "$as_me:$LINENO: checking for egrep" >&5
12134 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12135 if test "${ac_cv_prog_egrep+set}" = set; then
12136 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12139 then ac_cv_prog_egrep
='grep -E'
12140 else ac_cv_prog_egrep
='egrep'
12143 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12144 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12145 EGREP
=$ac_cv_prog_egrep
12148 if test $ac_cv_c_compiler_gnu = yes; then
12149 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12150 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12151 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 ac_pattern
="Autoconf.*'x'"
12155 cat >conftest.
$ac_ext <<_ACEOF
12158 cat confdefs.h
>>conftest.
$ac_ext
12159 cat >>conftest.
$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12165 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12166 ac_cv_prog_gcc_traditional
=yes
12168 ac_cv_prog_gcc_traditional
=no
12173 if test $ac_cv_prog_gcc_traditional = no
; then
12174 cat >conftest.
$ac_ext <<_ACEOF
12177 cat confdefs.h
>>conftest.
$ac_ext
12178 cat >>conftest.
$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12180 #include <termio.h>
12183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12184 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12185 ac_cv_prog_gcc_traditional
=yes
12191 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12192 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12193 if test $ac_cv_prog_gcc_traditional = yes; then
12194 CC
="$CC -traditional"
12202 ac_cpp
='$CXXCPP $CPPFLAGS'
12203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12208 CXXFLAGS
=${CXXFLAGS:=}
12212 ac_cpp
='$CXXCPP $CPPFLAGS'
12213 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12214 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12215 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12216 if test -n "$ac_tool_prefix"; then
12217 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12219 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12220 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12221 echo "$as_me:$LINENO: checking for $ac_word" >&5
12222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12223 if test "${ac_cv_prog_CXX+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 if test -n "$CXX"; then
12227 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12230 for as_dir
in $PATH
12233 test -z "$as_dir" && as_dir
=.
12234 for ac_exec_ext
in '' $ac_executable_extensions; do
12235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12236 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12245 CXX
=$ac_cv_prog_CXX
12246 if test -n "$CXX"; then
12247 echo "$as_me:$LINENO: result: $CXX" >&5
12248 echo "${ECHO_T}$CXX" >&6
12250 echo "$as_me:$LINENO: result: no" >&5
12251 echo "${ECHO_T}no" >&6
12254 test -n "$CXX" && break
12257 if test -z "$CXX"; then
12259 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12261 # Extract the first word of "$ac_prog", so it can be a program name with args.
12262 set dummy
$ac_prog; ac_word
=$2
12263 echo "$as_me:$LINENO: checking for $ac_word" >&5
12264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12266 echo $ECHO_N "(cached) $ECHO_C" >&6
12268 if test -n "$ac_ct_CXX"; then
12269 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12272 for as_dir
in $PATH
12275 test -z "$as_dir" && as_dir
=.
12276 for ac_exec_ext
in '' $ac_executable_extensions; do
12277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12278 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12287 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12288 if test -n "$ac_ct_CXX"; then
12289 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12290 echo "${ECHO_T}$ac_ct_CXX" >&6
12292 echo "$as_me:$LINENO: result: no" >&5
12293 echo "${ECHO_T}no" >&6
12296 test -n "$ac_ct_CXX" && break
12298 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12304 # Provide some information about the compiler.
12305 echo "$as_me:$LINENO:" \
12306 "checking for C++ compiler version" >&5
12307 ac_compiler
=`set X $ac_compile; echo $2`
12308 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12309 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }
12313 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12314 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }
12318 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12319 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }
12324 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12325 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12326 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12327 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 cat >conftest.
$ac_ext <<_ACEOF
12332 cat confdefs.h
>>conftest.
$ac_ext
12333 cat >>conftest.
$ac_ext <<_ACEOF
12334 /* end confdefs.h. */
12347 rm -f conftest.
$ac_objext
12348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12349 (eval $ac_compile) 2>conftest.er1
12351 grep -v '^ *+' conftest.er1
>conftest.err
12353 cat conftest.err
>&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); } &&
12356 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; } &&
12362 { ac_try
='test -s conftest.$ac_objext'
12363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12364 (eval $ac_try) 2>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; }; then
12368 ac_compiler_gnu
=yes
12370 echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.
$ac_ext >&5
12375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12376 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12379 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12380 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12381 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12382 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12383 ac_save_CXXFLAGS
=$CXXFLAGS
12385 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12386 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12387 if test "${ac_cv_prog_cxx_g+set}" = set; then
12388 echo $ECHO_N "(cached) $ECHO_C" >&6
12390 cat >conftest.
$ac_ext <<_ACEOF
12393 cat confdefs.h
>>conftest.
$ac_ext
12394 cat >>conftest.
$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12405 rm -f conftest.
$ac_objext
12406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12407 (eval $ac_compile) 2>conftest.er1
12409 grep -v '^ *+' conftest.er1
>conftest.err
12411 cat conftest.err
>&5
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); } &&
12414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12416 (eval $ac_try) 2>&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }; } &&
12420 { ac_try
='test -s conftest.$ac_objext'
12421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12422 (eval $ac_try) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); }; }; then
12426 ac_cv_prog_cxx_g
=yes
12428 echo "$as_me: failed program was:" >&5
12429 sed 's/^/| /' conftest.
$ac_ext >&5
12431 ac_cv_prog_cxx_g
=no
12433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12435 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12436 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12437 if test "$ac_test_CXXFLAGS" = set; then
12438 CXXFLAGS
=$ac_save_CXXFLAGS
12439 elif test $ac_cv_prog_cxx_g = yes; then
12440 if test "$GXX" = yes; then
12446 if test "$GXX" = yes; then
12452 for ac_declaration
in \
12454 'extern "C" void std::exit (int) throw (); using std::exit;' \
12455 'extern "C" void std::exit (int); using std::exit;' \
12456 'extern "C" void exit (int) throw ();' \
12457 'extern "C" void exit (int);' \
12460 cat >conftest.
$ac_ext <<_ACEOF
12463 cat confdefs.h
>>conftest.
$ac_ext
12464 cat >>conftest.
$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12467 #include <stdlib.h>
12476 rm -f conftest.
$ac_objext
12477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12478 (eval $ac_compile) 2>conftest.er1
12480 grep -v '^ *+' conftest.er1
>conftest.err
12482 cat conftest.err
>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); } &&
12485 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; } &&
12491 { ac_try
='test -s conftest.$ac_objext'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; }; then
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.
$ac_ext >&5
12504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12520 rm -f conftest.
$ac_objext
12521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12522 (eval $ac_compile) 2>conftest.er1
12524 grep -v '^ *+' conftest.er1
>conftest.err
12526 cat conftest.err
>&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); } &&
12529 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; } &&
12535 { ac_try
='test -s conftest.$ac_objext'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; }; then
12543 echo "$as_me: failed program was:" >&5
12544 sed 's/^/| /' conftest.
$ac_ext >&5
12547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12550 if test -n "$ac_declaration"; then
12551 echo '#ifdef __cplusplus' >>confdefs.h
12552 echo $ac_declaration >>confdefs.h
12553 echo '#endif' >>confdefs.h
12557 ac_cpp
='$CXXCPP $CPPFLAGS'
12558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12562 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12563 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12564 if test "${wx_cv_cxx_exto+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 cat >conftest.
$ac_ext <<_ACEOF
12570 cat confdefs.h
>>conftest.
$ac_ext
12571 cat >>conftest.
$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12582 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12584 (eval $ac_compile) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }; then
12588 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12590 conftest.
$ac_ext.o
)
12591 wx_cv_cxx_exto
="-ext o"
12598 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12599 See \`config.log' for more details." >&5
12600 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12601 See \`config.log' for more details." >&2;}
12602 { (exit 1); exit 1; }; }
12606 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12609 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12610 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12611 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12612 if test "cxx" = "c"; then
12613 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12615 if test "cxx" = "cxx"; then
12616 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12620 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12621 unset ac_cv_prog_cxx_g
12622 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12623 ac_save_CXXFLAGS
=$CXXFLAGS
12625 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12626 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12627 if test "${ac_cv_prog_cxx_g+set}" = set; then
12628 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 cat >conftest.
$ac_ext <<_ACEOF
12633 cat confdefs.h
>>conftest.
$ac_ext
12634 cat >>conftest.
$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12645 rm -f conftest.
$ac_objext
12646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12647 (eval $ac_compile) 2>conftest.er1
12649 grep -v '^ *+' conftest.er1
>conftest.err
12651 cat conftest.err
>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } &&
12654 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 (eval $ac_try) 2>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; } &&
12660 { ac_try
='test -s conftest.$ac_objext'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; }; then
12666 ac_cv_prog_cxx_g
=yes
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.
$ac_ext >&5
12671 ac_cv_prog_cxx_g
=no
12673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12675 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12676 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12677 if test "$ac_test_CXXFLAGS" = set; then
12678 CXXFLAGS
=$ac_save_CXXFLAGS
12679 elif test $ac_cv_prog_cxx_g = yes; then
12680 if test "$GXX" = yes; then
12686 if test "$GXX" = yes; then
12694 ac_cpp
='$CXXCPP $CPPFLAGS'
12695 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12696 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12697 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12699 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12700 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12701 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12702 echo $ECHO_N "(cached) $ECHO_C" >&6
12704 cat >conftest.
$ac_ext <<_ACEOF
12707 cat confdefs.h
>>conftest.
$ac_ext
12708 cat >>conftest.
$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12722 rm -f conftest.
$ac_objext
12723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12724 (eval $ac_compile) 2>conftest.er1
12726 grep -v '^ *+' conftest.er1
>conftest.err
12728 cat conftest.err
>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } &&
12731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; } &&
12737 { ac_try
='test -s conftest.$ac_objext'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; }; then
12743 bakefile_compiler_mwerks
=yes
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.
$ac_ext >&5
12748 bakefile_compiler_mwerks
=no
12750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12751 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12754 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12755 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12757 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12759 ac_cpp
='$CXXCPP $CPPFLAGS'
12760 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12761 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12762 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12766 ac_cpp
='$CXXCPP $CPPFLAGS'
12767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12771 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12772 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12773 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 cat >conftest.
$ac_ext <<_ACEOF
12779 cat confdefs.h
>>conftest.
$ac_ext
12780 cat >>conftest.
$ac_ext <<_ACEOF
12781 /* end confdefs.h. */
12794 rm -f conftest.
$ac_objext
12795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12796 (eval $ac_compile) 2>conftest.er1
12798 grep -v '^ *+' conftest.er1
>conftest.err
12800 cat conftest.err
>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); } &&
12803 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; } &&
12809 { ac_try
='test -s conftest.$ac_objext'
12810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 (eval $ac_try) 2>&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); }; }; then
12815 wx_compiler_xlc
=yes
12817 echo "$as_me: failed program was:" >&5
12818 sed 's/^/| /' conftest.
$ac_ext >&5
12822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12823 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12826 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12827 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12829 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12831 ac_cpp
='$CXXCPP $CPPFLAGS'
12832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12840 ac_cpp
='$CPP $CPPFLAGS'
12841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12846 if test -n "$ac_tool_prefix"; then
12847 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12848 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12849 echo "$as_me:$LINENO: checking for $ac_word" >&5
12850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12851 if test "${ac_cv_prog_RANLIB+set}" = set; then
12852 echo $ECHO_N "(cached) $ECHO_C" >&6
12854 if test -n "$RANLIB"; then
12855 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12858 for as_dir
in $PATH
12861 test -z "$as_dir" && as_dir
=.
12862 for ac_exec_ext
in '' $ac_executable_extensions; do
12863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12864 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12873 RANLIB
=$ac_cv_prog_RANLIB
12874 if test -n "$RANLIB"; then
12875 echo "$as_me:$LINENO: result: $RANLIB" >&5
12876 echo "${ECHO_T}$RANLIB" >&6
12878 echo "$as_me:$LINENO: result: no" >&5
12879 echo "${ECHO_T}no" >&6
12883 if test -z "$ac_cv_prog_RANLIB"; then
12884 ac_ct_RANLIB
=$RANLIB
12885 # Extract the first word of "ranlib", so it can be a program name with args.
12886 set dummy ranlib
; ac_word
=$2
12887 echo "$as_me:$LINENO: checking for $ac_word" >&5
12888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12889 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12890 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 if test -n "$ac_ct_RANLIB"; then
12893 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12896 for as_dir
in $PATH
12899 test -z "$as_dir" && as_dir
=.
12900 for ac_exec_ext
in '' $ac_executable_extensions; do
12901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12902 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12909 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12912 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12913 if test -n "$ac_ct_RANLIB"; then
12914 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12915 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12917 echo "$as_me:$LINENO: result: no" >&5
12918 echo "${ECHO_T}no" >&6
12921 RANLIB
=$ac_ct_RANLIB
12923 RANLIB
="$ac_cv_prog_RANLIB"
12927 # Extract the first word of "ar", so it can be a program name with args.
12928 set dummy
ar; ac_word
=$2
12929 echo "$as_me:$LINENO: checking for $ac_word" >&5
12930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12931 if test "${ac_cv_prog_AR+set}" = set; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 if test -n "$AR"; then
12935 ac_cv_prog_AR
="$AR" # Let the user override the test.
12937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12938 for as_dir
in $PATH
12941 test -z "$as_dir" && as_dir
=.
12942 for ac_exec_ext
in '' $ac_executable_extensions; do
12943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12954 if test -n "$AR"; then
12955 echo "$as_me:$LINENO: result: $AR" >&5
12956 echo "${ECHO_T}$AR" >&6
12958 echo "$as_me:$LINENO: result: no" >&5
12959 echo "${ECHO_T}no" >&6
12962 if test "x$AR" = "x" ; then
12963 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12964 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12965 { (exit 1); exit 1; }; }
12968 # Find a good install program. We prefer a C program (faster),
12969 # so one script is as good as another. But avoid the broken or
12970 # incompatible versions:
12971 # SysV /etc/install, /usr/sbin/install
12972 # SunOS /usr/etc/install
12973 # IRIX /sbin/install
12975 # AmigaOS /C/install, which installs bootblocks on floppy discs
12976 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12977 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12978 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12979 # OS/2's system install, which has a completely different semantic
12980 # ./install, which can be erroneously created by make from ./install.sh.
12981 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12982 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12983 if test -z "$INSTALL"; then
12984 if test "${ac_cv_path_install+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12988 for as_dir
in $PATH
12991 test -z "$as_dir" && as_dir
=.
12992 # Account for people who put trailing slashes in PATH elements.
12994 .
/ | .
// | /cC
/* | \
12995 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12996 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12999 # OSF1 and SCO ODT 3.0 have their own names for install.
13000 # Don't use installbsd from OSF since it installs stuff as root
13002 for ac_prog
in ginstall scoinst
install; do
13003 for ac_exec_ext
in '' $ac_executable_extensions; do
13004 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13005 if test $ac_prog = install &&
13006 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13007 # AIX install. It has an incompatible calling convention.
13009 elif test $ac_prog = install &&
13010 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13011 # program-specific install script used by HP pwplus--don't use.
13014 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13026 if test "${ac_cv_path_install+set}" = set; then
13027 INSTALL
=$ac_cv_path_install
13029 # As a last resort, use the slow shell script. We don't cache a
13030 # path for INSTALL within a source directory, because that will
13031 # break other packages using the cache if that directory is
13032 # removed, or if the path is relative.
13033 INSTALL
=$ac_install_sh
13036 echo "$as_me:$LINENO: result: $INSTALL" >&5
13037 echo "${ECHO_T}$INSTALL" >&6
13039 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13040 # It thinks the first close brace ends the variable substitution.
13041 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13043 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13045 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13051 ?
:* ) # Drive letter, considered as absolute.
13054 INSTALL
=`pwd`/${INSTALL} ;;
13060 powerpc
-*-darwin* )
13061 INSTALL_PROGRAM
="cp -fp"
13062 INSTALL_DATA
="cp -fp"
13068 # Extract the first word of "strip", so it can be a program name with args.
13069 set dummy strip
; ac_word
=$2
13070 echo "$as_me:$LINENO: checking for $ac_word" >&5
13071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13072 if test "${ac_cv_prog_STRIP+set}" = set; then
13073 echo $ECHO_N "(cached) $ECHO_C" >&6
13075 if test -n "$STRIP"; then
13076 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13079 for as_dir
in $PATH
13082 test -z "$as_dir" && as_dir
=.
13083 for ac_exec_ext
in '' $ac_executable_extensions; do
13084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13085 ac_cv_prog_STRIP
="strip"
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13092 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13095 STRIP
=$ac_cv_prog_STRIP
13096 if test -n "$STRIP"; then
13097 echo "$as_me:$LINENO: result: $STRIP" >&5
13098 echo "${ECHO_T}$STRIP" >&6
13100 echo "$as_me:$LINENO: result: no" >&5
13101 echo "${ECHO_T}no" >&6
13105 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13106 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13107 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13111 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13112 egrep -s GNU
> /dev
/null
); then
13113 wx_cv_prog_makeisgnu
="yes"
13115 wx_cv_prog_makeisgnu
="no"
13119 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13120 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13122 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13130 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13131 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13132 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13133 if test "${wx_cv_prog_makevpath+set}" = set; then
13134 echo $ECHO_N "(cached) $ECHO_C" >&6
13137 cat - << EOF > confMake
13143 if test ! -d sub
; then
13146 echo dummy
> sub
/file
13147 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13149 rm -f sub
/file check final_file confMake
13151 if test "$RESULT" = 0; then
13152 wx_cv_prog_makevpath
="yes"
13154 wx_cv_prog_makevpath
="no"
13158 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13159 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13161 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13162 { { echo "$as_me:$LINENO: error:
13163 You need a make-utility that is able to use the variable
13165 If your version of make does not support VPATH correctly,
13166 please install GNU-make (possibly as gmake), and start
13167 configure with the following command:
13168 export MAKE=gmake; ./configure for sh-type shells
13169 setenv MAKE gmake; ./configure for csh-type shells
13170 Also please do remember to use gmake in this case every time
13171 you are trying to compile.
13173 echo "$as_me: error:
13174 You need a make-utility that is able to use the variable
13176 If your version of make does not support VPATH correctly,
13177 please install GNU-make (possibly as gmake), and start
13178 configure with the following command:
13179 export MAKE=gmake; ./configure for sh-type shells
13180 setenv MAKE gmake; ./configure for csh-type shells
13181 Also please do remember to use gmake in this case every time
13182 you are trying to compile.
13184 { (exit 1); exit 1; }; }
13186 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13187 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13189 if test "$LN_S" = "ln -s"; then
13190 echo "$as_me:$LINENO: result: yes" >&5
13191 echo "${ECHO_T}yes" >&6
13193 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13194 echo "${ECHO_T}no, using $LN_S" >&6
13199 if test "x$XLCXX" = "xyes"; then
13200 CXXFLAGS
="$CXXFLAGS -qunique"
13205 powerpc
-*-darwin* )
13206 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13207 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13208 cat >conftest.
$ac_ext <<_ACEOF
13211 cat confdefs.h
>>conftest.
$ac_ext
13212 cat >>conftest.
$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13218 #ifndef __POWERPC__
13219 choke me for lack of PowerPC
13226 rm -f conftest.
$ac_objext
13227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13228 (eval $ac_compile) 2>conftest.er1
13230 grep -v '^ *+' conftest.er1
>conftest.err
13232 cat conftest.err
>&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); } &&
13235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237 (eval $ac_try) 2>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); }; } &&
13241 { ac_try
='test -s conftest.$ac_objext'
13242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13243 (eval $ac_try) 2>&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); }; }; then
13247 echo "$as_me:$LINENO: result: yes" >&5
13248 echo "${ECHO_T}yes" >&6
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.
$ac_ext >&5
13253 echo "$as_me:$LINENO: result: no" >&5
13254 echo "${ECHO_T}no" >&6
13255 cat >>confdefs.h
<<\_ACEOF
13256 #define __POWERPC__ 1
13261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13262 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13263 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13264 cat >conftest.
$ac_ext <<_ACEOF
13267 cat confdefs.h
>>conftest.
$ac_ext
13268 cat >>conftest.
$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 #include <CoreFoundation/CFBase.h>
13280 rm -f conftest.
$ac_objext
13281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13282 (eval $ac_compile) 2>conftest.er1
13284 grep -v '^ *+' conftest.er1
>conftest.err
13286 cat conftest.err
>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } &&
13289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13291 (eval $ac_try) 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }; } &&
13295 { ac_try
='test -s conftest.$ac_objext'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; }; then
13301 echo "$as_me:$LINENO: result: yes" >&5
13302 echo "${ECHO_T}yes" >&6
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.
$ac_ext >&5
13307 echo "$as_me:$LINENO: result: no" >&5
13308 echo "${ECHO_T}no" >&6
13309 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13310 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13311 cat >conftest.
$ac_ext <<_ACEOF
13314 cat confdefs.h
>>conftest.
$ac_ext
13315 cat >>conftest.
$ac_ext <<_ACEOF
13316 /* end confdefs.h. */
13317 #define __CF_USE_FRAMEWORK_INCLUDES__
13318 #include <CoreFoundation/CFBase.h>
13328 rm -f conftest.
$ac_objext
13329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13330 (eval $ac_compile) 2>conftest.er1
13332 grep -v '^ *+' conftest.er1
>conftest.err
13334 cat conftest.err
>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } &&
13337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13339 (eval $ac_try) 2>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); }; } &&
13343 { ac_try
='test -s conftest.$ac_objext'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; }; then
13349 echo "$as_me:$LINENO: result: yes" >&5
13350 echo "${ECHO_T}yes" >&6
13351 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13353 echo "$as_me: failed program was:" >&5
13354 sed 's/^/| /' conftest.
$ac_ext >&5
13356 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13357 See \`config.log' for more details." >&5
13358 echo "$as_me: error: no. CoreFoundation not available.
13359 See \`config.log' for more details." >&2;}
13360 { (exit 1); exit 1; }; }
13363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13372 *-pc-os2_emx | *-pc-os2-emx )
13373 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13374 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13375 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13376 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13377 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 ac_check_lib_save_LIBS
=$LIBS
13380 LIBS
="-lcExt $LIBS"
13381 cat >conftest.
$ac_ext <<_ACEOF
13384 cat confdefs.h
>>conftest.
$ac_ext
13385 cat >>conftest.
$ac_ext <<_ACEOF
13386 /* end confdefs.h. */
13388 /* Override any gcc2 internal prototype to avoid an error. */
13392 /* We use char because int might match the return type of a gcc2
13393 builtin and then its argument prototype would still apply. */
13403 rm -f conftest.
$ac_objext conftest
$ac_exeext
13404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13405 (eval $ac_link) 2>conftest.er1
13407 grep -v '^ *+' conftest.er1
>conftest.err
13409 cat conftest.err
>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } &&
13412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; } &&
13418 { ac_try
='test -s conftest$ac_exeext'
13419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13420 (eval $ac_try) 2>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); }; }; then
13424 ac_cv_lib_cExt_drand48
=yes
13426 echo "$as_me: failed program was:" >&5
13427 sed 's/^/| /' conftest.
$ac_ext >&5
13429 ac_cv_lib_cExt_drand48
=no
13431 rm -f conftest.err conftest.
$ac_objext \
13432 conftest
$ac_exeext conftest.
$ac_ext
13433 LIBS
=$ac_check_lib_save_LIBS
13435 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13436 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13437 if test $ac_cv_lib_cExt_drand48 = yes; then
13438 LIBS
="$LIBS -lcExt"
13442 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13444 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13445 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13446 if test "${wx_cv_gccversion+set}" = set; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 if test "$cross_compiling" = yes; then
13451 wx_cv_gccversion
="EMX2"
13454 cat >conftest.
$ac_ext <<_ACEOF
13457 cat confdefs.h
>>conftest.
$ac_ext
13458 cat >>conftest.
$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13465 FILE *f=fopen("conftestval", "w");
13470 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13472 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13482 rm -f conftest
$ac_exeext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13484 (eval $ac_link) 2>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13489 (eval $ac_try) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; }; then
13493 wx_cv_gccversion
=`cat conftestval`
13495 echo "$as_me: program exited with status $ac_status" >&5
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.
$ac_ext >&5
13499 ( exit $ac_status )
13500 wx_cv_gccversion
="EMX2"
13502 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13506 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13507 echo "${ECHO_T}$wx_cv_gccversion" >&6
13508 if test "$wx_cv_gccversion" = "EMX2"; then
13509 LIBS
="$LIBS -lstdcpp"
13510 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13512 if test "$wx_cv_gccversion" = "EMX3"; then
13513 LIBS
="$LIBS -lstdcxx"
13514 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13516 LIBS
="$LIBS -lstdc++"
13519 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13520 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13521 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13531 ac_cpp
='$CXXCPP $CPPFLAGS'
13532 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13533 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13534 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13537 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13538 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13539 if test "${ac_cv_string_strcasecmp+set}" = set; then
13540 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 cat >conftest.
$ac_ext <<_ACEOF
13546 cat confdefs.h
>>conftest.
$ac_ext
13547 cat >>conftest.
$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13550 #include <string.h>
13556 strcasecmp("foo", "bar");
13562 rm -f conftest.
$ac_objext conftest
$ac_exeext
13563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13564 (eval $ac_link) 2>conftest.er1
13566 grep -v '^ *+' conftest.er1
>conftest.err
13568 cat conftest.err
>&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); } &&
13571 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13573 (eval $ac_try) 2>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); }; } &&
13577 { ac_try
='test -s conftest$ac_exeext'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; }; then
13583 ac_cv_string_strcasecmp
=yes
13585 echo "$as_me: failed program was:" >&5
13586 sed 's/^/| /' conftest.
$ac_ext >&5
13588 ac_cv_string_strcasecmp
=no
13591 rm -f conftest.err conftest.
$ac_objext \
13592 conftest
$ac_exeext conftest.
$ac_ext
13595 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13596 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13598 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13599 cat >>confdefs.h
<<\_ACEOF
13600 #define HAVE_STRCASECMP_IN_STRING_H 1
13604 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13605 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13606 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 cat >conftest.
$ac_ext <<_ACEOF
13613 cat confdefs.h
>>conftest.
$ac_ext
13614 cat >>conftest.
$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13617 #include <strings.h>
13623 strcasecmp("foo", "bar");
13629 rm -f conftest.
$ac_objext conftest
$ac_exeext
13630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13631 (eval $ac_link) 2>conftest.er1
13633 grep -v '^ *+' conftest.er1
>conftest.err
13635 cat conftest.err
>&5
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); } &&
13638 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; } &&
13644 { ac_try
='test -s conftest$ac_exeext'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; }; then
13650 ac_cv_strings_strcasecmp
=yes
13652 echo "$as_me: failed program was:" >&5
13653 sed 's/^/| /' conftest.
$ac_ext >&5
13655 ac_cv_strings_strcasecmp
=no
13658 rm -f conftest.err conftest.
$ac_objext \
13659 conftest
$ac_exeext conftest.
$ac_ext
13662 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13663 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13665 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13666 cat >>confdefs.h
<<\_ACEOF
13667 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13671 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13672 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13673 { (exit 1); exit 1; }; }
13678 ac_cpp
='$CPP $CPPFLAGS'
13679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13687 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13688 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13689 if test "${ac_cv_header_stdc+set}" = set; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 cat >conftest.
$ac_ext <<_ACEOF
13695 cat confdefs.h
>>conftest.
$ac_ext
13696 cat >>conftest.
$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #include <stdlib.h>
13699 #include <stdarg.h>
13700 #include <string.h>
13711 rm -f conftest.
$ac_objext
13712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13713 (eval $ac_compile) 2>conftest.er1
13715 grep -v '^ *+' conftest.er1
>conftest.err
13717 cat conftest.err
>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); } &&
13720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; } &&
13726 { ac_try
='test -s conftest.$ac_objext'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; }; then
13732 ac_cv_header_stdc
=yes
13734 echo "$as_me: failed program was:" >&5
13735 sed 's/^/| /' conftest.
$ac_ext >&5
13737 ac_cv_header_stdc
=no
13739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13741 if test $ac_cv_header_stdc = yes; then
13742 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13743 cat >conftest.
$ac_ext <<_ACEOF
13746 cat confdefs.h
>>conftest.
$ac_ext
13747 cat >>conftest.
$ac_ext <<_ACEOF
13748 /* end confdefs.h. */
13749 #include <string.h>
13752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13753 $EGREP "memchr" >/dev
/null
2>&1; then
13756 ac_cv_header_stdc
=no
13762 if test $ac_cv_header_stdc = yes; then
13763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13764 cat >conftest.
$ac_ext <<_ACEOF
13767 cat confdefs.h
>>conftest.
$ac_ext
13768 cat >>conftest.
$ac_ext <<_ACEOF
13769 /* end confdefs.h. */
13770 #include <stdlib.h>
13773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13774 $EGREP "free" >/dev
/null
2>&1; then
13777 ac_cv_header_stdc
=no
13783 if test $ac_cv_header_stdc = yes; then
13784 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13785 if test "$cross_compiling" = yes; then
13788 cat >conftest.
$ac_ext <<_ACEOF
13791 cat confdefs.h
>>conftest.
$ac_ext
13792 cat >>conftest.
$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13795 #if ((' ' & 0x0FF) == 0x020)
13796 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13797 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13799 # define ISLOWER(c) \
13800 (('a' <= (c) && (c) <= 'i') \
13801 || ('j' <= (c) && (c) <= 'r') \
13802 || ('s' <= (c) && (c) <= 'z'))
13803 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13806 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13811 for (i = 0; i < 256; i++)
13812 if (XOR (islower (i), ISLOWER (i))
13813 || toupper (i) != TOUPPER (i))
13818 rm -f conftest
$ac_exeext
13819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13820 (eval $ac_link) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13825 (eval $ac_try) 2>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); }; }; then
13831 echo "$as_me: program exited with status $ac_status" >&5
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.
$ac_ext >&5
13835 ( exit $ac_status )
13836 ac_cv_header_stdc
=no
13838 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13842 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13843 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13844 if test $ac_cv_header_stdc = yes; then
13846 cat >>confdefs.h
<<\_ACEOF
13847 #define STDC_HEADERS 1
13852 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13862 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13863 inttypes.h stdint.h unistd.h
13865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13866 echo "$as_me:$LINENO: checking for $ac_header" >&5
13867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13869 echo $ECHO_N "(cached) $ECHO_C" >&6
13871 cat >conftest.
$ac_ext <<_ACEOF
13874 cat confdefs.h
>>conftest.
$ac_ext
13875 cat >>conftest.
$ac_ext <<_ACEOF
13876 /* end confdefs.h. */
13877 $ac_includes_default
13879 #include <$ac_header>
13881 rm -f conftest.
$ac_objext
13882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13883 (eval $ac_compile) 2>conftest.er1
13885 grep -v '^ *+' conftest.er1
>conftest.err
13887 cat conftest.err
>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); } &&
13890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; } &&
13896 { ac_try
='test -s conftest.$ac_objext'
13897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 (eval $ac_try) 2>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); }; }; then
13902 eval "$as_ac_Header=yes"
13904 echo "$as_me: failed program was:" >&5
13905 sed 's/^/| /' conftest.
$ac_ext >&5
13907 eval "$as_ac_Header=no"
13909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13914 cat >>confdefs.h
<<_ACEOF
13915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13924 for ac_header
in stdlib.h
13926 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13928 echo "$as_me:$LINENO: checking for $ac_header" >&5
13929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13931 echo $ECHO_N "(cached) $ECHO_C" >&6
13933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13936 # Is the header compilable?
13937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13939 cat >conftest.
$ac_ext <<_ACEOF
13942 cat confdefs.h
>>conftest.
$ac_ext
13943 cat >>conftest.
$ac_ext <<_ACEOF
13944 /* end confdefs.h. */
13945 $ac_includes_default
13946 #include <$ac_header>
13948 rm -f conftest.
$ac_objext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13950 (eval $ac_compile) 2>conftest.er1
13952 grep -v '^ *+' conftest.er1
>conftest.err
13954 cat conftest.err
>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } &&
13957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; } &&
13963 { ac_try
='test -s conftest.$ac_objext'
13964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13965 (eval $ac_try) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }; }; then
13969 ac_header_compiler
=yes
13971 echo "$as_me: failed program was:" >&5
13972 sed 's/^/| /' conftest.
$ac_ext >&5
13974 ac_header_compiler
=no
13976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13978 echo "${ECHO_T}$ac_header_compiler" >&6
13980 # Is the header present?
13981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13983 cat >conftest.
$ac_ext <<_ACEOF
13986 cat confdefs.h
>>conftest.
$ac_ext
13987 cat >>conftest.
$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 #include <$ac_header>
13991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13992 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13994 grep -v '^ *+' conftest.er1
>conftest.err
13996 cat conftest.err
>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); } >/dev
/null
; then
13999 if test -s conftest.err
; then
14000 ac_cpp_err
=$ac_c_preproc_warn_flag
14001 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14008 if test -z "$ac_cpp_err"; then
14009 ac_header_preproc
=yes
14011 echo "$as_me: failed program was:" >&5
14012 sed 's/^/| /' conftest.
$ac_ext >&5
14014 ac_header_preproc
=no
14016 rm -f conftest.err conftest.
$ac_ext
14017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14018 echo "${ECHO_T}$ac_header_preproc" >&6
14020 # So? What about this header?
14021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14027 ac_header_preproc
=yes
14030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14044 ## ----------------------------------------- ##
14045 ## Report this to wx-dev@lists.wxwidgets.org ##
14046 ## ----------------------------------------- ##
14049 sed "s/^/$as_me: WARNING: /" >&2
14052 echo "$as_me:$LINENO: checking for $ac_header" >&5
14053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14055 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 eval "$as_ac_Header=\$ac_header_preproc"
14059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14064 cat >>confdefs.h
<<_ACEOF
14065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14073 for ac_header
in malloc.h
14075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14077 echo "$as_me:$LINENO: checking for $ac_header" >&5
14078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14085 # Is the header compilable?
14086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14088 cat >conftest.
$ac_ext <<_ACEOF
14091 cat confdefs.h
>>conftest.
$ac_ext
14092 cat >>conftest.
$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 $ac_includes_default
14095 #include <$ac_header>
14097 rm -f conftest.
$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>conftest.er1
14101 grep -v '^ *+' conftest.er1
>conftest.err
14103 cat conftest.err
>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; } &&
14112 { ac_try
='test -s conftest.$ac_objext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 ac_header_compiler
=yes
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.
$ac_ext >&5
14123 ac_header_compiler
=no
14125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14127 echo "${ECHO_T}$ac_header_compiler" >&6
14129 # Is the header present?
14130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14132 cat >conftest.
$ac_ext <<_ACEOF
14135 cat confdefs.h
>>conftest.
$ac_ext
14136 cat >>conftest.
$ac_ext <<_ACEOF
14137 /* end confdefs.h. */
14138 #include <$ac_header>
14140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14143 grep -v '^ *+' conftest.er1
>conftest.err
14145 cat conftest.err
>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); } >/dev
/null
; then
14148 if test -s conftest.err
; then
14149 ac_cpp_err
=$ac_c_preproc_warn_flag
14150 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14157 if test -z "$ac_cpp_err"; then
14158 ac_header_preproc
=yes
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.
$ac_ext >&5
14163 ac_header_preproc
=no
14165 rm -f conftest.err conftest.
$ac_ext
14166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14167 echo "${ECHO_T}$ac_header_preproc" >&6
14169 # So? What about this header?
14170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14176 ac_header_preproc
=yes
14179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14193 ## ----------------------------------------- ##
14194 ## Report this to wx-dev@lists.wxwidgets.org ##
14195 ## ----------------------------------------- ##
14198 sed "s/^/$as_me: WARNING: /" >&2
14201 echo "$as_me:$LINENO: checking for $ac_header" >&5
14202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 eval "$as_ac_Header=\$ac_header_preproc"
14208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14213 cat >>confdefs.h
<<_ACEOF
14214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14222 for ac_header
in unistd.h
14224 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14226 echo "$as_me:$LINENO: checking for $ac_header" >&5
14227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14234 # Is the header compilable?
14235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14237 cat >conftest.
$ac_ext <<_ACEOF
14240 cat confdefs.h
>>conftest.
$ac_ext
14241 cat >>conftest.
$ac_ext <<_ACEOF
14242 /* end confdefs.h. */
14243 $ac_includes_default
14244 #include <$ac_header>
14246 rm -f conftest.
$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>conftest.er1
14250 grep -v '^ *+' conftest.er1
>conftest.err
14252 cat conftest.err
>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; } &&
14261 { ac_try
='test -s conftest.$ac_objext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14267 ac_header_compiler
=yes
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.
$ac_ext >&5
14272 ac_header_compiler
=no
14274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14276 echo "${ECHO_T}$ac_header_compiler" >&6
14278 # Is the header present?
14279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14281 cat >conftest.
$ac_ext <<_ACEOF
14284 cat confdefs.h
>>conftest.
$ac_ext
14285 cat >>conftest.
$ac_ext <<_ACEOF
14286 /* end confdefs.h. */
14287 #include <$ac_header>
14289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14292 grep -v '^ *+' conftest.er1
>conftest.err
14294 cat conftest.err
>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } >/dev
/null
; then
14297 if test -s conftest.err
; then
14298 ac_cpp_err
=$ac_c_preproc_warn_flag
14299 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14306 if test -z "$ac_cpp_err"; then
14307 ac_header_preproc
=yes
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.
$ac_ext >&5
14312 ac_header_preproc
=no
14314 rm -f conftest.err conftest.
$ac_ext
14315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14316 echo "${ECHO_T}$ac_header_preproc" >&6
14318 # So? What about this header?
14319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14325 ac_header_preproc
=yes
14328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14342 ## ----------------------------------------- ##
14343 ## Report this to wx-dev@lists.wxwidgets.org ##
14344 ## ----------------------------------------- ##
14347 sed "s/^/$as_me: WARNING: /" >&2
14350 echo "$as_me:$LINENO: checking for $ac_header" >&5
14351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14355 eval "$as_ac_Header=\$ac_header_preproc"
14357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14362 cat >>confdefs.h
<<_ACEOF
14363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14371 for ac_header
in wchar.h
14373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14375 echo "$as_me:$LINENO: checking for $ac_header" >&5
14376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14378 echo $ECHO_N "(cached) $ECHO_C" >&6
14380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14383 # Is the header compilable?
14384 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14386 cat >conftest.
$ac_ext <<_ACEOF
14389 cat confdefs.h
>>conftest.
$ac_ext
14390 cat >>conftest.
$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14392 $ac_includes_default
14393 #include <$ac_header>
14395 rm -f conftest.
$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14399 grep -v '^ *+' conftest.er1
>conftest.err
14401 cat conftest.err
>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try
='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_header_compiler
=yes
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.
$ac_ext >&5
14421 ac_header_compiler
=no
14423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14425 echo "${ECHO_T}$ac_header_compiler" >&6
14427 # Is the header present?
14428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14430 cat >conftest.
$ac_ext <<_ACEOF
14433 cat confdefs.h
>>conftest.
$ac_ext
14434 cat >>conftest.
$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 #include <$ac_header>
14438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14441 grep -v '^ *+' conftest.er1
>conftest.err
14443 cat conftest.err
>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } >/dev
/null
; then
14446 if test -s conftest.err
; then
14447 ac_cpp_err
=$ac_c_preproc_warn_flag
14448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14455 if test -z "$ac_cpp_err"; then
14456 ac_header_preproc
=yes
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 ac_header_preproc
=no
14463 rm -f conftest.err conftest.
$ac_ext
14464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14465 echo "${ECHO_T}$ac_header_preproc" >&6
14467 # So? What about this header?
14468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14474 ac_header_preproc
=yes
14477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14491 ## ----------------------------------------- ##
14492 ## Report this to wx-dev@lists.wxwidgets.org ##
14493 ## ----------------------------------------- ##
14496 sed "s/^/$as_me: WARNING: /" >&2
14499 echo "$as_me:$LINENO: checking for $ac_header" >&5
14500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 eval "$as_ac_Header=\$ac_header_preproc"
14506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14511 cat >>confdefs.h
<<_ACEOF
14512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14520 if test "$ac_cv_header_wchar_h" != "yes"; then
14522 for ac_header
in wcstr.h
14524 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14526 echo "$as_me:$LINENO: checking for $ac_header" >&5
14527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14529 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14534 # Is the header compilable?
14535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14537 cat >conftest.
$ac_ext <<_ACEOF
14540 cat confdefs.h
>>conftest.
$ac_ext
14541 cat >>conftest.
$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14543 $ac_includes_default
14544 #include <$ac_header>
14546 rm -f conftest.
$ac_objext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548 (eval $ac_compile) 2>conftest.er1
14550 grep -v '^ *+' conftest.er1
>conftest.err
14552 cat conftest.err
>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; } &&
14561 { ac_try
='test -s conftest.$ac_objext'
14562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563 (eval $ac_try) 2>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); }; }; then
14567 ac_header_compiler
=yes
14569 echo "$as_me: failed program was:" >&5
14570 sed 's/^/| /' conftest.
$ac_ext >&5
14572 ac_header_compiler
=no
14574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14575 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14576 echo "${ECHO_T}$ac_header_compiler" >&6
14578 # Is the header present?
14579 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14581 cat >conftest.
$ac_ext <<_ACEOF
14584 cat confdefs.h
>>conftest.
$ac_ext
14585 cat >>conftest.
$ac_ext <<_ACEOF
14586 /* end confdefs.h. */
14587 #include <$ac_header>
14589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14590 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14592 grep -v '^ *+' conftest.er1
>conftest.err
14594 cat conftest.err
>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } >/dev
/null
; then
14597 if test -s conftest.err
; then
14598 ac_cpp_err
=$ac_c_preproc_warn_flag
14599 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14606 if test -z "$ac_cpp_err"; then
14607 ac_header_preproc
=yes
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.
$ac_ext >&5
14612 ac_header_preproc
=no
14614 rm -f conftest.err conftest.
$ac_ext
14615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14616 echo "${ECHO_T}$ac_header_preproc" >&6
14618 # So? What about this header?
14619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14624 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14625 ac_header_preproc
=yes
14628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14642 ## ----------------------------------------- ##
14643 ## Report this to wx-dev@lists.wxwidgets.org ##
14644 ## ----------------------------------------- ##
14647 sed "s/^/$as_me: WARNING: /" >&2
14650 echo "$as_me:$LINENO: checking for $ac_header" >&5
14651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14653 echo $ECHO_N "(cached) $ECHO_C" >&6
14655 eval "$as_ac_Header=\$ac_header_preproc"
14657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14662 cat >>confdefs.h
<<_ACEOF
14663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14673 for ac_header
in fnmatch.h
14675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14677 echo "$as_me:$LINENO: checking for $ac_header" >&5
14678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14685 # Is the header compilable?
14686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14688 cat >conftest.
$ac_ext <<_ACEOF
14691 cat confdefs.h
>>conftest.
$ac_ext
14692 cat >>conftest.
$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 $ac_includes_default
14695 #include <$ac_header>
14697 rm -f conftest.
$ac_objext
14698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14699 (eval $ac_compile) 2>conftest.er1
14701 grep -v '^ *+' conftest.er1
>conftest.err
14703 cat conftest.err
>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } &&
14706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; } &&
14712 { ac_try
='test -s conftest.$ac_objext'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; }; then
14718 ac_header_compiler
=yes
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.
$ac_ext >&5
14723 ac_header_compiler
=no
14725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14727 echo "${ECHO_T}$ac_header_compiler" >&6
14729 # Is the header present?
14730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14732 cat >conftest.
$ac_ext <<_ACEOF
14735 cat confdefs.h
>>conftest.
$ac_ext
14736 cat >>conftest.
$ac_ext <<_ACEOF
14737 /* end confdefs.h. */
14738 #include <$ac_header>
14740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14741 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14743 grep -v '^ *+' conftest.er1
>conftest.err
14745 cat conftest.err
>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); } >/dev
/null
; then
14748 if test -s conftest.err
; then
14749 ac_cpp_err
=$ac_c_preproc_warn_flag
14750 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14757 if test -z "$ac_cpp_err"; then
14758 ac_header_preproc
=yes
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.
$ac_ext >&5
14763 ac_header_preproc
=no
14765 rm -f conftest.err conftest.
$ac_ext
14766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14767 echo "${ECHO_T}$ac_header_preproc" >&6
14769 # So? What about this header?
14770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14776 ac_header_preproc
=yes
14779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14793 ## ----------------------------------------- ##
14794 ## Report this to wx-dev@lists.wxwidgets.org ##
14795 ## ----------------------------------------- ##
14798 sed "s/^/$as_me: WARNING: /" >&2
14801 echo "$as_me:$LINENO: checking for $ac_header" >&5
14802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14804 echo $ECHO_N "(cached) $ECHO_C" >&6
14806 eval "$as_ac_Header=\$ac_header_preproc"
14808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14813 cat >>confdefs.h
<<_ACEOF
14814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14822 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14824 for ac_func
in fnmatch
14826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14827 echo "$as_me:$LINENO: checking for $ac_func" >&5
14828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14829 if eval "test \"\${$as_ac_var+set}\" = set"; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 cat >conftest.
$ac_ext <<_ACEOF
14835 cat confdefs.h
>>conftest.
$ac_ext
14836 cat >>conftest.
$ac_ext <<_ACEOF
14837 /* end confdefs.h. */
14838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14840 #define $ac_func innocuous_$ac_func
14842 /* System header to define __stub macros and hopefully few prototypes,
14843 which can conflict with char $ac_func (); below.
14844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14845 <limits.h> exists even on freestanding compilers. */
14848 # include <limits.h>
14850 # include <assert.h>
14855 /* Override any gcc2 internal prototype to avoid an error. */
14860 /* We use char because int might match the return type of a gcc2
14861 builtin and then its argument prototype would still apply. */
14863 /* The GNU C library defines this for functions which it implements
14864 to always fail with ENOSYS. Some functions are actually named
14865 something starting with __ and the normal name is an alias. */
14866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14869 char (*f) () = $ac_func;
14878 return f != $ac_func;
14883 rm -f conftest.
$ac_objext conftest
$ac_exeext
14884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14885 (eval $ac_link) 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_c_werror_flag" || test ! -s conftest.err'
14893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14894 (eval $ac_try) 2>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); }; } &&
14898 { ac_try
='test -s conftest$ac_exeext'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; }; then
14904 eval "$as_ac_var=yes"
14906 echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.
$ac_ext >&5
14909 eval "$as_ac_var=no"
14911 rm -f conftest.err conftest.
$ac_objext \
14912 conftest
$ac_exeext conftest.
$ac_ext
14914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14916 if test `eval echo '${'$as_ac_var'}'` = yes; then
14917 cat >>confdefs.h
<<_ACEOF
14918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14927 for ac_header
in langinfo.h
14929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14931 echo "$as_me:$LINENO: checking for $ac_header" >&5
14932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14939 # Is the header compilable?
14940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14948 $ac_includes_default
14949 #include <$ac_header>
14951 rm -f conftest.
$ac_objext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14953 (eval $ac_compile) 2>conftest.er1
14955 grep -v '^ *+' conftest.er1
>conftest.err
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; } &&
14966 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14972 ac_header_compiler
=yes
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.
$ac_ext >&5
14977 ac_header_compiler
=no
14979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14981 echo "${ECHO_T}$ac_header_compiler" >&6
14983 # Is the header present?
14984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14986 cat >conftest.
$ac_ext <<_ACEOF
14989 cat confdefs.h
>>conftest.
$ac_ext
14990 cat >>conftest.
$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
14992 #include <$ac_header>
14994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14997 grep -v '^ *+' conftest.er1
>conftest.err
14999 cat conftest.err
>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } >/dev
/null
; then
15002 if test -s conftest.err
; then
15003 ac_cpp_err
=$ac_c_preproc_warn_flag
15004 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15011 if test -z "$ac_cpp_err"; then
15012 ac_header_preproc
=yes
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.
$ac_ext >&5
15017 ac_header_preproc
=no
15019 rm -f conftest.err conftest.
$ac_ext
15020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15021 echo "${ECHO_T}$ac_header_preproc" >&6
15023 # So? What about this header?
15024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15030 ac_header_preproc
=yes
15033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15047 ## ----------------------------------------- ##
15048 ## Report this to wx-dev@lists.wxwidgets.org ##
15049 ## ----------------------------------------- ##
15052 sed "s/^/$as_me: WARNING: /" >&2
15055 echo "$as_me:$LINENO: checking for $ac_header" >&5
15056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 eval "$as_ac_Header=\$ac_header_preproc"
15062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15067 cat >>confdefs.h
<<_ACEOF
15068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15077 *-pc-os2_emx | *-pc-os2-emx )
15078 if test $ac_cv_header_langinfo_h = "yes" \
15079 -a \
( "$wx_cv_gccversion" = "EMX2" \
15080 -o "$wx_cv_gccversion" = "EMX3" \
15081 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15082 LIBS
="$LIBS -lintl"
15087 if test "$wxUSE_GUI" = "yes"; then
15088 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15090 for ac_header
in X
11/Xlib.h
15092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15094 echo "$as_me:$LINENO: checking for $ac_header" >&5
15095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15102 # Is the header compilable?
15103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15105 cat >conftest.
$ac_ext <<_ACEOF
15108 cat confdefs.h
>>conftest.
$ac_ext
15109 cat >>conftest.
$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15111 $ac_includes_default
15112 #include <$ac_header>
15114 rm -f conftest.
$ac_objext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15116 (eval $ac_compile) 2>conftest.er1
15118 grep -v '^ *+' conftest.er1
>conftest.err
15120 cat conftest.err
>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15125 (eval $ac_try) 2>&5
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }; } &&
15129 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
15135 ac_header_compiler
=yes
15137 echo "$as_me: failed program was:" >&5
15138 sed 's/^/| /' conftest.
$ac_ext >&5
15140 ac_header_compiler
=no
15142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15144 echo "${ECHO_T}$ac_header_compiler" >&6
15146 # Is the header present?
15147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15149 cat >conftest.
$ac_ext <<_ACEOF
15152 cat confdefs.h
>>conftest.
$ac_ext
15153 cat >>conftest.
$ac_ext <<_ACEOF
15154 /* end confdefs.h. */
15155 #include <$ac_header>
15157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15160 grep -v '^ *+' conftest.er1
>conftest.err
15162 cat conftest.err
>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } >/dev
/null
; then
15165 if test -s conftest.err
; then
15166 ac_cpp_err
=$ac_c_preproc_warn_flag
15167 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15174 if test -z "$ac_cpp_err"; then
15175 ac_header_preproc
=yes
15177 echo "$as_me: failed program was:" >&5
15178 sed 's/^/| /' conftest.
$ac_ext >&5
15180 ac_header_preproc
=no
15182 rm -f conftest.err conftest.
$ac_ext
15183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15184 echo "${ECHO_T}$ac_header_preproc" >&6
15186 # So? What about this header?
15187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15193 ac_header_preproc
=yes
15196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15210 ## ----------------------------------------- ##
15211 ## Report this to wx-dev@lists.wxwidgets.org ##
15212 ## ----------------------------------------- ##
15215 sed "s/^/$as_me: WARNING: /" >&2
15218 echo "$as_me:$LINENO: checking for $ac_header" >&5
15219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 eval "$as_ac_Header=\$ac_header_preproc"
15225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15230 cat >>confdefs.h
<<_ACEOF
15231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15239 for ac_header
in X
11/XKBlib.h
15241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15242 echo "$as_me:$LINENO: checking for $ac_header" >&5
15243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 cat >conftest.
$ac_ext <<_ACEOF
15250 cat confdefs.h
>>conftest.
$ac_ext
15251 cat >>conftest.
$ac_ext <<_ACEOF
15252 /* end confdefs.h. */
15254 #if HAVE_X11_XLIB_H
15255 #include <X11/Xlib.h>
15259 #include <$ac_header>
15261 rm -f conftest.
$ac_objext
15262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15263 (eval $ac_compile) 2>conftest.er1
15265 grep -v '^ *+' conftest.er1
>conftest.err
15267 cat conftest.err
>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); } &&
15270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15272 (eval $ac_try) 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; } &&
15276 { ac_try
='test -s conftest.$ac_objext'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; }; then
15282 eval "$as_ac_Header=yes"
15284 echo "$as_me: failed program was:" >&5
15285 sed 's/^/| /' conftest.
$ac_ext >&5
15287 eval "$as_ac_Header=no"
15289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15294 cat >>confdefs.h
<<_ACEOF
15295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15306 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15307 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15308 if test "${ac_cv_c_const+set}" = set; then
15309 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 cat >conftest.
$ac_ext <<_ACEOF
15314 cat confdefs.h
>>conftest.
$ac_ext
15315 cat >>conftest.
$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15321 /* FIXME: Include the comments suggested by Paul. */
15322 #ifndef __cplusplus
15323 /* Ultrix mips cc rejects this. */
15324 typedef int charset[2];
15326 /* SunOS 4.1.1 cc rejects this. */
15327 char const *const *ccp;
15329 /* NEC SVR4.0.2 mips cc rejects this. */
15330 struct point {int x, y;};
15331 static struct point const zero = {0,0};
15332 /* AIX XL C 1.02.0.0 rejects this.
15333 It does not let you subtract one const X* pointer from another in
15334 an arm of an if-expression whose if-part is not a constant
15336 const char *g = "string";
15337 ccp = &g + (g ? g-g : 0);
15338 /* HPUX 7.0 cc rejects these. */
15341 ccp = (char const *const *) p;
15342 { /* SCO 3.2v4 cc rejects this. */
15344 char const *s = 0 ? (char *) 0 : (char const *) 0;
15348 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15349 int x[] = {25, 17};
15350 const int *foo = &x[0];
15353 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15354 typedef const int *iptr;
15358 { /* AIX XL C 1.02.0.0 rejects this saying
15359 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15360 struct s { int j; const int *ap[3]; };
15361 struct s *b; b->j = 5;
15363 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15364 const int foo = 10;
15372 rm -f conftest.
$ac_objext
15373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374 (eval $ac_compile) 2>conftest.er1
15376 grep -v '^ *+' conftest.er1
>conftest.err
15378 cat conftest.err
>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; } &&
15387 { ac_try
='test -s conftest.$ac_objext'
15388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15389 (eval $ac_try) 2>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); }; }; then
15395 echo "$as_me: failed program was:" >&5
15396 sed 's/^/| /' conftest.
$ac_ext >&5
15400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15402 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15403 echo "${ECHO_T}$ac_cv_c_const" >&6
15404 if test $ac_cv_c_const = no
; then
15406 cat >>confdefs.h
<<\_ACEOF
15412 echo "$as_me:$LINENO: checking for inline" >&5
15413 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15414 if test "${ac_cv_c_inline+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 for ac_kw
in inline __inline__ __inline
; do
15419 cat >conftest.
$ac_ext <<_ACEOF
15422 cat confdefs.h
>>conftest.
$ac_ext
15423 cat >>conftest.
$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15425 #ifndef __cplusplus
15427 static $ac_kw foo_t static_foo () {return 0; }
15428 $ac_kw foo_t foo () {return 0; }
15432 rm -f conftest.
$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>conftest.er1
15436 grep -v '^ *+' conftest.er1
>conftest.err
15438 cat conftest.err
>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15443 (eval $ac_try) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; } &&
15447 { ac_try
='test -s conftest.$ac_objext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15453 ac_cv_c_inline
=$ac_kw; break
15455 echo "$as_me: failed program was:" >&5
15456 sed 's/^/| /' conftest.
$ac_ext >&5
15459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15463 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15464 echo "${ECHO_T}$ac_cv_c_inline" >&6
15467 case $ac_cv_c_inline in
15470 case $ac_cv_c_inline in
15472 *) ac_val
=$ac_cv_c_inline;;
15474 cat >>confdefs.h
<<_ACEOF
15475 #ifndef __cplusplus
15476 #define inline $ac_val
15483 echo "$as_me:$LINENO: checking for char" >&5
15484 echo $ECHO_N "checking for char... $ECHO_C" >&6
15485 if test "${ac_cv_type_char+set}" = set; then
15486 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 cat >conftest.
$ac_ext <<_ACEOF
15491 cat confdefs.h
>>conftest.
$ac_ext
15492 cat >>conftest.
$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15494 $ac_includes_default
15506 rm -f conftest.
$ac_objext
15507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15508 (eval $ac_compile) 2>conftest.er1
15510 grep -v '^ *+' conftest.er1
>conftest.err
15512 cat conftest.err
>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15517 (eval $ac_try) 2>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; } &&
15521 { ac_try
='test -s conftest.$ac_objext'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; }; then
15527 ac_cv_type_char
=yes
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.
$ac_ext >&5
15534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15536 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15537 echo "${ECHO_T}$ac_cv_type_char" >&6
15539 echo "$as_me:$LINENO: checking size of char" >&5
15540 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15541 if test "${ac_cv_sizeof_char+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 if test "$ac_cv_type_char" = yes; then
15545 # The cast to unsigned long works around a bug in the HP C Compiler
15546 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15547 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15548 # This bug is HP SR number 8606223364.
15549 if test "$cross_compiling" = yes; then
15550 # Depending upon the size, compute the lo and hi bounds.
15551 cat >conftest.
$ac_ext <<_ACEOF
15554 cat confdefs.h
>>conftest.
$ac_ext
15555 cat >>conftest.
$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557 $ac_includes_default
15561 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15568 rm -f conftest.
$ac_objext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15570 (eval $ac_compile) 2>conftest.er1
15572 grep -v '^ *+' conftest.er1
>conftest.err
15574 cat conftest.err
>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } &&
15577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15579 (eval $ac_try) 2>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; } &&
15583 { ac_try
='test -s conftest.$ac_objext'
15584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15585 (eval $ac_try) 2>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); }; }; then
15591 cat >conftest.
$ac_ext <<_ACEOF
15594 cat confdefs.h
>>conftest.
$ac_ext
15595 cat >>conftest.
$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15597 $ac_includes_default
15601 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15608 rm -f conftest.
$ac_objext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15610 (eval $ac_compile) 2>conftest.er1
15612 grep -v '^ *+' conftest.er1
>conftest.err
15614 cat conftest.err
>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15619 (eval $ac_try) 2>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); }; } &&
15623 { ac_try
='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_hi
=$ac_mid; break
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.
$ac_ext >&5
15634 ac_lo
=`expr $ac_mid + 1`
15635 if test $ac_lo -le $ac_mid; then
15639 ac_mid
=`expr 2 '*' $ac_mid + 1`
15641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 cat >conftest.
$ac_ext <<_ACEOF
15650 cat confdefs.h
>>conftest.
$ac_ext
15651 cat >>conftest.
$ac_ext <<_ACEOF
15652 /* end confdefs.h. */
15653 $ac_includes_default
15657 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15664 rm -f conftest.
$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666 (eval $ac_compile) 2>conftest.er1
15668 grep -v '^ *+' conftest.er1
>conftest.err
15670 cat conftest.err
>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; } &&
15679 { ac_try
='test -s conftest.$ac_objext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15687 cat >conftest.
$ac_ext <<_ACEOF
15690 cat confdefs.h
>>conftest.
$ac_ext
15691 cat >>conftest.
$ac_ext <<_ACEOF
15692 /* end confdefs.h. */
15693 $ac_includes_default
15697 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15704 rm -f conftest.
$ac_objext
15705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15706 (eval $ac_compile) 2>conftest.er1
15708 grep -v '^ *+' conftest.er1
>conftest.err
15710 cat conftest.err
>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); } &&
15713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try
='test -s conftest.$ac_objext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 ac_lo
=$ac_mid; break
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.
$ac_ext >&5
15730 ac_hi
=`expr '(' $ac_mid ')' - 1`
15731 if test $ac_mid -le $ac_hi; then
15735 ac_mid
=`expr 2 '*' $ac_mid`
15737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15748 # Binary search between lo and hi bounds.
15749 while test "x$ac_lo" != "x$ac_hi"; do
15750 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15751 cat >conftest.
$ac_ext <<_ACEOF
15754 cat confdefs.h
>>conftest.
$ac_ext
15755 cat >>conftest.
$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15757 $ac_includes_default
15761 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15768 rm -f conftest.
$ac_objext
15769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15770 (eval $ac_compile) 2>conftest.er1
15772 grep -v '^ *+' conftest.er1
>conftest.err
15774 cat conftest.err
>&5
15775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776 (exit $ac_status); } &&
15777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15779 (eval $ac_try) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); }; } &&
15783 { ac_try
='test -s conftest.$ac_objext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.
$ac_ext >&5
15794 ac_lo
=`expr '(' $ac_mid ')' + 1`
15796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15799 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15800 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15801 See \`config.log' for more details." >&5
15802 echo "$as_me: error: cannot compute sizeof (char), 77
15803 See \`config.log' for more details." >&2;}
15804 { (exit 1); exit 1; }; } ;;
15807 if test "$cross_compiling" = yes; then
15808 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15809 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15810 { (exit 1); exit 1; }; }
15812 cat >conftest.
$ac_ext <<_ACEOF
15815 cat confdefs.h
>>conftest.
$ac_ext
15816 cat >>conftest.
$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 $ac_includes_default
15819 long longval () { return (long) (sizeof (char)); }
15820 unsigned long ulongval () { return (long) (sizeof (char)); }
15822 #include <stdlib.h>
15827 FILE *f = fopen ("conftest.val", "w");
15830 if (((long) (sizeof (char))) < 0)
15832 long i = longval ();
15833 if (i != ((long) (sizeof (char))))
15835 fprintf (f, "%ld\n", i);
15839 unsigned long i = ulongval ();
15840 if (i != ((long) (sizeof (char))))
15842 fprintf (f, "%lu\n", i);
15844 exit (ferror (f) || fclose (f) != 0);
15850 rm -f conftest
$ac_exeext
15851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15852 (eval $ac_link) 2>&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 ac_cv_sizeof_char
=`cat conftest.val`
15863 echo "$as_me: program exited with status $ac_status" >&5
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.
$ac_ext >&5
15867 ( exit $ac_status )
15868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15869 See \`config.log' for more details." >&5
15870 echo "$as_me: error: cannot compute sizeof (char), 77
15871 See \`config.log' for more details." >&2;}
15872 { (exit 1); exit 1; }; }
15874 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15879 ac_cv_sizeof_char
=0
15882 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15883 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15884 cat >>confdefs.h
<<_ACEOF
15885 #define SIZEOF_CHAR $ac_cv_sizeof_char
15889 echo "$as_me:$LINENO: checking for short" >&5
15890 echo $ECHO_N "checking for short... $ECHO_C" >&6
15891 if test "${ac_cv_type_short+set}" = set; then
15892 echo $ECHO_N "(cached) $ECHO_C" >&6
15894 cat >conftest.
$ac_ext <<_ACEOF
15897 cat confdefs.h
>>conftest.
$ac_ext
15898 cat >>conftest.
$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15900 $ac_includes_default
15906 if (sizeof (short))
15912 rm -f conftest.
$ac_objext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15914 (eval $ac_compile) 2>conftest.er1
15916 grep -v '^ *+' conftest.er1
>conftest.err
15918 cat conftest.err
>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } &&
15921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; } &&
15927 { ac_try
='test -s conftest.$ac_objext'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; }; then
15933 ac_cv_type_short
=yes
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.
$ac_ext >&5
15938 ac_cv_type_short
=no
15940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15942 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15943 echo "${ECHO_T}$ac_cv_type_short" >&6
15945 echo "$as_me:$LINENO: checking size of short" >&5
15946 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15947 if test "${ac_cv_sizeof_short+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15950 if test "$ac_cv_type_short" = yes; then
15951 # The cast to unsigned long works around a bug in the HP C Compiler
15952 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15953 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15954 # This bug is HP SR number 8606223364.
15955 if test "$cross_compiling" = yes; then
15956 # Depending upon the size, compute the lo and hi bounds.
15957 cat >conftest.
$ac_ext <<_ACEOF
15960 cat confdefs.h
>>conftest.
$ac_ext
15961 cat >>conftest.
$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15967 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15974 rm -f conftest.
$ac_objext
15975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15976 (eval $ac_compile) 2>conftest.er1
15978 grep -v '^ *+' conftest.er1
>conftest.err
15980 cat conftest.err
>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } &&
15983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; } &&
15989 { ac_try
='test -s conftest.$ac_objext'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; }; then
15997 cat >conftest.
$ac_ext <<_ACEOF
16000 cat confdefs.h
>>conftest.
$ac_ext
16001 cat >>conftest.
$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16003 $ac_includes_default
16007 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16014 rm -f conftest.
$ac_objext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16016 (eval $ac_compile) 2>conftest.er1
16018 grep -v '^ *+' conftest.er1
>conftest.err
16020 cat conftest.err
>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; } &&
16029 { ac_try
='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_hi
=$ac_mid; break
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.
$ac_ext >&5
16040 ac_lo
=`expr $ac_mid + 1`
16041 if test $ac_lo -le $ac_mid; then
16045 ac_mid
=`expr 2 '*' $ac_mid + 1`
16047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.
$ac_ext >&5
16053 cat >conftest.
$ac_ext <<_ACEOF
16056 cat confdefs.h
>>conftest.
$ac_ext
16057 cat >>conftest.
$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 $ac_includes_default
16063 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16070 rm -f conftest.
$ac_objext
16071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16072 (eval $ac_compile) 2>conftest.er1
16074 grep -v '^ *+' conftest.er1
>conftest.err
16076 cat conftest.err
>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try
='test -s conftest.$ac_objext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16093 cat >conftest.
$ac_ext <<_ACEOF
16096 cat confdefs.h
>>conftest.
$ac_ext
16097 cat >>conftest.
$ac_ext <<_ACEOF
16098 /* end confdefs.h. */
16099 $ac_includes_default
16103 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16110 rm -f conftest.
$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16114 grep -v '^ *+' conftest.er1
>conftest.err
16116 cat conftest.err
>&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16121 (eval $ac_try) 2>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); }; } &&
16125 { ac_try
='test -s conftest.$ac_objext'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; }; then
16131 ac_lo
=$ac_mid; break
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 ac_hi
=`expr '(' $ac_mid ')' - 1`
16137 if test $ac_mid -le $ac_hi; then
16141 ac_mid
=`expr 2 '*' $ac_mid`
16143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.
$ac_ext >&5
16151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16154 # Binary search between lo and hi bounds.
16155 while test "x$ac_lo" != "x$ac_hi"; do
16156 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16157 cat >conftest.
$ac_ext <<_ACEOF
16160 cat confdefs.h
>>conftest.
$ac_ext
16161 cat >>conftest.
$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16163 $ac_includes_default
16167 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16174 rm -f conftest.
$ac_objext
16175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16176 (eval $ac_compile) 2>conftest.er1
16178 grep -v '^ *+' conftest.er1
>conftest.err
16180 cat conftest.err
>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); } &&
16183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; } &&
16189 { ac_try
='test -s conftest.$ac_objext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16197 echo "$as_me: failed program was:" >&5
16198 sed 's/^/| /' conftest.
$ac_ext >&5
16200 ac_lo
=`expr '(' $ac_mid ')' + 1`
16202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16205 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16206 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16207 See \`config.log' for more details." >&5
16208 echo "$as_me: error: cannot compute sizeof (short), 77
16209 See \`config.log' for more details." >&2;}
16210 { (exit 1); exit 1; }; } ;;
16213 if test "$cross_compiling" = yes; then
16214 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16215 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16216 { (exit 1); exit 1; }; }
16218 cat >conftest.
$ac_ext <<_ACEOF
16221 cat confdefs.h
>>conftest.
$ac_ext
16222 cat >>conftest.
$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 $ac_includes_default
16225 long longval () { return (long) (sizeof (short)); }
16226 unsigned long ulongval () { return (long) (sizeof (short)); }
16228 #include <stdlib.h>
16233 FILE *f = fopen ("conftest.val", "w");
16236 if (((long) (sizeof (short))) < 0)
16238 long i = longval ();
16239 if (i != ((long) (sizeof (short))))
16241 fprintf (f, "%ld\n", i);
16245 unsigned long i = ulongval ();
16246 if (i != ((long) (sizeof (short))))
16248 fprintf (f, "%lu\n", i);
16250 exit (ferror (f) || fclose (f) != 0);
16256 rm -f conftest
$ac_exeext
16257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16258 (eval $ac_link) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16263 (eval $ac_try) 2>&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); }; }; then
16267 ac_cv_sizeof_short
=`cat conftest.val`
16269 echo "$as_me: program exited with status $ac_status" >&5
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.
$ac_ext >&5
16273 ( exit $ac_status )
16274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16275 See \`config.log' for more details." >&5
16276 echo "$as_me: error: cannot compute sizeof (short), 77
16277 See \`config.log' for more details." >&2;}
16278 { (exit 1); exit 1; }; }
16280 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16285 ac_cv_sizeof_short
=0
16288 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16289 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16290 cat >>confdefs.h
<<_ACEOF
16291 #define SIZEOF_SHORT $ac_cv_sizeof_short
16295 echo "$as_me:$LINENO: checking for void *" >&5
16296 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16297 if test "${ac_cv_type_void_p+set}" = set; then
16298 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 cat >conftest.
$ac_ext <<_ACEOF
16303 cat confdefs.h
>>conftest.
$ac_ext
16304 cat >>conftest.
$ac_ext <<_ACEOF
16305 /* end confdefs.h. */
16306 $ac_includes_default
16312 if (sizeof (void *))
16318 rm -f conftest.
$ac_objext
16319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16320 (eval $ac_compile) 2>conftest.er1
16322 grep -v '^ *+' conftest.er1
>conftest.err
16324 cat conftest.err
>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } &&
16327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; } &&
16333 { ac_try
='test -s conftest.$ac_objext'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; }; then
16339 ac_cv_type_void_p
=yes
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.
$ac_ext >&5
16344 ac_cv_type_void_p
=no
16346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16348 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16349 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16351 echo "$as_me:$LINENO: checking size of void *" >&5
16352 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16353 if test "${ac_cv_sizeof_void_p+set}" = set; then
16354 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 if test "$ac_cv_type_void_p" = yes; then
16357 # The cast to unsigned long works around a bug in the HP C Compiler
16358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16360 # This bug is HP SR number 8606223364.
16361 if test "$cross_compiling" = yes; then
16362 # Depending upon the size, compute the lo and hi bounds.
16363 cat >conftest.
$ac_ext <<_ACEOF
16366 cat confdefs.h
>>conftest.
$ac_ext
16367 cat >>conftest.
$ac_ext <<_ACEOF
16368 /* end confdefs.h. */
16369 $ac_includes_default
16373 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16380 rm -f conftest.
$ac_objext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16382 (eval $ac_compile) 2>conftest.er1
16384 grep -v '^ *+' conftest.er1
>conftest.err
16386 cat conftest.err
>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; } &&
16395 { ac_try
='test -s conftest.$ac_objext'
16396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16397 (eval $ac_try) 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; }; then
16403 cat >conftest.
$ac_ext <<_ACEOF
16406 cat confdefs.h
>>conftest.
$ac_ext
16407 cat >>conftest.
$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 $ac_includes_default
16413 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16420 rm -f conftest.
$ac_objext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16422 (eval $ac_compile) 2>conftest.er1
16424 grep -v '^ *+' conftest.er1
>conftest.err
16426 cat conftest.err
>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; } &&
16435 { ac_try
='test -s conftest.$ac_objext'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; }; then
16441 ac_hi
=$ac_mid; break
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.
$ac_ext >&5
16446 ac_lo
=`expr $ac_mid + 1`
16447 if test $ac_lo -le $ac_mid; then
16451 ac_mid
=`expr 2 '*' $ac_mid + 1`
16453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.
$ac_ext >&5
16459 cat >conftest.
$ac_ext <<_ACEOF
16462 cat confdefs.h
>>conftest.
$ac_ext
16463 cat >>conftest.
$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16465 $ac_includes_default
16469 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16476 rm -f conftest.
$ac_objext
16477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16478 (eval $ac_compile) 2>conftest.er1
16480 grep -v '^ *+' conftest.er1
>conftest.err
16482 cat conftest.err
>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } &&
16485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try
='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16499 cat >conftest.
$ac_ext <<_ACEOF
16502 cat confdefs.h
>>conftest.
$ac_ext
16503 cat >>conftest.
$ac_ext <<_ACEOF
16504 /* end confdefs.h. */
16505 $ac_includes_default
16509 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16516 rm -f conftest.
$ac_objext
16517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16518 (eval $ac_compile) 2>conftest.er1
16520 grep -v '^ *+' conftest.er1
>conftest.err
16522 cat conftest.err
>&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } &&
16525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16527 (eval $ac_try) 2>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); }; } &&
16531 { ac_try
='test -s conftest.$ac_objext'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; }; then
16537 ac_lo
=$ac_mid; break
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.
$ac_ext >&5
16542 ac_hi
=`expr '(' $ac_mid ')' - 1`
16543 if test $ac_mid -le $ac_hi; then
16547 ac_mid
=`expr 2 '*' $ac_mid`
16549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16552 echo "$as_me: failed program was:" >&5
16553 sed 's/^/| /' conftest.
$ac_ext >&5
16557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16560 # Binary search between lo and hi bounds.
16561 while test "x$ac_lo" != "x$ac_hi"; do
16562 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16563 cat >conftest.
$ac_ext <<_ACEOF
16566 cat confdefs.h
>>conftest.
$ac_ext
16567 cat >>conftest.
$ac_ext <<_ACEOF
16568 /* end confdefs.h. */
16569 $ac_includes_default
16573 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16580 rm -f conftest.
$ac_objext
16581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16582 (eval $ac_compile) 2>conftest.er1
16584 grep -v '^ *+' conftest.er1
>conftest.err
16586 cat conftest.err
>&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } &&
16589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16591 (eval $ac_try) 2>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); }; } &&
16595 { ac_try
='test -s conftest.$ac_objext'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; }; then
16603 echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.
$ac_ext >&5
16606 ac_lo
=`expr '(' $ac_mid ')' + 1`
16608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16611 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16612 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16613 See \`config.log' for more details." >&5
16614 echo "$as_me: error: cannot compute sizeof (void *), 77
16615 See \`config.log' for more details." >&2;}
16616 { (exit 1); exit 1; }; } ;;
16619 if test "$cross_compiling" = yes; then
16620 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16621 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16622 { (exit 1); exit 1; }; }
16624 cat >conftest.
$ac_ext <<_ACEOF
16627 cat confdefs.h
>>conftest.
$ac_ext
16628 cat >>conftest.
$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16630 $ac_includes_default
16631 long longval () { return (long) (sizeof (void *)); }
16632 unsigned long ulongval () { return (long) (sizeof (void *)); }
16634 #include <stdlib.h>
16639 FILE *f = fopen ("conftest.val", "w");
16642 if (((long) (sizeof (void *))) < 0)
16644 long i = longval ();
16645 if (i != ((long) (sizeof (void *))))
16647 fprintf (f, "%ld\n", i);
16651 unsigned long i = ulongval ();
16652 if (i != ((long) (sizeof (void *))))
16654 fprintf (f, "%lu\n", i);
16656 exit (ferror (f) || fclose (f) != 0);
16662 rm -f conftest
$ac_exeext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16664 (eval $ac_link) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 ac_cv_sizeof_void_p
=`cat conftest.val`
16675 echo "$as_me: program exited with status $ac_status" >&5
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.
$ac_ext >&5
16679 ( exit $ac_status )
16680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16681 See \`config.log' for more details." >&5
16682 echo "$as_me: error: cannot compute sizeof (void *), 77
16683 See \`config.log' for more details." >&2;}
16684 { (exit 1); exit 1; }; }
16686 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16691 ac_cv_sizeof_void_p
=0
16694 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16695 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16696 cat >>confdefs.h
<<_ACEOF
16697 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16701 echo "$as_me:$LINENO: checking for int" >&5
16702 echo $ECHO_N "checking for int... $ECHO_C" >&6
16703 if test "${ac_cv_type_int+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16706 cat >conftest.
$ac_ext <<_ACEOF
16709 cat confdefs.h
>>conftest.
$ac_ext
16710 cat >>conftest.
$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712 $ac_includes_default
16724 rm -f conftest.
$ac_objext
16725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16726 (eval $ac_compile) 2>conftest.er1
16728 grep -v '^ *+' conftest.er1
>conftest.err
16730 cat conftest.err
>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); } &&
16733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; } &&
16739 { ac_try
='test -s conftest.$ac_objext'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; }; then
16747 echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.
$ac_ext >&5
16752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16754 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16755 echo "${ECHO_T}$ac_cv_type_int" >&6
16757 echo "$as_me:$LINENO: checking size of int" >&5
16758 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16759 if test "${ac_cv_sizeof_int+set}" = set; then
16760 echo $ECHO_N "(cached) $ECHO_C" >&6
16762 if test "$ac_cv_type_int" = yes; then
16763 # The cast to unsigned long works around a bug in the HP C Compiler
16764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16766 # This bug is HP SR number 8606223364.
16767 if test "$cross_compiling" = yes; then
16768 # Depending upon the size, compute the lo and hi bounds.
16769 cat >conftest.
$ac_ext <<_ACEOF
16772 cat confdefs.h
>>conftest.
$ac_ext
16773 cat >>conftest.
$ac_ext <<_ACEOF
16774 /* end confdefs.h. */
16775 $ac_includes_default
16779 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16786 rm -f conftest.
$ac_objext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16788 (eval $ac_compile) 2>conftest.er1
16790 grep -v '^ *+' conftest.er1
>conftest.err
16792 cat conftest.err
>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; } &&
16801 { ac_try
='test -s conftest.$ac_objext'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; }; then
16809 cat >conftest.
$ac_ext <<_ACEOF
16812 cat confdefs.h
>>conftest.
$ac_ext
16813 cat >>conftest.
$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16815 $ac_includes_default
16819 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16826 rm -f conftest.
$ac_objext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16828 (eval $ac_compile) 2>conftest.er1
16830 grep -v '^ *+' conftest.er1
>conftest.err
16832 cat conftest.err
>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16837 (eval $ac_try) 2>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); }; } &&
16841 { ac_try
='test -s conftest.$ac_objext'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16847 ac_hi
=$ac_mid; break
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.
$ac_ext >&5
16852 ac_lo
=`expr $ac_mid + 1`
16853 if test $ac_lo -le $ac_mid; then
16857 ac_mid
=`expr 2 '*' $ac_mid + 1`
16859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16862 echo "$as_me: failed program was:" >&5
16863 sed 's/^/| /' conftest.
$ac_ext >&5
16865 cat >conftest.
$ac_ext <<_ACEOF
16868 cat confdefs.h
>>conftest.
$ac_ext
16869 cat >>conftest.
$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16871 $ac_includes_default
16875 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16882 rm -f conftest.
$ac_objext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 (eval $ac_compile) 2>conftest.er1
16886 grep -v '^ *+' conftest.er1
>conftest.err
16888 cat conftest.err
>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try
='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16905 cat >conftest.
$ac_ext <<_ACEOF
16908 cat confdefs.h
>>conftest.
$ac_ext
16909 cat >>conftest.
$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16911 $ac_includes_default
16915 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16922 rm -f conftest.
$ac_objext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>conftest.er1
16926 grep -v '^ *+' conftest.er1
>conftest.err
16928 cat conftest.err
>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; } &&
16937 { ac_try
='test -s conftest.$ac_objext'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; }; then
16943 ac_lo
=$ac_mid; break
16945 echo "$as_me: failed program was:" >&5
16946 sed 's/^/| /' conftest.
$ac_ext >&5
16948 ac_hi
=`expr '(' $ac_mid ')' - 1`
16949 if test $ac_mid -le $ac_hi; then
16953 ac_mid
=`expr 2 '*' $ac_mid`
16955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16958 echo "$as_me: failed program was:" >&5
16959 sed 's/^/| /' conftest.
$ac_ext >&5
16963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 # Binary search between lo and hi bounds.
16967 while test "x$ac_lo" != "x$ac_hi"; do
16968 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16969 cat >conftest.
$ac_ext <<_ACEOF
16972 cat confdefs.h
>>conftest.
$ac_ext
16973 cat >>conftest.
$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16979 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16986 rm -f conftest.
$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1
>conftest.err
16992 cat conftest.err
>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try
='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17012 ac_lo
=`expr '(' $ac_mid ')' + 1`
17014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17017 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17018 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17019 See \`config.log' for more details." >&5
17020 echo "$as_me: error: cannot compute sizeof (int), 77
17021 See \`config.log' for more details." >&2;}
17022 { (exit 1); exit 1; }; } ;;
17025 if test "$cross_compiling" = yes; then
17026 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17027 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17028 { (exit 1); exit 1; }; }
17030 cat >conftest.
$ac_ext <<_ACEOF
17033 cat confdefs.h
>>conftest.
$ac_ext
17034 cat >>conftest.
$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 $ac_includes_default
17037 long longval () { return (long) (sizeof (int)); }
17038 unsigned long ulongval () { return (long) (sizeof (int)); }
17040 #include <stdlib.h>
17045 FILE *f = fopen ("conftest.val", "w");
17048 if (((long) (sizeof (int))) < 0)
17050 long i = longval ();
17051 if (i != ((long) (sizeof (int))))
17053 fprintf (f, "%ld\n", i);
17057 unsigned long i = ulongval ();
17058 if (i != ((long) (sizeof (int))))
17060 fprintf (f, "%lu\n", i);
17062 exit (ferror (f) || fclose (f) != 0);
17068 rm -f conftest
$ac_exeext
17069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17070 (eval $ac_link) 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; }; then
17079 ac_cv_sizeof_int
=`cat conftest.val`
17081 echo "$as_me: program exited with status $ac_status" >&5
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.
$ac_ext >&5
17085 ( exit $ac_status )
17086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17087 See \`config.log' for more details." >&5
17088 echo "$as_me: error: cannot compute sizeof (int), 77
17089 See \`config.log' for more details." >&2;}
17090 { (exit 1); exit 1; }; }
17092 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17100 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17101 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17102 cat >>confdefs.h
<<_ACEOF
17103 #define SIZEOF_INT $ac_cv_sizeof_int
17107 echo "$as_me:$LINENO: checking for long" >&5
17108 echo $ECHO_N "checking for long... $ECHO_C" >&6
17109 if test "${ac_cv_type_long+set}" = set; then
17110 echo $ECHO_N "(cached) $ECHO_C" >&6
17112 cat >conftest.
$ac_ext <<_ACEOF
17115 cat confdefs.h
>>conftest.
$ac_ext
17116 cat >>conftest.
$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 $ac_includes_default
17130 rm -f conftest.
$ac_objext
17131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17132 (eval $ac_compile) 2>conftest.er1
17134 grep -v '^ *+' conftest.er1
>conftest.err
17136 cat conftest.err
>&5
17137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17138 (exit $ac_status); } &&
17139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 (eval $ac_try) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); }; } &&
17145 { ac_try
='test -s conftest.$ac_objext'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; }; then
17151 ac_cv_type_long
=yes
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.
$ac_ext >&5
17158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17160 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17161 echo "${ECHO_T}$ac_cv_type_long" >&6
17163 echo "$as_me:$LINENO: checking size of long" >&5
17164 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17165 if test "${ac_cv_sizeof_long+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 if test "$ac_cv_type_long" = yes; then
17169 # The cast to unsigned long works around a bug in the HP C Compiler
17170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17172 # This bug is HP SR number 8606223364.
17173 if test "$cross_compiling" = yes; then
17174 # Depending upon the size, compute the lo and hi bounds.
17175 cat >conftest.
$ac_ext <<_ACEOF
17178 cat confdefs.h
>>conftest.
$ac_ext
17179 cat >>conftest.
$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 $ac_includes_default
17185 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 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" || test ! -s conftest.err'
17202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17203 (eval $ac_try) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); }; } &&
17207 { ac_try
='test -s conftest.$ac_objext'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; }; then
17215 cat >conftest.
$ac_ext <<_ACEOF
17218 cat confdefs.h
>>conftest.
$ac_ext
17219 cat >>conftest.
$ac_ext <<_ACEOF
17220 /* end confdefs.h. */
17221 $ac_includes_default
17225 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17232 rm -f conftest.
$ac_objext
17233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17234 (eval $ac_compile) 2>conftest.er1
17236 grep -v '^ *+' conftest.er1
>conftest.err
17238 cat conftest.err
>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } &&
17241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try
='test -s conftest.$ac_objext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 ac_hi
=$ac_mid; break
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.
$ac_ext >&5
17258 ac_lo
=`expr $ac_mid + 1`
17259 if test $ac_lo -le $ac_mid; then
17263 ac_mid
=`expr 2 '*' $ac_mid + 1`
17265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.
$ac_ext >&5
17271 cat >conftest.
$ac_ext <<_ACEOF
17274 cat confdefs.h
>>conftest.
$ac_ext
17275 cat >>conftest.
$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 $ac_includes_default
17281 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17288 rm -f conftest.
$ac_objext
17289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17290 (eval $ac_compile) 2>conftest.er1
17292 grep -v '^ *+' conftest.er1
>conftest.err
17294 cat conftest.err
>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } &&
17297 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try
='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17311 cat >conftest.
$ac_ext <<_ACEOF
17314 cat confdefs.h
>>conftest.
$ac_ext
17315 cat >>conftest.
$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 $ac_includes_default
17321 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17328 rm -f conftest.
$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17332 grep -v '^ *+' conftest.er1
>conftest.err
17334 cat conftest.err
>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; } &&
17343 { ac_try
='test -s conftest.$ac_objext'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17349 ac_lo
=$ac_mid; break
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.
$ac_ext >&5
17354 ac_hi
=`expr '(' $ac_mid ')' - 1`
17355 if test $ac_mid -le $ac_hi; then
17359 ac_mid
=`expr 2 '*' $ac_mid`
17361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.
$ac_ext >&5
17369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17372 # Binary search between lo and hi bounds.
17373 while test "x$ac_lo" != "x$ac_hi"; do
17374 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17375 cat >conftest.
$ac_ext <<_ACEOF
17378 cat confdefs.h
>>conftest.
$ac_ext
17379 cat >>conftest.
$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381 $ac_includes_default
17385 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17392 rm -f conftest.
$ac_objext
17393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17394 (eval $ac_compile) 2>conftest.er1
17396 grep -v '^ *+' conftest.er1
>conftest.err
17398 cat conftest.err
>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); } &&
17401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; } &&
17407 { ac_try
='test -s conftest.$ac_objext'
17408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17409 (eval $ac_try) 2>&5
17411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412 (exit $ac_status); }; }; then
17415 echo "$as_me: failed program was:" >&5
17416 sed 's/^/| /' conftest.
$ac_ext >&5
17418 ac_lo
=`expr '(' $ac_mid ')' + 1`
17420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17423 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17424 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17425 See \`config.log' for more details." >&5
17426 echo "$as_me: error: cannot compute sizeof (long), 77
17427 See \`config.log' for more details." >&2;}
17428 { (exit 1); exit 1; }; } ;;
17431 if test "$cross_compiling" = yes; then
17432 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17433 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17434 { (exit 1); exit 1; }; }
17436 cat >conftest.
$ac_ext <<_ACEOF
17439 cat confdefs.h
>>conftest.
$ac_ext
17440 cat >>conftest.
$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 $ac_includes_default
17443 long longval () { return (long) (sizeof (long)); }
17444 unsigned long ulongval () { return (long) (sizeof (long)); }
17446 #include <stdlib.h>
17451 FILE *f = fopen ("conftest.val", "w");
17454 if (((long) (sizeof (long))) < 0)
17456 long i = longval ();
17457 if (i != ((long) (sizeof (long))))
17459 fprintf (f, "%ld\n", i);
17463 unsigned long i = ulongval ();
17464 if (i != ((long) (sizeof (long))))
17466 fprintf (f, "%lu\n", i);
17468 exit (ferror (f) || fclose (f) != 0);
17474 rm -f conftest
$ac_exeext
17475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17476 (eval $ac_link) 2>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
17485 ac_cv_sizeof_long
=`cat conftest.val`
17487 echo "$as_me: program exited with status $ac_status" >&5
17488 echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.
$ac_ext >&5
17491 ( exit $ac_status )
17492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17493 See \`config.log' for more details." >&5
17494 echo "$as_me: error: cannot compute sizeof (long), 77
17495 See \`config.log' for more details." >&2;}
17496 { (exit 1); exit 1; }; }
17498 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17503 ac_cv_sizeof_long
=0
17506 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17507 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17508 cat >>confdefs.h
<<_ACEOF
17509 #define SIZEOF_LONG $ac_cv_sizeof_long
17513 echo "$as_me:$LINENO: checking for size_t" >&5
17514 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17515 if test "${ac_cv_type_size_t+set}" = set; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 cat >conftest.
$ac_ext <<_ACEOF
17521 cat confdefs.h
>>conftest.
$ac_ext
17522 cat >>conftest.
$ac_ext <<_ACEOF
17523 /* end confdefs.h. */
17524 $ac_includes_default
17530 if (sizeof (size_t))
17536 rm -f conftest.
$ac_objext
17537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17538 (eval $ac_compile) 2>conftest.er1
17540 grep -v '^ *+' conftest.er1
>conftest.err
17542 cat conftest.err
>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); } &&
17545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; } &&
17551 { ac_try
='test -s conftest.$ac_objext'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; }; then
17557 ac_cv_type_size_t
=yes
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.
$ac_ext >&5
17562 ac_cv_type_size_t
=no
17564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17567 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17569 echo "$as_me:$LINENO: checking size of size_t" >&5
17570 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17571 if test "${ac_cv_sizeof_size_t+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17574 if test "$ac_cv_type_size_t" = yes; then
17575 # The cast to unsigned long works around a bug in the HP C Compiler
17576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17578 # This bug is HP SR number 8606223364.
17579 if test "$cross_compiling" = yes; then
17580 # Depending upon the size, compute the lo and hi bounds.
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
17591 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17598 rm -f conftest.
$ac_objext
17599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17600 (eval $ac_compile) 2>conftest.er1
17602 grep -v '^ *+' conftest.er1
>conftest.err
17604 cat conftest.err
>&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } &&
17607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17609 (eval $ac_try) 2>&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); }; } &&
17613 { ac_try
='test -s conftest.$ac_objext'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; }; then
17621 cat >conftest.
$ac_ext <<_ACEOF
17624 cat confdefs.h
>>conftest.
$ac_ext
17625 cat >>conftest.
$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627 $ac_includes_default
17631 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17638 rm -f conftest.
$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640 (eval $ac_compile) 2>conftest.er1
17642 grep -v '^ *+' conftest.er1
>conftest.err
17644 cat conftest.err
>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } &&
17647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try
='test -s conftest.$ac_objext'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; }; then
17659 ac_hi
=$ac_mid; break
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.
$ac_ext >&5
17664 ac_lo
=`expr $ac_mid + 1`
17665 if test $ac_lo -le $ac_mid; then
17669 ac_mid
=`expr 2 '*' $ac_mid + 1`
17671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.
$ac_ext >&5
17677 cat >conftest.
$ac_ext <<_ACEOF
17680 cat confdefs.h
>>conftest.
$ac_ext
17681 cat >>conftest.
$ac_ext <<_ACEOF
17682 /* end confdefs.h. */
17683 $ac_includes_default
17687 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17694 rm -f conftest.
$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>conftest.er1
17698 grep -v '^ *+' conftest.er1
>conftest.err
17700 cat conftest.err
>&5
17701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17702 (exit $ac_status); } &&
17703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; } &&
17709 { ac_try
='test -s conftest.$ac_objext'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; }; then
17717 cat >conftest.
$ac_ext <<_ACEOF
17720 cat confdefs.h
>>conftest.
$ac_ext
17721 cat >>conftest.
$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 $ac_includes_default
17727 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17734 rm -f conftest.
$ac_objext
17735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17736 (eval $ac_compile) 2>conftest.er1
17738 grep -v '^ *+' conftest.er1
>conftest.err
17740 cat conftest.err
>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } &&
17743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; } &&
17749 { ac_try
='test -s conftest.$ac_objext'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; }; then
17755 ac_lo
=$ac_mid; break
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.
$ac_ext >&5
17760 ac_hi
=`expr '(' $ac_mid ')' - 1`
17761 if test $ac_mid -le $ac_hi; then
17765 ac_mid
=`expr 2 '*' $ac_mid`
17767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.
$ac_ext >&5
17775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17778 # Binary search between lo and hi bounds.
17779 while test "x$ac_lo" != "x$ac_hi"; do
17780 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17781 cat >conftest.
$ac_ext <<_ACEOF
17784 cat confdefs.h
>>conftest.
$ac_ext
17785 cat >>conftest.
$ac_ext <<_ACEOF
17786 /* end confdefs.h. */
17787 $ac_includes_default
17791 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17798 rm -f conftest.
$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17802 grep -v '^ *+' conftest.er1
>conftest.err
17804 cat conftest.err
>&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try
='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 ac_lo
=`expr '(' $ac_mid ')' + 1`
17826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17829 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17830 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17831 See \`config.log' for more details." >&5
17832 echo "$as_me: error: cannot compute sizeof (size_t), 77
17833 See \`config.log' for more details." >&2;}
17834 { (exit 1); exit 1; }; } ;;
17837 if test "$cross_compiling" = yes; then
17838 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17839 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17840 { (exit 1); exit 1; }; }
17842 cat >conftest.
$ac_ext <<_ACEOF
17845 cat confdefs.h
>>conftest.
$ac_ext
17846 cat >>conftest.
$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17849 long longval () { return (long) (sizeof (size_t)); }
17850 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17852 #include <stdlib.h>
17857 FILE *f = fopen ("conftest.val", "w");
17860 if (((long) (sizeof (size_t))) < 0)
17862 long i = longval ();
17863 if (i != ((long) (sizeof (size_t))))
17865 fprintf (f, "%ld\n", i);
17869 unsigned long i = ulongval ();
17870 if (i != ((long) (sizeof (size_t))))
17872 fprintf (f, "%lu\n", i);
17874 exit (ferror (f) || fclose (f) != 0);
17880 rm -f conftest
$ac_exeext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17882 (eval $ac_link) 2>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; }; then
17891 ac_cv_sizeof_size_t
=`cat conftest.val`
17893 echo "$as_me: program exited with status $ac_status" >&5
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.
$ac_ext >&5
17897 ( exit $ac_status )
17898 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17899 See \`config.log' for more details." >&5
17900 echo "$as_me: error: cannot compute sizeof (size_t), 77
17901 See \`config.log' for more details." >&2;}
17902 { (exit 1); exit 1; }; }
17904 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17909 ac_cv_sizeof_size_t
=0
17912 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17913 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17914 cat >>confdefs.h
<<_ACEOF
17915 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17922 echo "$as_me:$LINENO: checking for long long" >&5
17923 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17924 if test "${ac_cv_type_long_long+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 $ac_includes_default
17937 if ((long long *) 0)
17939 if (sizeof (long long))
17945 rm -f conftest.
$ac_objext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17947 (eval $ac_compile) 2>conftest.er1
17949 grep -v '^ *+' conftest.er1
>conftest.err
17951 cat conftest.err
>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try
='test -s conftest.$ac_objext'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; }; then
17966 ac_cv_type_long_long
=yes
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.
$ac_ext >&5
17971 ac_cv_type_long_long
=no
17973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17975 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17976 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17978 echo "$as_me:$LINENO: checking size of long long" >&5
17979 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17980 if test "${ac_cv_sizeof_long_long+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 if test "$ac_cv_type_long_long" = yes; then
17984 # The cast to unsigned long works around a bug in the HP C Compiler
17985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17987 # This bug is HP SR number 8606223364.
17988 if test "$cross_compiling" = yes; then
17989 # Depending upon the size, compute the lo and hi bounds.
17990 cat >conftest.
$ac_ext <<_ACEOF
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996 $ac_includes_default
18000 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18007 rm -f conftest.
$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18011 grep -v '^ *+' conftest.er1
>conftest.err
18013 cat conftest.err
>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try
='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18030 cat >conftest.
$ac_ext <<_ACEOF
18033 cat confdefs.h
>>conftest.
$ac_ext
18034 cat >>conftest.
$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 $ac_includes_default
18040 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18047 rm -f conftest.
$ac_objext
18048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18049 (eval $ac_compile) 2>conftest.er1
18051 grep -v '^ *+' conftest.er1
>conftest.err
18053 cat conftest.err
>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } &&
18056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18058 (eval $ac_try) 2>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; } &&
18062 { ac_try
='test -s conftest.$ac_objext'
18063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18064 (eval $ac_try) 2>&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); }; }; then
18068 ac_hi
=$ac_mid; break
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.
$ac_ext >&5
18073 ac_lo
=`expr $ac_mid + 1`
18074 if test $ac_lo -le $ac_mid; then
18078 ac_mid
=`expr 2 '*' $ac_mid + 1`
18080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18083 echo "$as_me: failed program was:" >&5
18084 sed 's/^/| /' conftest.
$ac_ext >&5
18086 cat >conftest.
$ac_ext <<_ACEOF
18089 cat confdefs.h
>>conftest.
$ac_ext
18090 cat >>conftest.
$ac_ext <<_ACEOF
18091 /* end confdefs.h. */
18092 $ac_includes_default
18096 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18103 rm -f conftest.
$ac_objext
18104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18105 (eval $ac_compile) 2>conftest.er1
18107 grep -v '^ *+' conftest.er1
>conftest.err
18109 cat conftest.err
>&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18114 (eval $ac_try) 2>&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); }; } &&
18118 { ac_try
='test -s conftest.$ac_objext'
18119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18120 (eval $ac_try) 2>&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); }; }; then
18126 cat >conftest.
$ac_ext <<_ACEOF
18129 cat confdefs.h
>>conftest.
$ac_ext
18130 cat >>conftest.
$ac_ext <<_ACEOF
18131 /* end confdefs.h. */
18132 $ac_includes_default
18136 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18143 rm -f conftest.
$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>conftest.er1
18147 grep -v '^ *+' conftest.er1
>conftest.err
18149 cat conftest.err
>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } &&
18152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; } &&
18158 { ac_try
='test -s conftest.$ac_objext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 ac_lo
=$ac_mid; break
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.
$ac_ext >&5
18169 ac_hi
=`expr '(' $ac_mid ')' - 1`
18170 if test $ac_mid -le $ac_hi; then
18174 ac_mid
=`expr 2 '*' $ac_mid`
18176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.
$ac_ext >&5
18184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18187 # Binary search between lo and hi bounds.
18188 while test "x$ac_lo" != "x$ac_hi"; do
18189 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18190 cat >conftest.
$ac_ext <<_ACEOF
18193 cat confdefs.h
>>conftest.
$ac_ext
18194 cat >>conftest.
$ac_ext <<_ACEOF
18195 /* end confdefs.h. */
18196 $ac_includes_default
18200 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18207 rm -f conftest.
$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18211 grep -v '^ *+' conftest.er1
>conftest.err
18213 cat conftest.err
>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try
='test -s conftest.$ac_objext'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; }; then
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.
$ac_ext >&5
18233 ac_lo
=`expr '(' $ac_mid ')' + 1`
18235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18238 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18239 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18240 See \`config.log' for more details." >&5
18241 echo "$as_me: error: cannot compute sizeof (long long), 77
18242 See \`config.log' for more details." >&2;}
18243 { (exit 1); exit 1; }; } ;;
18246 if test "$cross_compiling" = yes; then
18247 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18248 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18249 { (exit 1); exit 1; }; }
18251 cat >conftest.
$ac_ext <<_ACEOF
18254 cat confdefs.h
>>conftest.
$ac_ext
18255 cat >>conftest.
$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18257 $ac_includes_default
18258 long longval () { return (long) (sizeof (long long)); }
18259 unsigned long ulongval () { return (long) (sizeof (long long)); }
18261 #include <stdlib.h>
18266 FILE *f = fopen ("conftest.val", "w");
18269 if (((long) (sizeof (long long))) < 0)
18271 long i = longval ();
18272 if (i != ((long) (sizeof (long long))))
18274 fprintf (f, "%ld\n", i);
18278 unsigned long i = ulongval ();
18279 if (i != ((long) (sizeof (long long))))
18281 fprintf (f, "%lu\n", i);
18283 exit (ferror (f) || fclose (f) != 0);
18289 rm -f conftest
$ac_exeext
18290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18291 (eval $ac_link) 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; }; then
18300 ac_cv_sizeof_long_long
=`cat conftest.val`
18302 echo "$as_me: program exited with status $ac_status" >&5
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.
$ac_ext >&5
18306 ( exit $ac_status )
18307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18308 See \`config.log' for more details." >&5
18309 echo "$as_me: error: cannot compute sizeof (long long), 77
18310 See \`config.log' for more details." >&2;}
18311 { (exit 1); exit 1; }; }
18313 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18318 ac_cv_sizeof_long_long
=0
18321 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18322 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18323 cat >>confdefs.h
<<_ACEOF
18324 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18330 echo "$as_me:$LINENO: checking for long long" >&5
18331 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18332 if test "${ac_cv_type_long_long+set}" = set; then
18333 echo $ECHO_N "(cached) $ECHO_C" >&6
18335 cat >conftest.
$ac_ext <<_ACEOF
18338 cat confdefs.h
>>conftest.
$ac_ext
18339 cat >>conftest.
$ac_ext <<_ACEOF
18340 /* end confdefs.h. */
18341 $ac_includes_default
18345 if ((long long *) 0)
18347 if (sizeof (long long))
18353 rm -f conftest.
$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355 (eval $ac_compile) 2>conftest.er1
18357 grep -v '^ *+' conftest.er1
>conftest.err
18359 cat conftest.err
>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; } &&
18368 { ac_try
='test -s conftest.$ac_objext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18374 ac_cv_type_long_long
=yes
18376 echo "$as_me: failed program was:" >&5
18377 sed 's/^/| /' conftest.
$ac_ext >&5
18379 ac_cv_type_long_long
=no
18381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18383 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18384 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18386 echo "$as_me:$LINENO: checking size of long long" >&5
18387 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18388 if test "${ac_cv_sizeof_long_long+set}" = set; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18391 if test "$ac_cv_type_long_long" = yes; then
18392 # The cast to unsigned long works around a bug in the HP C Compiler
18393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18395 # This bug is HP SR number 8606223364.
18396 if test "$cross_compiling" = yes; then
18397 # Depending upon the size, compute the lo and hi bounds.
18398 cat >conftest.
$ac_ext <<_ACEOF
18401 cat confdefs.h
>>conftest.
$ac_ext
18402 cat >>conftest.
$ac_ext <<_ACEOF
18403 /* end confdefs.h. */
18404 $ac_includes_default
18408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18415 rm -f conftest.
$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18419 grep -v '^ *+' conftest.er1
>conftest.err
18421 cat conftest.err
>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; } &&
18430 { ac_try
='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18438 cat >conftest.
$ac_ext <<_ACEOF
18441 cat confdefs.h
>>conftest.
$ac_ext
18442 cat >>conftest.
$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 $ac_includes_default
18448 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18455 rm -f conftest.
$ac_objext
18456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18457 (eval $ac_compile) 2>conftest.er1
18459 grep -v '^ *+' conftest.er1
>conftest.err
18461 cat conftest.err
>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } &&
18464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try
='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_hi
=$ac_mid; break
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 ac_lo
=`expr $ac_mid + 1`
18482 if test $ac_lo -le $ac_mid; then
18486 ac_mid
=`expr 2 '*' $ac_mid + 1`
18488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.
$ac_ext >&5
18494 cat >conftest.
$ac_ext <<_ACEOF
18497 cat confdefs.h
>>conftest.
$ac_ext
18498 cat >>conftest.
$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 $ac_includes_default
18504 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18511 rm -f conftest.
$ac_objext
18512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18513 (eval $ac_compile) 2>conftest.er1
18515 grep -v '^ *+' conftest.er1
>conftest.err
18517 cat conftest.err
>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } &&
18520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; } &&
18526 { ac_try
='test -s conftest.$ac_objext'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; }; then
18534 cat >conftest.
$ac_ext <<_ACEOF
18537 cat confdefs.h
>>conftest.
$ac_ext
18538 cat >>conftest.
$ac_ext <<_ACEOF
18539 /* end confdefs.h. */
18540 $ac_includes_default
18544 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18551 rm -f conftest.
$ac_objext
18552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18553 (eval $ac_compile) 2>conftest.er1
18555 grep -v '^ *+' conftest.er1
>conftest.err
18557 cat conftest.err
>&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); } &&
18560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; } &&
18566 { ac_try
='test -s conftest.$ac_objext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 ac_lo
=$ac_mid; break
18574 echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.
$ac_ext >&5
18577 ac_hi
=`expr '(' $ac_mid ')' - 1`
18578 if test $ac_mid -le $ac_hi; then
18582 ac_mid
=`expr 2 '*' $ac_mid`
18584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.
$ac_ext >&5
18592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18595 # Binary search between lo and hi bounds.
18596 while test "x$ac_lo" != "x$ac_hi"; do
18597 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18598 cat >conftest.
$ac_ext <<_ACEOF
18601 cat confdefs.h
>>conftest.
$ac_ext
18602 cat >>conftest.
$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 $ac_includes_default
18608 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18615 rm -f conftest.
$ac_objext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18617 (eval $ac_compile) 2>conftest.er1
18619 grep -v '^ *+' conftest.er1
>conftest.err
18621 cat conftest.err
>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } &&
18624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18626 (eval $ac_try) 2>&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); }; } &&
18630 { ac_try
='test -s conftest.$ac_objext'
18631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18632 (eval $ac_try) 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; }; then
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.
$ac_ext >&5
18641 ac_lo
=`expr '(' $ac_mid ')' + 1`
18643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18646 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18648 See \`config.log' for more details." >&5
18649 echo "$as_me: error: cannot compute sizeof (long long), 77
18650 See \`config.log' for more details." >&2;}
18651 { (exit 1); exit 1; }; } ;;
18654 if test "$cross_compiling" = yes; then
18655 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18656 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18657 { (exit 1); exit 1; }; }
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 $ac_includes_default
18666 long longval () { return (long) (sizeof (long long)); }
18667 unsigned long ulongval () { return (long) (sizeof (long long)); }
18669 #include <stdlib.h>
18674 FILE *f = fopen ("conftest.val", "w");
18677 if (((long) (sizeof (long long))) < 0)
18679 long i = longval ();
18680 if (i != ((long) (sizeof (long long))))
18682 fprintf (f, "%ld\n", i);
18686 unsigned long i = ulongval ();
18687 if (i != ((long) (sizeof (long long))))
18689 fprintf (f, "%lu\n", i);
18691 exit (ferror (f) || fclose (f) != 0);
18697 rm -f conftest
$ac_exeext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18699 (eval $ac_link) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18708 ac_cv_sizeof_long_long
=`cat conftest.val`
18710 echo "$as_me: program exited with status $ac_status" >&5
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.
$ac_ext >&5
18714 ( exit $ac_status )
18715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18716 See \`config.log' for more details." >&5
18717 echo "$as_me: error: cannot compute sizeof (long long), 77
18718 See \`config.log' for more details." >&2;}
18719 { (exit 1); exit 1; }; }
18721 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18726 ac_cv_sizeof_long_long
=0
18729 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18730 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18731 cat >>confdefs.h
<<_ACEOF
18732 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18736 if test "$ac_cv_sizeof_long_long" != "0"; then
18737 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18741 echo "$as_me:$LINENO: checking for long long" >&5
18742 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18743 if test "${ac_cv_type_long_long+set}" = set; then
18744 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 $ac_includes_default
18756 if ((long long *) 0)
18758 if (sizeof (long long))
18764 rm -f conftest.
$ac_objext
18765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18766 (eval $ac_compile) 2>conftest.er1
18768 grep -v '^ *+' conftest.er1
>conftest.err
18770 cat conftest.err
>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } &&
18773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try
='test -s conftest.$ac_objext'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_cv_type_long_long
=yes
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.
$ac_ext >&5
18790 ac_cv_type_long_long
=no
18792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18794 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18795 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18797 echo "$as_me:$LINENO: checking size of long long" >&5
18798 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18799 if test "${ac_cv_sizeof_long_long+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 if test "$ac_cv_type_long_long" = yes; then
18803 # The cast to unsigned long works around a bug in the HP C Compiler
18804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18806 # This bug is HP SR number 8606223364.
18807 if test "$cross_compiling" = yes; then
18808 # Depending upon the size, compute the lo and hi bounds.
18809 cat >conftest.
$ac_ext <<_ACEOF
18812 cat confdefs.h
>>conftest.
$ac_ext
18813 cat >>conftest.
$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 $ac_includes_default
18819 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18826 rm -f conftest.
$ac_objext
18827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18828 (eval $ac_compile) 2>conftest.er1
18830 grep -v '^ *+' conftest.er1
>conftest.err
18832 cat conftest.err
>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } &&
18835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; } &&
18841 { ac_try
='test -s conftest.$ac_objext'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; }; then
18849 cat >conftest.
$ac_ext <<_ACEOF
18852 cat confdefs.h
>>conftest.
$ac_ext
18853 cat >>conftest.
$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18855 $ac_includes_default
18859 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18866 rm -f conftest.
$ac_objext
18867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18868 (eval $ac_compile) 2>conftest.er1
18870 grep -v '^ *+' conftest.er1
>conftest.err
18872 cat conftest.err
>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } &&
18875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877 (eval $ac_try) 2>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); }; } &&
18881 { ac_try
='test -s conftest.$ac_objext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 ac_hi
=$ac_mid; break
18889 echo "$as_me: failed program was:" >&5
18890 sed 's/^/| /' conftest.
$ac_ext >&5
18892 ac_lo
=`expr $ac_mid + 1`
18893 if test $ac_lo -le $ac_mid; then
18897 ac_mid
=`expr 2 '*' $ac_mid + 1`
18899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.
$ac_ext >&5
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
18915 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18922 rm -f conftest.
$ac_objext
18923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18924 (eval $ac_compile) 2>conftest.er1
18926 grep -v '^ *+' conftest.er1
>conftest.err
18928 cat conftest.err
>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); } &&
18931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; } &&
18937 { ac_try
='test -s conftest.$ac_objext'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; }; then
18945 cat >conftest.
$ac_ext <<_ACEOF
18948 cat confdefs.h
>>conftest.
$ac_ext
18949 cat >>conftest.
$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18962 rm -f conftest.
$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18966 grep -v '^ *+' conftest.er1
>conftest.err
18968 cat conftest.err
>&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try
='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_lo
=$ac_mid; break
18985 echo "$as_me: failed program was:" >&5
18986 sed 's/^/| /' conftest.
$ac_ext >&5
18988 ac_hi
=`expr '(' $ac_mid ')' - 1`
18989 if test $ac_mid -le $ac_hi; then
18993 ac_mid
=`expr 2 '*' $ac_mid`
18995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.
$ac_ext >&5
19003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19006 # Binary search between lo and hi bounds.
19007 while test "x$ac_lo" != "x$ac_hi"; do
19008 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19009 cat >conftest.
$ac_ext <<_ACEOF
19012 cat confdefs.h
>>conftest.
$ac_ext
19013 cat >>conftest.
$ac_ext <<_ACEOF
19014 /* end confdefs.h. */
19015 $ac_includes_default
19019 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19026 rm -f conftest.
$ac_objext
19027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19028 (eval $ac_compile) 2>conftest.er1
19030 grep -v '^ *+' conftest.er1
>conftest.err
19032 cat conftest.err
>&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); } &&
19035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19037 (eval $ac_try) 2>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; } &&
19041 { ac_try
='test -s conftest.$ac_objext'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; }; then
19049 echo "$as_me: failed program was:" >&5
19050 sed 's/^/| /' conftest.
$ac_ext >&5
19052 ac_lo
=`expr '(' $ac_mid ')' + 1`
19054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19057 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19058 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19059 See \`config.log' for more details." >&5
19060 echo "$as_me: error: cannot compute sizeof (long long), 77
19061 See \`config.log' for more details." >&2;}
19062 { (exit 1); exit 1; }; } ;;
19065 if test "$cross_compiling" = yes; then
19066 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19067 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19068 { (exit 1); exit 1; }; }
19070 cat >conftest.
$ac_ext <<_ACEOF
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19076 $ac_includes_default
19077 long longval () { return (long) (sizeof (long long)); }
19078 unsigned long ulongval () { return (long) (sizeof (long long)); }
19080 #include <stdlib.h>
19085 FILE *f = fopen ("conftest.val", "w");
19088 if (((long) (sizeof (long long))) < 0)
19090 long i = longval ();
19091 if (i != ((long) (sizeof (long long))))
19093 fprintf (f, "%ld\n", i);
19097 unsigned long i = ulongval ();
19098 if (i != ((long) (sizeof (long long))))
19100 fprintf (f, "%lu\n", i);
19102 exit (ferror (f) || fclose (f) != 0);
19108 rm -f conftest
$ac_exeext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19110 (eval $ac_link) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; }; then
19119 ac_cv_sizeof_long_long
=`cat conftest.val`
19121 echo "$as_me: program exited with status $ac_status" >&5
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.
$ac_ext >&5
19125 ( exit $ac_status )
19126 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19127 See \`config.log' for more details." >&5
19128 echo "$as_me: error: cannot compute sizeof (long long), 77
19129 See \`config.log' for more details." >&2;}
19130 { (exit 1); exit 1; }; }
19132 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19137 ac_cv_sizeof_long_long
=0
19140 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19141 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19142 cat >>confdefs.h
<<_ACEOF
19143 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19149 echo "$as_me:$LINENO: checking for wchar_t" >&5
19150 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19151 if test "${ac_cv_type_wchar_t+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 cat >conftest.
$ac_ext <<_ACEOF
19157 cat confdefs.h
>>conftest.
$ac_ext
19158 cat >>conftest.
$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19161 /* DJGPP only has fake wchar_t: */
19163 # error "fake wchar_t"
19165 #ifdef HAVE_WCHAR_H
19167 # include <stddef.h>
19169 # include <wchar.h>
19171 #ifdef HAVE_STDLIB_H
19172 # include <stdlib.h>
19183 if (sizeof (wchar_t))
19189 rm -f conftest.
$ac_objext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19191 (eval $ac_compile) 2>conftest.er1
19193 grep -v '^ *+' conftest.er1
>conftest.err
19195 cat conftest.err
>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; } &&
19204 { ac_try
='test -s conftest.$ac_objext'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; }; then
19210 ac_cv_type_wchar_t
=yes
19212 echo "$as_me: failed program was:" >&5
19213 sed 's/^/| /' conftest.
$ac_ext >&5
19215 ac_cv_type_wchar_t
=no
19217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19219 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19220 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19222 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19223 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19224 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19225 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 if test "$ac_cv_type_wchar_t" = yes; then
19228 # The cast to unsigned long works around a bug in the HP C Compiler
19229 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19230 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19231 # This bug is HP SR number 8606223364.
19232 if test "$cross_compiling" = yes; then
19233 # Depending upon the size, compute the lo and hi bounds.
19234 cat >conftest.
$ac_ext <<_ACEOF
19237 cat confdefs.h
>>conftest.
$ac_ext
19238 cat >>conftest.
$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19241 /* DJGPP only has fake wchar_t: */
19243 # error "fake wchar_t"
19245 #ifdef HAVE_WCHAR_H
19247 # include <stddef.h>
19249 # include <wchar.h>
19251 #ifdef HAVE_STDLIB_H
19252 # include <stdlib.h>
19261 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19268 rm -f conftest.
$ac_objext
19269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19270 (eval $ac_compile) 2>conftest.er1
19272 grep -v '^ *+' conftest.er1
>conftest.err
19274 cat conftest.err
>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } &&
19277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; } &&
19283 { ac_try
='test -s conftest.$ac_objext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19291 cat >conftest.
$ac_ext <<_ACEOF
19294 cat confdefs.h
>>conftest.
$ac_ext
19295 cat >>conftest.
$ac_ext <<_ACEOF
19296 /* end confdefs.h. */
19298 /* DJGPP only has fake wchar_t: */
19300 # error "fake wchar_t"
19302 #ifdef HAVE_WCHAR_H
19304 # include <stddef.h>
19306 # include <wchar.h>
19308 #ifdef HAVE_STDLIB_H
19309 # include <stdlib.h>
19318 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19325 rm -f conftest.
$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>conftest.er1
19329 grep -v '^ *+' conftest.er1
>conftest.err
19331 cat conftest.err
>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19336 (eval $ac_try) 2>&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); }; } &&
19340 { ac_try
='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_hi
=$ac_mid; break
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.
$ac_ext >&5
19351 ac_lo
=`expr $ac_mid + 1`
19352 if test $ac_lo -le $ac_mid; then
19356 ac_mid
=`expr 2 '*' $ac_mid + 1`
19358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.
$ac_ext >&5
19364 cat >conftest.
$ac_ext <<_ACEOF
19367 cat confdefs.h
>>conftest.
$ac_ext
19368 cat >>conftest.
$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19371 /* DJGPP only has fake wchar_t: */
19373 # error "fake wchar_t"
19375 #ifdef HAVE_WCHAR_H
19377 # include <stddef.h>
19379 # include <wchar.h>
19381 #ifdef HAVE_STDLIB_H
19382 # include <stdlib.h>
19391 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19398 rm -f conftest.
$ac_objext
19399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19400 (eval $ac_compile) 2>conftest.er1
19402 grep -v '^ *+' conftest.er1
>conftest.err
19404 cat conftest.err
>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } &&
19407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; } &&
19413 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19421 cat >conftest.
$ac_ext <<_ACEOF
19424 cat confdefs.h
>>conftest.
$ac_ext
19425 cat >>conftest.
$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19428 /* DJGPP only has fake wchar_t: */
19430 # error "fake wchar_t"
19432 #ifdef HAVE_WCHAR_H
19434 # include <stddef.h>
19436 # include <wchar.h>
19438 #ifdef HAVE_STDLIB_H
19439 # include <stdlib.h>
19448 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19455 rm -f conftest.
$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>conftest.er1
19459 grep -v '^ *+' conftest.er1
>conftest.err
19461 cat conftest.err
>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try
='test -s conftest.$ac_objext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 ac_lo
=$ac_mid; break
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.
$ac_ext >&5
19481 ac_hi
=`expr '(' $ac_mid ')' - 1`
19482 if test $ac_mid -le $ac_hi; then
19486 ac_mid
=`expr 2 '*' $ac_mid`
19488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.
$ac_ext >&5
19496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19499 # Binary search between lo and hi bounds.
19500 while test "x$ac_lo" != "x$ac_hi"; do
19501 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19502 cat >conftest.
$ac_ext <<_ACEOF
19505 cat confdefs.h
>>conftest.
$ac_ext
19506 cat >>conftest.
$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19509 /* DJGPP only has fake wchar_t: */
19511 # error "fake wchar_t"
19513 #ifdef HAVE_WCHAR_H
19515 # include <stddef.h>
19517 # include <wchar.h>
19519 #ifdef HAVE_STDLIB_H
19520 # include <stdlib.h>
19529 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19536 rm -f conftest.
$ac_objext
19537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19538 (eval $ac_compile) 2>conftest.er1
19540 grep -v '^ *+' conftest.er1
>conftest.err
19542 cat conftest.err
>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } &&
19545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; } &&
19551 { ac_try
='test -s conftest.$ac_objext'
19552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19553 (eval $ac_try) 2>&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); }; }; then
19559 echo "$as_me: failed program was:" >&5
19560 sed 's/^/| /' conftest.
$ac_ext >&5
19562 ac_lo
=`expr '(' $ac_mid ')' + 1`
19564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19567 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19569 See \`config.log' for more details." >&5
19570 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19571 See \`config.log' for more details." >&2;}
19572 { (exit 1); exit 1; }; } ;;
19575 if test "$cross_compiling" = yes; then
19576 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19577 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19578 { (exit 1); exit 1; }; }
19580 cat >conftest.
$ac_ext <<_ACEOF
19583 cat confdefs.h
>>conftest.
$ac_ext
19584 cat >>conftest.
$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19587 /* DJGPP only has fake wchar_t: */
19589 # error "fake wchar_t"
19591 #ifdef HAVE_WCHAR_H
19593 # include <stddef.h>
19595 # include <wchar.h>
19597 #ifdef HAVE_STDLIB_H
19598 # include <stdlib.h>
19604 long longval () { return (long) (sizeof (wchar_t)); }
19605 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19607 #include <stdlib.h>
19612 FILE *f = fopen ("conftest.val", "w");
19615 if (((long) (sizeof (wchar_t))) < 0)
19617 long i = longval ();
19618 if (i != ((long) (sizeof (wchar_t))))
19620 fprintf (f, "%ld\n", i);
19624 unsigned long i = ulongval ();
19625 if (i != ((long) (sizeof (wchar_t))))
19627 fprintf (f, "%lu\n", i);
19629 exit (ferror (f) || fclose (f) != 0);
19635 rm -f conftest
$ac_exeext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19637 (eval $ac_link) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; }; then
19646 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19648 echo "$as_me: program exited with status $ac_status" >&5
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.
$ac_ext >&5
19652 ( exit $ac_status )
19653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19654 See \`config.log' for more details." >&5
19655 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19656 See \`config.log' for more details." >&2;}
19657 { (exit 1); exit 1; }; }
19659 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19664 ac_cv_sizeof_wchar_t
=0
19667 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19668 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19669 cat >>confdefs.h
<<_ACEOF
19670 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19675 echo "$as_me:$LINENO: checking for va_copy" >&5
19676 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19677 if test "${wx_cv_func_va_copy+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19681 cat >conftest.
$ac_ext <<_ACEOF
19683 #include <stdarg.h>
19684 void foo(char *f, ...)
19698 rm -f conftest.
$ac_objext conftest
$ac_exeext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19700 (eval $ac_link) 2>conftest.er1
19702 grep -v '^ *+' conftest.er1
>conftest.err
19704 cat conftest.err
>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19709 (eval $ac_try) 2>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); }; } &&
19713 { ac_try
='test -s conftest$ac_exeext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 wx_cv_func_va_copy
=yes
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.
$ac_ext >&5
19724 wx_cv_func_va_copy
=no
19727 rm -f conftest.err conftest.
$ac_objext \
19728 conftest
$ac_exeext conftest.
$ac_ext
19732 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19733 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19735 if test $wx_cv_func_va_copy = "yes"; then
19736 cat >>confdefs.h
<<\_ACEOF
19737 #define HAVE_VA_COPY 1
19741 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19742 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19743 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19744 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 if test "$cross_compiling" = yes; then
19748 wx_cv_type_va_list_lvalue
=yes
19751 cat >conftest.
$ac_ext <<_ACEOF
19753 #include <stdarg.h>
19754 int foo(char *f, ...)
19759 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19767 return foo("hi", 17);
19770 rm -f conftest
$ac_exeext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19772 (eval $ac_link) 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 wx_cv_type_va_list_lvalue
=yes
19783 echo "$as_me: program exited with status $ac_status" >&5
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.
$ac_ext >&5
19787 ( exit $ac_status )
19788 wx_cv_type_va_list_lvalue
=no
19790 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19795 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19796 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19798 if test $wx_cv_type_va_list_lvalue != "yes"; then
19799 cat >>confdefs.h
<<\_ACEOF
19800 #define VA_LIST_IS_ARRAY 1
19806 # Check whether --enable-largefile or --disable-largefile was given.
19807 if test "${enable_largefile+set}" = set; then
19808 enableval
="$enable_largefile"
19811 if test "$enable_largefile" != no
; then
19814 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19815 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19816 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19817 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 cat >conftest.
$ac_ext <<_ACEOF
19823 cat confdefs.h
>>conftest.
$ac_ext
19824 cat >>conftest.
$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19826 #define _FILE_OFFSET_BITS 64
19827 #include <sys/types.h>
19832 unsigned int field: sizeof(off_t) == 8;
19839 rm -f conftest.
$ac_objext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19841 (eval $ac_compile) 2>conftest.er1
19843 grep -v '^ *+' conftest.er1
>conftest.err
19845 cat conftest.err
>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19850 (eval $ac_try) 2>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); }; } &&
19854 { ac_try
='test -s conftest.$ac_objext'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; }; then
19860 ac_cv_sys_file_offset_bits
=64
19862 echo "$as_me: failed program was:" >&5
19863 sed 's/^/| /' conftest.
$ac_ext >&5
19865 ac_cv_sys_file_offset_bits
=no
19867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19871 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19872 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19874 if test "$ac_cv_sys_file_offset_bits" != no
; then
19876 cat >>confdefs.h
<<_ACEOF
19877 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19882 if test "x$wx_largefile" != "xyes"; then
19884 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19885 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19886 if test "${ac_cv_sys_large_files+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 cat >conftest.
$ac_ext <<_ACEOF
19893 cat confdefs.h
>>conftest.
$ac_ext
19894 cat >>conftest.
$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #define _LARGE_FILES 1
19897 #include <sys/types.h>
19902 unsigned int field: sizeof(off_t) == 8;
19909 rm -f conftest.
$ac_objext
19910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19911 (eval $ac_compile) 2>conftest.er1
19913 grep -v '^ *+' conftest.er1
>conftest.err
19915 cat conftest.err
>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try
='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19930 ac_cv_sys_large_files
=1
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.
$ac_ext >&5
19935 ac_cv_sys_large_files
=no
19937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19941 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19942 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19944 if test "$ac_cv_sys_large_files" != no
; then
19946 cat >>confdefs.h
<<_ACEOF
19947 #define _LARGE_FILES $ac_cv_sys_large_files
19954 echo "$as_me:$LINENO: checking if large file support is available" >&5
19955 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19956 if test "x$wx_largefile" = "xyes"; then
19957 cat >>confdefs.h
<<\_ACEOF
19958 #define HAVE_LARGEFILE_SUPPORT 1
19962 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19963 echo "${ECHO_T}$wx_largefile" >&6
19967 if test "x$wx_largefile" = "xyes"; then
19968 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19969 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19971 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19973 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19974 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19975 if test "${ac_cv_sys_largefile_source+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19979 ac_cv_sys_largefile_source
=no
19980 cat >conftest.
$ac_ext <<_ACEOF
19983 cat confdefs.h
>>conftest.
$ac_ext
19984 cat >>conftest.
$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19995 rm -f conftest.
$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>conftest.er1
19999 grep -v '^ *+' conftest.er1
>conftest.err
20001 cat conftest.err
>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; } &&
20010 { ac_try
='test -s conftest.$ac_objext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.
$ac_ext >&5
20022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20023 cat >conftest.
$ac_ext <<_ACEOF
20026 cat confdefs.h
>>conftest.
$ac_ext
20027 cat >>conftest.
$ac_ext <<_ACEOF
20028 /* end confdefs.h. */
20029 #define _LARGEFILE_SOURCE 1
20039 rm -f conftest.
$ac_objext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20041 (eval $ac_compile) 2>conftest.er1
20043 grep -v '^ *+' conftest.er1
>conftest.err
20045 cat conftest.err
>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; } &&
20054 { ac_try
='test -s conftest.$ac_objext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 ac_cv_sys_largefile_source
=1; break
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.
$ac_ext >&5
20066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20070 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20071 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20072 if test "$ac_cv_sys_largefile_source" != no
; then
20074 cat >>confdefs.h
<<_ACEOF
20075 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20081 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20082 # in glibc 2.1.3, but that breaks too many other things.
20083 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20084 echo "$as_me:$LINENO: checking for fseeko" >&5
20085 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20086 if test "${ac_cv_func_fseeko+set}" = set; then
20087 echo $ECHO_N "(cached) $ECHO_C" >&6
20089 cat >conftest.
$ac_ext <<_ACEOF
20092 cat confdefs.h
>>conftest.
$ac_ext
20093 cat >>conftest.
$ac_ext <<_ACEOF
20094 /* end confdefs.h. */
20099 return fseeko && fseeko (stdin, 0, 0);
20104 rm -f conftest.
$ac_objext conftest
$ac_exeext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20106 (eval $ac_link) 2>conftest.er1
20108 grep -v '^ *+' conftest.er1
>conftest.err
20110 cat conftest.err
>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20119 { ac_try
='test -s conftest$ac_exeext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_func_fseeko
=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.
$ac_ext >&5
20130 ac_cv_func_fseeko
=no
20132 rm -f conftest.err conftest.
$ac_objext \
20133 conftest
$ac_exeext conftest.
$ac_ext
20135 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20136 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20137 if test $ac_cv_func_fseeko = yes; then
20139 cat >>confdefs.h
<<\_ACEOF
20140 #define HAVE_FSEEKO 1
20145 if test "$ac_cv_sys_largefile_source" != no
; then
20146 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20148 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20151 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20152 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20153 if test "${ac_cv_c_bigendian+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 ac_cv_c_bigendian
=unknown
20157 # See if sys/param.h defines the BYTE_ORDER macro.
20158 cat >conftest.
$ac_ext <<_ACEOF
20161 cat confdefs.h
>>conftest.
$ac_ext
20162 cat >>conftest.
$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 #include <sys/types.h>
20165 #include <sys/param.h>
20170 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20171 bogus endian macros
20177 rm -f conftest.
$ac_objext
20178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20179 (eval $ac_compile) 2>conftest.er1
20181 grep -v '^ *+' conftest.er1
>conftest.err
20183 cat conftest.err
>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } &&
20186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; } &&
20192 { ac_try
='test -s conftest.$ac_objext'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; }; then
20198 # It does; now see whether it defined to BIG_ENDIAN or not.
20199 cat >conftest.
$ac_ext <<_ACEOF
20202 cat confdefs.h
>>conftest.
$ac_ext
20203 cat >>conftest.
$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 #include <sys/types.h>
20206 #include <sys/param.h>
20211 #if BYTE_ORDER != BIG_ENDIAN
20218 rm -f conftest.
$ac_objext
20219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20220 (eval $ac_compile) 2>conftest.er1
20222 grep -v '^ *+' conftest.er1
>conftest.err
20224 cat conftest.err
>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } &&
20227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20229 (eval $ac_try) 2>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); }; } &&
20233 { ac_try
='test -s conftest.$ac_objext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 ac_cv_c_bigendian
=yes
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.
$ac_ext >&5
20244 ac_cv_c_bigendian
=no
20246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20248 echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.
$ac_ext >&5
20252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20253 if test $ac_cv_c_bigendian = unknown
; then
20254 if test "$cross_compiling" = yes; then
20255 ac_cv_c_bigendian
=unknown
20257 cat >conftest.
$ac_ext <<_ACEOF
20260 cat confdefs.h
>>conftest.
$ac_ext
20261 cat >>conftest.
$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20264 /* Are we little or big endian? From Harbison&Steele. */
20268 char c[sizeof (long)];
20271 exit (u.c[sizeof (long) - 1] == 1);
20274 rm -f conftest
$ac_exeext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20276 (eval $ac_link) 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_cv_c_bigendian
=no
20287 echo "$as_me: program exited with status $ac_status" >&5
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.
$ac_ext >&5
20291 ( exit $ac_status )
20292 ac_cv_c_bigendian
=yes
20294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20298 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20299 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20300 if test $ac_cv_c_bigendian = unknown
; then
20301 { 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
20302 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;}
20304 if test $ac_cv_c_bigendian = yes; then
20305 cat >>confdefs.h
<<\_ACEOF
20306 #define WORDS_BIGENDIAN 1
20313 ac_cpp
='$CXXCPP $CPPFLAGS'
20314 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20315 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20316 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20317 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20318 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20319 if test -z "$CXXCPP"; then
20320 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20321 echo $ECHO_N "(cached) $ECHO_C" >&6
20323 # Double quotes because CXXCPP needs to be expanded
20324 for CXXCPP
in "$CXX -E" "/lib/cpp"
20326 ac_preproc_ok
=false
20327 for ac_cxx_preproc_warn_flag
in '' yes
20329 # Use a header file that comes with gcc, so configuring glibc
20330 # with a fresh cross-compiler works.
20331 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20332 # <limits.h> exists even on freestanding compilers.
20333 # On the NeXT, cc -E runs the code through the compiler's parser,
20334 # not just through cpp. "Syntax error" is here to catch this case.
20335 cat >conftest.
$ac_ext <<_ACEOF
20338 cat confdefs.h
>>conftest.
$ac_ext
20339 cat >>conftest.
$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20342 # include <limits.h>
20344 # include <assert.h>
20348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20351 grep -v '^ *+' conftest.er1
>conftest.err
20353 cat conftest.err
>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } >/dev
/null
; then
20356 if test -s conftest.err
; then
20357 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20358 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20365 if test -z "$ac_cpp_err"; then
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.
$ac_ext >&5
20371 # Broken: fails on valid input.
20374 rm -f conftest.err conftest.
$ac_ext
20376 # OK, works on sane cases. Now check whether non-existent headers
20377 # can be detected and how.
20378 cat >conftest.
$ac_ext <<_ACEOF
20381 cat confdefs.h
>>conftest.
$ac_ext
20382 cat >>conftest.
$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 #include <ac_nonexistent.h>
20386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20387 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20389 grep -v '^ *+' conftest.er1
>conftest.err
20391 cat conftest.err
>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } >/dev
/null
; then
20394 if test -s conftest.err
; then
20395 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20396 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20403 if test -z "$ac_cpp_err"; then
20404 # Broken: success on invalid input.
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.
$ac_ext >&5
20410 # Passes both tests.
20414 rm -f conftest.err conftest.
$ac_ext
20417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20418 rm -f conftest.err conftest.
$ac_ext
20419 if $ac_preproc_ok; then
20424 ac_cv_prog_CXXCPP
=$CXXCPP
20427 CXXCPP
=$ac_cv_prog_CXXCPP
20429 ac_cv_prog_CXXCPP
=$CXXCPP
20431 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20432 echo "${ECHO_T}$CXXCPP" >&6
20433 ac_preproc_ok
=false
20434 for ac_cxx_preproc_warn_flag
in '' yes
20436 # Use a header file that comes with gcc, so configuring glibc
20437 # with a fresh cross-compiler works.
20438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20439 # <limits.h> exists even on freestanding compilers.
20440 # On the NeXT, cc -E runs the code through the compiler's parser,
20441 # not just through cpp. "Syntax error" is here to catch this case.
20442 cat >conftest.
$ac_ext <<_ACEOF
20445 cat confdefs.h
>>conftest.
$ac_ext
20446 cat >>conftest.
$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20449 # include <limits.h>
20451 # include <assert.h>
20455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } >/dev
/null
; then
20463 if test -s conftest.err
; then
20464 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20465 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20472 if test -z "$ac_cpp_err"; then
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.
$ac_ext >&5
20478 # Broken: fails on valid input.
20481 rm -f conftest.err conftest.
$ac_ext
20483 # OK, works on sane cases. Now check whether non-existent headers
20484 # can be detected and how.
20485 cat >conftest.
$ac_ext <<_ACEOF
20488 cat confdefs.h
>>conftest.
$ac_ext
20489 cat >>conftest.
$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 #include <ac_nonexistent.h>
20493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20496 grep -v '^ *+' conftest.er1
>conftest.err
20498 cat conftest.err
>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } >/dev
/null
; then
20501 if test -s conftest.err
; then
20502 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20503 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20510 if test -z "$ac_cpp_err"; then
20511 # Broken: success on invalid input.
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.
$ac_ext >&5
20517 # Passes both tests.
20521 rm -f conftest.err conftest.
$ac_ext
20524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20525 rm -f conftest.err conftest.
$ac_ext
20526 if $ac_preproc_ok; then
20529 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20530 See \`config.log' for more details." >&5
20531 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20532 See \`config.log' for more details." >&2;}
20533 { (exit 1); exit 1; }; }
20537 ac_cpp
='$CXXCPP $CPPFLAGS'
20538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20547 ac_cpp
='$CXXCPP $CPPFLAGS'
20548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20554 for ac_header
in iostream
20556 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20558 echo "$as_me:$LINENO: checking for $ac_header" >&5
20559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20566 # Is the header compilable?
20567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20569 cat >conftest.
$ac_ext <<_ACEOF
20572 cat confdefs.h
>>conftest.
$ac_ext
20573 cat >>conftest.
$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 #include <$ac_header>
20578 rm -f conftest.
$ac_objext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20580 (eval $ac_compile) 2>conftest.er1
20582 grep -v '^ *+' conftest.er1
>conftest.err
20584 cat conftest.err
>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; } &&
20593 { ac_try
='test -s conftest.$ac_objext'
20594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20595 (eval $ac_try) 2>&5
20597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20598 (exit $ac_status); }; }; then
20599 ac_header_compiler
=yes
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.
$ac_ext >&5
20604 ac_header_compiler
=no
20606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20608 echo "${ECHO_T}$ac_header_compiler" >&6
20610 # Is the header present?
20611 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20613 cat >conftest.
$ac_ext <<_ACEOF
20616 cat confdefs.h
>>conftest.
$ac_ext
20617 cat >>conftest.
$ac_ext <<_ACEOF
20618 /* end confdefs.h. */
20619 #include <$ac_header>
20621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20622 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20624 grep -v '^ *+' conftest.er1
>conftest.err
20626 cat conftest.err
>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } >/dev
/null
; then
20629 if test -s conftest.err
; then
20630 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20631 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20638 if test -z "$ac_cpp_err"; then
20639 ac_header_preproc
=yes
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.
$ac_ext >&5
20644 ac_header_preproc
=no
20646 rm -f conftest.err conftest.
$ac_ext
20647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20648 echo "${ECHO_T}$ac_header_preproc" >&6
20650 # So? What about this header?
20651 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20657 ac_header_preproc
=yes
20660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20674 ## ----------------------------------------- ##
20675 ## Report this to wx-dev@lists.wxwidgets.org ##
20676 ## ----------------------------------------- ##
20679 sed "s/^/$as_me: WARNING: /" >&2
20682 echo "$as_me:$LINENO: checking for $ac_header" >&5
20683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20685 echo $ECHO_N "(cached) $ECHO_C" >&6
20687 eval "$as_ac_Header=\$ac_header_preproc"
20689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20694 cat >>confdefs.h
<<_ACEOF
20695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20703 if test "$ac_cv_header_iostream" = "yes" ; then
20706 cat >>confdefs.h
<<\_ACEOF
20707 #define wxUSE_IOSTREAMH 1
20713 ac_cpp
='$CPP $CPPFLAGS'
20714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20721 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20722 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20723 if test "${wx_cv_cpp_bool+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20730 ac_cpp
='$CXXCPP $CPPFLAGS'
20731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20736 cat >conftest.
$ac_ext <<_ACEOF
20739 cat confdefs.h
>>conftest.
$ac_ext
20740 cat >>conftest.
$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20756 rm -f conftest.
$ac_objext
20757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20758 (eval $ac_compile) 2>conftest.er1
20760 grep -v '^ *+' conftest.er1
>conftest.err
20762 cat conftest.err
>&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } &&
20765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20767 (eval $ac_try) 2>&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); }; } &&
20771 { ac_try
='test -s conftest.$ac_objext'
20772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20773 (eval $ac_try) 2>&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); }; }; then
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.
$ac_ext >&5
20789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20792 ac_cpp
='$CPP $CPPFLAGS'
20793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20799 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20800 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20802 if test "$wx_cv_cpp_bool" = "yes"; then
20803 cat >>confdefs.h
<<\_ACEOF
20804 #define HAVE_BOOL 1
20811 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20812 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20813 if test "${wx_cv_explicit+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 ac_cpp
='$CXXCPP $CPPFLAGS'
20821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20826 cat >conftest.
$ac_ext <<_ACEOF
20829 cat confdefs.h
>>conftest.
$ac_ext
20830 cat >>conftest.
$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20833 class Foo { public: explicit Foo(int) {} };
20845 rm -f conftest.
$ac_objext
20846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20847 (eval $ac_compile) 2>conftest.er1
20849 grep -v '^ *+' conftest.er1
>conftest.err
20851 cat conftest.err
>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } &&
20854 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; } &&
20860 { ac_try
='test -s conftest.$ac_objext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20867 cat >conftest.
$ac_ext <<_ACEOF
20870 cat confdefs.h
>>conftest.
$ac_ext
20871 cat >>conftest.
$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20874 class Foo { public: explicit Foo(int) {} };
20875 static void TakeFoo(const Foo& foo) { }
20888 rm -f conftest.
$ac_objext
20889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20890 (eval $ac_compile) 2>conftest.er1
20892 grep -v '^ *+' conftest.er1
>conftest.err
20894 cat conftest.err
>&5
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); } &&
20897 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; } &&
20903 { ac_try
='test -s conftest.$ac_objext'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; }; then
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.
$ac_ext >&5
20917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.
$ac_ext >&5
20926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20929 ac_cpp
='$CPP $CPPFLAGS'
20930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20936 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20937 echo "${ECHO_T}$wx_cv_explicit" >&6
20939 if test "$wx_cv_explicit" = "yes"; then
20940 cat >>confdefs.h
<<\_ACEOF
20941 #define HAVE_EXPLICIT 1
20947 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20948 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20949 if test "${ac_cv_cxx_const_cast+set}" = set; then
20950 echo $ECHO_N "(cached) $ECHO_C" >&6
20955 ac_cpp
='$CXXCPP $CPPFLAGS'
20956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20960 cat >conftest.
$ac_ext <<_ACEOF
20963 cat confdefs.h
>>conftest.
$ac_ext
20964 cat >>conftest.
$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20970 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20975 rm -f conftest.
$ac_objext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20977 (eval $ac_compile) 2>conftest.er1
20979 grep -v '^ *+' conftest.er1
>conftest.err
20981 cat conftest.err
>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } &&
20984 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try
='test -s conftest.$ac_objext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 ac_cv_cxx_const_cast
=yes
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.
$ac_ext >&5
21001 ac_cv_cxx_const_cast
=no
21003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21005 ac_cpp
='$CPP $CPPFLAGS'
21006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21012 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21013 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21014 if test "$ac_cv_cxx_const_cast" = yes; then
21016 cat >>confdefs.h
<<\_ACEOF
21017 #define HAVE_CONST_CAST
21022 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21023 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21024 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21025 echo $ECHO_N "(cached) $ECHO_C" >&6
21030 ac_cpp
='$CXXCPP $CPPFLAGS'
21031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21035 cat >conftest.
$ac_ext <<_ACEOF
21038 cat confdefs.h
>>conftest.
$ac_ext
21039 cat >>conftest.
$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041 #include <typeinfo>
21042 class Base { public : Base () {} virtual void f () = 0;};
21043 class Derived : public Base { public : Derived () {} virtual void f () {} };
21044 class Unrelated { public : Unrelated () {} };
21045 int g (Unrelated&) { return 0; }
21050 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21055 rm -f conftest.
$ac_objext
21056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21057 (eval $ac_compile) 2>conftest.er1
21059 grep -v '^ *+' conftest.er1
>conftest.err
21061 cat conftest.err
>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } &&
21064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; } &&
21070 { ac_try
='test -s conftest.$ac_objext'
21071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21072 (eval $ac_try) 2>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); }; }; then
21076 ac_cv_cxx_reinterpret_cast
=yes
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.
$ac_ext >&5
21081 ac_cv_cxx_reinterpret_cast
=no
21083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21085 ac_cpp
='$CPP $CPPFLAGS'
21086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21092 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21093 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21094 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21096 cat >>confdefs.h
<<\_ACEOF
21097 #define HAVE_REINTERPRET_CAST
21102 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21103 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21104 if test "${ac_cv_cxx_static_cast+set}" = set; then
21105 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 ac_cpp
='$CXXCPP $CPPFLAGS'
21111 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21115 cat >conftest.
$ac_ext <<_ACEOF
21118 cat confdefs.h
>>conftest.
$ac_ext
21119 cat >>conftest.
$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21121 #include <typeinfo>
21122 class Base { public : Base () {} virtual void f () = 0; };
21123 class Derived : public Base { public : Derived () {} virtual void f () {} };
21124 int g (Derived&) { return 0; }
21129 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21134 rm -f conftest.
$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21138 grep -v '^ *+' conftest.er1
>conftest.err
21140 cat conftest.err
>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try
='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_cxx_static_cast
=yes
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.
$ac_ext >&5
21160 ac_cv_cxx_static_cast
=no
21162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21164 ac_cpp
='$CPP $CPPFLAGS'
21165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21171 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21172 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21173 if test "$ac_cv_cxx_static_cast" = yes; then
21175 cat >>confdefs.h
<<\_ACEOF
21176 #define HAVE_STATIC_CAST
21182 if test "$wxUSE_UNICODE" = "yes" -a \
21183 \
( "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes" \
); then
21185 ac_cpp
='$CXXCPP $CPPFLAGS'
21186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21191 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21192 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21193 cat >conftest.
$ac_ext <<_ACEOF
21196 cat confdefs.h
>>conftest.
$ac_ext
21197 cat >>conftest.
$ac_ext <<_ACEOF
21198 /* end confdefs.h. */
21208 rm -f conftest.
$ac_objext
21209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21210 (eval $ac_compile) 2>conftest.er1
21212 grep -v '^ *+' conftest.er1
>conftest.err
21214 cat conftest.err
>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } &&
21217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21219 (eval $ac_try) 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); }; } &&
21223 { ac_try
='test -s conftest.$ac_objext'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; }; then
21229 echo "$as_me:$LINENO: result: yes" >&5
21230 echo "${ECHO_T}yes" >&6
21231 cat >>confdefs.h
<<\_ACEOF
21232 #define HAVE_STD_WSTRING 1
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.
$ac_ext >&5
21239 echo "$as_me:$LINENO: result: no" >&5
21240 echo "${ECHO_T}no" >&6
21241 echo "$as_me:$LINENO: checking if std::basic_string<wchar_t> works" >&5
21242 echo $ECHO_N "checking if std::basic_string<wchar_t> works... $ECHO_C" >&6
21243 cat >conftest.
$ac_ext <<_ACEOF
21246 cat confdefs.h
>>conftest.
$ac_ext
21247 cat >>conftest.
$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21250 #ifdef HAVE_WCHAR_H
21252 # include <stddef.h>
21254 # include <wchar.h>
21256 #ifdef HAVE_STDLIB_H
21257 # include <stdlib.h>
21265 std::basic_string<wchar_t> foo;
21266 const wchar_t* dummy = foo.c_str();
21271 rm -f conftest.
$ac_objext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21273 (eval $ac_compile) 2>conftest.er1
21275 grep -v '^ *+' conftest.er1
>conftest.err
21277 cat conftest.err
>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } &&
21280 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21282 (eval $ac_try) 2>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; } &&
21286 { ac_try
='test -s conftest.$ac_objext'
21287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21288 (eval $ac_try) 2>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); }; }; then
21292 echo "$as_me:$LINENO: result: yes" >&5
21293 echo "${ECHO_T}yes" >&6
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.
$ac_ext >&5
21298 echo "$as_me:$LINENO: result: no" >&5
21299 echo "${ECHO_T}no" >&6
21300 { { echo "$as_me:$LINENO: error: Can't compile without unicode string class" >&5
21301 echo "$as_me: error: Can't compile without unicode string class" >&2;}
21302 { (exit 1); exit 1; }; }
21305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21311 ac_cpp
='$CPP $CPPFLAGS'
21312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21318 if test "$wxUSE_STL" = "yes"; then
21320 ac_cpp
='$CXXCPP $CPPFLAGS'
21321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21326 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21327 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21328 cat >conftest.
$ac_ext <<_ACEOF
21331 cat confdefs.h
>>conftest.
$ac_ext
21332 cat >>conftest.
$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21335 #include <functional>
21336 #include <algorithm>
21342 std::vector<int> moo;
21343 std::list<int> foo;
21344 std::vector<int>::iterator it =
21345 std::find_if(moo.begin(), moo.end(),
21346 std::bind2nd(std::less<int>(), 3));
21351 rm -f conftest.
$ac_objext
21352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21353 (eval $ac_compile) 2>conftest.er1
21355 grep -v '^ *+' conftest.er1
>conftest.err
21357 cat conftest.err
>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); } &&
21360 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; } &&
21366 { ac_try
='test -s conftest.$ac_objext'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; }; then
21372 echo "$as_me:$LINENO: result: yes" >&5
21373 echo "${ECHO_T}yes" >&6
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.
$ac_ext >&5
21378 echo "$as_me:$LINENO: result: no" >&5
21379 echo "${ECHO_T}no" >&6
21380 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21381 echo "$as_me: error: Basic STL functionality missing" >&2;}
21382 { (exit 1); exit 1; }; }
21384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21386 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21387 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21388 cat >conftest.
$ac_ext <<_ACEOF
21391 cat confdefs.h
>>conftest.
$ac_ext
21392 cat >>conftest.
$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21398 std::string foo, bar;
21400 foo.compare(1, 1, bar);
21401 foo.compare(1, 1, bar, 1, 1);
21403 foo.compare(1, 1, "");
21404 foo.compare(1, 1, "", 2);
21409 rm -f conftest.
$ac_objext
21410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21411 (eval $ac_compile) 2>conftest.er1
21413 grep -v '^ *+' conftest.er1
>conftest.err
21415 cat conftest.err
>&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); } &&
21418 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21420 (eval $ac_try) 2>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); }; } &&
21424 { ac_try
='test -s conftest.$ac_objext'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; }; then
21430 echo "$as_me:$LINENO: result: yes" >&5
21431 echo "${ECHO_T}yes" >&6
21432 cat >>confdefs.h
<<\_ACEOF
21433 #define HAVE_STD_STRING_COMPARE 1
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.
$ac_ext >&5
21440 echo "$as_me:$LINENO: result: no" >&5
21441 echo "${ECHO_T}no" >&6
21443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 if test "${ac_cv_header_hash_map+set}" = set; then
21446 echo "$as_me:$LINENO: checking for hash_map" >&5
21447 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21448 if test "${ac_cv_header_hash_map+set}" = set; then
21449 echo $ECHO_N "(cached) $ECHO_C" >&6
21451 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21452 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21454 # Is the header compilable?
21455 echo "$as_me:$LINENO: checking hash_map usability" >&5
21456 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21457 cat >conftest.
$ac_ext <<_ACEOF
21460 cat confdefs.h
>>conftest.
$ac_ext
21461 cat >>conftest.
$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 $ac_includes_default
21464 #include <hash_map>
21466 rm -f conftest.
$ac_objext
21467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21468 (eval $ac_compile) 2>conftest.er1
21470 grep -v '^ *+' conftest.er1
>conftest.err
21472 cat conftest.err
>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } &&
21475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; } &&
21481 { ac_try
='test -s conftest.$ac_objext'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; }; then
21487 ac_header_compiler
=yes
21489 echo "$as_me: failed program was:" >&5
21490 sed 's/^/| /' conftest.
$ac_ext >&5
21492 ac_header_compiler
=no
21494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21496 echo "${ECHO_T}$ac_header_compiler" >&6
21498 # Is the header present?
21499 echo "$as_me:$LINENO: checking hash_map presence" >&5
21500 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21501 cat >conftest.
$ac_ext <<_ACEOF
21504 cat confdefs.h
>>conftest.
$ac_ext
21505 cat >>conftest.
$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21507 #include <hash_map>
21509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21512 grep -v '^ *+' conftest.er1
>conftest.err
21514 cat conftest.err
>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); } >/dev
/null
; then
21517 if test -s conftest.err
; then
21518 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21519 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21526 if test -z "$ac_cpp_err"; then
21527 ac_header_preproc
=yes
21529 echo "$as_me: failed program was:" >&5
21530 sed 's/^/| /' conftest.
$ac_ext >&5
21532 ac_header_preproc
=no
21534 rm -f conftest.err conftest.
$ac_ext
21535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21536 echo "${ECHO_T}$ac_header_preproc" >&6
21538 # So? What about this header?
21539 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21541 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21542 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21543 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21544 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21545 ac_header_preproc
=yes
21548 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21549 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21550 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21551 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21552 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21553 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21554 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21555 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21556 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21557 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21558 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21559 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21562 ## ----------------------------------------- ##
21563 ## Report this to wx-dev@lists.wxwidgets.org ##
21564 ## ----------------------------------------- ##
21567 sed "s/^/$as_me: WARNING: /" >&2
21570 echo "$as_me:$LINENO: checking for hash_map" >&5
21571 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21572 if test "${ac_cv_header_hash_map+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 ac_cv_header_hash_map
=$ac_header_preproc
21577 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21578 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21581 if test $ac_cv_header_hash_map = yes; then
21582 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21583 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21584 cat >conftest.
$ac_ext <<_ACEOF
21587 cat confdefs.h
>>conftest.
$ac_ext
21588 cat >>conftest.
$ac_ext <<_ACEOF
21589 /* end confdefs.h. */
21590 #include <hash_map>
21591 #include <hash_set>
21595 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21596 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21601 rm -f conftest.
$ac_objext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21603 (eval $ac_compile) 2>conftest.er1
21605 grep -v '^ *+' conftest.er1
>conftest.err
21607 cat conftest.err
>&5
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); } &&
21610 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21612 (eval $ac_try) 2>&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); }; } &&
21616 { ac_try
='test -s conftest.$ac_objext'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; }; then
21622 echo "$as_me:$LINENO: result: yes" >&5
21623 echo "${ECHO_T}yes" >&6
21624 cat >>confdefs.h
<<\_ACEOF
21625 #define HAVE_HASH_MAP 1
21628 cat >>confdefs.h
<<\_ACEOF
21629 #define HAVE_STD_HASH_MAP 1
21633 echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.
$ac_ext >&5
21636 echo "$as_me:$LINENO: result: no" >&5
21637 echo "${ECHO_T}no" >&6
21639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21645 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21646 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21647 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21648 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21649 echo $ECHO_N "(cached) $ECHO_C" >&6
21651 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21652 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21654 # Is the header compilable?
21655 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21656 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21657 cat >conftest.
$ac_ext <<_ACEOF
21660 cat confdefs.h
>>conftest.
$ac_ext
21661 cat >>conftest.
$ac_ext <<_ACEOF
21662 /* end confdefs.h. */
21663 $ac_includes_default
21664 #include <ext/hash_map>
21666 rm -f conftest.
$ac_objext
21667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21668 (eval $ac_compile) 2>conftest.er1
21670 grep -v '^ *+' conftest.er1
>conftest.err
21672 cat conftest.err
>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } &&
21675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; } &&
21681 { ac_try
='test -s conftest.$ac_objext'
21682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21683 (eval $ac_try) 2>&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); }; }; then
21687 ac_header_compiler
=yes
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.
$ac_ext >&5
21692 ac_header_compiler
=no
21694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21696 echo "${ECHO_T}$ac_header_compiler" >&6
21698 # Is the header present?
21699 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21700 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21701 cat >conftest.
$ac_ext <<_ACEOF
21704 cat confdefs.h
>>conftest.
$ac_ext
21705 cat >>conftest.
$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 #include <ext/hash_map>
21709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21712 grep -v '^ *+' conftest.er1
>conftest.err
21714 cat conftest.err
>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } >/dev
/null
; then
21717 if test -s conftest.err
; then
21718 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21719 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21726 if test -z "$ac_cpp_err"; then
21727 ac_header_preproc
=yes
21729 echo "$as_me: failed program was:" >&5
21730 sed 's/^/| /' conftest.
$ac_ext >&5
21732 ac_header_preproc
=no
21734 rm -f conftest.err conftest.
$ac_ext
21735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21736 echo "${ECHO_T}$ac_header_preproc" >&6
21738 # So? What about this header?
21739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21741 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21742 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21743 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21744 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21745 ac_header_preproc
=yes
21748 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21749 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21750 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21751 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21752 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21753 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21754 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21755 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21756 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21757 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21758 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21759 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21762 ## ----------------------------------------- ##
21763 ## Report this to wx-dev@lists.wxwidgets.org ##
21764 ## ----------------------------------------- ##
21767 sed "s/^/$as_me: WARNING: /" >&2
21770 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21771 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21772 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 ac_cv_header_ext_hash_map
=$ac_header_preproc
21777 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21778 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21781 if test $ac_cv_header_ext_hash_map = yes; then
21782 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21783 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21784 cat >conftest.
$ac_ext <<_ACEOF
21787 cat confdefs.h
>>conftest.
$ac_ext
21788 cat >>conftest.
$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21790 #include <ext/hash_map>
21791 #include <ext/hash_set>
21795 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21796 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21801 rm -f conftest.
$ac_objext
21802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21803 (eval $ac_compile) 2>conftest.er1
21805 grep -v '^ *+' conftest.er1
>conftest.err
21807 cat conftest.err
>&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } &&
21810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 (eval $ac_try) 2>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; } &&
21816 { ac_try
='test -s conftest.$ac_objext'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; }; then
21822 echo "$as_me:$LINENO: result: yes" >&5
21823 echo "${ECHO_T}yes" >&6
21824 cat >>confdefs.h
<<\_ACEOF
21825 #define HAVE_EXT_HASH_MAP 1
21828 cat >>confdefs.h
<<\_ACEOF
21829 #define HAVE_GNU_CXX_HASH_MAP 1
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.
$ac_ext >&5
21836 echo "$as_me:$LINENO: result: no" >&5
21837 echo "${ECHO_T}no" >&6
21839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21846 ac_cpp
='$CPP $CPPFLAGS'
21847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21855 /usr/local/include \
21857 /usr/Motif-2.1/include \
21858 /usr/Motif-1.2/include \
21859 /usr/include/Motif1.2 \
21860 /opt/xpm/include/X11 \
21861 /opt/GBxpm/include/ \
21862 /opt/GBxpm/X11/include/ \
21865 /usr/openwin/include \
21869 /usr/X11R6/include \
21870 /usr/X11R6.4/include \
21871 /usr/X11R5/include \
21872 /usr/X11R4/include \
21874 /usr/include/X11R6 \
21875 /usr/include/X11R5 \
21876 /usr/include/X11R4 \
21878 /usr/local/X11R6/include \
21879 /usr/local/X11R5/include \
21880 /usr/local/X11R4/include \
21882 /usr/local/include/X11R6 \
21883 /usr/local/include/X11R5 \
21884 /usr/local/include/X11R4 \
21888 /usr/local/X11/include \
21889 /usr/local/include/X11 \
21891 /usr/X386/include \
21892 /usr/x386/include \
21893 /usr/XFree86/include/X11 \
21895 X:/XFree86/include \
21896 X:/XFree86/include/X11 \
21899 /usr/local/include/gtk \
21900 /usr/include/glib \
21901 /usr/local/include/glib \
21904 /usr/local/include/qt \
21906 /usr/local/arm/3.3.2/include \
21908 /usr/include/windows \
21909 /usr/include/wine \
21910 /usr/local/include/wine \
21912 /usr/unsupported/include \
21913 /usr/athena/include \
21914 /usr/local/x11r5/include \
21915 /usr/lpp/Xamples/include \
21917 /usr/openwin/share/include"
21919 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21922 cat >confcache
<<\_ACEOF
21923 # This file is a shell script that caches the results of configure
21924 # tests run on this system so they can be shared between configure
21925 # scripts and configure runs, see configure's option --config-cache.
21926 # It is not useful on other systems. If it contains results you don't
21927 # want to keep, you may remove or edit it.
21929 # config.status only pays attention to the cache file if you give it
21930 # the --recheck option to rerun configure.
21932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21934 # following values.
21938 # The following way of writing the cache mishandles newlines in values,
21939 # but we know of no workaround that is simple, portable, and efficient.
21940 # So, don't put newlines in cache variables' values.
21941 # Ultrix sh set writes to stderr and can't be redirected directly,
21942 # and sets the high bit in the cache file unless we assign to the vars.
21945 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21947 # `set' does not quote correctly, so add quotes (double-quote
21948 # substitution turns \\\\ into \\, and sed turns \\ into \).
21951 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21954 # `set' quotes correctly as required by POSIX, so do not add quotes.
21956 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21963 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21965 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21967 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21968 if test -w $cache_file; then
21969 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21970 cat confcache
>$cache_file
21972 echo "not updating unwritable cache $cache_file"
21977 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21978 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21979 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21980 if test "${wx_cv_lib_glibc21+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21984 cat >conftest.
$ac_ext <<_ACEOF
21987 cat confdefs.h
>>conftest.
$ac_ext
21988 cat >>conftest.
$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21990 #include <features.h>
21995 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21996 #error not glibc2.1
22003 rm -f conftest.
$ac_objext
22004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22005 (eval $ac_compile) 2>conftest.er1
22007 grep -v '^ *+' conftest.er1
>conftest.err
22009 cat conftest.err
>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } &&
22012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; } &&
22018 { ac_try
='test -s conftest.$ac_objext'
22019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22020 (eval $ac_try) 2>&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); }; }; then
22025 wx_cv_lib_glibc21
=yes
22028 echo "$as_me: failed program was:" >&5
22029 sed 's/^/| /' conftest.
$ac_ext >&5
22032 wx_cv_lib_glibc21
=no
22036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22039 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22040 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22041 if test "$wx_cv_lib_glibc21" = "yes"; then
22042 cat >>confdefs.h
<<\_ACEOF
22043 #define wxHAVE_GLIBC2 1
22049 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22050 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22051 cat >>confdefs.h
<<\_ACEOF
22052 #define _GNU_SOURCE 1
22060 if test "$wxUSE_REGEX" != "no"; then
22061 cat >>confdefs.h
<<\_ACEOF
22062 #define wxUSE_REGEX 1
22066 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22067 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22068 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22069 wxUSE_REGEX
=builtin
22072 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22073 if test "${ac_cv_header_regex_h+set}" = set; then
22074 echo "$as_me:$LINENO: checking for regex.h" >&5
22075 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22076 if test "${ac_cv_header_regex_h+set}" = set; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22079 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22080 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22082 # Is the header compilable?
22083 echo "$as_me:$LINENO: checking regex.h usability" >&5
22084 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22085 cat >conftest.
$ac_ext <<_ACEOF
22088 cat confdefs.h
>>conftest.
$ac_ext
22089 cat >>conftest.
$ac_ext <<_ACEOF
22090 /* end confdefs.h. */
22091 $ac_includes_default
22094 rm -f conftest.
$ac_objext
22095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22096 (eval $ac_compile) 2>conftest.er1
22098 grep -v '^ *+' conftest.er1
>conftest.err
22100 cat conftest.err
>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } &&
22103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; } &&
22109 { ac_try
='test -s conftest.$ac_objext'
22110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22111 (eval $ac_try) 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; }; then
22115 ac_header_compiler
=yes
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.
$ac_ext >&5
22120 ac_header_compiler
=no
22122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22124 echo "${ECHO_T}$ac_header_compiler" >&6
22126 # Is the header present?
22127 echo "$as_me:$LINENO: checking regex.h presence" >&5
22128 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22129 cat >conftest.
$ac_ext <<_ACEOF
22132 cat confdefs.h
>>conftest.
$ac_ext
22133 cat >>conftest.
$ac_ext <<_ACEOF
22134 /* end confdefs.h. */
22137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22138 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22140 grep -v '^ *+' conftest.er1
>conftest.err
22142 cat conftest.err
>&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } >/dev
/null
; then
22145 if test -s conftest.err
; then
22146 ac_cpp_err
=$ac_c_preproc_warn_flag
22147 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22154 if test -z "$ac_cpp_err"; then
22155 ac_header_preproc
=yes
22157 echo "$as_me: failed program was:" >&5
22158 sed 's/^/| /' conftest.
$ac_ext >&5
22160 ac_header_preproc
=no
22162 rm -f conftest.err conftest.
$ac_ext
22163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22164 echo "${ECHO_T}$ac_header_preproc" >&6
22166 # So? What about this header?
22167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22169 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22170 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22171 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22172 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22173 ac_header_preproc
=yes
22176 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22177 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22178 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22179 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22180 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22181 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22182 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22183 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22184 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22185 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22186 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22187 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22190 ## ----------------------------------------- ##
22191 ## Report this to wx-dev@lists.wxwidgets.org ##
22192 ## ----------------------------------------- ##
22195 sed "s/^/$as_me: WARNING: /" >&2
22198 echo "$as_me:$LINENO: checking for regex.h" >&5
22199 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22200 if test "${ac_cv_header_regex_h+set}" = set; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22203 ac_cv_header_regex_h
=$ac_header_preproc
22205 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22206 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22209 if test $ac_cv_header_regex_h = yes; then
22211 for ac_func
in regcomp
22213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22214 echo "$as_me:$LINENO: checking for $ac_func" >&5
22215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22216 if eval "test \"\${$as_ac_var+set}\" = set"; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 cat >conftest.
$ac_ext <<_ACEOF
22222 cat confdefs.h
>>conftest.
$ac_ext
22223 cat >>conftest.
$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22227 #define $ac_func innocuous_$ac_func
22229 /* System header to define __stub macros and hopefully few prototypes,
22230 which can conflict with char $ac_func (); below.
22231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22232 <limits.h> exists even on freestanding compilers. */
22235 # include <limits.h>
22237 # include <assert.h>
22242 /* Override any gcc2 internal prototype to avoid an error. */
22247 /* We use char because int might match the return type of a gcc2
22248 builtin and then its argument prototype would still apply. */
22250 /* The GNU C library defines this for functions which it implements
22251 to always fail with ENOSYS. Some functions are actually named
22252 something starting with __ and the normal name is an alias. */
22253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22256 char (*f) () = $ac_func;
22265 return f != $ac_func;
22270 rm -f conftest.
$ac_objext conftest
$ac_exeext
22271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22272 (eval $ac_link) 2>conftest.er1
22274 grep -v '^ *+' conftest.er1
>conftest.err
22276 cat conftest.err
>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } &&
22279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; } &&
22285 { ac_try
='test -s conftest$ac_exeext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 eval "$as_ac_var=yes"
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.
$ac_ext >&5
22296 eval "$as_ac_var=no"
22298 rm -f conftest.err conftest.
$ac_objext \
22299 conftest
$ac_exeext conftest.
$ac_ext
22301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22303 if test `eval echo '${'$as_ac_var'}'` = yes; then
22304 cat >>confdefs.h
<<_ACEOF
22305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22315 if test "x$ac_cv_func_regcomp" != "xyes"; then
22316 if test "$wxUSE_REGEX" = "sys" ; then
22317 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22318 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22319 { (exit 1); exit 1; }; }
22321 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22322 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22323 wxUSE_REGEX
=builtin
22327 cat >>confdefs.h
<<\_ACEOF
22328 #define WX_NO_REGEX_ADVANCED 1
22337 if test "$wxUSE_ZLIB" != "no" ; then
22338 cat >>confdefs.h
<<\_ACEOF
22339 #define wxUSE_ZLIB 1
22343 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22344 if test "$USE_DARWIN" = 1; then
22345 system_zlib_h_ok
="yes"
22347 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22348 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22349 if test "${ac_cv_header_zlib_h+set}" = set; then
22350 echo $ECHO_N "(cached) $ECHO_C" >&6
22352 if test "$cross_compiling" = yes; then
22353 unset ac_cv_header_zlib_h
22356 cat >conftest.
$ac_ext <<_ACEOF
22359 cat confdefs.h
>>conftest.
$ac_ext
22360 cat >>conftest.
$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22368 FILE *f=fopen("conftestval", "w");
22371 ZLIB_VERSION[0] == '1' &&
22372 (ZLIB_VERSION[2] > '1' ||
22373 (ZLIB_VERSION[2] == '1' &&
22374 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22379 rm -f conftest
$ac_exeext
22380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22381 (eval $ac_link) 2>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_header_zlib_h
=`cat conftestval`
22392 echo "$as_me: program exited with status $ac_status" >&5
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.
$ac_ext >&5
22396 ( exit $ac_status )
22397 ac_cv_header_zlib_h
=no
22399 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22403 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22404 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22405 if test "${ac_cv_header_zlib_h+set}" = set; then
22406 echo "$as_me:$LINENO: checking for zlib.h" >&5
22407 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22408 if test "${ac_cv_header_zlib_h+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22412 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22414 # Is the header compilable?
22415 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22416 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22417 cat >conftest.
$ac_ext <<_ACEOF
22420 cat confdefs.h
>>conftest.
$ac_ext
22421 cat >>conftest.
$ac_ext <<_ACEOF
22422 /* end confdefs.h. */
22423 $ac_includes_default
22426 rm -f conftest.
$ac_objext
22427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22428 (eval $ac_compile) 2>conftest.er1
22430 grep -v '^ *+' conftest.er1
>conftest.err
22432 cat conftest.err
>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } &&
22435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try
='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 ac_header_compiler
=yes
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.
$ac_ext >&5
22452 ac_header_compiler
=no
22454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22455 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22456 echo "${ECHO_T}$ac_header_compiler" >&6
22458 # Is the header present?
22459 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22460 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22461 cat >conftest.
$ac_ext <<_ACEOF
22464 cat confdefs.h
>>conftest.
$ac_ext
22465 cat >>conftest.
$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22470 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22472 grep -v '^ *+' conftest.er1
>conftest.err
22474 cat conftest.err
>&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } >/dev
/null
; then
22477 if test -s conftest.err
; then
22478 ac_cpp_err
=$ac_c_preproc_warn_flag
22479 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22486 if test -z "$ac_cpp_err"; then
22487 ac_header_preproc
=yes
22489 echo "$as_me: failed program was:" >&5
22490 sed 's/^/| /' conftest.
$ac_ext >&5
22492 ac_header_preproc
=no
22494 rm -f conftest.err conftest.
$ac_ext
22495 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22496 echo "${ECHO_T}$ac_header_preproc" >&6
22498 # So? What about this header?
22499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22501 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22502 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22503 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22504 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22505 ac_header_preproc
=yes
22508 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22509 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22510 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22511 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22512 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22513 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22515 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22516 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22517 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22518 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22519 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22522 ## ----------------------------------------- ##
22523 ## Report this to wx-dev@lists.wxwidgets.org ##
22524 ## ----------------------------------------- ##
22527 sed "s/^/$as_me: WARNING: /" >&2
22530 echo "$as_me:$LINENO: checking for zlib.h" >&5
22531 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22532 if test "${ac_cv_header_zlib_h+set}" = set; then
22533 echo $ECHO_N "(cached) $ECHO_C" >&6
22535 ac_cv_header_zlib_h
=$ac_header_preproc
22537 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22538 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22544 system_zlib_h_ok
=$ac_cv_header_zlib_h
22547 if test "$system_zlib_h_ok" = "yes"; then
22548 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22549 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22550 if test "${ac_cv_lib_z_deflate+set}" = set; then
22551 echo $ECHO_N "(cached) $ECHO_C" >&6
22553 ac_check_lib_save_LIBS
=$LIBS
22555 cat >conftest.
$ac_ext <<_ACEOF
22558 cat confdefs.h
>>conftest.
$ac_ext
22559 cat >>conftest.
$ac_ext <<_ACEOF
22560 /* end confdefs.h. */
22562 /* Override any gcc2 internal prototype to avoid an error. */
22566 /* We use char because int might match the return type of a gcc2
22567 builtin and then its argument prototype would still apply. */
22577 rm -f conftest.
$ac_objext conftest
$ac_exeext
22578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22579 (eval $ac_link) 2>conftest.er1
22581 grep -v '^ *+' conftest.er1
>conftest.err
22583 cat conftest.err
>&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } &&
22586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22588 (eval $ac_try) 2>&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); }; } &&
22592 { ac_try
='test -s conftest$ac_exeext'
22593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22594 (eval $ac_try) 2>&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; }; then
22598 ac_cv_lib_z_deflate
=yes
22600 echo "$as_me: failed program was:" >&5
22601 sed 's/^/| /' conftest.
$ac_ext >&5
22603 ac_cv_lib_z_deflate
=no
22605 rm -f conftest.err conftest.
$ac_objext \
22606 conftest
$ac_exeext conftest.
$ac_ext
22607 LIBS
=$ac_check_lib_save_LIBS
22609 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22610 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22611 if test $ac_cv_lib_z_deflate = yes; then
22617 if test "x$ZLIB_LINK" = "x" ; then
22618 if test "$wxUSE_ZLIB" = "sys" ; then
22619 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22620 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22621 { (exit 1); exit 1; }; }
22623 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22624 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22635 if test "$wxUSE_LIBPNG" != "no" ; then
22636 cat >>confdefs.h
<<\_ACEOF
22637 #define wxUSE_LIBPNG 1
22641 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22642 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22643 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22647 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22648 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22649 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22650 wxUSE_LIBPNG
=builtin
22653 if test "$wxUSE_MGL" != 1 ; then
22654 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22655 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22656 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22657 if test "${ac_cv_header_png_h+set}" = set; then
22658 echo $ECHO_N "(cached) $ECHO_C" >&6
22660 if test "$cross_compiling" = yes; then
22661 unset ac_cv_header_png_h
22664 cat >conftest.
$ac_ext <<_ACEOF
22667 cat confdefs.h
>>conftest.
$ac_ext
22668 cat >>conftest.
$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22676 FILE *f=fopen("conftestval", "w");
22679 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22684 rm -f conftest
$ac_exeext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22686 (eval $ac_link) 2>&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22691 (eval $ac_try) 2>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); }; }; then
22695 ac_cv_header_png_h
=`cat conftestval`
22697 echo "$as_me: program exited with status $ac_status" >&5
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.
$ac_ext >&5
22701 ( exit $ac_status )
22702 ac_cv_header_png_h
=no
22704 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22708 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22709 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22710 if test "${ac_cv_header_png_h+set}" = set; then
22711 echo "$as_me:$LINENO: checking for png.h" >&5
22712 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22713 if test "${ac_cv_header_png_h+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22717 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22719 # Is the header compilable?
22720 echo "$as_me:$LINENO: checking png.h usability" >&5
22721 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22722 cat >conftest.
$ac_ext <<_ACEOF
22725 cat confdefs.h
>>conftest.
$ac_ext
22726 cat >>conftest.
$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22728 $ac_includes_default
22731 rm -f conftest.
$ac_objext
22732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22733 (eval $ac_compile) 2>conftest.er1
22735 grep -v '^ *+' conftest.er1
>conftest.err
22737 cat conftest.err
>&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); } &&
22740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22742 (eval $ac_try) 2>&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); }; } &&
22746 { ac_try
='test -s conftest.$ac_objext'
22747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22748 (eval $ac_try) 2>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_header_compiler
=yes
22754 echo "$as_me: failed program was:" >&5
22755 sed 's/^/| /' conftest.
$ac_ext >&5
22757 ac_header_compiler
=no
22759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22761 echo "${ECHO_T}$ac_header_compiler" >&6
22763 # Is the header present?
22764 echo "$as_me:$LINENO: checking png.h presence" >&5
22765 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22766 cat >conftest.
$ac_ext <<_ACEOF
22769 cat confdefs.h
>>conftest.
$ac_ext
22770 cat >>conftest.
$ac_ext <<_ACEOF
22771 /* end confdefs.h. */
22774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22777 grep -v '^ *+' conftest.er1
>conftest.err
22779 cat conftest.err
>&5
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); } >/dev
/null
; then
22782 if test -s conftest.err
; then
22783 ac_cpp_err
=$ac_c_preproc_warn_flag
22784 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22791 if test -z "$ac_cpp_err"; then
22792 ac_header_preproc
=yes
22794 echo "$as_me: failed program was:" >&5
22795 sed 's/^/| /' conftest.
$ac_ext >&5
22797 ac_header_preproc
=no
22799 rm -f conftest.err conftest.
$ac_ext
22800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22801 echo "${ECHO_T}$ac_header_preproc" >&6
22803 # So? What about this header?
22804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22806 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22807 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22808 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22809 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22810 ac_header_preproc
=yes
22813 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22814 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22815 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22816 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22817 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22818 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22819 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22820 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22822 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22823 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22824 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22827 ## ----------------------------------------- ##
22828 ## Report this to wx-dev@lists.wxwidgets.org ##
22829 ## ----------------------------------------- ##
22832 sed "s/^/$as_me: WARNING: /" >&2
22835 echo "$as_me:$LINENO: checking for png.h" >&5
22836 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22837 if test "${ac_cv_header_png_h+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22840 ac_cv_header_png_h
=$ac_header_preproc
22842 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22843 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22849 if test "$ac_cv_header_png_h" = "yes"; then
22850 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22851 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22852 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22853 echo $ECHO_N "(cached) $ECHO_C" >&6
22855 ac_check_lib_save_LIBS
=$LIBS
22856 LIBS
="-lpng -lz -lm $LIBS"
22857 cat >conftest.
$ac_ext <<_ACEOF
22860 cat confdefs.h
>>conftest.
$ac_ext
22861 cat >>conftest.
$ac_ext <<_ACEOF
22862 /* end confdefs.h. */
22864 /* Override any gcc2 internal prototype to avoid an error. */
22868 /* We use char because int might match the return type of a gcc2
22869 builtin and then its argument prototype would still apply. */
22870 char png_check_sig ();
22879 rm -f conftest.
$ac_objext conftest
$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881 (eval $ac_link) 2>conftest.er1
22883 grep -v '^ *+' conftest.er1
>conftest.err
22885 cat conftest.err
>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } &&
22888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22890 (eval $ac_try) 2>&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); }; } &&
22894 { ac_try
='test -s conftest$ac_exeext'
22895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22896 (eval $ac_try) 2>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); }; }; then
22900 ac_cv_lib_png_png_check_sig
=yes
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.
$ac_ext >&5
22905 ac_cv_lib_png_png_check_sig
=no
22907 rm -f conftest.err conftest.
$ac_objext \
22908 conftest
$ac_exeext conftest.
$ac_ext
22909 LIBS
=$ac_check_lib_save_LIBS
22911 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22912 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22913 if test $ac_cv_lib_png_png_check_sig = yes; then
22914 PNG_LINK
=" -lpng -lz"
22919 if test "x$PNG_LINK" = "x" ; then
22920 if test "$wxUSE_LIBPNG" = "sys" ; then
22921 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22922 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22923 { (exit 1); exit 1; }; }
22925 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22926 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22927 wxUSE_LIBPNG
=builtin
22935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22940 if test "$wxUSE_LIBJPEG" != "no" ; then
22941 cat >>confdefs.h
<<\_ACEOF
22942 #define wxUSE_LIBJPEG 1
22946 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22947 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22948 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22952 if test "$wxUSE_MGL" != 1 ; then
22953 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22954 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22955 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22956 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22959 cat >conftest.
$ac_ext <<_ACEOF
22962 cat confdefs.h
>>conftest.
$ac_ext
22963 cat >>conftest.
$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22966 #undef HAVE_STDLIB_H
22968 #include <jpeglib.h>
22979 rm -f conftest.
$ac_objext
22980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22981 (eval $ac_compile) 2>conftest.er1
22983 grep -v '^ *+' conftest.er1
>conftest.err
22985 cat conftest.err
>&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } &&
22988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22990 (eval $ac_try) 2>&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); }; } &&
22994 { ac_try
='test -s conftest.$ac_objext'
22995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996 (eval $ac_try) 2>&5
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; }; then
23000 ac_cv_header_jpeglib_h
=yes
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.
$ac_ext >&5
23005 ac_cv_header_jpeglib_h
=no
23008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23012 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23013 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23015 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23016 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23017 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23018 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23019 echo $ECHO_N "(cached) $ECHO_C" >&6
23021 ac_check_lib_save_LIBS
=$LIBS
23022 LIBS
="-ljpeg $LIBS"
23023 cat >conftest.
$ac_ext <<_ACEOF
23026 cat confdefs.h
>>conftest.
$ac_ext
23027 cat >>conftest.
$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23030 /* Override any gcc2 internal prototype to avoid an error. */
23034 /* We use char because int might match the return type of a gcc2
23035 builtin and then its argument prototype would still apply. */
23036 char jpeg_read_header ();
23040 jpeg_read_header ();
23045 rm -f conftest.
$ac_objext conftest
$ac_exeext
23046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23047 (eval $ac_link) 2>conftest.er1
23049 grep -v '^ *+' conftest.er1
>conftest.err
23051 cat conftest.err
>&5
23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053 (exit $ac_status); } &&
23054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23056 (eval $ac_try) 2>&5
23058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23059 (exit $ac_status); }; } &&
23060 { ac_try
='test -s conftest$ac_exeext'
23061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23062 (eval $ac_try) 2>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; }; then
23066 ac_cv_lib_jpeg_jpeg_read_header
=yes
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.
$ac_ext >&5
23071 ac_cv_lib_jpeg_jpeg_read_header
=no
23073 rm -f conftest.err conftest.
$ac_objext \
23074 conftest
$ac_exeext conftest.
$ac_ext
23075 LIBS
=$ac_check_lib_save_LIBS
23077 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23078 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23079 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23080 JPEG_LINK
=" -ljpeg"
23085 if test "x$JPEG_LINK" = "x" ; then
23086 if test "$wxUSE_LIBJPEG" = "sys" ; then
23087 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23088 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23089 { (exit 1); exit 1; }; }
23091 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23092 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23093 wxUSE_LIBJPEG
=builtin
23104 TIFF_PREREQ_LINKS
=-lm
23105 if test "$wxUSE_LIBTIFF" != "no" ; then
23106 cat >>confdefs.h
<<\_ACEOF
23107 #define wxUSE_LIBTIFF 1
23111 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23112 if test "$wxUSE_LIBJPEG" = "sys"; then
23113 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23115 if test "$wxUSE_ZLIB" = "sys"; then
23116 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23118 if test "${ac_cv_header_tiffio_h+set}" = set; then
23119 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23120 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23121 if test "${ac_cv_header_tiffio_h+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23124 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23125 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23127 # Is the header compilable?
23128 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23129 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23130 cat >conftest.
$ac_ext <<_ACEOF
23133 cat confdefs.h
>>conftest.
$ac_ext
23134 cat >>conftest.
$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136 $ac_includes_default
23137 #include <tiffio.h>
23139 rm -f conftest.
$ac_objext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23141 (eval $ac_compile) 2>conftest.er1
23143 grep -v '^ *+' conftest.er1
>conftest.err
23145 cat conftest.err
>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } &&
23148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try
='test -s conftest.$ac_objext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_header_compiler
=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.
$ac_ext >&5
23165 ac_header_compiler
=no
23167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23169 echo "${ECHO_T}$ac_header_compiler" >&6
23171 # Is the header present?
23172 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23173 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23174 cat >conftest.
$ac_ext <<_ACEOF
23177 cat confdefs.h
>>conftest.
$ac_ext
23178 cat >>conftest.
$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 #include <tiffio.h>
23182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23183 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23185 grep -v '^ *+' conftest.er1
>conftest.err
23187 cat conftest.err
>&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } >/dev
/null
; then
23190 if test -s conftest.err
; then
23191 ac_cpp_err
=$ac_c_preproc_warn_flag
23192 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23199 if test -z "$ac_cpp_err"; then
23200 ac_header_preproc
=yes
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.
$ac_ext >&5
23205 ac_header_preproc
=no
23207 rm -f conftest.err conftest.
$ac_ext
23208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23209 echo "${ECHO_T}$ac_header_preproc" >&6
23211 # So? What about this header?
23212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23214 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23215 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23216 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23217 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23218 ac_header_preproc
=yes
23221 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23222 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23223 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23224 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23225 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23226 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23227 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23228 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23229 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23230 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23231 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23232 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23235 ## ----------------------------------------- ##
23236 ## Report this to wx-dev@lists.wxwidgets.org ##
23237 ## ----------------------------------------- ##
23240 sed "s/^/$as_me: WARNING: /" >&2
23243 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23244 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23245 if test "${ac_cv_header_tiffio_h+set}" = set; then
23246 echo $ECHO_N "(cached) $ECHO_C" >&6
23248 ac_cv_header_tiffio_h
=$ac_header_preproc
23250 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23251 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23254 if test $ac_cv_header_tiffio_h = yes; then
23256 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23257 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23258 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23261 ac_check_lib_save_LIBS
=$LIBS
23262 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23263 cat >conftest.
$ac_ext <<_ACEOF
23266 cat confdefs.h
>>conftest.
$ac_ext
23267 cat >>conftest.
$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23270 /* Override any gcc2 internal prototype to avoid an error. */
23274 /* We use char because int might match the return type of a gcc2
23275 builtin and then its argument prototype would still apply. */
23285 rm -f conftest.
$ac_objext conftest
$ac_exeext
23286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23287 (eval $ac_link) 2>conftest.er1
23289 grep -v '^ *+' conftest.er1
>conftest.err
23291 cat conftest.err
>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); } &&
23294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; } &&
23300 { ac_try
='test -s conftest$ac_exeext'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; }; then
23306 ac_cv_lib_tiff_TIFFError
=yes
23308 echo "$as_me: failed program was:" >&5
23309 sed 's/^/| /' conftest.
$ac_ext >&5
23311 ac_cv_lib_tiff_TIFFError
=no
23313 rm -f conftest.err conftest.
$ac_objext \
23314 conftest
$ac_exeext conftest.
$ac_ext
23315 LIBS
=$ac_check_lib_save_LIBS
23317 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23318 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23319 if test $ac_cv_lib_tiff_TIFFError = yes; then
23320 TIFF_LINK
=" -ltiff"
23329 if test "x$TIFF_LINK" = "x" ; then
23330 if test "$wxUSE_LIBTIFF" = "sys" ; then
23331 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23332 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23333 { (exit 1); exit 1; }; }
23335 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23336 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23337 wxUSE_LIBTIFF
=builtin
23346 if test "$wxUSE_EXPAT" != "no"; then
23348 cat >>confdefs.h
<<\_ACEOF
23349 #define wxUSE_EXPAT 1
23352 cat >>confdefs.h
<<\_ACEOF
23353 #define wxUSE_XML 1
23357 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23358 if test "${ac_cv_header_expat_h+set}" = set; then
23359 echo "$as_me:$LINENO: checking for expat.h" >&5
23360 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23361 if test "${ac_cv_header_expat_h+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23364 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23365 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23367 # Is the header compilable?
23368 echo "$as_me:$LINENO: checking expat.h usability" >&5
23369 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23370 cat >conftest.
$ac_ext <<_ACEOF
23373 cat confdefs.h
>>conftest.
$ac_ext
23374 cat >>conftest.
$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23376 $ac_includes_default
23379 rm -f conftest.
$ac_objext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23381 (eval $ac_compile) 2>conftest.er1
23383 grep -v '^ *+' conftest.er1
>conftest.err
23385 cat conftest.err
>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; } &&
23394 { ac_try
='test -s conftest.$ac_objext'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; }; then
23400 ac_header_compiler
=yes
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.
$ac_ext >&5
23405 ac_header_compiler
=no
23407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23409 echo "${ECHO_T}$ac_header_compiler" >&6
23411 # Is the header present?
23412 echo "$as_me:$LINENO: checking expat.h presence" >&5
23413 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23414 cat >conftest.
$ac_ext <<_ACEOF
23417 cat confdefs.h
>>conftest.
$ac_ext
23418 cat >>conftest.
$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23425 grep -v '^ *+' conftest.er1
>conftest.err
23427 cat conftest.err
>&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } >/dev
/null
; then
23430 if test -s conftest.err
; then
23431 ac_cpp_err
=$ac_c_preproc_warn_flag
23432 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23439 if test -z "$ac_cpp_err"; then
23440 ac_header_preproc
=yes
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.
$ac_ext >&5
23445 ac_header_preproc
=no
23447 rm -f conftest.err conftest.
$ac_ext
23448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23449 echo "${ECHO_T}$ac_header_preproc" >&6
23451 # So? What about this header?
23452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23454 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23455 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23456 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23457 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23458 ac_header_preproc
=yes
23461 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23462 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23463 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23464 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23465 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23466 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23467 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23468 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23469 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23470 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23471 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23472 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23475 ## ----------------------------------------- ##
23476 ## Report this to wx-dev@lists.wxwidgets.org ##
23477 ## ----------------------------------------- ##
23480 sed "s/^/$as_me: WARNING: /" >&2
23483 echo "$as_me:$LINENO: checking for expat.h" >&5
23484 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23485 if test "${ac_cv_header_expat_h+set}" = set; then
23486 echo $ECHO_N "(cached) $ECHO_C" >&6
23488 ac_cv_header_expat_h
=$ac_header_preproc
23490 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23491 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23494 if test $ac_cv_header_expat_h = yes; then
23499 if test "x$found_expat_h" = "x1"; then
23500 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23501 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23502 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23503 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 ac_cpp
='$CXXCPP $CPPFLAGS'
23510 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23511 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23512 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23514 cat >conftest.
$ac_ext <<_ACEOF
23517 cat confdefs.h
>>conftest.
$ac_ext
23518 cat >>conftest.
$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23529 rm -f conftest.
$ac_objext
23530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23531 (eval $ac_compile) 2>conftest.er1
23533 grep -v '^ *+' conftest.er1
>conftest.err
23535 cat conftest.err
>&5
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); } &&
23538 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23540 (eval $ac_try) 2>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); }; } &&
23544 { ac_try
='test -s conftest.$ac_objext'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; }; then
23550 wx_cv_expat_is_not_broken
=yes
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.
$ac_ext >&5
23555 wx_cv_expat_is_not_broken
=no
23558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23560 ac_cpp
='$CPP $CPPFLAGS'
23561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23568 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23569 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23570 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23571 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23572 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23573 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23574 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 ac_check_lib_save_LIBS
=$LIBS
23577 LIBS
="-lexpat $LIBS"
23578 cat >conftest.
$ac_ext <<_ACEOF
23581 cat confdefs.h
>>conftest.
$ac_ext
23582 cat >>conftest.
$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23585 /* Override any gcc2 internal prototype to avoid an error. */
23589 /* We use char because int might match the return type of a gcc2
23590 builtin and then its argument prototype would still apply. */
23591 char XML_ParserCreate ();
23595 XML_ParserCreate ();
23600 rm -f conftest.
$ac_objext conftest
$ac_exeext
23601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23602 (eval $ac_link) 2>conftest.er1
23604 grep -v '^ *+' conftest.er1
>conftest.err
23606 cat conftest.err
>&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); } &&
23609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611 (eval $ac_try) 2>&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); }; } &&
23615 { ac_try
='test -s conftest$ac_exeext'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; }; then
23621 ac_cv_lib_expat_XML_ParserCreate
=yes
23623 echo "$as_me: failed program was:" >&5
23624 sed 's/^/| /' conftest.
$ac_ext >&5
23626 ac_cv_lib_expat_XML_ParserCreate
=no
23628 rm -f conftest.err conftest.
$ac_objext \
23629 conftest
$ac_exeext conftest.
$ac_ext
23630 LIBS
=$ac_check_lib_save_LIBS
23632 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23633 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23634 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23635 EXPAT_LINK
=" -lexpat"
23640 if test "x$EXPAT_LINK" = "x" ; then
23641 if test "$wxUSE_EXPAT" = "sys" ; then
23642 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23643 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23644 { (exit 1); exit 1; }; }
23646 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23647 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23648 wxUSE_EXPAT
=builtin
23654 if test "$wxUSE_EXPAT" = "builtin" ; then
23657 subdirs
="$subdirs src/expat"
23664 if test "$wxUSE_LIBMSPACK" != "no"; then
23665 if test "${ac_cv_header_mspack_h+set}" = set; then
23666 echo "$as_me:$LINENO: checking for mspack.h" >&5
23667 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23668 if test "${ac_cv_header_mspack_h+set}" = set; then
23669 echo $ECHO_N "(cached) $ECHO_C" >&6
23671 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23672 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23674 # Is the header compilable?
23675 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23676 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23677 cat >conftest.
$ac_ext <<_ACEOF
23680 cat confdefs.h
>>conftest.
$ac_ext
23681 cat >>conftest.
$ac_ext <<_ACEOF
23682 /* end confdefs.h. */
23683 $ac_includes_default
23684 #include <mspack.h>
23686 rm -f conftest.
$ac_objext
23687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23688 (eval $ac_compile) 2>conftest.er1
23690 grep -v '^ *+' conftest.er1
>conftest.err
23692 cat conftest.err
>&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } &&
23695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; } &&
23701 { ac_try
='test -s conftest.$ac_objext'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 ac_header_compiler
=yes
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.
$ac_ext >&5
23712 ac_header_compiler
=no
23714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23716 echo "${ECHO_T}$ac_header_compiler" >&6
23718 # Is the header present?
23719 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23720 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23721 cat >conftest.
$ac_ext <<_ACEOF
23724 cat confdefs.h
>>conftest.
$ac_ext
23725 cat >>conftest.
$ac_ext <<_ACEOF
23726 /* end confdefs.h. */
23727 #include <mspack.h>
23729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23732 grep -v '^ *+' conftest.er1
>conftest.err
23734 cat conftest.err
>&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); } >/dev
/null
; then
23737 if test -s conftest.err
; then
23738 ac_cpp_err
=$ac_c_preproc_warn_flag
23739 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23746 if test -z "$ac_cpp_err"; then
23747 ac_header_preproc
=yes
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.
$ac_ext >&5
23752 ac_header_preproc
=no
23754 rm -f conftest.err conftest.
$ac_ext
23755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23756 echo "${ECHO_T}$ac_header_preproc" >&6
23758 # So? What about this header?
23759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23761 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23762 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23763 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23764 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23765 ac_header_preproc
=yes
23768 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23769 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23770 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23771 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23772 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23773 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23774 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23775 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23776 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23777 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23778 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23779 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23782 ## ----------------------------------------- ##
23783 ## Report this to wx-dev@lists.wxwidgets.org ##
23784 ## ----------------------------------------- ##
23787 sed "s/^/$as_me: WARNING: /" >&2
23790 echo "$as_me:$LINENO: checking for mspack.h" >&5
23791 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23792 if test "${ac_cv_header_mspack_h+set}" = set; then
23793 echo $ECHO_N "(cached) $ECHO_C" >&6
23795 ac_cv_header_mspack_h
=$ac_header_preproc
23797 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23798 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23801 if test $ac_cv_header_mspack_h = yes; then
23806 if test "x$found_mspack_h" = "x1"; then
23807 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23808 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23809 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23810 echo $ECHO_N "(cached) $ECHO_C" >&6
23812 ac_check_lib_save_LIBS
=$LIBS
23813 LIBS
="-lmspack $LIBS"
23814 cat >conftest.
$ac_ext <<_ACEOF
23817 cat confdefs.h
>>conftest.
$ac_ext
23818 cat >>conftest.
$ac_ext <<_ACEOF
23819 /* end confdefs.h. */
23821 /* Override any gcc2 internal prototype to avoid an error. */
23825 /* We use char because int might match the return type of a gcc2
23826 builtin and then its argument prototype would still apply. */
23827 char mspack_create_chm_decompressor ();
23831 mspack_create_chm_decompressor ();
23836 rm -f conftest.
$ac_objext conftest
$ac_exeext
23837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23838 (eval $ac_link) 2>conftest.er1
23840 grep -v '^ *+' conftest.er1
>conftest.err
23842 cat conftest.err
>&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } &&
23845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23847 (eval $ac_try) 2>&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); }; } &&
23851 { ac_try
='test -s conftest$ac_exeext'
23852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853 (eval $ac_try) 2>&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); }; }; then
23857 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23859 echo "$as_me: failed program was:" >&5
23860 sed 's/^/| /' conftest.
$ac_ext >&5
23862 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23864 rm -f conftest.err conftest.
$ac_objext \
23865 conftest
$ac_exeext conftest.
$ac_ext
23866 LIBS
=$ac_check_lib_save_LIBS
23868 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23869 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23870 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23871 MSPACK_LINK
=" -lmspack"
23875 if test "x$MSPACK_LINK" = "x" ; then
23880 if test "$wxUSE_LIBMSPACK" != "no"; then
23881 cat >>confdefs.h
<<\_ACEOF
23882 #define wxUSE_LIBMSPACK 1
23896 if test "$USE_WIN32" = 1 ; then
23898 for ac_header
in w32api.h
23900 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23902 echo "$as_me:$LINENO: checking for $ac_header" >&5
23903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23905 echo $ECHO_N "(cached) $ECHO_C" >&6
23907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23910 # Is the header compilable?
23911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23913 cat >conftest.
$ac_ext <<_ACEOF
23916 cat confdefs.h
>>conftest.
$ac_ext
23917 cat >>conftest.
$ac_ext <<_ACEOF
23918 /* end confdefs.h. */
23919 $ac_includes_default
23920 #include <$ac_header>
23922 rm -f conftest.
$ac_objext
23923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23924 (eval $ac_compile) 2>conftest.er1
23926 grep -v '^ *+' conftest.er1
>conftest.err
23928 cat conftest.err
>&5
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } &&
23931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23933 (eval $ac_try) 2>&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); }; } &&
23937 { ac_try
='test -s conftest.$ac_objext'
23938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); }; }; then
23943 ac_header_compiler
=yes
23945 echo "$as_me: failed program was:" >&5
23946 sed 's/^/| /' conftest.
$ac_ext >&5
23948 ac_header_compiler
=no
23950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23952 echo "${ECHO_T}$ac_header_compiler" >&6
23954 # Is the header present?
23955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23957 cat >conftest.
$ac_ext <<_ACEOF
23960 cat confdefs.h
>>conftest.
$ac_ext
23961 cat >>conftest.
$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <$ac_header>
23965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23968 grep -v '^ *+' conftest.er1
>conftest.err
23970 cat conftest.err
>&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } >/dev
/null
; then
23973 if test -s conftest.err
; then
23974 ac_cpp_err
=$ac_c_preproc_warn_flag
23975 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23982 if test -z "$ac_cpp_err"; then
23983 ac_header_preproc
=yes
23985 echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.
$ac_ext >&5
23988 ac_header_preproc
=no
23990 rm -f conftest.err conftest.
$ac_ext
23991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23992 echo "${ECHO_T}$ac_header_preproc" >&6
23994 # So? What about this header?
23995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23997 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24001 ac_header_preproc
=yes
24004 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24006 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24008 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24010 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24011 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24014 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24018 ## ----------------------------------------- ##
24019 ## Report this to wx-dev@lists.wxwidgets.org ##
24020 ## ----------------------------------------- ##
24023 sed "s/^/$as_me: WARNING: /" >&2
24026 echo "$as_me:$LINENO: checking for $ac_header" >&5
24027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24029 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 eval "$as_ac_Header=\$ac_header_preproc"
24033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24038 cat >>confdefs.h
<<_ACEOF
24039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24046 if test "${ac_cv_header_windows_h+set}" = set; then
24047 echo "$as_me:$LINENO: checking for windows.h" >&5
24048 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24049 if test "${ac_cv_header_windows_h+set}" = set; then
24050 echo $ECHO_N "(cached) $ECHO_C" >&6
24052 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24053 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24055 # Is the header compilable?
24056 echo "$as_me:$LINENO: checking windows.h usability" >&5
24057 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24058 cat >conftest.
$ac_ext <<_ACEOF
24061 cat confdefs.h
>>conftest.
$ac_ext
24062 cat >>conftest.
$ac_ext <<_ACEOF
24063 /* end confdefs.h. */
24064 $ac_includes_default
24065 #include <windows.h>
24067 rm -f conftest.
$ac_objext
24068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24069 (eval $ac_compile) 2>conftest.er1
24071 grep -v '^ *+' conftest.er1
>conftest.err
24073 cat conftest.err
>&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); } &&
24076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24078 (eval $ac_try) 2>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); }; } &&
24082 { ac_try
='test -s conftest.$ac_objext'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; }; then
24088 ac_header_compiler
=yes
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.
$ac_ext >&5
24093 ac_header_compiler
=no
24095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24097 echo "${ECHO_T}$ac_header_compiler" >&6
24099 # Is the header present?
24100 echo "$as_me:$LINENO: checking windows.h presence" >&5
24101 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24102 cat >conftest.
$ac_ext <<_ACEOF
24105 cat confdefs.h
>>conftest.
$ac_ext
24106 cat >>conftest.
$ac_ext <<_ACEOF
24107 /* end confdefs.h. */
24108 #include <windows.h>
24110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24113 grep -v '^ *+' conftest.er1
>conftest.err
24115 cat conftest.err
>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } >/dev
/null
; then
24118 if test -s conftest.err
; then
24119 ac_cpp_err
=$ac_c_preproc_warn_flag
24120 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24127 if test -z "$ac_cpp_err"; then
24128 ac_header_preproc
=yes
24130 echo "$as_me: failed program was:" >&5
24131 sed 's/^/| /' conftest.
$ac_ext >&5
24133 ac_header_preproc
=no
24135 rm -f conftest.err conftest.
$ac_ext
24136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24137 echo "${ECHO_T}$ac_header_preproc" >&6
24139 # So? What about this header?
24140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24142 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24143 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24144 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24145 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24146 ac_header_preproc
=yes
24149 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24150 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24151 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24152 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24153 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24154 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24155 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24156 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24157 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24158 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24159 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24160 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24163 ## ----------------------------------------- ##
24164 ## Report this to wx-dev@lists.wxwidgets.org ##
24165 ## ----------------------------------------- ##
24168 sed "s/^/$as_me: WARNING: /" >&2
24171 echo "$as_me:$LINENO: checking for windows.h" >&5
24172 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24173 if test "${ac_cv_header_windows_h+set}" = set; then
24174 echo $ECHO_N "(cached) $ECHO_C" >&6
24176 ac_cv_header_windows_h
=$ac_header_preproc
24178 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24179 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24182 if test $ac_cv_header_windows_h = yes; then
24186 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24187 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24188 { (exit 1); exit 1; }; }
24194 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24196 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24197 LIBS
="$LIBS -loleacc"
24202 LIBS
="$LIBS -lkernel32 -luser32"
24203 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24206 if test "$wxUSE_ODBC" = "sys" ; then
24209 if test "$wxUSE_ODBC" = "yes" ; then
24210 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24211 cat >>confdefs.h
<<\_ACEOF
24212 #define wxUSE_ODBC 1
24217 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24218 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24220 WIN32INSTALL
=win32install
24223 if test "$wxUSE_GUI" = "yes"; then
24233 if test "$wxUSE_COCOA" = 1 ; then
24234 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24235 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24236 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24237 wxUSE_PRINTING_ARCHITECTURE
=no
24239 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24240 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24241 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24242 wxUSE_DRAG_AND_DROP
=no
24244 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24245 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24246 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24251 if test "$wxUSE_MSW" = 1 ; then
24257 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24261 if test "$wxUSE_GTK" = 1; then
24262 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24263 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24265 gtk_version_cached
=1
24266 if test "${wx_cv_lib_gtk+set}" = set; then
24267 echo $ECHO_N "(cached) $ECHO_C" >&6
24270 gtk_version_cached
=0
24271 echo "$as_me:$LINENO: result: " >&5
24272 echo "${ECHO_T}" >&6
24275 if test "$wxUSE_THREADS" = "yes"; then
24276 GTK_MODULES
=gthread
24280 if test "x$wxGTK_VERSION" != "x1"; then
24281 # Check whether --enable-gtktest or --disable-gtktest was given.
24282 if test "${enable_gtktest+set}" = set; then
24283 enableval
="$enable_gtktest"
24289 pkg_config_args
=gtk
+-2.0
24290 for module
in .
$GTK_MODULES
24294 pkg_config_args
="$pkg_config_args gthread-2.0"
24301 # Extract the first word of "pkg-config", so it can be a program name with args.
24302 set dummy pkg
-config; ac_word
=$2
24303 echo "$as_me:$LINENO: checking for $ac_word" >&5
24304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24305 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24308 case $PKG_CONFIG in
24310 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24314 for as_dir
in $PATH
24317 test -z "$as_dir" && as_dir
=.
24318 for ac_exec_ext
in '' $ac_executable_extensions; do
24319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24320 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24327 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24331 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24333 if test -n "$PKG_CONFIG"; then
24334 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24335 echo "${ECHO_T}$PKG_CONFIG" >&6
24337 echo "$as_me:$LINENO: result: no" >&5
24338 echo "${ECHO_T}no" >&6
24342 if test x
$PKG_CONFIG != xno
; then
24343 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24346 echo "*** pkg-config too old; version 0.7 or better required."
24354 min_gtk_version
=2.0.0
24355 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24356 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24358 if test x
$PKG_CONFIG != xno
; then
24359 ## don't try to run the test against uninstalled libtool libs
24360 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24361 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24365 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24372 if test x
"$no_gtk" = x
; then
24373 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24374 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24375 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24377 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24379 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24381 if test "x$enable_gtktest" = "xyes" ; then
24382 ac_save_CFLAGS
="$CFLAGS"
24383 ac_save_LIBS
="$LIBS"
24384 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24385 LIBS
="$GTK_LIBS $LIBS"
24387 if test "$cross_compiling" = yes; then
24388 echo $ac_n "cross compiling; assumed OK... $ac_c"
24390 cat >conftest.
$ac_ext <<_ACEOF
24393 cat confdefs.h
>>conftest.
$ac_ext
24394 cat >>conftest.
$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24397 #include <gtk/gtk.h>
24399 #include <stdlib.h>
24404 int major, minor, micro;
24407 system ("touch conf.gtktest");
24409 /* HP/UX 9 (%@#!) writes to sscanf strings */
24410 tmp_version = g_strdup("$min_gtk_version");
24411 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24412 printf("%s, bad version string\n", "$min_gtk_version");
24416 if ((gtk_major_version != $gtk_config_major_version) ||
24417 (gtk_minor_version != $gtk_config_minor_version) ||
24418 (gtk_micro_version != $gtk_config_micro_version))
24420 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24421 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24422 gtk_major_version, gtk_minor_version, gtk_micro_version);
24423 printf ("*** was found! If pkg-config was correct, then it is best\n");
24424 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24425 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24426 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24427 printf("*** required on your system.\n");
24428 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24429 printf("*** to point to the correct configuration files\n");
24431 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24432 (gtk_minor_version != GTK_MINOR_VERSION) ||
24433 (gtk_micro_version != GTK_MICRO_VERSION))
24435 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24436 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24437 printf("*** library (version %d.%d.%d)\n",
24438 gtk_major_version, gtk_minor_version, gtk_micro_version);
24442 if ((gtk_major_version > major) ||
24443 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24444 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24450 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24451 gtk_major_version, gtk_minor_version, gtk_micro_version);
24452 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24453 major, minor, micro);
24454 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24456 printf("*** If you have already installed a sufficiently new version, this error\n");
24457 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24458 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24459 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24460 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24461 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24462 printf("*** so that the correct libraries are found at run-time))\n");
24469 rm -f conftest
$ac_exeext
24470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24471 (eval $ac_link) 2>&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; }; then
24482 echo "$as_me: program exited with status $ac_status" >&5
24483 echo "$as_me: failed program was:" >&5
24484 sed 's/^/| /' conftest.
$ac_ext >&5
24486 ( exit $ac_status )
24489 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24491 CFLAGS
="$ac_save_CFLAGS"
24492 LIBS
="$ac_save_LIBS"
24495 if test "x$no_gtk" = x
; then
24496 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24497 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24500 echo "$as_me:$LINENO: result: no" >&5
24501 echo "${ECHO_T}no" >&6
24502 if test "$PKG_CONFIG" = "no" ; then
24503 echo "*** A new enough version of pkg-config was not found."
24504 echo "*** See http://pkgconfig.sourceforge.net"
24506 if test -f conf.gtktest
; then
24509 echo "*** Could not run GTK+ test program, checking why..."
24510 ac_save_CFLAGS
="$CFLAGS"
24511 ac_save_LIBS
="$LIBS"
24512 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24513 LIBS
="$LIBS $GTK_LIBS"
24514 cat >conftest.
$ac_ext <<_ACEOF
24517 cat confdefs.h
>>conftest.
$ac_ext
24518 cat >>conftest.
$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24521 #include <gtk/gtk.h>
24527 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24532 rm -f conftest.
$ac_objext conftest
$ac_exeext
24533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24534 (eval $ac_link) 2>conftest.er1
24536 grep -v '^ *+' conftest.er1
>conftest.err
24538 cat conftest.err
>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; } &&
24547 { ac_try
='test -s conftest$ac_exeext'
24548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24549 (eval $ac_try) 2>&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); }; }; then
24553 echo "*** The test program compiled, but did not run. This usually means"
24554 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24555 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24556 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24557 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24558 echo "*** is required on your system"
24560 echo "*** If you have an old version installed, it is best to remove it, although"
24561 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24563 echo "$as_me: failed program was:" >&5
24564 sed 's/^/| /' conftest.
$ac_ext >&5
24566 echo "*** The test program failed to compile or link. See the file config.log for the"
24567 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24569 rm -f conftest.err conftest.
$ac_objext \
24570 conftest
$ac_exeext conftest.
$ac_ext
24571 CFLAGS
="$ac_save_CFLAGS"
24572 LIBS
="$ac_save_LIBS"
24585 if test -z "$wx_cv_lib_gtk"; then
24586 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24588 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24589 if test "${with_gtk_prefix+set}" = set; then
24590 withval
="$with_gtk_prefix"
24591 gtk_config_prefix
="$withval"
24593 gtk_config_prefix
=""
24596 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24597 if test "${with_gtk_exec_prefix+set}" = set; then
24598 withval
="$with_gtk_exec_prefix"
24599 gtk_config_exec_prefix
="$withval"
24601 gtk_config_exec_prefix
=""
24603 # Check whether --enable-gtktest or --disable-gtktest was given.
24604 if test "${enable_gtktest+set}" = set; then
24605 enableval
="$enable_gtktest"
24611 for module
in .
$GTK_MODULES
24615 gtk_config_args
="$gtk_config_args gthread"
24620 if test x
$gtk_config_exec_prefix != x
; then
24621 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24622 if test x
${GTK_CONFIG+set} != xset
; then
24623 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24626 if test x
$gtk_config_prefix != x
; then
24627 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24628 if test x
${GTK_CONFIG+set} != xset
; then
24629 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24633 # Extract the first word of "gtk-config", so it can be a program name with args.
24634 set dummy gtk
-config; ac_word
=$2
24635 echo "$as_me:$LINENO: checking for $ac_word" >&5
24636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24637 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24638 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 case $GTK_CONFIG in
24642 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24646 for as_dir
in $PATH
24649 test -z "$as_dir" && as_dir
=.
24650 for ac_exec_ext
in '' $ac_executable_extensions; do
24651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24652 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24659 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24663 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24665 if test -n "$GTK_CONFIG"; then
24666 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24667 echo "${ECHO_T}$GTK_CONFIG" >&6
24669 echo "$as_me:$LINENO: result: no" >&5
24670 echo "${ECHO_T}no" >&6
24673 min_gtk_version
=1.2.7
24674 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24675 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24677 if test "$GTK_CONFIG" = "no" ; then
24680 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24681 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24682 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24684 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24685 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24686 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24688 if test "x$enable_gtktest" = "xyes" ; then
24689 ac_save_CFLAGS
="$CFLAGS"
24690 ac_save_LIBS
="$LIBS"
24691 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24692 LIBS
="$GTK_LIBS $LIBS"
24694 if test "$cross_compiling" = yes; then
24695 echo $ac_n "cross compiling; assumed OK... $ac_c"
24697 cat >conftest.
$ac_ext <<_ACEOF
24700 cat confdefs.h
>>conftest.
$ac_ext
24701 cat >>conftest.
$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24704 #include <gtk/gtk.h>
24706 #include <stdlib.h>
24711 int major, minor, micro;
24714 system ("touch conf.gtktest");
24716 /* HP/UX 9 (%@#!) writes to sscanf strings */
24717 tmp_version = g_strdup("$min_gtk_version");
24718 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24719 printf("%s, bad version string\n", "$min_gtk_version");
24723 if ((gtk_major_version != $gtk_config_major_version) ||
24724 (gtk_minor_version != $gtk_config_minor_version) ||
24725 (gtk_micro_version != $gtk_config_micro_version))
24727 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24728 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24729 gtk_major_version, gtk_minor_version, gtk_micro_version);
24730 printf ("*** was found! If gtk-config was correct, then it is best\n");
24731 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24732 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24733 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24734 printf("*** required on your system.\n");
24735 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24736 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24737 printf("*** before re-running configure\n");
24739 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24740 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24741 (gtk_minor_version != GTK_MINOR_VERSION) ||
24742 (gtk_micro_version != GTK_MICRO_VERSION))
24744 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24745 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24746 printf("*** library (version %d.%d.%d)\n",
24747 gtk_major_version, gtk_minor_version, gtk_micro_version);
24749 #endif /* defined (GTK_MAJOR_VERSION) ... */
24752 if ((gtk_major_version > major) ||
24753 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24754 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24760 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24761 gtk_major_version, gtk_minor_version, gtk_micro_version);
24762 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24763 major, minor, micro);
24764 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24766 printf("*** If you have already installed a sufficiently new version, this error\n");
24767 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24768 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24769 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24770 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24771 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24772 printf("*** so that the correct libraries are found at run-time))\n");
24779 rm -f conftest
$ac_exeext
24780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24781 (eval $ac_link) 2>&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786 (eval $ac_try) 2>&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); }; }; then
24792 echo "$as_me: program exited with status $ac_status" >&5
24793 echo "$as_me: failed program was:" >&5
24794 sed 's/^/| /' conftest.
$ac_ext >&5
24796 ( exit $ac_status )
24799 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24801 CFLAGS
="$ac_save_CFLAGS"
24802 LIBS
="$ac_save_LIBS"
24805 if test "x$no_gtk" = x
; then
24806 echo "$as_me:$LINENO: result: yes" >&5
24807 echo "${ECHO_T}yes" >&6
24808 wx_cv_lib_gtk
=1.2.7
24810 echo "$as_me:$LINENO: result: no" >&5
24811 echo "${ECHO_T}no" >&6
24812 if test "$GTK_CONFIG" = "no" ; then
24813 echo "*** The gtk-config script installed by GTK could not be found"
24814 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24815 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24816 echo "*** full path to gtk-config."
24818 if test -f conf.gtktest
; then
24821 echo "*** Could not run GTK test program, checking why..."
24822 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24823 LIBS
="$LIBS $GTK_LIBS"
24824 cat >conftest.
$ac_ext <<_ACEOF
24827 cat confdefs.h
>>conftest.
$ac_ext
24828 cat >>conftest.
$ac_ext <<_ACEOF
24829 /* end confdefs.h. */
24831 #include <gtk/gtk.h>
24837 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24842 rm -f conftest.
$ac_objext conftest
$ac_exeext
24843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24844 (eval $ac_link) 2>conftest.er1
24846 grep -v '^ *+' conftest.er1
>conftest.err
24848 cat conftest.err
>&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); } &&
24851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; } &&
24857 { ac_try
='test -s conftest$ac_exeext'
24858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24859 (eval $ac_try) 2>&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); }; }; then
24863 echo "*** The test program compiled, but did not run. This usually means"
24864 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24865 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24866 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24867 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24868 echo "*** is required on your system"
24870 echo "*** If you have an old version installed, it is best to remove it, although"
24871 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24873 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24874 echo "*** came with the system with the command"
24876 echo "*** rpm --erase --nodeps gtk gtk-devel"
24878 echo "$as_me: failed program was:" >&5
24879 sed 's/^/| /' conftest.
$ac_ext >&5
24881 echo "*** The test program failed to compile or link. See the file config.log for the"
24882 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24883 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24884 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24886 rm -f conftest.err conftest.
$ac_objext \
24887 conftest
$ac_exeext conftest.
$ac_ext
24888 CFLAGS
="$ac_save_CFLAGS"
24889 LIBS
="$ac_save_LIBS"
24901 if test -z "$wx_cv_lib_gtk"; then
24903 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24904 if test "${with_gtk_prefix+set}" = set; then
24905 withval
="$with_gtk_prefix"
24906 gtk_config_prefix
="$withval"
24908 gtk_config_prefix
=""
24911 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24912 if test "${with_gtk_exec_prefix+set}" = set; then
24913 withval
="$with_gtk_exec_prefix"
24914 gtk_config_exec_prefix
="$withval"
24916 gtk_config_exec_prefix
=""
24918 # Check whether --enable-gtktest or --disable-gtktest was given.
24919 if test "${enable_gtktest+set}" = set; then
24920 enableval
="$enable_gtktest"
24926 for module
in .
$GTK_MODULES
24930 gtk_config_args
="$gtk_config_args gthread"
24935 if test x
$gtk_config_exec_prefix != x
; then
24936 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24937 if test x
${GTK_CONFIG+set} != xset
; then
24938 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24941 if test x
$gtk_config_prefix != x
; then
24942 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24943 if test x
${GTK_CONFIG+set} != xset
; then
24944 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24948 # Extract the first word of "gtk-config", so it can be a program name with args.
24949 set dummy gtk
-config; ac_word
=$2
24950 echo "$as_me:$LINENO: checking for $ac_word" >&5
24951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24952 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 case $GTK_CONFIG in
24957 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24961 for as_dir
in $PATH
24964 test -z "$as_dir" && as_dir
=.
24965 for ac_exec_ext
in '' $ac_executable_extensions; do
24966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24967 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24974 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24978 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24980 if test -n "$GTK_CONFIG"; then
24981 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24982 echo "${ECHO_T}$GTK_CONFIG" >&6
24984 echo "$as_me:$LINENO: result: no" >&5
24985 echo "${ECHO_T}no" >&6
24988 min_gtk_version
=1.2.3
24989 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24990 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24992 if test "$GTK_CONFIG" = "no" ; then
24995 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24996 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24997 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24999 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25001 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25003 if test "x$enable_gtktest" = "xyes" ; then
25004 ac_save_CFLAGS
="$CFLAGS"
25005 ac_save_LIBS
="$LIBS"
25006 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25007 LIBS
="$GTK_LIBS $LIBS"
25009 if test "$cross_compiling" = yes; then
25010 echo $ac_n "cross compiling; assumed OK... $ac_c"
25012 cat >conftest.
$ac_ext <<_ACEOF
25015 cat confdefs.h
>>conftest.
$ac_ext
25016 cat >>conftest.
$ac_ext <<_ACEOF
25017 /* end confdefs.h. */
25019 #include <gtk/gtk.h>
25021 #include <stdlib.h>
25026 int major, minor, micro;
25029 system ("touch conf.gtktest");
25031 /* HP/UX 9 (%@#!) writes to sscanf strings */
25032 tmp_version = g_strdup("$min_gtk_version");
25033 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25034 printf("%s, bad version string\n", "$min_gtk_version");
25038 if ((gtk_major_version != $gtk_config_major_version) ||
25039 (gtk_minor_version != $gtk_config_minor_version) ||
25040 (gtk_micro_version != $gtk_config_micro_version))
25042 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25043 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25044 gtk_major_version, gtk_minor_version, gtk_micro_version);
25045 printf ("*** was found! If gtk-config was correct, then it is best\n");
25046 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25047 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25048 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25049 printf("*** required on your system.\n");
25050 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25051 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25052 printf("*** before re-running configure\n");
25054 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25055 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25056 (gtk_minor_version != GTK_MINOR_VERSION) ||
25057 (gtk_micro_version != GTK_MICRO_VERSION))
25059 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25060 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25061 printf("*** library (version %d.%d.%d)\n",
25062 gtk_major_version, gtk_minor_version, gtk_micro_version);
25064 #endif /* defined (GTK_MAJOR_VERSION) ... */
25067 if ((gtk_major_version > major) ||
25068 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25069 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25075 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25076 gtk_major_version, gtk_minor_version, gtk_micro_version);
25077 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25078 major, minor, micro);
25079 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25081 printf("*** If you have already installed a sufficiently new version, this error\n");
25082 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25083 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25084 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25085 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25086 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25087 printf("*** so that the correct libraries are found at run-time))\n");
25094 rm -f conftest
$ac_exeext
25095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25096 (eval $ac_link) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101 (eval $ac_try) 2>&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); }; }; then
25107 echo "$as_me: program exited with status $ac_status" >&5
25108 echo "$as_me: failed program was:" >&5
25109 sed 's/^/| /' conftest.
$ac_ext >&5
25111 ( exit $ac_status )
25114 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25116 CFLAGS
="$ac_save_CFLAGS"
25117 LIBS
="$ac_save_LIBS"
25120 if test "x$no_gtk" = x
; then
25121 echo "$as_me:$LINENO: result: yes" >&5
25122 echo "${ECHO_T}yes" >&6
25123 wx_cv_lib_gtk
=1.2.3
25125 echo "$as_me:$LINENO: result: no" >&5
25126 echo "${ECHO_T}no" >&6
25127 if test "$GTK_CONFIG" = "no" ; then
25128 echo "*** The gtk-config script installed by GTK could not be found"
25129 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25130 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25131 echo "*** full path to gtk-config."
25133 if test -f conf.gtktest
; then
25136 echo "*** Could not run GTK test program, checking why..."
25137 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25138 LIBS
="$LIBS $GTK_LIBS"
25139 cat >conftest.
$ac_ext <<_ACEOF
25142 cat confdefs.h
>>conftest.
$ac_ext
25143 cat >>conftest.
$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25146 #include <gtk/gtk.h>
25152 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25157 rm -f conftest.
$ac_objext conftest
$ac_exeext
25158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25159 (eval $ac_link) 2>conftest.er1
25161 grep -v '^ *+' conftest.er1
>conftest.err
25163 cat conftest.err
>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); } &&
25166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25168 (eval $ac_try) 2>&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); }; } &&
25172 { ac_try
='test -s conftest$ac_exeext'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; }; then
25178 echo "*** The test program compiled, but did not run. This usually means"
25179 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25180 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25181 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25182 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25183 echo "*** is required on your system"
25185 echo "*** If you have an old version installed, it is best to remove it, although"
25186 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25188 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25189 echo "*** came with the system with the command"
25191 echo "*** rpm --erase --nodeps gtk gtk-devel"
25193 echo "$as_me: failed program was:" >&5
25194 sed 's/^/| /' conftest.
$ac_ext >&5
25196 echo "*** The test program failed to compile or link. See the file config.log for the"
25197 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25198 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25199 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25201 rm -f conftest.err conftest.
$ac_objext \
25202 conftest
$ac_exeext conftest.
$ac_ext
25203 CFLAGS
="$ac_save_CFLAGS"
25204 LIBS
="$ac_save_LIBS"
25219 if test -z "$wx_cv_lib_gtk"; then
25222 wx_cv_cflags_gtk
=$GTK_CFLAGS
25223 wx_cv_libs_gtk
=$GTK_LIBS
25230 if test "$gtk_version_cached" = 1; then
25231 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25232 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25235 case "$wx_cv_lib_gtk" in
25244 *) { { echo "$as_me:$LINENO: error:
25245 The development files for GTK+ were not found. For GTK+ 2, please
25246 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25247 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25248 and that the version is 1.2.3 or above. Also check that the
25249 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25250 --libs' are in the LD_LIBRARY_PATH or equivalent.
25252 echo "$as_me: error:
25253 The development files for GTK+ were not found. For GTK+ 2, please
25254 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25255 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25256 and that the version is 1.2.3 or above. Also check that the
25257 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25258 --libs' are in the LD_LIBRARY_PATH or equivalent.
25260 { (exit 1); exit 1; }; }
25264 if test "$WXGTK20" = 1; then
25265 save_CFLAGS
="$CFLAGS"
25267 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25268 LIBS
="$LIBS $wx_cv_lib_gtk"
25271 for ac_func
in pango_font_family_is_monospace
25273 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25279 cat >conftest.
$ac_ext <<_ACEOF
25282 cat confdefs.h
>>conftest.
$ac_ext
25283 cat >>conftest.
$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25295 # include <limits.h>
25297 # include <assert.h>
25302 /* Override any gcc2 internal prototype to avoid an error. */
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25310 /* The GNU C library defines this for functions which it implements
25311 to always fail with ENOSYS. Some functions are actually named
25312 something starting with __ and the normal name is an alias. */
25313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25316 char (*f) () = $ac_func;
25325 return f != $ac_func;
25330 rm -f conftest.
$ac_objext conftest
$ac_exeext
25331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25332 (eval $ac_link) 2>conftest.er1
25334 grep -v '^ *+' conftest.er1
>conftest.err
25336 cat conftest.err
>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } &&
25339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try
='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 eval "$as_ac_var=yes"
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.
$ac_ext >&5
25356 eval "$as_ac_var=no"
25358 rm -f conftest.err conftest.
$ac_objext \
25359 conftest
$ac_exeext conftest.
$ac_ext
25361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25363 if test `eval echo '${'$as_ac_var'}'` = yes; then
25364 cat >>confdefs.h
<<_ACEOF
25365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25372 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25373 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25374 cat >conftest.
$ac_ext <<_ACEOF
25377 cat confdefs.h
>>conftest.
$ac_ext
25378 cat >>conftest.
$ac_ext <<_ACEOF
25379 /* end confdefs.h. */
25381 #include <gtk/gtk.h>
25387 #if !GTK_CHECK_VERSION(2,4,0)
25388 #error "Not GTK+ 2.4"
25395 rm -f conftest.
$ac_objext
25396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25397 (eval $ac_compile) 2>conftest.er1
25399 grep -v '^ *+' conftest.er1
>conftest.err
25401 cat conftest.err
>&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } &&
25404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; } &&
25410 { ac_try
='test -s conftest.$ac_objext'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; }; then
25417 cat >>confdefs.h
<<\_ACEOF
25418 #define __WXGTK24__ 1
25421 echo "$as_me:$LINENO: result: yes" >&5
25422 echo "${ECHO_T}yes" >&6
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.
$ac_ext >&5
25429 echo "$as_me:$LINENO: result: no" >&5
25430 echo "${ECHO_T}no" >&6
25433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25435 CFLAGS
="$save_CFLAGS"
25438 if test "$wxUSE_UNICODE" = "yes"; then
25439 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25440 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25445 if test "$USE_DARWIN" != 1; then
25447 for ac_func
in poll
25449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25450 echo "$as_me:$LINENO: checking for $ac_func" >&5
25451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25452 if eval "test \"\${$as_ac_var+set}\" = set"; then
25453 echo $ECHO_N "(cached) $ECHO_C" >&6
25455 cat >conftest.
$ac_ext <<_ACEOF
25458 cat confdefs.h
>>conftest.
$ac_ext
25459 cat >>conftest.
$ac_ext <<_ACEOF
25460 /* end confdefs.h. */
25461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25463 #define $ac_func innocuous_$ac_func
25465 /* System header to define __stub macros and hopefully few prototypes,
25466 which can conflict with char $ac_func (); below.
25467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25468 <limits.h> exists even on freestanding compilers. */
25471 # include <limits.h>
25473 # include <assert.h>
25478 /* Override any gcc2 internal prototype to avoid an error. */
25483 /* We use char because int might match the return type of a gcc2
25484 builtin and then its argument prototype would still apply. */
25486 /* The GNU C library defines this for functions which it implements
25487 to always fail with ENOSYS. Some functions are actually named
25488 something starting with __ and the normal name is an alias. */
25489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25492 char (*f) () = $ac_func;
25501 return f != $ac_func;
25506 rm -f conftest.
$ac_objext conftest
$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508 (eval $ac_link) 2>conftest.er1
25510 grep -v '^ *+' conftest.er1
>conftest.err
25512 cat conftest.err
>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; } &&
25521 { ac_try
='test -s conftest$ac_exeext'
25522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523 (eval $ac_try) 2>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); }; }; then
25527 eval "$as_ac_var=yes"
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.
$ac_ext >&5
25532 eval "$as_ac_var=no"
25534 rm -f conftest.err conftest.
$ac_objext \
25535 conftest
$ac_exeext conftest.
$ac_ext
25537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25539 if test `eval echo '${'$as_ac_var'}'` = yes; then
25540 cat >>confdefs.h
<<_ACEOF
25541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25549 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25550 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25552 AFMINSTALL
=afminstall
25556 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25557 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25558 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25559 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 ac_check_lib_save_LIBS
=$LIBS
25563 cat >conftest.
$ac_ext <<_ACEOF
25566 cat confdefs.h
>>conftest.
$ac_ext
25567 cat >>conftest.
$ac_ext <<_ACEOF
25568 /* end confdefs.h. */
25570 /* Override any gcc2 internal prototype to avoid an error. */
25574 /* We use char because int might match the return type of a gcc2
25575 builtin and then its argument prototype would still apply. */
25576 char gdk_im_open ();
25585 rm -f conftest.
$ac_objext conftest
$ac_exeext
25586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25587 (eval $ac_link) 2>conftest.er1
25589 grep -v '^ *+' conftest.er1
>conftest.err
25591 cat conftest.err
>&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); } &&
25594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596 (eval $ac_try) 2>&5
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); }; } &&
25600 { ac_try
='test -s conftest$ac_exeext'
25601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25602 (eval $ac_try) 2>&5
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; }; then
25606 ac_cv_lib_gdk_gdk_im_open
=yes
25608 echo "$as_me: failed program was:" >&5
25609 sed 's/^/| /' conftest.
$ac_ext >&5
25611 ac_cv_lib_gdk_gdk_im_open
=no
25613 rm -f conftest.err conftest.
$ac_objext \
25614 conftest
$ac_exeext conftest.
$ac_ext
25615 LIBS
=$ac_check_lib_save_LIBS
25617 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25618 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25619 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25620 cat >>confdefs.h
<<\_ACEOF
25628 if test "$wxUSE_GPE" = "yes"; then
25629 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25630 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25633 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25635 for ac_extension
in a so sl dylib
; do
25636 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25637 ac_find_libraries
=$ac_dir
25643 if test "$ac_find_libraries" != "" ; then
25645 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25647 if test $result = 0; then
25650 ac_path_to_link
=" -L$ac_find_libraries"
25653 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25655 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25656 echo "${ECHO_T}found at $ac_find_libraries" >&6
25658 echo "$as_me:$LINENO: result: not found" >&5
25659 echo "${ECHO_T}not found" >&6
25665 if test "$wxUSE_MGL" = 1; then
25666 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25667 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25668 if test "x$MGL_ROOT" = x
; then
25669 echo "$as_me:$LINENO: result: not found" >&5
25670 echo "${ECHO_T}not found" >&6
25671 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25672 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25673 { (exit 1); exit 1; }; }
25675 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25676 echo "${ECHO_T}$MGL_ROOT" >&6
25679 echo "$as_me:$LINENO: checking for libmgl location" >&5
25680 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25683 if test "x$wxUSE_SHARED" = xyes
; then
25684 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25686 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25690 mgl_os_candidates
="dos32/dj2"
25693 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25694 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25695 { (exit 1); exit 1; }; }
25701 for mgl_os_i
in $mgl_os_candidates ; do
25702 if test "x$mgl_os" = x
; then
25703 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25704 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25705 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25710 if test "x$mgl_lib_type" = x
; then
25711 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25712 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25713 mgl_lib_type
=release
25720 if test "x$mgl_os" = x
; then
25721 echo "$as_me:$LINENO: result: not found" >&5
25722 echo "${ECHO_T}not found" >&6
25723 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25724 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25725 { (exit 1); exit 1; }; }
25727 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25728 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25730 wxUSE_UNIVERSAL
="yes"
25732 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25733 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25735 AFMINSTALL
=afminstall
25740 if test "$wxUSE_MICROWIN" = 1; then
25741 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25742 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25743 if test "x$MICROWINDOWS" = x
; then
25744 echo "$as_me:$LINENO: result: not found" >&5
25745 echo "${ECHO_T}not found" >&6
25746 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25747 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25748 { (exit 1); exit 1; }; }
25750 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25751 echo "${ECHO_T}$MICROWINDOWS" >&6
25754 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25755 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25756 echo "${ECHO_T}MicroWindows' libraries found." >&6
25758 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25759 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25760 { (exit 1); exit 1; }; }
25763 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25764 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25766 wxUSE_UNIVERSAL
="yes"
25768 AFMINSTALL
=afminstall
25770 GUIDIST
=MICROWIN_DIST
25772 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25775 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25777 if test "x$ac_path_x_has_been_run" != xyes
; then
25778 echo "$as_me:$LINENO: checking for X" >&5
25779 echo $ECHO_N "checking for X... $ECHO_C" >&6
25781 ac_path_x_has_been_run
=yes
25783 # Check whether --with-x or --without-x was given.
25784 if test "${with_x+set}" = set; then
25788 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25789 if test "x$with_x" = xno
; then
25790 # The user explicitly disabled X.
25793 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25794 # Both variables are already set.
25797 if test "${ac_cv_have_x+set}" = set; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 # One or both of the vars are not set, and there is no cached value.
25801 ac_x_includes
=no ac_x_libraries
=no
25802 rm -fr conftest.dir
25803 if mkdir conftest.dir
; then
25805 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25806 cat >Imakefile
<<'_ACEOF'
25808 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25810 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25811 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25812 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25813 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25814 for ac_extension
in a so sl
; do
25815 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25816 test -f $ac_im_libdir/libX11.
$ac_extension; then
25817 ac_im_usrlibdir
=$ac_im_libdir; break
25820 # Screen out bogus values from the imake configuration. They are
25821 # bogus both because they are the default anyway, and because
25822 # using them would break gcc on systems where it needs fixed includes.
25823 case $ac_im_incroot in
25825 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25827 case $ac_im_usrlibdir in
25828 /usr
/lib
| /lib
) ;;
25829 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25833 rm -fr conftest.dir
25836 # Standard set of common directories for X headers.
25837 # Check X11 before X11Rn because it is often a symlink to the current release.
25849 /usr/local/X11/include
25850 /usr/local/X11R6/include
25851 /usr/local/X11R5/include
25852 /usr/local/X11R4/include
25854 /usr/local/include/X11
25855 /usr/local/include/X11R6
25856 /usr/local/include/X11R5
25857 /usr/local/include/X11R4
25861 /usr/XFree86/include/X11
25865 /usr/unsupported/include
25866 /usr/athena/include
25867 /usr/local/x11r5/include
25868 /usr/lpp/Xamples/include
25870 /usr/openwin/include
25871 /usr/openwin/share/include'
25873 if test "$ac_x_includes" = no
; then
25874 # Guess where to find include files, by looking for a specified header file.
25875 # First, try using that file with no special directory specified.
25876 cat >conftest.
$ac_ext <<_ACEOF
25879 cat confdefs.h
>>conftest.
$ac_ext
25880 cat >>conftest.
$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 #include <X11/Intrinsic.h>
25884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25885 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25887 grep -v '^ *+' conftest.er1
>conftest.err
25889 cat conftest.err
>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); } >/dev
/null
; then
25892 if test -s conftest.err
; then
25893 ac_cpp_err
=$ac_c_preproc_warn_flag
25894 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25901 if test -z "$ac_cpp_err"; then
25902 # We can compile using X headers with no special include directory.
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.
$ac_ext >&5
25908 for ac_dir
in $ac_x_header_dirs; do
25909 if test -r "$ac_dir/X11/Intrinsic.h"; then
25910 ac_x_includes
=$ac_dir
25915 rm -f conftest.err conftest.
$ac_ext
25916 fi # $ac_x_includes = no
25918 if test "$ac_x_libraries" = no
; then
25919 # Check for the libraries.
25920 # See if we find them without any special options.
25921 # Don't add to $LIBS permanently.
25924 cat >conftest.
$ac_ext <<_ACEOF
25927 cat confdefs.h
>>conftest.
$ac_ext
25928 cat >>conftest.
$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25930 #include <X11/Intrinsic.h>
25939 rm -f conftest.
$ac_objext conftest
$ac_exeext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25941 (eval $ac_link) 2>conftest.er1
25943 grep -v '^ *+' conftest.er1
>conftest.err
25945 cat conftest.err
>&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } &&
25948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; } &&
25954 { ac_try
='test -s conftest$ac_exeext'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; }; then
25961 # We can link X programs with no special library path.
25964 echo "$as_me: failed program was:" >&5
25965 sed 's/^/| /' conftest.
$ac_ext >&5
25968 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25970 # Don't even attempt the hair of trying to link an X program!
25971 for ac_extension
in a so sl
; do
25972 if test -r $ac_dir/libXt.
$ac_extension; then
25973 ac_x_libraries
=$ac_dir
25979 rm -f conftest.err conftest.
$ac_objext \
25980 conftest
$ac_exeext conftest.
$ac_ext
25981 fi # $ac_x_libraries = no
25983 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25984 # Didn't find X anywhere. Cache the known absence of X.
25985 ac_cv_have_x
="have_x=no"
25987 # Record where we found X for the cache.
25988 ac_cv_have_x
="have_x=yes \
25989 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25994 eval "$ac_cv_have_x"
25997 if test "$have_x" != yes; then
25998 echo "$as_me:$LINENO: result: $have_x" >&5
25999 echo "${ECHO_T}$have_x" >&6
26002 # If each of the values was on the command line, it overrides each guess.
26003 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26004 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26005 # Update the cache value to reflect the command line values.
26006 ac_cv_have_x
="have_x=yes \
26007 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26008 # It might be that x_includes is empty (headers are found in the
26009 # standard search path. Then output the corresponding message
26010 ac_out_x_includes
=$x_includes
26011 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26012 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26013 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26017 if test "$no_x" = yes; then
26018 # Not all programs may use this symbol, but it does not hurt to define it.
26020 cat >>confdefs.h
<<\_ACEOF
26021 #define X_DISPLAY_MISSING 1
26024 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26026 if test -n "$x_includes"; then
26027 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26030 # It would also be nice to do this for all -L options, not just this one.
26031 if test -n "$x_libraries"; then
26032 X_LIBS
="$X_LIBS -L$x_libraries"
26033 # For Solaris; some versions of Sun CC require a space after -R and
26034 # others require no space. Words are not sufficient . . . .
26035 case `(uname -sr) 2>/dev/null` in
26037 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26038 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26039 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26040 cat >conftest.
$ac_ext <<_ACEOF
26043 cat confdefs.h
>>conftest.
$ac_ext
26044 cat >>conftest.
$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26055 rm -f conftest.
$ac_objext conftest
$ac_exeext
26056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26057 (eval $ac_link) 2>conftest.er1
26059 grep -v '^ *+' conftest.er1
>conftest.err
26061 cat conftest.err
>&5
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); } &&
26064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; } &&
26070 { ac_try
='test -s conftest$ac_exeext'
26071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26072 (eval $ac_try) 2>&5
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); }; }; then
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.
$ac_ext >&5
26083 rm -f conftest.err conftest.
$ac_objext \
26084 conftest
$ac_exeext conftest.
$ac_ext
26085 if test $ac_R_nospace = yes; then
26086 echo "$as_me:$LINENO: result: no" >&5
26087 echo "${ECHO_T}no" >&6
26088 X_LIBS
="$X_LIBS -R$x_libraries"
26090 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26091 cat >conftest.
$ac_ext <<_ACEOF
26094 cat confdefs.h
>>conftest.
$ac_ext
26095 cat >>conftest.
$ac_ext <<_ACEOF
26096 /* end confdefs.h. */
26106 rm -f conftest.
$ac_objext conftest
$ac_exeext
26107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26108 (eval $ac_link) 2>conftest.er1
26110 grep -v '^ *+' conftest.er1
>conftest.err
26112 cat conftest.err
>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117 (eval $ac_try) 2>&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); }; } &&
26121 { ac_try
='test -s conftest$ac_exeext'
26122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26123 (eval $ac_try) 2>&5
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); }; }; then
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.
$ac_ext >&5
26134 rm -f conftest.err conftest.
$ac_objext \
26135 conftest
$ac_exeext conftest.
$ac_ext
26136 if test $ac_R_space = yes; then
26137 echo "$as_me:$LINENO: result: yes" >&5
26138 echo "${ECHO_T}yes" >&6
26139 X_LIBS
="$X_LIBS -R $x_libraries"
26141 echo "$as_me:$LINENO: result: neither works" >&5
26142 echo "${ECHO_T}neither works" >&6
26145 LIBS
=$ac_xsave_LIBS
26149 # Check for system-dependent libraries X programs must link with.
26150 # Do this before checking for the system-independent R6 libraries
26151 # (-lICE), since we may need -lsocket or whatever for X linking.
26153 if test "$ISC" = yes; then
26154 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26156 # Martyn Johnson says this is needed for Ultrix, if the X
26157 # libraries were built with DECnet support. And Karl Berry says
26158 # the Alpha needs dnet_stub (dnet does not exist).
26159 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26160 cat >conftest.
$ac_ext <<_ACEOF
26163 cat confdefs.h
>>conftest.
$ac_ext
26164 cat >>conftest.
$ac_ext <<_ACEOF
26165 /* end confdefs.h. */
26167 /* Override any gcc2 internal prototype to avoid an error. */
26171 /* We use char because int might match the return type of a gcc2
26172 builtin and then its argument prototype would still apply. */
26173 char XOpenDisplay ();
26182 rm -f conftest.
$ac_objext conftest
$ac_exeext
26183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26184 (eval $ac_link) 2>conftest.er1
26186 grep -v '^ *+' conftest.er1
>conftest.err
26188 cat conftest.err
>&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); } &&
26191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26193 (eval $ac_try) 2>&5
26195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26196 (exit $ac_status); }; } &&
26197 { ac_try
='test -s conftest$ac_exeext'
26198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26199 (eval $ac_try) 2>&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); }; }; then
26205 echo "$as_me: failed program was:" >&5
26206 sed 's/^/| /' conftest.
$ac_ext >&5
26208 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26209 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26210 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 ac_check_lib_save_LIBS
=$LIBS
26214 LIBS
="-ldnet $LIBS"
26215 cat >conftest.
$ac_ext <<_ACEOF
26218 cat confdefs.h
>>conftest.
$ac_ext
26219 cat >>conftest.
$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26222 /* Override any gcc2 internal prototype to avoid an error. */
26226 /* We use char because int might match the return type of a gcc2
26227 builtin and then its argument prototype would still apply. */
26237 rm -f conftest.
$ac_objext conftest
$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26241 grep -v '^ *+' conftest.er1
>conftest.err
26243 cat conftest.err
>&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try
='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_lib_dnet_dnet_ntoa
=yes
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 ac_cv_lib_dnet_dnet_ntoa
=no
26265 rm -f conftest.err conftest.
$ac_objext \
26266 conftest
$ac_exeext conftest.
$ac_ext
26267 LIBS
=$ac_check_lib_save_LIBS
26269 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26270 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26271 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26275 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26276 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26277 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26278 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26279 echo $ECHO_N "(cached) $ECHO_C" >&6
26281 ac_check_lib_save_LIBS
=$LIBS
26282 LIBS
="-ldnet_stub $LIBS"
26283 cat >conftest.
$ac_ext <<_ACEOF
26286 cat confdefs.h
>>conftest.
$ac_ext
26287 cat >>conftest.
$ac_ext <<_ACEOF
26288 /* end confdefs.h. */
26290 /* Override any gcc2 internal prototype to avoid an error. */
26294 /* We use char because int might match the return type of a gcc2
26295 builtin and then its argument prototype would still apply. */
26305 rm -f conftest.
$ac_objext conftest
$ac_exeext
26306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26307 (eval $ac_link) 2>conftest.er1
26309 grep -v '^ *+' conftest.er1
>conftest.err
26311 cat conftest.err
>&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } &&
26314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try
='test -s conftest$ac_exeext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26326 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.
$ac_ext >&5
26331 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26333 rm -f conftest.err conftest.
$ac_objext \
26334 conftest
$ac_exeext conftest.
$ac_ext
26335 LIBS
=$ac_check_lib_save_LIBS
26337 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26338 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26339 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26340 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26345 rm -f conftest.err conftest.
$ac_objext \
26346 conftest
$ac_exeext conftest.
$ac_ext
26347 LIBS
="$ac_xsave_LIBS"
26349 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26350 # to get the SysV transport functions.
26351 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26353 # The nsl library prevents programs from opening the X display
26354 # on Irix 5.2, according to T.E. Dickey.
26355 # The functions gethostbyname, getservbyname, and inet_addr are
26356 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26357 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26358 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26359 if test "${ac_cv_func_gethostbyname+set}" = set; then
26360 echo $ECHO_N "(cached) $ECHO_C" >&6
26362 cat >conftest.
$ac_ext <<_ACEOF
26365 cat confdefs.h
>>conftest.
$ac_ext
26366 cat >>conftest.
$ac_ext <<_ACEOF
26367 /* end confdefs.h. */
26368 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26370 #define gethostbyname innocuous_gethostbyname
26372 /* System header to define __stub macros and hopefully few prototypes,
26373 which can conflict with char gethostbyname (); below.
26374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26375 <limits.h> exists even on freestanding compilers. */
26378 # include <limits.h>
26380 # include <assert.h>
26383 #undef gethostbyname
26385 /* Override any gcc2 internal prototype to avoid an error. */
26390 /* We use char because int might match the return type of a gcc2
26391 builtin and then its argument prototype would still apply. */
26392 char gethostbyname ();
26393 /* The GNU C library defines this for functions which it implements
26394 to always fail with ENOSYS. Some functions are actually named
26395 something starting with __ and the normal name is an alias. */
26396 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26399 char (*f) () = gethostbyname;
26408 return f != gethostbyname;
26413 rm -f conftest.
$ac_objext conftest
$ac_exeext
26414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26415 (eval $ac_link) 2>conftest.er1
26417 grep -v '^ *+' conftest.er1
>conftest.err
26419 cat conftest.err
>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); } &&
26422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424 (eval $ac_try) 2>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); }; } &&
26428 { ac_try
='test -s conftest$ac_exeext'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; }; then
26434 ac_cv_func_gethostbyname
=yes
26436 echo "$as_me: failed program was:" >&5
26437 sed 's/^/| /' conftest.
$ac_ext >&5
26439 ac_cv_func_gethostbyname
=no
26441 rm -f conftest.err conftest.
$ac_objext \
26442 conftest
$ac_exeext conftest.
$ac_ext
26444 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26445 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26447 if test $ac_cv_func_gethostbyname = no
; then
26448 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26449 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26450 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26453 ac_check_lib_save_LIBS
=$LIBS
26455 cat >conftest.
$ac_ext <<_ACEOF
26458 cat confdefs.h
>>conftest.
$ac_ext
26459 cat >>conftest.
$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26462 /* Override any gcc2 internal prototype to avoid an error. */
26466 /* We use char because int might match the return type of a gcc2
26467 builtin and then its argument prototype would still apply. */
26468 char gethostbyname ();
26477 rm -f conftest.
$ac_objext conftest
$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26481 grep -v '^ *+' conftest.er1
>conftest.err
26483 cat conftest.err
>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try
='test -s conftest$ac_exeext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 ac_cv_lib_nsl_gethostbyname
=yes
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.
$ac_ext >&5
26503 ac_cv_lib_nsl_gethostbyname
=no
26505 rm -f conftest.err conftest.
$ac_objext \
26506 conftest
$ac_exeext conftest.
$ac_ext
26507 LIBS
=$ac_check_lib_save_LIBS
26509 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26510 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26511 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26512 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26515 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26516 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26517 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26518 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26519 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 ac_check_lib_save_LIBS
=$LIBS
26523 cat >conftest.
$ac_ext <<_ACEOF
26526 cat confdefs.h
>>conftest.
$ac_ext
26527 cat >>conftest.
$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26530 /* Override any gcc2 internal prototype to avoid an error. */
26534 /* We use char because int might match the return type of a gcc2
26535 builtin and then its argument prototype would still apply. */
26536 char gethostbyname ();
26545 rm -f conftest.
$ac_objext conftest
$ac_exeext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26547 (eval $ac_link) 2>conftest.er1
26549 grep -v '^ *+' conftest.er1
>conftest.err
26551 cat conftest.err
>&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556 (eval $ac_try) 2>&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); }; } &&
26560 { ac_try
='test -s conftest$ac_exeext'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; }; then
26566 ac_cv_lib_bsd_gethostbyname
=yes
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.
$ac_ext >&5
26571 ac_cv_lib_bsd_gethostbyname
=no
26573 rm -f conftest.err conftest.
$ac_objext \
26574 conftest
$ac_exeext conftest.
$ac_ext
26575 LIBS
=$ac_check_lib_save_LIBS
26577 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26578 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26579 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26580 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26586 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26587 # socket/setsockopt and other routines are undefined under SCO ODT
26588 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26589 # on later versions), says Simon Leinen: it contains gethostby*
26590 # variants that don't use the name server (or something). -lsocket
26591 # must be given before -lnsl if both are needed. We assume that
26592 # if connect needs -lnsl, so does gethostbyname.
26593 echo "$as_me:$LINENO: checking for connect" >&5
26594 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26595 if test "${ac_cv_func_connect+set}" = set; then
26596 echo $ECHO_N "(cached) $ECHO_C" >&6
26598 cat >conftest.
$ac_ext <<_ACEOF
26601 cat confdefs.h
>>conftest.
$ac_ext
26602 cat >>conftest.
$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26606 #define connect innocuous_connect
26608 /* System header to define __stub macros and hopefully few prototypes,
26609 which can conflict with char connect (); below.
26610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26611 <limits.h> exists even on freestanding compilers. */
26614 # include <limits.h>
26616 # include <assert.h>
26621 /* Override any gcc2 internal prototype to avoid an error. */
26626 /* We use char because int might match the return type of a gcc2
26627 builtin and then its argument prototype would still apply. */
26629 /* The GNU C library defines this for functions which it implements
26630 to always fail with ENOSYS. Some functions are actually named
26631 something starting with __ and the normal name is an alias. */
26632 #if defined (__stub_connect) || defined (__stub___connect)
26635 char (*f) () = connect;
26644 return f != connect;
26649 rm -f conftest.
$ac_objext conftest
$ac_exeext
26650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26651 (eval $ac_link) 2>conftest.er1
26653 grep -v '^ *+' conftest.er1
>conftest.err
26655 cat conftest.err
>&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } &&
26658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; } &&
26664 { ac_try
='test -s conftest$ac_exeext'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; }; then
26670 ac_cv_func_connect
=yes
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.
$ac_ext >&5
26675 ac_cv_func_connect
=no
26677 rm -f conftest.err conftest.
$ac_objext \
26678 conftest
$ac_exeext conftest.
$ac_ext
26680 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26681 echo "${ECHO_T}$ac_cv_func_connect" >&6
26683 if test $ac_cv_func_connect = no
; then
26684 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26685 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26686 if test "${ac_cv_lib_socket_connect+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 ac_check_lib_save_LIBS
=$LIBS
26690 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26691 cat >conftest.
$ac_ext <<_ACEOF
26694 cat confdefs.h
>>conftest.
$ac_ext
26695 cat >>conftest.
$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26698 /* Override any gcc2 internal prototype to avoid an error. */
26702 /* We use char because int might match the return type of a gcc2
26703 builtin and then its argument prototype would still apply. */
26713 rm -f conftest.
$ac_objext conftest
$ac_exeext
26714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26715 (eval $ac_link) 2>conftest.er1
26717 grep -v '^ *+' conftest.er1
>conftest.err
26719 cat conftest.err
>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } &&
26722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; } &&
26728 { ac_try
='test -s conftest$ac_exeext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734 ac_cv_lib_socket_connect
=yes
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.
$ac_ext >&5
26739 ac_cv_lib_socket_connect
=no
26741 rm -f conftest.err conftest.
$ac_objext \
26742 conftest
$ac_exeext conftest.
$ac_ext
26743 LIBS
=$ac_check_lib_save_LIBS
26745 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26746 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26747 if test $ac_cv_lib_socket_connect = yes; then
26748 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26753 # Guillermo Gomez says -lposix is necessary on A/UX.
26754 echo "$as_me:$LINENO: checking for remove" >&5
26755 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26756 if test "${ac_cv_func_remove+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26759 cat >conftest.
$ac_ext <<_ACEOF
26762 cat confdefs.h
>>conftest.
$ac_ext
26763 cat >>conftest.
$ac_ext <<_ACEOF
26764 /* end confdefs.h. */
26765 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26767 #define remove innocuous_remove
26769 /* System header to define __stub macros and hopefully few prototypes,
26770 which can conflict with char remove (); below.
26771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26772 <limits.h> exists even on freestanding compilers. */
26775 # include <limits.h>
26777 # include <assert.h>
26782 /* Override any gcc2 internal prototype to avoid an error. */
26787 /* We use char because int might match the return type of a gcc2
26788 builtin and then its argument prototype would still apply. */
26790 /* The GNU C library defines this for functions which it implements
26791 to always fail with ENOSYS. Some functions are actually named
26792 something starting with __ and the normal name is an alias. */
26793 #if defined (__stub_remove) || defined (__stub___remove)
26796 char (*f) () = remove;
26805 return f != remove;
26810 rm -f conftest.
$ac_objext conftest
$ac_exeext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26812 (eval $ac_link) 2>conftest.er1
26814 grep -v '^ *+' conftest.er1
>conftest.err
26816 cat conftest.err
>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); } &&
26819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; } &&
26825 { ac_try
='test -s conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 ac_cv_func_remove
=yes
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.
$ac_ext >&5
26836 ac_cv_func_remove
=no
26838 rm -f conftest.err conftest.
$ac_objext \
26839 conftest
$ac_exeext conftest.
$ac_ext
26841 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26842 echo "${ECHO_T}$ac_cv_func_remove" >&6
26844 if test $ac_cv_func_remove = no
; then
26845 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26846 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26847 if test "${ac_cv_lib_posix_remove+set}" = set; then
26848 echo $ECHO_N "(cached) $ECHO_C" >&6
26850 ac_check_lib_save_LIBS
=$LIBS
26851 LIBS
="-lposix $LIBS"
26852 cat >conftest.
$ac_ext <<_ACEOF
26855 cat confdefs.h
>>conftest.
$ac_ext
26856 cat >>conftest.
$ac_ext <<_ACEOF
26857 /* end confdefs.h. */
26859 /* Override any gcc2 internal prototype to avoid an error. */
26863 /* We use char because int might match the return type of a gcc2
26864 builtin and then its argument prototype would still apply. */
26874 rm -f conftest.
$ac_objext conftest
$ac_exeext
26875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26876 (eval $ac_link) 2>conftest.er1
26878 grep -v '^ *+' conftest.er1
>conftest.err
26880 cat conftest.err
>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); } &&
26883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; } &&
26889 { ac_try
='test -s conftest$ac_exeext'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; }; then
26895 ac_cv_lib_posix_remove
=yes
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.
$ac_ext >&5
26900 ac_cv_lib_posix_remove
=no
26902 rm -f conftest.err conftest.
$ac_objext \
26903 conftest
$ac_exeext conftest.
$ac_ext
26904 LIBS
=$ac_check_lib_save_LIBS
26906 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26907 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26908 if test $ac_cv_lib_posix_remove = yes; then
26909 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26914 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26915 echo "$as_me:$LINENO: checking for shmat" >&5
26916 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26917 if test "${ac_cv_func_shmat+set}" = set; then
26918 echo $ECHO_N "(cached) $ECHO_C" >&6
26920 cat >conftest.
$ac_ext <<_ACEOF
26923 cat confdefs.h
>>conftest.
$ac_ext
26924 cat >>conftest.
$ac_ext <<_ACEOF
26925 /* end confdefs.h. */
26926 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26928 #define shmat innocuous_shmat
26930 /* System header to define __stub macros and hopefully few prototypes,
26931 which can conflict with char shmat (); below.
26932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26933 <limits.h> exists even on freestanding compilers. */
26936 # include <limits.h>
26938 # include <assert.h>
26943 /* Override any gcc2 internal prototype to avoid an error. */
26948 /* We use char because int might match the return type of a gcc2
26949 builtin and then its argument prototype would still apply. */
26951 /* The GNU C library defines this for functions which it implements
26952 to always fail with ENOSYS. Some functions are actually named
26953 something starting with __ and the normal name is an alias. */
26954 #if defined (__stub_shmat) || defined (__stub___shmat)
26957 char (*f) () = shmat;
26971 rm -f conftest.
$ac_objext conftest
$ac_exeext
26972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26973 (eval $ac_link) 2>conftest.er1
26975 grep -v '^ *+' conftest.er1
>conftest.err
26977 cat conftest.err
>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); } &&
26980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; } &&
26986 { ac_try
='test -s conftest$ac_exeext'
26987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26988 (eval $ac_try) 2>&5
26990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26991 (exit $ac_status); }; }; then
26992 ac_cv_func_shmat
=yes
26994 echo "$as_me: failed program was:" >&5
26995 sed 's/^/| /' conftest.
$ac_ext >&5
26997 ac_cv_func_shmat
=no
26999 rm -f conftest.err conftest.
$ac_objext \
27000 conftest
$ac_exeext conftest.
$ac_ext
27002 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27003 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27005 if test $ac_cv_func_shmat = no
; then
27006 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27007 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27008 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27009 echo $ECHO_N "(cached) $ECHO_C" >&6
27011 ac_check_lib_save_LIBS
=$LIBS
27013 cat >conftest.
$ac_ext <<_ACEOF
27016 cat confdefs.h
>>conftest.
$ac_ext
27017 cat >>conftest.
$ac_ext <<_ACEOF
27018 /* end confdefs.h. */
27020 /* Override any gcc2 internal prototype to avoid an error. */
27024 /* We use char because int might match the return type of a gcc2
27025 builtin and then its argument prototype would still apply. */
27035 rm -f conftest.
$ac_objext conftest
$ac_exeext
27036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27037 (eval $ac_link) 2>conftest.er1
27039 grep -v '^ *+' conftest.er1
>conftest.err
27041 cat conftest.err
>&5
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); } &&
27044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; } &&
27050 { ac_try
='test -s conftest$ac_exeext'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; }; then
27056 ac_cv_lib_ipc_shmat
=yes
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.
$ac_ext >&5
27061 ac_cv_lib_ipc_shmat
=no
27063 rm -f conftest.err conftest.
$ac_objext \
27064 conftest
$ac_exeext conftest.
$ac_ext
27065 LIBS
=$ac_check_lib_save_LIBS
27067 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27068 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27069 if test $ac_cv_lib_ipc_shmat = yes; then
27070 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27076 # Check for libraries that X11R6 Xt/Xaw programs need.
27077 ac_save_LDFLAGS
=$LDFLAGS
27078 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27079 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27080 # check for ICE first), but we must link in the order -lSM -lICE or
27081 # we get undefined symbols. So assume we have SM if we have ICE.
27082 # These have to be linked with before -lX11, unlike the other
27083 # libraries we check for below, so use a different variable.
27084 # John Interrante, Karl Berry
27085 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27086 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27087 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27088 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 ac_check_lib_save_LIBS
=$LIBS
27091 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27092 cat >conftest.
$ac_ext <<_ACEOF
27095 cat confdefs.h
>>conftest.
$ac_ext
27096 cat >>conftest.
$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27099 /* Override any gcc2 internal prototype to avoid an error. */
27103 /* We use char because int might match the return type of a gcc2
27104 builtin and then its argument prototype would still apply. */
27105 char IceConnectionNumber ();
27109 IceConnectionNumber ();
27114 rm -f conftest.
$ac_objext conftest
$ac_exeext
27115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27116 (eval $ac_link) 2>conftest.er1
27118 grep -v '^ *+' conftest.er1
>conftest.err
27120 cat conftest.err
>&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } &&
27123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27125 (eval $ac_try) 2>&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); }; } &&
27129 { ac_try
='test -s conftest$ac_exeext'
27130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131 (eval $ac_try) 2>&5
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; }; then
27135 ac_cv_lib_ICE_IceConnectionNumber
=yes
27137 echo "$as_me: failed program was:" >&5
27138 sed 's/^/| /' conftest.
$ac_ext >&5
27140 ac_cv_lib_ICE_IceConnectionNumber
=no
27142 rm -f conftest.err conftest.
$ac_objext \
27143 conftest
$ac_exeext conftest.
$ac_ext
27144 LIBS
=$ac_check_lib_save_LIBS
27146 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27147 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27148 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27149 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27152 LDFLAGS
=$ac_save_LDFLAGS
27157 if test "$no_x" = "yes"; then
27158 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27159 echo "$as_me: error: X11 not found" >&2;}
27160 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27163 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27164 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27165 AFMINSTALL
=afminstall
27166 COMPILED_X_PROGRAM
=0
27170 if test "$wxUSE_X11" = 1; then
27171 if test "$wxUSE_NANOX" = "yes"; then
27172 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27173 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27174 if test "x$MICROWIN" = x
; then
27175 echo "$as_me:$LINENO: result: not found" >&5
27176 echo "${ECHO_T}not found" >&6
27177 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27178 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27179 { (exit 1); exit 1; }; }
27181 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27182 echo "${ECHO_T}$MICROWIN" >&6
27183 cat >>confdefs.h
<<\_ACEOF
27184 #define wxUSE_NANOX 1
27190 if test "$wxUSE_UNICODE" = "yes"; then
27194 if test -z "$PKG_CONFIG"; then
27195 # Extract the first word of "pkg-config", so it can be a program name with args.
27196 set dummy pkg
-config; ac_word
=$2
27197 echo "$as_me:$LINENO: checking for $ac_word" >&5
27198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27200 echo $ECHO_N "(cached) $ECHO_C" >&6
27202 case $PKG_CONFIG in
27204 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27208 for as_dir
in $PATH
27211 test -z "$as_dir" && as_dir
=.
27212 for ac_exec_ext
in '' $ac_executable_extensions; do
27213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27214 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27221 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27225 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27227 if test -n "$PKG_CONFIG"; then
27228 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27229 echo "${ECHO_T}$PKG_CONFIG" >&6
27231 echo "$as_me:$LINENO: result: no" >&5
27232 echo "${ECHO_T}no" >&6
27237 if test "$PKG_CONFIG" = "no" ; then
27238 echo "*** The pkg-config script could not be found. Make sure it is"
27239 echo "*** in your path, or set the PKG_CONFIG environment variable"
27240 echo "*** to the full path to pkg-config."
27241 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27243 PKG_CONFIG_MIN_VERSION
=0.9.0
27244 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27245 echo "$as_me:$LINENO: checking for pangox" >&5
27246 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27248 if $PKG_CONFIG --exists "pangox" ; then
27249 echo "$as_me:$LINENO: result: yes" >&5
27250 echo "${ECHO_T}yes" >&6
27253 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27254 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27255 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27256 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27257 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27259 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27260 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27261 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27262 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27263 echo "${ECHO_T}$PANGOX_LIBS" >&6
27267 ## If we have a custom action on failure, don't print errors, but
27268 ## do set a variable so people can do so.
27269 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27276 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27277 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27281 if test $succeeded = yes; then
27283 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27284 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27288 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27289 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27290 { (exit 1); exit 1; }; }
27298 if test -z "$PKG_CONFIG"; then
27299 # Extract the first word of "pkg-config", so it can be a program name with args.
27300 set dummy pkg
-config; ac_word
=$2
27301 echo "$as_me:$LINENO: checking for $ac_word" >&5
27302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27304 echo $ECHO_N "(cached) $ECHO_C" >&6
27306 case $PKG_CONFIG in
27308 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27312 for as_dir
in $PATH
27315 test -z "$as_dir" && as_dir
=.
27316 for ac_exec_ext
in '' $ac_executable_extensions; do
27317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27318 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27325 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27329 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27331 if test -n "$PKG_CONFIG"; then
27332 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27333 echo "${ECHO_T}$PKG_CONFIG" >&6
27335 echo "$as_me:$LINENO: result: no" >&5
27336 echo "${ECHO_T}no" >&6
27341 if test "$PKG_CONFIG" = "no" ; then
27342 echo "*** The pkg-config script could not be found. Make sure it is"
27343 echo "*** in your path, or set the PKG_CONFIG environment variable"
27344 echo "*** to the full path to pkg-config."
27345 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27347 PKG_CONFIG_MIN_VERSION
=0.9.0
27348 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27349 echo "$as_me:$LINENO: checking for pangoft2" >&5
27350 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27352 if $PKG_CONFIG --exists "pangoft2" ; then
27353 echo "$as_me:$LINENO: result: yes" >&5
27354 echo "${ECHO_T}yes" >&6
27357 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27358 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27359 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27360 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27361 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27363 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27364 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27365 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27366 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27367 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27371 ## If we have a custom action on failure, don't print errors, but
27372 ## do set a variable so people can do so.
27373 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27380 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27381 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27385 if test $succeeded = yes; then
27387 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27388 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27392 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27393 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27394 wxUSE_PRINTING_ARCHITECTURE
="no"
27402 if test -z "$PKG_CONFIG"; then
27403 # Extract the first word of "pkg-config", so it can be a program name with args.
27404 set dummy pkg
-config; ac_word
=$2
27405 echo "$as_me:$LINENO: checking for $ac_word" >&5
27406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27407 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27408 echo $ECHO_N "(cached) $ECHO_C" >&6
27410 case $PKG_CONFIG in
27412 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27416 for as_dir
in $PATH
27419 test -z "$as_dir" && as_dir
=.
27420 for ac_exec_ext
in '' $ac_executable_extensions; do
27421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27422 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27429 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27433 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27435 if test -n "$PKG_CONFIG"; then
27436 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27437 echo "${ECHO_T}$PKG_CONFIG" >&6
27439 echo "$as_me:$LINENO: result: no" >&5
27440 echo "${ECHO_T}no" >&6
27445 if test "$PKG_CONFIG" = "no" ; then
27446 echo "*** The pkg-config script could not be found. Make sure it is"
27447 echo "*** in your path, or set the PKG_CONFIG environment variable"
27448 echo "*** to the full path to pkg-config."
27449 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27451 PKG_CONFIG_MIN_VERSION
=0.9.0
27452 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27453 echo "$as_me:$LINENO: checking for pangoxft" >&5
27454 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27456 if $PKG_CONFIG --exists "pangoxft" ; then
27457 echo "$as_me:$LINENO: result: yes" >&5
27458 echo "${ECHO_T}yes" >&6
27461 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27462 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27463 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27464 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27465 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27467 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27468 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27469 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27470 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27471 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27475 ## If we have a custom action on failure, don't print errors, but
27476 ## do set a variable so people can do so.
27477 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27484 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27485 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27489 if test $succeeded = yes; then
27491 cat >>confdefs.h
<<\_ACEOF
27492 #define HAVE_PANGO_XFT 1
27495 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27496 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27500 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27501 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27506 save_CFLAGS
="$CFLAGS"
27508 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27509 LIBS
="$LIBS $PANGOX_LIBS"
27511 for ac_func
in pango_font_family_is_monospace
27513 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27514 echo "$as_me:$LINENO: checking for $ac_func" >&5
27515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27516 if eval "test \"\${$as_ac_var+set}\" = set"; then
27517 echo $ECHO_N "(cached) $ECHO_C" >&6
27519 cat >conftest.
$ac_ext <<_ACEOF
27522 cat confdefs.h
>>conftest.
$ac_ext
27523 cat >>conftest.
$ac_ext <<_ACEOF
27524 /* end confdefs.h. */
27525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27527 #define $ac_func innocuous_$ac_func
27529 /* System header to define __stub macros and hopefully few prototypes,
27530 which can conflict with char $ac_func (); below.
27531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27532 <limits.h> exists even on freestanding compilers. */
27535 # include <limits.h>
27537 # include <assert.h>
27542 /* Override any gcc2 internal prototype to avoid an error. */
27547 /* We use char because int might match the return type of a gcc2
27548 builtin and then its argument prototype would still apply. */
27550 /* The GNU C library defines this for functions which it implements
27551 to always fail with ENOSYS. Some functions are actually named
27552 something starting with __ and the normal name is an alias. */
27553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27556 char (*f) () = $ac_func;
27565 return f != $ac_func;
27570 rm -f conftest.
$ac_objext conftest
$ac_exeext
27571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27572 (eval $ac_link) 2>conftest.er1
27574 grep -v '^ *+' conftest.er1
>conftest.err
27576 cat conftest.err
>&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } &&
27579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; } &&
27585 { ac_try
='test -s conftest$ac_exeext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 eval "$as_ac_var=yes"
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.
$ac_ext >&5
27596 eval "$as_ac_var=no"
27598 rm -f conftest.err conftest.
$ac_objext \
27599 conftest
$ac_exeext conftest.
$ac_ext
27601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27603 if test `eval echo '${'$as_ac_var'}'` = yes; then
27604 cat >>confdefs.h
<<_ACEOF
27605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27611 CFLAGS
="$save_CFLAGS"
27615 wxUSE_UNIVERSAL
="yes"
27617 if test "$wxUSE_NANOX" = "yes"; then
27618 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27619 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"
27620 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27622 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27629 if test "$wxUSE_MOTIF" = 1; then
27630 if test "$wxUSE_UNICODE" = "yes"; then
27631 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
27632 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
27633 { (exit 1); exit 1; }; }
27636 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27637 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27640 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27642 if test -f "$ac_dir/Xm/Xm.h"; then
27643 ac_find_includes
=$ac_dir
27648 if test "$ac_find_includes" != "" ; then
27649 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27650 echo "${ECHO_T}found in $ac_find_includes" >&6
27652 if test "x$ac_find_includes" = "x/usr/include"; then
27653 ac_path_to_include
=""
27655 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27657 if test $result = 0; then
27658 ac_path_to_include
=""
27660 ac_path_to_include
=" -I$ac_find_includes"
27664 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27666 cat >conftest.
$ac_ext <<_ACEOF
27669 cat confdefs.h
>>conftest.
$ac_ext
27670 cat >>conftest.
$ac_ext <<_ACEOF
27671 /* end confdefs.h. */
27680 version = xmUseVersion;
27686 rm -f conftest.
$ac_objext
27687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27688 (eval $ac_compile) 2>conftest.er1
27690 grep -v '^ *+' conftest.er1
>conftest.err
27692 cat conftest.err
>&5
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); } &&
27695 { ac_try
='test -z "$ac_c_werror_flag" || 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_objext'
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
27708 echo "$as_me:$LINENO: result: found in default search path" >&5
27709 echo "${ECHO_T}found in default search path" >&6
27710 COMPILED_X_PROGRAM
=1
27713 echo "$as_me: failed program was:" >&5
27714 sed 's/^/| /' conftest.
$ac_ext >&5
27717 echo "$as_me:$LINENO: result: no" >&5
27718 echo "${ECHO_T}no" >&6
27719 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27720 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27721 { (exit 1); exit 1; }; }
27725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27728 if test "$COMPILED_X_PROGRAM" = 0; then
27729 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27730 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27733 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27735 for ac_extension
in a so sl dylib
; do
27736 if test -f "$ac_dir/libXm.$ac_extension"; then
27737 ac_find_libraries
=$ac_dir
27743 if test "$ac_find_libraries" != "" ; then
27744 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27745 echo "${ECHO_T}found at $ac_find_libraries" >&6
27748 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27750 if test $result = 0; then
27753 ac_path_to_link
=" -L$ac_find_libraries"
27756 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27758 save_CFLAGS
=$CFLAGS
27759 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27761 cat >conftest.
$ac_ext <<_ACEOF
27764 cat confdefs.h
>>conftest.
$ac_ext
27765 cat >>conftest.
$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27775 version = xmUseVersion;
27781 rm -f conftest.
$ac_objext
27782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27783 (eval $ac_compile) 2>conftest.er1
27785 grep -v '^ *+' conftest.er1
>conftest.err
27787 cat conftest.err
>&5
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); } &&
27790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27792 (eval $ac_try) 2>&5
27794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795 (exit $ac_status); }; } &&
27796 { ac_try
='test -s conftest.$ac_objext'
27797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27798 (eval $ac_try) 2>&5
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); }; }; then
27803 echo "$as_me:$LINENO: result: found in default search path" >&5
27804 echo "${ECHO_T}found in default search path" >&6
27805 COMPILED_X_PROGRAM
=1
27808 echo "$as_me: failed program was:" >&5
27809 sed 's/^/| /' conftest.
$ac_ext >&5
27812 echo "$as_me:$LINENO: result: no" >&5
27813 echo "${ECHO_T}no" >&6
27814 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27815 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27816 { (exit 1); exit 1; }; }
27820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27822 CFLAGS
=$save_CFLAGS
27826 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27827 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27831 for libp
in "" " -lXp"; do
27832 if test "$libs_found" = "0"; then
27833 for libsm_ice
in "" " -lSM -lICE"; do
27834 if test "$libs_found" = "0"; then
27836 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27837 save_CFLAGS
=$CFLAGS
27838 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27840 cat >conftest.
$ac_ext <<_ACEOF
27843 cat confdefs.h
>>conftest.
$ac_ext
27844 cat >>conftest.
$ac_ext <<_ACEOF
27845 /* end confdefs.h. */
27848 #include <Xm/List.h>
27854 XmString string = NULL;
27857 XmListAddItem(w, string, position);
27863 rm -f conftest.
$ac_objext conftest
$ac_exeext
27864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27865 (eval $ac_link) 2>conftest.er1
27867 grep -v '^ *+' conftest.er1
>conftest.err
27869 cat conftest.err
>&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); } &&
27872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; } &&
27878 { ac_try
='test -s conftest$ac_exeext'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; }; then
27886 libsm_ice_link
="$libsm_ice"
27887 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27888 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.
$ac_ext >&5
27898 rm -f conftest.err conftest.
$ac_objext \
27899 conftest
$ac_exeext conftest.
$ac_ext
27902 CFLAGS
=$save_CFLAGS
27908 if test "$libs_found" = "0"; then
27909 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27910 echo "${ECHO_T}can't find the right libraries" >&6
27911 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27912 echo "$as_me: error: can't link a simple motif program" >&2;}
27913 { (exit 1); exit 1; }; }
27916 save_CFLAGS
=$CFLAGS
27917 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27918 echo "$as_me:$LINENO: checking for Motif 2" >&5
27919 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27920 cat >conftest.
$ac_ext <<_ACEOF
27923 cat confdefs.h
>>conftest.
$ac_ext
27924 cat >>conftest.
$ac_ext <<_ACEOF
27925 /* end confdefs.h. */
27933 #if XmVersion < 2000
27934 #error "Not Motif 2"
27941 rm -f conftest.
$ac_objext
27942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27943 (eval $ac_compile) 2>conftest.er1
27945 grep -v '^ *+' conftest.er1
>conftest.err
27947 cat conftest.err
>&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); } &&
27950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try
='test -s conftest.$ac_objext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27963 cat >>confdefs.h
<<\_ACEOF
27964 #define __WXMOTIF20__ 1
27967 echo "$as_me:$LINENO: result: found" >&5
27968 echo "${ECHO_T}found" >&6
27971 echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.
$ac_ext >&5
27975 cat >>confdefs.h
<<\_ACEOF
27976 #define __WXMOTIF20__ 0
27979 echo "$as_me:$LINENO: result: not found" >&5
27980 echo "${ECHO_T}not found" >&6
27983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27984 CFLAGS
=$save_CFLAGS
27986 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27991 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27992 if test "$wxUSE_LIBXPM" = "sys"; then
27993 echo "$as_me:$LINENO: checking for Xpm library" >&5
27994 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27997 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27999 for ac_extension
in a so sl dylib
; do
28000 if test -f "$ac_dir/libXpm.$ac_extension"; then
28001 ac_find_libraries
=$ac_dir
28007 if test "$ac_find_libraries" != "" ; then
28009 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28011 if test $result = 0; then
28014 ac_path_to_link
=" -L$ac_find_libraries"
28017 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28018 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28019 echo "${ECHO_T}found at $ac_find_libraries" >&6
28021 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28022 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28023 if test "${wx_cv_x11_xpm_h+set}" = set; then
28024 echo $ECHO_N "(cached) $ECHO_C" >&6
28027 save_CFLAGS
=$CFLAGS
28028 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28030 cat >conftest.
$ac_ext <<_ACEOF
28033 cat confdefs.h
>>conftest.
$ac_ext
28034 cat >>conftest.
$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28037 #include <X11/xpm.h>
28044 version = XpmLibraryVersion();
28050 rm -f conftest.
$ac_objext
28051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28052 (eval $ac_compile) 2>conftest.er1
28054 grep -v '^ *+' conftest.er1
>conftest.err
28056 cat conftest.err
>&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } &&
28059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28061 (eval $ac_try) 2>&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); }; } &&
28065 { ac_try
='test -s conftest.$ac_objext'
28066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28067 (eval $ac_try) 2>&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); }; }; then
28071 wx_cv_x11_xpm_h
=yes
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.
$ac_ext >&5
28079 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28081 CFLAGS
=$save_CFLAGS
28085 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28086 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28088 if test $wx_cv_x11_xpm_h = "yes"; then
28089 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28090 cat >>confdefs.h
<<\_ACEOF
28091 #define wxHAVE_LIB_XPM 1
28095 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28096 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28102 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28103 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28104 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28107 ac_check_lib_save_LIBS
=$LIBS
28108 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28109 cat >conftest.
$ac_ext <<_ACEOF
28112 cat confdefs.h
>>conftest.
$ac_ext
28113 cat >>conftest.
$ac_ext <<_ACEOF
28114 /* end confdefs.h. */
28116 /* Override any gcc2 internal prototype to avoid an error. */
28120 /* We use char because int might match the return type of a gcc2
28121 builtin and then its argument prototype would still apply. */
28122 char XShapeQueryExtension ();
28126 XShapeQueryExtension ();
28131 rm -f conftest.
$ac_objext conftest
$ac_exeext
28132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28133 (eval $ac_link) 2>conftest.er1
28135 grep -v '^ *+' conftest.er1
>conftest.err
28137 cat conftest.err
>&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } &&
28140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28142 (eval $ac_try) 2>&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); }; } &&
28146 { ac_try
='test -s conftest$ac_exeext'
28147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28148 (eval $ac_try) 2>&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); }; }; then
28152 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28154 echo "$as_me: failed program was:" >&5
28155 sed 's/^/| /' conftest.
$ac_ext >&5
28157 ac_cv_lib_Xext_XShapeQueryExtension
=no
28159 rm -f conftest.err conftest.
$ac_objext \
28160 conftest
$ac_exeext conftest.
$ac_ext
28161 LIBS
=$ac_check_lib_save_LIBS
28163 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28164 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28165 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28167 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28173 if test "$wxHAVE_XEXT_LIB" = 1; then
28174 save_CFLAGS
="$CFLAGS"
28175 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28177 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28178 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28179 cat >conftest.
$ac_ext <<_ACEOF
28182 cat confdefs.h
>>conftest.
$ac_ext
28183 cat >>conftest.
$ac_ext <<_ACEOF
28184 /* end confdefs.h. */
28186 #include <X11/Xlib.h>
28187 #include <X11/extensions/shape.h>
28193 int dummy1, dummy2;
28194 XShapeQueryExtension((Display*)NULL,
28195 (int*)NULL, (int*)NULL);
28201 rm -f conftest.
$ac_objext
28202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28203 (eval $ac_compile) 2>conftest.er1
28205 grep -v '^ *+' conftest.er1
>conftest.err
28207 cat conftest.err
>&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); } &&
28210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28212 (eval $ac_try) 2>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); }; } &&
28216 { ac_try
='test -s conftest.$ac_objext'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; }; then
28223 cat >>confdefs.h
<<\_ACEOF
28224 #define HAVE_XSHAPE 1
28227 echo "$as_me:$LINENO: result: found" >&5
28228 echo "${ECHO_T}found" >&6
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.
$ac_ext >&5
28235 echo "$as_me:$LINENO: result: not found" >&5
28236 echo "${ECHO_T}not found" >&6
28239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28240 CFLAGS
="$save_CFLAGS"
28245 if test "$wxUSE_MAC" = 1; then
28246 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28247 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28248 if test "$GCC" = yes; then
28249 echo "$as_me:$LINENO: result: gcc" >&5
28250 echo "${ECHO_T}gcc" >&6
28251 CPPFLAGS_PASCAL
="-fpascal-strings"
28252 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28253 echo "$as_me:$LINENO: result: xlc" >&5
28254 echo "${ECHO_T}xlc" >&6
28255 CPPFLAGS_PASCAL
="-qmacpstr"
28257 echo "$as_me:$LINENO: result: none" >&5
28258 echo "${ECHO_T}none" >&6
28261 if test "x$wxUSE_UNIX" = "xyes"; then
28262 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28264 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28269 WXBASEPORT
="_carbon"
28272 if test "$wxUSE_COCOA" = 1; then
28277 if test "$wxUSE_PM" = 1; then
28280 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28281 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28282 if test "${wx_cv_spbcdata+set}" = set; then
28283 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 cat >conftest.
$ac_ext <<_ACEOF
28289 cat confdefs.h
>>conftest.
$ac_ext
28290 cat >>conftest.
$ac_ext <<_ACEOF
28291 /* end confdefs.h. */
28306 rm -f conftest.
$ac_objext
28307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28308 (eval $ac_compile) 2>conftest.er1
28310 grep -v '^ *+' conftest.er1
>conftest.err
28312 cat conftest.err
>&5
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); } &&
28315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; } &&
28321 { ac_try
='test -s conftest.$ac_objext'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; }; then
28329 echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.
$ac_ext >&5
28335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28339 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28340 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28342 if test $wx_cv_spbcdata = "yes"; then
28343 cat >>confdefs.h
<<\_ACEOF
28344 #define HAVE_SPBCDATA 1
28350 if test "$TOOLKIT" = "PM" ; then
28353 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28356 if test "$wxUSE_UNIVERSAL" = "yes"; then
28357 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28361 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28362 DISTDIR
="wx\$(TOOLKIT)"
28368 if test "$USE_WIN32" = 1 ; then
28372 GUIDIST
="BASE_DIST"
28382 if test "$TOOLKIT" != "MSW" ; then
28384 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28386 if test "${ac_cv_header_sql_h+set}" = set; then
28387 echo "$as_me:$LINENO: checking for sql.h" >&5
28388 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28389 if test "${ac_cv_header_sql_h+set}" = set; then
28390 echo $ECHO_N "(cached) $ECHO_C" >&6
28392 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28393 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28395 # Is the header compilable?
28396 echo "$as_me:$LINENO: checking sql.h usability" >&5
28397 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28398 cat >conftest.
$ac_ext <<_ACEOF
28401 cat confdefs.h
>>conftest.
$ac_ext
28402 cat >>conftest.
$ac_ext <<_ACEOF
28403 /* end confdefs.h. */
28404 $ac_includes_default
28407 rm -f conftest.
$ac_objext
28408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28409 (eval $ac_compile) 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" || test ! -s conftest.err'
28417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418 (eval $ac_try) 2>&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); }; } &&
28422 { ac_try
='test -s conftest.$ac_objext'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; }; then
28428 ac_header_compiler
=yes
28430 echo "$as_me: failed program was:" >&5
28431 sed 's/^/| /' conftest.
$ac_ext >&5
28433 ac_header_compiler
=no
28435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28437 echo "${ECHO_T}$ac_header_compiler" >&6
28439 # Is the header present?
28440 echo "$as_me:$LINENO: checking sql.h presence" >&5
28441 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28442 cat >conftest.
$ac_ext <<_ACEOF
28445 cat confdefs.h
>>conftest.
$ac_ext
28446 cat >>conftest.
$ac_ext <<_ACEOF
28447 /* end confdefs.h. */
28450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28451 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28453 grep -v '^ *+' conftest.er1
>conftest.err
28455 cat conftest.err
>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } >/dev
/null
; then
28458 if test -s conftest.err
; then
28459 ac_cpp_err
=$ac_c_preproc_warn_flag
28460 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28467 if test -z "$ac_cpp_err"; then
28468 ac_header_preproc
=yes
28470 echo "$as_me: failed program was:" >&5
28471 sed 's/^/| /' conftest.
$ac_ext >&5
28473 ac_header_preproc
=no
28475 rm -f conftest.err conftest.
$ac_ext
28476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28477 echo "${ECHO_T}$ac_header_preproc" >&6
28479 # So? What about this header?
28480 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28482 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28483 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28484 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28485 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28486 ac_header_preproc
=yes
28489 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28490 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28491 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28492 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28493 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28494 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28495 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28496 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28497 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28498 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28499 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28500 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28503 ## ----------------------------------------- ##
28504 ## Report this to wx-dev@lists.wxwidgets.org ##
28505 ## ----------------------------------------- ##
28508 sed "s/^/$as_me: WARNING: /" >&2
28511 echo "$as_me:$LINENO: checking for sql.h" >&5
28512 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28513 if test "${ac_cv_header_sql_h+set}" = set; then
28514 echo $ECHO_N "(cached) $ECHO_C" >&6
28516 ac_cv_header_sql_h
=$ac_header_preproc
28518 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28519 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28522 if test $ac_cv_header_sql_h = yes; then
28527 if test "x$found_sql_h" = "x1" ; then
28528 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28529 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28530 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28533 ac_check_lib_save_LIBS
=$LIBS
28534 LIBS
="-liodbc $LIBS"
28535 cat >conftest.
$ac_ext <<_ACEOF
28538 cat confdefs.h
>>conftest.
$ac_ext
28539 cat >>conftest.
$ac_ext <<_ACEOF
28540 /* end confdefs.h. */
28542 /* Override any gcc2 internal prototype to avoid an error. */
28546 /* We use char because int might match the return type of a gcc2
28547 builtin and then its argument prototype would still apply. */
28548 char SQLAllocEnv ();
28557 rm -f conftest.
$ac_objext conftest
$ac_exeext
28558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28559 (eval $ac_link) 2>conftest.er1
28561 grep -v '^ *+' conftest.er1
>conftest.err
28563 cat conftest.err
>&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); } &&
28566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); }; } &&
28572 { ac_try
='test -s conftest$ac_exeext'
28573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574 (eval $ac_try) 2>&5
28576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577 (exit $ac_status); }; }; then
28578 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28580 echo "$as_me: failed program was:" >&5
28581 sed 's/^/| /' conftest.
$ac_ext >&5
28583 ac_cv_lib_iodbc_SQLAllocEnv
=no
28585 rm -f conftest.err conftest.
$ac_objext \
28586 conftest
$ac_exeext conftest.
$ac_ext
28587 LIBS
=$ac_check_lib_save_LIBS
28589 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28590 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28591 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28592 ODBC_LINK
=" -liodbc"
28595 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28596 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28597 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28598 echo $ECHO_N "(cached) $ECHO_C" >&6
28600 ac_check_lib_save_LIBS
=$LIBS
28601 LIBS
="-lunixodbc $LIBS"
28602 cat >conftest.
$ac_ext <<_ACEOF
28605 cat confdefs.h
>>conftest.
$ac_ext
28606 cat >>conftest.
$ac_ext <<_ACEOF
28607 /* end confdefs.h. */
28609 /* Override any gcc2 internal prototype to avoid an error. */
28613 /* We use char because int might match the return type of a gcc2
28614 builtin and then its argument prototype would still apply. */
28615 char SQLAllocEnv ();
28624 rm -f conftest.
$ac_objext conftest
$ac_exeext
28625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28626 (eval $ac_link) 2>conftest.er1
28628 grep -v '^ *+' conftest.er1
>conftest.err
28630 cat conftest.err
>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); } &&
28633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28635 (eval $ac_try) 2>&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); }; } &&
28639 { ac_try
='test -s conftest$ac_exeext'
28640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28641 (eval $ac_try) 2>&5
28643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28644 (exit $ac_status); }; }; then
28645 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28647 echo "$as_me: failed program was:" >&5
28648 sed 's/^/| /' conftest.
$ac_ext >&5
28650 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28652 rm -f conftest.err conftest.
$ac_objext \
28653 conftest
$ac_exeext conftest.
$ac_ext
28654 LIBS
=$ac_check_lib_save_LIBS
28656 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28657 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28658 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28659 ODBC_LINK
=" -lunixodbc"
28662 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28663 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28664 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28665 echo $ECHO_N "(cached) $ECHO_C" >&6
28667 ac_check_lib_save_LIBS
=$LIBS
28668 LIBS
="-lodbc $LIBS"
28669 cat >conftest.
$ac_ext <<_ACEOF
28672 cat confdefs.h
>>conftest.
$ac_ext
28673 cat >>conftest.
$ac_ext <<_ACEOF
28674 /* end confdefs.h. */
28676 /* Override any gcc2 internal prototype to avoid an error. */
28680 /* We use char because int might match the return type of a gcc2
28681 builtin and then its argument prototype would still apply. */
28682 char SQLAllocEnv ();
28691 rm -f conftest.
$ac_objext conftest
$ac_exeext
28692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28693 (eval $ac_link) 2>conftest.er1
28695 grep -v '^ *+' conftest.er1
>conftest.err
28697 cat conftest.err
>&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); } &&
28700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28702 (eval $ac_try) 2>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); }; } &&
28706 { ac_try
='test -s conftest$ac_exeext'
28707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708 (eval $ac_try) 2>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); }; }; then
28712 ac_cv_lib_odbc_SQLAllocEnv
=yes
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.
$ac_ext >&5
28717 ac_cv_lib_odbc_SQLAllocEnv
=no
28719 rm -f conftest.err conftest.
$ac_objext \
28720 conftest
$ac_exeext conftest.
$ac_ext
28721 LIBS
=$ac_check_lib_save_LIBS
28723 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28724 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28725 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28726 ODBC_LINK
=" -lodbc"
28736 if test "x$ODBC_LINK" = "x" ; then
28737 if test "$wxUSE_ODBC" = "sys" ; then
28738 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28739 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28740 { (exit 1); exit 1; }; }
28742 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28743 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28751 if test "$wxUSE_ODBC" = "builtin" ; then
28752 cat >>confdefs.h
<<\_ACEOF
28753 #define wxUSE_BUILTIN_IODBC 1
28759 if test "$wxUSE_ODBC" != "no" ; then
28760 cat >>confdefs.h
<<\_ACEOF
28761 #define wxUSE_ODBC 1
28764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28766 WXODBCFLAG
="-D_IODBC_"
28770 if test "$wxUSE_DISPLAY" = "yes"; then
28771 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28772 echo "$as_me:$LINENO: checking for Xinerama" >&5
28773 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28776 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28778 for ac_extension
in a so sl dylib
; do
28779 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28780 ac_find_libraries
=$ac_dir
28786 if test "$ac_find_libraries" != "" ; then
28788 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28790 if test $result = 0; then
28793 ac_path_to_link
=" -L$ac_find_libraries"
28796 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28797 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28799 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28800 echo "$as_me:$LINENO: result: yes" >&5
28801 echo "${ECHO_T}yes" >&6
28803 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28804 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28807 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28809 for ac_extension
in a so sl dylib
; do
28810 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28811 ac_find_libraries
=$ac_dir
28817 if test "$ac_find_libraries" != "" ; then
28818 echo "$as_me:$LINENO: result: yes" >&5
28819 echo "${ECHO_T}yes" >&6
28821 for ac_header
in X
11/extensions
/xf86vmode.h
28823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28824 echo "$as_me:$LINENO: checking for $ac_header" >&5
28825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28827 echo $ECHO_N "(cached) $ECHO_C" >&6
28829 cat >conftest.
$ac_ext <<_ACEOF
28832 cat confdefs.h
>>conftest.
$ac_ext
28833 cat >>conftest.
$ac_ext <<_ACEOF
28834 /* end confdefs.h. */
28836 #if HAVE_X11_XLIB_H
28837 #include <X11/Xlib.h>
28841 #include <$ac_header>
28843 rm -f conftest.
$ac_objext
28844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28845 (eval $ac_compile) 2>conftest.er1
28847 grep -v '^ *+' conftest.er1
>conftest.err
28849 cat conftest.err
>&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); } &&
28852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; } &&
28858 { ac_try
='test -s conftest.$ac_objext'
28859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28860 (eval $ac_try) 2>&5
28862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28863 (exit $ac_status); }; }; then
28864 eval "$as_ac_Header=yes"
28866 echo "$as_me: failed program was:" >&5
28867 sed 's/^/| /' conftest.
$ac_ext >&5
28869 eval "$as_ac_Header=no"
28871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28876 cat >>confdefs.h
<<_ACEOF
28877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28880 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28887 echo "$as_me:$LINENO: result: no" >&5
28888 echo "${ECHO_T}no" >&6
28892 echo "$as_me:$LINENO: result: no" >&5
28893 echo "${ECHO_T}no" >&6
28894 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28895 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28898 elif test "$wxUSE_MSW" = 1; then
28901 for ac_header
in multimon.h ddraw.h
28903 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28904 echo "$as_me:$LINENO: checking for $ac_header" >&5
28905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28909 cat >conftest.
$ac_ext <<_ACEOF
28912 cat confdefs.h
>>conftest.
$ac_ext
28913 cat >>conftest.
$ac_ext <<_ACEOF
28914 /* end confdefs.h. */
28915 #include <windows.h>
28917 #include <$ac_header>
28919 rm -f conftest.
$ac_objext
28920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28921 (eval $ac_compile) 2>conftest.er1
28923 grep -v '^ *+' conftest.er1
>conftest.err
28925 cat conftest.err
>&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); } &&
28928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; } &&
28934 { ac_try
='test -s conftest.$ac_objext'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; }; then
28940 eval "$as_ac_Header=yes"
28942 echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.
$ac_ext >&5
28945 eval "$as_ac_Header=no"
28947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28952 cat >>confdefs.h
<<_ACEOF
28953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28959 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28960 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28971 if test "$wxUSE_OPENGL" = "yes"; then
28972 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28973 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28974 elif test "$wxUSE_MSW" = 1; then
28975 OPENGL_LIBS
="-lopengl32 -lglu32"
28980 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28982 if test -f "$ac_dir/GL/gl.h"; then
28983 ac_find_includes
=$ac_dir
28988 if test "$ac_find_includes" != "" ; then
28989 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28990 echo "${ECHO_T}found in $ac_find_includes" >&6
28992 if test "x$ac_find_includes" = "x/usr/include"; then
28993 ac_path_to_include
=""
28995 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28997 if test $result = 0; then
28998 ac_path_to_include
=""
29000 ac_path_to_include
=" -I$ac_find_includes"
29004 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29007 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29008 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29009 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29010 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29011 echo $ECHO_N "(cached) $ECHO_C" >&6
29013 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29014 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29016 # Is the header compilable?
29017 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29018 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29019 cat >conftest.
$ac_ext <<_ACEOF
29022 cat confdefs.h
>>conftest.
$ac_ext
29023 cat >>conftest.
$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29025 $ac_includes_default
29028 rm -f conftest.
$ac_objext
29029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29030 (eval $ac_compile) 2>conftest.er1
29032 grep -v '^ *+' conftest.er1
>conftest.err
29034 cat conftest.err
>&5
29035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29036 (exit $ac_status); } &&
29037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29039 (eval $ac_try) 2>&5
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); }; } &&
29043 { ac_try
='test -s conftest.$ac_objext'
29044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29045 (eval $ac_try) 2>&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); }; }; then
29049 ac_header_compiler
=yes
29051 echo "$as_me: failed program was:" >&5
29052 sed 's/^/| /' conftest.
$ac_ext >&5
29054 ac_header_compiler
=no
29056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29058 echo "${ECHO_T}$ac_header_compiler" >&6
29060 # Is the header present?
29061 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29062 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29063 cat >conftest.
$ac_ext <<_ACEOF
29066 cat confdefs.h
>>conftest.
$ac_ext
29067 cat >>conftest.
$ac_ext <<_ACEOF
29068 /* end confdefs.h. */
29071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29072 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29074 grep -v '^ *+' conftest.er1
>conftest.err
29076 cat conftest.err
>&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); } >/dev
/null
; then
29079 if test -s conftest.err
; then
29080 ac_cpp_err
=$ac_c_preproc_warn_flag
29081 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29088 if test -z "$ac_cpp_err"; then
29089 ac_header_preproc
=yes
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.
$ac_ext >&5
29094 ac_header_preproc
=no
29096 rm -f conftest.err conftest.
$ac_ext
29097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29098 echo "${ECHO_T}$ac_header_preproc" >&6
29100 # So? What about this header?
29101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29103 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29104 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29105 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29106 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29107 ac_header_preproc
=yes
29110 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29111 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29112 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29113 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29114 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29115 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29116 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29117 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29118 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29119 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29120 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29121 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29124 ## ----------------------------------------- ##
29125 ## Report this to wx-dev@lists.wxwidgets.org ##
29126 ## ----------------------------------------- ##
29129 sed "s/^/$as_me: WARNING: /" >&2
29132 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29133 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29134 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29135 echo $ECHO_N "(cached) $ECHO_C" >&6
29137 ac_cv_header_GL_gl_h
=$ac_header_preproc
29139 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29140 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29143 if test $ac_cv_header_GL_gl_h = yes; then
29147 echo "$as_me:$LINENO: checking for -lGL" >&5
29148 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29151 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29153 for ac_extension
in a so sl dylib
; do
29154 if test -f "$ac_dir/libGL.$ac_extension"; then
29155 ac_find_libraries
=$ac_dir
29161 if test "$ac_find_libraries" != "" ; then
29162 echo "$as_me:$LINENO: result: yes" >&5
29163 echo "${ECHO_T}yes" >&6
29166 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29168 if test $result = 0; then
29171 ac_path_to_link
=" -L$ac_find_libraries"
29174 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29175 LDFLAGS_GL
="$ac_path_to_link"
29178 echo "$as_me:$LINENO: checking for -lGLU" >&5
29179 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29182 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29184 for ac_extension
in a so sl dylib
; do
29185 if test -f "$ac_dir/libGLU.$ac_extension"; then
29186 ac_find_libraries
=$ac_dir
29192 if test "$ac_find_libraries" != "" ; then
29194 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29196 if test $result = 0; then
29199 ac_path_to_link
=" -L$ac_find_libraries"
29202 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29203 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29204 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29208 OPENGL_LIBS
="-lGL -lGLU"
29209 echo "$as_me:$LINENO: result: yes" >&5
29210 echo "${ECHO_T}yes" >&6
29212 echo "$as_me:$LINENO: result: no" >&5
29213 echo "${ECHO_T}no" >&6
29216 echo "$as_me:$LINENO: result: no" >&5
29217 echo "${ECHO_T}no" >&6
29220 if test "$found_gl" != 1; then
29221 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29222 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29225 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29227 for ac_extension
in a so sl dylib
; do
29228 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29229 ac_find_libraries
=$ac_dir
29235 if test "$ac_find_libraries" != "" ; then
29237 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29239 if test $result = 0; then
29242 ac_path_to_link
=" -L$ac_find_libraries"
29245 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29246 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29247 echo "$as_me:$LINENO: result: yes" >&5
29248 echo "${ECHO_T}yes" >&6
29250 echo "$as_me:$LINENO: result: no" >&5
29251 echo "${ECHO_T}no" >&6
29259 if test "x$OPENGL_LIBS" = "x"; then
29260 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29261 echo "$as_me: error: OpenGL libraries not available" >&2;}
29262 { (exit 1); exit 1; }; }
29266 if test "$wxUSE_OPENGL" = "yes"; then
29268 cat >>confdefs.h
<<\_ACEOF
29269 #define wxUSE_OPENGL 1
29272 cat >>confdefs.h
<<\_ACEOF
29273 #define wxUSE_GLCANVAS 1
29276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29281 if test -n "$TOOLKIT" ; then
29282 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29287 if test "$wxUSE_SHARED" = "yes"; then
29291 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29292 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29297 if test "$wxUSE_SHARED" = "yes"; then
29300 found_versioning
=no
29303 if test $found_versioning = no
; then
29304 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29305 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29306 if test "${wx_cv_version_script+set}" = set; then
29307 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 echo "VER_1 { *; };" >conftest.sym
29311 echo "int main() { return 0; }" >conftest.cpp
29314 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29315 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; } ; then
29321 if test -s conftest.stderr
; then
29322 wx_cv_version_script
=no
29324 wx_cv_version_script
=yes
29327 wx_cv_version_script
=no
29329 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29332 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29333 echo "${ECHO_T}$wx_cv_version_script" >&6
29334 if test $wx_cv_version_script = yes ; then
29335 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29341 *-*-linux* | *-*-gnu* )
29342 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29343 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29347 if test "$GCC" = yes ; then
29348 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29350 saveLdflags
="$LDFLAGS"
29351 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29352 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29353 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29354 cat >conftest.
$ac_ext <<_ACEOF
29357 cat confdefs.h
>>conftest.
$ac_ext
29358 cat >>conftest.
$ac_ext <<_ACEOF
29359 /* end confdefs.h. */
29369 rm -f conftest.
$ac_objext conftest
$ac_exeext
29370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29371 (eval $ac_link) 2>conftest.er1
29373 grep -v '^ *+' conftest.er1
>conftest.err
29375 cat conftest.err
>&5
29376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29377 (exit $ac_status); } &&
29378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29380 (eval $ac_try) 2>&5
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); }; } &&
29384 { ac_try
='test -s conftest$ac_exeext'
29385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29386 (eval $ac_try) 2>&5
29388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29389 (exit $ac_status); }; }; then
29391 echo "$as_me:$LINENO: result: yes" >&5
29392 echo "${ECHO_T}yes" >&6
29393 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29394 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29397 echo "$as_me: failed program was:" >&5
29398 sed 's/^/| /' conftest.
$ac_ext >&5
29401 echo "$as_me:$LINENO: result: no" >&5
29402 echo "${ECHO_T}no" >&6
29403 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29404 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29405 LDFLAGS
="$saveLdflags -Wl,-R,/"
29406 cat >conftest.
$ac_ext <<_ACEOF
29409 cat confdefs.h
>>conftest.
$ac_ext
29410 cat >>conftest.
$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29421 rm -f conftest.
$ac_objext conftest
$ac_exeext
29422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29423 (eval $ac_link) 2>conftest.er1
29425 grep -v '^ *+' conftest.er1
>conftest.err
29427 cat conftest.err
>&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } &&
29430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; } &&
29436 { ac_try
='test -s conftest$ac_exeext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29443 echo "$as_me:$LINENO: result: yes" >&5
29444 echo "${ECHO_T}yes" >&6
29445 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29446 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29449 echo "$as_me: failed program was:" >&5
29450 sed 's/^/| /' conftest.
$ac_ext >&5
29453 echo "$as_me:$LINENO: result: no" >&5
29454 echo "${ECHO_T}no" >&6
29457 rm -f conftest.err conftest.
$ac_objext \
29458 conftest
$ac_exeext conftest.
$ac_ext
29461 rm -f conftest.err conftest.
$ac_objext \
29462 conftest
$ac_exeext conftest.
$ac_ext
29463 LDFLAGS
="$saveLdflags"
29465 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29466 WXCONFIG_RPATH
="-R\$libdir"
29470 powerpc
-*-darwin* )
29471 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29472 cat <<EOF >change-install-names
29474 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29475 inst_cmd="install_name_tool "
29476 for i in \${libnames} ; do
29477 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29481 chmod +x change
-install-names
29484 *-*-cygwin* | *-*-mingw32* )
29485 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29489 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29490 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29495 if test $wxUSE_RPATH = "no"; then
29496 SAMPLES_RPATH_FLAG
=''
29497 SAMPLES_RPATH_POSTLINK
=''
29505 config_linkage_component
="-static"
29512 lib_unicode_suffix
=
29514 if test "$wxUSE_UNICODE" = "yes"; then
29515 lib_unicode_suffix
=u
29516 WX_CHARTYPE
="unicode"
29521 WX_DEBUGTYPE
="release"
29523 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29525 WX_DEBUGTYPE
="debug"
29529 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29530 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29533 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29537 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29539 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29541 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29543 if test "$cross_compiling" = "yes"; then
29544 HOST_SUFFIX
="-$host_alias"
29545 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29546 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29549 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29550 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29554 if test "$wxUSE_COCOA" = 1; then
29558 ac_cpp
='$CPP $CPPFLAGS'
29559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29565 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29566 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29567 cat >conftest.
$ac_ext <<_ACEOF
29570 cat confdefs.h
>>conftest.
$ac_ext
29571 cat >>conftest.
$ac_ext <<_ACEOF
29572 /* end confdefs.h. */
29573 #include <AppKit/NSEvent.h>
29574 #include <CoreFoundation/CoreFoundation.h>
29584 rm -f conftest.
$ac_objext
29585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29586 (eval $ac_compile) 2>conftest.er1
29588 grep -v '^ *+' conftest.er1
>conftest.err
29590 cat conftest.err
>&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); } &&
29593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595 (eval $ac_try) 2>&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; } &&
29599 { ac_try
='test -s conftest.$ac_objext'
29600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29601 (eval $ac_try) 2>&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); }; }; then
29605 echo "$as_me:$LINENO: result: no" >&5
29606 echo "${ECHO_T}no" >&6
29608 echo "$as_me: failed program was:" >&5
29609 sed 's/^/| /' conftest.
$ac_ext >&5
29611 echo "$as_me:$LINENO: result: yes" >&5
29612 echo "${ECHO_T}yes" >&6
29613 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29614 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29615 cat >conftest.
$ac_ext <<_ACEOF
29618 cat confdefs.h
>>conftest.
$ac_ext
29619 cat >>conftest.
$ac_ext <<_ACEOF
29620 /* end confdefs.h. */
29621 #define __Point__ 1
29622 #include <AppKit/NSEvent.h>
29623 #include <CoreFoundation/CoreFoundation.h>
29633 rm -f conftest.
$ac_objext
29634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29635 (eval $ac_compile) 2>conftest.er1
29637 grep -v '^ *+' conftest.er1
>conftest.err
29639 cat conftest.err
>&5
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); } &&
29642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29644 (eval $ac_try) 2>&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); }; } &&
29648 { ac_try
='test -s conftest.$ac_objext'
29649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29650 (eval $ac_try) 2>&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); }; }; then
29654 echo "$as_me:$LINENO: result: yes" >&5
29655 echo "${ECHO_T}yes" >&6
29656 cat >>confdefs.h
<<\_ACEOF
29657 #define __Point__ 1
29662 echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.
$ac_ext >&5
29665 { { echo "$as_me:$LINENO: error: no
29666 See \`config.log' for more details." >&5
29667 echo "$as_me: error: no
29668 See \`config.log' for more details." >&2;}
29669 { (exit 1); exit 1; }; }
29672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29677 ac_cpp
='$CPP $CPPFLAGS'
29678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29684 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29685 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29686 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29688 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29690 # Extract the first word of "Rez", so it can be a program name with args.
29691 set dummy Rez
; ac_word
=$2
29692 echo "$as_me:$LINENO: checking for $ac_word" >&5
29693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29694 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29695 echo $ECHO_N "(cached) $ECHO_C" >&6
29697 if test -n "$RESCOMP"; then
29698 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29701 for as_dir
in $PATH
29704 test -z "$as_dir" && as_dir
=.
29705 for ac_exec_ext
in '' $ac_executable_extensions; do
29706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29707 ac_cv_prog_RESCOMP
="Rez"
29708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29714 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29717 RESCOMP
=$ac_cv_prog_RESCOMP
29718 if test -n "$RESCOMP"; then
29719 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29720 echo "${ECHO_T}$RESCOMP" >&6
29722 echo "$as_me:$LINENO: result: no" >&5
29723 echo "${ECHO_T}no" >&6
29726 # Extract the first word of "DeRez", so it can be a program name with args.
29727 set dummy DeRez
; ac_word
=$2
29728 echo "$as_me:$LINENO: checking for $ac_word" >&5
29729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29730 if test "${ac_cv_prog_DEREZ+set}" = set; then
29731 echo $ECHO_N "(cached) $ECHO_C" >&6
29733 if test -n "$DEREZ"; then
29734 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29737 for as_dir
in $PATH
29740 test -z "$as_dir" && as_dir
=.
29741 for ac_exec_ext
in '' $ac_executable_extensions; do
29742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29743 ac_cv_prog_DEREZ
="DeRez"
29744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29750 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29753 DEREZ
=$ac_cv_prog_DEREZ
29754 if test -n "$DEREZ"; then
29755 echo "$as_me:$LINENO: result: $DEREZ" >&5
29756 echo "${ECHO_T}$DEREZ" >&6
29758 echo "$as_me:$LINENO: result: no" >&5
29759 echo "${ECHO_T}no" >&6
29762 # Extract the first word of "SetFile", so it can be a program name with args.
29763 set dummy SetFile
; ac_word
=$2
29764 echo "$as_me:$LINENO: checking for $ac_word" >&5
29765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29766 if test "${ac_cv_prog_SETFILE+set}" = set; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 if test -n "$SETFILE"; then
29770 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29773 for as_dir
in $PATH
29776 test -z "$as_dir" && as_dir
=.
29777 for ac_exec_ext
in '' $ac_executable_extensions; do
29778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29779 ac_cv_prog_SETFILE
="SetFile"
29780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29786 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29789 SETFILE
=$ac_cv_prog_SETFILE
29790 if test -n "$SETFILE"; then
29791 echo "$as_me:$LINENO: result: $SETFILE" >&5
29792 echo "${ECHO_T}$SETFILE" >&6
29794 echo "$as_me:$LINENO: result: no" >&5
29795 echo "${ECHO_T}no" >&6
29799 MACSETFILE
="\$(SETFILE)"
29801 if test "$wxUSE_MAC" = 1; then
29802 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
29804 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
29806 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29807 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29811 MACRESWXCONFIG
="@true"
29813 if test "$wxUSE_PM" = 1; then
29814 MACRESCOMP
="emxbind -ep"
29822 echo "$as_me:$LINENO: checking for mode_t" >&5
29823 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29824 if test "${ac_cv_type_mode_t+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29827 cat >conftest.
$ac_ext <<_ACEOF
29830 cat confdefs.h
>>conftest.
$ac_ext
29831 cat >>conftest.
$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29833 $ac_includes_default
29839 if (sizeof (mode_t))
29845 rm -f conftest.
$ac_objext
29846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29847 (eval $ac_compile) 2>conftest.er1
29849 grep -v '^ *+' conftest.er1
>conftest.err
29851 cat conftest.err
>&5
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); } &&
29854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29856 (eval $ac_try) 2>&5
29858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29859 (exit $ac_status); }; } &&
29860 { ac_try
='test -s conftest.$ac_objext'
29861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29862 (eval $ac_try) 2>&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); }; }; then
29866 ac_cv_type_mode_t
=yes
29868 echo "$as_me: failed program was:" >&5
29869 sed 's/^/| /' conftest.
$ac_ext >&5
29871 ac_cv_type_mode_t
=no
29873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29875 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29876 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29877 if test $ac_cv_type_mode_t = yes; then
29881 cat >>confdefs.h
<<_ACEOF
29887 echo "$as_me:$LINENO: checking for off_t" >&5
29888 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29889 if test "${ac_cv_type_off_t+set}" = set; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 cat >conftest.
$ac_ext <<_ACEOF
29895 cat confdefs.h
>>conftest.
$ac_ext
29896 cat >>conftest.
$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29898 $ac_includes_default
29904 if (sizeof (off_t))
29910 rm -f conftest.
$ac_objext
29911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29912 (eval $ac_compile) 2>conftest.er1
29914 grep -v '^ *+' conftest.er1
>conftest.err
29916 cat conftest.err
>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); } &&
29919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29921 (eval $ac_try) 2>&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; } &&
29925 { ac_try
='test -s conftest.$ac_objext'
29926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29927 (eval $ac_try) 2>&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); }; }; then
29931 ac_cv_type_off_t
=yes
29933 echo "$as_me: failed program was:" >&5
29934 sed 's/^/| /' conftest.
$ac_ext >&5
29936 ac_cv_type_off_t
=no
29938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29940 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29941 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29942 if test $ac_cv_type_off_t = yes; then
29946 cat >>confdefs.h
<<_ACEOF
29952 echo "$as_me:$LINENO: checking for pid_t" >&5
29953 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29954 if test "${ac_cv_type_pid_t+set}" = set; then
29955 echo $ECHO_N "(cached) $ECHO_C" >&6
29957 cat >conftest.
$ac_ext <<_ACEOF
29960 cat confdefs.h
>>conftest.
$ac_ext
29961 cat >>conftest.
$ac_ext <<_ACEOF
29962 /* end confdefs.h. */
29963 $ac_includes_default
29969 if (sizeof (pid_t))
29975 rm -f conftest.
$ac_objext
29976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29977 (eval $ac_compile) 2>conftest.er1
29979 grep -v '^ *+' conftest.er1
>conftest.err
29981 cat conftest.err
>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } &&
29984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; } &&
29990 { ac_try
='test -s conftest.$ac_objext'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; }; then
29996 ac_cv_type_pid_t
=yes
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.
$ac_ext >&5
30001 ac_cv_type_pid_t
=no
30003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30005 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30006 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30007 if test $ac_cv_type_pid_t = yes; then
30011 cat >>confdefs.h
<<_ACEOF
30017 echo "$as_me:$LINENO: checking for size_t" >&5
30018 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30019 if test "${ac_cv_type_size_t+set}" = set; then
30020 echo $ECHO_N "(cached) $ECHO_C" >&6
30022 cat >conftest.
$ac_ext <<_ACEOF
30025 cat confdefs.h
>>conftest.
$ac_ext
30026 cat >>conftest.
$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30028 $ac_includes_default
30034 if (sizeof (size_t))
30040 rm -f conftest.
$ac_objext
30041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30042 (eval $ac_compile) 2>conftest.er1
30044 grep -v '^ *+' conftest.er1
>conftest.err
30046 cat conftest.err
>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); } &&
30049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; } &&
30055 { ac_try
='test -s conftest.$ac_objext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 ac_cv_type_size_t
=yes
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.
$ac_ext >&5
30066 ac_cv_type_size_t
=no
30068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30070 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30071 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30072 if test $ac_cv_type_size_t = yes; then
30076 cat >>confdefs.h
<<_ACEOF
30077 #define size_t unsigned
30082 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30083 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30084 if test "${ac_cv_type_uid_t+set}" = set; then
30085 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 cat >conftest.
$ac_ext <<_ACEOF
30090 cat confdefs.h
>>conftest.
$ac_ext
30091 cat >>conftest.
$ac_ext <<_ACEOF
30092 /* end confdefs.h. */
30093 #include <sys/types.h>
30096 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30097 $EGREP "uid_t" >/dev
/null
2>&1; then
30098 ac_cv_type_uid_t
=yes
30100 ac_cv_type_uid_t
=no
30105 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30106 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30107 if test $ac_cv_type_uid_t = no
; then
30109 cat >>confdefs.h
<<\_ACEOF
30114 cat >>confdefs.h
<<\_ACEOF
30121 echo "$as_me:$LINENO: checking for ssize_t" >&5
30122 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30123 if test "${ac_cv_type_ssize_t+set}" = set; then
30124 echo $ECHO_N "(cached) $ECHO_C" >&6
30126 cat >conftest.
$ac_ext <<_ACEOF
30129 cat confdefs.h
>>conftest.
$ac_ext
30130 cat >>conftest.
$ac_ext <<_ACEOF
30131 /* end confdefs.h. */
30132 $ac_includes_default
30138 if (sizeof (ssize_t))
30144 rm -f conftest.
$ac_objext
30145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30146 (eval $ac_compile) 2>conftest.er1
30148 grep -v '^ *+' conftest.er1
>conftest.err
30150 cat conftest.err
>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); } &&
30153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30155 (eval $ac_try) 2>&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); }; } &&
30159 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
30165 ac_cv_type_ssize_t
=yes
30167 echo "$as_me: failed program was:" >&5
30168 sed 's/^/| /' conftest.
$ac_ext >&5
30170 ac_cv_type_ssize_t
=no
30172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30174 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30175 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30176 if test $ac_cv_type_ssize_t = yes; then
30178 cat >>confdefs.h
<<_ACEOF
30179 #define HAVE_SSIZE_T 1
30189 ac_cpp
='$CXXCPP $CPPFLAGS'
30190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30194 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30195 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30196 if test "${wx_cv_size_t_is_uint+set}" = set; then
30197 echo $ECHO_N "(cached) $ECHO_C" >&6
30200 cat >conftest.
$ac_ext <<_ACEOF
30203 cat confdefs.h
>>conftest.
$ac_ext
30204 cat >>conftest.
$ac_ext <<_ACEOF
30205 /* end confdefs.h. */
30206 #include <stddef.h>
30213 struct Foo { void foo(size_t); void foo(unsigned int); };
30221 rm -f conftest.
$ac_objext
30222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30223 (eval $ac_compile) 2>conftest.er1
30225 grep -v '^ *+' conftest.er1
>conftest.err
30227 cat conftest.err
>&5
30228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229 (exit $ac_status); } &&
30230 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232 (eval $ac_try) 2>&5
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; } &&
30236 { ac_try
='test -s conftest.$ac_objext'
30237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30238 (eval $ac_try) 2>&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); }; }; then
30242 wx_cv_size_t_is_uint
=no
30244 echo "$as_me: failed program was:" >&5
30245 sed 's/^/| /' conftest.
$ac_ext >&5
30247 wx_cv_size_t_is_uint
=yes
30250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30254 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30255 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30257 if test "$wx_cv_size_t_is_uint" = "yes"; then
30258 cat >>confdefs.h
<<\_ACEOF
30259 #define wxSIZE_T_IS_UINT 1
30263 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30264 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30265 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30266 echo $ECHO_N "(cached) $ECHO_C" >&6
30268 cat >conftest.
$ac_ext <<_ACEOF
30271 cat confdefs.h
>>conftest.
$ac_ext
30272 cat >>conftest.
$ac_ext <<_ACEOF
30273 /* end confdefs.h. */
30274 #include <stddef.h>
30281 struct Foo { void foo(size_t); void foo(unsigned long); };
30289 rm -f conftest.
$ac_objext
30290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30291 (eval $ac_compile) 2>conftest.er1
30293 grep -v '^ *+' conftest.er1
>conftest.err
30295 cat conftest.err
>&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); } &&
30298 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30300 (eval $ac_try) 2>&5
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); }; } &&
30304 { ac_try
='test -s conftest.$ac_objext'
30305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306 (eval $ac_try) 2>&5
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; }; then
30310 wx_cv_size_t_is_ulong
=no
30312 echo "$as_me: failed program was:" >&5
30313 sed 's/^/| /' conftest.
$ac_ext >&5
30315 wx_cv_size_t_is_ulong
=yes
30318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30321 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30322 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30324 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30325 cat >>confdefs.h
<<\_ACEOF
30326 #define wxSIZE_T_IS_ULONG 1
30333 ac_cpp
='$CPP $CPPFLAGS'
30334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30340 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30341 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30342 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30343 echo $ECHO_N "(cached) $ECHO_C" >&6
30346 cat >conftest.
$ac_ext <<_ACEOF
30349 cat confdefs.h
>>conftest.
$ac_ext
30350 cat >>conftest.
$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30365 rm -f conftest.
$ac_objext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30367 (eval $ac_compile) 2>conftest.er1
30369 grep -v '^ *+' conftest.er1
>conftest.err
30371 cat conftest.err
>&5
30372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30373 (exit $ac_status); } &&
30374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376 (eval $ac_try) 2>&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); }; } &&
30380 { ac_try
='test -s conftest.$ac_objext'
30381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30382 (eval $ac_try) 2>&5
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); }; }; then
30387 wx_cv_struct_pw_gecos
=yes
30390 echo "$as_me: failed program was:" >&5
30391 sed 's/^/| /' conftest.
$ac_ext >&5
30394 wx_cv_struct_pw_gecos
=no
30398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30402 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30403 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30405 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30406 cat >>confdefs.h
<<\_ACEOF
30407 #define HAVE_PW_GECOS 1
30413 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30414 cat >>confdefs.h
<<\_ACEOF
30415 #define wxUSE_WCHAR_T 1
30422 for ac_func
in wcslen
30424 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30425 echo "$as_me:$LINENO: checking for $ac_func" >&5
30426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30427 if eval "test \"\${$as_ac_var+set}\" = set"; then
30428 echo $ECHO_N "(cached) $ECHO_C" >&6
30430 cat >conftest.
$ac_ext <<_ACEOF
30433 cat confdefs.h
>>conftest.
$ac_ext
30434 cat >>conftest.
$ac_ext <<_ACEOF
30435 /* end confdefs.h. */
30436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30438 #define $ac_func innocuous_$ac_func
30440 /* System header to define __stub macros and hopefully few prototypes,
30441 which can conflict with char $ac_func (); below.
30442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30443 <limits.h> exists even on freestanding compilers. */
30446 # include <limits.h>
30448 # include <assert.h>
30453 /* Override any gcc2 internal prototype to avoid an error. */
30458 /* We use char because int might match the return type of a gcc2
30459 builtin and then its argument prototype would still apply. */
30461 /* The GNU C library defines this for functions which it implements
30462 to always fail with ENOSYS. Some functions are actually named
30463 something starting with __ and the normal name is an alias. */
30464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30467 char (*f) () = $ac_func;
30476 return f != $ac_func;
30481 rm -f conftest.
$ac_objext conftest
$ac_exeext
30482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30483 (eval $ac_link) 2>conftest.er1
30485 grep -v '^ *+' conftest.er1
>conftest.err
30487 cat conftest.err
>&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); } &&
30490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30492 (eval $ac_try) 2>&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); }; } &&
30496 { ac_try
='test -s conftest$ac_exeext'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; }; then
30502 eval "$as_ac_var=yes"
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.
$ac_ext >&5
30507 eval "$as_ac_var=no"
30509 rm -f conftest.err conftest.
$ac_objext \
30510 conftest
$ac_exeext conftest.
$ac_ext
30512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30514 if test `eval echo '${'$as_ac_var'}'` = yes; then
30515 cat >>confdefs.h
<<_ACEOF
30516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30523 if test "$WCSLEN_FOUND" = 0; then
30524 if test "$TOOLKIT" = "MSW"; then
30525 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30526 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30527 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30528 echo $ECHO_N "(cached) $ECHO_C" >&6
30530 ac_check_lib_save_LIBS
=$LIBS
30531 LIBS
="-lmsvcrt $LIBS"
30532 cat >conftest.
$ac_ext <<_ACEOF
30535 cat confdefs.h
>>conftest.
$ac_ext
30536 cat >>conftest.
$ac_ext <<_ACEOF
30537 /* end confdefs.h. */
30539 /* Override any gcc2 internal prototype to avoid an error. */
30543 /* We use char because int might match the return type of a gcc2
30544 builtin and then its argument prototype would still apply. */
30554 rm -f conftest.
$ac_objext conftest
$ac_exeext
30555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30556 (eval $ac_link) 2>conftest.er1
30558 grep -v '^ *+' conftest.er1
>conftest.err
30560 cat conftest.err
>&5
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); } &&
30563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30565 (eval $ac_try) 2>&5
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); }; } &&
30569 { ac_try
='test -s conftest$ac_exeext'
30570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30571 (eval $ac_try) 2>&5
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); }; }; then
30575 ac_cv_lib_msvcrt_wcslen
=yes
30577 echo "$as_me: failed program was:" >&5
30578 sed 's/^/| /' conftest.
$ac_ext >&5
30580 ac_cv_lib_msvcrt_wcslen
=no
30582 rm -f conftest.err conftest.
$ac_objext \
30583 conftest
$ac_exeext conftest.
$ac_ext
30584 LIBS
=$ac_check_lib_save_LIBS
30586 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30587 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30588 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30593 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30594 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30595 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30598 ac_check_lib_save_LIBS
=$LIBS
30600 cat >conftest.
$ac_ext <<_ACEOF
30603 cat confdefs.h
>>conftest.
$ac_ext
30604 cat >>conftest.
$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30607 /* Override any gcc2 internal prototype to avoid an error. */
30611 /* We use char because int might match the return type of a gcc2
30612 builtin and then its argument prototype would still apply. */
30622 rm -f conftest.
$ac_objext conftest
$ac_exeext
30623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30624 (eval $ac_link) 2>conftest.er1
30626 grep -v '^ *+' conftest.er1
>conftest.err
30628 cat conftest.err
>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); } &&
30631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633 (eval $ac_try) 2>&5
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); }; } &&
30637 { ac_try
='test -s conftest$ac_exeext'
30638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30639 (eval $ac_try) 2>&5
30641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30642 (exit $ac_status); }; }; then
30643 ac_cv_lib_w_wcslen
=yes
30645 echo "$as_me: failed program was:" >&5
30646 sed 's/^/| /' conftest.
$ac_ext >&5
30648 ac_cv_lib_w_wcslen
=no
30650 rm -f conftest.err conftest.
$ac_objext \
30651 conftest
$ac_exeext conftest.
$ac_ext
30652 LIBS
=$ac_check_lib_save_LIBS
30654 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30655 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30656 if test $ac_cv_lib_w_wcslen = yes; then
30666 if test "$WCSLEN_FOUND" = 1; then
30667 cat >>confdefs.h
<<\_ACEOF
30668 #define HAVE_WCSLEN 1
30673 if test "$USE_HPUX" = 1; then
30674 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30678 for ac_func
in wcsrtombs
30680 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30681 echo "$as_me:$LINENO: checking for $ac_func" >&5
30682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30683 if eval "test \"\${$as_ac_var+set}\" = set"; then
30684 echo $ECHO_N "(cached) $ECHO_C" >&6
30686 cat >conftest.
$ac_ext <<_ACEOF
30689 cat confdefs.h
>>conftest.
$ac_ext
30690 cat >>conftest.
$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30694 #define $ac_func innocuous_$ac_func
30696 /* System header to define __stub macros and hopefully few prototypes,
30697 which can conflict with char $ac_func (); below.
30698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30699 <limits.h> exists even on freestanding compilers. */
30702 # include <limits.h>
30704 # include <assert.h>
30709 /* Override any gcc2 internal prototype to avoid an error. */
30714 /* We use char because int might match the return type of a gcc2
30715 builtin and then its argument prototype would still apply. */
30717 /* The GNU C library defines this for functions which it implements
30718 to always fail with ENOSYS. Some functions are actually named
30719 something starting with __ and the normal name is an alias. */
30720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30723 char (*f) () = $ac_func;
30732 return f != $ac_func;
30737 rm -f conftest.
$ac_objext conftest
$ac_exeext
30738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30739 (eval $ac_link) 2>conftest.er1
30741 grep -v '^ *+' conftest.er1
>conftest.err
30743 cat conftest.err
>&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); } &&
30746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30748 (eval $ac_try) 2>&5
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); }; } &&
30752 { ac_try
='test -s conftest$ac_exeext'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; }; then
30758 eval "$as_ac_var=yes"
30760 echo "$as_me: failed program was:" >&5
30761 sed 's/^/| /' conftest.
$ac_ext >&5
30763 eval "$as_ac_var=no"
30765 rm -f conftest.err conftest.
$ac_objext \
30766 conftest
$ac_exeext conftest.
$ac_ext
30768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30770 if test `eval echo '${'$as_ac_var'}'` = yes; then
30771 cat >>confdefs.h
<<_ACEOF
30772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30779 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30780 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30786 ac_cpp
='$CXXCPP $CPPFLAGS'
30787 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30793 for ac_func
in vsnprintf
30795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30796 echo "$as_me:$LINENO: checking for $ac_func" >&5
30797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30798 if eval "test \"\${$as_ac_var+set}\" = set"; then
30799 echo $ECHO_N "(cached) $ECHO_C" >&6
30801 cat >conftest.
$ac_ext <<_ACEOF
30804 cat confdefs.h
>>conftest.
$ac_ext
30805 cat >>conftest.
$ac_ext <<_ACEOF
30806 /* end confdefs.h. */
30807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30809 #define $ac_func innocuous_$ac_func
30811 /* System header to define __stub macros and hopefully few prototypes,
30812 which can conflict with char $ac_func (); below.
30813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30814 <limits.h> exists even on freestanding compilers. */
30817 # include <limits.h>
30819 # include <assert.h>
30824 /* Override any gcc2 internal prototype to avoid an error. */
30829 /* We use char because int might match the return type of a gcc2
30830 builtin and then its argument prototype would still apply. */
30832 /* The GNU C library defines this for functions which it implements
30833 to always fail with ENOSYS. Some functions are actually named
30834 something starting with __ and the normal name is an alias. */
30835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30838 char (*f) () = $ac_func;
30847 return f != $ac_func;
30852 rm -f conftest.
$ac_objext conftest
$ac_exeext
30853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30854 (eval $ac_link) 2>conftest.er1
30856 grep -v '^ *+' conftest.er1
>conftest.err
30858 cat conftest.err
>&5
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); } &&
30861 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; } &&
30867 { ac_try
='test -s conftest$ac_exeext'
30868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30869 (eval $ac_try) 2>&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); }; }; then
30873 eval "$as_ac_var=yes"
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.
$ac_ext >&5
30878 eval "$as_ac_var=no"
30880 rm -f conftest.err conftest.
$ac_objext \
30881 conftest
$ac_exeext conftest.
$ac_ext
30883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30885 if test `eval echo '${'$as_ac_var'}'` = yes; then
30886 cat >>confdefs.h
<<_ACEOF
30887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30894 if test "$ac_cv_func_vsnprintf" = "yes"; then
30895 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30896 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30897 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30898 echo $ECHO_N "(cached) $ECHO_C" >&6
30901 cat >conftest.
$ac_ext <<_ACEOF
30904 cat confdefs.h
>>conftest.
$ac_ext
30905 cat >>conftest.
$ac_ext <<_ACEOF
30906 /* end confdefs.h. */
30909 #include <stdarg.h>
30917 vsnprintf(buf, 10u, "%s", ap);
30923 rm -f conftest.
$ac_objext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30925 (eval $ac_compile) 2>conftest.er1
30927 grep -v '^ *+' conftest.er1
>conftest.err
30929 cat conftest.err
>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; } &&
30938 { ac_try
='test -s conftest.$ac_objext'
30939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30940 (eval $ac_try) 2>&5
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); }; }; then
30944 wx_cv_func_vsnprintf_decl
=yes
30946 echo "$as_me: failed program was:" >&5
30947 sed 's/^/| /' conftest.
$ac_ext >&5
30950 cat >conftest.
$ac_ext <<_ACEOF
30953 cat confdefs.h
>>conftest.
$ac_ext
30954 cat >>conftest.
$ac_ext <<_ACEOF
30955 /* end confdefs.h. */
30958 #include <stdarg.h>
30959 using namespace std;
30967 vsnprintf(buf, 10u, "%s", ap);
30973 rm -f conftest.
$ac_objext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30975 (eval $ac_compile) 2>conftest.er1
30977 grep -v '^ *+' conftest.er1
>conftest.err
30979 cat conftest.err
>&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; } &&
30988 { ac_try
='test -s conftest.$ac_objext'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; }; then
30994 wx_cv_func_vsnprintf_decl
=yes
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.
$ac_ext >&5
30999 wx_cv_func_vsnprintf_decl
=no
31002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31010 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31011 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31013 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31014 cat >>confdefs.h
<<\_ACEOF
31015 #define HAVE_VSNPRINTF_DECL 1
31021 if test "$wxUSE_UNICODE" = yes; then
31028 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31031 echo "$as_me:$LINENO: checking for $ac_func" >&5
31032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31033 if eval "test \"\${$as_ac_var+set}\" = set"; then
31034 echo $ECHO_N "(cached) $ECHO_C" >&6
31036 cat >conftest.
$ac_ext <<_ACEOF
31039 cat confdefs.h
>>conftest.
$ac_ext
31040 cat >>conftest.
$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31044 #define $ac_func innocuous_$ac_func
31046 /* System header to define __stub macros and hopefully few prototypes,
31047 which can conflict with char $ac_func (); below.
31048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31049 <limits.h> exists even on freestanding compilers. */
31052 # include <limits.h>
31054 # include <assert.h>
31059 /* Override any gcc2 internal prototype to avoid an error. */
31064 /* We use char because int might match the return type of a gcc2
31065 builtin and then its argument prototype would still apply. */
31067 /* The GNU C library defines this for functions which it implements
31068 to always fail with ENOSYS. Some functions are actually named
31069 something starting with __ and the normal name is an alias. */
31070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31073 char (*f) () = $ac_func;
31082 return f != $ac_func;
31087 rm -f conftest.
$ac_objext conftest
$ac_exeext
31088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31089 (eval $ac_link) 2>conftest.er1
31091 grep -v '^ *+' conftest.er1
>conftest.err
31093 cat conftest.err
>&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } &&
31096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31098 (eval $ac_try) 2>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); }; } &&
31102 { ac_try
='test -s conftest$ac_exeext'
31103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31104 (eval $ac_try) 2>&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); }; }; then
31108 eval "$as_ac_var=yes"
31110 echo "$as_me: failed program was:" >&5
31111 sed 's/^/| /' conftest.
$ac_ext >&5
31113 eval "$as_ac_var=no"
31115 rm -f conftest.err conftest.
$ac_objext \
31116 conftest
$ac_exeext conftest.
$ac_ext
31118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31120 if test `eval echo '${'$as_ac_var'}'` = yes; then
31121 cat >>confdefs.h
<<_ACEOF
31122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31129 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31130 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31131 cat >conftest.
$ac_ext <<_ACEOF
31134 cat confdefs.h
>>conftest.
$ac_ext
31135 cat >>conftest.
$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31146 rm -f conftest.
$ac_objext
31147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31148 (eval $ac_compile) 2>conftest.er1
31150 grep -v '^ *+' conftest.er1
>conftest.err
31152 cat conftest.err
>&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); } &&
31155 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; } &&
31161 { ac_try
='test -s conftest.$ac_objext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 echo "$as_me:$LINENO: result: yes" >&5
31168 echo "${ECHO_T}yes" >&6
31169 cat >>confdefs.h
<<\_ACEOF
31170 #define HAVE__VSNWPRINTF 1
31174 echo "$as_me: failed program was:" >&5
31175 sed 's/^/| /' conftest.
$ac_ext >&5
31177 echo "$as_me:$LINENO: result: no" >&5
31178 echo "${ECHO_T}no" >&6
31180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31184 ac_cpp
='$CPP $CPPFLAGS'
31185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31192 if test "$TOOLKIT" != "MSW"; then
31198 ac_cpp
='$CXXCPP $CPPFLAGS'
31199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31206 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31207 if test "${with_libiconv_prefix+set}" = set; then
31208 withval
="$with_libiconv_prefix"
31210 for dir
in `echo "$withval" | tr : ' '`; do
31211 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31212 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31217 echo "$as_me:$LINENO: checking for iconv" >&5
31218 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31219 if test "${am_cv_func_iconv+set}" = set; then
31220 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 am_cv_func_iconv
="no, consider installing GNU libiconv"
31225 cat >conftest.
$ac_ext <<_ACEOF
31228 cat confdefs.h
>>conftest.
$ac_ext
31229 cat >>conftest.
$ac_ext <<_ACEOF
31230 /* end confdefs.h. */
31231 #include <stdlib.h>
31236 iconv_t cd = iconv_open("","");
31237 iconv(cd,NULL,NULL,NULL,NULL);
31243 rm -f conftest.
$ac_objext conftest
$ac_exeext
31244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31245 (eval $ac_link) 2>conftest.er1
31247 grep -v '^ *+' conftest.er1
>conftest.err
31249 cat conftest.err
>&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); } &&
31252 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31254 (eval $ac_try) 2>&5
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); }; } &&
31258 { ac_try
='test -s conftest$ac_exeext'
31259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31260 (eval $ac_try) 2>&5
31262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263 (exit $ac_status); }; }; then
31264 am_cv_func_iconv
=yes
31266 echo "$as_me: failed program was:" >&5
31267 sed 's/^/| /' conftest.
$ac_ext >&5
31270 rm -f conftest.err conftest.
$ac_objext \
31271 conftest
$ac_exeext conftest.
$ac_ext
31272 if test "$am_cv_func_iconv" != yes; then
31273 am_save_LIBS
="$LIBS"
31274 LIBS
="$LIBS -liconv"
31275 cat >conftest.
$ac_ext <<_ACEOF
31278 cat confdefs.h
>>conftest.
$ac_ext
31279 cat >>conftest.
$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 #include <stdlib.h>
31286 iconv_t cd = iconv_open("","");
31287 iconv(cd,NULL,NULL,NULL,NULL);
31293 rm -f conftest.
$ac_objext conftest
$ac_exeext
31294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31295 (eval $ac_link) 2>conftest.er1
31297 grep -v '^ *+' conftest.er1
>conftest.err
31299 cat conftest.err
>&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); } &&
31302 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31304 (eval $ac_try) 2>&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); }; } &&
31308 { ac_try
='test -s conftest$ac_exeext'
31309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31310 (eval $ac_try) 2>&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); }; }; then
31314 am_cv_lib_iconv
=yes
31315 am_cv_func_iconv
=yes
31317 echo "$as_me: failed program was:" >&5
31318 sed 's/^/| /' conftest.
$ac_ext >&5
31321 rm -f conftest.err conftest.
$ac_objext \
31322 conftest
$ac_exeext conftest.
$ac_ext
31323 LIBS
="$am_save_LIBS"
31327 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31328 echo "${ECHO_T}$am_cv_func_iconv" >&6
31329 if test "$am_cv_func_iconv" = yes; then
31331 cat >>confdefs.h
<<\_ACEOF
31332 #define HAVE_ICONV 1
31335 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31336 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31337 if test "${wx_cv_func_iconv_const+set}" = set; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31340 cat >conftest.
$ac_ext <<_ACEOF
31343 cat confdefs.h
>>conftest.
$ac_ext
31344 cat >>conftest.
$ac_ext <<_ACEOF
31345 /* end confdefs.h. */
31347 #include <stdlib.h>
31353 #if defined(__STDC__) || defined(__cplusplus)
31354 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31367 rm -f conftest.
$ac_objext
31368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31369 (eval $ac_compile) 2>conftest.er1
31371 grep -v '^ *+' conftest.er1
>conftest.err
31373 cat conftest.err
>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); } &&
31376 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31378 (eval $ac_try) 2>&5
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); }; } &&
31382 { ac_try
='test -s conftest.$ac_objext'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; }; then
31388 wx_cv_func_iconv_const
="no"
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.
$ac_ext >&5
31393 wx_cv_func_iconv_const
="yes"
31396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31399 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31400 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31403 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31404 iconv_const
="const"
31408 cat >>confdefs.h
<<_ACEOF
31409 #define ICONV_CONST $iconv_const
31414 if test "$am_cv_lib_iconv" = yes; then
31419 LIBS
="$LIBICONV $LIBS"
31421 ac_cpp
='$CPP $CPPFLAGS'
31422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31427 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31429 for ac_func
in sigaction
31431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31432 echo "$as_me:$LINENO: checking for $ac_func" >&5
31433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31434 if eval "test \"\${$as_ac_var+set}\" = set"; then
31435 echo $ECHO_N "(cached) $ECHO_C" >&6
31437 cat >conftest.
$ac_ext <<_ACEOF
31440 cat confdefs.h
>>conftest.
$ac_ext
31441 cat >>conftest.
$ac_ext <<_ACEOF
31442 /* end confdefs.h. */
31443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31445 #define $ac_func innocuous_$ac_func
31447 /* System header to define __stub macros and hopefully few prototypes,
31448 which can conflict with char $ac_func (); below.
31449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31450 <limits.h> exists even on freestanding compilers. */
31453 # include <limits.h>
31455 # include <assert.h>
31460 /* Override any gcc2 internal prototype to avoid an error. */
31465 /* We use char because int might match the return type of a gcc2
31466 builtin and then its argument prototype would still apply. */
31468 /* The GNU C library defines this for functions which it implements
31469 to always fail with ENOSYS. Some functions are actually named
31470 something starting with __ and the normal name is an alias. */
31471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31474 char (*f) () = $ac_func;
31483 return f != $ac_func;
31488 rm -f conftest.
$ac_objext conftest
$ac_exeext
31489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31490 (eval $ac_link) 2>conftest.er1
31492 grep -v '^ *+' conftest.er1
>conftest.err
31494 cat conftest.err
>&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); } &&
31497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31499 (eval $ac_try) 2>&5
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); }; } &&
31503 { ac_try
='test -s conftest$ac_exeext'
31504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31505 (eval $ac_try) 2>&5
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); }; }; then
31509 eval "$as_ac_var=yes"
31511 echo "$as_me: failed program was:" >&5
31512 sed 's/^/| /' conftest.
$ac_ext >&5
31514 eval "$as_ac_var=no"
31516 rm -f conftest.err conftest.
$ac_objext \
31517 conftest
$ac_exeext conftest.
$ac_ext
31519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31521 if test `eval echo '${'$as_ac_var'}'` = yes; then
31522 cat >>confdefs.h
<<_ACEOF
31523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31530 if test "$ac_cv_func_sigaction" = "no"; then
31531 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31532 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31533 wxUSE_ON_FATAL_EXCEPTION
=no
31536 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31540 ac_cpp
='$CXXCPP $CPPFLAGS'
31541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31546 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31547 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31548 if test "${wx_cv_type_sa_handler+set}" = set; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31552 cat >conftest.
$ac_ext <<_ACEOF
31555 cat confdefs.h
>>conftest.
$ac_ext
31556 cat >>conftest.
$ac_ext <<_ACEOF
31557 /* end confdefs.h. */
31558 #include <signal.h>
31563 extern void testSigHandler(int);
31565 struct sigaction sa;
31566 sa.sa_handler = testSigHandler;
31572 rm -f conftest.
$ac_objext
31573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31574 (eval $ac_compile) 2>conftest.er1
31576 grep -v '^ *+' conftest.er1
>conftest.err
31578 cat conftest.err
>&5
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); } &&
31581 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31583 (eval $ac_try) 2>&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; } &&
31587 { ac_try
='test -s conftest.$ac_objext'
31588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31589 (eval $ac_try) 2>&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; }; then
31594 wx_cv_type_sa_handler
=int
31597 echo "$as_me: failed program was:" >&5
31598 sed 's/^/| /' conftest.
$ac_ext >&5
31601 wx_cv_type_sa_handler
=void
31604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31607 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31608 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31611 ac_cpp
='$CPP $CPPFLAGS'
31612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31617 cat >>confdefs.h
<<_ACEOF
31618 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31624 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31628 ac_cpp
='$CXXCPP $CPPFLAGS'
31629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31634 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31635 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31636 if test "${wx_cv_func_backtrace+set}" = set; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31640 cat >conftest.
$ac_ext <<_ACEOF
31643 cat confdefs.h
>>conftest.
$ac_ext
31644 cat >>conftest.
$ac_ext <<_ACEOF
31645 /* end confdefs.h. */
31646 #include <execinfo.h>
31654 backtrace(trace, 1);
31655 messages = backtrace_symbols(trace, 1);
31661 rm -f conftest.
$ac_objext
31662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31663 (eval $ac_compile) 2>conftest.er1
31665 grep -v '^ *+' conftest.er1
>conftest.err
31667 cat conftest.err
>&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); } &&
31670 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31672 (eval $ac_try) 2>&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); }; } &&
31676 { ac_try
='test -s conftest.$ac_objext'
31677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31678 (eval $ac_try) 2>&5
31680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31681 (exit $ac_status); }; }; then
31682 wx_cv_func_backtrace
=yes
31684 echo "$as_me: failed program was:" >&5
31685 sed 's/^/| /' conftest.
$ac_ext >&5
31687 wx_cv_func_backtrace
=no
31690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31694 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31695 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31698 if test "$wx_cv_func_backtrace" = "no"; then
31699 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31700 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31701 wxUSE_STACKWALKER
=no
31703 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31704 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31705 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31706 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 cat >conftest.
$ac_ext <<_ACEOF
31712 cat confdefs.h
>>conftest.
$ac_ext
31713 cat >>conftest.
$ac_ext <<_ACEOF
31714 /* end confdefs.h. */
31715 #include <cxxabi.h>
31721 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31727 rm -f conftest.
$ac_objext conftest
$ac_exeext
31728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31729 (eval $ac_link) 2>conftest.er1
31731 grep -v '^ *+' conftest.er1
>conftest.err
31733 cat conftest.err
>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); } &&
31736 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31738 (eval $ac_try) 2>&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); }; } &&
31742 { ac_try
='test -s conftest$ac_exeext'
31743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31744 (eval $ac_try) 2>&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); }; }; then
31748 wx_cv_func_cxa_demangle
=yes
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.
$ac_ext >&5
31753 wx_cv_func_cxa_demangle
=no
31756 rm -f conftest.err conftest.
$ac_objext \
31757 conftest
$ac_exeext conftest.
$ac_ext
31761 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31762 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31764 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31765 cat >>confdefs.h
<<\_ACEOF
31766 #define HAVE_CXA_DEMANGLE 1
31773 ac_cpp
='$CPP $CPPFLAGS'
31774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31780 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31781 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31782 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31783 wxUSE_STACKWALKER
=no
31789 for ac_func
in mkstemp mktemp
31791 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31792 echo "$as_me:$LINENO: checking for $ac_func" >&5
31793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31794 if eval "test \"\${$as_ac_var+set}\" = set"; then
31795 echo $ECHO_N "(cached) $ECHO_C" >&6
31797 cat >conftest.
$ac_ext <<_ACEOF
31800 cat confdefs.h
>>conftest.
$ac_ext
31801 cat >>conftest.
$ac_ext <<_ACEOF
31802 /* end confdefs.h. */
31803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31805 #define $ac_func innocuous_$ac_func
31807 /* System header to define __stub macros and hopefully few prototypes,
31808 which can conflict with char $ac_func (); below.
31809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31810 <limits.h> exists even on freestanding compilers. */
31813 # include <limits.h>
31815 # include <assert.h>
31820 /* Override any gcc2 internal prototype to avoid an error. */
31825 /* We use char because int might match the return type of a gcc2
31826 builtin and then its argument prototype would still apply. */
31828 /* The GNU C library defines this for functions which it implements
31829 to always fail with ENOSYS. Some functions are actually named
31830 something starting with __ and the normal name is an alias. */
31831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31834 char (*f) () = $ac_func;
31843 return f != $ac_func;
31848 rm -f conftest.
$ac_objext conftest
$ac_exeext
31849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31850 (eval $ac_link) 2>conftest.er1
31852 grep -v '^ *+' conftest.er1
>conftest.err
31854 cat conftest.err
>&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } &&
31857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859 (eval $ac_try) 2>&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); }; } &&
31863 { ac_try
='test -s conftest$ac_exeext'
31864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31865 (eval $ac_try) 2>&5
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); }; }; then
31869 eval "$as_ac_var=yes"
31871 echo "$as_me: failed program was:" >&5
31872 sed 's/^/| /' conftest.
$ac_ext >&5
31874 eval "$as_ac_var=no"
31876 rm -f conftest.err conftest.
$ac_objext \
31877 conftest
$ac_exeext conftest.
$ac_ext
31879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31881 if test `eval echo '${'$as_ac_var'}'` = yes; then
31882 cat >>confdefs.h
<<_ACEOF
31883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31890 echo "$as_me:$LINENO: checking for statfs" >&5
31891 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31892 if test "${wx_cv_func_statfs+set}" = set; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31895 cat >conftest.
$ac_ext <<_ACEOF
31898 cat confdefs.h
>>conftest.
$ac_ext
31899 cat >>conftest.
$ac_ext <<_ACEOF
31900 /* end confdefs.h. */
31902 #if defined(__BSD__)
31903 #include <sys/param.h>
31904 #include <sys/mount.h>
31906 #include <sys/vfs.h>
31924 rm -f conftest.
$ac_objext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31926 (eval $ac_compile) 2>conftest.er1
31928 grep -v '^ *+' conftest.er1
>conftest.err
31930 cat conftest.err
>&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; } &&
31939 { ac_try
='test -s conftest.$ac_objext'
31940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31941 (eval $ac_try) 2>&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); }; }; then
31946 wx_cv_func_statfs
=yes
31949 echo "$as_me: failed program was:" >&5
31950 sed 's/^/| /' conftest.
$ac_ext >&5
31953 wx_cv_func_statfs
=no
31957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31960 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31961 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31963 if test "$wx_cv_func_statfs" = "yes"; then
31964 wx_cv_type_statvfs_t
="struct statfs"
31965 cat >>confdefs.h
<<\_ACEOF
31966 #define HAVE_STATFS 1
31970 echo "$as_me:$LINENO: checking for statvfs" >&5
31971 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31972 if test "${wx_cv_func_statvfs+set}" = set; then
31973 echo $ECHO_N "(cached) $ECHO_C" >&6
31975 cat >conftest.
$ac_ext <<_ACEOF
31978 cat confdefs.h
>>conftest.
$ac_ext
31979 cat >>conftest.
$ac_ext <<_ACEOF
31980 /* end confdefs.h. */
31982 #include <stddef.h>
31983 #include <sys/statvfs.h>
31989 statvfs("/", NULL);
31995 rm -f conftest.
$ac_objext
31996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31997 (eval $ac_compile) 2>conftest.er1
31999 grep -v '^ *+' conftest.er1
>conftest.err
32001 cat conftest.err
>&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); } &&
32004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006 (eval $ac_try) 2>&5
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); }; } &&
32010 { ac_try
='test -s conftest.$ac_objext'
32011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32012 (eval $ac_try) 2>&5
32014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32015 (exit $ac_status); }; }; then
32016 wx_cv_func_statvfs
=yes
32018 echo "$as_me: failed program was:" >&5
32019 sed 's/^/| /' conftest.
$ac_ext >&5
32021 wx_cv_func_statvfs
=no
32024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32027 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32028 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32030 if test "$wx_cv_func_statvfs" = "yes"; then
32034 ac_cpp
='$CXXCPP $CPPFLAGS'
32035 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32040 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32041 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32042 if test "${wx_cv_type_statvfs_t+set}" = set; then
32043 echo $ECHO_N "(cached) $ECHO_C" >&6
32045 cat >conftest.
$ac_ext <<_ACEOF
32048 cat confdefs.h
>>conftest.
$ac_ext
32049 cat >>conftest.
$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32052 #include <sys/statvfs.h>
32069 rm -f conftest.
$ac_objext
32070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32071 (eval $ac_compile) 2>conftest.er1
32073 grep -v '^ *+' conftest.er1
>conftest.err
32075 cat conftest.err
>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } &&
32078 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_objext'
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
32090 wx_cv_type_statvfs_t
=statvfs_t
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.
$ac_ext >&5
32096 cat >conftest.
$ac_ext <<_ACEOF
32099 cat confdefs.h
>>conftest.
$ac_ext
32100 cat >>conftest.
$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32103 #include <sys/statvfs.h>
32120 rm -f conftest.
$ac_objext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32122 (eval $ac_compile) 2>conftest.er1
32124 grep -v '^ *+' conftest.er1
>conftest.err
32126 cat conftest.err
>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } &&
32129 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131 (eval $ac_try) 2>&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); }; } &&
32135 { ac_try
='test -s conftest.$ac_objext'
32136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32137 (eval $ac_try) 2>&5
32139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32140 (exit $ac_status); }; }; then
32141 wx_cv_type_statvfs_t
="struct statvfs"
32143 echo "$as_me: failed program was:" >&5
32144 sed 's/^/| /' conftest.
$ac_ext >&5
32146 wx_cv_type_statvfs_t
="unknown"
32149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32156 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32157 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32160 ac_cpp
='$CPP $CPPFLAGS'
32161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32166 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32167 cat >>confdefs.h
<<\_ACEOF
32168 #define HAVE_STATVFS 1
32173 wx_cv_type_statvfs_t
="unknown"
32177 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32178 cat >>confdefs.h
<<_ACEOF
32179 #define WX_STATFS_T $wx_cv_type_statvfs_t
32183 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32184 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32187 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32190 for ac_func
in fcntl flock
32192 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32193 echo "$as_me:$LINENO: checking for $ac_func" >&5
32194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32195 if eval "test \"\${$as_ac_var+set}\" = set"; then
32196 echo $ECHO_N "(cached) $ECHO_C" >&6
32198 cat >conftest.
$ac_ext <<_ACEOF
32201 cat confdefs.h
>>conftest.
$ac_ext
32202 cat >>conftest.
$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32206 #define $ac_func innocuous_$ac_func
32208 /* System header to define __stub macros and hopefully few prototypes,
32209 which can conflict with char $ac_func (); below.
32210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32211 <limits.h> exists even on freestanding compilers. */
32214 # include <limits.h>
32216 # include <assert.h>
32221 /* Override any gcc2 internal prototype to avoid an error. */
32226 /* We use char because int might match the return type of a gcc2
32227 builtin and then its argument prototype would still apply. */
32229 /* The GNU C library defines this for functions which it implements
32230 to always fail with ENOSYS. Some functions are actually named
32231 something starting with __ and the normal name is an alias. */
32232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32235 char (*f) () = $ac_func;
32244 return f != $ac_func;
32249 rm -f conftest.
$ac_objext conftest
$ac_exeext
32250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32251 (eval $ac_link) 2>conftest.er1
32253 grep -v '^ *+' conftest.er1
>conftest.err
32255 cat conftest.err
>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } &&
32258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try
='test -s conftest$ac_exeext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32270 eval "$as_ac_var=yes"
32272 echo "$as_me: failed program was:" >&5
32273 sed 's/^/| /' conftest.
$ac_ext >&5
32275 eval "$as_ac_var=no"
32277 rm -f conftest.err conftest.
$ac_objext \
32278 conftest
$ac_exeext conftest.
$ac_ext
32280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32282 if test `eval echo '${'$as_ac_var'}'` = yes; then
32283 cat >>confdefs.h
<<_ACEOF
32284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32291 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32292 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32293 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32294 wxUSE_SNGLINST_CHECKER
=no
32299 for ac_func
in timegm
32301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32302 echo "$as_me:$LINENO: checking for $ac_func" >&5
32303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32304 if eval "test \"\${$as_ac_var+set}\" = set"; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32307 cat >conftest.
$ac_ext <<_ACEOF
32310 cat confdefs.h
>>conftest.
$ac_ext
32311 cat >>conftest.
$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32315 #define $ac_func innocuous_$ac_func
32317 /* System header to define __stub macros and hopefully few prototypes,
32318 which can conflict with char $ac_func (); below.
32319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32320 <limits.h> exists even on freestanding compilers. */
32323 # include <limits.h>
32325 # include <assert.h>
32330 /* Override any gcc2 internal prototype to avoid an error. */
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32338 /* The GNU C library defines this for functions which it implements
32339 to always fail with ENOSYS. Some functions are actually named
32340 something starting with __ and the normal name is an alias. */
32341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32344 char (*f) () = $ac_func;
32353 return f != $ac_func;
32358 rm -f conftest.
$ac_objext conftest
$ac_exeext
32359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32360 (eval $ac_link) 2>conftest.er1
32362 grep -v '^ *+' conftest.er1
>conftest.err
32364 cat conftest.err
>&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } &&
32367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32369 (eval $ac_try) 2>&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); }; } &&
32373 { ac_try
='test -s conftest$ac_exeext'
32374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32375 (eval $ac_try) 2>&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); }; }; then
32379 eval "$as_ac_var=yes"
32381 echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.
$ac_ext >&5
32384 eval "$as_ac_var=no"
32386 rm -f conftest.err conftest.
$ac_objext \
32387 conftest
$ac_exeext conftest.
$ac_ext
32389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32391 if test `eval echo '${'$as_ac_var'}'` = yes; then
32392 cat >>confdefs.h
<<_ACEOF
32393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32402 for ac_func
in putenv setenv
32404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32405 echo "$as_me:$LINENO: checking for $ac_func" >&5
32406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32407 if eval "test \"\${$as_ac_var+set}\" = set"; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 cat >conftest.
$ac_ext <<_ACEOF
32413 cat confdefs.h
>>conftest.
$ac_ext
32414 cat >>conftest.
$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32418 #define $ac_func innocuous_$ac_func
32420 /* System header to define __stub macros and hopefully few prototypes,
32421 which can conflict with char $ac_func (); below.
32422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32423 <limits.h> exists even on freestanding compilers. */
32426 # include <limits.h>
32428 # include <assert.h>
32433 /* Override any gcc2 internal prototype to avoid an error. */
32438 /* We use char because int might match the return type of a gcc2
32439 builtin and then its argument prototype would still apply. */
32441 /* The GNU C library defines this for functions which it implements
32442 to always fail with ENOSYS. Some functions are actually named
32443 something starting with __ and the normal name is an alias. */
32444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32447 char (*f) () = $ac_func;
32456 return f != $ac_func;
32461 rm -f conftest.
$ac_objext conftest
$ac_exeext
32462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32463 (eval $ac_link) 2>conftest.er1
32465 grep -v '^ *+' conftest.er1
>conftest.err
32467 cat conftest.err
>&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); } &&
32470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; } &&
32476 { ac_try
='test -s conftest$ac_exeext'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; }; then
32482 eval "$as_ac_var=yes"
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.
$ac_ext >&5
32487 eval "$as_ac_var=no"
32489 rm -f conftest.err conftest.
$ac_objext \
32490 conftest
$ac_exeext conftest.
$ac_ext
32492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32494 if test `eval echo '${'$as_ac_var'}'` = yes; then
32495 cat >>confdefs.h
<<_ACEOF
32496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32503 HAVE_SOME_SLEEP_FUNC
=0
32504 if test "$USE_BEOS" = 1; then
32505 cat >>confdefs.h
<<\_ACEOF
32506 #define HAVE_SLEEP 1
32509 HAVE_SOME_SLEEP_FUNC
=1
32512 if test "$USE_DARWIN" = 1; then
32513 cat >>confdefs.h
<<\_ACEOF
32514 #define HAVE_USLEEP 1
32517 HAVE_SOME_SLEEP_FUNC
=1
32520 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32523 for ac_func
in nanosleep
32525 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32526 echo "$as_me:$LINENO: checking for $ac_func" >&5
32527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32528 if eval "test \"\${$as_ac_var+set}\" = set"; then
32529 echo $ECHO_N "(cached) $ECHO_C" >&6
32531 cat >conftest.
$ac_ext <<_ACEOF
32534 cat confdefs.h
>>conftest.
$ac_ext
32535 cat >>conftest.
$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32539 #define $ac_func innocuous_$ac_func
32541 /* System header to define __stub macros and hopefully few prototypes,
32542 which can conflict with char $ac_func (); below.
32543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32544 <limits.h> exists even on freestanding compilers. */
32547 # include <limits.h>
32549 # include <assert.h>
32554 /* Override any gcc2 internal prototype to avoid an error. */
32559 /* We use char because int might match the return type of a gcc2
32560 builtin and then its argument prototype would still apply. */
32562 /* The GNU C library defines this for functions which it implements
32563 to always fail with ENOSYS. Some functions are actually named
32564 something starting with __ and the normal name is an alias. */
32565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32568 char (*f) () = $ac_func;
32577 return f != $ac_func;
32582 rm -f conftest.
$ac_objext conftest
$ac_exeext
32583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32584 (eval $ac_link) 2>conftest.er1
32586 grep -v '^ *+' conftest.er1
>conftest.err
32588 cat conftest.err
>&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); } &&
32591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32593 (eval $ac_try) 2>&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); }; } &&
32597 { ac_try
='test -s conftest$ac_exeext'
32598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599 (eval $ac_try) 2>&5
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); }; }; then
32603 eval "$as_ac_var=yes"
32605 echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.
$ac_ext >&5
32608 eval "$as_ac_var=no"
32610 rm -f conftest.err conftest.
$ac_objext \
32611 conftest
$ac_exeext conftest.
$ac_ext
32613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32615 if test `eval echo '${'$as_ac_var'}'` = yes; then
32616 cat >>confdefs.h
<<_ACEOF
32617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32619 cat >>confdefs.h
<<\_ACEOF
32620 #define HAVE_NANOSLEEP 1
32625 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32626 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32627 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32630 ac_check_lib_save_LIBS
=$LIBS
32631 LIBS
="-lposix4 $LIBS"
32632 cat >conftest.
$ac_ext <<_ACEOF
32635 cat confdefs.h
>>conftest.
$ac_ext
32636 cat >>conftest.
$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32639 /* Override any gcc2 internal prototype to avoid an error. */
32643 /* We use char because int might match the return type of a gcc2
32644 builtin and then its argument prototype would still apply. */
32654 rm -f conftest.
$ac_objext conftest
$ac_exeext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32656 (eval $ac_link) 2>conftest.er1
32658 grep -v '^ *+' conftest.er1
>conftest.err
32660 cat conftest.err
>&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; } &&
32669 { ac_try
='test -s conftest$ac_exeext'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; }; then
32675 ac_cv_lib_posix4_nanosleep
=yes
32677 echo "$as_me: failed program was:" >&5
32678 sed 's/^/| /' conftest.
$ac_ext >&5
32680 ac_cv_lib_posix4_nanosleep
=no
32682 rm -f conftest.err conftest.
$ac_objext \
32683 conftest
$ac_exeext conftest.
$ac_ext
32684 LIBS
=$ac_check_lib_save_LIBS
32686 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32687 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32688 if test $ac_cv_lib_posix4_nanosleep = yes; then
32690 cat >>confdefs.h
<<\_ACEOF
32691 #define HAVE_NANOSLEEP 1
32694 POSIX4_LINK
=" -lposix4"
32699 for ac_func
in usleep
32701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32702 echo "$as_me:$LINENO: checking for $ac_func" >&5
32703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32704 if eval "test \"\${$as_ac_var+set}\" = set"; then
32705 echo $ECHO_N "(cached) $ECHO_C" >&6
32707 cat >conftest.
$ac_ext <<_ACEOF
32710 cat confdefs.h
>>conftest.
$ac_ext
32711 cat >>conftest.
$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32715 #define $ac_func innocuous_$ac_func
32717 /* System header to define __stub macros and hopefully few prototypes,
32718 which can conflict with char $ac_func (); below.
32719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32720 <limits.h> exists even on freestanding compilers. */
32723 # include <limits.h>
32725 # include <assert.h>
32730 /* Override any gcc2 internal prototype to avoid an error. */
32735 /* We use char because int might match the return type of a gcc2
32736 builtin and then its argument prototype would still apply. */
32738 /* The GNU C library defines this for functions which it implements
32739 to always fail with ENOSYS. Some functions are actually named
32740 something starting with __ and the normal name is an alias. */
32741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32744 char (*f) () = $ac_func;
32753 return f != $ac_func;
32758 rm -f conftest.
$ac_objext conftest
$ac_exeext
32759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32760 (eval $ac_link) 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" || test ! -s conftest.err'
32768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32769 (eval $ac_try) 2>&5
32771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32772 (exit $ac_status); }; } &&
32773 { ac_try
='test -s conftest$ac_exeext'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; }; then
32779 eval "$as_ac_var=yes"
32781 echo "$as_me: failed program was:" >&5
32782 sed 's/^/| /' conftest.
$ac_ext >&5
32784 eval "$as_ac_var=no"
32786 rm -f conftest.err conftest.
$ac_objext \
32787 conftest
$ac_exeext conftest.
$ac_ext
32789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32791 if test `eval echo '${'$as_ac_var'}'` = yes; then
32792 cat >>confdefs.h
<<_ACEOF
32793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32795 cat >>confdefs.h
<<\_ACEOF
32796 #define HAVE_USLEEP 1
32800 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32801 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32819 for ac_func
in uname gethostname
32821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32822 echo "$as_me:$LINENO: checking for $ac_func" >&5
32823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32824 if eval "test \"\${$as_ac_var+set}\" = set"; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32827 cat >conftest.
$ac_ext <<_ACEOF
32830 cat confdefs.h
>>conftest.
$ac_ext
32831 cat >>conftest.
$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32835 #define $ac_func innocuous_$ac_func
32837 /* System header to define __stub macros and hopefully few prototypes,
32838 which can conflict with char $ac_func (); below.
32839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32840 <limits.h> exists even on freestanding compilers. */
32843 # include <limits.h>
32845 # include <assert.h>
32850 /* Override any gcc2 internal prototype to avoid an error. */
32855 /* We use char because int might match the return type of a gcc2
32856 builtin and then its argument prototype would still apply. */
32858 /* The GNU C library defines this for functions which it implements
32859 to always fail with ENOSYS. Some functions are actually named
32860 something starting with __ and the normal name is an alias. */
32861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32864 char (*f) () = $ac_func;
32873 return f != $ac_func;
32878 rm -f conftest.
$ac_objext conftest
$ac_exeext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32880 (eval $ac_link) 2>conftest.er1
32882 grep -v '^ *+' conftest.er1
>conftest.err
32884 cat conftest.err
>&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } &&
32887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; } &&
32893 { ac_try
='test -s conftest$ac_exeext'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; }; then
32899 eval "$as_ac_var=yes"
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.
$ac_ext >&5
32904 eval "$as_ac_var=no"
32906 rm -f conftest.err conftest.
$ac_objext \
32907 conftest
$ac_exeext conftest.
$ac_ext
32909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32911 if test `eval echo '${'$as_ac_var'}'` = yes; then
32912 cat >>confdefs.h
<<_ACEOF
32913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32923 ac_cpp
='$CXXCPP $CPPFLAGS'
32924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32930 for ac_func
in strtok_r
32932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32933 echo "$as_me:$LINENO: checking for $ac_func" >&5
32934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32935 if eval "test \"\${$as_ac_var+set}\" = set"; then
32936 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 cat >conftest.
$ac_ext <<_ACEOF
32941 cat confdefs.h
>>conftest.
$ac_ext
32942 cat >>conftest.
$ac_ext <<_ACEOF
32943 /* end confdefs.h. */
32944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32946 #define $ac_func innocuous_$ac_func
32948 /* System header to define __stub macros and hopefully few prototypes,
32949 which can conflict with char $ac_func (); below.
32950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32951 <limits.h> exists even on freestanding compilers. */
32954 # include <limits.h>
32956 # include <assert.h>
32961 /* Override any gcc2 internal prototype to avoid an error. */
32966 /* We use char because int might match the return type of a gcc2
32967 builtin and then its argument prototype would still apply. */
32969 /* The GNU C library defines this for functions which it implements
32970 to always fail with ENOSYS. Some functions are actually named
32971 something starting with __ and the normal name is an alias. */
32972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32975 char (*f) () = $ac_func;
32984 return f != $ac_func;
32989 rm -f conftest.
$ac_objext conftest
$ac_exeext
32990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32991 (eval $ac_link) 2>conftest.er1
32993 grep -v '^ *+' conftest.er1
>conftest.err
32995 cat conftest.err
>&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); } &&
32998 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33000 (eval $ac_try) 2>&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); }; } &&
33004 { ac_try
='test -s conftest$ac_exeext'
33005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006 (eval $ac_try) 2>&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; }; then
33010 eval "$as_ac_var=yes"
33012 echo "$as_me: failed program was:" >&5
33013 sed 's/^/| /' conftest.
$ac_ext >&5
33015 eval "$as_ac_var=no"
33017 rm -f conftest.err conftest.
$ac_objext \
33018 conftest
$ac_exeext conftest.
$ac_ext
33020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33022 if test `eval echo '${'$as_ac_var'}'` = yes; then
33023 cat >>confdefs.h
<<_ACEOF
33024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33032 ac_cpp
='$CPP $CPPFLAGS'
33033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33040 for ac_func
in inet_addr
33042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33043 echo "$as_me:$LINENO: checking for $ac_func" >&5
33044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33045 if eval "test \"\${$as_ac_var+set}\" = set"; then
33046 echo $ECHO_N "(cached) $ECHO_C" >&6
33048 cat >conftest.
$ac_ext <<_ACEOF
33051 cat confdefs.h
>>conftest.
$ac_ext
33052 cat >>conftest.
$ac_ext <<_ACEOF
33053 /* end confdefs.h. */
33054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33056 #define $ac_func innocuous_$ac_func
33058 /* System header to define __stub macros and hopefully few prototypes,
33059 which can conflict with char $ac_func (); below.
33060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33061 <limits.h> exists even on freestanding compilers. */
33064 # include <limits.h>
33066 # include <assert.h>
33071 /* Override any gcc2 internal prototype to avoid an error. */
33076 /* We use char because int might match the return type of a gcc2
33077 builtin and then its argument prototype would still apply. */
33079 /* The GNU C library defines this for functions which it implements
33080 to always fail with ENOSYS. Some functions are actually named
33081 something starting with __ and the normal name is an alias. */
33082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33085 char (*f) () = $ac_func;
33094 return f != $ac_func;
33099 rm -f conftest.
$ac_objext conftest
$ac_exeext
33100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33101 (eval $ac_link) 2>conftest.er1
33103 grep -v '^ *+' conftest.er1
>conftest.err
33105 cat conftest.err
>&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } &&
33108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; } &&
33114 { ac_try
='test -s conftest$ac_exeext'
33115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33116 (eval $ac_try) 2>&5
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); }; }; then
33120 eval "$as_ac_var=yes"
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.
$ac_ext >&5
33125 eval "$as_ac_var=no"
33127 rm -f conftest.err conftest.
$ac_objext \
33128 conftest
$ac_exeext conftest.
$ac_ext
33130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33132 if test `eval echo '${'$as_ac_var'}'` = yes; then
33133 cat >>confdefs.h
<<_ACEOF
33134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33136 cat >>confdefs.h
<<\_ACEOF
33137 #define HAVE_INET_ADDR 1
33142 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33143 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33144 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33145 echo $ECHO_N "(cached) $ECHO_C" >&6
33147 ac_check_lib_save_LIBS
=$LIBS
33149 cat >conftest.
$ac_ext <<_ACEOF
33152 cat confdefs.h
>>conftest.
$ac_ext
33153 cat >>conftest.
$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33156 /* Override any gcc2 internal prototype to avoid an error. */
33160 /* We use char because int might match the return type of a gcc2
33161 builtin and then its argument prototype would still apply. */
33171 rm -f conftest.
$ac_objext conftest
$ac_exeext
33172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33173 (eval $ac_link) 2>conftest.er1
33175 grep -v '^ *+' conftest.er1
>conftest.err
33177 cat conftest.err
>&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); } &&
33180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; } &&
33186 { ac_try
='test -s conftest$ac_exeext'
33187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33188 (eval $ac_try) 2>&5
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); }; }; then
33192 ac_cv_lib_nsl_inet_addr
=yes
33194 echo "$as_me: failed program was:" >&5
33195 sed 's/^/| /' conftest.
$ac_ext >&5
33197 ac_cv_lib_nsl_inet_addr
=no
33199 rm -f conftest.err conftest.
$ac_objext \
33200 conftest
$ac_exeext conftest.
$ac_ext
33201 LIBS
=$ac_check_lib_save_LIBS
33203 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33204 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33205 if test $ac_cv_lib_nsl_inet_addr = yes; then
33209 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33210 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33211 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33212 echo $ECHO_N "(cached) $ECHO_C" >&6
33214 ac_check_lib_save_LIBS
=$LIBS
33215 LIBS
="-lresolv $LIBS"
33216 cat >conftest.
$ac_ext <<_ACEOF
33219 cat confdefs.h
>>conftest.
$ac_ext
33220 cat >>conftest.
$ac_ext <<_ACEOF
33221 /* end confdefs.h. */
33223 /* Override any gcc2 internal prototype to avoid an error. */
33227 /* We use char because int might match the return type of a gcc2
33228 builtin and then its argument prototype would still apply. */
33238 rm -f conftest.
$ac_objext conftest
$ac_exeext
33239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33240 (eval $ac_link) 2>conftest.er1
33242 grep -v '^ *+' conftest.er1
>conftest.err
33244 cat conftest.err
>&5
33245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33246 (exit $ac_status); } &&
33247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33249 (eval $ac_try) 2>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); }; } &&
33253 { ac_try
='test -s conftest$ac_exeext'
33254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33255 (eval $ac_try) 2>&5
33257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33258 (exit $ac_status); }; }; then
33259 ac_cv_lib_resolv_inet_addr
=yes
33261 echo "$as_me: failed program was:" >&5
33262 sed 's/^/| /' conftest.
$ac_ext >&5
33264 ac_cv_lib_resolv_inet_addr
=no
33266 rm -f conftest.err conftest.
$ac_objext \
33267 conftest
$ac_exeext conftest.
$ac_ext
33268 LIBS
=$ac_check_lib_save_LIBS
33270 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33271 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33272 if test $ac_cv_lib_resolv_inet_addr = yes; then
33276 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33277 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33278 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33279 echo $ECHO_N "(cached) $ECHO_C" >&6
33281 ac_check_lib_save_LIBS
=$LIBS
33282 LIBS
="-lsocket $LIBS"
33283 cat >conftest.
$ac_ext <<_ACEOF
33286 cat confdefs.h
>>conftest.
$ac_ext
33287 cat >>conftest.
$ac_ext <<_ACEOF
33288 /* end confdefs.h. */
33290 /* Override any gcc2 internal prototype to avoid an error. */
33294 /* We use char because int might match the return type of a gcc2
33295 builtin and then its argument prototype would still apply. */
33305 rm -f conftest.
$ac_objext conftest
$ac_exeext
33306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33307 (eval $ac_link) 2>conftest.er1
33309 grep -v '^ *+' conftest.er1
>conftest.err
33311 cat conftest.err
>&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); } &&
33314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316 (eval $ac_try) 2>&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); }; } &&
33320 { ac_try
='test -s conftest$ac_exeext'
33321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33322 (eval $ac_try) 2>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); }; }; then
33326 ac_cv_lib_socket_inet_addr
=yes
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.
$ac_ext >&5
33331 ac_cv_lib_socket_inet_addr
=no
33333 rm -f conftest.err conftest.
$ac_objext \
33334 conftest
$ac_exeext conftest.
$ac_ext
33335 LIBS
=$ac_check_lib_save_LIBS
33337 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33338 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33339 if test $ac_cv_lib_socket_inet_addr = yes; then
33359 for ac_func
in inet_aton
33361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33362 echo "$as_me:$LINENO: checking for $ac_func" >&5
33363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33364 if eval "test \"\${$as_ac_var+set}\" = set"; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 cat >conftest.
$ac_ext <<_ACEOF
33370 cat confdefs.h
>>conftest.
$ac_ext
33371 cat >>conftest.
$ac_ext <<_ACEOF
33372 /* end confdefs.h. */
33373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33375 #define $ac_func innocuous_$ac_func
33377 /* System header to define __stub macros and hopefully few prototypes,
33378 which can conflict with char $ac_func (); below.
33379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33380 <limits.h> exists even on freestanding compilers. */
33383 # include <limits.h>
33385 # include <assert.h>
33390 /* Override any gcc2 internal prototype to avoid an error. */
33395 /* We use char because int might match the return type of a gcc2
33396 builtin and then its argument prototype would still apply. */
33398 /* The GNU C library defines this for functions which it implements
33399 to always fail with ENOSYS. Some functions are actually named
33400 something starting with __ and the normal name is an alias. */
33401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33404 char (*f) () = $ac_func;
33413 return f != $ac_func;
33418 rm -f conftest.
$ac_objext conftest
$ac_exeext
33419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33420 (eval $ac_link) 2>conftest.er1
33422 grep -v '^ *+' conftest.er1
>conftest.err
33424 cat conftest.err
>&5
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); } &&
33427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33429 (eval $ac_try) 2>&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); }; } &&
33433 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33439 eval "$as_ac_var=yes"
33441 echo "$as_me: failed program was:" >&5
33442 sed 's/^/| /' conftest.
$ac_ext >&5
33444 eval "$as_ac_var=no"
33446 rm -f conftest.err conftest.
$ac_objext \
33447 conftest
$ac_exeext conftest.
$ac_ext
33449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33451 if test `eval echo '${'$as_ac_var'}'` = yes; then
33452 cat >>confdefs.h
<<_ACEOF
33453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33455 cat >>confdefs.h
<<\_ACEOF
33456 #define HAVE_INET_ATON 1
33461 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33462 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33463 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33464 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33467 ac_check_lib_save_LIBS
=$LIBS
33468 LIBS
="-l$INET_LINK $LIBS"
33469 cat >conftest.
$ac_ext <<_ACEOF
33472 cat confdefs.h
>>conftest.
$ac_ext
33473 cat >>conftest.
$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33476 /* Override any gcc2 internal prototype to avoid an error. */
33480 /* We use char because int might match the return type of a gcc2
33481 builtin and then its argument prototype would still apply. */
33491 rm -f conftest.
$ac_objext conftest
$ac_exeext
33492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33493 (eval $ac_link) 2>conftest.er1
33495 grep -v '^ *+' conftest.er1
>conftest.err
33497 cat conftest.err
>&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); } &&
33500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33502 (eval $ac_try) 2>&5
33504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33505 (exit $ac_status); }; } &&
33506 { ac_try
='test -s conftest$ac_exeext'
33507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33508 (eval $ac_try) 2>&5
33510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33511 (exit $ac_status); }; }; then
33512 eval "$as_ac_Lib=yes"
33514 echo "$as_me: failed program was:" >&5
33515 sed 's/^/| /' conftest.
$ac_ext >&5
33517 eval "$as_ac_Lib=no"
33519 rm -f conftest.err conftest.
$ac_objext \
33520 conftest
$ac_exeext conftest.
$ac_ext
33521 LIBS
=$ac_check_lib_save_LIBS
33523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33524 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33525 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33526 cat >>confdefs.h
<<\_ACEOF
33527 #define HAVE_INET_ATON 1
33537 if test "x$INET_LINK" != "x"; then
33538 cat >>confdefs.h
<<\_ACEOF
33539 #define HAVE_INET_ADDR 1
33542 INET_LINK
=" -l$INET_LINK"
33550 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33551 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33552 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33553 echo $ECHO_N "(cached) $ECHO_C" >&6
33555 ac_check_lib_save_LIBS
=$LIBS
33557 cat >conftest.
$ac_ext <<_ACEOF
33560 cat confdefs.h
>>conftest.
$ac_ext
33561 cat >>conftest.
$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33564 /* Override any gcc2 internal prototype to avoid an error. */
33568 /* We use char because int might match the return type of a gcc2
33569 builtin and then its argument prototype would still apply. */
33579 rm -f conftest.
$ac_objext conftest
$ac_exeext
33580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33581 (eval $ac_link) 2>conftest.er1
33583 grep -v '^ *+' conftest.er1
>conftest.err
33585 cat conftest.err
>&5
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } &&
33588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; } &&
33594 { ac_try
='test -s conftest$ac_exeext'
33595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33596 (eval $ac_try) 2>&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); }; }; then
33600 ac_cv_lib_esd_esd_close
=yes
33602 echo "$as_me: failed program was:" >&5
33603 sed 's/^/| /' conftest.
$ac_ext >&5
33605 ac_cv_lib_esd_esd_close
=no
33607 rm -f conftest.err conftest.
$ac_objext \
33608 conftest
$ac_exeext conftest.
$ac_ext
33609 LIBS
=$ac_check_lib_save_LIBS
33611 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33612 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33613 if test $ac_cv_lib_esd_esd_close = yes; then
33616 for ac_header
in esd.h
33618 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33620 echo "$as_me:$LINENO: checking for $ac_header" >&5
33621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33623 echo $ECHO_N "(cached) $ECHO_C" >&6
33625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33628 # Is the header compilable?
33629 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33630 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33631 cat >conftest.
$ac_ext <<_ACEOF
33634 cat confdefs.h
>>conftest.
$ac_ext
33635 cat >>conftest.
$ac_ext <<_ACEOF
33636 /* end confdefs.h. */
33637 $ac_includes_default
33638 #include <$ac_header>
33640 rm -f conftest.
$ac_objext
33641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33642 (eval $ac_compile) 2>conftest.er1
33644 grep -v '^ *+' conftest.er1
>conftest.err
33646 cat conftest.err
>&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); } &&
33649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; } &&
33655 { ac_try
='test -s conftest.$ac_objext'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; }; then
33661 ac_header_compiler
=yes
33663 echo "$as_me: failed program was:" >&5
33664 sed 's/^/| /' conftest.
$ac_ext >&5
33666 ac_header_compiler
=no
33668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33670 echo "${ECHO_T}$ac_header_compiler" >&6
33672 # Is the header present?
33673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33675 cat >conftest.
$ac_ext <<_ACEOF
33678 cat confdefs.h
>>conftest.
$ac_ext
33679 cat >>conftest.
$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33681 #include <$ac_header>
33683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33686 grep -v '^ *+' conftest.er1
>conftest.err
33688 cat conftest.err
>&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); } >/dev
/null
; then
33691 if test -s conftest.err
; then
33692 ac_cpp_err
=$ac_c_preproc_warn_flag
33693 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33700 if test -z "$ac_cpp_err"; then
33701 ac_header_preproc
=yes
33703 echo "$as_me: failed program was:" >&5
33704 sed 's/^/| /' conftest.
$ac_ext >&5
33706 ac_header_preproc
=no
33708 rm -f conftest.err conftest.
$ac_ext
33709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33710 echo "${ECHO_T}$ac_header_preproc" >&6
33712 # So? What about this header?
33713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33715 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33719 ac_header_preproc
=yes
33722 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33724 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33726 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33728 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33729 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33732 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33736 ## ----------------------------------------- ##
33737 ## Report this to wx-dev@lists.wxwidgets.org ##
33738 ## ----------------------------------------- ##
33741 sed "s/^/$as_me: WARNING: /" >&2
33744 echo "$as_me:$LINENO: checking for $ac_header" >&5
33745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33747 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 eval "$as_ac_Header=\$ac_header_preproc"
33751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33756 cat >>confdefs.h
<<_ACEOF
33757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33760 EXTRALIBS_ESD
="-lesd"
33771 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33772 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33773 cat >conftest.
$ac_ext <<_ACEOF
33776 cat confdefs.h
>>conftest.
$ac_ext
33777 cat >>conftest.
$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33780 #include <linux/cdrom.h>
33783 #include <sys/cdio.h>
33789 struct cdrom_tocentry entry, old_entry;
33794 rm -f conftest.
$ac_objext
33795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33796 (eval $ac_compile) 2>conftest.er1
33798 grep -v '^ *+' conftest.er1
>conftest.err
33800 cat conftest.err
>&5
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); } &&
33803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33805 (eval $ac_try) 2>&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); }; } &&
33809 { ac_try
='test -s conftest.$ac_objext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 echo "$as_me:$LINENO: result: yes" >&5
33816 echo "${ECHO_T}yes" >&6
33817 cat >>confdefs.h
<<\_ACEOF
33818 #define HAVE_KNOWN_CDROM_INTERFACE 1
33822 echo "$as_me: failed program was:" >&5
33823 sed 's/^/| /' conftest.
$ac_ext >&5
33825 echo "$as_me:$LINENO: result: no" >&5
33826 echo "${ECHO_T}no" >&6
33828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33831 cat >confcache
<<\_ACEOF
33832 # This file is a shell script that caches the results of configure
33833 # tests run on this system so they can be shared between configure
33834 # scripts and configure runs, see configure's option --config-cache.
33835 # It is not useful on other systems. If it contains results you don't
33836 # want to keep, you may remove or edit it.
33838 # config.status only pays attention to the cache file if you give it
33839 # the --recheck option to rerun configure.
33841 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33842 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33843 # following values.
33847 # The following way of writing the cache mishandles newlines in values,
33848 # but we know of no workaround that is simple, portable, and efficient.
33849 # So, don't put newlines in cache variables' values.
33850 # Ultrix sh set writes to stderr and can't be redirected directly,
33851 # and sets the high bit in the cache file unless we assign to the vars.
33854 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33856 # `set' does not quote correctly, so add quotes (double-quote
33857 # substitution turns \\\\ into \\, and sed turns \\ into \).
33860 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33863 # `set' quotes correctly as required by POSIX, so do not add quotes.
33865 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33872 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33874 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33876 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33877 if test -w $cache_file; then
33878 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33879 cat confcache
>$cache_file
33881 echo "not updating unwritable cache $cache_file"
33888 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33894 if test "$wxUSE_THREADS" = "yes" ; then
33895 if test "$USE_BEOS" = 1; then
33896 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33897 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33902 if test "$wxUSE_THREADS" = "yes" ; then
33905 THREAD_OPTS
="-pthread"
33907 *-*-solaris2* | *-*-sunos4* )
33908 if test "x$GCC" = "xyes"; then
33909 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33911 THREAD_OPTS
="-mt $THREAD_OPTS"
33915 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33917 *-*-darwin* | *-*-cygwin* )
33921 THREAD_OPTS
="pthreads"
33924 if test "x$GCC" != "xyes"; then
33930 if test "x$GCC" = "xyes"; then
33936 if test "x$GCC" != "xyes"; then
33937 THREAD_OPTS
="-Ethread"
33942 THREAD_OPTS
="$THREAD_OPTS pthread none"
33945 for flag
in $THREAD_OPTS; do
33948 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33949 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33953 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33954 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33955 THREADS_CFLAGS
="$flag"
33959 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33960 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33961 THREADS_LINK
="-l$flag"
33966 save_CFLAGS
="$CFLAGS"
33967 LIBS
="$THREADS_LINK $LIBS"
33968 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33970 cat >conftest.
$ac_ext <<_ACEOF
33973 cat confdefs.h
>>conftest.
$ac_ext
33974 cat >>conftest.
$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33976 #include <pthread.h>
33980 pthread_create(0,0,0,0);
33985 rm -f conftest.
$ac_objext conftest
$ac_exeext
33986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33987 (eval $ac_link) 2>conftest.er1
33989 grep -v '^ *+' conftest.er1
>conftest.err
33991 cat conftest.err
>&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); } &&
33994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33996 (eval $ac_try) 2>&5
33998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33999 (exit $ac_status); }; } &&
34000 { ac_try
='test -s conftest$ac_exeext'
34001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34002 (eval $ac_try) 2>&5
34004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005 (exit $ac_status); }; }; then
34008 echo "$as_me: failed program was:" >&5
34009 sed 's/^/| /' conftest.
$ac_ext >&5
34012 rm -f conftest.err conftest.
$ac_objext \
34013 conftest
$ac_exeext conftest.
$ac_ext
34016 CFLAGS
="$save_CFLAGS"
34018 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34019 echo "${ECHO_T}$THREADS_OK" >&6
34020 if test "x$THREADS_OK" = "xyes"; then
34028 if test "x$THREADS_OK" != "xyes"; then
34030 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34031 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34033 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34034 LIBS
="$THREADS_LINK $LIBS"
34036 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34037 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34041 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34042 flag
="-D_THREAD_SAFE"
34045 flag
="-D_THREAD_SAFE"
34048 flag
="-D_REENTRANT"
34049 if test "x$GCC" != "xyes"; then
34050 flag
="$flag -D_RWSTD_MULTI_THREAD"
34053 *solaris
* | alpha
*-osf*)
34054 flag
="-D_REENTRANT"
34057 echo "$as_me:$LINENO: result: ${flag}" >&5
34058 echo "${ECHO_T}${flag}" >&6
34059 if test "x$flag" != xno
; then
34060 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34063 if test "x$THREADS_CFLAGS" != "x"; then
34064 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34065 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34070 if test "$wxUSE_THREADS" = "yes" ; then
34072 for ac_func
in thr_setconcurrency
34074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34075 echo "$as_me:$LINENO: checking for $ac_func" >&5
34076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34077 if eval "test \"\${$as_ac_var+set}\" = set"; then
34078 echo $ECHO_N "(cached) $ECHO_C" >&6
34080 cat >conftest.
$ac_ext <<_ACEOF
34083 cat confdefs.h
>>conftest.
$ac_ext
34084 cat >>conftest.
$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34088 #define $ac_func innocuous_$ac_func
34090 /* System header to define __stub macros and hopefully few prototypes,
34091 which can conflict with char $ac_func (); below.
34092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34093 <limits.h> exists even on freestanding compilers. */
34096 # include <limits.h>
34098 # include <assert.h>
34103 /* Override any gcc2 internal prototype to avoid an error. */
34108 /* We use char because int might match the return type of a gcc2
34109 builtin and then its argument prototype would still apply. */
34111 /* The GNU C library defines this for functions which it implements
34112 to always fail with ENOSYS. Some functions are actually named
34113 something starting with __ and the normal name is an alias. */
34114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34117 char (*f) () = $ac_func;
34126 return f != $ac_func;
34131 rm -f conftest.
$ac_objext conftest
$ac_exeext
34132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34133 (eval $ac_link) 2>conftest.er1
34135 grep -v '^ *+' conftest.er1
>conftest.err
34137 cat conftest.err
>&5
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); } &&
34140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; } &&
34146 { ac_try
='test -s conftest$ac_exeext'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; }; then
34152 eval "$as_ac_var=yes"
34154 echo "$as_me: failed program was:" >&5
34155 sed 's/^/| /' conftest.
$ac_ext >&5
34157 eval "$as_ac_var=no"
34159 rm -f conftest.err conftest.
$ac_objext \
34160 conftest
$ac_exeext conftest.
$ac_ext
34162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34164 if test `eval echo '${'$as_ac_var'}'` = yes; then
34165 cat >>confdefs.h
<<_ACEOF
34166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34174 for ac_header
in sched.h
34176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34178 echo "$as_me:$LINENO: checking for $ac_header" >&5
34179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34181 echo $ECHO_N "(cached) $ECHO_C" >&6
34183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34186 # Is the header compilable?
34187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34189 cat >conftest.
$ac_ext <<_ACEOF
34192 cat confdefs.h
>>conftest.
$ac_ext
34193 cat >>conftest.
$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 $ac_includes_default
34196 #include <$ac_header>
34198 rm -f conftest.
$ac_objext
34199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34200 (eval $ac_compile) 2>conftest.er1
34202 grep -v '^ *+' conftest.er1
>conftest.err
34204 cat conftest.err
>&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } &&
34207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34209 (eval $ac_try) 2>&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); }; } &&
34213 { ac_try
='test -s conftest.$ac_objext'
34214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34215 (eval $ac_try) 2>&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); }; }; then
34219 ac_header_compiler
=yes
34221 echo "$as_me: failed program was:" >&5
34222 sed 's/^/| /' conftest.
$ac_ext >&5
34224 ac_header_compiler
=no
34226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34228 echo "${ECHO_T}$ac_header_compiler" >&6
34230 # Is the header present?
34231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34233 cat >conftest.
$ac_ext <<_ACEOF
34236 cat confdefs.h
>>conftest.
$ac_ext
34237 cat >>conftest.
$ac_ext <<_ACEOF
34238 /* end confdefs.h. */
34239 #include <$ac_header>
34241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34244 grep -v '^ *+' conftest.er1
>conftest.err
34246 cat conftest.err
>&5
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); } >/dev
/null
; then
34249 if test -s conftest.err
; then
34250 ac_cpp_err
=$ac_c_preproc_warn_flag
34251 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34258 if test -z "$ac_cpp_err"; then
34259 ac_header_preproc
=yes
34261 echo "$as_me: failed program was:" >&5
34262 sed 's/^/| /' conftest.
$ac_ext >&5
34264 ac_header_preproc
=no
34266 rm -f conftest.err conftest.
$ac_ext
34267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34268 echo "${ECHO_T}$ac_header_preproc" >&6
34270 # So? What about this header?
34271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34277 ac_header_preproc
=yes
34280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34294 ## ----------------------------------------- ##
34295 ## Report this to wx-dev@lists.wxwidgets.org ##
34296 ## ----------------------------------------- ##
34299 sed "s/^/$as_me: WARNING: /" >&2
34302 echo "$as_me:$LINENO: checking for $ac_header" >&5
34303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34305 echo $ECHO_N "(cached) $ECHO_C" >&6
34307 eval "$as_ac_Header=\$ac_header_preproc"
34309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34314 cat >>confdefs.h
<<_ACEOF
34315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34322 if test "$ac_cv_header_sched_h" = "yes"; then
34323 echo "$as_me:$LINENO: checking for sched_yield" >&5
34324 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34325 if test "${ac_cv_func_sched_yield+set}" = set; then
34326 echo $ECHO_N "(cached) $ECHO_C" >&6
34328 cat >conftest.
$ac_ext <<_ACEOF
34331 cat confdefs.h
>>conftest.
$ac_ext
34332 cat >>conftest.
$ac_ext <<_ACEOF
34333 /* end confdefs.h. */
34334 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34336 #define sched_yield innocuous_sched_yield
34338 /* System header to define __stub macros and hopefully few prototypes,
34339 which can conflict with char sched_yield (); below.
34340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34341 <limits.h> exists even on freestanding compilers. */
34344 # include <limits.h>
34346 # include <assert.h>
34351 /* Override any gcc2 internal prototype to avoid an error. */
34356 /* We use char because int might match the return type of a gcc2
34357 builtin and then its argument prototype would still apply. */
34358 char sched_yield ();
34359 /* The GNU C library defines this for functions which it implements
34360 to always fail with ENOSYS. Some functions are actually named
34361 something starting with __ and the normal name is an alias. */
34362 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34365 char (*f) () = sched_yield;
34374 return f != sched_yield;
34379 rm -f conftest.
$ac_objext conftest
$ac_exeext
34380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34381 (eval $ac_link) 2>conftest.er1
34383 grep -v '^ *+' conftest.er1
>conftest.err
34385 cat conftest.err
>&5
34386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34387 (exit $ac_status); } &&
34388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34390 (eval $ac_try) 2>&5
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); }; } &&
34394 { ac_try
='test -s conftest$ac_exeext'
34395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34396 (eval $ac_try) 2>&5
34398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34399 (exit $ac_status); }; }; then
34400 ac_cv_func_sched_yield
=yes
34402 echo "$as_me: failed program was:" >&5
34403 sed 's/^/| /' conftest.
$ac_ext >&5
34405 ac_cv_func_sched_yield
=no
34407 rm -f conftest.err conftest.
$ac_objext \
34408 conftest
$ac_exeext conftest.
$ac_ext
34410 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34411 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34412 if test $ac_cv_func_sched_yield = yes; then
34413 cat >>confdefs.h
<<\_ACEOF
34414 #define HAVE_SCHED_YIELD 1
34419 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34420 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34421 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34422 echo $ECHO_N "(cached) $ECHO_C" >&6
34424 ac_check_lib_save_LIBS
=$LIBS
34425 LIBS
="-lposix4 $LIBS"
34426 cat >conftest.
$ac_ext <<_ACEOF
34429 cat confdefs.h
>>conftest.
$ac_ext
34430 cat >>conftest.
$ac_ext <<_ACEOF
34431 /* end confdefs.h. */
34433 /* Override any gcc2 internal prototype to avoid an error. */
34437 /* We use char because int might match the return type of a gcc2
34438 builtin and then its argument prototype would still apply. */
34439 char sched_yield ();
34448 rm -f conftest.
$ac_objext conftest
$ac_exeext
34449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34450 (eval $ac_link) 2>conftest.er1
34452 grep -v '^ *+' conftest.er1
>conftest.err
34454 cat conftest.err
>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } &&
34457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; } &&
34463 { ac_try
='test -s conftest$ac_exeext'
34464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34465 (eval $ac_try) 2>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); }; }; then
34469 ac_cv_lib_posix4_sched_yield
=yes
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.
$ac_ext >&5
34474 ac_cv_lib_posix4_sched_yield
=no
34476 rm -f conftest.err conftest.
$ac_objext \
34477 conftest
$ac_exeext conftest.
$ac_ext
34478 LIBS
=$ac_check_lib_save_LIBS
34480 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34481 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34482 if test $ac_cv_lib_posix4_sched_yield = yes; then
34483 cat >>confdefs.h
<<\_ACEOF
34484 #define HAVE_SCHED_YIELD 1
34486 POSIX4_LINK
=" -lposix4"
34488 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34489 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34500 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34501 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34502 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34505 cat >conftest.
$ac_ext <<_ACEOF
34508 cat confdefs.h
>>conftest.
$ac_ext
34509 cat >>conftest.
$ac_ext <<_ACEOF
34510 /* end confdefs.h. */
34511 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34513 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34515 /* System header to define __stub macros and hopefully few prototypes,
34516 which can conflict with char pthread_attr_getschedpolicy (); below.
34517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34518 <limits.h> exists even on freestanding compilers. */
34521 # include <limits.h>
34523 # include <assert.h>
34526 #undef pthread_attr_getschedpolicy
34528 /* Override any gcc2 internal prototype to avoid an error. */
34533 /* We use char because int might match the return type of a gcc2
34534 builtin and then its argument prototype would still apply. */
34535 char pthread_attr_getschedpolicy ();
34536 /* The GNU C library defines this for functions which it implements
34537 to always fail with ENOSYS. Some functions are actually named
34538 something starting with __ and the normal name is an alias. */
34539 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34542 char (*f) () = pthread_attr_getschedpolicy;
34551 return f != pthread_attr_getschedpolicy;
34556 rm -f conftest.
$ac_objext conftest
$ac_exeext
34557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34558 (eval $ac_link) 2>conftest.er1
34560 grep -v '^ *+' conftest.er1
>conftest.err
34562 cat conftest.err
>&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); } &&
34565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34567 (eval $ac_try) 2>&5
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); }; } &&
34571 { ac_try
='test -s conftest$ac_exeext'
34572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34573 (eval $ac_try) 2>&5
34575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34576 (exit $ac_status); }; }; then
34577 ac_cv_func_pthread_attr_getschedpolicy
=yes
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.
$ac_ext >&5
34582 ac_cv_func_pthread_attr_getschedpolicy
=no
34584 rm -f conftest.err conftest.
$ac_objext \
34585 conftest
$ac_exeext conftest.
$ac_ext
34587 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34588 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34589 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34590 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34591 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34592 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34593 echo $ECHO_N "(cached) $ECHO_C" >&6
34595 cat >conftest.
$ac_ext <<_ACEOF
34598 cat confdefs.h
>>conftest.
$ac_ext
34599 cat >>conftest.
$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34603 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34605 /* System header to define __stub macros and hopefully few prototypes,
34606 which can conflict with char pthread_attr_setschedparam (); below.
34607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34608 <limits.h> exists even on freestanding compilers. */
34611 # include <limits.h>
34613 # include <assert.h>
34616 #undef pthread_attr_setschedparam
34618 /* Override any gcc2 internal prototype to avoid an error. */
34623 /* We use char because int might match the return type of a gcc2
34624 builtin and then its argument prototype would still apply. */
34625 char pthread_attr_setschedparam ();
34626 /* The GNU C library defines this for functions which it implements
34627 to always fail with ENOSYS. Some functions are actually named
34628 something starting with __ and the normal name is an alias. */
34629 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34632 char (*f) () = pthread_attr_setschedparam;
34641 return f != pthread_attr_setschedparam;
34646 rm -f conftest.
$ac_objext conftest
$ac_exeext
34647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34648 (eval $ac_link) 2>conftest.er1
34650 grep -v '^ *+' conftest.er1
>conftest.err
34652 cat conftest.err
>&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); } &&
34655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; } &&
34661 { ac_try
='test -s conftest$ac_exeext'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; }; then
34667 ac_cv_func_pthread_attr_setschedparam
=yes
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.
$ac_ext >&5
34672 ac_cv_func_pthread_attr_setschedparam
=no
34674 rm -f conftest.err conftest.
$ac_objext \
34675 conftest
$ac_exeext conftest.
$ac_ext
34677 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34678 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34679 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34680 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34681 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34682 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34683 echo $ECHO_N "(cached) $ECHO_C" >&6
34685 cat >conftest.
$ac_ext <<_ACEOF
34688 cat confdefs.h
>>conftest.
$ac_ext
34689 cat >>conftest.
$ac_ext <<_ACEOF
34690 /* end confdefs.h. */
34691 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34693 #define sched_get_priority_max innocuous_sched_get_priority_max
34695 /* System header to define __stub macros and hopefully few prototypes,
34696 which can conflict with char sched_get_priority_max (); below.
34697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34698 <limits.h> exists even on freestanding compilers. */
34701 # include <limits.h>
34703 # include <assert.h>
34706 #undef sched_get_priority_max
34708 /* Override any gcc2 internal prototype to avoid an error. */
34713 /* We use char because int might match the return type of a gcc2
34714 builtin and then its argument prototype would still apply. */
34715 char sched_get_priority_max ();
34716 /* The GNU C library defines this for functions which it implements
34717 to always fail with ENOSYS. Some functions are actually named
34718 something starting with __ and the normal name is an alias. */
34719 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34722 char (*f) () = sched_get_priority_max;
34731 return f != sched_get_priority_max;
34736 rm -f conftest.
$ac_objext conftest
$ac_exeext
34737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34738 (eval $ac_link) 2>conftest.er1
34740 grep -v '^ *+' conftest.er1
>conftest.err
34742 cat conftest.err
>&5
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); } &&
34745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34747 (eval $ac_try) 2>&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); }; } &&
34751 { ac_try
='test -s conftest$ac_exeext'
34752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34753 (eval $ac_try) 2>&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); }; }; then
34757 ac_cv_func_sched_get_priority_max
=yes
34759 echo "$as_me: failed program was:" >&5
34760 sed 's/^/| /' conftest.
$ac_ext >&5
34762 ac_cv_func_sched_get_priority_max
=no
34764 rm -f conftest.err conftest.
$ac_objext \
34765 conftest
$ac_exeext conftest.
$ac_ext
34767 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34768 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34769 if test $ac_cv_func_sched_get_priority_max = yes; then
34772 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34773 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34774 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34775 echo $ECHO_N "(cached) $ECHO_C" >&6
34777 ac_check_lib_save_LIBS
=$LIBS
34778 LIBS
="-lposix4 $LIBS"
34779 cat >conftest.
$ac_ext <<_ACEOF
34782 cat confdefs.h
>>conftest.
$ac_ext
34783 cat >>conftest.
$ac_ext <<_ACEOF
34784 /* end confdefs.h. */
34786 /* Override any gcc2 internal prototype to avoid an error. */
34790 /* We use char because int might match the return type of a gcc2
34791 builtin and then its argument prototype would still apply. */
34792 char sched_get_priority_max ();
34796 sched_get_priority_max ();
34801 rm -f conftest.
$ac_objext conftest
$ac_exeext
34802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34803 (eval $ac_link) 2>conftest.er1
34805 grep -v '^ *+' conftest.er1
>conftest.err
34807 cat conftest.err
>&5
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); } &&
34810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34812 (eval $ac_try) 2>&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); }; } &&
34816 { ac_try
='test -s conftest$ac_exeext'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; }; then
34822 ac_cv_lib_posix4_sched_get_priority_max
=yes
34824 echo "$as_me: failed program was:" >&5
34825 sed 's/^/| /' conftest.
$ac_ext >&5
34827 ac_cv_lib_posix4_sched_get_priority_max
=no
34829 rm -f conftest.err conftest.
$ac_objext \
34830 conftest
$ac_exeext conftest.
$ac_ext
34831 LIBS
=$ac_check_lib_save_LIBS
34833 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34834 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34835 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34838 POSIX4_LINK
=" -lposix4"
34852 if test "$HAVE_PRIOR_FUNCS" = 1; then
34853 cat >>confdefs.h
<<\_ACEOF
34854 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34858 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34859 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34862 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34863 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34864 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34865 echo $ECHO_N "(cached) $ECHO_C" >&6
34867 cat >conftest.
$ac_ext <<_ACEOF
34870 cat confdefs.h
>>conftest.
$ac_ext
34871 cat >>conftest.
$ac_ext <<_ACEOF
34872 /* end confdefs.h. */
34873 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34875 #define pthread_cancel innocuous_pthread_cancel
34877 /* System header to define __stub macros and hopefully few prototypes,
34878 which can conflict with char pthread_cancel (); below.
34879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34880 <limits.h> exists even on freestanding compilers. */
34883 # include <limits.h>
34885 # include <assert.h>
34888 #undef pthread_cancel
34890 /* Override any gcc2 internal prototype to avoid an error. */
34895 /* We use char because int might match the return type of a gcc2
34896 builtin and then its argument prototype would still apply. */
34897 char pthread_cancel ();
34898 /* The GNU C library defines this for functions which it implements
34899 to always fail with ENOSYS. Some functions are actually named
34900 something starting with __ and the normal name is an alias. */
34901 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34904 char (*f) () = pthread_cancel;
34913 return f != pthread_cancel;
34918 rm -f conftest.
$ac_objext conftest
$ac_exeext
34919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34920 (eval $ac_link) 2>conftest.er1
34922 grep -v '^ *+' conftest.er1
>conftest.err
34924 cat conftest.err
>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } &&
34927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; } &&
34933 { ac_try
='test -s conftest$ac_exeext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34939 ac_cv_func_pthread_cancel
=yes
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.
$ac_ext >&5
34944 ac_cv_func_pthread_cancel
=no
34946 rm -f conftest.err conftest.
$ac_objext \
34947 conftest
$ac_exeext conftest.
$ac_ext
34949 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34950 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34951 if test $ac_cv_func_pthread_cancel = yes; then
34952 cat >>confdefs.h
<<\_ACEOF
34953 #define HAVE_PTHREAD_CANCEL 1
34957 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34958 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34964 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34965 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34966 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34967 echo $ECHO_N "(cached) $ECHO_C" >&6
34970 cat >conftest.
$ac_ext <<_ACEOF
34973 cat confdefs.h
>>conftest.
$ac_ext
34974 cat >>conftest.
$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34976 #include <pthread.h>
34981 pthread_mutexattr_t attr;
34982 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34988 rm -f conftest.
$ac_objext
34989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34990 (eval $ac_compile) 2>conftest.er1
34992 grep -v '^ *+' conftest.er1
>conftest.err
34994 cat conftest.err
>&5
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); } &&
34997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; } &&
35003 { ac_try
='test -s conftest.$ac_objext'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; }; then
35010 wx_cv_type_pthread_mutexattr_t
=yes
35013 echo "$as_me: failed program was:" >&5
35014 sed 's/^/| /' conftest.
$ac_ext >&5
35017 wx_cv_type_pthread_mutexattr_t
=no
35021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35024 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35025 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35027 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35028 cat >>confdefs.h
<<\_ACEOF
35029 #define HAVE_PTHREAD_MUTEXATTR_T 1
35033 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35034 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35035 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35036 echo $ECHO_N "(cached) $ECHO_C" >&6
35039 cat >conftest.
$ac_ext <<_ACEOF
35042 cat confdefs.h
>>conftest.
$ac_ext
35043 cat >>conftest.
$ac_ext <<_ACEOF
35044 /* end confdefs.h. */
35045 #include <pthread.h>
35050 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35056 rm -f conftest.
$ac_objext
35057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35058 (eval $ac_compile) 2>conftest.er1
35060 grep -v '^ *+' conftest.er1
>conftest.err
35062 cat conftest.err
>&5
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); } &&
35065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067 (eval $ac_try) 2>&5
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); }; } &&
35071 { ac_try
='test -s conftest.$ac_objext'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; }; then
35078 wx_cv_type_pthread_rec_mutex_init
=yes
35081 echo "$as_me: failed program was:" >&5
35082 sed 's/^/| /' conftest.
$ac_ext >&5
35085 wx_cv_type_pthread_rec_mutex_init
=no
35089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35092 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35093 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35094 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35095 cat >>confdefs.h
<<\_ACEOF
35096 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35100 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35101 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35107 if test "$wxUSE_THREADS" = "yes" ; then
35110 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35111 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35112 if test "${wx_cv_cflags_mthread+set}" = set; then
35113 echo $ECHO_N "(cached) $ECHO_C" >&6
35116 CFLAGS_OLD
="$CFLAGS"
35117 CFLAGS
="$CFLAGS -mthreads"
35118 cat >conftest.
$ac_ext <<_ACEOF
35121 cat confdefs.h
>>conftest.
$ac_ext
35122 cat >>conftest.
$ac_ext <<_ACEOF
35123 /* end confdefs.h. */
35133 rm -f conftest.
$ac_objext
35134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35135 (eval $ac_compile) 2>conftest.er1
35137 grep -v '^ *+' conftest.er1
>conftest.err
35139 cat conftest.err
>&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); } &&
35142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35144 (eval $ac_try) 2>&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); }; } &&
35148 { ac_try
='test -s conftest.$ac_objext'
35149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35150 (eval $ac_try) 2>&5
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); }; }; then
35154 wx_cv_cflags_mthread
=yes
35156 echo "$as_me: failed program was:" >&5
35157 sed 's/^/| /' conftest.
$ac_ext >&5
35159 wx_cv_cflags_mthread
=no
35162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35166 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35167 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35169 if test "$wx_cv_cflags_mthread" = "yes"; then
35170 CXXFLAGS
="$CXXFLAGS -mthreads"
35171 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35172 LDFLAGS
="$LDFLAGS -mthreads"
35174 CFLAGS
="$CFLAGS_OLD"
35178 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35179 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35180 LDFLAGS
="$LDFLAGS -Zmt"
35186 if test "$wxUSE_THREADS" = "yes"; then
35187 cat >>confdefs.h
<<\_ACEOF
35188 #define wxUSE_THREADS 1
35192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35194 if test "$ac_cv_func_strtok_r" = "yes"; then
35195 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35196 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35197 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35198 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35199 echo "$as_me:$LINENO: result: yes" >&5
35200 echo "${ECHO_T}yes" >&6
35202 echo "$as_me:$LINENO: result: no" >&5
35203 echo "${ECHO_T}no" >&6
35208 if test "$WXGTK20" = 1 ; then
35209 cat >>confdefs.h
<<_ACEOF
35210 #define __WXGTK20__ $WXGTK20
35216 if test "$WXGTK12" = 1 ; then
35217 cat >>confdefs.h
<<_ACEOF
35218 #define __WXGTK12__ $WXGTK12
35223 if test "$WXGTK127" = 1 ; then
35224 cat >>confdefs.h
<<_ACEOF
35225 #define __WXGTK127__ $WXGTK127
35230 if test "$WXGPE" = 1 ; then
35231 cat >>confdefs.h
<<_ACEOF
35232 #define __WXGPE__ $WXGPE
35239 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35244 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35245 wxUSE_DEBUG_INFO
=yes
35249 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35250 cat >>confdefs.h
<<\_ACEOF
35254 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35256 if test "$wxUSE_GTK" = 1 ; then
35257 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35261 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35262 cat >>confdefs.h
<<\_ACEOF
35263 #define wxUSE_MEMORY_TRACING 1
35266 cat >>confdefs.h
<<\_ACEOF
35267 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35270 cat >>confdefs.h
<<\_ACEOF
35271 #define wxUSE_DEBUG_NEW_ALWAYS 1
35274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35277 if test "$wxUSE_DMALLOC" = "yes" ; then
35278 DMALLOC_LIBS
="-ldmalloc"
35282 if test "$wxUSE_PROFILE" = "yes" ; then
35287 CODE_GEN_FLAGS_CXX
=
35288 if test "$GCC" = "yes" ; then
35289 if test "$wxUSE_NO_RTTI" = "yes" ; then
35290 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35292 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35293 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35295 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35296 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35301 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35304 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35310 if test "$wxUSE_OPTIMISE" = "no" ; then
35311 if test "$GCC" = yes ; then
35315 if test "$GCC" = yes ; then
35319 i586
-*-*|i686
-*-* )
35320 OPTIMISE
="${OPTIMISE} "
35329 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35330 cat >>confdefs.h
<<\_ACEOF
35331 #define WXWIN_COMPATIBILITY_2_2 1
35335 WXWIN_COMPATIBILITY_2_4
="yes"
35338 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35339 cat >>confdefs.h
<<\_ACEOF
35340 #define WXWIN_COMPATIBILITY_2_4 1
35346 if test "$wxUSE_GUI" = "yes"; then
35347 cat >>confdefs.h
<<\_ACEOF
35348 #define wxUSE_GUI 1
35355 if test "$wxUSE_UNIX" = "yes"; then
35356 cat >>confdefs.h
<<\_ACEOF
35357 #define wxUSE_UNIX 1
35363 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35367 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35368 if test "$USE_DARWIN" = 1; then
35372 for ac_func
in dlopen
35374 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35375 echo "$as_me:$LINENO: checking for $ac_func" >&5
35376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35377 if eval "test \"\${$as_ac_var+set}\" = set"; then
35378 echo $ECHO_N "(cached) $ECHO_C" >&6
35380 cat >conftest.
$ac_ext <<_ACEOF
35383 cat confdefs.h
>>conftest.
$ac_ext
35384 cat >>conftest.
$ac_ext <<_ACEOF
35385 /* end confdefs.h. */
35386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35388 #define $ac_func innocuous_$ac_func
35390 /* System header to define __stub macros and hopefully few prototypes,
35391 which can conflict with char $ac_func (); below.
35392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35393 <limits.h> exists even on freestanding compilers. */
35396 # include <limits.h>
35398 # include <assert.h>
35403 /* Override any gcc2 internal prototype to avoid an error. */
35408 /* We use char because int might match the return type of a gcc2
35409 builtin and then its argument prototype would still apply. */
35411 /* The GNU C library defines this for functions which it implements
35412 to always fail with ENOSYS. Some functions are actually named
35413 something starting with __ and the normal name is an alias. */
35414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35417 char (*f) () = $ac_func;
35426 return f != $ac_func;
35431 rm -f conftest.
$ac_objext conftest
$ac_exeext
35432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35433 (eval $ac_link) 2>conftest.er1
35435 grep -v '^ *+' conftest.er1
>conftest.err
35437 cat conftest.err
>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } &&
35440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; } &&
35446 { ac_try
='test -s conftest$ac_exeext'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; }; then
35452 eval "$as_ac_var=yes"
35454 echo "$as_me: failed program was:" >&5
35455 sed 's/^/| /' conftest.
$ac_ext >&5
35457 eval "$as_ac_var=no"
35459 rm -f conftest.err conftest.
$ac_objext \
35460 conftest
$ac_exeext conftest.
$ac_ext
35462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35464 if test `eval echo '${'$as_ac_var'}'` = yes; then
35465 cat >>confdefs.h
<<_ACEOF
35466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35469 cat >>confdefs.h
<<\_ACEOF
35470 #define HAVE_DLOPEN 1
35477 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35478 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35479 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35480 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 ac_check_lib_save_LIBS
=$LIBS
35484 cat >conftest.
$ac_ext <<_ACEOF
35487 cat confdefs.h
>>conftest.
$ac_ext
35488 cat >>conftest.
$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35491 /* Override any gcc2 internal prototype to avoid an error. */
35495 /* We use char because int might match the return type of a gcc2
35496 builtin and then its argument prototype would still apply. */
35506 rm -f conftest.
$ac_objext conftest
$ac_exeext
35507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35508 (eval $ac_link) 2>conftest.er1
35510 grep -v '^ *+' conftest.er1
>conftest.err
35512 cat conftest.err
>&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } &&
35515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; } &&
35521 { ac_try
='test -s conftest$ac_exeext'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; }; then
35527 ac_cv_lib_dl_dlopen
=yes
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.
$ac_ext >&5
35532 ac_cv_lib_dl_dlopen
=no
35534 rm -f conftest.err conftest.
$ac_objext \
35535 conftest
$ac_exeext conftest.
$ac_ext
35536 LIBS
=$ac_check_lib_save_LIBS
35538 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35539 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35540 if test $ac_cv_lib_dl_dlopen = yes; then
35542 cat >>confdefs.h
<<\_ACEOF
35543 #define HAVE_DLOPEN 1
35547 DL_LINK
=" -ldl$DL_LINK"
35552 for ac_func
in shl_load
35554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35555 echo "$as_me:$LINENO: checking for $ac_func" >&5
35556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35557 if eval "test \"\${$as_ac_var+set}\" = set"; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 cat >conftest.
$ac_ext <<_ACEOF
35563 cat confdefs.h
>>conftest.
$ac_ext
35564 cat >>conftest.
$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35568 #define $ac_func innocuous_$ac_func
35570 /* System header to define __stub macros and hopefully few prototypes,
35571 which can conflict with char $ac_func (); below.
35572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35573 <limits.h> exists even on freestanding compilers. */
35576 # include <limits.h>
35578 # include <assert.h>
35583 /* Override any gcc2 internal prototype to avoid an error. */
35588 /* We use char because int might match the return type of a gcc2
35589 builtin and then its argument prototype would still apply. */
35591 /* The GNU C library defines this for functions which it implements
35592 to always fail with ENOSYS. Some functions are actually named
35593 something starting with __ and the normal name is an alias. */
35594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35597 char (*f) () = $ac_func;
35606 return f != $ac_func;
35611 rm -f conftest.
$ac_objext conftest
$ac_exeext
35612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35613 (eval $ac_link) 2>conftest.er1
35615 grep -v '^ *+' conftest.er1
>conftest.err
35617 cat conftest.err
>&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); } &&
35620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; } &&
35626 { ac_try
='test -s conftest$ac_exeext'
35627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628 (eval $ac_try) 2>&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; }; then
35632 eval "$as_ac_var=yes"
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.
$ac_ext >&5
35637 eval "$as_ac_var=no"
35639 rm -f conftest.err conftest.
$ac_objext \
35640 conftest
$ac_exeext conftest.
$ac_ext
35642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35644 if test `eval echo '${'$as_ac_var'}'` = yes; then
35645 cat >>confdefs.h
<<_ACEOF
35646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35649 cat >>confdefs.h
<<\_ACEOF
35650 #define HAVE_SHL_LOAD 1
35657 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35658 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35659 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35660 echo $ECHO_N "(cached) $ECHO_C" >&6
35662 ac_check_lib_save_LIBS
=$LIBS
35663 LIBS
="-lshl_load $LIBS"
35664 cat >conftest.
$ac_ext <<_ACEOF
35667 cat confdefs.h
>>conftest.
$ac_ext
35668 cat >>conftest.
$ac_ext <<_ACEOF
35669 /* end confdefs.h. */
35671 /* Override any gcc2 internal prototype to avoid an error. */
35675 /* We use char because int might match the return type of a gcc2
35676 builtin and then its argument prototype would still apply. */
35686 rm -f conftest.
$ac_objext conftest
$ac_exeext
35687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35688 (eval $ac_link) 2>conftest.er1
35690 grep -v '^ *+' conftest.er1
>conftest.err
35692 cat conftest.err
>&5
35693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35694 (exit $ac_status); } &&
35695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35697 (eval $ac_try) 2>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); }; } &&
35701 { ac_try
='test -s conftest$ac_exeext'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; }; then
35707 ac_cv_lib_shl_load_dld
=yes
35709 echo "$as_me: failed program was:" >&5
35710 sed 's/^/| /' conftest.
$ac_ext >&5
35712 ac_cv_lib_shl_load_dld
=no
35714 rm -f conftest.err conftest.
$ac_objext \
35715 conftest
$ac_exeext conftest.
$ac_ext
35716 LIBS
=$ac_check_lib_save_LIBS
35718 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35719 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35720 if test $ac_cv_lib_shl_load_dld = yes; then
35723 DL_LINK
=" -ldld$DL_LINK"
35739 if test "$HAVE_DL_FUNCS" = 1; then
35741 for ac_func
in dlerror
35743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35744 echo "$as_me:$LINENO: checking for $ac_func" >&5
35745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35746 if eval "test \"\${$as_ac_var+set}\" = set"; then
35747 echo $ECHO_N "(cached) $ECHO_C" >&6
35749 cat >conftest.
$ac_ext <<_ACEOF
35752 cat confdefs.h
>>conftest.
$ac_ext
35753 cat >>conftest.
$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35757 #define $ac_func innocuous_$ac_func
35759 /* System header to define __stub macros and hopefully few prototypes,
35760 which can conflict with char $ac_func (); below.
35761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35762 <limits.h> exists even on freestanding compilers. */
35765 # include <limits.h>
35767 # include <assert.h>
35772 /* Override any gcc2 internal prototype to avoid an error. */
35777 /* We use char because int might match the return type of a gcc2
35778 builtin and then its argument prototype would still apply. */
35780 /* The GNU C library defines this for functions which it implements
35781 to always fail with ENOSYS. Some functions are actually named
35782 something starting with __ and the normal name is an alias. */
35783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35786 char (*f) () = $ac_func;
35795 return f != $ac_func;
35800 rm -f conftest.
$ac_objext conftest
$ac_exeext
35801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35802 (eval $ac_link) 2>conftest.er1
35804 grep -v '^ *+' conftest.er1
>conftest.err
35806 cat conftest.err
>&5
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); } &&
35809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35811 (eval $ac_try) 2>&5
35813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814 (exit $ac_status); }; } &&
35815 { ac_try
='test -s conftest$ac_exeext'
35816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817 (eval $ac_try) 2>&5
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); }; }; then
35821 eval "$as_ac_var=yes"
35823 echo "$as_me: failed program was:" >&5
35824 sed 's/^/| /' conftest.
$ac_ext >&5
35826 eval "$as_ac_var=no"
35828 rm -f conftest.err conftest.
$ac_objext \
35829 conftest
$ac_exeext conftest.
$ac_ext
35831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35833 if test `eval echo '${'$as_ac_var'}'` = yes; then
35834 cat >>confdefs.h
<<_ACEOF
35835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35837 cat >>confdefs.h
<<\_ACEOF
35838 #define HAVE_DLERROR 1
35843 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35844 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35845 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35846 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 ac_check_lib_save_LIBS
=$LIBS
35850 cat >conftest.
$ac_ext <<_ACEOF
35853 cat confdefs.h
>>conftest.
$ac_ext
35854 cat >>conftest.
$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35857 /* Override any gcc2 internal prototype to avoid an error. */
35861 /* We use char because int might match the return type of a gcc2
35862 builtin and then its argument prototype would still apply. */
35872 rm -f conftest.
$ac_objext conftest
$ac_exeext
35873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35874 (eval $ac_link) 2>conftest.er1
35876 grep -v '^ *+' conftest.er1
>conftest.err
35878 cat conftest.err
>&5
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); } &&
35881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35883 (eval $ac_try) 2>&5
35885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35886 (exit $ac_status); }; } &&
35887 { ac_try
='test -s conftest$ac_exeext'
35888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35889 (eval $ac_try) 2>&5
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); }; }; then
35893 ac_cv_lib_dl_dlerror
=yes
35895 echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.
$ac_ext >&5
35898 ac_cv_lib_dl_dlerror
=no
35900 rm -f conftest.err conftest.
$ac_objext \
35901 conftest
$ac_exeext conftest.
$ac_ext
35902 LIBS
=$ac_check_lib_save_LIBS
35904 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35905 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35906 if test $ac_cv_lib_dl_dlerror = yes; then
35907 cat >>confdefs.h
<<\_ACEOF
35908 #define HAVE_DLERROR 1
35921 if test "$HAVE_DL_FUNCS" = 0; then
35922 if test "$HAVE_SHL_FUNCS" = 0; then
35923 if test "$USE_UNIX" = 1; then
35924 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35925 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35926 wxUSE_DYNAMIC_LOADER
=no
35927 wxUSE_DYNLIB_CLASS
=no
35929 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35930 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35937 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35938 cat >>confdefs.h
<<\_ACEOF
35939 #define wxUSE_DYNAMIC_LOADER 1
35943 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35944 cat >>confdefs.h
<<\_ACEOF
35945 #define wxUSE_DYNLIB_CLASS 1
35952 if test "$wxUSE_PLUGINS" = "yes" ; then
35953 if test "$wxUSE_SHARED" = "no" ; then
35954 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35955 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35958 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35959 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35960 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35963 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35964 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35965 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35968 if test "$wxUSE_PLUGINS" = "yes" ; then
35969 cat >>confdefs.h
<<\_ACEOF
35970 #define wxUSE_PLUGINS 1
35977 if test "$wxUSE_STL" = "yes"; then
35978 cat >>confdefs.h
<<\_ACEOF
35979 #define wxUSE_STL 1
35984 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35985 cat >>confdefs.h
<<\_ACEOF
35986 #define wxUSE_APPLE_IEEE 1
35991 if test "$wxUSE_TIMER" = "yes"; then
35992 cat >>confdefs.h
<<\_ACEOF
35993 #define wxUSE_TIMER 1
35999 if test "$wxUSE_SOUND" = "yes"; then
36000 if test "$USE_UNIX" = "1" ; then
36002 for ac_header
in sys
/soundcard.h
36004 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36006 echo "$as_me:$LINENO: checking for $ac_header" >&5
36007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36009 echo $ECHO_N "(cached) $ECHO_C" >&6
36011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36014 # Is the header compilable?
36015 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36017 cat >conftest.
$ac_ext <<_ACEOF
36020 cat confdefs.h
>>conftest.
$ac_ext
36021 cat >>conftest.
$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023 $ac_includes_default
36024 #include <$ac_header>
36026 rm -f conftest.
$ac_objext
36027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36028 (eval $ac_compile) 2>conftest.er1
36030 grep -v '^ *+' conftest.er1
>conftest.err
36032 cat conftest.err
>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); } &&
36035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36037 (eval $ac_try) 2>&5
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); }; } &&
36041 { ac_try
='test -s conftest.$ac_objext'
36042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36043 (eval $ac_try) 2>&5
36045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36046 (exit $ac_status); }; }; then
36047 ac_header_compiler
=yes
36049 echo "$as_me: failed program was:" >&5
36050 sed 's/^/| /' conftest.
$ac_ext >&5
36052 ac_header_compiler
=no
36054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36056 echo "${ECHO_T}$ac_header_compiler" >&6
36058 # Is the header present?
36059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36061 cat >conftest.
$ac_ext <<_ACEOF
36064 cat confdefs.h
>>conftest.
$ac_ext
36065 cat >>conftest.
$ac_ext <<_ACEOF
36066 /* end confdefs.h. */
36067 #include <$ac_header>
36069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36070 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36072 grep -v '^ *+' conftest.er1
>conftest.err
36074 cat conftest.err
>&5
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); } >/dev
/null
; then
36077 if test -s conftest.err
; then
36078 ac_cpp_err
=$ac_c_preproc_warn_flag
36079 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36086 if test -z "$ac_cpp_err"; then
36087 ac_header_preproc
=yes
36089 echo "$as_me: failed program was:" >&5
36090 sed 's/^/| /' conftest.
$ac_ext >&5
36092 ac_header_preproc
=no
36094 rm -f conftest.err conftest.
$ac_ext
36095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36096 echo "${ECHO_T}$ac_header_preproc" >&6
36098 # So? What about this header?
36099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36104 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36105 ac_header_preproc
=yes
36108 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36109 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36110 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36111 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36112 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36113 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36114 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36115 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36118 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36119 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36122 ## ----------------------------------------- ##
36123 ## Report this to wx-dev@lists.wxwidgets.org ##
36124 ## ----------------------------------------- ##
36127 sed "s/^/$as_me: WARNING: /" >&2
36130 echo "$as_me:$LINENO: checking for $ac_header" >&5
36131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36133 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 eval "$as_ac_Header=\$ac_header_preproc"
36137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36142 cat >>confdefs.h
<<_ACEOF
36143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36151 if test "$wxUSE_LIBSDL" != "no"; then
36153 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36154 if test "${with_sdl_prefix+set}" = set; then
36155 withval
="$with_sdl_prefix"
36156 sdl_prefix
="$withval"
36161 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36162 if test "${with_sdl_exec_prefix+set}" = set; then
36163 withval
="$with_sdl_exec_prefix"
36164 sdl_exec_prefix
="$withval"
36168 # Check whether --enable-sdltest or --disable-sdltest was given.
36169 if test "${enable_sdltest+set}" = set; then
36170 enableval
="$enable_sdltest"
36176 if test x
$sdl_exec_prefix != x
; then
36177 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36178 if test x
${SDL_CONFIG+set} != xset
; then
36179 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36182 if test x
$sdl_prefix != x
; then
36183 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36184 if test x
${SDL_CONFIG+set} != xset
; then
36185 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36190 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36191 # Extract the first word of "sdl-config", so it can be a program name with args.
36192 set dummy sdl
-config; ac_word
=$2
36193 echo "$as_me:$LINENO: checking for $ac_word" >&5
36194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36195 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36198 case $SDL_CONFIG in
36200 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36204 for as_dir
in $PATH
36207 test -z "$as_dir" && as_dir
=.
36208 for ac_exec_ext
in '' $ac_executable_extensions; do
36209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36210 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36217 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36221 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36223 if test -n "$SDL_CONFIG"; then
36224 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36225 echo "${ECHO_T}$SDL_CONFIG" >&6
36227 echo "$as_me:$LINENO: result: no" >&5
36228 echo "${ECHO_T}no" >&6
36231 min_sdl_version
=1.2.0
36232 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36233 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36235 if test "$SDL_CONFIG" = "no" ; then
36238 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36239 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36241 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36243 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36245 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36247 if test "x$enable_sdltest" = "xyes" ; then
36248 ac_save_CFLAGS
="$CFLAGS"
36249 ac_save_CXXFLAGS
="$CXXFLAGS"
36250 ac_save_LIBS
="$LIBS"
36251 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36252 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36253 LIBS
="$LIBS $SDL_LIBS"
36255 if test "$cross_compiling" = yes; then
36256 echo $ac_n "cross compiling; assumed OK... $ac_c"
36258 cat >conftest.
$ac_ext <<_ACEOF
36261 cat confdefs.h
>>conftest.
$ac_ext
36262 cat >>conftest.
$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36266 #include <stdlib.h>
36267 #include <string.h>
36271 my_strdup (char *str)
36277 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36278 strcpy (new_str, str);
36286 int main (int argc, char *argv[])
36288 int major, minor, micro;
36291 /* This hangs on some systems (?)
36292 system ("touch conf.sdltest");
36294 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36296 /* HP/UX 9 (%@#!) writes to sscanf strings */
36297 tmp_version = my_strdup("$min_sdl_version");
36298 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36299 printf("%s, bad version string\n", "$min_sdl_version");
36303 if (($sdl_major_version > major) ||
36304 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36305 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36311 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36312 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36313 printf("*** best to upgrade to the required version.\n");
36314 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36315 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36316 printf("*** config.cache before re-running configure\n");
36323 rm -f conftest
$ac_exeext
36324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36325 (eval $ac_link) 2>&5
36327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36328 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36330 (eval $ac_try) 2>&5
36332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36333 (exit $ac_status); }; }; then
36336 echo "$as_me: program exited with status $ac_status" >&5
36337 echo "$as_me: failed program was:" >&5
36338 sed 's/^/| /' conftest.
$ac_ext >&5
36340 ( exit $ac_status )
36343 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36345 CFLAGS
="$ac_save_CFLAGS"
36346 CXXFLAGS
="$ac_save_CXXFLAGS"
36347 LIBS
="$ac_save_LIBS"
36350 if test "x$no_sdl" = x
; then
36351 echo "$as_me:$LINENO: result: yes" >&5
36352 echo "${ECHO_T}yes" >&6
36354 EXTRALIBS_SDL
="$SDL_LIBS"
36355 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36356 cat >>confdefs.h
<<\_ACEOF
36357 #define wxUSE_LIBSDL 1
36362 echo "$as_me:$LINENO: result: no" >&5
36363 echo "${ECHO_T}no" >&6
36364 if test "$SDL_CONFIG" = "no" ; then
36365 echo "*** The sdl-config script installed by SDL could not be found"
36366 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36367 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36368 echo "*** full path to sdl-config."
36370 if test -f conf.sdltest
; then
36373 echo "*** Could not run SDL test program, checking why..."
36374 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36375 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36376 LIBS
="$LIBS $SDL_LIBS"
36377 cat >conftest.
$ac_ext <<_ACEOF
36380 cat confdefs.h
>>conftest.
$ac_ext
36381 cat >>conftest.
$ac_ext <<_ACEOF
36382 /* end confdefs.h. */
36387 int main(int argc, char *argv[])
36390 #define main K_and_R_C_main
36400 rm -f conftest.
$ac_objext conftest
$ac_exeext
36401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36402 (eval $ac_link) 2>conftest.er1
36404 grep -v '^ *+' conftest.er1
>conftest.err
36406 cat conftest.err
>&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); } &&
36409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36411 (eval $ac_try) 2>&5
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); }; } &&
36415 { ac_try
='test -s conftest$ac_exeext'
36416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36417 (eval $ac_try) 2>&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); }; }; then
36421 echo "*** The test program compiled, but did not run. This usually means"
36422 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36423 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36424 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36425 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36426 echo "*** is required on your system"
36428 echo "*** If you have an old version installed, it is best to remove it, although"
36429 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36431 echo "$as_me: failed program was:" >&5
36432 sed 's/^/| /' conftest.
$ac_ext >&5
36434 echo "*** The test program failed to compile or link. See the file config.log for the"
36435 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36436 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36437 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36439 rm -f conftest.err conftest.
$ac_objext \
36440 conftest
$ac_exeext conftest.
$ac_ext
36441 CFLAGS
="$ac_save_CFLAGS"
36442 CXXFLAGS
="$ac_save_CXXFLAGS"
36443 LIBS
="$ac_save_LIBS"
36454 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36460 cat >>confdefs.h
<<\_ACEOF
36461 #define wxUSE_SOUND 1
36464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36467 if test "$WXGTK20" = 1; then
36468 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36469 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36474 if test -z "$PKG_CONFIG"; then
36475 # Extract the first word of "pkg-config", so it can be a program name with args.
36476 set dummy pkg
-config; ac_word
=$2
36477 echo "$as_me:$LINENO: checking for $ac_word" >&5
36478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36479 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36480 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 case $PKG_CONFIG in
36484 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36488 for as_dir
in $PATH
36491 test -z "$as_dir" && as_dir
=.
36492 for ac_exec_ext
in '' $ac_executable_extensions; do
36493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36494 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36501 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36505 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36507 if test -n "$PKG_CONFIG"; then
36508 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36509 echo "${ECHO_T}$PKG_CONFIG" >&6
36511 echo "$as_me:$LINENO: result: no" >&5
36512 echo "${ECHO_T}no" >&6
36517 if test "$PKG_CONFIG" = "no" ; then
36518 echo "*** The pkg-config script could not be found. Make sure it is"
36519 echo "*** in your path, or set the PKG_CONFIG environment variable"
36520 echo "*** to the full path to pkg-config."
36521 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36523 PKG_CONFIG_MIN_VERSION
=0.9.0
36524 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36525 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36526 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36528 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36529 echo "$as_me:$LINENO: result: yes" >&5
36530 echo "${ECHO_T}yes" >&6
36533 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36534 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36535 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36536 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36537 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36539 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36540 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36541 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36542 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36543 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36545 LIBGNOMEPRINTUI_CFLAGS
=""
36546 LIBGNOMEPRINTUI_LIBS
=""
36547 ## If we have a custom action on failure, don't print errors, but
36548 ## do set a variable so people can do so.
36549 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36556 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36557 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36561 if test $succeeded = yes; then
36563 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36564 cat >>confdefs.h
<<\_ACEOF
36565 #define wxUSE_LIBGNOMEPRINT 1
36571 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36572 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36573 wxUSE_LIBGNOMEPRINT
="no"
36583 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36584 cat >>confdefs.h
<<\_ACEOF
36585 #define wxUSE_CMDLINE_PARSER 1
36590 if test "$wxUSE_STOPWATCH" = "yes"; then
36591 cat >>confdefs.h
<<\_ACEOF
36592 #define wxUSE_STOPWATCH 1
36597 if test "$wxUSE_DATETIME" = "yes"; then
36598 cat >>confdefs.h
<<\_ACEOF
36599 #define wxUSE_DATETIME 1
36604 if test "$wxUSE_FILE" = "yes"; then
36605 cat >>confdefs.h
<<\_ACEOF
36606 #define wxUSE_FILE 1
36611 if test "$wxUSE_FFILE" = "yes"; then
36612 cat >>confdefs.h
<<\_ACEOF
36613 #define wxUSE_FFILE 1
36618 if test "$wxUSE_FILESYSTEM" = "yes"; then
36619 cat >>confdefs.h
<<\_ACEOF
36620 #define wxUSE_FILESYSTEM 1
36625 if test "$wxUSE_FS_ZIP" = "yes"; then
36626 cat >>confdefs.h
<<\_ACEOF
36627 #define wxUSE_FS_ZIP 1
36632 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36633 cat >>confdefs.h
<<\_ACEOF
36634 #define wxUSE_ARCHIVE_STREAMS 1
36639 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36640 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36641 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36642 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36643 elif test "$wxUSE_ZLIB" = "no"; then
36644 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36645 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36647 cat >>confdefs.h
<<\_ACEOF
36648 #define wxUSE_ZIPSTREAM 1
36654 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36655 cat >>confdefs.h
<<\_ACEOF
36656 #define wxUSE_ON_FATAL_EXCEPTION 1
36661 if test "$wxUSE_STACKWALKER" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_STACKWALKER 1
36668 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36669 if test "$USE_OS2" = "1"; then
36670 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36671 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36672 wxUSE_DEBUGREPORT
=no
36674 cat >>confdefs.h
<<\_ACEOF
36675 #define wxUSE_DEBUGREPORT 1
36678 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
36684 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36685 cat >>confdefs.h
<<\_ACEOF
36686 #define wxUSE_SNGLINST_CHECKER 1
36691 if test "$wxUSE_BUSYINFO" = "yes"; then
36692 cat >>confdefs.h
<<\_ACEOF
36693 #define wxUSE_BUSYINFO 1
36698 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36699 cat >>confdefs.h
<<\_ACEOF
36700 #define wxUSE_STD_IOSTREAM 1
36705 if test "$wxUSE_STD_STRING" = "yes"; then
36706 cat >>confdefs.h
<<\_ACEOF
36707 #define wxUSE_STD_STRING 1
36712 if test "$wxUSE_STDPATHS" = "yes"; then
36713 cat >>confdefs.h
<<\_ACEOF
36714 #define wxUSE_STDPATHS 1
36719 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36720 cat >>confdefs.h
<<\_ACEOF
36721 #define wxUSE_TEXTBUFFER 1
36726 if test "$wxUSE_TEXTFILE" = "yes"; then
36727 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36728 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36729 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36731 cat >>confdefs.h
<<\_ACEOF
36732 #define wxUSE_TEXTFILE 1
36738 if test "$wxUSE_CONFIG" = "yes" ; then
36739 if test "$wxUSE_TEXTFILE" != "yes"; then
36740 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36741 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36743 cat >>confdefs.h
<<\_ACEOF
36744 #define wxUSE_CONFIG 1
36747 cat >>confdefs.h
<<\_ACEOF
36748 #define wxUSE_CONFIG_NATIVE 1
36751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36755 if test "$wxUSE_INTL" = "yes" ; then
36756 if test "$wxUSE_FILE" != "yes"; then
36757 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36758 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36760 cat >>confdefs.h
<<\_ACEOF
36761 #define wxUSE_INTL 1
36764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36765 GUIDIST
="$GUIDIST INTL_DIST"
36769 if test "$wxUSE_LOG" = "yes"; then
36770 cat >>confdefs.h
<<\_ACEOF
36771 #define wxUSE_LOG 1
36775 if test "$wxUSE_LOGGUI" = "yes"; then
36776 cat >>confdefs.h
<<\_ACEOF
36777 #define wxUSE_LOGGUI 1
36782 if test "$wxUSE_LOGWINDOW" = "yes"; then
36783 cat >>confdefs.h
<<\_ACEOF
36784 #define wxUSE_LOGWINDOW 1
36789 if test "$wxUSE_LOGDIALOG" = "yes"; then
36790 cat >>confdefs.h
<<\_ACEOF
36791 #define wxUSE_LOG_DIALOG 1
36796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36799 if test "$wxUSE_LONGLONG" = "yes"; then
36800 cat >>confdefs.h
<<\_ACEOF
36801 #define wxUSE_LONGLONG 1
36806 if test "$wxUSE_GEOMETRY" = "yes"; then
36807 cat >>confdefs.h
<<\_ACEOF
36808 #define wxUSE_GEOMETRY 1
36813 if test "$wxUSE_STREAMS" = "yes" ; then
36814 cat >>confdefs.h
<<\_ACEOF
36815 #define wxUSE_STREAMS 1
36821 if test "$wxUSE_DATETIME" = "yes"; then
36823 for ac_func
in strptime
36825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36826 echo "$as_me:$LINENO: checking for $ac_func" >&5
36827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36828 if eval "test \"\${$as_ac_var+set}\" = set"; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36831 cat >conftest.
$ac_ext <<_ACEOF
36834 cat confdefs.h
>>conftest.
$ac_ext
36835 cat >>conftest.
$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36839 #define $ac_func innocuous_$ac_func
36841 /* System header to define __stub macros and hopefully few prototypes,
36842 which can conflict with char $ac_func (); below.
36843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36844 <limits.h> exists even on freestanding compilers. */
36847 # include <limits.h>
36849 # include <assert.h>
36854 /* Override any gcc2 internal prototype to avoid an error. */
36859 /* We use char because int might match the return type of a gcc2
36860 builtin and then its argument prototype would still apply. */
36862 /* The GNU C library defines this for functions which it implements
36863 to always fail with ENOSYS. Some functions are actually named
36864 something starting with __ and the normal name is an alias. */
36865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36868 char (*f) () = $ac_func;
36877 return f != $ac_func;
36882 rm -f conftest.
$ac_objext conftest
$ac_exeext
36883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36884 (eval $ac_link) 2>conftest.er1
36886 grep -v '^ *+' conftest.er1
>conftest.err
36888 cat conftest.err
>&5
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); } &&
36891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36893 (eval $ac_try) 2>&5
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); }; } &&
36897 { ac_try
='test -s conftest$ac_exeext'
36898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36899 (eval $ac_try) 2>&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); }; }; then
36903 eval "$as_ac_var=yes"
36905 echo "$as_me: failed program was:" >&5
36906 sed 's/^/| /' conftest.
$ac_ext >&5
36908 eval "$as_ac_var=no"
36910 rm -f conftest.err conftest.
$ac_objext \
36911 conftest
$ac_exeext conftest.
$ac_ext
36913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36915 if test `eval echo '${'$as_ac_var'}'` = yes; then
36916 cat >>confdefs.h
<<_ACEOF
36917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36924 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36925 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36926 if test "${wx_cv_var_timezone+set}" = set; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36930 cat >conftest.
$ac_ext <<_ACEOF
36933 cat confdefs.h
>>conftest.
$ac_ext
36934 cat >>conftest.
$ac_ext <<_ACEOF
36935 /* end confdefs.h. */
36950 rm -f conftest.
$ac_objext
36951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36952 (eval $ac_compile) 2>conftest.er1
36954 grep -v '^ *+' conftest.er1
>conftest.err
36956 cat conftest.err
>&5
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); } &&
36959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36961 (eval $ac_try) 2>&5
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); }; } &&
36965 { ac_try
='test -s conftest.$ac_objext'
36966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36967 (eval $ac_try) 2>&5
36969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970 (exit $ac_status); }; }; then
36972 wx_cv_var_timezone
=timezone
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.
$ac_ext >&5
36979 cat >conftest.
$ac_ext <<_ACEOF
36982 cat confdefs.h
>>conftest.
$ac_ext
36983 cat >>conftest.
$ac_ext <<_ACEOF
36984 /* end confdefs.h. */
36999 rm -f conftest.
$ac_objext
37000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37001 (eval $ac_compile) 2>conftest.er1
37003 grep -v '^ *+' conftest.er1
>conftest.err
37005 cat conftest.err
>&5
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); } &&
37008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37010 (eval $ac_try) 2>&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); }; } &&
37014 { ac_try
='test -s conftest.$ac_objext'
37015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37016 (eval $ac_try) 2>&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); }; }; then
37021 wx_cv_var_timezone
=_timezone
37024 echo "$as_me: failed program was:" >&5
37025 sed 's/^/| /' conftest.
$ac_ext >&5
37028 cat >conftest.
$ac_ext <<_ACEOF
37031 cat confdefs.h
>>conftest.
$ac_ext
37032 cat >>conftest.
$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37048 rm -f conftest.
$ac_objext
37049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37050 (eval $ac_compile) 2>conftest.er1
37052 grep -v '^ *+' conftest.er1
>conftest.err
37054 cat conftest.err
>&5
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); } &&
37057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37059 (eval $ac_try) 2>&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); }; } &&
37063 { ac_try
='test -s conftest.$ac_objext'
37064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37065 (eval $ac_try) 2>&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); }; }; then
37070 wx_cv_var_timezone
=__timezone
37073 echo "$as_me: failed program was:" >&5
37074 sed 's/^/| /' conftest.
$ac_ext >&5
37077 if test "$USE_DOS" = 0 ; then
37078 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37079 echo "$as_me: WARNING: no timezone variable" >&2;}
37084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37096 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37097 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37099 if test "x$wx_cv_var_timezone" != x
; then
37100 cat >>confdefs.h
<<_ACEOF
37101 #define WX_TIMEZONE $wx_cv_var_timezone
37107 for ac_func
in localtime
37109 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37110 echo "$as_me:$LINENO: checking for $ac_func" >&5
37111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37112 if eval "test \"\${$as_ac_var+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37115 cat >conftest.
$ac_ext <<_ACEOF
37118 cat confdefs.h
>>conftest.
$ac_ext
37119 cat >>conftest.
$ac_ext <<_ACEOF
37120 /* end confdefs.h. */
37121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37123 #define $ac_func innocuous_$ac_func
37125 /* System header to define __stub macros and hopefully few prototypes,
37126 which can conflict with char $ac_func (); below.
37127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37128 <limits.h> exists even on freestanding compilers. */
37131 # include <limits.h>
37133 # include <assert.h>
37138 /* Override any gcc2 internal prototype to avoid an error. */
37143 /* We use char because int might match the return type of a gcc2
37144 builtin and then its argument prototype would still apply. */
37146 /* The GNU C library defines this for functions which it implements
37147 to always fail with ENOSYS. Some functions are actually named
37148 something starting with __ and the normal name is an alias. */
37149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37152 char (*f) () = $ac_func;
37161 return f != $ac_func;
37166 rm -f conftest.
$ac_objext conftest
$ac_exeext
37167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37168 (eval $ac_link) 2>conftest.er1
37170 grep -v '^ *+' conftest.er1
>conftest.err
37172 cat conftest.err
>&5
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); } &&
37175 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; } &&
37181 { ac_try
='test -s conftest$ac_exeext'
37182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37183 (eval $ac_try) 2>&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); }; }; then
37187 eval "$as_ac_var=yes"
37189 echo "$as_me: failed program was:" >&5
37190 sed 's/^/| /' conftest.
$ac_ext >&5
37192 eval "$as_ac_var=no"
37194 rm -f conftest.err conftest.
$ac_objext \
37195 conftest
$ac_exeext conftest.
$ac_ext
37197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37199 if test `eval echo '${'$as_ac_var'}'` = yes; then
37200 cat >>confdefs.h
<<_ACEOF
37201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37208 if test "$ac_cv_func_localtime" = "yes"; then
37209 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37210 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37211 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37212 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 cat >conftest.
$ac_ext <<_ACEOF
37218 cat confdefs.h
>>conftest.
$ac_ext
37219 cat >>conftest.
$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37235 rm -f conftest.
$ac_objext
37236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37237 (eval $ac_compile) 2>conftest.er1
37239 grep -v '^ *+' conftest.er1
>conftest.err
37241 cat conftest.err
>&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } &&
37244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246 (eval $ac_try) 2>&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); }; } &&
37250 { ac_try
='test -s conftest.$ac_objext'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; }; then
37257 wx_cv_struct_tm_has_gmtoff
=yes
37260 echo "$as_me: failed program was:" >&5
37261 sed 's/^/| /' conftest.
$ac_ext >&5
37263 wx_cv_struct_tm_has_gmtoff
=no
37266 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37269 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37270 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37273 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37274 cat >>confdefs.h
<<\_ACEOF
37275 #define WX_GMTOFF_IN_TM 1
37282 for ac_func
in gettimeofday ftime
37284 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37285 echo "$as_me:$LINENO: checking for $ac_func" >&5
37286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37287 if eval "test \"\${$as_ac_var+set}\" = set"; then
37288 echo $ECHO_N "(cached) $ECHO_C" >&6
37290 cat >conftest.
$ac_ext <<_ACEOF
37293 cat confdefs.h
>>conftest.
$ac_ext
37294 cat >>conftest.
$ac_ext <<_ACEOF
37295 /* end confdefs.h. */
37296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37298 #define $ac_func innocuous_$ac_func
37300 /* System header to define __stub macros and hopefully few prototypes,
37301 which can conflict with char $ac_func (); below.
37302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37303 <limits.h> exists even on freestanding compilers. */
37306 # include <limits.h>
37308 # include <assert.h>
37313 /* Override any gcc2 internal prototype to avoid an error. */
37318 /* We use char because int might match the return type of a gcc2
37319 builtin and then its argument prototype would still apply. */
37321 /* The GNU C library defines this for functions which it implements
37322 to always fail with ENOSYS. Some functions are actually named
37323 something starting with __ and the normal name is an alias. */
37324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37327 char (*f) () = $ac_func;
37336 return f != $ac_func;
37341 rm -f conftest.
$ac_objext conftest
$ac_exeext
37342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37343 (eval $ac_link) 2>conftest.er1
37345 grep -v '^ *+' conftest.er1
>conftest.err
37347 cat conftest.err
>&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } &&
37350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37352 (eval $ac_try) 2>&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); }; } &&
37356 { ac_try
='test -s conftest$ac_exeext'
37357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37358 (eval $ac_try) 2>&5
37360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361 (exit $ac_status); }; }; then
37362 eval "$as_ac_var=yes"
37364 echo "$as_me: failed program was:" >&5
37365 sed 's/^/| /' conftest.
$ac_ext >&5
37367 eval "$as_ac_var=no"
37369 rm -f conftest.err conftest.
$ac_objext \
37370 conftest
$ac_exeext conftest.
$ac_ext
37372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37374 if test `eval echo '${'$as_ac_var'}'` = yes; then
37375 cat >>confdefs.h
<<_ACEOF
37376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37383 if test "$ac_cv_func_gettimeofday" = "yes"; then
37384 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37385 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37386 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37393 ac_cpp
='$CXXCPP $CPPFLAGS'
37394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37399 cat >conftest.
$ac_ext <<_ACEOF
37402 cat confdefs.h
>>conftest.
$ac_ext
37403 cat >>conftest.
$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37406 #include <sys/time.h>
37407 #include <unistd.h>
37414 gettimeofday(&tv, NULL);
37420 rm -f conftest.
$ac_objext
37421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37422 (eval $ac_compile) 2>conftest.er1
37424 grep -v '^ *+' conftest.er1
>conftest.err
37426 cat conftest.err
>&5
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); } &&
37429 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431 (eval $ac_try) 2>&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); }; } &&
37435 { ac_try
='test -s conftest.$ac_objext'
37436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37437 (eval $ac_try) 2>&5
37439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37440 (exit $ac_status); }; }; then
37441 wx_cv_func_gettimeofday_has_2_args
=yes
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.
$ac_ext >&5
37446 cat >conftest.
$ac_ext <<_ACEOF
37449 cat confdefs.h
>>conftest.
$ac_ext
37450 cat >>conftest.
$ac_ext <<_ACEOF
37451 /* end confdefs.h. */
37453 #include <sys/time.h>
37454 #include <unistd.h>
37467 rm -f conftest.
$ac_objext
37468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37469 (eval $ac_compile) 2>conftest.er1
37471 grep -v '^ *+' conftest.er1
>conftest.err
37473 cat conftest.err
>&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } &&
37476 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; } &&
37482 { ac_try
='test -s conftest.$ac_objext'
37483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484 (eval $ac_try) 2>&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); }; }; then
37488 wx_cv_func_gettimeofday_has_2_args
=no
37490 echo "$as_me: failed program was:" >&5
37491 sed 's/^/| /' conftest.
$ac_ext >&5
37494 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37495 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37496 wx_cv_func_gettimeofday_has_2_args
=unknown
37500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37505 ac_cpp
='$CPP $CPPFLAGS'
37506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37512 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37513 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37515 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37516 cat >>confdefs.h
<<\_ACEOF
37517 #define WX_GETTIMEOFDAY_NO_TZ 1
37523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37527 if test "$wxUSE_SOCKETS" = "yes"; then
37528 if test "$wxUSE_MGL" = "1"; then
37529 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37530 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37535 if test "$wxUSE_SOCKETS" = "yes"; then
37536 if test "$TOOLKIT" != "MSW"; then
37537 echo "$as_me:$LINENO: checking for socket" >&5
37538 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37539 if test "${ac_cv_func_socket+set}" = set; then
37540 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 cat >conftest.
$ac_ext <<_ACEOF
37545 cat confdefs.h
>>conftest.
$ac_ext
37546 cat >>conftest.
$ac_ext <<_ACEOF
37547 /* end confdefs.h. */
37548 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37550 #define socket innocuous_socket
37552 /* System header to define __stub macros and hopefully few prototypes,
37553 which can conflict with char socket (); below.
37554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37555 <limits.h> exists even on freestanding compilers. */
37558 # include <limits.h>
37560 # include <assert.h>
37565 /* Override any gcc2 internal prototype to avoid an error. */
37570 /* We use char because int might match the return type of a gcc2
37571 builtin and then its argument prototype would still apply. */
37573 /* The GNU C library defines this for functions which it implements
37574 to always fail with ENOSYS. Some functions are actually named
37575 something starting with __ and the normal name is an alias. */
37576 #if defined (__stub_socket) || defined (__stub___socket)
37579 char (*f) () = socket;
37588 return f != socket;
37593 rm -f conftest.
$ac_objext conftest
$ac_exeext
37594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37595 (eval $ac_link) 2>conftest.er1
37597 grep -v '^ *+' conftest.er1
>conftest.err
37599 cat conftest.err
>&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } &&
37602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; } &&
37608 { ac_try
='test -s conftest$ac_exeext'
37609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37610 (eval $ac_try) 2>&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); }; }; then
37614 ac_cv_func_socket
=yes
37616 echo "$as_me: failed program was:" >&5
37617 sed 's/^/| /' conftest.
$ac_ext >&5
37619 ac_cv_func_socket
=no
37621 rm -f conftest.err conftest.
$ac_objext \
37622 conftest
$ac_exeext conftest.
$ac_ext
37624 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37625 echo "${ECHO_T}$ac_cv_func_socket" >&6
37626 if test $ac_cv_func_socket = yes; then
37630 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37631 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37632 if test "${ac_cv_lib_socket_socket+set}" = set; then
37633 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 ac_check_lib_save_LIBS
=$LIBS
37636 LIBS
="-lsocket $LIBS"
37637 cat >conftest.
$ac_ext <<_ACEOF
37640 cat confdefs.h
>>conftest.
$ac_ext
37641 cat >>conftest.
$ac_ext <<_ACEOF
37642 /* end confdefs.h. */
37644 /* Override any gcc2 internal prototype to avoid an error. */
37648 /* We use char because int might match the return type of a gcc2
37649 builtin and then its argument prototype would still apply. */
37659 rm -f conftest.
$ac_objext conftest
$ac_exeext
37660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37661 (eval $ac_link) 2>conftest.er1
37663 grep -v '^ *+' conftest.er1
>conftest.err
37665 cat conftest.err
>&5
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); } &&
37668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; } &&
37674 { ac_try
='test -s conftest$ac_exeext'
37675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37676 (eval $ac_try) 2>&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); }; }; then
37680 ac_cv_lib_socket_socket
=yes
37682 echo "$as_me: failed program was:" >&5
37683 sed 's/^/| /' conftest.
$ac_ext >&5
37685 ac_cv_lib_socket_socket
=no
37687 rm -f conftest.err conftest.
$ac_objext \
37688 conftest
$ac_exeext conftest.
$ac_ext
37689 LIBS
=$ac_check_lib_save_LIBS
37691 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37692 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37693 if test $ac_cv_lib_socket_socket = yes; then
37694 if test "$INET_LINK" != " -lsocket"; then
37695 INET_LINK
="$INET_LINK -lsocket"
37699 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37700 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37713 if test "$wxUSE_SOCKETS" = "yes" ; then
37714 if test "$TOOLKIT" != "MSW"; then
37716 ac_cpp
='$CXXCPP $CPPFLAGS'
37717 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37721 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37722 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37723 if test "${wx_cv_type_getsockname3+set}" = set; then
37724 echo $ECHO_N "(cached) $ECHO_C" >&6
37727 cat >conftest.
$ac_ext <<_ACEOF
37730 cat confdefs.h
>>conftest.
$ac_ext
37731 cat >>conftest.
$ac_ext <<_ACEOF
37732 /* end confdefs.h. */
37734 #include <sys/types.h>
37735 #include <sys/socket.h>
37742 getsockname(0, 0, &len);
37748 rm -f conftest.
$ac_objext
37749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37750 (eval $ac_compile) 2>conftest.er1
37752 grep -v '^ *+' conftest.er1
>conftest.err
37754 cat conftest.err
>&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } &&
37757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37759 (eval $ac_try) 2>&5
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); }; } &&
37763 { ac_try
='test -s conftest.$ac_objext'
37764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37765 (eval $ac_try) 2>&5
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); }; }; then
37769 wx_cv_type_getsockname3
=socklen_t
37771 echo "$as_me: failed program was:" >&5
37772 sed 's/^/| /' conftest.
$ac_ext >&5
37775 CFLAGS_OLD
="$CFLAGS"
37776 if test "$GCC" = yes ; then
37777 CFLAGS
="$CFLAGS -Werror"
37780 cat >conftest.
$ac_ext <<_ACEOF
37783 cat confdefs.h
>>conftest.
$ac_ext
37784 cat >>conftest.
$ac_ext <<_ACEOF
37785 /* end confdefs.h. */
37787 #include <sys/types.h>
37788 #include <sys/socket.h>
37795 getsockname(0, 0, &len);
37801 rm -f conftest.
$ac_objext
37802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37803 (eval $ac_compile) 2>conftest.er1
37805 grep -v '^ *+' conftest.er1
>conftest.err
37807 cat conftest.err
>&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); } &&
37810 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; } &&
37816 { ac_try
='test -s conftest.$ac_objext'
37817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37818 (eval $ac_try) 2>&5
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); }; }; then
37822 wx_cv_type_getsockname3
=size_t
37824 echo "$as_me: failed program was:" >&5
37825 sed 's/^/| /' conftest.
$ac_ext >&5
37827 cat >conftest.
$ac_ext <<_ACEOF
37830 cat confdefs.h
>>conftest.
$ac_ext
37831 cat >>conftest.
$ac_ext <<_ACEOF
37832 /* end confdefs.h. */
37834 #include <sys/types.h>
37835 #include <sys/socket.h>
37842 getsockname(0, 0, &len);
37848 rm -f conftest.
$ac_objext
37849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37850 (eval $ac_compile) 2>conftest.er1
37852 grep -v '^ *+' conftest.er1
>conftest.err
37854 cat conftest.err
>&5
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); } &&
37857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37859 (eval $ac_try) 2>&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); }; } &&
37863 { ac_try
='test -s conftest.$ac_objext'
37864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37865 (eval $ac_try) 2>&5
37867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37868 (exit $ac_status); }; }; then
37869 wx_cv_type_getsockname3
=int
37871 echo "$as_me: failed program was:" >&5
37872 sed 's/^/| /' conftest.
$ac_ext >&5
37874 wx_cv_type_getsockname3
=unknown
37877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37882 CFLAGS
="$CFLAGS_OLD"
37886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37889 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37890 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37892 if test "$wx_cv_type_getsockname3" = "unknown"; then
37894 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37895 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37897 cat >>confdefs.h
<<_ACEOF
37898 #define SOCKLEN_T $wx_cv_type_getsockname3
37902 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37903 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37904 if test "${wx_cv_type_getsockopt5+set}" = set; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37908 cat >conftest.
$ac_ext <<_ACEOF
37911 cat confdefs.h
>>conftest.
$ac_ext
37912 cat >>conftest.
$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37915 #include <sys/types.h>
37916 #include <sys/socket.h>
37923 getsockopt(0, 0, 0, 0, &len);
37929 rm -f conftest.
$ac_objext
37930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37931 (eval $ac_compile) 2>conftest.er1
37933 grep -v '^ *+' conftest.er1
>conftest.err
37935 cat conftest.err
>&5
37936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937 (exit $ac_status); } &&
37938 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37940 (eval $ac_try) 2>&5
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); }; } &&
37944 { ac_try
='test -s conftest.$ac_objext'
37945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37946 (eval $ac_try) 2>&5
37948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37949 (exit $ac_status); }; }; then
37950 wx_cv_type_getsockopt5
=socklen_t
37952 echo "$as_me: failed program was:" >&5
37953 sed 's/^/| /' conftest.
$ac_ext >&5
37956 CFLAGS_OLD
="$CFLAGS"
37957 if test "$GCC" = yes ; then
37958 CFLAGS
="$CFLAGS -Werror"
37961 cat >conftest.
$ac_ext <<_ACEOF
37964 cat confdefs.h
>>conftest.
$ac_ext
37965 cat >>conftest.
$ac_ext <<_ACEOF
37966 /* end confdefs.h. */
37968 #include <sys/types.h>
37969 #include <sys/socket.h>
37976 getsockopt(0, 0, 0, 0, &len);
37982 rm -f conftest.
$ac_objext
37983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37984 (eval $ac_compile) 2>conftest.er1
37986 grep -v '^ *+' conftest.er1
>conftest.err
37988 cat conftest.err
>&5
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); } &&
37991 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37993 (eval $ac_try) 2>&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); }; } &&
37997 { ac_try
='test -s conftest.$ac_objext'
37998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37999 (eval $ac_try) 2>&5
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); }; }; then
38003 wx_cv_type_getsockopt5
=size_t
38005 echo "$as_me: failed program was:" >&5
38006 sed 's/^/| /' conftest.
$ac_ext >&5
38008 cat >conftest.
$ac_ext <<_ACEOF
38011 cat confdefs.h
>>conftest.
$ac_ext
38012 cat >>conftest.
$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38015 #include <sys/types.h>
38016 #include <sys/socket.h>
38023 getsockopt(0, 0, 0, 0, &len);
38029 rm -f conftest.
$ac_objext
38030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38031 (eval $ac_compile) 2>conftest.er1
38033 grep -v '^ *+' conftest.er1
>conftest.err
38035 cat conftest.err
>&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } &&
38038 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; } &&
38044 { ac_try
='test -s conftest.$ac_objext'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; }; then
38050 wx_cv_type_getsockopt5
=int
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.
$ac_ext >&5
38055 wx_cv_type_getsockopt5
=unknown
38058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38063 CFLAGS
="$CFLAGS_OLD"
38067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38070 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38071 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38073 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38075 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38076 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38078 cat >>confdefs.h
<<_ACEOF
38079 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38084 ac_cpp
='$CPP $CPPFLAGS'
38085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38092 if test "$wxUSE_SOCKETS" = "yes" ; then
38093 cat >>confdefs.h
<<\_ACEOF
38094 #define wxUSE_SOCKETS 1
38097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38100 if test "$wxUSE_PROTOCOL" = "yes"; then
38101 if test "$wxUSE_SOCKETS" != "yes"; then
38102 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38103 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38108 if test "$wxUSE_PROTOCOL" = "yes"; then
38109 cat >>confdefs.h
<<\_ACEOF
38110 #define wxUSE_PROTOCOL 1
38114 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38115 cat >>confdefs.h
<<\_ACEOF
38116 #define wxUSE_PROTOCOL_HTTP 1
38120 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38121 cat >>confdefs.h
<<\_ACEOF
38122 #define wxUSE_PROTOCOL_FTP 1
38126 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38127 cat >>confdefs.h
<<\_ACEOF
38128 #define wxUSE_PROTOCOL_FILE 1
38133 if test "$wxUSE_FS_INET" = "yes"; then
38134 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38135 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38140 if test "$wxUSE_URL" = "yes"; then
38141 if test "$wxUSE_PROTOCOL" != "yes"; then
38142 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38143 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38146 if test "$wxUSE_URL" = "yes"; then
38147 cat >>confdefs.h
<<\_ACEOF
38148 #define wxUSE_URL 1
38154 if test "$wxUSE_FS_INET" = "yes"; then
38155 cat >>confdefs.h
<<\_ACEOF
38156 #define wxUSE_FS_INET 1
38162 if test "$wxUSE_GUI" = "yes"; then
38163 if test "$wxUSE_JOYSTICK" = "yes"; then
38165 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38167 for ac_header
in linux
/joystick.h
38169 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38171 echo "$as_me:$LINENO: checking for $ac_header" >&5
38172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38179 # Is the header compilable?
38180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38182 cat >conftest.
$ac_ext <<_ACEOF
38185 cat confdefs.h
>>conftest.
$ac_ext
38186 cat >>conftest.
$ac_ext <<_ACEOF
38187 /* end confdefs.h. */
38188 $ac_includes_default
38189 #include <$ac_header>
38191 rm -f conftest.
$ac_objext
38192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38193 (eval $ac_compile) 2>conftest.er1
38195 grep -v '^ *+' conftest.er1
>conftest.err
38197 cat conftest.err
>&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } &&
38200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38202 (eval $ac_try) 2>&5
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); }; } &&
38206 { ac_try
='test -s conftest.$ac_objext'
38207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38208 (eval $ac_try) 2>&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); }; }; then
38212 ac_header_compiler
=yes
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.
$ac_ext >&5
38217 ac_header_compiler
=no
38219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38221 echo "${ECHO_T}$ac_header_compiler" >&6
38223 # Is the header present?
38224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38226 cat >conftest.
$ac_ext <<_ACEOF
38229 cat confdefs.h
>>conftest.
$ac_ext
38230 cat >>conftest.
$ac_ext <<_ACEOF
38231 /* end confdefs.h. */
38232 #include <$ac_header>
38234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38237 grep -v '^ *+' conftest.er1
>conftest.err
38239 cat conftest.err
>&5
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); } >/dev
/null
; then
38242 if test -s conftest.err
; then
38243 ac_cpp_err
=$ac_c_preproc_warn_flag
38244 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38251 if test -z "$ac_cpp_err"; then
38252 ac_header_preproc
=yes
38254 echo "$as_me: failed program was:" >&5
38255 sed 's/^/| /' conftest.
$ac_ext >&5
38257 ac_header_preproc
=no
38259 rm -f conftest.err conftest.
$ac_ext
38260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38261 echo "${ECHO_T}$ac_header_preproc" >&6
38263 # So? What about this header?
38264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38270 ac_header_preproc
=yes
38273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38287 ## ----------------------------------------- ##
38288 ## Report this to wx-dev@lists.wxwidgets.org ##
38289 ## ----------------------------------------- ##
38292 sed "s/^/$as_me: WARNING: /" >&2
38295 echo "$as_me:$LINENO: checking for $ac_header" >&5
38296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38298 echo $ECHO_N "(cached) $ECHO_C" >&6
38300 eval "$as_ac_Header=\$ac_header_preproc"
38302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38307 cat >>confdefs.h
<<_ACEOF
38308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38315 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38317 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38318 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38321 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38323 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38324 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38329 if test "$wxUSE_JOYSTICK" = "yes"; then
38330 cat >>confdefs.h
<<\_ACEOF
38331 #define wxUSE_JOYSTICK 1
38334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38341 if test "$wxUSE_FONTMAP" = "yes" ; then
38342 cat >>confdefs.h
<<\_ACEOF
38343 #define wxUSE_FONTMAP 1
38348 if test "$wxUSE_UNICODE" = "yes" ; then
38349 cat >>confdefs.h
<<\_ACEOF
38350 #define wxUSE_UNICODE 1
38354 if test "$USE_WIN32" != 1; then
38355 wxUSE_UNICODE_MSLU
=no
38358 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38359 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38360 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38361 if test "${ac_cv_lib_unicows_main+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 ac_check_lib_save_LIBS
=$LIBS
38365 LIBS
="-lunicows $LIBS"
38366 cat >conftest.
$ac_ext <<_ACEOF
38369 cat confdefs.h
>>conftest.
$ac_ext
38370 cat >>conftest.
$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38382 rm -f conftest.
$ac_objext conftest
$ac_exeext
38383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38384 (eval $ac_link) 2>conftest.er1
38386 grep -v '^ *+' conftest.er1
>conftest.err
38388 cat conftest.err
>&5
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); } &&
38391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38393 (eval $ac_try) 2>&5
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); }; } &&
38397 { ac_try
='test -s conftest$ac_exeext'
38398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38399 (eval $ac_try) 2>&5
38401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38402 (exit $ac_status); }; }; then
38403 ac_cv_lib_unicows_main
=yes
38405 echo "$as_me: failed program was:" >&5
38406 sed 's/^/| /' conftest.
$ac_ext >&5
38408 ac_cv_lib_unicows_main
=no
38410 rm -f conftest.err conftest.
$ac_objext \
38411 conftest
$ac_exeext conftest.
$ac_ext
38412 LIBS
=$ac_check_lib_save_LIBS
38414 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38415 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38416 if test $ac_cv_lib_unicows_main = yes; then
38418 cat >>confdefs.h
<<\_ACEOF
38419 #define wxUSE_UNICODE_MSLU 1
38425 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38426 Applications will only run on Windows NT/2000/XP!" >&5
38427 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38428 Applications will only run on Windows NT/2000/XP!" >&2;}
38429 wxUSE_UNICODE_MSLU
=no
38436 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38437 cat >>confdefs.h
<<\_ACEOF
38438 #define wxUSE_EXPERIMENTAL_PRINTF 1
38444 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38445 cat >>confdefs.h
<<\_ACEOF
38446 #define wxUSE_POSTSCRIPT 1
38451 cat >>confdefs.h
<<\_ACEOF
38452 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38456 cat >>confdefs.h
<<\_ACEOF
38457 #define wxUSE_NORMALIZED_PS_FONTS 1
38462 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38463 cat >>confdefs.h
<<\_ACEOF
38464 #define wxUSE_CONSTRAINTS 1
38467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38470 if test "$wxUSE_MDI" = "yes"; then
38471 cat >>confdefs.h
<<\_ACEOF
38472 #define wxUSE_MDI 1
38476 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38477 cat >>confdefs.h
<<\_ACEOF
38478 #define wxUSE_MDI_ARCHITECTURE 1
38481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38485 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38486 cat >>confdefs.h
<<\_ACEOF
38487 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38491 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38496 if test "$wxUSE_HELP" = "yes"; then
38497 cat >>confdefs.h
<<\_ACEOF
38498 #define wxUSE_HELP 1
38501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38503 if test "$wxUSE_MSW" = 1; then
38504 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38505 cat >>confdefs.h
<<\_ACEOF
38506 #define wxUSE_MS_HTML_HELP 1
38512 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38513 if test "$wxUSE_HTML" = "yes"; then
38514 cat >>confdefs.h
<<\_ACEOF
38515 #define wxUSE_WXHTML_HELP 1
38519 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38520 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38521 wxUSE_WXHTML_HELP
=no
38526 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38527 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38528 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38529 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38531 cat >>confdefs.h
<<\_ACEOF
38532 #define wxUSE_PRINTING_ARCHITECTURE 1
38536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38539 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38540 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38541 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38542 { (exit 1); exit 1; }; }
38546 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38547 -o "$wxUSE_CLIPBOARD" = "yes" \
38548 -o "$wxUSE_OLE" = "yes" \
38549 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38551 for ac_header
in ole2.h
38553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38555 echo "$as_me:$LINENO: checking for $ac_header" >&5
38556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38563 # Is the header compilable?
38564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38566 cat >conftest.
$ac_ext <<_ACEOF
38569 cat confdefs.h
>>conftest.
$ac_ext
38570 cat >>conftest.
$ac_ext <<_ACEOF
38571 /* end confdefs.h. */
38572 $ac_includes_default
38573 #include <$ac_header>
38575 rm -f conftest.
$ac_objext
38576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38577 (eval $ac_compile) 2>conftest.er1
38579 grep -v '^ *+' conftest.er1
>conftest.err
38581 cat conftest.err
>&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } &&
38584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38586 (eval $ac_try) 2>&5
38588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38589 (exit $ac_status); }; } &&
38590 { ac_try
='test -s conftest.$ac_objext'
38591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38592 (eval $ac_try) 2>&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); }; }; then
38596 ac_header_compiler
=yes
38598 echo "$as_me: failed program was:" >&5
38599 sed 's/^/| /' conftest.
$ac_ext >&5
38601 ac_header_compiler
=no
38603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38604 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38605 echo "${ECHO_T}$ac_header_compiler" >&6
38607 # Is the header present?
38608 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38609 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38610 cat >conftest.
$ac_ext <<_ACEOF
38613 cat confdefs.h
>>conftest.
$ac_ext
38614 cat >>conftest.
$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616 #include <$ac_header>
38618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38619 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38621 grep -v '^ *+' conftest.er1
>conftest.err
38623 cat conftest.err
>&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } >/dev
/null
; then
38626 if test -s conftest.err
; then
38627 ac_cpp_err
=$ac_c_preproc_warn_flag
38628 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38635 if test -z "$ac_cpp_err"; then
38636 ac_header_preproc
=yes
38638 echo "$as_me: failed program was:" >&5
38639 sed 's/^/| /' conftest.
$ac_ext >&5
38641 ac_header_preproc
=no
38643 rm -f conftest.err conftest.
$ac_ext
38644 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38645 echo "${ECHO_T}$ac_header_preproc" >&6
38647 # So? What about this header?
38648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38650 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38651 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38653 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38654 ac_header_preproc
=yes
38657 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38658 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38659 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38660 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38661 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38662 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38663 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38664 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38666 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38667 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38668 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38671 ## ----------------------------------------- ##
38672 ## Report this to wx-dev@lists.wxwidgets.org ##
38673 ## ----------------------------------------- ##
38676 sed "s/^/$as_me: WARNING: /" >&2
38679 echo "$as_me:$LINENO: checking for $ac_header" >&5
38680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38682 echo $ECHO_N "(cached) $ECHO_C" >&6
38684 eval "$as_ac_Header=\$ac_header_preproc"
38686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38691 cat >>confdefs.h
<<_ACEOF
38692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38700 if test "$ac_cv_header_ole2_h" = "yes" ; then
38701 if test "$GCC" = yes ; then
38705 ac_cpp
='$CXXCPP $CPPFLAGS'
38706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38711 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38712 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38713 cat >conftest.
$ac_ext <<_ACEOF
38716 cat confdefs.h
>>conftest.
$ac_ext
38717 cat >>conftest.
$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38719 #include <windows.h>
38729 rm -f conftest.
$ac_objext
38730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38731 (eval $ac_compile) 2>conftest.er1
38733 grep -v '^ *+' conftest.er1
>conftest.err
38735 cat conftest.err
>&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); } &&
38738 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38740 (eval $ac_try) 2>&5
38742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743 (exit $ac_status); }; } &&
38744 { ac_try
='test -s conftest.$ac_objext'
38745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38746 (eval $ac_try) 2>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); }; }; then
38750 echo "$as_me:$LINENO: result: no" >&5
38751 echo "${ECHO_T}no" >&6
38753 echo "$as_me: failed program was:" >&5
38754 sed 's/^/| /' conftest.
$ac_ext >&5
38756 echo "$as_me:$LINENO: result: yes" >&5
38757 echo "${ECHO_T}yes" >&6
38758 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38762 ac_cpp
='$CPP $CPPFLAGS'
38763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38767 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38768 if test "$wxUSE_OLE" = "yes" ; then
38769 cat >>confdefs.h
<<\_ACEOF
38770 #define wxUSE_OLE 1
38773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38777 if test "$wxUSE_DATAOBJ" = "yes" ; then
38778 cat >>confdefs.h
<<\_ACEOF
38779 #define wxUSE_DATAOBJ 1
38784 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38785 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38788 wxUSE_DRAG_AND_DROP
=no
38793 if test "$wxUSE_METAFILE" = "yes"; then
38794 cat >>confdefs.h
<<\_ACEOF
38795 #define wxUSE_METAFILE 1
38799 cat >>confdefs.h
<<\_ACEOF
38800 #define wxUSE_ENH_METAFILE 1
38806 if test "$wxUSE_IPC" = "yes"; then
38807 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38808 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38809 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38813 if test "$wxUSE_IPC" = "yes"; then
38814 cat >>confdefs.h
<<\_ACEOF
38815 #define wxUSE_IPC 1
38818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38822 if test "$wxUSE_CLIPBOARD" = "yes"; then
38823 if test "$wxUSE_MGL" = 1; then
38824 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38825 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38829 if test "$wxUSE_CLIPBOARD" = "yes"; then
38830 cat >>confdefs.h
<<\_ACEOF
38831 #define wxUSE_CLIPBOARD 1
38835 cat >>confdefs.h
<<\_ACEOF
38836 #define wxUSE_DATAOBJ 1
38842 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38843 if test "$wxUSE_GTK" = 1; then
38844 if test "$WXGTK12" != 1; then
38845 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38846 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38847 wxUSE_DRAG_AND_DROP
=no
38851 if test "$wxUSE_MOTIF" = 1; then
38852 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38853 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38854 wxUSE_DRAG_AND_DROP
=no
38857 if test "$wxUSE_X11" = 1; then
38858 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38859 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38860 wxUSE_DRAG_AND_DROP
=no
38863 if test "$wxUSE_MGL" = 1; then
38864 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38865 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38866 wxUSE_DRAG_AND_DROP
=no
38869 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38870 cat >>confdefs.h
<<\_ACEOF
38871 #define wxUSE_DRAG_AND_DROP 1
38878 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38882 if test "$wxUSE_SPLINES" = "yes" ; then
38883 cat >>confdefs.h
<<\_ACEOF
38884 #define wxUSE_SPLINES 1
38889 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
38890 cat >>confdefs.h
<<\_ACEOF
38891 #define wxUSE_MOUSEWHEEL 1
38898 if test "$wxUSE_CONTROLS" = "yes"; then
38902 if test "$wxUSE_ACCEL" = "yes"; then
38903 cat >>confdefs.h
<<\_ACEOF
38904 #define wxUSE_ACCEL 1
38910 if test "$wxUSE_BUTTON" = "yes"; then
38911 cat >>confdefs.h
<<\_ACEOF
38912 #define wxUSE_BUTTON 1
38918 if test "$wxUSE_BMPBUTTON" = "yes"; then
38919 cat >>confdefs.h
<<\_ACEOF
38920 #define wxUSE_BMPBUTTON 1
38926 if test "$wxUSE_CALCTRL" = "yes"; then
38927 cat >>confdefs.h
<<\_ACEOF
38928 #define wxUSE_CALENDARCTRL 1
38932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38935 if test "$wxUSE_CARET" = "yes"; then
38936 cat >>confdefs.h
<<\_ACEOF
38937 #define wxUSE_CARET 1
38941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38944 if test "$wxUSE_COMBOBOX" = "yes"; then
38945 cat >>confdefs.h
<<\_ACEOF
38946 #define wxUSE_COMBOBOX 1
38952 if test "$wxUSE_CHOICE" = "yes"; then
38953 cat >>confdefs.h
<<\_ACEOF
38954 #define wxUSE_CHOICE 1
38960 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38961 cat >>confdefs.h
<<\_ACEOF
38962 #define wxUSE_CHOICEBOOK 1
38968 if test "$wxUSE_CHECKBOX" = "yes"; then
38969 cat >>confdefs.h
<<\_ACEOF
38970 #define wxUSE_CHECKBOX 1
38976 if test "$wxUSE_CHECKLST" = "yes"; then
38977 cat >>confdefs.h
<<\_ACEOF
38978 #define wxUSE_CHECKLISTBOX 1
38982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38985 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38986 cat >>confdefs.h
<<\_ACEOF
38987 #define wxUSE_DATEPICKCTRL 1
38993 if test "$wxUSE_DISPLAY" = "yes"; then
38994 cat >>confdefs.h
<<\_ACEOF
38995 #define wxUSE_DISPLAY 1
38998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39001 if test "$wxUSE_GAUGE" = "yes"; then
39002 cat >>confdefs.h
<<\_ACEOF
39003 #define wxUSE_GAUGE 1
39009 if test "$wxUSE_GRID" = "yes"; then
39010 cat >>confdefs.h
<<\_ACEOF
39011 #define wxUSE_GRID 1
39015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39018 if test "$wxUSE_IMAGLIST" = "yes"; then
39019 cat >>confdefs.h
<<\_ACEOF
39020 #define wxUSE_IMAGLIST 1
39025 if test "$wxUSE_LISTBOOK" = "yes"; then
39026 cat >>confdefs.h
<<\_ACEOF
39027 #define wxUSE_LISTBOOK 1
39033 if test "$wxUSE_LISTBOX" = "yes"; then
39034 cat >>confdefs.h
<<\_ACEOF
39035 #define wxUSE_LISTBOX 1
39039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39042 if test "$wxUSE_LISTCTRL" = "yes"; then
39043 if test "$wxUSE_IMAGLIST" = "yes"; then
39044 cat >>confdefs.h
<<\_ACEOF
39045 #define wxUSE_LISTCTRL 1
39049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39051 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39052 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39056 if test "$wxUSE_NOTEBOOK" = "yes"; then
39057 cat >>confdefs.h
<<\_ACEOF
39058 #define wxUSE_NOTEBOOK 1
39062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39066 if test "$wxUSE_RADIOBOX" = "yes"; then
39067 cat >>confdefs.h
<<\_ACEOF
39068 #define wxUSE_RADIOBOX 1
39074 if test "$wxUSE_RADIOBTN" = "yes"; then
39075 cat >>confdefs.h
<<\_ACEOF
39076 #define wxUSE_RADIOBTN 1
39082 if test "$wxUSE_SASH" = "yes"; then
39083 cat >>confdefs.h
<<\_ACEOF
39084 #define wxUSE_SASH 1
39087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
39090 if test "$wxUSE_SCROLLBAR" = "yes"; then
39091 cat >>confdefs.h
<<\_ACEOF
39092 #define wxUSE_SCROLLBAR 1
39096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
39099 if test "$wxUSE_SLIDER" = "yes"; then
39100 cat >>confdefs.h
<<\_ACEOF
39101 #define wxUSE_SLIDER 1
39107 if test "$wxUSE_SPINBTN" = "yes"; then
39108 cat >>confdefs.h
<<\_ACEOF
39109 #define wxUSE_SPINBTN 1
39115 if test "$wxUSE_SPINCTRL" = "yes"; then
39116 cat >>confdefs.h
<<\_ACEOF
39117 #define wxUSE_SPINCTRL 1
39123 if test "$wxUSE_SPLITTER" = "yes"; then
39124 cat >>confdefs.h
<<\_ACEOF
39125 #define wxUSE_SPLITTER 1
39128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
39131 if test "$wxUSE_STATBMP" = "yes"; then
39132 cat >>confdefs.h
<<\_ACEOF
39133 #define wxUSE_STATBMP 1
39139 if test "$wxUSE_STATBOX" = "yes"; then
39140 cat >>confdefs.h
<<\_ACEOF
39141 #define wxUSE_STATBOX 1
39147 if test "$wxUSE_STATTEXT" = "yes"; then
39148 cat >>confdefs.h
<<\_ACEOF
39149 #define wxUSE_STATTEXT 1
39155 if test "$wxUSE_STATLINE" = "yes"; then
39156 cat >>confdefs.h
<<\_ACEOF
39157 #define wxUSE_STATLINE 1
39163 if test "$wxUSE_STATUSBAR" = "yes"; then
39164 cat >>confdefs.h
<<\_ACEOF
39165 #define wxUSE_NATIVE_STATUSBAR 1
39168 cat >>confdefs.h
<<\_ACEOF
39169 #define wxUSE_STATUSBAR 1
39174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39177 if test "$wxUSE_TABDIALOG" = "yes"; then
39178 cat >>confdefs.h
<<\_ACEOF
39179 #define wxUSE_TAB_DIALOG 1
39184 if test "$wxUSE_TEXTCTRL" = "yes"; then
39185 cat >>confdefs.h
<<\_ACEOF
39186 #define wxUSE_TEXTCTRL 1
39190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39193 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39194 if test "$wxUSE_COCOA" = 1 ; then
39195 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39196 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39199 if test "$wxUSE_UNIVERSAL" = "yes"; then
39200 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39201 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39205 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39206 cat >>confdefs.h
<<\_ACEOF
39207 #define wxUSE_TOGGLEBTN 1
39214 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39215 cat >>confdefs.h
<<\_ACEOF
39216 #define wxUSE_TOOLBAR_SIMPLE 1
39219 wxUSE_TOOLBAR
="yes"
39223 if test "$wxUSE_TOOLBAR" = "yes"; then
39224 cat >>confdefs.h
<<\_ACEOF
39225 #define wxUSE_TOOLBAR 1
39230 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39231 wxUSE_TOOLBAR_NATIVE
="yes"
39234 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39235 cat >>confdefs.h
<<\_ACEOF
39236 #define wxUSE_TOOLBAR_NATIVE 1
39242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39245 if test "$wxUSE_TOOLTIPS" = "yes"; then
39246 if test "$wxUSE_MOTIF" = 1; then
39247 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39248 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39250 if test "$wxUSE_UNIVERSAL" = "yes"; then
39251 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39252 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39254 cat >>confdefs.h
<<\_ACEOF
39255 #define wxUSE_TOOLTIPS 1
39262 if test "$wxUSE_TREECTRL" = "yes"; then
39263 if test "$wxUSE_IMAGLIST" = "yes"; then
39264 cat >>confdefs.h
<<\_ACEOF
39265 #define wxUSE_TREECTRL 1
39269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39271 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39272 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39276 if test "$wxUSE_POPUPWIN" = "yes"; then
39277 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39278 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39279 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39281 if test "$wxUSE_PM" = 1; then
39282 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39283 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39285 cat >>confdefs.h
<<\_ACEOF
39286 #define wxUSE_POPUPWIN 1
39289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39296 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39297 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39298 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39299 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39301 cat >>confdefs.h
<<\_ACEOF
39302 #define wxUSE_DIALUP_MANAGER 1
39305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39309 if test "$wxUSE_TIPWINDOW" = "yes"; then
39310 if test "$wxUSE_PM" = 1; then
39311 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39312 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39314 cat >>confdefs.h
<<\_ACEOF
39315 #define wxUSE_TIPWINDOW 1
39321 if test "$USES_CONTROLS" = 1; then
39322 cat >>confdefs.h
<<\_ACEOF
39323 #define wxUSE_CONTROLS 1
39329 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39330 cat >>confdefs.h
<<\_ACEOF
39331 #define wxUSE_ACCESSIBILITY 1
39334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39337 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39338 cat >>confdefs.h
<<\_ACEOF
39339 #define wxUSE_DRAGIMAGE 1
39342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39345 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39346 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39347 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39348 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39350 cat >>confdefs.h
<<\_ACEOF
39351 #define wxUSE_EXCEPTIONS 1
39354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39359 if test "$wxUSE_HTML" = "yes"; then
39360 cat >>confdefs.h
<<\_ACEOF
39361 #define wxUSE_HTML 1
39365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39366 if test "$wxUSE_MAC" = 1; then
39367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39370 if test "$wxUSE_WEBKIT" = "yes"; then
39371 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39372 old_CPPFLAGS
="$CPPFLAGS"
39373 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39374 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39375 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39376 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39377 echo $ECHO_N "(cached) $ECHO_C" >&6
39379 cat >conftest.
$ac_ext <<_ACEOF
39382 cat confdefs.h
>>conftest.
$ac_ext
39383 cat >>conftest.
$ac_ext <<_ACEOF
39384 /* end confdefs.h. */
39385 #include <Carbon/Carbon.h>
39387 #include <WebKit/HIWebView.h>
39389 rm -f conftest.
$ac_objext
39390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39391 (eval $ac_compile) 2>conftest.er1
39393 grep -v '^ *+' conftest.er1
>conftest.err
39395 cat conftest.err
>&5
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); } &&
39398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39400 (eval $ac_try) 2>&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); }; } &&
39404 { ac_try
='test -s conftest.$ac_objext'
39405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39406 (eval $ac_try) 2>&5
39408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39409 (exit $ac_status); }; }; then
39410 ac_cv_header_WebKit_HIWebView_h
=yes
39412 echo "$as_me: failed program was:" >&5
39413 sed 's/^/| /' conftest.
$ac_ext >&5
39415 ac_cv_header_WebKit_HIWebView_h
=no
39417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39419 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39420 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39421 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39423 cat >>confdefs.h
<<\_ACEOF
39424 #define wxUSE_WEBKIT 1
39427 WEBKIT_LINK
="-framework WebKit"
39431 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39432 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39438 CPPFLAGS
="$old_CPPFLAGS"
39439 elif test "$wxUSE_COCOA" = 1; then
39440 cat >>confdefs.h
<<\_ACEOF
39441 #define wxUSE_WEBKIT 1
39450 if test "$wxUSE_XRC" = "yes"; then
39451 if test "$wxUSE_XML" != "yes"; then
39452 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39453 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39456 cat >>confdefs.h
<<\_ACEOF
39457 #define wxUSE_XRC 1
39461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39465 if test "$wxUSE_MENUS" = "yes"; then
39466 cat >>confdefs.h
<<\_ACEOF
39467 #define wxUSE_MENUS 1
39470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39473 if test "$wxUSE_METAFILE" = "yes"; then
39474 cat >>confdefs.h
<<\_ACEOF
39475 #define wxUSE_METAFILE 1
39480 if test "$wxUSE_MIMETYPE" = "yes"; then
39481 cat >>confdefs.h
<<\_ACEOF
39482 #define wxUSE_MIMETYPE 1
39487 if test "$wxUSE_MINIFRAME" = "yes"; then
39488 cat >>confdefs.h
<<\_ACEOF
39489 #define wxUSE_MINIFRAME 1
39492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39495 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39496 cat >>confdefs.h
<<\_ACEOF
39497 #define wxUSE_SYSTEM_OPTIONS 1
39500 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39501 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39507 if test "$wxUSE_VALIDATORS" = "yes"; then
39508 cat >>confdefs.h
<<\_ACEOF
39509 #define wxUSE_VALIDATORS 1
39512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39515 if test "$wxUSE_PALETTE" = "yes" ; then
39516 cat >>confdefs.h
<<\_ACEOF
39517 #define wxUSE_PALETTE 1
39522 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39523 LIBS
=" -lunicows $LIBS"
39527 if test "$wxUSE_IMAGE" = "yes" ; then
39528 cat >>confdefs.h
<<\_ACEOF
39529 #define wxUSE_IMAGE 1
39533 if test "$wxUSE_GIF" = "yes" ; then
39534 cat >>confdefs.h
<<\_ACEOF
39535 #define wxUSE_GIF 1
39540 if test "$wxUSE_PCX" = "yes" ; then
39541 cat >>confdefs.h
<<\_ACEOF
39542 #define wxUSE_PCX 1
39547 if test "$wxUSE_IFF" = "yes" ; then
39548 cat >>confdefs.h
<<\_ACEOF
39549 #define wxUSE_IFF 1
39554 if test "$wxUSE_PNM" = "yes" ; then
39555 cat >>confdefs.h
<<\_ACEOF
39556 #define wxUSE_PNM 1
39561 if test "$wxUSE_XPM" = "yes" ; then
39562 cat >>confdefs.h
<<\_ACEOF
39563 #define wxUSE_XPM 1
39568 if test "$wxUSE_ICO_CUR" = "yes" ; then
39569 cat >>confdefs.h
<<\_ACEOF
39570 #define wxUSE_ICO_CUR 1
39577 if test "$wxUSE_CHOICEDLG" = "yes"; then
39578 cat >>confdefs.h
<<\_ACEOF
39579 #define wxUSE_CHOICEDLG 1
39584 if test "$wxUSE_COLOURDLG" = "yes"; then
39585 cat >>confdefs.h
<<\_ACEOF
39586 #define wxUSE_COLOURDLG 1
39591 if test "$wxUSE_FILEDLG" = "yes"; then
39592 cat >>confdefs.h
<<\_ACEOF
39593 #define wxUSE_FILEDLG 1
39598 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39599 cat >>confdefs.h
<<\_ACEOF
39600 #define wxUSE_FINDREPLDLG 1
39605 if test "$wxUSE_FONTDLG" = "yes"; then
39606 cat >>confdefs.h
<<\_ACEOF
39607 #define wxUSE_FONTDLG 1
39612 if test "$wxUSE_DIRDLG" = "yes"; then
39613 if test "$wxUSE_TREECTRL" != "yes"; then
39614 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39615 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39617 cat >>confdefs.h
<<\_ACEOF
39618 #define wxUSE_DIRDLG 1
39624 if test "$wxUSE_MSGDLG" = "yes"; then
39625 cat >>confdefs.h
<<\_ACEOF
39626 #define wxUSE_MSGDLG 1
39631 if test "$wxUSE_NUMBERDLG" = "yes"; then
39632 cat >>confdefs.h
<<\_ACEOF
39633 #define wxUSE_NUMBERDLG 1
39638 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39639 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39640 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39641 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39643 cat >>confdefs.h
<<\_ACEOF
39644 #define wxUSE_PROGRESSDLG 1
39650 if test "$wxUSE_SPLASH" = "yes"; then
39651 cat >>confdefs.h
<<\_ACEOF
39652 #define wxUSE_SPLASH 1
39655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39658 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39659 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39660 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39661 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39663 cat >>confdefs.h
<<\_ACEOF
39664 #define wxUSE_STARTUP_TIPS 1
39670 if test "$wxUSE_TEXTDLG" = "yes"; then
39671 cat >>confdefs.h
<<\_ACEOF
39672 #define wxUSE_TEXTDLG 1
39677 if test "$wxUSE_WIZARDDLG" = "yes"; then
39678 cat >>confdefs.h
<<\_ACEOF
39679 #define wxUSE_WIZARDDLG 1
39682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39686 if test "$wxUSE_MEDIACTRL" = "yes"; then
39687 if test "$wxUSE_MSW" = 1; then
39688 wxUSE_DIRECTSHOW
="yes"
39690 for ac_header
in dshow.h
39692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39693 echo "$as_me:$LINENO: checking for $ac_header" >&5
39694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39696 echo $ECHO_N "(cached) $ECHO_C" >&6
39698 cat >conftest.
$ac_ext <<_ACEOF
39701 cat confdefs.h
>>conftest.
$ac_ext
39702 cat >>conftest.
$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39704 #include <windows.h>
39706 #include <$ac_header>
39708 rm -f conftest.
$ac_objext
39709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39710 (eval $ac_compile) 2>conftest.er1
39712 grep -v '^ *+' conftest.er1
>conftest.err
39714 cat conftest.err
>&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } &&
39717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39719 (eval $ac_try) 2>&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); }; } &&
39723 { ac_try
='test -s conftest.$ac_objext'
39724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39725 (eval $ac_try) 2>&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; }; then
39729 eval "$as_ac_Header=yes"
39731 echo "$as_me: failed program was:" >&5
39732 sed 's/^/| /' conftest.
$ac_ext >&5
39734 eval "$as_ac_Header=no"
39736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39741 cat >>confdefs.h
<<_ACEOF
39742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39747 wxUSE_DIRECTSHOW
="no"
39748 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39749 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39756 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39757 cat >>confdefs.h
<<\_ACEOF
39758 #define wxUSE_DIRECTSHOW 1
39761 LIBS
="$LIBS -lstrmiids"
39765 if test "$wxUSE_GTK" = 1; then
39766 wxUSE_GSTREAMER
="yes"
39771 if test -z "$PKG_CONFIG"; then
39772 # Extract the first word of "pkg-config", so it can be a program name with args.
39773 set dummy pkg
-config; ac_word
=$2
39774 echo "$as_me:$LINENO: checking for $ac_word" >&5
39775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39776 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39777 echo $ECHO_N "(cached) $ECHO_C" >&6
39779 case $PKG_CONFIG in
39781 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39785 for as_dir
in $PATH
39788 test -z "$as_dir" && as_dir
=.
39789 for ac_exec_ext
in '' $ac_executable_extensions; do
39790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39791 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39798 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39802 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39804 if test -n "$PKG_CONFIG"; then
39805 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39806 echo "${ECHO_T}$PKG_CONFIG" >&6
39808 echo "$as_me:$LINENO: result: no" >&5
39809 echo "${ECHO_T}no" >&6
39814 if test "$PKG_CONFIG" = "no" ; then
39815 echo "*** The pkg-config script could not be found. Make sure it is"
39816 echo "*** in your path, or set the PKG_CONFIG environment variable"
39817 echo "*** to the full path to pkg-config."
39818 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39820 PKG_CONFIG_MIN_VERSION
=0.9.0
39821 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39822 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39823 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39825 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39826 echo "$as_me:$LINENO: result: yes" >&5
39827 echo "${ECHO_T}yes" >&6
39830 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39831 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39832 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39833 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39834 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39836 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39837 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39838 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39839 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39840 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39842 GSTREAMER_CFLAGS
=""
39844 ## If we have a custom action on failure, don't print errors, but
39845 ## do set a variable so people can do so.
39846 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39853 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39854 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39858 if test $succeeded = yes; then
39860 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39861 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39865 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39866 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39867 wxUSE_GSTREAMER
="no"
39875 if test "x$GST_INSPECT" == "x"; then
39876 # Extract the first word of "gst-inspect", so it can be a program name with args.
39877 set dummy gst
-inspect; ac_word
=$2
39878 echo "$as_me:$LINENO: checking for $ac_word" >&5
39879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39880 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39881 echo $ECHO_N "(cached) $ECHO_C" >&6
39883 if test -n "$GST_INSPECT"; then
39884 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39887 for as_dir
in $PATH
39890 test -z "$as_dir" && as_dir
=.
39891 for ac_exec_ext
in '' $ac_executable_extensions; do
39892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39893 ac_cv_prog_GST_INSPECT
="gst-inspect"
39894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39902 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39903 if test -n "$GST_INSPECT"; then
39904 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39905 echo "${ECHO_T}$GST_INSPECT" >&6
39907 echo "$as_me:$LINENO: result: no" >&5
39908 echo "${ECHO_T}no" >&6
39913 if test "x$GST_INSPECT" != "x"; then
39914 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39915 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39916 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39917 echo "$as_me:$LINENO: result: found." >&5
39918 echo "${ECHO_T}found." >&6
39921 echo "$as_me:$LINENO: result: not found." >&5
39922 echo "${ECHO_T}not found." >&6
39924 wxUSE_GSTREAMER
="no"
39925 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39926 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39932 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39933 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39934 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39935 echo $ECHO_N "(cached) $ECHO_C" >&6
39937 cat >conftest.
$ac_ext <<_ACEOF
39940 cat confdefs.h
>>conftest.
$ac_ext
39941 cat >>conftest.
$ac_ext <<_ACEOF
39942 /* end confdefs.h. */
39943 #include <gst/gst.h>
39945 #include <gst/xoverlay/xoverlay.h>
39947 rm -f conftest.
$ac_objext
39948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39949 (eval $ac_compile) 2>conftest.er1
39951 grep -v '^ *+' conftest.er1
>conftest.err
39953 cat conftest.err
>&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); } &&
39956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; } &&
39962 { ac_try
='test -s conftest.$ac_objext'
39963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39964 (eval $ac_try) 2>&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); }; }; then
39968 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.
$ac_ext >&5
39973 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39977 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39978 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39979 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39983 wxUSE_GSTREAMER
="no"
39984 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39985 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39991 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39992 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39995 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39997 for ac_extension
in a so sl dylib
; do
39998 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39999 ac_find_libraries
=$ac_dir
40006 if test "$ac_find_libraries" = "" ; then
40007 echo "$as_me:$LINENO: result: no" >&5
40008 echo "${ECHO_T}no" >&6
40009 wxUSE_GSTREAMER
="no"
40011 echo "$as_me:$LINENO: result: yes" >&5
40012 echo "${ECHO_T}yes" >&6
40015 if test "$wxUSE_GSTREAMER" = "yes"; then
40016 cat >>confdefs.h
<<\_ACEOF
40017 #define wxUSE_GSTREAMER 1
40020 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40021 echo "${ECHO_T}GStreamer detection successful" >&6
40024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40025 cat >>confdefs.h
<<\_ACEOF
40026 #define wxUSE_MEDIACTRL 1
40032 if test "$cross_compiling" = "yes"; then
40035 OSINFO
=`uname -s -r -m`
40036 OSINFO
="\"$OSINFO\""
40039 cat >>confdefs.h
<<_ACEOF
40040 #define WXWIN_OS_DESCRIPTION $OSINFO
40045 if test "x$prefix" != "xNONE"; then
40048 wxPREFIX
=$ac_default_prefix
40051 cat >>confdefs.h
<<_ACEOF
40052 #define wxINSTALL_PREFIX "$wxPREFIX"
40058 CORE_BASE_LIBS
="net base"
40059 CORE_GUI_LIBS
="adv core"
40061 if test "$wxUSE_XML" = "yes" ; then
40062 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40064 if test "$wxUSE_ODBC" != "no" ; then
40065 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40066 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40068 if test "$wxUSE_HTML" = "yes" ; then
40069 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40071 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40072 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40074 if test "$wxUSE_XRC" = "yes" ; then
40075 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40078 if test "$wxUSE_GUI" != "yes"; then
40089 if test "$wxUSE_MAC" = 1 ; then
40090 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40091 if test "$USE_DARWIN" = 1; then
40092 LDFLAGS
="$LDFLAGS -framework QuickTime"
40094 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40097 if test "$USE_DARWIN" = 1; then
40098 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40100 LDFLAGS
="$LDFLAGS -lCarbonLib"
40102 elif test "$USE_DARWIN" = 1; then
40103 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
40105 if test "$wxUSE_COCOA" = 1 ; then
40106 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40107 if test "$wxUSE_MEDIACTRL" = "yes"; then
40108 LDFLAGS
="$LDFLAGS -framework QuickTime"
40113 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40121 echo "$as_me:$LINENO: checking for $ac_func" >&5
40122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40123 if eval "test \"\${$as_ac_var+set}\" = set"; then
40124 echo $ECHO_N "(cached) $ECHO_C" >&6
40126 cat >conftest.
$ac_ext <<_ACEOF
40129 cat confdefs.h
>>conftest.
$ac_ext
40130 cat >>conftest.
$ac_ext <<_ACEOF
40131 /* end confdefs.h. */
40132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40134 #define $ac_func innocuous_$ac_func
40136 /* System header to define __stub macros and hopefully few prototypes,
40137 which can conflict with char $ac_func (); below.
40138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40139 <limits.h> exists even on freestanding compilers. */
40142 # include <limits.h>
40144 # include <assert.h>
40149 /* Override any gcc2 internal prototype to avoid an error. */
40154 /* We use char because int might match the return type of a gcc2
40155 builtin and then its argument prototype would still apply. */
40157 /* The GNU C library defines this for functions which it implements
40158 to always fail with ENOSYS. Some functions are actually named
40159 something starting with __ and the normal name is an alias. */
40160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40163 char (*f) () = $ac_func;
40172 return f != $ac_func;
40177 rm -f conftest.
$ac_objext conftest
$ac_exeext
40178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40179 (eval $ac_link) 2>conftest.er1
40181 grep -v '^ *+' conftest.er1
>conftest.err
40183 cat conftest.err
>&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } &&
40186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40188 (eval $ac_try) 2>&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); }; } &&
40192 { ac_try
='test -s conftest$ac_exeext'
40193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40194 (eval $ac_try) 2>&5
40196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40197 (exit $ac_status); }; }; then
40198 eval "$as_ac_var=yes"
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.
$ac_ext >&5
40203 eval "$as_ac_var=no"
40205 rm -f conftest.err conftest.
$ac_objext \
40206 conftest
$ac_exeext conftest.
$ac_ext
40208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40210 if test `eval echo '${'$as_ac_var'}'` = yes; then
40211 cat >>confdefs.h
<<_ACEOF
40212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40219 for ac_func
in floor
40221 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40222 echo "$as_me:$LINENO: checking for $ac_func" >&5
40223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40224 if eval "test \"\${$as_ac_var+set}\" = set"; then
40225 echo $ECHO_N "(cached) $ECHO_C" >&6
40227 cat >conftest.
$ac_ext <<_ACEOF
40230 cat confdefs.h
>>conftest.
$ac_ext
40231 cat >>conftest.
$ac_ext <<_ACEOF
40232 /* end confdefs.h. */
40233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40235 #define $ac_func innocuous_$ac_func
40237 /* System header to define __stub macros and hopefully few prototypes,
40238 which can conflict with char $ac_func (); below.
40239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40240 <limits.h> exists even on freestanding compilers. */
40243 # include <limits.h>
40245 # include <assert.h>
40250 /* Override any gcc2 internal prototype to avoid an error. */
40255 /* We use char because int might match the return type of a gcc2
40256 builtin and then its argument prototype would still apply. */
40258 /* The GNU C library defines this for functions which it implements
40259 to always fail with ENOSYS. Some functions are actually named
40260 something starting with __ and the normal name is an alias. */
40261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40264 char (*f) () = $ac_func;
40273 return f != $ac_func;
40278 rm -f conftest.
$ac_objext conftest
$ac_exeext
40279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40280 (eval $ac_link) 2>conftest.er1
40282 grep -v '^ *+' conftest.er1
>conftest.err
40284 cat conftest.err
>&5
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); } &&
40287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40289 (eval $ac_try) 2>&5
40291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40292 (exit $ac_status); }; } &&
40293 { ac_try
='test -s conftest$ac_exeext'
40294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40295 (eval $ac_try) 2>&5
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); }; }; then
40299 eval "$as_ac_var=yes"
40301 echo "$as_me: failed program was:" >&5
40302 sed 's/^/| /' conftest.
$ac_ext >&5
40304 eval "$as_ac_var=no"
40306 rm -f conftest.err conftest.
$ac_objext \
40307 conftest
$ac_exeext conftest.
$ac_ext
40309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40311 if test `eval echo '${'$as_ac_var'}'` = yes; then
40312 cat >>confdefs.h
<<_ACEOF
40313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40319 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40320 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40321 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40322 echo "$as_me:$LINENO: result: yes" >&5
40323 echo "${ECHO_T}yes" >&6
40325 echo "$as_me:$LINENO: result: no" >&5
40326 echo "${ECHO_T}no" >&6
40328 # use different functions to avoid configure caching
40334 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40335 echo "$as_me:$LINENO: checking for $ac_func" >&5
40336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40337 if eval "test \"\${$as_ac_var+set}\" = set"; then
40338 echo $ECHO_N "(cached) $ECHO_C" >&6
40340 cat >conftest.
$ac_ext <<_ACEOF
40343 cat confdefs.h
>>conftest.
$ac_ext
40344 cat >>conftest.
$ac_ext <<_ACEOF
40345 /* end confdefs.h. */
40346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40348 #define $ac_func innocuous_$ac_func
40350 /* System header to define __stub macros and hopefully few prototypes,
40351 which can conflict with char $ac_func (); below.
40352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40353 <limits.h> exists even on freestanding compilers. */
40356 # include <limits.h>
40358 # include <assert.h>
40363 /* Override any gcc2 internal prototype to avoid an error. */
40368 /* We use char because int might match the return type of a gcc2
40369 builtin and then its argument prototype would still apply. */
40371 /* The GNU C library defines this for functions which it implements
40372 to always fail with ENOSYS. Some functions are actually named
40373 something starting with __ and the normal name is an alias. */
40374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40377 char (*f) () = $ac_func;
40386 return f != $ac_func;
40391 rm -f conftest.
$ac_objext conftest
$ac_exeext
40392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40393 (eval $ac_link) 2>conftest.er1
40395 grep -v '^ *+' conftest.er1
>conftest.err
40397 cat conftest.err
>&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); } &&
40400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40402 (eval $ac_try) 2>&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); }; } &&
40406 { ac_try
='test -s conftest$ac_exeext'
40407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40408 (eval $ac_try) 2>&5
40410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411 (exit $ac_status); }; }; then
40412 eval "$as_ac_var=yes"
40414 echo "$as_me: failed program was:" >&5
40415 sed 's/^/| /' conftest.
$ac_ext >&5
40417 eval "$as_ac_var=no"
40419 rm -f conftest.err conftest.
$ac_objext \
40420 conftest
$ac_exeext conftest.
$ac_ext
40422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40424 if test `eval echo '${'$as_ac_var'}'` = yes; then
40425 cat >>confdefs.h
<<_ACEOF
40426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40433 for ac_func
in ceil
40435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40436 echo "$as_me:$LINENO: checking for $ac_func" >&5
40437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40438 if eval "test \"\${$as_ac_var+set}\" = set"; then
40439 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 cat >conftest.
$ac_ext <<_ACEOF
40444 cat confdefs.h
>>conftest.
$ac_ext
40445 cat >>conftest.
$ac_ext <<_ACEOF
40446 /* end confdefs.h. */
40447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40449 #define $ac_func innocuous_$ac_func
40451 /* System header to define __stub macros and hopefully few prototypes,
40452 which can conflict with char $ac_func (); below.
40453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40454 <limits.h> exists even on freestanding compilers. */
40457 # include <limits.h>
40459 # include <assert.h>
40464 /* Override any gcc2 internal prototype to avoid an error. */
40469 /* We use char because int might match the return type of a gcc2
40470 builtin and then its argument prototype would still apply. */
40472 /* The GNU C library defines this for functions which it implements
40473 to always fail with ENOSYS. Some functions are actually named
40474 something starting with __ and the normal name is an alias. */
40475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40478 char (*f) () = $ac_func;
40487 return f != $ac_func;
40492 rm -f conftest.
$ac_objext conftest
$ac_exeext
40493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40494 (eval $ac_link) 2>conftest.er1
40496 grep -v '^ *+' conftest.er1
>conftest.err
40498 cat conftest.err
>&5
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); } &&
40501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40503 (eval $ac_try) 2>&5
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); }; } &&
40507 { ac_try
='test -s conftest$ac_exeext'
40508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40509 (eval $ac_try) 2>&5
40511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512 (exit $ac_status); }; }; then
40513 eval "$as_ac_var=yes"
40515 echo "$as_me: failed program was:" >&5
40516 sed 's/^/| /' conftest.
$ac_ext >&5
40518 eval "$as_ac_var=no"
40520 rm -f conftest.err conftest.
$ac_objext \
40521 conftest
$ac_exeext conftest.
$ac_ext
40523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40525 if test `eval echo '${'$as_ac_var'}'` = yes; then
40526 cat >>confdefs.h
<<_ACEOF
40527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40533 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40534 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40535 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40536 echo "$as_me:$LINENO: result: yes" >&5
40537 echo "${ECHO_T}yes" >&6
40539 echo "$as_me:$LINENO: result: no" >&5
40540 echo "${ECHO_T}no" >&6
40541 # not sure we should warn the user, crash, etc.
40545 if test "$wxUSE_GUI" = "yes"; then
40548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40549 dynamic erase event exec font image minimal mobile \
40550 mobile/wxedit mobile/styles propsize render \
40551 richedit rotate shaped vscroll widgets"
40553 if test "$wxUSE_MONOLITHIC" != "yes"; then
40554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40556 if test "$TOOLKIT" = "MSW"; then
40557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40558 if test "$wxUSE_UNIVERSAL" != "yes"; then
40559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40562 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40566 SAMPLES_SUBDIRS
="console"
40570 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40571 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40573 if test "$GXX" = yes ; then
40575 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40578 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40580 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40581 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40582 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40584 if test "x$MWCC" = "xyes"; then
40586 CC
="$CC -cwd source -I-"
40587 CXX
="$CXX -cwd source -I-"
40592 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40593 EXTRALIBS_XML
="$EXPAT_LINK"
40594 EXTRALIBS_HTML
="$MSPACK_LINK"
40595 EXTRALIBS_ODBC
="$ODBC_LINK"
40596 if test "$wxUSE_GUI" = "yes"; then
40597 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40599 if test "$wxUSE_OPENGL" = "yes"; then
40600 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40603 LDFLAGS
="$LDFLAGS $PROFILE"
40605 if test "$wxUSE_GTK" = 1; then
40608 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40611 WXCONFIG_EXTRALIBS
="$LIBS"
40613 if test "$wxUSE_REGEX" = "builtin" ; then
40614 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
40616 if test "$wxUSE_EXPAT" = "builtin" ; then
40617 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
40619 if test "$wxUSE_ODBC" = "builtin" ; then
40620 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
40622 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40623 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
40625 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40626 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
40628 if test "$wxUSE_LIBPNG" = "builtin" ; then
40629 wxconfig_3rdparty
="png $wxconfig_3rdparty"
40631 if test "$wxUSE_ZLIB" = "builtin" ; then
40632 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
40635 for i
in $wxconfig_3rdparty ; do
40636 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
40640 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40654 if test $wxUSE_MONOLITHIC = "yes" ; then
40660 if test $wxUSE_PLUGINS = "yes" ; then
40666 if test $wxUSE_ODBC != "no" ; then
40672 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40678 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40706 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40717 TOOLKIT_USER
="GTK+"
40718 if test "$WXGTK20" = 1; then
40719 TOOLKIT_USER
="$TOOLKIT_USER 2"
40724 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40731 if test "x$BAKEFILE_HOST" = "x"; then
40732 BAKEFILE_HOST
="${host}"
40735 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40737 if test -n "$ac_tool_prefix"; then
40738 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40739 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40740 echo "$as_me:$LINENO: checking for $ac_word" >&5
40741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40742 if test "${ac_cv_prog_RANLIB+set}" = set; then
40743 echo $ECHO_N "(cached) $ECHO_C" >&6
40745 if test -n "$RANLIB"; then
40746 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40749 for as_dir
in $PATH
40752 test -z "$as_dir" && as_dir
=.
40753 for ac_exec_ext
in '' $ac_executable_extensions; do
40754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40755 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40764 RANLIB
=$ac_cv_prog_RANLIB
40765 if test -n "$RANLIB"; then
40766 echo "$as_me:$LINENO: result: $RANLIB" >&5
40767 echo "${ECHO_T}$RANLIB" >&6
40769 echo "$as_me:$LINENO: result: no" >&5
40770 echo "${ECHO_T}no" >&6
40774 if test -z "$ac_cv_prog_RANLIB"; then
40775 ac_ct_RANLIB
=$RANLIB
40776 # Extract the first word of "ranlib", so it can be a program name with args.
40777 set dummy ranlib
; ac_word
=$2
40778 echo "$as_me:$LINENO: checking for $ac_word" >&5
40779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40780 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40781 echo $ECHO_N "(cached) $ECHO_C" >&6
40783 if test -n "$ac_ct_RANLIB"; then
40784 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40787 for as_dir
in $PATH
40790 test -z "$as_dir" && as_dir
=.
40791 for ac_exec_ext
in '' $ac_executable_extensions; do
40792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40793 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40800 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40803 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40804 if test -n "$ac_ct_RANLIB"; then
40805 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40806 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40808 echo "$as_me:$LINENO: result: no" >&5
40809 echo "${ECHO_T}no" >&6
40812 RANLIB
=$ac_ct_RANLIB
40814 RANLIB
="$ac_cv_prog_RANLIB"
40817 # Find a good install program. We prefer a C program (faster),
40818 # so one script is as good as another. But avoid the broken or
40819 # incompatible versions:
40820 # SysV /etc/install, /usr/sbin/install
40821 # SunOS /usr/etc/install
40822 # IRIX /sbin/install
40824 # AmigaOS /C/install, which installs bootblocks on floppy discs
40825 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40826 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40827 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40828 # OS/2's system install, which has a completely different semantic
40829 # ./install, which can be erroneously created by make from ./install.sh.
40830 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40831 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40832 if test -z "$INSTALL"; then
40833 if test "${ac_cv_path_install+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40837 for as_dir
in $PATH
40840 test -z "$as_dir" && as_dir
=.
40841 # Account for people who put trailing slashes in PATH elements.
40843 .
/ | .
// | /cC
/* | \
40844 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40845 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40848 # OSF1 and SCO ODT 3.0 have their own names for install.
40849 # Don't use installbsd from OSF since it installs stuff as root
40851 for ac_prog
in ginstall scoinst
install; do
40852 for ac_exec_ext
in '' $ac_executable_extensions; do
40853 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40854 if test $ac_prog = install &&
40855 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40856 # AIX install. It has an incompatible calling convention.
40858 elif test $ac_prog = install &&
40859 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40860 # program-specific install script used by HP pwplus--don't use.
40863 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40875 if test "${ac_cv_path_install+set}" = set; then
40876 INSTALL
=$ac_cv_path_install
40878 # As a last resort, use the slow shell script. We don't cache a
40879 # path for INSTALL within a source directory, because that will
40880 # break other packages using the cache if that directory is
40881 # removed, or if the path is relative.
40882 INSTALL
=$ac_install_sh
40885 echo "$as_me:$LINENO: result: $INSTALL" >&5
40886 echo "${ECHO_T}$INSTALL" >&6
40888 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40889 # It thinks the first close brace ends the variable substitution.
40890 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40892 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40894 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40896 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40897 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40899 if test "$LN_S" = "ln -s"; then
40900 echo "$as_me:$LINENO: result: yes" >&5
40901 echo "${ECHO_T}yes" >&6
40903 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40904 echo "${ECHO_T}no, using $LN_S" >&6
40908 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40909 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40910 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40911 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40912 echo $ECHO_N "(cached) $ECHO_C" >&6
40914 cat >conftest.
make <<\_ACEOF
40916 @
echo 'ac_maketemp="$(MAKE)"'
40918 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40919 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40920 if test -n "$ac_maketemp"; then
40921 eval ac_cv_prog_make_
${ac_make}_set
=yes
40923 eval ac_cv_prog_make_
${ac_make}_set
=no
40925 rm -f conftest.
make
40927 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40928 echo "$as_me:$LINENO: result: yes" >&5
40929 echo "${ECHO_T}yes" >&6
40932 echo "$as_me:$LINENO: result: no" >&5
40933 echo "${ECHO_T}no" >&6
40934 SET_MAKE
="MAKE=${MAKE-make}"
40939 if test -n "$ac_tool_prefix"; then
40940 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40941 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40942 echo "$as_me:$LINENO: checking for $ac_word" >&5
40943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40944 if test "${ac_cv_prog_AR+set}" = set; then
40945 echo $ECHO_N "(cached) $ECHO_C" >&6
40947 if test -n "$AR"; then
40948 ac_cv_prog_AR
="$AR" # Let the user override the test.
40950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40951 for as_dir
in $PATH
40954 test -z "$as_dir" && as_dir
=.
40955 for ac_exec_ext
in '' $ac_executable_extensions; do
40956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40957 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40967 if test -n "$AR"; then
40968 echo "$as_me:$LINENO: result: $AR" >&5
40969 echo "${ECHO_T}$AR" >&6
40971 echo "$as_me:$LINENO: result: no" >&5
40972 echo "${ECHO_T}no" >&6
40976 if test -z "$ac_cv_prog_AR"; then
40978 # Extract the first word of "ar", so it can be a program name with args.
40979 set dummy
ar; ac_word
=$2
40980 echo "$as_me:$LINENO: checking for $ac_word" >&5
40981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40982 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40983 echo $ECHO_N "(cached) $ECHO_C" >&6
40985 if test -n "$ac_ct_AR"; then
40986 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40989 for as_dir
in $PATH
40992 test -z "$as_dir" && as_dir
=.
40993 for ac_exec_ext
in '' $ac_executable_extensions; do
40994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40995 ac_cv_prog_ac_ct_AR
="ar"
40996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41002 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41005 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41006 if test -n "$ac_ct_AR"; then
41007 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41008 echo "${ECHO_T}$ac_ct_AR" >&6
41010 echo "$as_me:$LINENO: result: no" >&5
41011 echo "${ECHO_T}no" >&6
41016 AR
="$ac_cv_prog_AR"
41019 if test -n "$ac_tool_prefix"; then
41020 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41021 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41022 echo "$as_me:$LINENO: checking for $ac_word" >&5
41023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41024 if test "${ac_cv_prog_STRIP+set}" = set; then
41025 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 if test -n "$STRIP"; then
41028 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41031 for as_dir
in $PATH
41034 test -z "$as_dir" && as_dir
=.
41035 for ac_exec_ext
in '' $ac_executable_extensions; do
41036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41037 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41046 STRIP
=$ac_cv_prog_STRIP
41047 if test -n "$STRIP"; then
41048 echo "$as_me:$LINENO: result: $STRIP" >&5
41049 echo "${ECHO_T}$STRIP" >&6
41051 echo "$as_me:$LINENO: result: no" >&5
41052 echo "${ECHO_T}no" >&6
41056 if test -z "$ac_cv_prog_STRIP"; then
41058 # Extract the first word of "strip", so it can be a program name with args.
41059 set dummy strip
; ac_word
=$2
41060 echo "$as_me:$LINENO: checking for $ac_word" >&5
41061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41062 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41063 echo $ECHO_N "(cached) $ECHO_C" >&6
41065 if test -n "$ac_ct_STRIP"; then
41066 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41069 for as_dir
in $PATH
41072 test -z "$as_dir" && as_dir
=.
41073 for ac_exec_ext
in '' $ac_executable_extensions; do
41074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41075 ac_cv_prog_ac_ct_STRIP
="strip"
41076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41082 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41085 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41086 if test -n "$ac_ct_STRIP"; then
41087 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41088 echo "${ECHO_T}$ac_ct_STRIP" >&6
41090 echo "$as_me:$LINENO: result: no" >&5
41091 echo "${ECHO_T}no" >&6
41096 STRIP
="$ac_cv_prog_STRIP"
41099 if test -n "$ac_tool_prefix"; then
41100 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41101 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41102 echo "$as_me:$LINENO: checking for $ac_word" >&5
41103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41104 if test "${ac_cv_prog_NM+set}" = set; then
41105 echo $ECHO_N "(cached) $ECHO_C" >&6
41107 if test -n "$NM"; then
41108 ac_cv_prog_NM
="$NM" # Let the user override the test.
41110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41111 for as_dir
in $PATH
41114 test -z "$as_dir" && as_dir
=.
41115 for ac_exec_ext
in '' $ac_executable_extensions; do
41116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41117 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41127 if test -n "$NM"; then
41128 echo "$as_me:$LINENO: result: $NM" >&5
41129 echo "${ECHO_T}$NM" >&6
41131 echo "$as_me:$LINENO: result: no" >&5
41132 echo "${ECHO_T}no" >&6
41136 if test -z "$ac_cv_prog_NM"; then
41138 # Extract the first word of "nm", so it can be a program name with args.
41139 set dummy nm
; ac_word
=$2
41140 echo "$as_me:$LINENO: checking for $ac_word" >&5
41141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41142 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41145 if test -n "$ac_ct_NM"; then
41146 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41149 for as_dir
in $PATH
41152 test -z "$as_dir" && as_dir
=.
41153 for ac_exec_ext
in '' $ac_executable_extensions; do
41154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41155 ac_cv_prog_ac_ct_NM
="nm"
41156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41162 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41165 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41166 if test -n "$ac_ct_NM"; then
41167 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41168 echo "${ECHO_T}$ac_ct_NM" >&6
41170 echo "$as_me:$LINENO: result: no" >&5
41171 echo "${ECHO_T}no" >&6
41176 NM
="$ac_cv_prog_NM"
41180 case ${BAKEFILE_HOST} in
41182 INSTALL_DIR
="mkdir -p"
41184 *) INSTALL_DIR
="$INSTALL -d"
41190 case ${BAKEFILE_HOST} in
41191 *-*-cygwin* | *-*-mingw32* )
41192 LDFLAGS_GUI
="-mwindows"
41198 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41199 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41200 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41201 echo $ECHO_N "(cached) $ECHO_C" >&6
41204 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41205 egrep -s GNU
> /dev
/null
); then
41206 bakefile_cv_prog_makeisgnu
="yes"
41208 bakefile_cv_prog_makeisgnu
="no"
41212 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41213 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41215 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41232 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41233 case "${BAKEFILE_HOST}" in
41234 *-*-cygwin* | *-*-mingw32* )
41240 *-pc-os2_emx | *-pc-os2-emx )
41243 powerpc
-*-darwin* )
41250 powerpc
-apple-macos* )
41259 case "$BAKEFILE_FORCE_PLATFORM" in
41280 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41281 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41282 { (exit 1); exit 1; }; }
41297 # Check whether --enable-omf or --disable-omf was given.
41298 if test "${enable_omf+set}" = set; then
41299 enableval
="$enable_omf"
41300 bk_os2_use_omf
="$enableval"
41303 case "${BAKEFILE_HOST}" in
41305 CFLAGS
="$CFLAGS -fno-common"
41306 CXXFLAGS
="$CXXFLAGS -fno-common"
41309 *-pc-os2_emx | *-pc-os2-emx )
41310 if test "x$bk_os2_use_omf" = "xyes" ; then
41313 LDFLAGS
="-Zomf $LDFLAGS"
41314 CFLAGS
="-Zomf $CFLAGS"
41315 CXXFLAGS
="-Zomf $CXXFLAGS"
41323 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41329 SO_SUFFIX_MODULE
="so"
41334 DLLPREFIX_MODULE
=""
41337 case "${BAKEFILE_HOST}" in
41340 SO_SUFFIX_MODULE
="sl"
41344 SO_SUFFIX_MODULE
="a"
41346 *-*-cygwin* | *-*-mingw32* )
41348 SO_SUFFIX_MODULE
="dll"
41349 DLLIMP_SUFFIX
="dll.a"
41357 *-pc-os2_emx | *-pc-os2-emx )
41359 SO_SUFFIX_MODULE
="dll"
41360 DLLIMP_SUFFIX
=$OS2_LIBEXT
41364 LIBEXT
=".$OS2_LIBEXT"
41366 powerpc
-*-darwin* )
41368 SO_SUFFIX_MODULE
="bundle"
41372 if test "x$DLLIMP_SUFFIX" = "x" ; then
41373 DLLIMP_SUFFIX
="$SO_SUFFIX"
41387 if test "x$GCC" = "xyes"; then
41391 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41392 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41394 case "${BAKEFILE_HOST}" in
41396 if test "x$GCC" != "xyes"; then
41397 LDFLAGS
="$LDFLAGS -L/usr/lib"
41399 SHARED_LD_CC
="${CC} -b -o"
41400 SHARED_LD_CXX
="${CXX} -b -o"
41406 if test "x$GCC" != "xyes"; then
41407 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41408 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41409 if test "${bakefile_cv_prog_icc+set}" = set; then
41410 echo $ECHO_N "(cached) $ECHO_C" >&6
41413 cat >conftest.
$ac_ext <<_ACEOF
41416 cat confdefs.h
>>conftest.
$ac_ext
41417 cat >>conftest.
$ac_ext <<_ACEOF
41418 /* end confdefs.h. */
41424 #ifndef __INTEL_COMPILER
41432 rm -f conftest.
$ac_objext
41433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41434 (eval $ac_compile) 2>conftest.er1
41436 grep -v '^ *+' conftest.er1
>conftest.err
41438 cat conftest.err
>&5
41439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41440 (exit $ac_status); } &&
41441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41443 (eval $ac_try) 2>&5
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; } &&
41447 { ac_try
='test -s conftest.$ac_objext'
41448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41449 (eval $ac_try) 2>&5
41451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41452 (exit $ac_status); }; }; then
41453 bakefile_cv_prog_icc
=yes
41455 echo "$as_me: failed program was:" >&5
41456 sed 's/^/| /' conftest.
$ac_ext >&5
41458 bakefile_cv_prog_icc
=no
41461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41464 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41465 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41466 if test "$bakefile_cv_prog_icc" = "yes"; then
41473 if test "x$GCC" != xyes
; then
41474 SHARED_LD_CC
="${CC} -G -o"
41475 SHARED_LD_CXX
="${CXX} -G -o"
41482 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41483 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41484 if test "${wx_cv_gcc31+set}" = set; then
41485 echo $ECHO_N "(cached) $ECHO_C" >&6
41488 cat >conftest.
$ac_ext <<_ACEOF
41491 cat confdefs.h
>>conftest.
$ac_ext
41492 cat >>conftest.
$ac_ext <<_ACEOF
41493 /* end confdefs.h. */
41499 #if (__GNUC__ < 3) || \
41500 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41508 rm -f conftest.
$ac_objext
41509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41510 (eval $ac_compile) 2>conftest.er1
41512 grep -v '^ *+' conftest.er1
>conftest.err
41514 cat conftest.err
>&5
41515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516 (exit $ac_status); } &&
41517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41519 (eval $ac_try) 2>&5
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; } &&
41523 { ac_try
='test -s conftest.$ac_objext'
41524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41525 (eval $ac_try) 2>&5
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); }; }; then
41533 echo "$as_me: failed program was:" >&5
41534 sed 's/^/| /' conftest.
$ac_ext >&5
41541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41544 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41545 echo "${ECHO_T}$wx_cv_gcc31" >&6
41546 if test "$wx_cv_gcc31" = "no"; then
41549 cat <<EOF >shared-ld-sh
41551 #-----------------------------------------------------------------------------
41552 #-- Name: distrib/mac/shared-ld-sh
41553 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41554 #-- Author: Gilles Depeyrot
41555 #-- Copyright: (c) 2002 Gilles Depeyrot
41556 #-- Licence: any use permitted
41557 #-----------------------------------------------------------------------------
41562 linking_flag="-dynamiclib"
41564 while test ${D}# -gt 0; do
41571 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41572 # collect these options and values
41573 args="${D}{args} ${D}1 ${D}2"
41577 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41578 # collect these options
41579 args="${D}{args} ${D}1"
41582 -dynamiclib|-bundle)
41583 linking_flag="${D}1"
41587 echo "shared-ld: unhandled option '${D}1'"
41591 *.o | *.a | *.dylib)
41592 # collect object files
41593 objects="${D}{objects} ${D}1"
41597 echo "shared-ld: unhandled argument '${D}1'"
41606 # Link one module containing all the others
41608 if test ${D}{verbose} = 1; then
41609 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41611 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41613 if test ${D}{status} != 0; then
41618 # Link the shared library from the single module created
41620 if test ${D}{verbose} = 1; then
41621 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41623 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41625 if test ${D}{status} != 0; then
41630 # Remove intermediate module
41632 rm -f master.${D}${D}.o
41637 chmod +x shared
-ld-sh
41639 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41640 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41641 SHARED_LD_CXX
="$SHARED_LD_CC"
41642 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41644 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41645 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41646 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41647 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41650 PIC_FLAG
="-dynamic -fPIC"
41654 if test "x$GCC" != "xyes"; then
41655 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41656 set dummy makeC
++SharedLib
; ac_word
=$2
41657 echo "$as_me:$LINENO: checking for $ac_word" >&5
41658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41659 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41660 echo $ECHO_N "(cached) $ECHO_C" >&6
41662 if test -n "$AIX_CXX_LD"; then
41663 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41666 for as_dir
in $PATH
41669 test -z "$as_dir" && as_dir
=.
41670 for ac_exec_ext
in '' $ac_executable_extensions; do
41671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41672 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41679 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41682 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41683 if test -n "$AIX_CXX_LD"; then
41684 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41685 echo "${ECHO_T}$AIX_CXX_LD" >&6
41687 echo "$as_me:$LINENO: result: no" >&5
41688 echo "${ECHO_T}no" >&6
41691 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41692 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41697 SHARED_LD_CC
="${LD} -nostart -o"
41698 SHARED_LD_CXX
="${LD} -nostart -o"
41702 if test "x$GCC" != "xyes"; then
41707 *-*-cygwin* | *-*-mingw32* )
41709 SHARED_LD_CC
="\$(CC) -shared -o"
41710 SHARED_LD_CXX
="\$(CXX) -shared -o"
41713 *-pc-os2_emx | *-pc-os2-emx )
41714 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41715 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41719 cat <<EOF >dllar.sh
41722 # dllar - a tool to build both a .dll and an .a file
41723 # from a set of object (.o) files for EMX/OS2.
41725 # Written by Andrew Zabolotny, bit@freya.etu.ru
41726 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41728 # This script will accept a set of files on the command line.
41729 # All the public symbols from the .o files will be exported into
41730 # a .DEF file, then linker will be run (through gcc) against them to
41731 # build a shared library consisting of all given .o files. All libraries
41732 # (.a) will be first decompressed into component .o files then act as
41733 # described above. You can optionally give a description (-d "description")
41734 # which will be put into .DLL. To see the list of accepted options (as well
41735 # as command-line format) simply run this program without options. The .DLL
41736 # is built to be imported by name (there is no guarantee that new versions
41737 # of the library you build will have same ordinals for same symbols).
41739 # dllar is free software; you can redistribute it and/or modify
41740 # it under the terms of the GNU General Public License as published by
41741 # the Free Software Foundation; either version 2, or (at your option)
41742 # any later version.
41744 # dllar is distributed in the hope that it will be useful,
41745 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41746 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41747 # GNU General Public License for more details.
41749 # You should have received a copy of the GNU General Public License
41750 # along with dllar; see the file COPYING. If not, write to the Free
41751 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41754 # To successfuly run this program you will need:
41755 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41756 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41758 # (used to build the .dll)
41760 # (used to create .def file from .o files)
41762 # (used to create .a file from .def file)
41763 # - GNU text utilites (cat, sort, uniq)
41764 # used to process emxexp output
41765 # - GNU file utilities (mv, rm)
41767 # - lxlite (optional, see flag below)
41768 # (used for general .dll cleanup)
41775 # basnam, variant of basename, which does _not_ remove the path, _iff_
41776 # second argument (suffix to remove) is given
41780 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41783 echo ${D}1 | sed 's/'${D}2'${D}//'
41786 echo "error in basnam ${D}*"
41792 # Cleanup temporary files and output
41795 for i in ${D}inputFiles ; do
41798 rm -rf \`basnam ${D}i !\`
41805 # Kill result in case of failure as there is just to many stupid make/nmake
41806 # things out there which doesn't do this.
41807 if [ ${D}# -eq 0 ]; then
41808 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41812 # Print usage and exit script with rc=1.
41814 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41815 echo ' [-name-mangler-script script.sh]'
41816 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41817 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41818 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41819 echo ' [*.o] [*.a]'
41820 echo '*> "output_file" should have no extension.'
41821 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41822 echo ' The import library name is derived from this and is set to "name".a,'
41823 echo ' unless overridden by -import'
41824 echo '*> "importlib_name" should have no extension.'
41825 echo ' If it has the .o, or .a extension, it is automatically removed.'
41826 echo ' This name is used as the import library name and may be longer and'
41827 echo ' more descriptive than the DLL name which has to follow the old '
41828 echo ' 8.3 convention of FAT.'
41829 echo '*> "script.sh may be given to override the output_file name by a'
41830 echo ' different name. It is mainly useful if the regular make process'
41831 echo ' of some package does not take into account OS/2 restriction of'
41832 echo ' DLL name lengths. It takes the importlib name as input and is'
41833 echo ' supposed to procude a shorter name as output. The script should'
41834 echo ' expect to get importlib_name without extension and should produce'
41835 echo ' a (max.) 8 letter name without extension.'
41836 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41837 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41838 echo ' These flags will be put at the start of GCC command line.'
41839 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41840 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41841 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41842 echo ' If the last character of a symbol is "*", all symbols beginning'
41843 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41844 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41845 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41846 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41847 echo ' C runtime DLLs.'
41848 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41849 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41850 echo ' unchanged to GCC at the end of command line.'
41851 echo '*> If you create a DLL from a library and you do not specify -o,'
41852 echo ' the basename for DLL and import library will be set to library name,'
41853 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41854 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41855 echo ' library will be renamed into gcc_s.a.'
41858 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41859 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41864 # Execute a command.
41865 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41866 # @Uses Whatever CleanUp() uses.
41872 if [ ${D}rcCmd -ne 0 ]; then
41873 echo "command failed, exit code="${D}rcCmd
41888 CFLAGS="-s -Zcrtdll"
41890 EXPORT_BY_ORDINALS=0
41895 case ${D}curDirS in
41899 curDirS=${D}{curDirS}"/"
41902 # Parse commandline
41905 while [ ${D}1 ]; do
41908 EXPORT_BY_ORDINALS=1;
41918 -name-mangler-script)
41939 exclude_symbols=${D}{exclude_symbols}${D}1" "
41943 library_flags=${D}{library_flags}${D}1" "
41962 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41965 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41966 if [ ${D}omfLinking -eq 1 ]; then
41967 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41969 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41974 if [ ${D}libsToLink -ne 0 ]; then
41975 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41977 for file in ${D}1 ; do
41978 if [ -f ${D}file ]; then
41979 inputFiles="${D}{inputFiles} ${D}file"
41983 if [ ${D}found -eq 0 ]; then
41984 echo "ERROR: No file(s) found: "${D}1
41991 done # iterate cmdline words
41994 if [ -z "${D}inputFiles" ]; then
41995 echo "dllar: no input files"
41999 # Now extract all .o files from .a files
42001 for file in ${D}inputFiles ; do
42012 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42017 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42019 if [ ${D}? -ne 0 ]; then
42020 echo "Failed to create subdirectory ./${D}dirname"
42024 # Append '!' to indicate archive
42025 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42026 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42029 for subfile in ${D}dirname/*.o* ; do
42030 if [ -f ${D}subfile ]; then
42032 if [ -s ${D}subfile ]; then
42033 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42034 newInputFiles="${D}newInputFiles ${D}subfile"
42038 if [ ${D}found -eq 0 ]; then
42039 echo "WARNING: there are no files in archive \\'${D}file\\'"
42043 newInputFiles="${D}{newInputFiles} ${D}file"
42047 inputFiles="${D}newInputFiles"
42049 # Output filename(s).
42051 if [ -z ${D}outFile ]; then
42053 set outFile ${D}inputFiles; outFile=${D}2
42056 # If it is an archive, remove the '!' and the '_%' suffixes
42057 case ${D}outFile in
42059 outFile=\`basnam ${D}outFile _%!\`
42064 case ${D}outFile in
42066 outFile=\`basnam ${D}outFile .dll\`
42069 outFile=\`basnam ${D}outFile .DLL\`
42072 outFile=\`basnam ${D}outFile .o\`
42075 outFile=\`basnam ${D}outFile .obj\`
42078 outFile=\`basnam ${D}outFile .a\`
42081 outFile=\`basnam ${D}outFile .lib\`
42086 case ${D}outimpFile in
42088 outimpFile=\`basnam ${D}outimpFile .a\`
42091 outimpFile=\`basnam ${D}outimpFile .lib\`
42096 if [ -z ${D}outimpFile ]; then
42097 outimpFile=${D}outFile
42099 defFile="${D}{outFile}.def"
42100 arcFile="${D}{outimpFile}.a"
42101 arcFile2="${D}{outimpFile}.lib"
42103 #create ${D}dllFile as something matching 8.3 restrictions,
42104 if [ -z ${D}renameScript ] ; then
42105 dllFile="${D}outFile"
42107 dllFile=\`${D}renameScript ${D}outimpFile\`
42110 if [ ${D}do_backup -ne 0 ] ; then
42111 if [ -f ${D}arcFile ] ; then
42112 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42114 if [ -f ${D}arcFile2 ] ; then
42115 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42119 # Extract public symbols from all the object files.
42120 tmpdefFile=${D}{defFile}_%
42121 rm -f ${D}tmpdefFile
42122 for file in ${D}inputFiles ; do
42127 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42132 # Create the def file.
42134 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42135 dllFile="${D}{dllFile}.dll"
42136 if [ ! -z ${D}description ]; then
42137 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42139 echo "EXPORTS" >> ${D}defFile
42141 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42142 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42144 # Checks if the export is ok or not.
42145 for word in ${D}exclude_symbols; do
42146 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42147 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42151 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42152 sed "=" < ${D}tmpdefFile | \\
42156 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42158 ' > ${D}{tmpdefFile}%
42159 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42161 rm -f ${D}{tmpdefFile}%
42163 cat ${D}tmpdefFile >> ${D}defFile
42164 rm -f ${D}tmpdefFile
42166 # Do linking, create implib, and apply lxlite.
42168 for file in ${D}inputFiles ; do
42173 gccCmdl="${D}gccCmdl ${D}file"
42177 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42178 touch "${D}{outFile}.dll"
42180 doCommand "emximp -o ${D}arcFile ${D}defFile"
42181 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42183 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42186 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42188 doCommand "emxomf -s -l ${D}arcFile"
42198 powerpc
-apple-macos* | \
42199 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42207 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42208 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42209 { (exit 1); exit 1; }; }
42212 if test "x$PIC_FLAG" != "x" ; then
42213 PIC_FLAG
="$PIC_FLAG -DPIC"
42216 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42217 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42219 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42220 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42237 case "${BAKEFILE_HOST}" in
42238 *-*-linux* | *-*-freebsd* )
42239 SONAME_FLAG
="-Wl,-soname,"
42267 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42268 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42271 if test "x$GCC" = "xyes"; then
42274 case "${BAKEFILE_HOST}" in
42275 powerpc
-*-darwin* )
42276 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42279 DEPSFLAG_GCC
="-MMD"
42282 echo "$as_me:$LINENO: result: gcc" >&5
42283 echo "${ECHO_T}gcc" >&6
42284 elif test "x$MWCC" = "xyes"; then
42287 DEPSFLAG_MWCC
="-MM"
42288 echo "$as_me:$LINENO: result: mwcc" >&5
42289 echo "${ECHO_T}mwcc" >&6
42291 echo "$as_me:$LINENO: result: none" >&5
42292 echo "${ECHO_T}none" >&6
42295 if test $DEPS_TRACKING = 1 ; then
42301 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42302 # script. It is used to track C/C++ files dependencies in portable way.
42304 # Permission is given to use this file in any way.
42306 DEPSMODE=${DEPSMODE}
42308 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42309 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42311 mkdir -p ${D}DEPSDIR
42313 if test ${D}DEPSMODE = gcc ; then
42314 ${D}* ${D}{DEPSFLAG_GCC}
42316 if test ${D}{status} != 0 ; then
42319 # move created file to the location we want it in:
42320 while test ${D}# -gt 0; do
42334 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42335 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42336 if test -f ${D}depfile ; then
42337 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42340 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42341 if test -f ${D}depfile ; then
42342 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42347 elif test ${D}DEPSMODE = mwcc ; then
42350 if test ${D}{status} != 0 ; then
42353 # Run mwcc again with -MM and redirect into the dep file we want
42354 # NOTE: We can't use shift here because we need ${D}* to be valid
42356 for arg in ${D}* ; do
42357 if test "${D}prevarg" = "-o"; then
42370 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42387 case ${BAKEFILE_HOST} in
42388 *-*-cygwin* | *-*-mingw32* )
42389 if test "$build" != "$host" ; then
42390 RESCOMP
=$host_alias-windres
42392 # Extract the first word of "windres", so it can be a program name with args.
42393 set dummy windres
; ac_word
=$2
42394 echo "$as_me:$LINENO: checking for $ac_word" >&5
42395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42396 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42397 echo $ECHO_N "(cached) $ECHO_C" >&6
42399 if test -n "$RESCOMP"; then
42400 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42403 for as_dir
in $PATH
42406 test -z "$as_dir" && as_dir
=.
42407 for ac_exec_ext
in '' $ac_executable_extensions; do
42408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42409 ac_cv_prog_RESCOMP
="windres"
42410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42416 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42419 RESCOMP
=$ac_cv_prog_RESCOMP
42420 if test -n "$RESCOMP"; then
42421 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42422 echo "${ECHO_T}$RESCOMP" >&6
42424 echo "$as_me:$LINENO: result: no" >&5
42425 echo "${ECHO_T}no" >&6
42431 *-*-darwin* | powerpc
-apple-macos* )
42432 # Extract the first word of "Rez", so it can be a program name with args.
42433 set dummy Rez
; ac_word
=$2
42434 echo "$as_me:$LINENO: checking for $ac_word" >&5
42435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42436 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42437 echo $ECHO_N "(cached) $ECHO_C" >&6
42439 if test -n "$RESCOMP"; then
42440 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42443 for as_dir
in $PATH
42446 test -z "$as_dir" && as_dir
=.
42447 for ac_exec_ext
in '' $ac_executable_extensions; do
42448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42449 ac_cv_prog_RESCOMP
="Rez"
42450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42456 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42459 RESCOMP
=$ac_cv_prog_RESCOMP
42460 if test -n "$RESCOMP"; then
42461 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42462 echo "${ECHO_T}$RESCOMP" >&6
42464 echo "$as_me:$LINENO: result: no" >&5
42465 echo "${ECHO_T}no" >&6
42468 # Extract the first word of "SetFile", so it can be a program name with args.
42469 set dummy SetFile
; ac_word
=$2
42470 echo "$as_me:$LINENO: checking for $ac_word" >&5
42471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42472 if test "${ac_cv_prog_SETFILE+set}" = set; then
42473 echo $ECHO_N "(cached) $ECHO_C" >&6
42475 if test -n "$SETFILE"; then
42476 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42479 for as_dir
in $PATH
42482 test -z "$as_dir" && as_dir
=.
42483 for ac_exec_ext
in '' $ac_executable_extensions; do
42484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42485 ac_cv_prog_SETFILE
="SetFile"
42486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42492 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42495 SETFILE
=$ac_cv_prog_SETFILE
42496 if test -n "$SETFILE"; then
42497 echo "$as_me:$LINENO: result: $SETFILE" >&5
42498 echo "${ECHO_T}$SETFILE" >&6
42500 echo "$as_me:$LINENO: result: no" >&5
42501 echo "${ECHO_T}no" >&6
42511 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42514 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42518 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42519 if test "${enable_precomp_headers+set}" = set; then
42520 enableval
="$enable_precomp_headers"
42521 bk_use_pch
="$enableval"
42526 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42527 if test "x$GCC" = "xyes"; then
42528 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42529 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42530 cat >conftest.
$ac_ext <<_ACEOF
42533 cat confdefs.h
>>conftest.
$ac_ext
42534 cat >>conftest.
$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42541 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42542 #error "no pch support"
42545 #error "no pch support"
42547 #if (__GNUC__ == 3) && \
42548 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42549 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42550 #error "no pch support"
42557 rm -f conftest.
$ac_objext
42558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42559 (eval $ac_compile) 2>conftest.er1
42561 grep -v '^ *+' conftest.er1
>conftest.err
42563 cat conftest.err
>&5
42564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42565 (exit $ac_status); } &&
42566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42568 (eval $ac_try) 2>&5
42570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42571 (exit $ac_status); }; } &&
42572 { ac_try
='test -s conftest.$ac_objext'
42573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42574 (eval $ac_try) 2>&5
42576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42577 (exit $ac_status); }; }; then
42579 echo "$as_me:$LINENO: result: yes" >&5
42580 echo "${ECHO_T}yes" >&6
42584 echo "$as_me: failed program was:" >&5
42585 sed 's/^/| /' conftest.
$ac_ext >&5
42588 echo "$as_me:$LINENO: result: no" >&5
42589 echo "${ECHO_T}no" >&6
42592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42593 if test $GCC_PCH = 1 ; then
42596 cat <<EOF >bk-make-pch
42599 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42600 # script. It is used to generated precompiled headers.
42602 # Permission is given to use this file in any way.
42611 while test ${D}{#} -gt 0; do
42614 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42615 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42616 headerfile="${D}{incdir}/${D}{header}"
42620 compiler="${D}{compiler} ${D}{1}"
42624 if test "x${D}{headerfile}" = "x" ; then
42625 echo "error: can't find header ${D}{header} in include paths" >2
42627 if test -f ${D}{outfile} ; then
42628 rm -f ${D}{outfile}
42630 mkdir -p \`dirname ${D}{outfile}\`
42632 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42634 # can do this because gcc is >= 3.4:
42635 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42640 chmod +x bk
-make-pch
42647 COND_BUILD_DEBUG
="#"
42648 if test "x$BUILD" = "xdebug" ; then
42649 COND_BUILD_DEBUG
=""
42652 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42653 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42654 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42657 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42658 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42659 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42662 COND_BUILD_DEBUG_UNICODE_0
="#"
42663 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42664 COND_BUILD_DEBUG_UNICODE_0
=""
42667 COND_BUILD_DEBUG_UNICODE_1
="#"
42668 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42669 COND_BUILD_DEBUG_UNICODE_1
=""
42672 COND_BUILD_RELEASE
="#"
42673 if test "x$BUILD" = "xrelease" ; then
42674 COND_BUILD_RELEASE
=""
42677 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42678 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42679 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42682 COND_BUILD_RELEASE_UNICODE_0
="#"
42683 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42684 COND_BUILD_RELEASE_UNICODE_0
=""
42687 COND_BUILD_RELEASE_UNICODE_1
="#"
42688 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42689 COND_BUILD_RELEASE_UNICODE_1
=""
42692 COND_DEBUG_FLAG_1
="#"
42693 if test "x$DEBUG_FLAG" = "x1" ; then
42694 COND_DEBUG_FLAG_1
=""
42697 COND_DEBUG_INFO_0
="#"
42698 if test "x$DEBUG_INFO" = "x0" ; then
42699 COND_DEBUG_INFO_0
=""
42702 COND_DEBUG_INFO_1
="#"
42703 if test "x$DEBUG_INFO" = "x1" ; then
42704 COND_DEBUG_INFO_1
=""
42707 COND_DEPS_TRACKING_0
="#"
42708 if test "x$DEPS_TRACKING" = "x0" ; then
42709 COND_DEPS_TRACKING_0
=""
42712 COND_DEPS_TRACKING_1
="#"
42713 if test "x$DEPS_TRACKING" = "x1" ; then
42714 COND_DEPS_TRACKING_1
=""
42718 if test "x$GCC_PCH" = "x1" ; then
42722 COND_MONOLITHIC_0
="#"
42723 if test "x$MONOLITHIC" = "x0" ; then
42724 COND_MONOLITHIC_0
=""
42727 COND_MONOLITHIC_0_SHARED_0
="#"
42728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42729 COND_MONOLITHIC_0_SHARED_0
=""
42732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42734 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42737 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42739 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42742 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42744 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42747 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42749 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42752 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42754 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42757 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42759 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42762 COND_MONOLITHIC_0_SHARED_1
="#"
42763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42764 COND_MONOLITHIC_0_SHARED_1
=""
42767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42769 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42772 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42774 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42777 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42779 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42782 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42787 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42789 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42792 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42794 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42797 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42798 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42799 COND_MONOLITHIC_0_USE_ODBC_1
=""
42802 COND_MONOLITHIC_1
="#"
42803 if test "x$MONOLITHIC" = "x1" ; then
42804 COND_MONOLITHIC_1
=""
42807 COND_MONOLITHIC_1_SHARED_0
="#"
42808 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42809 COND_MONOLITHIC_1_SHARED_0
=""
42812 COND_MONOLITHIC_1_SHARED_1
="#"
42813 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42814 COND_MONOLITHIC_1_SHARED_1
=""
42817 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42818 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42819 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42822 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42823 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42824 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42827 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42828 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42829 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42832 COND_PLATFORM_MACOSX_1
="#"
42833 if test "x$PLATFORM_MACOSX" = "x1" ; then
42834 COND_PLATFORM_MACOSX_1
=""
42837 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42838 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42839 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42842 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42843 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42844 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42847 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42849 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42852 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42854 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42859 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42862 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42864 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42872 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42874 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42877 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42879 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42882 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42887 COND_PLATFORM_MACOS_1
="#"
42888 if test "x$PLATFORM_MACOS" = "x1" ; then
42889 COND_PLATFORM_MACOS_1
=""
42892 COND_PLATFORM_MAC_1
="#"
42893 if test "x$PLATFORM_MAC" = "x1" ; then
42894 COND_PLATFORM_MAC_1
=""
42897 COND_PLATFORM_OS2_1
="#"
42898 if test "x$PLATFORM_OS2" = "x1" ; then
42899 COND_PLATFORM_OS2_1
=""
42902 COND_PLATFORM_UNIX_0
="#"
42903 if test "x$PLATFORM_UNIX" = "x0" ; then
42904 COND_PLATFORM_UNIX_0
=""
42907 COND_PLATFORM_UNIX_1
="#"
42908 if test "x$PLATFORM_UNIX" = "x1" ; then
42909 COND_PLATFORM_UNIX_1
=""
42912 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42913 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42914 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42917 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42918 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42919 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42922 COND_PLATFORM_WIN32_0
="#"
42923 if test "x$PLATFORM_WIN32" = "x0" ; then
42924 COND_PLATFORM_WIN32_0
=""
42927 COND_PLATFORM_WIN32_1
="#"
42928 if test "x$PLATFORM_WIN32" = "x1" ; then
42929 COND_PLATFORM_WIN32_1
=""
42933 if test "x$SHARED" = "x0" ; then
42937 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42938 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42939 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42942 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42943 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42944 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42947 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42948 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42949 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42952 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42953 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42954 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42957 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42958 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42959 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42962 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42963 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42964 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42968 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42969 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42972 COND_SHARED_0_USE_XRC_1
="#"
42973 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42974 COND_SHARED_0_USE_XRC_1
=""
42977 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42978 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42979 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42982 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42983 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42984 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42987 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42988 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42989 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42992 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42993 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42994 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42998 if test "x$SHARED" = "x1" ; then
43002 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43003 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43004 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43007 COND_SHARED_1_USE_XRC_1
="#"
43008 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43009 COND_SHARED_1_USE_XRC_1
=""
43013 if test "x$TOOLKIT" = "x" ; then
43017 COND_TOOLKIT_COCOA
="#"
43018 if test "x$TOOLKIT" = "xCOCOA" ; then
43019 COND_TOOLKIT_COCOA
=""
43022 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43023 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43024 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43027 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43028 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43029 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43032 COND_TOOLKIT_GTK
="#"
43033 if test "x$TOOLKIT" = "xGTK" ; then
43034 COND_TOOLKIT_GTK
=""
43037 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43038 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43039 COND_TOOLKIT_GTK_USE_GUI_1
=""
43042 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43043 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43044 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43047 COND_TOOLKIT_MAC
="#"
43048 if test "x$TOOLKIT" = "xMAC" ; then
43049 COND_TOOLKIT_MAC
=""
43052 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43053 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43054 COND_TOOLKIT_MAC_USE_GUI_1
=""
43057 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43058 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43059 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43062 COND_TOOLKIT_MGL
="#"
43063 if test "x$TOOLKIT" = "xMGL" ; then
43064 COND_TOOLKIT_MGL
=""
43067 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43068 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43069 COND_TOOLKIT_MGL_USE_GUI_1
=""
43072 COND_TOOLKIT_MOTIF
="#"
43073 if test "x$TOOLKIT" = "xMOTIF" ; then
43074 COND_TOOLKIT_MOTIF
=""
43077 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43078 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43079 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43082 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43083 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43084 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43087 COND_TOOLKIT_MSW
="#"
43088 if test "x$TOOLKIT" = "xMSW" ; then
43089 COND_TOOLKIT_MSW
=""
43092 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43093 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43094 COND_TOOLKIT_MSW_USE_GUI_1
=""
43097 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43098 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43099 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43102 COND_TOOLKIT_PM
="#"
43103 if test "x$TOOLKIT" = "xPM" ; then
43107 COND_TOOLKIT_PM_USE_GUI_1
="#"
43108 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43109 COND_TOOLKIT_PM_USE_GUI_1
=""
43112 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
43113 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43114 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
43117 COND_TOOLKIT_WINCE
="#"
43118 if test "x$TOOLKIT" = "xWINCE" ; then
43119 COND_TOOLKIT_WINCE
=""
43122 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
43123 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43124 COND_TOOLKIT_WINCE_USE_GUI_1
=""
43127 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
43128 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43129 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
43132 COND_TOOLKIT_X11
="#"
43133 if test "x$TOOLKIT" = "xX11" ; then
43134 COND_TOOLKIT_X11
=""
43137 COND_TOOLKIT_X11_USE_GUI_1
="#"
43138 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43139 COND_TOOLKIT_X11_USE_GUI_1
=""
43143 if test "x$UNICODE" = "x1" ; then
43147 COND_USE_EXCEPTIONS_0
="#"
43148 if test "x$USE_EXCEPTIONS" = "x0" ; then
43149 COND_USE_EXCEPTIONS_0
=""
43152 COND_USE_EXCEPTIONS_1
="#"
43153 if test "x$USE_EXCEPTIONS" = "x1" ; then
43154 COND_USE_EXCEPTIONS_1
=""
43158 if test "x$USE_GUI" = "x0" ; then
43163 if test "x$USE_GUI" = "x1" ; then
43167 COND_USE_GUI_1_WXUNIV_0
="#"
43168 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43169 COND_USE_GUI_1_WXUNIV_0
=""
43172 COND_USE_GUI_1_WXUNIV_1
="#"
43173 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43174 COND_USE_GUI_1_WXUNIV_1
=""
43177 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43178 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43179 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43182 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43183 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43184 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43187 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43188 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43189 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43192 COND_USE_ODBC_1
="#"
43193 if test "x$USE_ODBC" = "x1" ; then
43197 COND_USE_OPENGL_1
="#"
43198 if test "x$USE_OPENGL" = "x1" ; then
43199 COND_USE_OPENGL_1
=""
43202 COND_USE_PLUGINS_0
="#"
43203 if test "x$USE_PLUGINS" = "x0" ; then
43204 COND_USE_PLUGINS_0
=""
43207 COND_USE_RTTI_0
="#"
43208 if test "x$USE_RTTI" = "x0" ; then
43212 COND_USE_RTTI_1
="#"
43213 if test "x$USE_RTTI" = "x1" ; then
43217 COND_USE_SOSYMLINKS_1
="#"
43218 if test "x$USE_SOSYMLINKS" = "x1" ; then
43219 COND_USE_SOSYMLINKS_1
=""
43222 COND_USE_SOVERLINUX_1
="#"
43223 if test "x$USE_SOVERLINUX" = "x1" ; then
43224 COND_USE_SOVERLINUX_1
=""
43227 COND_USE_SOVERSION_0
="#"
43228 if test "x$USE_SOVERSION" = "x0" ; then
43229 COND_USE_SOVERSION_0
=""
43232 COND_USE_SOVERSOLARIS_1
="#"
43233 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43234 COND_USE_SOVERSOLARIS_1
=""
43237 COND_USE_THREADS_0
="#"
43238 if test "x$USE_THREADS" = "x0" ; then
43239 COND_USE_THREADS_0
=""
43242 COND_USE_THREADS_1
="#"
43243 if test "x$USE_THREADS" = "x1" ; then
43244 COND_USE_THREADS_1
=""
43248 if test "x$USE_XRC" = "x1" ; then
43252 COND_WITH_PLUGIN_SDL_1
="#"
43253 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43254 COND_WITH_PLUGIN_SDL_1
=""
43258 if test "x$WXUNIV" = "x0" ; then
43263 if test "x$WXUNIV" = "x1" ; then
43267 COND_WXUSE_EXPAT_BUILTIN
="#"
43268 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43269 COND_WXUSE_EXPAT_BUILTIN
=""
43272 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43273 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43274 COND_WXUSE_LIBJPEG_BUILTIN
=""
43277 COND_WXUSE_LIBPNG_BUILTIN
="#"
43278 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43279 COND_WXUSE_LIBPNG_BUILTIN
=""
43282 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43283 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43284 COND_WXUSE_LIBTIFF_BUILTIN
=""
43287 COND_WXUSE_ODBC_BUILTIN
="#"
43288 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43289 COND_WXUSE_ODBC_BUILTIN
=""
43292 COND_WXUSE_REGEX_BUILTIN
="#"
43293 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43294 COND_WXUSE_REGEX_BUILTIN
=""
43297 COND_WXUSE_ZLIB_BUILTIN
="#"
43298 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43299 COND_WXUSE_ZLIB_BUILTIN
=""
43304 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43305 { { 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
43306 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;}
43307 { (exit 1); exit 1; }; }
43311 if test "$wxUSE_SHARED" = "yes"; then
43313 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43314 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43317 *-pc-os2_emx | *-pc-os2-emx )
43318 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43319 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43320 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43321 cp -p ${srcdir}/src
/os
2/dllar.sh .
43326 EXE_LINKER
="$CXX -o"
43329 if test "$wxUSE_OMF" = "yes"; then
43331 *-pc-os2_emx | *-pc-os2-emx )
43332 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43333 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43334 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43339 GCC_PRAGMA_FLAGS
=""
43341 if test $GCC_PCH = 1 ; then
43342 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43343 PCH_FLAGS
="-DWX_PRECOMP"
43346 powerpc
-*-darwin* )
43347 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43350 if test "$wxUSE_STL" = "yes" -o \
43351 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43352 "$wxUSE_NO_RTTI" != "yes"; then
43353 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43354 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43355 cat >conftest.
$ac_ext <<_ACEOF
43358 cat confdefs.h
>>conftest.
$ac_ext
43359 cat >>conftest.
$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43365 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43366 #error "Not GCC 3.2 or greater"
43373 rm -f conftest.
$ac_objext
43374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43375 (eval $ac_compile) 2>conftest.er1
43377 grep -v '^ *+' conftest.er1
>conftest.err
43379 cat conftest.err
>&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); } &&
43382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43384 (eval $ac_try) 2>&5
43386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43387 (exit $ac_status); }; } &&
43388 { ac_try
='test -s conftest.$ac_objext'
43389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43390 (eval $ac_try) 2>&5
43392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43393 (exit $ac_status); }; }; then
43394 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43395 echo "$as_me:$LINENO: result: yes" >&5
43396 echo "${ECHO_T}yes" >&6
43398 echo "$as_me: failed program was:" >&5
43399 sed 's/^/| /' conftest.
$ac_ext >&5
43401 echo "$as_me:$LINENO: result: no" >&5
43402 echo "${ECHO_T}no" >&6
43404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43407 *-pc-os2_emx | *-pc-os2-emx )
43408 if test "$wxUSE_STL" = "yes"; then
43409 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43410 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43411 cat >conftest.
$ac_ext <<_ACEOF
43414 cat confdefs.h
>>conftest.
$ac_ext
43415 cat >>conftest.
$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43421 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43422 #error "Not GCC 3.2 or greater"
43429 rm -f conftest.
$ac_objext
43430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43431 (eval $ac_compile) 2>conftest.er1
43433 grep -v '^ *+' conftest.er1
>conftest.err
43435 cat conftest.err
>&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } &&
43438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43440 (eval $ac_try) 2>&5
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); }; } &&
43444 { ac_try
='test -s conftest.$ac_objext'
43445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43446 (eval $ac_try) 2>&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); }; }; then
43450 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43451 echo "$as_me:$LINENO: result: yes" >&5
43452 echo "${ECHO_T}yes" >&6
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.
$ac_ext >&5
43457 echo "$as_me:$LINENO: result: no" >&5
43458 echo "${ECHO_T}no" >&6
43460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43465 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43468 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43532 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43533 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43534 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43535 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43536 echo $ECHO_N "(cached) $ECHO_C" >&6
43538 cat >conftest.
make <<\_ACEOF
43540 @
echo 'ac_maketemp="$(MAKE)"'
43542 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43543 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43544 if test -n "$ac_maketemp"; then
43545 eval ac_cv_prog_make_
${ac_make}_set
=yes
43547 eval ac_cv_prog_make_
${ac_make}_set
=no
43549 rm -f conftest.
make
43551 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43552 echo "$as_me:$LINENO: result: yes" >&5
43553 echo "${ECHO_T}yes" >&6
43556 echo "$as_me:$LINENO: result: no" >&5
43557 echo "${ECHO_T}no" >&6
43558 SET_MAKE
="MAKE=${MAKE-make}"
43563 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43566 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43569 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43572 ac_config_files
="$ac_config_files version-script Makefile"
43575 ac_config_commands
="$ac_config_commands wx-config
43581 if test "$wxUSE_GUI" = "yes"; then
43582 SUBDIRS
="samples demos utils contrib"
43583 else SUBDIRS
="samples utils"
43588 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43589 if test "${with_cppunit_prefix+set}" = set; then
43590 withval
="$with_cppunit_prefix"
43591 cppunit_config_prefix
="$withval"
43593 cppunit_config_prefix
=""
43596 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43597 if test "${with_cppunit_exec_prefix+set}" = set; then
43598 withval
="$with_cppunit_exec_prefix"
43599 cppunit_config_exec_prefix
="$withval"
43601 cppunit_config_exec_prefix
=""
43604 if test x
$cppunit_config_exec_prefix != x
; then
43605 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43606 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43607 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43610 if test x
$cppunit_config_prefix != x
; then
43611 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43612 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43613 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43617 # Extract the first word of "cppunit-config", so it can be a program name with args.
43618 set dummy cppunit
-config; ac_word
=$2
43619 echo "$as_me:$LINENO: checking for $ac_word" >&5
43620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43621 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43622 echo $ECHO_N "(cached) $ECHO_C" >&6
43624 case $CPPUNIT_CONFIG in
43626 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43630 for as_dir
in $PATH
43633 test -z "$as_dir" && as_dir
=.
43634 for ac_exec_ext
in '' $ac_executable_extensions; do
43635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43636 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43643 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43647 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43649 if test -n "$CPPUNIT_CONFIG"; then
43650 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43651 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43653 echo "$as_me:$LINENO: result: no" >&5
43654 echo "${ECHO_T}no" >&6
43657 cppunit_version_min
=1.8.0
43659 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43660 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43662 if test "$CPPUNIT_CONFIG" = "no" ; then
43665 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43666 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43667 cppunit_version
=`$CPPUNIT_CONFIG --version`
43669 cppunit_major_version
=`echo $cppunit_version | \
43670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43671 cppunit_minor_version
=`echo $cppunit_version | \
43672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43673 cppunit_micro_version
=`echo $cppunit_version | \
43674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43676 cppunit_major_min
=`echo $cppunit_version_min | \
43677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43678 cppunit_minor_min
=`echo $cppunit_version_min | \
43679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43680 cppunit_micro_min
=`echo $cppunit_version_min | \
43681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43683 cppunit_version_proper
=`expr \
43684 $cppunit_major_version \> $cppunit_major_min \| \
43685 $cppunit_major_version \= $cppunit_major_min \& \
43686 $cppunit_minor_version \> $cppunit_minor_min \| \
43687 $cppunit_major_version \= $cppunit_major_min \& \
43688 $cppunit_minor_version \= $cppunit_minor_min \& \
43689 $cppunit_micro_version \>= $cppunit_micro_min `
43691 if test "$cppunit_version_proper" = "1" ; then
43692 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43693 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43695 echo "$as_me:$LINENO: result: no" >&5
43696 echo "${ECHO_T}no" >&6
43701 if test "x$no_cppunit" = x
; then
43702 SUBDIRS
="$SUBDIRS tests"
43713 for subdir
in `echo $SUBDIRS`; do
43714 if test -d ${srcdir}/${subdir} ; then
43715 if test "$wxUSE_GUI" = "yes"; then
43716 if test ${subdir} = "samples"; then
43717 makefiles
="samples/Makefile.in $makefiles"
43718 for sample
in `echo $SAMPLES_SUBDIRS`; do
43719 if test -d $srcdir/samples
/$sample; then
43720 makefiles
="samples/$sample/Makefile.in $makefiles"
43723 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43725 else if test ${subdir} = "samples"; then
43726 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43727 elif test ${subdir} = "utils"; then
43729 for util
in HelpGen tex2rtf
; do
43730 if test -d $srcdir/utils
/$util ; then
43731 makefiles
="utils/$util/Makefile.in \
43732 utils/$util/src/Makefile.in \
43736 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43740 for mkin
in $makefiles ; do
43741 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43742 ac_config_files
="$ac_config_files $mk"
43749 cat >confcache
<<\_ACEOF
43750 # This file is a shell script that caches the results of configure
43751 # tests run on this system so they can be shared between configure
43752 # scripts and configure runs, see configure's option --config-cache.
43753 # It is not useful on other systems. If it contains results you don't
43754 # want to keep, you may remove or edit it.
43756 # config.status only pays attention to the cache file if you give it
43757 # the --recheck option to rerun configure.
43759 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43760 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43761 # following values.
43765 # The following way of writing the cache mishandles newlines in values,
43766 # but we know of no workaround that is simple, portable, and efficient.
43767 # So, don't put newlines in cache variables' values.
43768 # Ultrix sh set writes to stderr and can't be redirected directly,
43769 # and sets the high bit in the cache file unless we assign to the vars.
43772 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43774 # `set' does not quote correctly, so add quotes (double-quote
43775 # substitution turns \\\\ into \\, and sed turns \\ into \).
43778 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43781 # `set' quotes correctly as required by POSIX, so do not add quotes.
43783 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43790 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43792 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43794 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43795 if test -w $cache_file; then
43796 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43797 cat confcache
>$cache_file
43799 echo "not updating unwritable cache $cache_file"
43804 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43805 # Let make expand exec_prefix.
43806 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43808 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43809 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43810 # trailing colons and then remove the whole line if VPATH becomes empty
43811 # (actually we leave an empty line to preserve line numbers).
43812 if test "x$srcdir" = x.
; then
43813 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43814 s/:*\$(srcdir):*/:/;
43815 s/:*\${srcdir}:*/:/;
43817 s/^\([^=]*=[ ]*\):*/\1/;
43823 DEFS
=-DHAVE_CONFIG_H
43827 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43828 # 1. Remove the extension, and $U if already installed.
43829 ac_i
=`echo "$ac_i" |
43830 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43832 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43833 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43835 LIBOBJS
=$ac_libobjs
43837 LTLIBOBJS
=$ac_ltlibobjs
43841 : ${CONFIG_STATUS=./config.status}
43842 ac_clean_files_save
=$ac_clean_files
43843 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43844 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43845 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43846 cat >$CONFIG_STATUS <<_ACEOF
43848 # Generated by $as_me.
43849 # Run this file to recreate the current configuration.
43850 # Compiler output produced by configure, useful for debugging
43851 # configure, is in config.log if it exists.
43854 ac_cs_recheck=false
43856 SHELL=\${CONFIG_SHELL-$SHELL}
43859 cat >>$CONFIG_STATUS <<\_ACEOF
43860 ## --------------------- ##
43861 ## M4sh Initialization. ##
43862 ## --------------------- ##
43864 # Be Bourne compatible
43865 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43868 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43869 # is contrary to our usage. Disable this feature.
43870 alias -g '${1+"$@"}'='"$@"'
43871 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43874 DUALCASE
=1; export DUALCASE
# for MKS sh
43876 # Support unset when possible.
43877 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43884 # Work around bugs in pre-3.0 UWIN ksh.
43885 $as_unset ENV MAIL MAILPATH
43892 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43893 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43894 LC_TELEPHONE LC_TIME
43896 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43897 eval $as_var=C
; export $as_var
43903 # Required to use basename.
43904 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43910 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43911 as_basename
=basename
43917 # Name of the executable.
43918 as_me
=`$as_basename "$0" ||
43919 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43920 X"$0" : 'X\(//\)$' \| \
43921 X"$0" : 'X\(/\)$' \| \
43922 . : '\(.\)' 2>/dev/null ||
43924 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43925 /^X\/\(\/\/\)$/{ s//\1/; q; }
43926 /^X\/\(\/\).*/{ s//\1/; q; }
43930 # PATH needs CR, and LINENO needs CR and PATH.
43931 # Avoid depending upon Character Ranges.
43932 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43933 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43934 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43935 as_cr_digits
='0123456789'
43936 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43938 # The user is always right.
43939 if test "${PATH_SEPARATOR+set}" != set; then
43940 echo "#! /bin/sh" >conf$$.sh
43941 echo "exit 0" >>conf$$.sh
43943 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43952 as_lineno_1
=$LINENO
43953 as_lineno_2
=$LINENO
43954 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43955 test "x$as_lineno_1" != "x$as_lineno_2" &&
43956 test "x$as_lineno_3" = "x$as_lineno_2" || {
43957 # Find who we are. Look in the path if we contain no path at all
43960 *[\\/]* ) as_myself
=$0 ;;
43961 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43962 for as_dir
in $PATH
43965 test -z "$as_dir" && as_dir
=.
43966 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43971 # We did not find ourselves, most probably we were run as `sh COMMAND'
43972 # in which case we are not to be found in the path.
43973 if test "x$as_myself" = x
; then
43976 if test ! -f "$as_myself"; then
43977 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43978 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43979 { (exit 1); exit 1; }; }
43981 case $CONFIG_SHELL in
43983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43984 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43987 test -z "$as_dir" && as_dir
=.
43988 for as_base
in sh bash ksh sh5
; do
43991 if ("$as_dir/$as_base" -c '
43992 as_lineno_1=$LINENO
43993 as_lineno_2=$LINENO
43994 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43995 test "x$as_lineno_1" != "x$as_lineno_2" &&
43996 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43997 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43998 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43999 CONFIG_SHELL
=$as_dir/$as_base
44000 export CONFIG_SHELL
44001 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44009 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44010 # uniformly replaced by the line number. The first 'sed' inserts a
44011 # line-number line before each line; the second 'sed' does the real
44012 # work. The second script uses 'N' to pair each line-number line
44013 # with the numbered line, and appends trailing '-' during
44014 # substitution so that $LINENO is not a special case at line end.
44015 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44016 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44017 sed '=' <$as_myself |
44022 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44025 s,^['$as_cr_digits']*\n,,
44026 ' >$as_me.lineno
&&
44027 chmod +x
$as_me.lineno
||
44028 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44029 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44030 { (exit 1); exit 1; }; }
44032 # Don't try to exec as it changes $[0], causing all sort of problems
44033 # (the dirname of $[0] is not the place where we might find the
44034 # original and so on. Autoconf is especially sensible to this).
44036 # Exit status is that of the last command.
44041 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44042 *c
*,-n*) ECHO_N
= ECHO_C
='
44044 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44045 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44048 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44054 rm -f conf$$ conf$$.exe conf$$.
file
44056 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44057 # We could just check for DJGPP; but this test a) works b) is more generic
44058 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44059 if test -f conf$$.exe
; then
44060 # Don't use ln at all; we don't have any links
44065 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44070 rm -f conf$$ conf$$.exe conf$$.
file
44072 if mkdir -p .
2>/dev
/null
; then
44075 test -d .
/-p && rmdir .
/-p
44079 as_executable_p
="test -f"
44081 # Sed expression to map a string onto a valid CPP name.
44082 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44084 # Sed expression to map a string onto a valid variable name.
44085 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44089 # We need space, tab and new line, in precisely that order.
44099 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44100 # report actual input values of CONFIG_FILES etc. instead of their
44101 # values after options handling. Logging --version etc. is OK.
44105 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44106 ## Running $as_me. ##
44111 This file was extended by wxWidgets $as_me 2.6.0, which was
44112 generated by GNU Autoconf 2.59. Invocation command line was
44114 CONFIG_FILES = $CONFIG_FILES
44115 CONFIG_HEADERS = $CONFIG_HEADERS
44116 CONFIG_LINKS = $CONFIG_LINKS
44117 CONFIG_COMMANDS = $CONFIG_COMMANDS
44121 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44125 # Files that config.status was made for.
44126 if test -n "$ac_config_files"; then
44127 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44130 if test -n "$ac_config_headers"; then
44131 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44134 if test -n "$ac_config_links"; then
44135 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44138 if test -n "$ac_config_commands"; then
44139 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44142 cat >>$CONFIG_STATUS <<\_ACEOF
44145 \`$as_me' instantiates files from templates according to the
44146 current configuration.
44148 Usage: $0 [OPTIONS] [FILE]...
44150 -h, --help print this help, then exit
44151 -V, --version print version number, then exit
44152 -q, --quiet do not print progress messages
44153 -d, --debug don't remove temporary files
44154 --recheck update $as_me by reconfiguring in the same conditions
44155 --file=FILE[:TEMPLATE]
44156 instantiate the configuration file FILE
44157 --header=FILE[:TEMPLATE]
44158 instantiate the configuration header FILE
44160 Configuration files:
44163 Configuration headers:
44166 Configuration commands:
44169 Report bugs to <bug-autoconf@gnu.org>."
44172 cat >>$CONFIG_STATUS <<_ACEOF
44174 wxWidgets config.status 2.6.0
44175 configured by $0, generated by GNU Autoconf 2.59,
44176 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44178 Copyright (C) 2003 Free Software Foundation, Inc.
44179 This config.status script is free software; the Free Software Foundation
44180 gives unlimited permission to copy, distribute and modify it."
44185 cat >>$CONFIG_STATUS <<\_ACEOF
44186 # If no file are specified by the user, then we need to provide default
44187 # value. By we need to know if files were specified by the user.
44193 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44194 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44202 *) # This is not an option, so the user has probably given explicit
44205 ac_need_defaults
=false
;;
44209 # Handling of the options.
44211 cat >>$CONFIG_STATUS <<\_ACEOF
44212 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44214 --version | --vers* | -V )
44215 echo "$ac_cs_version"; exit 0 ;;
44217 # Conflict between --help and --header
44218 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44219 Try \`$0 --help' for more information." >&5
44220 echo "$as_me: error: ambiguous option: $1
44221 Try \`$0 --help' for more information." >&2;}
44222 { (exit 1); exit 1; }; };;
44223 --help | --hel | -h )
44224 echo "$ac_cs_usage"; exit 0 ;;
44225 --debug | --d* | -d )
44227 --file | --fil | --fi | --f )
44229 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44230 ac_need_defaults
=false
;;
44231 --header | --heade | --head | --hea )
44233 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44234 ac_need_defaults
=false
;;
44235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44236 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44239 # This is an error.
44240 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44241 Try \`$0 --help' for more information." >&5
44242 echo "$as_me: error: unrecognized option: $1
44243 Try \`$0 --help' for more information." >&2;}
44244 { (exit 1); exit 1; }; } ;;
44246 *) ac_config_targets
="$ac_config_targets $1" ;;
44252 ac_configure_extra_args
=
44254 if $ac_cs_silent; then
44256 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44260 cat >>$CONFIG_STATUS <<_ACEOF
44261 if \$ac_cs_recheck; then
44262 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44263 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44268 cat >>$CONFIG_STATUS <<_ACEOF
44270 # INIT-COMMANDS section.
44273 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44274 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44275 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44283 cat >>$CONFIG_STATUS <<\_ACEOF
44284 for ac_config_target
in $ac_config_targets
44286 case "$ac_config_target" in
44287 # Handling of arguments.
44288 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44289 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44290 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44291 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44292 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44293 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44294 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44295 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44296 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44297 { (exit 1); exit 1; }; };;
44301 # If the user did not use the arguments to specify the items to instantiate,
44302 # then the envvar interface is used. Set only those that are not.
44303 # We use the long form for the default assignment because of an extremely
44304 # bizarre bug on SunOS 4.1.3.
44305 if $ac_need_defaults; then
44306 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44307 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44308 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44311 # Have a temporary directory for convenience. Make it in the build tree
44312 # simply because there is no reason to put it here, and in addition,
44313 # creating and moving files from /tmp can sometimes cause problems.
44314 # Create a temporary directory, and hook for its removal unless debugging.
44317 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44318 trap '{ (exit 1); exit 1; }' 1 2 13 15
44321 # Create a (secure) tmp directory for tmp files.
44324 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44325 test -n "$tmp" && test -d "$tmp"
44328 tmp
=.
/confstat$$
-$RANDOM
44329 (umask 077 && mkdir $tmp)
44332 echo "$me: cannot create a temporary directory in ." >&2
44333 { (exit 1); exit 1; }
44338 cat >>$CONFIG_STATUS <<_ACEOF
44341 # CONFIG_FILES section.
44344 # No need to generate the scripts if there are no CONFIG_FILES.
44345 # This happens for instance when ./config.status config.h
44346 if test -n "\$CONFIG_FILES"; then
44347 # Protect against being on the right side of a sed subst in config.status.
44348 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44349 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44350 s,@SHELL@,$SHELL,;t t
44351 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44352 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44353 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44354 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44355 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44356 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44357 s,@exec_prefix@,$exec_prefix,;t t
44358 s,@prefix@,$prefix,;t t
44359 s,@program_transform_name@,$program_transform_name,;t t
44360 s,@bindir@,$bindir,;t t
44361 s,@sbindir@,$sbindir,;t t
44362 s,@libexecdir@,$libexecdir,;t t
44363 s,@datadir@,$datadir,;t t
44364 s,@sysconfdir@,$sysconfdir,;t t
44365 s,@sharedstatedir@,$sharedstatedir,;t t
44366 s,@localstatedir@,$localstatedir,;t t
44367 s,@libdir@,$libdir,;t t
44368 s,@includedir@,$includedir,;t t
44369 s,@oldincludedir@,$oldincludedir,;t t
44370 s,@infodir@,$infodir,;t t
44371 s,@mandir@,$mandir,;t t
44372 s,@build_alias@,$build_alias,;t t
44373 s,@host_alias@,$host_alias,;t t
44374 s,@target_alias@,$target_alias,;t t
44375 s,@DEFS@,$DEFS,;t t
44376 s,@ECHO_C@,$ECHO_C,;t t
44377 s,@ECHO_N@,$ECHO_N,;t t
44378 s,@ECHO_T@,$ECHO_T,;t t
44379 s,@LIBS@,$LIBS,;t t
44380 s,@build@,$build,;t t
44381 s,@build_cpu@,$build_cpu,;t t
44382 s,@build_vendor@,$build_vendor,;t t
44383 s,@build_os@,$build_os,;t t
44384 s,@host@,$host,;t t
44385 s,@host_cpu@,$host_cpu,;t t
44386 s,@host_vendor@,$host_vendor,;t t
44387 s,@host_os@,$host_os,;t t
44388 s,@target@,$target,;t t
44389 s,@target_cpu@,$target_cpu,;t t
44390 s,@target_vendor@,$target_vendor,;t t
44391 s,@target_os@,$target_os,;t t
44393 s,@CFLAGS@,$CFLAGS,;t t
44394 s,@LDFLAGS@,$LDFLAGS,;t t
44395 s,@CPPFLAGS@,$CPPFLAGS,;t t
44396 s,@ac_ct_CC@,$ac_ct_CC,;t t
44397 s,@EXEEXT@,$EXEEXT,;t t
44398 s,@OBJEXT@,$OBJEXT,;t t
44400 s,@EGREP@,$EGREP,;t t
44402 s,@CXXFLAGS@,$CXXFLAGS,;t t
44403 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44404 s,@RANLIB@,$RANLIB,;t t
44405 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44407 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44408 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44409 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44410 s,@STRIP@,$STRIP,;t t
44411 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44412 s,@LN_S@,$LN_S,;t t
44413 s,@CXXCPP@,$CXXCPP,;t t
44414 s,@subdirs@,$subdirs,;t t
44415 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44416 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44417 s,@GTK_LIBS@,$GTK_LIBS,;t t
44418 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44419 s,@X_CFLAGS@,$X_CFLAGS,;t t
44420 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44421 s,@X_LIBS@,$X_LIBS,;t t
44422 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44423 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44424 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44425 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44426 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44427 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44428 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44429 s,@RESCOMP@,$RESCOMP,;t t
44430 s,@DEREZ@,$DEREZ,;t t
44431 s,@SETFILE@,$SETFILE,;t t
44432 s,@LIBICONV@,$LIBICONV,;t t
44433 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44434 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44435 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44436 s,@SDL_LIBS@,$SDL_LIBS,;t t
44437 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44438 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44439 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44440 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44441 s,@GST_INSPECT@,$GST_INSPECT,;t t
44442 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44443 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44444 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44445 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44446 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44447 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44448 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44449 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44450 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44451 s,@VENDOR@,$VENDOR,;t t
44452 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44453 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44454 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44455 s,@WXUNIV@,$WXUNIV,;t t
44456 s,@MONOLITHIC@,$MONOLITHIC,;t t
44457 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44458 s,@EXTRALIBS@,$EXTRALIBS,;t t
44459 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44460 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44461 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44462 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44463 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44464 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44465 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44466 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44467 s,@UNICODE@,$UNICODE,;t t
44468 s,@BUILD@,$BUILD,;t t
44469 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44470 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44471 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44472 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44473 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44474 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44475 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44476 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44477 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44478 s,@SET_MAKE@,$SET_MAKE,;t t
44479 s,@MAKE_SET@,$MAKE_SET,;t t
44480 s,@ac_ct_AR@,$ac_ct_AR,;t t
44481 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44483 s,@ac_ct_NM@,$ac_ct_NM,;t t
44484 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44485 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44486 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44487 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44488 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44489 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44490 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44491 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44492 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44493 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44494 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44495 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44496 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44497 s,@LIBPREFIX@,$LIBPREFIX,;t t
44498 s,@LIBEXT@,$LIBEXT,;t t
44499 s,@DLLPREFIX@,$DLLPREFIX,;t t
44500 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44501 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44502 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44503 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44504 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44505 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44506 s,@PIC_FLAG@,$PIC_FLAG,;t t
44507 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44508 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44509 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44510 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44511 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44512 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44513 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44514 s,@GCC_PCH@,$GCC_PCH,;t t
44515 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44516 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44517 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44518 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44519 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44520 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44521 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44522 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44523 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44524 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44525 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44526 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44527 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44528 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44529 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44530 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44531 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44532 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44533 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
44534 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
44535 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
44536 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44537 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44538 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44539 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44540 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
44541 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
44542 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
44543 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44544 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44545 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44546 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44547 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44548 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44549 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44550 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44551 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44552 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44553 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44554 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44555 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44556 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44557 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44558 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44559 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44560 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44561 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44562 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44563 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44564 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44565 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44566 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44567 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44568 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44569 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44570 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44571 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44572 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44573 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44574 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44575 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44576 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44577 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44578 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44579 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44580 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
44581 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44582 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44583 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44584 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44585 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44586 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44587 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
44588 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44589 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44590 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44591 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44592 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44593 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44594 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44595 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44596 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44597 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44598 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44599 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44600 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44601 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44602 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44603 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44604 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44605 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44606 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44607 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44608 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44609 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44610 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44611 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44612 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44613 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44614 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44615 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44616 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44617 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44618 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44619 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44620 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44621 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44622 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44623 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44624 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44625 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44626 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44627 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44628 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44629 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44630 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44631 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44632 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44633 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44634 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44635 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44636 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44637 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44638 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44639 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44640 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44641 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44642 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44643 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44644 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44645 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44646 s,@SHARED@,$SHARED,;t t
44647 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44648 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44649 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44650 s,@USE_GUI@,$USE_GUI,;t t
44651 s,@AFMINSTALL@,$AFMINSTALL,;t t
44652 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44653 s,@TOOLKIT@,$TOOLKIT,;t t
44654 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44655 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44656 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44657 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44658 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44659 s,@cross_compiling@,$cross_compiling,;t t
44660 s,@WIDGET_SET@,$WIDGET_SET,;t t
44661 s,@WX_RELEASE@,$WX_RELEASE,;t t
44662 s,@WX_VERSION@,$WX_VERSION,;t t
44663 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44664 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44665 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44666 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44667 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44668 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44669 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44670 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44671 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44672 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44673 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44674 s,@EXE_LINKER@,$EXE_LINKER,;t t
44675 s,@GUIDIST@,$GUIDIST,;t t
44676 s,@DISTDIR@,$DISTDIR,;t t
44677 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44678 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44679 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44680 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44681 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44682 s,@RESFLAGS@,$RESFLAGS,;t t
44683 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44684 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44685 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44686 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44687 s,@MACRESCOMP@,$MACRESCOMP,;t t
44688 s,@MACSETFILE@,$MACSETFILE,;t t
44689 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44691 s,@DLLTOOL@,$DLLTOOL,;t t
44692 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44693 s,@LIBOBJS@,$LIBOBJS,;t t
44694 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44699 cat >>$CONFIG_STATUS <<\_ACEOF
44700 # Split the substitutions into bite-sized pieces for seds with
44701 # small command number limits, like on Digital OSF/1 and HP-UX.
44702 ac_max_sed_lines
=48
44703 ac_sed_frag
=1 # Number of current file.
44704 ac_beg
=1 # First line for current file.
44705 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44708 while $ac_more_lines; do
44709 if test $ac_beg -gt 1; then
44710 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44712 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44714 if test ! -s $tmp/subs.frag
; then
44715 ac_more_lines
=false
44717 # The purpose of the label and of the branching condition is to
44718 # speed up the sed processing (if there are no `@' at all, there
44719 # is no need to browse any of the substitutions).
44720 # These are the two extra sed commands mentioned above.
44722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44723 if test -z "$ac_sed_cmds"; then
44724 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44726 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44728 ac_sed_frag
=`expr $ac_sed_frag + 1`
44730 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44733 if test -z "$ac_sed_cmds"; then
44736 fi # test -n "$CONFIG_FILES"
44739 cat >>$CONFIG_STATUS <<\_ACEOF
44740 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44741 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44743 - | *:- | *:-:* ) # input from stdin
44745 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44746 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44747 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44748 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44749 * ) ac_file_in
=$ac_file.
in ;;
44752 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44753 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44755 X"$ac_file" : 'X\(//\)[^/]' \| \
44756 X"$ac_file" : 'X\(//\)$' \| \
44757 X"$ac_file" : 'X\(/\)' \| \
44758 . : '\(.\)' 2>/dev/null ||
44760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44761 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44762 /^X\(\/\/\)$/{ s//\1/; q; }
44763 /^X\(\/\).*/{ s//\1/; q; }
44765 { if $as_mkdir_p; then
44770 while test ! -d "$as_dir"; do
44771 as_dirs
="$as_dir $as_dirs"
44772 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44774 X"$as_dir" : 'X\(//\)[^/]' \| \
44775 X"$as_dir" : 'X\(//\)$' \| \
44776 X"$as_dir" : 'X\(/\)' \| \
44777 . : '\(.\)' 2>/dev/null ||
44779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44781 /^X\(\/\/\)$/{ s//\1/; q; }
44782 /^X\(\/\).*/{ s//\1/; q; }
44785 test ! -n "$as_dirs" || mkdir $as_dirs
44786 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44787 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44788 { (exit 1); exit 1; }; }; }
44792 if test "$ac_dir" != .
; then
44793 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44794 # A "../" for each directory in $ac_dir_suffix.
44795 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44797 ac_dir_suffix
= ac_top_builddir
=
44801 .
) # No --srcdir option. We are building in place.
44803 if test -z "$ac_top_builddir"; then
44806 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44808 [\\/]* | ?
:[\\/]* ) # Absolute path.
44809 ac_srcdir
=$srcdir$ac_dir_suffix;
44810 ac_top_srcdir
=$srcdir ;;
44811 *) # Relative path.
44812 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44813 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44816 # Do not use `cd foo && pwd` to compute absolute paths, because
44817 # the directories may not exist.
44819 .
) ac_abs_builddir
="$ac_dir";;
44822 .
) ac_abs_builddir
=`pwd`;;
44823 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44824 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44827 case $ac_abs_builddir in
44828 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44830 case ${ac_top_builddir}.
in
44831 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44832 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44833 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44836 case $ac_abs_builddir in
44837 .
) ac_abs_srcdir
=$ac_srcdir;;
44840 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44841 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44842 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44845 case $ac_abs_builddir in
44846 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44848 case $ac_top_srcdir in
44849 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44850 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44851 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44857 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44858 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44861 # Let's still pretend it is `configure' which instantiates (i.e., don't
44862 # use $as_me), people would be surprised to read:
44863 # /* config.h. Generated by config.status. */
44864 if test x
"$ac_file" = x
-; then
44867 configure_input
="$ac_file. "
44869 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44870 sed 's,.*/,,'` by configure."
44872 # First look for the input files in the build tree, otherwise in the
44874 ac_file_inputs
=`IFS=:
44875 for f in $ac_file_in; do
44877 -) echo $tmp/stdin ;;
44879 # Absolute (can't be DOS-style, as IFS=:)
44880 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44881 echo "$as_me: error: cannot find input file: $f" >&2;}
44882 { (exit 1); exit 1; }; }
44885 if test -f "$f"; then
44888 elif test -f "$srcdir/$f"; then
44893 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44894 echo "$as_me: error: cannot find input file: $f" >&2;}
44895 { (exit 1); exit 1; }; }
44898 done` || { (exit 1); exit 1; }
44900 if test x
"$ac_file" != x
-; then
44901 { echo "$as_me:$LINENO: creating $ac_file" >&5
44902 echo "$as_me: creating $ac_file" >&6;}
44906 cat >>$CONFIG_STATUS <<_ACEOF
44910 cat >>$CONFIG_STATUS <<\_ACEOF
44912 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44913 s
,@configure_input@
,$configure_input,;t t
44914 s
,@srcdir@
,$ac_srcdir,;t t
44915 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44916 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44917 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44918 s
,@builddir@
,$ac_builddir,;t t
44919 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44920 s
,@top_builddir@
,$ac_top_builddir,;t t
44921 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44922 s
,@INSTALL@
,$ac_INSTALL,;t t
44923 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44925 if test x"$ac_file" != x-; then
44926 mv $tmp/out $ac_file
44932 # Run the commands associated with the file.
44934 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44935 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44939 cat >>$CONFIG_STATUS <<\_ACEOF
44942 # CONFIG_HEADER section.
44945 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44946 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44948 # ac_d sets the value in "#define NAME VALUE" lines.
44949 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44950 ac_dB
='[ ].*$,\1#\2'
44953 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44954 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44955 ac_uB
='$,\1#\2define\3'
44959 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44960 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44962 - | *:- | *:-:* ) # input from stdin
44964 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44965 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44966 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44967 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44968 * ) ac_file_in
=$ac_file.
in ;;
44971 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44972 echo "$as_me: creating $ac_file" >&6;}
44974 # First look for the input files in the build tree, otherwise in the
44976 ac_file_inputs
=`IFS=:
44977 for f in $ac_file_in; do
44979 -) echo $tmp/stdin ;;
44981 # Absolute (can't be DOS-style, as IFS=:)
44982 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44983 echo "$as_me: error: cannot find input file: $f" >&2;}
44984 { (exit 1); exit 1; }; }
44985 # Do quote $f, to prevent DOS paths from being IFS'd.
44988 if test -f "$f"; then
44991 elif test -f "$srcdir/$f"; then
44996 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44997 echo "$as_me: error: cannot find input file: $f" >&2;}
44998 { (exit 1); exit 1; }; }
45001 done` || { (exit 1); exit 1; }
45002 # Remove the trailing spaces.
45003 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45007 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45008 # `conftest.undefs', that substitutes the proper values into
45009 # config.h.in to produce config.h. The first handles `#define'
45010 # templates, and the second `#undef' templates.
45011 # And first: Protect against being on the right side of a sed subst in
45012 # config.status. Protect against being in an unquoted here document
45013 # in config.status.
45014 rm -f conftest.defines conftest.undefs
45015 # Using a here document instead of a string reduces the quoting nightmare.
45016 # Putting comments in sed scripts is not portable.
45018 # `end' is used to avoid that the second main sed command (meant for
45019 # 0-ary CPP macros) applies to n-ary macro definitions.
45020 # See the Autoconf documentation for `clear'.
45021 cat >confdef2sed.
sed <<\_ACEOF
45026 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45028 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45031 # If some macros were called several times there might be several times
45032 # the same #defines, which is useless. Nevertheless, we may not want to
45033 # sort them, since we want the *last* AC-DEFINE to be honored.
45034 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45035 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45036 rm -f confdef2sed.sed
45038 # This sed command replaces #undef with comments. This is necessary, for
45039 # example, in the case of _POSIX_SOURCE, which is predefined and required
45040 # on some systems where configure will not decide to define it.
45041 cat >>conftest.undefs <<\_ACEOF
45042 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45045 # Break up conftest.defines because some shells have a limit on the size
45046 # of here documents, and old seds have small limits too (100 cmds).
45047 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45048 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45049 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45050 echo ' :' >>$CONFIG_STATUS
45051 rm -f conftest.tail
45052 while grep . conftest.defines >/dev/null
45054 # Write a limited-size here document to $tmp/defines.sed.
45055 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45056 # Speed up: don't consider the non `#define' lines.
45057 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45058 # Work around the forget-to-reset-the-flag bug.
45059 echo 't clr' >>$CONFIG_STATUS
45060 echo ': clr' >>$CONFIG_STATUS
45061 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45063 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45065 mv $tmp/out $tmp/in
45067 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45068 rm -f conftest.defines
45069 mv conftest.
tail conftest.defines
45071 rm -f conftest.defines
45072 echo ' fi # grep' >>$CONFIG_STATUS
45073 echo >>$CONFIG_STATUS
45075 # Break up conftest.undefs because some shells have a limit on the size
45076 # of here documents, and old seds have small limits too (100 cmds).
45077 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45078 rm -f conftest.
tail
45079 while grep . conftest.undefs
>/dev
/null
45081 # Write a limited-size here document to $tmp/undefs.sed.
45082 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45083 # Speed up: don't consider the non
`#undef'
45084 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45085 # Work around the forget-to-reset-the-flag bug.
45086 echo 't clr' >>$CONFIG_STATUS
45087 echo ': clr' >>$CONFIG_STATUS
45088 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45090 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45092 mv $tmp/out $tmp/in
45094 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45095 rm -f conftest.undefs
45096 mv conftest.tail conftest.undefs
45098 rm -f conftest.undefs
45100 cat >>$CONFIG_STATUS <<\_ACEOF
45101 # Let's still pretend it is `configure
' which instantiates (i.e., don't
45102 # use $as_me), people would be surprised to read:
45103 # /* config.h. Generated by config.status. */
45104 if test x
"$ac_file" = x
-; then
45105 echo "/* Generated by configure. */" >$tmp/config.h
45107 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45109 cat $tmp/in >>$tmp/config.h
45111 if test x
"$ac_file" != x
-; then
45112 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
45113 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45114 echo "$as_me: $ac_file is unchanged" >&6;}
45116 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45117 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45118 X"$ac_file" : 'X\(//\)[^/]' \| \
45119 X"$ac_file" : 'X\(//\)$' \| \
45120 X"$ac_file" : 'X\(/\)' \| \
45121 . : '\(.\)' 2>/dev/null ||
45123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45125 /^X\(\/\/\)$/{ s//\1/; q; }
45126 /^X\(\/\).*/{ s//\1/; q; }
45128 { if $as_mkdir_p; then
45133 while test ! -d "$as_dir"; do
45134 as_dirs
="$as_dir $as_dirs"
45135 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45137 X"$as_dir" : 'X\(//\)[^/]' \| \
45138 X"$as_dir" : 'X\(//\)$' \| \
45139 X"$as_dir" : 'X\(/\)' \| \
45140 . : '\(.\)' 2>/dev/null ||
45142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45143 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45144 /^X\(\/\/\)$/{ s//\1/; q; }
45145 /^X\(\/\).*/{ s//\1/; q; }
45148 test ! -n "$as_dirs" || mkdir $as_dirs
45149 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45150 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45151 { (exit 1); exit 1; }; }; }
45154 mv $tmp/config.h
$ac_file
45158 rm -f $tmp/config.h
45162 cat >>$CONFIG_STATUS <<\_ACEOF
45165 # CONFIG_COMMANDS section.
45167 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45168 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45169 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45170 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45171 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45172 X"$ac_dest" : 'X\(//\)[^/]' \| \
45173 X"$ac_dest" : 'X\(//\)$' \| \
45174 X"$ac_dest" : 'X\(/\)' \| \
45175 . : '\(.\)' 2>/dev/null ||
45177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45178 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45179 /^X\(\/\/\)$/{ s//\1/; q; }
45180 /^X\(\/\).*/{ s//\1/; q; }
45182 { if $as_mkdir_p; then
45187 while test ! -d "$as_dir"; do
45188 as_dirs
="$as_dir $as_dirs"
45189 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45190 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45191 X"$as_dir" : 'X\(//\)[^/]' \| \
45192 X"$as_dir" : 'X\(//\)$' \| \
45193 X"$as_dir" : 'X\(/\)' \| \
45194 . : '\(.\)' 2>/dev/null ||
45196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45197 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45198 /^X\(\/\/\)$/{ s//\1/; q; }
45199 /^X\(\/\).*/{ s//\1/; q; }
45202 test ! -n "$as_dirs" || mkdir $as_dirs
45203 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45204 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45205 { (exit 1); exit 1; }; }; }
45209 if test "$ac_dir" != .
; then
45210 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45211 # A "../" for each directory in $ac_dir_suffix.
45212 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45214 ac_dir_suffix
= ac_top_builddir
=
45218 .
) # No --srcdir option. We are building in place.
45220 if test -z "$ac_top_builddir"; then
45223 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45225 [\\/]* | ?
:[\\/]* ) # Absolute path.
45226 ac_srcdir
=$srcdir$ac_dir_suffix;
45227 ac_top_srcdir
=$srcdir ;;
45228 *) # Relative path.
45229 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45230 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45233 # Do not use `cd foo && pwd` to compute absolute paths, because
45234 # the directories may not exist.
45236 .
) ac_abs_builddir
="$ac_dir";;
45239 .
) ac_abs_builddir
=`pwd`;;
45240 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45241 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45244 case $ac_abs_builddir in
45245 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45247 case ${ac_top_builddir}.
in
45248 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45249 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45250 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45253 case $ac_abs_builddir in
45254 .
) ac_abs_srcdir
=$ac_srcdir;;
45257 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45258 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45259 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45262 case $ac_abs_builddir in
45263 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45265 case $ac_top_srcdir in
45266 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45267 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45268 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45273 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45274 echo "$as_me: executing $ac_dest commands" >&6;}
45276 wx
-config ) rm -f wx
-config
45277 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45283 cat >>$CONFIG_STATUS <<\_ACEOF
45285 { (exit 0); exit 0; }
45287 chmod +x
$CONFIG_STATUS
45288 ac_clean_files
=$ac_clean_files_save
45291 # configure is writing to config.log, and then calls config.status.
45292 # config.status does its own redirection, appending to config.log.
45293 # Unfortunately, on DOS this fails, as config.log is still kept open
45294 # by configure, so config.status won't be able to write to it; its
45295 # output is simply discarded. So we exec the FD to /dev/null,
45296 # effectively closing config.log, so it can be properly (re)opened and
45297 # appended to by config.status. When coming back to configure, we
45298 # need to make the FD available again.
45299 if test "$no_create" != yes; then
45301 ac_config_status_args
=
45302 test "$silent" = yes &&
45303 ac_config_status_args
="$ac_config_status_args --quiet"
45305 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45307 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45308 # would make configure fail if this is the last instruction.
45309 $ac_cs_success || { (exit 1); exit 1; }
45313 # CONFIG_SUBDIRS section.
45315 if test "$no_recursion" != yes; then
45317 # Remove --cache-file and --srcdir arguments so they do not pile up.
45318 ac_sub_configure_args
=
45320 for ac_arg
in $ac_configure_args; do
45321 if test -n "$ac_prev"; then
45326 -cache-file | --cache-file | --cache-fil | --cache-fi \
45327 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45328 ac_prev
=cache_file
;;
45329 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45330 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45333 --config-cache | -C)
45335 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45337 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45339 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45341 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45343 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45347 # Always prepend --prefix to ensure using the same prefix
45348 # in subdir configurations.
45349 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45352 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45354 # Do not complain, so a configure script can configure whichever
45355 # parts of a large source tree are present.
45356 test -d $srcdir/$ac_dir || continue
45358 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45359 echo "$as_me: configuring in $ac_dir" >&6;}
45360 { if $as_mkdir_p; then
45365 while test ! -d "$as_dir"; do
45366 as_dirs
="$as_dir $as_dirs"
45367 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45368 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45369 X"$as_dir" : 'X\(//\)[^/]' \| \
45370 X"$as_dir" : 'X\(//\)$' \| \
45371 X"$as_dir" : 'X\(/\)' \| \
45372 . : '\(.\)' 2>/dev/null ||
45374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45376 /^X\(\/\/\)$/{ s//\1/; q; }
45377 /^X\(\/\).*/{ s//\1/; q; }
45380 test ! -n "$as_dirs" || mkdir $as_dirs
45381 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45382 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45383 { (exit 1); exit 1; }; }; }
45387 if test "$ac_dir" != .
; then
45388 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45389 # A "../" for each directory in $ac_dir_suffix.
45390 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45392 ac_dir_suffix
= ac_top_builddir
=
45396 .
) # No --srcdir option. We are building in place.
45398 if test -z "$ac_top_builddir"; then
45401 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45403 [\\/]* | ?
:[\\/]* ) # Absolute path.
45404 ac_srcdir
=$srcdir$ac_dir_suffix;
45405 ac_top_srcdir
=$srcdir ;;
45406 *) # Relative path.
45407 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45408 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45411 # Do not use `cd foo && pwd` to compute absolute paths, because
45412 # the directories may not exist.
45414 .
) ac_abs_builddir
="$ac_dir";;
45417 .
) ac_abs_builddir
=`pwd`;;
45418 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45419 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45422 case $ac_abs_builddir in
45423 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45425 case ${ac_top_builddir}.
in
45426 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45427 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45428 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45431 case $ac_abs_builddir in
45432 .
) ac_abs_srcdir
=$ac_srcdir;;
45435 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45436 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45437 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45440 case $ac_abs_builddir in
45441 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45443 case $ac_top_srcdir in
45444 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45445 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45446 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45453 # Check for guested configure; otherwise get Cygnus style configure.
45454 if test -f $ac_srcdir/configure.gnu
; then
45455 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45456 elif test -f $ac_srcdir/configure
; then
45457 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45458 elif test -f $ac_srcdir/configure.
in; then
45459 ac_sub_configure
=$ac_configure
45461 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45462 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45466 # The recursion is here.
45467 if test -n "$ac_sub_configure"; then
45468 # Make the cache file name correct relative to the subdirectory.
45469 case $cache_file in
45470 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45471 *) # Relative path.
45472 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45475 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45476 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45477 # The eval makes quoting arguments work.
45478 eval $ac_sub_configure $ac_sub_configure_args \
45479 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45480 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45481 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45482 { (exit 1); exit 1; }; }
45491 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45493 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45494 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45496 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45497 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45498 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45500 echo " What level of wxWidgets compatibility should be enabled?"
45501 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45502 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45504 echo " Which libraries should wxWidgets use?"
45505 echo " jpeg ${wxUSE_LIBJPEG-none}"
45506 echo " png ${wxUSE_LIBPNG-none}"
45507 echo " regex ${wxUSE_REGEX}"
45508 echo " tiff ${wxUSE_LIBTIFF-none}"
45509 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45510 echo " xpm ${wxUSE_LIBXPM-none}"
45512 echo " zlib ${wxUSE_ZLIB}"
45513 echo " odbc ${wxUSE_ODBC}"
45514 echo " expat ${wxUSE_EXPAT}"
45515 echo " libmspack ${wxUSE_LIBMSPACK}"
45516 echo " sdl ${wxUSE_LIBSDL}"
45517 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"