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.5.5.
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.5.5'
274 PACKAGE_STRING
='wxWidgets 2.5.5'
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_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_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.5.5 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.5.5:";;
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-stdpaths use wxStandardPaths class
930 --enable-stopwatch use wxStopWatch class
931 --enable-streams use wxStream etc classes
932 --enable-sysoptions use wxSystemOptions
933 --enable-textbuf use wxTextBuffer class
934 --enable-textfile use wxTextFile class
935 --enable-timer use wxTimer class
936 --enable-unicode compile wxString with Unicode support
937 --enable-sound use wxSound class
938 --enable-mediactrl use wxMediaCtrl class
939 --enable-wxprintfv use wxWidgets implementation of vprintf
()
940 --enable-zipstream use wxZip streams
941 --enable-url use wxURL class
942 --enable-protocol use wxProtocol class
943 --enable-protocol-http HTTP support
in wxProtocol
944 --enable-protocol-ftp FTP support
in wxProtocol
945 --enable-protocol-file FILE support
in wxProtocol
946 --enable-threads use threads
947 --enable-docview use document view architecture
948 --enable-help use
help subsystem
949 --enable-mshtmlhelp use MS HTML Help
(win32
)
950 --enable-html use wxHTML sub
-library
951 --enable-htmlhelp use wxHTML
-based help
952 --enable-xrc use XRC resources sub
-library
953 --enable-constraints use layout
-constraints system
954 --enable-printarch use printing architecture
955 --enable-mdi use multiple document interface architecture
956 --enable-mdidoc use docview architecture with MDI
957 --enable-loggui use standard GUI logger
958 --enable-logwin use wxLogWindow
959 --enable-logdialog use wxLogDialog
960 --enable-webkit use wxWebKitCtrl
(Mac
)
961 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
962 --enable-prologio not available
; see contrib
963 --enable-resources not available
; see contrib
964 --enable-clipboard use wxClipboard class
965 --enable-dnd use Drag
'n'Drop classes
966 --enable-metafile use win32 metafiles
967 --enable-controls use all usual controls
968 --enable-accel use accelerators
969 --enable-button use wxButton class
970 --enable-bmpbutton use wxBitmapButton class
971 --enable-calendar use wxCalendarCtrl class
972 --enable-caret use wxCaret class
973 --enable-checkbox use wxCheckBox class
974 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
975 --enable-choice use wxChoice class
976 --enable-choicebook use wxChoicebook class
977 --enable-combobox use wxComboBox class
978 --enable-datepick use wxDatePickerCtrl class
979 --enable-display use wxDisplay class
980 --enable-gauge use wxGauge class
981 --enable-grid use wxGrid class
982 --enable-imaglist use wxImageList class
983 --enable-listbook use wxListbook class
984 --enable-listbox use wxListBox class
985 --enable-listctrl use wxListCtrl class
986 --enable-notebook use wxNotebook class
987 --enable-radiobox use wxRadioBox class
988 --enable-radiobtn use wxRadioButton class
989 --enable-sash use wxSashWindow class
990 --enable-scrollbar use wxScrollBar class and scrollable windows
991 --enable-slider use wxSlider class
992 --enable-spinbtn use wxSpinButton class
993 --enable-spinctrl use wxSpinCtrl class
994 --enable-splitter use wxSplitterWindow class
995 --enable-statbmp use wxStaticBitmap class
996 --enable-statbox use wxStaticBox class
997 --enable-statline use wxStaticLine class
998 --enable-stattext use wxStaticText class
999 --enable-statusbar use wxStatusBar class
1000 --enable-tabdialog use wxTabControl class
1001 --enable-textctrl use wxTextCtrl class
1002 --enable-togglebtn use wxToggleButton class
1003 --enable-toolbar use wxToolBar class
1004 --enable-tbarnative use native wxToolBar class
1005 --enable-tbarsmpl use wxToolBarSimple class
1006 --enable-treectrl use wxTreeCtrl class
1007 --enable-tipwindow use wxTipWindow class
1008 --enable-popupwin use wxPopUpWindow class
1009 --enable-commondlg use all common dialogs
1010 --enable-choicedlg use wxChoiceDialog
1011 --enable-coldlg use wxColourDialog
1012 --enable-filedlg use wxFileDialog
1013 --enable-finddlg use wxFindReplaceDialog
1014 --enable-fontdlg use wxFontDialog
1015 --enable-dirdlg use wxDirDialog
1016 --enable-msgdlg use wxMessageDialog
1017 --enable-numberdlg use wxNumberEntryDialog
1018 --enable-splash use wxSplashScreen
1019 --enable-textdlg use wxTextDialog
1020 --enable-tipdlg use startup tips
1021 --enable-progressdlg use wxProgressDialog
1022 --enable-wizarddlg use wxWizard
1023 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1024 --enable-miniframe use wxMiniFrame class
1025 --enable-tooltips use wxToolTip class
1026 --enable-splines use spline drawing code
1027 --enable-validators use wxValidator and derived classes
1028 --enable-busyinfo use wxBusyInfo
1029 --enable-joystick use wxJoystick
1030 --enable-metafiles use wxMetaFile
(Windows only
)
1031 --enable-dragimage use wxDragImage
1032 --enable-accessibility enable accessibility support
1033 --enable-palette use wxPalette class
1034 --enable-image use wxImage class
1035 --enable-gif use gif images
(GIF
file format
)
1036 --enable-pcx use pcx images
(PCX
file format
)
1037 --enable-iff use iff images
(IFF
file format
)
1038 --enable-pnm use pnm images
(PNM
file format
)
1039 --enable-xpm use xpm images
(XPM
file format
)
1040 --enable-icocur use Windows ICO and CUR formats
1041 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1042 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1043 --disable-largefile omit support
for large files
1044 --disable-gtktest do not try to compile and run a
test GTK
+ program
1045 --disable-gtktest Do not try to compile and run a
test GTK program
1046 --disable-sdltest Do not try to compile and run a
test SDL program
1047 --enable-omf use OMF object format
(OS
/2)
1048 --disable-precomp-headers
1049 don
't use precompiled headers even if compiler can
1052 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1053 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1055 --with-motif use Motif/Lesstif
1056 --with-mac use Mac OS X
1057 --with-cocoa use Cocoa
1058 --with-wine use Wine
1059 --with-msw use MS-Windows
1060 --with-pm use OS/2 Presentation Manager
1061 --with-mgl use SciTech MGL
1062 --with-microwin use MicroWindows
1064 --with-libpng use libpng (PNG image format)
1065 --with-libjpeg use libjpeg (JPEG file format)
1066 --with-libtiff use libtiff (TIFF file format)
1067 --with-libxpm use libxpm (XPM file format)
1068 --with-libmspack use libmspack (CHM help files loading)
1069 --with-sdl use SDL for audio on Unix
1070 --with-gnomeprint use GNOME print for printing under Unix
1071 --with-opengl use OpenGL (or Mesa)
1072 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1073 --with-regex enable support for wxRegEx class
1074 --with-zlib use zlib for LZW compression
1075 --with-odbc use the IODBC and wxODBC classes
1076 --with-expat enable XML support using expat parser
1077 --with-flavour=NAME specify a name to identify this build
1078 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1079 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1080 --with-x use the X Window System
1081 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1082 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1083 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1084 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1085 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1087 Some influential environment variables:
1088 CC C compiler command
1089 CFLAGS C compiler flags
1090 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1091 nonstandard directory <lib dir>
1092 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1093 headers in a nonstandard directory <include dir>
1095 CXX C++ compiler command
1096 CXXFLAGS C++ compiler flags
1097 CXXCPP C++ preprocessor
1099 Use these variables to override the choices made by `configure' or to
help
1100 it to
find libraries and programs with nonstandard names
/locations.
1102 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1106 if test "$ac_init_help" = "recursive"; then
1107 # If there are subdirs, report their specific --help.
1109 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1110 test -d $ac_dir || continue
1113 if test "$ac_dir" != .
; then
1114 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1115 # A "../" for each directory in $ac_dir_suffix.
1116 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1118 ac_dir_suffix
= ac_top_builddir
=
1122 .
) # No --srcdir option. We are building in place.
1124 if test -z "$ac_top_builddir"; then
1127 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1129 [\\/]* | ?
:[\\/]* ) # Absolute path.
1130 ac_srcdir
=$srcdir$ac_dir_suffix;
1131 ac_top_srcdir
=$srcdir ;;
1133 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1134 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1137 # Do not use `cd foo && pwd` to compute absolute paths, because
1138 # the directories may not exist.
1140 .
) ac_abs_builddir
="$ac_dir";;
1143 .
) ac_abs_builddir
=`pwd`;;
1144 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1145 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1148 case $ac_abs_builddir in
1149 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1151 case ${ac_top_builddir}.
in
1152 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1153 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1157 case $ac_abs_builddir in
1158 .
) ac_abs_srcdir
=$ac_srcdir;;
1161 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1162 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1163 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1166 case $ac_abs_builddir in
1167 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1169 case $ac_top_srcdir in
1170 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1171 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1177 # Check for guested configure; otherwise get Cygnus style configure.
1178 if test -f $ac_srcdir/configure.gnu
; then
1180 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1181 elif test -f $ac_srcdir/configure
; then
1183 $SHELL $ac_srcdir/configure
--help=recursive
1184 elif test -f $ac_srcdir/configure.ac
||
1185 test -f $ac_srcdir/configure.
in; then
1187 $ac_configure --help
1189 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1195 test -n "$ac_init_help" && exit 0
1196 if $ac_init_version; then
1198 wxWidgets configure
2.5.5
1199 generated by GNU Autoconf
2.59
1201 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1202 This configure
script is free software
; the Free Software Foundation
1203 gives unlimited permission to copy
, distribute and modify it.
1209 This file contains any messages produced by compilers while
1210 running configure, to aid debugging if configure makes a mistake.
1212 It was created by wxWidgets $as_me 2.5.5, which was
1213 generated by GNU Autoconf 2.59. Invocation command line was
1224 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1225 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1226 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1227 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1228 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1230 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1231 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1233 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1234 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1235 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1236 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1237 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1238 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1239 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1247 test -z "$as_dir" && as_dir
=.
1248 echo "PATH: $as_dir"
1263 # Keep a trace of the command line.
1264 # Strip out --no-create and --no-recursion so they do not pile up.
1265 # Strip out --silent because we don't want to record it for future runs.
1266 # Also quote any args containing shell meta-characters.
1267 # Make two passes to allow for proper duplicate-argument suppression.
1272 ac_must_keep_next
=false
1278 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1279 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280 | -silent | --silent | --silen | --sile | --sil)
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1286 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1288 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1289 if test $ac_must_keep_next = true
; then
1290 ac_must_keep_next
=false
# Got value, back to normal.
1293 *=* | --config-cache | -C | -disable-* | --disable-* \
1294 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1295 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1296 | -with-* | --with-* | -without-* | --without-* | --x)
1297 case "$ac_configure_args0 " in
1298 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1301 -* ) ac_must_keep_next
=true
;;
1304 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1305 # Get rid of the leading space.
1311 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1312 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1314 # When interrupted or exit'd, cleanup temporary files, and complete
1315 # config.log. We remove comments because anyway the quotes in there
1316 # would cause problems or look ugly.
1317 # WARNING: Be sure not to use single quotes in there, as some shells,
1318 # such as our DU 5.0 friend, will then `close' the trap.
1319 trap 'exit_status=$?
1320 # Save into config.log some information that might help in debugging.
1325 ## ---------------- ##
1326 ## Cache variables. ##
1327 ## ---------------- ##
1330 # The following way of writing the cache mishandles newlines in values,
1333 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1336 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1337 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1341 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1348 ## ----------------- ##
1349 ## Output variables. ##
1350 ## ----------------- ##
1353 for ac_var in $ac_subst_vars
1355 eval ac_val=$`echo $ac_var`
1356 echo "$ac_var='"'"'$ac_val'"'"'"
1360 if test -n "$ac_subst_files"; then
1367 for ac_var in $ac_subst_files
1369 eval ac_val=$`echo $ac_var`
1370 echo "$ac_var='"'"'$ac_val'"'"'"
1375 if test -s confdefs.h; then
1382 sed "/^$/d" confdefs.h | sort
1385 test "$ac_signal" != 0 &&
1386 echo "$as_me: caught signal $ac_signal"
1387 echo "$as_me: exit $exit_status"
1389 rm -f core *.core &&
1390 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1393 for ac_signal
in 1 2 13 15; do
1394 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1398 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1399 rm -rf conftest
* confdefs.h
1400 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1403 # Predefined preprocessor variables.
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_NAME "$PACKAGE_NAME"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1415 cat >>confdefs.h
<<_ACEOF
1416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1420 cat >>confdefs.h
<<_ACEOF
1421 #define PACKAGE_STRING "$PACKAGE_STRING"
1425 cat >>confdefs.h
<<_ACEOF
1426 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1430 # Let the site file select an alternate cache file if it wants to.
1431 # Prefer explicitly selected file to automatically selected ones.
1432 if test -z "$CONFIG_SITE"; then
1433 if test "x$prefix" != xNONE
; then
1434 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1436 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1439 for ac_site_file
in $CONFIG_SITE; do
1440 if test -r "$ac_site_file"; then
1441 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1442 echo "$as_me: loading site script $ac_site_file" >&6;}
1443 sed 's/^/| /' "$ac_site_file" >&5
1448 if test -r "$cache_file"; then
1449 # Some versions of bash will fail to source /dev/null (special
1450 # files actually), so we avoid doing that.
1451 if test -f "$cache_file"; then
1452 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1453 echo "$as_me: loading cache $cache_file" >&6;}
1455 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1456 *) . .
/$cache_file;;
1460 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1461 echo "$as_me: creating cache $cache_file" >&6;}
1465 # Check that the precious variables saved in the cache have kept the same
1467 ac_cache_corrupted
=false
1468 for ac_var
in `(set) 2>&1 |
1469 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1470 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1471 eval ac_new_set
=\
$ac_env_${ac_var}_set
1472 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1473 eval ac_new_val
="\$ac_env_${ac_var}_value"
1474 case $ac_old_set,$ac_new_set in
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1480 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1481 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1482 ac_cache_corrupted
=: ;;
1485 if test "x$ac_old_val" != "x$ac_new_val"; then
1486 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1489 echo "$as_me: former value: $ac_old_val" >&2;}
1490 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1491 echo "$as_me: current value: $ac_new_val" >&2;}
1492 ac_cache_corrupted
=:
1495 # Pass precious variables to config.status.
1496 if test "$ac_new_set" = set; then
1498 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1499 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1500 *) ac_arg
=$ac_var=$ac_new_val ;;
1502 case " $ac_configure_args " in
1503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1504 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1508 if $ac_cache_corrupted; then
1509 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1510 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1511 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1512 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1513 { (exit 1); exit 1; }; }
1517 ac_cpp
='$CPP $CPPFLAGS'
1518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1552 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1553 if test -f $ac_dir/install-sh; then
1555 ac_install_sh
="$ac_aux_dir/install-sh -c"
1557 elif test -f $ac_dir/install.sh
; then
1559 ac_install_sh
="$ac_aux_dir/install.sh -c"
1561 elif test -f $ac_dir/shtool
; then
1563 ac_install_sh
="$ac_aux_dir/shtool install -c"
1567 if test -z "$ac_aux_dir"; then
1568 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1569 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1570 { (exit 1); exit 1; }; }
1572 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1573 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1574 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1576 # Make sure we can run config.sub.
1577 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1578 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1579 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1580 { (exit 1); exit 1; }; }
1582 echo "$as_me:$LINENO: checking build system type" >&5
1583 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1584 if test "${ac_cv_build+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 ac_cv_build_alias
=$build_alias
1588 test -z "$ac_cv_build_alias" &&
1589 ac_cv_build_alias
=`$ac_config_guess`
1590 test -z "$ac_cv_build_alias" &&
1591 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1592 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1593 { (exit 1); exit 1; }; }
1594 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1595 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1596 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1597 { (exit 1); exit 1; }; }
1600 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1601 echo "${ECHO_T}$ac_cv_build" >&6
1603 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1604 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1605 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1608 echo "$as_me:$LINENO: checking host system type" >&5
1609 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1610 if test "${ac_cv_host+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 ac_cv_host_alias
=$host_alias
1614 test -z "$ac_cv_host_alias" &&
1615 ac_cv_host_alias
=$ac_cv_build_alias
1616 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1617 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1618 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1619 { (exit 1); exit 1; }; }
1622 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1623 echo "${ECHO_T}$ac_cv_host" >&6
1625 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1626 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1627 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1630 echo "$as_me:$LINENO: checking target system type" >&5
1631 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1632 if test "${ac_cv_target+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 ac_cv_target_alias
=$target_alias
1636 test "x$ac_cv_target_alias" = "x" &&
1637 ac_cv_target_alias
=$ac_cv_host_alias
1638 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1639 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1640 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1641 { (exit 1); exit 1; }; }
1644 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1645 echo "${ECHO_T}$ac_cv_target" >&6
1646 target
=$ac_cv_target
1647 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1648 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1649 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1652 # The aliases save the names the user supplied, while $host etc.
1653 # will get canonicalized.
1654 test -n "$target_alias" &&
1655 test "$program_prefix$program_suffix$program_transform_name" = \
1657 program_prefix
=${target_alias}-
1661 wx_major_version_number
=2
1662 wx_minor_version_number
=5
1664 wx_subrelease_number
=0
1666 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1667 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1668 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1670 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1692 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1700 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702 DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1713 DEFAULT_DEFAULT_wxUSE_GTK
=0
1714 DEFAULT_DEFAULT_wxUSE_MAC
=0
1715 DEFAULT_DEFAULT_wxUSE_MGL
=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1718 DEFAULT_DEFAULT_wxUSE_MSW
=0
1719 DEFAULT_DEFAULT_wxUSE_PM
=0
1720 DEFAULT_DEFAULT_wxUSE_X11
=0
1725 SAMPLES_RPATH_POSTLINK
=
1730 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1731 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1733 cat >>confdefs.h
<<\_ACEOF
1740 cat >>confdefs.h
<<\_ACEOF
1745 if test "x$TMP" = "xalpha"; then
1747 cat >>confdefs.h
<<\_ACEOF
1752 DEFAULT_DEFAULT_wxUSE_GTK
=1
1754 *-*-gnu* | *-*-k*bsd
*-gnu )
1757 if test "x$TMP" = "xalpha"; then
1759 cat >>confdefs.h
<<\_ACEOF
1764 DEFAULT_DEFAULT_wxUSE_GTK
=1
1766 *-*-irix5* | *-*-irix6* )
1769 cat >>confdefs.h
<<\_ACEOF
1773 cat >>confdefs.h
<<\_ACEOF
1777 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1783 cat >>confdefs.h
<<\_ACEOF
1787 cat >>confdefs.h
<<\_ACEOF
1788 #define __SOLARIS__ 1
1791 cat >>confdefs.h
<<\_ACEOF
1795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1796 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1810 cat >>confdefs.h
<<\_ACEOF
1814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1819 cat >>confdefs.h
<<\_ACEOF
1820 #define __FREEBSD__ 1
1823 cat >>confdefs.h
<<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_GTK
=1
1832 cat >>confdefs.h
<<\_ACEOF
1833 #define __OPENBSD__ 1
1836 cat >>confdefs.h
<<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_GTK
=1
1845 cat >>confdefs.h
<<\_ACEOF
1846 #define __NETBSD__ 1
1849 cat >>confdefs.h
<<\_ACEOF
1853 DEFAULT_DEFAULT_wxUSE_GTK
=1
1858 cat >>confdefs.h
<<\_ACEOF
1862 cat >>confdefs.h
<<\_ACEOF
1866 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1867 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1872 cat >>confdefs.h
<<\_ACEOF
1876 cat >>confdefs.h
<<\_ACEOF
1880 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1885 cat >>confdefs.h
<<\_ACEOF
1889 cat >>confdefs.h
<<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1900 cat >>confdefs.h
<<\_ACEOF
1904 cat >>confdefs.h
<<\_ACEOF
1908 cat >>confdefs.h
<<\_ACEOF
1912 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1919 cat >>confdefs.h
<<\_ACEOF
1920 #define __UNIXWARE__ 1
1925 *-*-cygwin* | *-*-mingw32* )
1929 DEFAULT_DEFAULT_wxUSE_MSW
=1
1935 cat >>confdefs.h
<<\_ACEOF
1940 DEFAULT_DEFAULT_wxUSE_MGL
=1
1941 LIBS
="$LIBS -lstdc++"
1944 *-pc-os2_emx | *-pc-os2-emx )
1945 cat >>confdefs.h
<<\_ACEOF
1950 cat >>confdefs.h
<<\_ACEOF
1955 DEFAULT_DEFAULT_wxUSE_PM
=1
1957 LDFLAGS
="$LDFLAGS -Zcrtdll"
1958 ac_executable_extensions
=".exe"
1959 export ac_executable_extensions
1963 for ac_dir
in $PATH; do
1965 if test -z "$ac_TEMP_PATH"; then
1966 ac_TEMP_PATH
="$ac_dir"
1968 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1971 export PATH
="$ac_TEMP_PATH"
1979 cat >>confdefs.h
<<\_ACEOF
1983 cat >>confdefs.h
<<\_ACEOF
1984 #define __DARWIN__ 1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define TARGET_CARBON 1
1991 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 powerpc
-apple-macos* )
1995 ac_cv_c_bigendian
=yes
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2002 cat >>confdefs.h
<<\_ACEOF
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2017 wx_arg_cache_file
="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL
=no
2027 DEFAULT_wxUSE_STL
=no
2029 DEFAULT_wxUSE_NANOX
=no
2031 DEFAULT_wxUSE_THREADS
=yes
2033 DEFAULT_wxUSE_SHARED
=yes
2034 DEFAULT_wxUSE_OPTIMISE
=no
2035 DEFAULT_wxUSE_PROFILE
=no
2036 DEFAULT_wxUSE_NO_DEPS
=no
2037 DEFAULT_wxUSE_NO_RTTI
=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2039 DEFAULT_wxUSE_RPATH
=yes
2040 DEFAULT_wxUSE_PERMISSIVE
=no
2041 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2042 DEFAULT_wxUSE_DEBUG_INFO
=yes
2043 DEFAULT_wxUSE_DEBUG_GDB
=yes
2044 DEFAULT_wxUSE_MEM_TRACING
=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2046 DEFAULT_wxUSE_DMALLOC
=no
2047 DEFAULT_wxUSE_APPLE_IEEE
=no
2049 DEFAULT_wxUSE_EXCEPTIONS
=no
2050 DEFAULT_wxUSE_LOG
=yes
2051 DEFAULT_wxUSE_LOGWINDOW
=no
2052 DEFAULT_wxUSE_LOGGUI
=no
2053 DEFAULT_wxUSE_LOGDIALOG
=no
2055 DEFAULT_wxUSE_GUI
=yes
2056 DEFAULT_wxUSE_CONTROLS
=no
2058 DEFAULT_wxUSE_REGEX
=no
2059 DEFAULT_wxUSE_XML
=no
2060 DEFAULT_wxUSE_EXPAT
=no
2061 DEFAULT_wxUSE_ZLIB
=no
2062 DEFAULT_wxUSE_LIBPNG
=no
2063 DEFAULT_wxUSE_LIBJPEG
=no
2064 DEFAULT_wxUSE_LIBTIFF
=no
2065 DEFAULT_wxUSE_LIBXPM
=no
2066 DEFAULT_wxUSE_LIBMSPACK
=no
2067 DEFAULT_wxUSE_LIBSDL
=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2069 DEFAULT_wxUSE_ODBC
=no
2070 DEFAULT_wxUSE_OPENGL
=no
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2073 DEFAULT_wxUSE_STACKWALKER
=no
2074 DEFAULT_wxUSE_DEBUGREPORT
=no
2075 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2076 DEFAULT_wxUSE_STD_IOSTREAM
=no
2077 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2078 DEFAULT_wxUSE_DATETIME
=no
2079 DEFAULT_wxUSE_TIMER
=no
2080 DEFAULT_wxUSE_STOPWATCH
=no
2081 DEFAULT_wxUSE_FILE
=no
2082 DEFAULT_wxUSE_FFILE
=no
2083 DEFAULT_wxUSE_STDPATHS
=no
2084 DEFAULT_wxUSE_TEXTBUFFER
=no
2085 DEFAULT_wxUSE_TEXTFILE
=no
2086 DEFAULT_wxUSE_SOUND
=no
2087 DEFAULT_wxUSE_MEDIACTRL
=no
2088 DEFAULT_wxUSE_DIRECTSHOW
=no
2089 DEFAULT_wxUSE_INTL
=no
2090 DEFAULT_wxUSE_CONFIG
=no
2091 DEFAULT_wxUSE_FONTMAP
=no
2092 DEFAULT_wxUSE_STREAMS
=no
2093 DEFAULT_wxUSE_SOCKETS
=no
2094 DEFAULT_wxUSE_OLE
=no
2095 DEFAULT_wxUSE_DATAOBJ
=no
2096 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2097 DEFAULT_wxUSE_JOYSTICK
=no
2098 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2099 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2100 DEFAULT_wxUSE_LONGLONG
=no
2101 DEFAULT_wxUSE_GEOMETRY
=no
2103 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2104 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2105 DEFAULT_wxUSE_POSTSCRIPT
=no
2107 DEFAULT_wxUSE_CLIPBOARD
=no
2108 DEFAULT_wxUSE_TOOLTIPS
=no
2109 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2110 DEFAULT_wxUSE_DRAGIMAGE
=no
2111 DEFAULT_wxUSE_SPLINES
=no
2113 DEFAULT_wxUSE_MDI
=no
2114 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2115 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2118 DEFAULT_wxUSE_RESOURCES
=no
2119 DEFAULT_wxUSE_CONSTRAINTS
=no
2120 DEFAULT_wxUSE_IPC
=no
2121 DEFAULT_wxUSE_HELP
=no
2122 DEFAULT_wxUSE_MS_HTML_HELP
=no
2123 DEFAULT_wxUSE_WXHTML_HELP
=no
2124 DEFAULT_wxUSE_TREELAYOUT
=no
2125 DEFAULT_wxUSE_METAFILE
=no
2126 DEFAULT_wxUSE_MIMETYPE
=no
2127 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2128 DEFAULT_wxUSE_PROTOCOL
=no
2129 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2130 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2131 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2132 DEFAULT_wxUSE_URL
=no
2134 DEFAULT_wxUSE_COMMONDLGS
=no
2135 DEFAULT_wxUSE_CHOICEDLG
=no
2136 DEFAULT_wxUSE_COLOURDLG
=no
2137 DEFAULT_wxUSE_DIRDLG
=no
2138 DEFAULT_wxUSE_FILEDLG
=no
2139 DEFAULT_wxUSE_FINDREPLDLG
=no
2140 DEFAULT_wxUSE_FONTDLG
=no
2141 DEFAULT_wxUSE_MSGDLG
=no
2142 DEFAULT_wxUSE_NUMBERDLG
=no
2143 DEFAULT_wxUSE_TEXTDLG
=no
2144 DEFAULT_wxUSE_SPLASH
=no
2145 DEFAULT_wxUSE_STARTUP_TIPS
=no
2146 DEFAULT_wxUSE_PROGRESSDLG
=no
2147 DEFAULT_wxUSE_WIZARDDLG
=no
2149 DEFAULT_wxUSE_MENUS
=no
2150 DEFAULT_wxUSE_MINIFRAME
=no
2151 DEFAULT_wxUSE_HTML
=no
2152 DEFAULT_wxUSE_XRC
=no
2153 DEFAULT_wxUSE_WEBKIT
=no
2154 DEFAULT_wxUSE_FILESYSTEM
=no
2155 DEFAULT_wxUSE_FS_INET
=no
2156 DEFAULT_wxUSE_FS_ZIP
=no
2157 DEFAULT_wxUSE_BUSYINFO
=no
2158 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2159 DEFAULT_wxUSE_ZIPSTREAM
=no
2160 DEFAULT_wxUSE_VALIDATORS
=no
2162 DEFAULT_wxUSE_ACCEL
=no
2163 DEFAULT_wxUSE_BUTTON
=no
2164 DEFAULT_wxUSE_BMPBUTTON
=no
2165 DEFAULT_wxUSE_CALCTRL
=no
2166 DEFAULT_wxUSE_CARET
=no
2167 DEFAULT_wxUSE_CHECKBOX
=no
2168 DEFAULT_wxUSE_CHECKLST
=no
2169 DEFAULT_wxUSE_CHOICE
=no
2170 DEFAULT_wxUSE_CHOICEBOOK
=no
2171 DEFAULT_wxUSE_COMBOBOX
=no
2172 DEFAULT_wxUSE_DATEPICKCTRL
=no
2173 DEFAULT_wxUSE_DISPLAY
=no
2174 DEFAULT_wxUSE_GAUGE
=no
2175 DEFAULT_wxUSE_GRID
=no
2176 DEFAULT_wxUSE_IMAGLIST
=no
2177 DEFAULT_wxUSE_LISTBOOK
=no
2178 DEFAULT_wxUSE_LISTBOX
=no
2179 DEFAULT_wxUSE_LISTCTRL
=no
2180 DEFAULT_wxUSE_NOTEBOOK
=no
2181 DEFAULT_wxUSE_RADIOBOX
=no
2182 DEFAULT_wxUSE_RADIOBTN
=no
2183 DEFAULT_wxUSE_SASH
=no
2184 DEFAULT_wxUSE_SCROLLBAR
=no
2185 DEFAULT_wxUSE_SLIDER
=no
2186 DEFAULT_wxUSE_SPINBTN
=no
2187 DEFAULT_wxUSE_SPINCTRL
=no
2188 DEFAULT_wxUSE_SPLITTER
=no
2189 DEFAULT_wxUSE_STATBMP
=no
2190 DEFAULT_wxUSE_STATBOX
=no
2191 DEFAULT_wxUSE_STATLINE
=no
2192 DEFAULT_wxUSE_STATTEXT
=no
2193 DEFAULT_wxUSE_STATUSBAR
=yes
2194 DEFAULT_wxUSE_TABDIALOG
=no
2195 DEFAULT_wxUSE_TEXTCTRL
=no
2196 DEFAULT_wxUSE_TOGGLEBTN
=no
2197 DEFAULT_wxUSE_TOOLBAR
=no
2198 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2199 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2200 DEFAULT_wxUSE_TREECTRL
=no
2201 DEFAULT_wxUSE_POPUPWIN
=no
2202 DEFAULT_wxUSE_TIPWINDOW
=no
2204 DEFAULT_wxUSE_UNICODE
=no
2205 DEFAULT_wxUSE_UNICODE_MSLU
=no
2206 DEFAULT_wxUSE_WCSRTOMBS
=no
2208 DEFAULT_wxUSE_PALETTE
=no
2209 DEFAULT_wxUSE_IMAGE
=no
2210 DEFAULT_wxUSE_GIF
=no
2211 DEFAULT_wxUSE_PCX
=no
2212 DEFAULT_wxUSE_PNM
=no
2213 DEFAULT_wxUSE_IFF
=no
2214 DEFAULT_wxUSE_XPM
=no
2215 DEFAULT_wxUSE_ICO_CUR
=no
2216 DEFAULT_wxUSE_ACCESSIBILITY
=no
2218 DEFAULT_wxUSE_MONOLITHIC
=no
2219 DEFAULT_wxUSE_PLUGINS
=no
2220 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2222 DEFAULT_wxUSE_UNIVERSAL
=no
2223 DEFAULT_wxUSE_STL
=no
2225 DEFAULT_wxUSE_NANOX
=no
2227 DEFAULT_wxUSE_THREADS
=yes
2229 DEFAULT_wxUSE_SHARED
=yes
2230 DEFAULT_wxUSE_OPTIMISE
=yes
2231 DEFAULT_wxUSE_PROFILE
=no
2232 DEFAULT_wxUSE_NO_DEPS
=no
2233 DEFAULT_wxUSE_NO_RTTI
=no
2234 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2235 DEFAULT_wxUSE_RPATH
=yes
2236 DEFAULT_wxUSE_PERMISSIVE
=no
2237 DEFAULT_wxUSE_DEBUG_FLAG
=no
2238 DEFAULT_wxUSE_DEBUG_INFO
=no
2239 DEFAULT_wxUSE_DEBUG_GDB
=no
2240 DEFAULT_wxUSE_MEM_TRACING
=no
2241 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2242 DEFAULT_wxUSE_DMALLOC
=no
2243 DEFAULT_wxUSE_APPLE_IEEE
=yes
2245 DEFAULT_wxUSE_EXCEPTIONS
=yes
2246 DEFAULT_wxUSE_LOG
=yes
2247 DEFAULT_wxUSE_LOGWINDOW
=yes
2248 DEFAULT_wxUSE_LOGGUI
=yes
2249 DEFAULT_wxUSE_LOGDIALOG
=yes
2251 DEFAULT_wxUSE_GUI
=yes
2253 DEFAULT_wxUSE_REGEX
=yes
2254 DEFAULT_wxUSE_XML
=yes
2255 DEFAULT_wxUSE_EXPAT
=yes
2256 DEFAULT_wxUSE_ZLIB
=yes
2257 DEFAULT_wxUSE_LIBPNG
=yes
2258 DEFAULT_wxUSE_LIBJPEG
=yes
2259 DEFAULT_wxUSE_LIBTIFF
=yes
2260 DEFAULT_wxUSE_LIBXPM
=yes
2261 DEFAULT_wxUSE_LIBMSPACK
=yes
2262 DEFAULT_wxUSE_LIBSDL
=no
2263 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2264 DEFAULT_wxUSE_ODBC
=no
2265 DEFAULT_wxUSE_OPENGL
=no
2267 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2268 DEFAULT_wxUSE_STACKWALKER
=yes
2269 DEFAULT_wxUSE_DEBUGREPORT
=yes
2270 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2271 DEFAULT_wxUSE_STD_IOSTREAM
=no
2272 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2273 DEFAULT_wxUSE_DATETIME
=yes
2274 DEFAULT_wxUSE_TIMER
=yes
2275 DEFAULT_wxUSE_STOPWATCH
=yes
2276 DEFAULT_wxUSE_FILE
=yes
2277 DEFAULT_wxUSE_FFILE
=yes
2278 DEFAULT_wxUSE_STDPATHS
=yes
2279 DEFAULT_wxUSE_TEXTBUFFER
=yes
2280 DEFAULT_wxUSE_TEXTFILE
=yes
2281 DEFAULT_wxUSE_SOUND
=yes
2282 DEFAULT_wxUSE_MEDIACTRL
=no
2283 DEFAULT_wxUSE_DIRECTSHOW
=no
2284 DEFAULT_wxUSE_INTL
=yes
2285 DEFAULT_wxUSE_CONFIG
=yes
2286 DEFAULT_wxUSE_FONTMAP
=yes
2287 DEFAULT_wxUSE_STREAMS
=yes
2288 DEFAULT_wxUSE_SOCKETS
=yes
2289 DEFAULT_wxUSE_OLE
=yes
2290 DEFAULT_wxUSE_DATAOBJ
=yes
2291 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2292 DEFAULT_wxUSE_JOYSTICK
=yes
2293 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2294 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2295 DEFAULT_wxUSE_LONGLONG
=yes
2296 DEFAULT_wxUSE_GEOMETRY
=yes
2298 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2299 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2300 DEFAULT_wxUSE_POSTSCRIPT
=yes
2302 DEFAULT_wxUSE_CLIPBOARD
=yes
2303 DEFAULT_wxUSE_TOOLTIPS
=yes
2304 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2305 DEFAULT_wxUSE_DRAGIMAGE
=yes
2306 DEFAULT_wxUSE_SPLINES
=yes
2308 DEFAULT_wxUSE_MDI
=yes
2309 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2310 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2311 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2313 DEFAULT_wxUSE_RESOURCES
=no
2314 DEFAULT_wxUSE_CONSTRAINTS
=yes
2315 DEFAULT_wxUSE_IPC
=yes
2316 DEFAULT_wxUSE_HELP
=yes
2317 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2318 DEFAULT_wxUSE_WXHTML_HELP
=yes
2319 DEFAULT_wxUSE_TREELAYOUT
=yes
2320 DEFAULT_wxUSE_METAFILE
=yes
2321 DEFAULT_wxUSE_MIMETYPE
=yes
2322 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2323 DEFAULT_wxUSE_PROTOCOL
=yes
2324 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2325 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2326 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2327 DEFAULT_wxUSE_URL
=yes
2329 DEFAULT_wxUSE_COMMONDLGS
=yes
2330 DEFAULT_wxUSE_CHOICEDLG
=yes
2331 DEFAULT_wxUSE_COLOURDLG
=yes
2332 DEFAULT_wxUSE_DIRDLG
=yes
2333 DEFAULT_wxUSE_FILEDLG
=yes
2334 DEFAULT_wxUSE_FINDREPLDLG
=yes
2335 DEFAULT_wxUSE_FONTDLG
=yes
2336 DEFAULT_wxUSE_MSGDLG
=yes
2337 DEFAULT_wxUSE_NUMBERDLG
=yes
2338 DEFAULT_wxUSE_TEXTDLG
=yes
2339 DEFAULT_wxUSE_SPLASH
=yes
2340 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2341 DEFAULT_wxUSE_PROGRESSDLG
=yes
2342 DEFAULT_wxUSE_WIZARDDLG
=yes
2344 DEFAULT_wxUSE_MENUS
=yes
2345 DEFAULT_wxUSE_MINIFRAME
=yes
2346 DEFAULT_wxUSE_HTML
=yes
2347 DEFAULT_wxUSE_XRC
=yes
2348 DEFAULT_wxUSE_WEBKIT
=yes
2349 DEFAULT_wxUSE_FILESYSTEM
=yes
2350 DEFAULT_wxUSE_FS_INET
=yes
2351 DEFAULT_wxUSE_FS_ZIP
=yes
2352 DEFAULT_wxUSE_BUSYINFO
=yes
2353 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2354 DEFAULT_wxUSE_ZIPSTREAM
=yes
2355 DEFAULT_wxUSE_VALIDATORS
=yes
2357 DEFAULT_wxUSE_ACCEL
=yes
2358 DEFAULT_wxUSE_BUTTON
=yes
2359 DEFAULT_wxUSE_BMPBUTTON
=yes
2360 DEFAULT_wxUSE_CALCTRL
=yes
2361 DEFAULT_wxUSE_CARET
=yes
2362 DEFAULT_wxUSE_CHECKBOX
=yes
2363 DEFAULT_wxUSE_CHECKLST
=yes
2364 DEFAULT_wxUSE_CHOICE
=yes
2365 DEFAULT_wxUSE_CHOICEBOOK
=yes
2366 DEFAULT_wxUSE_COMBOBOX
=yes
2367 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2368 DEFAULT_wxUSE_DISPLAY
=yes
2369 DEFAULT_wxUSE_GAUGE
=yes
2370 DEFAULT_wxUSE_GRID
=yes
2371 DEFAULT_wxUSE_IMAGLIST
=yes
2372 DEFAULT_wxUSE_LISTBOOK
=yes
2373 DEFAULT_wxUSE_LISTBOX
=yes
2374 DEFAULT_wxUSE_LISTCTRL
=yes
2375 DEFAULT_wxUSE_NOTEBOOK
=yes
2376 DEFAULT_wxUSE_RADIOBOX
=yes
2377 DEFAULT_wxUSE_RADIOBTN
=yes
2378 DEFAULT_wxUSE_SASH
=yes
2379 DEFAULT_wxUSE_SCROLLBAR
=yes
2380 DEFAULT_wxUSE_SLIDER
=yes
2381 DEFAULT_wxUSE_SPINBTN
=yes
2382 DEFAULT_wxUSE_SPINCTRL
=yes
2383 DEFAULT_wxUSE_SPLITTER
=yes
2384 DEFAULT_wxUSE_STATBMP
=yes
2385 DEFAULT_wxUSE_STATBOX
=yes
2386 DEFAULT_wxUSE_STATLINE
=yes
2387 DEFAULT_wxUSE_STATTEXT
=yes
2388 DEFAULT_wxUSE_STATUSBAR
=yes
2389 DEFAULT_wxUSE_TABDIALOG
=no
2390 DEFAULT_wxUSE_TEXTCTRL
=yes
2391 DEFAULT_wxUSE_TOGGLEBTN
=yes
2392 DEFAULT_wxUSE_TOOLBAR
=yes
2393 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2394 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2395 DEFAULT_wxUSE_TREECTRL
=yes
2396 DEFAULT_wxUSE_POPUPWIN
=yes
2397 DEFAULT_wxUSE_TIPWINDOW
=yes
2399 DEFAULT_wxUSE_UNICODE
=no
2400 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2401 DEFAULT_wxUSE_WCSRTOMBS
=no
2403 DEFAULT_wxUSE_PALETTE
=yes
2404 DEFAULT_wxUSE_IMAGE
=yes
2405 DEFAULT_wxUSE_GIF
=yes
2406 DEFAULT_wxUSE_PCX
=yes
2407 DEFAULT_wxUSE_IFF
=no
2408 DEFAULT_wxUSE_PNM
=yes
2409 DEFAULT_wxUSE_XPM
=yes
2410 DEFAULT_wxUSE_ICO_CUR
=yes
2411 DEFAULT_wxUSE_ACCESSIBILITY
=no
2413 DEFAULT_wxUSE_MONOLITHIC
=no
2414 DEFAULT_wxUSE_PLUGINS
=no
2415 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2417 DEFAULT_wxUSE_GTK2
=yes
2422 for toolkit
in `echo $ALL_TOOLKITS`; do
2423 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2424 if test "x$LINE" != "x" ; then
2425 has_toolkit_in_cache
=1
2426 eval "DEFAULT_$LINE"
2427 eval "CACHE_$toolkit=1"
2434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2435 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2437 # Check whether --enable-gui or --disable-gui was given.
2438 if test "${enable_gui+set}" = set; then
2439 enableval
="$enable_gui"
2441 if test "$enableval" = yes; then
2442 ac_cv_use_gui
='wxUSE_GUI=yes'
2444 ac_cv_use_gui
='wxUSE_GUI=no'
2449 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x
; then
2451 eval "DEFAULT_$LINE"
2456 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2460 eval "$ac_cv_use_gui"
2461 if test "$no_cache" != 1; then
2462 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2465 if test "$wxUSE_GUI" = yes; then
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2469 echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6
2475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2476 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2478 # Check whether --enable-monolithic or --disable-monolithic was given.
2479 if test "${enable_monolithic+set}" = set; then
2480 enableval
="$enable_monolithic"
2482 if test "$enableval" = yes; then
2483 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2485 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2490 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2491 if test "x$LINE" != x
; then
2492 eval "DEFAULT_$LINE"
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2501 eval "$ac_cv_use_monolithic"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2506 if test "$wxUSE_MONOLITHIC" = yes; then
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2517 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2519 # Check whether --enable-plugins or --disable-plugins was given.
2520 if test "${enable_plugins+set}" = set; then
2521 enableval
="$enable_plugins"
2523 if test "$enableval" = yes; then
2524 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2526 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2531 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x
; then
2533 eval "DEFAULT_$LINE"
2538 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2542 eval "$ac_cv_use_plugins"
2543 if test "$no_cache" != 1; then
2544 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2547 if test "$wxUSE_PLUGINS" = yes; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2556 if test "$wxUSE_GUI" = "yes"; then
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2563 # Check whether --enable-universal or --disable-universal was given.
2564 if test "${enable_universal+set}" = set; then
2565 enableval
="$enable_universal"
2567 if test "$enableval" = yes; then
2568 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2570 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2575 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x
; then
2577 eval "DEFAULT_$LINE"
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2586 eval "$ac_cv_use_universal"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_UNIVERSAL" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2600 # Check whether --with-gtk or --without-gtk was given.
2601 if test "${with_gtk+set}" = set; then
2603 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2606 # Check whether --with-motif or --without-motif was given.
2607 if test "${with_motif+set}" = set; then
2608 withval
="$with_motif"
2609 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2612 # Check whether --with-mac or --without-mac was given.
2613 if test "${with_mac+set}" = set; then
2615 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-cocoa or --without-cocoa was given.
2619 if test "${with_cocoa+set}" = set; then
2620 withval
="$with_cocoa"
2621 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-wine or --without-wine was given.
2625 if test "${with_wine+set}" = set; then
2626 withval
="$with_wine"
2627 wxUSE_WINE
="$withval" CACHE_WINE
=1
2630 # Check whether --with-msw or --without-msw was given.
2631 if test "${with_msw+set}" = set; then
2633 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-pm or --without-pm was given.
2637 if test "${with_pm+set}" = set; then
2639 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2642 # Check whether --with-mgl or --without-mgl was given.
2643 if test "${with_mgl+set}" = set; then
2645 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-microwin or --without-microwin was given.
2649 if test "${with_microwin+set}" = set; then
2650 withval
="$with_microwin"
2651 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-x11 or --without-x11 was given.
2655 if test "${with_x11+set}" = set; then
2657 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2664 # Check whether --enable-nanox or --disable-nanox was given.
2665 if test "${enable_nanox+set}" = set; then
2666 enableval
="$enable_nanox"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2671 ac_cv_use_nanox
='wxUSE_NANOX=no'
2676 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2687 eval "$ac_cv_use_nanox"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2692 if test "$wxUSE_NANOX" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2704 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2706 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2707 if test "${enable_gtk2+set}" = set; then
2708 enableval
="$enable_gtk2"
2710 if test "$enableval" = yes; then
2711 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2713 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2718 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x
; then
2720 eval "DEFAULT_$LINE"
2725 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2729 eval "$ac_cv_use_gtk2"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2734 if test "$wxUSE_GTK2" = yes; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2745 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2747 # Check whether --enable-gpe or --disable-gpe was given.
2748 if test "${enable_gpe+set}" = set; then
2749 enableval
="$enable_gpe"
2751 if test "$enableval" = yes; then
2752 ac_cv_use_gpe
='wxUSE_GPE=yes'
2754 ac_cv_use_gpe
='wxUSE_GPE=no'
2759 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x
; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2770 eval "$ac_cv_use_gpe"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_GPE" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2785 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2786 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2789 # Check whether --with-libpng or --without-libpng was given.
2790 if test "${with_libpng+set}" = set; then
2791 withval
="$with_libpng"
2793 if test "$withval" = yes; then
2794 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2795 elif test "$withval" = no
; then
2796 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2797 elif test "$withval" = sys
; then
2798 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2799 elif test "$withval" = builtin; then
2800 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2802 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2803 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2804 { (exit 1); exit 1; }; }
2809 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2810 if test "x$LINE" != x
; then
2811 eval "DEFAULT_$LINE"
2816 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2820 eval "$ac_cv_use_libpng"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2825 if test "$wxUSE_LIBPNG" = yes; then
2826 echo "$as_me:$LINENO: result: yes" >&5
2827 echo "${ECHO_T}yes" >&6
2828 elif test "$wxUSE_LIBPNG" = no
; then
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2831 elif test "$wxUSE_LIBPNG" = sys
; then
2832 echo "$as_me:$LINENO: result: system version" >&5
2833 echo "${ECHO_T}system version" >&6
2834 elif test "$wxUSE_LIBPNG" = builtin; then
2835 echo "$as_me:$LINENO: result: builtin version" >&5
2836 echo "${ECHO_T}builtin version" >&6
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2844 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2845 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2848 # Check whether --with-libjpeg or --without-libjpeg was given.
2849 if test "${with_libjpeg+set}" = set; then
2850 withval
="$with_libjpeg"
2852 if test "$withval" = yes; then
2853 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2854 elif test "$withval" = no
; then
2855 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2856 elif test "$withval" = sys
; then
2857 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2868 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2879 eval "$ac_cv_use_libjpeg"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_LIBJPEG" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_LIBJPEG" = no
; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_LIBJPEG" = sys
; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_LIBJPEG" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2904 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2907 # Check whether --with-libtiff or --without-libtiff was given.
2908 if test "${with_libtiff+set}" = set; then
2909 withval
="$with_libtiff"
2911 if test "$withval" = yes; then
2912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2913 elif test "$withval" = no
; then
2914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2915 elif test "$withval" = sys
; then
2916 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2927 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x
; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2938 eval "$ac_cv_use_libtiff"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_LIBTIFF" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_LIBTIFF" = no
; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_LIBTIFF" = sys
; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_LIBTIFF" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2962 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2963 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2966 # Check whether --with-libxpm or --without-libxpm was given.
2967 if test "${with_libxpm+set}" = set; then
2968 withval
="$with_libxpm"
2970 if test "$withval" = yes; then
2971 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2972 elif test "$withval" = no
; then
2973 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2974 elif test "$withval" = sys
; then
2975 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2986 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2997 eval "$ac_cv_use_libxpm"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_LIBXPM" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_LIBXPM" = no
; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_LIBXPM" = sys
; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_LIBXPM" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3021 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3022 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3025 # Check whether --with-libmspack or --without-libmspack was given.
3026 if test "${with_libmspack+set}" = set; then
3027 withval
="$with_libmspack"
3029 if test "$withval" = yes; then
3030 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3032 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3037 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3048 eval "$ac_cv_use_libmspack"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_LIBMSPACK" = yes; then
3054 echo "$as_me:$LINENO: result: yes" >&5
3055 echo "${ECHO_T}yes" >&6
3057 echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6
3062 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3063 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3066 # Check whether --with-sdl or --without-sdl was given.
3067 if test "${with_sdl+set}" = set; then
3070 if test "$withval" = yes; then
3071 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3073 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3078 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x
; then
3080 eval "DEFAULT_$LINE"
3085 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3089 eval "$ac_cv_use_sdl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_LIBSDL" = yes; then
3095 echo "$as_me:$LINENO: result: yes" >&5
3096 echo "${ECHO_T}yes" >&6
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3103 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3104 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3107 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3108 if test "${with_gnomeprint+set}" = set; then
3109 withval
="$with_gnomeprint"
3111 if test "$withval" = yes; then
3112 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3114 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3119 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x
; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3130 eval "$ac_cv_use_gnomeprint"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3144 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3145 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3148 # Check whether --with-opengl or --without-opengl was given.
3149 if test "${with_opengl+set}" = set; then
3150 withval
="$with_opengl"
3152 if test "$withval" = yes; then
3153 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3155 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3160 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x
; then
3162 eval "DEFAULT_$LINE"
3167 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3171 eval "$ac_cv_use_opengl"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_OPENGL" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3188 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3189 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3192 # Check whether --with-dmalloc or --without-dmalloc was given.
3193 if test "${with_dmalloc+set}" = set; then
3194 withval
="$with_dmalloc"
3196 if test "$withval" = yes; then
3197 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3199 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3204 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3215 eval "$ac_cv_use_dmalloc"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3220 if test "$wxUSE_DMALLOC" = yes; then
3221 echo "$as_me:$LINENO: result: yes" >&5
3222 echo "${ECHO_T}yes" >&6
3224 echo "$as_me:$LINENO: result: no" >&5
3225 echo "${ECHO_T}no" >&6
3229 echo "$as_me:$LINENO: checking for --with-regex" >&5
3230 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3233 # Check whether --with-regex or --without-regex was given.
3234 if test "${with_regex+set}" = set; then
3235 withval
="$with_regex"
3237 if test "$withval" = yes; then
3238 ac_cv_use_regex
='wxUSE_REGEX=yes'
3239 elif test "$withval" = no
; then
3240 ac_cv_use_regex
='wxUSE_REGEX=no'
3241 elif test "$withval" = sys
; then
3242 ac_cv_use_regex
='wxUSE_REGEX=sys'
3243 elif test "$withval" = builtin; then
3244 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3246 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3247 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3248 { (exit 1); exit 1; }; }
3253 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x
; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3264 eval "$ac_cv_use_regex"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_REGEX" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 elif test "$wxUSE_REGEX" = no
; then
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 elif test "$wxUSE_REGEX" = sys
; then
3276 echo "$as_me:$LINENO: result: system version" >&5
3277 echo "${ECHO_T}system version" >&6
3278 elif test "$wxUSE_REGEX" = builtin; then
3279 echo "$as_me:$LINENO: result: builtin version" >&5
3280 echo "${ECHO_T}builtin version" >&6
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3288 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3289 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3292 # Check whether --with-zlib or --without-zlib was given.
3293 if test "${with_zlib+set}" = set; then
3294 withval
="$with_zlib"
3296 if test "$withval" = yes; then
3297 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3298 elif test "$withval" = no
; then
3299 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3300 elif test "$withval" = sys
; then
3301 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3302 elif test "$withval" = builtin; then
3303 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3305 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3306 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3307 { (exit 1); exit 1; }; }
3312 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3323 eval "$ac_cv_use_zlib"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3328 if test "$wxUSE_ZLIB" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 elif test "$wxUSE_ZLIB" = no
; then
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 elif test "$wxUSE_ZLIB" = sys
; then
3335 echo "$as_me:$LINENO: result: system version" >&5
3336 echo "${ECHO_T}system version" >&6
3337 elif test "$wxUSE_ZLIB" = builtin; then
3338 echo "$as_me:$LINENO: result: builtin version" >&5
3339 echo "${ECHO_T}builtin version" >&6
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3347 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3348 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3351 # Check whether --with-odbc or --without-odbc was given.
3352 if test "${with_odbc+set}" = set; then
3353 withval
="$with_odbc"
3355 if test "$withval" = yes; then
3356 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3357 elif test "$withval" = no
; then
3358 ac_cv_use_odbc
='wxUSE_ODBC=no'
3359 elif test "$withval" = sys
; then
3360 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3361 elif test "$withval" = builtin; then
3362 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3364 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3365 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3366 { (exit 1); exit 1; }; }
3371 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3382 eval "$ac_cv_use_odbc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_ODBC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 elif test "$wxUSE_ODBC" = no
; then
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 elif test "$wxUSE_ODBC" = sys
; then
3394 echo "$as_me:$LINENO: result: system version" >&5
3395 echo "${ECHO_T}system version" >&6
3396 elif test "$wxUSE_ODBC" = builtin; then
3397 echo "$as_me:$LINENO: result: builtin version" >&5
3398 echo "${ECHO_T}builtin version" >&6
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3406 echo "$as_me:$LINENO: checking for --with-expat" >&5
3407 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3410 # Check whether --with-expat or --without-expat was given.
3411 if test "${with_expat+set}" = set; then
3412 withval
="$with_expat"
3414 if test "$withval" = yes; then
3415 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3416 elif test "$withval" = no
; then
3417 ac_cv_use_expat
='wxUSE_EXPAT=no'
3418 elif test "$withval" = sys
; then
3419 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3420 elif test "$withval" = builtin; then
3421 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3423 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3424 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3425 { (exit 1); exit 1; }; }
3430 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3441 eval "$ac_cv_use_expat"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_EXPAT" = yes; then
3447 echo "$as_me:$LINENO: result: yes" >&5
3448 echo "${ECHO_T}yes" >&6
3449 elif test "$wxUSE_EXPAT" = no
; then
3450 echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 elif test "$wxUSE_EXPAT" = sys
; then
3453 echo "$as_me:$LINENO: result: system version" >&5
3454 echo "${ECHO_T}system version" >&6
3455 elif test "$wxUSE_EXPAT" = builtin; then
3456 echo "$as_me:$LINENO: result: builtin version" >&5
3457 echo "${ECHO_T}builtin version" >&6
3459 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3460 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3461 { (exit 1); exit 1; }; }
3468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3469 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3471 # Check whether --enable-shared or --disable-shared was given.
3472 if test "${enable_shared+set}" = set; then
3473 enableval
="$enable_shared"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_shared
='wxUSE_SHARED=yes'
3478 ac_cv_use_shared
='wxUSE_SHARED=no'
3483 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3494 eval "$ac_cv_use_shared"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_SHARED" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3510 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3512 # Check whether --enable-optimise or --disable-optimise was given.
3513 if test "${enable_optimise+set}" = set; then
3514 enableval
="$enable_optimise"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3519 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3524 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3535 eval "$ac_cv_use_optimise"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_OPTIMISE" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3553 # Check whether --enable-debug or --disable-debug was given.
3554 if test "${enable_debug+set}" = set; then
3555 enableval
="$enable_debug"
3557 if test "$enableval" = yes; then
3558 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3560 ac_cv_use_debug
='wxUSE_DEBUG=no'
3565 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x
; then
3567 eval "DEFAULT_$LINE"
3572 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3576 eval "$ac_cv_use_debug"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_DEBUG" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3592 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3594 # Check whether --enable-stl or --disable-stl was given.
3595 if test "${enable_stl+set}" = set; then
3596 enableval
="$enable_stl"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stl
='wxUSE_STL=yes'
3601 ac_cv_use_stl
='wxUSE_STL=no'
3606 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3617 eval "$ac_cv_use_stl"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_STL" = yes; then
3623 echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3630 if test "$USE_OS2" = "1"; then
3631 DEFAULT_wxUSE_OMF
=no
3634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3635 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3637 # Check whether --enable-omf or --disable-omf was given.
3638 if test "${enable_omf+set}" = set; then
3639 enableval
="$enable_omf"
3641 if test "$enableval" = yes; then
3642 ac_cv_use_omf
='wxUSE_OMF=yes'
3644 ac_cv_use_omf
='wxUSE_OMF=no'
3649 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x
; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3660 eval "$ac_cv_use_omf"
3661 if test "$no_cache" != 1; then
3662 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3665 if test "$wxUSE_OMF" = yes; then
3666 echo "$as_me:$LINENO: result: yes" >&5
3667 echo "${ECHO_T}yes" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3675 if test "$wxUSE_DEBUG" = "yes"; then
3676 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3677 DEFAULT_wxUSE_DEBUG_INFO
=yes
3679 elif test "$wxUSE_DEBUG" = "no"; then
3680 DEFAULT_wxUSE_DEBUG_FLAG
=no
3681 DEFAULT_wxUSE_DEBUG_INFO
=no
3687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3688 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3690 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3691 if test "${enable_debug_flag+set}" = set; then
3692 enableval
="$enable_debug_flag"
3694 if test "$enableval" = yes; then
3695 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3697 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3702 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x
; then
3704 eval "DEFAULT_$LINE"
3709 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3713 eval "$ac_cv_use_debug_flag"
3714 if test "$no_cache" != 1; then
3715 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3718 if test "$wxUSE_DEBUG_FLAG" = yes; then
3719 echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3729 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3731 # Check whether --enable-debug_info or --disable-debug_info was given.
3732 if test "${enable_debug_info+set}" = set; then
3733 enableval
="$enable_debug_info"
3735 if test "$enableval" = yes; then
3736 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3738 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3743 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x
; then
3745 eval "DEFAULT_$LINE"
3750 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3754 eval "$ac_cv_use_debug_info"
3755 if test "$no_cache" != 1; then
3756 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3759 if test "$wxUSE_DEBUG_INFO" = yes; then
3760 echo "$as_me:$LINENO: result: yes" >&5
3761 echo "${ECHO_T}yes" >&6
3763 echo "$as_me:$LINENO: result: no" >&5
3764 echo "${ECHO_T}no" >&6
3769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3770 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3772 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3773 if test "${enable_debug_gdb+set}" = set; then
3774 enableval
="$enable_debug_gdb"
3776 if test "$enableval" = yes; then
3777 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3779 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3784 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x
; then
3786 eval "DEFAULT_$LINE"
3791 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3795 eval "$ac_cv_use_debug_gdb"
3796 if test "$no_cache" != 1; then
3797 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3800 if test "$wxUSE_DEBUG_GDB" = yes; then
3801 echo "$as_me:$LINENO: result: yes" >&5
3802 echo "${ECHO_T}yes" >&6
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3811 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3813 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3814 if test "${enable_debug_cntxt+set}" = set; then
3815 enableval
="$enable_debug_cntxt"
3817 if test "$enableval" = yes; then
3818 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3820 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3825 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3826 if test "x$LINE" != x
; then
3827 eval "DEFAULT_$LINE"
3832 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3836 eval "$ac_cv_use_debug_cntxt"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3841 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3842 echo "$as_me:$LINENO: result: yes" >&5
3843 echo "${ECHO_T}yes" >&6
3845 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3852 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3854 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3855 if test "${enable_mem_tracing+set}" = set; then
3856 enableval
="$enable_mem_tracing"
3858 if test "$enableval" = yes; then
3859 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3861 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3866 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3867 if test "x$LINE" != x
; then
3868 eval "DEFAULT_$LINE"
3873 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3877 eval "$ac_cv_use_mem_tracing"
3878 if test "$no_cache" != 1; then
3879 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3882 if test "$wxUSE_MEM_TRACING" = yes; then
3883 echo "$as_me:$LINENO: result: yes" >&5
3884 echo "${ECHO_T}yes" >&6
3886 echo "$as_me:$LINENO: result: no" >&5
3887 echo "${ECHO_T}no" >&6
3892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3893 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3895 # Check whether --enable-profile or --disable-profile was given.
3896 if test "${enable_profile+set}" = set; then
3897 enableval
="$enable_profile"
3899 if test "$enableval" = yes; then
3900 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3902 ac_cv_use_profile
='wxUSE_PROFILE=no'
3907 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x
; then
3909 eval "DEFAULT_$LINE"
3914 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3918 eval "$ac_cv_use_profile"
3919 if test "$no_cache" != 1; then
3920 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3923 if test "$wxUSE_PROFILE" = yes; then
3924 echo "$as_me:$LINENO: result: yes" >&5
3925 echo "${ECHO_T}yes" >&6
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3934 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3936 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3937 if test "${enable_no_rtti+set}" = set; then
3938 enableval
="$enable_no_rtti"
3940 if test "$enableval" = yes; then
3941 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3943 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3948 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x
; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3959 eval "$ac_cv_use_no_rtti"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3964 if test "$wxUSE_NO_RTTI" = yes; then
3965 echo "$as_me:$LINENO: result: yes" >&5
3966 echo "${ECHO_T}yes" >&6
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3975 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3977 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3978 if test "${enable_no_exceptions+set}" = set; then
3979 enableval
="$enable_no_exceptions"
3981 if test "$enableval" = yes; then
3982 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3984 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3989 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x
; then
3991 eval "DEFAULT_$LINE"
3996 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4000 eval "$ac_cv_use_no_exceptions"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4005 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4006 echo "$as_me:$LINENO: result: yes" >&5
4007 echo "${ECHO_T}yes" >&6
4009 echo "$as_me:$LINENO: result: no" >&5
4010 echo "${ECHO_T}no" >&6
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4018 # Check whether --enable-permissive or --disable-permissive was given.
4019 if test "${enable_permissive+set}" = set; then
4020 enableval
="$enable_permissive"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4025 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4030 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x
; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4041 eval "$ac_cv_use_permissive"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_PERMISSIVE" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4059 # Check whether --enable-no_deps or --disable-no_deps was given.
4060 if test "${enable_no_deps+set}" = set; then
4061 enableval
="$enable_no_deps"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4066 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4071 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4082 eval "$ac_cv_use_no_deps"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_NO_DEPS" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4099 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4101 # Check whether --enable-compat22 or --disable-compat22 was given.
4102 if test "${enable_compat22+set}" = set; then
4103 enableval
="$enable_compat22"
4105 if test "$enableval" = yes; then
4106 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4108 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4113 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x
; then
4115 eval "DEFAULT_$LINE"
4120 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4124 eval "$ac_cv_use_compat22"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4129 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4130 echo "$as_me:$LINENO: result: yes" >&5
4131 echo "${ECHO_T}yes" >&6
4133 echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6
4138 enablestring
=disable
4139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4140 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4142 # Check whether --enable-compat24 or --disable-compat24 was given.
4143 if test "${enable_compat24+set}" = set; then
4144 enableval
="$enable_compat24"
4146 if test "$enableval" = yes; then
4147 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4149 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4154 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x
; then
4156 eval "DEFAULT_$LINE"
4161 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4165 eval "$ac_cv_use_compat24"
4166 if test "$no_cache" != 1; then
4167 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4170 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4171 echo "$as_me:$LINENO: result: yes" >&5
4172 echo "${ECHO_T}yes" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4184 # Check whether --enable-rpath or --disable-rpath was given.
4185 if test "${enable_rpath+set}" = set; then
4186 enableval
="$enable_rpath"
4188 if test "$enableval" = yes; then
4189 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4191 ac_cv_use_rpath
='wxUSE_RPATH=no'
4196 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x
; then
4198 eval "DEFAULT_$LINE"
4203 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4207 eval "$ac_cv_use_rpath"
4208 if test "$no_cache" != 1; then
4209 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4212 if test "$wxUSE_RPATH" = yes; then
4213 echo "$as_me:$LINENO: result: yes" >&5
4214 echo "${ECHO_T}yes" >&6
4216 echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6
4225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4228 # Check whether --enable-intl or --disable-intl was given.
4229 if test "${enable_intl+set}" = set; then
4230 enableval
="$enable_intl"
4232 if test "$enableval" = yes; then
4233 ac_cv_use_intl
='wxUSE_INTL=yes'
4235 ac_cv_use_intl
='wxUSE_INTL=no'
4240 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x
; then
4242 eval "DEFAULT_$LINE"
4247 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4251 eval "$ac_cv_use_intl"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_INTL" = yes; then
4257 echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4267 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4269 # Check whether --enable-config or --disable-config was given.
4270 if test "${enable_config+set}" = set; then
4271 enableval
="$enable_config"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_config
='wxUSE_CONFIG=yes'
4276 ac_cv_use_config
='wxUSE_CONFIG=no'
4281 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x
; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4292 eval "$ac_cv_use_config"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4297 if test "$wxUSE_CONFIG" = yes; then
4298 echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6
4301 echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4311 # Check whether --enable-protocols or --disable-protocols was given.
4312 if test "${enable_protocols+set}" = set; then
4313 enableval
="$enable_protocols"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4318 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4323 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x
; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4334 eval "$ac_cv_use_protocols"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_PROTOCOL" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4352 # Check whether --enable-ftp or --disable-ftp was given.
4353 if test "${enable_ftp+set}" = set; then
4354 enableval
="$enable_ftp"
4356 if test "$enableval" = yes; then
4357 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4359 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4364 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x
; then
4366 eval "DEFAULT_$LINE"
4371 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4375 eval "$ac_cv_use_ftp"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4381 echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6
4384 echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6
4390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4393 # Check whether --enable-http or --disable-http was given.
4394 if test "${enable_http+set}" = set; then
4395 enableval
="$enable_http"
4397 if test "$enableval" = yes; then
4398 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4400 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4405 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x
; then
4407 eval "DEFAULT_$LINE"
4412 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4416 eval "$ac_cv_use_http"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4421 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4422 echo "$as_me:$LINENO: result: yes" >&5
4423 echo "${ECHO_T}yes" >&6
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4432 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4434 # Check whether --enable-fileproto or --disable-fileproto was given.
4435 if test "${enable_fileproto+set}" = set; then
4436 enableval
="$enable_fileproto"
4438 if test "$enableval" = yes; then
4439 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4441 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4446 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x
; then
4448 eval "DEFAULT_$LINE"
4453 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4457 eval "$ac_cv_use_fileproto"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4475 # Check whether --enable-sockets or --disable-sockets was given.
4476 if test "${enable_sockets+set}" = set; then
4477 enableval
="$enable_sockets"
4479 if test "$enableval" = yes; then
4480 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4482 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4487 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x
; then
4489 eval "DEFAULT_$LINE"
4494 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4498 eval "$ac_cv_use_sockets"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_SOCKETS" = yes; then
4504 echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4516 # Check whether --enable-ole or --disable-ole was given.
4517 if test "${enable_ole+set}" = set; then
4518 enableval
="$enable_ole"
4520 if test "$enableval" = yes; then
4521 ac_cv_use_ole
='wxUSE_OLE=yes'
4523 ac_cv_use_ole
='wxUSE_OLE=no'
4528 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x
; then
4530 eval "DEFAULT_$LINE"
4535 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4539 eval "$ac_cv_use_ole"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_OLE" = yes; then
4545 echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4557 # Check whether --enable-dataobj or --disable-dataobj was given.
4558 if test "${enable_dataobj+set}" = set; then
4559 enableval
="$enable_dataobj"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4564 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4569 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4580 eval "$ac_cv_use_dataobj"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4585 if test "$wxUSE_DATAOBJ" = yes; then
4586 echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4599 # Check whether --enable-ipc or --disable-ipc was given.
4600 if test "${enable_ipc+set}" = set; then
4601 enableval
="$enable_ipc"
4603 if test "$enableval" = yes; then
4604 ac_cv_use_ipc
='wxUSE_IPC=yes'
4606 ac_cv_use_ipc
='wxUSE_IPC=no'
4611 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x
; then
4613 eval "DEFAULT_$LINE"
4618 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4622 eval "$ac_cv_use_ipc"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4627 if test "$wxUSE_IPC" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4641 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4642 if test "${enable_apple_ieee+set}" = set; then
4643 enableval
="$enable_apple_ieee"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4648 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4653 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4664 eval "$ac_cv_use_apple_ieee"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_APPLE_IEEE" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4682 # Check whether --enable-arcstream or --disable-arcstream was given.
4683 if test "${enable_arcstream+set}" = set; then
4684 enableval
="$enable_arcstream"
4686 if test "$enableval" = yes; then
4687 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4689 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4694 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x
; then
4696 eval "DEFAULT_$LINE"
4701 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4705 eval "$ac_cv_use_arcstream"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4710 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4723 # Check whether --enable-backtrace or --disable-backtrace was given.
4724 if test "${enable_backtrace+set}" = set; then
4725 enableval
="$enable_backtrace"
4727 if test "$enableval" = yes; then
4728 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4730 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4735 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4742 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4746 eval "$ac_cv_use_backtrace"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_STACKWALKER" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4764 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4765 if test "${enable_catch_segvs+set}" = set; then
4766 enableval
="$enable_catch_segvs"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4771 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4776 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4787 eval "$ac_cv_use_catch_segvs"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4805 # Check whether --enable-cmdline or --disable-cmdline was given.
4806 if test "${enable_cmdline+set}" = set; then
4807 enableval
="$enable_cmdline"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4812 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4817 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4828 eval "$ac_cv_use_cmdline"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4846 # Check whether --enable-datetime or --disable-datetime was given.
4847 if test "${enable_datetime+set}" = set; then
4848 enableval
="$enable_datetime"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4853 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4858 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4869 eval "$ac_cv_use_datetime"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4874 if test "$wxUSE_DATETIME" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4887 # Check whether --enable-debugreport or --disable-debugreport was given.
4888 if test "${enable_debugreport+set}" = set; then
4889 enableval
="$enable_debugreport"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4894 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4899 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4910 eval "$ac_cv_use_debugreport"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_DEBUGREPORT" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4928 # Check whether --enable-dialupman or --disable-dialupman was given.
4929 if test "${enable_dialupman+set}" = set; then
4930 enableval
="$enable_dialupman"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4935 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4940 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4951 eval "$ac_cv_use_dialupman"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4956 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4969 # Check whether --enable-dynlib or --disable-dynlib was given.
4970 if test "${enable_dynlib+set}" = set; then
4971 enableval
="$enable_dynlib"
4973 if test "$enableval" = yes; then
4974 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4976 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4981 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4988 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4992 eval "$ac_cv_use_dynlib"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5010 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5011 if test "${enable_dynamicloader+set}" = set; then
5012 enableval
="$enable_dynamicloader"
5014 if test "$enableval" = yes; then
5015 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
5017 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
5022 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x
; then
5024 eval "DEFAULT_$LINE"
5029 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5033 eval "$ac_cv_use_dynamicloader"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5051 # Check whether --enable-exceptions or --disable-exceptions was given.
5052 if test "${enable_exceptions+set}" = set; then
5053 enableval
="$enable_exceptions"
5055 if test "$enableval" = yes; then
5056 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5058 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5063 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x
; then
5065 eval "DEFAULT_$LINE"
5070 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5074 eval "$ac_cv_use_exceptions"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5079 if test "$wxUSE_EXCEPTIONS" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5092 # Check whether --enable-ffile or --disable-ffile was given.
5093 if test "${enable_ffile+set}" = set; then
5094 enableval
="$enable_ffile"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5099 ac_cv_use_ffile
='wxUSE_FFILE=no'
5104 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5115 eval "$ac_cv_use_ffile"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_FFILE" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5133 # Check whether --enable-file or --disable-file was given.
5134 if test "${enable_file+set}" = set; then
5135 enableval
="$enable_file"
5137 if test "$enableval" = yes; then
5138 ac_cv_use_file
='wxUSE_FILE=yes'
5140 ac_cv_use_file
='wxUSE_FILE=no'
5145 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x
; then
5147 eval "DEFAULT_$LINE"
5152 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5156 eval "$ac_cv_use_file"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_FILE" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5174 # Check whether --enable-filesystem or --disable-filesystem was given.
5175 if test "${enable_filesystem+set}" = set; then
5176 enableval
="$enable_filesystem"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5181 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5186 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x
; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5197 eval "$ac_cv_use_filesystem"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_FILESYSTEM" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5215 # Check whether --enable-fontmap or --disable-fontmap was given.
5216 if test "${enable_fontmap+set}" = set; then
5217 enableval
="$enable_fontmap"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5222 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5227 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5238 eval "$ac_cv_use_fontmap"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_FONTMAP" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5256 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5257 if test "${enable_fs_inet+set}" = set; then
5258 enableval
="$enable_fs_inet"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5263 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5268 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5279 eval "$ac_cv_use_fs_inet"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_FS_INET" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5297 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5298 if test "${enable_fs_zip+set}" = set; then
5299 enableval
="$enable_fs_zip"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5304 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5309 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x
; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5320 eval "$ac_cv_use_fs_zip"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_FS_ZIP" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5338 # Check whether --enable-geometry or --disable-geometry was given.
5339 if test "${enable_geometry+set}" = set; then
5340 enableval
="$enable_geometry"
5342 if test "$enableval" = yes; then
5343 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5345 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5350 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x
; then
5352 eval "DEFAULT_$LINE"
5357 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5361 eval "$ac_cv_use_geometry"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_GEOMETRY" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5379 # Check whether --enable-log or --disable-log was given.
5380 if test "${enable_log+set}" = set; then
5381 enableval
="$enable_log"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_log
='wxUSE_LOG=yes'
5386 ac_cv_use_log
='wxUSE_LOG=no'
5391 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x
; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5402 eval "$ac_cv_use_log"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_LOG" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5420 # Check whether --enable-longlong or --disable-longlong was given.
5421 if test "${enable_longlong+set}" = set; then
5422 enableval
="$enable_longlong"
5424 if test "$enableval" = yes; then
5425 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5427 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5432 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x
; then
5434 eval "DEFAULT_$LINE"
5439 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5443 eval "$ac_cv_use_longlong"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_LONGLONG" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5461 # Check whether --enable-mimetype or --disable-mimetype was given.
5462 if test "${enable_mimetype+set}" = set; then
5463 enableval
="$enable_mimetype"
5465 if test "$enableval" = yes; then
5466 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5468 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5473 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x
; then
5475 eval "DEFAULT_$LINE"
5480 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5484 eval "$ac_cv_use_mimetype"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_MIMETYPE" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5502 # Check whether --enable-mslu or --disable-mslu was given.
5503 if test "${enable_mslu+set}" = set; then
5504 enableval
="$enable_mslu"
5506 if test "$enableval" = yes; then
5507 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5509 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5514 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x
; then
5516 eval "DEFAULT_$LINE"
5521 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5525 eval "$ac_cv_use_mslu"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_UNICODE_MSLU" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5543 # Check whether --enable-snglinst or --disable-snglinst was given.
5544 if test "${enable_snglinst+set}" = set; then
5545 enableval
="$enable_snglinst"
5547 if test "$enableval" = yes; then
5548 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5550 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5555 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x
; then
5557 eval "DEFAULT_$LINE"
5562 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5566 eval "$ac_cv_use_snglinst"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5584 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5585 if test "${enable_std_iostreams+set}" = set; then
5586 enableval
="$enable_std_iostreams"
5588 if test "$enableval" = yes; then
5589 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5591 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5596 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x
; then
5598 eval "DEFAULT_$LINE"
5603 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5607 eval "$ac_cv_use_std_iostreams"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5612 if test "$wxUSE_STD_IOSTREAM" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5625 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5626 if test "${enable_stdpaths+set}" = set; then
5627 enableval
="$enable_stdpaths"
5629 if test "$enableval" = yes; then
5630 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5632 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5637 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x
; then
5639 eval "DEFAULT_$LINE"
5644 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5648 eval "$ac_cv_use_stdpaths"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5653 if test "$wxUSE_STDPATHS" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5666 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5667 if test "${enable_stopwatch+set}" = set; then
5668 enableval
="$enable_stopwatch"
5670 if test "$enableval" = yes; then
5671 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5673 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5678 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x
; then
5680 eval "DEFAULT_$LINE"
5685 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5689 eval "$ac_cv_use_stopwatch"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5694 if test "$wxUSE_STOPWATCH" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5707 # Check whether --enable-streams or --disable-streams was given.
5708 if test "${enable_streams+set}" = set; then
5709 enableval
="$enable_streams"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5714 ac_cv_use_streams
='wxUSE_STREAMS=no'
5719 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x
; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5730 eval "$ac_cv_use_streams"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5735 if test "$wxUSE_STREAMS" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5748 # Check whether --enable-system_options or --disable-system_options was given.
5749 if test "${enable_system_options+set}" = set; then
5750 enableval
="$enable_system_options"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5755 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5760 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x
; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5771 eval "$ac_cv_use_system_options"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5789 # Check whether --enable-textbuf or --disable-textbuf was given.
5790 if test "${enable_textbuf+set}" = set; then
5791 enableval
="$enable_textbuf"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5796 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5801 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x
; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5812 eval "$ac_cv_use_textbuf"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_TEXTBUFFER" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5830 # Check whether --enable-textfile or --disable-textfile was given.
5831 if test "${enable_textfile+set}" = set; then
5832 enableval
="$enable_textfile"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5837 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5842 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x
; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5853 eval "$ac_cv_use_textfile"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_TEXTFILE" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5871 # Check whether --enable-timer or --disable-timer was given.
5872 if test "${enable_timer+set}" = set; then
5873 enableval
="$enable_timer"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_timer
='wxUSE_TIMER=yes'
5878 ac_cv_use_timer
='wxUSE_TIMER=no'
5883 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x
; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5894 eval "$ac_cv_use_timer"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_TIMER" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5912 # Check whether --enable-unicode or --disable-unicode was given.
5913 if test "${enable_unicode+set}" = set; then
5914 enableval
="$enable_unicode"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5919 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5924 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x
; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5935 eval "$ac_cv_use_unicode"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_UNICODE" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5953 # Check whether --enable-sound or --disable-sound was given.
5954 if test "${enable_sound+set}" = set; then
5955 enableval
="$enable_sound"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_sound
='wxUSE_SOUND=yes'
5960 ac_cv_use_sound
='wxUSE_SOUND=no'
5965 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x
; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5976 eval "$ac_cv_use_sound"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_SOUND" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5994 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5995 if test "${enable_mediactrl+set}" = set; then
5996 enableval
="$enable_mediactrl"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6001 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6006 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x
; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6017 eval "$ac_cv_use_mediactrl"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_MEDIACTRL" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6035 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6036 if test "${enable_wxprintfv+set}" = set; then
6037 enableval
="$enable_wxprintfv"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6042 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6047 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x
; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6058 eval "$ac_cv_use_wxprintfv"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6076 # Check whether --enable-zipstream or --disable-zipstream was given.
6077 if test "${enable_zipstream+set}" = set; then
6078 enableval
="$enable_zipstream"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6083 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6088 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x
; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6099 eval "$ac_cv_use_zipstream"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_ZIPSTREAM" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6118 # Check whether --enable-url or --disable-url was given.
6119 if test "${enable_url+set}" = set; then
6120 enableval
="$enable_url"
6122 if test "$enableval" = yes; then
6123 ac_cv_use_url
='wxUSE_URL=yes'
6125 ac_cv_use_url
='wxUSE_URL=no'
6130 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x
; then
6132 eval "DEFAULT_$LINE"
6137 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6141 eval "$ac_cv_use_url"
6142 if test "$no_cache" != 1; then
6143 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6146 if test "$wxUSE_URL" = yes; then
6147 echo "$as_me:$LINENO: result: yes" >&5
6148 echo "${ECHO_T}yes" >&6
6150 echo "$as_me:$LINENO: result: no" >&5
6151 echo "${ECHO_T}no" >&6
6156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6157 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6159 # Check whether --enable-protocol or --disable-protocol was given.
6160 if test "${enable_protocol+set}" = set; then
6161 enableval
="$enable_protocol"
6163 if test "$enableval" = yes; then
6164 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6166 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6171 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x
; then
6173 eval "DEFAULT_$LINE"
6178 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6182 eval "$ac_cv_use_protocol"
6183 if test "$no_cache" != 1; then
6184 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6187 if test "$wxUSE_PROTOCOL" = yes; then
6188 echo "$as_me:$LINENO: result: yes" >&5
6189 echo "${ECHO_T}yes" >&6
6191 echo "$as_me:$LINENO: result: no" >&5
6192 echo "${ECHO_T}no" >&6
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6200 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6201 if test "${enable_protocol_http+set}" = set; then
6202 enableval
="$enable_protocol_http"
6204 if test "$enableval" = yes; then
6205 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6207 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6212 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x
; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6223 eval "$ac_cv_use_protocol_http"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6228 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6229 echo "$as_me:$LINENO: result: yes" >&5
6230 echo "${ECHO_T}yes" >&6
6232 echo "$as_me:$LINENO: result: no" >&5
6233 echo "${ECHO_T}no" >&6
6238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6239 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6241 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6242 if test "${enable_protocol_ftp+set}" = set; then
6243 enableval
="$enable_protocol_ftp"
6245 if test "$enableval" = yes; then
6246 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6248 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6253 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x
; then
6255 eval "DEFAULT_$LINE"
6260 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6264 eval "$ac_cv_use_protocol_ftp"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6269 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6270 echo "$as_me:$LINENO: result: yes" >&5
6271 echo "${ECHO_T}yes" >&6
6273 echo "$as_me:$LINENO: result: no" >&5
6274 echo "${ECHO_T}no" >&6
6279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6282 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6283 if test "${enable_protocol_file+set}" = set; then
6284 enableval
="$enable_protocol_file"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6289 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6294 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6305 eval "$ac_cv_use_protocol_file"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6310 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6311 echo "$as_me:$LINENO: result: yes" >&5
6312 echo "${ECHO_T}yes" >&6
6314 echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6
6323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6326 # Check whether --enable-threads or --disable-threads was given.
6327 if test "${enable_threads+set}" = set; then
6328 enableval
="$enable_threads"
6330 if test "$enableval" = yes; then
6331 ac_cv_use_threads
='wxUSE_THREADS=yes'
6333 ac_cv_use_threads
='wxUSE_THREADS=no'
6338 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x
; then
6340 eval "DEFAULT_$LINE"
6345 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6349 eval "$ac_cv_use_threads"
6350 if test "$no_cache" != 1; then
6351 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6354 if test "$wxUSE_THREADS" = yes; then
6355 echo "$as_me:$LINENO: result: yes" >&5
6356 echo "${ECHO_T}yes" >&6
6358 echo "$as_me:$LINENO: result: no" >&5
6359 echo "${ECHO_T}no" >&6
6363 if test "$wxUSE_GUI" = "yes"; then
6368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6371 # Check whether --enable-docview or --disable-docview was given.
6372 if test "${enable_docview+set}" = set; then
6373 enableval
="$enable_docview"
6375 if test "$enableval" = yes; then
6376 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6378 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6383 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6384 if test "x$LINE" != x
; then
6385 eval "DEFAULT_$LINE"
6390 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6394 eval "$ac_cv_use_docview"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6412 # Check whether --enable-help or --disable-help was given.
6413 if test "${enable_help+set}" = set; then
6414 enableval
="$enable_help"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_help
='wxUSE_HELP=yes'
6419 ac_cv_use_help
='wxUSE_HELP=no'
6424 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x
; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6435 eval "$ac_cv_use_help"
6436 if test "$no_cache" != 1; then
6437 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6440 if test "$wxUSE_HELP" = yes; then
6441 echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6444 echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6453 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6454 if test "${enable_mshtmlhelp+set}" = set; then
6455 enableval
="$enable_mshtmlhelp"
6457 if test "$enableval" = yes; then
6458 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6460 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6465 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6466 if test "x$LINE" != x
; then
6467 eval "DEFAULT_$LINE"
6472 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6476 eval "$ac_cv_use_mshtmlhelp"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_MS_HTML_HELP" = yes; then
6482 echo "$as_me:$LINENO: result: yes" >&5
6483 echo "${ECHO_T}yes" >&6
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6494 # Check whether --enable-html or --disable-html was given.
6495 if test "${enable_html+set}" = set; then
6496 enableval
="$enable_html"
6498 if test "$enableval" = yes; then
6499 ac_cv_use_html
='wxUSE_HTML=yes'
6501 ac_cv_use_html
='wxUSE_HTML=no'
6506 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x
; then
6508 eval "DEFAULT_$LINE"
6513 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6517 eval "$ac_cv_use_html"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6522 if test "$wxUSE_HTML" = yes; then
6523 echo "$as_me:$LINENO: result: yes" >&5
6524 echo "${ECHO_T}yes" >&6
6526 echo "$as_me:$LINENO: result: no" >&5
6527 echo "${ECHO_T}no" >&6
6532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6533 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6535 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6536 if test "${enable_htmlhelp+set}" = set; then
6537 enableval
="$enable_htmlhelp"
6539 if test "$enableval" = yes; then
6540 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6542 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6547 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6548 if test "x$LINE" != x
; then
6549 eval "DEFAULT_$LINE"
6554 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6558 eval "$ac_cv_use_htmlhelp"
6559 if test "$no_cache" != 1; then
6560 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6563 if test "$wxUSE_WXHTML_HELP" = yes; then
6564 echo "$as_me:$LINENO: result: yes" >&5
6565 echo "${ECHO_T}yes" >&6
6567 echo "$as_me:$LINENO: result: no" >&5
6568 echo "${ECHO_T}no" >&6
6573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6574 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6576 # Check whether --enable-xrc or --disable-xrc was given.
6577 if test "${enable_xrc+set}" = set; then
6578 enableval
="$enable_xrc"
6580 if test "$enableval" = yes; then
6581 ac_cv_use_xrc
='wxUSE_XRC=yes'
6583 ac_cv_use_xrc
='wxUSE_XRC=no'
6588 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x
; then
6590 eval "DEFAULT_$LINE"
6595 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6599 eval "$ac_cv_use_xrc"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6604 if test "$wxUSE_XRC" = yes; then
6605 echo "$as_me:$LINENO: result: yes" >&5
6606 echo "${ECHO_T}yes" >&6
6608 echo "$as_me:$LINENO: result: no" >&5
6609 echo "${ECHO_T}no" >&6
6614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6615 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6617 # Check whether --enable-constraints or --disable-constraints was given.
6618 if test "${enable_constraints+set}" = set; then
6619 enableval
="$enable_constraints"
6621 if test "$enableval" = yes; then
6622 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6624 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6629 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x
; then
6631 eval "DEFAULT_$LINE"
6636 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6640 eval "$ac_cv_use_constraints"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6645 if test "$wxUSE_CONSTRAINTS" = yes; then
6646 echo "$as_me:$LINENO: result: yes" >&5
6647 echo "${ECHO_T}yes" >&6
6649 echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6
6655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6656 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6658 # Check whether --enable-printarch or --disable-printarch was given.
6659 if test "${enable_printarch+set}" = set; then
6660 enableval
="$enable_printarch"
6662 if test "$enableval" = yes; then
6663 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6665 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6670 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x
; then
6672 eval "DEFAULT_$LINE"
6677 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6681 eval "$ac_cv_use_printarch"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6687 echo "$as_me:$LINENO: result: yes" >&5
6688 echo "${ECHO_T}yes" >&6
6690 echo "$as_me:$LINENO: result: no" >&5
6691 echo "${ECHO_T}no" >&6
6696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6699 # Check whether --enable-mdi or --disable-mdi was given.
6700 if test "${enable_mdi+set}" = set; then
6701 enableval
="$enable_mdi"
6703 if test "$enableval" = yes; then
6704 ac_cv_use_mdi
='wxUSE_MDI=yes'
6706 ac_cv_use_mdi
='wxUSE_MDI=no'
6711 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x
; then
6713 eval "DEFAULT_$LINE"
6718 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6722 eval "$ac_cv_use_mdi"
6723 if test "$no_cache" != 1; then
6724 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6727 if test "$wxUSE_MDI" = yes; then
6728 echo "$as_me:$LINENO: result: yes" >&5
6729 echo "${ECHO_T}yes" >&6
6731 echo "$as_me:$LINENO: result: no" >&5
6732 echo "${ECHO_T}no" >&6
6737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6738 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6740 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6741 if test "${enable_mdidoc+set}" = set; then
6742 enableval
="$enable_mdidoc"
6744 if test "$enableval" = yes; then
6745 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6747 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6752 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x
; then
6754 eval "DEFAULT_$LINE"
6759 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6763 eval "$ac_cv_use_mdidoc"
6764 if test "$no_cache" != 1; then
6765 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6768 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6769 echo "$as_me:$LINENO: result: yes" >&5
6770 echo "${ECHO_T}yes" >&6
6772 echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6
6778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6781 # Check whether --enable-loggui or --disable-loggui was given.
6782 if test "${enable_loggui+set}" = set; then
6783 enableval
="$enable_loggui"
6785 if test "$enableval" = yes; then
6786 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6788 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6793 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6794 if test "x$LINE" != x
; then
6795 eval "DEFAULT_$LINE"
6800 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6804 eval "$ac_cv_use_loggui"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6809 if test "$wxUSE_LOGGUI" = yes; then
6810 echo "$as_me:$LINENO: result: yes" >&5
6811 echo "${ECHO_T}yes" >&6
6813 echo "$as_me:$LINENO: result: no" >&5
6814 echo "${ECHO_T}no" >&6
6819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6820 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6822 # Check whether --enable-logwin or --disable-logwin was given.
6823 if test "${enable_logwin+set}" = set; then
6824 enableval
="$enable_logwin"
6826 if test "$enableval" = yes; then
6827 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6829 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6834 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6835 if test "x$LINE" != x
; then
6836 eval "DEFAULT_$LINE"
6841 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6845 eval "$ac_cv_use_logwin"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6850 if test "$wxUSE_LOGWINDOW" = yes; then
6851 echo "$as_me:$LINENO: result: yes" >&5
6852 echo "${ECHO_T}yes" >&6
6854 echo "$as_me:$LINENO: result: no" >&5
6855 echo "${ECHO_T}no" >&6
6860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6863 # Check whether --enable-logdialog or --disable-logdialog was given.
6864 if test "${enable_logdialog+set}" = set; then
6865 enableval
="$enable_logdialog"
6867 if test "$enableval" = yes; then
6868 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6870 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6875 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x
; then
6877 eval "DEFAULT_$LINE"
6882 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6886 eval "$ac_cv_use_logdialog"
6887 if test "$no_cache" != 1; then
6888 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6891 if test "$wxUSE_LOGDIALOG" = yes; then
6892 echo "$as_me:$LINENO: result: yes" >&5
6893 echo "${ECHO_T}yes" >&6
6895 echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6
6901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6904 # Check whether --enable-webkit or --disable-webkit was given.
6905 if test "${enable_webkit+set}" = set; then
6906 enableval
="$enable_webkit"
6908 if test "$enableval" = yes; then
6909 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6911 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6916 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6917 if test "x$LINE" != x
; then
6918 eval "DEFAULT_$LINE"
6923 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6927 eval "$ac_cv_use_webkit"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6932 if test "$wxUSE_WEBKIT" = yes; then
6933 echo "$as_me:$LINENO: result: yes" >&5
6934 echo "${ECHO_T}yes" >&6
6936 echo "$as_me:$LINENO: result: no" >&5
6937 echo "${ECHO_T}no" >&6
6943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6944 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6946 # Check whether --enable-postscript or --disable-postscript was given.
6947 if test "${enable_postscript+set}" = set; then
6948 enableval
="$enable_postscript"
6950 if test "$enableval" = yes; then
6951 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6953 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6958 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6959 if test "x$LINE" != x
; then
6960 eval "DEFAULT_$LINE"
6965 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6969 eval "$ac_cv_use_postscript"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6974 if test "$wxUSE_POSTSCRIPT" = yes; then
6975 echo "$as_me:$LINENO: result: yes" >&5
6976 echo "${ECHO_T}yes" >&6
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6990 # Check whether --enable-prologio or --disable-prologio was given.
6991 if test "${enable_prologio+set}" = set; then
6992 enableval
="$enable_prologio"
6994 if test "$enableval" = yes; then
6995 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6997 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7002 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x
; then
7004 eval "DEFAULT_$LINE"
7009 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7013 eval "$ac_cv_use_prologio"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7018 if test "$wxUSE_PROLOGIO" = yes; then
7019 echo "$as_me:$LINENO: result: yes" >&5
7020 echo "${ECHO_T}yes" >&6
7022 echo "$as_me:$LINENO: result: no" >&5
7023 echo "${ECHO_T}no" >&6
7028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7031 # Check whether --enable-resources or --disable-resources was given.
7032 if test "${enable_resources+set}" = set; then
7033 enableval
="$enable_resources"
7035 if test "$enableval" = yes; then
7036 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7038 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7043 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x
; then
7045 eval "DEFAULT_$LINE"
7050 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7054 eval "$ac_cv_use_resources"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7059 if test "$wxUSE_RESOURCES" = yes; then
7060 echo "$as_me:$LINENO: result: yes" >&5
7061 echo "${ECHO_T}yes" >&6
7063 echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6
7071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7074 # Check whether --enable-clipboard or --disable-clipboard was given.
7075 if test "${enable_clipboard+set}" = set; then
7076 enableval
="$enable_clipboard"
7078 if test "$enableval" = yes; then
7079 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7081 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7086 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x
; then
7088 eval "DEFAULT_$LINE"
7093 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7097 eval "$ac_cv_use_clipboard"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7102 if test "$wxUSE_CLIPBOARD" = yes; then
7103 echo "$as_me:$LINENO: result: yes" >&5
7104 echo "${ECHO_T}yes" >&6
7106 echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6
7112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7115 # Check whether --enable-dnd or --disable-dnd was given.
7116 if test "${enable_dnd+set}" = set; then
7117 enableval
="$enable_dnd"
7119 if test "$enableval" = yes; then
7120 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7122 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7127 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7128 if test "x$LINE" != x
; then
7129 eval "DEFAULT_$LINE"
7134 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7138 eval "$ac_cv_use_dnd"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7143 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7144 echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6
7147 echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6
7153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7156 # Check whether --enable-metafile or --disable-metafile was given.
7157 if test "${enable_metafile+set}" = set; then
7158 enableval
="$enable_metafile"
7160 if test "$enableval" = yes; then
7161 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7163 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7168 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x
; then
7170 eval "DEFAULT_$LINE"
7175 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7179 eval "$ac_cv_use_metafile"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7184 if test "$wxUSE_METAFILE" = yes; then
7185 echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6
7188 echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6
7197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7198 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7200 # Check whether --enable-controls or --disable-controls was given.
7201 if test "${enable_controls+set}" = set; then
7202 enableval
="$enable_controls"
7204 if test "$enableval" = yes; then
7205 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7207 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7212 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x
; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7223 eval "$ac_cv_use_controls"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7228 if test "$wxUSE_CONTROLS" = yes; then
7229 echo "$as_me:$LINENO: result: yes" >&5
7230 echo "${ECHO_T}yes" >&6
7232 echo "$as_me:$LINENO: result: no" >&5
7233 echo "${ECHO_T}no" >&6
7237 if test "$wxUSE_CONTROLS" = "yes"; then
7238 DEFAULT_wxUSE_ACCEL
=yes
7239 DEFAULT_wxUSE_BMPBUTTON
=yes
7240 DEFAULT_wxUSE_BUTTON
=yes
7241 DEFAULT_wxUSE_CALCTRL
=yes
7242 DEFAULT_wxUSE_CARET
=yes
7243 DEFAULT_wxUSE_COMBOBOX
=yes
7244 DEFAULT_wxUSE_CHECKBOX
=yes
7245 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7246 DEFAULT_wxUSE_CHOICE
=yes
7247 DEFAULT_wxUSE_CHOICEBOOK
=yes
7248 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7249 DEFAULT_wxUSE_GAUGE
=yes
7250 DEFAULT_wxUSE_GRID
=yes
7251 DEFAULT_wxUSE_IMAGLIST
=yes
7252 DEFAULT_wxUSE_LISTBOOK
=yes
7253 DEFAULT_wxUSE_LISTBOX
=yes
7254 DEFAULT_wxUSE_LISTCTRL
=yes
7255 DEFAULT_wxUSE_NOTEBOOK
=yes
7256 DEFAULT_wxUSE_RADIOBOX
=yes
7257 DEFAULT_wxUSE_RADIOBTN
=yes
7258 DEFAULT_wxUSE_SASH
=yes
7259 DEFAULT_wxUSE_SCROLLBAR
=yes
7260 DEFAULT_wxUSE_SLIDER
=yes
7261 DEFAULT_wxUSE_SPINBTN
=yes
7262 DEFAULT_wxUSE_SPINCTRL
=yes
7263 DEFAULT_wxUSE_SPLITTER
=yes
7264 DEFAULT_wxUSE_STATBMP
=yes
7265 DEFAULT_wxUSE_STATBOX
=yes
7266 DEFAULT_wxUSE_STATLINE
=yes
7267 DEFAULT_wxUSE_STATUSBAR
=yes
7268 DEFAULT_wxUSE_TAB_DIALOG
=yes
7269 DEFAULT_wxUSE_TOGGLEBTN
=yes
7270 DEFAULT_wxUSE_TOOLBAR
=yes
7271 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7272 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7273 DEFAULT_wxUSE_TOOLTIPS
=yes
7274 DEFAULT_wxUSE_TREECTRL
=yes
7275 DEFAULT_wxUSE_POPUPWIN
=yes
7276 DEFAULT_wxUSE_TIPWINDOW
=yes
7277 elif test "$wxUSE_CONTROLS" = "no"; then
7278 DEFAULT_wxUSE_ACCEL
=no
7279 DEFAULT_wxUSE_BMPBUTTON
=no
7280 DEFAULT_wxUSE_BUTTON
=no
7281 DEFAULT_wxUSE_CALCTRL
=no
7282 DEFAULT_wxUSE_CARET
=no
7283 DEFAULT_wxUSE_COMBOBOX
=no
7284 DEFAULT_wxUSE_CHECKBOX
=no
7285 DEFAULT_wxUSE_CHECKLISTBOX
=no
7286 DEFAULT_wxUSE_CHOICE
=no
7287 DEFAULT_wxUSE_CHOICEBOOK
=no
7288 DEFAULT_wxUSE_DATEPICKCTRL
=no
7289 DEFAULT_wxUSE_GAUGE
=no
7290 DEFAULT_wxUSE_GRID
=no
7291 DEFAULT_wxUSE_IMAGLIST
=no
7292 DEFAULT_wxUSE_LISTBOOK
=no
7293 DEFAULT_wxUSE_LISTBOX
=no
7294 DEFAULT_wxUSE_LISTCTRL
=no
7295 DEFAULT_wxUSE_NOTEBOOK
=no
7296 DEFAULT_wxUSE_RADIOBOX
=no
7297 DEFAULT_wxUSE_RADIOBTN
=no
7298 DEFAULT_wxUSE_SASH
=no
7299 DEFAULT_wxUSE_SCROLLBAR
=no
7300 DEFAULT_wxUSE_SLIDER
=no
7301 DEFAULT_wxUSE_SPINBTN
=no
7302 DEFAULT_wxUSE_SPINCTRL
=no
7303 DEFAULT_wxUSE_SPLITTER
=no
7304 DEFAULT_wxUSE_STATBMP
=no
7305 DEFAULT_wxUSE_STATBOX
=no
7306 DEFAULT_wxUSE_STATLINE
=no
7307 DEFAULT_wxUSE_STATUSBAR
=no
7308 DEFAULT_wxUSE_TAB_DIALOG
=no
7309 DEFAULT_wxUSE_TOGGLEBTN
=no
7310 DEFAULT_wxUSE_TOOLBAR
=no
7311 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7312 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7313 DEFAULT_wxUSE_TOOLTIPS
=no
7314 DEFAULT_wxUSE_TREECTRL
=no
7315 DEFAULT_wxUSE_POPUPWIN
=no
7316 DEFAULT_wxUSE_TIPWINDOW
=no
7321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7324 # Check whether --enable-accel or --disable-accel was given.
7325 if test "${enable_accel+set}" = set; then
7326 enableval
="$enable_accel"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7331 ac_cv_use_accel
='wxUSE_ACCEL=no'
7336 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x
; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7347 eval "$ac_cv_use_accel"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_ACCEL" = yes; then
7353 echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7356 echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7365 # Check whether --enable-button or --disable-button was given.
7366 if test "${enable_button+set}" = set; then
7367 enableval
="$enable_button"
7369 if test "$enableval" = yes; then
7370 ac_cv_use_button
='wxUSE_BUTTON=yes'
7372 ac_cv_use_button
='wxUSE_BUTTON=no'
7377 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x
; then
7379 eval "DEFAULT_$LINE"
7384 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7388 eval "$ac_cv_use_button"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_BUTTON" = yes; then
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7397 echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7406 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7407 if test "${enable_bmpbutton+set}" = set; then
7408 enableval
="$enable_bmpbutton"
7410 if test "$enableval" = yes; then
7411 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7413 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7418 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7419 if test "x$LINE" != x
; then
7420 eval "DEFAULT_$LINE"
7425 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7429 eval "$ac_cv_use_bmpbutton"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7434 if test "$wxUSE_BMPBUTTON" = yes; then
7435 echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6
7438 echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6
7444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7447 # Check whether --enable-calendar or --disable-calendar was given.
7448 if test "${enable_calendar+set}" = set; then
7449 enableval
="$enable_calendar"
7451 if test "$enableval" = yes; then
7452 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7454 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7459 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x
; then
7461 eval "DEFAULT_$LINE"
7466 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7470 eval "$ac_cv_use_calendar"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7475 if test "$wxUSE_CALCTRL" = yes; then
7476 echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6
7479 echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6
7485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7488 # Check whether --enable-caret or --disable-caret was given.
7489 if test "${enable_caret+set}" = set; then
7490 enableval
="$enable_caret"
7492 if test "$enableval" = yes; then
7493 ac_cv_use_caret
='wxUSE_CARET=yes'
7495 ac_cv_use_caret
='wxUSE_CARET=no'
7500 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7501 if test "x$LINE" != x
; then
7502 eval "DEFAULT_$LINE"
7507 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7511 eval "$ac_cv_use_caret"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_CARET" = yes; then
7517 echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7529 # Check whether --enable-checkbox or --disable-checkbox was given.
7530 if test "${enable_checkbox+set}" = set; then
7531 enableval
="$enable_checkbox"
7533 if test "$enableval" = yes; then
7534 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7536 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7541 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x
; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7552 eval "$ac_cv_use_checkbox"
7553 if test "$no_cache" != 1; then
7554 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7557 if test "$wxUSE_CHECKBOX" = yes; then
7558 echo "$as_me:$LINENO: result: yes" >&5
7559 echo "${ECHO_T}yes" >&6
7561 echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6
7567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7570 # Check whether --enable-checklst or --disable-checklst was given.
7571 if test "${enable_checklst+set}" = set; then
7572 enableval
="$enable_checklst"
7574 if test "$enableval" = yes; then
7575 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7577 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7582 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x
; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7593 eval "$ac_cv_use_checklst"
7594 if test "$no_cache" != 1; then
7595 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7598 if test "$wxUSE_CHECKLST" = yes; then
7599 echo "$as_me:$LINENO: result: yes" >&5
7600 echo "${ECHO_T}yes" >&6
7602 echo "$as_me:$LINENO: result: no" >&5
7603 echo "${ECHO_T}no" >&6
7608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7611 # Check whether --enable-choice or --disable-choice was given.
7612 if test "${enable_choice+set}" = set; then
7613 enableval
="$enable_choice"
7615 if test "$enableval" = yes; then
7616 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7618 ac_cv_use_choice
='wxUSE_CHOICE=no'
7623 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x
; then
7625 eval "DEFAULT_$LINE"
7630 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7634 eval "$ac_cv_use_choice"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7639 if test "$wxUSE_CHOICE" = yes; then
7640 echo "$as_me:$LINENO: result: yes" >&5
7641 echo "${ECHO_T}yes" >&6
7643 echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6
7649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7652 # Check whether --enable-choicebook or --disable-choicebook was given.
7653 if test "${enable_choicebook+set}" = set; then
7654 enableval
="$enable_choicebook"
7656 if test "$enableval" = yes; then
7657 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7659 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7664 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x
; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7675 eval "$ac_cv_use_choicebook"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7680 if test "$wxUSE_CHOICEBOOK" = yes; then
7681 echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6
7684 echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7693 # Check whether --enable-combobox or --disable-combobox was given.
7694 if test "${enable_combobox+set}" = set; then
7695 enableval
="$enable_combobox"
7697 if test "$enableval" = yes; then
7698 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7700 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7705 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x
; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7716 eval "$ac_cv_use_combobox"
7717 if test "$no_cache" != 1; then
7718 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7721 if test "$wxUSE_COMBOBOX" = yes; then
7722 echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6
7725 echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6
7731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7734 # Check whether --enable-datepick or --disable-datepick was given.
7735 if test "${enable_datepick+set}" = set; then
7736 enableval
="$enable_datepick"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7741 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7746 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x
; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7757 eval "$ac_cv_use_datepick"
7758 if test "$no_cache" != 1; then
7759 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7762 if test "$wxUSE_DATEPICKCTRL" = yes; then
7763 echo "$as_me:$LINENO: result: yes" >&5
7764 echo "${ECHO_T}yes" >&6
7766 echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6
7772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7775 # Check whether --enable-display or --disable-display was given.
7776 if test "${enable_display+set}" = set; then
7777 enableval
="$enable_display"
7779 if test "$enableval" = yes; then
7780 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7782 ac_cv_use_display
='wxUSE_DISPLAY=no'
7787 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7788 if test "x$LINE" != x
; then
7789 eval "DEFAULT_$LINE"
7794 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7798 eval "$ac_cv_use_display"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_DISPLAY" = yes; then
7804 echo "$as_me:$LINENO: result: yes" >&5
7805 echo "${ECHO_T}yes" >&6
7807 echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7816 # Check whether --enable-gauge or --disable-gauge was given.
7817 if test "${enable_gauge+set}" = set; then
7818 enableval
="$enable_gauge"
7820 if test "$enableval" = yes; then
7821 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7823 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7828 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x
; then
7830 eval "DEFAULT_$LINE"
7835 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7839 eval "$ac_cv_use_gauge"
7840 if test "$no_cache" != 1; then
7841 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7844 if test "$wxUSE_GAUGE" = yes; then
7845 echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6
7848 echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7857 # Check whether --enable-grid or --disable-grid was given.
7858 if test "${enable_grid+set}" = set; then
7859 enableval
="$enable_grid"
7861 if test "$enableval" = yes; then
7862 ac_cv_use_grid
='wxUSE_GRID=yes'
7864 ac_cv_use_grid
='wxUSE_GRID=no'
7869 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7870 if test "x$LINE" != x
; then
7871 eval "DEFAULT_$LINE"
7876 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7880 eval "$ac_cv_use_grid"
7881 if test "$no_cache" != 1; then
7882 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7885 if test "$wxUSE_GRID" = yes; then
7886 echo "$as_me:$LINENO: result: yes" >&5
7887 echo "${ECHO_T}yes" >&6
7889 echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6
7895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7896 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7898 # Check whether --enable-imaglist or --disable-imaglist was given.
7899 if test "${enable_imaglist+set}" = set; then
7900 enableval
="$enable_imaglist"
7902 if test "$enableval" = yes; then
7903 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7905 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7910 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x
; then
7912 eval "DEFAULT_$LINE"
7917 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7921 eval "$ac_cv_use_imaglist"
7922 if test "$no_cache" != 1; then
7923 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7926 if test "$wxUSE_IMAGLIST" = yes; then
7927 echo "$as_me:$LINENO: result: yes" >&5
7928 echo "${ECHO_T}yes" >&6
7930 echo "$as_me:$LINENO: result: no" >&5
7931 echo "${ECHO_T}no" >&6
7936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7937 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7939 # Check whether --enable-listbook or --disable-listbook was given.
7940 if test "${enable_listbook+set}" = set; then
7941 enableval
="$enable_listbook"
7943 if test "$enableval" = yes; then
7944 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7946 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7951 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x
; then
7953 eval "DEFAULT_$LINE"
7958 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7962 eval "$ac_cv_use_listbook"
7963 if test "$no_cache" != 1; then
7964 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7967 if test "$wxUSE_LISTBOOK" = yes; then
7968 echo "$as_me:$LINENO: result: yes" >&5
7969 echo "${ECHO_T}yes" >&6
7971 echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6
7977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7980 # Check whether --enable-listbox or --disable-listbox was given.
7981 if test "${enable_listbox+set}" = set; then
7982 enableval
="$enable_listbox"
7984 if test "$enableval" = yes; then
7985 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7987 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7992 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x
; then
7994 eval "DEFAULT_$LINE"
7999 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8003 eval "$ac_cv_use_listbox"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8008 if test "$wxUSE_LISTBOX" = yes; then
8009 echo "$as_me:$LINENO: result: yes" >&5
8010 echo "${ECHO_T}yes" >&6
8012 echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6
8018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8021 # Check whether --enable-listctrl or --disable-listctrl was given.
8022 if test "${enable_listctrl+set}" = set; then
8023 enableval
="$enable_listctrl"
8025 if test "$enableval" = yes; then
8026 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8028 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8033 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x
; then
8035 eval "DEFAULT_$LINE"
8040 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8044 eval "$ac_cv_use_listctrl"
8045 if test "$no_cache" != 1; then
8046 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8049 if test "$wxUSE_LISTCTRL" = yes; then
8050 echo "$as_me:$LINENO: result: yes" >&5
8051 echo "${ECHO_T}yes" >&6
8053 echo "$as_me:$LINENO: result: no" >&5
8054 echo "${ECHO_T}no" >&6
8059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8062 # Check whether --enable-notebook or --disable-notebook was given.
8063 if test "${enable_notebook+set}" = set; then
8064 enableval
="$enable_notebook"
8066 if test "$enableval" = yes; then
8067 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8069 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8074 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x
; then
8076 eval "DEFAULT_$LINE"
8081 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8085 eval "$ac_cv_use_notebook"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8090 if test "$wxUSE_NOTEBOOK" = yes; then
8091 echo "$as_me:$LINENO: result: yes" >&5
8092 echo "${ECHO_T}yes" >&6
8094 echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6
8100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8103 # Check whether --enable-radiobox or --disable-radiobox was given.
8104 if test "${enable_radiobox+set}" = set; then
8105 enableval
="$enable_radiobox"
8107 if test "$enableval" = yes; then
8108 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8110 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8115 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8116 if test "x$LINE" != x
; then
8117 eval "DEFAULT_$LINE"
8122 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8126 eval "$ac_cv_use_radiobox"
8127 if test "$no_cache" != 1; then
8128 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8131 if test "$wxUSE_RADIOBOX" = yes; then
8132 echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6
8135 echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6
8141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8144 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8145 if test "${enable_radiobtn+set}" = set; then
8146 enableval
="$enable_radiobtn"
8148 if test "$enableval" = yes; then
8149 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8151 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8156 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x
; then
8158 eval "DEFAULT_$LINE"
8163 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8167 eval "$ac_cv_use_radiobtn"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8172 if test "$wxUSE_RADIOBTN" = yes; then
8173 echo "$as_me:$LINENO: result: yes" >&5
8174 echo "${ECHO_T}yes" >&6
8176 echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6
8182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8185 # Check whether --enable-sash or --disable-sash was given.
8186 if test "${enable_sash+set}" = set; then
8187 enableval
="$enable_sash"
8189 if test "$enableval" = yes; then
8190 ac_cv_use_sash
='wxUSE_SASH=yes'
8192 ac_cv_use_sash
='wxUSE_SASH=no'
8197 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x
; then
8199 eval "DEFAULT_$LINE"
8204 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8208 eval "$ac_cv_use_sash"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8213 if test "$wxUSE_SASH" = yes; then
8214 echo "$as_me:$LINENO: result: yes" >&5
8215 echo "${ECHO_T}yes" >&6
8217 echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6
8223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8226 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8227 if test "${enable_scrollbar+set}" = set; then
8228 enableval
="$enable_scrollbar"
8230 if test "$enableval" = yes; then
8231 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8233 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8238 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x
; then
8240 eval "DEFAULT_$LINE"
8245 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8249 eval "$ac_cv_use_scrollbar"
8250 if test "$no_cache" != 1; then
8251 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8254 if test "$wxUSE_SCROLLBAR" = yes; then
8255 echo "$as_me:$LINENO: result: yes" >&5
8256 echo "${ECHO_T}yes" >&6
8258 echo "$as_me:$LINENO: result: no" >&5
8259 echo "${ECHO_T}no" >&6
8264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8267 # Check whether --enable-slider or --disable-slider was given.
8268 if test "${enable_slider+set}" = set; then
8269 enableval
="$enable_slider"
8271 if test "$enableval" = yes; then
8272 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8274 ac_cv_use_slider
='wxUSE_SLIDER=no'
8279 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x
; then
8281 eval "DEFAULT_$LINE"
8286 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8290 eval "$ac_cv_use_slider"
8291 if test "$no_cache" != 1; then
8292 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8295 if test "$wxUSE_SLIDER" = yes; then
8296 echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8308 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8309 if test "${enable_spinbtn+set}" = set; then
8310 enableval
="$enable_spinbtn"
8312 if test "$enableval" = yes; then
8313 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8315 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8320 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x
; then
8322 eval "DEFAULT_$LINE"
8327 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8331 eval "$ac_cv_use_spinbtn"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8336 if test "$wxUSE_SPINBTN" = yes; then
8337 echo "$as_me:$LINENO: result: yes" >&5
8338 echo "${ECHO_T}yes" >&6
8340 echo "$as_me:$LINENO: result: no" >&5
8341 echo "${ECHO_T}no" >&6
8346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8349 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8350 if test "${enable_spinctrl+set}" = set; then
8351 enableval
="$enable_spinctrl"
8353 if test "$enableval" = yes; then
8354 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8356 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8361 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x
; then
8363 eval "DEFAULT_$LINE"
8368 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8372 eval "$ac_cv_use_spinctrl"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8377 if test "$wxUSE_SPINCTRL" = yes; then
8378 echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6
8381 echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6
8387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8390 # Check whether --enable-splitter or --disable-splitter was given.
8391 if test "${enable_splitter+set}" = set; then
8392 enableval
="$enable_splitter"
8394 if test "$enableval" = yes; then
8395 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8397 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8402 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x
; then
8404 eval "DEFAULT_$LINE"
8409 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8413 eval "$ac_cv_use_splitter"
8414 if test "$no_cache" != 1; then
8415 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8418 if test "$wxUSE_SPLITTER" = yes; then
8419 echo "$as_me:$LINENO: result: yes" >&5
8420 echo "${ECHO_T}yes" >&6
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8431 # Check whether --enable-statbmp or --disable-statbmp was given.
8432 if test "${enable_statbmp+set}" = set; then
8433 enableval
="$enable_statbmp"
8435 if test "$enableval" = yes; then
8436 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8438 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8443 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x
; then
8445 eval "DEFAULT_$LINE"
8450 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8454 eval "$ac_cv_use_statbmp"
8455 if test "$no_cache" != 1; then
8456 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8459 if test "$wxUSE_STATBMP" = yes; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
8469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8472 # Check whether --enable-statbox or --disable-statbox was given.
8473 if test "${enable_statbox+set}" = set; then
8474 enableval
="$enable_statbox"
8476 if test "$enableval" = yes; then
8477 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8479 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8484 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x
; then
8486 eval "DEFAULT_$LINE"
8491 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8495 eval "$ac_cv_use_statbox"
8496 if test "$no_cache" != 1; then
8497 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8500 if test "$wxUSE_STATBOX" = yes; then
8501 echo "$as_me:$LINENO: result: yes" >&5
8502 echo "${ECHO_T}yes" >&6
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8513 # Check whether --enable-statline or --disable-statline was given.
8514 if test "${enable_statline+set}" = set; then
8515 enableval
="$enable_statline"
8517 if test "$enableval" = yes; then
8518 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8520 ac_cv_use_statline
='wxUSE_STATLINE=no'
8525 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x
; then
8527 eval "DEFAULT_$LINE"
8532 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8536 eval "$ac_cv_use_statline"
8537 if test "$no_cache" != 1; then
8538 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8541 if test "$wxUSE_STATLINE" = yes; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8545 echo "$as_me:$LINENO: result: no" >&5
8546 echo "${ECHO_T}no" >&6
8551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8554 # Check whether --enable-stattext or --disable-stattext was given.
8555 if test "${enable_stattext+set}" = set; then
8556 enableval
="$enable_stattext"
8558 if test "$enableval" = yes; then
8559 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8561 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8566 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x
; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8577 eval "$ac_cv_use_stattext"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8582 if test "$wxUSE_STATTEXT" = yes; then
8583 echo "$as_me:$LINENO: result: yes" >&5
8584 echo "${ECHO_T}yes" >&6
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8595 # Check whether --enable-statusbar or --disable-statusbar was given.
8596 if test "${enable_statusbar+set}" = set; then
8597 enableval
="$enable_statusbar"
8599 if test "$enableval" = yes; then
8600 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8602 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8607 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x
; then
8609 eval "DEFAULT_$LINE"
8614 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8618 eval "$ac_cv_use_statusbar"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8623 if test "$wxUSE_STATUSBAR" = yes; then
8624 echo "$as_me:$LINENO: result: yes" >&5
8625 echo "${ECHO_T}yes" >&6
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8636 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8637 if test "${enable_tabdialog+set}" = set; then
8638 enableval
="$enable_tabdialog"
8640 if test "$enableval" = yes; then
8641 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8643 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8648 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x
; then
8650 eval "DEFAULT_$LINE"
8655 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8659 eval "$ac_cv_use_tabdialog"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8664 if test "$wxUSE_TABDIALOG" = yes; then
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8668 echo "$as_me:$LINENO: result: no" >&5
8669 echo "${ECHO_T}no" >&6
8674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8677 # Check whether --enable-textctrl or --disable-textctrl was given.
8678 if test "${enable_textctrl+set}" = set; then
8679 enableval
="$enable_textctrl"
8681 if test "$enableval" = yes; then
8682 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8684 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8689 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8690 if test "x$LINE" != x
; then
8691 eval "DEFAULT_$LINE"
8696 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8700 eval "$ac_cv_use_textctrl"
8701 if test "$no_cache" != 1; then
8702 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8705 if test "$wxUSE_TEXTCTRL" = yes; then
8706 echo "$as_me:$LINENO: result: yes" >&5
8707 echo "${ECHO_T}yes" >&6
8709 echo "$as_me:$LINENO: result: no" >&5
8710 echo "${ECHO_T}no" >&6
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8718 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8719 if test "${enable_togglebtn+set}" = set; then
8720 enableval
="$enable_togglebtn"
8722 if test "$enableval" = yes; then
8723 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8725 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8730 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x
; then
8732 eval "DEFAULT_$LINE"
8737 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8741 eval "$ac_cv_use_togglebtn"
8742 if test "$no_cache" != 1; then
8743 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8746 if test "$wxUSE_TOGGLEBTN" = yes; then
8747 echo "$as_me:$LINENO: result: yes" >&5
8748 echo "${ECHO_T}yes" >&6
8750 echo "$as_me:$LINENO: result: no" >&5
8751 echo "${ECHO_T}no" >&6
8756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8757 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8759 # Check whether --enable-toolbar or --disable-toolbar was given.
8760 if test "${enable_toolbar+set}" = set; then
8761 enableval
="$enable_toolbar"
8763 if test "$enableval" = yes; then
8764 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8766 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8771 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8772 if test "x$LINE" != x
; then
8773 eval "DEFAULT_$LINE"
8778 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8782 eval "$ac_cv_use_toolbar"
8783 if test "$no_cache" != 1; then
8784 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8787 if test "$wxUSE_TOOLBAR" = yes; then
8788 echo "$as_me:$LINENO: result: yes" >&5
8789 echo "${ECHO_T}yes" >&6
8791 echo "$as_me:$LINENO: result: no" >&5
8792 echo "${ECHO_T}no" >&6
8797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8798 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8800 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8801 if test "${enable_tbarnative+set}" = set; then
8802 enableval
="$enable_tbarnative"
8804 if test "$enableval" = yes; then
8805 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8807 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8812 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x
; then
8814 eval "DEFAULT_$LINE"
8819 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8823 eval "$ac_cv_use_tbarnative"
8824 if test "$no_cache" != 1; then
8825 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8828 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8829 echo "$as_me:$LINENO: result: yes" >&5
8830 echo "${ECHO_T}yes" >&6
8832 echo "$as_me:$LINENO: result: no" >&5
8833 echo "${ECHO_T}no" >&6
8838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8841 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8842 if test "${enable_tbarsmpl+set}" = set; then
8843 enableval
="$enable_tbarsmpl"
8845 if test "$enableval" = yes; then
8846 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8848 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8853 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8854 if test "x$LINE" != x
; then
8855 eval "DEFAULT_$LINE"
8860 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8864 eval "$ac_cv_use_tbarsmpl"
8865 if test "$no_cache" != 1; then
8866 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8869 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8870 echo "$as_me:$LINENO: result: yes" >&5
8871 echo "${ECHO_T}yes" >&6
8873 echo "$as_me:$LINENO: result: no" >&5
8874 echo "${ECHO_T}no" >&6
8879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8880 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8882 # Check whether --enable-treectrl or --disable-treectrl was given.
8883 if test "${enable_treectrl+set}" = set; then
8884 enableval
="$enable_treectrl"
8886 if test "$enableval" = yes; then
8887 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8889 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8894 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x
; then
8896 eval "DEFAULT_$LINE"
8901 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8905 eval "$ac_cv_use_treectrl"
8906 if test "$no_cache" != 1; then
8907 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8910 if test "$wxUSE_TREECTRL" = yes; then
8911 echo "$as_me:$LINENO: result: yes" >&5
8912 echo "${ECHO_T}yes" >&6
8914 echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6
8920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8921 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8923 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8924 if test "${enable_tipwindow+set}" = set; then
8925 enableval
="$enable_tipwindow"
8927 if test "$enableval" = yes; then
8928 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8930 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8935 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x
; then
8937 eval "DEFAULT_$LINE"
8942 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8946 eval "$ac_cv_use_tipwindow"
8947 if test "$no_cache" != 1; then
8948 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8951 if test "$wxUSE_TIPWINDOW" = yes; then
8952 echo "$as_me:$LINENO: result: yes" >&5
8953 echo "${ECHO_T}yes" >&6
8955 echo "$as_me:$LINENO: result: no" >&5
8956 echo "${ECHO_T}no" >&6
8961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8962 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8964 # Check whether --enable-popupwin or --disable-popupwin was given.
8965 if test "${enable_popupwin+set}" = set; then
8966 enableval
="$enable_popupwin"
8968 if test "$enableval" = yes; then
8969 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8971 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8976 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x
; then
8978 eval "DEFAULT_$LINE"
8983 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8987 eval "$ac_cv_use_popupwin"
8988 if test "$no_cache" != 1; then
8989 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8992 if test "$wxUSE_POPUPWIN" = yes; then
8993 echo "$as_me:$LINENO: result: yes" >&5
8994 echo "${ECHO_T}yes" >&6
8996 echo "$as_me:$LINENO: result: no" >&5
8997 echo "${ECHO_T}no" >&6
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9007 # Check whether --enable-commondlg or --disable-commondlg was given.
9008 if test "${enable_commondlg+set}" = set; then
9009 enableval
="$enable_commondlg"
9011 if test "$enableval" = yes; then
9012 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9014 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9019 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x
; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9030 eval "$ac_cv_use_commondlg"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9035 if test "$wxUSE_COMMONDLGS" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9048 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9049 if test "${enable_choicedlg+set}" = set; then
9050 enableval
="$enable_choicedlg"
9052 if test "$enableval" = yes; then
9053 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9055 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9060 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x
; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9071 eval "$ac_cv_use_choicedlg"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9076 if test "$wxUSE_CHOICEDLG" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9089 # Check whether --enable-coldlg or --disable-coldlg was given.
9090 if test "${enable_coldlg+set}" = set; then
9091 enableval
="$enable_coldlg"
9093 if test "$enableval" = yes; then
9094 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9096 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9101 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x
; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9112 eval "$ac_cv_use_coldlg"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9117 if test "$wxUSE_COLOURDLG" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9130 # Check whether --enable-filedlg or --disable-filedlg was given.
9131 if test "${enable_filedlg+set}" = set; then
9132 enableval
="$enable_filedlg"
9134 if test "$enableval" = yes; then
9135 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9137 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9142 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x
; then
9144 eval "DEFAULT_$LINE"
9149 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9153 eval "$ac_cv_use_filedlg"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9158 if test "$wxUSE_FILEDLG" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9171 # Check whether --enable-finddlg or --disable-finddlg was given.
9172 if test "${enable_finddlg+set}" = set; then
9173 enableval
="$enable_finddlg"
9175 if test "$enableval" = yes; then
9176 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9178 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9183 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x
; then
9185 eval "DEFAULT_$LINE"
9190 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9194 eval "$ac_cv_use_finddlg"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9199 if test "$wxUSE_FINDREPLDLG" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9212 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9213 if test "${enable_fontdlg+set}" = set; then
9214 enableval
="$enable_fontdlg"
9216 if test "$enableval" = yes; then
9217 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9219 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9224 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x
; then
9226 eval "DEFAULT_$LINE"
9231 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9235 eval "$ac_cv_use_fontdlg"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9240 if test "$wxUSE_FONTDLG" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9253 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9254 if test "${enable_dirdlg+set}" = set; then
9255 enableval
="$enable_dirdlg"
9257 if test "$enableval" = yes; then
9258 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9260 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9265 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x
; then
9267 eval "DEFAULT_$LINE"
9272 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9276 eval "$ac_cv_use_dirdlg"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9281 if test "$wxUSE_DIRDLG" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9285 echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9294 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9295 if test "${enable_msgdlg+set}" = set; then
9296 enableval
="$enable_msgdlg"
9298 if test "$enableval" = yes; then
9299 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9301 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9306 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x
; then
9308 eval "DEFAULT_$LINE"
9313 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9317 eval "$ac_cv_use_msgdlg"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9322 if test "$wxUSE_MSGDLG" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324 echo "${ECHO_T}yes" >&6
9326 echo "$as_me:$LINENO: result: no" >&5
9327 echo "${ECHO_T}no" >&6
9332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9335 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9336 if test "${enable_numberdlg+set}" = set; then
9337 enableval
="$enable_numberdlg"
9339 if test "$enableval" = yes; then
9340 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9342 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9347 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x
; then
9349 eval "DEFAULT_$LINE"
9354 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9358 eval "$ac_cv_use_numberdlg"
9359 if test "$no_cache" != 1; then
9360 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9363 if test "$wxUSE_NUMBERDLG" = yes; then
9364 echo "$as_me:$LINENO: result: yes" >&5
9365 echo "${ECHO_T}yes" >&6
9367 echo "$as_me:$LINENO: result: no" >&5
9368 echo "${ECHO_T}no" >&6
9373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9374 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9376 # Check whether --enable-splash or --disable-splash was given.
9377 if test "${enable_splash+set}" = set; then
9378 enableval
="$enable_splash"
9380 if test "$enableval" = yes; then
9381 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9383 ac_cv_use_splash
='wxUSE_SPLASH=no'
9388 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x
; then
9390 eval "DEFAULT_$LINE"
9395 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9399 eval "$ac_cv_use_splash"
9400 if test "$no_cache" != 1; then
9401 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9404 if test "$wxUSE_SPLASH" = yes; then
9405 echo "$as_me:$LINENO: result: yes" >&5
9406 echo "${ECHO_T}yes" >&6
9408 echo "$as_me:$LINENO: result: no" >&5
9409 echo "${ECHO_T}no" >&6
9414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9415 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9417 # Check whether --enable-textdlg or --disable-textdlg was given.
9418 if test "${enable_textdlg+set}" = set; then
9419 enableval
="$enable_textdlg"
9421 if test "$enableval" = yes; then
9422 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9424 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9429 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x
; then
9431 eval "DEFAULT_$LINE"
9436 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9440 eval "$ac_cv_use_textdlg"
9441 if test "$no_cache" != 1; then
9442 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9445 if test "$wxUSE_TEXTDLG" = yes; then
9446 echo "$as_me:$LINENO: result: yes" >&5
9447 echo "${ECHO_T}yes" >&6
9449 echo "$as_me:$LINENO: result: no" >&5
9450 echo "${ECHO_T}no" >&6
9455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9456 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9458 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9459 if test "${enable_tipdlg+set}" = set; then
9460 enableval
="$enable_tipdlg"
9462 if test "$enableval" = yes; then
9463 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9465 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9470 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9471 if test "x$LINE" != x
; then
9472 eval "DEFAULT_$LINE"
9477 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9481 eval "$ac_cv_use_tipdlg"
9482 if test "$no_cache" != 1; then
9483 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9486 if test "$wxUSE_STARTUP_TIPS" = yes; then
9487 echo "$as_me:$LINENO: result: yes" >&5
9488 echo "${ECHO_T}yes" >&6
9490 echo "$as_me:$LINENO: result: no" >&5
9491 echo "${ECHO_T}no" >&6
9496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9499 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9500 if test "${enable_progressdlg+set}" = set; then
9501 enableval
="$enable_progressdlg"
9503 if test "$enableval" = yes; then
9504 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9506 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9511 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x
; then
9513 eval "DEFAULT_$LINE"
9518 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9522 eval "$ac_cv_use_progressdlg"
9523 if test "$no_cache" != 1; then
9524 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9527 if test "$wxUSE_PROGRESSDLG" = yes; then
9528 echo "$as_me:$LINENO: result: yes" >&5
9529 echo "${ECHO_T}yes" >&6
9531 echo "$as_me:$LINENO: result: no" >&5
9532 echo "${ECHO_T}no" >&6
9537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9540 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9541 if test "${enable_wizarddlg+set}" = set; then
9542 enableval
="$enable_wizarddlg"
9544 if test "$enableval" = yes; then
9545 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9547 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9552 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x
; then
9554 eval "DEFAULT_$LINE"
9559 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9563 eval "$ac_cv_use_wizarddlg"
9564 if test "$no_cache" != 1; then
9565 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9568 if test "$wxUSE_WIZARDDLG" = yes; then
9569 echo "$as_me:$LINENO: result: yes" >&5
9570 echo "${ECHO_T}yes" >&6
9572 echo "$as_me:$LINENO: result: no" >&5
9573 echo "${ECHO_T}no" >&6
9580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9583 # Check whether --enable-menus or --disable-menus was given.
9584 if test "${enable_menus+set}" = set; then
9585 enableval
="$enable_menus"
9587 if test "$enableval" = yes; then
9588 ac_cv_use_menus
='wxUSE_MENUS=yes'
9590 ac_cv_use_menus
='wxUSE_MENUS=no'
9595 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9596 if test "x$LINE" != x
; then
9597 eval "DEFAULT_$LINE"
9602 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9606 eval "$ac_cv_use_menus"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9611 if test "$wxUSE_MENUS" = yes; then
9612 echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6
9615 echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6
9621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9624 # Check whether --enable-miniframe or --disable-miniframe was given.
9625 if test "${enable_miniframe+set}" = set; then
9626 enableval
="$enable_miniframe"
9628 if test "$enableval" = yes; then
9629 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9631 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9636 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9637 if test "x$LINE" != x
; then
9638 eval "DEFAULT_$LINE"
9643 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9647 eval "$ac_cv_use_miniframe"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9652 if test "$wxUSE_MINIFRAME" = yes; then
9653 echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6
9656 echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9665 # Check whether --enable-tooltips or --disable-tooltips was given.
9666 if test "${enable_tooltips+set}" = set; then
9667 enableval
="$enable_tooltips"
9669 if test "$enableval" = yes; then
9670 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9672 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9677 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9678 if test "x$LINE" != x
; then
9679 eval "DEFAULT_$LINE"
9684 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9688 eval "$ac_cv_use_tooltips"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9693 if test "$wxUSE_TOOLTIPS" = yes; then
9694 echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6
9697 echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6
9703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9706 # Check whether --enable-splines or --disable-splines was given.
9707 if test "${enable_splines+set}" = set; then
9708 enableval
="$enable_splines"
9710 if test "$enableval" = yes; then
9711 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9713 ac_cv_use_splines
='wxUSE_SPLINES=no'
9718 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9719 if test "x$LINE" != x
; then
9720 eval "DEFAULT_$LINE"
9725 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9729 eval "$ac_cv_use_splines"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9734 if test "$wxUSE_SPLINES" = yes; then
9735 echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6
9738 echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6
9744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9747 # Check whether --enable-validators or --disable-validators was given.
9748 if test "${enable_validators+set}" = set; then
9749 enableval
="$enable_validators"
9751 if test "$enableval" = yes; then
9752 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9754 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9759 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9760 if test "x$LINE" != x
; then
9761 eval "DEFAULT_$LINE"
9766 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9770 eval "$ac_cv_use_validators"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9775 if test "$wxUSE_VALIDATORS" = yes; then
9776 echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6
9779 echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6
9785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9788 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9789 if test "${enable_busyinfo+set}" = set; then
9790 enableval
="$enable_busyinfo"
9792 if test "$enableval" = yes; then
9793 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9795 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9800 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9801 if test "x$LINE" != x
; then
9802 eval "DEFAULT_$LINE"
9807 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9811 eval "$ac_cv_use_busyinfo"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9816 if test "$wxUSE_BUSYINFO" = yes; then
9817 echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6
9820 echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6
9826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9829 # Check whether --enable-joystick or --disable-joystick was given.
9830 if test "${enable_joystick+set}" = set; then
9831 enableval
="$enable_joystick"
9833 if test "$enableval" = yes; then
9834 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9836 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9841 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9842 if test "x$LINE" != x
; then
9843 eval "DEFAULT_$LINE"
9848 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9852 eval "$ac_cv_use_joystick"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9857 if test "$wxUSE_JOYSTICK" = yes; then
9858 echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6
9861 echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6
9867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9870 # Check whether --enable-metafile or --disable-metafile was given.
9871 if test "${enable_metafile+set}" = set; then
9872 enableval
="$enable_metafile"
9874 if test "$enableval" = yes; then
9875 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9877 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9882 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9883 if test "x$LINE" != x
; then
9884 eval "DEFAULT_$LINE"
9889 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9893 eval "$ac_cv_use_metafile"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9898 if test "$wxUSE_METAFILE" = yes; then
9899 echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6
9902 echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6
9908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9911 # Check whether --enable-dragimage or --disable-dragimage was given.
9912 if test "${enable_dragimage+set}" = set; then
9913 enableval
="$enable_dragimage"
9915 if test "$enableval" = yes; then
9916 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9918 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9923 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9924 if test "x$LINE" != x
; then
9925 eval "DEFAULT_$LINE"
9930 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9934 eval "$ac_cv_use_dragimage"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9939 if test "$wxUSE_DRAGIMAGE" = yes; then
9940 echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6
9943 echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6
9949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9952 # Check whether --enable-accessibility or --disable-accessibility was given.
9953 if test "${enable_accessibility+set}" = set; then
9954 enableval
="$enable_accessibility"
9956 if test "$enableval" = yes; then
9957 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9959 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9964 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9965 if test "x$LINE" != x
; then
9966 eval "DEFAULT_$LINE"
9971 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9975 eval "$ac_cv_use_accessibility"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9980 if test "$wxUSE_ACCESSIBILITY" = yes; then
9981 echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6
9984 echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6
9992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9993 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9995 # Check whether --enable-palette or --disable-palette was given.
9996 if test "${enable_palette+set}" = set; then
9997 enableval
="$enable_palette"
9999 if test "$enableval" = yes; then
10000 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10002 ac_cv_use_palette
='wxUSE_PALETTE=no'
10007 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x
; then
10009 eval "DEFAULT_$LINE"
10014 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10018 eval "$ac_cv_use_palette"
10019 if test "$no_cache" != 1; then
10020 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10023 if test "$wxUSE_PALETTE" = yes; then
10024 echo "$as_me:$LINENO: result: yes" >&5
10025 echo "${ECHO_T}yes" >&6
10027 echo "$as_me:$LINENO: result: no" >&5
10028 echo "${ECHO_T}no" >&6
10033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10034 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10036 # Check whether --enable-image or --disable-image was given.
10037 if test "${enable_image+set}" = set; then
10038 enableval
="$enable_image"
10040 if test "$enableval" = yes; then
10041 ac_cv_use_image
='wxUSE_IMAGE=yes'
10043 ac_cv_use_image
='wxUSE_IMAGE=no'
10048 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10049 if test "x$LINE" != x
; then
10050 eval "DEFAULT_$LINE"
10055 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10059 eval "$ac_cv_use_image"
10060 if test "$no_cache" != 1; then
10061 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10064 if test "$wxUSE_IMAGE" = yes; then
10065 echo "$as_me:$LINENO: result: yes" >&5
10066 echo "${ECHO_T}yes" >&6
10068 echo "$as_me:$LINENO: result: no" >&5
10069 echo "${ECHO_T}no" >&6
10074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10075 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10077 # Check whether --enable-gif or --disable-gif was given.
10078 if test "${enable_gif+set}" = set; then
10079 enableval
="$enable_gif"
10081 if test "$enableval" = yes; then
10082 ac_cv_use_gif
='wxUSE_GIF=yes'
10084 ac_cv_use_gif
='wxUSE_GIF=no'
10089 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10090 if test "x$LINE" != x
; then
10091 eval "DEFAULT_$LINE"
10096 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10100 eval "$ac_cv_use_gif"
10101 if test "$no_cache" != 1; then
10102 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10105 if test "$wxUSE_GIF" = yes; then
10106 echo "$as_me:$LINENO: result: yes" >&5
10107 echo "${ECHO_T}yes" >&6
10109 echo "$as_me:$LINENO: result: no" >&5
10110 echo "${ECHO_T}no" >&6
10115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10118 # Check whether --enable-pcx or --disable-pcx was given.
10119 if test "${enable_pcx+set}" = set; then
10120 enableval
="$enable_pcx"
10122 if test "$enableval" = yes; then
10123 ac_cv_use_pcx
='wxUSE_PCX=yes'
10125 ac_cv_use_pcx
='wxUSE_PCX=no'
10130 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10131 if test "x$LINE" != x
; then
10132 eval "DEFAULT_$LINE"
10137 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10141 eval "$ac_cv_use_pcx"
10142 if test "$no_cache" != 1; then
10143 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10146 if test "$wxUSE_PCX" = yes; then
10147 echo "$as_me:$LINENO: result: yes" >&5
10148 echo "${ECHO_T}yes" >&6
10150 echo "$as_me:$LINENO: result: no" >&5
10151 echo "${ECHO_T}no" >&6
10156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10159 # Check whether --enable-iff or --disable-iff was given.
10160 if test "${enable_iff+set}" = set; then
10161 enableval
="$enable_iff"
10163 if test "$enableval" = yes; then
10164 ac_cv_use_iff
='wxUSE_IFF=yes'
10166 ac_cv_use_iff
='wxUSE_IFF=no'
10171 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10172 if test "x$LINE" != x
; then
10173 eval "DEFAULT_$LINE"
10178 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10182 eval "$ac_cv_use_iff"
10183 if test "$no_cache" != 1; then
10184 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10187 if test "$wxUSE_IFF" = yes; then
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6
10197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10200 # Check whether --enable-pnm or --disable-pnm was given.
10201 if test "${enable_pnm+set}" = set; then
10202 enableval
="$enable_pnm"
10204 if test "$enableval" = yes; then
10205 ac_cv_use_pnm
='wxUSE_PNM=yes'
10207 ac_cv_use_pnm
='wxUSE_PNM=no'
10212 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10213 if test "x$LINE" != x
; then
10214 eval "DEFAULT_$LINE"
10219 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10223 eval "$ac_cv_use_pnm"
10224 if test "$no_cache" != 1; then
10225 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10228 if test "$wxUSE_PNM" = yes; then
10229 echo "$as_me:$LINENO: result: yes" >&5
10230 echo "${ECHO_T}yes" >&6
10232 echo "$as_me:$LINENO: result: no" >&5
10233 echo "${ECHO_T}no" >&6
10238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10241 # Check whether --enable-xpm or --disable-xpm was given.
10242 if test "${enable_xpm+set}" = set; then
10243 enableval
="$enable_xpm"
10245 if test "$enableval" = yes; then
10246 ac_cv_use_xpm
='wxUSE_XPM=yes'
10248 ac_cv_use_xpm
='wxUSE_XPM=no'
10253 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10254 if test "x$LINE" != x
; then
10255 eval "DEFAULT_$LINE"
10260 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10264 eval "$ac_cv_use_xpm"
10265 if test "$no_cache" != 1; then
10266 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10269 if test "$wxUSE_XPM" = yes; then
10270 echo "$as_me:$LINENO: result: yes" >&5
10271 echo "${ECHO_T}yes" >&6
10273 echo "$as_me:$LINENO: result: no" >&5
10274 echo "${ECHO_T}no" >&6
10279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10282 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10283 if test "${enable_ico_cur+set}" = set; then
10284 enableval
="$enable_ico_cur"
10286 if test "$enableval" = yes; then
10287 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10289 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10294 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10295 if test "x$LINE" != x
; then
10296 eval "DEFAULT_$LINE"
10301 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10305 eval "$ac_cv_use_ico_cur"
10306 if test "$no_cache" != 1; then
10307 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10310 if test "$wxUSE_ICO_CUR" = yes; then
10311 echo "$as_me:$LINENO: result: yes" >&5
10312 echo "${ECHO_T}yes" >&6
10314 echo "$as_me:$LINENO: result: no" >&5
10315 echo "${ECHO_T}no" >&6
10323 # Check whether --with-flavour or --without-flavour was given.
10324 if test "${with_flavour+set}" = set; then
10325 withval
="$with_flavour"
10326 WX_FLAVOUR
="$withval"
10332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10333 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10335 # Check whether --enable-official_build or --disable-official_build was given.
10336 if test "${enable_official_build+set}" = set; then
10337 enableval
="$enable_official_build"
10339 if test "$enableval" = yes; then
10340 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10342 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10347 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10348 if test "x$LINE" != x
; then
10349 eval "DEFAULT_$LINE"
10354 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10358 eval "$ac_cv_use_official_build"
10359 if test "$no_cache" != 1; then
10360 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10363 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10364 echo "$as_me:$LINENO: result: yes" >&5
10365 echo "${ECHO_T}yes" >&6
10367 echo "$as_me:$LINENO: result: no" >&5
10368 echo "${ECHO_T}no" >&6
10371 # Check whether --enable-vendor or --disable-vendor was given.
10372 if test "${enable_vendor+set}" = set; then
10373 enableval
="$enable_vendor"
10374 VENDOR
="$enableval"
10376 if test "x$VENDOR" = "x"; then
10383 echo "saving argument cache $wx_arg_cache_file"
10384 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10388 echo "$as_me:$LINENO: checking for toolkit" >&5
10389 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10391 # In Wine, we need to default to MSW, not GTK or MOTIF
10392 if test "$wxUSE_WINE" = "yes"; then
10393 DEFAULT_DEFAULT_wxUSE_GTK
=0
10394 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10395 DEFAULT_DEFAULT_wxUSE_MSW
=1
10399 if test "$wxUSE_GUI" = "yes"; then
10401 if test "$USE_BEOS" = 1; then
10402 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10403 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10404 { (exit 1); exit 1; }; }
10407 if test "$TOOLKIT_GIVEN" = 1; then
10408 for toolkit
in `echo $ALL_TOOLKITS`; do
10410 eval "value=\$${var}"
10411 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10414 for toolkit
in `echo $ALL_TOOLKITS`; do
10415 if test "$has_toolkit_in_cache" != 1; then
10416 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10418 var
=DEFAULT_wxUSE_
$toolkit
10420 eval "wxUSE_$toolkit=\$${var}"
10424 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10425 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10426 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10429 *-pc-os2_emx | *-pc-os2-emx )
10430 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10433 case "$NUM_TOOLKITS" in
10437 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10438 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10439 { (exit 1); exit 1; }; }
10442 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10443 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10444 { (exit 1); exit 1; }; }
10447 for toolkit
in `echo $ALL_TOOLKITS`; do
10449 eval "value=\$${var}"
10450 if test "x$value" != x
; then
10451 cache_var
=CACHE_
$toolkit
10452 eval "cache=\$${cache_var}"
10453 if test "$cache" = 1; then
10454 echo "$var=$value" >> ${wx_arg_cache_file}
10456 if test "$value" = 1; then
10457 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10458 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10459 echo "${ECHO_T}$toolkit_echo" >&6
10464 if test "x$host_alias" != "x"; then
10465 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10466 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10468 echo "$as_me:$LINENO: result: base only" >&5
10469 echo "${ECHO_T}base only" >&6
10474 doesnt_want_win32
=0
10477 if test "$wxUSE_MSW" = 1 ; then
10480 doesnt_want_win32
=1
10488 if test "$wxUSE_WINE" = "yes"; then
10493 LDFLAGS_GUI
="-mwindows"
10496 if test "$wants_win32" = 1 ; then
10499 cat >>confdefs.h
<<\_ACEOF
10500 #define __WIN32__ 1
10503 cat >>confdefs.h
<<\_ACEOF
10504 #define __WIN95__ 1
10507 cat >>confdefs.h
<<\_ACEOF
10508 #define __WINDOWS__ 1
10511 cat >>confdefs.h
<<\_ACEOF
10512 #define __GNUWIN32__ 1
10515 cat >>confdefs.h
<<\_ACEOF
10519 cat >>confdefs.h
<<\_ACEOF
10520 #define WINVER 0x0400
10524 if test "$doesnt_want_win32" = 1 ; then
10529 if test "$USE_UNIX" = 1 ; then
10531 cat >>confdefs.h
<<\_ACEOF
10538 cat >confcache
<<\_ACEOF
10539 # This file is a shell script that caches the results of configure
10540 # tests run on this system so they can be shared between configure
10541 # scripts and configure runs, see configure's option --config-cache.
10542 # It is not useful on other systems. If it contains results you don't
10543 # want to keep, you may remove or edit it.
10545 # config.status only pays attention to the cache file if you give it
10546 # the --recheck option to rerun configure.
10548 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10549 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10550 # following values.
10554 # The following way of writing the cache mishandles newlines in values,
10555 # but we know of no workaround that is simple, portable, and efficient.
10556 # So, don't put newlines in cache variables' values.
10557 # Ultrix sh set writes to stderr and can't be redirected directly,
10558 # and sets the high bit in the cache file unless we assign to the vars.
10561 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10563 # `set' does not quote correctly, so add quotes (double-quote
10564 # substitution turns \\\\ into \\, and sed turns \\ into \).
10567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10570 # `set' quotes correctly as required by POSIX, so do not add quotes.
10572 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10579 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10581 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10583 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10584 if test -w $cache_file; then
10585 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10586 cat confcache
>$cache_file
10588 echo "not updating unwritable cache $cache_file"
10593 if test "$build" != "$host" ; then
10594 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10596 CXX
=$host_alias-c++
10598 RANLIB
=$host_alias-ranlib
10599 DLLTOOL
=$host_alias-dlltool
10600 RESCOMP
=$host_alias-windres
10601 STRIP
=$host_alias-strip
10602 elif test "x$CC" '!=' "x"; then
10603 echo "You set CC, I assume you know what you are doing."
10605 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10606 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10607 { (exit 1); exit 1; }; }
10615 ac_cpp
='$CPP $CPPFLAGS'
10616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10619 if test -n "$ac_tool_prefix"; then
10620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10621 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10622 echo "$as_me:$LINENO: checking for $ac_word" >&5
10623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10624 if test "${ac_cv_prog_CC+set}" = set; then
10625 echo $ECHO_N "(cached) $ECHO_C" >&6
10627 if test -n "$CC"; then
10628 ac_cv_prog_CC
="$CC" # Let the user override the test.
10630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10631 for as_dir
in $PATH
10634 test -z "$as_dir" && as_dir
=.
10635 for ac_exec_ext
in '' $ac_executable_extensions; do
10636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10637 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10647 if test -n "$CC"; then
10648 echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10656 if test -z "$ac_cv_prog_CC"; then
10658 # Extract the first word of "gcc", so it can be a program name with args.
10659 set dummy gcc
; ac_word
=$2
10660 echo "$as_me:$LINENO: checking for $ac_word" >&5
10661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10665 if test -n "$ac_ct_CC"; then
10666 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10669 for as_dir
in $PATH
10672 test -z "$as_dir" && as_dir
=.
10673 for ac_exec_ext
in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_ac_ct_CC
="gcc"
10676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10684 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10685 if test -n "$ac_ct_CC"; then
10686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10687 echo "${ECHO_T}$ac_ct_CC" >&6
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10695 CC
="$ac_cv_prog_CC"
10698 if test -z "$CC"; then
10699 if test -n "$ac_tool_prefix"; then
10700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10701 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10702 echo "$as_me:$LINENO: checking for $ac_word" >&5
10703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10704 if test "${ac_cv_prog_CC+set}" = set; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 if test -n "$CC"; then
10708 ac_cv_prog_CC
="$CC" # Let the user override the test.
10710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10711 for as_dir
in $PATH
10714 test -z "$as_dir" && as_dir
=.
10715 for ac_exec_ext
in '' $ac_executable_extensions; do
10716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10717 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10727 if test -n "$CC"; then
10728 echo "$as_me:$LINENO: result: $CC" >&5
10729 echo "${ECHO_T}$CC" >&6
10731 echo "$as_me:$LINENO: result: no" >&5
10732 echo "${ECHO_T}no" >&6
10736 if test -z "$ac_cv_prog_CC"; then
10738 # Extract the first word of "cc", so it can be a program name with args.
10739 set dummy cc
; ac_word
=$2
10740 echo "$as_me:$LINENO: checking for $ac_word" >&5
10741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10742 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 if test -n "$ac_ct_CC"; then
10746 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10749 for as_dir
in $PATH
10752 test -z "$as_dir" && as_dir
=.
10753 for ac_exec_ext
in '' $ac_executable_extensions; do
10754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10755 ac_cv_prog_ac_ct_CC
="cc"
10756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10764 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10765 if test -n "$ac_ct_CC"; then
10766 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10767 echo "${ECHO_T}$ac_ct_CC" >&6
10769 echo "$as_me:$LINENO: result: no" >&5
10770 echo "${ECHO_T}no" >&6
10775 CC
="$ac_cv_prog_CC"
10779 if test -z "$CC"; then
10780 # Extract the first word of "cc", so it can be a program name with args.
10781 set dummy cc
; ac_word
=$2
10782 echo "$as_me:$LINENO: checking for $ac_word" >&5
10783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10784 if test "${ac_cv_prog_CC+set}" = set; then
10785 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 if test -n "$CC"; then
10788 ac_cv_prog_CC
="$CC" # Let the user override the test.
10790 ac_prog_rejected
=no
10791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10792 for as_dir
in $PATH
10795 test -z "$as_dir" && as_dir
=.
10796 for ac_exec_ext
in '' $ac_executable_extensions; do
10797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10798 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10799 ac_prog_rejected
=yes
10803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10809 if test $ac_prog_rejected = yes; then
10810 # We found a bogon in the path, so make sure we never use it.
10811 set dummy
$ac_cv_prog_CC
10813 if test $# != 0; then
10814 # We chose a different compiler from the bogus one.
10815 # However, it has the same basename, so the bogon will be chosen
10816 # first if we set CC to just the basename; use the full file name.
10818 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10824 if test -n "$CC"; then
10825 echo "$as_me:$LINENO: result: $CC" >&5
10826 echo "${ECHO_T}$CC" >&6
10828 echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6
10833 if test -z "$CC"; then
10834 if test -n "$ac_tool_prefix"; then
10837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10838 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10839 echo "$as_me:$LINENO: checking for $ac_word" >&5
10840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10841 if test "${ac_cv_prog_CC+set}" = set; then
10842 echo $ECHO_N "(cached) $ECHO_C" >&6
10844 if test -n "$CC"; then
10845 ac_cv_prog_CC
="$CC" # Let the user override the test.
10847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10848 for as_dir
in $PATH
10851 test -z "$as_dir" && as_dir
=.
10852 for ac_exec_ext
in '' $ac_executable_extensions; do
10853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10854 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10864 if test -n "$CC"; then
10865 echo "$as_me:$LINENO: result: $CC" >&5
10866 echo "${ECHO_T}$CC" >&6
10868 echo "$as_me:$LINENO: result: no" >&5
10869 echo "${ECHO_T}no" >&6
10872 test -n "$CC" && break
10875 if test -z "$CC"; then
10879 # Extract the first word of "$ac_prog", so it can be a program name with args.
10880 set dummy
$ac_prog; ac_word
=$2
10881 echo "$as_me:$LINENO: checking for $ac_word" >&5
10882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10886 if test -n "$ac_ct_CC"; then
10887 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10890 for as_dir
in $PATH
10893 test -z "$as_dir" && as_dir
=.
10894 for ac_exec_ext
in '' $ac_executable_extensions; do
10895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10896 ac_cv_prog_ac_ct_CC
="$ac_prog"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10905 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10906 if test -n "$ac_ct_CC"; then
10907 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10908 echo "${ECHO_T}$ac_ct_CC" >&6
10910 echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6
10914 test -n "$ac_ct_CC" && break
10923 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10924 See \`config.log' for more details." >&5
10925 echo "$as_me: error: no acceptable C compiler found in \$PATH
10926 See \`config.log' for more details." >&2;}
10927 { (exit 1); exit 1; }; }
10929 # Provide some information about the compiler.
10930 echo "$as_me:$LINENO:" \
10931 "checking for C compiler version" >&5
10932 ac_compiler
=`set X $ac_compile; echo $2`
10933 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10934 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }
10938 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10939 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }
10943 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10944 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }
10949 cat >conftest.
$ac_ext <<_ACEOF
10952 cat confdefs.h
>>conftest.
$ac_ext
10953 cat >>conftest.
$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10964 ac_clean_files_save
=$ac_clean_files
10965 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10966 # Try to create an executable without -o first, disregard a.out.
10967 # It will help us diagnose broken compilers, and finding out an intuition
10969 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10970 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10971 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10972 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10973 (eval $ac_link_default) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; then
10977 # Find the output, starting from the most likely. This scheme is
10978 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10981 # Be careful to initialize this variable, since it used to be cached.
10982 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10984 # b.out is created by i960 compilers.
10985 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10987 test -f "$ac_file" || continue
10989 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10992 # This is the source file.
10995 # We found the default executable, but exeext='' is most
10999 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11000 # FIXME: I believe we export ac_cv_exeext for Libtool,
11001 # but it would be cool to find out if it's true. Does anybody
11002 # maintain Libtool? --akim.
11003 export ac_cv_exeext
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.
$ac_ext >&5
11013 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11014 See \`config.log' for more details." >&5
11015 echo "$as_me: error: C compiler cannot create executables
11016 See \`config.log' for more details." >&2;}
11017 { (exit 77); exit 77; }; }
11020 ac_exeext
=$ac_cv_exeext
11021 echo "$as_me:$LINENO: result: $ac_file" >&5
11022 echo "${ECHO_T}$ac_file" >&6
11024 # Check the compiler produces executables we can run. If not, either
11025 # the compiler is broken, or we cross compile.
11026 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11027 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11028 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11029 # If not cross compiling, check that we can run a simple program.
11030 if test "$cross_compiling" != yes; then
11031 if { ac_try
='./$ac_file'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11039 if test "$cross_compiling" = maybe
; then
11040 cross_compiling
=yes
11042 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11043 If you meant to cross compile, use \`--host'.
11044 See \`config.log' for more details." >&5
11045 echo "$as_me: error: cannot run C compiled programs.
11046 If you meant to cross compile, use \`--host'.
11047 See \`config.log' for more details." >&2;}
11048 { (exit 1); exit 1; }; }
11052 echo "$as_me:$LINENO: result: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11055 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11056 ac_clean_files
=$ac_clean_files_save
11057 # Check the compiler produces executables we can run. If not, either
11058 # the compiler is broken, or we cross compile.
11059 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11060 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11061 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11062 echo "${ECHO_T}$cross_compiling" >&6
11064 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11065 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11067 (eval $ac_link) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; then
11071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11073 # work properly (i.e., refer to `conftest.exe'), while it won't with
11075 for ac_file
in conftest.exe conftest conftest.
*; do
11076 test -f "$ac_file" || continue
11078 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11079 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11080 export ac_cv_exeext
11086 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11087 See \`config.log' for more details." >&5
11088 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11089 See \`config.log' for more details." >&2;}
11090 { (exit 1); exit 1; }; }
11093 rm -f conftest
$ac_cv_exeext
11094 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11095 echo "${ECHO_T}$ac_cv_exeext" >&6
11097 rm -f conftest.
$ac_ext
11098 EXEEXT
=$ac_cv_exeext
11100 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11101 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11102 if test "${ac_cv_objext+set}" = set; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 cat >conftest.
$ac_ext <<_ACEOF
11108 cat confdefs.h
>>conftest.
$ac_ext
11109 cat >>conftest.
$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11120 rm -f conftest.o conftest.obj
11121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11122 (eval $ac_compile) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; then
11126 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11128 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11129 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11134 echo "$as_me: failed program was:" >&5
11135 sed 's/^/| /' conftest.
$ac_ext >&5
11137 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11138 See \`config.log' for more details." >&5
11139 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11140 See \`config.log' for more details." >&2;}
11141 { (exit 1); exit 1; }; }
11144 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11146 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11147 echo "${ECHO_T}$ac_cv_objext" >&6
11148 OBJEXT
=$ac_cv_objext
11150 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11151 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11152 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11153 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 cat >conftest.
$ac_ext <<_ACEOF
11158 cat confdefs.h
>>conftest.
$ac_ext
11159 cat >>conftest.
$ac_ext <<_ACEOF
11160 /* end confdefs.h. */
11173 rm -f conftest.
$ac_objext
11174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11175 (eval $ac_compile) 2>conftest.er1
11177 grep -v '^ *+' conftest.er1
>conftest.err
11179 cat conftest.err
>&5
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); } &&
11182 { ac_try
='test -z "$ac_c_werror_flag"
11183 || test ! -s conftest.err'
11184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 (eval $ac_try) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; } &&
11189 { ac_try
='test -s conftest.$ac_objext'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11195 ac_compiler_gnu
=yes
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.
$ac_ext >&5
11202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11203 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11206 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11207 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11208 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11209 ac_test_CFLAGS
=${CFLAGS+set}
11210 ac_save_CFLAGS
=$CFLAGS
11212 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11213 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11214 if test "${ac_cv_prog_cc_g+set}" = set; then
11215 echo $ECHO_N "(cached) $ECHO_C" >&6
11217 cat >conftest.
$ac_ext <<_ACEOF
11220 cat confdefs.h
>>conftest.
$ac_ext
11221 cat >>conftest.
$ac_ext <<_ACEOF
11222 /* end confdefs.h. */
11232 rm -f conftest.
$ac_objext
11233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11234 (eval $ac_compile) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1
>conftest.err
11238 cat conftest.err
>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } &&
11241 { ac_try
='test -z "$ac_c_werror_flag"
11242 || test ! -s conftest.err'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; } &&
11248 { ac_try
='test -s conftest.$ac_objext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_cv_prog_cc_g
=yes
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.
$ac_ext >&5
11261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11263 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11264 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11265 if test "$ac_test_CFLAGS" = set; then
11266 CFLAGS
=$ac_save_CFLAGS
11267 elif test $ac_cv_prog_cc_g = yes; then
11268 if test "$GCC" = yes; then
11274 if test "$GCC" = yes; then
11280 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11281 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11282 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 ac_cv_prog_cc_stdc
=no
11287 cat >conftest.
$ac_ext <<_ACEOF
11290 cat confdefs.h
>>conftest.
$ac_ext
11291 cat >>conftest.
$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11293 #include <stdarg.h>
11295 #include <sys/types.h>
11296 #include <sys/stat.h>
11297 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11298 struct buf { int x; };
11299 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11300 static char *e (p, i)
11306 static char *f (char * (*g) (char **, int), char **p, ...)
11311 s = g (p, va_arg (v,int));
11316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11317 function prototypes and stuff, but not '\xHH' hex character constants.
11318 These don't provoke an error unfortunately, instead are silently treated
11319 as 'x'. The following induces an error, until -std1 is added to get
11320 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11321 array size at least. It's necessary to write '\x00'==0 to get something
11322 that's true only with -std1. */
11323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11325 int test (int i, double x);
11326 struct s1 {int (*f) (int a);};
11327 struct s2 {int (*f) (double a);};
11328 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11334 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11339 # Don't try gcc -ansi; that turns off useful extensions and
11340 # breaks some systems' header files.
11341 # AIX -qlanglvl=ansi
11342 # Ultrix and OSF/1 -std1
11343 # HP-UX 10.20 and later -Ae
11344 # HP-UX older versions -Aa -D_HPUX_SOURCE
11345 # SVR4 -Xc -D__EXTENSIONS__
11346 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11348 CC
="$ac_save_CC $ac_arg"
11349 rm -f conftest.
$ac_objext
11350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11351 (eval $ac_compile) 2>conftest.er1
11353 grep -v '^ *+' conftest.er1
>conftest.err
11355 cat conftest.err
>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); } &&
11358 { ac_try
='test -z "$ac_c_werror_flag"
11359 || test ! -s conftest.err'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; } &&
11365 { ac_try
='test -s conftest.$ac_objext'
11366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11367 (eval $ac_try) 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then
11371 ac_cv_prog_cc_stdc
=$ac_arg
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.
$ac_ext >&5
11378 rm -f conftest.err conftest.
$ac_objext
11380 rm -f conftest.
$ac_ext conftest.
$ac_objext
11385 case "x$ac_cv_prog_cc_stdc" in
11387 echo "$as_me:$LINENO: result: none needed" >&5
11388 echo "${ECHO_T}none needed" >&6 ;;
11390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11391 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11392 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11395 # Some people use a C++ compiler to compile C. Since we use `exit',
11396 # in C++ we need to declare it. In case someone uses the same compiler
11397 # for both compiling C and C++ we need to have the C++ compiler decide
11398 # the declaration of exit, since it's the most demanding environment.
11399 cat >conftest.
$ac_ext <<_ACEOF
11400 #ifndef __cplusplus
11404 rm -f conftest.
$ac_objext
11405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11406 (eval $ac_compile) 2>conftest.er1
11408 grep -v '^ *+' conftest.er1
>conftest.err
11410 cat conftest.err
>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } &&
11413 { ac_try
='test -z "$ac_c_werror_flag"
11414 || test ! -s conftest.err'
11415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11416 (eval $ac_try) 2>&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); }; } &&
11420 { ac_try
='test -s conftest.$ac_objext'
11421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5
11424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then
11426 for ac_declaration
in \
11428 'extern "C" void std::exit (int) throw (); using std::exit;' \
11429 'extern "C" void std::exit (int); using std::exit;' \
11430 'extern "C" void exit (int) throw ();' \
11431 'extern "C" void exit (int);' \
11434 cat >conftest.
$ac_ext <<_ACEOF
11437 cat confdefs.h
>>conftest.
$ac_ext
11438 cat >>conftest.
$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11441 #include <stdlib.h>
11450 rm -f conftest.
$ac_objext
11451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11452 (eval $ac_compile) 2>conftest.er1
11454 grep -v '^ *+' conftest.er1
>conftest.err
11456 cat conftest.err
>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try
='test -z "$ac_c_werror_flag"
11460 || test ! -s conftest.err'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; } &&
11466 { ac_try
='test -s conftest.$ac_objext'
11467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11468 (eval $ac_try) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); }; }; then
11474 echo "$as_me: failed program was:" >&5
11475 sed 's/^/| /' conftest.
$ac_ext >&5
11479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11480 cat >conftest.
$ac_ext <<_ACEOF
11483 cat confdefs.h
>>conftest.
$ac_ext
11484 cat >>conftest.
$ac_ext <<_ACEOF
11485 /* end confdefs.h. */
11495 rm -f conftest.
$ac_objext
11496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11497 (eval $ac_compile) 2>conftest.er1
11499 grep -v '^ *+' conftest.er1
>conftest.err
11501 cat conftest.err
>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); } &&
11504 { ac_try
='test -z "$ac_c_werror_flag"
11505 || test ! -s conftest.err'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; } &&
11511 { ac_try
='test -s conftest.$ac_objext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.
$ac_ext >&5
11523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11526 if test -n "$ac_declaration"; then
11527 echo '#ifdef __cplusplus' >>confdefs.h
11528 echo $ac_declaration >>confdefs.h
11529 echo '#endif' >>confdefs.h
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11539 ac_cpp
='$CPP $CPPFLAGS'
11540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11544 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11545 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11546 if test "${wx_cv_c_exto+set}" = set; then
11547 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 cat >conftest.
$ac_ext <<_ACEOF
11552 cat confdefs.h
>>conftest.
$ac_ext
11553 cat >>conftest.
$ac_ext <<_ACEOF
11554 /* end confdefs.h. */
11564 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11566 (eval $ac_compile) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; then
11570 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11572 conftest.
$ac_ext.o
)
11573 wx_cv_c_exto
="-ext o"
11580 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11581 See \`config.log' for more details." >&5
11582 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11583 See \`config.log' for more details." >&2;}
11584 { (exit 1); exit 1; }; }
11588 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11591 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11592 echo "${ECHO_T}$wx_cv_c_exto" >&6
11593 if test "x$wx_cv_c_exto" '!=' "x"; then
11594 if test "c" = "c"; then
11595 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11597 if test "c" = "cxx"; then
11598 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11602 if test "x$wx_cv_c_exto" '!=' "x"; then
11603 unset ac_cv_prog_cc_g
11604 ac_test_CFLAGS
=${CFLAGS+set}
11605 ac_save_CFLAGS
=$CFLAGS
11607 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11608 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11609 if test "${ac_cv_prog_cc_g+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 cat >conftest.
$ac_ext <<_ACEOF
11615 cat confdefs.h
>>conftest.
$ac_ext
11616 cat >>conftest.
$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11627 rm -f conftest.
$ac_objext
11628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11629 (eval $ac_compile) 2>conftest.er1
11631 grep -v '^ *+' conftest.er1
>conftest.err
11633 cat conftest.err
>&5
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); } &&
11636 { ac_try
='test -z "$ac_c_werror_flag"
11637 || test ! -s conftest.err'
11638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11639 (eval $ac_try) 2>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); }; } &&
11643 { ac_try
='test -s conftest.$ac_objext'
11644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11645 (eval $ac_try) 2>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ac_cv_prog_cc_g
=yes
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.
$ac_ext >&5
11656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11658 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11659 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11660 if test "$ac_test_CFLAGS" = set; then
11661 CFLAGS
=$ac_save_CFLAGS
11662 elif test $ac_cv_prog_cc_g = yes; then
11663 if test "$GCC" = yes; then
11669 if test "$GCC" = yes; then
11677 ac_cpp
='$CPP $CPPFLAGS'
11678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11682 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11683 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11684 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 cat >conftest.
$ac_ext <<_ACEOF
11690 cat confdefs.h
>>conftest.
$ac_ext
11691 cat >>conftest.
$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11705 rm -f conftest.
$ac_objext
11706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11707 (eval $ac_compile) 2>conftest.er1
11709 grep -v '^ *+' conftest.er1
>conftest.err
11711 cat conftest.err
>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); } &&
11714 { ac_try
='test -z "$ac_c_werror_flag"
11715 || test ! -s conftest.err'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; } &&
11721 { ac_try
='test -s conftest.$ac_objext'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; }; then
11727 bakefile_compiler_mwerks
=yes
11729 echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.
$ac_ext >&5
11732 bakefile_compiler_mwerks
=no
11734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11735 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11738 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11739 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11741 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11743 ac_cpp
='$CPP $CPPFLAGS'
11744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11750 ac_cpp
='$CPP $CPPFLAGS'
11751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11755 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11756 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11757 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 cat >conftest.
$ac_ext <<_ACEOF
11763 cat confdefs.h
>>conftest.
$ac_ext
11764 cat >>conftest.
$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11778 rm -f conftest.
$ac_objext
11779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11780 (eval $ac_compile) 2>conftest.er1
11782 grep -v '^ *+' conftest.er1
>conftest.err
11784 cat conftest.err
>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try
='test -z "$ac_c_werror_flag"
11788 || test ! -s conftest.err'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; } &&
11794 { ac_try
='test -s conftest.$ac_objext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 wx_compiler_xlc
=yes
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.
$ac_ext >&5
11807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11808 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11811 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11812 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11814 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11816 ac_cpp
='$CPP $CPPFLAGS'
11817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 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
11829 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11830 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11831 # On Suns, sometimes $CPP names a directory.
11832 if test -n "$CPP" && test -d "$CPP"; then
11835 if test -z "$CPP"; then
11836 if test "${ac_cv_prog_CPP+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 # Double quotes because CPP needs to be expanded
11840 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11842 ac_preproc_ok
=false
11843 for ac_c_preproc_warn_flag
in '' yes
11845 # Use a header file that comes with gcc, so configuring glibc
11846 # with a fresh cross-compiler works.
11847 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11848 # <limits.h> exists even on freestanding compilers.
11849 # On the NeXT, cc -E runs the code through the compiler's parser,
11850 # not just through cpp. "Syntax error" is here to catch this case.
11851 cat >conftest.
$ac_ext <<_ACEOF
11854 cat confdefs.h
>>conftest.
$ac_ext
11855 cat >>conftest.
$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11858 # include <limits.h>
11860 # include <assert.h>
11864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11867 grep -v '^ *+' conftest.er1
>conftest.err
11869 cat conftest.err
>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } >/dev
/null
; then
11872 if test -s conftest.err
; then
11873 ac_cpp_err
=$ac_c_preproc_warn_flag
11874 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11881 if test -z "$ac_cpp_err"; then
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.
$ac_ext >&5
11887 # Broken: fails on valid input.
11890 rm -f conftest.err conftest.
$ac_ext
11892 # OK, works on sane cases. Now check whether non-existent headers
11893 # can be detected and how.
11894 cat >conftest.
$ac_ext <<_ACEOF
11897 cat confdefs.h
>>conftest.
$ac_ext
11898 cat >>conftest.
$ac_ext <<_ACEOF
11899 /* end confdefs.h. */
11900 #include <ac_nonexistent.h>
11902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11905 grep -v '^ *+' conftest.er1
>conftest.err
11907 cat conftest.err
>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); } >/dev
/null
; then
11910 if test -s conftest.err
; then
11911 ac_cpp_err
=$ac_c_preproc_warn_flag
11912 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11919 if test -z "$ac_cpp_err"; then
11920 # Broken: success on invalid input.
11923 echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.
$ac_ext >&5
11926 # Passes both tests.
11930 rm -f conftest.err conftest.
$ac_ext
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.
$ac_ext
11935 if $ac_preproc_ok; then
11940 ac_cv_prog_CPP
=$CPP
11943 CPP
=$ac_cv_prog_CPP
11945 ac_cv_prog_CPP
=$CPP
11947 echo "$as_me:$LINENO: result: $CPP" >&5
11948 echo "${ECHO_T}$CPP" >&6
11949 ac_preproc_ok
=false
11950 for ac_c_preproc_warn_flag
in '' yes
11952 # Use a header file that comes with gcc, so configuring glibc
11953 # with a fresh cross-compiler works.
11954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11955 # <limits.h> exists even on freestanding compilers.
11956 # On the NeXT, cc -E runs the code through the compiler's parser,
11957 # not just through cpp. "Syntax error" is here to catch this case.
11958 cat >conftest.
$ac_ext <<_ACEOF
11961 cat confdefs.h
>>conftest.
$ac_ext
11962 cat >>conftest.
$ac_ext <<_ACEOF
11963 /* end confdefs.h. */
11965 # include <limits.h>
11967 # include <assert.h>
11971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11972 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11974 grep -v '^ *+' conftest.er1
>conftest.err
11976 cat conftest.err
>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); } >/dev
/null
; then
11979 if test -s conftest.err
; then
11980 ac_cpp_err
=$ac_c_preproc_warn_flag
11981 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11988 if test -z "$ac_cpp_err"; then
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.
$ac_ext >&5
11994 # Broken: fails on valid input.
11997 rm -f conftest.err conftest.
$ac_ext
11999 # OK, works on sane cases. Now check whether non-existent headers
12000 # can be detected and how.
12001 cat >conftest.
$ac_ext <<_ACEOF
12004 cat confdefs.h
>>conftest.
$ac_ext
12005 cat >>conftest.
$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12007 #include <ac_nonexistent.h>
12009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12012 grep -v '^ *+' conftest.er1
>conftest.err
12014 cat conftest.err
>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } >/dev
/null
; then
12017 if test -s conftest.err
; then
12018 ac_cpp_err
=$ac_c_preproc_warn_flag
12019 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12026 if test -z "$ac_cpp_err"; then
12027 # Broken: success on invalid input.
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.
$ac_ext >&5
12033 # Passes both tests.
12037 rm -f conftest.err conftest.
$ac_ext
12040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12041 rm -f conftest.err conftest.
$ac_ext
12042 if $ac_preproc_ok; then
12045 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12046 See \`config.log' for more details." >&5
12047 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12048 See \`config.log' for more details." >&2;}
12049 { (exit 1); exit 1; }; }
12053 ac_cpp
='$CPP $CPPFLAGS'
12054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12059 echo "$as_me:$LINENO: checking for egrep" >&5
12060 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12061 if test "${ac_cv_prog_egrep+set}" = set; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12065 then ac_cv_prog_egrep
='grep -E'
12066 else ac_cv_prog_egrep
='egrep'
12069 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12070 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12071 EGREP
=$ac_cv_prog_egrep
12074 if test $ac_cv_c_compiler_gnu = yes; then
12075 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12076 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12077 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 ac_pattern
="Autoconf.*'x'"
12081 cat >conftest.
$ac_ext <<_ACEOF
12084 cat confdefs.h
>>conftest.
$ac_ext
12085 cat >>conftest.
$ac_ext <<_ACEOF
12086 /* end confdefs.h. */
12090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12091 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12092 ac_cv_prog_gcc_traditional
=yes
12094 ac_cv_prog_gcc_traditional
=no
12099 if test $ac_cv_prog_gcc_traditional = no
; then
12100 cat >conftest.
$ac_ext <<_ACEOF
12103 cat confdefs.h
>>conftest.
$ac_ext
12104 cat >>conftest.
$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12106 #include <termio.h>
12109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12110 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12111 ac_cv_prog_gcc_traditional
=yes
12117 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12118 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12119 if test $ac_cv_prog_gcc_traditional = yes; then
12120 CC
="$CC -traditional"
12128 ac_cpp
='$CXXCPP $CPPFLAGS'
12129 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12134 CXXFLAGS
=${CXXFLAGS:=}
12138 ac_cpp
='$CXXCPP $CPPFLAGS'
12139 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12140 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12141 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12142 if test -n "$ac_tool_prefix"; then
12143 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12146 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12147 echo "$as_me:$LINENO: checking for $ac_word" >&5
12148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12149 if test "${ac_cv_prog_CXX+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 if test -n "$CXX"; then
12153 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12156 for as_dir
in $PATH
12159 test -z "$as_dir" && as_dir
=.
12160 for ac_exec_ext
in '' $ac_executable_extensions; do
12161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12162 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12171 CXX
=$ac_cv_prog_CXX
12172 if test -n "$CXX"; then
12173 echo "$as_me:$LINENO: result: $CXX" >&5
12174 echo "${ECHO_T}$CXX" >&6
12176 echo "$as_me:$LINENO: result: no" >&5
12177 echo "${ECHO_T}no" >&6
12180 test -n "$CXX" && break
12183 if test -z "$CXX"; then
12185 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12187 # Extract the first word of "$ac_prog", so it can be a program name with args.
12188 set dummy
$ac_prog; ac_word
=$2
12189 echo "$as_me:$LINENO: checking for $ac_word" >&5
12190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12191 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 if test -n "$ac_ct_CXX"; then
12195 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12198 for as_dir
in $PATH
12201 test -z "$as_dir" && as_dir
=.
12202 for ac_exec_ext
in '' $ac_executable_extensions; do
12203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12204 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12213 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12214 if test -n "$ac_ct_CXX"; then
12215 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12216 echo "${ECHO_T}$ac_ct_CXX" >&6
12218 echo "$as_me:$LINENO: result: no" >&5
12219 echo "${ECHO_T}no" >&6
12222 test -n "$ac_ct_CXX" && break
12224 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12230 # Provide some information about the compiler.
12231 echo "$as_me:$LINENO:" \
12232 "checking for C++ compiler version" >&5
12233 ac_compiler
=`set X $ac_compile; echo $2`
12234 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12235 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); }
12239 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12240 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243 (exit $ac_status); }
12244 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12245 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }
12250 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12251 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12252 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 cat >conftest.
$ac_ext <<_ACEOF
12258 cat confdefs.h
>>conftest.
$ac_ext
12259 cat >>conftest.
$ac_ext <<_ACEOF
12260 /* end confdefs.h. */
12273 rm -f conftest.
$ac_objext
12274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12275 (eval $ac_compile) 2>conftest.er1
12277 grep -v '^ *+' conftest.er1
>conftest.err
12279 cat conftest.err
>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } &&
12282 { ac_try
='test -z "$ac_cxx_werror_flag"
12283 || test ! -s conftest.err'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; } &&
12289 { ac_try
='test -s conftest.$ac_objext'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; }; then
12295 ac_compiler_gnu
=yes
12297 echo "$as_me: failed program was:" >&5
12298 sed 's/^/| /' conftest.
$ac_ext >&5
12302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12303 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12306 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12307 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12308 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12309 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12310 ac_save_CXXFLAGS
=$CXXFLAGS
12312 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12313 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12314 if test "${ac_cv_prog_cxx_g+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 cat >conftest.
$ac_ext <<_ACEOF
12320 cat confdefs.h
>>conftest.
$ac_ext
12321 cat >>conftest.
$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12332 rm -f conftest.
$ac_objext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>conftest.er1
12336 grep -v '^ *+' conftest.er1
>conftest.err
12338 cat conftest.err
>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } &&
12341 { ac_try
='test -z "$ac_cxx_werror_flag"
12342 || test ! -s conftest.err'
12343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 (eval $ac_try) 2>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); }; } &&
12348 { ac_try
='test -s conftest.$ac_objext'
12349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 (eval $ac_try) 2>&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); }; }; then
12354 ac_cv_prog_cxx_g
=yes
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.
$ac_ext >&5
12359 ac_cv_prog_cxx_g
=no
12361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12363 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12364 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12365 if test "$ac_test_CXXFLAGS" = set; then
12366 CXXFLAGS
=$ac_save_CXXFLAGS
12367 elif test $ac_cv_prog_cxx_g = yes; then
12368 if test "$GXX" = yes; then
12374 if test "$GXX" = yes; then
12380 for ac_declaration
in \
12382 'extern "C" void std::exit (int) throw (); using std::exit;' \
12383 'extern "C" void std::exit (int); using std::exit;' \
12384 'extern "C" void exit (int) throw ();' \
12385 'extern "C" void exit (int);' \
12388 cat >conftest.
$ac_ext <<_ACEOF
12391 cat confdefs.h
>>conftest.
$ac_ext
12392 cat >>conftest.
$ac_ext <<_ACEOF
12393 /* end confdefs.h. */
12395 #include <stdlib.h>
12404 rm -f conftest.
$ac_objext
12405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12406 (eval $ac_compile) 2>conftest.er1
12408 grep -v '^ *+' conftest.er1
>conftest.err
12410 cat conftest.err
>&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } &&
12413 { ac_try
='test -z "$ac_cxx_werror_flag"
12414 || 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
12428 echo "$as_me: failed program was:" >&5
12429 sed 's/^/| /' conftest.
$ac_ext >&5
12433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12434 cat >conftest.
$ac_ext <<_ACEOF
12437 cat confdefs.h
>>conftest.
$ac_ext
12438 cat >>conftest.
$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12449 rm -f conftest.
$ac_objext
12450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12451 (eval $ac_compile) 2>conftest.er1
12453 grep -v '^ *+' conftest.er1
>conftest.err
12455 cat conftest.err
>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); } &&
12458 { ac_try
='test -z "$ac_cxx_werror_flag"
12459 || test ! -s conftest.err'
12460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12461 (eval $ac_try) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); }; } &&
12465 { ac_try
='test -s conftest.$ac_objext'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; }; then
12473 echo "$as_me: failed program was:" >&5
12474 sed 's/^/| /' conftest.
$ac_ext >&5
12477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12480 if test -n "$ac_declaration"; then
12481 echo '#ifdef __cplusplus' >>confdefs.h
12482 echo $ac_declaration >>confdefs.h
12483 echo '#endif' >>confdefs.h
12487 ac_cpp
='$CXXCPP $CPPFLAGS'
12488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12492 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12493 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12494 if test "${wx_cv_cxx_exto+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 cat >conftest.
$ac_ext <<_ACEOF
12500 cat confdefs.h
>>conftest.
$ac_ext
12501 cat >>conftest.
$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12512 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12514 (eval $ac_compile) 2>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; then
12518 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12520 conftest.
$ac_ext.o
)
12521 wx_cv_cxx_exto
="-ext o"
12528 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12529 See \`config.log' for more details." >&5
12530 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12531 See \`config.log' for more details." >&2;}
12532 { (exit 1); exit 1; }; }
12536 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12539 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12540 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12541 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12542 if test "cxx" = "c"; then
12543 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12545 if test "cxx" = "cxx"; then
12546 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12550 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12551 unset ac_cv_prog_cxx_g
12552 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12553 ac_save_CXXFLAGS
=$CXXFLAGS
12555 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12556 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12557 if test "${ac_cv_prog_cxx_g+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 cat >conftest.
$ac_ext <<_ACEOF
12563 cat confdefs.h
>>conftest.
$ac_ext
12564 cat >>conftest.
$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12575 rm -f conftest.
$ac_objext
12576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12577 (eval $ac_compile) 2>conftest.er1
12579 grep -v '^ *+' conftest.er1
>conftest.err
12581 cat conftest.err
>&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } &&
12584 { ac_try
='test -z "$ac_cxx_werror_flag"
12585 || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try
='test -s conftest.$ac_objext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12597 ac_cv_prog_cxx_g
=yes
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.
$ac_ext >&5
12602 ac_cv_prog_cxx_g
=no
12604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12606 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12607 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12608 if test "$ac_test_CXXFLAGS" = set; then
12609 CXXFLAGS
=$ac_save_CXXFLAGS
12610 elif test $ac_cv_prog_cxx_g = yes; then
12611 if test "$GXX" = yes; then
12617 if test "$GXX" = yes; then
12625 ac_cpp
='$CXXCPP $CPPFLAGS'
12626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12630 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12631 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12632 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12633 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 cat >conftest.
$ac_ext <<_ACEOF
12638 cat confdefs.h
>>conftest.
$ac_ext
12639 cat >>conftest.
$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12653 rm -f conftest.
$ac_objext
12654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12655 (eval $ac_compile) 2>conftest.er1
12657 grep -v '^ *+' conftest.er1
>conftest.err
12659 cat conftest.err
>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } &&
12662 { ac_try
='test -z "$ac_cxx_werror_flag"
12663 || test ! -s conftest.err'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; } &&
12669 { ac_try
='test -s conftest.$ac_objext'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; }; then
12675 bakefile_compiler_mwerks
=yes
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.
$ac_ext >&5
12680 bakefile_compiler_mwerks
=no
12682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12683 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12686 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12687 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12689 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12691 ac_cpp
='$CXXCPP $CPPFLAGS'
12692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12698 ac_cpp
='$CXXCPP $CPPFLAGS'
12699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12703 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12704 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12705 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 cat >conftest.
$ac_ext <<_ACEOF
12711 cat confdefs.h
>>conftest.
$ac_ext
12712 cat >>conftest.
$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12726 rm -f conftest.
$ac_objext
12727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12728 (eval $ac_compile) 2>conftest.er1
12730 grep -v '^ *+' conftest.er1
>conftest.err
12732 cat conftest.err
>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try
='test -z "$ac_cxx_werror_flag"
12736 || test ! -s conftest.err'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; } &&
12742 { ac_try
='test -s conftest.$ac_objext'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; }; then
12748 wx_compiler_xlc
=yes
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12756 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12759 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12760 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12762 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12764 ac_cpp
='$CXXCPP $CPPFLAGS'
12765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12773 ac_cpp
='$CPP $CPPFLAGS'
12774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12779 if test -n "$ac_tool_prefix"; then
12780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12781 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12782 echo "$as_me:$LINENO: checking for $ac_word" >&5
12783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12784 if test "${ac_cv_prog_RANLIB+set}" = set; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 if test -n "$RANLIB"; then
12788 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12791 for as_dir
in $PATH
12794 test -z "$as_dir" && as_dir
=.
12795 for ac_exec_ext
in '' $ac_executable_extensions; do
12796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12797 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12806 RANLIB
=$ac_cv_prog_RANLIB
12807 if test -n "$RANLIB"; then
12808 echo "$as_me:$LINENO: result: $RANLIB" >&5
12809 echo "${ECHO_T}$RANLIB" >&6
12811 echo "$as_me:$LINENO: result: no" >&5
12812 echo "${ECHO_T}no" >&6
12816 if test -z "$ac_cv_prog_RANLIB"; then
12817 ac_ct_RANLIB
=$RANLIB
12818 # Extract the first word of "ranlib", so it can be a program name with args.
12819 set dummy ranlib
; ac_word
=$2
12820 echo "$as_me:$LINENO: checking for $ac_word" >&5
12821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12822 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12823 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 if test -n "$ac_ct_RANLIB"; then
12826 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12829 for as_dir
in $PATH
12832 test -z "$as_dir" && as_dir
=.
12833 for ac_exec_ext
in '' $ac_executable_extensions; do
12834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12835 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12842 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12845 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12846 if test -n "$ac_ct_RANLIB"; then
12847 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12848 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12850 echo "$as_me:$LINENO: result: no" >&5
12851 echo "${ECHO_T}no" >&6
12854 RANLIB
=$ac_ct_RANLIB
12856 RANLIB
="$ac_cv_prog_RANLIB"
12860 # Extract the first word of "ar", so it can be a program name with args.
12861 set dummy
ar; ac_word
=$2
12862 echo "$as_me:$LINENO: checking for $ac_word" >&5
12863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12864 if test "${ac_cv_prog_AR+set}" = set; then
12865 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 if test -n "$AR"; then
12868 ac_cv_prog_AR
="$AR" # Let the user override the test.
12870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12871 for as_dir
in $PATH
12874 test -z "$as_dir" && as_dir
=.
12875 for ac_exec_ext
in '' $ac_executable_extensions; do
12876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12887 if test -n "$AR"; then
12888 echo "$as_me:$LINENO: result: $AR" >&5
12889 echo "${ECHO_T}$AR" >&6
12891 echo "$as_me:$LINENO: result: no" >&5
12892 echo "${ECHO_T}no" >&6
12895 if test "x$AR" = "x" ; then
12896 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12897 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12898 { (exit 1); exit 1; }; }
12901 # Find a good install program. We prefer a C program (faster),
12902 # so one script is as good as another. But avoid the broken or
12903 # incompatible versions:
12904 # SysV /etc/install, /usr/sbin/install
12905 # SunOS /usr/etc/install
12906 # IRIX /sbin/install
12908 # AmigaOS /C/install, which installs bootblocks on floppy discs
12909 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12910 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12911 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12912 # OS/2's system install, which has a completely different semantic
12913 # ./install, which can be erroneously created by make from ./install.sh.
12914 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12915 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12916 if test -z "$INSTALL"; then
12917 if test "${ac_cv_path_install+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12921 for as_dir
in $PATH
12924 test -z "$as_dir" && as_dir
=.
12925 # Account for people who put trailing slashes in PATH elements.
12927 .
/ | .
// | /cC
/* | \
12928 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12929 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12932 # OSF1 and SCO ODT 3.0 have their own names for install.
12933 # Don't use installbsd from OSF since it installs stuff as root
12935 for ac_prog
in ginstall scoinst
install; do
12936 for ac_exec_ext
in '' $ac_executable_extensions; do
12937 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12938 if test $ac_prog = install &&
12939 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12940 # AIX install. It has an incompatible calling convention.
12942 elif test $ac_prog = install &&
12943 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12944 # program-specific install script used by HP pwplus--don't use.
12947 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12959 if test "${ac_cv_path_install+set}" = set; then
12960 INSTALL
=$ac_cv_path_install
12962 # As a last resort, use the slow shell script. We don't cache a
12963 # path for INSTALL within a source directory, because that will
12964 # break other packages using the cache if that directory is
12965 # removed, or if the path is relative.
12966 INSTALL
=$ac_install_sh
12969 echo "$as_me:$LINENO: result: $INSTALL" >&5
12970 echo "${ECHO_T}$INSTALL" >&6
12972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12973 # It thinks the first close brace ends the variable substitution.
12974 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12976 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12978 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12984 ?
:* ) # Drive letter, considered as absolute.
12987 INSTALL
=`pwd`/${INSTALL} ;;
12993 powerpc
-*-darwin* )
12994 INSTALL_PROGRAM
="cp -fp"
12995 INSTALL_DATA
="cp -fp"
13001 # Extract the first word of "strip", so it can be a program name with args.
13002 set dummy strip
; ac_word
=$2
13003 echo "$as_me:$LINENO: checking for $ac_word" >&5
13004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13005 if test "${ac_cv_prog_STRIP+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 if test -n "$STRIP"; then
13009 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13012 for as_dir
in $PATH
13015 test -z "$as_dir" && as_dir
=.
13016 for ac_exec_ext
in '' $ac_executable_extensions; do
13017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13018 ac_cv_prog_STRIP
="strip"
13019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13025 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13028 STRIP
=$ac_cv_prog_STRIP
13029 if test -n "$STRIP"; then
13030 echo "$as_me:$LINENO: result: $STRIP" >&5
13031 echo "${ECHO_T}$STRIP" >&6
13033 echo "$as_me:$LINENO: result: no" >&5
13034 echo "${ECHO_T}no" >&6
13038 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13039 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13040 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13045 egrep -s GNU
> /dev
/null
); then
13046 wx_cv_prog_makeisgnu
="yes"
13048 wx_cv_prog_makeisgnu
="no"
13052 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13053 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13055 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13063 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13064 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13065 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13066 if test "${wx_cv_prog_makevpath+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 cat - << EOF > confMake
13076 if test ! -d sub
; then
13079 echo dummy
> sub
/file
13080 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13082 rm -f sub
/file check final_file confMake
13084 if test "$RESULT" = 0; then
13085 wx_cv_prog_makevpath
="yes"
13087 wx_cv_prog_makevpath
="no"
13091 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13092 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13094 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13095 { { echo "$as_me:$LINENO: error:
13096 You need a make-utility that is able to use the variable
13098 If your version of make does not support VPATH correctly,
13099 please install GNU-make (possibly as gmake), and start
13100 configure with the following command:
13101 export MAKE=gmake; ./configure for sh-type shells
13102 setenv MAKE gmake; ./configure for csh-type shells
13103 Also please do remember to use gmake in this case every time
13104 you are trying to compile.
13106 echo "$as_me: error:
13107 You need a make-utility that is able to use the variable
13109 If your version of make does not support VPATH correctly,
13110 please install GNU-make (possibly as gmake), and start
13111 configure with the following command:
13112 export MAKE=gmake; ./configure for sh-type shells
13113 setenv MAKE gmake; ./configure for csh-type shells
13114 Also please do remember to use gmake in this case every time
13115 you are trying to compile.
13117 { (exit 1); exit 1; }; }
13119 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13120 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13122 if test "$LN_S" = "ln -s"; then
13123 echo "$as_me:$LINENO: result: yes" >&5
13124 echo "${ECHO_T}yes" >&6
13126 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13127 echo "${ECHO_T}no, using $LN_S" >&6
13132 if test "x$XLCXX" = "xyes"; then
13133 CXXFLAGS
="$CXXFLAGS -qunique"
13138 powerpc
-*-darwin* )
13139 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13140 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13141 cat >conftest.
$ac_ext <<_ACEOF
13144 cat confdefs.h
>>conftest.
$ac_ext
13145 cat >>conftest.
$ac_ext <<_ACEOF
13146 /* end confdefs.h. */
13151 #ifndef __POWERPC__
13152 choke me for lack of PowerPC
13159 rm -f conftest.
$ac_objext
13160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13161 (eval $ac_compile) 2>conftest.er1
13163 grep -v '^ *+' conftest.er1
>conftest.err
13165 cat conftest.err
>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } &&
13168 { ac_try
='test -z "$ac_c_werror_flag"
13169 || test ! -s conftest.err'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; } &&
13175 { ac_try
='test -s conftest.$ac_objext'
13176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13177 (eval $ac_try) 2>&5
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; }; then
13181 echo "$as_me:$LINENO: result: yes" >&5
13182 echo "${ECHO_T}yes" >&6
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.
$ac_ext >&5
13187 echo "$as_me:$LINENO: result: no" >&5
13188 echo "${ECHO_T}no" >&6
13189 cat >>confdefs.h
<<\_ACEOF
13190 #define __POWERPC__ 1
13195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13196 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13197 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13198 cat >conftest.
$ac_ext <<_ACEOF
13201 cat confdefs.h
>>conftest.
$ac_ext
13202 cat >>conftest.
$ac_ext <<_ACEOF
13203 /* end confdefs.h. */
13204 #include <CoreFoundation/CFBase.h>
13214 rm -f conftest.
$ac_objext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13216 (eval $ac_compile) 2>conftest.er1
13218 grep -v '^ *+' conftest.er1
>conftest.err
13220 cat conftest.err
>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } &&
13223 { ac_try
='test -z "$ac_c_werror_flag"
13224 || test ! -s conftest.err'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; } &&
13230 { ac_try
='test -s conftest.$ac_objext'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; }; then
13236 echo "$as_me:$LINENO: result: yes" >&5
13237 echo "${ECHO_T}yes" >&6
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 echo "$as_me:$LINENO: result: no" >&5
13243 echo "${ECHO_T}no" >&6
13244 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13245 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13246 cat >conftest.
$ac_ext <<_ACEOF
13249 cat confdefs.h
>>conftest.
$ac_ext
13250 cat >>conftest.
$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13252 #define __CF_USE_FRAMEWORK_INCLUDES__
13253 #include <CoreFoundation/CFBase.h>
13263 rm -f conftest.
$ac_objext
13264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13265 (eval $ac_compile) 2>conftest.er1
13267 grep -v '^ *+' conftest.er1
>conftest.err
13269 cat conftest.err
>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); } &&
13272 { ac_try
='test -z "$ac_c_werror_flag"
13273 || test ! -s conftest.err'
13274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; } &&
13279 { ac_try
='test -s conftest.$ac_objext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 echo "$as_me:$LINENO: result: yes" >&5
13286 echo "${ECHO_T}yes" >&6
13287 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.
$ac_ext >&5
13292 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13293 See \`config.log' for more details." >&5
13294 echo "$as_me: error: no. CoreFoundation not available.
13295 See \`config.log' for more details." >&2;}
13296 { (exit 1); exit 1; }; }
13299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13308 *-pc-os2_emx | *-pc-os2-emx )
13309 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13310 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13311 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13312 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13313 echo $ECHO_N "(cached) $ECHO_C" >&6
13315 ac_check_lib_save_LIBS
=$LIBS
13316 LIBS
="-lcExt $LIBS"
13317 cat >conftest.
$ac_ext <<_ACEOF
13320 cat confdefs.h
>>conftest.
$ac_ext
13321 cat >>conftest.
$ac_ext <<_ACEOF
13322 /* end confdefs.h. */
13324 /* Override any gcc2 internal prototype to avoid an error. */
13328 /* We use char because int might match the return type of a gcc2
13329 builtin and then its argument prototype would still apply. */
13339 rm -f conftest.
$ac_objext conftest
$ac_exeext
13340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13341 (eval $ac_link) 2>conftest.er1
13343 grep -v '^ *+' conftest.er1
>conftest.err
13345 cat conftest.err
>&5
13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13347 (exit $ac_status); } &&
13348 { ac_try
='test -z "$ac_c_werror_flag"
13349 || test ! -s conftest.err'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; } &&
13355 { ac_try
='test -s conftest$ac_exeext'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; }; then
13361 ac_cv_lib_cExt_drand48
=yes
13363 echo "$as_me: failed program was:" >&5
13364 sed 's/^/| /' conftest.
$ac_ext >&5
13366 ac_cv_lib_cExt_drand48
=no
13368 rm -f conftest.err conftest.
$ac_objext \
13369 conftest
$ac_exeext conftest.
$ac_ext
13370 LIBS
=$ac_check_lib_save_LIBS
13372 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13373 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13374 if test $ac_cv_lib_cExt_drand48 = yes; then
13375 LIBS
="$LIBS -lcExt"
13379 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13381 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13382 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13383 if test "${wx_cv_gccversion+set}" = set; then
13384 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 if test "$cross_compiling" = yes; then
13388 wx_cv_gccversion
="EMX2"
13391 cat >conftest.
$ac_ext <<_ACEOF
13394 cat confdefs.h
>>conftest.
$ac_ext
13395 cat >>conftest.
$ac_ext <<_ACEOF
13396 /* end confdefs.h. */
13402 FILE *f=fopen("conftestval", "w");
13407 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13409 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13419 rm -f conftest
$ac_exeext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13421 (eval $ac_link) 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426 (eval $ac_try) 2>&5
13428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429 (exit $ac_status); }; }; then
13430 wx_cv_gccversion
=`cat conftestval`
13432 echo "$as_me: program exited with status $ac_status" >&5
13433 echo "$as_me: failed program was:" >&5
13434 sed 's/^/| /' conftest.
$ac_ext >&5
13436 ( exit $ac_status )
13437 wx_cv_gccversion
="EMX2"
13439 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13443 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13444 echo "${ECHO_T}$wx_cv_gccversion" >&6
13445 if test "$wx_cv_gccversion" = "EMX2"; then
13446 LIBS
="$LIBS -lstdcpp"
13447 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13449 if test "$wx_cv_gccversion" = "EMX3"; then
13450 LIBS
="$LIBS -lstdcxx"
13451 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13453 LIBS
="$LIBS -lstdc++"
13456 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13457 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13458 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13468 ac_cpp
='$CXXCPP $CPPFLAGS'
13469 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13470 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13471 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13474 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13475 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13476 if test "${ac_cv_string_strcasecmp+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 cat >conftest.
$ac_ext <<_ACEOF
13483 cat confdefs.h
>>conftest.
$ac_ext
13484 cat >>conftest.
$ac_ext <<_ACEOF
13485 /* end confdefs.h. */
13487 #include <string.h>
13493 strcasecmp("foo", "bar");
13499 rm -f conftest.
$ac_objext conftest
$ac_exeext
13500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13501 (eval $ac_link) 2>conftest.er1
13503 grep -v '^ *+' conftest.er1
>conftest.err
13505 cat conftest.err
>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } &&
13508 { ac_try
='test -z "$ac_cxx_werror_flag"
13509 || test ! -s conftest.err'
13510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13511 (eval $ac_try) 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; } &&
13515 { ac_try
='test -s conftest$ac_exeext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 ac_cv_string_strcasecmp
=yes
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.
$ac_ext >&5
13526 ac_cv_string_strcasecmp
=no
13529 rm -f conftest.err conftest.
$ac_objext \
13530 conftest
$ac_exeext conftest.
$ac_ext
13533 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13534 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13536 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13537 cat >>confdefs.h
<<\_ACEOF
13538 #define HAVE_STRCASECMP_IN_STRING_H 1
13542 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13543 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13544 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 cat >conftest.
$ac_ext <<_ACEOF
13551 cat confdefs.h
>>conftest.
$ac_ext
13552 cat >>conftest.
$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13555 #include <strings.h>
13561 strcasecmp("foo", "bar");
13567 rm -f conftest.
$ac_objext conftest
$ac_exeext
13568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13569 (eval $ac_link) 2>conftest.er1
13571 grep -v '^ *+' conftest.er1
>conftest.err
13573 cat conftest.err
>&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } &&
13576 { ac_try
='test -z "$ac_cxx_werror_flag"
13577 || test ! -s conftest.err'
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); }; } &&
13583 { ac_try
='test -s conftest$ac_exeext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 ac_cv_strings_strcasecmp
=yes
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.
$ac_ext >&5
13594 ac_cv_strings_strcasecmp
=no
13597 rm -f conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13601 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13602 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13604 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13605 cat >>confdefs.h
<<\_ACEOF
13606 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13610 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13611 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13612 { (exit 1); exit 1; }; }
13617 ac_cpp
='$CPP $CPPFLAGS'
13618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13626 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13627 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13628 if test "${ac_cv_header_stdc+set}" = set; then
13629 echo $ECHO_N "(cached) $ECHO_C" >&6
13631 cat >conftest.
$ac_ext <<_ACEOF
13634 cat confdefs.h
>>conftest.
$ac_ext
13635 cat >>conftest.
$ac_ext <<_ACEOF
13636 /* end confdefs.h. */
13637 #include <stdlib.h>
13638 #include <stdarg.h>
13639 #include <string.h>
13650 rm -f conftest.
$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>conftest.er1
13654 grep -v '^ *+' conftest.er1
>conftest.err
13656 cat conftest.err
>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } &&
13659 { ac_try
='test -z "$ac_c_werror_flag"
13660 || test ! -s conftest.err'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; } &&
13666 { ac_try
='test -s conftest.$ac_objext'
13667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668 (eval $ac_try) 2>&5
13670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671 (exit $ac_status); }; }; then
13672 ac_cv_header_stdc
=yes
13674 echo "$as_me: failed program was:" >&5
13675 sed 's/^/| /' conftest.
$ac_ext >&5
13677 ac_cv_header_stdc
=no
13679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13681 if test $ac_cv_header_stdc = yes; then
13682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13683 cat >conftest.
$ac_ext <<_ACEOF
13686 cat confdefs.h
>>conftest.
$ac_ext
13687 cat >>conftest.
$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13689 #include <string.h>
13692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13693 $EGREP "memchr" >/dev
/null
2>&1; then
13696 ac_cv_header_stdc
=no
13702 if test $ac_cv_header_stdc = yes; then
13703 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13704 cat >conftest.
$ac_ext <<_ACEOF
13707 cat confdefs.h
>>conftest.
$ac_ext
13708 cat >>conftest.
$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710 #include <stdlib.h>
13713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13714 $EGREP "free" >/dev
/null
2>&1; then
13717 ac_cv_header_stdc
=no
13723 if test $ac_cv_header_stdc = yes; then
13724 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13725 if test "$cross_compiling" = yes; then
13728 cat >conftest.
$ac_ext <<_ACEOF
13731 cat confdefs.h
>>conftest.
$ac_ext
13732 cat >>conftest.
$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13735 #if ((' ' & 0x0FF) == 0x020)
13736 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13737 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13739 # define ISLOWER(c) \
13740 (('a' <= (c) && (c) <= 'i') \
13741 || ('j' <= (c) && (c) <= 'r') \
13742 || ('s' <= (c) && (c) <= 'z'))
13743 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13746 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13751 for (i = 0; i < 256; i++)
13752 if (XOR (islower (i), ISLOWER (i))
13753 || toupper (i) != TOUPPER (i))
13758 rm -f conftest
$ac_exeext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13760 (eval $ac_link) 2>&5
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then
13771 echo "$as_me: program exited with status $ac_status" >&5
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.
$ac_ext >&5
13775 ( exit $ac_status )
13776 ac_cv_header_stdc
=no
13778 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13782 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13783 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13784 if test $ac_cv_header_stdc = yes; then
13786 cat >>confdefs.h
<<\_ACEOF
13787 #define STDC_HEADERS 1
13792 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13802 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13803 inttypes.h stdint.h unistd.h
13805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13806 echo "$as_me:$LINENO: checking for $ac_header" >&5
13807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 cat >conftest.
$ac_ext <<_ACEOF
13814 cat confdefs.h
>>conftest.
$ac_ext
13815 cat >>conftest.
$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 $ac_includes_default
13819 #include <$ac_header>
13821 rm -f conftest.
$ac_objext
13822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13823 (eval $ac_compile) 2>conftest.er1
13825 grep -v '^ *+' conftest.er1
>conftest.err
13827 cat conftest.err
>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } &&
13830 { ac_try
='test -z "$ac_c_werror_flag"
13831 || test ! -s conftest.err'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; } &&
13837 { ac_try
='test -s conftest.$ac_objext'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; }; then
13843 eval "$as_ac_Header=yes"
13845 echo "$as_me: failed program was:" >&5
13846 sed 's/^/| /' conftest.
$ac_ext >&5
13848 eval "$as_ac_Header=no"
13850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13855 cat >>confdefs.h
<<_ACEOF
13856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13865 for ac_header
in stdlib.h
13867 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13869 echo "$as_me:$LINENO: checking for $ac_header" >&5
13870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13877 # Is the header compilable?
13878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13880 cat >conftest.
$ac_ext <<_ACEOF
13883 cat confdefs.h
>>conftest.
$ac_ext
13884 cat >>conftest.
$ac_ext <<_ACEOF
13885 /* end confdefs.h. */
13886 $ac_includes_default
13887 #include <$ac_header>
13889 rm -f conftest.
$ac_objext
13890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13891 (eval $ac_compile) 2>conftest.er1
13893 grep -v '^ *+' conftest.er1
>conftest.err
13895 cat conftest.err
>&5
13896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13897 (exit $ac_status); } &&
13898 { ac_try
='test -z "$ac_c_werror_flag"
13899 || test ! -s conftest.err'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; } &&
13905 { ac_try
='test -s conftest.$ac_objext'
13906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 (eval $ac_try) 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; }; then
13911 ac_header_compiler
=yes
13913 echo "$as_me: failed program was:" >&5
13914 sed 's/^/| /' conftest.
$ac_ext >&5
13916 ac_header_compiler
=no
13918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13920 echo "${ECHO_T}$ac_header_compiler" >&6
13922 # Is the header present?
13923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13925 cat >conftest.
$ac_ext <<_ACEOF
13928 cat confdefs.h
>>conftest.
$ac_ext
13929 cat >>conftest.
$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <$ac_header>
13933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13936 grep -v '^ *+' conftest.er1
>conftest.err
13938 cat conftest.err
>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } >/dev
/null
; then
13941 if test -s conftest.err
; then
13942 ac_cpp_err
=$ac_c_preproc_warn_flag
13943 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13950 if test -z "$ac_cpp_err"; then
13951 ac_header_preproc
=yes
13953 echo "$as_me: failed program was:" >&5
13954 sed 's/^/| /' conftest.
$ac_ext >&5
13956 ac_header_preproc
=no
13958 rm -f conftest.err conftest.
$ac_ext
13959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13960 echo "${ECHO_T}$ac_header_preproc" >&6
13962 # So? What about this header?
13963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13969 ac_header_preproc
=yes
13972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13986 ## ----------------------------------------- ##
13987 ## Report this to wx-dev@lists.wxwidgets.org ##
13988 ## ----------------------------------------- ##
13991 sed "s/^/$as_me: WARNING: /" >&2
13994 echo "$as_me:$LINENO: checking for $ac_header" >&5
13995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13999 eval "$as_ac_Header=\$ac_header_preproc"
14001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14006 cat >>confdefs.h
<<_ACEOF
14007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14015 for ac_header
in malloc.h
14017 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14019 echo "$as_me:$LINENO: checking for $ac_header" >&5
14020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14027 # Is the header compilable?
14028 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14030 cat >conftest.
$ac_ext <<_ACEOF
14033 cat confdefs.h
>>conftest.
$ac_ext
14034 cat >>conftest.
$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 $ac_includes_default
14037 #include <$ac_header>
14039 rm -f conftest.
$ac_objext
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>conftest.er1
14043 grep -v '^ *+' conftest.er1
>conftest.err
14045 cat conftest.err
>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } &&
14048 { ac_try
='test -z "$ac_c_werror_flag"
14049 || test ! -s conftest.err'
14050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14051 (eval $ac_try) 2>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); }; } &&
14055 { ac_try
='test -s conftest.$ac_objext'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; }; then
14061 ac_header_compiler
=yes
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.
$ac_ext >&5
14066 ac_header_compiler
=no
14068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14070 echo "${ECHO_T}$ac_header_compiler" >&6
14072 # Is the header present?
14073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14075 cat >conftest.
$ac_ext <<_ACEOF
14078 cat confdefs.h
>>conftest.
$ac_ext
14079 cat >>conftest.
$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 #include <$ac_header>
14083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14086 grep -v '^ *+' conftest.er1
>conftest.err
14088 cat conftest.err
>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); } >/dev
/null
; then
14091 if test -s conftest.err
; then
14092 ac_cpp_err
=$ac_c_preproc_warn_flag
14093 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14100 if test -z "$ac_cpp_err"; then
14101 ac_header_preproc
=yes
14103 echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.
$ac_ext >&5
14106 ac_header_preproc
=no
14108 rm -f conftest.err conftest.
$ac_ext
14109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14110 echo "${ECHO_T}$ac_header_preproc" >&6
14112 # So? What about this header?
14113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14119 ac_header_preproc
=yes
14122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14136 ## ----------------------------------------- ##
14137 ## Report this to wx-dev@lists.wxwidgets.org ##
14138 ## ----------------------------------------- ##
14141 sed "s/^/$as_me: WARNING: /" >&2
14144 echo "$as_me:$LINENO: checking for $ac_header" >&5
14145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 eval "$as_ac_Header=\$ac_header_preproc"
14151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14156 cat >>confdefs.h
<<_ACEOF
14157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14165 for ac_header
in unistd.h
14167 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14169 echo "$as_me:$LINENO: checking for $ac_header" >&5
14170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14177 # Is the header compilable?
14178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14180 cat >conftest.
$ac_ext <<_ACEOF
14183 cat confdefs.h
>>conftest.
$ac_ext
14184 cat >>conftest.
$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 $ac_includes_default
14187 #include <$ac_header>
14189 rm -f conftest.
$ac_objext
14190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14191 (eval $ac_compile) 2>conftest.er1
14193 grep -v '^ *+' conftest.er1
>conftest.err
14195 cat conftest.err
>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } &&
14198 { ac_try
='test -z "$ac_c_werror_flag"
14199 || test ! -s conftest.err'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; } &&
14205 { ac_try
='test -s conftest.$ac_objext'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; }; then
14211 ac_header_compiler
=yes
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.
$ac_ext >&5
14216 ac_header_compiler
=no
14218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14220 echo "${ECHO_T}$ac_header_compiler" >&6
14222 # Is the header present?
14223 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14225 cat >conftest.
$ac_ext <<_ACEOF
14228 cat confdefs.h
>>conftest.
$ac_ext
14229 cat >>conftest.
$ac_ext <<_ACEOF
14230 /* end confdefs.h. */
14231 #include <$ac_header>
14233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14236 grep -v '^ *+' conftest.er1
>conftest.err
14238 cat conftest.err
>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); } >/dev
/null
; then
14241 if test -s conftest.err
; then
14242 ac_cpp_err
=$ac_c_preproc_warn_flag
14243 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14250 if test -z "$ac_cpp_err"; then
14251 ac_header_preproc
=yes
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.
$ac_ext >&5
14256 ac_header_preproc
=no
14258 rm -f conftest.err conftest.
$ac_ext
14259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14260 echo "${ECHO_T}$ac_header_preproc" >&6
14262 # So? What about this header?
14263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14265 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14269 ac_header_preproc
=yes
14272 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14274 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14275 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14276 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14278 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14279 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14282 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14286 ## ----------------------------------------- ##
14287 ## Report this to wx-dev@lists.wxwidgets.org ##
14288 ## ----------------------------------------- ##
14291 sed "s/^/$as_me: WARNING: /" >&2
14294 echo "$as_me:$LINENO: checking for $ac_header" >&5
14295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 eval "$as_ac_Header=\$ac_header_preproc"
14301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14306 cat >>confdefs.h
<<_ACEOF
14307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14315 for ac_header
in wchar.h
14317 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14319 echo "$as_me:$LINENO: checking for $ac_header" >&5
14320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14322 echo $ECHO_N "(cached) $ECHO_C" >&6
14324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14327 # Is the header compilable?
14328 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14330 cat >conftest.
$ac_ext <<_ACEOF
14333 cat confdefs.h
>>conftest.
$ac_ext
14334 cat >>conftest.
$ac_ext <<_ACEOF
14335 /* end confdefs.h. */
14336 $ac_includes_default
14337 #include <$ac_header>
14339 rm -f conftest.
$ac_objext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14341 (eval $ac_compile) 2>conftest.er1
14343 grep -v '^ *+' conftest.er1
>conftest.err
14345 cat conftest.err
>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); } &&
14348 { ac_try
='test -z "$ac_c_werror_flag"
14349 || test ! -s conftest.err'
14350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14351 (eval $ac_try) 2>&5
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }; } &&
14355 { ac_try
='test -s conftest.$ac_objext'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; }; then
14361 ac_header_compiler
=yes
14363 echo "$as_me: failed program was:" >&5
14364 sed 's/^/| /' conftest.
$ac_ext >&5
14366 ac_header_compiler
=no
14368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14370 echo "${ECHO_T}$ac_header_compiler" >&6
14372 # Is the header present?
14373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14375 cat >conftest.
$ac_ext <<_ACEOF
14378 cat confdefs.h
>>conftest.
$ac_ext
14379 cat >>conftest.
$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14381 #include <$ac_header>
14383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14384 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14386 grep -v '^ *+' conftest.er1
>conftest.err
14388 cat conftest.err
>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } >/dev
/null
; then
14391 if test -s conftest.err
; then
14392 ac_cpp_err
=$ac_c_preproc_warn_flag
14393 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14400 if test -z "$ac_cpp_err"; then
14401 ac_header_preproc
=yes
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.
$ac_ext >&5
14406 ac_header_preproc
=no
14408 rm -f conftest.err conftest.
$ac_ext
14409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14410 echo "${ECHO_T}$ac_header_preproc" >&6
14412 # So? What about this header?
14413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14415 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14418 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14419 ac_header_preproc
=yes
14422 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14423 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14424 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14425 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14426 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14427 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14428 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14429 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14432 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14433 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14436 ## ----------------------------------------- ##
14437 ## Report this to wx-dev@lists.wxwidgets.org ##
14438 ## ----------------------------------------- ##
14441 sed "s/^/$as_me: WARNING: /" >&2
14444 echo "$as_me:$LINENO: checking for $ac_header" >&5
14445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14447 echo $ECHO_N "(cached) $ECHO_C" >&6
14449 eval "$as_ac_Header=\$ac_header_preproc"
14451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14456 cat >>confdefs.h
<<_ACEOF
14457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14465 if test "$ac_cv_header_wchar_h" != "yes"; then
14467 for ac_header
in wcstr.h
14469 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14471 echo "$as_me:$LINENO: checking for $ac_header" >&5
14472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14474 echo $ECHO_N "(cached) $ECHO_C" >&6
14476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14479 # Is the header compilable?
14480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14482 cat >conftest.
$ac_ext <<_ACEOF
14485 cat confdefs.h
>>conftest.
$ac_ext
14486 cat >>conftest.
$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14489 #include <$ac_header>
14491 rm -f conftest.
$ac_objext
14492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14493 (eval $ac_compile) 2>conftest.er1
14495 grep -v '^ *+' conftest.er1
>conftest.err
14497 cat conftest.err
>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } &&
14500 { ac_try
='test -z "$ac_c_werror_flag"
14501 || test ! -s conftest.err'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; } &&
14507 { ac_try
='test -s conftest.$ac_objext'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14513 ac_header_compiler
=yes
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.
$ac_ext >&5
14518 ac_header_compiler
=no
14520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14522 echo "${ECHO_T}$ac_header_compiler" >&6
14524 # Is the header present?
14525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14527 cat >conftest.
$ac_ext <<_ACEOF
14530 cat confdefs.h
>>conftest.
$ac_ext
14531 cat >>conftest.
$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 #include <$ac_header>
14535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14536 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14538 grep -v '^ *+' conftest.er1
>conftest.err
14540 cat conftest.err
>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } >/dev
/null
; then
14543 if test -s conftest.err
; then
14544 ac_cpp_err
=$ac_c_preproc_warn_flag
14545 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14552 if test -z "$ac_cpp_err"; then
14553 ac_header_preproc
=yes
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.
$ac_ext >&5
14558 ac_header_preproc
=no
14560 rm -f conftest.err conftest.
$ac_ext
14561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14562 echo "${ECHO_T}$ac_header_preproc" >&6
14564 # So? What about this header?
14565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14567 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14571 ac_header_preproc
=yes
14574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14578 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14580 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14581 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14584 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14588 ## ----------------------------------------- ##
14589 ## Report this to wx-dev@lists.wxwidgets.org ##
14590 ## ----------------------------------------- ##
14593 sed "s/^/$as_me: WARNING: /" >&2
14596 echo "$as_me:$LINENO: checking for $ac_header" >&5
14597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14601 eval "$as_ac_Header=\$ac_header_preproc"
14603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14608 cat >>confdefs.h
<<_ACEOF
14609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14619 for ac_header
in fnmatch.h
14621 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14623 echo "$as_me:$LINENO: checking for $ac_header" >&5
14624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14626 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14631 # Is the header compilable?
14632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14634 cat >conftest.
$ac_ext <<_ACEOF
14637 cat confdefs.h
>>conftest.
$ac_ext
14638 cat >>conftest.
$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14640 $ac_includes_default
14641 #include <$ac_header>
14643 rm -f conftest.
$ac_objext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14645 (eval $ac_compile) 2>conftest.er1
14647 grep -v '^ *+' conftest.er1
>conftest.err
14649 cat conftest.err
>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try
='test -z "$ac_c_werror_flag"
14653 || test ! -s conftest.err'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; } &&
14659 { ac_try
='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_header_compiler
=yes
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.
$ac_ext >&5
14670 ac_header_compiler
=no
14672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14674 echo "${ECHO_T}$ac_header_compiler" >&6
14676 # Is the header present?
14677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14679 cat >conftest.
$ac_ext <<_ACEOF
14682 cat confdefs.h
>>conftest.
$ac_ext
14683 cat >>conftest.
$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 #include <$ac_header>
14687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14690 grep -v '^ *+' conftest.er1
>conftest.err
14692 cat conftest.err
>&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } >/dev
/null
; then
14695 if test -s conftest.err
; then
14696 ac_cpp_err
=$ac_c_preproc_warn_flag
14697 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14704 if test -z "$ac_cpp_err"; then
14705 ac_header_preproc
=yes
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.
$ac_ext >&5
14710 ac_header_preproc
=no
14712 rm -f conftest.err conftest.
$ac_ext
14713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14714 echo "${ECHO_T}$ac_header_preproc" >&6
14716 # So? What about this header?
14717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14723 ac_header_preproc
=yes
14726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14740 ## ----------------------------------------- ##
14741 ## Report this to wx-dev@lists.wxwidgets.org ##
14742 ## ----------------------------------------- ##
14745 sed "s/^/$as_me: WARNING: /" >&2
14748 echo "$as_me:$LINENO: checking for $ac_header" >&5
14749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 eval "$as_ac_Header=\$ac_header_preproc"
14755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14760 cat >>confdefs.h
<<_ACEOF
14761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14769 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14771 for ac_func
in fnmatch
14773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14774 echo "$as_me:$LINENO: checking for $ac_func" >&5
14775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14776 if eval "test \"\${$as_ac_var+set}\" = set"; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 cat >conftest.
$ac_ext <<_ACEOF
14782 cat confdefs.h
>>conftest.
$ac_ext
14783 cat >>conftest.
$ac_ext <<_ACEOF
14784 /* end confdefs.h. */
14785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14787 #define $ac_func innocuous_$ac_func
14789 /* System header to define __stub macros and hopefully few prototypes,
14790 which can conflict with char $ac_func (); below.
14791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14792 <limits.h> exists even on freestanding compilers. */
14795 # include <limits.h>
14797 # include <assert.h>
14802 /* Override any gcc2 internal prototype to avoid an error. */
14807 /* We use char because int might match the return type of a gcc2
14808 builtin and then its argument prototype would still apply. */
14810 /* The GNU C library defines this for functions which it implements
14811 to always fail with ENOSYS. Some functions are actually named
14812 something starting with __ and the normal name is an alias. */
14813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14816 char (*f) () = $ac_func;
14825 return f != $ac_func;
14830 rm -f conftest.
$ac_objext conftest
$ac_exeext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14832 (eval $ac_link) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1
>conftest.err
14836 cat conftest.err
>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try
='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try
='test -s conftest$ac_exeext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 eval "$as_ac_var=yes"
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.
$ac_ext >&5
14857 eval "$as_ac_var=no"
14859 rm -f conftest.err conftest.
$ac_objext \
14860 conftest
$ac_exeext conftest.
$ac_ext
14862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14864 if test `eval echo '${'$as_ac_var'}'` = yes; then
14865 cat >>confdefs.h
<<_ACEOF
14866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14875 for ac_header
in langinfo.h
14877 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14879 echo "$as_me:$LINENO: checking for $ac_header" >&5
14880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14887 # Is the header compilable?
14888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14890 cat >conftest.
$ac_ext <<_ACEOF
14893 cat confdefs.h
>>conftest.
$ac_ext
14894 cat >>conftest.
$ac_ext <<_ACEOF
14895 /* end confdefs.h. */
14896 $ac_includes_default
14897 #include <$ac_header>
14899 rm -f conftest.
$ac_objext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14901 (eval $ac_compile) 2>conftest.er1
14903 grep -v '^ *+' conftest.er1
>conftest.err
14905 cat conftest.err
>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } &&
14908 { ac_try
='test -z "$ac_c_werror_flag"
14909 || test ! -s conftest.err'
14910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911 (eval $ac_try) 2>&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; } &&
14915 { ac_try
='test -s conftest.$ac_objext'
14916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14917 (eval $ac_try) 2>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then
14921 ac_header_compiler
=yes
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.
$ac_ext >&5
14926 ac_header_compiler
=no
14928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14930 echo "${ECHO_T}$ac_header_compiler" >&6
14932 # Is the header present?
14933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14935 cat >conftest.
$ac_ext <<_ACEOF
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 #include <$ac_header>
14943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14944 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14946 grep -v '^ *+' conftest.er1
>conftest.err
14948 cat conftest.err
>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); } >/dev
/null
; then
14951 if test -s conftest.err
; then
14952 ac_cpp_err
=$ac_c_preproc_warn_flag
14953 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14960 if test -z "$ac_cpp_err"; then
14961 ac_header_preproc
=yes
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.
$ac_ext >&5
14966 ac_header_preproc
=no
14968 rm -f conftest.err conftest.
$ac_ext
14969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14970 echo "${ECHO_T}$ac_header_preproc" >&6
14972 # So? What about this header?
14973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14979 ac_header_preproc
=yes
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14996 ## ----------------------------------------- ##
14997 ## Report this to wx-dev@lists.wxwidgets.org ##
14998 ## ----------------------------------------- ##
15001 sed "s/^/$as_me: WARNING: /" >&2
15004 echo "$as_me:$LINENO: checking for $ac_header" >&5
15005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15007 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 eval "$as_ac_Header=\$ac_header_preproc"
15011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15016 cat >>confdefs.h
<<_ACEOF
15017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15026 *-pc-os2_emx | *-pc-os2-emx )
15027 if test $ac_cv_header_langinfo_h = "yes" \
15028 -a \
( "$wx_cv_gccversion" = "EMX2" \
15029 -o "$wx_cv_gccversion" = "EMX3" \
15030 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15031 LIBS
="$LIBS -lintl"
15036 if test "$wxUSE_GUI" = "yes"; then
15037 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15039 for ac_header
in X
11/Xlib.h
15041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15043 echo "$as_me:$LINENO: checking for $ac_header" >&5
15044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15046 echo $ECHO_N "(cached) $ECHO_C" >&6
15048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15051 # Is the header compilable?
15052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15054 cat >conftest.
$ac_ext <<_ACEOF
15057 cat confdefs.h
>>conftest.
$ac_ext
15058 cat >>conftest.
$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060 $ac_includes_default
15061 #include <$ac_header>
15063 rm -f conftest.
$ac_objext
15064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15065 (eval $ac_compile) 2>conftest.er1
15067 grep -v '^ *+' conftest.er1
>conftest.err
15069 cat conftest.err
>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); } &&
15072 { ac_try
='test -z "$ac_c_werror_flag"
15073 || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try
='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 ac_header_compiler
=yes
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15090 ac_header_compiler
=no
15092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15094 echo "${ECHO_T}$ac_header_compiler" >&6
15096 # Is the header present?
15097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15099 cat >conftest.
$ac_ext <<_ACEOF
15102 cat confdefs.h
>>conftest.
$ac_ext
15103 cat >>conftest.
$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 #include <$ac_header>
15107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15110 grep -v '^ *+' conftest.er1
>conftest.err
15112 cat conftest.err
>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } >/dev
/null
; then
15115 if test -s conftest.err
; then
15116 ac_cpp_err
=$ac_c_preproc_warn_flag
15117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15124 if test -z "$ac_cpp_err"; then
15125 ac_header_preproc
=yes
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.
$ac_ext >&5
15130 ac_header_preproc
=no
15132 rm -f conftest.err conftest.
$ac_ext
15133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15134 echo "${ECHO_T}$ac_header_preproc" >&6
15136 # So? What about this header?
15137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15143 ac_header_preproc
=yes
15146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15160 ## ----------------------------------------- ##
15161 ## Report this to wx-dev@lists.wxwidgets.org ##
15162 ## ----------------------------------------- ##
15165 sed "s/^/$as_me: WARNING: /" >&2
15168 echo "$as_me:$LINENO: checking for $ac_header" >&5
15169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15171 echo $ECHO_N "(cached) $ECHO_C" >&6
15173 eval "$as_ac_Header=\$ac_header_preproc"
15175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15180 cat >>confdefs.h
<<_ACEOF
15181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15189 for ac_header
in X
11/XKBlib.h
15191 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15192 echo "$as_me:$LINENO: checking for $ac_header" >&5
15193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 cat >conftest.
$ac_ext <<_ACEOF
15200 cat confdefs.h
>>conftest.
$ac_ext
15201 cat >>conftest.
$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15204 #if HAVE_X11_XLIB_H
15205 #include <X11/Xlib.h>
15209 #include <$ac_header>
15211 rm -f conftest.
$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1
>conftest.err
15217 cat conftest.err
>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try
='test -z "$ac_c_werror_flag"
15221 || test ! -s conftest.err'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; } &&
15227 { ac_try
='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 eval "$as_ac_Header=yes"
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.
$ac_ext >&5
15238 eval "$as_ac_Header=no"
15240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15245 cat >>confdefs.h
<<_ACEOF
15246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15257 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15258 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15259 if test "${ac_cv_c_const+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 cat >conftest.
$ac_ext <<_ACEOF
15265 cat confdefs.h
>>conftest.
$ac_ext
15266 cat >>conftest.
$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15272 /* FIXME: Include the comments suggested by Paul. */
15273 #ifndef __cplusplus
15274 /* Ultrix mips cc rejects this. */
15275 typedef int charset[2];
15277 /* SunOS 4.1.1 cc rejects this. */
15278 char const *const *ccp;
15280 /* NEC SVR4.0.2 mips cc rejects this. */
15281 struct point {int x, y;};
15282 static struct point const zero = {0,0};
15283 /* AIX XL C 1.02.0.0 rejects this.
15284 It does not let you subtract one const X* pointer from another in
15285 an arm of an if-expression whose if-part is not a constant
15287 const char *g = "string";
15288 ccp = &g + (g ? g-g : 0);
15289 /* HPUX 7.0 cc rejects these. */
15292 ccp = (char const *const *) p;
15293 { /* SCO 3.2v4 cc rejects this. */
15295 char const *s = 0 ? (char *) 0 : (char const *) 0;
15299 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15300 int x[] = {25, 17};
15301 const int *foo = &x[0];
15304 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15305 typedef const int *iptr;
15309 { /* AIX XL C 1.02.0.0 rejects this saying
15310 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15311 struct s { int j; const int *ap[3]; };
15312 struct s *b; b->j = 5;
15314 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15315 const int foo = 10;
15323 rm -f conftest.
$ac_objext
15324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15325 (eval $ac_compile) 2>conftest.er1
15327 grep -v '^ *+' conftest.er1
>conftest.err
15329 cat conftest.err
>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try
='test -z "$ac_c_werror_flag"
15333 || test ! -s conftest.err'
15334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335 (eval $ac_try) 2>&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); }; } &&
15339 { ac_try
='test -s conftest.$ac_objext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.
$ac_ext >&5
15352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15354 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15355 echo "${ECHO_T}$ac_cv_c_const" >&6
15356 if test $ac_cv_c_const = no
; then
15358 cat >>confdefs.h
<<\_ACEOF
15364 echo "$as_me:$LINENO: checking for inline" >&5
15365 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15366 if test "${ac_cv_c_inline+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 for ac_kw
in inline __inline__ __inline
; do
15371 cat >conftest.
$ac_ext <<_ACEOF
15374 cat confdefs.h
>>conftest.
$ac_ext
15375 cat >>conftest.
$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 #ifndef __cplusplus
15379 static $ac_kw foo_t static_foo () {return 0; }
15380 $ac_kw foo_t foo () {return 0; }
15384 rm -f conftest.
$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15388 grep -v '^ *+' conftest.er1
>conftest.err
15390 cat conftest.err
>&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try
='test -z "$ac_c_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try
='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 ac_cv_c_inline
=$ac_kw; break
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.
$ac_ext >&5
15412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15416 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15417 echo "${ECHO_T}$ac_cv_c_inline" >&6
15420 case $ac_cv_c_inline in
15423 case $ac_cv_c_inline in
15425 *) ac_val
=$ac_cv_c_inline;;
15427 cat >>confdefs.h
<<_ACEOF
15428 #ifndef __cplusplus
15429 #define inline $ac_val
15436 echo "$as_me:$LINENO: checking for char" >&5
15437 echo $ECHO_N "checking for char... $ECHO_C" >&6
15438 if test "${ac_cv_type_char+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 cat >conftest.
$ac_ext <<_ACEOF
15444 cat confdefs.h
>>conftest.
$ac_ext
15445 cat >>conftest.
$ac_ext <<_ACEOF
15446 /* end confdefs.h. */
15447 $ac_includes_default
15459 rm -f conftest.
$ac_objext
15460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15461 (eval $ac_compile) 2>conftest.er1
15463 grep -v '^ *+' conftest.er1
>conftest.err
15465 cat conftest.err
>&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try
='test -z "$ac_c_werror_flag"
15469 || test ! -s conftest.err'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try
='test -s conftest.$ac_objext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 ac_cv_type_char
=yes
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.
$ac_ext >&5
15488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15490 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15491 echo "${ECHO_T}$ac_cv_type_char" >&6
15493 echo "$as_me:$LINENO: checking size of char" >&5
15494 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15495 if test "${ac_cv_sizeof_char+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 if test "$ac_cv_type_char" = yes; then
15499 # The cast to unsigned long works around a bug in the HP C Compiler
15500 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15501 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15502 # This bug is HP SR number 8606223364.
15503 if test "$cross_compiling" = yes; then
15504 # Depending upon the size, compute the lo and hi bounds.
15505 cat >conftest.
$ac_ext <<_ACEOF
15508 cat confdefs.h
>>conftest.
$ac_ext
15509 cat >>conftest.
$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15515 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15522 rm -f conftest.
$ac_objext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15524 (eval $ac_compile) 2>conftest.er1
15526 grep -v '^ *+' conftest.er1
>conftest.err
15528 cat conftest.err
>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try
='test -z "$ac_c_werror_flag"
15532 || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest.$ac_objext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15546 cat >conftest.
$ac_ext <<_ACEOF
15549 cat confdefs.h
>>conftest.
$ac_ext
15550 cat >>conftest.
$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15552 $ac_includes_default
15556 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15563 rm -f conftest.
$ac_objext
15564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15565 (eval $ac_compile) 2>conftest.er1
15567 grep -v '^ *+' conftest.er1
>conftest.err
15569 cat conftest.err
>&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } &&
15572 { ac_try
='test -z "$ac_c_werror_flag"
15573 || test ! -s conftest.err'
15574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15575 (eval $ac_try) 2>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); }; } &&
15579 { ac_try
='test -s conftest.$ac_objext'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; }; then
15585 ac_hi
=$ac_mid; break
15587 echo "$as_me: failed program was:" >&5
15588 sed 's/^/| /' conftest.
$ac_ext >&5
15590 ac_lo
=`expr $ac_mid + 1`
15591 if test $ac_lo -le $ac_mid; then
15595 ac_mid
=`expr 2 '*' $ac_mid + 1`
15597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.
$ac_ext >&5
15603 cat >conftest.
$ac_ext <<_ACEOF
15606 cat confdefs.h
>>conftest.
$ac_ext
15607 cat >>conftest.
$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 $ac_includes_default
15613 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15620 rm -f conftest.
$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>conftest.er1
15624 grep -v '^ *+' conftest.er1
>conftest.err
15626 cat conftest.err
>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try
='test -z "$ac_c_werror_flag"
15630 || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try
='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15644 cat >conftest.
$ac_ext <<_ACEOF
15647 cat confdefs.h
>>conftest.
$ac_ext
15648 cat >>conftest.
$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15654 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15661 rm -f conftest.
$ac_objext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15663 (eval $ac_compile) 2>conftest.er1
15665 grep -v '^ *+' conftest.er1
>conftest.err
15667 cat conftest.err
>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try
='test -z "$ac_c_werror_flag"
15671 || test ! -s conftest.err'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; } &&
15677 { ac_try
='test -s conftest.$ac_objext'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; }; then
15683 ac_lo
=$ac_mid; break
15685 echo "$as_me: failed program was:" >&5
15686 sed 's/^/| /' conftest.
$ac_ext >&5
15688 ac_hi
=`expr '(' $ac_mid ')' - 1`
15689 if test $ac_mid -le $ac_hi; then
15693 ac_mid
=`expr 2 '*' $ac_mid`
15695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.
$ac_ext >&5
15703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15706 # Binary search between lo and hi bounds.
15707 while test "x$ac_lo" != "x$ac_hi"; do
15708 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15709 cat >conftest.
$ac_ext <<_ACEOF
15712 cat confdefs.h
>>conftest.
$ac_ext
15713 cat >>conftest.
$ac_ext <<_ACEOF
15714 /* end confdefs.h. */
15715 $ac_includes_default
15719 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15726 rm -f conftest.
$ac_objext
15727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15728 (eval $ac_compile) 2>conftest.er1
15730 grep -v '^ *+' conftest.er1
>conftest.err
15732 cat conftest.err
>&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } &&
15735 { ac_try
='test -z "$ac_c_werror_flag"
15736 || test ! -s conftest.err'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; } &&
15742 { ac_try
='test -s conftest.$ac_objext'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; }; then
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.
$ac_ext >&5
15753 ac_lo
=`expr '(' $ac_mid ')' + 1`
15755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15758 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15759 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15760 See \`config.log' for more details." >&5
15761 echo "$as_me: error: cannot compute sizeof (char), 77
15762 See \`config.log' for more details." >&2;}
15763 { (exit 1); exit 1; }; } ;;
15766 if test "$cross_compiling" = yes; then
15767 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15768 See \`config.log' for more details." >&5
15769 echo "$as_me: error: cannot run test program while cross compiling
15770 See \`config.log' for more details." >&2;}
15771 { (exit 1); exit 1; }; }
15773 cat >conftest.
$ac_ext <<_ACEOF
15776 cat confdefs.h
>>conftest.
$ac_ext
15777 cat >>conftest.
$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15779 $ac_includes_default
15780 long longval () { return (long) (sizeof (char)); }
15781 unsigned long ulongval () { return (long) (sizeof (char)); }
15783 #include <stdlib.h>
15788 FILE *f = fopen ("conftest.val", "w");
15791 if (((long) (sizeof (char))) < 0)
15793 long i = longval ();
15794 if (i != ((long) (sizeof (char))))
15796 fprintf (f, "%ld\n", i);
15800 unsigned long i = ulongval ();
15801 if (i != ((long) (sizeof (char))))
15803 fprintf (f, "%lu\n", i);
15805 exit (ferror (f) || fclose (f) != 0);
15811 rm -f conftest
$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>&5
15815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_sizeof_char
=`cat conftest.val`
15824 echo "$as_me: program exited with status $ac_status" >&5
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.
$ac_ext >&5
15828 ( exit $ac_status )
15829 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15830 See \`config.log' for more details." >&5
15831 echo "$as_me: error: cannot compute sizeof (char), 77
15832 See \`config.log' for more details." >&2;}
15833 { (exit 1); exit 1; }; }
15835 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15840 ac_cv_sizeof_char
=0
15843 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15844 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15845 cat >>confdefs.h
<<_ACEOF
15846 #define SIZEOF_CHAR $ac_cv_sizeof_char
15850 echo "$as_me:$LINENO: checking for short" >&5
15851 echo $ECHO_N "checking for short... $ECHO_C" >&6
15852 if test "${ac_cv_type_short+set}" = set; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 cat >conftest.
$ac_ext <<_ACEOF
15858 cat confdefs.h
>>conftest.
$ac_ext
15859 cat >>conftest.
$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15861 $ac_includes_default
15867 if (sizeof (short))
15873 rm -f conftest.
$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>conftest.er1
15877 grep -v '^ *+' conftest.er1
>conftest.err
15879 cat conftest.err
>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try
='test -z "$ac_c_werror_flag"
15883 || test ! -s conftest.err'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; } &&
15889 { ac_try
='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 ac_cv_type_short
=yes
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.
$ac_ext >&5
15900 ac_cv_type_short
=no
15902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15904 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15905 echo "${ECHO_T}$ac_cv_type_short" >&6
15907 echo "$as_me:$LINENO: checking size of short" >&5
15908 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15909 if test "${ac_cv_sizeof_short+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 if test "$ac_cv_type_short" = yes; then
15913 # The cast to unsigned long works around a bug in the HP C Compiler
15914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15916 # This bug is HP SR number 8606223364.
15917 if test "$cross_compiling" = yes; then
15918 # Depending upon the size, compute the lo and hi bounds.
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 $ac_includes_default
15929 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15936 rm -f conftest.
$ac_objext
15937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15938 (eval $ac_compile) 2>conftest.er1
15940 grep -v '^ *+' conftest.er1
>conftest.err
15942 cat conftest.err
>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } &&
15945 { ac_try
='test -z "$ac_c_werror_flag"
15946 || test ! -s conftest.err'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; } &&
15952 { ac_try
='test -s conftest.$ac_objext'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15960 cat >conftest.
$ac_ext <<_ACEOF
15963 cat confdefs.h
>>conftest.
$ac_ext
15964 cat >>conftest.
$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15970 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15977 rm -f conftest.
$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>conftest.er1
15981 grep -v '^ *+' conftest.er1
>conftest.err
15983 cat conftest.err
>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try
='test -z "$ac_c_werror_flag"
15987 || test ! -s conftest.err'
15988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 (eval $ac_try) 2>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); }; } &&
15993 { ac_try
='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_hi
=$ac_mid; break
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16004 ac_lo
=`expr $ac_mid + 1`
16005 if test $ac_lo -le $ac_mid; then
16009 ac_mid
=`expr 2 '*' $ac_mid + 1`
16011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.
$ac_ext >&5
16017 cat >conftest.
$ac_ext <<_ACEOF
16020 cat confdefs.h
>>conftest.
$ac_ext
16021 cat >>conftest.
$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16023 $ac_includes_default
16027 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16034 rm -f conftest.
$ac_objext
16035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16036 (eval $ac_compile) 2>conftest.er1
16038 grep -v '^ *+' conftest.er1
>conftest.err
16040 cat conftest.err
>&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } &&
16043 { ac_try
='test -z "$ac_c_werror_flag"
16044 || test ! -s conftest.err'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; } &&
16050 { ac_try
='test -s conftest.$ac_objext'
16051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052 (eval $ac_try) 2>&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); }; }; then
16058 cat >conftest.
$ac_ext <<_ACEOF
16061 cat confdefs.h
>>conftest.
$ac_ext
16062 cat >>conftest.
$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 $ac_includes_default
16068 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16075 rm -f conftest.
$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try
='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try
='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 ac_lo
=$ac_mid; break
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.
$ac_ext >&5
16102 ac_hi
=`expr '(' $ac_mid ')' - 1`
16103 if test $ac_mid -le $ac_hi; then
16107 ac_mid
=`expr 2 '*' $ac_mid`
16109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.
$ac_ext >&5
16117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16120 # Binary search between lo and hi bounds.
16121 while test "x$ac_lo" != "x$ac_hi"; do
16122 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16123 cat >conftest.
$ac_ext <<_ACEOF
16126 cat confdefs.h
>>conftest.
$ac_ext
16127 cat >>conftest.
$ac_ext <<_ACEOF
16128 /* end confdefs.h. */
16129 $ac_includes_default
16133 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16140 rm -f conftest.
$ac_objext
16141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16142 (eval $ac_compile) 2>conftest.er1
16144 grep -v '^ *+' conftest.er1
>conftest.err
16146 cat conftest.err
>&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } &&
16149 { ac_try
='test -z "$ac_c_werror_flag"
16150 || test ! -s conftest.err'
16151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16152 (eval $ac_try) 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; } &&
16156 { ac_try
='test -s conftest.$ac_objext'
16157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16158 (eval $ac_try) 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; }; then
16164 echo "$as_me: failed program was:" >&5
16165 sed 's/^/| /' conftest.
$ac_ext >&5
16167 ac_lo
=`expr '(' $ac_mid ')' + 1`
16169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16172 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16173 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16174 See \`config.log' for more details." >&5
16175 echo "$as_me: error: cannot compute sizeof (short), 77
16176 See \`config.log' for more details." >&2;}
16177 { (exit 1); exit 1; }; } ;;
16180 if test "$cross_compiling" = yes; then
16181 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16182 See \`config.log' for more details." >&5
16183 echo "$as_me: error: cannot run test program while cross compiling
16184 See \`config.log' for more details." >&2;}
16185 { (exit 1); exit 1; }; }
16187 cat >conftest.
$ac_ext <<_ACEOF
16190 cat confdefs.h
>>conftest.
$ac_ext
16191 cat >>conftest.
$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16193 $ac_includes_default
16194 long longval () { return (long) (sizeof (short)); }
16195 unsigned long ulongval () { return (long) (sizeof (short)); }
16197 #include <stdlib.h>
16202 FILE *f = fopen ("conftest.val", "w");
16205 if (((long) (sizeof (short))) < 0)
16207 long i = longval ();
16208 if (i != ((long) (sizeof (short))))
16210 fprintf (f, "%ld\n", i);
16214 unsigned long i = ulongval ();
16215 if (i != ((long) (sizeof (short))))
16217 fprintf (f, "%lu\n", i);
16219 exit (ferror (f) || fclose (f) != 0);
16225 rm -f conftest
$ac_exeext
16226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16227 (eval $ac_link) 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; }; then
16236 ac_cv_sizeof_short
=`cat conftest.val`
16238 echo "$as_me: program exited with status $ac_status" >&5
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.
$ac_ext >&5
16242 ( exit $ac_status )
16243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16244 See \`config.log' for more details." >&5
16245 echo "$as_me: error: cannot compute sizeof (short), 77
16246 See \`config.log' for more details." >&2;}
16247 { (exit 1); exit 1; }; }
16249 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16254 ac_cv_sizeof_short
=0
16257 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16258 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16259 cat >>confdefs.h
<<_ACEOF
16260 #define SIZEOF_SHORT $ac_cv_sizeof_short
16264 echo "$as_me:$LINENO: checking for void *" >&5
16265 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16266 if test "${ac_cv_type_void_p+set}" = set; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16269 cat >conftest.
$ac_ext <<_ACEOF
16272 cat confdefs.h
>>conftest.
$ac_ext
16273 cat >>conftest.
$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 $ac_includes_default
16281 if (sizeof (void *))
16287 rm -f conftest.
$ac_objext
16288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16289 (eval $ac_compile) 2>conftest.er1
16291 grep -v '^ *+' conftest.er1
>conftest.err
16293 cat conftest.err
>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } &&
16296 { ac_try
='test -z "$ac_c_werror_flag"
16297 || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try
='test -s conftest.$ac_objext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309 ac_cv_type_void_p
=yes
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.
$ac_ext >&5
16314 ac_cv_type_void_p
=no
16316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16318 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16319 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16321 echo "$as_me:$LINENO: checking size of void *" >&5
16322 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16323 if test "${ac_cv_sizeof_void_p+set}" = set; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 if test "$ac_cv_type_void_p" = yes; then
16327 # The cast to unsigned long works around a bug in the HP C Compiler
16328 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16329 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16330 # This bug is HP SR number 8606223364.
16331 if test "$cross_compiling" = yes; then
16332 # Depending upon the size, compute the lo and hi bounds.
16333 cat >conftest.
$ac_ext <<_ACEOF
16336 cat confdefs.h
>>conftest.
$ac_ext
16337 cat >>conftest.
$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339 $ac_includes_default
16343 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16350 rm -f conftest.
$ac_objext
16351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16352 (eval $ac_compile) 2>conftest.er1
16354 grep -v '^ *+' conftest.er1
>conftest.err
16356 cat conftest.err
>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } &&
16359 { ac_try
='test -z "$ac_c_werror_flag"
16360 || test ! -s conftest.err'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; } &&
16366 { ac_try
='test -s conftest.$ac_objext'
16367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16368 (eval $ac_try) 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; }; then
16374 cat >conftest.
$ac_ext <<_ACEOF
16377 cat confdefs.h
>>conftest.
$ac_ext
16378 cat >>conftest.
$ac_ext <<_ACEOF
16379 /* end confdefs.h. */
16380 $ac_includes_default
16384 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16391 rm -f conftest.
$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>conftest.er1
16395 grep -v '^ *+' conftest.er1
>conftest.err
16397 cat conftest.err
>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try
='test -z "$ac_c_werror_flag"
16401 || test ! -s conftest.err'
16402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16403 (eval $ac_try) 2>&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); }; } &&
16407 { ac_try
='test -s conftest.$ac_objext'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16413 ac_hi
=$ac_mid; break
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.
$ac_ext >&5
16418 ac_lo
=`expr $ac_mid + 1`
16419 if test $ac_lo -le $ac_mid; then
16423 ac_mid
=`expr 2 '*' $ac_mid + 1`
16425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.
$ac_ext >&5
16431 cat >conftest.
$ac_ext <<_ACEOF
16434 cat confdefs.h
>>conftest.
$ac_ext
16435 cat >>conftest.
$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16437 $ac_includes_default
16441 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16448 rm -f conftest.
$ac_objext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16450 (eval $ac_compile) 2>conftest.er1
16452 grep -v '^ *+' conftest.er1
>conftest.err
16454 cat conftest.err
>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } &&
16457 { ac_try
='test -z "$ac_c_werror_flag"
16458 || test ! -s conftest.err'
16459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460 (eval $ac_try) 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try
='test -s conftest.$ac_objext'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; }; then
16472 cat >conftest.
$ac_ext <<_ACEOF
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16482 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16489 rm -f conftest.
$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>conftest.er1
16493 grep -v '^ *+' conftest.er1
>conftest.err
16495 cat conftest.err
>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } &&
16498 { ac_try
='test -z "$ac_c_werror_flag"
16499 || test ! -s conftest.err'
16500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16501 (eval $ac_try) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); }; } &&
16505 { ac_try
='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_lo
=$ac_mid; break
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16516 ac_hi
=`expr '(' $ac_mid ')' - 1`
16517 if test $ac_mid -le $ac_hi; then
16521 ac_mid
=`expr 2 '*' $ac_mid`
16523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.
$ac_ext >&5
16531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16534 # Binary search between lo and hi bounds.
16535 while test "x$ac_lo" != "x$ac_hi"; do
16536 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16537 cat >conftest.
$ac_ext <<_ACEOF
16540 cat confdefs.h
>>conftest.
$ac_ext
16541 cat >>conftest.
$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543 $ac_includes_default
16547 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16554 rm -f conftest.
$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16558 grep -v '^ *+' conftest.er1
>conftest.err
16560 cat conftest.err
>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try
='test -z "$ac_c_werror_flag"
16564 || test ! -s conftest.err'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; } &&
16570 { ac_try
='test -s conftest.$ac_objext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.
$ac_ext >&5
16581 ac_lo
=`expr '(' $ac_mid ')' + 1`
16583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16586 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16588 See \`config.log' for more details." >&5
16589 echo "$as_me: error: cannot compute sizeof (void *), 77
16590 See \`config.log' for more details." >&2;}
16591 { (exit 1); exit 1; }; } ;;
16594 if test "$cross_compiling" = yes; then
16595 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16596 See \`config.log' for more details." >&5
16597 echo "$as_me: error: cannot run test program while cross compiling
16598 See \`config.log' for more details." >&2;}
16599 { (exit 1); exit 1; }; }
16601 cat >conftest.
$ac_ext <<_ACEOF
16604 cat confdefs.h
>>conftest.
$ac_ext
16605 cat >>conftest.
$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 $ac_includes_default
16608 long longval () { return (long) (sizeof (void *)); }
16609 unsigned long ulongval () { return (long) (sizeof (void *)); }
16611 #include <stdlib.h>
16616 FILE *f = fopen ("conftest.val", "w");
16619 if (((long) (sizeof (void *))) < 0)
16621 long i = longval ();
16622 if (i != ((long) (sizeof (void *))))
16624 fprintf (f, "%ld\n", i);
16628 unsigned long i = ulongval ();
16629 if (i != ((long) (sizeof (void *))))
16631 fprintf (f, "%lu\n", i);
16633 exit (ferror (f) || fclose (f) != 0);
16639 rm -f conftest
$ac_exeext
16640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16641 (eval $ac_link) 2>&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; }; then
16650 ac_cv_sizeof_void_p
=`cat conftest.val`
16652 echo "$as_me: program exited with status $ac_status" >&5
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.
$ac_ext >&5
16656 ( exit $ac_status )
16657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16658 See \`config.log' for more details." >&5
16659 echo "$as_me: error: cannot compute sizeof (void *), 77
16660 See \`config.log' for more details." >&2;}
16661 { (exit 1); exit 1; }; }
16663 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16668 ac_cv_sizeof_void_p
=0
16671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16672 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16673 cat >>confdefs.h
<<_ACEOF
16674 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16678 echo "$as_me:$LINENO: checking for int" >&5
16679 echo $ECHO_N "checking for int... $ECHO_C" >&6
16680 if test "${ac_cv_type_int+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16683 cat >conftest.
$ac_ext <<_ACEOF
16686 cat confdefs.h
>>conftest.
$ac_ext
16687 cat >>conftest.
$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 $ac_includes_default
16701 rm -f conftest.
$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1
>conftest.err
16707 cat conftest.err
>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try
='test -z "$ac_c_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try
='test -s conftest.$ac_objext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.
$ac_ext >&5
16730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16732 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16733 echo "${ECHO_T}$ac_cv_type_int" >&6
16735 echo "$as_me:$LINENO: checking size of int" >&5
16736 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16737 if test "${ac_cv_sizeof_int+set}" = set; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 if test "$ac_cv_type_int" = yes; then
16741 # The cast to unsigned long works around a bug in the HP C Compiler
16742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16744 # This bug is HP SR number 8606223364.
16745 if test "$cross_compiling" = yes; then
16746 # Depending upon the size, compute the lo and hi bounds.
16747 cat >conftest.
$ac_ext <<_ACEOF
16750 cat confdefs.h
>>conftest.
$ac_ext
16751 cat >>conftest.
$ac_ext <<_ACEOF
16752 /* end confdefs.h. */
16753 $ac_includes_default
16757 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16764 rm -f conftest.
$ac_objext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16766 (eval $ac_compile) 2>conftest.er1
16768 grep -v '^ *+' conftest.er1
>conftest.err
16770 cat conftest.err
>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } &&
16773 { ac_try
='test -z "$ac_c_werror_flag"
16774 || test ! -s conftest.err'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; } &&
16780 { ac_try
='test -s conftest.$ac_objext'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; }; then
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16798 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16805 rm -f conftest.
$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16809 grep -v '^ *+' conftest.er1
>conftest.err
16811 cat conftest.err
>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try
='test -z "$ac_c_werror_flag"
16815 || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try
='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_hi
=$ac_mid; break
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.
$ac_ext >&5
16832 ac_lo
=`expr $ac_mid + 1`
16833 if test $ac_lo -le $ac_mid; then
16837 ac_mid
=`expr 2 '*' $ac_mid + 1`
16839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.
$ac_ext >&5
16845 cat >conftest.
$ac_ext <<_ACEOF
16848 cat confdefs.h
>>conftest.
$ac_ext
16849 cat >>conftest.
$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 $ac_includes_default
16855 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16862 rm -f conftest.
$ac_objext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>conftest.er1
16866 grep -v '^ *+' conftest.er1
>conftest.err
16868 cat conftest.err
>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try
='test -z "$ac_c_werror_flag"
16872 || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try
='test -s conftest.$ac_objext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16886 cat >conftest.
$ac_ext <<_ACEOF
16889 cat confdefs.h
>>conftest.
$ac_ext
16890 cat >>conftest.
$ac_ext <<_ACEOF
16891 /* end confdefs.h. */
16892 $ac_includes_default
16896 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16903 rm -f conftest.
$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16907 grep -v '^ *+' conftest.er1
>conftest.err
16909 cat conftest.err
>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try
='test -z "$ac_c_werror_flag"
16913 || test ! -s conftest.err'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; } &&
16919 { ac_try
='test -s conftest.$ac_objext'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; }; then
16925 ac_lo
=$ac_mid; break
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.
$ac_ext >&5
16930 ac_hi
=`expr '(' $ac_mid ')' - 1`
16931 if test $ac_mid -le $ac_hi; then
16935 ac_mid
=`expr 2 '*' $ac_mid`
16937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16940 echo "$as_me: failed program was:" >&5
16941 sed 's/^/| /' conftest.
$ac_ext >&5
16945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16948 # Binary search between lo and hi bounds.
16949 while test "x$ac_lo" != "x$ac_hi"; do
16950 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16951 cat >conftest.
$ac_ext <<_ACEOF
16954 cat confdefs.h
>>conftest.
$ac_ext
16955 cat >>conftest.
$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957 $ac_includes_default
16961 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16968 rm -f conftest.
$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16972 grep -v '^ *+' conftest.er1
>conftest.err
16974 cat conftest.err
>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try
='test -z "$ac_c_werror_flag"
16978 || test ! -s conftest.err'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; } &&
16984 { ac_try
='test -s conftest.$ac_objext'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; }; then
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.
$ac_ext >&5
16995 ac_lo
=`expr '(' $ac_mid ')' + 1`
16997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17000 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17001 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17002 See \`config.log' for more details." >&5
17003 echo "$as_me: error: cannot compute sizeof (int), 77
17004 See \`config.log' for more details." >&2;}
17005 { (exit 1); exit 1; }; } ;;
17008 if test "$cross_compiling" = yes; then
17009 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17010 See \`config.log' for more details." >&5
17011 echo "$as_me: error: cannot run test program while cross compiling
17012 See \`config.log' for more details." >&2;}
17013 { (exit 1); exit 1; }; }
17015 cat >conftest.
$ac_ext <<_ACEOF
17018 cat confdefs.h
>>conftest.
$ac_ext
17019 cat >>conftest.
$ac_ext <<_ACEOF
17020 /* end confdefs.h. */
17021 $ac_includes_default
17022 long longval () { return (long) (sizeof (int)); }
17023 unsigned long ulongval () { return (long) (sizeof (int)); }
17025 #include <stdlib.h>
17030 FILE *f = fopen ("conftest.val", "w");
17033 if (((long) (sizeof (int))) < 0)
17035 long i = longval ();
17036 if (i != ((long) (sizeof (int))))
17038 fprintf (f, "%ld\n", i);
17042 unsigned long i = ulongval ();
17043 if (i != ((long) (sizeof (int))))
17045 fprintf (f, "%lu\n", i);
17047 exit (ferror (f) || fclose (f) != 0);
17053 rm -f conftest
$ac_exeext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17055 (eval $ac_link) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060 (eval $ac_try) 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; }; then
17064 ac_cv_sizeof_int
=`cat conftest.val`
17066 echo "$as_me: program exited with status $ac_status" >&5
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.
$ac_ext >&5
17070 ( exit $ac_status )
17071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17072 See \`config.log' for more details." >&5
17073 echo "$as_me: error: cannot compute sizeof (int), 77
17074 See \`config.log' for more details." >&2;}
17075 { (exit 1); exit 1; }; }
17077 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17086 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17087 cat >>confdefs.h
<<_ACEOF
17088 #define SIZEOF_INT $ac_cv_sizeof_int
17092 echo "$as_me:$LINENO: checking for long" >&5
17093 echo $ECHO_N "checking for long... $ECHO_C" >&6
17094 if test "${ac_cv_type_long+set}" = set; then
17095 echo $ECHO_N "(cached) $ECHO_C" >&6
17097 cat >conftest.
$ac_ext <<_ACEOF
17100 cat confdefs.h
>>conftest.
$ac_ext
17101 cat >>conftest.
$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17103 $ac_includes_default
17115 rm -f conftest.
$ac_objext
17116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17117 (eval $ac_compile) 2>conftest.er1
17119 grep -v '^ *+' conftest.er1
>conftest.err
17121 cat conftest.err
>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } &&
17124 { ac_try
='test -z "$ac_c_werror_flag"
17125 || test ! -s conftest.err'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); }; } &&
17131 { ac_try
='test -s conftest.$ac_objext'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; }; then
17137 ac_cv_type_long
=yes
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.
$ac_ext >&5
17144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17146 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17147 echo "${ECHO_T}$ac_cv_type_long" >&6
17149 echo "$as_me:$LINENO: checking size of long" >&5
17150 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17151 if test "${ac_cv_sizeof_long+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 if test "$ac_cv_type_long" = yes; then
17155 # The cast to unsigned long works around a bug in the HP C Compiler
17156 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17157 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17158 # This bug is HP SR number 8606223364.
17159 if test "$cross_compiling" = yes; then
17160 # Depending upon the size, compute the lo and hi bounds.
17161 cat >conftest.
$ac_ext <<_ACEOF
17164 cat confdefs.h
>>conftest.
$ac_ext
17165 cat >>conftest.
$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 $ac_includes_default
17171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17178 rm -f conftest.
$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17182 grep -v '^ *+' conftest.er1
>conftest.err
17184 cat conftest.err
>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try
='test -z "$ac_c_werror_flag"
17188 || test ! -s conftest.err'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; } &&
17194 { ac_try
='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17202 cat >conftest.
$ac_ext <<_ACEOF
17205 cat confdefs.h
>>conftest.
$ac_ext
17206 cat >>conftest.
$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17208 $ac_includes_default
17212 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17219 rm -f conftest.
$ac_objext
17220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17221 (eval $ac_compile) 2>conftest.er1
17223 grep -v '^ *+' conftest.er1
>conftest.err
17225 cat conftest.err
>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } &&
17228 { ac_try
='test -z "$ac_c_werror_flag"
17229 || test ! -s conftest.err'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; } &&
17235 { ac_try
='test -s conftest.$ac_objext'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; }; then
17241 ac_hi
=$ac_mid; break
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.
$ac_ext >&5
17246 ac_lo
=`expr $ac_mid + 1`
17247 if test $ac_lo -le $ac_mid; then
17251 ac_mid
=`expr 2 '*' $ac_mid + 1`
17253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17259 cat >conftest.
$ac_ext <<_ACEOF
17262 cat confdefs.h
>>conftest.
$ac_ext
17263 cat >>conftest.
$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 $ac_includes_default
17269 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17276 rm -f conftest.
$ac_objext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17278 (eval $ac_compile) 2>conftest.er1
17280 grep -v '^ *+' conftest.er1
>conftest.err
17282 cat conftest.err
>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } &&
17285 { ac_try
='test -z "$ac_c_werror_flag"
17286 || test ! -s conftest.err'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; } &&
17292 { ac_try
='test -s conftest.$ac_objext'
17293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294 (eval $ac_try) 2>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); }; }; then
17300 cat >conftest.
$ac_ext <<_ACEOF
17303 cat confdefs.h
>>conftest.
$ac_ext
17304 cat >>conftest.
$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 $ac_includes_default
17310 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17317 rm -f conftest.
$ac_objext
17318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17319 (eval $ac_compile) 2>conftest.er1
17321 grep -v '^ *+' conftest.er1
>conftest.err
17323 cat conftest.err
>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } &&
17326 { ac_try
='test -z "$ac_c_werror_flag"
17327 || test ! -s conftest.err'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; } &&
17333 { ac_try
='test -s conftest.$ac_objext'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; }; then
17339 ac_lo
=$ac_mid; break
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.
$ac_ext >&5
17344 ac_hi
=`expr '(' $ac_mid ')' - 1`
17345 if test $ac_mid -le $ac_hi; then
17349 ac_mid
=`expr 2 '*' $ac_mid`
17351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.
$ac_ext >&5
17359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17362 # Binary search between lo and hi bounds.
17363 while test "x$ac_lo" != "x$ac_hi"; do
17364 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17365 cat >conftest.
$ac_ext <<_ACEOF
17368 cat confdefs.h
>>conftest.
$ac_ext
17369 cat >>conftest.
$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 $ac_includes_default
17375 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17382 rm -f conftest.
$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17386 grep -v '^ *+' conftest.er1
>conftest.err
17388 cat conftest.err
>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try
='test -z "$ac_c_werror_flag"
17392 || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try
='test -s conftest.$ac_objext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.
$ac_ext >&5
17409 ac_lo
=`expr '(' $ac_mid ')' + 1`
17411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17414 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17415 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17416 See \`config.log' for more details." >&5
17417 echo "$as_me: error: cannot compute sizeof (long), 77
17418 See \`config.log' for more details." >&2;}
17419 { (exit 1); exit 1; }; } ;;
17422 if test "$cross_compiling" = yes; then
17423 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17424 See \`config.log' for more details." >&5
17425 echo "$as_me: error: cannot run test program while cross compiling
17426 See \`config.log' for more details." >&2;}
17427 { (exit 1); exit 1; }; }
17429 cat >conftest.
$ac_ext <<_ACEOF
17432 cat confdefs.h
>>conftest.
$ac_ext
17433 cat >>conftest.
$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435 $ac_includes_default
17436 long longval () { return (long) (sizeof (long)); }
17437 unsigned long ulongval () { return (long) (sizeof (long)); }
17439 #include <stdlib.h>
17444 FILE *f = fopen ("conftest.val", "w");
17447 if (((long) (sizeof (long))) < 0)
17449 long i = longval ();
17450 if (i != ((long) (sizeof (long))))
17452 fprintf (f, "%ld\n", i);
17456 unsigned long i = ulongval ();
17457 if (i != ((long) (sizeof (long))))
17459 fprintf (f, "%lu\n", i);
17461 exit (ferror (f) || fclose (f) != 0);
17467 rm -f conftest
$ac_exeext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17469 (eval $ac_link) 2>&5
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17478 ac_cv_sizeof_long
=`cat conftest.val`
17480 echo "$as_me: program exited with status $ac_status" >&5
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.
$ac_ext >&5
17484 ( exit $ac_status )
17485 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17486 See \`config.log' for more details." >&5
17487 echo "$as_me: error: cannot compute sizeof (long), 77
17488 See \`config.log' for more details." >&2;}
17489 { (exit 1); exit 1; }; }
17491 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17496 ac_cv_sizeof_long
=0
17499 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17500 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17501 cat >>confdefs.h
<<_ACEOF
17502 #define SIZEOF_LONG $ac_cv_sizeof_long
17506 echo "$as_me:$LINENO: checking for size_t" >&5
17507 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17508 if test "${ac_cv_type_size_t+set}" = set; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 cat >conftest.
$ac_ext <<_ACEOF
17514 cat confdefs.h
>>conftest.
$ac_ext
17515 cat >>conftest.
$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17523 if (sizeof (size_t))
17529 rm -f conftest.
$ac_objext
17530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17531 (eval $ac_compile) 2>conftest.er1
17533 grep -v '^ *+' conftest.er1
>conftest.err
17535 cat conftest.err
>&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try
='test -z "$ac_c_werror_flag"
17539 || test ! -s conftest.err'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; } &&
17545 { ac_try
='test -s conftest.$ac_objext'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; }; then
17551 ac_cv_type_size_t
=yes
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.
$ac_ext >&5
17556 ac_cv_type_size_t
=no
17558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17560 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17561 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17563 echo "$as_me:$LINENO: checking size of size_t" >&5
17564 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17565 if test "${ac_cv_sizeof_size_t+set}" = set; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17568 if test "$ac_cv_type_size_t" = yes; then
17569 # The cast to unsigned long works around a bug in the HP C Compiler
17570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17572 # This bug is HP SR number 8606223364.
17573 if test "$cross_compiling" = yes; then
17574 # Depending upon the size, compute the lo and hi bounds.
17575 cat >conftest.
$ac_ext <<_ACEOF
17578 cat confdefs.h
>>conftest.
$ac_ext
17579 cat >>conftest.
$ac_ext <<_ACEOF
17580 /* end confdefs.h. */
17581 $ac_includes_default
17585 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17592 rm -f conftest.
$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17596 grep -v '^ *+' conftest.er1
>conftest.err
17598 cat conftest.err
>&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try
='test -z "$ac_c_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try
='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17616 cat >conftest.
$ac_ext <<_ACEOF
17619 cat confdefs.h
>>conftest.
$ac_ext
17620 cat >>conftest.
$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17622 $ac_includes_default
17626 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17633 rm -f conftest.
$ac_objext
17634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17635 (eval $ac_compile) 2>conftest.er1
17637 grep -v '^ *+' conftest.er1
>conftest.err
17639 cat conftest.err
>&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } &&
17642 { ac_try
='test -z "$ac_c_werror_flag"
17643 || test ! -s conftest.err'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; } &&
17649 { ac_try
='test -s conftest.$ac_objext'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; }; then
17655 ac_hi
=$ac_mid; break
17657 echo "$as_me: failed program was:" >&5
17658 sed 's/^/| /' conftest.
$ac_ext >&5
17660 ac_lo
=`expr $ac_mid + 1`
17661 if test $ac_lo -le $ac_mid; then
17665 ac_mid
=`expr 2 '*' $ac_mid + 1`
17667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.
$ac_ext >&5
17673 cat >conftest.
$ac_ext <<_ACEOF
17676 cat confdefs.h
>>conftest.
$ac_ext
17677 cat >>conftest.
$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 $ac_includes_default
17683 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17690 rm -f conftest.
$ac_objext
17691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17692 (eval $ac_compile) 2>conftest.er1
17694 grep -v '^ *+' conftest.er1
>conftest.err
17696 cat conftest.err
>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } &&
17699 { ac_try
='test -z "$ac_c_werror_flag"
17700 || test ! -s conftest.err'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try
='test -s conftest.$ac_objext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17714 cat >conftest.
$ac_ext <<_ACEOF
17717 cat confdefs.h
>>conftest.
$ac_ext
17718 cat >>conftest.
$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720 $ac_includes_default
17724 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17731 rm -f conftest.
$ac_objext
17732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17733 (eval $ac_compile) 2>conftest.er1
17735 grep -v '^ *+' conftest.er1
>conftest.err
17737 cat conftest.err
>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } &&
17740 { ac_try
='test -z "$ac_c_werror_flag"
17741 || test ! -s conftest.err'
17742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743 (eval $ac_try) 2>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; } &&
17747 { ac_try
='test -s conftest.$ac_objext'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; }; then
17753 ac_lo
=$ac_mid; break
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.
$ac_ext >&5
17758 ac_hi
=`expr '(' $ac_mid ')' - 1`
17759 if test $ac_mid -le $ac_hi; then
17763 ac_mid
=`expr 2 '*' $ac_mid`
17765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.
$ac_ext >&5
17773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17776 # Binary search between lo and hi bounds.
17777 while test "x$ac_lo" != "x$ac_hi"; do
17778 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17779 cat >conftest.
$ac_ext <<_ACEOF
17782 cat confdefs.h
>>conftest.
$ac_ext
17783 cat >>conftest.
$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 $ac_includes_default
17789 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17796 rm -f conftest.
$ac_objext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17798 (eval $ac_compile) 2>conftest.er1
17800 grep -v '^ *+' conftest.er1
>conftest.err
17802 cat conftest.err
>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try
='test -z "$ac_c_werror_flag"
17806 || test ! -s conftest.err'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; } &&
17812 { ac_try
='test -s conftest.$ac_objext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.
$ac_ext >&5
17823 ac_lo
=`expr '(' $ac_mid ')' + 1`
17825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17828 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17829 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17830 See \`config.log' for more details." >&5
17831 echo "$as_me: error: cannot compute sizeof (size_t), 77
17832 See \`config.log' for more details." >&2;}
17833 { (exit 1); exit 1; }; } ;;
17836 if test "$cross_compiling" = yes; then
17837 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17838 See \`config.log' for more details." >&5
17839 echo "$as_me: error: cannot run test program while cross compiling
17840 See \`config.log' for more details." >&2;}
17841 { (exit 1); exit 1; }; }
17843 cat >conftest.
$ac_ext <<_ACEOF
17846 cat confdefs.h
>>conftest.
$ac_ext
17847 cat >>conftest.
$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 $ac_includes_default
17850 long longval () { return (long) (sizeof (size_t)); }
17851 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17853 #include <stdlib.h>
17858 FILE *f = fopen ("conftest.val", "w");
17861 if (((long) (sizeof (size_t))) < 0)
17863 long i = longval ();
17864 if (i != ((long) (sizeof (size_t))))
17866 fprintf (f, "%ld\n", i);
17870 unsigned long i = ulongval ();
17871 if (i != ((long) (sizeof (size_t))))
17873 fprintf (f, "%lu\n", i);
17875 exit (ferror (f) || fclose (f) != 0);
17881 rm -f conftest
$ac_exeext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17883 (eval $ac_link) 2>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; }; then
17892 ac_cv_sizeof_size_t
=`cat conftest.val`
17894 echo "$as_me: program exited with status $ac_status" >&5
17895 echo "$as_me: failed program was:" >&5
17896 sed 's/^/| /' conftest.
$ac_ext >&5
17898 ( exit $ac_status )
17899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17900 See \`config.log' for more details." >&5
17901 echo "$as_me: error: cannot compute sizeof (size_t), 77
17902 See \`config.log' for more details." >&2;}
17903 { (exit 1); exit 1; }; }
17905 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17910 ac_cv_sizeof_size_t
=0
17913 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17914 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17915 cat >>confdefs.h
<<_ACEOF
17916 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17923 echo "$as_me:$LINENO: checking for long long" >&5
17924 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17925 if test "${ac_cv_type_long_long+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17938 if ((long long *) 0)
17940 if (sizeof (long long))
17946 rm -f conftest.
$ac_objext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17948 (eval $ac_compile) 2>conftest.er1
17950 grep -v '^ *+' conftest.er1
>conftest.err
17952 cat conftest.err
>&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } &&
17955 { ac_try
='test -z "$ac_c_werror_flag"
17956 || test ! -s conftest.err'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; } &&
17962 { ac_try
='test -s conftest.$ac_objext'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17968 ac_cv_type_long_long
=yes
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17973 ac_cv_type_long_long
=no
17975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17977 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17978 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17980 echo "$as_me:$LINENO: checking size of long long" >&5
17981 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17982 if test "${ac_cv_sizeof_long_long+set}" = set; then
17983 echo $ECHO_N "(cached) $ECHO_C" >&6
17985 if test "$ac_cv_type_long_long" = yes; then
17986 # The cast to unsigned long works around a bug in the HP C Compiler
17987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17989 # This bug is HP SR number 8606223364.
17990 if test "$cross_compiling" = yes; then
17991 # Depending upon the size, compute the lo and hi bounds.
17992 cat >conftest.
$ac_ext <<_ACEOF
17995 cat confdefs.h
>>conftest.
$ac_ext
17996 cat >>conftest.
$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
18002 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18009 rm -f conftest.
$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>conftest.er1
18013 grep -v '^ *+' conftest.er1
>conftest.err
18015 cat conftest.err
>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try
='test -z "$ac_c_werror_flag"
18019 || test ! -s conftest.err'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; } &&
18025 { ac_try
='test -s conftest.$ac_objext'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); }; }; then
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 $ac_includes_default
18043 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18050 rm -f conftest.
$ac_objext
18051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18052 (eval $ac_compile) 2>conftest.er1
18054 grep -v '^ *+' conftest.er1
>conftest.err
18056 cat conftest.err
>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } &&
18059 { ac_try
='test -z "$ac_c_werror_flag"
18060 || test ! -s conftest.err'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; } &&
18066 { ac_try
='test -s conftest.$ac_objext'
18067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18068 (eval $ac_try) 2>&5
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); }; }; then
18072 ac_hi
=$ac_mid; break
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.
$ac_ext >&5
18077 ac_lo
=`expr $ac_mid + 1`
18078 if test $ac_lo -le $ac_mid; then
18082 ac_mid
=`expr 2 '*' $ac_mid + 1`
18084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18087 echo "$as_me: failed program was:" >&5
18088 sed 's/^/| /' conftest.
$ac_ext >&5
18090 cat >conftest.
$ac_ext <<_ACEOF
18093 cat confdefs.h
>>conftest.
$ac_ext
18094 cat >>conftest.
$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18100 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18107 rm -f conftest.
$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18111 grep -v '^ *+' conftest.er1
>conftest.err
18113 cat conftest.err
>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try
='test -z "$ac_c_werror_flag"
18117 || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try
='test -s conftest.$ac_objext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18131 cat >conftest.
$ac_ext <<_ACEOF
18134 cat confdefs.h
>>conftest.
$ac_ext
18135 cat >>conftest.
$ac_ext <<_ACEOF
18136 /* end confdefs.h. */
18137 $ac_includes_default
18141 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18148 rm -f conftest.
$ac_objext
18149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18150 (eval $ac_compile) 2>conftest.er1
18152 grep -v '^ *+' conftest.er1
>conftest.err
18154 cat conftest.err
>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } &&
18157 { ac_try
='test -z "$ac_c_werror_flag"
18158 || test ! -s conftest.err'
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); }; } &&
18164 { ac_try
='test -s conftest.$ac_objext'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; }; then
18170 ac_lo
=$ac_mid; break
18172 echo "$as_me: failed program was:" >&5
18173 sed 's/^/| /' conftest.
$ac_ext >&5
18175 ac_hi
=`expr '(' $ac_mid ')' - 1`
18176 if test $ac_mid -le $ac_hi; then
18180 ac_mid
=`expr 2 '*' $ac_mid`
18182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.
$ac_ext >&5
18190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18193 # Binary search between lo and hi bounds.
18194 while test "x$ac_lo" != "x$ac_hi"; do
18195 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18196 cat >conftest.
$ac_ext <<_ACEOF
18199 cat confdefs.h
>>conftest.
$ac_ext
18200 cat >>conftest.
$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18206 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18213 rm -f conftest.
$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18217 grep -v '^ *+' conftest.er1
>conftest.err
18219 cat conftest.err
>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try
='test -z "$ac_c_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try
='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.
$ac_ext >&5
18240 ac_lo
=`expr '(' $ac_mid ')' + 1`
18242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18245 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18246 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18247 See \`config.log' for more details." >&5
18248 echo "$as_me: error: cannot compute sizeof (long long), 77
18249 See \`config.log' for more details." >&2;}
18250 { (exit 1); exit 1; }; } ;;
18253 if test "$cross_compiling" = yes; then
18254 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18255 See \`config.log' for more details." >&5
18256 echo "$as_me: error: cannot run test program while cross compiling
18257 See \`config.log' for more details." >&2;}
18258 { (exit 1); exit 1; }; }
18260 cat >conftest.
$ac_ext <<_ACEOF
18263 cat confdefs.h
>>conftest.
$ac_ext
18264 cat >>conftest.
$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 $ac_includes_default
18267 long longval () { return (long) (sizeof (long long)); }
18268 unsigned long ulongval () { return (long) (sizeof (long long)); }
18270 #include <stdlib.h>
18275 FILE *f = fopen ("conftest.val", "w");
18278 if (((long) (sizeof (long long))) < 0)
18280 long i = longval ();
18281 if (i != ((long) (sizeof (long long))))
18283 fprintf (f, "%ld\n", i);
18287 unsigned long i = ulongval ();
18288 if (i != ((long) (sizeof (long long))))
18290 fprintf (f, "%lu\n", i);
18292 exit (ferror (f) || fclose (f) != 0);
18298 rm -f conftest
$ac_exeext
18299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18300 (eval $ac_link) 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305 (eval $ac_try) 2>&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); }; }; then
18309 ac_cv_sizeof_long_long
=`cat conftest.val`
18311 echo "$as_me: program exited with status $ac_status" >&5
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.
$ac_ext >&5
18315 ( exit $ac_status )
18316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18317 See \`config.log' for more details." >&5
18318 echo "$as_me: error: cannot compute sizeof (long long), 77
18319 See \`config.log' for more details." >&2;}
18320 { (exit 1); exit 1; }; }
18322 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18327 ac_cv_sizeof_long_long
=0
18330 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18331 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18332 cat >>confdefs.h
<<_ACEOF
18333 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18339 echo "$as_me:$LINENO: checking for long long" >&5
18340 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18341 if test "${ac_cv_type_long_long+set}" = set; then
18342 echo $ECHO_N "(cached) $ECHO_C" >&6
18344 cat >conftest.
$ac_ext <<_ACEOF
18347 cat confdefs.h
>>conftest.
$ac_ext
18348 cat >>conftest.
$ac_ext <<_ACEOF
18349 /* end confdefs.h. */
18350 $ac_includes_default
18354 if ((long long *) 0)
18356 if (sizeof (long long))
18362 rm -f conftest.
$ac_objext
18363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18364 (eval $ac_compile) 2>conftest.er1
18366 grep -v '^ *+' conftest.er1
>conftest.err
18368 cat conftest.err
>&5
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } &&
18371 { ac_try
='test -z "$ac_c_werror_flag"
18372 || test ! -s conftest.err'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; } &&
18378 { ac_try
='test -s conftest.$ac_objext'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; }; then
18384 ac_cv_type_long_long
=yes
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.
$ac_ext >&5
18389 ac_cv_type_long_long
=no
18391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18393 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18394 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18396 echo "$as_me:$LINENO: checking size of long long" >&5
18397 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18398 if test "${ac_cv_sizeof_long_long+set}" = set; then
18399 echo $ECHO_N "(cached) $ECHO_C" >&6
18401 if test "$ac_cv_type_long_long" = yes; then
18402 # The cast to unsigned long works around a bug in the HP C Compiler
18403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18405 # This bug is HP SR number 8606223364.
18406 if test "$cross_compiling" = yes; then
18407 # Depending upon the size, compute the lo and hi bounds.
18408 cat >conftest.
$ac_ext <<_ACEOF
18411 cat confdefs.h
>>conftest.
$ac_ext
18412 cat >>conftest.
$ac_ext <<_ACEOF
18413 /* end confdefs.h. */
18414 $ac_includes_default
18418 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18425 rm -f conftest.
$ac_objext
18426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18427 (eval $ac_compile) 2>conftest.er1
18429 grep -v '^ *+' conftest.er1
>conftest.err
18431 cat conftest.err
>&5
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); } &&
18434 { ac_try
='test -z "$ac_c_werror_flag"
18435 || test ! -s conftest.err'
18436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18437 (eval $ac_try) 2>&5
18439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440 (exit $ac_status); }; } &&
18441 { ac_try
='test -s conftest.$ac_objext'
18442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443 (eval $ac_try) 2>&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); }; }; then
18449 cat >conftest.
$ac_ext <<_ACEOF
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18466 rm -f conftest.
$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 (eval $ac_compile) 2>conftest.er1
18470 grep -v '^ *+' conftest.er1
>conftest.err
18472 cat conftest.err
>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } &&
18475 { ac_try
='test -z "$ac_c_werror_flag"
18476 || test ! -s conftest.err'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; } &&
18482 { ac_try
='test -s conftest.$ac_objext'
18483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484 (eval $ac_try) 2>&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); }; }; then
18488 ac_hi
=$ac_mid; break
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.
$ac_ext >&5
18493 ac_lo
=`expr $ac_mid + 1`
18494 if test $ac_lo -le $ac_mid; then
18498 ac_mid
=`expr 2 '*' $ac_mid + 1`
18500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.
$ac_ext >&5
18506 cat >conftest.
$ac_ext <<_ACEOF
18509 cat confdefs.h
>>conftest.
$ac_ext
18510 cat >>conftest.
$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 $ac_includes_default
18516 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18523 rm -f conftest.
$ac_objext
18524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18525 (eval $ac_compile) 2>conftest.er1
18527 grep -v '^ *+' conftest.er1
>conftest.err
18529 cat conftest.err
>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } &&
18532 { ac_try
='test -z "$ac_c_werror_flag"
18533 || test ! -s conftest.err'
18534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535 (eval $ac_try) 2>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); }; } &&
18539 { ac_try
='test -s conftest.$ac_objext'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; }; then
18547 cat >conftest.
$ac_ext <<_ACEOF
18550 cat confdefs.h
>>conftest.
$ac_ext
18551 cat >>conftest.
$ac_ext <<_ACEOF
18552 /* end confdefs.h. */
18553 $ac_includes_default
18557 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18564 rm -f conftest.
$ac_objext
18565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18566 (eval $ac_compile) 2>conftest.er1
18568 grep -v '^ *+' conftest.er1
>conftest.err
18570 cat conftest.err
>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try
='test -z "$ac_c_werror_flag"
18574 || test ! -s conftest.err'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; } &&
18580 { ac_try
='test -s conftest.$ac_objext'
18581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18582 (eval $ac_try) 2>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); }; }; then
18586 ac_lo
=$ac_mid; break
18588 echo "$as_me: failed program was:" >&5
18589 sed 's/^/| /' conftest.
$ac_ext >&5
18591 ac_hi
=`expr '(' $ac_mid ')' - 1`
18592 if test $ac_mid -le $ac_hi; then
18596 ac_mid
=`expr 2 '*' $ac_mid`
18598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18601 echo "$as_me: failed program was:" >&5
18602 sed 's/^/| /' conftest.
$ac_ext >&5
18606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18609 # Binary search between lo and hi bounds.
18610 while test "x$ac_lo" != "x$ac_hi"; do
18611 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18612 cat >conftest.
$ac_ext <<_ACEOF
18615 cat confdefs.h
>>conftest.
$ac_ext
18616 cat >>conftest.
$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18629 rm -f conftest.
$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18633 grep -v '^ *+' conftest.er1
>conftest.err
18635 cat conftest.err
>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try
='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try
='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.
$ac_ext >&5
18656 ac_lo
=`expr '(' $ac_mid ')' + 1`
18658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18661 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18662 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18663 See \`config.log' for more details." >&5
18664 echo "$as_me: error: cannot compute sizeof (long long), 77
18665 See \`config.log' for more details." >&2;}
18666 { (exit 1); exit 1; }; } ;;
18669 if test "$cross_compiling" = yes; then
18670 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18671 See \`config.log' for more details." >&5
18672 echo "$as_me: error: cannot run test program while cross compiling
18673 See \`config.log' for more details." >&2;}
18674 { (exit 1); exit 1; }; }
18676 cat >conftest.
$ac_ext <<_ACEOF
18679 cat confdefs.h
>>conftest.
$ac_ext
18680 cat >>conftest.
$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 $ac_includes_default
18683 long longval () { return (long) (sizeof (long long)); }
18684 unsigned long ulongval () { return (long) (sizeof (long long)); }
18686 #include <stdlib.h>
18691 FILE *f = fopen ("conftest.val", "w");
18694 if (((long) (sizeof (long long))) < 0)
18696 long i = longval ();
18697 if (i != ((long) (sizeof (long long))))
18699 fprintf (f, "%ld\n", i);
18703 unsigned long i = ulongval ();
18704 if (i != ((long) (sizeof (long long))))
18706 fprintf (f, "%lu\n", i);
18708 exit (ferror (f) || fclose (f) != 0);
18714 rm -f conftest
$ac_exeext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18716 (eval $ac_link) 2>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_cv_sizeof_long_long
=`cat conftest.val`
18727 echo "$as_me: program exited with status $ac_status" >&5
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.
$ac_ext >&5
18731 ( exit $ac_status )
18732 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18733 See \`config.log' for more details." >&5
18734 echo "$as_me: error: cannot compute sizeof (long long), 77
18735 See \`config.log' for more details." >&2;}
18736 { (exit 1); exit 1; }; }
18738 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18743 ac_cv_sizeof_long_long
=0
18746 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18747 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18748 cat >>confdefs.h
<<_ACEOF
18749 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18753 if test "$ac_cv_sizeof_long_long" != "0"; then
18754 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18758 echo "$as_me:$LINENO: checking for long long" >&5
18759 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18760 if test "${ac_cv_type_long_long+set}" = set; then
18761 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 cat >conftest.
$ac_ext <<_ACEOF
18766 cat confdefs.h
>>conftest.
$ac_ext
18767 cat >>conftest.
$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18773 if ((long long *) 0)
18775 if (sizeof (long long))
18781 rm -f conftest.
$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18785 grep -v '^ *+' conftest.er1
>conftest.err
18787 cat conftest.err
>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try
='test -z "$ac_c_werror_flag"
18791 || test ! -s conftest.err'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; } &&
18797 { ac_try
='test -s conftest.$ac_objext'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; }; then
18803 ac_cv_type_long_long
=yes
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.
$ac_ext >&5
18808 ac_cv_type_long_long
=no
18810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18812 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18813 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18815 echo "$as_me:$LINENO: checking size of long long" >&5
18816 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18817 if test "${ac_cv_sizeof_long_long+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 if test "$ac_cv_type_long_long" = yes; then
18821 # The cast to unsigned long works around a bug in the HP C Compiler
18822 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18823 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18824 # This bug is HP SR number 8606223364.
18825 if test "$cross_compiling" = yes; then
18826 # Depending upon the size, compute the lo and hi bounds.
18827 cat >conftest.
$ac_ext <<_ACEOF
18830 cat confdefs.h
>>conftest.
$ac_ext
18831 cat >>conftest.
$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18837 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18844 rm -f conftest.
$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18848 grep -v '^ *+' conftest.er1
>conftest.err
18850 cat conftest.err
>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try
='test -z "$ac_c_werror_flag"
18854 || test ! -s conftest.err'
18855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856 (eval $ac_try) 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; } &&
18860 { ac_try
='test -s conftest.$ac_objext'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; }; then
18868 cat >conftest.
$ac_ext <<_ACEOF
18871 cat confdefs.h
>>conftest.
$ac_ext
18872 cat >>conftest.
$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18874 $ac_includes_default
18878 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18885 rm -f conftest.
$ac_objext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18887 (eval $ac_compile) 2>conftest.er1
18889 grep -v '^ *+' conftest.er1
>conftest.err
18891 cat conftest.err
>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } &&
18894 { ac_try
='test -z "$ac_c_werror_flag"
18895 || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try
='test -s conftest.$ac_objext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_hi
=$ac_mid; break
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 ac_lo
=`expr $ac_mid + 1`
18913 if test $ac_lo -le $ac_mid; then
18917 ac_mid
=`expr 2 '*' $ac_mid + 1`
18919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.
$ac_ext >&5
18925 cat >conftest.
$ac_ext <<_ACEOF
18928 cat confdefs.h
>>conftest.
$ac_ext
18929 cat >>conftest.
$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18935 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18942 rm -f conftest.
$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1
>conftest.err
18948 cat conftest.err
>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try
='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try
='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18966 cat >conftest.
$ac_ext <<_ACEOF
18969 cat confdefs.h
>>conftest.
$ac_ext
18970 cat >>conftest.
$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18976 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18983 rm -f conftest.
$ac_objext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18985 (eval $ac_compile) 2>conftest.er1
18987 grep -v '^ *+' conftest.er1
>conftest.err
18989 cat conftest.err
>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } &&
18992 { ac_try
='test -z "$ac_c_werror_flag"
18993 || test ! -s conftest.err'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; } &&
18999 { ac_try
='test -s conftest.$ac_objext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19005 ac_lo
=$ac_mid; break
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.
$ac_ext >&5
19010 ac_hi
=`expr '(' $ac_mid ')' - 1`
19011 if test $ac_mid -le $ac_hi; then
19015 ac_mid
=`expr 2 '*' $ac_mid`
19017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.
$ac_ext >&5
19025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19028 # Binary search between lo and hi bounds.
19029 while test "x$ac_lo" != "x$ac_hi"; do
19030 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19031 cat >conftest.
$ac_ext <<_ACEOF
19034 cat confdefs.h
>>conftest.
$ac_ext
19035 cat >>conftest.
$ac_ext <<_ACEOF
19036 /* end confdefs.h. */
19037 $ac_includes_default
19041 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19048 rm -f conftest.
$ac_objext
19049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19050 (eval $ac_compile) 2>conftest.er1
19052 grep -v '^ *+' conftest.er1
>conftest.err
19054 cat conftest.err
>&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); } &&
19057 { ac_try
='test -z "$ac_c_werror_flag"
19058 || test ! -s conftest.err'
19059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19060 (eval $ac_try) 2>&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); }; } &&
19064 { ac_try
='test -s conftest.$ac_objext'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; }; then
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.
$ac_ext >&5
19075 ac_lo
=`expr '(' $ac_mid ')' + 1`
19077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19080 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19081 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19082 See \`config.log' for more details." >&5
19083 echo "$as_me: error: cannot compute sizeof (long long), 77
19084 See \`config.log' for more details." >&2;}
19085 { (exit 1); exit 1; }; } ;;
19088 if test "$cross_compiling" = yes; then
19089 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19090 See \`config.log' for more details." >&5
19091 echo "$as_me: error: cannot run test program while cross compiling
19092 See \`config.log' for more details." >&2;}
19093 { (exit 1); exit 1; }; }
19095 cat >conftest.
$ac_ext <<_ACEOF
19098 cat confdefs.h
>>conftest.
$ac_ext
19099 cat >>conftest.
$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 $ac_includes_default
19102 long longval () { return (long) (sizeof (long long)); }
19103 unsigned long ulongval () { return (long) (sizeof (long long)); }
19105 #include <stdlib.h>
19110 FILE *f = fopen ("conftest.val", "w");
19113 if (((long) (sizeof (long long))) < 0)
19115 long i = longval ();
19116 if (i != ((long) (sizeof (long long))))
19118 fprintf (f, "%ld\n", i);
19122 unsigned long i = ulongval ();
19123 if (i != ((long) (sizeof (long long))))
19125 fprintf (f, "%lu\n", i);
19127 exit (ferror (f) || fclose (f) != 0);
19133 rm -f conftest
$ac_exeext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19135 (eval $ac_link) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140 (eval $ac_try) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; }; then
19144 ac_cv_sizeof_long_long
=`cat conftest.val`
19146 echo "$as_me: program exited with status $ac_status" >&5
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.
$ac_ext >&5
19150 ( exit $ac_status )
19151 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19152 See \`config.log' for more details." >&5
19153 echo "$as_me: error: cannot compute sizeof (long long), 77
19154 See \`config.log' for more details." >&2;}
19155 { (exit 1); exit 1; }; }
19157 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19162 ac_cv_sizeof_long_long
=0
19165 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19166 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19167 cat >>confdefs.h
<<_ACEOF
19168 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19174 echo "$as_me:$LINENO: checking for wchar_t" >&5
19175 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19176 if test "${ac_cv_type_wchar_t+set}" = set; then
19177 echo $ECHO_N "(cached) $ECHO_C" >&6
19179 cat >conftest.
$ac_ext <<_ACEOF
19182 cat confdefs.h
>>conftest.
$ac_ext
19183 cat >>conftest.
$ac_ext <<_ACEOF
19184 /* end confdefs.h. */
19186 /* DJGPP only has fake wchar_t: */
19188 # error "fake wchar_t"
19190 #ifdef HAVE_WCHAR_H
19192 # include <stddef.h>
19194 # include <wchar.h>
19196 #ifdef HAVE_STDLIB_H
19197 # include <stdlib.h>
19208 if (sizeof (wchar_t))
19214 rm -f conftest.
$ac_objext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>conftest.er1
19218 grep -v '^ *+' conftest.er1
>conftest.err
19220 cat conftest.err
>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } &&
19223 { ac_try
='test -z "$ac_c_werror_flag"
19224 || test ! -s conftest.err'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; } &&
19230 { ac_try
='test -s conftest.$ac_objext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19236 ac_cv_type_wchar_t
=yes
19238 echo "$as_me: failed program was:" >&5
19239 sed 's/^/| /' conftest.
$ac_ext >&5
19241 ac_cv_type_wchar_t
=no
19243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19245 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19246 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19248 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19249 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19250 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19251 echo $ECHO_N "(cached) $ECHO_C" >&6
19253 if test "$ac_cv_type_wchar_t" = yes; then
19254 # The cast to unsigned long works around a bug in the HP C Compiler
19255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19257 # This bug is HP SR number 8606223364.
19258 if test "$cross_compiling" = yes; then
19259 # Depending upon the size, compute the lo and hi bounds.
19260 cat >conftest.
$ac_ext <<_ACEOF
19263 cat confdefs.h
>>conftest.
$ac_ext
19264 cat >>conftest.
$ac_ext <<_ACEOF
19265 /* end confdefs.h. */
19267 /* DJGPP only has fake wchar_t: */
19269 # error "fake wchar_t"
19271 #ifdef HAVE_WCHAR_H
19273 # include <stddef.h>
19275 # include <wchar.h>
19277 #ifdef HAVE_STDLIB_H
19278 # include <stdlib.h>
19287 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19294 rm -f conftest.
$ac_objext
19295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19296 (eval $ac_compile) 2>conftest.er1
19298 grep -v '^ *+' conftest.er1
>conftest.err
19300 cat conftest.err
>&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } &&
19303 { ac_try
='test -z "$ac_c_werror_flag"
19304 || test ! -s conftest.err'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; } &&
19310 { ac_try
='test -s conftest.$ac_objext'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19318 cat >conftest.
$ac_ext <<_ACEOF
19321 cat confdefs.h
>>conftest.
$ac_ext
19322 cat >>conftest.
$ac_ext <<_ACEOF
19323 /* end confdefs.h. */
19325 /* DJGPP only has fake wchar_t: */
19327 # error "fake wchar_t"
19329 #ifdef HAVE_WCHAR_H
19331 # include <stddef.h>
19333 # include <wchar.h>
19335 #ifdef HAVE_STDLIB_H
19336 # include <stdlib.h>
19345 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19352 rm -f conftest.
$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -z "$ac_c_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try
='test -s conftest.$ac_objext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 ac_hi
=$ac_mid; break
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.
$ac_ext >&5
19379 ac_lo
=`expr $ac_mid + 1`
19380 if test $ac_lo -le $ac_mid; then
19384 ac_mid
=`expr 2 '*' $ac_mid + 1`
19386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.
$ac_ext >&5
19392 cat >conftest.
$ac_ext <<_ACEOF
19395 cat confdefs.h
>>conftest.
$ac_ext
19396 cat >>conftest.
$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19399 /* DJGPP only has fake wchar_t: */
19401 # error "fake wchar_t"
19403 #ifdef HAVE_WCHAR_H
19405 # include <stddef.h>
19407 # include <wchar.h>
19409 #ifdef HAVE_STDLIB_H
19410 # include <stdlib.h>
19419 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19426 rm -f conftest.
$ac_objext
19427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19428 (eval $ac_compile) 2>conftest.er1
19430 grep -v '^ *+' conftest.er1
>conftest.err
19432 cat conftest.err
>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try
='test -z "$ac_c_werror_flag"
19436 || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try
='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19450 cat >conftest.
$ac_ext <<_ACEOF
19453 cat confdefs.h
>>conftest.
$ac_ext
19454 cat >>conftest.
$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19457 /* DJGPP only has fake wchar_t: */
19459 # error "fake wchar_t"
19461 #ifdef HAVE_WCHAR_H
19463 # include <stddef.h>
19465 # include <wchar.h>
19467 #ifdef HAVE_STDLIB_H
19468 # include <stdlib.h>
19477 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19484 rm -f conftest.
$ac_objext
19485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19486 (eval $ac_compile) 2>conftest.er1
19488 grep -v '^ *+' conftest.er1
>conftest.err
19490 cat conftest.err
>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } &&
19493 { ac_try
='test -z "$ac_c_werror_flag"
19494 || test ! -s conftest.err'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; } &&
19500 { ac_try
='test -s conftest.$ac_objext'
19501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502 (eval $ac_try) 2>&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); }; }; then
19506 ac_lo
=$ac_mid; break
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.
$ac_ext >&5
19511 ac_hi
=`expr '(' $ac_mid ')' - 1`
19512 if test $ac_mid -le $ac_hi; then
19516 ac_mid
=`expr 2 '*' $ac_mid`
19518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.
$ac_ext >&5
19526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19529 # Binary search between lo and hi bounds.
19530 while test "x$ac_lo" != "x$ac_hi"; do
19531 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19532 cat >conftest.
$ac_ext <<_ACEOF
19535 cat confdefs.h
>>conftest.
$ac_ext
19536 cat >>conftest.
$ac_ext <<_ACEOF
19537 /* end confdefs.h. */
19539 /* DJGPP only has fake wchar_t: */
19541 # error "fake wchar_t"
19543 #ifdef HAVE_WCHAR_H
19545 # include <stddef.h>
19547 # include <wchar.h>
19549 #ifdef HAVE_STDLIB_H
19550 # include <stdlib.h>
19559 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19566 rm -f conftest.
$ac_objext
19567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19568 (eval $ac_compile) 2>conftest.er1
19570 grep -v '^ *+' conftest.er1
>conftest.err
19572 cat conftest.err
>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } &&
19575 { ac_try
='test -z "$ac_c_werror_flag"
19576 || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try
='test -s conftest.$ac_objext'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.
$ac_ext >&5
19593 ac_lo
=`expr '(' $ac_mid ')' + 1`
19595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19599 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19600 See \`config.log' for more details." >&5
19601 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19602 See \`config.log' for more details." >&2;}
19603 { (exit 1); exit 1; }; } ;;
19606 if test "$cross_compiling" = yes; then
19607 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19608 See \`config.log' for more details." >&5
19609 echo "$as_me: error: cannot run test program while cross compiling
19610 See \`config.log' for more details." >&2;}
19611 { (exit 1); exit 1; }; }
19613 cat >conftest.
$ac_ext <<_ACEOF
19616 cat confdefs.h
>>conftest.
$ac_ext
19617 cat >>conftest.
$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19620 /* DJGPP only has fake wchar_t: */
19622 # error "fake wchar_t"
19624 #ifdef HAVE_WCHAR_H
19626 # include <stddef.h>
19628 # include <wchar.h>
19630 #ifdef HAVE_STDLIB_H
19631 # include <stdlib.h>
19637 long longval () { return (long) (sizeof (wchar_t)); }
19638 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19640 #include <stdlib.h>
19645 FILE *f = fopen ("conftest.val", "w");
19648 if (((long) (sizeof (wchar_t))) < 0)
19650 long i = longval ();
19651 if (i != ((long) (sizeof (wchar_t))))
19653 fprintf (f, "%ld\n", i);
19657 unsigned long i = ulongval ();
19658 if (i != ((long) (sizeof (wchar_t))))
19660 fprintf (f, "%lu\n", i);
19662 exit (ferror (f) || fclose (f) != 0);
19668 rm -f conftest
$ac_exeext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19670 (eval $ac_link) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19681 echo "$as_me: program exited with status $ac_status" >&5
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.
$ac_ext >&5
19685 ( exit $ac_status )
19686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19687 See \`config.log' for more details." >&5
19688 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19689 See \`config.log' for more details." >&2;}
19690 { (exit 1); exit 1; }; }
19692 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19697 ac_cv_sizeof_wchar_t
=0
19700 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19701 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19702 cat >>confdefs.h
<<_ACEOF
19703 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19708 echo "$as_me:$LINENO: checking for va_copy" >&5
19709 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19710 if test "${wx_cv_func_va_copy+set}" = set; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19714 cat >conftest.
$ac_ext <<_ACEOF
19716 #include <stdarg.h>
19717 void foo(char *f, ...)
19731 rm -f conftest.
$ac_objext conftest
$ac_exeext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19733 (eval $ac_link) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1
>conftest.err
19737 cat conftest.err
>&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try
='test -z "$ac_c_werror_flag"
19741 || test ! -s conftest.err'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; } &&
19747 { ac_try
='test -s conftest$ac_exeext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 wx_cv_func_va_copy
=yes
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.
$ac_ext >&5
19758 wx_cv_func_va_copy
=no
19761 rm -f conftest.err conftest.
$ac_objext \
19762 conftest
$ac_exeext conftest.
$ac_ext
19766 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19767 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19769 if test $wx_cv_func_va_copy = "yes"; then
19770 cat >>confdefs.h
<<\_ACEOF
19771 #define HAVE_VA_COPY 1
19775 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19776 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19777 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 if test "$cross_compiling" = yes; then
19782 wx_cv_type_va_list_lvalue
=yes
19785 cat >conftest.
$ac_ext <<_ACEOF
19787 #include <stdarg.h>
19788 int foo(char *f, ...)
19793 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19801 return foo("hi", 17);
19804 rm -f conftest
$ac_exeext
19805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19806 (eval $ac_link) 2>&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 wx_cv_type_va_list_lvalue
=yes
19817 echo "$as_me: program exited with status $ac_status" >&5
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.
$ac_ext >&5
19821 ( exit $ac_status )
19822 wx_cv_type_va_list_lvalue
=no
19824 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19829 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19830 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19832 if test $wx_cv_type_va_list_lvalue != "yes"; then
19833 cat >>confdefs.h
<<\_ACEOF
19834 #define VA_LIST_IS_ARRAY 1
19840 # Check whether --enable-largefile or --disable-largefile was given.
19841 if test "${enable_largefile+set}" = set; then
19842 enableval
="$enable_largefile"
19845 if test "$enable_largefile" != no
; then
19848 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19849 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19850 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 cat >conftest.
$ac_ext <<_ACEOF
19857 cat confdefs.h
>>conftest.
$ac_ext
19858 cat >>conftest.
$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 #define _FILE_OFFSET_BITS 64
19861 #include <sys/types.h>
19866 unsigned int field: sizeof(off_t) == 8;
19873 rm -f conftest.
$ac_objext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19875 (eval $ac_compile) 2>conftest.er1
19877 grep -v '^ *+' conftest.er1
>conftest.err
19879 cat conftest.err
>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try
='test -z "$ac_c_werror_flag"
19883 || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try
='test -s conftest.$ac_objext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_cv_sys_file_offset_bits
=64
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.
$ac_ext >&5
19900 ac_cv_sys_file_offset_bits
=no
19902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19906 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19907 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19909 if test "$ac_cv_sys_file_offset_bits" != no
; then
19911 cat >>confdefs.h
<<_ACEOF
19912 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19917 if test "x$wx_largefile" != "xyes"; then
19919 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19920 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19921 if test "${ac_cv_sys_large_files+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 cat >conftest.
$ac_ext <<_ACEOF
19928 cat confdefs.h
>>conftest.
$ac_ext
19929 cat >>conftest.
$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 #define _LARGE_FILES 1
19932 #include <sys/types.h>
19937 unsigned int field: sizeof(off_t) == 8;
19944 rm -f conftest.
$ac_objext
19945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19946 (eval $ac_compile) 2>conftest.er1
19948 grep -v '^ *+' conftest.er1
>conftest.err
19950 cat conftest.err
>&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); } &&
19953 { ac_try
='test -z "$ac_c_werror_flag"
19954 || test ! -s conftest.err'
19955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19956 (eval $ac_try) 2>&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); }; } &&
19960 { ac_try
='test -s conftest.$ac_objext'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; }; then
19966 ac_cv_sys_large_files
=1
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.
$ac_ext >&5
19971 ac_cv_sys_large_files
=no
19973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19977 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19978 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19980 if test "$ac_cv_sys_large_files" != no
; then
19982 cat >>confdefs.h
<<_ACEOF
19983 #define _LARGE_FILES $ac_cv_sys_large_files
19990 echo "$as_me:$LINENO: checking if large file support is available" >&5
19991 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19992 if test "x$wx_largefile" = "xyes"; then
19993 cat >>confdefs.h
<<\_ACEOF
19994 #define HAVE_LARGEFILE_SUPPORT 1
19998 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19999 echo "${ECHO_T}$wx_largefile" >&6
20003 if test "x$wx_largefile" = "xyes"; then
20004 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20005 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20007 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20009 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20010 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20011 if test "${ac_cv_sys_largefile_source+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 ac_cv_sys_largefile_source
=no
20016 cat >conftest.
$ac_ext <<_ACEOF
20019 cat confdefs.h
>>conftest.
$ac_ext
20020 cat >>conftest.
$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20031 rm -f conftest.
$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 (eval $ac_compile) 2>conftest.er1
20035 grep -v '^ *+' conftest.er1
>conftest.err
20037 cat conftest.err
>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try
='test -z "$ac_c_werror_flag"
20041 || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try
='test -s conftest.$ac_objext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.
$ac_ext >&5
20059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20060 cat >conftest.
$ac_ext <<_ACEOF
20063 cat confdefs.h
>>conftest.
$ac_ext
20064 cat >>conftest.
$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 #define _LARGEFILE_SOURCE 1
20076 rm -f conftest.
$ac_objext
20077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20078 (eval $ac_compile) 2>conftest.er1
20080 grep -v '^ *+' conftest.er1
>conftest.err
20082 cat conftest.err
>&5
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); } &&
20085 { ac_try
='test -z "$ac_c_werror_flag"
20086 || test ! -s conftest.err'
20087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20088 (eval $ac_try) 2>&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); }; } &&
20092 { ac_try
='test -s conftest.$ac_objext'
20093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20094 (eval $ac_try) 2>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); }; }; then
20098 ac_cv_sys_largefile_source
=1; break
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.
$ac_ext >&5
20104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20108 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20109 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20110 if test "$ac_cv_sys_largefile_source" != no
; then
20112 cat >>confdefs.h
<<_ACEOF
20113 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20119 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20120 # in glibc 2.1.3, but that breaks too many other things.
20121 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20122 echo "$as_me:$LINENO: checking for fseeko" >&5
20123 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20124 if test "${ac_cv_func_fseeko+set}" = set; then
20125 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 cat >conftest.
$ac_ext <<_ACEOF
20130 cat confdefs.h
>>conftest.
$ac_ext
20131 cat >>conftest.
$ac_ext <<_ACEOF
20132 /* end confdefs.h. */
20137 return fseeko && fseeko (stdin, 0, 0);
20142 rm -f conftest.
$ac_objext conftest
$ac_exeext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20144 (eval $ac_link) 2>conftest.er1
20146 grep -v '^ *+' conftest.er1
>conftest.err
20148 cat conftest.err
>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try
='test -z "$ac_c_werror_flag"
20152 || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try
='test -s conftest$ac_exeext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_func_fseeko
=yes
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.
$ac_ext >&5
20169 ac_cv_func_fseeko
=no
20171 rm -f conftest.err conftest.
$ac_objext \
20172 conftest
$ac_exeext conftest.
$ac_ext
20174 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20175 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20176 if test $ac_cv_func_fseeko = yes; then
20178 cat >>confdefs.h
<<\_ACEOF
20179 #define HAVE_FSEEKO 1
20184 if test "$ac_cv_sys_largefile_source" != no
; then
20185 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20187 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20190 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20191 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20192 if test "${ac_cv_c_bigendian+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 ac_cv_c_bigendian
=unknown
20196 # See if sys/param.h defines the BYTE_ORDER macro.
20197 cat >conftest.
$ac_ext <<_ACEOF
20200 cat confdefs.h
>>conftest.
$ac_ext
20201 cat >>conftest.
$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 #include <sys/types.h>
20204 #include <sys/param.h>
20209 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20210 bogus endian macros
20216 rm -f conftest.
$ac_objext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20218 (eval $ac_compile) 2>conftest.er1
20220 grep -v '^ *+' conftest.er1
>conftest.err
20222 cat conftest.err
>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try
='test -z "$ac_c_werror_flag"
20226 || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try
='test -s conftest.$ac_objext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 # It does; now see whether it defined to BIG_ENDIAN or not.
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 #include <sys/types.h>
20246 #include <sys/param.h>
20251 #if BYTE_ORDER != BIG_ENDIAN
20258 rm -f conftest.
$ac_objext
20259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20260 (eval $ac_compile) 2>conftest.er1
20262 grep -v '^ *+' conftest.er1
>conftest.err
20264 cat conftest.err
>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); } &&
20267 { ac_try
='test -z "$ac_c_werror_flag"
20268 || test ! -s conftest.err'
20269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270 (eval $ac_try) 2>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); }; } &&
20274 { ac_try
='test -s conftest.$ac_objext'
20275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20276 (eval $ac_try) 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; }; then
20280 ac_cv_c_bigendian
=yes
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.
$ac_ext >&5
20285 ac_cv_c_bigendian
=no
20287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.
$ac_ext >&5
20293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20294 if test $ac_cv_c_bigendian = unknown
; then
20295 if test "$cross_compiling" = yes; then
20296 ac_cv_c_bigendian
=unknown
20298 cat >conftest.
$ac_ext <<_ACEOF
20301 cat confdefs.h
>>conftest.
$ac_ext
20302 cat >>conftest.
$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20305 /* Are we little or big endian? From Harbison&Steele. */
20309 char c[sizeof (long)];
20312 exit (u.c[sizeof (long) - 1] == 1);
20315 rm -f conftest
$ac_exeext
20316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20317 (eval $ac_link) 2>&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 ac_cv_c_bigendian
=no
20328 echo "$as_me: program exited with status $ac_status" >&5
20329 echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.
$ac_ext >&5
20332 ( exit $ac_status )
20333 ac_cv_c_bigendian
=yes
20335 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20339 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20340 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20341 if test $ac_cv_c_bigendian = unknown
; then
20342 { 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
20343 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;}
20345 if test $ac_cv_c_bigendian = yes; then
20346 cat >>confdefs.h
<<\_ACEOF
20347 #define WORDS_BIGENDIAN 1
20354 ac_cpp
='$CXXCPP $CPPFLAGS'
20355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20358 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20359 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20360 if test -z "$CXXCPP"; then
20361 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20362 echo $ECHO_N "(cached) $ECHO_C" >&6
20364 # Double quotes because CXXCPP needs to be expanded
20365 for CXXCPP
in "$CXX -E" "/lib/cpp"
20367 ac_preproc_ok
=false
20368 for ac_cxx_preproc_warn_flag
in '' yes
20370 # Use a header file that comes with gcc, so configuring glibc
20371 # with a fresh cross-compiler works.
20372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20373 # <limits.h> exists even on freestanding compilers.
20374 # On the NeXT, cc -E runs the code through the compiler's parser,
20375 # not just through cpp. "Syntax error" is here to catch this case.
20376 cat >conftest.
$ac_ext <<_ACEOF
20379 cat confdefs.h
>>conftest.
$ac_ext
20380 cat >>conftest.
$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20383 # include <limits.h>
20385 # include <assert.h>
20389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20392 grep -v '^ *+' conftest.er1
>conftest.err
20394 cat conftest.err
>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } >/dev
/null
; then
20397 if test -s conftest.err
; then
20398 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20399 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20406 if test -z "$ac_cpp_err"; then
20409 echo "$as_me: failed program was:" >&5
20410 sed 's/^/| /' conftest.
$ac_ext >&5
20412 # Broken: fails on valid input.
20415 rm -f conftest.err conftest.
$ac_ext
20417 # OK, works on sane cases. Now check whether non-existent headers
20418 # can be detected and how.
20419 cat >conftest.
$ac_ext <<_ACEOF
20422 cat confdefs.h
>>conftest.
$ac_ext
20423 cat >>conftest.
$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 #include <ac_nonexistent.h>
20427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20430 grep -v '^ *+' conftest.er1
>conftest.err
20432 cat conftest.err
>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } >/dev
/null
; then
20435 if test -s conftest.err
; then
20436 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20437 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20444 if test -z "$ac_cpp_err"; then
20445 # Broken: success on invalid input.
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.
$ac_ext >&5
20451 # Passes both tests.
20455 rm -f conftest.err conftest.
$ac_ext
20458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20459 rm -f conftest.err conftest.
$ac_ext
20460 if $ac_preproc_ok; then
20465 ac_cv_prog_CXXCPP
=$CXXCPP
20468 CXXCPP
=$ac_cv_prog_CXXCPP
20470 ac_cv_prog_CXXCPP
=$CXXCPP
20472 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20473 echo "${ECHO_T}$CXXCPP" >&6
20474 ac_preproc_ok
=false
20475 for ac_cxx_preproc_warn_flag
in '' yes
20477 # Use a header file that comes with gcc, so configuring glibc
20478 # with a fresh cross-compiler works.
20479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20480 # <limits.h> exists even on freestanding compilers.
20481 # On the NeXT, cc -E runs the code through the compiler's parser,
20482 # not just through cpp. "Syntax error" is here to catch this case.
20483 cat >conftest.
$ac_ext <<_ACEOF
20486 cat confdefs.h
>>conftest.
$ac_ext
20487 cat >>conftest.
$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20490 # include <limits.h>
20492 # include <assert.h>
20496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20499 grep -v '^ *+' conftest.er1
>conftest.err
20501 cat conftest.err
>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } >/dev
/null
; then
20504 if test -s conftest.err
; then
20505 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20506 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20513 if test -z "$ac_cpp_err"; then
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.
$ac_ext >&5
20519 # Broken: fails on valid input.
20522 rm -f conftest.err conftest.
$ac_ext
20524 # OK, works on sane cases. Now check whether non-existent headers
20525 # can be detected and how.
20526 cat >conftest.
$ac_ext <<_ACEOF
20529 cat confdefs.h
>>conftest.
$ac_ext
20530 cat >>conftest.
$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 #include <ac_nonexistent.h>
20534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20537 grep -v '^ *+' conftest.er1
>conftest.err
20539 cat conftest.err
>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); } >/dev
/null
; then
20542 if test -s conftest.err
; then
20543 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20544 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20551 if test -z "$ac_cpp_err"; then
20552 # Broken: success on invalid input.
20555 echo "$as_me: failed program was:" >&5
20556 sed 's/^/| /' conftest.
$ac_ext >&5
20558 # Passes both tests.
20562 rm -f conftest.err conftest.
$ac_ext
20565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20566 rm -f conftest.err conftest.
$ac_ext
20567 if $ac_preproc_ok; then
20570 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20571 See \`config.log' for more details." >&5
20572 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20573 See \`config.log' for more details." >&2;}
20574 { (exit 1); exit 1; }; }
20578 ac_cpp
='$CXXCPP $CPPFLAGS'
20579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20588 ac_cpp
='$CXXCPP $CPPFLAGS'
20589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20595 for ac_header
in iostream
20597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20599 echo "$as_me:$LINENO: checking for $ac_header" >&5
20600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20602 echo $ECHO_N "(cached) $ECHO_C" >&6
20604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20607 # Is the header compilable?
20608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20610 cat >conftest.
$ac_ext <<_ACEOF
20613 cat confdefs.h
>>conftest.
$ac_ext
20614 cat >>conftest.
$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 $ac_includes_default
20617 #include <$ac_header>
20619 rm -f conftest.
$ac_objext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20621 (eval $ac_compile) 2>conftest.er1
20623 grep -v '^ *+' conftest.er1
>conftest.err
20625 cat conftest.err
>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } &&
20628 { ac_try
='test -z "$ac_cxx_werror_flag"
20629 || test ! -s conftest.err'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; } &&
20635 { ac_try
='test -s conftest.$ac_objext'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; }; then
20641 ac_header_compiler
=yes
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.
$ac_ext >&5
20646 ac_header_compiler
=no
20648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20650 echo "${ECHO_T}$ac_header_compiler" >&6
20652 # Is the header present?
20653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20655 cat >conftest.
$ac_ext <<_ACEOF
20658 cat confdefs.h
>>conftest.
$ac_ext
20659 cat >>conftest.
$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 #include <$ac_header>
20663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20666 grep -v '^ *+' conftest.er1
>conftest.err
20668 cat conftest.err
>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } >/dev
/null
; then
20671 if test -s conftest.err
; then
20672 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20673 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20680 if test -z "$ac_cpp_err"; then
20681 ac_header_preproc
=yes
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.
$ac_ext >&5
20686 ac_header_preproc
=no
20688 rm -f conftest.err conftest.
$ac_ext
20689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20690 echo "${ECHO_T}$ac_header_preproc" >&6
20692 # So? What about this header?
20693 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20699 ac_header_preproc
=yes
20702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20716 ## ----------------------------------------- ##
20717 ## Report this to wx-dev@lists.wxwidgets.org ##
20718 ## ----------------------------------------- ##
20721 sed "s/^/$as_me: WARNING: /" >&2
20724 echo "$as_me:$LINENO: checking for $ac_header" >&5
20725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20729 eval "$as_ac_Header=\$ac_header_preproc"
20731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20736 cat >>confdefs.h
<<_ACEOF
20737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20745 if test "$ac_cv_header_iostream" = "yes" ; then
20748 cat >>confdefs.h
<<\_ACEOF
20749 #define wxUSE_IOSTREAMH 1
20755 ac_cpp
='$CPP $CPPFLAGS'
20756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20763 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20764 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20765 if test "${wx_cv_cpp_bool+set}" = set; then
20766 echo $ECHO_N "(cached) $ECHO_C" >&6
20772 ac_cpp
='$CXXCPP $CPPFLAGS'
20773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20778 cat >conftest.
$ac_ext <<_ACEOF
20781 cat confdefs.h
>>conftest.
$ac_ext
20782 cat >>conftest.
$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20798 rm -f conftest.
$ac_objext
20799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20800 (eval $ac_compile) 2>conftest.er1
20802 grep -v '^ *+' conftest.er1
>conftest.err
20804 cat conftest.err
>&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } &&
20807 { ac_try
='test -z "$ac_cxx_werror_flag"
20808 || test ! -s conftest.err'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; } &&
20814 { ac_try
='test -s conftest.$ac_objext'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; }; then
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.
$ac_ext >&5
20832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20835 ac_cpp
='$CPP $CPPFLAGS'
20836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20842 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20843 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20845 if test "$wx_cv_cpp_bool" = "yes"; then
20846 cat >>confdefs.h
<<\_ACEOF
20847 #define HAVE_BOOL 1
20854 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20855 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20856 if test "${wx_cv_explicit+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20863 ac_cpp
='$CXXCPP $CPPFLAGS'
20864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20869 cat >conftest.
$ac_ext <<_ACEOF
20872 cat confdefs.h
>>conftest.
$ac_ext
20873 cat >>conftest.
$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20876 class Foo { public: explicit Foo(int) {} };
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"
20898 || test ! -s conftest.err'
20899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900 (eval $ac_try) 2>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; } &&
20904 { ac_try
='test -s conftest.$ac_objext'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; }; then
20911 cat >conftest.
$ac_ext <<_ACEOF
20914 cat confdefs.h
>>conftest.
$ac_ext
20915 cat >>conftest.
$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20918 class Foo { public: explicit Foo(int) {} };
20919 static void TakeFoo(const Foo& foo) { }
20932 rm -f conftest.
$ac_objext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20934 (eval $ac_compile) 2>conftest.er1
20936 grep -v '^ *+' conftest.er1
>conftest.err
20938 cat conftest.err
>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); } &&
20941 { ac_try
='test -z "$ac_cxx_werror_flag"
20942 || test ! -s conftest.err'
20943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20944 (eval $ac_try) 2>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); }; } &&
20948 { ac_try
='test -s conftest.$ac_objext'
20949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20950 (eval $ac_try) 2>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); }; }; then
20956 echo "$as_me: failed program was:" >&5
20957 sed 's/^/| /' conftest.
$ac_ext >&5
20962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20974 ac_cpp
='$CPP $CPPFLAGS'
20975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20981 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20982 echo "${ECHO_T}$wx_cv_explicit" >&6
20984 if test "$wx_cv_explicit" = "yes"; then
20985 cat >>confdefs.h
<<\_ACEOF
20986 #define HAVE_EXPLICIT 1
20992 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20993 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20994 if test "${ac_cv_cxx_const_cast+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
21000 ac_cpp
='$CXXCPP $CPPFLAGS'
21001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21005 cat >conftest.
$ac_ext <<_ACEOF
21008 cat confdefs.h
>>conftest.
$ac_ext
21009 cat >>conftest.
$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21015 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21020 rm -f conftest.
$ac_objext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21022 (eval $ac_compile) 2>conftest.er1
21024 grep -v '^ *+' conftest.er1
>conftest.err
21026 cat conftest.err
>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try
='test -z "$ac_cxx_werror_flag"
21030 || test ! -s conftest.err'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; } &&
21036 { ac_try
='test -s conftest.$ac_objext'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; }; then
21042 ac_cv_cxx_const_cast
=yes
21044 echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.
$ac_ext >&5
21047 ac_cv_cxx_const_cast
=no
21049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21051 ac_cpp
='$CPP $CPPFLAGS'
21052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21058 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21059 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21060 if test "$ac_cv_cxx_const_cast" = yes; then
21062 cat >>confdefs.h
<<\_ACEOF
21063 #define HAVE_CONST_CAST
21068 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21069 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21070 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21071 echo $ECHO_N "(cached) $ECHO_C" >&6
21076 ac_cpp
='$CXXCPP $CPPFLAGS'
21077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21081 cat >conftest.
$ac_ext <<_ACEOF
21084 cat confdefs.h
>>conftest.
$ac_ext
21085 cat >>conftest.
$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 #include <typeinfo>
21088 class Base { public : Base () {} virtual void f () = 0;};
21089 class Derived : public Base { public : Derived () {} virtual void f () {} };
21090 class Unrelated { public : Unrelated () {} };
21091 int g (Unrelated&) { return 0; }
21096 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21101 rm -f conftest.
$ac_objext
21102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21103 (eval $ac_compile) 2>conftest.er1
21105 grep -v '^ *+' conftest.er1
>conftest.err
21107 cat conftest.err
>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } &&
21110 { ac_try
='test -z "$ac_cxx_werror_flag"
21111 || test ! -s conftest.err'
21112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21113 (eval $ac_try) 2>&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); }; } &&
21117 { ac_try
='test -s conftest.$ac_objext'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_cxx_reinterpret_cast
=yes
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.
$ac_ext >&5
21128 ac_cv_cxx_reinterpret_cast
=no
21130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21132 ac_cpp
='$CPP $CPPFLAGS'
21133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21139 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21140 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21141 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21143 cat >>confdefs.h
<<\_ACEOF
21144 #define HAVE_REINTERPRET_CAST
21149 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21150 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21151 if test "${ac_cv_cxx_static_cast+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 ac_cpp
='$CXXCPP $CPPFLAGS'
21158 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21162 cat >conftest.
$ac_ext <<_ACEOF
21165 cat confdefs.h
>>conftest.
$ac_ext
21166 cat >>conftest.
$ac_ext <<_ACEOF
21167 /* end confdefs.h. */
21168 #include <typeinfo>
21169 class Base { public : Base () {} virtual void f () = 0; };
21170 class Derived : public Base { public : Derived () {} virtual void f () {} };
21171 int g (Derived&) { return 0; }
21176 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21181 rm -f conftest.
$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1
>conftest.err
21187 cat conftest.err
>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try
='test -z "$ac_cxx_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try
='test -s conftest.$ac_objext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_cxx_static_cast
=yes
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.
$ac_ext >&5
21208 ac_cv_cxx_static_cast
=no
21210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21212 ac_cpp
='$CPP $CPPFLAGS'
21213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21219 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21220 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21221 if test "$ac_cv_cxx_static_cast" = yes; then
21223 cat >>confdefs.h
<<\_ACEOF
21224 #define HAVE_STATIC_CAST
21230 if test "$wxUSE_STL" = "yes"; then
21232 ac_cpp
='$CXXCPP $CPPFLAGS'
21233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21238 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21239 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21240 cat >conftest.
$ac_ext <<_ACEOF
21243 cat confdefs.h
>>conftest.
$ac_ext
21244 cat >>conftest.
$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21247 #include <functional>
21248 #include <algorithm>
21254 std::vector<int> moo;
21255 std::list<int> foo;
21256 std::vector<int>::iterator it =
21257 std::find_if(moo.begin(), moo.end(),
21258 std::bind2nd(std::less<int>(), 3));
21263 rm -f conftest.
$ac_objext
21264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21265 (eval $ac_compile) 2>conftest.er1
21267 grep -v '^ *+' conftest.er1
>conftest.err
21269 cat conftest.err
>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } &&
21272 { ac_try
='test -z "$ac_cxx_werror_flag"
21273 || test ! -s conftest.err'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try
='test -s conftest.$ac_objext'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; }; then
21285 echo "$as_me:$LINENO: result: yes" >&5
21286 echo "${ECHO_T}yes" >&6
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.
$ac_ext >&5
21291 echo "$as_me:$LINENO: result: no" >&5
21292 echo "${ECHO_T}no" >&6
21293 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21294 echo "$as_me: error: Basic STL functionality missing" >&2;}
21295 { (exit 1); exit 1; }; }
21297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21299 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21300 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21301 cat >conftest.
$ac_ext <<_ACEOF
21304 cat confdefs.h
>>conftest.
$ac_ext
21305 cat >>conftest.
$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21316 rm -f conftest.
$ac_objext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21318 (eval $ac_compile) 2>conftest.er1
21320 grep -v '^ *+' conftest.er1
>conftest.err
21322 cat conftest.err
>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } &&
21325 { ac_try
='test -z "$ac_cxx_werror_flag"
21326 || test ! -s conftest.err'
21327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21328 (eval $ac_try) 2>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try
='test -s conftest.$ac_objext'
21333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21334 (eval $ac_try) 2>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); }; }; then
21338 echo "$as_me:$LINENO: result: yes" >&5
21339 echo "${ECHO_T}yes" >&6
21340 cat >>confdefs.h
<<\_ACEOF
21341 #define HAVE_STD_WSTRING 1
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.
$ac_ext >&5
21348 echo "$as_me:$LINENO: result: no" >&5
21349 echo "${ECHO_T}no" >&6
21351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21353 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21354 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21355 cat >conftest.
$ac_ext <<_ACEOF
21358 cat confdefs.h
>>conftest.
$ac_ext
21359 cat >>conftest.
$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21365 std::string foo, bar;
21367 foo.compare(1, 1, bar);
21368 foo.compare(1, 1, bar, 1, 1);
21370 foo.compare(1, 1, "");
21371 foo.compare(1, 1, "", 2);
21376 rm -f conftest.
$ac_objext
21377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21378 (eval $ac_compile) 2>conftest.er1
21380 grep -v '^ *+' conftest.er1
>conftest.err
21382 cat conftest.err
>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } &&
21385 { ac_try
='test -z "$ac_cxx_werror_flag"
21386 || test ! -s conftest.err'
21387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21388 (eval $ac_try) 2>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; } &&
21392 { ac_try
='test -s conftest.$ac_objext'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; }; then
21398 echo "$as_me:$LINENO: result: yes" >&5
21399 echo "${ECHO_T}yes" >&6
21400 cat >>confdefs.h
<<\_ACEOF
21401 #define HAVE_STD_STRING_COMPARE 1
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.
$ac_ext >&5
21408 echo "$as_me:$LINENO: result: no" >&5
21409 echo "${ECHO_T}no" >&6
21411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21413 if test "${ac_cv_header_hash_map+set}" = set; then
21414 echo "$as_me:$LINENO: checking for hash_map" >&5
21415 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21416 if test "${ac_cv_header_hash_map+set}" = set; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21419 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21420 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21422 # Is the header compilable?
21423 echo "$as_me:$LINENO: checking hash_map usability" >&5
21424 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21425 cat >conftest.
$ac_ext <<_ACEOF
21428 cat confdefs.h
>>conftest.
$ac_ext
21429 cat >>conftest.
$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431 $ac_includes_default
21432 #include <hash_map>
21434 rm -f conftest.
$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21438 grep -v '^ *+' conftest.er1
>conftest.err
21440 cat conftest.err
>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try
='test -z "$ac_cxx_werror_flag"
21444 || test ! -s conftest.err'
21445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21446 (eval $ac_try) 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; } &&
21450 { ac_try
='test -s conftest.$ac_objext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 ac_header_compiler
=yes
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21461 ac_header_compiler
=no
21463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21465 echo "${ECHO_T}$ac_header_compiler" >&6
21467 # Is the header present?
21468 echo "$as_me:$LINENO: checking hash_map presence" >&5
21469 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21470 cat >conftest.
$ac_ext <<_ACEOF
21473 cat confdefs.h
>>conftest.
$ac_ext
21474 cat >>conftest.
$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21476 #include <hash_map>
21478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21479 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21481 grep -v '^ *+' conftest.er1
>conftest.err
21483 cat conftest.err
>&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } >/dev
/null
; then
21486 if test -s conftest.err
; then
21487 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21488 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21495 if test -z "$ac_cpp_err"; then
21496 ac_header_preproc
=yes
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.
$ac_ext >&5
21501 ac_header_preproc
=no
21503 rm -f conftest.err conftest.
$ac_ext
21504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21505 echo "${ECHO_T}$ac_header_preproc" >&6
21507 # So? What about this header?
21508 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21510 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21511 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21512 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21513 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21514 ac_header_preproc
=yes
21517 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21518 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21519 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21520 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21521 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21522 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21523 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21524 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21525 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21526 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21527 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21528 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21531 ## ----------------------------------------- ##
21532 ## Report this to wx-dev@lists.wxwidgets.org ##
21533 ## ----------------------------------------- ##
21536 sed "s/^/$as_me: WARNING: /" >&2
21539 echo "$as_me:$LINENO: checking for hash_map" >&5
21540 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21541 if test "${ac_cv_header_hash_map+set}" = set; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21544 ac_cv_header_hash_map
=$ac_header_preproc
21546 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21547 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21550 if test $ac_cv_header_hash_map = yes; then
21551 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21552 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21553 cat >conftest.
$ac_ext <<_ACEOF
21556 cat confdefs.h
>>conftest.
$ac_ext
21557 cat >>conftest.
$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 #include <hash_map>
21560 #include <hash_set>
21564 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21565 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21570 rm -f conftest.
$ac_objext
21571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21572 (eval $ac_compile) 2>conftest.er1
21574 grep -v '^ *+' conftest.er1
>conftest.err
21576 cat conftest.err
>&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } &&
21579 { ac_try
='test -z "$ac_cxx_werror_flag"
21580 || test ! -s conftest.err'
21581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582 (eval $ac_try) 2>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; } &&
21586 { ac_try
='test -s conftest.$ac_objext'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; }; then
21592 echo "$as_me:$LINENO: result: yes" >&5
21593 echo "${ECHO_T}yes" >&6
21594 cat >>confdefs.h
<<\_ACEOF
21595 #define HAVE_HASH_MAP 1
21598 cat >>confdefs.h
<<\_ACEOF
21599 #define HAVE_STD_HASH_MAP 1
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.
$ac_ext >&5
21606 echo "$as_me:$LINENO: result: no" >&5
21607 echo "${ECHO_T}no" >&6
21609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21615 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21616 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21617 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21618 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21622 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21624 # Is the header compilable?
21625 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21626 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21627 cat >conftest.
$ac_ext <<_ACEOF
21630 cat confdefs.h
>>conftest.
$ac_ext
21631 cat >>conftest.
$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 #include <ext/hash_map>
21636 rm -f conftest.
$ac_objext
21637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21638 (eval $ac_compile) 2>conftest.er1
21640 grep -v '^ *+' conftest.er1
>conftest.err
21642 cat conftest.err
>&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); } &&
21645 { ac_try
='test -z "$ac_cxx_werror_flag"
21646 || test ! -s conftest.err'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; } &&
21652 { ac_try
='test -s conftest.$ac_objext'
21653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21654 (eval $ac_try) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); }; }; then
21658 ac_header_compiler
=yes
21660 echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.
$ac_ext >&5
21663 ac_header_compiler
=no
21665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21667 echo "${ECHO_T}$ac_header_compiler" >&6
21669 # Is the header present?
21670 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21671 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21672 cat >conftest.
$ac_ext <<_ACEOF
21675 cat confdefs.h
>>conftest.
$ac_ext
21676 cat >>conftest.
$ac_ext <<_ACEOF
21677 /* end confdefs.h. */
21678 #include <ext/hash_map>
21680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21683 grep -v '^ *+' conftest.er1
>conftest.err
21685 cat conftest.err
>&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } >/dev
/null
; then
21688 if test -s conftest.err
; then
21689 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21690 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21697 if test -z "$ac_cpp_err"; then
21698 ac_header_preproc
=yes
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.
$ac_ext >&5
21703 ac_header_preproc
=no
21705 rm -f conftest.err conftest.
$ac_ext
21706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21707 echo "${ECHO_T}$ac_header_preproc" >&6
21709 # So? What about this header?
21710 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21712 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21713 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21714 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21715 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21716 ac_header_preproc
=yes
21719 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21720 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21721 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21722 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21723 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21724 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21725 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21726 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21727 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21728 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21729 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21730 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21733 ## ----------------------------------------- ##
21734 ## Report this to wx-dev@lists.wxwidgets.org ##
21735 ## ----------------------------------------- ##
21738 sed "s/^/$as_me: WARNING: /" >&2
21741 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21742 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21743 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 ac_cv_header_ext_hash_map
=$ac_header_preproc
21748 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21749 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21752 if test $ac_cv_header_ext_hash_map = yes; then
21753 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21754 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21755 cat >conftest.
$ac_ext <<_ACEOF
21758 cat confdefs.h
>>conftest.
$ac_ext
21759 cat >>conftest.
$ac_ext <<_ACEOF
21760 /* end confdefs.h. */
21761 #include <ext/hash_map>
21762 #include <ext/hash_set>
21766 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21767 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21772 rm -f conftest.
$ac_objext
21773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21774 (eval $ac_compile) 2>conftest.er1
21776 grep -v '^ *+' conftest.er1
>conftest.err
21778 cat conftest.err
>&5
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } &&
21781 { ac_try
='test -z "$ac_cxx_werror_flag"
21782 || test ! -s conftest.err'
21783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21784 (eval $ac_try) 2>&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); }; } &&
21788 { ac_try
='test -s conftest.$ac_objext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 echo "$as_me:$LINENO: result: yes" >&5
21795 echo "${ECHO_T}yes" >&6
21796 cat >>confdefs.h
<<\_ACEOF
21797 #define HAVE_EXT_HASH_MAP 1
21800 cat >>confdefs.h
<<\_ACEOF
21801 #define HAVE_GNU_CXX_HASH_MAP 1
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.
$ac_ext >&5
21808 echo "$as_me:$LINENO: result: no" >&5
21809 echo "${ECHO_T}no" >&6
21811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21818 ac_cpp
='$CPP $CPPFLAGS'
21819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21827 /usr/local/include \
21829 /usr/Motif-2.1/include \
21830 /usr/Motif-1.2/include \
21831 /usr/include/Motif1.2 \
21832 /opt/xpm/include/X11 \
21833 /opt/GBxpm/include/ \
21834 /opt/GBxpm/X11/include/ \
21837 /usr/openwin/include \
21841 /usr/X11R6/include \
21842 /usr/X11R6.4/include \
21843 /usr/X11R5/include \
21844 /usr/X11R4/include \
21846 /usr/include/X11R6 \
21847 /usr/include/X11R5 \
21848 /usr/include/X11R4 \
21850 /usr/local/X11R6/include \
21851 /usr/local/X11R5/include \
21852 /usr/local/X11R4/include \
21854 /usr/local/include/X11R6 \
21855 /usr/local/include/X11R5 \
21856 /usr/local/include/X11R4 \
21860 /usr/local/X11/include \
21861 /usr/local/include/X11 \
21863 /usr/X386/include \
21864 /usr/x386/include \
21865 /usr/XFree86/include/X11 \
21867 X:/XFree86/include \
21868 X:/XFree86/include/X11 \
21871 /usr/local/include/gtk \
21872 /usr/include/glib \
21873 /usr/local/include/glib \
21876 /usr/local/include/qt \
21878 /usr/local/arm/3.3.2/include \
21880 /usr/include/windows \
21881 /usr/include/wine \
21882 /usr/local/include/wine \
21884 /usr/unsupported/include \
21885 /usr/athena/include \
21886 /usr/local/x11r5/include \
21887 /usr/lpp/Xamples/include \
21889 /usr/openwin/share/include"
21891 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21894 cat >confcache
<<\_ACEOF
21895 # This file is a shell script that caches the results of configure
21896 # tests run on this system so they can be shared between configure
21897 # scripts and configure runs, see configure's option --config-cache.
21898 # It is not useful on other systems. If it contains results you don't
21899 # want to keep, you may remove or edit it.
21901 # config.status only pays attention to the cache file if you give it
21902 # the --recheck option to rerun configure.
21904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21906 # following values.
21910 # The following way of writing the cache mishandles newlines in values,
21911 # but we know of no workaround that is simple, portable, and efficient.
21912 # So, don't put newlines in cache variables' values.
21913 # Ultrix sh set writes to stderr and can't be redirected directly,
21914 # and sets the high bit in the cache file unless we assign to the vars.
21917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21919 # `set' does not quote correctly, so add quotes (double-quote
21920 # substitution turns \\\\ into \\, and sed turns \\ into \).
21923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21926 # `set' quotes correctly as required by POSIX, so do not add quotes.
21928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21939 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21940 if test -w $cache_file; then
21941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21942 cat confcache
>$cache_file
21944 echo "not updating unwritable cache $cache_file"
21949 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21950 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21951 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21952 if test "${wx_cv_lib_glibc21+set}" = set; then
21953 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 cat >conftest.
$ac_ext <<_ACEOF
21959 cat confdefs.h
>>conftest.
$ac_ext
21960 cat >>conftest.
$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 #include <features.h>
21967 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21968 #error not glibc2.1
21975 rm -f conftest.
$ac_objext
21976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21977 (eval $ac_compile) 2>conftest.er1
21979 grep -v '^ *+' conftest.er1
>conftest.err
21981 cat conftest.err
>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); } &&
21984 { ac_try
='test -z "$ac_c_werror_flag"
21985 || test ! -s conftest.err'
21986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987 (eval $ac_try) 2>&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; } &&
21991 { ac_try
='test -s conftest.$ac_objext'
21992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21993 (eval $ac_try) 2>&5
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); }; }; then
21998 wx_cv_lib_glibc21
=yes
22001 echo "$as_me: failed program was:" >&5
22002 sed 's/^/| /' conftest.
$ac_ext >&5
22005 wx_cv_lib_glibc21
=no
22009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22012 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22013 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22014 if test "$wx_cv_lib_glibc21" = "yes"; then
22015 cat >>confdefs.h
<<\_ACEOF
22016 #define wxHAVE_GLIBC2 1
22022 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22023 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22024 cat >>confdefs.h
<<\_ACEOF
22025 #define _GNU_SOURCE 1
22033 if test "$wxUSE_REGEX" != "no"; then
22034 cat >>confdefs.h
<<\_ACEOF
22035 #define wxUSE_REGEX 1
22039 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22040 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22041 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22042 wxUSE_REGEX
=builtin
22045 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22046 if test "${ac_cv_header_regex_h+set}" = set; then
22047 echo "$as_me:$LINENO: checking for regex.h" >&5
22048 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22049 if test "${ac_cv_header_regex_h+set}" = set; then
22050 echo $ECHO_N "(cached) $ECHO_C" >&6
22052 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22053 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22055 # Is the header compilable?
22056 echo "$as_me:$LINENO: checking regex.h usability" >&5
22057 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22058 cat >conftest.
$ac_ext <<_ACEOF
22061 cat confdefs.h
>>conftest.
$ac_ext
22062 cat >>conftest.
$ac_ext <<_ACEOF
22063 /* end confdefs.h. */
22064 $ac_includes_default
22067 rm -f conftest.
$ac_objext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22069 (eval $ac_compile) 2>conftest.er1
22071 grep -v '^ *+' conftest.er1
>conftest.err
22073 cat conftest.err
>&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); } &&
22076 { ac_try
='test -z "$ac_c_werror_flag"
22077 || test ! -s conftest.err'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; } &&
22083 { ac_try
='test -s conftest.$ac_objext'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22089 ac_header_compiler
=yes
22091 echo "$as_me: failed program was:" >&5
22092 sed 's/^/| /' conftest.
$ac_ext >&5
22094 ac_header_compiler
=no
22096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22098 echo "${ECHO_T}$ac_header_compiler" >&6
22100 # Is the header present?
22101 echo "$as_me:$LINENO: checking regex.h presence" >&5
22102 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22103 cat >conftest.
$ac_ext <<_ACEOF
22106 cat confdefs.h
>>conftest.
$ac_ext
22107 cat >>conftest.
$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22114 grep -v '^ *+' conftest.er1
>conftest.err
22116 cat conftest.err
>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } >/dev
/null
; then
22119 if test -s conftest.err
; then
22120 ac_cpp_err
=$ac_c_preproc_warn_flag
22121 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22128 if test -z "$ac_cpp_err"; then
22129 ac_header_preproc
=yes
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.
$ac_ext >&5
22134 ac_header_preproc
=no
22136 rm -f conftest.err conftest.
$ac_ext
22137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22138 echo "${ECHO_T}$ac_header_preproc" >&6
22140 # So? What about this header?
22141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22143 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22144 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22145 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22146 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22147 ac_header_preproc
=yes
22150 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22151 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22152 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22153 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22154 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22155 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22156 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22157 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22158 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22159 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22160 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22161 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22164 ## ----------------------------------------- ##
22165 ## Report this to wx-dev@lists.wxwidgets.org ##
22166 ## ----------------------------------------- ##
22169 sed "s/^/$as_me: WARNING: /" >&2
22172 echo "$as_me:$LINENO: checking for regex.h" >&5
22173 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22174 if test "${ac_cv_header_regex_h+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 ac_cv_header_regex_h
=$ac_header_preproc
22179 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22180 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22183 if test $ac_cv_header_regex_h = yes; then
22185 for ac_func
in regcomp
22187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22188 echo "$as_me:$LINENO: checking for $ac_func" >&5
22189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22190 if eval "test \"\${$as_ac_var+set}\" = set"; then
22191 echo $ECHO_N "(cached) $ECHO_C" >&6
22193 cat >conftest.
$ac_ext <<_ACEOF
22196 cat confdefs.h
>>conftest.
$ac_ext
22197 cat >>conftest.
$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22201 #define $ac_func innocuous_$ac_func
22203 /* System header to define __stub macros and hopefully few prototypes,
22204 which can conflict with char $ac_func (); below.
22205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22206 <limits.h> exists even on freestanding compilers. */
22209 # include <limits.h>
22211 # include <assert.h>
22216 /* Override any gcc2 internal prototype to avoid an error. */
22221 /* We use char because int might match the return type of a gcc2
22222 builtin and then its argument prototype would still apply. */
22224 /* The GNU C library defines this for functions which it implements
22225 to always fail with ENOSYS. Some functions are actually named
22226 something starting with __ and the normal name is an alias. */
22227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22230 char (*f) () = $ac_func;
22239 return f != $ac_func;
22244 rm -f conftest.
$ac_objext conftest
$ac_exeext
22245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22246 (eval $ac_link) 2>conftest.er1
22248 grep -v '^ *+' conftest.er1
>conftest.err
22250 cat conftest.err
>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); } &&
22253 { ac_try
='test -z "$ac_c_werror_flag"
22254 || test ! -s conftest.err'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; } &&
22260 { ac_try
='test -s conftest$ac_exeext'
22261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262 (eval $ac_try) 2>&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); }; }; then
22266 eval "$as_ac_var=yes"
22268 echo "$as_me: failed program was:" >&5
22269 sed 's/^/| /' conftest.
$ac_ext >&5
22271 eval "$as_ac_var=no"
22273 rm -f conftest.err conftest.
$ac_objext \
22274 conftest
$ac_exeext conftest.
$ac_ext
22276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22278 if test `eval echo '${'$as_ac_var'}'` = yes; then
22279 cat >>confdefs.h
<<_ACEOF
22280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22290 if test "x$ac_cv_func_regcomp" != "xyes"; then
22291 if test "$wxUSE_REGEX" = "sys" ; then
22292 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22293 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22294 { (exit 1); exit 1; }; }
22296 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22297 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22298 wxUSE_REGEX
=builtin
22302 cat >>confdefs.h
<<\_ACEOF
22303 #define WX_NO_REGEX_ADVANCED 1
22312 if test "$wxUSE_ZLIB" != "no" ; then
22313 cat >>confdefs.h
<<\_ACEOF
22314 #define wxUSE_ZLIB 1
22318 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22319 if test "$USE_DARWIN" = 1; then
22320 system_zlib_h_ok
="yes"
22322 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22323 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22324 if test "${ac_cv_header_zlib_h+set}" = set; then
22325 echo $ECHO_N "(cached) $ECHO_C" >&6
22327 if test "$cross_compiling" = yes; then
22328 unset ac_cv_header_zlib_h
22331 cat >conftest.
$ac_ext <<_ACEOF
22334 cat confdefs.h
>>conftest.
$ac_ext
22335 cat >>conftest.
$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22343 FILE *f=fopen("conftestval", "w");
22346 ZLIB_VERSION[0] == '1' &&
22347 (ZLIB_VERSION[2] > '1' ||
22348 (ZLIB_VERSION[2] == '1' &&
22349 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22354 rm -f conftest
$ac_exeext
22355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22356 (eval $ac_link) 2>&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; }; then
22365 ac_cv_header_zlib_h
=`cat conftestval`
22367 echo "$as_me: program exited with status $ac_status" >&5
22368 echo "$as_me: failed program was:" >&5
22369 sed 's/^/| /' conftest.
$ac_ext >&5
22371 ( exit $ac_status )
22372 ac_cv_header_zlib_h
=no
22374 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22378 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22379 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22380 if test "${ac_cv_header_zlib_h+set}" = set; then
22381 echo "$as_me:$LINENO: checking for zlib.h" >&5
22382 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22383 if test "${ac_cv_header_zlib_h+set}" = set; then
22384 echo $ECHO_N "(cached) $ECHO_C" >&6
22386 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22387 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22389 # Is the header compilable?
22390 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22391 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22392 cat >conftest.
$ac_ext <<_ACEOF
22395 cat confdefs.h
>>conftest.
$ac_ext
22396 cat >>conftest.
$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398 $ac_includes_default
22401 rm -f conftest.
$ac_objext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22403 (eval $ac_compile) 2>conftest.er1
22405 grep -v '^ *+' conftest.er1
>conftest.err
22407 cat conftest.err
>&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } &&
22410 { ac_try
='test -z "$ac_c_werror_flag"
22411 || test ! -s conftest.err'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; } &&
22417 { ac_try
='test -s conftest.$ac_objext'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 ac_header_compiler
=yes
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.
$ac_ext >&5
22428 ac_header_compiler
=no
22430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22432 echo "${ECHO_T}$ac_header_compiler" >&6
22434 # Is the header present?
22435 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22436 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22437 cat >conftest.
$ac_ext <<_ACEOF
22440 cat confdefs.h
>>conftest.
$ac_ext
22441 cat >>conftest.
$ac_ext <<_ACEOF
22442 /* end confdefs.h. */
22445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22448 grep -v '^ *+' conftest.er1
>conftest.err
22450 cat conftest.err
>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } >/dev
/null
; then
22453 if test -s conftest.err
; then
22454 ac_cpp_err
=$ac_c_preproc_warn_flag
22455 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22462 if test -z "$ac_cpp_err"; then
22463 ac_header_preproc
=yes
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.
$ac_ext >&5
22468 ac_header_preproc
=no
22470 rm -f conftest.err conftest.
$ac_ext
22471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22472 echo "${ECHO_T}$ac_header_preproc" >&6
22474 # So? What about this header?
22475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22477 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22478 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22479 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22480 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22481 ac_header_preproc
=yes
22484 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22485 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22486 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22487 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22488 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22489 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22490 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22491 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22492 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22493 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22494 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22495 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22498 ## ----------------------------------------- ##
22499 ## Report this to wx-dev@lists.wxwidgets.org ##
22500 ## ----------------------------------------- ##
22503 sed "s/^/$as_me: WARNING: /" >&2
22506 echo "$as_me:$LINENO: checking for zlib.h" >&5
22507 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22508 if test "${ac_cv_header_zlib_h+set}" = set; then
22509 echo $ECHO_N "(cached) $ECHO_C" >&6
22511 ac_cv_header_zlib_h
=$ac_header_preproc
22513 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22514 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22520 system_zlib_h_ok
=$ac_cv_header_zlib_h
22523 if test "$system_zlib_h_ok" = "yes"; then
22524 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22525 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22526 if test "${ac_cv_lib_z_deflate+set}" = set; then
22527 echo $ECHO_N "(cached) $ECHO_C" >&6
22529 ac_check_lib_save_LIBS
=$LIBS
22531 cat >conftest.
$ac_ext <<_ACEOF
22534 cat confdefs.h
>>conftest.
$ac_ext
22535 cat >>conftest.
$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22538 /* Override any gcc2 internal prototype to avoid an error. */
22542 /* We use char because int might match the return type of a gcc2
22543 builtin and then its argument prototype would still apply. */
22553 rm -f conftest.
$ac_objext conftest
$ac_exeext
22554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22555 (eval $ac_link) 2>conftest.er1
22557 grep -v '^ *+' conftest.er1
>conftest.err
22559 cat conftest.err
>&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } &&
22562 { ac_try
='test -z "$ac_c_werror_flag"
22563 || test ! -s conftest.err'
22564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22565 (eval $ac_try) 2>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); }; } &&
22569 { ac_try
='test -s conftest$ac_exeext'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; }; then
22575 ac_cv_lib_z_deflate
=yes
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.
$ac_ext >&5
22580 ac_cv_lib_z_deflate
=no
22582 rm -f conftest.err conftest.
$ac_objext \
22583 conftest
$ac_exeext conftest.
$ac_ext
22584 LIBS
=$ac_check_lib_save_LIBS
22586 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22587 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22588 if test $ac_cv_lib_z_deflate = yes; then
22594 if test "x$ZLIB_LINK" = "x" ; then
22595 if test "$wxUSE_ZLIB" = "sys" ; then
22596 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22597 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22598 { (exit 1); exit 1; }; }
22600 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22601 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22612 if test "$wxUSE_LIBPNG" != "no" ; then
22613 cat >>confdefs.h
<<\_ACEOF
22614 #define wxUSE_LIBPNG 1
22618 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22619 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22620 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22624 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22625 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22626 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22627 wxUSE_LIBPNG
=builtin
22630 if test "$wxUSE_MGL" != 1 ; then
22631 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22632 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22633 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22634 if test "${ac_cv_header_png_h+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22637 if test "$cross_compiling" = yes; then
22638 unset ac_cv_header_png_h
22641 cat >conftest.
$ac_ext <<_ACEOF
22644 cat confdefs.h
>>conftest.
$ac_ext
22645 cat >>conftest.
$ac_ext <<_ACEOF
22646 /* end confdefs.h. */
22653 FILE *f=fopen("conftestval", "w");
22656 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22661 rm -f conftest
$ac_exeext
22662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22663 (eval $ac_link) 2>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; }; then
22672 ac_cv_header_png_h
=`cat conftestval`
22674 echo "$as_me: program exited with status $ac_status" >&5
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.
$ac_ext >&5
22678 ( exit $ac_status )
22679 ac_cv_header_png_h
=no
22681 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22685 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22686 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22687 if test "${ac_cv_header_png_h+set}" = set; then
22688 echo "$as_me:$LINENO: checking for png.h" >&5
22689 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22690 if test "${ac_cv_header_png_h+set}" = set; then
22691 echo $ECHO_N "(cached) $ECHO_C" >&6
22693 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22694 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22696 # Is the header compilable?
22697 echo "$as_me:$LINENO: checking png.h usability" >&5
22698 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22699 cat >conftest.
$ac_ext <<_ACEOF
22702 cat confdefs.h
>>conftest.
$ac_ext
22703 cat >>conftest.
$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22708 rm -f conftest.
$ac_objext
22709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22710 (eval $ac_compile) 2>conftest.er1
22712 grep -v '^ *+' conftest.er1
>conftest.err
22714 cat conftest.err
>&5
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); } &&
22717 { ac_try
='test -z "$ac_c_werror_flag"
22718 || test ! -s conftest.err'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; } &&
22724 { ac_try
='test -s conftest.$ac_objext'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; }; then
22730 ac_header_compiler
=yes
22732 echo "$as_me: failed program was:" >&5
22733 sed 's/^/| /' conftest.
$ac_ext >&5
22735 ac_header_compiler
=no
22737 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22739 echo "${ECHO_T}$ac_header_compiler" >&6
22741 # Is the header present?
22742 echo "$as_me:$LINENO: checking png.h presence" >&5
22743 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22744 cat >conftest.
$ac_ext <<_ACEOF
22747 cat confdefs.h
>>conftest.
$ac_ext
22748 cat >>conftest.
$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22755 grep -v '^ *+' conftest.er1
>conftest.err
22757 cat conftest.err
>&5
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); } >/dev
/null
; then
22760 if test -s conftest.err
; then
22761 ac_cpp_err
=$ac_c_preproc_warn_flag
22762 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22769 if test -z "$ac_cpp_err"; then
22770 ac_header_preproc
=yes
22772 echo "$as_me: failed program was:" >&5
22773 sed 's/^/| /' conftest.
$ac_ext >&5
22775 ac_header_preproc
=no
22777 rm -f conftest.err conftest.
$ac_ext
22778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22779 echo "${ECHO_T}$ac_header_preproc" >&6
22781 # So? What about this header?
22782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22784 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22785 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22786 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22787 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22788 ac_header_preproc
=yes
22791 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22792 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22793 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22794 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22795 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22796 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22797 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22798 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22799 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22800 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22801 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22802 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22805 ## ----------------------------------------- ##
22806 ## Report this to wx-dev@lists.wxwidgets.org ##
22807 ## ----------------------------------------- ##
22810 sed "s/^/$as_me: WARNING: /" >&2
22813 echo "$as_me:$LINENO: checking for png.h" >&5
22814 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22815 if test "${ac_cv_header_png_h+set}" = set; then
22816 echo $ECHO_N "(cached) $ECHO_C" >&6
22818 ac_cv_header_png_h
=$ac_header_preproc
22820 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22821 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22827 if test "$ac_cv_header_png_h" = "yes"; then
22828 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22829 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22830 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 ac_check_lib_save_LIBS
=$LIBS
22834 LIBS
="-lpng -lz -lm $LIBS"
22835 cat >conftest.
$ac_ext <<_ACEOF
22838 cat confdefs.h
>>conftest.
$ac_ext
22839 cat >>conftest.
$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22842 /* Override any gcc2 internal prototype to avoid an error. */
22846 /* We use char because int might match the return type of a gcc2
22847 builtin and then its argument prototype would still apply. */
22848 char png_check_sig ();
22857 rm -f conftest.
$ac_objext conftest
$ac_exeext
22858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22859 (eval $ac_link) 2>conftest.er1
22861 grep -v '^ *+' conftest.er1
>conftest.err
22863 cat conftest.err
>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); } &&
22866 { ac_try
='test -z "$ac_c_werror_flag"
22867 || test ! -s conftest.err'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; } &&
22873 { ac_try
='test -s conftest$ac_exeext'
22874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22875 (eval $ac_try) 2>&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); }; }; then
22879 ac_cv_lib_png_png_check_sig
=yes
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.
$ac_ext >&5
22884 ac_cv_lib_png_png_check_sig
=no
22886 rm -f conftest.err conftest.
$ac_objext \
22887 conftest
$ac_exeext conftest.
$ac_ext
22888 LIBS
=$ac_check_lib_save_LIBS
22890 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22891 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22892 if test $ac_cv_lib_png_png_check_sig = yes; then
22893 PNG_LINK
=" -lpng -lz"
22898 if test "x$PNG_LINK" = "x" ; then
22899 if test "$wxUSE_LIBPNG" = "sys" ; then
22900 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22901 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22902 { (exit 1); exit 1; }; }
22904 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22905 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22906 wxUSE_LIBPNG
=builtin
22914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22919 if test "$wxUSE_LIBJPEG" != "no" ; then
22920 cat >>confdefs.h
<<\_ACEOF
22921 #define wxUSE_LIBJPEG 1
22925 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22926 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22927 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22931 if test "$wxUSE_MGL" != 1 ; then
22932 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22933 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22934 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22935 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22936 echo $ECHO_N "(cached) $ECHO_C" >&6
22938 cat >conftest.
$ac_ext <<_ACEOF
22941 cat confdefs.h
>>conftest.
$ac_ext
22942 cat >>conftest.
$ac_ext <<_ACEOF
22943 /* end confdefs.h. */
22945 #undef HAVE_STDLIB_H
22947 #include <jpeglib.h>
22958 rm -f conftest.
$ac_objext
22959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22960 (eval $ac_compile) 2>conftest.er1
22962 grep -v '^ *+' conftest.er1
>conftest.err
22964 cat conftest.err
>&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } &&
22967 { ac_try
='test -z "$ac_c_werror_flag"
22968 || test ! -s conftest.err'
22969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22970 (eval $ac_try) 2>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; } &&
22974 { ac_try
='test -s conftest.$ac_objext'
22975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22976 (eval $ac_try) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); }; }; then
22980 ac_cv_header_jpeglib_h
=yes
22982 echo "$as_me: failed program was:" >&5
22983 sed 's/^/| /' conftest.
$ac_ext >&5
22985 ac_cv_header_jpeglib_h
=no
22988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22992 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22993 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22995 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22996 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22997 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22998 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22999 echo $ECHO_N "(cached) $ECHO_C" >&6
23001 ac_check_lib_save_LIBS
=$LIBS
23002 LIBS
="-ljpeg $LIBS"
23003 cat >conftest.
$ac_ext <<_ACEOF
23006 cat confdefs.h
>>conftest.
$ac_ext
23007 cat >>conftest.
$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23010 /* Override any gcc2 internal prototype to avoid an error. */
23014 /* We use char because int might match the return type of a gcc2
23015 builtin and then its argument prototype would still apply. */
23016 char jpeg_read_header ();
23020 jpeg_read_header ();
23025 rm -f conftest.
$ac_objext conftest
$ac_exeext
23026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23027 (eval $ac_link) 2>conftest.er1
23029 grep -v '^ *+' conftest.er1
>conftest.err
23031 cat conftest.err
>&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); } &&
23034 { ac_try
='test -z "$ac_c_werror_flag"
23035 || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try
='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_lib_jpeg_jpeg_read_header
=yes
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.
$ac_ext >&5
23052 ac_cv_lib_jpeg_jpeg_read_header
=no
23054 rm -f conftest.err conftest.
$ac_objext \
23055 conftest
$ac_exeext conftest.
$ac_ext
23056 LIBS
=$ac_check_lib_save_LIBS
23058 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23059 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23060 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23061 JPEG_LINK
=" -ljpeg"
23066 if test "x$JPEG_LINK" = "x" ; then
23067 if test "$wxUSE_LIBJPEG" = "sys" ; then
23068 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23069 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23070 { (exit 1); exit 1; }; }
23072 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23073 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23074 wxUSE_LIBJPEG
=builtin
23085 TIFF_PREREQ_LINKS
=-lm
23086 if test "$wxUSE_LIBTIFF" != "no" ; then
23087 cat >>confdefs.h
<<\_ACEOF
23088 #define wxUSE_LIBTIFF 1
23092 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23093 if test "$wxUSE_LIBJPEG" = "sys"; then
23094 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23096 if test "$wxUSE_ZLIB" = "sys"; then
23097 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23099 if test "${ac_cv_header_tiffio_h+set}" = set; then
23100 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23101 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23102 if test "${ac_cv_header_tiffio_h+set}" = set; then
23103 echo $ECHO_N "(cached) $ECHO_C" >&6
23105 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23106 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23108 # Is the header compilable?
23109 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23110 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23111 cat >conftest.
$ac_ext <<_ACEOF
23114 cat confdefs.h
>>conftest.
$ac_ext
23115 cat >>conftest.
$ac_ext <<_ACEOF
23116 /* end confdefs.h. */
23117 $ac_includes_default
23118 #include <tiffio.h>
23120 rm -f conftest.
$ac_objext
23121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23122 (eval $ac_compile) 2>conftest.er1
23124 grep -v '^ *+' conftest.er1
>conftest.err
23126 cat conftest.err
>&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } &&
23129 { ac_try
='test -z "$ac_c_werror_flag"
23130 || test ! -s conftest.err'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; } &&
23136 { ac_try
='test -s conftest.$ac_objext'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; }; then
23142 ac_header_compiler
=yes
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.
$ac_ext >&5
23147 ac_header_compiler
=no
23149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23151 echo "${ECHO_T}$ac_header_compiler" >&6
23153 # Is the header present?
23154 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23155 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23156 cat >conftest.
$ac_ext <<_ACEOF
23159 cat confdefs.h
>>conftest.
$ac_ext
23160 cat >>conftest.
$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162 #include <tiffio.h>
23164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23167 grep -v '^ *+' conftest.er1
>conftest.err
23169 cat conftest.err
>&5
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); } >/dev
/null
; then
23172 if test -s conftest.err
; then
23173 ac_cpp_err
=$ac_c_preproc_warn_flag
23174 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23181 if test -z "$ac_cpp_err"; then
23182 ac_header_preproc
=yes
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.
$ac_ext >&5
23187 ac_header_preproc
=no
23189 rm -f conftest.err conftest.
$ac_ext
23190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23191 echo "${ECHO_T}$ac_header_preproc" >&6
23193 # So? What about this header?
23194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23196 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23197 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23198 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23199 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23200 ac_header_preproc
=yes
23203 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23204 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23205 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23206 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23207 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23208 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23209 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23210 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23211 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23212 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23213 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23214 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23217 ## ----------------------------------------- ##
23218 ## Report this to wx-dev@lists.wxwidgets.org ##
23219 ## ----------------------------------------- ##
23222 sed "s/^/$as_me: WARNING: /" >&2
23225 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23226 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23227 if test "${ac_cv_header_tiffio_h+set}" = set; then
23228 echo $ECHO_N "(cached) $ECHO_C" >&6
23230 ac_cv_header_tiffio_h
=$ac_header_preproc
23232 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23233 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23236 if test $ac_cv_header_tiffio_h = yes; then
23238 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23239 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23240 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23243 ac_check_lib_save_LIBS
=$LIBS
23244 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23245 cat >conftest.
$ac_ext <<_ACEOF
23248 cat confdefs.h
>>conftest.
$ac_ext
23249 cat >>conftest.
$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23252 /* Override any gcc2 internal prototype to avoid an error. */
23256 /* We use char because int might match the return type of a gcc2
23257 builtin and then its argument prototype would still apply. */
23267 rm -f conftest.
$ac_objext conftest
$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 (eval $ac_link) 2>conftest.er1
23271 grep -v '^ *+' conftest.er1
>conftest.err
23273 cat conftest.err
>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try
='test -z "$ac_c_werror_flag"
23277 || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try
='test -s conftest$ac_exeext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 ac_cv_lib_tiff_TIFFError
=yes
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.
$ac_ext >&5
23294 ac_cv_lib_tiff_TIFFError
=no
23296 rm -f conftest.err conftest.
$ac_objext \
23297 conftest
$ac_exeext conftest.
$ac_ext
23298 LIBS
=$ac_check_lib_save_LIBS
23300 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23301 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23302 if test $ac_cv_lib_tiff_TIFFError = yes; then
23303 TIFF_LINK
=" -ltiff"
23312 if test "x$TIFF_LINK" = "x" ; then
23313 if test "$wxUSE_LIBTIFF" = "sys" ; then
23314 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23315 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23316 { (exit 1); exit 1; }; }
23318 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23319 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23320 wxUSE_LIBTIFF
=builtin
23329 if test "$wxUSE_EXPAT" != "no"; then
23331 cat >>confdefs.h
<<\_ACEOF
23332 #define wxUSE_EXPAT 1
23335 cat >>confdefs.h
<<\_ACEOF
23336 #define wxUSE_XML 1
23340 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23341 if test "${ac_cv_header_expat_h+set}" = set; then
23342 echo "$as_me:$LINENO: checking for expat.h" >&5
23343 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23344 if test "${ac_cv_header_expat_h+set}" = set; then
23345 echo $ECHO_N "(cached) $ECHO_C" >&6
23347 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23348 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23350 # Is the header compilable?
23351 echo "$as_me:$LINENO: checking expat.h usability" >&5
23352 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23353 cat >conftest.
$ac_ext <<_ACEOF
23356 cat confdefs.h
>>conftest.
$ac_ext
23357 cat >>conftest.
$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 $ac_includes_default
23362 rm -f conftest.
$ac_objext
23363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23364 (eval $ac_compile) 2>conftest.er1
23366 grep -v '^ *+' conftest.er1
>conftest.err
23368 cat conftest.err
>&5
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); } &&
23371 { ac_try
='test -z "$ac_c_werror_flag"
23372 || test ! -s conftest.err'
23373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 (eval $ac_try) 2>&5
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; } &&
23378 { ac_try
='test -s conftest.$ac_objext'
23379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23384 ac_header_compiler
=yes
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.
$ac_ext >&5
23389 ac_header_compiler
=no
23391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23393 echo "${ECHO_T}$ac_header_compiler" >&6
23395 # Is the header present?
23396 echo "$as_me:$LINENO: checking expat.h presence" >&5
23397 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23398 cat >conftest.
$ac_ext <<_ACEOF
23401 cat confdefs.h
>>conftest.
$ac_ext
23402 cat >>conftest.
$ac_ext <<_ACEOF
23403 /* end confdefs.h. */
23406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23409 grep -v '^ *+' conftest.er1
>conftest.err
23411 cat conftest.err
>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); } >/dev
/null
; then
23414 if test -s conftest.err
; then
23415 ac_cpp_err
=$ac_c_preproc_warn_flag
23416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23423 if test -z "$ac_cpp_err"; then
23424 ac_header_preproc
=yes
23426 echo "$as_me: failed program was:" >&5
23427 sed 's/^/| /' conftest.
$ac_ext >&5
23429 ac_header_preproc
=no
23431 rm -f conftest.err conftest.
$ac_ext
23432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23433 echo "${ECHO_T}$ac_header_preproc" >&6
23435 # So? What about this header?
23436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23438 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23439 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23440 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23441 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23442 ac_header_preproc
=yes
23445 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23446 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23447 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23448 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23449 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23450 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23451 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23452 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23453 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23454 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23455 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23456 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23459 ## ----------------------------------------- ##
23460 ## Report this to wx-dev@lists.wxwidgets.org ##
23461 ## ----------------------------------------- ##
23464 sed "s/^/$as_me: WARNING: /" >&2
23467 echo "$as_me:$LINENO: checking for expat.h" >&5
23468 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23469 if test "${ac_cv_header_expat_h+set}" = set; then
23470 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 ac_cv_header_expat_h
=$ac_header_preproc
23474 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23475 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23478 if test $ac_cv_header_expat_h = yes; then
23483 if test "x$found_expat_h" = "x1"; then
23484 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23485 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23486 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23487 echo $ECHO_N "(cached) $ECHO_C" >&6
23493 ac_cpp
='$CXXCPP $CPPFLAGS'
23494 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23498 cat >conftest.
$ac_ext <<_ACEOF
23501 cat confdefs.h
>>conftest.
$ac_ext
23502 cat >>conftest.
$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23513 rm -f conftest.
$ac_objext
23514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23515 (eval $ac_compile) 2>conftest.er1
23517 grep -v '^ *+' conftest.er1
>conftest.err
23519 cat conftest.err
>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try
='test -z "$ac_cxx_werror_flag"
23523 || test ! -s conftest.err'
23524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23525 (eval $ac_try) 2>&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); }; } &&
23529 { ac_try
='test -s conftest.$ac_objext'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 wx_cv_expat_is_not_broken
=yes
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.
$ac_ext >&5
23540 wx_cv_expat_is_not_broken
=no
23543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23545 ac_cpp
='$CPP $CPPFLAGS'
23546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23553 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23554 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23555 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23556 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23557 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23558 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23561 ac_check_lib_save_LIBS
=$LIBS
23562 LIBS
="-lexpat $LIBS"
23563 cat >conftest.
$ac_ext <<_ACEOF
23566 cat confdefs.h
>>conftest.
$ac_ext
23567 cat >>conftest.
$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23570 /* Override any gcc2 internal prototype to avoid an error. */
23574 /* We use char because int might match the return type of a gcc2
23575 builtin and then its argument prototype would still apply. */
23576 char XML_ParserCreate ();
23580 XML_ParserCreate ();
23585 rm -f conftest.
$ac_objext conftest
$ac_exeext
23586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23587 (eval $ac_link) 2>conftest.er1
23589 grep -v '^ *+' conftest.er1
>conftest.err
23591 cat conftest.err
>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } &&
23594 { ac_try
='test -z "$ac_c_werror_flag"
23595 || test ! -s conftest.err'
23596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597 (eval $ac_try) 2>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); }; } &&
23601 { ac_try
='test -s conftest$ac_exeext'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_lib_expat_XML_ParserCreate
=yes
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.
$ac_ext >&5
23612 ac_cv_lib_expat_XML_ParserCreate
=no
23614 rm -f conftest.err conftest.
$ac_objext \
23615 conftest
$ac_exeext conftest.
$ac_ext
23616 LIBS
=$ac_check_lib_save_LIBS
23618 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23619 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23620 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23621 EXPAT_LINK
=" -lexpat"
23626 if test "x$EXPAT_LINK" = "x" ; then
23627 if test "$wxUSE_EXPAT" = "sys" ; then
23628 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23629 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23630 { (exit 1); exit 1; }; }
23632 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23633 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23634 wxUSE_EXPAT
=builtin
23640 if test "$wxUSE_EXPAT" = "builtin" ; then
23643 subdirs
="$subdirs src/expat"
23650 if test "$wxUSE_LIBMSPACK" != "no"; then
23651 if test "${ac_cv_header_mspack_h+set}" = set; then
23652 echo "$as_me:$LINENO: checking for mspack.h" >&5
23653 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23654 if test "${ac_cv_header_mspack_h+set}" = set; then
23655 echo $ECHO_N "(cached) $ECHO_C" >&6
23657 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23658 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23660 # Is the header compilable?
23661 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23662 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23663 cat >conftest.
$ac_ext <<_ACEOF
23666 cat confdefs.h
>>conftest.
$ac_ext
23667 cat >>conftest.
$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 $ac_includes_default
23670 #include <mspack.h>
23672 rm -f conftest.
$ac_objext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23674 (eval $ac_compile) 2>conftest.er1
23676 grep -v '^ *+' conftest.er1
>conftest.err
23678 cat conftest.err
>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try
='test -z "$ac_c_werror_flag"
23682 || test ! -s conftest.err'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; } &&
23688 { ac_try
='test -s conftest.$ac_objext'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 ac_header_compiler
=yes
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.
$ac_ext >&5
23699 ac_header_compiler
=no
23701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23703 echo "${ECHO_T}$ac_header_compiler" >&6
23705 # Is the header present?
23706 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23707 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23708 cat >conftest.
$ac_ext <<_ACEOF
23711 cat confdefs.h
>>conftest.
$ac_ext
23712 cat >>conftest.
$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 #include <mspack.h>
23716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23717 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23719 grep -v '^ *+' conftest.er1
>conftest.err
23721 cat conftest.err
>&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } >/dev
/null
; then
23724 if test -s conftest.err
; then
23725 ac_cpp_err
=$ac_c_preproc_warn_flag
23726 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23733 if test -z "$ac_cpp_err"; then
23734 ac_header_preproc
=yes
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.
$ac_ext >&5
23739 ac_header_preproc
=no
23741 rm -f conftest.err conftest.
$ac_ext
23742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23743 echo "${ECHO_T}$ac_header_preproc" >&6
23745 # So? What about this header?
23746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23748 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23749 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23750 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23751 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23752 ac_header_preproc
=yes
23755 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23756 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23757 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23758 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23759 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23760 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23761 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23762 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23763 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23764 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23765 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23766 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23769 ## ----------------------------------------- ##
23770 ## Report this to wx-dev@lists.wxwidgets.org ##
23771 ## ----------------------------------------- ##
23774 sed "s/^/$as_me: WARNING: /" >&2
23777 echo "$as_me:$LINENO: checking for mspack.h" >&5
23778 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23779 if test "${ac_cv_header_mspack_h+set}" = set; then
23780 echo $ECHO_N "(cached) $ECHO_C" >&6
23782 ac_cv_header_mspack_h
=$ac_header_preproc
23784 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23785 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23788 if test $ac_cv_header_mspack_h = yes; then
23793 if test "x$found_mspack_h" = "x1"; then
23794 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23795 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23796 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23797 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 ac_check_lib_save_LIBS
=$LIBS
23800 LIBS
="-lmspack $LIBS"
23801 cat >conftest.
$ac_ext <<_ACEOF
23804 cat confdefs.h
>>conftest.
$ac_ext
23805 cat >>conftest.
$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23808 /* Override any gcc2 internal prototype to avoid an error. */
23812 /* We use char because int might match the return type of a gcc2
23813 builtin and then its argument prototype would still apply. */
23814 char mspack_create_chm_decompressor ();
23818 mspack_create_chm_decompressor ();
23823 rm -f conftest.
$ac_objext conftest
$ac_exeext
23824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23825 (eval $ac_link) 2>conftest.er1
23827 grep -v '^ *+' conftest.er1
>conftest.err
23829 cat conftest.err
>&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); } &&
23832 { ac_try
='test -z "$ac_c_werror_flag"
23833 || test ! -s conftest.err'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; } &&
23839 { ac_try
='test -s conftest$ac_exeext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.
$ac_ext >&5
23850 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23852 rm -f conftest.err conftest.
$ac_objext \
23853 conftest
$ac_exeext conftest.
$ac_ext
23854 LIBS
=$ac_check_lib_save_LIBS
23856 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23857 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23858 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23859 MSPACK_LINK
=" -lmspack"
23863 if test "x$MSPACK_LINK" = "x" ; then
23868 if test "$wxUSE_LIBMSPACK" != "no"; then
23869 cat >>confdefs.h
<<\_ACEOF
23870 #define wxUSE_LIBMSPACK 1
23884 if test "$USE_WIN32" = 1 ; then
23886 for ac_header
in w32api.h
23888 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23890 echo "$as_me:$LINENO: checking for $ac_header" >&5
23891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23898 # Is the header compilable?
23899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23901 cat >conftest.
$ac_ext <<_ACEOF
23904 cat confdefs.h
>>conftest.
$ac_ext
23905 cat >>conftest.
$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907 $ac_includes_default
23908 #include <$ac_header>
23910 rm -f conftest.
$ac_objext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23912 (eval $ac_compile) 2>conftest.er1
23914 grep -v '^ *+' conftest.er1
>conftest.err
23916 cat conftest.err
>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } &&
23919 { ac_try
='test -z "$ac_c_werror_flag"
23920 || test ! -s conftest.err'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; } &&
23926 { ac_try
='test -s conftest.$ac_objext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_header_compiler
=yes
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.
$ac_ext >&5
23937 ac_header_compiler
=no
23939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23941 echo "${ECHO_T}$ac_header_compiler" >&6
23943 # Is the header present?
23944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23946 cat >conftest.
$ac_ext <<_ACEOF
23949 cat confdefs.h
>>conftest.
$ac_ext
23950 cat >>conftest.
$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 #include <$ac_header>
23954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23955 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23957 grep -v '^ *+' conftest.er1
>conftest.err
23959 cat conftest.err
>&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } >/dev
/null
; then
23962 if test -s conftest.err
; then
23963 ac_cpp_err
=$ac_c_preproc_warn_flag
23964 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23971 if test -z "$ac_cpp_err"; then
23972 ac_header_preproc
=yes
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.
$ac_ext >&5
23977 ac_header_preproc
=no
23979 rm -f conftest.err conftest.
$ac_ext
23980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23981 echo "${ECHO_T}$ac_header_preproc" >&6
23983 # So? What about this header?
23984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23990 ac_header_preproc
=yes
23993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24007 ## ----------------------------------------- ##
24008 ## Report this to wx-dev@lists.wxwidgets.org ##
24009 ## ----------------------------------------- ##
24012 sed "s/^/$as_me: WARNING: /" >&2
24015 echo "$as_me:$LINENO: checking for $ac_header" >&5
24016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24018 echo $ECHO_N "(cached) $ECHO_C" >&6
24020 eval "$as_ac_Header=\$ac_header_preproc"
24022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24027 cat >>confdefs.h
<<_ACEOF
24028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24035 if test "${ac_cv_header_windows_h+set}" = set; then
24036 echo "$as_me:$LINENO: checking for windows.h" >&5
24037 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24038 if test "${ac_cv_header_windows_h+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24041 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24042 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24044 # Is the header compilable?
24045 echo "$as_me:$LINENO: checking windows.h usability" >&5
24046 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24047 cat >conftest.
$ac_ext <<_ACEOF
24050 cat confdefs.h
>>conftest.
$ac_ext
24051 cat >>conftest.
$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 $ac_includes_default
24054 #include <windows.h>
24056 rm -f conftest.
$ac_objext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24058 (eval $ac_compile) 2>conftest.er1
24060 grep -v '^ *+' conftest.er1
>conftest.err
24062 cat conftest.err
>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } &&
24065 { ac_try
='test -z "$ac_c_werror_flag"
24066 || test ! -s conftest.err'
24067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24068 (eval $ac_try) 2>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; } &&
24072 { ac_try
='test -s conftest.$ac_objext'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; }; then
24078 ac_header_compiler
=yes
24080 echo "$as_me: failed program was:" >&5
24081 sed 's/^/| /' conftest.
$ac_ext >&5
24083 ac_header_compiler
=no
24085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24087 echo "${ECHO_T}$ac_header_compiler" >&6
24089 # Is the header present?
24090 echo "$as_me:$LINENO: checking windows.h presence" >&5
24091 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24092 cat >conftest.
$ac_ext <<_ACEOF
24095 cat confdefs.h
>>conftest.
$ac_ext
24096 cat >>conftest.
$ac_ext <<_ACEOF
24097 /* end confdefs.h. */
24098 #include <windows.h>
24100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24103 grep -v '^ *+' conftest.er1
>conftest.err
24105 cat conftest.err
>&5
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } >/dev
/null
; then
24108 if test -s conftest.err
; then
24109 ac_cpp_err
=$ac_c_preproc_warn_flag
24110 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24117 if test -z "$ac_cpp_err"; then
24118 ac_header_preproc
=yes
24120 echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.
$ac_ext >&5
24123 ac_header_preproc
=no
24125 rm -f conftest.err conftest.
$ac_ext
24126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24127 echo "${ECHO_T}$ac_header_preproc" >&6
24129 # So? What about this header?
24130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24132 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24133 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24134 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24135 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24136 ac_header_preproc
=yes
24139 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24140 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24141 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24142 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24143 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24144 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24145 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24146 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24147 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24148 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24149 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24150 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24153 ## ----------------------------------------- ##
24154 ## Report this to wx-dev@lists.wxwidgets.org ##
24155 ## ----------------------------------------- ##
24158 sed "s/^/$as_me: WARNING: /" >&2
24161 echo "$as_me:$LINENO: checking for windows.h" >&5
24162 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24163 if test "${ac_cv_header_windows_h+set}" = set; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24166 ac_cv_header_windows_h
=$ac_header_preproc
24168 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24169 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24172 if test $ac_cv_header_windows_h = yes; then
24176 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24177 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24178 { (exit 1); exit 1; }; }
24184 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24186 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24187 LIBS
="$LIBS -loleacc"
24192 LIBS
="$LIBS -lkernel32 -luser32"
24193 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24196 if test "$wxUSE_ODBC" = "sys" ; then
24199 if test "$wxUSE_ODBC" = "yes" ; then
24200 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24201 cat >>confdefs.h
<<\_ACEOF
24202 #define wxUSE_ODBC 1
24207 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24208 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24210 WIN32INSTALL
=win32install
24213 if test "$wxUSE_GUI" = "yes"; then
24223 if test "$wxUSE_COCOA" = 1 ; then
24224 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24225 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24226 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24227 wxUSE_PRINTING_ARCHITECTURE
=no
24229 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24230 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24231 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24232 wxUSE_DRAG_AND_DROP
=no
24234 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24235 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24236 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24241 if test "$wxUSE_MSW" = 1 ; then
24247 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24251 if test "$wxUSE_GTK" = 1; then
24252 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24253 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24255 gtk_version_cached
=1
24256 if test "${wx_cv_lib_gtk+set}" = set; then
24257 echo $ECHO_N "(cached) $ECHO_C" >&6
24260 gtk_version_cached
=0
24261 echo "$as_me:$LINENO: result: " >&5
24262 echo "${ECHO_T}" >&6
24265 if test "$wxUSE_THREADS" = "yes"; then
24266 GTK_MODULES
=gthread
24270 if test "x$wxUSE_GTK2" = "xyes"; then
24271 # Check whether --enable-gtktest or --disable-gtktest was given.
24272 if test "${enable_gtktest+set}" = set; then
24273 enableval
="$enable_gtktest"
24279 pkg_config_args
=gtk
+-2.0
24280 for module
in .
$GTK_MODULES
24284 pkg_config_args
="$pkg_config_args gthread-2.0"
24291 # Extract the first word of "pkg-config", so it can be a program name with args.
24292 set dummy pkg
-config; ac_word
=$2
24293 echo "$as_me:$LINENO: checking for $ac_word" >&5
24294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24295 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24296 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 case $PKG_CONFIG in
24300 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24304 for as_dir
in $PATH
24307 test -z "$as_dir" && as_dir
=.
24308 for ac_exec_ext
in '' $ac_executable_extensions; do
24309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24310 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24317 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24321 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24323 if test -n "$PKG_CONFIG"; then
24324 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24325 echo "${ECHO_T}$PKG_CONFIG" >&6
24327 echo "$as_me:$LINENO: result: no" >&5
24328 echo "${ECHO_T}no" >&6
24332 if test x
$PKG_CONFIG != xno
; then
24333 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24336 echo "*** pkg-config too old; version 0.7 or better required."
24344 min_gtk_version
=2.0.0
24345 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24346 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24348 if test x
$PKG_CONFIG != xno
; then
24349 ## don't try to run the test against uninstalled libtool libs
24350 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24351 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24355 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24362 if test x
"$no_gtk" = x
; then
24363 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24364 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24365 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24367 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24369 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24370 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24371 if test "x$enable_gtktest" = "xyes" ; then
24372 ac_save_CFLAGS
="$CFLAGS"
24373 ac_save_LIBS
="$LIBS"
24374 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24375 LIBS
="$GTK_LIBS $LIBS"
24377 if test "$cross_compiling" = yes; then
24378 echo $ac_n "cross compiling; assumed OK... $ac_c"
24380 cat >conftest.
$ac_ext <<_ACEOF
24383 cat confdefs.h
>>conftest.
$ac_ext
24384 cat >>conftest.
$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24387 #include <gtk/gtk.h>
24389 #include <stdlib.h>
24394 int major, minor, micro;
24397 system ("touch conf.gtktest");
24399 /* HP/UX 9 (%@#!) writes to sscanf strings */
24400 tmp_version = g_strdup("$min_gtk_version");
24401 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24402 printf("%s, bad version string\n", "$min_gtk_version");
24406 if ((gtk_major_version != $gtk_config_major_version) ||
24407 (gtk_minor_version != $gtk_config_minor_version) ||
24408 (gtk_micro_version != $gtk_config_micro_version))
24410 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24411 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24412 gtk_major_version, gtk_minor_version, gtk_micro_version);
24413 printf ("*** was found! If pkg-config was correct, then it is best\n");
24414 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24415 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24416 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24417 printf("*** required on your system.\n");
24418 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24419 printf("*** to point to the correct configuration files\n");
24421 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24422 (gtk_minor_version != GTK_MINOR_VERSION) ||
24423 (gtk_micro_version != GTK_MICRO_VERSION))
24425 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24426 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24427 printf("*** library (version %d.%d.%d)\n",
24428 gtk_major_version, gtk_minor_version, gtk_micro_version);
24432 if ((gtk_major_version > major) ||
24433 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24434 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24440 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24441 gtk_major_version, gtk_minor_version, gtk_micro_version);
24442 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24443 major, minor, micro);
24444 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24446 printf("*** If you have already installed a sufficiently new version, this error\n");
24447 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24448 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24449 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24450 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24451 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24452 printf("*** so that the correct libraries are found at run-time))\n");
24459 rm -f conftest
$ac_exeext
24460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24461 (eval $ac_link) 2>&5
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24472 echo "$as_me: program exited with status $ac_status" >&5
24473 echo "$as_me: failed program was:" >&5
24474 sed 's/^/| /' conftest.
$ac_ext >&5
24476 ( exit $ac_status )
24479 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24481 CFLAGS
="$ac_save_CFLAGS"
24482 LIBS
="$ac_save_LIBS"
24485 if test "x$no_gtk" = x
; then
24486 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24487 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24490 echo "$as_me:$LINENO: result: no" >&5
24491 echo "${ECHO_T}no" >&6
24492 if test "$PKG_CONFIG" = "no" ; then
24493 echo "*** A new enough version of pkg-config was not found."
24494 echo "*** See http://pkgconfig.sourceforge.net"
24496 if test -f conf.gtktest
; then
24499 echo "*** Could not run GTK+ test program, checking why..."
24500 ac_save_CFLAGS
="$CFLAGS"
24501 ac_save_LIBS
="$LIBS"
24502 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24503 LIBS
="$LIBS $GTK_LIBS"
24504 cat >conftest.
$ac_ext <<_ACEOF
24507 cat confdefs.h
>>conftest.
$ac_ext
24508 cat >>conftest.
$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24511 #include <gtk/gtk.h>
24517 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24522 rm -f conftest.
$ac_objext conftest
$ac_exeext
24523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24524 (eval $ac_link) 2>conftest.er1
24526 grep -v '^ *+' conftest.er1
>conftest.err
24528 cat conftest.err
>&5
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); } &&
24531 { ac_try
='test -z "$ac_c_werror_flag"
24532 || test ! -s conftest.err'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; } &&
24538 { ac_try
='test -s conftest$ac_exeext'
24539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 echo "*** The test program compiled, but did not run. This usually means"
24545 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24546 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24547 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24548 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24549 echo "*** is required on your system"
24551 echo "*** If you have an old version installed, it is best to remove it, although"
24552 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24554 echo "$as_me: failed program was:" >&5
24555 sed 's/^/| /' conftest.
$ac_ext >&5
24557 echo "*** The test program failed to compile or link. See the file config.log for the"
24558 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24560 rm -f conftest.err conftest.
$ac_objext \
24561 conftest
$ac_exeext conftest.
$ac_ext
24562 CFLAGS
="$ac_save_CFLAGS"
24563 LIBS
="$ac_save_LIBS"
24576 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24577 if test "${with_gtk_prefix+set}" = set; then
24578 withval
="$with_gtk_prefix"
24579 gtk_config_prefix
="$withval"
24581 gtk_config_prefix
=""
24584 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24585 if test "${with_gtk_exec_prefix+set}" = set; then
24586 withval
="$with_gtk_exec_prefix"
24587 gtk_config_exec_prefix
="$withval"
24589 gtk_config_exec_prefix
=""
24591 # Check whether --enable-gtktest or --disable-gtktest was given.
24592 if test "${enable_gtktest+set}" = set; then
24593 enableval
="$enable_gtktest"
24599 for module
in .
$GTK_MODULES
24603 gtk_config_args
="$gtk_config_args gthread"
24608 if test x
$gtk_config_exec_prefix != x
; then
24609 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24610 if test x
${GTK_CONFIG+set} != xset
; then
24611 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24614 if test x
$gtk_config_prefix != x
; then
24615 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24616 if test x
${GTK_CONFIG+set} != xset
; then
24617 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24621 # Extract the first word of "gtk-config", so it can be a program name with args.
24622 set dummy gtk
-config; ac_word
=$2
24623 echo "$as_me:$LINENO: checking for $ac_word" >&5
24624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24625 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24628 case $GTK_CONFIG in
24630 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24634 for as_dir
in $PATH
24637 test -z "$as_dir" && as_dir
=.
24638 for ac_exec_ext
in '' $ac_executable_extensions; do
24639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24640 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24647 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24651 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24653 if test -n "$GTK_CONFIG"; then
24654 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24655 echo "${ECHO_T}$GTK_CONFIG" >&6
24657 echo "$as_me:$LINENO: result: no" >&5
24658 echo "${ECHO_T}no" >&6
24661 min_gtk_version
=1.2.7
24662 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24663 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24665 if test "$GTK_CONFIG" = "no" ; then
24668 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24669 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24670 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24672 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24674 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24676 if test "x$enable_gtktest" = "xyes" ; then
24677 ac_save_CFLAGS
="$CFLAGS"
24678 ac_save_LIBS
="$LIBS"
24679 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24680 LIBS
="$GTK_LIBS $LIBS"
24682 if test "$cross_compiling" = yes; then
24683 echo $ac_n "cross compiling; assumed OK... $ac_c"
24685 cat >conftest.
$ac_ext <<_ACEOF
24688 cat confdefs.h
>>conftest.
$ac_ext
24689 cat >>conftest.
$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24692 #include <gtk/gtk.h>
24694 #include <stdlib.h>
24699 int major, minor, micro;
24702 system ("touch conf.gtktest");
24704 /* HP/UX 9 (%@#!) writes to sscanf strings */
24705 tmp_version = g_strdup("$min_gtk_version");
24706 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24707 printf("%s, bad version string\n", "$min_gtk_version");
24711 if ((gtk_major_version != $gtk_config_major_version) ||
24712 (gtk_minor_version != $gtk_config_minor_version) ||
24713 (gtk_micro_version != $gtk_config_micro_version))
24715 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24716 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24717 gtk_major_version, gtk_minor_version, gtk_micro_version);
24718 printf ("*** was found! If gtk-config was correct, then it is best\n");
24719 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24720 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24721 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24722 printf("*** required on your system.\n");
24723 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24724 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24725 printf("*** before re-running configure\n");
24727 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24728 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24729 (gtk_minor_version != GTK_MINOR_VERSION) ||
24730 (gtk_micro_version != GTK_MICRO_VERSION))
24732 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24733 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24734 printf("*** library (version %d.%d.%d)\n",
24735 gtk_major_version, gtk_minor_version, gtk_micro_version);
24737 #endif /* defined (GTK_MAJOR_VERSION) ... */
24740 if ((gtk_major_version > major) ||
24741 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24742 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24748 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24749 gtk_major_version, gtk_minor_version, gtk_micro_version);
24750 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24751 major, minor, micro);
24752 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24754 printf("*** If you have already installed a sufficiently new version, this error\n");
24755 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24756 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24757 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24758 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24759 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24760 printf("*** so that the correct libraries are found at run-time))\n");
24767 rm -f conftest
$ac_exeext
24768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24769 (eval $ac_link) 2>&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24774 (eval $ac_try) 2>&5
24776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24777 (exit $ac_status); }; }; then
24780 echo "$as_me: program exited with status $ac_status" >&5
24781 echo "$as_me: failed program was:" >&5
24782 sed 's/^/| /' conftest.
$ac_ext >&5
24784 ( exit $ac_status )
24787 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24789 CFLAGS
="$ac_save_CFLAGS"
24790 LIBS
="$ac_save_LIBS"
24793 if test "x$no_gtk" = x
; then
24794 echo "$as_me:$LINENO: result: yes" >&5
24795 echo "${ECHO_T}yes" >&6
24796 wx_cv_lib_gtk
=1.2.7
24798 echo "$as_me:$LINENO: result: no" >&5
24799 echo "${ECHO_T}no" >&6
24800 if test "$GTK_CONFIG" = "no" ; then
24801 echo "*** The gtk-config script installed by GTK could not be found"
24802 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24803 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24804 echo "*** full path to gtk-config."
24806 if test -f conf.gtktest
; then
24809 echo "*** Could not run GTK test program, checking why..."
24810 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24811 LIBS
="$LIBS $GTK_LIBS"
24812 cat >conftest.
$ac_ext <<_ACEOF
24815 cat confdefs.h
>>conftest.
$ac_ext
24816 cat >>conftest.
$ac_ext <<_ACEOF
24817 /* end confdefs.h. */
24819 #include <gtk/gtk.h>
24825 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24830 rm -f conftest.
$ac_objext conftest
$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>conftest.er1
24834 grep -v '^ *+' conftest.er1
>conftest.err
24836 cat conftest.err
>&5
24837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838 (exit $ac_status); } &&
24839 { ac_try
='test -z "$ac_c_werror_flag"
24840 || test ! -s conftest.err'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; } &&
24846 { ac_try
='test -s conftest$ac_exeext'
24847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24848 (eval $ac_try) 2>&5
24850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 (exit $ac_status); }; }; then
24852 echo "*** The test program compiled, but did not run. This usually means"
24853 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24854 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24855 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24856 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24857 echo "*** is required on your system"
24859 echo "*** If you have an old version installed, it is best to remove it, although"
24860 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24862 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24863 echo "*** came with the system with the command"
24865 echo "*** rpm --erase --nodeps gtk gtk-devel"
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.
$ac_ext >&5
24870 echo "*** The test program failed to compile or link. See the file config.log for the"
24871 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24872 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24873 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24875 rm -f conftest.err conftest.
$ac_objext \
24876 conftest
$ac_exeext conftest.
$ac_ext
24877 CFLAGS
="$ac_save_CFLAGS"
24878 LIBS
="$ac_save_LIBS"
24890 if test -z "$wx_cv_lib_gtk"; then
24892 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24893 if test "${with_gtk_prefix+set}" = set; then
24894 withval
="$with_gtk_prefix"
24895 gtk_config_prefix
="$withval"
24897 gtk_config_prefix
=""
24900 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24901 if test "${with_gtk_exec_prefix+set}" = set; then
24902 withval
="$with_gtk_exec_prefix"
24903 gtk_config_exec_prefix
="$withval"
24905 gtk_config_exec_prefix
=""
24907 # Check whether --enable-gtktest or --disable-gtktest was given.
24908 if test "${enable_gtktest+set}" = set; then
24909 enableval
="$enable_gtktest"
24915 for module
in .
$GTK_MODULES
24919 gtk_config_args
="$gtk_config_args gthread"
24924 if test x
$gtk_config_exec_prefix != x
; then
24925 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24926 if test x
${GTK_CONFIG+set} != xset
; then
24927 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24930 if test x
$gtk_config_prefix != x
; then
24931 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24932 if test x
${GTK_CONFIG+set} != xset
; then
24933 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24937 # Extract the first word of "gtk-config", so it can be a program name with args.
24938 set dummy gtk
-config; ac_word
=$2
24939 echo "$as_me:$LINENO: checking for $ac_word" >&5
24940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24941 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24942 echo $ECHO_N "(cached) $ECHO_C" >&6
24944 case $GTK_CONFIG in
24946 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24950 for as_dir
in $PATH
24953 test -z "$as_dir" && as_dir
=.
24954 for ac_exec_ext
in '' $ac_executable_extensions; do
24955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24956 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24963 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24967 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24969 if test -n "$GTK_CONFIG"; then
24970 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24971 echo "${ECHO_T}$GTK_CONFIG" >&6
24973 echo "$as_me:$LINENO: result: no" >&5
24974 echo "${ECHO_T}no" >&6
24977 min_gtk_version
=1.2.3
24978 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24979 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24981 if test "$GTK_CONFIG" = "no" ; then
24984 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24985 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24986 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24988 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24990 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24992 if test "x$enable_gtktest" = "xyes" ; then
24993 ac_save_CFLAGS
="$CFLAGS"
24994 ac_save_LIBS
="$LIBS"
24995 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24996 LIBS
="$GTK_LIBS $LIBS"
24998 if test "$cross_compiling" = yes; then
24999 echo $ac_n "cross compiling; assumed OK... $ac_c"
25001 cat >conftest.
$ac_ext <<_ACEOF
25004 cat confdefs.h
>>conftest.
$ac_ext
25005 cat >>conftest.
$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25008 #include <gtk/gtk.h>
25010 #include <stdlib.h>
25015 int major, minor, micro;
25018 system ("touch conf.gtktest");
25020 /* HP/UX 9 (%@#!) writes to sscanf strings */
25021 tmp_version = g_strdup("$min_gtk_version");
25022 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25023 printf("%s, bad version string\n", "$min_gtk_version");
25027 if ((gtk_major_version != $gtk_config_major_version) ||
25028 (gtk_minor_version != $gtk_config_minor_version) ||
25029 (gtk_micro_version != $gtk_config_micro_version))
25031 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25032 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25033 gtk_major_version, gtk_minor_version, gtk_micro_version);
25034 printf ("*** was found! If gtk-config was correct, then it is best\n");
25035 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25036 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25037 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25038 printf("*** required on your system.\n");
25039 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25040 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25041 printf("*** before re-running configure\n");
25043 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25044 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25045 (gtk_minor_version != GTK_MINOR_VERSION) ||
25046 (gtk_micro_version != GTK_MICRO_VERSION))
25048 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25049 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25050 printf("*** library (version %d.%d.%d)\n",
25051 gtk_major_version, gtk_minor_version, gtk_micro_version);
25053 #endif /* defined (GTK_MAJOR_VERSION) ... */
25056 if ((gtk_major_version > major) ||
25057 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25058 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25064 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25065 gtk_major_version, gtk_minor_version, gtk_micro_version);
25066 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25067 major, minor, micro);
25068 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25070 printf("*** If you have already installed a sufficiently new version, this error\n");
25071 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25072 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25073 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25074 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25075 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25076 printf("*** so that the correct libraries are found at run-time))\n");
25083 rm -f conftest
$ac_exeext
25084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25085 (eval $ac_link) 2>&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; }; then
25096 echo "$as_me: program exited with status $ac_status" >&5
25097 echo "$as_me: failed program was:" >&5
25098 sed 's/^/| /' conftest.
$ac_ext >&5
25100 ( exit $ac_status )
25103 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25105 CFLAGS
="$ac_save_CFLAGS"
25106 LIBS
="$ac_save_LIBS"
25109 if test "x$no_gtk" = x
; then
25110 echo "$as_me:$LINENO: result: yes" >&5
25111 echo "${ECHO_T}yes" >&6
25112 wx_cv_lib_gtk
=1.2.3
25114 echo "$as_me:$LINENO: result: no" >&5
25115 echo "${ECHO_T}no" >&6
25116 if test "$GTK_CONFIG" = "no" ; then
25117 echo "*** The gtk-config script installed by GTK could not be found"
25118 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25119 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25120 echo "*** full path to gtk-config."
25122 if test -f conf.gtktest
; then
25125 echo "*** Could not run GTK test program, checking why..."
25126 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25127 LIBS
="$LIBS $GTK_LIBS"
25128 cat >conftest.
$ac_ext <<_ACEOF
25131 cat confdefs.h
>>conftest.
$ac_ext
25132 cat >>conftest.
$ac_ext <<_ACEOF
25133 /* end confdefs.h. */
25135 #include <gtk/gtk.h>
25141 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25146 rm -f conftest.
$ac_objext conftest
$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148 (eval $ac_link) 2>conftest.er1
25150 grep -v '^ *+' conftest.er1
>conftest.err
25152 cat conftest.err
>&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try
='test -z "$ac_c_werror_flag"
25156 || test ! -s conftest.err'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; } &&
25162 { ac_try
='test -s conftest$ac_exeext'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; }; then
25168 echo "*** The test program compiled, but did not run. This usually means"
25169 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25170 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25171 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25172 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25173 echo "*** is required on your system"
25175 echo "*** If you have an old version installed, it is best to remove it, although"
25176 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25178 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25179 echo "*** came with the system with the command"
25181 echo "*** rpm --erase --nodeps gtk gtk-devel"
25183 echo "$as_me: failed program was:" >&5
25184 sed 's/^/| /' conftest.
$ac_ext >&5
25186 echo "*** The test program failed to compile or link. See the file config.log for the"
25187 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25188 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25189 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25191 rm -f conftest.err conftest.
$ac_objext \
25192 conftest
$ac_exeext conftest.
$ac_ext
25193 CFLAGS
="$ac_save_CFLAGS"
25194 LIBS
="$ac_save_LIBS"
25208 if test -z "$wx_cv_lib_gtk"; then
25211 wx_cv_cflags_gtk
=$GTK_CFLAGS
25212 wx_cv_libs_gtk
=$GTK_LIBS
25219 if test "$gtk_version_cached" = 1; then
25220 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25221 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25224 case "$wx_cv_lib_gtk" in
25233 *) { { echo "$as_me:$LINENO: error:
25234 Please check that gtk-config is in path, the directory
25235 where GTK+ libraries are installed (returned by
25236 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25237 equivalent variable and GTK+ is version 1.2.3 or above.
25239 echo "$as_me: error:
25240 Please check that gtk-config is in path, the directory
25241 where GTK+ libraries are installed (returned by
25242 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25243 equivalent variable and GTK+ is version 1.2.3 or above.
25245 { (exit 1); exit 1; }; }
25249 if test "$WXGTK20" = 1; then
25250 save_CFLAGS
="$CFLAGS"
25252 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25253 LIBS
="$LIBS $wx_cv_lib_gtk"
25256 for ac_func
in pango_font_family_is_monospace
25258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25259 echo "$as_me:$LINENO: checking for $ac_func" >&5
25260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25261 if eval "test \"\${$as_ac_var+set}\" = set"; then
25262 echo $ECHO_N "(cached) $ECHO_C" >&6
25264 cat >conftest.
$ac_ext <<_ACEOF
25267 cat confdefs.h
>>conftest.
$ac_ext
25268 cat >>conftest.
$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25272 #define $ac_func innocuous_$ac_func
25274 /* System header to define __stub macros and hopefully few prototypes,
25275 which can conflict with char $ac_func (); below.
25276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25277 <limits.h> exists even on freestanding compilers. */
25280 # include <limits.h>
25282 # include <assert.h>
25287 /* Override any gcc2 internal prototype to avoid an error. */
25292 /* We use char because int might match the return type of a gcc2
25293 builtin and then its argument prototype would still apply. */
25295 /* The GNU C library defines this for functions which it implements
25296 to always fail with ENOSYS. Some functions are actually named
25297 something starting with __ and the normal name is an alias. */
25298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25301 char (*f) () = $ac_func;
25310 return f != $ac_func;
25315 rm -f conftest.
$ac_objext conftest
$ac_exeext
25316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25317 (eval $ac_link) 2>conftest.er1
25319 grep -v '^ *+' conftest.er1
>conftest.err
25321 cat conftest.err
>&5
25322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25323 (exit $ac_status); } &&
25324 { ac_try
='test -z "$ac_c_werror_flag"
25325 || test ! -s conftest.err'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; } &&
25331 { ac_try
='test -s conftest$ac_exeext'
25332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333 (eval $ac_try) 2>&5
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); }; }; then
25337 eval "$as_ac_var=yes"
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.
$ac_ext >&5
25342 eval "$as_ac_var=no"
25344 rm -f conftest.err conftest.
$ac_objext \
25345 conftest
$ac_exeext conftest.
$ac_ext
25347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25349 if test `eval echo '${'$as_ac_var'}'` = yes; then
25350 cat >>confdefs.h
<<_ACEOF
25351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25358 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25359 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25360 cat >conftest.
$ac_ext <<_ACEOF
25363 cat confdefs.h
>>conftest.
$ac_ext
25364 cat >>conftest.
$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25367 #include <gtk/gtk.h>
25373 #if !GTK_CHECK_VERSION(2,4,0)
25374 #error "Not GTK+ 2.4"
25381 rm -f conftest.
$ac_objext
25382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25383 (eval $ac_compile) 2>conftest.er1
25385 grep -v '^ *+' conftest.er1
>conftest.err
25387 cat conftest.err
>&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } &&
25390 { ac_try
='test -z "$ac_c_werror_flag"
25391 || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try
='test -s conftest.$ac_objext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25404 cat >>confdefs.h
<<\_ACEOF
25405 #define __WXGTK24__ 1
25408 echo "$as_me:$LINENO: result: yes" >&5
25409 echo "${ECHO_T}yes" >&6
25412 echo "$as_me: failed program was:" >&5
25413 sed 's/^/| /' conftest.
$ac_ext >&5
25416 echo "$as_me:$LINENO: result: no" >&5
25417 echo "${ECHO_T}no" >&6
25420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25422 CFLAGS
="$save_CFLAGS"
25425 if test "$wxUSE_UNICODE" = "yes"; then
25426 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25427 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25432 if test "$USE_DARWIN" != 1; then
25434 for ac_func
in poll
25436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25437 echo "$as_me:$LINENO: checking for $ac_func" >&5
25438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25439 if eval "test \"\${$as_ac_var+set}\" = set"; then
25440 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 cat >conftest.
$ac_ext <<_ACEOF
25445 cat confdefs.h
>>conftest.
$ac_ext
25446 cat >>conftest.
$ac_ext <<_ACEOF
25447 /* end confdefs.h. */
25448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25450 #define $ac_func innocuous_$ac_func
25452 /* System header to define __stub macros and hopefully few prototypes,
25453 which can conflict with char $ac_func (); below.
25454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25455 <limits.h> exists even on freestanding compilers. */
25458 # include <limits.h>
25460 # include <assert.h>
25465 /* Override any gcc2 internal prototype to avoid an error. */
25470 /* We use char because int might match the return type of a gcc2
25471 builtin and then its argument prototype would still apply. */
25473 /* The GNU C library defines this for functions which it implements
25474 to always fail with ENOSYS. Some functions are actually named
25475 something starting with __ and the normal name is an alias. */
25476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25479 char (*f) () = $ac_func;
25488 return f != $ac_func;
25493 rm -f conftest.
$ac_objext conftest
$ac_exeext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25495 (eval $ac_link) 2>conftest.er1
25497 grep -v '^ *+' conftest.er1
>conftest.err
25499 cat conftest.err
>&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try
='test -z "$ac_c_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try
='test -s conftest$ac_exeext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 eval "$as_ac_var=yes"
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.
$ac_ext >&5
25520 eval "$as_ac_var=no"
25522 rm -f conftest.err conftest.
$ac_objext \
25523 conftest
$ac_exeext conftest.
$ac_ext
25525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25527 if test `eval echo '${'$as_ac_var'}'` = yes; then
25528 cat >>confdefs.h
<<_ACEOF
25529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25537 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25538 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25540 AFMINSTALL
=afminstall
25544 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25545 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25546 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25547 echo $ECHO_N "(cached) $ECHO_C" >&6
25549 ac_check_lib_save_LIBS
=$LIBS
25551 cat >conftest.
$ac_ext <<_ACEOF
25554 cat confdefs.h
>>conftest.
$ac_ext
25555 cat >>conftest.
$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25558 /* Override any gcc2 internal prototype to avoid an error. */
25562 /* We use char because int might match the return type of a gcc2
25563 builtin and then its argument prototype would still apply. */
25564 char gdk_im_open ();
25573 rm -f conftest.
$ac_objext conftest
$ac_exeext
25574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25575 (eval $ac_link) 2>conftest.er1
25577 grep -v '^ *+' conftest.er1
>conftest.err
25579 cat conftest.err
>&5
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); } &&
25582 { ac_try
='test -z "$ac_c_werror_flag"
25583 || test ! -s conftest.err'
25584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25585 (eval $ac_try) 2>&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); }; } &&
25589 { ac_try
='test -s conftest$ac_exeext'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; }; then
25595 ac_cv_lib_gdk_gdk_im_open
=yes
25597 echo "$as_me: failed program was:" >&5
25598 sed 's/^/| /' conftest.
$ac_ext >&5
25600 ac_cv_lib_gdk_gdk_im_open
=no
25602 rm -f conftest.err conftest.
$ac_objext \
25603 conftest
$ac_exeext conftest.
$ac_ext
25604 LIBS
=$ac_check_lib_save_LIBS
25606 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25607 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25608 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25609 cat >>confdefs.h
<<\_ACEOF
25617 if test "$wxUSE_GPE" = "yes"; then
25618 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25619 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25622 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25624 for ac_extension
in a so sl dylib
; do
25625 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25626 ac_find_libraries
=$ac_dir
25632 if test "$ac_find_libraries" != "" ; then
25634 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25636 if test $result = 0; then
25639 ac_path_to_link
=" -L$ac_find_libraries"
25642 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25644 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25645 echo "${ECHO_T}found at $ac_find_libraries" >&6
25647 echo "$as_me:$LINENO: result: not found" >&5
25648 echo "${ECHO_T}not found" >&6
25654 if test "$wxUSE_MGL" = 1; then
25655 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25656 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25657 if test "x$MGL_ROOT" = x
; then
25658 echo "$as_me:$LINENO: result: not found" >&5
25659 echo "${ECHO_T}not found" >&6
25660 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25661 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25662 { (exit 1); exit 1; }; }
25664 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25665 echo "${ECHO_T}$MGL_ROOT" >&6
25668 echo "$as_me:$LINENO: checking for libmgl location" >&5
25669 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25672 if test "x$wxUSE_SHARED" = xyes
; then
25673 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25675 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25679 mgl_os_candidates
="dos32/dj2"
25682 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25683 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25684 { (exit 1); exit 1; }; }
25690 for mgl_os_i
in $mgl_os_candidates ; do
25691 if test "x$mgl_os" = x
; then
25692 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25693 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25694 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25699 if test "x$mgl_lib_type" = x
; then
25700 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25701 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25702 mgl_lib_type
=release
25709 if test "x$mgl_os" = x
; then
25710 echo "$as_me:$LINENO: result: not found" >&5
25711 echo "${ECHO_T}not found" >&6
25712 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25713 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25714 { (exit 1); exit 1; }; }
25716 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25717 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25719 wxUSE_UNIVERSAL
="yes"
25721 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25722 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25724 AFMINSTALL
=afminstall
25729 if test "$wxUSE_MICROWIN" = 1; then
25730 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25731 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25732 if test "x$MICROWINDOWS" = x
; then
25733 echo "$as_me:$LINENO: result: not found" >&5
25734 echo "${ECHO_T}not found" >&6
25735 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25736 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25737 { (exit 1); exit 1; }; }
25739 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25740 echo "${ECHO_T}$MICROWINDOWS" >&6
25743 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25744 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25745 echo "${ECHO_T}MicroWindows' libraries found." >&6
25747 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25748 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25749 { (exit 1); exit 1; }; }
25752 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25753 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25755 wxUSE_UNIVERSAL
="yes"
25757 AFMINSTALL
=afminstall
25759 GUIDIST
=MICROWIN_DIST
25761 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25764 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25765 echo "$as_me:$LINENO: checking for X" >&5
25766 echo $ECHO_N "checking for X... $ECHO_C" >&6
25769 # Check whether --with-x or --without-x was given.
25770 if test "${with_x+set}" = set; then
25774 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25775 if test "x$with_x" = xno
; then
25776 # The user explicitly disabled X.
25779 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25780 # Both variables are already set.
25783 if test "${ac_cv_have_x+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 # One or both of the vars are not set, and there is no cached value.
25787 ac_x_includes
=no ac_x_libraries
=no
25788 rm -fr conftest.dir
25789 if mkdir conftest.dir
; then
25791 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25792 cat >Imakefile
<<'_ACEOF'
25794 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25796 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25798 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25799 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25800 for ac_extension
in a so sl
; do
25801 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25802 test -f $ac_im_libdir/libX11.
$ac_extension; then
25803 ac_im_usrlibdir
=$ac_im_libdir; break
25806 # Screen out bogus values from the imake configuration. They are
25807 # bogus both because they are the default anyway, and because
25808 # using them would break gcc on systems where it needs fixed includes.
25809 case $ac_im_incroot in
25811 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25813 case $ac_im_usrlibdir in
25814 /usr
/lib
| /lib
) ;;
25815 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25819 rm -fr conftest.dir
25822 # Standard set of common directories for X headers.
25823 # Check X11 before X11Rn because it is often a symlink to the current release.
25835 /usr/local/X11/include
25836 /usr/local/X11R6/include
25837 /usr/local/X11R5/include
25838 /usr/local/X11R4/include
25840 /usr/local/include/X11
25841 /usr/local/include/X11R6
25842 /usr/local/include/X11R5
25843 /usr/local/include/X11R4
25847 /usr/XFree86/include/X11
25851 /usr/unsupported/include
25852 /usr/athena/include
25853 /usr/local/x11r5/include
25854 /usr/lpp/Xamples/include
25856 /usr/openwin/include
25857 /usr/openwin/share/include'
25859 if test "$ac_x_includes" = no
; then
25860 # Guess where to find include files, by looking for Intrinsic.h.
25861 # First, try using that file with no special directory specified.
25862 cat >conftest.
$ac_ext <<_ACEOF
25865 cat confdefs.h
>>conftest.
$ac_ext
25866 cat >>conftest.
$ac_ext <<_ACEOF
25867 /* end confdefs.h. */
25868 #include <X11/Intrinsic.h>
25870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25871 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25873 grep -v '^ *+' conftest.er1
>conftest.err
25875 cat conftest.err
>&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); } >/dev
/null
; then
25878 if test -s conftest.err
; then
25879 ac_cpp_err
=$ac_c_preproc_warn_flag
25880 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25887 if test -z "$ac_cpp_err"; then
25888 # We can compile using X headers with no special include directory.
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.
$ac_ext >&5
25894 for ac_dir
in $ac_x_header_dirs; do
25895 if test -r "$ac_dir/X11/Intrinsic.h"; then
25896 ac_x_includes
=$ac_dir
25901 rm -f conftest.err conftest.
$ac_ext
25902 fi # $ac_x_includes = no
25904 if test "$ac_x_libraries" = no
; then
25905 # Check for the libraries.
25906 # See if we find them without any special options.
25907 # Don't add to $LIBS permanently.
25910 cat >conftest.
$ac_ext <<_ACEOF
25913 cat confdefs.h
>>conftest.
$ac_ext
25914 cat >>conftest.
$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 #include <X11/Intrinsic.h>
25925 rm -f conftest.
$ac_objext conftest
$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25929 grep -v '^ *+' conftest.er1
>conftest.err
25931 cat conftest.err
>&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try
='test -z "$ac_c_werror_flag"
25935 || test ! -s conftest.err'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; } &&
25941 { ac_try
='test -s conftest$ac_exeext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25948 # We can link X programs with no special library path.
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.
$ac_ext >&5
25955 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25957 # Don't even attempt the hair of trying to link an X program!
25958 for ac_extension
in a so sl
; do
25959 if test -r $ac_dir/libXt.
$ac_extension; then
25960 ac_x_libraries
=$ac_dir
25966 rm -f conftest.err conftest.
$ac_objext \
25967 conftest
$ac_exeext conftest.
$ac_ext
25968 fi # $ac_x_libraries = no
25970 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25971 # Didn't find X anywhere. Cache the known absence of X.
25972 ac_cv_have_x
="have_x=no"
25974 # Record where we found X for the cache.
25975 ac_cv_have_x
="have_x=yes \
25976 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25981 eval "$ac_cv_have_x"
25984 if test "$have_x" != yes; then
25985 echo "$as_me:$LINENO: result: $have_x" >&5
25986 echo "${ECHO_T}$have_x" >&6
25989 # If each of the values was on the command line, it overrides each guess.
25990 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25991 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25992 # Update the cache value to reflect the command line values.
25993 ac_cv_have_x
="have_x=yes \
25994 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25995 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
25996 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25999 if test "$no_x" = yes; then
26000 # Not all programs may use this symbol, but it does not hurt to define it.
26002 cat >>confdefs.h
<<\_ACEOF
26003 #define X_DISPLAY_MISSING 1
26006 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26008 if test -n "$x_includes"; then
26009 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26012 # It would also be nice to do this for all -L options, not just this one.
26013 if test -n "$x_libraries"; then
26014 X_LIBS
="$X_LIBS -L$x_libraries"
26015 # For Solaris; some versions of Sun CC require a space after -R and
26016 # others require no space. Words are not sufficient . . . .
26017 case `(uname -sr) 2>/dev/null` in
26019 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26020 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26021 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26022 cat >conftest.
$ac_ext <<_ACEOF
26025 cat confdefs.h
>>conftest.
$ac_ext
26026 cat >>conftest.
$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26037 rm -f conftest.
$ac_objext conftest
$ac_exeext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26039 (eval $ac_link) 2>conftest.er1
26041 grep -v '^ *+' conftest.er1
>conftest.err
26043 cat conftest.err
>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } &&
26046 { ac_try
='test -z "$ac_c_werror_flag"
26047 || test ! -s conftest.err'
26048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26049 (eval $ac_try) 2>&5
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); }; } &&
26053 { ac_try
='test -s conftest$ac_exeext'
26054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055 (eval $ac_try) 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; }; then
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.
$ac_ext >&5
26066 rm -f conftest.err conftest.
$ac_objext \
26067 conftest
$ac_exeext conftest.
$ac_ext
26068 if test $ac_R_nospace = yes; then
26069 echo "$as_me:$LINENO: result: no" >&5
26070 echo "${ECHO_T}no" >&6
26071 X_LIBS
="$X_LIBS -R$x_libraries"
26073 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26074 cat >conftest.
$ac_ext <<_ACEOF
26077 cat confdefs.h
>>conftest.
$ac_ext
26078 cat >>conftest.
$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26089 rm -f conftest.
$ac_objext conftest
$ac_exeext
26090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26091 (eval $ac_link) 2>conftest.er1
26093 grep -v '^ *+' conftest.er1
>conftest.err
26095 cat conftest.err
>&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try
='test -z "$ac_c_werror_flag"
26099 || test ! -s conftest.err'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; } &&
26105 { ac_try
='test -s conftest$ac_exeext'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; }; then
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.
$ac_ext >&5
26118 rm -f conftest.err conftest.
$ac_objext \
26119 conftest
$ac_exeext conftest.
$ac_ext
26120 if test $ac_R_space = yes; then
26121 echo "$as_me:$LINENO: result: yes" >&5
26122 echo "${ECHO_T}yes" >&6
26123 X_LIBS
="$X_LIBS -R $x_libraries"
26125 echo "$as_me:$LINENO: result: neither works" >&5
26126 echo "${ECHO_T}neither works" >&6
26129 LIBS
=$ac_xsave_LIBS
26133 # Check for system-dependent libraries X programs must link with.
26134 # Do this before checking for the system-independent R6 libraries
26135 # (-lICE), since we may need -lsocket or whatever for X linking.
26137 if test "$ISC" = yes; then
26138 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26140 # Martyn Johnson says this is needed for Ultrix, if the X
26141 # libraries were built with DECnet support. And Karl Berry says
26142 # the Alpha needs dnet_stub (dnet does not exist).
26143 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26144 cat >conftest.
$ac_ext <<_ACEOF
26147 cat confdefs.h
>>conftest.
$ac_ext
26148 cat >>conftest.
$ac_ext <<_ACEOF
26149 /* end confdefs.h. */
26151 /* Override any gcc2 internal prototype to avoid an error. */
26155 /* We use char because int might match the return type of a gcc2
26156 builtin and then its argument prototype would still apply. */
26157 char XOpenDisplay ();
26166 rm -f conftest.
$ac_objext conftest
$ac_exeext
26167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26168 (eval $ac_link) 2>conftest.er1
26170 grep -v '^ *+' conftest.er1
>conftest.err
26172 cat conftest.err
>&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } &&
26175 { ac_try
='test -z "$ac_c_werror_flag"
26176 || test ! -s conftest.err'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; } &&
26182 { ac_try
='test -s conftest$ac_exeext'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; }; then
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.
$ac_ext >&5
26193 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26194 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26195 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26196 echo $ECHO_N "(cached) $ECHO_C" >&6
26198 ac_check_lib_save_LIBS
=$LIBS
26199 LIBS
="-ldnet $LIBS"
26200 cat >conftest.
$ac_ext <<_ACEOF
26203 cat confdefs.h
>>conftest.
$ac_ext
26204 cat >>conftest.
$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26207 /* Override any gcc2 internal prototype to avoid an error. */
26211 /* We use char because int might match the return type of a gcc2
26212 builtin and then its argument prototype would still apply. */
26222 rm -f conftest.
$ac_objext conftest
$ac_exeext
26223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26224 (eval $ac_link) 2>conftest.er1
26226 grep -v '^ *+' conftest.er1
>conftest.err
26228 cat conftest.err
>&5
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); } &&
26231 { ac_try
='test -z "$ac_c_werror_flag"
26232 || test ! -s conftest.err'
26233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234 (eval $ac_try) 2>&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); }; } &&
26238 { ac_try
='test -s conftest$ac_exeext'
26239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240 (eval $ac_try) 2>&5
26242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243 (exit $ac_status); }; }; then
26244 ac_cv_lib_dnet_dnet_ntoa
=yes
26246 echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.
$ac_ext >&5
26249 ac_cv_lib_dnet_dnet_ntoa
=no
26251 rm -f conftest.err conftest.
$ac_objext \
26252 conftest
$ac_exeext conftest.
$ac_ext
26253 LIBS
=$ac_check_lib_save_LIBS
26255 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26256 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26257 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26258 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26261 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26262 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26263 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26264 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26265 echo $ECHO_N "(cached) $ECHO_C" >&6
26267 ac_check_lib_save_LIBS
=$LIBS
26268 LIBS
="-ldnet_stub $LIBS"
26269 cat >conftest.
$ac_ext <<_ACEOF
26272 cat confdefs.h
>>conftest.
$ac_ext
26273 cat >>conftest.
$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26276 /* Override any gcc2 internal prototype to avoid an error. */
26280 /* We use char because int might match the return type of a gcc2
26281 builtin and then its argument prototype would still apply. */
26291 rm -f conftest.
$ac_objext conftest
$ac_exeext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26293 (eval $ac_link) 2>conftest.er1
26295 grep -v '^ *+' conftest.er1
>conftest.err
26297 cat conftest.err
>&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try
='test -z "$ac_c_werror_flag"
26301 || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try
='test -s conftest$ac_exeext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.
$ac_ext >&5
26318 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26320 rm -f conftest.err conftest.
$ac_objext \
26321 conftest
$ac_exeext conftest.
$ac_ext
26322 LIBS
=$ac_check_lib_save_LIBS
26324 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26325 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26326 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26332 rm -f conftest.err conftest.
$ac_objext \
26333 conftest
$ac_exeext conftest.
$ac_ext
26334 LIBS
="$ac_xsave_LIBS"
26336 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26337 # to get the SysV transport functions.
26338 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26340 # The nsl library prevents programs from opening the X display
26341 # on Irix 5.2, according to T.E. Dickey.
26342 # The functions gethostbyname, getservbyname, and inet_addr are
26343 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26344 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26345 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26346 if test "${ac_cv_func_gethostbyname+set}" = set; then
26347 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 cat >conftest.
$ac_ext <<_ACEOF
26352 cat confdefs.h
>>conftest.
$ac_ext
26353 cat >>conftest.
$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26355 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26357 #define gethostbyname innocuous_gethostbyname
26359 /* System header to define __stub macros and hopefully few prototypes,
26360 which can conflict with char gethostbyname (); below.
26361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26362 <limits.h> exists even on freestanding compilers. */
26365 # include <limits.h>
26367 # include <assert.h>
26370 #undef gethostbyname
26372 /* Override any gcc2 internal prototype to avoid an error. */
26377 /* We use char because int might match the return type of a gcc2
26378 builtin and then its argument prototype would still apply. */
26379 char gethostbyname ();
26380 /* The GNU C library defines this for functions which it implements
26381 to always fail with ENOSYS. Some functions are actually named
26382 something starting with __ and the normal name is an alias. */
26383 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26386 char (*f) () = gethostbyname;
26395 return f != gethostbyname;
26400 rm -f conftest.
$ac_objext conftest
$ac_exeext
26401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26402 (eval $ac_link) 2>conftest.er1
26404 grep -v '^ *+' conftest.er1
>conftest.err
26406 cat conftest.err
>&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); } &&
26409 { ac_try
='test -z "$ac_c_werror_flag"
26410 || test ! -s conftest.err'
26411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26412 (eval $ac_try) 2>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); }; } &&
26416 { ac_try
='test -s conftest$ac_exeext'
26417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418 (eval $ac_try) 2>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; }; then
26422 ac_cv_func_gethostbyname
=yes
26424 echo "$as_me: failed program was:" >&5
26425 sed 's/^/| /' conftest.
$ac_ext >&5
26427 ac_cv_func_gethostbyname
=no
26429 rm -f conftest.err conftest.
$ac_objext \
26430 conftest
$ac_exeext conftest.
$ac_ext
26432 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26433 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26435 if test $ac_cv_func_gethostbyname = no
; then
26436 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26437 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26438 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26441 ac_check_lib_save_LIBS
=$LIBS
26443 cat >conftest.
$ac_ext <<_ACEOF
26446 cat confdefs.h
>>conftest.
$ac_ext
26447 cat >>conftest.
$ac_ext <<_ACEOF
26448 /* end confdefs.h. */
26450 /* Override any gcc2 internal prototype to avoid an error. */
26454 /* We use char because int might match the return type of a gcc2
26455 builtin and then its argument prototype would still apply. */
26456 char gethostbyname ();
26465 rm -f conftest.
$ac_objext conftest
$ac_exeext
26466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26467 (eval $ac_link) 2>conftest.er1
26469 grep -v '^ *+' conftest.er1
>conftest.err
26471 cat conftest.err
>&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } &&
26474 { ac_try
='test -z "$ac_c_werror_flag"
26475 || test ! -s conftest.err'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; } &&
26481 { ac_try
='test -s conftest$ac_exeext'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; }; then
26487 ac_cv_lib_nsl_gethostbyname
=yes
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.
$ac_ext >&5
26492 ac_cv_lib_nsl_gethostbyname
=no
26494 rm -f conftest.err conftest.
$ac_objext \
26495 conftest
$ac_exeext conftest.
$ac_ext
26496 LIBS
=$ac_check_lib_save_LIBS
26498 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26499 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26500 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26501 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26504 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26505 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26506 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26507 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 ac_check_lib_save_LIBS
=$LIBS
26512 cat >conftest.
$ac_ext <<_ACEOF
26515 cat confdefs.h
>>conftest.
$ac_ext
26516 cat >>conftest.
$ac_ext <<_ACEOF
26517 /* end confdefs.h. */
26519 /* Override any gcc2 internal prototype to avoid an error. */
26523 /* We use char because int might match the return type of a gcc2
26524 builtin and then its argument prototype would still apply. */
26525 char gethostbyname ();
26534 rm -f conftest.
$ac_objext conftest
$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536 (eval $ac_link) 2>conftest.er1
26538 grep -v '^ *+' conftest.er1
>conftest.err
26540 cat conftest.err
>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try
='test -z "$ac_c_werror_flag"
26544 || test ! -s conftest.err'
26545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26546 (eval $ac_try) 2>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); }; } &&
26550 { ac_try
='test -s conftest$ac_exeext'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; }; then
26556 ac_cv_lib_bsd_gethostbyname
=yes
26558 echo "$as_me: failed program was:" >&5
26559 sed 's/^/| /' conftest.
$ac_ext >&5
26561 ac_cv_lib_bsd_gethostbyname
=no
26563 rm -f conftest.err conftest.
$ac_objext \
26564 conftest
$ac_exeext conftest.
$ac_ext
26565 LIBS
=$ac_check_lib_save_LIBS
26567 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26568 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26569 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26570 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26576 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26577 # socket/setsockopt and other routines are undefined under SCO ODT
26578 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26579 # on later versions), says Simon Leinen: it contains gethostby*
26580 # variants that don't use the name server (or something). -lsocket
26581 # must be given before -lnsl if both are needed. We assume that
26582 # if connect needs -lnsl, so does gethostbyname.
26583 echo "$as_me:$LINENO: checking for connect" >&5
26584 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26585 if test "${ac_cv_func_connect+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26588 cat >conftest.
$ac_ext <<_ACEOF
26591 cat confdefs.h
>>conftest.
$ac_ext
26592 cat >>conftest.
$ac_ext <<_ACEOF
26593 /* end confdefs.h. */
26594 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26596 #define connect innocuous_connect
26598 /* System header to define __stub macros and hopefully few prototypes,
26599 which can conflict with char connect (); below.
26600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26601 <limits.h> exists even on freestanding compilers. */
26604 # include <limits.h>
26606 # include <assert.h>
26611 /* Override any gcc2 internal prototype to avoid an error. */
26616 /* We use char because int might match the return type of a gcc2
26617 builtin and then its argument prototype would still apply. */
26619 /* The GNU C library defines this for functions which it implements
26620 to always fail with ENOSYS. Some functions are actually named
26621 something starting with __ and the normal name is an alias. */
26622 #if defined (__stub_connect) || defined (__stub___connect)
26625 char (*f) () = connect;
26634 return f != connect;
26639 rm -f conftest.
$ac_objext conftest
$ac_exeext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26641 (eval $ac_link) 2>conftest.er1
26643 grep -v '^ *+' conftest.er1
>conftest.err
26645 cat conftest.err
>&5
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); } &&
26648 { ac_try
='test -z "$ac_c_werror_flag"
26649 || test ! -s conftest.err'
26650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26651 (eval $ac_try) 2>&5
26653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 (exit $ac_status); }; } &&
26655 { ac_try
='test -s conftest$ac_exeext'
26656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26657 (eval $ac_try) 2>&5
26659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26660 (exit $ac_status); }; }; then
26661 ac_cv_func_connect
=yes
26663 echo "$as_me: failed program was:" >&5
26664 sed 's/^/| /' conftest.
$ac_ext >&5
26666 ac_cv_func_connect
=no
26668 rm -f conftest.err conftest.
$ac_objext \
26669 conftest
$ac_exeext conftest.
$ac_ext
26671 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26672 echo "${ECHO_T}$ac_cv_func_connect" >&6
26674 if test $ac_cv_func_connect = no
; then
26675 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26676 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26677 if test "${ac_cv_lib_socket_connect+set}" = set; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 ac_check_lib_save_LIBS
=$LIBS
26681 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26682 cat >conftest.
$ac_ext <<_ACEOF
26685 cat confdefs.h
>>conftest.
$ac_ext
26686 cat >>conftest.
$ac_ext <<_ACEOF
26687 /* end confdefs.h. */
26689 /* Override any gcc2 internal prototype to avoid an error. */
26693 /* We use char because int might match the return type of a gcc2
26694 builtin and then its argument prototype would still apply. */
26704 rm -f conftest.
$ac_objext conftest
$ac_exeext
26705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26706 (eval $ac_link) 2>conftest.er1
26708 grep -v '^ *+' conftest.er1
>conftest.err
26710 cat conftest.err
>&5
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); } &&
26713 { ac_try
='test -z "$ac_c_werror_flag"
26714 || test ! -s conftest.err'
26715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26716 (eval $ac_try) 2>&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); }; } &&
26720 { ac_try
='test -s conftest$ac_exeext'
26721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26722 (eval $ac_try) 2>&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); }; }; then
26726 ac_cv_lib_socket_connect
=yes
26728 echo "$as_me: failed program was:" >&5
26729 sed 's/^/| /' conftest.
$ac_ext >&5
26731 ac_cv_lib_socket_connect
=no
26733 rm -f conftest.err conftest.
$ac_objext \
26734 conftest
$ac_exeext conftest.
$ac_ext
26735 LIBS
=$ac_check_lib_save_LIBS
26737 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26738 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26739 if test $ac_cv_lib_socket_connect = yes; then
26740 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26745 # Guillermo Gomez says -lposix is necessary on A/UX.
26746 echo "$as_me:$LINENO: checking for remove" >&5
26747 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26748 if test "${ac_cv_func_remove+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 cat >conftest.
$ac_ext <<_ACEOF
26754 cat confdefs.h
>>conftest.
$ac_ext
26755 cat >>conftest.
$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26759 #define remove innocuous_remove
26761 /* System header to define __stub macros and hopefully few prototypes,
26762 which can conflict with char remove (); below.
26763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26764 <limits.h> exists even on freestanding compilers. */
26767 # include <limits.h>
26769 # include <assert.h>
26774 /* Override any gcc2 internal prototype to avoid an error. */
26779 /* We use char because int might match the return type of a gcc2
26780 builtin and then its argument prototype would still apply. */
26782 /* The GNU C library defines this for functions which it implements
26783 to always fail with ENOSYS. Some functions are actually named
26784 something starting with __ and the normal name is an alias. */
26785 #if defined (__stub_remove) || defined (__stub___remove)
26788 char (*f) () = remove;
26797 return f != remove;
26802 rm -f conftest.
$ac_objext conftest
$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804 (eval $ac_link) 2>conftest.er1
26806 grep -v '^ *+' conftest.er1
>conftest.err
26808 cat conftest.err
>&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try
='test -z "$ac_c_werror_flag"
26812 || test ! -s conftest.err'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; } &&
26818 { ac_try
='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 ac_cv_func_remove
=yes
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.
$ac_ext >&5
26829 ac_cv_func_remove
=no
26831 rm -f conftest.err conftest.
$ac_objext \
26832 conftest
$ac_exeext conftest.
$ac_ext
26834 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26835 echo "${ECHO_T}$ac_cv_func_remove" >&6
26837 if test $ac_cv_func_remove = no
; then
26838 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26839 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26840 if test "${ac_cv_lib_posix_remove+set}" = set; then
26841 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 ac_check_lib_save_LIBS
=$LIBS
26844 LIBS
="-lposix $LIBS"
26845 cat >conftest.
$ac_ext <<_ACEOF
26848 cat confdefs.h
>>conftest.
$ac_ext
26849 cat >>conftest.
$ac_ext <<_ACEOF
26850 /* end confdefs.h. */
26852 /* Override any gcc2 internal prototype to avoid an error. */
26856 /* We use char because int might match the return type of a gcc2
26857 builtin and then its argument prototype would still apply. */
26867 rm -f conftest.
$ac_objext conftest
$ac_exeext
26868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26869 (eval $ac_link) 2>conftest.er1
26871 grep -v '^ *+' conftest.er1
>conftest.err
26873 cat conftest.err
>&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } &&
26876 { ac_try
='test -z "$ac_c_werror_flag"
26877 || test ! -s conftest.err'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; } &&
26883 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
26889 ac_cv_lib_posix_remove
=yes
26891 echo "$as_me: failed program was:" >&5
26892 sed 's/^/| /' conftest.
$ac_ext >&5
26894 ac_cv_lib_posix_remove
=no
26896 rm -f conftest.err conftest.
$ac_objext \
26897 conftest
$ac_exeext conftest.
$ac_ext
26898 LIBS
=$ac_check_lib_save_LIBS
26900 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26901 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26902 if test $ac_cv_lib_posix_remove = yes; then
26903 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26908 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26909 echo "$as_me:$LINENO: checking for shmat" >&5
26910 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26911 if test "${ac_cv_func_shmat+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26914 cat >conftest.
$ac_ext <<_ACEOF
26917 cat confdefs.h
>>conftest.
$ac_ext
26918 cat >>conftest.
$ac_ext <<_ACEOF
26919 /* end confdefs.h. */
26920 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26922 #define shmat innocuous_shmat
26924 /* System header to define __stub macros and hopefully few prototypes,
26925 which can conflict with char shmat (); below.
26926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26927 <limits.h> exists even on freestanding compilers. */
26930 # include <limits.h>
26932 # include <assert.h>
26937 /* Override any gcc2 internal prototype to avoid an error. */
26942 /* We use char because int might match the return type of a gcc2
26943 builtin and then its argument prototype would still apply. */
26945 /* The GNU C library defines this for functions which it implements
26946 to always fail with ENOSYS. Some functions are actually named
26947 something starting with __ and the normal name is an alias. */
26948 #if defined (__stub_shmat) || defined (__stub___shmat)
26951 char (*f) () = shmat;
26965 rm -f conftest.
$ac_objext conftest
$ac_exeext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26967 (eval $ac_link) 2>conftest.er1
26969 grep -v '^ *+' conftest.er1
>conftest.err
26971 cat conftest.err
>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try
='test -z "$ac_c_werror_flag"
26975 || test ! -s conftest.err'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; } &&
26981 { ac_try
='test -s conftest$ac_exeext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 ac_cv_func_shmat
=yes
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.
$ac_ext >&5
26992 ac_cv_func_shmat
=no
26994 rm -f conftest.err conftest.
$ac_objext \
26995 conftest
$ac_exeext conftest.
$ac_ext
26997 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26998 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27000 if test $ac_cv_func_shmat = no
; then
27001 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27002 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27003 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27004 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 ac_check_lib_save_LIBS
=$LIBS
27008 cat >conftest.
$ac_ext <<_ACEOF
27011 cat confdefs.h
>>conftest.
$ac_ext
27012 cat >>conftest.
$ac_ext <<_ACEOF
27013 /* end confdefs.h. */
27015 /* Override any gcc2 internal prototype to avoid an error. */
27019 /* We use char because int might match the return type of a gcc2
27020 builtin and then its argument prototype would still apply. */
27030 rm -f conftest.
$ac_objext conftest
$ac_exeext
27031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27032 (eval $ac_link) 2>conftest.er1
27034 grep -v '^ *+' conftest.er1
>conftest.err
27036 cat conftest.err
>&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); } &&
27039 { ac_try
='test -z "$ac_c_werror_flag"
27040 || test ! -s conftest.err'
27041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27042 (eval $ac_try) 2>&5
27044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27045 (exit $ac_status); }; } &&
27046 { ac_try
='test -s conftest$ac_exeext'
27047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27048 (eval $ac_try) 2>&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); }; }; then
27052 ac_cv_lib_ipc_shmat
=yes
27054 echo "$as_me: failed program was:" >&5
27055 sed 's/^/| /' conftest.
$ac_ext >&5
27057 ac_cv_lib_ipc_shmat
=no
27059 rm -f conftest.err conftest.
$ac_objext \
27060 conftest
$ac_exeext conftest.
$ac_ext
27061 LIBS
=$ac_check_lib_save_LIBS
27063 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27064 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27065 if test $ac_cv_lib_ipc_shmat = yes; then
27066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27072 # Check for libraries that X11R6 Xt/Xaw programs need.
27073 ac_save_LDFLAGS
=$LDFLAGS
27074 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27075 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27076 # check for ICE first), but we must link in the order -lSM -lICE or
27077 # we get undefined symbols. So assume we have SM if we have ICE.
27078 # These have to be linked with before -lX11, unlike the other
27079 # libraries we check for below, so use a different variable.
27080 # John Interrante, Karl Berry
27081 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27082 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27083 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 ac_check_lib_save_LIBS
=$LIBS
27087 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27088 cat >conftest.
$ac_ext <<_ACEOF
27091 cat confdefs.h
>>conftest.
$ac_ext
27092 cat >>conftest.
$ac_ext <<_ACEOF
27093 /* end confdefs.h. */
27095 /* Override any gcc2 internal prototype to avoid an error. */
27099 /* We use char because int might match the return type of a gcc2
27100 builtin and then its argument prototype would still apply. */
27101 char IceConnectionNumber ();
27105 IceConnectionNumber ();
27110 rm -f conftest.
$ac_objext conftest
$ac_exeext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27112 (eval $ac_link) 2>conftest.er1
27114 grep -v '^ *+' conftest.er1
>conftest.err
27116 cat conftest.err
>&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try
='test -z "$ac_c_werror_flag"
27120 || test ! -s conftest.err'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; } &&
27126 { ac_try
='test -s conftest$ac_exeext'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; }; then
27132 ac_cv_lib_ICE_IceConnectionNumber
=yes
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.
$ac_ext >&5
27137 ac_cv_lib_ICE_IceConnectionNumber
=no
27139 rm -f conftest.err conftest.
$ac_objext \
27140 conftest
$ac_exeext conftest.
$ac_ext
27141 LIBS
=$ac_check_lib_save_LIBS
27143 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27144 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27145 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27146 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27149 LDFLAGS
=$ac_save_LDFLAGS
27154 if test "$no_x" = "yes"; then
27155 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27156 echo "$as_me: error: X11 not found" >&2;}
27157 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27160 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27161 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27162 AFMINSTALL
=afminstall
27163 COMPILED_X_PROGRAM
=0
27167 if test "$wxUSE_X11" = 1; then
27168 if test "$wxUSE_NANOX" = "yes"; then
27169 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27170 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27171 if test "x$MICROWIN" = x
; then
27172 echo "$as_me:$LINENO: result: not found" >&5
27173 echo "${ECHO_T}not found" >&6
27174 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27175 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27176 { (exit 1); exit 1; }; }
27178 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27179 echo "${ECHO_T}$MICROWIN" >&6
27180 cat >>confdefs.h
<<\_ACEOF
27181 #define wxUSE_NANOX 1
27187 if test "$wxUSE_UNICODE" = "yes"; then
27191 if test -z "$PKG_CONFIG"; then
27192 # Extract the first word of "pkg-config", so it can be a program name with args.
27193 set dummy pkg
-config; ac_word
=$2
27194 echo "$as_me:$LINENO: checking for $ac_word" >&5
27195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27196 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27197 echo $ECHO_N "(cached) $ECHO_C" >&6
27199 case $PKG_CONFIG in
27201 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27205 for as_dir
in $PATH
27208 test -z "$as_dir" && as_dir
=.
27209 for ac_exec_ext
in '' $ac_executable_extensions; do
27210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27211 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27218 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27222 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27224 if test -n "$PKG_CONFIG"; then
27225 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27226 echo "${ECHO_T}$PKG_CONFIG" >&6
27228 echo "$as_me:$LINENO: result: no" >&5
27229 echo "${ECHO_T}no" >&6
27234 if test "$PKG_CONFIG" = "no" ; then
27235 echo "*** The pkg-config script could not be found. Make sure it is"
27236 echo "*** in your path, or set the PKG_CONFIG environment variable"
27237 echo "*** to the full path to pkg-config."
27238 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27240 PKG_CONFIG_MIN_VERSION
=0.9.0
27241 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27242 echo "$as_me:$LINENO: checking for pangox" >&5
27243 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27245 if $PKG_CONFIG --exists "pangox" ; then
27246 echo "$as_me:$LINENO: result: yes" >&5
27247 echo "${ECHO_T}yes" >&6
27250 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27251 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27252 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27253 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27254 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27256 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27257 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27258 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27259 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27260 echo "${ECHO_T}$PANGOX_LIBS" >&6
27264 ## If we have a custom action on failure, don't print errors, but
27265 ## do set a variable so people can do so.
27266 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27273 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27274 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27278 if test $succeeded = yes; then
27280 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27281 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27285 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27286 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27287 { (exit 1); exit 1; }; }
27295 if test -z "$PKG_CONFIG"; then
27296 # Extract the first word of "pkg-config", so it can be a program name with args.
27297 set dummy pkg
-config; ac_word
=$2
27298 echo "$as_me:$LINENO: checking for $ac_word" >&5
27299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27300 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 case $PKG_CONFIG in
27305 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27309 for as_dir
in $PATH
27312 test -z "$as_dir" && as_dir
=.
27313 for ac_exec_ext
in '' $ac_executable_extensions; do
27314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27315 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27322 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27326 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27328 if test -n "$PKG_CONFIG"; then
27329 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27330 echo "${ECHO_T}$PKG_CONFIG" >&6
27332 echo "$as_me:$LINENO: result: no" >&5
27333 echo "${ECHO_T}no" >&6
27338 if test "$PKG_CONFIG" = "no" ; then
27339 echo "*** The pkg-config script could not be found. Make sure it is"
27340 echo "*** in your path, or set the PKG_CONFIG environment variable"
27341 echo "*** to the full path to pkg-config."
27342 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27344 PKG_CONFIG_MIN_VERSION
=0.9.0
27345 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27346 echo "$as_me:$LINENO: checking for pangoft2" >&5
27347 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27349 if $PKG_CONFIG --exists "pangoft2" ; then
27350 echo "$as_me:$LINENO: result: yes" >&5
27351 echo "${ECHO_T}yes" >&6
27354 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27355 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27356 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27357 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27358 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27360 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27361 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27362 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27363 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27364 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27368 ## If we have a custom action on failure, don't print errors, but
27369 ## do set a variable so people can do so.
27370 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27377 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27378 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27382 if test $succeeded = yes; then
27384 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27385 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27389 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27390 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27391 wxUSE_PRINTING_ARCHITECTURE
="no"
27399 if test -z "$PKG_CONFIG"; then
27400 # Extract the first word of "pkg-config", so it can be a program name with args.
27401 set dummy pkg
-config; ac_word
=$2
27402 echo "$as_me:$LINENO: checking for $ac_word" >&5
27403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27404 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27405 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 case $PKG_CONFIG in
27409 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27413 for as_dir
in $PATH
27416 test -z "$as_dir" && as_dir
=.
27417 for ac_exec_ext
in '' $ac_executable_extensions; do
27418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27419 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27426 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27430 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27432 if test -n "$PKG_CONFIG"; then
27433 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27434 echo "${ECHO_T}$PKG_CONFIG" >&6
27436 echo "$as_me:$LINENO: result: no" >&5
27437 echo "${ECHO_T}no" >&6
27442 if test "$PKG_CONFIG" = "no" ; then
27443 echo "*** The pkg-config script could not be found. Make sure it is"
27444 echo "*** in your path, or set the PKG_CONFIG environment variable"
27445 echo "*** to the full path to pkg-config."
27446 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27448 PKG_CONFIG_MIN_VERSION
=0.9.0
27449 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27450 echo "$as_me:$LINENO: checking for pangoxft" >&5
27451 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27453 if $PKG_CONFIG --exists "pangoxft" ; then
27454 echo "$as_me:$LINENO: result: yes" >&5
27455 echo "${ECHO_T}yes" >&6
27458 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27459 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27460 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27461 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27462 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27464 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27465 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27466 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27467 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27468 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27472 ## If we have a custom action on failure, don't print errors, but
27473 ## do set a variable so people can do so.
27474 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27481 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27482 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27486 if test $succeeded = yes; then
27488 cat >>confdefs.h
<<\_ACEOF
27489 #define HAVE_PANGO_XFT 1
27492 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27493 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27497 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27498 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27503 save_CFLAGS
="$CFLAGS"
27505 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27506 LIBS
="$LIBS $PANGOX_LIBS"
27508 for ac_func
in pango_font_family_is_monospace
27510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27511 echo "$as_me:$LINENO: checking for $ac_func" >&5
27512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27513 if eval "test \"\${$as_ac_var+set}\" = set"; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27516 cat >conftest.
$ac_ext <<_ACEOF
27519 cat confdefs.h
>>conftest.
$ac_ext
27520 cat >>conftest.
$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27524 #define $ac_func innocuous_$ac_func
27526 /* System header to define __stub macros and hopefully few prototypes,
27527 which can conflict with char $ac_func (); below.
27528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27529 <limits.h> exists even on freestanding compilers. */
27532 # include <limits.h>
27534 # include <assert.h>
27539 /* Override any gcc2 internal prototype to avoid an error. */
27544 /* We use char because int might match the return type of a gcc2
27545 builtin and then its argument prototype would still apply. */
27547 /* The GNU C library defines this for functions which it implements
27548 to always fail with ENOSYS. Some functions are actually named
27549 something starting with __ and the normal name is an alias. */
27550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27553 char (*f) () = $ac_func;
27562 return f != $ac_func;
27567 rm -f conftest.
$ac_objext conftest
$ac_exeext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27569 (eval $ac_link) 2>conftest.er1
27571 grep -v '^ *+' conftest.er1
>conftest.err
27573 cat conftest.err
>&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); } &&
27576 { ac_try
='test -z "$ac_c_werror_flag"
27577 || test ! -s conftest.err'
27578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27579 (eval $ac_try) 2>&5
27581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582 (exit $ac_status); }; } &&
27583 { ac_try
='test -s conftest$ac_exeext'
27584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27585 (eval $ac_try) 2>&5
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); }; }; then
27589 eval "$as_ac_var=yes"
27591 echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.
$ac_ext >&5
27594 eval "$as_ac_var=no"
27596 rm -f conftest.err conftest.
$ac_objext \
27597 conftest
$ac_exeext conftest.
$ac_ext
27599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27601 if test `eval echo '${'$as_ac_var'}'` = yes; then
27602 cat >>confdefs.h
<<_ACEOF
27603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27609 CFLAGS
="$save_CFLAGS"
27613 wxUSE_UNIVERSAL
="yes"
27615 if test "$wxUSE_NANOX" = "yes"; then
27616 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27617 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"
27618 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27620 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27627 if test "$wxUSE_MOTIF" = 1; then
27628 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27629 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27632 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27634 if test -f "$ac_dir/Xm/Xm.h"; then
27635 ac_find_includes
=$ac_dir
27640 if test "$ac_find_includes" != "" ; then
27641 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27642 echo "${ECHO_T}found in $ac_find_includes" >&6
27644 if test "x$ac_find_includes" = "x/usr/include"; then
27645 ac_path_to_include
=""
27647 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27649 if test $result = 0; then
27650 ac_path_to_include
=""
27652 ac_path_to_include
=" -I$ac_find_includes"
27656 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27658 cat >conftest.
$ac_ext <<_ACEOF
27661 cat confdefs.h
>>conftest.
$ac_ext
27662 cat >>conftest.
$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27672 version = xmUseVersion;
27678 rm -f conftest.
$ac_objext
27679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27680 (eval $ac_compile) 2>conftest.er1
27682 grep -v '^ *+' conftest.er1
>conftest.err
27684 cat conftest.err
>&5
27685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686 (exit $ac_status); } &&
27687 { ac_try
='test -z "$ac_c_werror_flag"
27688 || test ! -s conftest.err'
27689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27690 (eval $ac_try) 2>&5
27692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27693 (exit $ac_status); }; } &&
27694 { ac_try
='test -s conftest.$ac_objext'
27695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27696 (eval $ac_try) 2>&5
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); }; }; then
27701 echo "$as_me:$LINENO: result: found in default search path" >&5
27702 echo "${ECHO_T}found in default search path" >&6
27703 COMPILED_X_PROGRAM
=1
27706 echo "$as_me: failed program was:" >&5
27707 sed 's/^/| /' conftest.
$ac_ext >&5
27710 echo "$as_me:$LINENO: result: no" >&5
27711 echo "${ECHO_T}no" >&6
27712 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27713 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27714 { (exit 1); exit 1; }; }
27718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27721 if test "$COMPILED_X_PROGRAM" = 0; then
27722 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27723 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27726 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27728 for ac_extension
in a so sl dylib
; do
27729 if test -f "$ac_dir/libXm.$ac_extension"; then
27730 ac_find_libraries
=$ac_dir
27736 if test "$ac_find_libraries" != "" ; then
27737 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27738 echo "${ECHO_T}found at $ac_find_libraries" >&6
27741 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27743 if test $result = 0; then
27746 ac_path_to_link
=" -L$ac_find_libraries"
27749 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27751 save_CFLAGS
=$CFLAGS
27752 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27754 cat >conftest.
$ac_ext <<_ACEOF
27757 cat confdefs.h
>>conftest.
$ac_ext
27758 cat >>conftest.
$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27768 version = xmUseVersion;
27774 rm -f conftest.
$ac_objext
27775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27776 (eval $ac_compile) 2>conftest.er1
27778 grep -v '^ *+' conftest.er1
>conftest.err
27780 cat conftest.err
>&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); } &&
27783 { ac_try
='test -z "$ac_c_werror_flag"
27784 || test ! -s conftest.err'
27785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27786 (eval $ac_try) 2>&5
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); }; } &&
27790 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
27797 echo "$as_me:$LINENO: result: found in default search path" >&5
27798 echo "${ECHO_T}found in default search path" >&6
27799 COMPILED_X_PROGRAM
=1
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.
$ac_ext >&5
27806 echo "$as_me:$LINENO: result: no" >&5
27807 echo "${ECHO_T}no" >&6
27808 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27809 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27810 { (exit 1); exit 1; }; }
27814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27816 CFLAGS
=$save_CFLAGS
27820 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27821 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27825 for libp
in "" " -lXp"; do
27826 if test "$libs_found" = "0"; then
27827 for libsm_ice
in "" " -lSM -lICE"; do
27828 if test "$libs_found" = "0"; then
27830 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27831 save_CFLAGS
=$CFLAGS
27832 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27834 cat >conftest.
$ac_ext <<_ACEOF
27837 cat confdefs.h
>>conftest.
$ac_ext
27838 cat >>conftest.
$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27842 #include <Xm/List.h>
27848 XmString string = NULL;
27851 XmListAddItem(w, string, position);
27857 rm -f conftest.
$ac_objext conftest
$ac_exeext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27859 (eval $ac_link) 2>conftest.er1
27861 grep -v '^ *+' conftest.er1
>conftest.err
27863 cat conftest.err
>&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); } &&
27866 { ac_try
='test -z "$ac_c_werror_flag"
27867 || test ! -s conftest.err'
27868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869 (eval $ac_try) 2>&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); }; } &&
27873 { ac_try
='test -s conftest$ac_exeext'
27874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875 (eval $ac_try) 2>&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); }; }; then
27881 libsm_ice_link
="$libsm_ice"
27882 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27883 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27887 echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.
$ac_ext >&5
27893 rm -f conftest.err conftest.
$ac_objext \
27894 conftest
$ac_exeext conftest.
$ac_ext
27897 CFLAGS
=$save_CFLAGS
27903 if test "$libs_found" = "0"; then
27904 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27905 echo "${ECHO_T}can't find the right libraries" >&6
27906 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27907 echo "$as_me: error: can't link a simple motif program" >&2;}
27908 { (exit 1); exit 1; }; }
27911 save_CFLAGS
=$CFLAGS
27912 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27913 echo "$as_me:$LINENO: checking for Motif 2" >&5
27914 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27915 cat >conftest.
$ac_ext <<_ACEOF
27918 cat confdefs.h
>>conftest.
$ac_ext
27919 cat >>conftest.
$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27928 #if XmVersion < 2000
27929 #error "Not Motif 2"
27936 rm -f conftest.
$ac_objext
27937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27938 (eval $ac_compile) 2>conftest.er1
27940 grep -v '^ *+' conftest.er1
>conftest.err
27942 cat conftest.err
>&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } &&
27945 { ac_try
='test -z "$ac_c_werror_flag"
27946 || test ! -s conftest.err'
27947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27948 (eval $ac_try) 2>&5
27950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951 (exit $ac_status); }; } &&
27952 { ac_try
='test -s conftest.$ac_objext'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27959 cat >>confdefs.h
<<\_ACEOF
27960 #define __WXMOTIF20__ 1
27963 echo "$as_me:$LINENO: result: found" >&5
27964 echo "${ECHO_T}found" >&6
27967 echo "$as_me: failed program was:" >&5
27968 sed 's/^/| /' conftest.
$ac_ext >&5
27971 cat >>confdefs.h
<<\_ACEOF
27972 #define __WXMOTIF20__ 0
27975 echo "$as_me:$LINENO: result: not found" >&5
27976 echo "${ECHO_T}not found" >&6
27979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27980 CFLAGS
=$save_CFLAGS
27982 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27987 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27988 if test "$wxUSE_LIBXPM" = "sys"; then
27989 echo "$as_me:$LINENO: checking for Xpm library" >&5
27990 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27993 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27995 for ac_extension
in a so sl dylib
; do
27996 if test -f "$ac_dir/libXpm.$ac_extension"; then
27997 ac_find_libraries
=$ac_dir
28003 if test "$ac_find_libraries" != "" ; then
28005 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28007 if test $result = 0; then
28010 ac_path_to_link
=" -L$ac_find_libraries"
28013 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28014 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28015 echo "${ECHO_T}found at $ac_find_libraries" >&6
28017 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28018 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28019 if test "${wx_cv_x11_xpm_h+set}" = set; then
28020 echo $ECHO_N "(cached) $ECHO_C" >&6
28023 save_CFLAGS
=$CFLAGS
28024 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28026 cat >conftest.
$ac_ext <<_ACEOF
28029 cat confdefs.h
>>conftest.
$ac_ext
28030 cat >>conftest.
$ac_ext <<_ACEOF
28031 /* end confdefs.h. */
28033 #include <X11/xpm.h>
28040 version = XpmLibraryVersion();
28046 rm -f conftest.
$ac_objext
28047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28048 (eval $ac_compile) 2>conftest.er1
28050 grep -v '^ *+' conftest.er1
>conftest.err
28052 cat conftest.err
>&5
28053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28054 (exit $ac_status); } &&
28055 { ac_try
='test -z "$ac_c_werror_flag"
28056 || test ! -s conftest.err'
28057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28058 (eval $ac_try) 2>&5
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); }; } &&
28062 { ac_try
='test -s conftest.$ac_objext'
28063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28064 (eval $ac_try) 2>&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }; }; then
28068 wx_cv_x11_xpm_h
=yes
28070 echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.
$ac_ext >&5
28076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28078 CFLAGS
=$save_CFLAGS
28082 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28083 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28085 if test $wx_cv_x11_xpm_h = "yes"; then
28086 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28087 cat >>confdefs.h
<<\_ACEOF
28088 #define wxHAVE_LIB_XPM 1
28092 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28093 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28099 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28100 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28101 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28104 ac_check_lib_save_LIBS
=$LIBS
28105 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28106 cat >conftest.
$ac_ext <<_ACEOF
28109 cat confdefs.h
>>conftest.
$ac_ext
28110 cat >>conftest.
$ac_ext <<_ACEOF
28111 /* end confdefs.h. */
28113 /* Override any gcc2 internal prototype to avoid an error. */
28117 /* We use char because int might match the return type of a gcc2
28118 builtin and then its argument prototype would still apply. */
28119 char XShapeQueryExtension ();
28123 XShapeQueryExtension ();
28128 rm -f conftest.
$ac_objext conftest
$ac_exeext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28130 (eval $ac_link) 2>conftest.er1
28132 grep -v '^ *+' conftest.er1
>conftest.err
28134 cat conftest.err
>&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try
='test -z "$ac_c_werror_flag"
28138 || test ! -s conftest.err'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; } &&
28144 { ac_try
='test -s conftest$ac_exeext'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; }; then
28150 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28152 echo "$as_me: failed program was:" >&5
28153 sed 's/^/| /' conftest.
$ac_ext >&5
28155 ac_cv_lib_Xext_XShapeQueryExtension
=no
28157 rm -f conftest.err conftest.
$ac_objext \
28158 conftest
$ac_exeext conftest.
$ac_ext
28159 LIBS
=$ac_check_lib_save_LIBS
28161 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28162 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28163 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28165 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28171 if test "$wxHAVE_XEXT_LIB" = 1; then
28172 save_CFLAGS
="$CFLAGS"
28173 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28175 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28176 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28177 cat >conftest.
$ac_ext <<_ACEOF
28180 cat confdefs.h
>>conftest.
$ac_ext
28181 cat >>conftest.
$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28184 #include <X11/Xlib.h>
28185 #include <X11/extensions/shape.h>
28191 int dummy1, dummy2;
28192 XShapeQueryExtension((Display*)NULL,
28193 (int*)NULL, (int*)NULL);
28199 rm -f conftest.
$ac_objext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28201 (eval $ac_compile) 2>conftest.er1
28203 grep -v '^ *+' conftest.er1
>conftest.err
28205 cat conftest.err
>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try
='test -z "$ac_c_werror_flag"
28209 || test ! -s conftest.err'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; } &&
28215 { ac_try
='test -s conftest.$ac_objext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28222 cat >>confdefs.h
<<\_ACEOF
28223 #define HAVE_XSHAPE 1
28226 echo "$as_me:$LINENO: result: found" >&5
28227 echo "${ECHO_T}found" >&6
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.
$ac_ext >&5
28234 echo "$as_me:$LINENO: result: not found" >&5
28235 echo "${ECHO_T}not found" >&6
28238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28239 CFLAGS
="$save_CFLAGS"
28244 if test "$wxUSE_MAC" = 1; then
28245 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28246 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28247 if test "$GCC" = yes; then
28248 echo "$as_me:$LINENO: result: gcc" >&5
28249 echo "${ECHO_T}gcc" >&6
28250 CPPFLAGS_PASCAL
="-fpascal-strings"
28251 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28252 echo "$as_me:$LINENO: result: xlc" >&5
28253 echo "${ECHO_T}xlc" >&6
28254 CPPFLAGS_PASCAL
="-qmacpstr"
28256 echo "$as_me:$LINENO: result: none" >&5
28257 echo "${ECHO_T}none" >&6
28260 if test "x$wxUSE_UNIX" = "xyes"; then
28261 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28263 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28268 WXBASEPORT
="_carbon"
28271 if test "$wxUSE_COCOA" = 1; then
28276 if test "$wxUSE_PM" = 1; then
28279 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28280 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28281 if test "${wx_cv_spbcdata+set}" = set; then
28282 echo $ECHO_N "(cached) $ECHO_C" >&6
28285 cat >conftest.
$ac_ext <<_ACEOF
28288 cat confdefs.h
>>conftest.
$ac_ext
28289 cat >>conftest.
$ac_ext <<_ACEOF
28290 /* end confdefs.h. */
28305 rm -f conftest.
$ac_objext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28307 (eval $ac_compile) 2>conftest.er1
28309 grep -v '^ *+' conftest.er1
>conftest.err
28311 cat conftest.err
>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try
='test -z "$ac_c_werror_flag"
28315 || 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"
28417 || test ! -s conftest.err'
28418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28419 (eval $ac_try) 2>&5
28421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28422 (exit $ac_status); }; } &&
28423 { ac_try
='test -s conftest.$ac_objext'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; }; then
28429 ac_header_compiler
=yes
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.
$ac_ext >&5
28434 ac_header_compiler
=no
28436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28438 echo "${ECHO_T}$ac_header_compiler" >&6
28440 # Is the header present?
28441 echo "$as_me:$LINENO: checking sql.h presence" >&5
28442 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28443 cat >conftest.
$ac_ext <<_ACEOF
28446 cat confdefs.h
>>conftest.
$ac_ext
28447 cat >>conftest.
$ac_ext <<_ACEOF
28448 /* end confdefs.h. */
28451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28454 grep -v '^ *+' conftest.er1
>conftest.err
28456 cat conftest.err
>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } >/dev
/null
; then
28459 if test -s conftest.err
; then
28460 ac_cpp_err
=$ac_c_preproc_warn_flag
28461 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28468 if test -z "$ac_cpp_err"; then
28469 ac_header_preproc
=yes
28471 echo "$as_me: failed program was:" >&5
28472 sed 's/^/| /' conftest.
$ac_ext >&5
28474 ac_header_preproc
=no
28476 rm -f conftest.err conftest.
$ac_ext
28477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28478 echo "${ECHO_T}$ac_header_preproc" >&6
28480 # So? What about this header?
28481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28483 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28484 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28485 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28486 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28487 ac_header_preproc
=yes
28490 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28491 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28492 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28493 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28494 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28495 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28496 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28497 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28498 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28499 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28500 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28501 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28504 ## ----------------------------------------- ##
28505 ## Report this to wx-dev@lists.wxwidgets.org ##
28506 ## ----------------------------------------- ##
28509 sed "s/^/$as_me: WARNING: /" >&2
28512 echo "$as_me:$LINENO: checking for sql.h" >&5
28513 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28514 if test "${ac_cv_header_sql_h+set}" = set; then
28515 echo $ECHO_N "(cached) $ECHO_C" >&6
28517 ac_cv_header_sql_h
=$ac_header_preproc
28519 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28520 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28523 if test $ac_cv_header_sql_h = yes; then
28528 if test "x$found_sql_h" = "x1" ; then
28529 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28530 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28531 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28532 echo $ECHO_N "(cached) $ECHO_C" >&6
28534 ac_check_lib_save_LIBS
=$LIBS
28535 LIBS
="-liodbc $LIBS"
28536 cat >conftest.
$ac_ext <<_ACEOF
28539 cat confdefs.h
>>conftest.
$ac_ext
28540 cat >>conftest.
$ac_ext <<_ACEOF
28541 /* end confdefs.h. */
28543 /* Override any gcc2 internal prototype to avoid an error. */
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28549 char SQLAllocEnv ();
28558 rm -f conftest.
$ac_objext conftest
$ac_exeext
28559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28560 (eval $ac_link) 2>conftest.er1
28562 grep -v '^ *+' conftest.er1
>conftest.err
28564 cat conftest.err
>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } &&
28567 { ac_try
='test -z "$ac_c_werror_flag"
28568 || test ! -s conftest.err'
28569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28570 (eval $ac_try) 2>&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); }; } &&
28574 { ac_try
='test -s conftest$ac_exeext'
28575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28576 (eval $ac_try) 2>&5
28578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28579 (exit $ac_status); }; }; then
28580 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28582 echo "$as_me: failed program was:" >&5
28583 sed 's/^/| /' conftest.
$ac_ext >&5
28585 ac_cv_lib_iodbc_SQLAllocEnv
=no
28587 rm -f conftest.err conftest.
$ac_objext \
28588 conftest
$ac_exeext conftest.
$ac_ext
28589 LIBS
=$ac_check_lib_save_LIBS
28591 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28592 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28593 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28594 ODBC_LINK
=" -liodbc"
28597 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28598 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28599 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28600 echo $ECHO_N "(cached) $ECHO_C" >&6
28602 ac_check_lib_save_LIBS
=$LIBS
28603 LIBS
="-lunixodbc $LIBS"
28604 cat >conftest.
$ac_ext <<_ACEOF
28607 cat confdefs.h
>>conftest.
$ac_ext
28608 cat >>conftest.
$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28611 /* Override any gcc2 internal prototype to avoid an error. */
28615 /* We use char because int might match the return type of a gcc2
28616 builtin and then its argument prototype would still apply. */
28617 char SQLAllocEnv ();
28626 rm -f conftest.
$ac_objext conftest
$ac_exeext
28627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28628 (eval $ac_link) 2>conftest.er1
28630 grep -v '^ *+' conftest.er1
>conftest.err
28632 cat conftest.err
>&5
28633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28634 (exit $ac_status); } &&
28635 { ac_try
='test -z "$ac_c_werror_flag"
28636 || test ! -s conftest.err'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; } &&
28642 { ac_try
='test -s conftest$ac_exeext'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; }; then
28648 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28650 echo "$as_me: failed program was:" >&5
28651 sed 's/^/| /' conftest.
$ac_ext >&5
28653 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28655 rm -f conftest.err conftest.
$ac_objext \
28656 conftest
$ac_exeext conftest.
$ac_ext
28657 LIBS
=$ac_check_lib_save_LIBS
28659 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28660 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28661 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28662 ODBC_LINK
=" -lunixodbc"
28665 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28666 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28667 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28670 ac_check_lib_save_LIBS
=$LIBS
28671 LIBS
="-lodbc $LIBS"
28672 cat >conftest.
$ac_ext <<_ACEOF
28675 cat confdefs.h
>>conftest.
$ac_ext
28676 cat >>conftest.
$ac_ext <<_ACEOF
28677 /* end confdefs.h. */
28679 /* Override any gcc2 internal prototype to avoid an error. */
28683 /* We use char because int might match the return type of a gcc2
28684 builtin and then its argument prototype would still apply. */
28685 char SQLAllocEnv ();
28694 rm -f conftest.
$ac_objext conftest
$ac_exeext
28695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28696 (eval $ac_link) 2>conftest.er1
28698 grep -v '^ *+' conftest.er1
>conftest.err
28700 cat conftest.err
>&5
28701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28702 (exit $ac_status); } &&
28703 { ac_try
='test -z "$ac_c_werror_flag"
28704 || test ! -s conftest.err'
28705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28706 (eval $ac_try) 2>&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); }; } &&
28710 { ac_try
='test -s conftest$ac_exeext'
28711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28712 (eval $ac_try) 2>&5
28714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 (exit $ac_status); }; }; then
28716 ac_cv_lib_odbc_SQLAllocEnv
=yes
28718 echo "$as_me: failed program was:" >&5
28719 sed 's/^/| /' conftest.
$ac_ext >&5
28721 ac_cv_lib_odbc_SQLAllocEnv
=no
28723 rm -f conftest.err conftest.
$ac_objext \
28724 conftest
$ac_exeext conftest.
$ac_ext
28725 LIBS
=$ac_check_lib_save_LIBS
28727 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28728 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28729 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28730 ODBC_LINK
=" -lodbc"
28740 if test "x$ODBC_LINK" = "x" ; then
28741 if test "$wxUSE_ODBC" = "sys" ; then
28742 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28743 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28744 { (exit 1); exit 1; }; }
28746 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28747 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28755 if test "$wxUSE_ODBC" = "builtin" ; then
28756 cat >>confdefs.h
<<\_ACEOF
28757 #define wxUSE_BUILTIN_IODBC 1
28763 if test "$wxUSE_ODBC" != "no" ; then
28764 cat >>confdefs.h
<<\_ACEOF
28765 #define wxUSE_ODBC 1
28768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28770 WXODBCFLAG
="-D_IODBC_"
28774 if test "$wxUSE_DISPLAY" = "yes"; then
28775 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28776 echo "$as_me:$LINENO: checking for Xinerama" >&5
28777 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28780 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28782 for ac_extension
in a so sl dylib
; do
28783 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28784 ac_find_libraries
=$ac_dir
28790 if test "$ac_find_libraries" != "" ; then
28792 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28794 if test $result = 0; then
28797 ac_path_to_link
=" -L$ac_find_libraries"
28800 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28801 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28803 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28804 echo "$as_me:$LINENO: result: yes" >&5
28805 echo "${ECHO_T}yes" >&6
28807 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28808 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28811 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28813 for ac_extension
in a so sl dylib
; do
28814 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28815 ac_find_libraries
=$ac_dir
28821 if test "$ac_find_libraries" != "" ; then
28822 echo "$as_me:$LINENO: result: yes" >&5
28823 echo "${ECHO_T}yes" >&6
28825 for ac_header
in X
11/extensions
/xf86vmode.h
28827 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28828 echo "$as_me:$LINENO: checking for $ac_header" >&5
28829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28831 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 cat >conftest.
$ac_ext <<_ACEOF
28836 cat confdefs.h
>>conftest.
$ac_ext
28837 cat >>conftest.
$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28840 #if HAVE_X11_XLIB_H
28841 #include <X11/Xlib.h>
28845 #include <$ac_header>
28847 rm -f conftest.
$ac_objext
28848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28849 (eval $ac_compile) 2>conftest.er1
28851 grep -v '^ *+' conftest.er1
>conftest.err
28853 cat conftest.err
>&5
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); } &&
28856 { ac_try
='test -z "$ac_c_werror_flag"
28857 || test ! -s conftest.err'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; } &&
28863 { ac_try
='test -s conftest.$ac_objext'
28864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28865 (eval $ac_try) 2>&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); }; }; then
28869 eval "$as_ac_Header=yes"
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.
$ac_ext >&5
28874 eval "$as_ac_Header=no"
28876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28881 cat >>confdefs.h
<<_ACEOF
28882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28885 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28892 echo "$as_me:$LINENO: result: no" >&5
28893 echo "${ECHO_T}no" >&6
28897 echo "$as_me:$LINENO: result: no" >&5
28898 echo "${ECHO_T}no" >&6
28899 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28900 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28903 elif test "$wxUSE_MSW" = 1; then
28906 for ac_header
in multimon.h ddraw.h
28908 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28909 echo "$as_me:$LINENO: checking for $ac_header" >&5
28910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28912 echo $ECHO_N "(cached) $ECHO_C" >&6
28914 cat >conftest.
$ac_ext <<_ACEOF
28917 cat confdefs.h
>>conftest.
$ac_ext
28918 cat >>conftest.
$ac_ext <<_ACEOF
28919 /* end confdefs.h. */
28920 #include <windows.h>
28922 #include <$ac_header>
28924 rm -f conftest.
$ac_objext
28925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28926 (eval $ac_compile) 2>conftest.er1
28928 grep -v '^ *+' conftest.er1
>conftest.err
28930 cat conftest.err
>&5
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); } &&
28933 { ac_try
='test -z "$ac_c_werror_flag"
28934 || test ! -s conftest.err'
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); }; } &&
28940 { ac_try
='test -s conftest.$ac_objext'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; }; then
28946 eval "$as_ac_Header=yes"
28948 echo "$as_me: failed program was:" >&5
28949 sed 's/^/| /' conftest.
$ac_ext >&5
28951 eval "$as_ac_Header=no"
28953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28958 cat >>confdefs.h
<<_ACEOF
28959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28965 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28966 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28977 if test "$wxUSE_OPENGL" = "yes"; then
28978 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28979 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28980 elif test "$wxUSE_MSW" = 1; then
28981 OPENGL_LIBS
="-lopengl32 -lglu32"
28986 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28988 if test -f "$ac_dir/GL/gl.h"; then
28989 ac_find_includes
=$ac_dir
28994 if test "$ac_find_includes" != "" ; then
28995 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28996 echo "${ECHO_T}found in $ac_find_includes" >&6
28998 if test "x$ac_find_includes" = "x/usr/include"; then
28999 ac_path_to_include
=""
29001 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29003 if test $result = 0; then
29004 ac_path_to_include
=""
29006 ac_path_to_include
=" -I$ac_find_includes"
29010 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29013 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29014 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29015 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29016 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29017 echo $ECHO_N "(cached) $ECHO_C" >&6
29019 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29020 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29022 # Is the header compilable?
29023 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29024 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29025 cat >conftest.
$ac_ext <<_ACEOF
29028 cat confdefs.h
>>conftest.
$ac_ext
29029 cat >>conftest.
$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031 $ac_includes_default
29034 rm -f conftest.
$ac_objext
29035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29036 (eval $ac_compile) 2>conftest.er1
29038 grep -v '^ *+' conftest.er1
>conftest.err
29040 cat conftest.err
>&5
29041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29042 (exit $ac_status); } &&
29043 { ac_try
='test -z "$ac_c_werror_flag"
29044 || test ! -s conftest.err'
29045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29046 (eval $ac_try) 2>&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); }; } &&
29050 { ac_try
='test -s conftest.$ac_objext'
29051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29052 (eval $ac_try) 2>&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); }; }; then
29056 ac_header_compiler
=yes
29058 echo "$as_me: failed program was:" >&5
29059 sed 's/^/| /' conftest.
$ac_ext >&5
29061 ac_header_compiler
=no
29063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29065 echo "${ECHO_T}$ac_header_compiler" >&6
29067 # Is the header present?
29068 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29069 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29070 cat >conftest.
$ac_ext <<_ACEOF
29073 cat confdefs.h
>>conftest.
$ac_ext
29074 cat >>conftest.
$ac_ext <<_ACEOF
29075 /* end confdefs.h. */
29078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29079 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29081 grep -v '^ *+' conftest.er1
>conftest.err
29083 cat conftest.err
>&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } >/dev
/null
; then
29086 if test -s conftest.err
; then
29087 ac_cpp_err
=$ac_c_preproc_warn_flag
29088 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29095 if test -z "$ac_cpp_err"; then
29096 ac_header_preproc
=yes
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.
$ac_ext >&5
29101 ac_header_preproc
=no
29103 rm -f conftest.err conftest.
$ac_ext
29104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29105 echo "${ECHO_T}$ac_header_preproc" >&6
29107 # So? What about this header?
29108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29110 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29111 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29112 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29113 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29114 ac_header_preproc
=yes
29117 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29118 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29119 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29120 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29121 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29122 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29123 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29124 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29125 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29126 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29127 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29128 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29131 ## ----------------------------------------- ##
29132 ## Report this to wx-dev@lists.wxwidgets.org ##
29133 ## ----------------------------------------- ##
29136 sed "s/^/$as_me: WARNING: /" >&2
29139 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29140 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29141 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29142 echo $ECHO_N "(cached) $ECHO_C" >&6
29144 ac_cv_header_GL_gl_h
=$ac_header_preproc
29146 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29147 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29150 if test $ac_cv_header_GL_gl_h = yes; then
29154 echo "$as_me:$LINENO: checking for -lGL" >&5
29155 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29158 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29160 for ac_extension
in a so sl dylib
; do
29161 if test -f "$ac_dir/libGL.$ac_extension"; then
29162 ac_find_libraries
=$ac_dir
29168 if test "$ac_find_libraries" != "" ; then
29169 echo "$as_me:$LINENO: result: yes" >&5
29170 echo "${ECHO_T}yes" >&6
29173 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29175 if test $result = 0; then
29178 ac_path_to_link
=" -L$ac_find_libraries"
29181 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29182 LDFLAGS_GL
="$ac_path_to_link"
29185 echo "$as_me:$LINENO: checking for -lGLU" >&5
29186 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29189 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29191 for ac_extension
in a so sl dylib
; do
29192 if test -f "$ac_dir/libGLU.$ac_extension"; then
29193 ac_find_libraries
=$ac_dir
29199 if test "$ac_find_libraries" != "" ; then
29201 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29203 if test $result = 0; then
29206 ac_path_to_link
=" -L$ac_find_libraries"
29209 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29210 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29211 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29215 OPENGL_LIBS
="-lGL -lGLU"
29216 echo "$as_me:$LINENO: result: yes" >&5
29217 echo "${ECHO_T}yes" >&6
29219 echo "$as_me:$LINENO: result: no" >&5
29220 echo "${ECHO_T}no" >&6
29223 echo "$as_me:$LINENO: result: no" >&5
29224 echo "${ECHO_T}no" >&6
29227 if test "$found_gl" != 1; then
29228 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29229 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29232 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29234 for ac_extension
in a so sl dylib
; do
29235 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29236 ac_find_libraries
=$ac_dir
29242 if test "$ac_find_libraries" != "" ; then
29244 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29246 if test $result = 0; then
29249 ac_path_to_link
=" -L$ac_find_libraries"
29252 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29253 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29254 echo "$as_me:$LINENO: result: yes" >&5
29255 echo "${ECHO_T}yes" >&6
29257 echo "$as_me:$LINENO: result: no" >&5
29258 echo "${ECHO_T}no" >&6
29266 if test "x$OPENGL_LIBS" = "x"; then
29267 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29268 echo "$as_me: error: OpenGL libraries not available" >&2;}
29269 { (exit 1); exit 1; }; }
29273 if test "$wxUSE_OPENGL" = "yes"; then
29275 cat >>confdefs.h
<<\_ACEOF
29276 #define wxUSE_OPENGL 1
29279 cat >>confdefs.h
<<\_ACEOF
29280 #define wxUSE_GLCANVAS 1
29283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29288 if test -n "$TOOLKIT" ; then
29289 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29294 if test "$wxUSE_SHARED" = "yes"; then
29298 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29299 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29304 if test "$wxUSE_SHARED" = "yes"; then
29307 found_versioning
=no
29310 if test $found_versioning = no
; then
29311 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29312 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29313 if test "${wx_cv_version_script+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29317 echo "VER_1 { *; };" >conftest.sym
29318 echo "int main() { return 0; }" >conftest.cpp
29321 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29322 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; } ; then
29328 if test -s conftest.stderr
; then
29329 wx_cv_version_script
=no
29331 wx_cv_version_script
=yes
29334 wx_cv_version_script
=no
29336 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29339 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29340 echo "${ECHO_T}$wx_cv_version_script" >&6
29341 if test $wx_cv_version_script = yes ; then
29342 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29348 *-*-linux* | *-*-gnu* )
29349 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29350 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29354 if test "$GCC" = yes ; then
29355 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29357 saveLdflags
="$LDFLAGS"
29358 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29359 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29360 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29361 cat >conftest.
$ac_ext <<_ACEOF
29364 cat confdefs.h
>>conftest.
$ac_ext
29365 cat >>conftest.
$ac_ext <<_ACEOF
29366 /* end confdefs.h. */
29376 rm -f conftest.
$ac_objext conftest
$ac_exeext
29377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29378 (eval $ac_link) 2>conftest.er1
29380 grep -v '^ *+' conftest.er1
>conftest.err
29382 cat conftest.err
>&5
29383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29384 (exit $ac_status); } &&
29385 { ac_try
='test -z "$ac_c_werror_flag"
29386 || test ! -s conftest.err'
29387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29388 (eval $ac_try) 2>&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); }; } &&
29392 { ac_try
='test -s conftest$ac_exeext'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; }; then
29399 echo "$as_me:$LINENO: result: yes" >&5
29400 echo "${ECHO_T}yes" >&6
29401 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29402 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29405 echo "$as_me: failed program was:" >&5
29406 sed 's/^/| /' conftest.
$ac_ext >&5
29409 echo "$as_me:$LINENO: result: no" >&5
29410 echo "${ECHO_T}no" >&6
29411 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29412 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29413 LDFLAGS
="$saveLdflags -Wl,-R,/"
29414 cat >conftest.
$ac_ext <<_ACEOF
29417 cat confdefs.h
>>conftest.
$ac_ext
29418 cat >>conftest.
$ac_ext <<_ACEOF
29419 /* end confdefs.h. */
29429 rm -f conftest.
$ac_objext conftest
$ac_exeext
29430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29431 (eval $ac_link) 2>conftest.er1
29433 grep -v '^ *+' conftest.er1
>conftest.err
29435 cat conftest.err
>&5
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); } &&
29438 { ac_try
='test -z "$ac_c_werror_flag"
29439 || test ! -s conftest.err'
29440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29441 (eval $ac_try) 2>&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); }; } &&
29445 { ac_try
='test -s conftest$ac_exeext'
29446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29447 (eval $ac_try) 2>&5
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); }; }; then
29452 echo "$as_me:$LINENO: result: yes" >&5
29453 echo "${ECHO_T}yes" >&6
29454 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29455 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29458 echo "$as_me: failed program was:" >&5
29459 sed 's/^/| /' conftest.
$ac_ext >&5
29462 echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6
29466 rm -f conftest.err conftest.
$ac_objext \
29467 conftest
$ac_exeext conftest.
$ac_ext
29470 rm -f conftest.err conftest.
$ac_objext \
29471 conftest
$ac_exeext conftest.
$ac_ext
29472 LDFLAGS
="$saveLdflags"
29474 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29475 WXCONFIG_RPATH
="-R\$libdir"
29479 powerpc
-*-darwin* )
29480 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29481 cat <<EOF >change-install-names
29483 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29484 inst_cmd="install_name_tool "
29485 for i in \${libnames} ; do
29486 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29490 chmod +x change
-install-names
29493 *-*-cygwin* | *-*-mingw32* )
29494 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29498 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29499 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29504 if test $wxUSE_RPATH = "no"; then
29505 SAMPLES_RPATH_FLAG
=''
29506 SAMPLES_RPATH_POSTLINK
=''
29514 config_linkage_component
="-static"
29521 lib_unicode_suffix
=
29523 if test "$wxUSE_UNICODE" = "yes"; then
29524 lib_unicode_suffix
=u
29525 WX_CHARTYPE
="unicode"
29530 WX_DEBUGTYPE
="release"
29532 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29534 WX_DEBUGTYPE
="debug"
29538 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29539 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29542 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29546 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29548 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29550 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29552 if test "$cross_compiling" = "yes"; then
29553 HOST_SUFFIX
="-$host_alias"
29554 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29555 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29558 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29559 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29563 if test "$wxUSE_COCOA" = 1; then
29567 ac_cpp
='$CPP $CPPFLAGS'
29568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29574 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29575 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
29576 cat >conftest.
$ac_ext <<_ACEOF
29579 cat confdefs.h
>>conftest.
$ac_ext
29580 cat >>conftest.
$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582 #include <AppKit/NSEvent.h>
29583 #include <CoreFoundation/CoreFoundation.h>
29593 rm -f conftest.
$ac_objext
29594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29595 (eval $ac_compile) 2>conftest.er1
29597 grep -v '^ *+' conftest.er1
>conftest.err
29599 cat conftest.err
>&5
29600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29601 (exit $ac_status); } &&
29602 { ac_try
='test -z "$ac_c_werror_flag"
29603 || test ! -s conftest.err'
29604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605 (eval $ac_try) 2>&5
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); }; } &&
29609 { ac_try
='test -s conftest.$ac_objext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 echo "$as_me:$LINENO: result: no" >&5
29616 echo "${ECHO_T}no" >&6
29618 echo "$as_me: failed program was:" >&5
29619 sed 's/^/| /' conftest.
$ac_ext >&5
29621 echo "$as_me:$LINENO: result: yes" >&5
29622 echo "${ECHO_T}yes" >&6
29623 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
29624 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
29625 cat >conftest.
$ac_ext <<_ACEOF
29628 cat confdefs.h
>>conftest.
$ac_ext
29629 cat >>conftest.
$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631 #define __Point__ 1
29632 #include <AppKit/NSEvent.h>
29633 #include <CoreFoundation/CoreFoundation.h>
29643 rm -f conftest.
$ac_objext
29644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29645 (eval $ac_compile) 2>conftest.er1
29647 grep -v '^ *+' conftest.er1
>conftest.err
29649 cat conftest.err
>&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try
='test -z "$ac_c_werror_flag"
29653 || test ! -s conftest.err'
29654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29655 (eval $ac_try) 2>&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); }; } &&
29659 { ac_try
='test -s conftest.$ac_objext'
29660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29661 (eval $ac_try) 2>&5
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); }; }; then
29665 echo "$as_me:$LINENO: result: yes" >&5
29666 echo "${ECHO_T}yes" >&6
29667 cat >>confdefs.h
<<\_ACEOF
29668 #define __Point__ 1
29673 echo "$as_me: failed program was:" >&5
29674 sed 's/^/| /' conftest.
$ac_ext >&5
29676 { { echo "$as_me:$LINENO: error: no
29677 See \`config.log' for more details." >&5
29678 echo "$as_me: error: no
29679 See \`config.log' for more details." >&2;}
29680 { (exit 1); exit 1; }; }
29683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29688 ac_cpp
='$CPP $CPPFLAGS'
29689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29695 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29696 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29697 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29699 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29701 # Extract the first word of "Rez", so it can be a program name with args.
29702 set dummy Rez
; ac_word
=$2
29703 echo "$as_me:$LINENO: checking for $ac_word" >&5
29704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29705 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29708 if test -n "$RESCOMP"; then
29709 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29712 for as_dir
in $PATH
29715 test -z "$as_dir" && as_dir
=.
29716 for ac_exec_ext
in '' $ac_executable_extensions; do
29717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29718 ac_cv_prog_RESCOMP
="Rez"
29719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29725 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29728 RESCOMP
=$ac_cv_prog_RESCOMP
29729 if test -n "$RESCOMP"; then
29730 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29731 echo "${ECHO_T}$RESCOMP" >&6
29733 echo "$as_me:$LINENO: result: no" >&5
29734 echo "${ECHO_T}no" >&6
29737 # Extract the first word of "DeRez", so it can be a program name with args.
29738 set dummy DeRez
; ac_word
=$2
29739 echo "$as_me:$LINENO: checking for $ac_word" >&5
29740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29741 if test "${ac_cv_prog_DEREZ+set}" = set; then
29742 echo $ECHO_N "(cached) $ECHO_C" >&6
29744 if test -n "$DEREZ"; then
29745 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29748 for as_dir
in $PATH
29751 test -z "$as_dir" && as_dir
=.
29752 for ac_exec_ext
in '' $ac_executable_extensions; do
29753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29754 ac_cv_prog_DEREZ
="DeRez"
29755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29761 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29764 DEREZ
=$ac_cv_prog_DEREZ
29765 if test -n "$DEREZ"; then
29766 echo "$as_me:$LINENO: result: $DEREZ" >&5
29767 echo "${ECHO_T}$DEREZ" >&6
29769 echo "$as_me:$LINENO: result: no" >&5
29770 echo "${ECHO_T}no" >&6
29773 # Extract the first word of "SetFile", so it can be a program name with args.
29774 set dummy SetFile
; ac_word
=$2
29775 echo "$as_me:$LINENO: checking for $ac_word" >&5
29776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29777 if test "${ac_cv_prog_SETFILE+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 if test -n "$SETFILE"; then
29781 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29784 for as_dir
in $PATH
29787 test -z "$as_dir" && as_dir
=.
29788 for ac_exec_ext
in '' $ac_executable_extensions; do
29789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29790 ac_cv_prog_SETFILE
="SetFile"
29791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29797 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29800 SETFILE
=$ac_cv_prog_SETFILE
29801 if test -n "$SETFILE"; then
29802 echo "$as_me:$LINENO: result: $SETFILE" >&5
29803 echo "${ECHO_T}$SETFILE" >&6
29805 echo "$as_me:$LINENO: result: no" >&5
29806 echo "${ECHO_T}no" >&6
29810 MACSETFILE
="\$(SETFILE)"
29812 if test "$wxUSE_MAC" = 1; then
29813 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29815 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29817 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29818 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29822 MACRESWXCONFIG
="@true"
29824 if test "$wxUSE_PM" = 1; then
29825 MACRESCOMP
="emxbind -ep"
29833 echo "$as_me:$LINENO: checking for mode_t" >&5
29834 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29835 if test "${ac_cv_type_mode_t+set}" = set; then
29836 echo $ECHO_N "(cached) $ECHO_C" >&6
29838 cat >conftest.
$ac_ext <<_ACEOF
29841 cat confdefs.h
>>conftest.
$ac_ext
29842 cat >>conftest.
$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29844 $ac_includes_default
29850 if (sizeof (mode_t))
29856 rm -f conftest.
$ac_objext
29857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29858 (eval $ac_compile) 2>conftest.er1
29860 grep -v '^ *+' conftest.er1
>conftest.err
29862 cat conftest.err
>&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); } &&
29865 { ac_try
='test -z "$ac_c_werror_flag"
29866 || test ! -s conftest.err'
29867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 (eval $ac_try) 2>&5
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); }; } &&
29872 { ac_try
='test -s conftest.$ac_objext'
29873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29874 (eval $ac_try) 2>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); }; }; then
29878 ac_cv_type_mode_t
=yes
29880 echo "$as_me: failed program was:" >&5
29881 sed 's/^/| /' conftest.
$ac_ext >&5
29883 ac_cv_type_mode_t
=no
29885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29887 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29888 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29889 if test $ac_cv_type_mode_t = yes; then
29893 cat >>confdefs.h
<<_ACEOF
29899 echo "$as_me:$LINENO: checking for off_t" >&5
29900 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29901 if test "${ac_cv_type_off_t+set}" = set; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 cat >conftest.
$ac_ext <<_ACEOF
29907 cat confdefs.h
>>conftest.
$ac_ext
29908 cat >>conftest.
$ac_ext <<_ACEOF
29909 /* end confdefs.h. */
29910 $ac_includes_default
29916 if (sizeof (off_t))
29922 rm -f conftest.
$ac_objext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29924 (eval $ac_compile) 2>conftest.er1
29926 grep -v '^ *+' conftest.er1
>conftest.err
29928 cat conftest.err
>&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try
='test -z "$ac_c_werror_flag"
29932 || test ! -s conftest.err'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; } &&
29938 { ac_try
='test -s conftest.$ac_objext'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; }; then
29944 ac_cv_type_off_t
=yes
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.
$ac_ext >&5
29949 ac_cv_type_off_t
=no
29951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29953 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29954 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29955 if test $ac_cv_type_off_t = yes; then
29959 cat >>confdefs.h
<<_ACEOF
29965 echo "$as_me:$LINENO: checking for pid_t" >&5
29966 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29967 if test "${ac_cv_type_pid_t+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 cat >conftest.
$ac_ext <<_ACEOF
29973 cat confdefs.h
>>conftest.
$ac_ext
29974 cat >>conftest.
$ac_ext <<_ACEOF
29975 /* end confdefs.h. */
29976 $ac_includes_default
29982 if (sizeof (pid_t))
29988 rm -f conftest.
$ac_objext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29990 (eval $ac_compile) 2>conftest.er1
29992 grep -v '^ *+' conftest.er1
>conftest.err
29994 cat conftest.err
>&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } &&
29997 { ac_try
='test -z "$ac_c_werror_flag"
29998 || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try
='test -s conftest.$ac_objext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 ac_cv_type_pid_t
=yes
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.
$ac_ext >&5
30015 ac_cv_type_pid_t
=no
30017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30019 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30020 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30021 if test $ac_cv_type_pid_t = yes; then
30025 cat >>confdefs.h
<<_ACEOF
30031 echo "$as_me:$LINENO: checking for size_t" >&5
30032 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30033 if test "${ac_cv_type_size_t+set}" = set; then
30034 echo $ECHO_N "(cached) $ECHO_C" >&6
30036 cat >conftest.
$ac_ext <<_ACEOF
30039 cat confdefs.h
>>conftest.
$ac_ext
30040 cat >>conftest.
$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042 $ac_includes_default
30048 if (sizeof (size_t))
30054 rm -f conftest.
$ac_objext
30055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30056 (eval $ac_compile) 2>conftest.er1
30058 grep -v '^ *+' conftest.er1
>conftest.err
30060 cat conftest.err
>&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); } &&
30063 { ac_try
='test -z "$ac_c_werror_flag"
30064 || test ! -s conftest.err'
30065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30066 (eval $ac_try) 2>&5
30068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30069 (exit $ac_status); }; } &&
30070 { ac_try
='test -s conftest.$ac_objext'
30071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30072 (eval $ac_try) 2>&5
30074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075 (exit $ac_status); }; }; then
30076 ac_cv_type_size_t
=yes
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.
$ac_ext >&5
30081 ac_cv_type_size_t
=no
30083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30085 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30086 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30087 if test $ac_cv_type_size_t = yes; then
30091 cat >>confdefs.h
<<_ACEOF
30092 #define size_t unsigned
30097 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30098 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30099 if test "${ac_cv_type_uid_t+set}" = set; then
30100 echo $ECHO_N "(cached) $ECHO_C" >&6
30102 cat >conftest.
$ac_ext <<_ACEOF
30105 cat confdefs.h
>>conftest.
$ac_ext
30106 cat >>conftest.
$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30108 #include <sys/types.h>
30111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30112 $EGREP "uid_t" >/dev
/null
2>&1; then
30113 ac_cv_type_uid_t
=yes
30115 ac_cv_type_uid_t
=no
30120 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30121 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30122 if test $ac_cv_type_uid_t = no
; then
30124 cat >>confdefs.h
<<\_ACEOF
30129 cat >>confdefs.h
<<\_ACEOF
30136 echo "$as_me:$LINENO: checking for ssize_t" >&5
30137 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30138 if test "${ac_cv_type_ssize_t+set}" = set; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 cat >conftest.
$ac_ext <<_ACEOF
30144 cat confdefs.h
>>conftest.
$ac_ext
30145 cat >>conftest.
$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30147 $ac_includes_default
30153 if (sizeof (ssize_t))
30159 rm -f conftest.
$ac_objext
30160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30161 (eval $ac_compile) 2>conftest.er1
30163 grep -v '^ *+' conftest.er1
>conftest.err
30165 cat conftest.err
>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try
='test -z "$ac_c_werror_flag"
30169 || test ! -s conftest.err'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; } &&
30175 { ac_try
='test -s conftest.$ac_objext'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; }; then
30181 ac_cv_type_ssize_t
=yes
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.
$ac_ext >&5
30186 ac_cv_type_ssize_t
=no
30188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30190 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30191 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30192 if test $ac_cv_type_ssize_t = yes; then
30194 cat >>confdefs.h
<<_ACEOF
30195 #define HAVE_SSIZE_T 1
30205 ac_cpp
='$CXXCPP $CPPFLAGS'
30206 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30210 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30211 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30212 if test "${wx_cv_size_t_is_uint+set}" = set; then
30213 echo $ECHO_N "(cached) $ECHO_C" >&6
30216 cat >conftest.
$ac_ext <<_ACEOF
30219 cat confdefs.h
>>conftest.
$ac_ext
30220 cat >>conftest.
$ac_ext <<_ACEOF
30221 /* end confdefs.h. */
30222 #include <stddef.h>
30229 struct Foo { void foo(size_t); void foo(unsigned int); };
30237 rm -f conftest.
$ac_objext
30238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30239 (eval $ac_compile) 2>conftest.er1
30241 grep -v '^ *+' conftest.er1
>conftest.err
30243 cat conftest.err
>&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); } &&
30246 { ac_try
='test -z "$ac_cxx_werror_flag"
30247 || test ! -s conftest.err'
30248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30249 (eval $ac_try) 2>&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); }; } &&
30253 { ac_try
='test -s conftest.$ac_objext'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; }; then
30259 wx_cv_size_t_is_uint
=no
30261 echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.
$ac_ext >&5
30264 wx_cv_size_t_is_uint
=yes
30267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30271 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30272 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30274 if test "$wx_cv_size_t_is_uint" = "yes"; then
30275 cat >>confdefs.h
<<\_ACEOF
30276 #define wxSIZE_T_IS_UINT 1
30280 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30281 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30282 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30283 echo $ECHO_N "(cached) $ECHO_C" >&6
30285 cat >conftest.
$ac_ext <<_ACEOF
30288 cat confdefs.h
>>conftest.
$ac_ext
30289 cat >>conftest.
$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30291 #include <stddef.h>
30298 struct Foo { void foo(size_t); void foo(unsigned long); };
30306 rm -f conftest.
$ac_objext
30307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30308 (eval $ac_compile) 2>conftest.er1
30310 grep -v '^ *+' conftest.er1
>conftest.err
30312 cat conftest.err
>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); } &&
30315 { ac_try
='test -z "$ac_cxx_werror_flag"
30316 || test ! -s conftest.err'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; } &&
30322 { ac_try
='test -s conftest.$ac_objext'
30323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 (eval $ac_try) 2>&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); }; }; then
30328 wx_cv_size_t_is_ulong
=no
30330 echo "$as_me: failed program was:" >&5
30331 sed 's/^/| /' conftest.
$ac_ext >&5
30333 wx_cv_size_t_is_ulong
=yes
30336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30339 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30340 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30342 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30343 cat >>confdefs.h
<<\_ACEOF
30344 #define wxSIZE_T_IS_ULONG 1
30351 ac_cpp
='$CPP $CPPFLAGS'
30352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30358 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30359 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30360 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30361 echo $ECHO_N "(cached) $ECHO_C" >&6
30364 cat >conftest.
$ac_ext <<_ACEOF
30367 cat confdefs.h
>>conftest.
$ac_ext
30368 cat >>conftest.
$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30383 rm -f conftest.
$ac_objext
30384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30385 (eval $ac_compile) 2>conftest.er1
30387 grep -v '^ *+' conftest.er1
>conftest.err
30389 cat conftest.err
>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } &&
30392 { ac_try
='test -z "$ac_c_werror_flag"
30393 || test ! -s conftest.err'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; } &&
30399 { ac_try
='test -s conftest.$ac_objext'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; }; then
30406 wx_cv_struct_pw_gecos
=yes
30409 echo "$as_me: failed program was:" >&5
30410 sed 's/^/| /' conftest.
$ac_ext >&5
30413 wx_cv_struct_pw_gecos
=no
30417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30421 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30422 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30424 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30425 cat >>confdefs.h
<<\_ACEOF
30426 #define HAVE_PW_GECOS 1
30432 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30433 cat >>confdefs.h
<<\_ACEOF
30434 #define wxUSE_WCHAR_T 1
30441 for ac_func
in wcslen
30443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30444 echo "$as_me:$LINENO: checking for $ac_func" >&5
30445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30446 if eval "test \"\${$as_ac_var+set}\" = set"; then
30447 echo $ECHO_N "(cached) $ECHO_C" >&6
30449 cat >conftest.
$ac_ext <<_ACEOF
30452 cat confdefs.h
>>conftest.
$ac_ext
30453 cat >>conftest.
$ac_ext <<_ACEOF
30454 /* end confdefs.h. */
30455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30457 #define $ac_func innocuous_$ac_func
30459 /* System header to define __stub macros and hopefully few prototypes,
30460 which can conflict with char $ac_func (); below.
30461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30462 <limits.h> exists even on freestanding compilers. */
30465 # include <limits.h>
30467 # include <assert.h>
30472 /* Override any gcc2 internal prototype to avoid an error. */
30477 /* We use char because int might match the return type of a gcc2
30478 builtin and then its argument prototype would still apply. */
30480 /* The GNU C library defines this for functions which it implements
30481 to always fail with ENOSYS. Some functions are actually named
30482 something starting with __ and the normal name is an alias. */
30483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30486 char (*f) () = $ac_func;
30495 return f != $ac_func;
30500 rm -f conftest.
$ac_objext conftest
$ac_exeext
30501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30502 (eval $ac_link) 2>conftest.er1
30504 grep -v '^ *+' conftest.er1
>conftest.err
30506 cat conftest.err
>&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); } &&
30509 { ac_try
='test -z "$ac_c_werror_flag"
30510 || test ! -s conftest.err'
30511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30512 (eval $ac_try) 2>&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); }; } &&
30516 { ac_try
='test -s conftest$ac_exeext'
30517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30518 (eval $ac_try) 2>&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); }; }; then
30522 eval "$as_ac_var=yes"
30524 echo "$as_me: failed program was:" >&5
30525 sed 's/^/| /' conftest.
$ac_ext >&5
30527 eval "$as_ac_var=no"
30529 rm -f conftest.err conftest.
$ac_objext \
30530 conftest
$ac_exeext conftest.
$ac_ext
30532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30534 if test `eval echo '${'$as_ac_var'}'` = yes; then
30535 cat >>confdefs.h
<<_ACEOF
30536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30543 if test "$WCSLEN_FOUND" = 0; then
30544 if test "$TOOLKIT" = "MSW"; then
30545 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30546 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30547 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30548 echo $ECHO_N "(cached) $ECHO_C" >&6
30550 ac_check_lib_save_LIBS
=$LIBS
30551 LIBS
="-lmsvcrt $LIBS"
30552 cat >conftest.
$ac_ext <<_ACEOF
30555 cat confdefs.h
>>conftest.
$ac_ext
30556 cat >>conftest.
$ac_ext <<_ACEOF
30557 /* end confdefs.h. */
30559 /* Override any gcc2 internal prototype to avoid an error. */
30563 /* We use char because int might match the return type of a gcc2
30564 builtin and then its argument prototype would still apply. */
30574 rm -f conftest.
$ac_objext conftest
$ac_exeext
30575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30576 (eval $ac_link) 2>conftest.er1
30578 grep -v '^ *+' conftest.er1
>conftest.err
30580 cat conftest.err
>&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } &&
30583 { ac_try
='test -z "$ac_c_werror_flag"
30584 || test ! -s conftest.err'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; } &&
30590 { ac_try
='test -s conftest$ac_exeext'
30591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30592 (eval $ac_try) 2>&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); }; }; then
30596 ac_cv_lib_msvcrt_wcslen
=yes
30598 echo "$as_me: failed program was:" >&5
30599 sed 's/^/| /' conftest.
$ac_ext >&5
30601 ac_cv_lib_msvcrt_wcslen
=no
30603 rm -f conftest.err conftest.
$ac_objext \
30604 conftest
$ac_exeext conftest.
$ac_ext
30605 LIBS
=$ac_check_lib_save_LIBS
30607 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30608 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30609 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30614 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30615 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30616 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30617 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 ac_check_lib_save_LIBS
=$LIBS
30621 cat >conftest.
$ac_ext <<_ACEOF
30624 cat confdefs.h
>>conftest.
$ac_ext
30625 cat >>conftest.
$ac_ext <<_ACEOF
30626 /* end confdefs.h. */
30628 /* Override any gcc2 internal prototype to avoid an error. */
30632 /* We use char because int might match the return type of a gcc2
30633 builtin and then its argument prototype would still apply. */
30643 rm -f conftest.
$ac_objext conftest
$ac_exeext
30644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30645 (eval $ac_link) 2>conftest.er1
30647 grep -v '^ *+' conftest.er1
>conftest.err
30649 cat conftest.err
>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } &&
30652 { ac_try
='test -z "$ac_c_werror_flag"
30653 || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try
='test -s conftest$ac_exeext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 ac_cv_lib_w_wcslen
=yes
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.
$ac_ext >&5
30670 ac_cv_lib_w_wcslen
=no
30672 rm -f conftest.err conftest.
$ac_objext \
30673 conftest
$ac_exeext conftest.
$ac_ext
30674 LIBS
=$ac_check_lib_save_LIBS
30676 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30677 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30678 if test $ac_cv_lib_w_wcslen = yes; then
30688 if test "$WCSLEN_FOUND" = 1; then
30689 cat >>confdefs.h
<<\_ACEOF
30690 #define HAVE_WCSLEN 1
30695 if test "$USE_HPUX" = 1; then
30696 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30700 for ac_func
in wcsrtombs
30702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30703 echo "$as_me:$LINENO: checking for $ac_func" >&5
30704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30705 if eval "test \"\${$as_ac_var+set}\" = set"; then
30706 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 cat >conftest.
$ac_ext <<_ACEOF
30711 cat confdefs.h
>>conftest.
$ac_ext
30712 cat >>conftest.
$ac_ext <<_ACEOF
30713 /* end confdefs.h. */
30714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30716 #define $ac_func innocuous_$ac_func
30718 /* System header to define __stub macros and hopefully few prototypes,
30719 which can conflict with char $ac_func (); below.
30720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30721 <limits.h> exists even on freestanding compilers. */
30724 # include <limits.h>
30726 # include <assert.h>
30731 /* Override any gcc2 internal prototype to avoid an error. */
30736 /* We use char because int might match the return type of a gcc2
30737 builtin and then its argument prototype would still apply. */
30739 /* The GNU C library defines this for functions which it implements
30740 to always fail with ENOSYS. Some functions are actually named
30741 something starting with __ and the normal name is an alias. */
30742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30745 char (*f) () = $ac_func;
30754 return f != $ac_func;
30759 rm -f conftest.
$ac_objext conftest
$ac_exeext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30761 (eval $ac_link) 2>conftest.er1
30763 grep -v '^ *+' conftest.er1
>conftest.err
30765 cat conftest.err
>&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } &&
30768 { ac_try
='test -z "$ac_c_werror_flag"
30769 || test ! -s conftest.err'
30770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771 (eval $ac_try) 2>&5
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; } &&
30775 { ac_try
='test -s conftest$ac_exeext'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; }; then
30781 eval "$as_ac_var=yes"
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.
$ac_ext >&5
30786 eval "$as_ac_var=no"
30788 rm -f conftest.err conftest.
$ac_objext \
30789 conftest
$ac_exeext conftest.
$ac_ext
30791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30793 if test `eval echo '${'$as_ac_var'}'` = yes; then
30794 cat >>confdefs.h
<<_ACEOF
30795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30802 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30803 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30809 ac_cpp
='$CXXCPP $CPPFLAGS'
30810 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30816 for ac_func
in vsnprintf
30818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30819 echo "$as_me:$LINENO: checking for $ac_func" >&5
30820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30821 if eval "test \"\${$as_ac_var+set}\" = set"; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30824 cat >conftest.
$ac_ext <<_ACEOF
30827 cat confdefs.h
>>conftest.
$ac_ext
30828 cat >>conftest.
$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30832 #define $ac_func innocuous_$ac_func
30834 /* System header to define __stub macros and hopefully few prototypes,
30835 which can conflict with char $ac_func (); below.
30836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30837 <limits.h> exists even on freestanding compilers. */
30840 # include <limits.h>
30842 # include <assert.h>
30847 /* Override any gcc2 internal prototype to avoid an error. */
30852 /* We use char because int might match the return type of a gcc2
30853 builtin and then its argument prototype would still apply. */
30855 /* The GNU C library defines this for functions which it implements
30856 to always fail with ENOSYS. Some functions are actually named
30857 something starting with __ and the normal name is an alias. */
30858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30861 char (*f) () = $ac_func;
30870 return f != $ac_func;
30875 rm -f conftest.
$ac_objext conftest
$ac_exeext
30876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30877 (eval $ac_link) 2>conftest.er1
30879 grep -v '^ *+' conftest.er1
>conftest.err
30881 cat conftest.err
>&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } &&
30884 { ac_try
='test -z "$ac_cxx_werror_flag"
30885 || test ! -s conftest.err'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; } &&
30891 { ac_try
='test -s conftest$ac_exeext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30897 eval "$as_ac_var=yes"
30899 echo "$as_me: failed program was:" >&5
30900 sed 's/^/| /' conftest.
$ac_ext >&5
30902 eval "$as_ac_var=no"
30904 rm -f conftest.err conftest.
$ac_objext \
30905 conftest
$ac_exeext conftest.
$ac_ext
30907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30909 if test `eval echo '${'$as_ac_var'}'` = yes; then
30910 cat >>confdefs.h
<<_ACEOF
30911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30918 if test "$ac_cv_func_vsnprintf" = "yes"; then
30919 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30920 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30921 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30922 echo $ECHO_N "(cached) $ECHO_C" >&6
30925 cat >conftest.
$ac_ext <<_ACEOF
30928 cat confdefs.h
>>conftest.
$ac_ext
30929 cat >>conftest.
$ac_ext <<_ACEOF
30930 /* end confdefs.h. */
30933 #include <stdarg.h>
30941 vsnprintf(buf, 10u, "%s", ap);
30947 rm -f conftest.
$ac_objext
30948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30949 (eval $ac_compile) 2>conftest.er1
30951 grep -v '^ *+' conftest.er1
>conftest.err
30953 cat conftest.err
>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } &&
30956 { ac_try
='test -z "$ac_cxx_werror_flag"
30957 || test ! -s conftest.err'
30958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30959 (eval $ac_try) 2>&5
30961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962 (exit $ac_status); }; } &&
30963 { ac_try
='test -s conftest.$ac_objext'
30964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30965 (eval $ac_try) 2>&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); }; }; then
30969 wx_cv_func_vsnprintf_decl
=yes
30971 echo "$as_me: failed program was:" >&5
30972 sed 's/^/| /' conftest.
$ac_ext >&5
30975 cat >conftest.
$ac_ext <<_ACEOF
30978 cat confdefs.h
>>conftest.
$ac_ext
30979 cat >>conftest.
$ac_ext <<_ACEOF
30980 /* end confdefs.h. */
30983 #include <stdarg.h>
30984 using namespace std;
30992 vsnprintf(buf, 10u, "%s", ap);
30998 rm -f conftest.
$ac_objext
30999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31000 (eval $ac_compile) 2>conftest.er1
31002 grep -v '^ *+' conftest.er1
>conftest.err
31004 cat conftest.err
>&5
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); } &&
31007 { ac_try
='test -z "$ac_cxx_werror_flag"
31008 || test ! -s conftest.err'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; } &&
31014 { ac_try
='test -s conftest.$ac_objext'
31015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016 (eval $ac_try) 2>&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); }; }; then
31020 wx_cv_func_vsnprintf_decl
=yes
31022 echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.
$ac_ext >&5
31025 wx_cv_func_vsnprintf_decl
=no
31028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31036 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31037 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31039 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31040 cat >>confdefs.h
<<\_ACEOF
31041 #define HAVE_VSNPRINTF_DECL 1
31047 if test "$wxUSE_UNICODE" = yes; then
31054 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31057 echo "$as_me:$LINENO: checking for $ac_func" >&5
31058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31059 if eval "test \"\${$as_ac_var+set}\" = set"; then
31060 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 cat >conftest.
$ac_ext <<_ACEOF
31065 cat confdefs.h
>>conftest.
$ac_ext
31066 cat >>conftest.
$ac_ext <<_ACEOF
31067 /* end confdefs.h. */
31068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31070 #define $ac_func innocuous_$ac_func
31072 /* System header to define __stub macros and hopefully few prototypes,
31073 which can conflict with char $ac_func (); below.
31074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31075 <limits.h> exists even on freestanding compilers. */
31078 # include <limits.h>
31080 # include <assert.h>
31085 /* Override any gcc2 internal prototype to avoid an error. */
31090 /* We use char because int might match the return type of a gcc2
31091 builtin and then its argument prototype would still apply. */
31093 /* The GNU C library defines this for functions which it implements
31094 to always fail with ENOSYS. Some functions are actually named
31095 something starting with __ and the normal name is an alias. */
31096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31099 char (*f) () = $ac_func;
31108 return f != $ac_func;
31113 rm -f conftest.
$ac_objext conftest
$ac_exeext
31114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31115 (eval $ac_link) 2>conftest.er1
31117 grep -v '^ *+' conftest.er1
>conftest.err
31119 cat conftest.err
>&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); } &&
31122 { ac_try
='test -z "$ac_cxx_werror_flag"
31123 || test ! -s conftest.err'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; } &&
31129 { ac_try
='test -s conftest$ac_exeext'
31130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31131 (eval $ac_try) 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); }; }; then
31135 eval "$as_ac_var=yes"
31137 echo "$as_me: failed program was:" >&5
31138 sed 's/^/| /' conftest.
$ac_ext >&5
31140 eval "$as_ac_var=no"
31142 rm -f conftest.err conftest.
$ac_objext \
31143 conftest
$ac_exeext conftest.
$ac_ext
31145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31147 if test `eval echo '${'$as_ac_var'}'` = yes; then
31148 cat >>confdefs.h
<<_ACEOF
31149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31156 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31157 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31158 cat >conftest.
$ac_ext <<_ACEOF
31161 cat confdefs.h
>>conftest.
$ac_ext
31162 cat >>conftest.
$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31173 rm -f conftest.
$ac_objext
31174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31175 (eval $ac_compile) 2>conftest.er1
31177 grep -v '^ *+' conftest.er1
>conftest.err
31179 cat conftest.err
>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try
='test -z "$ac_cxx_werror_flag"
31183 || test ! -s conftest.err'
31184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31185 (eval $ac_try) 2>&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); }; } &&
31189 { ac_try
='test -s conftest.$ac_objext'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; }; then
31195 echo "$as_me:$LINENO: result: yes" >&5
31196 echo "${ECHO_T}yes" >&6
31197 cat >>confdefs.h
<<\_ACEOF
31198 #define HAVE__VSNWPRINTF 1
31202 echo "$as_me: failed program was:" >&5
31203 sed 's/^/| /' conftest.
$ac_ext >&5
31205 echo "$as_me:$LINENO: result: no" >&5
31206 echo "${ECHO_T}no" >&6
31208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31212 ac_cpp
='$CPP $CPPFLAGS'
31213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31220 if test "$TOOLKIT" != "MSW"; then
31226 ac_cpp
='$CXXCPP $CPPFLAGS'
31227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31234 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31235 if test "${with_libiconv_prefix+set}" = set; then
31236 withval
="$with_libiconv_prefix"
31238 for dir
in `echo "$withval" | tr : ' '`; do
31239 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31240 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31245 echo "$as_me:$LINENO: checking for iconv" >&5
31246 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31247 if test "${am_cv_func_iconv+set}" = set; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31251 am_cv_func_iconv
="no, consider installing GNU libiconv"
31253 cat >conftest.
$ac_ext <<_ACEOF
31256 cat confdefs.h
>>conftest.
$ac_ext
31257 cat >>conftest.
$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31259 #include <stdlib.h>
31264 iconv_t cd = iconv_open("","");
31265 iconv(cd,NULL,NULL,NULL,NULL);
31271 rm -f conftest.
$ac_objext conftest
$ac_exeext
31272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31273 (eval $ac_link) 2>conftest.er1
31275 grep -v '^ *+' conftest.er1
>conftest.err
31277 cat conftest.err
>&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); } &&
31280 { ac_try
='test -z "$ac_cxx_werror_flag"
31281 || test ! -s conftest.err'
31282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31283 (eval $ac_try) 2>&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; } &&
31287 { ac_try
='test -s conftest$ac_exeext'
31288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31289 (eval $ac_try) 2>&5
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); }; }; then
31293 am_cv_func_iconv
=yes
31295 echo "$as_me: failed program was:" >&5
31296 sed 's/^/| /' conftest.
$ac_ext >&5
31299 rm -f conftest.err conftest.
$ac_objext \
31300 conftest
$ac_exeext conftest.
$ac_ext
31301 if test "$am_cv_func_iconv" != yes; then
31302 am_save_LIBS
="$LIBS"
31303 LIBS
="$LIBS -liconv"
31304 cat >conftest.
$ac_ext <<_ACEOF
31307 cat confdefs.h
>>conftest.
$ac_ext
31308 cat >>conftest.
$ac_ext <<_ACEOF
31309 /* end confdefs.h. */
31310 #include <stdlib.h>
31315 iconv_t cd = iconv_open("","");
31316 iconv(cd,NULL,NULL,NULL,NULL);
31322 rm -f conftest.
$ac_objext conftest
$ac_exeext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31324 (eval $ac_link) 2>conftest.er1
31326 grep -v '^ *+' conftest.er1
>conftest.err
31328 cat conftest.err
>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try
='test -z "$ac_cxx_werror_flag"
31332 || test ! -s conftest.err'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; } &&
31338 { ac_try
='test -s conftest$ac_exeext'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; }; then
31344 am_cv_lib_iconv
=yes
31345 am_cv_func_iconv
=yes
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.
$ac_ext >&5
31351 rm -f conftest.err conftest.
$ac_objext \
31352 conftest
$ac_exeext conftest.
$ac_ext
31353 LIBS
="$am_save_LIBS"
31357 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
31358 echo "${ECHO_T}$am_cv_func_iconv" >&6
31359 if test "$am_cv_func_iconv" = yes; then
31361 cat >>confdefs.h
<<\_ACEOF
31362 #define HAVE_ICONV 1
31365 echo "$as_me:$LINENO: checking if iconv needs const" >&5
31366 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
31367 if test "${wx_cv_func_iconv_const+set}" = set; then
31368 echo $ECHO_N "(cached) $ECHO_C" >&6
31370 cat >conftest.
$ac_ext <<_ACEOF
31373 cat confdefs.h
>>conftest.
$ac_ext
31374 cat >>conftest.
$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31377 #include <stdlib.h>
31383 #if defined(__STDC__) || defined(__cplusplus)
31384 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31397 rm -f conftest.
$ac_objext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31399 (eval $ac_compile) 2>conftest.er1
31401 grep -v '^ *+' conftest.er1
>conftest.err
31403 cat conftest.err
>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try
='test -z "$ac_cxx_werror_flag"
31407 || test ! -s conftest.err'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; } &&
31413 { ac_try
='test -s conftest.$ac_objext'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; }; then
31419 wx_cv_func_iconv_const
="no"
31421 echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.
$ac_ext >&5
31424 wx_cv_func_iconv_const
="yes"
31427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31430 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31431 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31434 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31435 iconv_const
="const"
31439 cat >>confdefs.h
<<_ACEOF
31440 #define ICONV_CONST $iconv_const
31445 if test "$am_cv_lib_iconv" = yes; then
31450 LIBS
="$LIBICONV $LIBS"
31452 ac_cpp
='$CPP $CPPFLAGS'
31453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31458 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31460 for ac_func
in sigaction
31462 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31463 echo "$as_me:$LINENO: checking for $ac_func" >&5
31464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31465 if eval "test \"\${$as_ac_var+set}\" = set"; then
31466 echo $ECHO_N "(cached) $ECHO_C" >&6
31468 cat >conftest.
$ac_ext <<_ACEOF
31471 cat confdefs.h
>>conftest.
$ac_ext
31472 cat >>conftest.
$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31476 #define $ac_func innocuous_$ac_func
31478 /* System header to define __stub macros and hopefully few prototypes,
31479 which can conflict with char $ac_func (); below.
31480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31481 <limits.h> exists even on freestanding compilers. */
31484 # include <limits.h>
31486 # include <assert.h>
31491 /* Override any gcc2 internal prototype to avoid an error. */
31496 /* We use char because int might match the return type of a gcc2
31497 builtin and then its argument prototype would still apply. */
31499 /* The GNU C library defines this for functions which it implements
31500 to always fail with ENOSYS. Some functions are actually named
31501 something starting with __ and the normal name is an alias. */
31502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31505 char (*f) () = $ac_func;
31514 return f != $ac_func;
31519 rm -f conftest.
$ac_objext conftest
$ac_exeext
31520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31521 (eval $ac_link) 2>conftest.er1
31523 grep -v '^ *+' conftest.er1
>conftest.err
31525 cat conftest.err
>&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } &&
31528 { ac_try
='test -z "$ac_c_werror_flag"
31529 || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try
='test -s conftest$ac_exeext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541 eval "$as_ac_var=yes"
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.
$ac_ext >&5
31546 eval "$as_ac_var=no"
31548 rm -f conftest.err conftest.
$ac_objext \
31549 conftest
$ac_exeext conftest.
$ac_ext
31551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31553 if test `eval echo '${'$as_ac_var'}'` = yes; then
31554 cat >>confdefs.h
<<_ACEOF
31555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31562 if test "$ac_cv_func_sigaction" = "no"; then
31563 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31564 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31565 wxUSE_ON_FATAL_EXCEPTION
=no
31568 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31572 ac_cpp
='$CXXCPP $CPPFLAGS'
31573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31578 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31579 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31580 if test "${wx_cv_type_sa_handler+set}" = set; then
31581 echo $ECHO_N "(cached) $ECHO_C" >&6
31584 cat >conftest.
$ac_ext <<_ACEOF
31587 cat confdefs.h
>>conftest.
$ac_ext
31588 cat >>conftest.
$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31590 #include <signal.h>
31595 extern void testSigHandler(int);
31597 struct sigaction sa;
31598 sa.sa_handler = testSigHandler;
31604 rm -f conftest.
$ac_objext
31605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31606 (eval $ac_compile) 2>conftest.er1
31608 grep -v '^ *+' conftest.er1
>conftest.err
31610 cat conftest.err
>&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); } &&
31613 { ac_try
='test -z "$ac_cxx_werror_flag"
31614 || test ! -s conftest.err'
31615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31616 (eval $ac_try) 2>&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); }; } &&
31620 { ac_try
='test -s conftest.$ac_objext'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; }; then
31627 wx_cv_type_sa_handler
=int
31630 echo "$as_me: failed program was:" >&5
31631 sed 's/^/| /' conftest.
$ac_ext >&5
31634 wx_cv_type_sa_handler
=void
31637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31640 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31641 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31644 ac_cpp
='$CPP $CPPFLAGS'
31645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31650 cat >>confdefs.h
<<_ACEOF
31651 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31657 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31661 ac_cpp
='$CXXCPP $CPPFLAGS'
31662 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31667 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31668 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31669 if test "${wx_cv_func_backtrace+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31673 cat >conftest.
$ac_ext <<_ACEOF
31676 cat confdefs.h
>>conftest.
$ac_ext
31677 cat >>conftest.
$ac_ext <<_ACEOF
31678 /* end confdefs.h. */
31679 #include <execinfo.h>
31687 backtrace(trace, 1);
31688 messages = backtrace_symbols(trace, 1);
31694 rm -f conftest.
$ac_objext
31695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31696 (eval $ac_compile) 2>conftest.er1
31698 grep -v '^ *+' conftest.er1
>conftest.err
31700 cat conftest.err
>&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); } &&
31703 { ac_try
='test -z "$ac_cxx_werror_flag"
31704 || test ! -s conftest.err'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; } &&
31710 { ac_try
='test -s conftest.$ac_objext'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; }; then
31716 wx_cv_func_backtrace
=yes
31718 echo "$as_me: failed program was:" >&5
31719 sed 's/^/| /' conftest.
$ac_ext >&5
31721 wx_cv_func_backtrace
=no
31724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31728 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31729 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31732 if test "$wx_cv_func_backtrace" = "no"; then
31733 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31734 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31735 wxUSE_STACKWALKER
=no
31737 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31738 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31739 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31740 echo $ECHO_N "(cached) $ECHO_C" >&6
31743 cat >conftest.
$ac_ext <<_ACEOF
31746 cat confdefs.h
>>conftest.
$ac_ext
31747 cat >>conftest.
$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31749 #include <cxxabi.h>
31755 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31761 rm -f conftest.
$ac_objext conftest
$ac_exeext
31762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31763 (eval $ac_link) 2>conftest.er1
31765 grep -v '^ *+' conftest.er1
>conftest.err
31767 cat conftest.err
>&5
31768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31769 (exit $ac_status); } &&
31770 { ac_try
='test -z "$ac_cxx_werror_flag"
31771 || test ! -s conftest.err'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; } &&
31777 { ac_try
='test -s conftest$ac_exeext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 wx_cv_func_cxa_demangle
=yes
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.
$ac_ext >&5
31788 wx_cv_func_cxa_demangle
=no
31791 rm -f conftest.err conftest.
$ac_objext \
31792 conftest
$ac_exeext conftest.
$ac_ext
31796 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31797 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31799 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31800 cat >>confdefs.h
<<\_ACEOF
31801 #define HAVE_CXA_DEMANGLE 1
31808 ac_cpp
='$CPP $CPPFLAGS'
31809 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31815 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
31816 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
31817 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
31818 wxUSE_STACKWALKER
=no
31824 for ac_func
in mkstemp mktemp
31826 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31827 echo "$as_me:$LINENO: checking for $ac_func" >&5
31828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31829 if eval "test \"\${$as_ac_var+set}\" = set"; then
31830 echo $ECHO_N "(cached) $ECHO_C" >&6
31832 cat >conftest.
$ac_ext <<_ACEOF
31835 cat confdefs.h
>>conftest.
$ac_ext
31836 cat >>conftest.
$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31840 #define $ac_func innocuous_$ac_func
31842 /* System header to define __stub macros and hopefully few prototypes,
31843 which can conflict with char $ac_func (); below.
31844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31845 <limits.h> exists even on freestanding compilers. */
31848 # include <limits.h>
31850 # include <assert.h>
31855 /* Override any gcc2 internal prototype to avoid an error. */
31860 /* We use char because int might match the return type of a gcc2
31861 builtin and then its argument prototype would still apply. */
31863 /* The GNU C library defines this for functions which it implements
31864 to always fail with ENOSYS. Some functions are actually named
31865 something starting with __ and the normal name is an alias. */
31866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31869 char (*f) () = $ac_func;
31878 return f != $ac_func;
31883 rm -f conftest.
$ac_objext conftest
$ac_exeext
31884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31885 (eval $ac_link) 2>conftest.er1
31887 grep -v '^ *+' conftest.er1
>conftest.err
31889 cat conftest.err
>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } &&
31892 { ac_try
='test -z "$ac_c_werror_flag"
31893 || test ! -s conftest.err'
31894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31895 (eval $ac_try) 2>&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); }; } &&
31899 { ac_try
='test -s conftest$ac_exeext'
31900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31901 (eval $ac_try) 2>&5
31903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31904 (exit $ac_status); }; }; then
31905 eval "$as_ac_var=yes"
31907 echo "$as_me: failed program was:" >&5
31908 sed 's/^/| /' conftest.
$ac_ext >&5
31910 eval "$as_ac_var=no"
31912 rm -f conftest.err conftest.
$ac_objext \
31913 conftest
$ac_exeext conftest.
$ac_ext
31915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31917 if test `eval echo '${'$as_ac_var'}'` = yes; then
31918 cat >>confdefs.h
<<_ACEOF
31919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31926 echo "$as_me:$LINENO: checking for statfs" >&5
31927 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31928 if test "${wx_cv_func_statfs+set}" = set; then
31929 echo $ECHO_N "(cached) $ECHO_C" >&6
31931 cat >conftest.
$ac_ext <<_ACEOF
31934 cat confdefs.h
>>conftest.
$ac_ext
31935 cat >>conftest.
$ac_ext <<_ACEOF
31936 /* end confdefs.h. */
31938 #if defined(__BSD__)
31939 #include <sys/param.h>
31940 #include <sys/mount.h>
31942 #include <sys/vfs.h>
31960 rm -f conftest.
$ac_objext
31961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31962 (eval $ac_compile) 2>conftest.er1
31964 grep -v '^ *+' conftest.er1
>conftest.err
31966 cat conftest.err
>&5
31967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31968 (exit $ac_status); } &&
31969 { ac_try
='test -z "$ac_c_werror_flag"
31970 || test ! -s conftest.err'
31971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31972 (eval $ac_try) 2>&5
31974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975 (exit $ac_status); }; } &&
31976 { ac_try
='test -s conftest.$ac_objext'
31977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31978 (eval $ac_try) 2>&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); }; }; then
31983 wx_cv_func_statfs
=yes
31986 echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.
$ac_ext >&5
31990 wx_cv_func_statfs
=no
31994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31997 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31998 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32000 if test "$wx_cv_func_statfs" = "yes"; then
32001 wx_cv_type_statvfs_t
="struct statfs"
32002 cat >>confdefs.h
<<\_ACEOF
32003 #define HAVE_STATFS 1
32007 echo "$as_me:$LINENO: checking for statvfs" >&5
32008 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32009 if test "${wx_cv_func_statvfs+set}" = set; then
32010 echo $ECHO_N "(cached) $ECHO_C" >&6
32012 cat >conftest.
$ac_ext <<_ACEOF
32015 cat confdefs.h
>>conftest.
$ac_ext
32016 cat >>conftest.
$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32019 #include <stddef.h>
32020 #include <sys/statvfs.h>
32026 statvfs("/", NULL);
32032 rm -f conftest.
$ac_objext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32034 (eval $ac_compile) 2>conftest.er1
32036 grep -v '^ *+' conftest.er1
>conftest.err
32038 cat conftest.err
>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } &&
32041 { ac_try
='test -z "$ac_c_werror_flag"
32042 || test ! -s conftest.err'
32043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32044 (eval $ac_try) 2>&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); }; } &&
32048 { ac_try
='test -s conftest.$ac_objext'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; }; then
32054 wx_cv_func_statvfs
=yes
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.
$ac_ext >&5
32059 wx_cv_func_statvfs
=no
32062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32065 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32066 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32068 if test "$wx_cv_func_statvfs" = "yes"; then
32072 ac_cpp
='$CXXCPP $CPPFLAGS'
32073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32078 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32079 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32080 if test "${wx_cv_type_statvfs_t+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32083 cat >conftest.
$ac_ext <<_ACEOF
32086 cat confdefs.h
>>conftest.
$ac_ext
32087 cat >>conftest.
$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32090 #include <sys/statvfs.h>
32107 rm -f conftest.
$ac_objext
32108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32109 (eval $ac_compile) 2>conftest.er1
32111 grep -v '^ *+' conftest.er1
>conftest.err
32113 cat conftest.err
>&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); } &&
32116 { ac_try
='test -z "$ac_cxx_werror_flag"
32117 || test ! -s conftest.err'
32118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32119 (eval $ac_try) 2>&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); }; } &&
32123 { ac_try
='test -s conftest.$ac_objext'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; }; then
32129 wx_cv_type_statvfs_t
=statvfs_t
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.
$ac_ext >&5
32135 cat >conftest.
$ac_ext <<_ACEOF
32138 cat confdefs.h
>>conftest.
$ac_ext
32139 cat >>conftest.
$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32142 #include <sys/statvfs.h>
32159 rm -f conftest.
$ac_objext
32160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32161 (eval $ac_compile) 2>conftest.er1
32163 grep -v '^ *+' conftest.er1
>conftest.err
32165 cat conftest.err
>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } &&
32168 { ac_try
='test -z "$ac_cxx_werror_flag"
32169 || test ! -s conftest.err'
32170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32171 (eval $ac_try) 2>&5
32173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32174 (exit $ac_status); }; } &&
32175 { ac_try
='test -s conftest.$ac_objext'
32176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32177 (eval $ac_try) 2>&5
32179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32180 (exit $ac_status); }; }; then
32181 wx_cv_type_statvfs_t
="struct statvfs"
32183 echo "$as_me: failed program was:" >&5
32184 sed 's/^/| /' conftest.
$ac_ext >&5
32186 wx_cv_type_statvfs_t
="unknown"
32189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32196 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32197 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32200 ac_cpp
='$CPP $CPPFLAGS'
32201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32206 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32207 cat >>confdefs.h
<<\_ACEOF
32208 #define HAVE_STATVFS 1
32213 wx_cv_type_statvfs_t
="unknown"
32217 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32218 cat >>confdefs.h
<<_ACEOF
32219 #define WX_STATFS_T $wx_cv_type_statvfs_t
32223 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32224 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32227 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32230 for ac_func
in fcntl flock
32232 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32233 echo "$as_me:$LINENO: checking for $ac_func" >&5
32234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32235 if eval "test \"\${$as_ac_var+set}\" = set"; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 cat >conftest.
$ac_ext <<_ACEOF
32241 cat confdefs.h
>>conftest.
$ac_ext
32242 cat >>conftest.
$ac_ext <<_ACEOF
32243 /* end confdefs.h. */
32244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32246 #define $ac_func innocuous_$ac_func
32248 /* System header to define __stub macros and hopefully few prototypes,
32249 which can conflict with char $ac_func (); below.
32250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32251 <limits.h> exists even on freestanding compilers. */
32254 # include <limits.h>
32256 # include <assert.h>
32261 /* Override any gcc2 internal prototype to avoid an error. */
32266 /* We use char because int might match the return type of a gcc2
32267 builtin and then its argument prototype would still apply. */
32269 /* The GNU C library defines this for functions which it implements
32270 to always fail with ENOSYS. Some functions are actually named
32271 something starting with __ and the normal name is an alias. */
32272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32275 char (*f) () = $ac_func;
32284 return f != $ac_func;
32289 rm -f conftest.
$ac_objext conftest
$ac_exeext
32290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32291 (eval $ac_link) 2>conftest.er1
32293 grep -v '^ *+' conftest.er1
>conftest.err
32295 cat conftest.err
>&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); } &&
32298 { ac_try
='test -z "$ac_c_werror_flag"
32299 || test ! -s conftest.err'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; } &&
32305 { ac_try
='test -s conftest$ac_exeext'
32306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307 (eval $ac_try) 2>&5
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); }; }; then
32311 eval "$as_ac_var=yes"
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.
$ac_ext >&5
32316 eval "$as_ac_var=no"
32318 rm -f conftest.err conftest.
$ac_objext \
32319 conftest
$ac_exeext conftest.
$ac_ext
32321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32323 if test `eval echo '${'$as_ac_var'}'` = yes; then
32324 cat >>confdefs.h
<<_ACEOF
32325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32332 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
32333 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
32334 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
32335 wxUSE_SNGLINST_CHECKER
=no
32340 for ac_func
in timegm
32342 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32343 echo "$as_me:$LINENO: checking for $ac_func" >&5
32344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32345 if eval "test \"\${$as_ac_var+set}\" = set"; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32348 cat >conftest.
$ac_ext <<_ACEOF
32351 cat confdefs.h
>>conftest.
$ac_ext
32352 cat >>conftest.
$ac_ext <<_ACEOF
32353 /* end confdefs.h. */
32354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32356 #define $ac_func innocuous_$ac_func
32358 /* System header to define __stub macros and hopefully few prototypes,
32359 which can conflict with char $ac_func (); below.
32360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32361 <limits.h> exists even on freestanding compilers. */
32364 # include <limits.h>
32366 # include <assert.h>
32371 /* Override any gcc2 internal prototype to avoid an error. */
32376 /* We use char because int might match the return type of a gcc2
32377 builtin and then its argument prototype would still apply. */
32379 /* The GNU C library defines this for functions which it implements
32380 to always fail with ENOSYS. Some functions are actually named
32381 something starting with __ and the normal name is an alias. */
32382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32385 char (*f) () = $ac_func;
32394 return f != $ac_func;
32399 rm -f conftest.
$ac_objext conftest
$ac_exeext
32400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32401 (eval $ac_link) 2>conftest.er1
32403 grep -v '^ *+' conftest.er1
>conftest.err
32405 cat conftest.err
>&5
32406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32407 (exit $ac_status); } &&
32408 { ac_try
='test -z "$ac_c_werror_flag"
32409 || test ! -s conftest.err'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; } &&
32415 { ac_try
='test -s conftest$ac_exeext'
32416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32417 (eval $ac_try) 2>&5
32419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32420 (exit $ac_status); }; }; then
32421 eval "$as_ac_var=yes"
32423 echo "$as_me: failed program was:" >&5
32424 sed 's/^/| /' conftest.
$ac_ext >&5
32426 eval "$as_ac_var=no"
32428 rm -f conftest.err conftest.
$ac_objext \
32429 conftest
$ac_exeext conftest.
$ac_ext
32431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32433 if test `eval echo '${'$as_ac_var'}'` = yes; then
32434 cat >>confdefs.h
<<_ACEOF
32435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32444 for ac_func
in putenv setenv
32446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32447 echo "$as_me:$LINENO: checking for $ac_func" >&5
32448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32449 if eval "test \"\${$as_ac_var+set}\" = set"; then
32450 echo $ECHO_N "(cached) $ECHO_C" >&6
32452 cat >conftest.
$ac_ext <<_ACEOF
32455 cat confdefs.h
>>conftest.
$ac_ext
32456 cat >>conftest.
$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32460 #define $ac_func innocuous_$ac_func
32462 /* System header to define __stub macros and hopefully few prototypes,
32463 which can conflict with char $ac_func (); below.
32464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32465 <limits.h> exists even on freestanding compilers. */
32468 # include <limits.h>
32470 # include <assert.h>
32475 /* Override any gcc2 internal prototype to avoid an error. */
32480 /* We use char because int might match the return type of a gcc2
32481 builtin and then its argument prototype would still apply. */
32483 /* The GNU C library defines this for functions which it implements
32484 to always fail with ENOSYS. Some functions are actually named
32485 something starting with __ and the normal name is an alias. */
32486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32489 char (*f) () = $ac_func;
32498 return f != $ac_func;
32503 rm -f conftest.
$ac_objext conftest
$ac_exeext
32504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32505 (eval $ac_link) 2>conftest.er1
32507 grep -v '^ *+' conftest.er1
>conftest.err
32509 cat conftest.err
>&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } &&
32512 { ac_try
='test -z "$ac_c_werror_flag"
32513 || test ! -s conftest.err'
32514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32515 (eval $ac_try) 2>&5
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); }; } &&
32519 { ac_try
='test -s conftest$ac_exeext'
32520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521 (eval $ac_try) 2>&5
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); }; }; then
32525 eval "$as_ac_var=yes"
32527 echo "$as_me: failed program was:" >&5
32528 sed 's/^/| /' conftest.
$ac_ext >&5
32530 eval "$as_ac_var=no"
32532 rm -f conftest.err conftest.
$ac_objext \
32533 conftest
$ac_exeext conftest.
$ac_ext
32535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32537 if test `eval echo '${'$as_ac_var'}'` = yes; then
32538 cat >>confdefs.h
<<_ACEOF
32539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32546 HAVE_SOME_SLEEP_FUNC
=0
32547 if test "$USE_BEOS" = 1; then
32548 cat >>confdefs.h
<<\_ACEOF
32549 #define HAVE_SLEEP 1
32552 HAVE_SOME_SLEEP_FUNC
=1
32555 if test "$USE_DARWIN" = 1; then
32556 cat >>confdefs.h
<<\_ACEOF
32557 #define HAVE_USLEEP 1
32560 HAVE_SOME_SLEEP_FUNC
=1
32563 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32566 for ac_func
in nanosleep
32568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32569 echo "$as_me:$LINENO: checking for $ac_func" >&5
32570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32571 if eval "test \"\${$as_ac_var+set}\" = set"; then
32572 echo $ECHO_N "(cached) $ECHO_C" >&6
32574 cat >conftest.
$ac_ext <<_ACEOF
32577 cat confdefs.h
>>conftest.
$ac_ext
32578 cat >>conftest.
$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32582 #define $ac_func innocuous_$ac_func
32584 /* System header to define __stub macros and hopefully few prototypes,
32585 which can conflict with char $ac_func (); below.
32586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32587 <limits.h> exists even on freestanding compilers. */
32590 # include <limits.h>
32592 # include <assert.h>
32597 /* Override any gcc2 internal prototype to avoid an error. */
32602 /* We use char because int might match the return type of a gcc2
32603 builtin and then its argument prototype would still apply. */
32605 /* The GNU C library defines this for functions which it implements
32606 to always fail with ENOSYS. Some functions are actually named
32607 something starting with __ and the normal name is an alias. */
32608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32611 char (*f) () = $ac_func;
32620 return f != $ac_func;
32625 rm -f conftest.
$ac_objext conftest
$ac_exeext
32626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32627 (eval $ac_link) 2>conftest.er1
32629 grep -v '^ *+' conftest.er1
>conftest.err
32631 cat conftest.err
>&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } &&
32634 { ac_try
='test -z "$ac_c_werror_flag"
32635 || test ! -s conftest.err'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; } &&
32641 { ac_try
='test -s conftest$ac_exeext'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; }; then
32647 eval "$as_ac_var=yes"
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.
$ac_ext >&5
32652 eval "$as_ac_var=no"
32654 rm -f conftest.err conftest.
$ac_objext \
32655 conftest
$ac_exeext conftest.
$ac_ext
32657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32659 if test `eval echo '${'$as_ac_var'}'` = yes; then
32660 cat >>confdefs.h
<<_ACEOF
32661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32663 cat >>confdefs.h
<<\_ACEOF
32664 #define HAVE_NANOSLEEP 1
32669 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32670 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32671 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32674 ac_check_lib_save_LIBS
=$LIBS
32675 LIBS
="-lposix4 $LIBS"
32676 cat >conftest.
$ac_ext <<_ACEOF
32679 cat confdefs.h
>>conftest.
$ac_ext
32680 cat >>conftest.
$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32683 /* Override any gcc2 internal prototype to avoid an error. */
32687 /* We use char because int might match the return type of a gcc2
32688 builtin and then its argument prototype would still apply. */
32698 rm -f conftest.
$ac_objext conftest
$ac_exeext
32699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32700 (eval $ac_link) 2>conftest.er1
32702 grep -v '^ *+' conftest.er1
>conftest.err
32704 cat conftest.err
>&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } &&
32707 { ac_try
='test -z "$ac_c_werror_flag"
32708 || test ! -s conftest.err'
32709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32710 (eval $ac_try) 2>&5
32712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32713 (exit $ac_status); }; } &&
32714 { ac_try
='test -s conftest$ac_exeext'
32715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32716 (eval $ac_try) 2>&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); }; }; then
32720 ac_cv_lib_posix4_nanosleep
=yes
32722 echo "$as_me: failed program was:" >&5
32723 sed 's/^/| /' conftest.
$ac_ext >&5
32725 ac_cv_lib_posix4_nanosleep
=no
32727 rm -f conftest.err conftest.
$ac_objext \
32728 conftest
$ac_exeext conftest.
$ac_ext
32729 LIBS
=$ac_check_lib_save_LIBS
32731 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32732 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32733 if test $ac_cv_lib_posix4_nanosleep = yes; then
32735 cat >>confdefs.h
<<\_ACEOF
32736 #define HAVE_NANOSLEEP 1
32739 POSIX4_LINK
=" -lposix4"
32744 for ac_func
in usleep
32746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32747 echo "$as_me:$LINENO: checking for $ac_func" >&5
32748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32749 if eval "test \"\${$as_ac_var+set}\" = set"; then
32750 echo $ECHO_N "(cached) $ECHO_C" >&6
32752 cat >conftest.
$ac_ext <<_ACEOF
32755 cat confdefs.h
>>conftest.
$ac_ext
32756 cat >>conftest.
$ac_ext <<_ACEOF
32757 /* end confdefs.h. */
32758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32760 #define $ac_func innocuous_$ac_func
32762 /* System header to define __stub macros and hopefully few prototypes,
32763 which can conflict with char $ac_func (); below.
32764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32765 <limits.h> exists even on freestanding compilers. */
32768 # include <limits.h>
32770 # include <assert.h>
32775 /* Override any gcc2 internal prototype to avoid an error. */
32780 /* We use char because int might match the return type of a gcc2
32781 builtin and then its argument prototype would still apply. */
32783 /* The GNU C library defines this for functions which it implements
32784 to always fail with ENOSYS. Some functions are actually named
32785 something starting with __ and the normal name is an alias. */
32786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32789 char (*f) () = $ac_func;
32798 return f != $ac_func;
32803 rm -f conftest.
$ac_objext conftest
$ac_exeext
32804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32805 (eval $ac_link) 2>conftest.er1
32807 grep -v '^ *+' conftest.er1
>conftest.err
32809 cat conftest.err
>&5
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); } &&
32812 { ac_try
='test -z "$ac_c_werror_flag"
32813 || test ! -s conftest.err'
32814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32815 (eval $ac_try) 2>&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); }; } &&
32819 { ac_try
='test -s conftest$ac_exeext'
32820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32821 (eval $ac_try) 2>&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); }; }; then
32825 eval "$as_ac_var=yes"
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.
$ac_ext >&5
32830 eval "$as_ac_var=no"
32832 rm -f conftest.err conftest.
$ac_objext \
32833 conftest
$ac_exeext conftest.
$ac_ext
32835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32837 if test `eval echo '${'$as_ac_var'}'` = yes; then
32838 cat >>confdefs.h
<<_ACEOF
32839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32841 cat >>confdefs.h
<<\_ACEOF
32842 #define HAVE_USLEEP 1
32846 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32847 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32865 for ac_func
in uname gethostname
32867 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32868 echo "$as_me:$LINENO: checking for $ac_func" >&5
32869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32870 if eval "test \"\${$as_ac_var+set}\" = set"; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32873 cat >conftest.
$ac_ext <<_ACEOF
32876 cat confdefs.h
>>conftest.
$ac_ext
32877 cat >>conftest.
$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32881 #define $ac_func innocuous_$ac_func
32883 /* System header to define __stub macros and hopefully few prototypes,
32884 which can conflict with char $ac_func (); below.
32885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32886 <limits.h> exists even on freestanding compilers. */
32889 # include <limits.h>
32891 # include <assert.h>
32896 /* Override any gcc2 internal prototype to avoid an error. */
32901 /* We use char because int might match the return type of a gcc2
32902 builtin and then its argument prototype would still apply. */
32904 /* The GNU C library defines this for functions which it implements
32905 to always fail with ENOSYS. Some functions are actually named
32906 something starting with __ and the normal name is an alias. */
32907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32910 char (*f) () = $ac_func;
32919 return f != $ac_func;
32924 rm -f conftest.
$ac_objext conftest
$ac_exeext
32925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32926 (eval $ac_link) 2>conftest.er1
32928 grep -v '^ *+' conftest.er1
>conftest.err
32930 cat conftest.err
>&5
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); } &&
32933 { ac_try
='test -z "$ac_c_werror_flag"
32934 || test ! -s conftest.err'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; } &&
32940 { ac_try
='test -s conftest$ac_exeext'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; }; then
32946 eval "$as_ac_var=yes"
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.
$ac_ext >&5
32951 eval "$as_ac_var=no"
32953 rm -f conftest.err conftest.
$ac_objext \
32954 conftest
$ac_exeext conftest.
$ac_ext
32956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32958 if test `eval echo '${'$as_ac_var'}'` = yes; then
32959 cat >>confdefs.h
<<_ACEOF
32960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32970 ac_cpp
='$CXXCPP $CPPFLAGS'
32971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32977 for ac_func
in strtok_r
32979 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32980 echo "$as_me:$LINENO: checking for $ac_func" >&5
32981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32982 if eval "test \"\${$as_ac_var+set}\" = set"; then
32983 echo $ECHO_N "(cached) $ECHO_C" >&6
32985 cat >conftest.
$ac_ext <<_ACEOF
32988 cat confdefs.h
>>conftest.
$ac_ext
32989 cat >>conftest.
$ac_ext <<_ACEOF
32990 /* end confdefs.h. */
32991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32993 #define $ac_func innocuous_$ac_func
32995 /* System header to define __stub macros and hopefully few prototypes,
32996 which can conflict with char $ac_func (); below.
32997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32998 <limits.h> exists even on freestanding compilers. */
33001 # include <limits.h>
33003 # include <assert.h>
33008 /* Override any gcc2 internal prototype to avoid an error. */
33013 /* We use char because int might match the return type of a gcc2
33014 builtin and then its argument prototype would still apply. */
33016 /* The GNU C library defines this for functions which it implements
33017 to always fail with ENOSYS. Some functions are actually named
33018 something starting with __ and the normal name is an alias. */
33019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33022 char (*f) () = $ac_func;
33031 return f != $ac_func;
33036 rm -f conftest.
$ac_objext conftest
$ac_exeext
33037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33038 (eval $ac_link) 2>conftest.er1
33040 grep -v '^ *+' conftest.er1
>conftest.err
33042 cat conftest.err
>&5
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); } &&
33045 { ac_try
='test -z "$ac_cxx_werror_flag"
33046 || test ! -s conftest.err'
33047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33048 (eval $ac_try) 2>&5
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; } &&
33052 { ac_try
='test -s conftest$ac_exeext'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; }; then
33058 eval "$as_ac_var=yes"
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.
$ac_ext >&5
33063 eval "$as_ac_var=no"
33065 rm -f conftest.err conftest.
$ac_objext \
33066 conftest
$ac_exeext conftest.
$ac_ext
33068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33070 if test `eval echo '${'$as_ac_var'}'` = yes; then
33071 cat >>confdefs.h
<<_ACEOF
33072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33080 ac_cpp
='$CPP $CPPFLAGS'
33081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33088 for ac_func
in inet_addr
33090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33091 echo "$as_me:$LINENO: checking for $ac_func" >&5
33092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33093 if eval "test \"\${$as_ac_var+set}\" = set"; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 cat >conftest.
$ac_ext <<_ACEOF
33099 cat confdefs.h
>>conftest.
$ac_ext
33100 cat >>conftest.
$ac_ext <<_ACEOF
33101 /* end confdefs.h. */
33102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33104 #define $ac_func innocuous_$ac_func
33106 /* System header to define __stub macros and hopefully few prototypes,
33107 which can conflict with char $ac_func (); below.
33108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33109 <limits.h> exists even on freestanding compilers. */
33112 # include <limits.h>
33114 # include <assert.h>
33119 /* Override any gcc2 internal prototype to avoid an error. */
33124 /* We use char because int might match the return type of a gcc2
33125 builtin and then its argument prototype would still apply. */
33127 /* The GNU C library defines this for functions which it implements
33128 to always fail with ENOSYS. Some functions are actually named
33129 something starting with __ and the normal name is an alias. */
33130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33133 char (*f) () = $ac_func;
33142 return f != $ac_func;
33147 rm -f conftest.
$ac_objext conftest
$ac_exeext
33148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33149 (eval $ac_link) 2>conftest.er1
33151 grep -v '^ *+' conftest.er1
>conftest.err
33153 cat conftest.err
>&5
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); } &&
33156 { ac_try
='test -z "$ac_c_werror_flag"
33157 || test ! -s conftest.err'
33158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33159 (eval $ac_try) 2>&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); }; } &&
33163 { ac_try
='test -s conftest$ac_exeext'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; }; then
33169 eval "$as_ac_var=yes"
33171 echo "$as_me: failed program was:" >&5
33172 sed 's/^/| /' conftest.
$ac_ext >&5
33174 eval "$as_ac_var=no"
33176 rm -f conftest.err conftest.
$ac_objext \
33177 conftest
$ac_exeext conftest.
$ac_ext
33179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33181 if test `eval echo '${'$as_ac_var'}'` = yes; then
33182 cat >>confdefs.h
<<_ACEOF
33183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33185 cat >>confdefs.h
<<\_ACEOF
33186 #define HAVE_INET_ADDR 1
33191 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33192 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33193 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 ac_check_lib_save_LIBS
=$LIBS
33198 cat >conftest.
$ac_ext <<_ACEOF
33201 cat confdefs.h
>>conftest.
$ac_ext
33202 cat >>conftest.
$ac_ext <<_ACEOF
33203 /* end confdefs.h. */
33205 /* Override any gcc2 internal prototype to avoid an error. */
33209 /* We use char because int might match the return type of a gcc2
33210 builtin and then its argument prototype would still apply. */
33220 rm -f conftest.
$ac_objext conftest
$ac_exeext
33221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33222 (eval $ac_link) 2>conftest.er1
33224 grep -v '^ *+' conftest.er1
>conftest.err
33226 cat conftest.err
>&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); } &&
33229 { ac_try
='test -z "$ac_c_werror_flag"
33230 || test ! -s conftest.err'
33231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33232 (eval $ac_try) 2>&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); }; } &&
33236 { ac_try
='test -s conftest$ac_exeext'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; }; then
33242 ac_cv_lib_nsl_inet_addr
=yes
33244 echo "$as_me: failed program was:" >&5
33245 sed 's/^/| /' conftest.
$ac_ext >&5
33247 ac_cv_lib_nsl_inet_addr
=no
33249 rm -f conftest.err conftest.
$ac_objext \
33250 conftest
$ac_exeext conftest.
$ac_ext
33251 LIBS
=$ac_check_lib_save_LIBS
33253 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33254 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33255 if test $ac_cv_lib_nsl_inet_addr = yes; then
33259 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33260 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33261 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33262 echo $ECHO_N "(cached) $ECHO_C" >&6
33264 ac_check_lib_save_LIBS
=$LIBS
33265 LIBS
="-lresolv $LIBS"
33266 cat >conftest.
$ac_ext <<_ACEOF
33269 cat confdefs.h
>>conftest.
$ac_ext
33270 cat >>conftest.
$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33273 /* Override any gcc2 internal prototype to avoid an error. */
33277 /* We use char because int might match the return type of a gcc2
33278 builtin and then its argument prototype would still apply. */
33288 rm -f conftest.
$ac_objext conftest
$ac_exeext
33289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33290 (eval $ac_link) 2>conftest.er1
33292 grep -v '^ *+' conftest.er1
>conftest.err
33294 cat conftest.err
>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } &&
33297 { ac_try
='test -z "$ac_c_werror_flag"
33298 || test ! -s conftest.err'
33299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33300 (eval $ac_try) 2>&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); }; } &&
33304 { ac_try
='test -s conftest$ac_exeext'
33305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306 (eval $ac_try) 2>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; }; then
33310 ac_cv_lib_resolv_inet_addr
=yes
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.
$ac_ext >&5
33315 ac_cv_lib_resolv_inet_addr
=no
33317 rm -f conftest.err conftest.
$ac_objext \
33318 conftest
$ac_exeext conftest.
$ac_ext
33319 LIBS
=$ac_check_lib_save_LIBS
33321 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
33322 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
33323 if test $ac_cv_lib_resolv_inet_addr = yes; then
33327 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
33328 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
33329 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
33330 echo $ECHO_N "(cached) $ECHO_C" >&6
33332 ac_check_lib_save_LIBS
=$LIBS
33333 LIBS
="-lsocket $LIBS"
33334 cat >conftest.
$ac_ext <<_ACEOF
33337 cat confdefs.h
>>conftest.
$ac_ext
33338 cat >>conftest.
$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33341 /* Override any gcc2 internal prototype to avoid an error. */
33345 /* We use char because int might match the return type of a gcc2
33346 builtin and then its argument prototype would still apply. */
33356 rm -f conftest.
$ac_objext conftest
$ac_exeext
33357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33358 (eval $ac_link) 2>conftest.er1
33360 grep -v '^ *+' conftest.er1
>conftest.err
33362 cat conftest.err
>&5
33363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33364 (exit $ac_status); } &&
33365 { ac_try
='test -z "$ac_c_werror_flag"
33366 || test ! -s conftest.err'
33367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33368 (eval $ac_try) 2>&5
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); }; } &&
33372 { ac_try
='test -s conftest$ac_exeext'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; }; then
33378 ac_cv_lib_socket_inet_addr
=yes
33380 echo "$as_me: failed program was:" >&5
33381 sed 's/^/| /' conftest.
$ac_ext >&5
33383 ac_cv_lib_socket_inet_addr
=no
33385 rm -f conftest.err conftest.
$ac_objext \
33386 conftest
$ac_exeext conftest.
$ac_ext
33387 LIBS
=$ac_check_lib_save_LIBS
33389 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
33390 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
33391 if test $ac_cv_lib_socket_inet_addr = yes; then
33411 for ac_func
in inet_aton
33413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33414 echo "$as_me:$LINENO: checking for $ac_func" >&5
33415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33416 if eval "test \"\${$as_ac_var+set}\" = set"; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 cat >conftest.
$ac_ext <<_ACEOF
33422 cat confdefs.h
>>conftest.
$ac_ext
33423 cat >>conftest.
$ac_ext <<_ACEOF
33424 /* end confdefs.h. */
33425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33427 #define $ac_func innocuous_$ac_func
33429 /* System header to define __stub macros and hopefully few prototypes,
33430 which can conflict with char $ac_func (); below.
33431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33432 <limits.h> exists even on freestanding compilers. */
33435 # include <limits.h>
33437 # include <assert.h>
33442 /* Override any gcc2 internal prototype to avoid an error. */
33447 /* We use char because int might match the return type of a gcc2
33448 builtin and then its argument prototype would still apply. */
33450 /* The GNU C library defines this for functions which it implements
33451 to always fail with ENOSYS. Some functions are actually named
33452 something starting with __ and the normal name is an alias. */
33453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33456 char (*f) () = $ac_func;
33465 return f != $ac_func;
33470 rm -f conftest.
$ac_objext conftest
$ac_exeext
33471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33472 (eval $ac_link) 2>conftest.er1
33474 grep -v '^ *+' conftest.er1
>conftest.err
33476 cat conftest.err
>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } &&
33479 { ac_try
='test -z "$ac_c_werror_flag"
33480 || test ! -s conftest.err'
33481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33482 (eval $ac_try) 2>&5
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); }; } &&
33486 { ac_try
='test -s conftest$ac_exeext'
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; }; then
33492 eval "$as_ac_var=yes"
33494 echo "$as_me: failed program was:" >&5
33495 sed 's/^/| /' conftest.
$ac_ext >&5
33497 eval "$as_ac_var=no"
33499 rm -f conftest.err conftest.
$ac_objext \
33500 conftest
$ac_exeext conftest.
$ac_ext
33502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33504 if test `eval echo '${'$as_ac_var'}'` = yes; then
33505 cat >>confdefs.h
<<_ACEOF
33506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33508 cat >>confdefs.h
<<\_ACEOF
33509 #define HAVE_INET_ATON 1
33514 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33515 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33516 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33517 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33520 ac_check_lib_save_LIBS
=$LIBS
33521 LIBS
="-l$INET_LINK $LIBS"
33522 cat >conftest.
$ac_ext <<_ACEOF
33525 cat confdefs.h
>>conftest.
$ac_ext
33526 cat >>conftest.
$ac_ext <<_ACEOF
33527 /* end confdefs.h. */
33529 /* Override any gcc2 internal prototype to avoid an error. */
33533 /* We use char because int might match the return type of a gcc2
33534 builtin and then its argument prototype would still apply. */
33544 rm -f conftest.
$ac_objext conftest
$ac_exeext
33545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33546 (eval $ac_link) 2>conftest.er1
33548 grep -v '^ *+' conftest.er1
>conftest.err
33550 cat conftest.err
>&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } &&
33553 { ac_try
='test -z "$ac_c_werror_flag"
33554 || test ! -s conftest.err'
33555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33556 (eval $ac_try) 2>&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); }; } &&
33560 { ac_try
='test -s conftest$ac_exeext'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; }; then
33566 eval "$as_ac_Lib=yes"
33568 echo "$as_me: failed program was:" >&5
33569 sed 's/^/| /' conftest.
$ac_ext >&5
33571 eval "$as_ac_Lib=no"
33573 rm -f conftest.err conftest.
$ac_objext \
33574 conftest
$ac_exeext conftest.
$ac_ext
33575 LIBS
=$ac_check_lib_save_LIBS
33577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33578 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33579 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33580 cat >>confdefs.h
<<\_ACEOF
33581 #define HAVE_INET_ATON 1
33591 if test "x$INET_LINK" != "x"; then
33592 cat >>confdefs.h
<<\_ACEOF
33593 #define HAVE_INET_ADDR 1
33596 INET_LINK
=" -l$INET_LINK"
33604 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33605 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33606 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33607 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 ac_check_lib_save_LIBS
=$LIBS
33611 cat >conftest.
$ac_ext <<_ACEOF
33614 cat confdefs.h
>>conftest.
$ac_ext
33615 cat >>conftest.
$ac_ext <<_ACEOF
33616 /* end confdefs.h. */
33618 /* Override any gcc2 internal prototype to avoid an error. */
33622 /* We use char because int might match the return type of a gcc2
33623 builtin and then its argument prototype would still apply. */
33633 rm -f conftest.
$ac_objext conftest
$ac_exeext
33634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33635 (eval $ac_link) 2>conftest.er1
33637 grep -v '^ *+' conftest.er1
>conftest.err
33639 cat conftest.err
>&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); } &&
33642 { ac_try
='test -z "$ac_c_werror_flag"
33643 || test ! -s conftest.err'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; } &&
33649 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
33655 ac_cv_lib_esd_esd_close
=yes
33657 echo "$as_me: failed program was:" >&5
33658 sed 's/^/| /' conftest.
$ac_ext >&5
33660 ac_cv_lib_esd_esd_close
=no
33662 rm -f conftest.err conftest.
$ac_objext \
33663 conftest
$ac_exeext conftest.
$ac_ext
33664 LIBS
=$ac_check_lib_save_LIBS
33666 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33667 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33668 if test $ac_cv_lib_esd_esd_close = yes; then
33671 for ac_header
in esd.h
33673 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33675 echo "$as_me:$LINENO: checking for $ac_header" >&5
33676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33678 echo $ECHO_N "(cached) $ECHO_C" >&6
33680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33683 # Is the header compilable?
33684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33686 cat >conftest.
$ac_ext <<_ACEOF
33689 cat confdefs.h
>>conftest.
$ac_ext
33690 cat >>conftest.
$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692 $ac_includes_default
33693 #include <$ac_header>
33695 rm -f conftest.
$ac_objext
33696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33697 (eval $ac_compile) 2>conftest.er1
33699 grep -v '^ *+' conftest.er1
>conftest.err
33701 cat conftest.err
>&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } &&
33704 { ac_try
='test -z "$ac_c_werror_flag"
33705 || test ! -s conftest.err'
33706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33707 (eval $ac_try) 2>&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); }; } &&
33711 { ac_try
='test -s conftest.$ac_objext'
33712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33713 (eval $ac_try) 2>&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); }; }; then
33717 ac_header_compiler
=yes
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.
$ac_ext >&5
33722 ac_header_compiler
=no
33724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33726 echo "${ECHO_T}$ac_header_compiler" >&6
33728 # Is the header present?
33729 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33730 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33731 cat >conftest.
$ac_ext <<_ACEOF
33734 cat confdefs.h
>>conftest.
$ac_ext
33735 cat >>conftest.
$ac_ext <<_ACEOF
33736 /* end confdefs.h. */
33737 #include <$ac_header>
33739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33740 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33742 grep -v '^ *+' conftest.er1
>conftest.err
33744 cat conftest.err
>&5
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); } >/dev
/null
; then
33747 if test -s conftest.err
; then
33748 ac_cpp_err
=$ac_c_preproc_warn_flag
33749 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33756 if test -z "$ac_cpp_err"; then
33757 ac_header_preproc
=yes
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.
$ac_ext >&5
33762 ac_header_preproc
=no
33764 rm -f conftest.err conftest.
$ac_ext
33765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33766 echo "${ECHO_T}$ac_header_preproc" >&6
33768 # So? What about this header?
33769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33774 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33775 ac_header_preproc
=yes
33778 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33779 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33780 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33781 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33782 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33783 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33784 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33785 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33787 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33788 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33789 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33792 ## ----------------------------------------- ##
33793 ## Report this to wx-dev@lists.wxwidgets.org ##
33794 ## ----------------------------------------- ##
33797 sed "s/^/$as_me: WARNING: /" >&2
33800 echo "$as_me:$LINENO: checking for $ac_header" >&5
33801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33803 echo $ECHO_N "(cached) $ECHO_C" >&6
33805 eval "$as_ac_Header=\$ac_header_preproc"
33807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33812 cat >>confdefs.h
<<_ACEOF
33813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33816 EXTRALIBS_ESD
="-lesd"
33827 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33828 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33829 cat >conftest.
$ac_ext <<_ACEOF
33832 cat confdefs.h
>>conftest.
$ac_ext
33833 cat >>conftest.
$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33836 #include <linux/cdrom.h>
33839 #include <sys/cdio.h>
33845 struct cdrom_tocentry entry, old_entry;
33850 rm -f conftest.
$ac_objext
33851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33852 (eval $ac_compile) 2>conftest.er1
33854 grep -v '^ *+' conftest.er1
>conftest.err
33856 cat conftest.err
>&5
33857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33858 (exit $ac_status); } &&
33859 { ac_try
='test -z "$ac_c_werror_flag"
33860 || test ! -s conftest.err'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; } &&
33866 { ac_try
='test -s conftest.$ac_objext'
33867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33868 (eval $ac_try) 2>&5
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); }; }; then
33872 echo "$as_me:$LINENO: result: yes" >&5
33873 echo "${ECHO_T}yes" >&6
33874 cat >>confdefs.h
<<\_ACEOF
33875 #define HAVE_KNOWN_CDROM_INTERFACE 1
33879 echo "$as_me: failed program was:" >&5
33880 sed 's/^/| /' conftest.
$ac_ext >&5
33882 echo "$as_me:$LINENO: result: no" >&5
33883 echo "${ECHO_T}no" >&6
33885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33888 cat >confcache
<<\_ACEOF
33889 # This file is a shell script that caches the results of configure
33890 # tests run on this system so they can be shared between configure
33891 # scripts and configure runs, see configure's option --config-cache.
33892 # It is not useful on other systems. If it contains results you don't
33893 # want to keep, you may remove or edit it.
33895 # config.status only pays attention to the cache file if you give it
33896 # the --recheck option to rerun configure.
33898 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33899 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33900 # following values.
33904 # The following way of writing the cache mishandles newlines in values,
33905 # but we know of no workaround that is simple, portable, and efficient.
33906 # So, don't put newlines in cache variables' values.
33907 # Ultrix sh set writes to stderr and can't be redirected directly,
33908 # and sets the high bit in the cache file unless we assign to the vars.
33911 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33913 # `set' does not quote correctly, so add quotes (double-quote
33914 # substitution turns \\\\ into \\, and sed turns \\ into \).
33917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33920 # `set' quotes correctly as required by POSIX, so do not add quotes.
33922 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33931 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33933 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33934 if test -w $cache_file; then
33935 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33936 cat confcache
>$cache_file
33938 echo "not updating unwritable cache $cache_file"
33945 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33951 if test "$wxUSE_THREADS" = "yes" ; then
33952 if test "$USE_BEOS" = 1; then
33953 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33954 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33959 if test "$wxUSE_THREADS" = "yes" ; then
33962 THREAD_OPTS
="-pthread"
33964 *-*-solaris2* | *-*-sunos4* )
33965 if test "x$GCC" = "xyes"; then
33966 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33968 THREAD_OPTS
="-mt $THREAD_OPTS"
33972 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33974 *-*-darwin* | *-*-cygwin* )
33978 THREAD_OPTS
="pthreads"
33981 if test "x$GCC" != "xyes"; then
33987 if test "x$GCC" = "xyes"; then
33993 if test "x$GCC" != "xyes"; then
33994 THREAD_OPTS
="-Ethread"
33999 THREAD_OPTS
="$THREAD_OPTS pthread none"
34002 for flag
in $THREAD_OPTS; do
34005 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34006 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34010 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34011 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34012 THREADS_CFLAGS
="$flag"
34016 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34017 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34018 THREADS_LINK
="-l$flag"
34023 save_CFLAGS
="$CFLAGS"
34024 LIBS
="$THREADS_LINK $LIBS"
34025 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34027 cat >conftest.
$ac_ext <<_ACEOF
34030 cat confdefs.h
>>conftest.
$ac_ext
34031 cat >>conftest.
$ac_ext <<_ACEOF
34032 /* end confdefs.h. */
34033 #include <pthread.h>
34037 pthread_create(0,0,0,0);
34042 rm -f conftest.
$ac_objext conftest
$ac_exeext
34043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34044 (eval $ac_link) 2>conftest.er1
34046 grep -v '^ *+' conftest.er1
>conftest.err
34048 cat conftest.err
>&5
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); } &&
34051 { ac_try
='test -z "$ac_c_werror_flag"
34052 || test ! -s conftest.err'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; } &&
34058 { ac_try
='test -s conftest$ac_exeext'
34059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060 (eval $ac_try) 2>&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); }; }; then
34066 echo "$as_me: failed program was:" >&5
34067 sed 's/^/| /' conftest.
$ac_ext >&5
34070 rm -f conftest.err conftest.
$ac_objext \
34071 conftest
$ac_exeext conftest.
$ac_ext
34074 CFLAGS
="$save_CFLAGS"
34076 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34077 echo "${ECHO_T}$THREADS_OK" >&6
34078 if test "x$THREADS_OK" = "xyes"; then
34086 if test "x$THREADS_OK" != "xyes"; then
34088 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34089 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34091 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34092 LIBS
="$THREADS_LINK $LIBS"
34094 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34095 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34099 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34100 flag
="-D_THREAD_SAFE"
34103 flag
="-D_THREAD_SAFE"
34106 flag
="-D_REENTRANT"
34107 if test "x$GCC" != "xyes"; then
34108 flag
="$flag -D_RWSTD_MULTI_THREAD"
34111 *solaris
* | alpha
*-osf*)
34112 flag
="-D_REENTRANT"
34115 echo "$as_me:$LINENO: result: ${flag}" >&5
34116 echo "${ECHO_T}${flag}" >&6
34117 if test "x$flag" != xno
; then
34118 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34121 if test "x$THREADS_CFLAGS" != "x"; then
34122 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34123 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34128 if test "$wxUSE_THREADS" = "yes" ; then
34130 for ac_func
in thr_setconcurrency
34132 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34133 echo "$as_me:$LINENO: checking for $ac_func" >&5
34134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34135 if eval "test \"\${$as_ac_var+set}\" = set"; then
34136 echo $ECHO_N "(cached) $ECHO_C" >&6
34138 cat >conftest.
$ac_ext <<_ACEOF
34141 cat confdefs.h
>>conftest.
$ac_ext
34142 cat >>conftest.
$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34146 #define $ac_func innocuous_$ac_func
34148 /* System header to define __stub macros and hopefully few prototypes,
34149 which can conflict with char $ac_func (); below.
34150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34151 <limits.h> exists even on freestanding compilers. */
34154 # include <limits.h>
34156 # include <assert.h>
34161 /* Override any gcc2 internal prototype to avoid an error. */
34166 /* We use char because int might match the return type of a gcc2
34167 builtin and then its argument prototype would still apply. */
34169 /* The GNU C library defines this for functions which it implements
34170 to always fail with ENOSYS. Some functions are actually named
34171 something starting with __ and the normal name is an alias. */
34172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34175 char (*f) () = $ac_func;
34184 return f != $ac_func;
34189 rm -f conftest.
$ac_objext conftest
$ac_exeext
34190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34191 (eval $ac_link) 2>conftest.er1
34193 grep -v '^ *+' conftest.er1
>conftest.err
34195 cat conftest.err
>&5
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); } &&
34198 { ac_try
='test -z "$ac_c_werror_flag"
34199 || test ! -s conftest.err'
34200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34201 (eval $ac_try) 2>&5
34203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34204 (exit $ac_status); }; } &&
34205 { ac_try
='test -s conftest$ac_exeext'
34206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34207 (eval $ac_try) 2>&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); }; }; then
34211 eval "$as_ac_var=yes"
34213 echo "$as_me: failed program was:" >&5
34214 sed 's/^/| /' conftest.
$ac_ext >&5
34216 eval "$as_ac_var=no"
34218 rm -f conftest.err conftest.
$ac_objext \
34219 conftest
$ac_exeext conftest.
$ac_ext
34221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34223 if test `eval echo '${'$as_ac_var'}'` = yes; then
34224 cat >>confdefs.h
<<_ACEOF
34225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34233 for ac_header
in sched.h
34235 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34237 echo "$as_me:$LINENO: checking for $ac_header" >&5
34238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34240 echo $ECHO_N "(cached) $ECHO_C" >&6
34242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34245 # Is the header compilable?
34246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34248 cat >conftest.
$ac_ext <<_ACEOF
34251 cat confdefs.h
>>conftest.
$ac_ext
34252 cat >>conftest.
$ac_ext <<_ACEOF
34253 /* end confdefs.h. */
34254 $ac_includes_default
34255 #include <$ac_header>
34257 rm -f conftest.
$ac_objext
34258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34259 (eval $ac_compile) 2>conftest.er1
34261 grep -v '^ *+' conftest.er1
>conftest.err
34263 cat conftest.err
>&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); } &&
34266 { ac_try
='test -z "$ac_c_werror_flag"
34267 || test ! -s conftest.err'
34268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34269 (eval $ac_try) 2>&5
34271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34272 (exit $ac_status); }; } &&
34273 { ac_try
='test -s conftest.$ac_objext'
34274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34275 (eval $ac_try) 2>&5
34277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278 (exit $ac_status); }; }; then
34279 ac_header_compiler
=yes
34281 echo "$as_me: failed program was:" >&5
34282 sed 's/^/| /' conftest.
$ac_ext >&5
34284 ac_header_compiler
=no
34286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34288 echo "${ECHO_T}$ac_header_compiler" >&6
34290 # Is the header present?
34291 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34292 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34293 cat >conftest.
$ac_ext <<_ACEOF
34296 cat confdefs.h
>>conftest.
$ac_ext
34297 cat >>conftest.
$ac_ext <<_ACEOF
34298 /* end confdefs.h. */
34299 #include <$ac_header>
34301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34302 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34304 grep -v '^ *+' conftest.er1
>conftest.err
34306 cat conftest.err
>&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } >/dev
/null
; then
34309 if test -s conftest.err
; then
34310 ac_cpp_err
=$ac_c_preproc_warn_flag
34311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34318 if test -z "$ac_cpp_err"; then
34319 ac_header_preproc
=yes
34321 echo "$as_me: failed program was:" >&5
34322 sed 's/^/| /' conftest.
$ac_ext >&5
34324 ac_header_preproc
=no
34326 rm -f conftest.err conftest.
$ac_ext
34327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34328 echo "${ECHO_T}$ac_header_preproc" >&6
34330 # So? What about this header?
34331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34337 ac_header_preproc
=yes
34340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34354 ## ----------------------------------------- ##
34355 ## Report this to wx-dev@lists.wxwidgets.org ##
34356 ## ----------------------------------------- ##
34359 sed "s/^/$as_me: WARNING: /" >&2
34362 echo "$as_me:$LINENO: checking for $ac_header" >&5
34363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 eval "$as_ac_Header=\$ac_header_preproc"
34369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34374 cat >>confdefs.h
<<_ACEOF
34375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34382 if test "$ac_cv_header_sched_h" = "yes"; then
34383 echo "$as_me:$LINENO: checking for sched_yield" >&5
34384 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
34385 if test "${ac_cv_func_sched_yield+set}" = set; then
34386 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 cat >conftest.
$ac_ext <<_ACEOF
34391 cat confdefs.h
>>conftest.
$ac_ext
34392 cat >>conftest.
$ac_ext <<_ACEOF
34393 /* end confdefs.h. */
34394 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
34395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34396 #define sched_yield innocuous_sched_yield
34398 /* System header to define __stub macros and hopefully few prototypes,
34399 which can conflict with char sched_yield (); below.
34400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34401 <limits.h> exists even on freestanding compilers. */
34404 # include <limits.h>
34406 # include <assert.h>
34411 /* Override any gcc2 internal prototype to avoid an error. */
34416 /* We use char because int might match the return type of a gcc2
34417 builtin and then its argument prototype would still apply. */
34418 char sched_yield ();
34419 /* The GNU C library defines this for functions which it implements
34420 to always fail with ENOSYS. Some functions are actually named
34421 something starting with __ and the normal name is an alias. */
34422 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
34425 char (*f) () = sched_yield;
34434 return f != sched_yield;
34439 rm -f conftest.
$ac_objext conftest
$ac_exeext
34440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34441 (eval $ac_link) 2>conftest.er1
34443 grep -v '^ *+' conftest.er1
>conftest.err
34445 cat conftest.err
>&5
34446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34447 (exit $ac_status); } &&
34448 { ac_try
='test -z "$ac_c_werror_flag"
34449 || test ! -s conftest.err'
34450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34451 (eval $ac_try) 2>&5
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); }; } &&
34455 { ac_try
='test -s conftest$ac_exeext'
34456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34457 (eval $ac_try) 2>&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); }; }; then
34461 ac_cv_func_sched_yield
=yes
34463 echo "$as_me: failed program was:" >&5
34464 sed 's/^/| /' conftest.
$ac_ext >&5
34466 ac_cv_func_sched_yield
=no
34468 rm -f conftest.err conftest.
$ac_objext \
34469 conftest
$ac_exeext conftest.
$ac_ext
34471 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34472 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34473 if test $ac_cv_func_sched_yield = yes; then
34474 cat >>confdefs.h
<<\_ACEOF
34475 #define HAVE_SCHED_YIELD 1
34480 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34481 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34482 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34483 echo $ECHO_N "(cached) $ECHO_C" >&6
34485 ac_check_lib_save_LIBS
=$LIBS
34486 LIBS
="-lposix4 $LIBS"
34487 cat >conftest.
$ac_ext <<_ACEOF
34490 cat confdefs.h
>>conftest.
$ac_ext
34491 cat >>conftest.
$ac_ext <<_ACEOF
34492 /* end confdefs.h. */
34494 /* Override any gcc2 internal prototype to avoid an error. */
34498 /* We use char because int might match the return type of a gcc2
34499 builtin and then its argument prototype would still apply. */
34500 char sched_yield ();
34509 rm -f conftest.
$ac_objext conftest
$ac_exeext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34511 (eval $ac_link) 2>conftest.er1
34513 grep -v '^ *+' conftest.er1
>conftest.err
34515 cat conftest.err
>&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } &&
34518 { ac_try
='test -z "$ac_c_werror_flag"
34519 || test ! -s conftest.err'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try
='test -s conftest$ac_exeext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 ac_cv_lib_posix4_sched_yield
=yes
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.
$ac_ext >&5
34536 ac_cv_lib_posix4_sched_yield
=no
34538 rm -f conftest.err conftest.
$ac_objext \
34539 conftest
$ac_exeext conftest.
$ac_ext
34540 LIBS
=$ac_check_lib_save_LIBS
34542 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34543 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34544 if test $ac_cv_lib_posix4_sched_yield = yes; then
34545 cat >>confdefs.h
<<\_ACEOF
34546 #define HAVE_SCHED_YIELD 1
34548 POSIX4_LINK
=" -lposix4"
34550 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34551 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34562 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34563 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34564 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34567 cat >conftest.
$ac_ext <<_ACEOF
34570 cat confdefs.h
>>conftest.
$ac_ext
34571 cat >>conftest.
$ac_ext <<_ACEOF
34572 /* end confdefs.h. */
34573 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34575 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34577 /* System header to define __stub macros and hopefully few prototypes,
34578 which can conflict with char pthread_attr_getschedpolicy (); below.
34579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34580 <limits.h> exists even on freestanding compilers. */
34583 # include <limits.h>
34585 # include <assert.h>
34588 #undef pthread_attr_getschedpolicy
34590 /* Override any gcc2 internal prototype to avoid an error. */
34595 /* We use char because int might match the return type of a gcc2
34596 builtin and then its argument prototype would still apply. */
34597 char pthread_attr_getschedpolicy ();
34598 /* The GNU C library defines this for functions which it implements
34599 to always fail with ENOSYS. Some functions are actually named
34600 something starting with __ and the normal name is an alias. */
34601 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34604 char (*f) () = pthread_attr_getschedpolicy;
34613 return f != pthread_attr_getschedpolicy;
34618 rm -f conftest.
$ac_objext conftest
$ac_exeext
34619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34620 (eval $ac_link) 2>conftest.er1
34622 grep -v '^ *+' conftest.er1
>conftest.err
34624 cat conftest.err
>&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); } &&
34627 { ac_try
='test -z "$ac_c_werror_flag"
34628 || test ! -s conftest.err'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; } &&
34634 { ac_try
='test -s conftest$ac_exeext'
34635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34636 (eval $ac_try) 2>&5
34638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34639 (exit $ac_status); }; }; then
34640 ac_cv_func_pthread_attr_getschedpolicy
=yes
34642 echo "$as_me: failed program was:" >&5
34643 sed 's/^/| /' conftest.
$ac_ext >&5
34645 ac_cv_func_pthread_attr_getschedpolicy
=no
34647 rm -f conftest.err conftest.
$ac_objext \
34648 conftest
$ac_exeext conftest.
$ac_ext
34650 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34651 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34652 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34653 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34654 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34655 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 cat >conftest.
$ac_ext <<_ACEOF
34661 cat confdefs.h
>>conftest.
$ac_ext
34662 cat >>conftest.
$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34666 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34668 /* System header to define __stub macros and hopefully few prototypes,
34669 which can conflict with char pthread_attr_setschedparam (); below.
34670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34671 <limits.h> exists even on freestanding compilers. */
34674 # include <limits.h>
34676 # include <assert.h>
34679 #undef pthread_attr_setschedparam
34681 /* Override any gcc2 internal prototype to avoid an error. */
34686 /* We use char because int might match the return type of a gcc2
34687 builtin and then its argument prototype would still apply. */
34688 char pthread_attr_setschedparam ();
34689 /* The GNU C library defines this for functions which it implements
34690 to always fail with ENOSYS. Some functions are actually named
34691 something starting with __ and the normal name is an alias. */
34692 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34695 char (*f) () = pthread_attr_setschedparam;
34704 return f != pthread_attr_setschedparam;
34709 rm -f conftest.
$ac_objext conftest
$ac_exeext
34710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34711 (eval $ac_link) 2>conftest.er1
34713 grep -v '^ *+' conftest.er1
>conftest.err
34715 cat conftest.err
>&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } &&
34718 { ac_try
='test -z "$ac_c_werror_flag"
34719 || test ! -s conftest.err'
34720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34721 (eval $ac_try) 2>&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); }; } &&
34725 { ac_try
='test -s conftest$ac_exeext'
34726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34727 (eval $ac_try) 2>&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); }; }; then
34731 ac_cv_func_pthread_attr_setschedparam
=yes
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.
$ac_ext >&5
34736 ac_cv_func_pthread_attr_setschedparam
=no
34738 rm -f conftest.err conftest.
$ac_objext \
34739 conftest
$ac_exeext conftest.
$ac_ext
34741 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34742 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34743 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34744 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34745 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34746 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 cat >conftest.
$ac_ext <<_ACEOF
34752 cat confdefs.h
>>conftest.
$ac_ext
34753 cat >>conftest.
$ac_ext <<_ACEOF
34754 /* end confdefs.h. */
34755 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34757 #define sched_get_priority_max innocuous_sched_get_priority_max
34759 /* System header to define __stub macros and hopefully few prototypes,
34760 which can conflict with char sched_get_priority_max (); below.
34761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34762 <limits.h> exists even on freestanding compilers. */
34765 # include <limits.h>
34767 # include <assert.h>
34770 #undef sched_get_priority_max
34772 /* Override any gcc2 internal prototype to avoid an error. */
34777 /* We use char because int might match the return type of a gcc2
34778 builtin and then its argument prototype would still apply. */
34779 char sched_get_priority_max ();
34780 /* The GNU C library defines this for functions which it implements
34781 to always fail with ENOSYS. Some functions are actually named
34782 something starting with __ and the normal name is an alias. */
34783 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34786 char (*f) () = sched_get_priority_max;
34795 return f != sched_get_priority_max;
34800 rm -f conftest.
$ac_objext conftest
$ac_exeext
34801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34802 (eval $ac_link) 2>conftest.er1
34804 grep -v '^ *+' conftest.er1
>conftest.err
34806 cat conftest.err
>&5
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); } &&
34809 { ac_try
='test -z "$ac_c_werror_flag"
34810 || 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_func_sched_get_priority_max
=yes
34824 echo "$as_me: failed program was:" >&5
34825 sed 's/^/| /' conftest.
$ac_ext >&5
34827 ac_cv_func_sched_get_priority_max
=no
34829 rm -f conftest.err conftest.
$ac_objext \
34830 conftest
$ac_exeext conftest.
$ac_ext
34832 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34833 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34834 if test $ac_cv_func_sched_get_priority_max = yes; then
34837 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34838 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34839 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34842 ac_check_lib_save_LIBS
=$LIBS
34843 LIBS
="-lposix4 $LIBS"
34844 cat >conftest.
$ac_ext <<_ACEOF
34847 cat confdefs.h
>>conftest.
$ac_ext
34848 cat >>conftest.
$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34851 /* Override any gcc2 internal prototype to avoid an error. */
34855 /* We use char because int might match the return type of a gcc2
34856 builtin and then its argument prototype would still apply. */
34857 char sched_get_priority_max ();
34861 sched_get_priority_max ();
34866 rm -f conftest.
$ac_objext conftest
$ac_exeext
34867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34868 (eval $ac_link) 2>conftest.er1
34870 grep -v '^ *+' conftest.er1
>conftest.err
34872 cat conftest.err
>&5
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); } &&
34875 { ac_try
='test -z "$ac_c_werror_flag"
34876 || test ! -s conftest.err'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; } &&
34882 { ac_try
='test -s conftest$ac_exeext'
34883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34884 (eval $ac_try) 2>&5
34886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34887 (exit $ac_status); }; }; then
34888 ac_cv_lib_posix4_sched_get_priority_max
=yes
34890 echo "$as_me: failed program was:" >&5
34891 sed 's/^/| /' conftest.
$ac_ext >&5
34893 ac_cv_lib_posix4_sched_get_priority_max
=no
34895 rm -f conftest.err conftest.
$ac_objext \
34896 conftest
$ac_exeext conftest.
$ac_ext
34897 LIBS
=$ac_check_lib_save_LIBS
34899 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34900 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34901 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34904 POSIX4_LINK
=" -lposix4"
34918 if test "$HAVE_PRIOR_FUNCS" = 1; then
34919 cat >>confdefs.h
<<\_ACEOF
34920 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34924 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34925 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34928 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34929 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34930 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34933 cat >conftest.
$ac_ext <<_ACEOF
34936 cat confdefs.h
>>conftest.
$ac_ext
34937 cat >>conftest.
$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34939 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34941 #define pthread_cancel innocuous_pthread_cancel
34943 /* System header to define __stub macros and hopefully few prototypes,
34944 which can conflict with char pthread_cancel (); below.
34945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34946 <limits.h> exists even on freestanding compilers. */
34949 # include <limits.h>
34951 # include <assert.h>
34954 #undef pthread_cancel
34956 /* Override any gcc2 internal prototype to avoid an error. */
34961 /* We use char because int might match the return type of a gcc2
34962 builtin and then its argument prototype would still apply. */
34963 char pthread_cancel ();
34964 /* The GNU C library defines this for functions which it implements
34965 to always fail with ENOSYS. Some functions are actually named
34966 something starting with __ and the normal name is an alias. */
34967 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34970 char (*f) () = pthread_cancel;
34979 return f != pthread_cancel;
34984 rm -f conftest.
$ac_objext conftest
$ac_exeext
34985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34986 (eval $ac_link) 2>conftest.er1
34988 grep -v '^ *+' conftest.er1
>conftest.err
34990 cat conftest.err
>&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); } &&
34993 { ac_try
='test -z "$ac_c_werror_flag"
34994 || test ! -s conftest.err'
34995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34996 (eval $ac_try) 2>&5
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); }; } &&
35000 { ac_try
='test -s conftest$ac_exeext'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; }; then
35006 ac_cv_func_pthread_cancel
=yes
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.
$ac_ext >&5
35011 ac_cv_func_pthread_cancel
=no
35013 rm -f conftest.err conftest.
$ac_objext \
35014 conftest
$ac_exeext conftest.
$ac_ext
35016 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35017 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35018 if test $ac_cv_func_pthread_cancel = yes; then
35019 cat >>confdefs.h
<<\_ACEOF
35020 #define HAVE_PTHREAD_CANCEL 1
35024 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35025 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35031 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35032 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35033 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35037 cat >conftest.
$ac_ext <<_ACEOF
35040 cat confdefs.h
>>conftest.
$ac_ext
35041 cat >>conftest.
$ac_ext <<_ACEOF
35042 /* end confdefs.h. */
35043 #include <pthread.h>
35048 pthread_mutexattr_t attr;
35049 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35055 rm -f conftest.
$ac_objext
35056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35057 (eval $ac_compile) 2>conftest.er1
35059 grep -v '^ *+' conftest.er1
>conftest.err
35061 cat conftest.err
>&5
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); } &&
35064 { ac_try
='test -z "$ac_c_werror_flag"
35065 || 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_mutexattr_t
=yes
35081 echo "$as_me: failed program was:" >&5
35082 sed 's/^/| /' conftest.
$ac_ext >&5
35085 wx_cv_type_pthread_mutexattr_t
=no
35089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35092 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35093 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35095 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35096 cat >>confdefs.h
<<\_ACEOF
35097 #define HAVE_PTHREAD_MUTEXATTR_T 1
35101 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35102 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35103 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35104 echo $ECHO_N "(cached) $ECHO_C" >&6
35107 cat >conftest.
$ac_ext <<_ACEOF
35110 cat confdefs.h
>>conftest.
$ac_ext
35111 cat >>conftest.
$ac_ext <<_ACEOF
35112 /* end confdefs.h. */
35113 #include <pthread.h>
35118 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35124 rm -f conftest.
$ac_objext
35125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35126 (eval $ac_compile) 2>conftest.er1
35128 grep -v '^ *+' conftest.er1
>conftest.err
35130 cat conftest.err
>&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } &&
35133 { ac_try
='test -z "$ac_c_werror_flag"
35134 || test ! -s conftest.err'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; } &&
35140 { ac_try
='test -s conftest.$ac_objext'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; }; then
35147 wx_cv_type_pthread_rec_mutex_init
=yes
35150 echo "$as_me: failed program was:" >&5
35151 sed 's/^/| /' conftest.
$ac_ext >&5
35154 wx_cv_type_pthread_rec_mutex_init
=no
35158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35161 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35162 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35163 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35164 cat >>confdefs.h
<<\_ACEOF
35165 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35169 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35170 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
35176 if test "$wxUSE_THREADS" = "yes" ; then
35179 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
35180 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
35181 if test "${wx_cv_cflags_mthread+set}" = set; then
35182 echo $ECHO_N "(cached) $ECHO_C" >&6
35185 CFLAGS_OLD
="$CFLAGS"
35186 CFLAGS
="$CFLAGS -mthreads"
35187 cat >conftest.
$ac_ext <<_ACEOF
35190 cat confdefs.h
>>conftest.
$ac_ext
35191 cat >>conftest.
$ac_ext <<_ACEOF
35192 /* end confdefs.h. */
35202 rm -f conftest.
$ac_objext
35203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35204 (eval $ac_compile) 2>conftest.er1
35206 grep -v '^ *+' conftest.er1
>conftest.err
35208 cat conftest.err
>&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); } &&
35211 { ac_try
='test -z "$ac_c_werror_flag"
35212 || test ! -s conftest.err'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; } &&
35218 { ac_try
='test -s conftest.$ac_objext'
35219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35220 (eval $ac_try) 2>&5
35222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223 (exit $ac_status); }; }; then
35224 wx_cv_cflags_mthread
=yes
35226 echo "$as_me: failed program was:" >&5
35227 sed 's/^/| /' conftest.
$ac_ext >&5
35229 wx_cv_cflags_mthread
=no
35232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35236 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
35237 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
35239 if test "$wx_cv_cflags_mthread" = "yes"; then
35240 CXXFLAGS
="$CXXFLAGS -mthreads"
35241 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
35242 LDFLAGS
="$LDFLAGS -mthreads"
35244 CFLAGS
="$CFLAGS_OLD"
35248 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
35249 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
35250 LDFLAGS
="$LDFLAGS -Zmt"
35256 if test "$wxUSE_THREADS" = "yes"; then
35257 cat >>confdefs.h
<<\_ACEOF
35258 #define wxUSE_THREADS 1
35262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
35264 if test "$ac_cv_func_strtok_r" = "yes"; then
35265 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
35266 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
35267 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
35268 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
35269 echo "$as_me:$LINENO: result: yes" >&5
35270 echo "${ECHO_T}yes" >&6
35272 echo "$as_me:$LINENO: result: no" >&5
35273 echo "${ECHO_T}no" >&6
35278 if test "$WXGTK20" = 1 ; then
35279 cat >>confdefs.h
<<_ACEOF
35280 #define __WXGTK20__ $WXGTK20
35286 if test "$WXGTK12" = 1 ; then
35287 cat >>confdefs.h
<<_ACEOF
35288 #define __WXGTK12__ $WXGTK12
35293 if test "$WXGTK127" = 1 ; then
35294 cat >>confdefs.h
<<_ACEOF
35295 #define __WXGTK127__ $WXGTK127
35300 if test "$WXGPE" = 1 ; then
35301 cat >>confdefs.h
<<_ACEOF
35302 #define __WXGPE__ $WXGPE
35309 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
35314 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
35315 wxUSE_DEBUG_INFO
=yes
35319 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
35320 cat >>confdefs.h
<<\_ACEOF
35324 WXDEBUG_DEFINE
="-D__WXDEBUG__"
35326 if test "$wxUSE_GTK" = 1 ; then
35327 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
35331 if test "$wxUSE_MEM_TRACING" = "yes" ; then
35332 cat >>confdefs.h
<<\_ACEOF
35333 #define wxUSE_MEMORY_TRACING 1
35336 cat >>confdefs.h
<<\_ACEOF
35337 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
35340 cat >>confdefs.h
<<\_ACEOF
35341 #define wxUSE_DEBUG_NEW_ALWAYS 1
35344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
35347 if test "$wxUSE_DMALLOC" = "yes" ; then
35348 DMALLOC_LIBS
="-ldmalloc"
35352 if test "$wxUSE_PROFILE" = "yes" ; then
35357 CODE_GEN_FLAGS_CXX
=
35358 if test "$GCC" = "yes" ; then
35359 if test "$wxUSE_NO_RTTI" = "yes" ; then
35360 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
35362 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35363 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
35365 if test "$wxUSE_PERMISSIVE" = "yes" ; then
35366 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
35371 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
35374 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
35380 if test "$wxUSE_OPTIMISE" = "no" ; then
35381 if test "$GCC" = yes ; then
35385 if test "$GCC" = yes ; then
35389 i586
-*-*|i686
-*-* )
35390 OPTIMISE
="${OPTIMISE} "
35399 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
35400 cat >>confdefs.h
<<\_ACEOF
35401 #define WXWIN_COMPATIBILITY_2_2 1
35405 WXWIN_COMPATIBILITY_2_4
="yes"
35408 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
35409 cat >>confdefs.h
<<\_ACEOF
35410 #define WXWIN_COMPATIBILITY_2_4 1
35416 if test "$wxUSE_GUI" = "yes"; then
35417 cat >>confdefs.h
<<\_ACEOF
35418 #define wxUSE_GUI 1
35425 if test "$wxUSE_UNIX" = "yes"; then
35426 cat >>confdefs.h
<<\_ACEOF
35427 #define wxUSE_UNIX 1
35433 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35437 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35438 if test "$USE_DARWIN" = 1; then
35442 for ac_func
in dlopen
35444 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35445 echo "$as_me:$LINENO: checking for $ac_func" >&5
35446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35447 if eval "test \"\${$as_ac_var+set}\" = set"; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 cat >conftest.
$ac_ext <<_ACEOF
35453 cat confdefs.h
>>conftest.
$ac_ext
35454 cat >>conftest.
$ac_ext <<_ACEOF
35455 /* end confdefs.h. */
35456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35458 #define $ac_func innocuous_$ac_func
35460 /* System header to define __stub macros and hopefully few prototypes,
35461 which can conflict with char $ac_func (); below.
35462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35463 <limits.h> exists even on freestanding compilers. */
35466 # include <limits.h>
35468 # include <assert.h>
35473 /* Override any gcc2 internal prototype to avoid an error. */
35478 /* We use char because int might match the return type of a gcc2
35479 builtin and then its argument prototype would still apply. */
35481 /* The GNU C library defines this for functions which it implements
35482 to always fail with ENOSYS. Some functions are actually named
35483 something starting with __ and the normal name is an alias. */
35484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35487 char (*f) () = $ac_func;
35496 return f != $ac_func;
35501 rm -f conftest.
$ac_objext conftest
$ac_exeext
35502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35503 (eval $ac_link) 2>conftest.er1
35505 grep -v '^ *+' conftest.er1
>conftest.err
35507 cat conftest.err
>&5
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); } &&
35510 { ac_try
='test -z "$ac_c_werror_flag"
35511 || test ! -s conftest.err'
35512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35513 (eval $ac_try) 2>&5
35515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35516 (exit $ac_status); }; } &&
35517 { ac_try
='test -s conftest$ac_exeext'
35518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35519 (eval $ac_try) 2>&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); }; }; then
35523 eval "$as_ac_var=yes"
35525 echo "$as_me: failed program was:" >&5
35526 sed 's/^/| /' conftest.
$ac_ext >&5
35528 eval "$as_ac_var=no"
35530 rm -f conftest.err conftest.
$ac_objext \
35531 conftest
$ac_exeext conftest.
$ac_ext
35533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35535 if test `eval echo '${'$as_ac_var'}'` = yes; then
35536 cat >>confdefs.h
<<_ACEOF
35537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35540 cat >>confdefs.h
<<\_ACEOF
35541 #define HAVE_DLOPEN 1
35548 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35549 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35550 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35551 echo $ECHO_N "(cached) $ECHO_C" >&6
35553 ac_check_lib_save_LIBS
=$LIBS
35555 cat >conftest.
$ac_ext <<_ACEOF
35558 cat confdefs.h
>>conftest.
$ac_ext
35559 cat >>conftest.
$ac_ext <<_ACEOF
35560 /* end confdefs.h. */
35562 /* Override any gcc2 internal prototype to avoid an error. */
35566 /* We use char because int might match the return type of a gcc2
35567 builtin and then its argument prototype would still apply. */
35577 rm -f conftest.
$ac_objext conftest
$ac_exeext
35578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35579 (eval $ac_link) 2>conftest.er1
35581 grep -v '^ *+' conftest.er1
>conftest.err
35583 cat conftest.err
>&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); } &&
35586 { ac_try
='test -z "$ac_c_werror_flag"
35587 || test ! -s conftest.err'
35588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35589 (eval $ac_try) 2>&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); }; } &&
35593 { ac_try
='test -s conftest$ac_exeext'
35594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35595 (eval $ac_try) 2>&5
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; }; then
35599 ac_cv_lib_dl_dlopen
=yes
35601 echo "$as_me: failed program was:" >&5
35602 sed 's/^/| /' conftest.
$ac_ext >&5
35604 ac_cv_lib_dl_dlopen
=no
35606 rm -f conftest.err conftest.
$ac_objext \
35607 conftest
$ac_exeext conftest.
$ac_ext
35608 LIBS
=$ac_check_lib_save_LIBS
35610 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35611 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35612 if test $ac_cv_lib_dl_dlopen = yes; then
35614 cat >>confdefs.h
<<\_ACEOF
35615 #define HAVE_DLOPEN 1
35619 DL_LINK
=" -ldl$DL_LINK"
35624 for ac_func
in shl_load
35626 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35627 echo "$as_me:$LINENO: checking for $ac_func" >&5
35628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35629 if eval "test \"\${$as_ac_var+set}\" = set"; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 cat >conftest.
$ac_ext <<_ACEOF
35635 cat confdefs.h
>>conftest.
$ac_ext
35636 cat >>conftest.
$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35640 #define $ac_func innocuous_$ac_func
35642 /* System header to define __stub macros and hopefully few prototypes,
35643 which can conflict with char $ac_func (); below.
35644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35645 <limits.h> exists even on freestanding compilers. */
35648 # include <limits.h>
35650 # include <assert.h>
35655 /* Override any gcc2 internal prototype to avoid an error. */
35660 /* We use char because int might match the return type of a gcc2
35661 builtin and then its argument prototype would still apply. */
35663 /* The GNU C library defines this for functions which it implements
35664 to always fail with ENOSYS. Some functions are actually named
35665 something starting with __ and the normal name is an alias. */
35666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35669 char (*f) () = $ac_func;
35678 return f != $ac_func;
35683 rm -f conftest.
$ac_objext conftest
$ac_exeext
35684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35685 (eval $ac_link) 2>conftest.er1
35687 grep -v '^ *+' conftest.er1
>conftest.err
35689 cat conftest.err
>&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } &&
35692 { ac_try
='test -z "$ac_c_werror_flag"
35693 || test ! -s conftest.err'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; } &&
35699 { ac_try
='test -s conftest$ac_exeext'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; }; then
35705 eval "$as_ac_var=yes"
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.
$ac_ext >&5
35710 eval "$as_ac_var=no"
35712 rm -f conftest.err conftest.
$ac_objext \
35713 conftest
$ac_exeext conftest.
$ac_ext
35715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35717 if test `eval echo '${'$as_ac_var'}'` = yes; then
35718 cat >>confdefs.h
<<_ACEOF
35719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35722 cat >>confdefs.h
<<\_ACEOF
35723 #define HAVE_SHL_LOAD 1
35730 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35731 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35732 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 ac_check_lib_save_LIBS
=$LIBS
35736 LIBS
="-lshl_load $LIBS"
35737 cat >conftest.
$ac_ext <<_ACEOF
35740 cat confdefs.h
>>conftest.
$ac_ext
35741 cat >>conftest.
$ac_ext <<_ACEOF
35742 /* end confdefs.h. */
35744 /* Override any gcc2 internal prototype to avoid an error. */
35748 /* We use char because int might match the return type of a gcc2
35749 builtin and then its argument prototype would still apply. */
35759 rm -f conftest.
$ac_objext conftest
$ac_exeext
35760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35761 (eval $ac_link) 2>conftest.er1
35763 grep -v '^ *+' conftest.er1
>conftest.err
35765 cat conftest.err
>&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } &&
35768 { ac_try
='test -z "$ac_c_werror_flag"
35769 || test ! -s conftest.err'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; } &&
35775 { ac_try
='test -s conftest$ac_exeext'
35776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35777 (eval $ac_try) 2>&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); }; }; then
35781 ac_cv_lib_shl_load_dld
=yes
35783 echo "$as_me: failed program was:" >&5
35784 sed 's/^/| /' conftest.
$ac_ext >&5
35786 ac_cv_lib_shl_load_dld
=no
35788 rm -f conftest.err conftest.
$ac_objext \
35789 conftest
$ac_exeext conftest.
$ac_ext
35790 LIBS
=$ac_check_lib_save_LIBS
35792 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35793 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35794 if test $ac_cv_lib_shl_load_dld = yes; then
35797 DL_LINK
=" -ldld$DL_LINK"
35813 if test "$HAVE_DL_FUNCS" = 1; then
35815 for ac_func
in dlerror
35817 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35818 echo "$as_me:$LINENO: checking for $ac_func" >&5
35819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35820 if eval "test \"\${$as_ac_var+set}\" = set"; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35823 cat >conftest.
$ac_ext <<_ACEOF
35826 cat confdefs.h
>>conftest.
$ac_ext
35827 cat >>conftest.
$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35831 #define $ac_func innocuous_$ac_func
35833 /* System header to define __stub macros and hopefully few prototypes,
35834 which can conflict with char $ac_func (); below.
35835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35836 <limits.h> exists even on freestanding compilers. */
35839 # include <limits.h>
35841 # include <assert.h>
35846 /* Override any gcc2 internal prototype to avoid an error. */
35851 /* We use char because int might match the return type of a gcc2
35852 builtin and then its argument prototype would still apply. */
35854 /* The GNU C library defines this for functions which it implements
35855 to always fail with ENOSYS. Some functions are actually named
35856 something starting with __ and the normal name is an alias. */
35857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35860 char (*f) () = $ac_func;
35869 return f != $ac_func;
35874 rm -f conftest.
$ac_objext conftest
$ac_exeext
35875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35876 (eval $ac_link) 2>conftest.er1
35878 grep -v '^ *+' conftest.er1
>conftest.err
35880 cat conftest.err
>&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); } &&
35883 { ac_try
='test -z "$ac_c_werror_flag"
35884 || test ! -s conftest.err'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; } &&
35890 { ac_try
='test -s conftest$ac_exeext'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; }; then
35896 eval "$as_ac_var=yes"
35898 echo "$as_me: failed program was:" >&5
35899 sed 's/^/| /' conftest.
$ac_ext >&5
35901 eval "$as_ac_var=no"
35903 rm -f conftest.err conftest.
$ac_objext \
35904 conftest
$ac_exeext conftest.
$ac_ext
35906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35908 if test `eval echo '${'$as_ac_var'}'` = yes; then
35909 cat >>confdefs.h
<<_ACEOF
35910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35912 cat >>confdefs.h
<<\_ACEOF
35913 #define HAVE_DLERROR 1
35918 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35919 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35920 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35921 echo $ECHO_N "(cached) $ECHO_C" >&6
35923 ac_check_lib_save_LIBS
=$LIBS
35925 cat >conftest.
$ac_ext <<_ACEOF
35928 cat confdefs.h
>>conftest.
$ac_ext
35929 cat >>conftest.
$ac_ext <<_ACEOF
35930 /* end confdefs.h. */
35932 /* Override any gcc2 internal prototype to avoid an error. */
35936 /* We use char because int might match the return type of a gcc2
35937 builtin and then its argument prototype would still apply. */
35947 rm -f conftest.
$ac_objext conftest
$ac_exeext
35948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35949 (eval $ac_link) 2>conftest.er1
35951 grep -v '^ *+' conftest.er1
>conftest.err
35953 cat conftest.err
>&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } &&
35956 { ac_try
='test -z "$ac_c_werror_flag"
35957 || test ! -s conftest.err'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; } &&
35963 { ac_try
='test -s conftest$ac_exeext'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; }; then
35969 ac_cv_lib_dl_dlerror
=yes
35971 echo "$as_me: failed program was:" >&5
35972 sed 's/^/| /' conftest.
$ac_ext >&5
35974 ac_cv_lib_dl_dlerror
=no
35976 rm -f conftest.err conftest.
$ac_objext \
35977 conftest
$ac_exeext conftest.
$ac_ext
35978 LIBS
=$ac_check_lib_save_LIBS
35980 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35981 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35982 if test $ac_cv_lib_dl_dlerror = yes; then
35983 cat >>confdefs.h
<<\_ACEOF
35984 #define HAVE_DLERROR 1
35997 if test "$HAVE_DL_FUNCS" = 0; then
35998 if test "$HAVE_SHL_FUNCS" = 0; then
35999 if test "$USE_UNIX" = 1; then
36000 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36001 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36002 wxUSE_DYNAMIC_LOADER
=no
36003 wxUSE_DYNLIB_CLASS
=no
36005 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36006 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36013 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36014 cat >>confdefs.h
<<\_ACEOF
36015 #define wxUSE_DYNAMIC_LOADER 1
36019 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36020 cat >>confdefs.h
<<\_ACEOF
36021 #define wxUSE_DYNLIB_CLASS 1
36028 if test "$wxUSE_PLUGINS" = "yes" ; then
36029 if test "$wxUSE_SHARED" = "no" ; then
36030 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36031 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36034 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36035 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36036 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36039 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36040 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36041 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36044 if test "$wxUSE_PLUGINS" = "yes" ; then
36045 cat >>confdefs.h
<<\_ACEOF
36046 #define wxUSE_PLUGINS 1
36053 if test "$wxUSE_STL" = "yes"; then
36054 cat >>confdefs.h
<<\_ACEOF
36055 #define wxUSE_STL 1
36060 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36061 cat >>confdefs.h
<<\_ACEOF
36062 #define wxUSE_APPLE_IEEE 1
36067 if test "$wxUSE_TIMER" = "yes"; then
36068 cat >>confdefs.h
<<\_ACEOF
36069 #define wxUSE_TIMER 1
36075 if test "$wxUSE_SOUND" = "yes"; then
36076 if test "$USE_UNIX" = "1" ; then
36078 for ac_header
in sys
/soundcard.h
36080 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36082 echo "$as_me:$LINENO: checking for $ac_header" >&5
36083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36085 echo $ECHO_N "(cached) $ECHO_C" >&6
36087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36090 # Is the header compilable?
36091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36093 cat >conftest.
$ac_ext <<_ACEOF
36096 cat confdefs.h
>>conftest.
$ac_ext
36097 cat >>conftest.
$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 $ac_includes_default
36100 #include <$ac_header>
36102 rm -f conftest.
$ac_objext
36103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36104 (eval $ac_compile) 2>conftest.er1
36106 grep -v '^ *+' conftest.er1
>conftest.err
36108 cat conftest.err
>&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); } &&
36111 { ac_try
='test -z "$ac_c_werror_flag"
36112 || test ! -s conftest.err'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; } &&
36118 { ac_try
='test -s conftest.$ac_objext'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; }; then
36124 ac_header_compiler
=yes
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.
$ac_ext >&5
36129 ac_header_compiler
=no
36131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36133 echo "${ECHO_T}$ac_header_compiler" >&6
36135 # Is the header present?
36136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36138 cat >conftest.
$ac_ext <<_ACEOF
36141 cat confdefs.h
>>conftest.
$ac_ext
36142 cat >>conftest.
$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <$ac_header>
36146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36149 grep -v '^ *+' conftest.er1
>conftest.err
36151 cat conftest.err
>&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } >/dev
/null
; then
36154 if test -s conftest.err
; then
36155 ac_cpp_err
=$ac_c_preproc_warn_flag
36156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36163 if test -z "$ac_cpp_err"; then
36164 ac_header_preproc
=yes
36166 echo "$as_me: failed program was:" >&5
36167 sed 's/^/| /' conftest.
$ac_ext >&5
36169 ac_header_preproc
=no
36171 rm -f conftest.err conftest.
$ac_ext
36172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36173 echo "${ECHO_T}$ac_header_preproc" >&6
36175 # So? What about this header?
36176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36182 ac_header_preproc
=yes
36185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36199 ## ----------------------------------------- ##
36200 ## Report this to wx-dev@lists.wxwidgets.org ##
36201 ## ----------------------------------------- ##
36204 sed "s/^/$as_me: WARNING: /" >&2
36207 echo "$as_me:$LINENO: checking for $ac_header" >&5
36208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 eval "$as_ac_Header=\$ac_header_preproc"
36214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36219 cat >>confdefs.h
<<_ACEOF
36220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36228 if test "$wxUSE_LIBSDL" != "no"; then
36230 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
36231 if test "${with_sdl_prefix+set}" = set; then
36232 withval
="$with_sdl_prefix"
36233 sdl_prefix
="$withval"
36238 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
36239 if test "${with_sdl_exec_prefix+set}" = set; then
36240 withval
="$with_sdl_exec_prefix"
36241 sdl_exec_prefix
="$withval"
36245 # Check whether --enable-sdltest or --disable-sdltest was given.
36246 if test "${enable_sdltest+set}" = set; then
36247 enableval
="$enable_sdltest"
36253 if test x
$sdl_exec_prefix != x
; then
36254 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
36255 if test x
${SDL_CONFIG+set} != xset
; then
36256 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
36259 if test x
$sdl_prefix != x
; then
36260 sdl_args
="$sdl_args --prefix=$sdl_prefix"
36261 if test x
${SDL_CONFIG+set} != xset
; then
36262 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
36267 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
36268 # Extract the first word of "sdl-config", so it can be a program name with args.
36269 set dummy sdl
-config; ac_word
=$2
36270 echo "$as_me:$LINENO: checking for $ac_word" >&5
36271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36272 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36275 case $SDL_CONFIG in
36277 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
36280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36281 for as_dir
in $PATH
36284 test -z "$as_dir" && as_dir
=.
36285 for ac_exec_ext
in '' $ac_executable_extensions; do
36286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36287 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36294 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
36298 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
36300 if test -n "$SDL_CONFIG"; then
36301 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
36302 echo "${ECHO_T}$SDL_CONFIG" >&6
36304 echo "$as_me:$LINENO: result: no" >&5
36305 echo "${ECHO_T}no" >&6
36308 min_sdl_version
=1.2.0
36309 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
36310 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
36312 if test "$SDL_CONFIG" = "no" ; then
36315 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
36316 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
36318 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
36319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
36320 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
36321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
36322 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
36323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
36324 if test "x$enable_sdltest" = "xyes" ; then
36325 ac_save_CFLAGS
="$CFLAGS"
36326 ac_save_CXXFLAGS
="$CXXFLAGS"
36327 ac_save_LIBS
="$LIBS"
36328 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36329 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36330 LIBS
="$LIBS $SDL_LIBS"
36332 if test "$cross_compiling" = yes; then
36333 echo $ac_n "cross compiling; assumed OK... $ac_c"
36335 cat >conftest.
$ac_ext <<_ACEOF
36338 cat confdefs.h
>>conftest.
$ac_ext
36339 cat >>conftest.
$ac_ext <<_ACEOF
36340 /* end confdefs.h. */
36343 #include <stdlib.h>
36344 #include <string.h>
36348 my_strdup (char *str)
36354 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
36355 strcpy (new_str, str);
36363 int main (int argc, char *argv[])
36365 int major, minor, micro;
36368 /* This hangs on some systems (?)
36369 system ("touch conf.sdltest");
36371 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
36373 /* HP/UX 9 (%@#!) writes to sscanf strings */
36374 tmp_version = my_strdup("$min_sdl_version");
36375 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
36376 printf("%s, bad version string\n", "$min_sdl_version");
36380 if (($sdl_major_version > major) ||
36381 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
36382 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
36388 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
36389 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
36390 printf("*** best to upgrade to the required version.\n");
36391 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
36392 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
36393 printf("*** config.cache before re-running configure\n");
36400 rm -f conftest
$ac_exeext
36401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36402 (eval $ac_link) 2>&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36413 echo "$as_me: program exited with status $ac_status" >&5
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.
$ac_ext >&5
36417 ( exit $ac_status )
36420 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36422 CFLAGS
="$ac_save_CFLAGS"
36423 CXXFLAGS
="$ac_save_CXXFLAGS"
36424 LIBS
="$ac_save_LIBS"
36427 if test "x$no_sdl" = x
; then
36428 echo "$as_me:$LINENO: result: yes" >&5
36429 echo "${ECHO_T}yes" >&6
36431 EXTRALIBS_SDL
="$SDL_LIBS"
36432 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36433 cat >>confdefs.h
<<\_ACEOF
36434 #define wxUSE_LIBSDL 1
36439 echo "$as_me:$LINENO: result: no" >&5
36440 echo "${ECHO_T}no" >&6
36441 if test "$SDL_CONFIG" = "no" ; then
36442 echo "*** The sdl-config script installed by SDL could not be found"
36443 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
36444 echo "*** your path, or set the SDL_CONFIG environment variable to the"
36445 echo "*** full path to sdl-config."
36447 if test -f conf.sdltest
; then
36450 echo "*** Could not run SDL test program, checking why..."
36451 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36452 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36453 LIBS
="$LIBS $SDL_LIBS"
36454 cat >conftest.
$ac_ext <<_ACEOF
36457 cat confdefs.h
>>conftest.
$ac_ext
36458 cat >>conftest.
$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36464 int main(int argc, char *argv[])
36467 #define main K_and_R_C_main
36477 rm -f conftest.
$ac_objext conftest
$ac_exeext
36478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36479 (eval $ac_link) 2>conftest.er1
36481 grep -v '^ *+' conftest.er1
>conftest.err
36483 cat conftest.err
>&5
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); } &&
36486 { ac_try
='test -z "$ac_c_werror_flag"
36487 || test ! -s conftest.err'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; } &&
36493 { ac_try
='test -s conftest$ac_exeext'
36494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36495 (eval $ac_try) 2>&5
36497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36498 (exit $ac_status); }; }; then
36499 echo "*** The test program compiled, but did not run. This usually means"
36500 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36501 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36502 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36503 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36504 echo "*** is required on your system"
36506 echo "*** If you have an old version installed, it is best to remove it, although"
36507 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36509 echo "$as_me: failed program was:" >&5
36510 sed 's/^/| /' conftest.
$ac_ext >&5
36512 echo "*** The test program failed to compile or link. See the file config.log for the"
36513 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36514 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36515 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36517 rm -f conftest.err conftest.
$ac_objext \
36518 conftest
$ac_exeext conftest.
$ac_ext
36519 CFLAGS
="$ac_save_CFLAGS"
36520 CXXFLAGS
="$ac_save_CXXFLAGS"
36521 LIBS
="$ac_save_LIBS"
36532 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36538 cat >>confdefs.h
<<\_ACEOF
36539 #define wxUSE_SOUND 1
36542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36545 if test "$WXGTK20" = 1; then
36546 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36547 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36552 if test -z "$PKG_CONFIG"; then
36553 # Extract the first word of "pkg-config", so it can be a program name with args.
36554 set dummy pkg
-config; ac_word
=$2
36555 echo "$as_me:$LINENO: checking for $ac_word" >&5
36556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36557 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36560 case $PKG_CONFIG in
36562 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36566 for as_dir
in $PATH
36569 test -z "$as_dir" && as_dir
=.
36570 for ac_exec_ext
in '' $ac_executable_extensions; do
36571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36572 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36579 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36583 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36585 if test -n "$PKG_CONFIG"; then
36586 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36587 echo "${ECHO_T}$PKG_CONFIG" >&6
36589 echo "$as_me:$LINENO: result: no" >&5
36590 echo "${ECHO_T}no" >&6
36595 if test "$PKG_CONFIG" = "no" ; then
36596 echo "*** The pkg-config script could not be found. Make sure it is"
36597 echo "*** in your path, or set the PKG_CONFIG environment variable"
36598 echo "*** to the full path to pkg-config."
36599 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36601 PKG_CONFIG_MIN_VERSION
=0.9.0
36602 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36603 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36604 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36606 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36607 echo "$as_me:$LINENO: result: yes" >&5
36608 echo "${ECHO_T}yes" >&6
36611 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36612 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36613 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36614 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36615 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36617 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36618 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36619 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36620 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36621 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36623 LIBGNOMEPRINTUI_CFLAGS
=""
36624 LIBGNOMEPRINTUI_LIBS
=""
36625 ## If we have a custom action on failure, don't print errors, but
36626 ## do set a variable so people can do so.
36627 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36634 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36635 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36639 if test $succeeded = yes; then
36641 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36642 cat >>confdefs.h
<<\_ACEOF
36643 #define wxUSE_LIBGNOMEPRINT 1
36649 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36650 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36651 wxUSE_LIBGNOMEPRINT
="no"
36661 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_CMDLINE_PARSER 1
36668 if test "$wxUSE_STOPWATCH" = "yes"; then
36669 cat >>confdefs.h
<<\_ACEOF
36670 #define wxUSE_STOPWATCH 1
36675 if test "$wxUSE_DATETIME" = "yes"; then
36676 cat >>confdefs.h
<<\_ACEOF
36677 #define wxUSE_DATETIME 1
36682 if test "$wxUSE_FILE" = "yes"; then
36683 cat >>confdefs.h
<<\_ACEOF
36684 #define wxUSE_FILE 1
36689 if test "$wxUSE_FFILE" = "yes"; then
36690 cat >>confdefs.h
<<\_ACEOF
36691 #define wxUSE_FFILE 1
36696 if test "$wxUSE_FILESYSTEM" = "yes"; then
36697 cat >>confdefs.h
<<\_ACEOF
36698 #define wxUSE_FILESYSTEM 1
36703 if test "$wxUSE_FS_ZIP" = "yes"; then
36704 cat >>confdefs.h
<<\_ACEOF
36705 #define wxUSE_FS_ZIP 1
36710 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36711 cat >>confdefs.h
<<\_ACEOF
36712 #define wxUSE_ARCHIVE_STREAMS 1
36717 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36718 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36719 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36720 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36721 elif test "$wxUSE_ZLIB" = "no"; then
36722 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36723 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36725 cat >>confdefs.h
<<\_ACEOF
36726 #define wxUSE_ZIPSTREAM 1
36732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36733 cat >>confdefs.h
<<\_ACEOF
36734 #define wxUSE_ON_FATAL_EXCEPTION 1
36739 if test "$wxUSE_STACKWALKER" = "yes"; then
36740 cat >>confdefs.h
<<\_ACEOF
36741 #define wxUSE_STACKWALKER 1
36746 if test "$wxUSE_DEBUGREPORT" = "yes"; then
36747 if test "$USE_OS2" = "1"; then
36748 { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5
36749 echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;}
36750 wxUSE_DEBUGREPORT
=no
36752 cat >>confdefs.h
<<\_ACEOF
36753 #define wxUSE_DEBUGREPORT 1
36756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
36760 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36761 cat >>confdefs.h
<<\_ACEOF
36762 #define wxUSE_SNGLINST_CHECKER 1
36767 if test "$wxUSE_BUSYINFO" = "yes"; then
36768 cat >>confdefs.h
<<\_ACEOF
36769 #define wxUSE_BUSYINFO 1
36774 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36775 cat >>confdefs.h
<<\_ACEOF
36776 #define wxUSE_STD_IOSTREAM 1
36781 if test "$wxUSE_STDPATHS" = "yes"; then
36782 cat >>confdefs.h
<<\_ACEOF
36783 #define wxUSE_STDPATHS 1
36788 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36789 cat >>confdefs.h
<<\_ACEOF
36790 #define wxUSE_TEXTBUFFER 1
36795 if test "$wxUSE_TEXTFILE" = "yes"; then
36796 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36797 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36798 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36800 cat >>confdefs.h
<<\_ACEOF
36801 #define wxUSE_TEXTFILE 1
36807 if test "$wxUSE_CONFIG" = "yes" ; then
36808 if test "$wxUSE_TEXTFILE" != "yes"; then
36809 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36810 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36812 cat >>confdefs.h
<<\_ACEOF
36813 #define wxUSE_CONFIG 1
36816 cat >>confdefs.h
<<\_ACEOF
36817 #define wxUSE_CONFIG_NATIVE 1
36820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36824 if test "$wxUSE_INTL" = "yes" ; then
36825 if test "$wxUSE_FILE" != "yes"; then
36826 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36827 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36829 cat >>confdefs.h
<<\_ACEOF
36830 #define wxUSE_INTL 1
36833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36834 GUIDIST
="$GUIDIST INTL_DIST"
36838 if test "$wxUSE_LOG" = "yes"; then
36839 cat >>confdefs.h
<<\_ACEOF
36840 #define wxUSE_LOG 1
36844 if test "$wxUSE_LOGGUI" = "yes"; then
36845 cat >>confdefs.h
<<\_ACEOF
36846 #define wxUSE_LOGGUI 1
36851 if test "$wxUSE_LOGWINDOW" = "yes"; then
36852 cat >>confdefs.h
<<\_ACEOF
36853 #define wxUSE_LOGWINDOW 1
36858 if test "$wxUSE_LOGDIALOG" = "yes"; then
36859 cat >>confdefs.h
<<\_ACEOF
36860 #define wxUSE_LOG_DIALOG 1
36865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36868 if test "$wxUSE_LONGLONG" = "yes"; then
36869 cat >>confdefs.h
<<\_ACEOF
36870 #define wxUSE_LONGLONG 1
36875 if test "$wxUSE_GEOMETRY" = "yes"; then
36876 cat >>confdefs.h
<<\_ACEOF
36877 #define wxUSE_GEOMETRY 1
36882 if test "$wxUSE_STREAMS" = "yes" ; then
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define wxUSE_STREAMS 1
36890 if test "$wxUSE_DATETIME" = "yes"; then
36892 for ac_func
in strptime
36894 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36895 echo "$as_me:$LINENO: checking for $ac_func" >&5
36896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36897 if eval "test \"\${$as_ac_var+set}\" = set"; then
36898 echo $ECHO_N "(cached) $ECHO_C" >&6
36900 cat >conftest.
$ac_ext <<_ACEOF
36903 cat confdefs.h
>>conftest.
$ac_ext
36904 cat >>conftest.
$ac_ext <<_ACEOF
36905 /* end confdefs.h. */
36906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36908 #define $ac_func innocuous_$ac_func
36910 /* System header to define __stub macros and hopefully few prototypes,
36911 which can conflict with char $ac_func (); below.
36912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36913 <limits.h> exists even on freestanding compilers. */
36916 # include <limits.h>
36918 # include <assert.h>
36923 /* Override any gcc2 internal prototype to avoid an error. */
36928 /* We use char because int might match the return type of a gcc2
36929 builtin and then its argument prototype would still apply. */
36931 /* The GNU C library defines this for functions which it implements
36932 to always fail with ENOSYS. Some functions are actually named
36933 something starting with __ and the normal name is an alias. */
36934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36937 char (*f) () = $ac_func;
36946 return f != $ac_func;
36951 rm -f conftest.
$ac_objext conftest
$ac_exeext
36952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36953 (eval $ac_link) 2>conftest.er1
36955 grep -v '^ *+' conftest.er1
>conftest.err
36957 cat conftest.err
>&5
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); } &&
36960 { ac_try
='test -z "$ac_c_werror_flag"
36961 || test ! -s conftest.err'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; } &&
36967 { ac_try
='test -s conftest$ac_exeext'
36968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36969 (eval $ac_try) 2>&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); }; }; then
36973 eval "$as_ac_var=yes"
36975 echo "$as_me: failed program was:" >&5
36976 sed 's/^/| /' conftest.
$ac_ext >&5
36978 eval "$as_ac_var=no"
36980 rm -f conftest.err conftest.
$ac_objext \
36981 conftest
$ac_exeext conftest.
$ac_ext
36983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36985 if test `eval echo '${'$as_ac_var'}'` = yes; then
36986 cat >>confdefs.h
<<_ACEOF
36987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36994 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36995 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36996 if test "${wx_cv_var_timezone+set}" = set; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
37000 cat >conftest.
$ac_ext <<_ACEOF
37003 cat confdefs.h
>>conftest.
$ac_ext
37004 cat >>conftest.
$ac_ext <<_ACEOF
37005 /* end confdefs.h. */
37020 rm -f conftest.
$ac_objext
37021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37022 (eval $ac_compile) 2>conftest.er1
37024 grep -v '^ *+' conftest.er1
>conftest.err
37026 cat conftest.err
>&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } &&
37029 { ac_try
='test -z "$ac_c_werror_flag"
37030 || test ! -s conftest.err'
37031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37032 (eval $ac_try) 2>&5
37034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37035 (exit $ac_status); }; } &&
37036 { ac_try
='test -s conftest.$ac_objext'
37037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37038 (eval $ac_try) 2>&5
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); }; }; then
37043 wx_cv_var_timezone
=timezone
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.
$ac_ext >&5
37050 cat >conftest.
$ac_ext <<_ACEOF
37053 cat confdefs.h
>>conftest.
$ac_ext
37054 cat >>conftest.
$ac_ext <<_ACEOF
37055 /* end confdefs.h. */
37070 rm -f conftest.
$ac_objext
37071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37072 (eval $ac_compile) 2>conftest.er1
37074 grep -v '^ *+' conftest.er1
>conftest.err
37076 cat conftest.err
>&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } &&
37079 { ac_try
='test -z "$ac_c_werror_flag"
37080 || test ! -s conftest.err'
37081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37082 (eval $ac_try) 2>&5
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); }; } &&
37086 { ac_try
='test -s conftest.$ac_objext'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37093 wx_cv_var_timezone
=_timezone
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.
$ac_ext >&5
37100 cat >conftest.
$ac_ext <<_ACEOF
37103 cat confdefs.h
>>conftest.
$ac_ext
37104 cat >>conftest.
$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37120 rm -f conftest.
$ac_objext
37121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37122 (eval $ac_compile) 2>conftest.er1
37124 grep -v '^ *+' conftest.er1
>conftest.err
37126 cat conftest.err
>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } &&
37129 { ac_try
='test -z "$ac_c_werror_flag"
37130 || test ! -s conftest.err'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; } &&
37136 { ac_try
='test -s conftest.$ac_objext'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; }; then
37143 wx_cv_var_timezone
=__timezone
37146 echo "$as_me: failed program was:" >&5
37147 sed 's/^/| /' conftest.
$ac_ext >&5
37150 if test "$USE_DOS" = 0 ; then
37151 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37152 echo "$as_me: WARNING: no timezone variable" >&2;}
37157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37169 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
37170 echo "${ECHO_T}$wx_cv_var_timezone" >&6
37172 if test "x$wx_cv_var_timezone" != x
; then
37173 cat >>confdefs.h
<<_ACEOF
37174 #define WX_TIMEZONE $wx_cv_var_timezone
37180 for ac_func
in localtime
37182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37183 echo "$as_me:$LINENO: checking for $ac_func" >&5
37184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37185 if eval "test \"\${$as_ac_var+set}\" = set"; then
37186 echo $ECHO_N "(cached) $ECHO_C" >&6
37188 cat >conftest.
$ac_ext <<_ACEOF
37191 cat confdefs.h
>>conftest.
$ac_ext
37192 cat >>conftest.
$ac_ext <<_ACEOF
37193 /* end confdefs.h. */
37194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37196 #define $ac_func innocuous_$ac_func
37198 /* System header to define __stub macros and hopefully few prototypes,
37199 which can conflict with char $ac_func (); below.
37200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37201 <limits.h> exists even on freestanding compilers. */
37204 # include <limits.h>
37206 # include <assert.h>
37211 /* Override any gcc2 internal prototype to avoid an error. */
37216 /* We use char because int might match the return type of a gcc2
37217 builtin and then its argument prototype would still apply. */
37219 /* The GNU C library defines this for functions which it implements
37220 to always fail with ENOSYS. Some functions are actually named
37221 something starting with __ and the normal name is an alias. */
37222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37225 char (*f) () = $ac_func;
37234 return f != $ac_func;
37239 rm -f conftest.
$ac_objext conftest
$ac_exeext
37240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37241 (eval $ac_link) 2>conftest.er1
37243 grep -v '^ *+' conftest.er1
>conftest.err
37245 cat conftest.err
>&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); } &&
37248 { ac_try
='test -z "$ac_c_werror_flag"
37249 || test ! -s conftest.err'
37250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37251 (eval $ac_try) 2>&5
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); }; } &&
37255 { ac_try
='test -s conftest$ac_exeext'
37256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37257 (eval $ac_try) 2>&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); }; }; then
37261 eval "$as_ac_var=yes"
37263 echo "$as_me: failed program was:" >&5
37264 sed 's/^/| /' conftest.
$ac_ext >&5
37266 eval "$as_ac_var=no"
37268 rm -f conftest.err conftest.
$ac_objext \
37269 conftest
$ac_exeext conftest.
$ac_ext
37271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37273 if test `eval echo '${'$as_ac_var'}'` = yes; then
37274 cat >>confdefs.h
<<_ACEOF
37275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37282 if test "$ac_cv_func_localtime" = "yes"; then
37283 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
37284 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
37285 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
37286 echo $ECHO_N "(cached) $ECHO_C" >&6
37289 cat >conftest.
$ac_ext <<_ACEOF
37292 cat confdefs.h
>>conftest.
$ac_ext
37293 cat >>conftest.
$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37309 rm -f conftest.
$ac_objext
37310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37311 (eval $ac_compile) 2>conftest.er1
37313 grep -v '^ *+' conftest.er1
>conftest.err
37315 cat conftest.err
>&5
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); } &&
37318 { ac_try
='test -z "$ac_c_werror_flag"
37319 || test ! -s conftest.err'
37320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37321 (eval $ac_try) 2>&5
37323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324 (exit $ac_status); }; } &&
37325 { ac_try
='test -s conftest.$ac_objext'
37326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327 (eval $ac_try) 2>&5
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); }; }; then
37332 wx_cv_struct_tm_has_gmtoff
=yes
37335 echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.
$ac_ext >&5
37338 wx_cv_struct_tm_has_gmtoff
=no
37341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37344 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
37345 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
37348 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
37349 cat >>confdefs.h
<<\_ACEOF
37350 #define WX_GMTOFF_IN_TM 1
37357 for ac_func
in gettimeofday ftime
37359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37360 echo "$as_me:$LINENO: checking for $ac_func" >&5
37361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37362 if eval "test \"\${$as_ac_var+set}\" = set"; then
37363 echo $ECHO_N "(cached) $ECHO_C" >&6
37365 cat >conftest.
$ac_ext <<_ACEOF
37368 cat confdefs.h
>>conftest.
$ac_ext
37369 cat >>conftest.
$ac_ext <<_ACEOF
37370 /* end confdefs.h. */
37371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37373 #define $ac_func innocuous_$ac_func
37375 /* System header to define __stub macros and hopefully few prototypes,
37376 which can conflict with char $ac_func (); below.
37377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37378 <limits.h> exists even on freestanding compilers. */
37381 # include <limits.h>
37383 # include <assert.h>
37388 /* Override any gcc2 internal prototype to avoid an error. */
37393 /* We use char because int might match the return type of a gcc2
37394 builtin and then its argument prototype would still apply. */
37396 /* The GNU C library defines this for functions which it implements
37397 to always fail with ENOSYS. Some functions are actually named
37398 something starting with __ and the normal name is an alias. */
37399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37402 char (*f) () = $ac_func;
37411 return f != $ac_func;
37416 rm -f conftest.
$ac_objext conftest
$ac_exeext
37417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37418 (eval $ac_link) 2>conftest.er1
37420 grep -v '^ *+' conftest.er1
>conftest.err
37422 cat conftest.err
>&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); } &&
37425 { ac_try
='test -z "$ac_c_werror_flag"
37426 || test ! -s conftest.err'
37427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37428 (eval $ac_try) 2>&5
37430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37431 (exit $ac_status); }; } &&
37432 { ac_try
='test -s conftest$ac_exeext'
37433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37434 (eval $ac_try) 2>&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); }; }; then
37438 eval "$as_ac_var=yes"
37440 echo "$as_me: failed program was:" >&5
37441 sed 's/^/| /' conftest.
$ac_ext >&5
37443 eval "$as_ac_var=no"
37445 rm -f conftest.err conftest.
$ac_objext \
37446 conftest
$ac_exeext conftest.
$ac_ext
37448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37450 if test `eval echo '${'$as_ac_var'}'` = yes; then
37451 cat >>confdefs.h
<<_ACEOF
37452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37459 if test "$ac_cv_func_gettimeofday" = "yes"; then
37460 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
37461 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
37462 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
37463 echo $ECHO_N "(cached) $ECHO_C" >&6
37469 ac_cpp
='$CXXCPP $CPPFLAGS'
37470 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37475 cat >conftest.
$ac_ext <<_ACEOF
37478 cat confdefs.h
>>conftest.
$ac_ext
37479 cat >>conftest.
$ac_ext <<_ACEOF
37480 /* end confdefs.h. */
37482 #include <sys/time.h>
37483 #include <unistd.h>
37490 gettimeofday(&tv, NULL);
37496 rm -f conftest.
$ac_objext
37497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37498 (eval $ac_compile) 2>conftest.er1
37500 grep -v '^ *+' conftest.er1
>conftest.err
37502 cat conftest.err
>&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } &&
37505 { ac_try
='test -z "$ac_cxx_werror_flag"
37506 || test ! -s conftest.err'
37507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37508 (eval $ac_try) 2>&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; } &&
37512 { ac_try
='test -s conftest.$ac_objext'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; }; then
37518 wx_cv_func_gettimeofday_has_2_args
=yes
37520 echo "$as_me: failed program was:" >&5
37521 sed 's/^/| /' conftest.
$ac_ext >&5
37523 cat >conftest.
$ac_ext <<_ACEOF
37526 cat confdefs.h
>>conftest.
$ac_ext
37527 cat >>conftest.
$ac_ext <<_ACEOF
37528 /* end confdefs.h. */
37530 #include <sys/time.h>
37531 #include <unistd.h>
37544 rm -f conftest.
$ac_objext
37545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37546 (eval $ac_compile) 2>conftest.er1
37548 grep -v '^ *+' conftest.er1
>conftest.err
37550 cat conftest.err
>&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } &&
37553 { ac_try
='test -z "$ac_cxx_werror_flag"
37554 || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try
='test -s conftest.$ac_objext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 wx_cv_func_gettimeofday_has_2_args
=no
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.
$ac_ext >&5
37572 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37573 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37574 wx_cv_func_gettimeofday_has_2_args
=unknown
37578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37583 ac_cpp
='$CPP $CPPFLAGS'
37584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37590 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37591 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37593 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37594 cat >>confdefs.h
<<\_ACEOF
37595 #define WX_GETTIMEOFDAY_NO_TZ 1
37601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37605 if test "$wxUSE_SOCKETS" = "yes"; then
37606 if test "$wxUSE_MGL" = "1"; then
37607 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37608 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37613 if test "$wxUSE_SOCKETS" = "yes"; then
37614 if test "$TOOLKIT" != "MSW"; then
37615 echo "$as_me:$LINENO: checking for socket" >&5
37616 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37617 if test "${ac_cv_func_socket+set}" = set; then
37618 echo $ECHO_N "(cached) $ECHO_C" >&6
37620 cat >conftest.
$ac_ext <<_ACEOF
37623 cat confdefs.h
>>conftest.
$ac_ext
37624 cat >>conftest.
$ac_ext <<_ACEOF
37625 /* end confdefs.h. */
37626 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37628 #define socket innocuous_socket
37630 /* System header to define __stub macros and hopefully few prototypes,
37631 which can conflict with char socket (); below.
37632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37633 <limits.h> exists even on freestanding compilers. */
37636 # include <limits.h>
37638 # include <assert.h>
37643 /* 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. */
37651 /* The GNU C library defines this for functions which it implements
37652 to always fail with ENOSYS. Some functions are actually named
37653 something starting with __ and the normal name is an alias. */
37654 #if defined (__stub_socket) || defined (__stub___socket)
37657 char (*f) () = socket;
37666 return f != socket;
37671 rm -f conftest.
$ac_objext conftest
$ac_exeext
37672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37673 (eval $ac_link) 2>conftest.er1
37675 grep -v '^ *+' conftest.er1
>conftest.err
37677 cat conftest.err
>&5
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); } &&
37680 { ac_try
='test -z "$ac_c_werror_flag"
37681 || test ! -s conftest.err'
37682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37683 (eval $ac_try) 2>&5
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); }; } &&
37687 { ac_try
='test -s conftest$ac_exeext'
37688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37689 (eval $ac_try) 2>&5
37691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692 (exit $ac_status); }; }; then
37693 ac_cv_func_socket
=yes
37695 echo "$as_me: failed program was:" >&5
37696 sed 's/^/| /' conftest.
$ac_ext >&5
37698 ac_cv_func_socket
=no
37700 rm -f conftest.err conftest.
$ac_objext \
37701 conftest
$ac_exeext conftest.
$ac_ext
37703 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37704 echo "${ECHO_T}$ac_cv_func_socket" >&6
37705 if test $ac_cv_func_socket = yes; then
37709 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37710 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37711 if test "${ac_cv_lib_socket_socket+set}" = set; then
37712 echo $ECHO_N "(cached) $ECHO_C" >&6
37714 ac_check_lib_save_LIBS
=$LIBS
37715 LIBS
="-lsocket $LIBS"
37716 cat >conftest.
$ac_ext <<_ACEOF
37719 cat confdefs.h
>>conftest.
$ac_ext
37720 cat >>conftest.
$ac_ext <<_ACEOF
37721 /* end confdefs.h. */
37723 /* Override any gcc2 internal prototype to avoid an error. */
37727 /* We use char because int might match the return type of a gcc2
37728 builtin and then its argument prototype would still apply. */
37738 rm -f conftest.
$ac_objext conftest
$ac_exeext
37739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37740 (eval $ac_link) 2>conftest.er1
37742 grep -v '^ *+' conftest.er1
>conftest.err
37744 cat conftest.err
>&5
37745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37746 (exit $ac_status); } &&
37747 { ac_try
='test -z "$ac_c_werror_flag"
37748 || test ! -s conftest.err'
37749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37750 (eval $ac_try) 2>&5
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); }; } &&
37754 { ac_try
='test -s conftest$ac_exeext'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; }; then
37760 ac_cv_lib_socket_socket
=yes
37762 echo "$as_me: failed program was:" >&5
37763 sed 's/^/| /' conftest.
$ac_ext >&5
37765 ac_cv_lib_socket_socket
=no
37767 rm -f conftest.err conftest.
$ac_objext \
37768 conftest
$ac_exeext conftest.
$ac_ext
37769 LIBS
=$ac_check_lib_save_LIBS
37771 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37772 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37773 if test $ac_cv_lib_socket_socket = yes; then
37774 if test "$INET_LINK" != " -lsocket"; then
37775 INET_LINK
="$INET_LINK -lsocket"
37779 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37780 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37793 if test "$wxUSE_SOCKETS" = "yes" ; then
37794 if test "$TOOLKIT" != "MSW"; then
37796 ac_cpp
='$CXXCPP $CPPFLAGS'
37797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37801 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37802 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37803 if test "${wx_cv_type_getsockname3+set}" = set; then
37804 echo $ECHO_N "(cached) $ECHO_C" >&6
37807 cat >conftest.
$ac_ext <<_ACEOF
37810 cat confdefs.h
>>conftest.
$ac_ext
37811 cat >>conftest.
$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37814 #include <sys/types.h>
37815 #include <sys/socket.h>
37822 getsockname(0, 0, &len);
37828 rm -f conftest.
$ac_objext
37829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37830 (eval $ac_compile) 2>conftest.er1
37832 grep -v '^ *+' conftest.er1
>conftest.err
37834 cat conftest.err
>&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); } &&
37837 { ac_try
='test -z "$ac_cxx_werror_flag"
37838 || test ! -s conftest.err'
37839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37840 (eval $ac_try) 2>&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); }; } &&
37844 { ac_try
='test -s conftest.$ac_objext'
37845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37846 (eval $ac_try) 2>&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); }; }; then
37850 wx_cv_type_getsockname3
=socklen_t
37852 echo "$as_me: failed program was:" >&5
37853 sed 's/^/| /' conftest.
$ac_ext >&5
37856 CFLAGS_OLD
="$CFLAGS"
37857 if test "$GCC" = yes ; then
37858 CFLAGS
="$CFLAGS -Werror"
37861 cat >conftest.
$ac_ext <<_ACEOF
37864 cat confdefs.h
>>conftest.
$ac_ext
37865 cat >>conftest.
$ac_ext <<_ACEOF
37866 /* end confdefs.h. */
37868 #include <sys/types.h>
37869 #include <sys/socket.h>
37876 getsockname(0, 0, &len);
37882 rm -f conftest.
$ac_objext
37883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37884 (eval $ac_compile) 2>conftest.er1
37886 grep -v '^ *+' conftest.er1
>conftest.err
37888 cat conftest.err
>&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); } &&
37891 { ac_try
='test -z "$ac_cxx_werror_flag"
37892 || test ! -s conftest.err'
37893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37894 (eval $ac_try) 2>&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); }; } &&
37898 { ac_try
='test -s conftest.$ac_objext'
37899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37900 (eval $ac_try) 2>&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); }; }; then
37904 wx_cv_type_getsockname3
=size_t
37906 echo "$as_me: failed program was:" >&5
37907 sed 's/^/| /' conftest.
$ac_ext >&5
37909 cat >conftest.
$ac_ext <<_ACEOF
37912 cat confdefs.h
>>conftest.
$ac_ext
37913 cat >>conftest.
$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37916 #include <sys/types.h>
37917 #include <sys/socket.h>
37924 getsockname(0, 0, &len);
37930 rm -f conftest.
$ac_objext
37931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37932 (eval $ac_compile) 2>conftest.er1
37934 grep -v '^ *+' conftest.er1
>conftest.err
37936 cat conftest.err
>&5
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); } &&
37939 { ac_try
='test -z "$ac_cxx_werror_flag"
37940 || test ! -s conftest.err'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; } &&
37946 { ac_try
='test -s conftest.$ac_objext'
37947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948 (eval $ac_try) 2>&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); }; }; then
37952 wx_cv_type_getsockname3
=int
37954 echo "$as_me: failed program was:" >&5
37955 sed 's/^/| /' conftest.
$ac_ext >&5
37957 wx_cv_type_getsockname3
=unknown
37960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37965 CFLAGS
="$CFLAGS_OLD"
37969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37972 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37973 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37975 if test "$wx_cv_type_getsockname3" = "unknown"; then
37977 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37978 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37980 cat >>confdefs.h
<<_ACEOF
37981 #define SOCKLEN_T $wx_cv_type_getsockname3
37985 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37986 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37987 if test "${wx_cv_type_getsockopt5+set}" = set; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37991 cat >conftest.
$ac_ext <<_ACEOF
37994 cat confdefs.h
>>conftest.
$ac_ext
37995 cat >>conftest.
$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37998 #include <sys/types.h>
37999 #include <sys/socket.h>
38006 getsockopt(0, 0, 0, 0, &len);
38012 rm -f conftest.
$ac_objext
38013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38014 (eval $ac_compile) 2>conftest.er1
38016 grep -v '^ *+' conftest.er1
>conftest.err
38018 cat conftest.err
>&5
38019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38020 (exit $ac_status); } &&
38021 { ac_try
='test -z "$ac_cxx_werror_flag"
38022 || test ! -s conftest.err'
38023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024 (eval $ac_try) 2>&5
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); }; } &&
38028 { ac_try
='test -s conftest.$ac_objext'
38029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38030 (eval $ac_try) 2>&5
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); }; }; then
38034 wx_cv_type_getsockopt5
=socklen_t
38036 echo "$as_me: failed program was:" >&5
38037 sed 's/^/| /' conftest.
$ac_ext >&5
38040 CFLAGS_OLD
="$CFLAGS"
38041 if test "$GCC" = yes ; then
38042 CFLAGS
="$CFLAGS -Werror"
38045 cat >conftest.
$ac_ext <<_ACEOF
38048 cat confdefs.h
>>conftest.
$ac_ext
38049 cat >>conftest.
$ac_ext <<_ACEOF
38050 /* end confdefs.h. */
38052 #include <sys/types.h>
38053 #include <sys/socket.h>
38060 getsockopt(0, 0, 0, 0, &len);
38066 rm -f conftest.
$ac_objext
38067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38068 (eval $ac_compile) 2>conftest.er1
38070 grep -v '^ *+' conftest.er1
>conftest.err
38072 cat conftest.err
>&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } &&
38075 { ac_try
='test -z "$ac_cxx_werror_flag"
38076 || test ! -s conftest.err'
38077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38078 (eval $ac_try) 2>&5
38080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081 (exit $ac_status); }; } &&
38082 { ac_try
='test -s conftest.$ac_objext'
38083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38084 (eval $ac_try) 2>&5
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); }; }; then
38088 wx_cv_type_getsockopt5
=size_t
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.
$ac_ext >&5
38093 cat >conftest.
$ac_ext <<_ACEOF
38096 cat confdefs.h
>>conftest.
$ac_ext
38097 cat >>conftest.
$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38100 #include <sys/types.h>
38101 #include <sys/socket.h>
38108 getsockopt(0, 0, 0, 0, &len);
38114 rm -f conftest.
$ac_objext
38115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38116 (eval $ac_compile) 2>conftest.er1
38118 grep -v '^ *+' conftest.er1
>conftest.err
38120 cat conftest.err
>&5
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); } &&
38123 { ac_try
='test -z "$ac_cxx_werror_flag"
38124 || test ! -s conftest.err'
38125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38126 (eval $ac_try) 2>&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); }; } &&
38130 { ac_try
='test -s conftest.$ac_objext'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; }; then
38136 wx_cv_type_getsockopt5
=int
38138 echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.
$ac_ext >&5
38141 wx_cv_type_getsockopt5
=unknown
38144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38149 CFLAGS
="$CFLAGS_OLD"
38153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38156 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38157 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38159 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38161 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38162 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38164 cat >>confdefs.h
<<_ACEOF
38165 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38170 ac_cpp
='$CPP $CPPFLAGS'
38171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38178 if test "$wxUSE_SOCKETS" = "yes" ; then
38179 cat >>confdefs.h
<<\_ACEOF
38180 #define wxUSE_SOCKETS 1
38183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
38186 if test "$wxUSE_PROTOCOL" = "yes"; then
38187 if test "$wxUSE_SOCKETS" != "yes"; then
38188 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
38189 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
38194 if test "$wxUSE_PROTOCOL" = "yes"; then
38195 cat >>confdefs.h
<<\_ACEOF
38196 #define wxUSE_PROTOCOL 1
38200 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
38201 cat >>confdefs.h
<<\_ACEOF
38202 #define wxUSE_PROTOCOL_HTTP 1
38206 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
38207 cat >>confdefs.h
<<\_ACEOF
38208 #define wxUSE_PROTOCOL_FTP 1
38212 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
38213 cat >>confdefs.h
<<\_ACEOF
38214 #define wxUSE_PROTOCOL_FILE 1
38219 if test "$wxUSE_FS_INET" = "yes"; then
38220 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
38221 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
38226 if test "$wxUSE_URL" = "yes"; then
38227 if test "$wxUSE_PROTOCOL" != "yes"; then
38228 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
38229 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
38232 if test "$wxUSE_URL" = "yes"; then
38233 cat >>confdefs.h
<<\_ACEOF
38234 #define wxUSE_URL 1
38240 if test "$wxUSE_FS_INET" = "yes"; then
38241 cat >>confdefs.h
<<\_ACEOF
38242 #define wxUSE_FS_INET 1
38248 if test "$wxUSE_GUI" = "yes"; then
38249 if test "$wxUSE_JOYSTICK" = "yes"; then
38251 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
38253 for ac_header
in linux
/joystick.h
38255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38257 echo "$as_me:$LINENO: checking for $ac_header" >&5
38258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38260 echo $ECHO_N "(cached) $ECHO_C" >&6
38262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38265 # Is the header compilable?
38266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38268 cat >conftest.
$ac_ext <<_ACEOF
38271 cat confdefs.h
>>conftest.
$ac_ext
38272 cat >>conftest.
$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38274 $ac_includes_default
38275 #include <$ac_header>
38277 rm -f conftest.
$ac_objext
38278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38279 (eval $ac_compile) 2>conftest.er1
38281 grep -v '^ *+' conftest.er1
>conftest.err
38283 cat conftest.err
>&5
38284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285 (exit $ac_status); } &&
38286 { ac_try
='test -z "$ac_c_werror_flag"
38287 || test ! -s conftest.err'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; } &&
38293 { ac_try
='test -s conftest.$ac_objext'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; }; then
38299 ac_header_compiler
=yes
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.
$ac_ext >&5
38304 ac_header_compiler
=no
38306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38308 echo "${ECHO_T}$ac_header_compiler" >&6
38310 # Is the header present?
38311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38313 cat >conftest.
$ac_ext <<_ACEOF
38316 cat confdefs.h
>>conftest.
$ac_ext
38317 cat >>conftest.
$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38319 #include <$ac_header>
38321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38322 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38324 grep -v '^ *+' conftest.er1
>conftest.err
38326 cat conftest.err
>&5
38327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38328 (exit $ac_status); } >/dev
/null
; then
38329 if test -s conftest.err
; then
38330 ac_cpp_err
=$ac_c_preproc_warn_flag
38331 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38338 if test -z "$ac_cpp_err"; then
38339 ac_header_preproc
=yes
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.
$ac_ext >&5
38344 ac_header_preproc
=no
38346 rm -f conftest.err conftest.
$ac_ext
38347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38348 echo "${ECHO_T}$ac_header_preproc" >&6
38350 # So? What about this header?
38351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38353 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38356 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38357 ac_header_preproc
=yes
38360 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38361 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38362 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38363 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38364 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38365 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38366 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38367 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38370 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38371 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38374 ## ----------------------------------------- ##
38375 ## Report this to wx-dev@lists.wxwidgets.org ##
38376 ## ----------------------------------------- ##
38379 sed "s/^/$as_me: WARNING: /" >&2
38382 echo "$as_me:$LINENO: checking for $ac_header" >&5
38383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38385 echo $ECHO_N "(cached) $ECHO_C" >&6
38387 eval "$as_ac_Header=\$ac_header_preproc"
38389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38394 cat >>confdefs.h
<<_ACEOF
38395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38402 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
38404 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38405 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38408 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
38410 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
38411 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
38416 if test "$wxUSE_JOYSTICK" = "yes"; then
38417 cat >>confdefs.h
<<\_ACEOF
38418 #define wxUSE_JOYSTICK 1
38421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
38428 if test "$wxUSE_FONTMAP" = "yes" ; then
38429 cat >>confdefs.h
<<\_ACEOF
38430 #define wxUSE_FONTMAP 1
38435 if test "$wxUSE_UNICODE" = "yes" ; then
38436 cat >>confdefs.h
<<\_ACEOF
38437 #define wxUSE_UNICODE 1
38441 if test "$USE_WIN32" != 1; then
38442 wxUSE_UNICODE_MSLU
=no
38445 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
38446 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
38447 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
38448 if test "${ac_cv_lib_unicows_main+set}" = set; then
38449 echo $ECHO_N "(cached) $ECHO_C" >&6
38451 ac_check_lib_save_LIBS
=$LIBS
38452 LIBS
="-lunicows $LIBS"
38453 cat >conftest.
$ac_ext <<_ACEOF
38456 cat confdefs.h
>>conftest.
$ac_ext
38457 cat >>conftest.
$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38469 rm -f conftest.
$ac_objext conftest
$ac_exeext
38470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38471 (eval $ac_link) 2>conftest.er1
38473 grep -v '^ *+' conftest.er1
>conftest.err
38475 cat conftest.err
>&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } &&
38478 { ac_try
='test -z "$ac_c_werror_flag"
38479 || test ! -s conftest.err'
38480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38481 (eval $ac_try) 2>&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); }; } &&
38485 { ac_try
='test -s conftest$ac_exeext'
38486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38487 (eval $ac_try) 2>&5
38489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38490 (exit $ac_status); }; }; then
38491 ac_cv_lib_unicows_main
=yes
38493 echo "$as_me: failed program was:" >&5
38494 sed 's/^/| /' conftest.
$ac_ext >&5
38496 ac_cv_lib_unicows_main
=no
38498 rm -f conftest.err conftest.
$ac_objext \
38499 conftest
$ac_exeext conftest.
$ac_ext
38500 LIBS
=$ac_check_lib_save_LIBS
38502 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38503 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38504 if test $ac_cv_lib_unicows_main = yes; then
38506 cat >>confdefs.h
<<\_ACEOF
38507 #define wxUSE_UNICODE_MSLU 1
38513 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38514 Applications will only run on Windows NT/2000/XP!" >&5
38515 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38516 Applications will only run on Windows NT/2000/XP!" >&2;}
38517 wxUSE_UNICODE_MSLU
=no
38524 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38525 cat >>confdefs.h
<<\_ACEOF
38526 #define wxUSE_EXPERIMENTAL_PRINTF 1
38532 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38533 cat >>confdefs.h
<<\_ACEOF
38534 #define wxUSE_POSTSCRIPT 1
38539 cat >>confdefs.h
<<\_ACEOF
38540 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38544 cat >>confdefs.h
<<\_ACEOF
38545 #define wxUSE_NORMALIZED_PS_FONTS 1
38550 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38551 cat >>confdefs.h
<<\_ACEOF
38552 #define wxUSE_CONSTRAINTS 1
38555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38558 if test "$wxUSE_MDI" = "yes"; then
38559 cat >>confdefs.h
<<\_ACEOF
38560 #define wxUSE_MDI 1
38564 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38565 cat >>confdefs.h
<<\_ACEOF
38566 #define wxUSE_MDI_ARCHITECTURE 1
38569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38573 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38574 cat >>confdefs.h
<<\_ACEOF
38575 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38579 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38584 if test "$wxUSE_HELP" = "yes"; then
38585 cat >>confdefs.h
<<\_ACEOF
38586 #define wxUSE_HELP 1
38589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38591 if test "$wxUSE_MSW" = 1; then
38592 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38593 cat >>confdefs.h
<<\_ACEOF
38594 #define wxUSE_MS_HTML_HELP 1
38600 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38601 if test "$wxUSE_HTML" = "yes"; then
38602 cat >>confdefs.h
<<\_ACEOF
38603 #define wxUSE_WXHTML_HELP 1
38607 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38608 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38609 wxUSE_WXHTML_HELP
=no
38614 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38615 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38616 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38617 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38619 cat >>confdefs.h
<<\_ACEOF
38620 #define wxUSE_PRINTING_ARCHITECTURE 1
38624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38627 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38628 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38629 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38630 { (exit 1); exit 1; }; }
38634 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38635 -o "$wxUSE_CLIPBOARD" = "yes" \
38636 -o "$wxUSE_OLE" = "yes" \
38637 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38639 for ac_header
in ole2.h
38641 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38643 echo "$as_me:$LINENO: checking for $ac_header" >&5
38644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38646 echo $ECHO_N "(cached) $ECHO_C" >&6
38648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38651 # Is the header compilable?
38652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38654 cat >conftest.
$ac_ext <<_ACEOF
38657 cat confdefs.h
>>conftest.
$ac_ext
38658 cat >>conftest.
$ac_ext <<_ACEOF
38659 /* end confdefs.h. */
38660 $ac_includes_default
38661 #include <$ac_header>
38663 rm -f conftest.
$ac_objext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38665 (eval $ac_compile) 2>conftest.er1
38667 grep -v '^ *+' conftest.er1
>conftest.err
38669 cat conftest.err
>&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try
='test -z "$ac_c_werror_flag"
38673 || test ! -s conftest.err'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; } &&
38679 { ac_try
='test -s conftest.$ac_objext'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; }; then
38685 ac_header_compiler
=yes
38687 echo "$as_me: failed program was:" >&5
38688 sed 's/^/| /' conftest.
$ac_ext >&5
38690 ac_header_compiler
=no
38692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38694 echo "${ECHO_T}$ac_header_compiler" >&6
38696 # Is the header present?
38697 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38698 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38699 cat >conftest.
$ac_ext <<_ACEOF
38702 cat confdefs.h
>>conftest.
$ac_ext
38703 cat >>conftest.
$ac_ext <<_ACEOF
38704 /* end confdefs.h. */
38705 #include <$ac_header>
38707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38710 grep -v '^ *+' conftest.er1
>conftest.err
38712 cat conftest.err
>&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } >/dev
/null
; then
38715 if test -s conftest.err
; then
38716 ac_cpp_err
=$ac_c_preproc_warn_flag
38717 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38724 if test -z "$ac_cpp_err"; then
38725 ac_header_preproc
=yes
38727 echo "$as_me: failed program was:" >&5
38728 sed 's/^/| /' conftest.
$ac_ext >&5
38730 ac_header_preproc
=no
38732 rm -f conftest.err conftest.
$ac_ext
38733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38734 echo "${ECHO_T}$ac_header_preproc" >&6
38736 # So? What about this header?
38737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38743 ac_header_preproc
=yes
38746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38760 ## ----------------------------------------- ##
38761 ## Report this to wx-dev@lists.wxwidgets.org ##
38762 ## ----------------------------------------- ##
38765 sed "s/^/$as_me: WARNING: /" >&2
38768 echo "$as_me:$LINENO: checking for $ac_header" >&5
38769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38771 echo $ECHO_N "(cached) $ECHO_C" >&6
38773 eval "$as_ac_Header=\$ac_header_preproc"
38775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38780 cat >>confdefs.h
<<_ACEOF
38781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38789 if test "$ac_cv_header_ole2_h" = "yes" ; then
38790 if test "$GCC" = yes ; then
38794 ac_cpp
='$CXXCPP $CPPFLAGS'
38795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38800 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38801 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38802 cat >conftest.
$ac_ext <<_ACEOF
38805 cat confdefs.h
>>conftest.
$ac_ext
38806 cat >>conftest.
$ac_ext <<_ACEOF
38807 /* end confdefs.h. */
38808 #include <windows.h>
38818 rm -f conftest.
$ac_objext
38819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38820 (eval $ac_compile) 2>conftest.er1
38822 grep -v '^ *+' conftest.er1
>conftest.err
38824 cat conftest.err
>&5
38825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38826 (exit $ac_status); } &&
38827 { ac_try
='test -z "$ac_cxx_werror_flag"
38828 || test ! -s conftest.err'
38829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830 (eval $ac_try) 2>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; } &&
38834 { ac_try
='test -s conftest.$ac_objext'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; }; then
38840 echo "$as_me:$LINENO: result: no" >&5
38841 echo "${ECHO_T}no" >&6
38843 echo "$as_me: failed program was:" >&5
38844 sed 's/^/| /' conftest.
$ac_ext >&5
38846 echo "$as_me:$LINENO: result: yes" >&5
38847 echo "${ECHO_T}yes" >&6
38848 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38852 ac_cpp
='$CPP $CPPFLAGS'
38853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38857 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38858 if test "$wxUSE_OLE" = "yes" ; then
38859 cat >>confdefs.h
<<\_ACEOF
38860 #define wxUSE_OLE 1
38863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38867 if test "$wxUSE_DATAOBJ" = "yes" ; then
38868 cat >>confdefs.h
<<\_ACEOF
38869 #define wxUSE_DATAOBJ 1
38874 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38875 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38878 wxUSE_DRAG_AND_DROP
=no
38883 if test "$wxUSE_METAFILE" = "yes"; then
38884 cat >>confdefs.h
<<\_ACEOF
38885 #define wxUSE_METAFILE 1
38889 cat >>confdefs.h
<<\_ACEOF
38890 #define wxUSE_ENH_METAFILE 1
38896 if test "$wxUSE_IPC" = "yes"; then
38897 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38898 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38899 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38903 if test "$wxUSE_IPC" = "yes"; then
38904 cat >>confdefs.h
<<\_ACEOF
38905 #define wxUSE_IPC 1
38908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38912 if test "$wxUSE_CLIPBOARD" = "yes"; then
38913 if test "$wxUSE_MGL" = 1; then
38914 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38915 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38919 if test "$wxUSE_CLIPBOARD" = "yes"; then
38920 cat >>confdefs.h
<<\_ACEOF
38921 #define wxUSE_CLIPBOARD 1
38925 cat >>confdefs.h
<<\_ACEOF
38926 #define wxUSE_DATAOBJ 1
38932 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38933 if test "$wxUSE_GTK" = 1; then
38934 if test "$WXGTK12" != 1; then
38935 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38936 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38937 wxUSE_DRAG_AND_DROP
=no
38941 if test "$wxUSE_MOTIF" = 1; then
38942 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38943 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38944 wxUSE_DRAG_AND_DROP
=no
38947 if test "$wxUSE_X11" = 1; then
38948 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38949 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38950 wxUSE_DRAG_AND_DROP
=no
38953 if test "$wxUSE_MGL" = 1; then
38954 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38955 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38956 wxUSE_DRAG_AND_DROP
=no
38959 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38960 cat >>confdefs.h
<<\_ACEOF
38961 #define wxUSE_DRAG_AND_DROP 1
38968 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38972 if test "$wxUSE_SPLINES" = "yes" ; then
38973 cat >>confdefs.h
<<\_ACEOF
38974 #define wxUSE_SPLINES 1
38981 if test "$wxUSE_CONTROLS" = "yes"; then
38985 if test "$wxUSE_ACCEL" = "yes"; then
38986 cat >>confdefs.h
<<\_ACEOF
38987 #define wxUSE_ACCEL 1
38993 if test "$wxUSE_BUTTON" = "yes"; then
38994 cat >>confdefs.h
<<\_ACEOF
38995 #define wxUSE_BUTTON 1
39001 if test "$wxUSE_BMPBUTTON" = "yes"; then
39002 cat >>confdefs.h
<<\_ACEOF
39003 #define wxUSE_BMPBUTTON 1
39009 if test "$wxUSE_CALCTRL" = "yes"; then
39010 cat >>confdefs.h
<<\_ACEOF
39011 #define wxUSE_CALENDARCTRL 1
39015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39018 if test "$wxUSE_CARET" = "yes"; then
39019 cat >>confdefs.h
<<\_ACEOF
39020 #define wxUSE_CARET 1
39024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39027 if test "$wxUSE_COMBOBOX" = "yes"; then
39028 cat >>confdefs.h
<<\_ACEOF
39029 #define wxUSE_COMBOBOX 1
39035 if test "$wxUSE_CHOICE" = "yes"; then
39036 cat >>confdefs.h
<<\_ACEOF
39037 #define wxUSE_CHOICE 1
39043 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39044 cat >>confdefs.h
<<\_ACEOF
39045 #define wxUSE_CHOICEBOOK 1
39051 if test "$wxUSE_CHECKBOX" = "yes"; then
39052 cat >>confdefs.h
<<\_ACEOF
39053 #define wxUSE_CHECKBOX 1
39059 if test "$wxUSE_CHECKLST" = "yes"; then
39060 cat >>confdefs.h
<<\_ACEOF
39061 #define wxUSE_CHECKLISTBOX 1
39065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39068 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39069 cat >>confdefs.h
<<\_ACEOF
39070 #define wxUSE_DATEPICKCTRL 1
39076 if test "$wxUSE_DISPLAY" = "yes"; then
39077 cat >>confdefs.h
<<\_ACEOF
39078 #define wxUSE_DISPLAY 1
39081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39084 if test "$wxUSE_GAUGE" = "yes"; then
39085 cat >>confdefs.h
<<\_ACEOF
39086 #define wxUSE_GAUGE 1
39092 if test "$wxUSE_GRID" = "yes"; then
39093 cat >>confdefs.h
<<\_ACEOF
39094 #define wxUSE_GRID 1
39098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
39101 if test "$wxUSE_IMAGLIST" = "yes"; then
39102 cat >>confdefs.h
<<\_ACEOF
39103 #define wxUSE_IMAGLIST 1
39108 if test "$wxUSE_LISTBOOK" = "yes"; then
39109 cat >>confdefs.h
<<\_ACEOF
39110 #define wxUSE_LISTBOOK 1
39116 if test "$wxUSE_LISTBOX" = "yes"; then
39117 cat >>confdefs.h
<<\_ACEOF
39118 #define wxUSE_LISTBOX 1
39122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
39125 if test "$wxUSE_LISTCTRL" = "yes"; then
39126 if test "$wxUSE_IMAGLIST" = "yes"; then
39127 cat >>confdefs.h
<<\_ACEOF
39128 #define wxUSE_LISTCTRL 1
39132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
39134 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
39135 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
39139 if test "$wxUSE_NOTEBOOK" = "yes"; then
39140 cat >>confdefs.h
<<\_ACEOF
39141 #define wxUSE_NOTEBOOK 1
39145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
39149 if test "$wxUSE_RADIOBOX" = "yes"; then
39150 cat >>confdefs.h
<<\_ACEOF
39151 #define wxUSE_RADIOBOX 1
39157 if test "$wxUSE_RADIOBTN" = "yes"; then
39158 cat >>confdefs.h
<<\_ACEOF
39159 #define wxUSE_RADIOBTN 1
39165 if test "$wxUSE_SASH" = "yes"; then
39166 cat >>confdefs.h
<<\_ACEOF
39167 #define wxUSE_SASH 1
39170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
39173 if test "$wxUSE_SCROLLBAR" = "yes"; then
39174 cat >>confdefs.h
<<\_ACEOF
39175 #define wxUSE_SCROLLBAR 1
39179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
39182 if test "$wxUSE_SLIDER" = "yes"; then
39183 cat >>confdefs.h
<<\_ACEOF
39184 #define wxUSE_SLIDER 1
39190 if test "$wxUSE_SPINBTN" = "yes"; then
39191 cat >>confdefs.h
<<\_ACEOF
39192 #define wxUSE_SPINBTN 1
39198 if test "$wxUSE_SPINCTRL" = "yes"; then
39199 cat >>confdefs.h
<<\_ACEOF
39200 #define wxUSE_SPINCTRL 1
39206 if test "$wxUSE_SPLITTER" = "yes"; then
39207 cat >>confdefs.h
<<\_ACEOF
39208 #define wxUSE_SPLITTER 1
39211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
39214 if test "$wxUSE_STATBMP" = "yes"; then
39215 cat >>confdefs.h
<<\_ACEOF
39216 #define wxUSE_STATBMP 1
39222 if test "$wxUSE_STATBOX" = "yes"; then
39223 cat >>confdefs.h
<<\_ACEOF
39224 #define wxUSE_STATBOX 1
39230 if test "$wxUSE_STATTEXT" = "yes"; then
39231 cat >>confdefs.h
<<\_ACEOF
39232 #define wxUSE_STATTEXT 1
39238 if test "$wxUSE_STATLINE" = "yes"; then
39239 cat >>confdefs.h
<<\_ACEOF
39240 #define wxUSE_STATLINE 1
39246 if test "$wxUSE_STATUSBAR" = "yes"; then
39247 cat >>confdefs.h
<<\_ACEOF
39248 #define wxUSE_NATIVE_STATUSBAR 1
39251 cat >>confdefs.h
<<\_ACEOF
39252 #define wxUSE_STATUSBAR 1
39257 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
39260 if test "$wxUSE_TABDIALOG" = "yes"; then
39261 cat >>confdefs.h
<<\_ACEOF
39262 #define wxUSE_TAB_DIALOG 1
39267 if test "$wxUSE_TEXTCTRL" = "yes"; then
39268 cat >>confdefs.h
<<\_ACEOF
39269 #define wxUSE_TEXTCTRL 1
39273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
39276 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39277 if test "$wxUSE_COCOA" = 1 ; then
39278 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
39279 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
39282 if test "$wxUSE_PM" = 1; then
39283 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
39284 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
39288 if test "$wxUSE_UNIVERSAL" = "yes"; then
39289 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
39290 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
39294 if test "$wxUSE_TOGGLEBTN" = "yes"; then
39295 cat >>confdefs.h
<<\_ACEOF
39296 #define wxUSE_TOGGLEBTN 1
39303 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
39304 cat >>confdefs.h
<<\_ACEOF
39305 #define wxUSE_TOOLBAR_SIMPLE 1
39308 wxUSE_TOOLBAR
="yes"
39312 if test "$wxUSE_TOOLBAR" = "yes"; then
39313 cat >>confdefs.h
<<\_ACEOF
39314 #define wxUSE_TOOLBAR 1
39319 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
39320 wxUSE_TOOLBAR_NATIVE
="yes"
39323 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
39324 cat >>confdefs.h
<<\_ACEOF
39325 #define wxUSE_TOOLBAR_NATIVE 1
39331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
39334 if test "$wxUSE_TOOLTIPS" = "yes"; then
39335 if test "$wxUSE_MOTIF" = 1; then
39336 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
39337 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
39339 if test "$wxUSE_UNIVERSAL" = "yes"; then
39340 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
39341 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
39343 cat >>confdefs.h
<<\_ACEOF
39344 #define wxUSE_TOOLTIPS 1
39351 if test "$wxUSE_TREECTRL" = "yes"; then
39352 if test "$wxUSE_IMAGLIST" = "yes"; then
39353 cat >>confdefs.h
<<\_ACEOF
39354 #define wxUSE_TREECTRL 1
39358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
39360 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
39361 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
39365 if test "$wxUSE_POPUPWIN" = "yes"; then
39366 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39367 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
39368 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
39370 if test "$wxUSE_PM" = 1; then
39371 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
39372 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
39374 cat >>confdefs.h
<<\_ACEOF
39375 #define wxUSE_POPUPWIN 1
39378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
39385 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
39386 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
39387 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
39388 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
39390 cat >>confdefs.h
<<\_ACEOF
39391 #define wxUSE_DIALUP_MANAGER 1
39394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
39398 if test "$wxUSE_TIPWINDOW" = "yes"; then
39399 if test "$wxUSE_PM" = 1; then
39400 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
39401 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
39403 cat >>confdefs.h
<<\_ACEOF
39404 #define wxUSE_TIPWINDOW 1
39410 if test "$USES_CONTROLS" = 1; then
39411 cat >>confdefs.h
<<\_ACEOF
39412 #define wxUSE_CONTROLS 1
39418 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
39419 cat >>confdefs.h
<<\_ACEOF
39420 #define wxUSE_ACCESSIBILITY 1
39423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
39426 if test "$wxUSE_DRAGIMAGE" = "yes"; then
39427 cat >>confdefs.h
<<\_ACEOF
39428 #define wxUSE_DRAGIMAGE 1
39431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
39434 if test "$wxUSE_EXCEPTIONS" = "yes"; then
39435 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39436 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
39437 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
39439 cat >>confdefs.h
<<\_ACEOF
39440 #define wxUSE_EXCEPTIONS 1
39443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
39448 if test "$wxUSE_HTML" = "yes"; then
39449 cat >>confdefs.h
<<\_ACEOF
39450 #define wxUSE_HTML 1
39454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
39455 if test "$wxUSE_MAC" = 1; then
39456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
39459 if test "$wxUSE_WEBKIT" = "yes"; then
39460 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
39461 old_CPPFLAGS
="$CPPFLAGS"
39462 CPPFLAGS
="$CPPFLAGS -x objective-c++"
39463 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
39464 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
39465 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
39466 echo $ECHO_N "(cached) $ECHO_C" >&6
39468 cat >conftest.
$ac_ext <<_ACEOF
39471 cat confdefs.h
>>conftest.
$ac_ext
39472 cat >>conftest.
$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39474 #include <Carbon/Carbon.h>
39476 #include <WebKit/HIWebView.h>
39478 rm -f conftest.
$ac_objext
39479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39480 (eval $ac_compile) 2>conftest.er1
39482 grep -v '^ *+' conftest.er1
>conftest.err
39484 cat conftest.err
>&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); } &&
39487 { ac_try
='test -z "$ac_c_werror_flag"
39488 || test ! -s conftest.err'
39489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39490 (eval $ac_try) 2>&5
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); }; } &&
39494 { ac_try
='test -s conftest.$ac_objext'
39495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39496 (eval $ac_try) 2>&5
39498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499 (exit $ac_status); }; }; then
39500 ac_cv_header_WebKit_HIWebView_h
=yes
39502 echo "$as_me: failed program was:" >&5
39503 sed 's/^/| /' conftest.
$ac_ext >&5
39505 ac_cv_header_WebKit_HIWebView_h
=no
39507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39509 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39510 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39511 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39513 cat >>confdefs.h
<<\_ACEOF
39514 #define wxUSE_WEBKIT 1
39517 WEBKIT_LINK
="-framework WebKit"
39521 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39522 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39528 CPPFLAGS
="$old_CPPFLAGS"
39529 elif test "$wxUSE_COCOA" = 1; then
39530 cat >>confdefs.h
<<\_ACEOF
39531 #define wxUSE_WEBKIT 1
39540 if test "$wxUSE_XRC" = "yes"; then
39541 if test "$wxUSE_XML" != "yes"; then
39542 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39543 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39546 cat >>confdefs.h
<<\_ACEOF
39547 #define wxUSE_XRC 1
39551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39555 if test "$wxUSE_MENUS" = "yes"; then
39556 cat >>confdefs.h
<<\_ACEOF
39557 #define wxUSE_MENUS 1
39560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39563 if test "$wxUSE_METAFILE" = "yes"; then
39564 cat >>confdefs.h
<<\_ACEOF
39565 #define wxUSE_METAFILE 1
39570 if test "$wxUSE_MIMETYPE" = "yes"; then
39571 cat >>confdefs.h
<<\_ACEOF
39572 #define wxUSE_MIMETYPE 1
39577 if test "$wxUSE_MINIFRAME" = "yes"; then
39578 cat >>confdefs.h
<<\_ACEOF
39579 #define wxUSE_MINIFRAME 1
39582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39585 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39586 cat >>confdefs.h
<<\_ACEOF
39587 #define wxUSE_SYSTEM_OPTIONS 1
39590 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39591 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39597 if test "$wxUSE_VALIDATORS" = "yes"; then
39598 cat >>confdefs.h
<<\_ACEOF
39599 #define wxUSE_VALIDATORS 1
39602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39605 if test "$wxUSE_PALETTE" = "yes" ; then
39606 cat >>confdefs.h
<<\_ACEOF
39607 #define wxUSE_PALETTE 1
39612 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39613 LIBS
=" -lunicows $LIBS"
39617 if test "$wxUSE_IMAGE" = "yes" ; then
39618 cat >>confdefs.h
<<\_ACEOF
39619 #define wxUSE_IMAGE 1
39623 if test "$wxUSE_GIF" = "yes" ; then
39624 cat >>confdefs.h
<<\_ACEOF
39625 #define wxUSE_GIF 1
39630 if test "$wxUSE_PCX" = "yes" ; then
39631 cat >>confdefs.h
<<\_ACEOF
39632 #define wxUSE_PCX 1
39637 if test "$wxUSE_IFF" = "yes" ; then
39638 cat >>confdefs.h
<<\_ACEOF
39639 #define wxUSE_IFF 1
39644 if test "$wxUSE_PNM" = "yes" ; then
39645 cat >>confdefs.h
<<\_ACEOF
39646 #define wxUSE_PNM 1
39651 if test "$wxUSE_XPM" = "yes" ; then
39652 cat >>confdefs.h
<<\_ACEOF
39653 #define wxUSE_XPM 1
39658 if test "$wxUSE_ICO_CUR" = "yes" ; then
39659 cat >>confdefs.h
<<\_ACEOF
39660 #define wxUSE_ICO_CUR 1
39667 if test "$wxUSE_CHOICEDLG" = "yes"; then
39668 cat >>confdefs.h
<<\_ACEOF
39669 #define wxUSE_CHOICEDLG 1
39674 if test "$wxUSE_COLOURDLG" = "yes"; then
39675 cat >>confdefs.h
<<\_ACEOF
39676 #define wxUSE_COLOURDLG 1
39681 if test "$wxUSE_FILEDLG" = "yes"; then
39682 cat >>confdefs.h
<<\_ACEOF
39683 #define wxUSE_FILEDLG 1
39688 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39689 cat >>confdefs.h
<<\_ACEOF
39690 #define wxUSE_FINDREPLDLG 1
39695 if test "$wxUSE_FONTDLG" = "yes"; then
39696 cat >>confdefs.h
<<\_ACEOF
39697 #define wxUSE_FONTDLG 1
39702 if test "$wxUSE_DIRDLG" = "yes"; then
39703 if test "$wxUSE_TREECTRL" != "yes"; then
39704 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39705 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39707 cat >>confdefs.h
<<\_ACEOF
39708 #define wxUSE_DIRDLG 1
39714 if test "$wxUSE_MSGDLG" = "yes"; then
39715 cat >>confdefs.h
<<\_ACEOF
39716 #define wxUSE_MSGDLG 1
39721 if test "$wxUSE_NUMBERDLG" = "yes"; then
39722 cat >>confdefs.h
<<\_ACEOF
39723 #define wxUSE_NUMBERDLG 1
39728 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39729 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39730 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39731 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39733 cat >>confdefs.h
<<\_ACEOF
39734 #define wxUSE_PROGRESSDLG 1
39740 if test "$wxUSE_SPLASH" = "yes"; then
39741 cat >>confdefs.h
<<\_ACEOF
39742 #define wxUSE_SPLASH 1
39745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39748 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39749 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39750 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39751 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39753 cat >>confdefs.h
<<\_ACEOF
39754 #define wxUSE_STARTUP_TIPS 1
39760 if test "$wxUSE_TEXTDLG" = "yes"; then
39761 cat >>confdefs.h
<<\_ACEOF
39762 #define wxUSE_TEXTDLG 1
39767 if test "$wxUSE_WIZARDDLG" = "yes"; then
39768 cat >>confdefs.h
<<\_ACEOF
39769 #define wxUSE_WIZARDDLG 1
39772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39776 if test "$wxUSE_MEDIACTRL" = "yes"; then
39777 if test "$wxUSE_MSW" = 1; then
39778 wxUSE_DIRECTSHOW
="yes"
39780 for ac_header
in dshow.h
39782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39783 echo "$as_me:$LINENO: checking for $ac_header" >&5
39784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39786 echo $ECHO_N "(cached) $ECHO_C" >&6
39788 cat >conftest.
$ac_ext <<_ACEOF
39791 cat confdefs.h
>>conftest.
$ac_ext
39792 cat >>conftest.
$ac_ext <<_ACEOF
39793 /* end confdefs.h. */
39794 #include <windows.h>
39796 #include <$ac_header>
39798 rm -f conftest.
$ac_objext
39799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39800 (eval $ac_compile) 2>conftest.er1
39802 grep -v '^ *+' conftest.er1
>conftest.err
39804 cat conftest.err
>&5
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); } &&
39807 { ac_try
='test -z "$ac_c_werror_flag"
39808 || test ! -s conftest.err'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; } &&
39814 { ac_try
='test -s conftest.$ac_objext'
39815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39816 (eval $ac_try) 2>&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); }; }; then
39820 eval "$as_ac_Header=yes"
39822 echo "$as_me: failed program was:" >&5
39823 sed 's/^/| /' conftest.
$ac_ext >&5
39825 eval "$as_ac_Header=no"
39827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39832 cat >>confdefs.h
<<_ACEOF
39833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39838 wxUSE_DIRECTSHOW
="no"
39839 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39840 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39847 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39848 cat >>confdefs.h
<<\_ACEOF
39849 #define wxUSE_DIRECTSHOW 1
39852 LIBS
="$LIBS -lstrmiids"
39856 if test "$wxUSE_GTK" = 1; then
39857 wxUSE_GSTREAMER
="yes"
39862 if test -z "$PKG_CONFIG"; then
39863 # Extract the first word of "pkg-config", so it can be a program name with args.
39864 set dummy pkg
-config; ac_word
=$2
39865 echo "$as_me:$LINENO: checking for $ac_word" >&5
39866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39867 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39868 echo $ECHO_N "(cached) $ECHO_C" >&6
39870 case $PKG_CONFIG in
39872 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39876 for as_dir
in $PATH
39879 test -z "$as_dir" && as_dir
=.
39880 for ac_exec_ext
in '' $ac_executable_extensions; do
39881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39882 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39889 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39893 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39895 if test -n "$PKG_CONFIG"; then
39896 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39897 echo "${ECHO_T}$PKG_CONFIG" >&6
39899 echo "$as_me:$LINENO: result: no" >&5
39900 echo "${ECHO_T}no" >&6
39905 if test "$PKG_CONFIG" = "no" ; then
39906 echo "*** The pkg-config script could not be found. Make sure it is"
39907 echo "*** in your path, or set the PKG_CONFIG environment variable"
39908 echo "*** to the full path to pkg-config."
39909 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39911 PKG_CONFIG_MIN_VERSION
=0.9.0
39912 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39913 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39914 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39916 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39917 echo "$as_me:$LINENO: result: yes" >&5
39918 echo "${ECHO_T}yes" >&6
39921 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39922 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39923 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39924 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39925 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39927 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39928 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39929 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39930 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39931 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39933 GSTREAMER_CFLAGS
=""
39935 ## If we have a custom action on failure, don't print errors, but
39936 ## do set a variable so people can do so.
39937 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39944 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39945 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39949 if test $succeeded = yes; then
39951 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39952 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39956 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39957 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39958 wxUSE_GSTREAMER
="no"
39966 if test "x$GST_INSPECT" == "x"; then
39967 # Extract the first word of "gst-inspect", so it can be a program name with args.
39968 set dummy gst
-inspect; ac_word
=$2
39969 echo "$as_me:$LINENO: checking for $ac_word" >&5
39970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39971 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39972 echo $ECHO_N "(cached) $ECHO_C" >&6
39974 if test -n "$GST_INSPECT"; then
39975 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39978 for as_dir
in $PATH
39981 test -z "$as_dir" && as_dir
=.
39982 for ac_exec_ext
in '' $ac_executable_extensions; do
39983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39984 ac_cv_prog_GST_INSPECT
="gst-inspect"
39985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39993 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39994 if test -n "$GST_INSPECT"; then
39995 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39996 echo "${ECHO_T}$GST_INSPECT" >&6
39998 echo "$as_me:$LINENO: result: no" >&5
39999 echo "${ECHO_T}no" >&6
40004 if test "x$GST_INSPECT" != "x"; then
40005 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40006 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40007 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40008 echo "$as_me:$LINENO: result: found." >&5
40009 echo "${ECHO_T}found." >&6
40012 echo "$as_me:$LINENO: result: not found." >&5
40013 echo "${ECHO_T}not found." >&6
40015 wxUSE_GSTREAMER
="no"
40016 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40017 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40023 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40024 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40025 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40028 cat >conftest.
$ac_ext <<_ACEOF
40031 cat confdefs.h
>>conftest.
$ac_ext
40032 cat >>conftest.
$ac_ext <<_ACEOF
40033 /* end confdefs.h. */
40034 #include <gst/gst.h>
40036 #include <gst/xoverlay/xoverlay.h>
40038 rm -f conftest.
$ac_objext
40039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40040 (eval $ac_compile) 2>conftest.er1
40042 grep -v '^ *+' conftest.er1
>conftest.err
40044 cat conftest.err
>&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } &&
40047 { ac_try
='test -z "$ac_c_werror_flag"
40048 || test ! -s conftest.err'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; } &&
40054 { ac_try
='test -s conftest.$ac_objext'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; }; then
40060 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.
$ac_ext >&5
40065 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40069 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40070 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40071 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40075 wxUSE_GSTREAMER
="no"
40076 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40077 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40083 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40084 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40087 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40089 for ac_extension
in a so sl dylib
; do
40090 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40091 ac_find_libraries
=$ac_dir
40098 if test "$ac_find_libraries" = "" ; then
40099 echo "$as_me:$LINENO: result: no" >&5
40100 echo "${ECHO_T}no" >&6
40101 wxUSE_GSTREAMER
="no"
40103 echo "$as_me:$LINENO: result: yes" >&5
40104 echo "${ECHO_T}yes" >&6
40107 if test "$wxUSE_GSTREAMER" = "yes"; then
40108 cat >>confdefs.h
<<\_ACEOF
40109 #define wxUSE_GSTREAMER 1
40112 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40113 echo "${ECHO_T}GStreamer detection successful" >&6
40116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40117 cat >>confdefs.h
<<\_ACEOF
40118 #define wxUSE_MEDIACTRL 1
40124 if test "$cross_compiling" = "yes"; then
40127 OSINFO
=`uname -s -r -m`
40128 OSINFO
="\"$OSINFO\""
40131 cat >>confdefs.h
<<_ACEOF
40132 #define WXWIN_OS_DESCRIPTION $OSINFO
40137 if test "x$prefix" != "xNONE"; then
40140 wxPREFIX
=$ac_default_prefix
40143 cat >>confdefs.h
<<_ACEOF
40144 #define wxINSTALL_PREFIX "$wxPREFIX"
40150 CORE_BASE_LIBS
="net base"
40151 CORE_GUI_LIBS
="adv core"
40153 if test "$wxUSE_XML" = "yes" ; then
40154 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40156 if test "$wxUSE_ODBC" != "no" ; then
40157 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40158 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40160 if test "$wxUSE_HTML" = "yes" ; then
40161 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40163 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40164 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40166 if test "$wxUSE_XRC" = "yes" ; then
40167 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40170 if test "$wxUSE_GUI" != "yes"; then
40181 if test "$wxUSE_MAC" = 1 ; then
40182 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
40183 if test "$USE_DARWIN" = 1; then
40184 LDFLAGS
="$LDFLAGS -framework QuickTime"
40186 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
40189 if test "$USE_DARWIN" = 1; then
40190 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
40192 LDFLAGS
="$LDFLAGS -lCarbonLib"
40195 if test "$wxUSE_COCOA" = 1 ; then
40196 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
40197 if test "$wxUSE_MEDIACTRL" = "yes"; then
40198 LDFLAGS
="$LDFLAGS -framework QuickTime"
40203 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
40210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40211 echo "$as_me:$LINENO: checking for $ac_func" >&5
40212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40213 if eval "test \"\${$as_ac_var+set}\" = set"; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 cat >conftest.
$ac_ext <<_ACEOF
40219 cat confdefs.h
>>conftest.
$ac_ext
40220 cat >>conftest.
$ac_ext <<_ACEOF
40221 /* end confdefs.h. */
40222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40224 #define $ac_func innocuous_$ac_func
40226 /* System header to define __stub macros and hopefully few prototypes,
40227 which can conflict with char $ac_func (); below.
40228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40229 <limits.h> exists even on freestanding compilers. */
40232 # include <limits.h>
40234 # include <assert.h>
40239 /* Override any gcc2 internal prototype to avoid an error. */
40244 /* We use char because int might match the return type of a gcc2
40245 builtin and then its argument prototype would still apply. */
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40253 char (*f) () = $ac_func;
40262 return f != $ac_func;
40267 rm -f conftest.
$ac_objext conftest
$ac_exeext
40268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40269 (eval $ac_link) 2>conftest.er1
40271 grep -v '^ *+' conftest.er1
>conftest.err
40273 cat conftest.err
>&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } &&
40276 { ac_try
='test -z "$ac_c_werror_flag"
40277 || test ! -s conftest.err'
40278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40279 (eval $ac_try) 2>&5
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); }; } &&
40283 { ac_try
='test -s conftest$ac_exeext'
40284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40285 (eval $ac_try) 2>&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); }; }; then
40289 eval "$as_ac_var=yes"
40291 echo "$as_me: failed program was:" >&5
40292 sed 's/^/| /' conftest.
$ac_ext >&5
40294 eval "$as_ac_var=no"
40296 rm -f conftest.err conftest.
$ac_objext \
40297 conftest
$ac_exeext conftest.
$ac_ext
40299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40301 if test `eval echo '${'$as_ac_var'}'` = yes; then
40302 cat >>confdefs.h
<<_ACEOF
40303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40310 for ac_func
in floor
40312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40313 echo "$as_me:$LINENO: checking for $ac_func" >&5
40314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40315 if eval "test \"\${$as_ac_var+set}\" = set"; then
40316 echo $ECHO_N "(cached) $ECHO_C" >&6
40318 cat >conftest.
$ac_ext <<_ACEOF
40321 cat confdefs.h
>>conftest.
$ac_ext
40322 cat >>conftest.
$ac_ext <<_ACEOF
40323 /* end confdefs.h. */
40324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40326 #define $ac_func innocuous_$ac_func
40328 /* System header to define __stub macros and hopefully few prototypes,
40329 which can conflict with char $ac_func (); below.
40330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40331 <limits.h> exists even on freestanding compilers. */
40334 # include <limits.h>
40336 # include <assert.h>
40341 /* Override any gcc2 internal prototype to avoid an error. */
40346 /* We use char because int might match the return type of a gcc2
40347 builtin and then its argument prototype would still apply. */
40349 /* The GNU C library defines this for functions which it implements
40350 to always fail with ENOSYS. Some functions are actually named
40351 something starting with __ and the normal name is an alias. */
40352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40355 char (*f) () = $ac_func;
40364 return f != $ac_func;
40369 rm -f conftest.
$ac_objext conftest
$ac_exeext
40370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40371 (eval $ac_link) 2>conftest.er1
40373 grep -v '^ *+' conftest.er1
>conftest.err
40375 cat conftest.err
>&5
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); } &&
40378 { ac_try
='test -z "$ac_c_werror_flag"
40379 || test ! -s conftest.err'
40380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40381 (eval $ac_try) 2>&5
40383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); }; } &&
40385 { ac_try
='test -s conftest$ac_exeext'
40386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40387 (eval $ac_try) 2>&5
40389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390 (exit $ac_status); }; }; then
40391 eval "$as_ac_var=yes"
40393 echo "$as_me: failed program was:" >&5
40394 sed 's/^/| /' conftest.
$ac_ext >&5
40396 eval "$as_ac_var=no"
40398 rm -f conftest.err conftest.
$ac_objext \
40399 conftest
$ac_exeext conftest.
$ac_ext
40401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40403 if test `eval echo '${'$as_ac_var'}'` = yes; then
40404 cat >>confdefs.h
<<_ACEOF
40405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40411 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
40412 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
40413 if test "$have_cos" = 1 -a "$have_floor" = 1; then
40414 echo "$as_me:$LINENO: result: yes" >&5
40415 echo "${ECHO_T}yes" >&6
40417 echo "$as_me:$LINENO: result: no" >&5
40418 echo "${ECHO_T}no" >&6
40420 # use different functions to avoid configure caching
40426 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40427 echo "$as_me:$LINENO: checking for $ac_func" >&5
40428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40429 if eval "test \"\${$as_ac_var+set}\" = set"; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 cat >conftest.
$ac_ext <<_ACEOF
40435 cat confdefs.h
>>conftest.
$ac_ext
40436 cat >>conftest.
$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40440 #define $ac_func innocuous_$ac_func
40442 /* System header to define __stub macros and hopefully few prototypes,
40443 which can conflict with char $ac_func (); below.
40444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40445 <limits.h> exists even on freestanding compilers. */
40448 # include <limits.h>
40450 # include <assert.h>
40455 /* Override any gcc2 internal prototype to avoid an error. */
40460 /* We use char because int might match the return type of a gcc2
40461 builtin and then its argument prototype would still apply. */
40463 /* The GNU C library defines this for functions which it implements
40464 to always fail with ENOSYS. Some functions are actually named
40465 something starting with __ and the normal name is an alias. */
40466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40469 char (*f) () = $ac_func;
40478 return f != $ac_func;
40483 rm -f conftest.
$ac_objext conftest
$ac_exeext
40484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40485 (eval $ac_link) 2>conftest.er1
40487 grep -v '^ *+' conftest.er1
>conftest.err
40489 cat conftest.err
>&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); } &&
40492 { ac_try
='test -z "$ac_c_werror_flag"
40493 || test ! -s conftest.err'
40494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495 (eval $ac_try) 2>&5
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); }; } &&
40499 { ac_try
='test -s conftest$ac_exeext'
40500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40501 (eval $ac_try) 2>&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); }; }; then
40505 eval "$as_ac_var=yes"
40507 echo "$as_me: failed program was:" >&5
40508 sed 's/^/| /' conftest.
$ac_ext >&5
40510 eval "$as_ac_var=no"
40512 rm -f conftest.err conftest.
$ac_objext \
40513 conftest
$ac_exeext conftest.
$ac_ext
40515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40517 if test `eval echo '${'$as_ac_var'}'` = yes; then
40518 cat >>confdefs.h
<<_ACEOF
40519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40526 for ac_func
in ceil
40528 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40529 echo "$as_me:$LINENO: checking for $ac_func" >&5
40530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40531 if eval "test \"\${$as_ac_var+set}\" = set"; then
40532 echo $ECHO_N "(cached) $ECHO_C" >&6
40534 cat >conftest.
$ac_ext <<_ACEOF
40537 cat confdefs.h
>>conftest.
$ac_ext
40538 cat >>conftest.
$ac_ext <<_ACEOF
40539 /* end confdefs.h. */
40540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40542 #define $ac_func innocuous_$ac_func
40544 /* System header to define __stub macros and hopefully few prototypes,
40545 which can conflict with char $ac_func (); below.
40546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40547 <limits.h> exists even on freestanding compilers. */
40550 # include <limits.h>
40552 # include <assert.h>
40557 /* Override any gcc2 internal prototype to avoid an error. */
40562 /* We use char because int might match the return type of a gcc2
40563 builtin and then its argument prototype would still apply. */
40565 /* The GNU C library defines this for functions which it implements
40566 to always fail with ENOSYS. Some functions are actually named
40567 something starting with __ and the normal name is an alias. */
40568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40571 char (*f) () = $ac_func;
40580 return f != $ac_func;
40585 rm -f conftest.
$ac_objext conftest
$ac_exeext
40586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40587 (eval $ac_link) 2>conftest.er1
40589 grep -v '^ *+' conftest.er1
>conftest.err
40591 cat conftest.err
>&5
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); } &&
40594 { ac_try
='test -z "$ac_c_werror_flag"
40595 || test ! -s conftest.err'
40596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40597 (eval $ac_try) 2>&5
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); }; } &&
40601 { ac_try
='test -s conftest$ac_exeext'
40602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40603 (eval $ac_try) 2>&5
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); }; }; then
40607 eval "$as_ac_var=yes"
40609 echo "$as_me: failed program was:" >&5
40610 sed 's/^/| /' conftest.
$ac_ext >&5
40612 eval "$as_ac_var=no"
40614 rm -f conftest.err conftest.
$ac_objext \
40615 conftest
$ac_exeext conftest.
$ac_ext
40617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40619 if test `eval echo '${'$as_ac_var'}'` = yes; then
40620 cat >>confdefs.h
<<_ACEOF
40621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40627 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40628 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40629 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40630 echo "$as_me:$LINENO: result: yes" >&5
40631 echo "${ECHO_T}yes" >&6
40633 echo "$as_me:$LINENO: result: no" >&5
40634 echo "${ECHO_T}no" >&6
40635 # not sure we should warn the user, crash, etc.
40639 if test "$wxUSE_GUI" = "yes"; then
40642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
40643 dynamic erase event exec font image minimal mobile \
40644 mobile/wxedit mobile/styles propsize render \
40645 richedit rotate shaped vscroll widgets"
40647 if test "$wxUSE_MONOLITHIC" != "yes"; then
40648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40650 if test "$TOOLKIT" = "MSW"; then
40651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
40652 if test "$wxUSE_UNIVERSAL" != "yes"; then
40653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
40656 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
40657 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
40660 SAMPLES_SUBDIRS
="console"
40664 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40665 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40667 if test "$GXX" = yes ; then
40669 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40672 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40674 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40675 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40676 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40678 if test "x$MWCC" = "xyes"; then
40680 CC
="$CC -cwd source -I-"
40681 CXX
="$CXX -cwd source -I-"
40686 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40687 EXTRALIBS_XML
="$EXPAT_LINK"
40688 EXTRALIBS_HTML
="$MSPACK_LINK"
40689 EXTRALIBS_ODBC
="$ODBC_LINK"
40690 if test "$wxUSE_GUI" = "yes"; then
40691 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40693 if test "$wxUSE_OPENGL" = "yes"; then
40694 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40697 LDFLAGS
="$LDFLAGS $PROFILE"
40699 if test "$wxUSE_GTK" = 1; then
40702 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40705 WXCONFIG_EXTRALIBS
="$LIBS"
40707 if test "$wxUSE_REGEX" = "builtin" ; then
40708 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40710 if test "$wxUSE_EXPAT" = "builtin" ; then
40711 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
40713 if test "$wxUSE_ODBC" = "builtin" ; then
40714 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40716 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40717 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
40719 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40720 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
40722 if test "$wxUSE_LIBPNG" = "builtin" ; then
40723 wxconfig_3rdparty
="$wxconfig_3rdparty png"
40725 if test "$wxUSE_ZLIB" = "builtin" ; then
40726 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
40728 if test "$wxUSE_ODBC" = "builtin" ; then
40729 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40732 for i
in $wxconfig_3rdparty ; do
40733 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40737 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40751 if test $wxUSE_MONOLITHIC = "yes" ; then
40757 if test $wxUSE_PLUGINS = "yes" ; then
40763 if test $wxUSE_ODBC != "no" ; then
40769 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40775 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40803 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40814 TOOLKIT_USER
="GTK+"
40815 if test "$WXGTK20" = 1; then
40816 TOOLKIT_USER
="$TOOLKIT_USER 2"
40821 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40828 if test "x$BAKEFILE_HOST" = "x"; then
40829 BAKEFILE_HOST
="${host}"
40832 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40834 if test -n "$ac_tool_prefix"; then
40835 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40836 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40837 echo "$as_me:$LINENO: checking for $ac_word" >&5
40838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40839 if test "${ac_cv_prog_RANLIB+set}" = set; then
40840 echo $ECHO_N "(cached) $ECHO_C" >&6
40842 if test -n "$RANLIB"; then
40843 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40846 for as_dir
in $PATH
40849 test -z "$as_dir" && as_dir
=.
40850 for ac_exec_ext
in '' $ac_executable_extensions; do
40851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40852 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40861 RANLIB
=$ac_cv_prog_RANLIB
40862 if test -n "$RANLIB"; then
40863 echo "$as_me:$LINENO: result: $RANLIB" >&5
40864 echo "${ECHO_T}$RANLIB" >&6
40866 echo "$as_me:$LINENO: result: no" >&5
40867 echo "${ECHO_T}no" >&6
40871 if test -z "$ac_cv_prog_RANLIB"; then
40872 ac_ct_RANLIB
=$RANLIB
40873 # Extract the first word of "ranlib", so it can be a program name with args.
40874 set dummy ranlib
; ac_word
=$2
40875 echo "$as_me:$LINENO: checking for $ac_word" >&5
40876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40877 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40878 echo $ECHO_N "(cached) $ECHO_C" >&6
40880 if test -n "$ac_ct_RANLIB"; then
40881 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40884 for as_dir
in $PATH
40887 test -z "$as_dir" && as_dir
=.
40888 for ac_exec_ext
in '' $ac_executable_extensions; do
40889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40890 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40897 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40900 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40901 if test -n "$ac_ct_RANLIB"; then
40902 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40903 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40905 echo "$as_me:$LINENO: result: no" >&5
40906 echo "${ECHO_T}no" >&6
40909 RANLIB
=$ac_ct_RANLIB
40911 RANLIB
="$ac_cv_prog_RANLIB"
40914 # Find a good install program. We prefer a C program (faster),
40915 # so one script is as good as another. But avoid the broken or
40916 # incompatible versions:
40917 # SysV /etc/install, /usr/sbin/install
40918 # SunOS /usr/etc/install
40919 # IRIX /sbin/install
40921 # AmigaOS /C/install, which installs bootblocks on floppy discs
40922 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40923 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40924 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40925 # OS/2's system install, which has a completely different semantic
40926 # ./install, which can be erroneously created by make from ./install.sh.
40927 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40928 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40929 if test -z "$INSTALL"; then
40930 if test "${ac_cv_path_install+set}" = set; then
40931 echo $ECHO_N "(cached) $ECHO_C" >&6
40933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40934 for as_dir
in $PATH
40937 test -z "$as_dir" && as_dir
=.
40938 # Account for people who put trailing slashes in PATH elements.
40940 .
/ | .
// | /cC
/* | \
40941 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40942 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40945 # OSF1 and SCO ODT 3.0 have their own names for install.
40946 # Don't use installbsd from OSF since it installs stuff as root
40948 for ac_prog
in ginstall scoinst
install; do
40949 for ac_exec_ext
in '' $ac_executable_extensions; do
40950 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40951 if test $ac_prog = install &&
40952 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40953 # AIX install. It has an incompatible calling convention.
40955 elif test $ac_prog = install &&
40956 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40957 # program-specific install script used by HP pwplus--don't use.
40960 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40972 if test "${ac_cv_path_install+set}" = set; then
40973 INSTALL
=$ac_cv_path_install
40975 # As a last resort, use the slow shell script. We don't cache a
40976 # path for INSTALL within a source directory, because that will
40977 # break other packages using the cache if that directory is
40978 # removed, or if the path is relative.
40979 INSTALL
=$ac_install_sh
40982 echo "$as_me:$LINENO: result: $INSTALL" >&5
40983 echo "${ECHO_T}$INSTALL" >&6
40985 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40986 # It thinks the first close brace ends the variable substitution.
40987 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40989 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40991 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40993 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40994 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40996 if test "$LN_S" = "ln -s"; then
40997 echo "$as_me:$LINENO: result: yes" >&5
40998 echo "${ECHO_T}yes" >&6
41000 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41001 echo "${ECHO_T}no, using $LN_S" >&6
41005 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41006 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41007 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41008 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41009 echo $ECHO_N "(cached) $ECHO_C" >&6
41011 cat >conftest.
make <<\_ACEOF
41013 @
echo 'ac_maketemp="$(MAKE)"'
41015 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41016 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41017 if test -n "$ac_maketemp"; then
41018 eval ac_cv_prog_make_
${ac_make}_set
=yes
41020 eval ac_cv_prog_make_
${ac_make}_set
=no
41022 rm -f conftest.
make
41024 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41025 echo "$as_me:$LINENO: result: yes" >&5
41026 echo "${ECHO_T}yes" >&6
41029 echo "$as_me:$LINENO: result: no" >&5
41030 echo "${ECHO_T}no" >&6
41031 SET_MAKE
="MAKE=${MAKE-make}"
41036 if test -n "$ac_tool_prefix"; then
41037 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41038 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41039 echo "$as_me:$LINENO: checking for $ac_word" >&5
41040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41041 if test "${ac_cv_prog_AR+set}" = set; then
41042 echo $ECHO_N "(cached) $ECHO_C" >&6
41044 if test -n "$AR"; then
41045 ac_cv_prog_AR
="$AR" # Let the user override the test.
41047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41048 for as_dir
in $PATH
41051 test -z "$as_dir" && as_dir
=.
41052 for ac_exec_ext
in '' $ac_executable_extensions; do
41053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41054 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41064 if test -n "$AR"; then
41065 echo "$as_me:$LINENO: result: $AR" >&5
41066 echo "${ECHO_T}$AR" >&6
41068 echo "$as_me:$LINENO: result: no" >&5
41069 echo "${ECHO_T}no" >&6
41073 if test -z "$ac_cv_prog_AR"; then
41075 # Extract the first word of "ar", so it can be a program name with args.
41076 set dummy
ar; ac_word
=$2
41077 echo "$as_me:$LINENO: checking for $ac_word" >&5
41078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41080 echo $ECHO_N "(cached) $ECHO_C" >&6
41082 if test -n "$ac_ct_AR"; then
41083 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41086 for as_dir
in $PATH
41089 test -z "$as_dir" && as_dir
=.
41090 for ac_exec_ext
in '' $ac_executable_extensions; do
41091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41092 ac_cv_prog_ac_ct_AR
="ar"
41093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41099 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41102 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41103 if test -n "$ac_ct_AR"; then
41104 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41105 echo "${ECHO_T}$ac_ct_AR" >&6
41107 echo "$as_me:$LINENO: result: no" >&5
41108 echo "${ECHO_T}no" >&6
41113 AR
="$ac_cv_prog_AR"
41116 if test -n "$ac_tool_prefix"; then
41117 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41118 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41119 echo "$as_me:$LINENO: checking for $ac_word" >&5
41120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41121 if test "${ac_cv_prog_STRIP+set}" = set; then
41122 echo $ECHO_N "(cached) $ECHO_C" >&6
41124 if test -n "$STRIP"; then
41125 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41128 for as_dir
in $PATH
41131 test -z "$as_dir" && as_dir
=.
41132 for ac_exec_ext
in '' $ac_executable_extensions; do
41133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41134 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41143 STRIP
=$ac_cv_prog_STRIP
41144 if test -n "$STRIP"; then
41145 echo "$as_me:$LINENO: result: $STRIP" >&5
41146 echo "${ECHO_T}$STRIP" >&6
41148 echo "$as_me:$LINENO: result: no" >&5
41149 echo "${ECHO_T}no" >&6
41153 if test -z "$ac_cv_prog_STRIP"; then
41155 # Extract the first word of "strip", so it can be a program name with args.
41156 set dummy strip
; ac_word
=$2
41157 echo "$as_me:$LINENO: checking for $ac_word" >&5
41158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41159 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41160 echo $ECHO_N "(cached) $ECHO_C" >&6
41162 if test -n "$ac_ct_STRIP"; then
41163 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41166 for as_dir
in $PATH
41169 test -z "$as_dir" && as_dir
=.
41170 for ac_exec_ext
in '' $ac_executable_extensions; do
41171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41172 ac_cv_prog_ac_ct_STRIP
="strip"
41173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41179 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
41182 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
41183 if test -n "$ac_ct_STRIP"; then
41184 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
41185 echo "${ECHO_T}$ac_ct_STRIP" >&6
41187 echo "$as_me:$LINENO: result: no" >&5
41188 echo "${ECHO_T}no" >&6
41193 STRIP
="$ac_cv_prog_STRIP"
41196 if test -n "$ac_tool_prefix"; then
41197 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
41198 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
41199 echo "$as_me:$LINENO: checking for $ac_word" >&5
41200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41201 if test "${ac_cv_prog_NM+set}" = set; then
41202 echo $ECHO_N "(cached) $ECHO_C" >&6
41204 if test -n "$NM"; then
41205 ac_cv_prog_NM
="$NM" # Let the user override the test.
41207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41208 for as_dir
in $PATH
41211 test -z "$as_dir" && as_dir
=.
41212 for ac_exec_ext
in '' $ac_executable_extensions; do
41213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41214 ac_cv_prog_NM
="${ac_tool_prefix}nm"
41215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41224 if test -n "$NM"; then
41225 echo "$as_me:$LINENO: result: $NM" >&5
41226 echo "${ECHO_T}$NM" >&6
41228 echo "$as_me:$LINENO: result: no" >&5
41229 echo "${ECHO_T}no" >&6
41233 if test -z "$ac_cv_prog_NM"; then
41235 # Extract the first word of "nm", so it can be a program name with args.
41236 set dummy nm
; ac_word
=$2
41237 echo "$as_me:$LINENO: checking for $ac_word" >&5
41238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41239 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
41240 echo $ECHO_N "(cached) $ECHO_C" >&6
41242 if test -n "$ac_ct_NM"; then
41243 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
41245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41246 for as_dir
in $PATH
41249 test -z "$as_dir" && as_dir
=.
41250 for ac_exec_ext
in '' $ac_executable_extensions; do
41251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41252 ac_cv_prog_ac_ct_NM
="nm"
41253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41259 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
41262 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
41263 if test -n "$ac_ct_NM"; then
41264 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
41265 echo "${ECHO_T}$ac_ct_NM" >&6
41267 echo "$as_me:$LINENO: result: no" >&5
41268 echo "${ECHO_T}no" >&6
41273 NM
="$ac_cv_prog_NM"
41277 case ${BAKEFILE_HOST} in
41279 INSTALL_DIR
="mkdir -p"
41281 *) INSTALL_DIR
="$INSTALL -d"
41287 case ${BAKEFILE_HOST} in
41288 *-*-cygwin* | *-*-mingw32* )
41289 LDFLAGS_GUI
="-mwindows"
41295 echo "$as_me:$LINENO: checking if make is GNU make" >&5
41296 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
41297 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
41298 echo $ECHO_N "(cached) $ECHO_C" >&6
41301 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
41302 egrep -s GNU
> /dev
/null
); then
41303 bakefile_cv_prog_makeisgnu
="yes"
41305 bakefile_cv_prog_makeisgnu
="no"
41309 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
41310 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
41312 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
41329 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
41330 case "${BAKEFILE_HOST}" in
41331 *-*-cygwin* | *-*-mingw32* )
41337 *-pc-os2_emx | *-pc-os2-emx )
41340 powerpc
-*-darwin* )
41347 powerpc
-apple-macos* )
41356 case "$BAKEFILE_FORCE_PLATFORM" in
41377 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
41378 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
41379 { (exit 1); exit 1; }; }
41394 # Check whether --enable-omf or --disable-omf was given.
41395 if test "${enable_omf+set}" = set; then
41396 enableval
="$enable_omf"
41397 bk_os2_use_omf
="$enableval"
41400 case "${BAKEFILE_HOST}" in
41402 CFLAGS
="$CFLAGS -fno-common"
41403 CXXFLAGS
="$CXXFLAGS -fno-common"
41406 *-pc-os2_emx | *-pc-os2-emx )
41407 if test "x$bk_os2_use_omf" = "xyes" ; then
41410 LDFLAGS
="-Zomf $LDFLAGS"
41411 CFLAGS
="-Zomf $CFLAGS"
41412 CXXFLAGS
="-Zomf $CXXFLAGS"
41420 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
41426 SO_SUFFIX_MODULE
="so"
41431 DLLPREFIX_MODULE
=""
41434 case "${BAKEFILE_HOST}" in
41437 SO_SUFFIX_MODULE
="sl"
41441 SO_SUFFIX_MODULE
="a"
41443 *-*-cygwin* | *-*-mingw32* )
41445 SO_SUFFIX_MODULE
="dll"
41446 DLLIMP_SUFFIX
="dll.a"
41454 *-pc-os2_emx | *-pc-os2-emx )
41456 SO_SUFFIX_MODULE
="dll"
41457 DLLIMP_SUFFIX
=$OS2_LIBEXT
41461 LIBEXT
=".$OS2_LIBEXT"
41463 powerpc
-*-darwin* )
41465 SO_SUFFIX_MODULE
="bundle"
41469 if test "x$DLLIMP_SUFFIX" = "x" ; then
41470 DLLIMP_SUFFIX
="$SO_SUFFIX"
41484 if test "x$GCC" = "xyes"; then
41488 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
41489 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
41491 case "${BAKEFILE_HOST}" in
41493 if test "x$GCC" != "xyes"; then
41494 LDFLAGS
="$LDFLAGS -L/usr/lib"
41496 SHARED_LD_CC
="${CC} -b -o"
41497 SHARED_LD_CXX
="${CXX} -b -o"
41503 if test "x$GCC" != "xyes"; then
41504 echo "$as_me:$LINENO: checking for Intel compiler" >&5
41505 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
41506 if test "${bakefile_cv_prog_icc+set}" = set; then
41507 echo $ECHO_N "(cached) $ECHO_C" >&6
41510 cat >conftest.
$ac_ext <<_ACEOF
41513 cat confdefs.h
>>conftest.
$ac_ext
41514 cat >>conftest.
$ac_ext <<_ACEOF
41515 /* end confdefs.h. */
41521 #ifndef __INTEL_COMPILER
41529 rm -f conftest.
$ac_objext
41530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41531 (eval $ac_compile) 2>conftest.er1
41533 grep -v '^ *+' conftest.er1
>conftest.err
41535 cat conftest.err
>&5
41536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41537 (exit $ac_status); } &&
41538 { ac_try
='test -z "$ac_c_werror_flag"
41539 || test ! -s conftest.err'
41540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41541 (eval $ac_try) 2>&5
41543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41544 (exit $ac_status); }; } &&
41545 { ac_try
='test -s conftest.$ac_objext'
41546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41547 (eval $ac_try) 2>&5
41549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41550 (exit $ac_status); }; }; then
41551 bakefile_cv_prog_icc
=yes
41553 echo "$as_me: failed program was:" >&5
41554 sed 's/^/| /' conftest.
$ac_ext >&5
41556 bakefile_cv_prog_icc
=no
41559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41562 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41563 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41564 if test "$bakefile_cv_prog_icc" = "yes"; then
41571 if test "x$GCC" != xyes
; then
41572 SHARED_LD_CC
="${CC} -G -o"
41573 SHARED_LD_CXX
="${CXX} -G -o"
41580 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41581 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41582 if test "${wx_cv_gcc31+set}" = set; then
41583 echo $ECHO_N "(cached) $ECHO_C" >&6
41586 cat >conftest.
$ac_ext <<_ACEOF
41589 cat confdefs.h
>>conftest.
$ac_ext
41590 cat >>conftest.
$ac_ext <<_ACEOF
41591 /* end confdefs.h. */
41597 #if (__GNUC__ < 3) || \
41598 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41606 rm -f conftest.
$ac_objext
41607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41608 (eval $ac_compile) 2>conftest.er1
41610 grep -v '^ *+' conftest.er1
>conftest.err
41612 cat conftest.err
>&5
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); } &&
41615 { ac_try
='test -z "$ac_c_werror_flag"
41616 || test ! -s conftest.err'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; } &&
41622 { ac_try
='test -s conftest.$ac_objext'
41623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41624 (eval $ac_try) 2>&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; }; then
41632 echo "$as_me: failed program was:" >&5
41633 sed 's/^/| /' conftest.
$ac_ext >&5
41640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41643 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41644 echo "${ECHO_T}$wx_cv_gcc31" >&6
41645 if test "$wx_cv_gcc31" = "no"; then
41648 cat <<EOF >shared-ld-sh
41650 #-----------------------------------------------------------------------------
41651 #-- Name: distrib/mac/shared-ld-sh
41652 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41653 #-- Author: Gilles Depeyrot
41654 #-- Copyright: (c) 2002 Gilles Depeyrot
41655 #-- Licence: any use permitted
41656 #-----------------------------------------------------------------------------
41661 linking_flag="-dynamiclib"
41663 while test ${D}# -gt 0; do
41670 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41671 # collect these options and values
41672 args="${D}{args} ${D}1 ${D}2"
41676 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41677 # collect these options
41678 args="${D}{args} ${D}1"
41681 -dynamiclib|-bundle)
41682 linking_flag="${D}1"
41686 echo "shared-ld: unhandled option '${D}1'"
41690 *.o | *.a | *.dylib)
41691 # collect object files
41692 objects="${D}{objects} ${D}1"
41696 echo "shared-ld: unhandled argument '${D}1'"
41705 # Link one module containing all the others
41707 if test ${D}{verbose} = 1; then
41708 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41710 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41712 if test ${D}{status} != 0; then
41717 # Link the shared library from the single module created
41719 if test ${D}{verbose} = 1; then
41720 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41722 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41724 if test ${D}{status} != 0; then
41729 # Remove intermediate module
41731 rm -f master.${D}${D}.o
41736 chmod +x shared
-ld-sh
41738 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41739 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41740 SHARED_LD_CXX
="$SHARED_LD_CC"
41741 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41743 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41744 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41745 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41746 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41749 PIC_FLAG
="-dynamic -fPIC"
41753 if test "x$GCC" != "xyes"; then
41754 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41755 set dummy makeC
++SharedLib
; ac_word
=$2
41756 echo "$as_me:$LINENO: checking for $ac_word" >&5
41757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41758 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41759 echo $ECHO_N "(cached) $ECHO_C" >&6
41761 if test -n "$AIX_CXX_LD"; then
41762 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41765 for as_dir
in $PATH
41768 test -z "$as_dir" && as_dir
=.
41769 for ac_exec_ext
in '' $ac_executable_extensions; do
41770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41771 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41778 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41781 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41782 if test -n "$AIX_CXX_LD"; then
41783 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41784 echo "${ECHO_T}$AIX_CXX_LD" >&6
41786 echo "$as_me:$LINENO: result: no" >&5
41787 echo "${ECHO_T}no" >&6
41790 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41791 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41796 SHARED_LD_CC
="${LD} -nostart -o"
41797 SHARED_LD_CXX
="${LD} -nostart -o"
41801 if test "x$GCC" != "xyes"; then
41806 *-*-cygwin* | *-*-mingw32* )
41808 SHARED_LD_CC
="\$(CC) -shared -o"
41809 SHARED_LD_CXX
="\$(CXX) -shared -o"
41812 *-pc-os2_emx | *-pc-os2-emx )
41813 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41814 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41818 cat <<EOF >dllar.sh
41821 # dllar - a tool to build both a .dll and an .a file
41822 # from a set of object (.o) files for EMX/OS2.
41824 # Written by Andrew Zabolotny, bit@freya.etu.ru
41825 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41827 # This script will accept a set of files on the command line.
41828 # All the public symbols from the .o files will be exported into
41829 # a .DEF file, then linker will be run (through gcc) against them to
41830 # build a shared library consisting of all given .o files. All libraries
41831 # (.a) will be first decompressed into component .o files then act as
41832 # described above. You can optionally give a description (-d "description")
41833 # which will be put into .DLL. To see the list of accepted options (as well
41834 # as command-line format) simply run this program without options. The .DLL
41835 # is built to be imported by name (there is no guarantee that new versions
41836 # of the library you build will have same ordinals for same symbols).
41838 # dllar is free software; you can redistribute it and/or modify
41839 # it under the terms of the GNU General Public License as published by
41840 # the Free Software Foundation; either version 2, or (at your option)
41841 # any later version.
41843 # dllar is distributed in the hope that it will be useful,
41844 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41845 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41846 # GNU General Public License for more details.
41848 # You should have received a copy of the GNU General Public License
41849 # along with dllar; see the file COPYING. If not, write to the Free
41850 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41853 # To successfuly run this program you will need:
41854 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41855 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41857 # (used to build the .dll)
41859 # (used to create .def file from .o files)
41861 # (used to create .a file from .def file)
41862 # - GNU text utilites (cat, sort, uniq)
41863 # used to process emxexp output
41864 # - GNU file utilities (mv, rm)
41866 # - lxlite (optional, see flag below)
41867 # (used for general .dll cleanup)
41874 # basnam, variant of basename, which does _not_ remove the path, _iff_
41875 # second argument (suffix to remove) is given
41879 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41882 echo ${D}1 | sed 's/'${D}2'${D}//'
41885 echo "error in basnam ${D}*"
41891 # Cleanup temporary files and output
41894 for i in ${D}inputFiles ; do
41897 rm -rf \`basnam ${D}i !\`
41904 # Kill result in case of failure as there is just to many stupid make/nmake
41905 # things out there which doesn't do this.
41906 if [ ${D}# -eq 0 ]; then
41907 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41911 # Print usage and exit script with rc=1.
41913 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41914 echo ' [-name-mangler-script script.sh]'
41915 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41916 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41917 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41918 echo ' [*.o] [*.a]'
41919 echo '*> "output_file" should have no extension.'
41920 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41921 echo ' The import library name is derived from this and is set to "name".a,'
41922 echo ' unless overridden by -import'
41923 echo '*> "importlib_name" should have no extension.'
41924 echo ' If it has the .o, or .a extension, it is automatically removed.'
41925 echo ' This name is used as the import library name and may be longer and'
41926 echo ' more descriptive than the DLL name which has to follow the old '
41927 echo ' 8.3 convention of FAT.'
41928 echo '*> "script.sh may be given to override the output_file name by a'
41929 echo ' different name. It is mainly useful if the regular make process'
41930 echo ' of some package does not take into account OS/2 restriction of'
41931 echo ' DLL name lengths. It takes the importlib name as input and is'
41932 echo ' supposed to procude a shorter name as output. The script should'
41933 echo ' expect to get importlib_name without extension and should produce'
41934 echo ' a (max.) 8 letter name without extension.'
41935 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41936 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41937 echo ' These flags will be put at the start of GCC command line.'
41938 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41939 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41940 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41941 echo ' If the last character of a symbol is "*", all symbols beginning'
41942 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41943 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41944 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41945 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41946 echo ' C runtime DLLs.'
41947 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41948 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41949 echo ' unchanged to GCC at the end of command line.'
41950 echo '*> If you create a DLL from a library and you do not specify -o,'
41951 echo ' the basename for DLL and import library will be set to library name,'
41952 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41953 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41954 echo ' library will be renamed into gcc_s.a.'
41957 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41958 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41963 # Execute a command.
41964 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41965 # @Uses Whatever CleanUp() uses.
41971 if [ ${D}rcCmd -ne 0 ]; then
41972 echo "command failed, exit code="${D}rcCmd
41987 CFLAGS="-s -Zcrtdll"
41989 EXPORT_BY_ORDINALS=0
41994 case ${D}curDirS in
41998 curDirS=${D}{curDirS}"/"
42001 # Parse commandline
42004 while [ ${D}1 ]; do
42007 EXPORT_BY_ORDINALS=1;
42017 -name-mangler-script)
42038 exclude_symbols=${D}{exclude_symbols}${D}1" "
42042 library_flags=${D}{library_flags}${D}1" "
42061 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42064 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42065 if [ ${D}omfLinking -eq 1 ]; then
42066 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42073 if [ ${D}libsToLink -ne 0 ]; then
42074 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42076 for file in ${D}1 ; do
42077 if [ -f ${D}file ]; then
42078 inputFiles="${D}{inputFiles} ${D}file"
42082 if [ ${D}found -eq 0 ]; then
42083 echo "ERROR: No file(s) found: "${D}1
42090 done # iterate cmdline words
42093 if [ -z "${D}inputFiles" ]; then
42094 echo "dllar: no input files"
42098 # Now extract all .o files from .a files
42100 for file in ${D}inputFiles ; do
42111 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42116 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42118 if [ ${D}? -ne 0 ]; then
42119 echo "Failed to create subdirectory ./${D}dirname"
42123 # Append '!' to indicate archive
42124 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42125 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42128 for subfile in ${D}dirname/*.o* ; do
42129 if [ -f ${D}subfile ]; then
42131 if [ -s ${D}subfile ]; then
42132 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42133 newInputFiles="${D}newInputFiles ${D}subfile"
42137 if [ ${D}found -eq 0 ]; then
42138 echo "WARNING: there are no files in archive \\'${D}file\\'"
42142 newInputFiles="${D}{newInputFiles} ${D}file"
42146 inputFiles="${D}newInputFiles"
42148 # Output filename(s).
42150 if [ -z ${D}outFile ]; then
42152 set outFile ${D}inputFiles; outFile=${D}2
42155 # If it is an archive, remove the '!' and the '_%' suffixes
42156 case ${D}outFile in
42158 outFile=\`basnam ${D}outFile _%!\`
42163 case ${D}outFile in
42165 outFile=\`basnam ${D}outFile .dll\`
42168 outFile=\`basnam ${D}outFile .DLL\`
42171 outFile=\`basnam ${D}outFile .o\`
42174 outFile=\`basnam ${D}outFile .obj\`
42177 outFile=\`basnam ${D}outFile .a\`
42180 outFile=\`basnam ${D}outFile .lib\`
42185 case ${D}outimpFile in
42187 outimpFile=\`basnam ${D}outimpFile .a\`
42190 outimpFile=\`basnam ${D}outimpFile .lib\`
42195 if [ -z ${D}outimpFile ]; then
42196 outimpFile=${D}outFile
42198 defFile="${D}{outFile}.def"
42199 arcFile="${D}{outimpFile}.a"
42200 arcFile2="${D}{outimpFile}.lib"
42202 #create ${D}dllFile as something matching 8.3 restrictions,
42203 if [ -z ${D}renameScript ] ; then
42204 dllFile="${D}outFile"
42206 dllFile=\`${D}renameScript ${D}outimpFile\`
42209 if [ ${D}do_backup -ne 0 ] ; then
42210 if [ -f ${D}arcFile ] ; then
42211 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
42213 if [ -f ${D}arcFile2 ] ; then
42214 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
42218 # Extract public symbols from all the object files.
42219 tmpdefFile=${D}{defFile}_%
42220 rm -f ${D}tmpdefFile
42221 for file in ${D}inputFiles ; do
42226 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
42231 # Create the def file.
42233 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
42234 dllFile="${D}{dllFile}.dll"
42235 if [ ! -z ${D}description ]; then
42236 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
42238 echo "EXPORTS" >> ${D}defFile
42240 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
42241 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
42243 # Checks if the export is ok or not.
42244 for word in ${D}exclude_symbols; do
42245 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
42246 mv ${D}{tmpdefFile}% ${D}tmpdefFile
42250 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42251 sed "=" < ${D}tmpdefFile | \\
42255 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
42257 ' > ${D}{tmpdefFile}%
42258 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
42260 rm -f ${D}{tmpdefFile}%
42262 cat ${D}tmpdefFile >> ${D}defFile
42263 rm -f ${D}tmpdefFile
42265 # Do linking, create implib, and apply lxlite.
42267 for file in ${D}inputFiles ; do
42272 gccCmdl="${D}gccCmdl ${D}file"
42276 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
42277 touch "${D}{outFile}.dll"
42279 doCommand "emximp -o ${D}arcFile ${D}defFile"
42280 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
42282 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
42285 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
42287 doCommand "emxomf -s -l ${D}arcFile"
42297 powerpc
-apple-macos* | \
42298 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
42306 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
42307 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
42308 { (exit 1); exit 1; }; }
42311 if test "x$PIC_FLAG" != "x" ; then
42312 PIC_FLAG
="$PIC_FLAG -DPIC"
42315 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
42316 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
42318 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
42319 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
42336 case "${BAKEFILE_HOST}" in
42337 *-*-linux* | *-*-freebsd* )
42338 SONAME_FLAG
="-Wl,-soname,"
42366 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
42367 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
42370 if test "x$GCC" = "xyes"; then
42373 case "${BAKEFILE_HOST}" in
42374 powerpc
-*-darwin* )
42375 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
42378 DEPSFLAG_GCC
="-MMD"
42381 echo "$as_me:$LINENO: result: gcc" >&5
42382 echo "${ECHO_T}gcc" >&6
42383 elif test "x$MWCC" = "xyes"; then
42386 DEPSFLAG_MWCC
="-MM"
42387 echo "$as_me:$LINENO: result: mwcc" >&5
42388 echo "${ECHO_T}mwcc" >&6
42390 echo "$as_me:$LINENO: result: none" >&5
42391 echo "${ECHO_T}none" >&6
42394 if test $DEPS_TRACKING = 1 ; then
42400 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42401 # script. It is used to track C/C++ files dependencies in portable way.
42403 # Permission is given to use this file in any way.
42405 DEPSMODE=${DEPSMODE}
42407 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
42408 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
42410 mkdir -p ${D}DEPSDIR
42412 if test ${D}DEPSMODE = gcc ; then
42413 ${D}* ${D}{DEPSFLAG_GCC}
42415 if test ${D}{status} != 0 ; then
42418 # move created file to the location we want it in:
42419 while test ${D}# -gt 0; do
42433 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
42434 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
42435 if test -f ${D}depfile ; then
42436 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42439 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
42440 if test -f ${D}depfile ; then
42441 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
42446 elif test ${D}DEPSMODE = mwcc ; then
42449 if test ${D}{status} != 0 ; then
42452 # Run mwcc again with -MM and redirect into the dep file we want
42453 # NOTE: We can't use shift here because we need ${D}* to be valid
42455 for arg in ${D}* ; do
42456 if test "${D}prevarg" = "-o"; then
42469 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
42486 case ${BAKEFILE_HOST} in
42487 *-*-cygwin* | *-*-mingw32* )
42488 if test "$build" != "$host" ; then
42489 RESCOMP
=$host_alias-windres
42491 # Extract the first word of "windres", so it can be a program name with args.
42492 set dummy windres
; ac_word
=$2
42493 echo "$as_me:$LINENO: checking for $ac_word" >&5
42494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42495 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42496 echo $ECHO_N "(cached) $ECHO_C" >&6
42498 if test -n "$RESCOMP"; then
42499 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42502 for as_dir
in $PATH
42505 test -z "$as_dir" && as_dir
=.
42506 for ac_exec_ext
in '' $ac_executable_extensions; do
42507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42508 ac_cv_prog_RESCOMP
="windres"
42509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42515 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42518 RESCOMP
=$ac_cv_prog_RESCOMP
42519 if test -n "$RESCOMP"; then
42520 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42521 echo "${ECHO_T}$RESCOMP" >&6
42523 echo "$as_me:$LINENO: result: no" >&5
42524 echo "${ECHO_T}no" >&6
42530 *-*-darwin* | powerpc
-apple-macos* )
42531 # Extract the first word of "Rez", so it can be a program name with args.
42532 set dummy Rez
; ac_word
=$2
42533 echo "$as_me:$LINENO: checking for $ac_word" >&5
42534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42535 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42536 echo $ECHO_N "(cached) $ECHO_C" >&6
42538 if test -n "$RESCOMP"; then
42539 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42542 for as_dir
in $PATH
42545 test -z "$as_dir" && as_dir
=.
42546 for ac_exec_ext
in '' $ac_executable_extensions; do
42547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42548 ac_cv_prog_RESCOMP
="Rez"
42549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42555 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42558 RESCOMP
=$ac_cv_prog_RESCOMP
42559 if test -n "$RESCOMP"; then
42560 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42561 echo "${ECHO_T}$RESCOMP" >&6
42563 echo "$as_me:$LINENO: result: no" >&5
42564 echo "${ECHO_T}no" >&6
42567 # Extract the first word of "SetFile", so it can be a program name with args.
42568 set dummy SetFile
; ac_word
=$2
42569 echo "$as_me:$LINENO: checking for $ac_word" >&5
42570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42571 if test "${ac_cv_prog_SETFILE+set}" = set; then
42572 echo $ECHO_N "(cached) $ECHO_C" >&6
42574 if test -n "$SETFILE"; then
42575 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42578 for as_dir
in $PATH
42581 test -z "$as_dir" && as_dir
=.
42582 for ac_exec_ext
in '' $ac_executable_extensions; do
42583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42584 ac_cv_prog_SETFILE
="SetFile"
42585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42591 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42594 SETFILE
=$ac_cv_prog_SETFILE
42595 if test -n "$SETFILE"; then
42596 echo "$as_me:$LINENO: result: $SETFILE" >&5
42597 echo "${ECHO_T}$SETFILE" >&6
42599 echo "$as_me:$LINENO: result: no" >&5
42600 echo "${ECHO_T}no" >&6
42610 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.8"
42613 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.8"
42617 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42618 if test "${enable_precomp_headers+set}" = set; then
42619 enableval
="$enable_precomp_headers"
42620 bk_use_pch
="$enableval"
42625 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42626 if test "x$GCC" = "xyes"; then
42627 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42628 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42629 cat >conftest.
$ac_ext <<_ACEOF
42632 cat confdefs.h
>>conftest.
$ac_ext
42633 cat >>conftest.
$ac_ext <<_ACEOF
42634 /* end confdefs.h. */
42640 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42641 #error "no pch support"
42644 #error "no pch support"
42646 #if (__GNUC__ == 3) && \
42647 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42648 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42649 #error "no pch support"
42656 rm -f conftest.
$ac_objext
42657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42658 (eval $ac_compile) 2>conftest.er1
42660 grep -v '^ *+' conftest.er1
>conftest.err
42662 cat conftest.err
>&5
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); } &&
42665 { ac_try
='test -z "$ac_c_werror_flag"
42666 || test ! -s conftest.err'
42667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42668 (eval $ac_try) 2>&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); }; } &&
42672 { ac_try
='test -s conftest.$ac_objext'
42673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42674 (eval $ac_try) 2>&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); }; }; then
42679 echo "$as_me:$LINENO: result: yes" >&5
42680 echo "${ECHO_T}yes" >&6
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.
$ac_ext >&5
42688 echo "$as_me:$LINENO: result: no" >&5
42689 echo "${ECHO_T}no" >&6
42692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42693 if test $GCC_PCH = 1 ; then
42696 cat <<EOF >bk-make-pch
42699 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42700 # script. It is used to generated precompiled headers.
42702 # Permission is given to use this file in any way.
42711 while test ${D}{#} -gt 0; do
42714 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42715 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42716 headerfile="${D}{incdir}/${D}{header}"
42720 compiler="${D}{compiler} ${D}{1}"
42724 if test "x${D}{headerfile}" = "x" ; then
42725 echo "error: can't find header ${D}{header} in include paths" >2
42727 if test -f ${D}{outfile} ; then
42728 rm -f ${D}{outfile}
42730 mkdir -p \`dirname ${D}{outfile}\`
42732 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42734 # can do this because gcc is >= 3.4:
42735 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42740 chmod +x bk
-make-pch
42747 COND_BUILD_DEBUG
="#"
42748 if test "x$BUILD" = "xdebug" ; then
42749 COND_BUILD_DEBUG
=""
42752 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42753 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42754 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42757 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42758 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42759 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42762 COND_BUILD_DEBUG_UNICODE_0
="#"
42763 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42764 COND_BUILD_DEBUG_UNICODE_0
=""
42767 COND_BUILD_DEBUG_UNICODE_1
="#"
42768 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42769 COND_BUILD_DEBUG_UNICODE_1
=""
42772 COND_BUILD_RELEASE
="#"
42773 if test "x$BUILD" = "xrelease" ; then
42774 COND_BUILD_RELEASE
=""
42777 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42778 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42779 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42782 COND_BUILD_RELEASE_UNICODE_0
="#"
42783 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42784 COND_BUILD_RELEASE_UNICODE_0
=""
42787 COND_BUILD_RELEASE_UNICODE_1
="#"
42788 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42789 COND_BUILD_RELEASE_UNICODE_1
=""
42792 COND_DEBUG_FLAG_1
="#"
42793 if test "x$DEBUG_FLAG" = "x1" ; then
42794 COND_DEBUG_FLAG_1
=""
42797 COND_DEBUG_INFO_0
="#"
42798 if test "x$DEBUG_INFO" = "x0" ; then
42799 COND_DEBUG_INFO_0
=""
42802 COND_DEBUG_INFO_1
="#"
42803 if test "x$DEBUG_INFO" = "x1" ; then
42804 COND_DEBUG_INFO_1
=""
42807 COND_DEPS_TRACKING_0
="#"
42808 if test "x$DEPS_TRACKING" = "x0" ; then
42809 COND_DEPS_TRACKING_0
=""
42812 COND_DEPS_TRACKING_1
="#"
42813 if test "x$DEPS_TRACKING" = "x1" ; then
42814 COND_DEPS_TRACKING_1
=""
42818 if test "x$GCC_PCH" = "x1" ; then
42822 COND_MONOLITHIC_0
="#"
42823 if test "x$MONOLITHIC" = "x0" ; then
42824 COND_MONOLITHIC_0
=""
42827 COND_MONOLITHIC_0_SHARED_0
="#"
42828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42829 COND_MONOLITHIC_0_SHARED_0
=""
42832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
42848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
42852 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42854 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42857 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42859 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42862 COND_MONOLITHIC_0_SHARED_1
="#"
42863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42864 COND_MONOLITHIC_0_SHARED_1
=""
42867 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42869 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
42883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
42884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
42887 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42889 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42892 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42894 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42897 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42898 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42899 COND_MONOLITHIC_0_USE_ODBC_1
=""
42902 COND_MONOLITHIC_1
="#"
42903 if test "x$MONOLITHIC" = "x1" ; then
42904 COND_MONOLITHIC_1
=""
42907 COND_MONOLITHIC_1_SHARED_0
="#"
42908 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42909 COND_MONOLITHIC_1_SHARED_0
=""
42912 COND_MONOLITHIC_1_SHARED_1
="#"
42913 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42914 COND_MONOLITHIC_1_SHARED_1
=""
42917 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42918 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42919 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42922 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42923 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42924 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42927 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42928 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42929 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42932 COND_PLATFORM_MACOSX_1
="#"
42933 if test "x$PLATFORM_MACOSX" = "x1" ; then
42934 COND_PLATFORM_MACOSX_1
=""
42937 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42938 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42939 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42942 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42944 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42947 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42949 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42952 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42953 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42954 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42957 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42958 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42959 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42962 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42964 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42967 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42969 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42972 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42974 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42977 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42979 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42982 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42984 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42987 COND_PLATFORM_MACOS_1
="#"
42988 if test "x$PLATFORM_MACOS" = "x1" ; then
42989 COND_PLATFORM_MACOS_1
=""
42992 COND_PLATFORM_MAC_1
="#"
42993 if test "x$PLATFORM_MAC" = "x1" ; then
42994 COND_PLATFORM_MAC_1
=""
42997 COND_PLATFORM_OS2_1
="#"
42998 if test "x$PLATFORM_OS2" = "x1" ; then
42999 COND_PLATFORM_OS2_1
=""
43002 COND_PLATFORM_UNIX_0
="#"
43003 if test "x$PLATFORM_UNIX" = "x0" ; then
43004 COND_PLATFORM_UNIX_0
=""
43007 COND_PLATFORM_UNIX_1
="#"
43008 if test "x$PLATFORM_UNIX" = "x1" ; then
43009 COND_PLATFORM_UNIX_1
=""
43012 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43013 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43014 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43017 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43018 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43019 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43022 COND_PLATFORM_WIN32_0
="#"
43023 if test "x$PLATFORM_WIN32" = "x0" ; then
43024 COND_PLATFORM_WIN32_0
=""
43027 COND_PLATFORM_WIN32_1
="#"
43028 if test "x$PLATFORM_WIN32" = "x1" ; then
43029 COND_PLATFORM_WIN32_1
=""
43033 if test "x$SHARED" = "x0" ; then
43037 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43038 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43039 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43042 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43043 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43044 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43047 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43048 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43049 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43052 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43053 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43054 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43057 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43058 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43059 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43062 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43063 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43064 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43067 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43068 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43069 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43072 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43073 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43074 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43077 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43078 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43079 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43082 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43083 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43084 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43087 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43088 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43089 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43093 if test "x$SHARED" = "x1" ; then
43097 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43098 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43099 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43103 if test "x$TOOLKIT" = "x" ; then
43107 COND_TOOLKIT_COCOA
="#"
43108 if test "x$TOOLKIT" = "xCOCOA" ; then
43109 COND_TOOLKIT_COCOA
=""
43112 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
43113 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
43114 COND_TOOLKIT_COCOA_USE_GUI_1
=""
43117 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
43118 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43119 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
43122 COND_TOOLKIT_GTK
="#"
43123 if test "x$TOOLKIT" = "xGTK" ; then
43124 COND_TOOLKIT_GTK
=""
43127 COND_TOOLKIT_GTK_USE_GUI_1
="#"
43128 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
43129 COND_TOOLKIT_GTK_USE_GUI_1
=""
43132 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
43133 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43134 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
43137 COND_TOOLKIT_MAC
="#"
43138 if test "x$TOOLKIT" = "xMAC" ; then
43139 COND_TOOLKIT_MAC
=""
43142 COND_TOOLKIT_MAC_USE_GUI_1
="#"
43143 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43144 COND_TOOLKIT_MAC_USE_GUI_1
=""
43147 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43148 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43149 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43152 COND_TOOLKIT_MGL
="#"
43153 if test "x$TOOLKIT" = "xMGL" ; then
43154 COND_TOOLKIT_MGL
=""
43157 COND_TOOLKIT_MGL_USE_GUI_1
="#"
43158 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
43159 COND_TOOLKIT_MGL_USE_GUI_1
=""
43162 COND_TOOLKIT_MOTIF
="#"
43163 if test "x$TOOLKIT" = "xMOTIF" ; then
43164 COND_TOOLKIT_MOTIF
=""
43167 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
43168 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
43169 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
43172 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
43173 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43174 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
43177 COND_TOOLKIT_MSW
="#"
43178 if test "x$TOOLKIT" = "xMSW" ; then
43179 COND_TOOLKIT_MSW
=""
43182 COND_TOOLKIT_MSW_USE_GUI_1
="#"
43183 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
43184 COND_TOOLKIT_MSW_USE_GUI_1
=""
43187 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
43188 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43189 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
43192 COND_TOOLKIT_PM
="#"
43193 if test "x$TOOLKIT" = "xPM" ; then
43197 COND_TOOLKIT_PM_USE_GUI_1
="#"
43198 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
43199 COND_TOOLKIT_PM_USE_GUI_1
=""
43202 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
43203 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43204 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
43207 COND_TOOLKIT_WINCE
="#"
43208 if test "x$TOOLKIT" = "xWINCE" ; then
43209 COND_TOOLKIT_WINCE
=""
43212 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
43213 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
43214 COND_TOOLKIT_WINCE_USE_GUI_1
=""
43217 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
43218 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43219 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
43222 COND_TOOLKIT_X11
="#"
43223 if test "x$TOOLKIT" = "xX11" ; then
43224 COND_TOOLKIT_X11
=""
43227 COND_TOOLKIT_X11_USE_GUI_1
="#"
43228 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
43229 COND_TOOLKIT_X11_USE_GUI_1
=""
43233 if test "x$UNICODE" = "x1" ; then
43237 COND_USE_EXCEPTIONS_0
="#"
43238 if test "x$USE_EXCEPTIONS" = "x0" ; then
43239 COND_USE_EXCEPTIONS_0
=""
43242 COND_USE_EXCEPTIONS_1
="#"
43243 if test "x$USE_EXCEPTIONS" = "x1" ; then
43244 COND_USE_EXCEPTIONS_1
=""
43248 if test "x$USE_GUI" = "x0" ; then
43253 if test "x$USE_GUI" = "x1" ; then
43257 COND_USE_GUI_1_WXUNIV_0
="#"
43258 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43259 COND_USE_GUI_1_WXUNIV_0
=""
43262 COND_USE_GUI_1_WXUNIV_1
="#"
43263 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
43264 COND_USE_GUI_1_WXUNIV_1
=""
43267 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43268 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43269 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43272 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43274 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43277 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43278 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43279 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43282 COND_USE_ODBC_1
="#"
43283 if test "x$USE_ODBC" = "x1" ; then
43287 COND_USE_OPENGL_1
="#"
43288 if test "x$USE_OPENGL" = "x1" ; then
43289 COND_USE_OPENGL_1
=""
43292 COND_USE_PLUGINS_0
="#"
43293 if test "x$USE_PLUGINS" = "x0" ; then
43294 COND_USE_PLUGINS_0
=""
43297 COND_USE_RTTI_0
="#"
43298 if test "x$USE_RTTI" = "x0" ; then
43302 COND_USE_RTTI_1
="#"
43303 if test "x$USE_RTTI" = "x1" ; then
43307 COND_USE_SOSYMLINKS_1
="#"
43308 if test "x$USE_SOSYMLINKS" = "x1" ; then
43309 COND_USE_SOSYMLINKS_1
=""
43312 COND_USE_SOVERLINUX_1
="#"
43313 if test "x$USE_SOVERLINUX" = "x1" ; then
43314 COND_USE_SOVERLINUX_1
=""
43317 COND_USE_SOVERSION_0
="#"
43318 if test "x$USE_SOVERSION" = "x0" ; then
43319 COND_USE_SOVERSION_0
=""
43322 COND_USE_SOVERSOLARIS_1
="#"
43323 if test "x$USE_SOVERSOLARIS" = "x1" ; then
43324 COND_USE_SOVERSOLARIS_1
=""
43327 COND_USE_THREADS_0
="#"
43328 if test "x$USE_THREADS" = "x0" ; then
43329 COND_USE_THREADS_0
=""
43332 COND_USE_THREADS_1
="#"
43333 if test "x$USE_THREADS" = "x1" ; then
43334 COND_USE_THREADS_1
=""
43338 if test "x$USE_XRC" = "x1" ; then
43342 COND_WITH_PLUGIN_SDL_1
="#"
43343 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
43344 COND_WITH_PLUGIN_SDL_1
=""
43348 if test "x$WXUNIV" = "x0" ; then
43353 if test "x$WXUNIV" = "x1" ; then
43357 COND_WXUSE_EXPAT_BUILTIN
="#"
43358 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
43359 COND_WXUSE_EXPAT_BUILTIN
=""
43362 COND_WXUSE_LIBJPEG_BUILTIN
="#"
43363 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43364 COND_WXUSE_LIBJPEG_BUILTIN
=""
43367 COND_WXUSE_LIBPNG_BUILTIN
="#"
43368 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43369 COND_WXUSE_LIBPNG_BUILTIN
=""
43372 COND_WXUSE_LIBTIFF_BUILTIN
="#"
43373 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43374 COND_WXUSE_LIBTIFF_BUILTIN
=""
43377 COND_WXUSE_ODBC_BUILTIN
="#"
43378 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
43379 COND_WXUSE_ODBC_BUILTIN
=""
43382 COND_WXUSE_REGEX_BUILTIN
="#"
43383 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
43384 COND_WXUSE_REGEX_BUILTIN
=""
43387 COND_WXUSE_ZLIB_BUILTIN
="#"
43388 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
43389 COND_WXUSE_ZLIB_BUILTIN
=""
43394 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
43395 { { 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
43396 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;}
43397 { (exit 1); exit 1; }; }
43401 if test "$wxUSE_SHARED" = "yes"; then
43403 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
43404 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
43407 *-pc-os2_emx | *-pc-os2-emx )
43408 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43409 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43410 cp -p ${srcdir}/src
/os
2/dllnames.sh .
43411 cp -p ${srcdir}/src
/os
2/dllar.sh .
43416 EXE_LINKER
="$CXX -o"
43419 if test "$wxUSE_OMF" = "yes"; then
43421 *-pc-os2_emx | *-pc-os2-emx )
43422 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
43423 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43424 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
43429 GCC_PRAGMA_FLAGS
=""
43431 if test $GCC_PCH = 1 ; then
43432 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43433 PCH_FLAGS
="-DWX_PRECOMP"
43436 powerpc
-*-darwin* )
43437 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43440 if test "$wxUSE_STL" = "yes" -o \
43441 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
43442 "$wxUSE_NO_RTTI" != "yes"; then
43443 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
43444 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43445 cat >conftest.
$ac_ext <<_ACEOF
43448 cat confdefs.h
>>conftest.
$ac_ext
43449 cat >>conftest.
$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43455 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43456 #error "Not GCC 3.2 or greater"
43463 rm -f conftest.
$ac_objext
43464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43465 (eval $ac_compile) 2>conftest.er1
43467 grep -v '^ *+' conftest.er1
>conftest.err
43469 cat conftest.err
>&5
43470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43471 (exit $ac_status); } &&
43472 { ac_try
='test -z "$ac_c_werror_flag"
43473 || test ! -s conftest.err'
43474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43475 (eval $ac_try) 2>&5
43477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43478 (exit $ac_status); }; } &&
43479 { ac_try
='test -s conftest.$ac_objext'
43480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43481 (eval $ac_try) 2>&5
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); }; }; then
43485 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43486 echo "$as_me:$LINENO: result: yes" >&5
43487 echo "${ECHO_T}yes" >&6
43489 echo "$as_me: failed program was:" >&5
43490 sed 's/^/| /' conftest.
$ac_ext >&5
43492 echo "$as_me:$LINENO: result: no" >&5
43493 echo "${ECHO_T}no" >&6
43495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43498 *-pc-os2_emx | *-pc-os2-emx )
43499 if test "$wxUSE_STL" = "yes"; then
43500 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
43501 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
43502 cat >conftest.
$ac_ext <<_ACEOF
43505 cat confdefs.h
>>conftest.
$ac_ext
43506 cat >>conftest.
$ac_ext <<_ACEOF
43507 /* end confdefs.h. */
43512 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
43513 #error "Not GCC 3.2 or greater"
43520 rm -f conftest.
$ac_objext
43521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43522 (eval $ac_compile) 2>conftest.er1
43524 grep -v '^ *+' conftest.er1
>conftest.err
43526 cat conftest.err
>&5
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); } &&
43529 { ac_try
='test -z "$ac_c_werror_flag"
43530 || test ! -s conftest.err'
43531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43532 (eval $ac_try) 2>&5
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); }; } &&
43536 { ac_try
='test -s conftest.$ac_objext'
43537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43538 (eval $ac_try) 2>&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); }; }; then
43542 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43543 echo "$as_me:$LINENO: result: yes" >&5
43544 echo "${ECHO_T}yes" >&6
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.
$ac_ext >&5
43549 echo "$as_me:$LINENO: result: no" >&5
43550 echo "${ECHO_T}no" >&6
43552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43557 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43560 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43624 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43625 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43626 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43627 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43628 echo $ECHO_N "(cached) $ECHO_C" >&6
43630 cat >conftest.
make <<\_ACEOF
43632 @
echo 'ac_maketemp="$(MAKE)"'
43634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43635 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43636 if test -n "$ac_maketemp"; then
43637 eval ac_cv_prog_make_
${ac_make}_set
=yes
43639 eval ac_cv_prog_make_
${ac_make}_set
=no
43641 rm -f conftest.
make
43643 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43644 echo "$as_me:$LINENO: result: yes" >&5
43645 echo "${ECHO_T}yes" >&6
43648 echo "$as_me:$LINENO: result: no" >&5
43649 echo "${ECHO_T}no" >&6
43650 SET_MAKE
="MAKE=${MAKE-make}"
43655 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43658 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43661 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43664 ac_config_files
="$ac_config_files version-script Makefile"
43667 ac_config_commands
="$ac_config_commands wx-config
43673 if test "$wxUSE_GUI" = "yes"; then
43674 SUBDIRS
="samples demos utils contrib"
43675 else SUBDIRS
="samples utils"
43680 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43681 if test "${with_cppunit_prefix+set}" = set; then
43682 withval
="$with_cppunit_prefix"
43683 cppunit_config_prefix
="$withval"
43685 cppunit_config_prefix
=""
43688 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43689 if test "${with_cppunit_exec_prefix+set}" = set; then
43690 withval
="$with_cppunit_exec_prefix"
43691 cppunit_config_exec_prefix
="$withval"
43693 cppunit_config_exec_prefix
=""
43696 if test x
$cppunit_config_exec_prefix != x
; then
43697 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43698 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43699 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43702 if test x
$cppunit_config_prefix != x
; then
43703 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43704 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43705 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43709 # Extract the first word of "cppunit-config", so it can be a program name with args.
43710 set dummy cppunit
-config; ac_word
=$2
43711 echo "$as_me:$LINENO: checking for $ac_word" >&5
43712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43713 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43714 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 case $CPPUNIT_CONFIG in
43718 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43722 for as_dir
in $PATH
43725 test -z "$as_dir" && as_dir
=.
43726 for ac_exec_ext
in '' $ac_executable_extensions; do
43727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43728 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43735 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43739 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43741 if test -n "$CPPUNIT_CONFIG"; then
43742 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43743 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43745 echo "$as_me:$LINENO: result: no" >&5
43746 echo "${ECHO_T}no" >&6
43749 cppunit_version_min
=1.8.0
43751 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43752 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43754 if test "$CPPUNIT_CONFIG" = "no" ; then
43757 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43758 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43759 cppunit_version
=`$CPPUNIT_CONFIG --version`
43761 cppunit_major_version
=`echo $cppunit_version | \
43762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43763 cppunit_minor_version
=`echo $cppunit_version | \
43764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43765 cppunit_micro_version
=`echo $cppunit_version | \
43766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43768 cppunit_major_min
=`echo $cppunit_version_min | \
43769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43770 cppunit_minor_min
=`echo $cppunit_version_min | \
43771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43772 cppunit_micro_min
=`echo $cppunit_version_min | \
43773 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43775 cppunit_version_proper
=`expr \
43776 $cppunit_major_version \> $cppunit_major_min \| \
43777 $cppunit_major_version \= $cppunit_major_min \& \
43778 $cppunit_minor_version \> $cppunit_minor_min \| \
43779 $cppunit_major_version \= $cppunit_major_min \& \
43780 $cppunit_minor_version \= $cppunit_minor_min \& \
43781 $cppunit_micro_version \>= $cppunit_micro_min `
43783 if test "$cppunit_version_proper" = "1" ; then
43784 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43785 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43787 echo "$as_me:$LINENO: result: no" >&5
43788 echo "${ECHO_T}no" >&6
43793 if test "x$no_cppunit" = x
; then
43794 SUBDIRS
="$SUBDIRS tests"
43805 for subdir
in `echo $SUBDIRS`; do
43806 if test -d ${srcdir}/${subdir} ; then
43807 if test "$wxUSE_GUI" = "yes"; then
43808 if test ${subdir} = "samples"; then
43809 makefiles
="samples/Makefile.in $makefiles"
43810 for sample
in `echo $SAMPLES_SUBDIRS`; do
43811 if test -d $srcdir/samples
/$sample; then
43812 makefiles
="samples/$sample/Makefile.in $makefiles"
43815 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43817 else if test ${subdir} = "samples"; then
43818 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43819 elif test ${subdir} = "utils"; then
43821 for util
in HelpGen tex2rtf
; do
43822 if test -d $srcdir/utils
/$util ; then
43823 makefiles
="utils/$util/Makefile.in \
43824 utils/$util/src/Makefile.in \
43828 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43832 for mkin
in $makefiles ; do
43833 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43834 ac_config_files
="$ac_config_files $mk"
43841 cat >confcache
<<\_ACEOF
43842 # This file is a shell script that caches the results of configure
43843 # tests run on this system so they can be shared between configure
43844 # scripts and configure runs, see configure's option --config-cache.
43845 # It is not useful on other systems. If it contains results you don't
43846 # want to keep, you may remove or edit it.
43848 # config.status only pays attention to the cache file if you give it
43849 # the --recheck option to rerun configure.
43851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43853 # following values.
43857 # The following way of writing the cache mishandles newlines in values,
43858 # but we know of no workaround that is simple, portable, and efficient.
43859 # So, don't put newlines in cache variables' values.
43860 # Ultrix sh set writes to stderr and can't be redirected directly,
43861 # and sets the high bit in the cache file unless we assign to the vars.
43864 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43866 # `set' does not quote correctly, so add quotes (double-quote
43867 # substitution turns \\\\ into \\, and sed turns \\ into \).
43870 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43873 # `set' quotes correctly as required by POSIX, so do not add quotes.
43875 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43882 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43884 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43886 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43887 if test -w $cache_file; then
43888 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43889 cat confcache
>$cache_file
43891 echo "not updating unwritable cache $cache_file"
43896 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43897 # Let make expand exec_prefix.
43898 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43900 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43901 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43902 # trailing colons and then remove the whole line if VPATH becomes empty
43903 # (actually we leave an empty line to preserve line numbers).
43904 if test "x$srcdir" = x.
; then
43905 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43906 s/:*\$(srcdir):*/:/;
43907 s/:*\${srcdir}:*/:/;
43909 s/^\([^=]*=[ ]*\):*/\1/;
43915 DEFS
=-DHAVE_CONFIG_H
43919 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43920 # 1. Remove the extension, and $U if already installed.
43921 ac_i
=`echo "$ac_i" |
43922 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43924 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43925 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43927 LIBOBJS
=$ac_libobjs
43929 LTLIBOBJS
=$ac_ltlibobjs
43933 : ${CONFIG_STATUS=./config.status}
43934 ac_clean_files_save
=$ac_clean_files
43935 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43936 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43937 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43938 cat >$CONFIG_STATUS <<_ACEOF
43940 # Generated by $as_me.
43941 # Run this file to recreate the current configuration.
43942 # Compiler output produced by configure, useful for debugging
43943 # configure, is in config.log if it exists.
43946 ac_cs_recheck=false
43948 SHELL=\${CONFIG_SHELL-$SHELL}
43951 cat >>$CONFIG_STATUS <<\_ACEOF
43952 ## --------------------- ##
43953 ## M4sh Initialization. ##
43954 ## --------------------- ##
43956 # Be Bourne compatible
43957 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43960 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43961 # is contrary to our usage. Disable this feature.
43962 alias -g '${1+"$@"}'='"$@"'
43963 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43966 DUALCASE
=1; export DUALCASE
# for MKS sh
43968 # Support unset when possible.
43969 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43976 # Work around bugs in pre-3.0 UWIN ksh.
43977 $as_unset ENV MAIL MAILPATH
43984 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43985 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43986 LC_TELEPHONE LC_TIME
43988 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43989 eval $as_var=C
; export $as_var
43995 # Required to use basename.
43996 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44002 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
44003 as_basename
=basename
44009 # Name of the executable.
44010 as_me
=`$as_basename "$0" ||
44011 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44012 X"$0" : 'X\(//\)$' \| \
44013 X"$0" : 'X\(/\)$' \| \
44014 . : '\(.\)' 2>/dev/null ||
44016 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44017 /^X\/\(\/\/\)$/{ s//\1/; q; }
44018 /^X\/\(\/\).*/{ s//\1/; q; }
44022 # PATH needs CR, and LINENO needs CR and PATH.
44023 # Avoid depending upon Character Ranges.
44024 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44025 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44026 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
44027 as_cr_digits
='0123456789'
44028 as_cr_alnum
=$as_cr_Letters$as_cr_digits
44030 # The user is always right.
44031 if test "${PATH_SEPARATOR+set}" != set; then
44032 echo "#! /bin/sh" >conf$$.sh
44033 echo "exit 0" >>conf$$.sh
44035 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
44044 as_lineno_1
=$LINENO
44045 as_lineno_2
=$LINENO
44046 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
44047 test "x$as_lineno_1" != "x$as_lineno_2" &&
44048 test "x$as_lineno_3" = "x$as_lineno_2" || {
44049 # Find who we are. Look in the path if we contain no path at all
44052 *[\\/]* ) as_myself
=$0 ;;
44053 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44054 for as_dir
in $PATH
44057 test -z "$as_dir" && as_dir
=.
44058 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
44063 # We did not find ourselves, most probably we were run as `sh COMMAND'
44064 # in which case we are not to be found in the path.
44065 if test "x$as_myself" = x
; then
44068 if test ! -f "$as_myself"; then
44069 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
44070 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
44071 { (exit 1); exit 1; }; }
44073 case $CONFIG_SHELL in
44075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44076 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
44079 test -z "$as_dir" && as_dir
=.
44080 for as_base
in sh bash ksh sh5
; do
44083 if ("$as_dir/$as_base" -c '
44084 as_lineno_1=$LINENO
44085 as_lineno_2=$LINENO
44086 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
44087 test "x$as_lineno_1" != "x$as_lineno_2" &&
44088 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
44089 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
44090 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
44091 CONFIG_SHELL
=$as_dir/$as_base
44092 export CONFIG_SHELL
44093 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
44101 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
44102 # uniformly replaced by the line number. The first 'sed' inserts a
44103 # line-number line before each line; the second 'sed' does the real
44104 # work. The second script uses 'N' to pair each line-number line
44105 # with the numbered line, and appends trailing '-' during
44106 # substitution so that $LINENO is not a special case at line end.
44107 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
44108 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
44109 sed '=' <$as_myself |
44114 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
44117 s,^['$as_cr_digits']*\n,,
44118 ' >$as_me.lineno
&&
44119 chmod +x
$as_me.lineno
||
44120 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
44121 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
44122 { (exit 1); exit 1; }; }
44124 # Don't try to exec as it changes $[0], causing all sort of problems
44125 # (the dirname of $[0] is not the place where we might find the
44126 # original and so on. Autoconf is especially sensible to this).
44128 # Exit status is that of the last command.
44133 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
44134 *c
*,-n*) ECHO_N
= ECHO_C
='
44136 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
44137 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
44140 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44146 rm -f conf$$ conf$$.exe conf$$.
file
44148 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
44149 # We could just check for DJGPP; but this test a) works b) is more generic
44150 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
44151 if test -f conf$$.exe
; then
44152 # Don't use ln at all; we don't have any links
44157 elif ln conf$$.
file conf$$
2>/dev
/null
; then
44162 rm -f conf$$ conf$$.exe conf$$.
file
44164 if mkdir -p .
2>/dev
/null
; then
44167 test -d .
/-p && rmdir .
/-p
44171 as_executable_p
="test -f"
44173 # Sed expression to map a string onto a valid CPP name.
44174 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
44176 # Sed expression to map a string onto a valid variable name.
44177 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
44181 # We need space, tab and new line, in precisely that order.
44191 # Open the log real soon, to keep \$[0] and so on meaningful, and to
44192 # report actual input values of CONFIG_FILES etc. instead of their
44193 # values after options handling. Logging --version etc. is OK.
44197 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
44198 ## Running $as_me. ##
44203 This file was extended by wxWidgets $as_me 2.5.5, which was
44204 generated by GNU Autoconf 2.59. Invocation command line was
44206 CONFIG_FILES = $CONFIG_FILES
44207 CONFIG_HEADERS = $CONFIG_HEADERS
44208 CONFIG_LINKS = $CONFIG_LINKS
44209 CONFIG_COMMANDS = $CONFIG_COMMANDS
44213 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
44217 # Files that config.status was made for.
44218 if test -n "$ac_config_files"; then
44219 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
44222 if test -n "$ac_config_headers"; then
44223 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
44226 if test -n "$ac_config_links"; then
44227 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
44230 if test -n "$ac_config_commands"; then
44231 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
44234 cat >>$CONFIG_STATUS <<\_ACEOF
44237 \`$as_me' instantiates files from templates according to the
44238 current configuration.
44240 Usage: $0 [OPTIONS] [FILE]...
44242 -h, --help print this help, then exit
44243 -V, --version print version number, then exit
44244 -q, --quiet do not print progress messages
44245 -d, --debug don't remove temporary files
44246 --recheck update $as_me by reconfiguring in the same conditions
44247 --file=FILE[:TEMPLATE]
44248 instantiate the configuration file FILE
44249 --header=FILE[:TEMPLATE]
44250 instantiate the configuration header FILE
44252 Configuration files:
44255 Configuration headers:
44258 Configuration commands:
44261 Report bugs to <bug-autoconf@gnu.org>."
44264 cat >>$CONFIG_STATUS <<_ACEOF
44266 wxWidgets config.status 2.5.5
44267 configured by $0, generated by GNU Autoconf 2.59,
44268 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
44270 Copyright (C) 2003 Free Software Foundation, Inc.
44271 This config.status script is free software; the Free Software Foundation
44272 gives unlimited permission to copy, distribute and modify it."
44277 cat >>$CONFIG_STATUS <<\_ACEOF
44278 # If no file are specified by the user, then we need to provide default
44279 # value. By we need to know if files were specified by the user.
44285 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
44286 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
44294 *) # This is not an option, so the user has probably given explicit
44297 ac_need_defaults
=false
;;
44301 # Handling of the options.
44303 cat >>$CONFIG_STATUS <<\_ACEOF
44304 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
44306 --version | --vers* | -V )
44307 echo "$ac_cs_version"; exit 0 ;;
44309 # Conflict between --help and --header
44310 { { echo "$as_me:$LINENO: error: ambiguous option: $1
44311 Try \`$0 --help' for more information." >&5
44312 echo "$as_me: error: ambiguous option: $1
44313 Try \`$0 --help' for more information." >&2;}
44314 { (exit 1); exit 1; }; };;
44315 --help | --hel | -h )
44316 echo "$ac_cs_usage"; exit 0 ;;
44317 --debug | --d* | -d )
44319 --file | --fil | --fi | --f )
44321 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
44322 ac_need_defaults
=false
;;
44323 --header | --heade | --head | --hea )
44325 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
44326 ac_need_defaults
=false
;;
44327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
44328 | -silent | --silent | --silen | --sile | --sil | --si | --s)
44331 # This is an error.
44332 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
44333 Try \`$0 --help' for more information." >&5
44334 echo "$as_me: error: unrecognized option: $1
44335 Try \`$0 --help' for more information." >&2;}
44336 { (exit 1); exit 1; }; } ;;
44338 *) ac_config_targets
="$ac_config_targets $1" ;;
44344 ac_configure_extra_args
=
44346 if $ac_cs_silent; then
44348 ac_configure_extra_args
="$ac_configure_extra_args --silent"
44352 cat >>$CONFIG_STATUS <<_ACEOF
44353 if \$ac_cs_recheck; then
44354 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
44355 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
44360 cat >>$CONFIG_STATUS <<_ACEOF
44362 # INIT-COMMANDS section.
44365 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44366 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44367 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
44375 cat >>$CONFIG_STATUS <<\_ACEOF
44376 for ac_config_target
in $ac_config_targets
44378 case "$ac_config_target" in
44379 # Handling of arguments.
44380 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
44381 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
44382 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
44383 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
44384 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
44385 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
44386 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
44387 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
44388 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
44389 { (exit 1); exit 1; }; };;
44393 # If the user did not use the arguments to specify the items to instantiate,
44394 # then the envvar interface is used. Set only those that are not.
44395 # We use the long form for the default assignment because of an extremely
44396 # bizarre bug on SunOS 4.1.3.
44397 if $ac_need_defaults; then
44398 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
44399 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
44400 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
44403 # Have a temporary directory for convenience. Make it in the build tree
44404 # simply because there is no reason to put it here, and in addition,
44405 # creating and moving files from /tmp can sometimes cause problems.
44406 # Create a temporary directory, and hook for its removal unless debugging.
44409 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
44410 trap '{ (exit 1); exit 1; }' 1 2 13 15
44413 # Create a (secure) tmp directory for tmp files.
44416 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
44417 test -n "$tmp" && test -d "$tmp"
44420 tmp
=.
/confstat$$
-$RANDOM
44421 (umask 077 && mkdir $tmp)
44424 echo "$me: cannot create a temporary directory in ." >&2
44425 { (exit 1); exit 1; }
44430 cat >>$CONFIG_STATUS <<_ACEOF
44433 # CONFIG_FILES section.
44436 # No need to generate the scripts if there are no CONFIG_FILES.
44437 # This happens for instance when ./config.status config.h
44438 if test -n "\$CONFIG_FILES"; then
44439 # Protect against being on the right side of a sed subst in config.status.
44440 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
44441 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
44442 s,@SHELL@,$SHELL,;t t
44443 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
44444 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
44445 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
44446 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
44447 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
44448 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
44449 s,@exec_prefix@,$exec_prefix,;t t
44450 s,@prefix@,$prefix,;t t
44451 s,@program_transform_name@,$program_transform_name,;t t
44452 s,@bindir@,$bindir,;t t
44453 s,@sbindir@,$sbindir,;t t
44454 s,@libexecdir@,$libexecdir,;t t
44455 s,@datadir@,$datadir,;t t
44456 s,@sysconfdir@,$sysconfdir,;t t
44457 s,@sharedstatedir@,$sharedstatedir,;t t
44458 s,@localstatedir@,$localstatedir,;t t
44459 s,@libdir@,$libdir,;t t
44460 s,@includedir@,$includedir,;t t
44461 s,@oldincludedir@,$oldincludedir,;t t
44462 s,@infodir@,$infodir,;t t
44463 s,@mandir@,$mandir,;t t
44464 s,@build_alias@,$build_alias,;t t
44465 s,@host_alias@,$host_alias,;t t
44466 s,@target_alias@,$target_alias,;t t
44467 s,@DEFS@,$DEFS,;t t
44468 s,@ECHO_C@,$ECHO_C,;t t
44469 s,@ECHO_N@,$ECHO_N,;t t
44470 s,@ECHO_T@,$ECHO_T,;t t
44471 s,@LIBS@,$LIBS,;t t
44472 s,@build@,$build,;t t
44473 s,@build_cpu@,$build_cpu,;t t
44474 s,@build_vendor@,$build_vendor,;t t
44475 s,@build_os@,$build_os,;t t
44476 s,@host@,$host,;t t
44477 s,@host_cpu@,$host_cpu,;t t
44478 s,@host_vendor@,$host_vendor,;t t
44479 s,@host_os@,$host_os,;t t
44480 s,@target@,$target,;t t
44481 s,@target_cpu@,$target_cpu,;t t
44482 s,@target_vendor@,$target_vendor,;t t
44483 s,@target_os@,$target_os,;t t
44485 s,@CFLAGS@,$CFLAGS,;t t
44486 s,@LDFLAGS@,$LDFLAGS,;t t
44487 s,@CPPFLAGS@,$CPPFLAGS,;t t
44488 s,@ac_ct_CC@,$ac_ct_CC,;t t
44489 s,@EXEEXT@,$EXEEXT,;t t
44490 s,@OBJEXT@,$OBJEXT,;t t
44492 s,@EGREP@,$EGREP,;t t
44494 s,@CXXFLAGS@,$CXXFLAGS,;t t
44495 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
44496 s,@RANLIB@,$RANLIB,;t t
44497 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
44499 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
44500 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
44501 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
44502 s,@STRIP@,$STRIP,;t t
44503 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
44504 s,@LN_S@,$LN_S,;t t
44505 s,@CXXCPP@,$CXXCPP,;t t
44506 s,@subdirs@,$subdirs,;t t
44507 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
44508 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
44509 s,@GTK_LIBS@,$GTK_LIBS,;t t
44510 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
44511 s,@X_CFLAGS@,$X_CFLAGS,;t t
44512 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
44513 s,@X_LIBS@,$X_LIBS,;t t
44514 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
44515 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
44516 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
44517 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
44518 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
44519 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
44520 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
44521 s,@RESCOMP@,$RESCOMP,;t t
44522 s,@DEREZ@,$DEREZ,;t t
44523 s,@SETFILE@,$SETFILE,;t t
44524 s,@LIBICONV@,$LIBICONV,;t t
44525 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
44526 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
44527 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
44528 s,@SDL_LIBS@,$SDL_LIBS,;t t
44529 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
44530 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
44531 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44532 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44533 s,@GST_INSPECT@,$GST_INSPECT,;t t
44534 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44535 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44536 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44537 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44538 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44539 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44540 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44541 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44542 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44543 s,@VENDOR@,$VENDOR,;t t
44544 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44545 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44546 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44547 s,@WXUNIV@,$WXUNIV,;t t
44548 s,@MONOLITHIC@,$MONOLITHIC,;t t
44549 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44550 s,@EXTRALIBS@,$EXTRALIBS,;t t
44551 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44552 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44553 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44554 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44555 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44556 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44557 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44558 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44559 s,@UNICODE@,$UNICODE,;t t
44560 s,@BUILD@,$BUILD,;t t
44561 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44562 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44563 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44564 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44565 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44566 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44567 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44568 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44569 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44570 s,@SET_MAKE@,$SET_MAKE,;t t
44571 s,@MAKE_SET@,$MAKE_SET,;t t
44572 s,@ac_ct_AR@,$ac_ct_AR,;t t
44573 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44575 s,@ac_ct_NM@,$ac_ct_NM,;t t
44576 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44577 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44578 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44579 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44580 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44581 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44582 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44583 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44584 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44585 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44586 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44587 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44588 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44589 s,@LIBPREFIX@,$LIBPREFIX,;t t
44590 s,@LIBEXT@,$LIBEXT,;t t
44591 s,@DLLPREFIX@,$DLLPREFIX,;t t
44592 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44593 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44594 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44595 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44596 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44597 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44598 s,@PIC_FLAG@,$PIC_FLAG,;t t
44599 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44600 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44601 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44602 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44603 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44604 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44605 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44606 s,@GCC_PCH@,$GCC_PCH,;t t
44607 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44608 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44609 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44610 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44611 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44612 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44613 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44614 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44615 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44616 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44617 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44618 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44619 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44620 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44621 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44622 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44623 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44624 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44625 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
44626 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
44627 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
44628 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44629 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44630 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44631 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44632 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
44633 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
44634 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
44635 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44636 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44637 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44638 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44639 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44640 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44641 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44642 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44643 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44644 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44645 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44646 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44647 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44648 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44649 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44650 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
44651 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44652 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44653 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44654 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44655 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44656 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44657 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44658 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44659 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44660 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44661 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44662 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44663 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44664 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44665 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44666 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44667 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44668 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44669 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44670 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44671 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44672 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44673 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44674 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44675 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44676 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44677 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44678 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44679 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44680 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44681 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44682 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44683 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44684 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44685 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44686 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44687 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44688 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44689 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44690 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44691 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44692 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44693 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44694 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44695 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44696 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44697 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44698 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44699 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44700 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44701 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44702 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44703 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44704 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44705 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44706 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44707 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44708 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44709 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44710 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44711 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44712 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44713 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44714 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44715 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44716 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44717 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44718 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44719 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44720 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44721 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44722 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44723 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44724 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44725 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44726 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44727 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44728 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44729 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44730 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44731 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44732 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44733 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44734 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44735 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44736 s,@SHARED@,$SHARED,;t t
44737 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44738 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44739 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44740 s,@USE_GUI@,$USE_GUI,;t t
44741 s,@AFMINSTALL@,$AFMINSTALL,;t t
44742 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44743 s,@TOOLKIT@,$TOOLKIT,;t t
44744 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44745 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44746 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44747 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44748 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44749 s,@cross_compiling@,$cross_compiling,;t t
44750 s,@WIDGET_SET@,$WIDGET_SET,;t t
44751 s,@WX_RELEASE@,$WX_RELEASE,;t t
44752 s,@WX_VERSION@,$WX_VERSION,;t t
44753 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44754 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44755 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44756 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44757 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44758 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44759 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44760 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44761 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44762 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44763 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44764 s,@EXE_LINKER@,$EXE_LINKER,;t t
44765 s,@GUIDIST@,$GUIDIST,;t t
44766 s,@DISTDIR@,$DISTDIR,;t t
44767 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44768 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44769 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44770 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44771 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44772 s,@RESFLAGS@,$RESFLAGS,;t t
44773 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44774 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44775 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44776 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44777 s,@MACRESCOMP@,$MACRESCOMP,;t t
44778 s,@MACSETFILE@,$MACSETFILE,;t t
44779 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44781 s,@DLLTOOL@,$DLLTOOL,;t t
44782 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44783 s,@LIBOBJS@,$LIBOBJS,;t t
44784 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44789 cat >>$CONFIG_STATUS <<\_ACEOF
44790 # Split the substitutions into bite-sized pieces for seds with
44791 # small command number limits, like on Digital OSF/1 and HP-UX.
44792 ac_max_sed_lines
=48
44793 ac_sed_frag
=1 # Number of current file.
44794 ac_beg
=1 # First line for current file.
44795 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44798 while $ac_more_lines; do
44799 if test $ac_beg -gt 1; then
44800 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44802 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44804 if test ! -s $tmp/subs.frag
; then
44805 ac_more_lines
=false
44807 # The purpose of the label and of the branching condition is to
44808 # speed up the sed processing (if there are no `@' at all, there
44809 # is no need to browse any of the substitutions).
44810 # These are the two extra sed commands mentioned above.
44812 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44813 if test -z "$ac_sed_cmds"; then
44814 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44816 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44818 ac_sed_frag
=`expr $ac_sed_frag + 1`
44820 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44823 if test -z "$ac_sed_cmds"; then
44826 fi # test -n "$CONFIG_FILES"
44829 cat >>$CONFIG_STATUS <<\_ACEOF
44830 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44831 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44833 - | *:- | *:-:* ) # input from stdin
44835 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44836 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44837 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44838 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44839 * ) ac_file_in
=$ac_file.
in ;;
44842 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44843 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44844 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44845 X"$ac_file" : 'X\(//\)[^/]' \| \
44846 X"$ac_file" : 'X\(//\)$' \| \
44847 X"$ac_file" : 'X\(/\)' \| \
44848 . : '\(.\)' 2>/dev/null ||
44850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44851 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44852 /^X\(\/\/\)$/{ s//\1/; q; }
44853 /^X\(\/\).*/{ s//\1/; q; }
44855 { if $as_mkdir_p; then
44860 while test ! -d "$as_dir"; do
44861 as_dirs
="$as_dir $as_dirs"
44862 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44864 X"$as_dir" : 'X\(//\)[^/]' \| \
44865 X"$as_dir" : 'X\(//\)$' \| \
44866 X"$as_dir" : 'X\(/\)' \| \
44867 . : '\(.\)' 2>/dev/null ||
44869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44871 /^X\(\/\/\)$/{ s//\1/; q; }
44872 /^X\(\/\).*/{ s//\1/; q; }
44875 test ! -n "$as_dirs" || mkdir $as_dirs
44876 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44877 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44878 { (exit 1); exit 1; }; }; }
44882 if test "$ac_dir" != .
; then
44883 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44884 # A "../" for each directory in $ac_dir_suffix.
44885 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44887 ac_dir_suffix
= ac_top_builddir
=
44891 .
) # No --srcdir option. We are building in place.
44893 if test -z "$ac_top_builddir"; then
44896 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44898 [\\/]* | ?
:[\\/]* ) # Absolute path.
44899 ac_srcdir
=$srcdir$ac_dir_suffix;
44900 ac_top_srcdir
=$srcdir ;;
44901 *) # Relative path.
44902 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44903 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44906 # Do not use `cd foo && pwd` to compute absolute paths, because
44907 # the directories may not exist.
44909 .
) ac_abs_builddir
="$ac_dir";;
44912 .
) ac_abs_builddir
=`pwd`;;
44913 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44914 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44917 case $ac_abs_builddir in
44918 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44920 case ${ac_top_builddir}.
in
44921 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44922 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44923 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44926 case $ac_abs_builddir in
44927 .
) ac_abs_srcdir
=$ac_srcdir;;
44930 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44931 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44932 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44935 case $ac_abs_builddir in
44936 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44938 case $ac_top_srcdir in
44939 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44940 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44941 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44947 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44948 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44951 if test x
"$ac_file" != x
-; then
44952 { echo "$as_me:$LINENO: creating $ac_file" >&5
44953 echo "$as_me: creating $ac_file" >&6;}
44956 # Let's still pretend it is `configure' which instantiates (i.e., don't
44957 # use $as_me), people would be surprised to read:
44958 # /* config.h. Generated by config.status. */
44959 if test x
"$ac_file" = x
-; then
44962 configure_input
="$ac_file. "
44964 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44965 sed 's,.*/,,'` by configure."
44967 # First look for the input files in the build tree, otherwise in the
44969 ac_file_inputs
=`IFS=:
44970 for f in $ac_file_in; do
44972 -) echo $tmp/stdin ;;
44974 # Absolute (can't be DOS-style, as IFS=:)
44975 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44976 echo "$as_me: error: cannot find input file: $f" >&2;}
44977 { (exit 1); exit 1; }; }
44980 if test -f "$f"; then
44983 elif test -f "$srcdir/$f"; then
44988 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44989 echo "$as_me: error: cannot find input file: $f" >&2;}
44990 { (exit 1); exit 1; }; }
44993 done` || { (exit 1); exit 1; }
44995 cat >>$CONFIG_STATUS <<_ACEOF
44999 cat >>$CONFIG_STATUS <<\_ACEOF
45001 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
45002 s
,@configure_input@
,$configure_input,;t t
45003 s
,@srcdir@
,$ac_srcdir,;t t
45004 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
45005 s
,@top_srcdir@
,$ac_top_srcdir,;t t
45006 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
45007 s
,@builddir@
,$ac_builddir,;t t
45008 s
,@abs_builddir@
,$ac_abs_builddir,;t t
45009 s
,@top_builddir@
,$ac_top_builddir,;t t
45010 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
45011 s
,@INSTALL@
,$ac_INSTALL,;t t
45012 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45014 if test x"$ac_file" != x-; then
45015 mv $tmp/out $ac_file
45021 # Run the commands associated with the file.
45023 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
45024 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
45028 cat >>$CONFIG_STATUS <<\_ACEOF
45031 # CONFIG_HEADER section.
45034 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
45035 # NAME is the cpp macro being defined and VALUE is the value it is being given.
45037 # ac_d sets the value in "#define NAME VALUE" lines.
45038 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
45039 ac_dB
='[ ].*$,\1#\2'
45042 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
45043 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
45044 ac_uB
='$,\1#\2define\3'
45048 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
45049 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45051 - | *:- | *:-:* ) # input from stdin
45053 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45054 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45055 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45056 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45057 * ) ac_file_in
=$ac_file.
in ;;
45060 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
45061 echo "$as_me: creating $ac_file" >&6;}
45063 # First look for the input files in the build tree, otherwise in the
45065 ac_file_inputs
=`IFS=:
45066 for f in $ac_file_in; do
45068 -) echo $tmp/stdin ;;
45070 # Absolute (can't be DOS-style, as IFS=:)
45071 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45072 echo "$as_me: error: cannot find input file: $f" >&2;}
45073 { (exit 1); exit 1; }; }
45074 # Do quote $f, to prevent DOS paths from being IFS'd.
45077 if test -f "$f"; then
45080 elif test -f "$srcdir/$f"; then
45085 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45086 echo "$as_me: error: cannot find input file: $f" >&2;}
45087 { (exit 1); exit 1; }; }
45090 done` || { (exit 1); exit 1; }
45091 # Remove the trailing spaces.
45092 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
45096 # Transform confdefs.h into two sed scripts, `conftest.defines' and
45097 # `conftest.undefs', that substitutes the proper values into
45098 # config.h.in to produce config.h. The first handles `#define'
45099 # templates, and the second `#undef' templates.
45100 # And first: Protect against being on the right side of a sed subst in
45101 # config.status. Protect against being in an unquoted here document
45102 # in config.status.
45103 rm -f conftest.defines conftest.undefs
45104 # Using a here document instead of a string reduces the quoting nightmare.
45105 # Putting comments in sed scripts is not portable.
45107 # `end' is used to avoid that the second main sed command (meant for
45108 # 0-ary CPP macros) applies to n-ary macro definitions.
45109 # See the Autoconf documentation for `clear'.
45110 cat >confdef2sed.
sed <<\_ACEOF
45115 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
45117 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
45120 # If some macros were called several times there might be several times
45121 # the same #defines, which is useless. Nevertheless, we may not want to
45122 # sort them, since we want the *last* AC-DEFINE to be honored.
45123 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
45124 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
45125 rm -f confdef2sed.sed
45127 # This sed command replaces #undef with comments. This is necessary, for
45128 # example, in the case of _POSIX_SOURCE, which is predefined and required
45129 # on some systems where configure will not decide to define it.
45130 cat >>conftest.undefs <<\_ACEOF
45131 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45134 # Break up conftest.defines because some shells have a limit on the size
45135 # of here documents, and old seds have small limits too (100 cmds).
45136 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
45137 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
45138 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
45139 echo ' :' >>$CONFIG_STATUS
45140 rm -f conftest.tail
45141 while grep . conftest.defines >/dev/null
45143 # Write a limited-size here document to $tmp/defines.sed.
45144 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
45145 # Speed up: don't consider the non `#define' lines.
45146 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
45147 # Work around the forget-to-reset-the-flag bug.
45148 echo 't clr' >>$CONFIG_STATUS
45149 echo ': clr' >>$CONFIG_STATUS
45150 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
45152 sed -f $tmp/defines.sed $tmp/in >$tmp/out
45154 mv $tmp/out $tmp/in
45156 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
45157 rm -f conftest.defines
45158 mv conftest.
tail conftest.defines
45160 rm -f conftest.defines
45161 echo ' fi # grep' >>$CONFIG_STATUS
45162 echo >>$CONFIG_STATUS
45164 # Break up conftest.undefs because some shells have a limit on the size
45165 # of here documents, and old seds have small limits too (100 cmds).
45166 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
45167 rm -f conftest.
tail
45168 while grep . conftest.undefs
>/dev
/null
45170 # Write a limited-size here document to $tmp/undefs.sed.
45171 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
45172 # Speed up: don't consider the non
`#undef'
45173 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
45174 # Work around the forget-to-reset-the-flag bug.
45175 echo 't clr' >>$CONFIG_STATUS
45176 echo ': clr' >>$CONFIG_STATUS
45177 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
45179 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
45181 mv $tmp/out $tmp/in
45183 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
45184 rm -f conftest.undefs
45185 mv conftest.tail conftest.undefs
45187 rm -f conftest.undefs
45189 cat >>$CONFIG_STATUS <<\_ACEOF
45190 # Let's still pretend it is `configure
' which instantiates (i.e., don't
45191 # use $as_me), people would be surprised to read:
45192 # /* config.h. Generated by config.status. */
45193 if test x
"$ac_file" = x
-; then
45194 echo "/* Generated by configure. */" >$tmp/config.h
45196 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
45198 cat $tmp/in >>$tmp/config.h
45200 if test x
"$ac_file" != x
-; then
45201 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
45202 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
45203 echo "$as_me: $ac_file is unchanged" >&6;}
45205 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45206 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45207 X"$ac_file" : 'X\(//\)[^/]' \| \
45208 X"$ac_file" : 'X\(//\)$' \| \
45209 X"$ac_file" : 'X\(/\)' \| \
45210 . : '\(.\)' 2>/dev/null ||
45212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45214 /^X\(\/\/\)$/{ s//\1/; q; }
45215 /^X\(\/\).*/{ s//\1/; q; }
45217 { if $as_mkdir_p; then
45222 while test ! -d "$as_dir"; do
45223 as_dirs
="$as_dir $as_dirs"
45224 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45225 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45226 X"$as_dir" : 'X\(//\)[^/]' \| \
45227 X"$as_dir" : 'X\(//\)$' \| \
45228 X"$as_dir" : 'X\(/\)' \| \
45229 . : '\(.\)' 2>/dev/null ||
45231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45233 /^X\(\/\/\)$/{ s//\1/; q; }
45234 /^X\(\/\).*/{ s//\1/; q; }
45237 test ! -n "$as_dirs" || mkdir $as_dirs
45238 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45239 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45240 { (exit 1); exit 1; }; }; }
45243 mv $tmp/config.h
$ac_file
45247 rm -f $tmp/config.h
45251 cat >>$CONFIG_STATUS <<\_ACEOF
45254 # CONFIG_COMMANDS section.
45256 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
45257 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
45258 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45259 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
45260 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45261 X"$ac_dest" : 'X\(//\)[^/]' \| \
45262 X"$ac_dest" : 'X\(//\)$' \| \
45263 X"$ac_dest" : 'X\(/\)' \| \
45264 . : '\(.\)' 2>/dev/null ||
45266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45268 /^X\(\/\/\)$/{ s//\1/; q; }
45269 /^X\(\/\).*/{ s//\1/; q; }
45271 { if $as_mkdir_p; then
45276 while test ! -d "$as_dir"; do
45277 as_dirs
="$as_dir $as_dirs"
45278 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45279 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45280 X"$as_dir" : 'X\(//\)[^/]' \| \
45281 X"$as_dir" : 'X\(//\)$' \| \
45282 X"$as_dir" : 'X\(/\)' \| \
45283 . : '\(.\)' 2>/dev/null ||
45285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45287 /^X\(\/\/\)$/{ s//\1/; q; }
45288 /^X\(\/\).*/{ s//\1/; q; }
45291 test ! -n "$as_dirs" || mkdir $as_dirs
45292 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45293 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45294 { (exit 1); exit 1; }; }; }
45298 if test "$ac_dir" != .
; then
45299 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45300 # A "../" for each directory in $ac_dir_suffix.
45301 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45303 ac_dir_suffix
= ac_top_builddir
=
45307 .
) # No --srcdir option. We are building in place.
45309 if test -z "$ac_top_builddir"; then
45312 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45314 [\\/]* | ?
:[\\/]* ) # Absolute path.
45315 ac_srcdir
=$srcdir$ac_dir_suffix;
45316 ac_top_srcdir
=$srcdir ;;
45317 *) # Relative path.
45318 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45319 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45322 # Do not use `cd foo && pwd` to compute absolute paths, because
45323 # the directories may not exist.
45325 .
) ac_abs_builddir
="$ac_dir";;
45328 .
) ac_abs_builddir
=`pwd`;;
45329 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45330 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45333 case $ac_abs_builddir in
45334 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45336 case ${ac_top_builddir}.
in
45337 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45338 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45339 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45342 case $ac_abs_builddir in
45343 .
) ac_abs_srcdir
=$ac_srcdir;;
45346 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45347 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45348 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45351 case $ac_abs_builddir in
45352 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45354 case $ac_top_srcdir in
45355 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45356 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45357 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45362 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
45363 echo "$as_me: executing $ac_dest commands" >&6;}
45365 wx
-config ) rm -f wx
-config
45366 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
45372 cat >>$CONFIG_STATUS <<\_ACEOF
45374 { (exit 0); exit 0; }
45376 chmod +x
$CONFIG_STATUS
45377 ac_clean_files
=$ac_clean_files_save
45380 # configure is writing to config.log, and then calls config.status.
45381 # config.status does its own redirection, appending to config.log.
45382 # Unfortunately, on DOS this fails, as config.log is still kept open
45383 # by configure, so config.status won't be able to write to it; its
45384 # output is simply discarded. So we exec the FD to /dev/null,
45385 # effectively closing config.log, so it can be properly (re)opened and
45386 # appended to by config.status. When coming back to configure, we
45387 # need to make the FD available again.
45388 if test "$no_create" != yes; then
45390 ac_config_status_args
=
45391 test "$silent" = yes &&
45392 ac_config_status_args
="$ac_config_status_args --quiet"
45394 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
45396 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
45397 # would make configure fail if this is the last instruction.
45398 $ac_cs_success || { (exit 1); exit 1; }
45402 # CONFIG_SUBDIRS section.
45404 if test "$no_recursion" != yes; then
45406 # Remove --cache-file and --srcdir arguments so they do not pile up.
45407 ac_sub_configure_args
=
45409 for ac_arg
in $ac_configure_args; do
45410 if test -n "$ac_prev"; then
45415 -cache-file | --cache-file | --cache-fil | --cache-fi \
45416 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
45417 ac_prev
=cache_file
;;
45418 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
45419 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
45422 --config-cache | -C)
45424 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
45426 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
45428 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
45430 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
45432 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
45436 # Always prepend --prefix to ensure using the same prefix
45437 # in subdir configurations.
45438 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
45441 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
45443 # Do not complain, so a configure script can configure whichever
45444 # parts of a large source tree are present.
45445 test -d $srcdir/$ac_dir || continue
45447 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
45448 echo "$as_me: configuring in $ac_dir" >&6;}
45449 { if $as_mkdir_p; then
45454 while test ! -d "$as_dir"; do
45455 as_dirs
="$as_dir $as_dirs"
45456 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45458 X"$as_dir" : 'X\(//\)[^/]' \| \
45459 X"$as_dir" : 'X\(//\)$' \| \
45460 X"$as_dir" : 'X\(/\)' \| \
45461 . : '\(.\)' 2>/dev/null ||
45463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45465 /^X\(\/\/\)$/{ s//\1/; q; }
45466 /^X\(\/\).*/{ s//\1/; q; }
45469 test ! -n "$as_dirs" || mkdir $as_dirs
45470 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45471 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45472 { (exit 1); exit 1; }; }; }
45476 if test "$ac_dir" != .
; then
45477 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45478 # A "../" for each directory in $ac_dir_suffix.
45479 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45481 ac_dir_suffix
= ac_top_builddir
=
45485 .
) # No --srcdir option. We are building in place.
45487 if test -z "$ac_top_builddir"; then
45490 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45492 [\\/]* | ?
:[\\/]* ) # Absolute path.
45493 ac_srcdir
=$srcdir$ac_dir_suffix;
45494 ac_top_srcdir
=$srcdir ;;
45495 *) # Relative path.
45496 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45497 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45500 # Do not use `cd foo && pwd` to compute absolute paths, because
45501 # the directories may not exist.
45503 .
) ac_abs_builddir
="$ac_dir";;
45506 .
) ac_abs_builddir
=`pwd`;;
45507 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45508 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45511 case $ac_abs_builddir in
45512 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45514 case ${ac_top_builddir}.
in
45515 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45516 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45517 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45520 case $ac_abs_builddir in
45521 .
) ac_abs_srcdir
=$ac_srcdir;;
45524 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45525 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45526 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45529 case $ac_abs_builddir in
45530 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45532 case $ac_top_srcdir in
45533 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45534 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45535 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45542 # Check for guested configure; otherwise get Cygnus style configure.
45543 if test -f $ac_srcdir/configure.gnu
; then
45544 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45545 elif test -f $ac_srcdir/configure
; then
45546 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45547 elif test -f $ac_srcdir/configure.
in; then
45548 ac_sub_configure
=$ac_configure
45550 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45551 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45555 # The recursion is here.
45556 if test -n "$ac_sub_configure"; then
45557 # Make the cache file name correct relative to the subdirectory.
45558 case $cache_file in
45559 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45560 *) # Relative path.
45561 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45564 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45565 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45566 # The eval makes quoting arguments work.
45567 eval $ac_sub_configure $ac_sub_configure_args \
45568 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45569 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45570 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45571 { (exit 1); exit 1; }; }
45580 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45582 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45583 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45585 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45586 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45587 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45589 echo " What level of wxWidgets compatibility should be enabled?"
45590 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45591 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45593 echo " Which libraries should wxWidgets use?"
45594 echo " jpeg ${wxUSE_LIBJPEG-none}"
45595 echo " png ${wxUSE_LIBPNG-none}"
45596 echo " regex ${wxUSE_REGEX}"
45597 echo " tiff ${wxUSE_LIBTIFF-none}"
45598 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45599 echo " xpm ${wxUSE_LIBXPM-none}"
45601 echo " zlib ${wxUSE_ZLIB}"
45602 echo " odbc ${wxUSE_ODBC}"
45603 echo " expat ${wxUSE_EXPAT}"
45604 echo " libmspack ${wxUSE_LIBMSPACK}"
45605 echo " sdl ${wxUSE_LIBSDL}"
45606 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"