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.4.
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.4'
274 PACKAGE_STRING
='wxWidgets 2.5.4'
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_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_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.4 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.4:";;
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-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
908 --enable-backtrace use wxStackWalker class
for getting backtraces
909 --enable-cmdline use wxCmdLineParser class
910 --enable-datetime use wxDateTime class
911 --enable-dialupman use dialup network classes
912 --enable-dynlib use wxLibrary class
for DLL loading
913 --enable-dynamicloader use
(new
) wxDynamicLibrary class
914 --enable-exceptions build exception
-safe library
915 --enable-ffile use wxFFile class
916 --enable-file use wxFile class
917 --enable-filesystem use virtual
file systems classes
918 --enable-fontmap use font encodings conversion classes
919 --enable-fs_inet use virtual HTTP
/FTP filesystems
920 --enable-fs_zip use virtual ZIP filesystems
921 --enable-geometry use geometry class
922 --enable-log use logging system
923 --enable-longlong use wxLongLong class
924 --enable-mimetype use wxMimeTypesManager
925 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
926 --enable-snglinst use wxSingleInstanceChecker class
927 --enable-std_iostreams use standard C
++ stream classes
928 --enable-stdpaths use wxStandardPaths class
929 --enable-stopwatch use wxStopWatch class
930 --enable-streams use wxStream etc classes
931 --enable-sysoptions use wxSystemOptions
932 --enable-textbuf use wxTextBuffer class
933 --enable-textfile use wxTextFile class
934 --enable-timer use wxTimer class
935 --enable-unicode compile wxString with Unicode support
936 --enable-sound use wxSound class
937 --enable-mediactrl use wxMediaCtrl class
938 --enable-wxprintfv use wxWidgets implementation of vprintf
()
939 --enable-zipstream use wxZip streams
940 --enable-url use wxURL class
941 --enable-protocol use wxProtocol class
942 --enable-protocol-http HTTP support
in wxProtocol
943 --enable-protocol-ftp FTP support
in wxProtocol
944 --enable-protocol-file FILE support
in wxProtocol
945 --enable-threads use threads
946 --enable-docview use document view architecture
947 --enable-help use
help subsystem
948 --enable-mshtmlhelp use MS HTML Help
(win32
)
949 --enable-html use wxHTML sub
-library
950 --enable-htmlhelp use wxHTML
-based help
951 --enable-xrc use XRC resources sub
-library
952 --enable-constraints use layout
-constraints system
953 --enable-printarch use printing architecture
954 --enable-mdi use multiple document interface architecture
955 --enable-mdidoc use docview architecture with MDI
956 --enable-loggui use standard GUI logger
957 --enable-logwin use wxLogWindow
958 --enable-logdialog use wxLogDialog
959 --enable-webkit use wxWebKitCtrl
(Mac
)
960 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
961 --enable-prologio not available
; see contrib
962 --enable-resources not available
; see contrib
963 --enable-clipboard use wxClipboard class
964 --enable-dnd use Drag
'n'Drop classes
965 --enable-metafile use win32 metafiles
966 --enable-controls use all usual controls
967 --enable-accel use accelerators
968 --enable-button use wxButton class
969 --enable-bmpbutton use wxBitmapButton class
970 --enable-calendar use wxCalendarCtrl class
971 --enable-caret use wxCaret class
972 --enable-checkbox use wxCheckBox class
973 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
974 --enable-choice use wxChoice class
975 --enable-choicebook use wxChoicebook class
976 --enable-combobox use wxComboBox class
977 --enable-datepick use wxDatePickerCtrl class
978 --enable-display use wxDisplay class
979 --enable-gauge use wxGauge class
980 --enable-grid use wxGrid class
981 --enable-imaglist use wxImageList class
982 --enable-listbook use wxListbook class
983 --enable-listbox use wxListBox class
984 --enable-listctrl use wxListCtrl class
985 --enable-notebook use wxNotebook class
986 --enable-radiobox use wxRadioBox class
987 --enable-radiobtn use wxRadioButton class
988 --enable-sash use wxSashWindow class
989 --enable-scrollbar use wxScrollBar class and scrollable windows
990 --enable-slider use wxSlider class
991 --enable-spinbtn use wxSpinButton class
992 --enable-spinctrl use wxSpinCtrl class
993 --enable-splitter use wxSplitterWindow class
994 --enable-statbmp use wxStaticBitmap class
995 --enable-statbox use wxStaticBox class
996 --enable-statline use wxStaticLine class
997 --enable-stattext use wxStaticText class
998 --enable-statusbar use wxStatusBar class
999 --enable-tabdialog use wxTabControl class
1000 --enable-textctrl use wxTextCtrl class
1001 --enable-togglebtn use wxToggleButton class
1002 --enable-toolbar use wxToolBar class
1003 --enable-tbarnative use native wxToolBar class
1004 --enable-tbarsmpl use wxToolBarSimple class
1005 --enable-treectrl use wxTreeCtrl class
1006 --enable-tipwindow use wxTipWindow class
1007 --enable-popupwin use wxPopUpWindow class
1008 --enable-commondlg use all common dialogs
1009 --enable-choicedlg use wxChoiceDialog
1010 --enable-coldlg use wxColourDialog
1011 --enable-filedlg use wxFileDialog
1012 --enable-finddlg use wxFindReplaceDialog
1013 --enable-fontdlg use wxFontDialog
1014 --enable-dirdlg use wxDirDialog
1015 --enable-msgdlg use wxMessageDialog
1016 --enable-numberdlg use wxNumberEntryDialog
1017 --enable-splash use wxSplashScreen
1018 --enable-textdlg use wxTextDialog
1019 --enable-tipdlg use startup tips
1020 --enable-progressdlg use wxProgressDialog
1021 --enable-wizarddlg use wxWizard
1022 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1023 --enable-miniframe use wxMiniFrame class
1024 --enable-tooltips use wxToolTip class
1025 --enable-splines use spline drawing code
1026 --enable-validators use wxValidator and derived classes
1027 --enable-busyinfo use wxBusyInfo
1028 --enable-joystick use wxJoystick
1029 --enable-metafiles use wxMetaFile
(Windows only
)
1030 --enable-dragimage use wxDragImage
1031 --enable-accessibility enable accessibility support
1032 --enable-palette use wxPalette class
1033 --enable-image use wxImage class
1034 --enable-gif use gif images
(GIF
file format
)
1035 --enable-pcx use pcx images
(PCX
file format
)
1036 --enable-iff use iff images
(IFF
file format
)
1037 --enable-pnm use pnm images
(PNM
file format
)
1038 --enable-xpm use xpm images
(XPM
file format
)
1039 --enable-icocur use Windows ICO and CUR formats
1040 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1041 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1042 --disable-largefile omit support
for large files
1043 --disable-gtktest do not try to compile and run a
test GTK
+ program
1044 --disable-gtktest Do not try to compile and run a
test GTK program
1045 --disable-sdltest Do not try to compile and run a
test SDL program
1046 --enable-omf use OMF object format
(OS
/2)
1047 --disable-precomp-headers
1048 don
't use precompiled headers even if compiler can
1051 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1052 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1054 --with-motif use Motif/Lesstif
1055 --with-mac use Mac OS X
1056 --with-cocoa use Cocoa
1057 --with-wine use Wine
1058 --with-msw use MS-Windows
1059 --with-pm use OS/2 Presentation Manager
1060 --with-mgl use SciTech MGL
1061 --with-microwin use MicroWindows
1063 --with-libpng use libpng (PNG image format)
1064 --with-libjpeg use libjpeg (JPEG file format)
1065 --with-libtiff use libtiff (TIFF file format)
1066 --with-libxpm use libxpm (XPM file format)
1067 --with-libmspack use libmspack (CHM help files loading)
1068 --with-sdl use SDL for audio on Unix
1069 --with-gnomeprint use GNOME print for printing under Unix
1070 --with-opengl use OpenGL (or Mesa)
1071 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1072 --with-regex enable support for wxRegEx class
1073 --with-zlib use zlib for LZW compression
1074 --with-odbc use the IODBC and wxODBC classes
1075 --with-expat enable XML support using expat parser
1076 --with-flavour=NAME specify a name to identify this build
1077 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1078 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1079 --with-x use the X Window System
1080 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1081 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1082 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1083 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1084 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1086 Some influential environment variables:
1087 CC C compiler command
1088 CFLAGS C compiler flags
1089 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1090 nonstandard directory <lib dir>
1091 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1092 headers in a nonstandard directory <include dir>
1094 CXX C++ compiler command
1095 CXXFLAGS C++ compiler flags
1096 CXXCPP C++ preprocessor
1098 Use these variables to override the choices made by `configure' or to
help
1099 it to
find libraries and programs with nonstandard names
/locations.
1101 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1105 if test "$ac_init_help" = "recursive"; then
1106 # If there are subdirs, report their specific --help.
1108 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1109 test -d $ac_dir || continue
1112 if test "$ac_dir" != .
; then
1113 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1114 # A "../" for each directory in $ac_dir_suffix.
1115 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1117 ac_dir_suffix
= ac_top_builddir
=
1121 .
) # No --srcdir option. We are building in place.
1123 if test -z "$ac_top_builddir"; then
1126 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1128 [\\/]* | ?
:[\\/]* ) # Absolute path.
1129 ac_srcdir
=$srcdir$ac_dir_suffix;
1130 ac_top_srcdir
=$srcdir ;;
1132 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1133 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1136 # Do not use `cd foo && pwd` to compute absolute paths, because
1137 # the directories may not exist.
1139 .
) ac_abs_builddir
="$ac_dir";;
1142 .
) ac_abs_builddir
=`pwd`;;
1143 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1144 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1147 case $ac_abs_builddir in
1148 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1150 case ${ac_top_builddir}.
in
1151 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1152 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1153 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1156 case $ac_abs_builddir in
1157 .
) ac_abs_srcdir
=$ac_srcdir;;
1160 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1161 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1162 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1165 case $ac_abs_builddir in
1166 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1168 case $ac_top_srcdir in
1169 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1170 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1171 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1176 # Check for guested configure; otherwise get Cygnus style configure.
1177 if test -f $ac_srcdir/configure.gnu
; then
1179 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1180 elif test -f $ac_srcdir/configure
; then
1182 $SHELL $ac_srcdir/configure
--help=recursive
1183 elif test -f $ac_srcdir/configure.ac
||
1184 test -f $ac_srcdir/configure.
in; then
1186 $ac_configure --help
1188 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1194 test -n "$ac_init_help" && exit 0
1195 if $ac_init_version; then
1197 wxWidgets configure
2.5.4
1198 generated by GNU Autoconf
2.59
1200 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1201 This configure
script is free software
; the Free Software Foundation
1202 gives unlimited permission to copy
, distribute and modify it.
1208 This file contains any messages produced by compilers while
1209 running configure, to aid debugging if configure makes a mistake.
1211 It was created by wxWidgets $as_me 2.5.4, which was
1212 generated by GNU Autoconf 2.59. Invocation command line was
1223 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1224 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1225 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1226 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1227 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1229 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1230 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1232 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1233 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1234 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1235 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1236 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1237 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1238 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1246 test -z "$as_dir" && as_dir
=.
1247 echo "PATH: $as_dir"
1262 # Keep a trace of the command line.
1263 # Strip out --no-create and --no-recursion so they do not pile up.
1264 # Strip out --silent because we don't want to record it for future runs.
1265 # Also quote any args containing shell meta-characters.
1266 # Make two passes to allow for proper duplicate-argument suppression.
1271 ac_must_keep_next
=false
1277 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1278 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1279 | -silent | --silent | --silen | --sile | --sil)
1281 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1285 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1287 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1288 if test $ac_must_keep_next = true
; then
1289 ac_must_keep_next
=false
# Got value, back to normal.
1292 *=* | --config-cache | -C | -disable-* | --disable-* \
1293 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1294 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1295 | -with-* | --with-* | -without-* | --without-* | --x)
1296 case "$ac_configure_args0 " in
1297 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1300 -* ) ac_must_keep_next
=true
;;
1303 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1304 # Get rid of the leading space.
1310 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1311 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1313 # When interrupted or exit'd, cleanup temporary files, and complete
1314 # config.log. We remove comments because anyway the quotes in there
1315 # would cause problems or look ugly.
1316 # WARNING: Be sure not to use single quotes in there, as some shells,
1317 # such as our DU 5.0 friend, will then `close' the trap.
1318 trap 'exit_status=$?
1319 # Save into config.log some information that might help in debugging.
1324 ## ---------------- ##
1325 ## Cache variables. ##
1326 ## ---------------- ##
1329 # The following way of writing the cache mishandles newlines in values,
1332 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1335 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1336 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1340 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1347 ## ----------------- ##
1348 ## Output variables. ##
1349 ## ----------------- ##
1352 for ac_var in $ac_subst_vars
1354 eval ac_val=$`echo $ac_var`
1355 echo "$ac_var='"'"'$ac_val'"'"'"
1359 if test -n "$ac_subst_files"; then
1366 for ac_var in $ac_subst_files
1368 eval ac_val=$`echo $ac_var`
1369 echo "$ac_var='"'"'$ac_val'"'"'"
1374 if test -s confdefs.h; then
1381 sed "/^$/d" confdefs.h | sort
1384 test "$ac_signal" != 0 &&
1385 echo "$as_me: caught signal $ac_signal"
1386 echo "$as_me: exit $exit_status"
1388 rm -f core *.core &&
1389 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1392 for ac_signal
in 1 2 13 15; do
1393 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1397 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1398 rm -rf conftest
* confdefs.h
1399 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1402 # Predefined preprocessor variables.
1404 cat >>confdefs.h
<<_ACEOF
1405 #define PACKAGE_NAME "$PACKAGE_NAME"
1409 cat >>confdefs.h
<<_ACEOF
1410 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1414 cat >>confdefs.h
<<_ACEOF
1415 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1419 cat >>confdefs.h
<<_ACEOF
1420 #define PACKAGE_STRING "$PACKAGE_STRING"
1424 cat >>confdefs.h
<<_ACEOF
1425 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1429 # Let the site file select an alternate cache file if it wants to.
1430 # Prefer explicitly selected file to automatically selected ones.
1431 if test -z "$CONFIG_SITE"; then
1432 if test "x$prefix" != xNONE
; then
1433 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1435 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1438 for ac_site_file
in $CONFIG_SITE; do
1439 if test -r "$ac_site_file"; then
1440 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1441 echo "$as_me: loading site script $ac_site_file" >&6;}
1442 sed 's/^/| /' "$ac_site_file" >&5
1447 if test -r "$cache_file"; then
1448 # Some versions of bash will fail to source /dev/null (special
1449 # files actually), so we avoid doing that.
1450 if test -f "$cache_file"; then
1451 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1452 echo "$as_me: loading cache $cache_file" >&6;}
1454 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1455 *) . .
/$cache_file;;
1459 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1460 echo "$as_me: creating cache $cache_file" >&6;}
1464 # Check that the precious variables saved in the cache have kept the same
1466 ac_cache_corrupted
=false
1467 for ac_var
in `(set) 2>&1 |
1468 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1469 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1470 eval ac_new_set
=\
$ac_env_${ac_var}_set
1471 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1472 eval ac_new_val
="\$ac_env_${ac_var}_value"
1473 case $ac_old_set,$ac_new_set in
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1476 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1477 ac_cache_corrupted
=: ;;
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1481 ac_cache_corrupted
=: ;;
1484 if test "x$ac_old_val" != "x$ac_new_val"; then
1485 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1486 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1487 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1488 echo "$as_me: former value: $ac_old_val" >&2;}
1489 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1490 echo "$as_me: current value: $ac_new_val" >&2;}
1491 ac_cache_corrupted
=:
1494 # Pass precious variables to config.status.
1495 if test "$ac_new_set" = set; then
1497 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1498 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1499 *) ac_arg
=$ac_var=$ac_new_val ;;
1501 case " $ac_configure_args " in
1502 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1503 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1507 if $ac_cache_corrupted; then
1508 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1509 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1510 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1511 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1512 { (exit 1); exit 1; }; }
1516 ac_cpp
='$CPP $CPPFLAGS'
1517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1551 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1552 if test -f $ac_dir/install-sh; then
1554 ac_install_sh
="$ac_aux_dir/install-sh -c"
1556 elif test -f $ac_dir/install.sh
; then
1558 ac_install_sh
="$ac_aux_dir/install.sh -c"
1560 elif test -f $ac_dir/shtool
; then
1562 ac_install_sh
="$ac_aux_dir/shtool install -c"
1566 if test -z "$ac_aux_dir"; then
1567 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1568 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1569 { (exit 1); exit 1; }; }
1571 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1572 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1573 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1575 # Make sure we can run config.sub.
1576 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1577 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1578 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1579 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: checking build system type" >&5
1582 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1583 if test "${ac_cv_build+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 ac_cv_build_alias
=$build_alias
1587 test -z "$ac_cv_build_alias" &&
1588 ac_cv_build_alias
=`$ac_config_guess`
1589 test -z "$ac_cv_build_alias" &&
1590 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1591 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1592 { (exit 1); exit 1; }; }
1593 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1594 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1595 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1596 { (exit 1); exit 1; }; }
1599 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1600 echo "${ECHO_T}$ac_cv_build" >&6
1602 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1603 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1604 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1607 echo "$as_me:$LINENO: checking host system type" >&5
1608 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1609 if test "${ac_cv_host+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 ac_cv_host_alias
=$host_alias
1613 test -z "$ac_cv_host_alias" &&
1614 ac_cv_host_alias
=$ac_cv_build_alias
1615 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1616 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1617 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1618 { (exit 1); exit 1; }; }
1621 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1622 echo "${ECHO_T}$ac_cv_host" >&6
1624 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1625 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1626 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1629 echo "$as_me:$LINENO: checking target system type" >&5
1630 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1631 if test "${ac_cv_target+set}" = set; then
1632 echo $ECHO_N "(cached) $ECHO_C" >&6
1634 ac_cv_target_alias
=$target_alias
1635 test "x$ac_cv_target_alias" = "x" &&
1636 ac_cv_target_alias
=$ac_cv_host_alias
1637 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1638 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1639 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1640 { (exit 1); exit 1; }; }
1643 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1644 echo "${ECHO_T}$ac_cv_target" >&6
1645 target
=$ac_cv_target
1646 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1647 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1648 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1651 # The aliases save the names the user supplied, while $host etc.
1652 # will get canonicalized.
1653 test -n "$target_alias" &&
1654 test "$program_prefix$program_suffix$program_transform_name" = \
1656 program_prefix
=${target_alias}-
1660 wx_major_version_number
=2
1661 wx_minor_version_number
=5
1663 wx_subrelease_number
=1
1665 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1666 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1667 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1669 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1685 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1691 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1697 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1699 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1701 DEFAULT_wxUSE_COCOA
=0
1705 DEFAULT_wxUSE_MICROWIN
=0
1706 DEFAULT_wxUSE_MOTIF
=0
1711 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1712 DEFAULT_DEFAULT_wxUSE_GTK
=0
1713 DEFAULT_DEFAULT_wxUSE_MAC
=0
1714 DEFAULT_DEFAULT_wxUSE_MGL
=0
1715 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1716 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1717 DEFAULT_DEFAULT_wxUSE_MSW
=0
1718 DEFAULT_DEFAULT_wxUSE_PM
=0
1719 DEFAULT_DEFAULT_wxUSE_X11
=0
1724 SAMPLES_RPATH_POSTLINK
=
1729 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1730 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1732 cat >>confdefs.h
<<\_ACEOF
1739 cat >>confdefs.h
<<\_ACEOF
1744 if test "x$TMP" = "xalpha"; then
1746 cat >>confdefs.h
<<\_ACEOF
1751 DEFAULT_DEFAULT_wxUSE_GTK
=1
1753 *-*-gnu* | *-*-k*bsd
*-gnu )
1756 if test "x$TMP" = "xalpha"; then
1758 cat >>confdefs.h
<<\_ACEOF
1763 DEFAULT_DEFAULT_wxUSE_GTK
=1
1765 *-*-irix5* | *-*-irix6* )
1768 cat >>confdefs.h
<<\_ACEOF
1772 cat >>confdefs.h
<<\_ACEOF
1776 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1782 cat >>confdefs.h
<<\_ACEOF
1786 cat >>confdefs.h
<<\_ACEOF
1787 #define __SOLARIS__ 1
1790 cat >>confdefs.h
<<\_ACEOF
1794 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1795 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1801 cat >>confdefs.h
<<\_ACEOF
1805 cat >>confdefs.h
<<\_ACEOF
1809 cat >>confdefs.h
<<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1818 cat >>confdefs.h
<<\_ACEOF
1819 #define __FREEBSD__ 1
1822 cat >>confdefs.h
<<\_ACEOF
1826 DEFAULT_DEFAULT_wxUSE_GTK
=1
1831 cat >>confdefs.h
<<\_ACEOF
1832 #define __OPENBSD__ 1
1835 cat >>confdefs.h
<<\_ACEOF
1839 DEFAULT_DEFAULT_wxUSE_GTK
=1
1844 cat >>confdefs.h
<<\_ACEOF
1845 #define __NETBSD__ 1
1848 cat >>confdefs.h
<<\_ACEOF
1852 DEFAULT_DEFAULT_wxUSE_GTK
=1
1857 cat >>confdefs.h
<<\_ACEOF
1861 cat >>confdefs.h
<<\_ACEOF
1865 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1866 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1871 cat >>confdefs.h
<<\_ACEOF
1875 cat >>confdefs.h
<<\_ACEOF
1879 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1884 cat >>confdefs.h
<<\_ACEOF
1888 cat >>confdefs.h
<<\_ACEOF
1892 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1899 cat >>confdefs.h
<<\_ACEOF
1903 cat >>confdefs.h
<<\_ACEOF
1907 cat >>confdefs.h
<<\_ACEOF
1911 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1918 cat >>confdefs.h
<<\_ACEOF
1919 #define __UNIXWARE__ 1
1924 *-*-cygwin* | *-*-mingw32* )
1928 DEFAULT_DEFAULT_wxUSE_MSW
=1
1934 cat >>confdefs.h
<<\_ACEOF
1939 DEFAULT_DEFAULT_wxUSE_MGL
=1
1940 LIBS
="$LIBS -lstdc++"
1943 *-pc-os2_emx | *-pc-os2-emx )
1944 cat >>confdefs.h
<<\_ACEOF
1949 cat >>confdefs.h
<<\_ACEOF
1954 DEFAULT_DEFAULT_wxUSE_PM
=1
1956 LDFLAGS
="$LDFLAGS -Zcrtdll"
1957 ac_executable_extensions
=".exe"
1958 export ac_executable_extensions
1962 for ac_dir
in $PATH; do
1964 if test -z "$ac_TEMP_PATH"; then
1965 ac_TEMP_PATH
="$ac_dir"
1967 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1970 export PATH
="$ac_TEMP_PATH"
1978 cat >>confdefs.h
<<\_ACEOF
1982 cat >>confdefs.h
<<\_ACEOF
1983 #define __DARWIN__ 1
1986 cat >>confdefs.h
<<\_ACEOF
1987 #define TARGET_CARBON 1
1990 DEFAULT_DEFAULT_wxUSE_MAC
=1
1992 powerpc
-apple-macos* )
1994 ac_cv_c_bigendian
=yes
1996 DEFAULT_DEFAULT_wxUSE_MAC
=1
2001 cat >>confdefs.h
<<\_ACEOF
2008 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2009 echo "$as_me: error: unknown system type ${host}." >&2;}
2010 { (exit 1); exit 1; }; }
2016 wx_arg_cache_file
="configarg.cache"
2017 echo "loading argument cache $wx_arg_cache_file"
2018 rm -f ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}
2024 if test $DEBUG_CONFIGURE = 1; then
2025 DEFAULT_wxUSE_UNIVERSAL
=no
2026 DEFAULT_wxUSE_STL
=no
2028 DEFAULT_wxUSE_NANOX
=no
2030 DEFAULT_wxUSE_THREADS
=yes
2032 DEFAULT_wxUSE_SHARED
=yes
2033 DEFAULT_wxUSE_OPTIMISE
=no
2034 DEFAULT_wxUSE_PROFILE
=no
2035 DEFAULT_wxUSE_NO_DEPS
=no
2036 DEFAULT_wxUSE_NO_RTTI
=no
2037 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2038 DEFAULT_wxUSE_RPATH
=yes
2039 DEFAULT_wxUSE_PERMISSIVE
=no
2040 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2041 DEFAULT_wxUSE_DEBUG_INFO
=yes
2042 DEFAULT_wxUSE_DEBUG_GDB
=yes
2043 DEFAULT_wxUSE_MEM_TRACING
=no
2044 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2045 DEFAULT_wxUSE_DMALLOC
=no
2046 DEFAULT_wxUSE_APPLE_IEEE
=no
2048 DEFAULT_wxUSE_EXCEPTIONS
=no
2049 DEFAULT_wxUSE_LOG
=yes
2050 DEFAULT_wxUSE_LOGWINDOW
=no
2051 DEFAULT_wxUSE_LOGGUI
=no
2052 DEFAULT_wxUSE_LOGDIALOG
=no
2054 DEFAULT_wxUSE_GUI
=yes
2055 DEFAULT_wxUSE_CONTROLS
=no
2057 DEFAULT_wxUSE_REGEX
=no
2058 DEFAULT_wxUSE_XML
=no
2059 DEFAULT_wxUSE_EXPAT
=no
2060 DEFAULT_wxUSE_ZLIB
=no
2061 DEFAULT_wxUSE_LIBPNG
=no
2062 DEFAULT_wxUSE_LIBJPEG
=no
2063 DEFAULT_wxUSE_LIBTIFF
=no
2064 DEFAULT_wxUSE_LIBXPM
=no
2065 DEFAULT_wxUSE_LIBMSPACK
=no
2066 DEFAULT_wxUSE_LIBSDL
=no
2067 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2068 DEFAULT_wxUSE_ODBC
=no
2069 DEFAULT_wxUSE_OPENGL
=no
2071 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2072 DEFAULT_wxUSE_STACKWALKER
=no
2073 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2074 DEFAULT_wxUSE_STD_IOSTREAM
=no
2075 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2076 DEFAULT_wxUSE_DATETIME
=no
2077 DEFAULT_wxUSE_TIMER
=no
2078 DEFAULT_wxUSE_STOPWATCH
=no
2079 DEFAULT_wxUSE_FILE
=no
2080 DEFAULT_wxUSE_FFILE
=no
2081 DEFAULT_wxUSE_STDPATHS
=no
2082 DEFAULT_wxUSE_TEXTBUFFER
=no
2083 DEFAULT_wxUSE_TEXTFILE
=no
2084 DEFAULT_wxUSE_SOUND
=no
2085 DEFAULT_wxUSE_MEDIACTRL
=no
2086 DEFAULT_wxUSE_DIRECTSHOW
=no
2087 DEFAULT_wxUSE_INTL
=no
2088 DEFAULT_wxUSE_CONFIG
=no
2089 DEFAULT_wxUSE_FONTMAP
=no
2090 DEFAULT_wxUSE_STREAMS
=no
2091 DEFAULT_wxUSE_SOCKETS
=no
2092 DEFAULT_wxUSE_OLE
=no
2093 DEFAULT_wxUSE_DATAOBJ
=no
2094 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2095 DEFAULT_wxUSE_JOYSTICK
=no
2096 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2097 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2098 DEFAULT_wxUSE_LONGLONG
=no
2099 DEFAULT_wxUSE_GEOMETRY
=no
2101 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2102 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2103 DEFAULT_wxUSE_POSTSCRIPT
=no
2105 DEFAULT_wxUSE_CLIPBOARD
=no
2106 DEFAULT_wxUSE_TOOLTIPS
=no
2107 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2108 DEFAULT_wxUSE_DRAGIMAGE
=no
2109 DEFAULT_wxUSE_SPLINES
=no
2111 DEFAULT_wxUSE_MDI
=no
2112 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2113 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2114 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2116 DEFAULT_wxUSE_RESOURCES
=no
2117 DEFAULT_wxUSE_CONSTRAINTS
=no
2118 DEFAULT_wxUSE_IPC
=no
2119 DEFAULT_wxUSE_HELP
=no
2120 DEFAULT_wxUSE_MS_HTML_HELP
=no
2121 DEFAULT_wxUSE_WXHTML_HELP
=no
2122 DEFAULT_wxUSE_TREELAYOUT
=no
2123 DEFAULT_wxUSE_METAFILE
=no
2124 DEFAULT_wxUSE_MIMETYPE
=no
2125 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2126 DEFAULT_wxUSE_PROTOCOL
=no
2127 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2128 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2129 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2130 DEFAULT_wxUSE_URL
=no
2132 DEFAULT_wxUSE_COMMONDLGS
=no
2133 DEFAULT_wxUSE_CHOICEDLG
=no
2134 DEFAULT_wxUSE_COLOURDLG
=no
2135 DEFAULT_wxUSE_DIRDLG
=no
2136 DEFAULT_wxUSE_FILEDLG
=no
2137 DEFAULT_wxUSE_FINDREPLDLG
=no
2138 DEFAULT_wxUSE_FONTDLG
=no
2139 DEFAULT_wxUSE_MSGDLG
=no
2140 DEFAULT_wxUSE_NUMBERDLG
=no
2141 DEFAULT_wxUSE_TEXTDLG
=no
2142 DEFAULT_wxUSE_SPLASH
=no
2143 DEFAULT_wxUSE_STARTUP_TIPS
=no
2144 DEFAULT_wxUSE_PROGRESSDLG
=no
2145 DEFAULT_wxUSE_WIZARDDLG
=no
2147 DEFAULT_wxUSE_MENUS
=no
2148 DEFAULT_wxUSE_MINIFRAME
=no
2149 DEFAULT_wxUSE_HTML
=no
2150 DEFAULT_wxUSE_XRC
=no
2151 DEFAULT_wxUSE_WEBKIT
=no
2152 DEFAULT_wxUSE_FILESYSTEM
=no
2153 DEFAULT_wxUSE_FS_INET
=no
2154 DEFAULT_wxUSE_FS_ZIP
=no
2155 DEFAULT_wxUSE_BUSYINFO
=no
2156 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2157 DEFAULT_wxUSE_ZIPSTREAM
=no
2158 DEFAULT_wxUSE_VALIDATORS
=no
2160 DEFAULT_wxUSE_ACCEL
=no
2161 DEFAULT_wxUSE_BUTTON
=no
2162 DEFAULT_wxUSE_BMPBUTTON
=no
2163 DEFAULT_wxUSE_CALCTRL
=no
2164 DEFAULT_wxUSE_CARET
=no
2165 DEFAULT_wxUSE_CHECKBOX
=no
2166 DEFAULT_wxUSE_CHECKLST
=no
2167 DEFAULT_wxUSE_CHOICE
=no
2168 DEFAULT_wxUSE_CHOICEBOOK
=no
2169 DEFAULT_wxUSE_COMBOBOX
=no
2170 DEFAULT_wxUSE_DATEPICKCTRL
=no
2171 DEFAULT_wxUSE_DISPLAY
=no
2172 DEFAULT_wxUSE_GAUGE
=no
2173 DEFAULT_wxUSE_GRID
=no
2174 DEFAULT_wxUSE_IMAGLIST
=no
2175 DEFAULT_wxUSE_LISTBOOK
=no
2176 DEFAULT_wxUSE_LISTBOX
=no
2177 DEFAULT_wxUSE_LISTCTRL
=no
2178 DEFAULT_wxUSE_NOTEBOOK
=no
2179 DEFAULT_wxUSE_RADIOBOX
=no
2180 DEFAULT_wxUSE_RADIOBTN
=no
2181 DEFAULT_wxUSE_SASH
=no
2182 DEFAULT_wxUSE_SCROLLBAR
=no
2183 DEFAULT_wxUSE_SLIDER
=no
2184 DEFAULT_wxUSE_SPINBTN
=no
2185 DEFAULT_wxUSE_SPINCTRL
=no
2186 DEFAULT_wxUSE_SPLITTER
=no
2187 DEFAULT_wxUSE_STATBMP
=no
2188 DEFAULT_wxUSE_STATBOX
=no
2189 DEFAULT_wxUSE_STATLINE
=no
2190 DEFAULT_wxUSE_STATTEXT
=no
2191 DEFAULT_wxUSE_STATUSBAR
=yes
2192 DEFAULT_wxUSE_TABDIALOG
=no
2193 DEFAULT_wxUSE_TEXTCTRL
=no
2194 DEFAULT_wxUSE_TOGGLEBTN
=no
2195 DEFAULT_wxUSE_TOOLBAR
=no
2196 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2197 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2198 DEFAULT_wxUSE_TREECTRL
=no
2199 DEFAULT_wxUSE_POPUPWIN
=no
2200 DEFAULT_wxUSE_TIPWINDOW
=no
2202 DEFAULT_wxUSE_UNICODE
=no
2203 DEFAULT_wxUSE_UNICODE_MSLU
=no
2204 DEFAULT_wxUSE_WCSRTOMBS
=no
2206 DEFAULT_wxUSE_PALETTE
=no
2207 DEFAULT_wxUSE_IMAGE
=no
2208 DEFAULT_wxUSE_GIF
=no
2209 DEFAULT_wxUSE_PCX
=no
2210 DEFAULT_wxUSE_PNM
=no
2211 DEFAULT_wxUSE_IFF
=no
2212 DEFAULT_wxUSE_XPM
=no
2213 DEFAULT_wxUSE_ICO_CUR
=no
2214 DEFAULT_wxUSE_ACCESSIBILITY
=no
2216 DEFAULT_wxUSE_MONOLITHIC
=no
2217 DEFAULT_wxUSE_PLUGINS
=no
2218 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2220 DEFAULT_wxUSE_UNIVERSAL
=no
2221 DEFAULT_wxUSE_STL
=no
2223 DEFAULT_wxUSE_NANOX
=no
2225 DEFAULT_wxUSE_THREADS
=yes
2227 DEFAULT_wxUSE_SHARED
=yes
2228 DEFAULT_wxUSE_OPTIMISE
=yes
2229 DEFAULT_wxUSE_PROFILE
=no
2230 DEFAULT_wxUSE_NO_DEPS
=no
2231 DEFAULT_wxUSE_NO_RTTI
=no
2232 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2233 DEFAULT_wxUSE_RPATH
=yes
2234 DEFAULT_wxUSE_PERMISSIVE
=no
2235 DEFAULT_wxUSE_DEBUG_FLAG
=no
2236 DEFAULT_wxUSE_DEBUG_INFO
=no
2237 DEFAULT_wxUSE_DEBUG_GDB
=no
2238 DEFAULT_wxUSE_MEM_TRACING
=no
2239 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2240 DEFAULT_wxUSE_DMALLOC
=no
2241 DEFAULT_wxUSE_APPLE_IEEE
=yes
2243 DEFAULT_wxUSE_EXCEPTIONS
=yes
2244 DEFAULT_wxUSE_LOG
=yes
2245 DEFAULT_wxUSE_LOGWINDOW
=yes
2246 DEFAULT_wxUSE_LOGGUI
=yes
2247 DEFAULT_wxUSE_LOGDIALOG
=yes
2249 DEFAULT_wxUSE_GUI
=yes
2251 DEFAULT_wxUSE_REGEX
=yes
2252 DEFAULT_wxUSE_XML
=yes
2253 DEFAULT_wxUSE_EXPAT
=yes
2254 DEFAULT_wxUSE_ZLIB
=yes
2255 DEFAULT_wxUSE_LIBPNG
=yes
2256 DEFAULT_wxUSE_LIBJPEG
=yes
2257 DEFAULT_wxUSE_LIBTIFF
=yes
2258 DEFAULT_wxUSE_LIBXPM
=yes
2259 DEFAULT_wxUSE_LIBMSPACK
=yes
2260 DEFAULT_wxUSE_LIBSDL
=no
2261 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2262 DEFAULT_wxUSE_ODBC
=no
2263 DEFAULT_wxUSE_OPENGL
=no
2265 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2266 DEFAULT_wxUSE_STACKWALKER
=yes
2267 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2268 DEFAULT_wxUSE_STD_IOSTREAM
=no
2269 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2270 DEFAULT_wxUSE_DATETIME
=yes
2271 DEFAULT_wxUSE_TIMER
=yes
2272 DEFAULT_wxUSE_STOPWATCH
=yes
2273 DEFAULT_wxUSE_FILE
=yes
2274 DEFAULT_wxUSE_FFILE
=yes
2275 DEFAULT_wxUSE_STDPATHS
=yes
2276 DEFAULT_wxUSE_TEXTBUFFER
=yes
2277 DEFAULT_wxUSE_TEXTFILE
=yes
2278 DEFAULT_wxUSE_SOUND
=yes
2279 DEFAULT_wxUSE_MEDIACTRL
=no
2280 DEFAULT_wxUSE_DIRECTSHOW
=no
2281 DEFAULT_wxUSE_INTL
=yes
2282 DEFAULT_wxUSE_CONFIG
=yes
2283 DEFAULT_wxUSE_FONTMAP
=yes
2284 DEFAULT_wxUSE_STREAMS
=yes
2285 DEFAULT_wxUSE_SOCKETS
=yes
2286 DEFAULT_wxUSE_OLE
=yes
2287 DEFAULT_wxUSE_DATAOBJ
=yes
2288 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2289 DEFAULT_wxUSE_JOYSTICK
=yes
2290 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2291 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2292 DEFAULT_wxUSE_LONGLONG
=yes
2293 DEFAULT_wxUSE_GEOMETRY
=yes
2295 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2296 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2297 DEFAULT_wxUSE_POSTSCRIPT
=yes
2299 DEFAULT_wxUSE_CLIPBOARD
=yes
2300 DEFAULT_wxUSE_TOOLTIPS
=yes
2301 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2302 DEFAULT_wxUSE_DRAGIMAGE
=yes
2303 DEFAULT_wxUSE_SPLINES
=yes
2305 DEFAULT_wxUSE_MDI
=yes
2306 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2307 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2308 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2310 DEFAULT_wxUSE_RESOURCES
=no
2311 DEFAULT_wxUSE_CONSTRAINTS
=yes
2312 DEFAULT_wxUSE_IPC
=yes
2313 DEFAULT_wxUSE_HELP
=yes
2314 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2315 DEFAULT_wxUSE_WXHTML_HELP
=yes
2316 DEFAULT_wxUSE_TREELAYOUT
=yes
2317 DEFAULT_wxUSE_METAFILE
=yes
2318 DEFAULT_wxUSE_MIMETYPE
=yes
2319 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2320 DEFAULT_wxUSE_PROTOCOL
=yes
2321 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2322 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2323 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2324 DEFAULT_wxUSE_URL
=yes
2326 DEFAULT_wxUSE_COMMONDLGS
=yes
2327 DEFAULT_wxUSE_CHOICEDLG
=yes
2328 DEFAULT_wxUSE_COLOURDLG
=yes
2329 DEFAULT_wxUSE_DIRDLG
=yes
2330 DEFAULT_wxUSE_FILEDLG
=yes
2331 DEFAULT_wxUSE_FINDREPLDLG
=yes
2332 DEFAULT_wxUSE_FONTDLG
=yes
2333 DEFAULT_wxUSE_MSGDLG
=yes
2334 DEFAULT_wxUSE_NUMBERDLG
=yes
2335 DEFAULT_wxUSE_TEXTDLG
=yes
2336 DEFAULT_wxUSE_SPLASH
=yes
2337 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2338 DEFAULT_wxUSE_PROGRESSDLG
=yes
2339 DEFAULT_wxUSE_WIZARDDLG
=yes
2341 DEFAULT_wxUSE_MENUS
=yes
2342 DEFAULT_wxUSE_MINIFRAME
=yes
2343 DEFAULT_wxUSE_HTML
=yes
2344 DEFAULT_wxUSE_XRC
=yes
2345 DEFAULT_wxUSE_WEBKIT
=yes
2346 DEFAULT_wxUSE_FILESYSTEM
=yes
2347 DEFAULT_wxUSE_FS_INET
=yes
2348 DEFAULT_wxUSE_FS_ZIP
=yes
2349 DEFAULT_wxUSE_BUSYINFO
=yes
2350 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2351 DEFAULT_wxUSE_ZIPSTREAM
=yes
2352 DEFAULT_wxUSE_VALIDATORS
=yes
2354 DEFAULT_wxUSE_ACCEL
=yes
2355 DEFAULT_wxUSE_BUTTON
=yes
2356 DEFAULT_wxUSE_BMPBUTTON
=yes
2357 DEFAULT_wxUSE_CALCTRL
=yes
2358 DEFAULT_wxUSE_CARET
=yes
2359 DEFAULT_wxUSE_CHECKBOX
=yes
2360 DEFAULT_wxUSE_CHECKLST
=yes
2361 DEFAULT_wxUSE_CHOICE
=yes
2362 DEFAULT_wxUSE_CHOICEBOOK
=yes
2363 DEFAULT_wxUSE_COMBOBOX
=yes
2364 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2365 DEFAULT_wxUSE_DISPLAY
=yes
2366 DEFAULT_wxUSE_GAUGE
=yes
2367 DEFAULT_wxUSE_GRID
=yes
2368 DEFAULT_wxUSE_IMAGLIST
=yes
2369 DEFAULT_wxUSE_LISTBOOK
=yes
2370 DEFAULT_wxUSE_LISTBOX
=yes
2371 DEFAULT_wxUSE_LISTCTRL
=yes
2372 DEFAULT_wxUSE_NOTEBOOK
=yes
2373 DEFAULT_wxUSE_RADIOBOX
=yes
2374 DEFAULT_wxUSE_RADIOBTN
=yes
2375 DEFAULT_wxUSE_SASH
=yes
2376 DEFAULT_wxUSE_SCROLLBAR
=yes
2377 DEFAULT_wxUSE_SLIDER
=yes
2378 DEFAULT_wxUSE_SPINBTN
=yes
2379 DEFAULT_wxUSE_SPINCTRL
=yes
2380 DEFAULT_wxUSE_SPLITTER
=yes
2381 DEFAULT_wxUSE_STATBMP
=yes
2382 DEFAULT_wxUSE_STATBOX
=yes
2383 DEFAULT_wxUSE_STATLINE
=yes
2384 DEFAULT_wxUSE_STATTEXT
=yes
2385 DEFAULT_wxUSE_STATUSBAR
=yes
2386 DEFAULT_wxUSE_TABDIALOG
=no
2387 DEFAULT_wxUSE_TEXTCTRL
=yes
2388 DEFAULT_wxUSE_TOGGLEBTN
=yes
2389 DEFAULT_wxUSE_TOOLBAR
=yes
2390 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2391 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2392 DEFAULT_wxUSE_TREECTRL
=yes
2393 DEFAULT_wxUSE_POPUPWIN
=yes
2394 DEFAULT_wxUSE_TIPWINDOW
=yes
2396 DEFAULT_wxUSE_UNICODE
=no
2397 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2398 DEFAULT_wxUSE_WCSRTOMBS
=no
2400 DEFAULT_wxUSE_PALETTE
=yes
2401 DEFAULT_wxUSE_IMAGE
=yes
2402 DEFAULT_wxUSE_GIF
=yes
2403 DEFAULT_wxUSE_PCX
=yes
2404 DEFAULT_wxUSE_IFF
=no
2405 DEFAULT_wxUSE_PNM
=yes
2406 DEFAULT_wxUSE_XPM
=yes
2407 DEFAULT_wxUSE_ICO_CUR
=yes
2408 DEFAULT_wxUSE_ACCESSIBILITY
=no
2410 DEFAULT_wxUSE_MONOLITHIC
=no
2411 DEFAULT_wxUSE_PLUGINS
=no
2412 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2414 DEFAULT_wxUSE_GTK2
=yes
2419 for toolkit
in `echo $ALL_TOOLKITS`; do
2420 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2421 if test "x$LINE" != "x" ; then
2422 has_toolkit_in_cache
=1
2423 eval "DEFAULT_$LINE"
2424 eval "CACHE_$toolkit=1"
2431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2432 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2434 # Check whether --enable-gui or --disable-gui was given.
2435 if test "${enable_gui+set}" = set; then
2436 enableval
="$enable_gui"
2438 if test "$enableval" = yes; then
2439 ac_cv_use_gui
='wxUSE_GUI=yes'
2441 ac_cv_use_gui
='wxUSE_GUI=no'
2446 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2447 if test "x$LINE" != x
; then
2448 eval "DEFAULT_$LINE"
2453 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2457 eval "$ac_cv_use_gui"
2458 if test "$no_cache" != 1; then
2459 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2462 if test "$wxUSE_GUI" = yes; then
2463 echo "$as_me:$LINENO: result: yes" >&5
2464 echo "${ECHO_T}yes" >&6
2466 echo "$as_me:$LINENO: result: no" >&5
2467 echo "${ECHO_T}no" >&6
2472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2473 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2475 # Check whether --enable-monolithic or --disable-monolithic was given.
2476 if test "${enable_monolithic+set}" = set; then
2477 enableval
="$enable_monolithic"
2479 if test "$enableval" = yes; then
2480 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2482 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2487 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2488 if test "x$LINE" != x
; then
2489 eval "DEFAULT_$LINE"
2494 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2498 eval "$ac_cv_use_monolithic"
2499 if test "$no_cache" != 1; then
2500 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2503 if test "$wxUSE_MONOLITHIC" = yes; then
2504 echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6
2507 echo "$as_me:$LINENO: result: no" >&5
2508 echo "${ECHO_T}no" >&6
2513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2514 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2516 # Check whether --enable-plugins or --disable-plugins was given.
2517 if test "${enable_plugins+set}" = set; then
2518 enableval
="$enable_plugins"
2520 if test "$enableval" = yes; then
2521 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2523 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2528 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2529 if test "x$LINE" != x
; then
2530 eval "DEFAULT_$LINE"
2535 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2539 eval "$ac_cv_use_plugins"
2540 if test "$no_cache" != 1; then
2541 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2544 if test "$wxUSE_PLUGINS" = yes; then
2545 echo "$as_me:$LINENO: result: yes" >&5
2546 echo "${ECHO_T}yes" >&6
2548 echo "$as_me:$LINENO: result: no" >&5
2549 echo "${ECHO_T}no" >&6
2553 if test "$wxUSE_GUI" = "yes"; then
2557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2558 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2560 # Check whether --enable-universal or --disable-universal was given.
2561 if test "${enable_universal+set}" = set; then
2562 enableval
="$enable_universal"
2564 if test "$enableval" = yes; then
2565 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2567 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2572 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2573 if test "x$LINE" != x
; then
2574 eval "DEFAULT_$LINE"
2579 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2583 eval "$ac_cv_use_universal"
2584 if test "$no_cache" != 1; then
2585 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2588 if test "$wxUSE_UNIVERSAL" = yes; then
2589 echo "$as_me:$LINENO: result: yes" >&5
2590 echo "${ECHO_T}yes" >&6
2592 echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6
2597 # Check whether --with-gtk or --without-gtk was given.
2598 if test "${with_gtk+set}" = set; then
2600 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2603 # Check whether --with-motif or --without-motif was given.
2604 if test "${with_motif+set}" = set; then
2605 withval
="$with_motif"
2606 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2609 # Check whether --with-mac or --without-mac was given.
2610 if test "${with_mac+set}" = set; then
2612 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2615 # Check whether --with-cocoa or --without-cocoa was given.
2616 if test "${with_cocoa+set}" = set; then
2617 withval
="$with_cocoa"
2618 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2621 # Check whether --with-wine or --without-wine was given.
2622 if test "${with_wine+set}" = set; then
2623 withval
="$with_wine"
2624 wxUSE_WINE
="$withval" CACHE_WINE
=1
2627 # Check whether --with-msw or --without-msw was given.
2628 if test "${with_msw+set}" = set; then
2630 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2633 # Check whether --with-pm or --without-pm was given.
2634 if test "${with_pm+set}" = set; then
2636 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2639 # Check whether --with-mgl or --without-mgl was given.
2640 if test "${with_mgl+set}" = set; then
2642 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2645 # Check whether --with-microwin or --without-microwin was given.
2646 if test "${with_microwin+set}" = set; then
2647 withval
="$with_microwin"
2648 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2651 # Check whether --with-x11 or --without-x11 was given.
2652 if test "${with_x11+set}" = set; then
2654 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2659 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2661 # Check whether --enable-nanox or --disable-nanox was given.
2662 if test "${enable_nanox+set}" = set; then
2663 enableval
="$enable_nanox"
2665 if test "$enableval" = yes; then
2666 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2668 ac_cv_use_nanox
='wxUSE_NANOX=no'
2673 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x
; then
2675 eval "DEFAULT_$LINE"
2680 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2684 eval "$ac_cv_use_nanox"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2689 if test "$wxUSE_NANOX" = yes; then
2690 echo "$as_me:$LINENO: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2693 echo "$as_me:$LINENO: result: no" >&5
2694 echo "${ECHO_T}no" >&6
2700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2701 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2703 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2704 if test "${enable_gtk2+set}" = set; then
2705 enableval
="$enable_gtk2"
2707 if test "$enableval" = yes; then
2708 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2710 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2715 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x
; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2726 eval "$ac_cv_use_gtk2"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2731 if test "$wxUSE_GTK2" = yes; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2742 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2744 # Check whether --enable-gpe or --disable-gpe was given.
2745 if test "${enable_gpe+set}" = set; then
2746 enableval
="$enable_gpe"
2748 if test "$enableval" = yes; then
2749 ac_cv_use_gpe
='wxUSE_GPE=yes'
2751 ac_cv_use_gpe
='wxUSE_GPE=no'
2756 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2757 if test "x$LINE" != x
; then
2758 eval "DEFAULT_$LINE"
2763 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2767 eval "$ac_cv_use_gpe"
2768 if test "$no_cache" != 1; then
2769 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2772 if test "$wxUSE_GPE" = yes; then
2773 echo "$as_me:$LINENO: result: yes" >&5
2774 echo "${ECHO_T}yes" >&6
2776 echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6
2782 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2783 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2786 # Check whether --with-libpng or --without-libpng was given.
2787 if test "${with_libpng+set}" = set; then
2788 withval
="$with_libpng"
2790 if test "$withval" = yes; then
2791 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2792 elif test "$withval" = no
; then
2793 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2794 elif test "$withval" = sys
; then
2795 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2796 elif test "$withval" = builtin; then
2797 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2800 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2801 { (exit 1); exit 1; }; }
2806 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x
; then
2808 eval "DEFAULT_$LINE"
2813 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2817 eval "$ac_cv_use_libpng"
2818 if test "$no_cache" != 1; then
2819 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2822 if test "$wxUSE_LIBPNG" = yes; then
2823 echo "$as_me:$LINENO: result: yes" >&5
2824 echo "${ECHO_T}yes" >&6
2825 elif test "$wxUSE_LIBPNG" = no
; then
2826 echo "$as_me:$LINENO: result: no" >&5
2827 echo "${ECHO_T}no" >&6
2828 elif test "$wxUSE_LIBPNG" = sys
; then
2829 echo "$as_me:$LINENO: result: system version" >&5
2830 echo "${ECHO_T}system version" >&6
2831 elif test "$wxUSE_LIBPNG" = builtin; then
2832 echo "$as_me:$LINENO: result: builtin version" >&5
2833 echo "${ECHO_T}builtin version" >&6
2835 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2836 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2837 { (exit 1); exit 1; }; }
2841 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2842 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2845 # Check whether --with-libjpeg or --without-libjpeg was given.
2846 if test "${with_libjpeg+set}" = set; then
2847 withval
="$with_libjpeg"
2849 if test "$withval" = yes; then
2850 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2851 elif test "$withval" = no
; then
2852 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2853 elif test "$withval" = sys
; then
2854 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2855 elif test "$withval" = builtin; then
2856 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2858 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2859 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2860 { (exit 1); exit 1; }; }
2865 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2866 if test "x$LINE" != x
; then
2867 eval "DEFAULT_$LINE"
2872 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2876 eval "$ac_cv_use_libjpeg"
2877 if test "$no_cache" != 1; then
2878 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2881 if test "$wxUSE_LIBJPEG" = yes; then
2882 echo "$as_me:$LINENO: result: yes" >&5
2883 echo "${ECHO_T}yes" >&6
2884 elif test "$wxUSE_LIBJPEG" = no
; then
2885 echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6
2887 elif test "$wxUSE_LIBJPEG" = sys
; then
2888 echo "$as_me:$LINENO: result: system version" >&5
2889 echo "${ECHO_T}system version" >&6
2890 elif test "$wxUSE_LIBJPEG" = builtin; then
2891 echo "$as_me:$LINENO: result: builtin version" >&5
2892 echo "${ECHO_T}builtin version" >&6
2894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2895 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2896 { (exit 1); exit 1; }; }
2900 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2901 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2904 # Check whether --with-libtiff or --without-libtiff was given.
2905 if test "${with_libtiff+set}" = set; then
2906 withval
="$with_libtiff"
2908 if test "$withval" = yes; then
2909 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2910 elif test "$withval" = no
; then
2911 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2912 elif test "$withval" = sys
; then
2913 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2914 elif test "$withval" = builtin; then
2915 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2917 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2918 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2919 { (exit 1); exit 1; }; }
2924 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2925 if test "x$LINE" != x
; then
2926 eval "DEFAULT_$LINE"
2931 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2935 eval "$ac_cv_use_libtiff"
2936 if test "$no_cache" != 1; then
2937 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2940 if test "$wxUSE_LIBTIFF" = yes; then
2941 echo "$as_me:$LINENO: result: yes" >&5
2942 echo "${ECHO_T}yes" >&6
2943 elif test "$wxUSE_LIBTIFF" = no
; then
2944 echo "$as_me:$LINENO: result: no" >&5
2945 echo "${ECHO_T}no" >&6
2946 elif test "$wxUSE_LIBTIFF" = sys
; then
2947 echo "$as_me:$LINENO: result: system version" >&5
2948 echo "${ECHO_T}system version" >&6
2949 elif test "$wxUSE_LIBTIFF" = builtin; then
2950 echo "$as_me:$LINENO: result: builtin version" >&5
2951 echo "${ECHO_T}builtin version" >&6
2953 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2954 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2955 { (exit 1); exit 1; }; }
2959 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2960 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2963 # Check whether --with-libxpm or --without-libxpm was given.
2964 if test "${with_libxpm+set}" = set; then
2965 withval
="$with_libxpm"
2967 if test "$withval" = yes; then
2968 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2969 elif test "$withval" = no
; then
2970 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2971 elif test "$withval" = sys
; then
2972 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2973 elif test "$withval" = builtin; then
2974 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2976 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2977 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2978 { (exit 1); exit 1; }; }
2983 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2994 eval "$ac_cv_use_libxpm"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2999 if test "$wxUSE_LIBXPM" = yes; then
3000 echo "$as_me:$LINENO: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6
3002 elif test "$wxUSE_LIBXPM" = no
; then
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3005 elif test "$wxUSE_LIBXPM" = sys
; then
3006 echo "$as_me:$LINENO: result: system version" >&5
3007 echo "${ECHO_T}system version" >&6
3008 elif test "$wxUSE_LIBXPM" = builtin; then
3009 echo "$as_me:$LINENO: result: builtin version" >&5
3010 echo "${ECHO_T}builtin version" >&6
3012 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3013 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3014 { (exit 1); exit 1; }; }
3018 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3019 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3022 # Check whether --with-libmspack or --without-libmspack was given.
3023 if test "${with_libmspack+set}" = set; then
3024 withval
="$with_libmspack"
3026 if test "$withval" = yes; then
3027 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3029 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3034 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3035 if test "x$LINE" != x
; then
3036 eval "DEFAULT_$LINE"
3041 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3045 eval "$ac_cv_use_libmspack"
3046 if test "$no_cache" != 1; then
3047 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3050 if test "$wxUSE_LIBMSPACK" = yes; then
3051 echo "$as_me:$LINENO: result: yes" >&5
3052 echo "${ECHO_T}yes" >&6
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3059 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3060 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3063 # Check whether --with-sdl or --without-sdl was given.
3064 if test "${with_sdl+set}" = set; then
3067 if test "$withval" = yes; then
3068 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3070 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3075 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x
; then
3077 eval "DEFAULT_$LINE"
3082 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3086 eval "$ac_cv_use_sdl"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3091 if test "$wxUSE_LIBSDL" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093 echo "${ECHO_T}yes" >&6
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3100 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3101 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3104 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3105 if test "${with_gnomeprint+set}" = set; then
3106 withval
="$with_gnomeprint"
3108 if test "$withval" = yes; then
3109 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3111 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3116 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x
; then
3118 eval "DEFAULT_$LINE"
3123 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3127 eval "$ac_cv_use_gnomeprint"
3128 if test "$no_cache" != 1; then
3129 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3132 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3133 echo "$as_me:$LINENO: result: yes" >&5
3134 echo "${ECHO_T}yes" >&6
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3141 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3142 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3145 # Check whether --with-opengl or --without-opengl was given.
3146 if test "${with_opengl+set}" = set; then
3147 withval
="$with_opengl"
3149 if test "$withval" = yes; then
3150 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3152 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3157 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x
; then
3159 eval "DEFAULT_$LINE"
3164 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3168 eval "$ac_cv_use_opengl"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3173 if test "$wxUSE_OPENGL" = yes; then
3174 echo "$as_me:$LINENO: result: yes" >&5
3175 echo "${ECHO_T}yes" >&6
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3185 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3186 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3189 # Check whether --with-dmalloc or --without-dmalloc was given.
3190 if test "${with_dmalloc+set}" = set; then
3191 withval
="$with_dmalloc"
3193 if test "$withval" = yes; then
3194 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3196 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3201 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x
; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3212 eval "$ac_cv_use_dmalloc"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3217 if test "$wxUSE_DMALLOC" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3226 echo "$as_me:$LINENO: checking for --with-regex" >&5
3227 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3230 # Check whether --with-regex or --without-regex was given.
3231 if test "${with_regex+set}" = set; then
3232 withval
="$with_regex"
3234 if test "$withval" = yes; then
3235 ac_cv_use_regex
='wxUSE_REGEX=yes'
3236 elif test "$withval" = no
; then
3237 ac_cv_use_regex
='wxUSE_REGEX=no'
3238 elif test "$withval" = sys
; then
3239 ac_cv_use_regex
='wxUSE_REGEX=sys'
3240 elif test "$withval" = builtin; then
3241 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3243 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3244 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3245 { (exit 1); exit 1; }; }
3250 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3251 if test "x$LINE" != x
; then
3252 eval "DEFAULT_$LINE"
3257 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3261 eval "$ac_cv_use_regex"
3262 if test "$no_cache" != 1; then
3263 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3266 if test "$wxUSE_REGEX" = yes; then
3267 echo "$as_me:$LINENO: result: yes" >&5
3268 echo "${ECHO_T}yes" >&6
3269 elif test "$wxUSE_REGEX" = no
; then
3270 echo "$as_me:$LINENO: result: no" >&5
3271 echo "${ECHO_T}no" >&6
3272 elif test "$wxUSE_REGEX" = sys
; then
3273 echo "$as_me:$LINENO: result: system version" >&5
3274 echo "${ECHO_T}system version" >&6
3275 elif test "$wxUSE_REGEX" = builtin; then
3276 echo "$as_me:$LINENO: result: builtin version" >&5
3277 echo "${ECHO_T}builtin version" >&6
3279 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3280 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3281 { (exit 1); exit 1; }; }
3285 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3286 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3289 # Check whether --with-zlib or --without-zlib was given.
3290 if test "${with_zlib+set}" = set; then
3291 withval
="$with_zlib"
3293 if test "$withval" = yes; then
3294 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3295 elif test "$withval" = no
; then
3296 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3297 elif test "$withval" = sys
; then
3298 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3299 elif test "$withval" = builtin; then
3300 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3302 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3303 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3304 { (exit 1); exit 1; }; }
3309 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3310 if test "x$LINE" != x
; then
3311 eval "DEFAULT_$LINE"
3316 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3320 eval "$ac_cv_use_zlib"
3321 if test "$no_cache" != 1; then
3322 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3325 if test "$wxUSE_ZLIB" = yes; then
3326 echo "$as_me:$LINENO: result: yes" >&5
3327 echo "${ECHO_T}yes" >&6
3328 elif test "$wxUSE_ZLIB" = no
; then
3329 echo "$as_me:$LINENO: result: no" >&5
3330 echo "${ECHO_T}no" >&6
3331 elif test "$wxUSE_ZLIB" = sys
; then
3332 echo "$as_me:$LINENO: result: system version" >&5
3333 echo "${ECHO_T}system version" >&6
3334 elif test "$wxUSE_ZLIB" = builtin; then
3335 echo "$as_me:$LINENO: result: builtin version" >&5
3336 echo "${ECHO_T}builtin version" >&6
3338 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3339 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3340 { (exit 1); exit 1; }; }
3344 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3345 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3348 # Check whether --with-odbc or --without-odbc was given.
3349 if test "${with_odbc+set}" = set; then
3350 withval
="$with_odbc"
3352 if test "$withval" = yes; then
3353 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3354 elif test "$withval" = no
; then
3355 ac_cv_use_odbc
='wxUSE_ODBC=no'
3356 elif test "$withval" = sys
; then
3357 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3358 elif test "$withval" = builtin; then
3359 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3361 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3362 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3363 { (exit 1); exit 1; }; }
3368 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3379 eval "$ac_cv_use_odbc"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_ODBC" = yes; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 elif test "$wxUSE_ODBC" = no
; then
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3390 elif test "$wxUSE_ODBC" = sys
; then
3391 echo "$as_me:$LINENO: result: system version" >&5
3392 echo "${ECHO_T}system version" >&6
3393 elif test "$wxUSE_ODBC" = builtin; then
3394 echo "$as_me:$LINENO: result: builtin version" >&5
3395 echo "${ECHO_T}builtin version" >&6
3397 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3398 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3399 { (exit 1); exit 1; }; }
3403 echo "$as_me:$LINENO: checking for --with-expat" >&5
3404 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3407 # Check whether --with-expat or --without-expat was given.
3408 if test "${with_expat+set}" = set; then
3409 withval
="$with_expat"
3411 if test "$withval" = yes; then
3412 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3413 elif test "$withval" = no
; then
3414 ac_cv_use_expat
='wxUSE_EXPAT=no'
3415 elif test "$withval" = sys
; then
3416 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3417 elif test "$withval" = builtin; then
3418 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3420 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3421 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3422 { (exit 1); exit 1; }; }
3427 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3428 if test "x$LINE" != x
; then
3429 eval "DEFAULT_$LINE"
3434 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3438 eval "$ac_cv_use_expat"
3439 if test "$no_cache" != 1; then
3440 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3443 if test "$wxUSE_EXPAT" = yes; then
3444 echo "$as_me:$LINENO: result: yes" >&5
3445 echo "${ECHO_T}yes" >&6
3446 elif test "$wxUSE_EXPAT" = no
; then
3447 echo "$as_me:$LINENO: result: no" >&5
3448 echo "${ECHO_T}no" >&6
3449 elif test "$wxUSE_EXPAT" = sys
; then
3450 echo "$as_me:$LINENO: result: system version" >&5
3451 echo "${ECHO_T}system version" >&6
3452 elif test "$wxUSE_EXPAT" = builtin; then
3453 echo "$as_me:$LINENO: result: builtin version" >&5
3454 echo "${ECHO_T}builtin version" >&6
3456 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3457 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3458 { (exit 1); exit 1; }; }
3465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3468 # Check whether --enable-shared or --disable-shared was given.
3469 if test "${enable_shared+set}" = set; then
3470 enableval
="$enable_shared"
3472 if test "$enableval" = yes; then
3473 ac_cv_use_shared
='wxUSE_SHARED=yes'
3475 ac_cv_use_shared
='wxUSE_SHARED=no'
3480 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x
; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3491 eval "$ac_cv_use_shared"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3496 if test "$wxUSE_SHARED" = yes; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3507 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3509 # Check whether --enable-optimise or --disable-optimise was given.
3510 if test "${enable_optimise+set}" = set; then
3511 enableval
="$enable_optimise"
3513 if test "$enableval" = yes; then
3514 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3516 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3521 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x
; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3532 eval "$ac_cv_use_optimise"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3537 if test "$wxUSE_OPTIMISE" = yes; then
3538 echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3548 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3550 # Check whether --enable-debug or --disable-debug was given.
3551 if test "${enable_debug+set}" = set; then
3552 enableval
="$enable_debug"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3557 ac_cv_use_debug
='wxUSE_DEBUG=no'
3562 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3573 eval "$ac_cv_use_debug"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_DEBUG" = yes; then
3579 echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3589 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3591 # Check whether --enable-stl or --disable-stl was given.
3592 if test "${enable_stl+set}" = set; then
3593 enableval
="$enable_stl"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_stl
='wxUSE_STL=yes'
3598 ac_cv_use_stl
='wxUSE_STL=no'
3603 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3614 eval "$ac_cv_use_stl"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_STL" = yes; then
3620 echo "$as_me:$LINENO: result: yes" >&5
3621 echo "${ECHO_T}yes" >&6
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3627 if test "$USE_OS2" = "1"; then
3630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3631 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3633 # Check whether --enable-omf or --disable-omf was given.
3634 if test "${enable_omf+set}" = set; then
3635 enableval
="$enable_omf"
3637 if test "$enableval" = yes; then
3638 ac_cv_use_omf
='wxUSE_OMF=yes'
3640 ac_cv_use_omf
='wxUSE_OMF=no'
3645 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x
; then
3647 eval "DEFAULT_$LINE"
3652 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3656 eval "$ac_cv_use_omf"
3657 if test "$no_cache" != 1; then
3658 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3661 if test "$wxUSE_OMF" = yes; then
3662 echo "$as_me:$LINENO: result: yes" >&5
3663 echo "${ECHO_T}yes" >&6
3665 echo "$as_me:$LINENO: result: no" >&5
3666 echo "${ECHO_T}no" >&6
3671 if test "$wxUSE_DEBUG" = "yes"; then
3672 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3673 DEFAULT_wxUSE_DEBUG_INFO
=yes
3675 elif test "$wxUSE_DEBUG" = "no"; then
3676 DEFAULT_wxUSE_DEBUG_FLAG
=no
3677 DEFAULT_wxUSE_DEBUG_INFO
=no
3683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3684 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3686 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3687 if test "${enable_debug_flag+set}" = set; then
3688 enableval
="$enable_debug_flag"
3690 if test "$enableval" = yes; then
3691 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3693 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3698 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3699 if test "x$LINE" != x
; then
3700 eval "DEFAULT_$LINE"
3705 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3709 eval "$ac_cv_use_debug_flag"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3714 if test "$wxUSE_DEBUG_FLAG" = yes; then
3715 echo "$as_me:$LINENO: result: yes" >&5
3716 echo "${ECHO_T}yes" >&6
3718 echo "$as_me:$LINENO: result: no" >&5
3719 echo "${ECHO_T}no" >&6
3724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3725 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3727 # Check whether --enable-debug_info or --disable-debug_info was given.
3728 if test "${enable_debug_info+set}" = set; then
3729 enableval
="$enable_debug_info"
3731 if test "$enableval" = yes; then
3732 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3734 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3739 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x
; then
3741 eval "DEFAULT_$LINE"
3746 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3750 eval "$ac_cv_use_debug_info"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3755 if test "$wxUSE_DEBUG_INFO" = yes; then
3756 echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3766 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3768 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3769 if test "${enable_debug_gdb+set}" = set; then
3770 enableval
="$enable_debug_gdb"
3772 if test "$enableval" = yes; then
3773 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3775 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3780 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x
; then
3782 eval "DEFAULT_$LINE"
3787 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3791 eval "$ac_cv_use_debug_gdb"
3792 if test "$no_cache" != 1; then
3793 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3796 if test "$wxUSE_DEBUG_GDB" = yes; then
3797 echo "$as_me:$LINENO: result: yes" >&5
3798 echo "${ECHO_T}yes" >&6
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3807 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3809 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3810 if test "${enable_debug_cntxt+set}" = set; then
3811 enableval
="$enable_debug_cntxt"
3813 if test "$enableval" = yes; then
3814 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3816 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3821 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x
; then
3823 eval "DEFAULT_$LINE"
3828 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3832 eval "$ac_cv_use_debug_cntxt"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3837 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3838 echo "$as_me:$LINENO: result: yes" >&5
3839 echo "${ECHO_T}yes" >&6
3841 echo "$as_me:$LINENO: result: no" >&5
3842 echo "${ECHO_T}no" >&6
3847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3848 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3850 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3851 if test "${enable_mem_tracing+set}" = set; then
3852 enableval
="$enable_mem_tracing"
3854 if test "$enableval" = yes; then
3855 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3857 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3862 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3863 if test "x$LINE" != x
; then
3864 eval "DEFAULT_$LINE"
3869 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3873 eval "$ac_cv_use_mem_tracing"
3874 if test "$no_cache" != 1; then
3875 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3878 if test "$wxUSE_MEM_TRACING" = yes; then
3879 echo "$as_me:$LINENO: result: yes" >&5
3880 echo "${ECHO_T}yes" >&6
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3889 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3891 # Check whether --enable-profile or --disable-profile was given.
3892 if test "${enable_profile+set}" = set; then
3893 enableval
="$enable_profile"
3895 if test "$enableval" = yes; then
3896 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3898 ac_cv_use_profile
='wxUSE_PROFILE=no'
3903 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x
; then
3905 eval "DEFAULT_$LINE"
3910 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3914 eval "$ac_cv_use_profile"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3919 if test "$wxUSE_PROFILE" = yes; then
3920 echo "$as_me:$LINENO: result: yes" >&5
3921 echo "${ECHO_T}yes" >&6
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3932 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3933 if test "${enable_no_rtti+set}" = set; then
3934 enableval
="$enable_no_rtti"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3939 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3944 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x
; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3955 eval "$ac_cv_use_no_rtti"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_NO_RTTI" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3973 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3974 if test "${enable_no_exceptions+set}" = set; then
3975 enableval
="$enable_no_exceptions"
3977 if test "$enableval" = yes; then
3978 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3980 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3985 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x
; then
3987 eval "DEFAULT_$LINE"
3992 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3996 eval "$ac_cv_use_no_exceptions"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4012 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4014 # Check whether --enable-permissive or --disable-permissive was given.
4015 if test "${enable_permissive+set}" = set; then
4016 enableval
="$enable_permissive"
4018 if test "$enableval" = yes; then
4019 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4021 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4026 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x
; then
4028 eval "DEFAULT_$LINE"
4033 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4037 eval "$ac_cv_use_permissive"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4042 if test "$wxUSE_PERMISSIVE" = yes; then
4043 echo "$as_me:$LINENO: result: yes" >&5
4044 echo "${ECHO_T}yes" >&6
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4053 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4055 # Check whether --enable-no_deps or --disable-no_deps was given.
4056 if test "${enable_no_deps+set}" = set; then
4057 enableval
="$enable_no_deps"
4059 if test "$enableval" = yes; then
4060 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4062 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4067 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x
; then
4069 eval "DEFAULT_$LINE"
4074 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4078 eval "$ac_cv_use_no_deps"
4079 if test "$no_cache" != 1; then
4080 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4083 if test "$wxUSE_NO_DEPS" = yes; then
4084 echo "$as_me:$LINENO: result: yes" >&5
4085 echo "${ECHO_T}yes" >&6
4087 echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4097 # Check whether --enable-compat22 or --disable-compat22 was given.
4098 if test "${enable_compat22+set}" = set; then
4099 enableval
="$enable_compat22"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4104 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4109 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x
; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4120 eval "$ac_cv_use_compat22"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4125 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4134 enablestring
=disable
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4138 # Check whether --enable-compat24 or --disable-compat24 was given.
4139 if test "${enable_compat24+set}" = set; then
4140 enableval
="$enable_compat24"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4145 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4150 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4161 eval "$ac_cv_use_compat24"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4166 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4178 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4180 # Check whether --enable-rpath or --disable-rpath was given.
4181 if test "${enable_rpath+set}" = set; then
4182 enableval
="$enable_rpath"
4184 if test "$enableval" = yes; then
4185 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4187 ac_cv_use_rpath
='wxUSE_RPATH=no'
4192 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4193 if test "x$LINE" != x
; then
4194 eval "DEFAULT_$LINE"
4199 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4203 eval "$ac_cv_use_rpath"
4204 if test "$no_cache" != 1; then
4205 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4208 if test "$wxUSE_RPATH" = yes; then
4209 echo "$as_me:$LINENO: result: yes" >&5
4210 echo "${ECHO_T}yes" >&6
4212 echo "$as_me:$LINENO: result: no" >&5
4213 echo "${ECHO_T}no" >&6
4221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4222 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4224 # Check whether --enable-intl or --disable-intl was given.
4225 if test "${enable_intl+set}" = set; then
4226 enableval
="$enable_intl"
4228 if test "$enableval" = yes; then
4229 ac_cv_use_intl
='wxUSE_INTL=yes'
4231 ac_cv_use_intl
='wxUSE_INTL=no'
4236 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x
; then
4238 eval "DEFAULT_$LINE"
4243 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4247 eval "$ac_cv_use_intl"
4248 if test "$no_cache" != 1; then
4249 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4252 if test "$wxUSE_INTL" = yes; then
4253 echo "$as_me:$LINENO: result: yes" >&5
4254 echo "${ECHO_T}yes" >&6
4256 echo "$as_me:$LINENO: result: no" >&5
4257 echo "${ECHO_T}no" >&6
4262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4263 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4265 # Check whether --enable-config or --disable-config was given.
4266 if test "${enable_config+set}" = set; then
4267 enableval
="$enable_config"
4269 if test "$enableval" = yes; then
4270 ac_cv_use_config
='wxUSE_CONFIG=yes'
4272 ac_cv_use_config
='wxUSE_CONFIG=no'
4277 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x
; then
4279 eval "DEFAULT_$LINE"
4284 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4288 eval "$ac_cv_use_config"
4289 if test "$no_cache" != 1; then
4290 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4293 if test "$wxUSE_CONFIG" = yes; then
4294 echo "$as_me:$LINENO: result: yes" >&5
4295 echo "${ECHO_T}yes" >&6
4297 echo "$as_me:$LINENO: result: no" >&5
4298 echo "${ECHO_T}no" >&6
4304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4305 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4307 # Check whether --enable-protocols or --disable-protocols was given.
4308 if test "${enable_protocols+set}" = set; then
4309 enableval
="$enable_protocols"
4311 if test "$enableval" = yes; then
4312 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4314 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4319 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4320 if test "x$LINE" != x
; then
4321 eval "DEFAULT_$LINE"
4326 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4330 eval "$ac_cv_use_protocols"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4335 if test "$wxUSE_PROTOCOL" = yes; then
4336 echo "$as_me:$LINENO: result: yes" >&5
4337 echo "${ECHO_T}yes" >&6
4339 echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6
4345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4346 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4348 # Check whether --enable-ftp or --disable-ftp was given.
4349 if test "${enable_ftp+set}" = set; then
4350 enableval
="$enable_ftp"
4352 if test "$enableval" = yes; then
4353 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4355 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4360 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4367 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4371 eval "$ac_cv_use_ftp"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4376 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4377 echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6
4380 echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6
4386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4387 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4389 # Check whether --enable-http or --disable-http was given.
4390 if test "${enable_http+set}" = set; then
4391 enableval
="$enable_http"
4393 if test "$enableval" = yes; then
4394 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4396 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4401 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4402 if test "x$LINE" != x
; then
4403 eval "DEFAULT_$LINE"
4408 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4412 eval "$ac_cv_use_http"
4413 if test "$no_cache" != 1; then
4414 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4417 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4418 echo "$as_me:$LINENO: result: yes" >&5
4419 echo "${ECHO_T}yes" >&6
4421 echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6
4427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4428 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4430 # Check whether --enable-fileproto or --disable-fileproto was given.
4431 if test "${enable_fileproto+set}" = set; then
4432 enableval
="$enable_fileproto"
4434 if test "$enableval" = yes; then
4435 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4437 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4442 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4443 if test "x$LINE" != x
; then
4444 eval "DEFAULT_$LINE"
4449 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4453 eval "$ac_cv_use_fileproto"
4454 if test "$no_cache" != 1; then
4455 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4458 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4459 echo "$as_me:$LINENO: result: yes" >&5
4460 echo "${ECHO_T}yes" >&6
4462 echo "$as_me:$LINENO: result: no" >&5
4463 echo "${ECHO_T}no" >&6
4468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4471 # Check whether --enable-sockets or --disable-sockets was given.
4472 if test "${enable_sockets+set}" = set; then
4473 enableval
="$enable_sockets"
4475 if test "$enableval" = yes; then
4476 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4478 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4483 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4484 if test "x$LINE" != x
; then
4485 eval "DEFAULT_$LINE"
4490 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4494 eval "$ac_cv_use_sockets"
4495 if test "$no_cache" != 1; then
4496 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4499 if test "$wxUSE_SOCKETS" = yes; then
4500 echo "$as_me:$LINENO: result: yes" >&5
4501 echo "${ECHO_T}yes" >&6
4503 echo "$as_me:$LINENO: result: no" >&5
4504 echo "${ECHO_T}no" >&6
4509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4510 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4512 # Check whether --enable-ole or --disable-ole was given.
4513 if test "${enable_ole+set}" = set; then
4514 enableval
="$enable_ole"
4516 if test "$enableval" = yes; then
4517 ac_cv_use_ole
='wxUSE_OLE=yes'
4519 ac_cv_use_ole
='wxUSE_OLE=no'
4524 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x
; then
4526 eval "DEFAULT_$LINE"
4531 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4535 eval "$ac_cv_use_ole"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_OLE" = yes; then
4541 echo "$as_me:$LINENO: result: yes" >&5
4542 echo "${ECHO_T}yes" >&6
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4551 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4553 # Check whether --enable-dataobj or --disable-dataobj was given.
4554 if test "${enable_dataobj+set}" = set; then
4555 enableval
="$enable_dataobj"
4557 if test "$enableval" = yes; then
4558 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4560 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4565 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x
; then
4567 eval "DEFAULT_$LINE"
4572 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4576 eval "$ac_cv_use_dataobj"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_DATAOBJ" = yes; then
4582 echo "$as_me:$LINENO: result: yes" >&5
4583 echo "${ECHO_T}yes" >&6
4585 echo "$as_me:$LINENO: result: no" >&5
4586 echo "${ECHO_T}no" >&6
4592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4593 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4595 # Check whether --enable-ipc or --disable-ipc was given.
4596 if test "${enable_ipc+set}" = set; then
4597 enableval
="$enable_ipc"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_ipc
='wxUSE_IPC=yes'
4602 ac_cv_use_ipc
='wxUSE_IPC=no'
4607 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4618 eval "$ac_cv_use_ipc"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4623 if test "$wxUSE_IPC" = yes; then
4624 echo "$as_me:$LINENO: result: yes" >&5
4625 echo "${ECHO_T}yes" >&6
4627 echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6
4634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4637 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4638 if test "${enable_apple_ieee+set}" = set; then
4639 enableval
="$enable_apple_ieee"
4641 if test "$enableval" = yes; then
4642 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4644 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4649 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4650 if test "x$LINE" != x
; then
4651 eval "DEFAULT_$LINE"
4656 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4660 eval "$ac_cv_use_apple_ieee"
4661 if test "$no_cache" != 1; then
4662 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4665 if test "$wxUSE_APPLE_IEEE" = yes; then
4666 echo "$as_me:$LINENO: result: yes" >&5
4667 echo "${ECHO_T}yes" >&6
4669 echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6
4675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4676 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4678 # Check whether --enable-arcstream or --disable-arcstream was given.
4679 if test "${enable_arcstream+set}" = set; then
4680 enableval
="$enable_arcstream"
4682 if test "$enableval" = yes; then
4683 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4685 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4690 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4691 if test "x$LINE" != x
; then
4692 eval "DEFAULT_$LINE"
4697 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4701 eval "$ac_cv_use_arcstream"
4702 if test "$no_cache" != 1; then
4703 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4706 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4707 echo "$as_me:$LINENO: result: yes" >&5
4708 echo "${ECHO_T}yes" >&6
4710 echo "$as_me:$LINENO: result: no" >&5
4711 echo "${ECHO_T}no" >&6
4716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4717 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4719 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4720 if test "${enable_catch_segvs+set}" = set; then
4721 enableval
="$enable_catch_segvs"
4723 if test "$enableval" = yes; then
4724 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4726 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4731 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4732 if test "x$LINE" != x
; then
4733 eval "DEFAULT_$LINE"
4738 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4742 eval "$ac_cv_use_catch_segvs"
4743 if test "$no_cache" != 1; then
4744 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4747 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4748 echo "$as_me:$LINENO: result: yes" >&5
4749 echo "${ECHO_T}yes" >&6
4751 echo "$as_me:$LINENO: result: no" >&5
4752 echo "${ECHO_T}no" >&6
4757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4758 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4760 # Check whether --enable-backtrace or --disable-backtrace was given.
4761 if test "${enable_backtrace+set}" = set; then
4762 enableval
="$enable_backtrace"
4764 if test "$enableval" = yes; then
4765 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4767 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4772 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4773 if test "x$LINE" != x
; then
4774 eval "DEFAULT_$LINE"
4779 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4783 eval "$ac_cv_use_backtrace"
4784 if test "$no_cache" != 1; then
4785 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4788 if test "$wxUSE_STACKWALKER" = yes; then
4789 echo "$as_me:$LINENO: result: yes" >&5
4790 echo "${ECHO_T}yes" >&6
4792 echo "$as_me:$LINENO: result: no" >&5
4793 echo "${ECHO_T}no" >&6
4798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4799 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4801 # Check whether --enable-cmdline or --disable-cmdline was given.
4802 if test "${enable_cmdline+set}" = set; then
4803 enableval
="$enable_cmdline"
4805 if test "$enableval" = yes; then
4806 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4808 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4813 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4814 if test "x$LINE" != x
; then
4815 eval "DEFAULT_$LINE"
4820 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4824 eval "$ac_cv_use_cmdline"
4825 if test "$no_cache" != 1; then
4826 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4829 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4830 echo "$as_me:$LINENO: result: yes" >&5
4831 echo "${ECHO_T}yes" >&6
4833 echo "$as_me:$LINENO: result: no" >&5
4834 echo "${ECHO_T}no" >&6
4839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4840 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4842 # Check whether --enable-datetime or --disable-datetime was given.
4843 if test "${enable_datetime+set}" = set; then
4844 enableval
="$enable_datetime"
4846 if test "$enableval" = yes; then
4847 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4849 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4854 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4855 if test "x$LINE" != x
; then
4856 eval "DEFAULT_$LINE"
4861 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4865 eval "$ac_cv_use_datetime"
4866 if test "$no_cache" != 1; then
4867 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4870 if test "$wxUSE_DATETIME" = yes; then
4871 echo "$as_me:$LINENO: result: yes" >&5
4872 echo "${ECHO_T}yes" >&6
4874 echo "$as_me:$LINENO: result: no" >&5
4875 echo "${ECHO_T}no" >&6
4880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4883 # Check whether --enable-dialupman or --disable-dialupman was given.
4884 if test "${enable_dialupman+set}" = set; then
4885 enableval
="$enable_dialupman"
4887 if test "$enableval" = yes; then
4888 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4890 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4895 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x
; then
4897 eval "DEFAULT_$LINE"
4902 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4906 eval "$ac_cv_use_dialupman"
4907 if test "$no_cache" != 1; then
4908 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4911 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4912 echo "$as_me:$LINENO: result: yes" >&5
4913 echo "${ECHO_T}yes" >&6
4915 echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6
4921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4922 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4924 # Check whether --enable-dynlib or --disable-dynlib was given.
4925 if test "${enable_dynlib+set}" = set; then
4926 enableval
="$enable_dynlib"
4928 if test "$enableval" = yes; then
4929 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4931 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4936 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4937 if test "x$LINE" != x
; then
4938 eval "DEFAULT_$LINE"
4943 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4947 eval "$ac_cv_use_dynlib"
4948 if test "$no_cache" != 1; then
4949 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4952 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4953 echo "$as_me:$LINENO: result: yes" >&5
4954 echo "${ECHO_T}yes" >&6
4956 echo "$as_me:$LINENO: result: no" >&5
4957 echo "${ECHO_T}no" >&6
4962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4963 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4965 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4966 if test "${enable_dynamicloader+set}" = set; then
4967 enableval
="$enable_dynamicloader"
4969 if test "$enableval" = yes; then
4970 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4972 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4977 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4978 if test "x$LINE" != x
; then
4979 eval "DEFAULT_$LINE"
4984 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4988 eval "$ac_cv_use_dynamicloader"
4989 if test "$no_cache" != 1; then
4990 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4993 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4994 echo "$as_me:$LINENO: result: yes" >&5
4995 echo "${ECHO_T}yes" >&6
4997 echo "$as_me:$LINENO: result: no" >&5
4998 echo "${ECHO_T}no" >&6
5003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5004 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5006 # Check whether --enable-exceptions or --disable-exceptions was given.
5007 if test "${enable_exceptions+set}" = set; then
5008 enableval
="$enable_exceptions"
5010 if test "$enableval" = yes; then
5011 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5013 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5018 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5019 if test "x$LINE" != x
; then
5020 eval "DEFAULT_$LINE"
5025 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5029 eval "$ac_cv_use_exceptions"
5030 if test "$no_cache" != 1; then
5031 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5034 if test "$wxUSE_EXCEPTIONS" = yes; then
5035 echo "$as_me:$LINENO: result: yes" >&5
5036 echo "${ECHO_T}yes" >&6
5038 echo "$as_me:$LINENO: result: no" >&5
5039 echo "${ECHO_T}no" >&6
5044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5045 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5047 # Check whether --enable-ffile or --disable-ffile was given.
5048 if test "${enable_ffile+set}" = set; then
5049 enableval
="$enable_ffile"
5051 if test "$enableval" = yes; then
5052 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5054 ac_cv_use_ffile
='wxUSE_FFILE=no'
5059 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5060 if test "x$LINE" != x
; then
5061 eval "DEFAULT_$LINE"
5066 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5070 eval "$ac_cv_use_ffile"
5071 if test "$no_cache" != 1; then
5072 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5075 if test "$wxUSE_FFILE" = yes; then
5076 echo "$as_me:$LINENO: result: yes" >&5
5077 echo "${ECHO_T}yes" >&6
5079 echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6
5085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5086 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5088 # Check whether --enable-file or --disable-file was given.
5089 if test "${enable_file+set}" = set; then
5090 enableval
="$enable_file"
5092 if test "$enableval" = yes; then
5093 ac_cv_use_file
='wxUSE_FILE=yes'
5095 ac_cv_use_file
='wxUSE_FILE=no'
5100 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5101 if test "x$LINE" != x
; then
5102 eval "DEFAULT_$LINE"
5107 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5111 eval "$ac_cv_use_file"
5112 if test "$no_cache" != 1; then
5113 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5116 if test "$wxUSE_FILE" = yes; then
5117 echo "$as_me:$LINENO: result: yes" >&5
5118 echo "${ECHO_T}yes" >&6
5120 echo "$as_me:$LINENO: result: no" >&5
5121 echo "${ECHO_T}no" >&6
5126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5129 # Check whether --enable-filesystem or --disable-filesystem was given.
5130 if test "${enable_filesystem+set}" = set; then
5131 enableval
="$enable_filesystem"
5133 if test "$enableval" = yes; then
5134 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5136 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5141 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5142 if test "x$LINE" != x
; then
5143 eval "DEFAULT_$LINE"
5148 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5152 eval "$ac_cv_use_filesystem"
5153 if test "$no_cache" != 1; then
5154 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5157 if test "$wxUSE_FILESYSTEM" = yes; then
5158 echo "$as_me:$LINENO: result: yes" >&5
5159 echo "${ECHO_T}yes" >&6
5161 echo "$as_me:$LINENO: result: no" >&5
5162 echo "${ECHO_T}no" >&6
5167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5170 # Check whether --enable-fontmap or --disable-fontmap was given.
5171 if test "${enable_fontmap+set}" = set; then
5172 enableval
="$enable_fontmap"
5174 if test "$enableval" = yes; then
5175 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5177 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5182 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5183 if test "x$LINE" != x
; then
5184 eval "DEFAULT_$LINE"
5189 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5193 eval "$ac_cv_use_fontmap"
5194 if test "$no_cache" != 1; then
5195 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5198 if test "$wxUSE_FONTMAP" = yes; then
5199 echo "$as_me:$LINENO: result: yes" >&5
5200 echo "${ECHO_T}yes" >&6
5202 echo "$as_me:$LINENO: result: no" >&5
5203 echo "${ECHO_T}no" >&6
5208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5209 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5211 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5212 if test "${enable_fs_inet+set}" = set; then
5213 enableval
="$enable_fs_inet"
5215 if test "$enableval" = yes; then
5216 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5218 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5223 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5224 if test "x$LINE" != x
; then
5225 eval "DEFAULT_$LINE"
5230 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5234 eval "$ac_cv_use_fs_inet"
5235 if test "$no_cache" != 1; then
5236 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5239 if test "$wxUSE_FS_INET" = yes; then
5240 echo "$as_me:$LINENO: result: yes" >&5
5241 echo "${ECHO_T}yes" >&6
5243 echo "$as_me:$LINENO: result: no" >&5
5244 echo "${ECHO_T}no" >&6
5249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5252 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5253 if test "${enable_fs_zip+set}" = set; then
5254 enableval
="$enable_fs_zip"
5256 if test "$enableval" = yes; then
5257 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5259 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5264 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x
; then
5266 eval "DEFAULT_$LINE"
5271 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5275 eval "$ac_cv_use_fs_zip"
5276 if test "$no_cache" != 1; then
5277 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5280 if test "$wxUSE_FS_ZIP" = yes; then
5281 echo "$as_me:$LINENO: result: yes" >&5
5282 echo "${ECHO_T}yes" >&6
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5293 # Check whether --enable-geometry or --disable-geometry was given.
5294 if test "${enable_geometry+set}" = set; then
5295 enableval
="$enable_geometry"
5297 if test "$enableval" = yes; then
5298 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5300 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5305 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5306 if test "x$LINE" != x
; then
5307 eval "DEFAULT_$LINE"
5312 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5316 eval "$ac_cv_use_geometry"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5321 if test "$wxUSE_GEOMETRY" = yes; then
5322 echo "$as_me:$LINENO: result: yes" >&5
5323 echo "${ECHO_T}yes" >&6
5325 echo "$as_me:$LINENO: result: no" >&5
5326 echo "${ECHO_T}no" >&6
5331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5332 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5334 # Check whether --enable-log or --disable-log was given.
5335 if test "${enable_log+set}" = set; then
5336 enableval
="$enable_log"
5338 if test "$enableval" = yes; then
5339 ac_cv_use_log
='wxUSE_LOG=yes'
5341 ac_cv_use_log
='wxUSE_LOG=no'
5346 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x
; then
5348 eval "DEFAULT_$LINE"
5353 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5357 eval "$ac_cv_use_log"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5362 if test "$wxUSE_LOG" = yes; then
5363 echo "$as_me:$LINENO: result: yes" >&5
5364 echo "${ECHO_T}yes" >&6
5366 echo "$as_me:$LINENO: result: no" >&5
5367 echo "${ECHO_T}no" >&6
5372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5373 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5375 # Check whether --enable-longlong or --disable-longlong was given.
5376 if test "${enable_longlong+set}" = set; then
5377 enableval
="$enable_longlong"
5379 if test "$enableval" = yes; then
5380 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5382 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5387 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5388 if test "x$LINE" != x
; then
5389 eval "DEFAULT_$LINE"
5394 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5398 eval "$ac_cv_use_longlong"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5403 if test "$wxUSE_LONGLONG" = yes; then
5404 echo "$as_me:$LINENO: result: yes" >&5
5405 echo "${ECHO_T}yes" >&6
5407 echo "$as_me:$LINENO: result: no" >&5
5408 echo "${ECHO_T}no" >&6
5413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5414 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5416 # Check whether --enable-mimetype or --disable-mimetype was given.
5417 if test "${enable_mimetype+set}" = set; then
5418 enableval
="$enable_mimetype"
5420 if test "$enableval" = yes; then
5421 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5423 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5428 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x
; then
5430 eval "DEFAULT_$LINE"
5435 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5439 eval "$ac_cv_use_mimetype"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_MIMETYPE" = yes; then
5445 echo "$as_me:$LINENO: result: yes" >&5
5446 echo "${ECHO_T}yes" >&6
5448 echo "$as_me:$LINENO: result: no" >&5
5449 echo "${ECHO_T}no" >&6
5454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5455 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5457 # Check whether --enable-mslu or --disable-mslu was given.
5458 if test "${enable_mslu+set}" = set; then
5459 enableval
="$enable_mslu"
5461 if test "$enableval" = yes; then
5462 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5464 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5469 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x
; then
5471 eval "DEFAULT_$LINE"
5476 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5480 eval "$ac_cv_use_mslu"
5481 if test "$no_cache" != 1; then
5482 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5485 if test "$wxUSE_UNICODE_MSLU" = yes; then
5486 echo "$as_me:$LINENO: result: yes" >&5
5487 echo "${ECHO_T}yes" >&6
5489 echo "$as_me:$LINENO: result: no" >&5
5490 echo "${ECHO_T}no" >&6
5495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5498 # Check whether --enable-snglinst or --disable-snglinst was given.
5499 if test "${enable_snglinst+set}" = set; then
5500 enableval
="$enable_snglinst"
5502 if test "$enableval" = yes; then
5503 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5505 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5510 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5511 if test "x$LINE" != x
; then
5512 eval "DEFAULT_$LINE"
5517 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5521 eval "$ac_cv_use_snglinst"
5522 if test "$no_cache" != 1; then
5523 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5526 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5527 echo "$as_me:$LINENO: result: yes" >&5
5528 echo "${ECHO_T}yes" >&6
5530 echo "$as_me:$LINENO: result: no" >&5
5531 echo "${ECHO_T}no" >&6
5536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5537 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5539 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5540 if test "${enable_std_iostreams+set}" = set; then
5541 enableval
="$enable_std_iostreams"
5543 if test "$enableval" = yes; then
5544 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5546 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5551 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5552 if test "x$LINE" != x
; then
5553 eval "DEFAULT_$LINE"
5558 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5562 eval "$ac_cv_use_std_iostreams"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5567 if test "$wxUSE_STD_IOSTREAM" = yes; then
5568 echo "$as_me:$LINENO: result: yes" >&5
5569 echo "${ECHO_T}yes" >&6
5571 echo "$as_me:$LINENO: result: no" >&5
5572 echo "${ECHO_T}no" >&6
5577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5578 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5580 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5581 if test "${enable_stdpaths+set}" = set; then
5582 enableval
="$enable_stdpaths"
5584 if test "$enableval" = yes; then
5585 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5587 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5592 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5593 if test "x$LINE" != x
; then
5594 eval "DEFAULT_$LINE"
5599 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5603 eval "$ac_cv_use_stdpaths"
5604 if test "$no_cache" != 1; then
5605 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5608 if test "$wxUSE_STDPATHS" = yes; then
5609 echo "$as_me:$LINENO: result: yes" >&5
5610 echo "${ECHO_T}yes" >&6
5612 echo "$as_me:$LINENO: result: no" >&5
5613 echo "${ECHO_T}no" >&6
5618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5619 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5621 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5622 if test "${enable_stopwatch+set}" = set; then
5623 enableval
="$enable_stopwatch"
5625 if test "$enableval" = yes; then
5626 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5628 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5633 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5634 if test "x$LINE" != x
; then
5635 eval "DEFAULT_$LINE"
5640 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5644 eval "$ac_cv_use_stopwatch"
5645 if test "$no_cache" != 1; then
5646 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5649 if test "$wxUSE_STOPWATCH" = yes; then
5650 echo "$as_me:$LINENO: result: yes" >&5
5651 echo "${ECHO_T}yes" >&6
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5660 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5662 # Check whether --enable-streams or --disable-streams was given.
5663 if test "${enable_streams+set}" = set; then
5664 enableval
="$enable_streams"
5666 if test "$enableval" = yes; then
5667 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5669 ac_cv_use_streams
='wxUSE_STREAMS=no'
5674 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5675 if test "x$LINE" != x
; then
5676 eval "DEFAULT_$LINE"
5681 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5685 eval "$ac_cv_use_streams"
5686 if test "$no_cache" != 1; then
5687 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5690 if test "$wxUSE_STREAMS" = yes; then
5691 echo "$as_me:$LINENO: result: yes" >&5
5692 echo "${ECHO_T}yes" >&6
5694 echo "$as_me:$LINENO: result: no" >&5
5695 echo "${ECHO_T}no" >&6
5700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5703 # Check whether --enable-system_options or --disable-system_options was given.
5704 if test "${enable_system_options+set}" = set; then
5705 enableval
="$enable_system_options"
5707 if test "$enableval" = yes; then
5708 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5710 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5715 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5716 if test "x$LINE" != x
; then
5717 eval "DEFAULT_$LINE"
5722 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5726 eval "$ac_cv_use_system_options"
5727 if test "$no_cache" != 1; then
5728 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5731 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5732 echo "$as_me:$LINENO: result: yes" >&5
5733 echo "${ECHO_T}yes" >&6
5735 echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6
5741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5742 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5744 # Check whether --enable-textbuf or --disable-textbuf was given.
5745 if test "${enable_textbuf+set}" = set; then
5746 enableval
="$enable_textbuf"
5748 if test "$enableval" = yes; then
5749 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5751 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5756 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5757 if test "x$LINE" != x
; then
5758 eval "DEFAULT_$LINE"
5763 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5767 eval "$ac_cv_use_textbuf"
5768 if test "$no_cache" != 1; then
5769 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5772 if test "$wxUSE_TEXTBUFFER" = yes; then
5773 echo "$as_me:$LINENO: result: yes" >&5
5774 echo "${ECHO_T}yes" >&6
5776 echo "$as_me:$LINENO: result: no" >&5
5777 echo "${ECHO_T}no" >&6
5782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5783 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5785 # Check whether --enable-textfile or --disable-textfile was given.
5786 if test "${enable_textfile+set}" = set; then
5787 enableval
="$enable_textfile"
5789 if test "$enableval" = yes; then
5790 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5792 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5797 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5798 if test "x$LINE" != x
; then
5799 eval "DEFAULT_$LINE"
5804 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5808 eval "$ac_cv_use_textfile"
5809 if test "$no_cache" != 1; then
5810 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5813 if test "$wxUSE_TEXTFILE" = yes; then
5814 echo "$as_me:$LINENO: result: yes" >&5
5815 echo "${ECHO_T}yes" >&6
5817 echo "$as_me:$LINENO: result: no" >&5
5818 echo "${ECHO_T}no" >&6
5823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5824 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5826 # Check whether --enable-timer or --disable-timer was given.
5827 if test "${enable_timer+set}" = set; then
5828 enableval
="$enable_timer"
5830 if test "$enableval" = yes; then
5831 ac_cv_use_timer
='wxUSE_TIMER=yes'
5833 ac_cv_use_timer
='wxUSE_TIMER=no'
5838 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x
; then
5840 eval "DEFAULT_$LINE"
5845 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5849 eval "$ac_cv_use_timer"
5850 if test "$no_cache" != 1; then
5851 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5854 if test "$wxUSE_TIMER" = yes; then
5855 echo "$as_me:$LINENO: result: yes" >&5
5856 echo "${ECHO_T}yes" >&6
5858 echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6
5864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5865 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5867 # Check whether --enable-unicode or --disable-unicode was given.
5868 if test "${enable_unicode+set}" = set; then
5869 enableval
="$enable_unicode"
5871 if test "$enableval" = yes; then
5872 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5874 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5879 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5880 if test "x$LINE" != x
; then
5881 eval "DEFAULT_$LINE"
5886 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5890 eval "$ac_cv_use_unicode"
5891 if test "$no_cache" != 1; then
5892 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5895 if test "$wxUSE_UNICODE" = yes; then
5896 echo "$as_me:$LINENO: result: yes" >&5
5897 echo "${ECHO_T}yes" >&6
5899 echo "$as_me:$LINENO: result: no" >&5
5900 echo "${ECHO_T}no" >&6
5905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5906 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5908 # Check whether --enable-sound or --disable-sound was given.
5909 if test "${enable_sound+set}" = set; then
5910 enableval
="$enable_sound"
5912 if test "$enableval" = yes; then
5913 ac_cv_use_sound
='wxUSE_SOUND=yes'
5915 ac_cv_use_sound
='wxUSE_SOUND=no'
5920 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x
; then
5922 eval "DEFAULT_$LINE"
5927 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5931 eval "$ac_cv_use_sound"
5932 if test "$no_cache" != 1; then
5933 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5936 if test "$wxUSE_SOUND" = yes; then
5937 echo "$as_me:$LINENO: result: yes" >&5
5938 echo "${ECHO_T}yes" >&6
5940 echo "$as_me:$LINENO: result: no" >&5
5941 echo "${ECHO_T}no" >&6
5946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5949 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5950 if test "${enable_mediactrl+set}" = set; then
5951 enableval
="$enable_mediactrl"
5953 if test "$enableval" = yes; then
5954 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5956 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5961 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x
; then
5963 eval "DEFAULT_$LINE"
5968 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5972 eval "$ac_cv_use_mediactrl"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5977 if test "$wxUSE_MEDIACTRL" = yes; then
5978 echo "$as_me:$LINENO: result: yes" >&5
5979 echo "${ECHO_T}yes" >&6
5981 echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6
5987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5990 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5991 if test "${enable_wxprintfv+set}" = set; then
5992 enableval
="$enable_wxprintfv"
5994 if test "$enableval" = yes; then
5995 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5997 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6002 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x
; then
6004 eval "DEFAULT_$LINE"
6009 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6013 eval "$ac_cv_use_wxprintfv"
6014 if test "$no_cache" != 1; then
6015 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6018 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6019 echo "$as_me:$LINENO: result: yes" >&5
6020 echo "${ECHO_T}yes" >&6
6022 echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6
6028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6031 # Check whether --enable-zipstream or --disable-zipstream was given.
6032 if test "${enable_zipstream+set}" = set; then
6033 enableval
="$enable_zipstream"
6035 if test "$enableval" = yes; then
6036 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6038 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6043 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x
; then
6045 eval "DEFAULT_$LINE"
6050 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6054 eval "$ac_cv_use_zipstream"
6055 if test "$no_cache" != 1; then
6056 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6059 if test "$wxUSE_ZIPSTREAM" = yes; then
6060 echo "$as_me:$LINENO: result: yes" >&5
6061 echo "${ECHO_T}yes" >&6
6063 echo "$as_me:$LINENO: result: no" >&5
6064 echo "${ECHO_T}no" >&6
6070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6073 # Check whether --enable-url or --disable-url was given.
6074 if test "${enable_url+set}" = set; then
6075 enableval
="$enable_url"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_url
='wxUSE_URL=yes'
6080 ac_cv_use_url
='wxUSE_URL=no'
6085 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x
; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6096 eval "$ac_cv_use_url"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_URL" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6114 # Check whether --enable-protocol or --disable-protocol was given.
6115 if test "${enable_protocol+set}" = set; then
6116 enableval
="$enable_protocol"
6118 if test "$enableval" = yes; then
6119 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6121 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6126 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x
; then
6128 eval "DEFAULT_$LINE"
6133 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6137 eval "$ac_cv_use_protocol"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_PROTOCOL" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6155 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6156 if test "${enable_protocol_http+set}" = set; then
6157 enableval
="$enable_protocol_http"
6159 if test "$enableval" = yes; then
6160 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6162 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6167 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x
; then
6169 eval "DEFAULT_$LINE"
6174 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6178 eval "$ac_cv_use_protocol_http"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6183 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6196 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6197 if test "${enable_protocol_ftp+set}" = set; then
6198 enableval
="$enable_protocol_ftp"
6200 if test "$enableval" = yes; then
6201 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6203 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6208 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x
; then
6210 eval "DEFAULT_$LINE"
6215 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6219 eval "$ac_cv_use_protocol_ftp"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6224 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6237 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6238 if test "${enable_protocol_file+set}" = set; then
6239 enableval
="$enable_protocol_file"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6244 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6249 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x
; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6260 eval "$ac_cv_use_protocol_file"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6281 # Check whether --enable-threads or --disable-threads was given.
6282 if test "${enable_threads+set}" = set; then
6283 enableval
="$enable_threads"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_threads
='wxUSE_THREADS=yes'
6288 ac_cv_use_threads
='wxUSE_THREADS=no'
6293 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x
; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6304 eval "$ac_cv_use_threads"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6309 if test "$wxUSE_THREADS" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6318 if test "$wxUSE_GUI" = "yes"; then
6323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6324 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6326 # Check whether --enable-docview or --disable-docview was given.
6327 if test "${enable_docview+set}" = set; then
6328 enableval
="$enable_docview"
6330 if test "$enableval" = yes; then
6331 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6333 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6338 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x
; then
6340 eval "DEFAULT_$LINE"
6345 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6349 eval "$ac_cv_use_docview"
6350 if test "$no_cache" != 1; then
6351 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6354 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 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
6364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6365 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6367 # Check whether --enable-help or --disable-help was given.
6368 if test "${enable_help+set}" = set; then
6369 enableval
="$enable_help"
6371 if test "$enableval" = yes; then
6372 ac_cv_use_help
='wxUSE_HELP=yes'
6374 ac_cv_use_help
='wxUSE_HELP=no'
6379 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x
; then
6381 eval "DEFAULT_$LINE"
6386 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6390 eval "$ac_cv_use_help"
6391 if test "$no_cache" != 1; then
6392 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6395 if test "$wxUSE_HELP" = yes; then
6396 echo "$as_me:$LINENO: result: yes" >&5
6397 echo "${ECHO_T}yes" >&6
6399 echo "$as_me:$LINENO: result: no" >&5
6400 echo "${ECHO_T}no" >&6
6405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6406 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6408 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6409 if test "${enable_mshtmlhelp+set}" = set; then
6410 enableval
="$enable_mshtmlhelp"
6412 if test "$enableval" = yes; then
6413 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6415 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6420 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x
; then
6422 eval "DEFAULT_$LINE"
6427 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6431 eval "$ac_cv_use_mshtmlhelp"
6432 if test "$no_cache" != 1; then
6433 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6436 if test "$wxUSE_MS_HTML_HELP" = yes; then
6437 echo "$as_me:$LINENO: result: yes" >&5
6438 echo "${ECHO_T}yes" >&6
6440 echo "$as_me:$LINENO: result: no" >&5
6441 echo "${ECHO_T}no" >&6
6446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6449 # Check whether --enable-html or --disable-html was given.
6450 if test "${enable_html+set}" = set; then
6451 enableval
="$enable_html"
6453 if test "$enableval" = yes; then
6454 ac_cv_use_html
='wxUSE_HTML=yes'
6456 ac_cv_use_html
='wxUSE_HTML=no'
6461 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6462 if test "x$LINE" != x
; then
6463 eval "DEFAULT_$LINE"
6468 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6472 eval "$ac_cv_use_html"
6473 if test "$no_cache" != 1; then
6474 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6477 if test "$wxUSE_HTML" = yes; then
6478 echo "$as_me:$LINENO: result: yes" >&5
6479 echo "${ECHO_T}yes" >&6
6481 echo "$as_me:$LINENO: result: no" >&5
6482 echo "${ECHO_T}no" >&6
6487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6490 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6491 if test "${enable_htmlhelp+set}" = set; then
6492 enableval
="$enable_htmlhelp"
6494 if test "$enableval" = yes; then
6495 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6497 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6502 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x
; then
6504 eval "DEFAULT_$LINE"
6509 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6513 eval "$ac_cv_use_htmlhelp"
6514 if test "$no_cache" != 1; then
6515 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6518 if test "$wxUSE_WXHTML_HELP" = yes; then
6519 echo "$as_me:$LINENO: result: yes" >&5
6520 echo "${ECHO_T}yes" >&6
6522 echo "$as_me:$LINENO: result: no" >&5
6523 echo "${ECHO_T}no" >&6
6528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6529 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6531 # Check whether --enable-xrc or --disable-xrc was given.
6532 if test "${enable_xrc+set}" = set; then
6533 enableval
="$enable_xrc"
6535 if test "$enableval" = yes; then
6536 ac_cv_use_xrc
='wxUSE_XRC=yes'
6538 ac_cv_use_xrc
='wxUSE_XRC=no'
6543 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x
; then
6545 eval "DEFAULT_$LINE"
6550 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6554 eval "$ac_cv_use_xrc"
6555 if test "$no_cache" != 1; then
6556 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6559 if test "$wxUSE_XRC" = yes; then
6560 echo "$as_me:$LINENO: result: yes" >&5
6561 echo "${ECHO_T}yes" >&6
6563 echo "$as_me:$LINENO: result: no" >&5
6564 echo "${ECHO_T}no" >&6
6569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6570 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6572 # Check whether --enable-constraints or --disable-constraints was given.
6573 if test "${enable_constraints+set}" = set; then
6574 enableval
="$enable_constraints"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6579 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6584 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x
; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6595 eval "$ac_cv_use_constraints"
6596 if test "$no_cache" != 1; then
6597 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6600 if test "$wxUSE_CONSTRAINTS" = yes; then
6601 echo "$as_me:$LINENO: result: yes" >&5
6602 echo "${ECHO_T}yes" >&6
6604 echo "$as_me:$LINENO: result: no" >&5
6605 echo "${ECHO_T}no" >&6
6610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6613 # Check whether --enable-printarch or --disable-printarch was given.
6614 if test "${enable_printarch+set}" = set; then
6615 enableval
="$enable_printarch"
6617 if test "$enableval" = yes; then
6618 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6620 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6625 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x
; then
6627 eval "DEFAULT_$LINE"
6632 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6636 eval "$ac_cv_use_printarch"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6641 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6642 echo "$as_me:$LINENO: result: yes" >&5
6643 echo "${ECHO_T}yes" >&6
6645 echo "$as_me:$LINENO: result: no" >&5
6646 echo "${ECHO_T}no" >&6
6651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6652 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6654 # Check whether --enable-mdi or --disable-mdi was given.
6655 if test "${enable_mdi+set}" = set; then
6656 enableval
="$enable_mdi"
6658 if test "$enableval" = yes; then
6659 ac_cv_use_mdi
='wxUSE_MDI=yes'
6661 ac_cv_use_mdi
='wxUSE_MDI=no'
6666 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x
; then
6668 eval "DEFAULT_$LINE"
6673 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6677 eval "$ac_cv_use_mdi"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6682 if test "$wxUSE_MDI" = yes; then
6683 echo "$as_me:$LINENO: result: yes" >&5
6684 echo "${ECHO_T}yes" >&6
6686 echo "$as_me:$LINENO: result: no" >&5
6687 echo "${ECHO_T}no" >&6
6692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6695 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6696 if test "${enable_mdidoc+set}" = set; then
6697 enableval
="$enable_mdidoc"
6699 if test "$enableval" = yes; then
6700 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6702 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6707 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x
; then
6709 eval "DEFAULT_$LINE"
6714 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6718 eval "$ac_cv_use_mdidoc"
6719 if test "$no_cache" != 1; then
6720 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6723 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6724 echo "$as_me:$LINENO: result: yes" >&5
6725 echo "${ECHO_T}yes" >&6
6727 echo "$as_me:$LINENO: result: no" >&5
6728 echo "${ECHO_T}no" >&6
6733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6734 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6736 # Check whether --enable-loggui or --disable-loggui was given.
6737 if test "${enable_loggui+set}" = set; then
6738 enableval
="$enable_loggui"
6740 if test "$enableval" = yes; then
6741 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6743 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6748 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x
; then
6750 eval "DEFAULT_$LINE"
6755 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6759 eval "$ac_cv_use_loggui"
6760 if test "$no_cache" != 1; then
6761 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6764 if test "$wxUSE_LOGGUI" = yes; then
6765 echo "$as_me:$LINENO: result: yes" >&5
6766 echo "${ECHO_T}yes" >&6
6768 echo "$as_me:$LINENO: result: no" >&5
6769 echo "${ECHO_T}no" >&6
6774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6775 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6777 # Check whether --enable-logwin or --disable-logwin was given.
6778 if test "${enable_logwin+set}" = set; then
6779 enableval
="$enable_logwin"
6781 if test "$enableval" = yes; then
6782 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6784 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6789 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6790 if test "x$LINE" != x
; then
6791 eval "DEFAULT_$LINE"
6796 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6800 eval "$ac_cv_use_logwin"
6801 if test "$no_cache" != 1; then
6802 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6805 if test "$wxUSE_LOGWINDOW" = yes; then
6806 echo "$as_me:$LINENO: result: yes" >&5
6807 echo "${ECHO_T}yes" >&6
6809 echo "$as_me:$LINENO: result: no" >&5
6810 echo "${ECHO_T}no" >&6
6815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6818 # Check whether --enable-logdialog or --disable-logdialog was given.
6819 if test "${enable_logdialog+set}" = set; then
6820 enableval
="$enable_logdialog"
6822 if test "$enableval" = yes; then
6823 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6825 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6830 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6831 if test "x$LINE" != x
; then
6832 eval "DEFAULT_$LINE"
6837 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6841 eval "$ac_cv_use_logdialog"
6842 if test "$no_cache" != 1; then
6843 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6846 if test "$wxUSE_LOGDIALOG" = yes; then
6847 echo "$as_me:$LINENO: result: yes" >&5
6848 echo "${ECHO_T}yes" >&6
6850 echo "$as_me:$LINENO: result: no" >&5
6851 echo "${ECHO_T}no" >&6
6856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6859 # Check whether --enable-webkit or --disable-webkit was given.
6860 if test "${enable_webkit+set}" = set; then
6861 enableval
="$enable_webkit"
6863 if test "$enableval" = yes; then
6864 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6866 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6871 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6872 if test "x$LINE" != x
; then
6873 eval "DEFAULT_$LINE"
6878 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6882 eval "$ac_cv_use_webkit"
6883 if test "$no_cache" != 1; then
6884 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6887 if test "$wxUSE_WEBKIT" = yes; then
6888 echo "$as_me:$LINENO: result: yes" >&5
6889 echo "${ECHO_T}yes" >&6
6891 echo "$as_me:$LINENO: result: no" >&5
6892 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6901 # Check whether --enable-postscript or --disable-postscript was given.
6902 if test "${enable_postscript+set}" = set; then
6903 enableval
="$enable_postscript"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6908 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6913 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x
; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6924 eval "$ac_cv_use_postscript"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_POSTSCRIPT" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6945 # Check whether --enable-prologio or --disable-prologio was given.
6946 if test "${enable_prologio+set}" = set; then
6947 enableval
="$enable_prologio"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6952 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6957 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6968 eval "$ac_cv_use_prologio"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_PROLOGIO" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6986 # Check whether --enable-resources or --disable-resources was given.
6987 if test "${enable_resources+set}" = set; then
6988 enableval
="$enable_resources"
6990 if test "$enableval" = yes; then
6991 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6993 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6998 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6999 if test "x$LINE" != x
; then
7000 eval "DEFAULT_$LINE"
7005 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7009 eval "$ac_cv_use_resources"
7010 if test "$no_cache" != 1; then
7011 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7014 if test "$wxUSE_RESOURCES" = yes; then
7015 echo "$as_me:$LINENO: result: yes" >&5
7016 echo "${ECHO_T}yes" >&6
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7029 # Check whether --enable-clipboard or --disable-clipboard was given.
7030 if test "${enable_clipboard+set}" = set; then
7031 enableval
="$enable_clipboard"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7036 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7041 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x
; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7052 eval "$ac_cv_use_clipboard"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_CLIPBOARD" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7070 # Check whether --enable-dnd or --disable-dnd was given.
7071 if test "${enable_dnd+set}" = set; then
7072 enableval
="$enable_dnd"
7074 if test "$enableval" = yes; then
7075 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7077 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7082 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x
; then
7084 eval "DEFAULT_$LINE"
7089 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7093 eval "$ac_cv_use_dnd"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7102 echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7111 # Check whether --enable-metafile or --disable-metafile was given.
7112 if test "${enable_metafile+set}" = set; then
7113 enableval
="$enable_metafile"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7118 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7123 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x
; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7134 eval "$ac_cv_use_metafile"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7139 if test "$wxUSE_METAFILE" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7155 # Check whether --enable-controls or --disable-controls was given.
7156 if test "${enable_controls+set}" = set; then
7157 enableval
="$enable_controls"
7159 if test "$enableval" = yes; then
7160 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7162 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7167 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x
; then
7169 eval "DEFAULT_$LINE"
7174 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7178 eval "$ac_cv_use_controls"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7183 if test "$wxUSE_CONTROLS" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7192 if test "$wxUSE_CONTROLS" = "yes"; then
7193 DEFAULT_wxUSE_ACCEL
=yes
7194 DEFAULT_wxUSE_BMPBUTTON
=yes
7195 DEFAULT_wxUSE_BUTTON
=yes
7196 DEFAULT_wxUSE_CALCTRL
=yes
7197 DEFAULT_wxUSE_CARET
=yes
7198 DEFAULT_wxUSE_COMBOBOX
=yes
7199 DEFAULT_wxUSE_CHECKBOX
=yes
7200 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7201 DEFAULT_wxUSE_CHOICE
=yes
7202 DEFAULT_wxUSE_CHOICEBOOK
=yes
7203 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7204 DEFAULT_wxUSE_GAUGE
=yes
7205 DEFAULT_wxUSE_GRID
=yes
7206 DEFAULT_wxUSE_IMAGLIST
=yes
7207 DEFAULT_wxUSE_LISTBOOK
=yes
7208 DEFAULT_wxUSE_LISTBOX
=yes
7209 DEFAULT_wxUSE_LISTCTRL
=yes
7210 DEFAULT_wxUSE_NOTEBOOK
=yes
7211 DEFAULT_wxUSE_RADIOBOX
=yes
7212 DEFAULT_wxUSE_RADIOBTN
=yes
7213 DEFAULT_wxUSE_SASH
=yes
7214 DEFAULT_wxUSE_SCROLLBAR
=yes
7215 DEFAULT_wxUSE_SLIDER
=yes
7216 DEFAULT_wxUSE_SPINBTN
=yes
7217 DEFAULT_wxUSE_SPINCTRL
=yes
7218 DEFAULT_wxUSE_SPLITTER
=yes
7219 DEFAULT_wxUSE_STATBMP
=yes
7220 DEFAULT_wxUSE_STATBOX
=yes
7221 DEFAULT_wxUSE_STATLINE
=yes
7222 DEFAULT_wxUSE_STATUSBAR
=yes
7223 DEFAULT_wxUSE_TAB_DIALOG
=yes
7224 DEFAULT_wxUSE_TOGGLEBTN
=yes
7225 DEFAULT_wxUSE_TOOLBAR
=yes
7226 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7227 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7228 DEFAULT_wxUSE_TOOLTIPS
=yes
7229 DEFAULT_wxUSE_TREECTRL
=yes
7230 DEFAULT_wxUSE_POPUPWIN
=yes
7231 DEFAULT_wxUSE_TIPWINDOW
=yes
7232 elif test "$wxUSE_CONTROLS" = "no"; then
7233 DEFAULT_wxUSE_ACCEL
=no
7234 DEFAULT_wxUSE_BMPBUTTON
=no
7235 DEFAULT_wxUSE_BUTTON
=no
7236 DEFAULT_wxUSE_CALCTRL
=no
7237 DEFAULT_wxUSE_CARET
=no
7238 DEFAULT_wxUSE_COMBOBOX
=no
7239 DEFAULT_wxUSE_CHECKBOX
=no
7240 DEFAULT_wxUSE_CHECKLISTBOX
=no
7241 DEFAULT_wxUSE_CHOICE
=no
7242 DEFAULT_wxUSE_CHOICEBOOK
=no
7243 DEFAULT_wxUSE_DATEPICKCTRL
=no
7244 DEFAULT_wxUSE_GAUGE
=no
7245 DEFAULT_wxUSE_GRID
=no
7246 DEFAULT_wxUSE_IMAGLIST
=no
7247 DEFAULT_wxUSE_LISTBOOK
=no
7248 DEFAULT_wxUSE_LISTBOX
=no
7249 DEFAULT_wxUSE_LISTCTRL
=no
7250 DEFAULT_wxUSE_NOTEBOOK
=no
7251 DEFAULT_wxUSE_RADIOBOX
=no
7252 DEFAULT_wxUSE_RADIOBTN
=no
7253 DEFAULT_wxUSE_SASH
=no
7254 DEFAULT_wxUSE_SCROLLBAR
=no
7255 DEFAULT_wxUSE_SLIDER
=no
7256 DEFAULT_wxUSE_SPINBTN
=no
7257 DEFAULT_wxUSE_SPINCTRL
=no
7258 DEFAULT_wxUSE_SPLITTER
=no
7259 DEFAULT_wxUSE_STATBMP
=no
7260 DEFAULT_wxUSE_STATBOX
=no
7261 DEFAULT_wxUSE_STATLINE
=no
7262 DEFAULT_wxUSE_STATUSBAR
=no
7263 DEFAULT_wxUSE_TAB_DIALOG
=no
7264 DEFAULT_wxUSE_TOGGLEBTN
=no
7265 DEFAULT_wxUSE_TOOLBAR
=no
7266 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7267 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7268 DEFAULT_wxUSE_TOOLTIPS
=no
7269 DEFAULT_wxUSE_TREECTRL
=no
7270 DEFAULT_wxUSE_POPUPWIN
=no
7271 DEFAULT_wxUSE_TIPWINDOW
=no
7276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7277 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7279 # Check whether --enable-accel or --disable-accel was given.
7280 if test "${enable_accel+set}" = set; then
7281 enableval
="$enable_accel"
7283 if test "$enableval" = yes; then
7284 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7286 ac_cv_use_accel
='wxUSE_ACCEL=no'
7291 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x
; then
7293 eval "DEFAULT_$LINE"
7298 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7302 eval "$ac_cv_use_accel"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7307 if test "$wxUSE_ACCEL" = yes; then
7308 echo "$as_me:$LINENO: result: yes" >&5
7309 echo "${ECHO_T}yes" >&6
7311 echo "$as_me:$LINENO: result: no" >&5
7312 echo "${ECHO_T}no" >&6
7317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7318 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7320 # Check whether --enable-button or --disable-button was given.
7321 if test "${enable_button+set}" = set; then
7322 enableval
="$enable_button"
7324 if test "$enableval" = yes; then
7325 ac_cv_use_button
='wxUSE_BUTTON=yes'
7327 ac_cv_use_button
='wxUSE_BUTTON=no'
7332 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7333 if test "x$LINE" != x
; then
7334 eval "DEFAULT_$LINE"
7339 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7343 eval "$ac_cv_use_button"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7348 if test "$wxUSE_BUTTON" = yes; then
7349 echo "$as_me:$LINENO: result: yes" >&5
7350 echo "${ECHO_T}yes" >&6
7352 echo "$as_me:$LINENO: result: no" >&5
7353 echo "${ECHO_T}no" >&6
7358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7361 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7362 if test "${enable_bmpbutton+set}" = set; then
7363 enableval
="$enable_bmpbutton"
7365 if test "$enableval" = yes; then
7366 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7368 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7373 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x
; then
7375 eval "DEFAULT_$LINE"
7380 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7384 eval "$ac_cv_use_bmpbutton"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7389 if test "$wxUSE_BMPBUTTON" = yes; then
7390 echo "$as_me:$LINENO: result: yes" >&5
7391 echo "${ECHO_T}yes" >&6
7393 echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6
7399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7400 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7402 # Check whether --enable-calendar or --disable-calendar was given.
7403 if test "${enable_calendar+set}" = set; then
7404 enableval
="$enable_calendar"
7406 if test "$enableval" = yes; then
7407 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7409 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7414 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x
; then
7416 eval "DEFAULT_$LINE"
7421 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7425 eval "$ac_cv_use_calendar"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_CALCTRL" = yes; then
7431 echo "$as_me:$LINENO: result: yes" >&5
7432 echo "${ECHO_T}yes" >&6
7434 echo "$as_me:$LINENO: result: no" >&5
7435 echo "${ECHO_T}no" >&6
7440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7443 # Check whether --enable-caret or --disable-caret was given.
7444 if test "${enable_caret+set}" = set; then
7445 enableval
="$enable_caret"
7447 if test "$enableval" = yes; then
7448 ac_cv_use_caret
='wxUSE_CARET=yes'
7450 ac_cv_use_caret
='wxUSE_CARET=no'
7455 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x
; then
7457 eval "DEFAULT_$LINE"
7462 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7466 eval "$ac_cv_use_caret"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7471 if test "$wxUSE_CARET" = yes; then
7472 echo "$as_me:$LINENO: result: yes" >&5
7473 echo "${ECHO_T}yes" >&6
7475 echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6
7481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7484 # Check whether --enable-checkbox or --disable-checkbox was given.
7485 if test "${enable_checkbox+set}" = set; then
7486 enableval
="$enable_checkbox"
7488 if test "$enableval" = yes; then
7489 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7491 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7496 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x
; then
7498 eval "DEFAULT_$LINE"
7503 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7507 eval "$ac_cv_use_checkbox"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7512 if test "$wxUSE_CHECKBOX" = yes; then
7513 echo "$as_me:$LINENO: result: yes" >&5
7514 echo "${ECHO_T}yes" >&6
7516 echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6
7522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7525 # Check whether --enable-checklst or --disable-checklst was given.
7526 if test "${enable_checklst+set}" = set; then
7527 enableval
="$enable_checklst"
7529 if test "$enableval" = yes; then
7530 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7532 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7537 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x
; then
7539 eval "DEFAULT_$LINE"
7544 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7548 eval "$ac_cv_use_checklst"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7553 if test "$wxUSE_CHECKLST" = yes; then
7554 echo "$as_me:$LINENO: result: yes" >&5
7555 echo "${ECHO_T}yes" >&6
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7566 # Check whether --enable-choice or --disable-choice was given.
7567 if test "${enable_choice+set}" = set; then
7568 enableval
="$enable_choice"
7570 if test "$enableval" = yes; then
7571 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7573 ac_cv_use_choice
='wxUSE_CHOICE=no'
7578 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x
; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7589 eval "$ac_cv_use_choice"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7594 if test "$wxUSE_CHOICE" = yes; then
7595 echo "$as_me:$LINENO: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6
7598 echo "$as_me:$LINENO: result: no" >&5
7599 echo "${ECHO_T}no" >&6
7604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7607 # Check whether --enable-choicebook or --disable-choicebook was given.
7608 if test "${enable_choicebook+set}" = set; then
7609 enableval
="$enable_choicebook"
7611 if test "$enableval" = yes; then
7612 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7614 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7619 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x
; then
7621 eval "DEFAULT_$LINE"
7626 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7630 eval "$ac_cv_use_choicebook"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_CHOICEBOOK" = yes; then
7636 echo "$as_me:$LINENO: result: yes" >&5
7637 echo "${ECHO_T}yes" >&6
7639 echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6
7645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7648 # Check whether --enable-combobox or --disable-combobox was given.
7649 if test "${enable_combobox+set}" = set; then
7650 enableval
="$enable_combobox"
7652 if test "$enableval" = yes; then
7653 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7655 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7660 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x
; then
7662 eval "DEFAULT_$LINE"
7667 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7671 eval "$ac_cv_use_combobox"
7672 if test "$no_cache" != 1; then
7673 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7676 if test "$wxUSE_COMBOBOX" = yes; then
7677 echo "$as_me:$LINENO: result: yes" >&5
7678 echo "${ECHO_T}yes" >&6
7680 echo "$as_me:$LINENO: result: no" >&5
7681 echo "${ECHO_T}no" >&6
7686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7687 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7689 # Check whether --enable-datepick or --disable-datepick was given.
7690 if test "${enable_datepick+set}" = set; then
7691 enableval
="$enable_datepick"
7693 if test "$enableval" = yes; then
7694 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7696 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7701 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7702 if test "x$LINE" != x
; then
7703 eval "DEFAULT_$LINE"
7708 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7712 eval "$ac_cv_use_datepick"
7713 if test "$no_cache" != 1; then
7714 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7717 if test "$wxUSE_DATEPICKCTRL" = yes; then
7718 echo "$as_me:$LINENO: result: yes" >&5
7719 echo "${ECHO_T}yes" >&6
7721 echo "$as_me:$LINENO: result: no" >&5
7722 echo "${ECHO_T}no" >&6
7727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7730 # Check whether --enable-display or --disable-display was given.
7731 if test "${enable_display+set}" = set; then
7732 enableval
="$enable_display"
7734 if test "$enableval" = yes; then
7735 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7737 ac_cv_use_display
='wxUSE_DISPLAY=no'
7742 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7743 if test "x$LINE" != x
; then
7744 eval "DEFAULT_$LINE"
7749 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7753 eval "$ac_cv_use_display"
7754 if test "$no_cache" != 1; then
7755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7758 if test "$wxUSE_DISPLAY" = yes; then
7759 echo "$as_me:$LINENO: result: yes" >&5
7760 echo "${ECHO_T}yes" >&6
7762 echo "$as_me:$LINENO: result: no" >&5
7763 echo "${ECHO_T}no" >&6
7768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7769 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7771 # Check whether --enable-gauge or --disable-gauge was given.
7772 if test "${enable_gauge+set}" = set; then
7773 enableval
="$enable_gauge"
7775 if test "$enableval" = yes; then
7776 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7778 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7783 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7784 if test "x$LINE" != x
; then
7785 eval "DEFAULT_$LINE"
7790 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7794 eval "$ac_cv_use_gauge"
7795 if test "$no_cache" != 1; then
7796 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7799 if test "$wxUSE_GAUGE" = yes; then
7800 echo "$as_me:$LINENO: result: yes" >&5
7801 echo "${ECHO_T}yes" >&6
7803 echo "$as_me:$LINENO: result: no" >&5
7804 echo "${ECHO_T}no" >&6
7809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7810 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7812 # Check whether --enable-grid or --disable-grid was given.
7813 if test "${enable_grid+set}" = set; then
7814 enableval
="$enable_grid"
7816 if test "$enableval" = yes; then
7817 ac_cv_use_grid
='wxUSE_GRID=yes'
7819 ac_cv_use_grid
='wxUSE_GRID=no'
7824 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7825 if test "x$LINE" != x
; then
7826 eval "DEFAULT_$LINE"
7831 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7835 eval "$ac_cv_use_grid"
7836 if test "$no_cache" != 1; then
7837 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7840 if test "$wxUSE_GRID" = yes; then
7841 echo "$as_me:$LINENO: result: yes" >&5
7842 echo "${ECHO_T}yes" >&6
7844 echo "$as_me:$LINENO: result: no" >&5
7845 echo "${ECHO_T}no" >&6
7850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7851 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7853 # Check whether --enable-imaglist or --disable-imaglist was given.
7854 if test "${enable_imaglist+set}" = set; then
7855 enableval
="$enable_imaglist"
7857 if test "$enableval" = yes; then
7858 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7860 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7865 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7866 if test "x$LINE" != x
; then
7867 eval "DEFAULT_$LINE"
7872 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7876 eval "$ac_cv_use_imaglist"
7877 if test "$no_cache" != 1; then
7878 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7881 if test "$wxUSE_IMAGLIST" = yes; then
7882 echo "$as_me:$LINENO: result: yes" >&5
7883 echo "${ECHO_T}yes" >&6
7885 echo "$as_me:$LINENO: result: no" >&5
7886 echo "${ECHO_T}no" >&6
7891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7892 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7894 # Check whether --enable-listbook or --disable-listbook was given.
7895 if test "${enable_listbook+set}" = set; then
7896 enableval
="$enable_listbook"
7898 if test "$enableval" = yes; then
7899 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7901 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7906 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x
; then
7908 eval "DEFAULT_$LINE"
7913 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7917 eval "$ac_cv_use_listbook"
7918 if test "$no_cache" != 1; then
7919 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7922 if test "$wxUSE_LISTBOOK" = yes; then
7923 echo "$as_me:$LINENO: result: yes" >&5
7924 echo "${ECHO_T}yes" >&6
7926 echo "$as_me:$LINENO: result: no" >&5
7927 echo "${ECHO_T}no" >&6
7932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7933 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7935 # Check whether --enable-listbox or --disable-listbox was given.
7936 if test "${enable_listbox+set}" = set; then
7937 enableval
="$enable_listbox"
7939 if test "$enableval" = yes; then
7940 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7942 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7947 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7948 if test "x$LINE" != x
; then
7949 eval "DEFAULT_$LINE"
7954 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7958 eval "$ac_cv_use_listbox"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7963 if test "$wxUSE_LISTBOX" = yes; then
7964 echo "$as_me:$LINENO: result: yes" >&5
7965 echo "${ECHO_T}yes" >&6
7967 echo "$as_me:$LINENO: result: no" >&5
7968 echo "${ECHO_T}no" >&6
7973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7976 # Check whether --enable-listctrl or --disable-listctrl was given.
7977 if test "${enable_listctrl+set}" = set; then
7978 enableval
="$enable_listctrl"
7980 if test "$enableval" = yes; then
7981 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7983 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7988 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x
; then
7990 eval "DEFAULT_$LINE"
7995 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7999 eval "$ac_cv_use_listctrl"
8000 if test "$no_cache" != 1; then
8001 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8004 if test "$wxUSE_LISTCTRL" = yes; then
8005 echo "$as_me:$LINENO: result: yes" >&5
8006 echo "${ECHO_T}yes" >&6
8008 echo "$as_me:$LINENO: result: no" >&5
8009 echo "${ECHO_T}no" >&6
8014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8015 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8017 # Check whether --enable-notebook or --disable-notebook was given.
8018 if test "${enable_notebook+set}" = set; then
8019 enableval
="$enable_notebook"
8021 if test "$enableval" = yes; then
8022 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8024 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8029 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8030 if test "x$LINE" != x
; then
8031 eval "DEFAULT_$LINE"
8036 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8040 eval "$ac_cv_use_notebook"
8041 if test "$no_cache" != 1; then
8042 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8045 if test "$wxUSE_NOTEBOOK" = yes; then
8046 echo "$as_me:$LINENO: result: yes" >&5
8047 echo "${ECHO_T}yes" >&6
8049 echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6
8055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8056 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8058 # Check whether --enable-radiobox or --disable-radiobox was given.
8059 if test "${enable_radiobox+set}" = set; then
8060 enableval
="$enable_radiobox"
8062 if test "$enableval" = yes; then
8063 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8065 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8070 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8071 if test "x$LINE" != x
; then
8072 eval "DEFAULT_$LINE"
8077 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8081 eval "$ac_cv_use_radiobox"
8082 if test "$no_cache" != 1; then
8083 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8086 if test "$wxUSE_RADIOBOX" = yes; then
8087 echo "$as_me:$LINENO: result: yes" >&5
8088 echo "${ECHO_T}yes" >&6
8090 echo "$as_me:$LINENO: result: no" >&5
8091 echo "${ECHO_T}no" >&6
8096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8099 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8100 if test "${enable_radiobtn+set}" = set; then
8101 enableval
="$enable_radiobtn"
8103 if test "$enableval" = yes; then
8104 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8106 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8111 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8112 if test "x$LINE" != x
; then
8113 eval "DEFAULT_$LINE"
8118 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8122 eval "$ac_cv_use_radiobtn"
8123 if test "$no_cache" != 1; then
8124 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8127 if test "$wxUSE_RADIOBTN" = yes; then
8128 echo "$as_me:$LINENO: result: yes" >&5
8129 echo "${ECHO_T}yes" >&6
8131 echo "$as_me:$LINENO: result: no" >&5
8132 echo "${ECHO_T}no" >&6
8137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8140 # Check whether --enable-sash or --disable-sash was given.
8141 if test "${enable_sash+set}" = set; then
8142 enableval
="$enable_sash"
8144 if test "$enableval" = yes; then
8145 ac_cv_use_sash
='wxUSE_SASH=yes'
8147 ac_cv_use_sash
='wxUSE_SASH=no'
8152 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8153 if test "x$LINE" != x
; then
8154 eval "DEFAULT_$LINE"
8159 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8163 eval "$ac_cv_use_sash"
8164 if test "$no_cache" != 1; then
8165 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8168 if test "$wxUSE_SASH" = yes; then
8169 echo "$as_me:$LINENO: result: yes" >&5
8170 echo "${ECHO_T}yes" >&6
8172 echo "$as_me:$LINENO: result: no" >&5
8173 echo "${ECHO_T}no" >&6
8178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8179 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8181 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8182 if test "${enable_scrollbar+set}" = set; then
8183 enableval
="$enable_scrollbar"
8185 if test "$enableval" = yes; then
8186 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8188 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8193 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8194 if test "x$LINE" != x
; then
8195 eval "DEFAULT_$LINE"
8200 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8204 eval "$ac_cv_use_scrollbar"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8209 if test "$wxUSE_SCROLLBAR" = yes; then
8210 echo "$as_me:$LINENO: result: yes" >&5
8211 echo "${ECHO_T}yes" >&6
8213 echo "$as_me:$LINENO: result: no" >&5
8214 echo "${ECHO_T}no" >&6
8219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8220 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8222 # Check whether --enable-slider or --disable-slider was given.
8223 if test "${enable_slider+set}" = set; then
8224 enableval
="$enable_slider"
8226 if test "$enableval" = yes; then
8227 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8229 ac_cv_use_slider
='wxUSE_SLIDER=no'
8234 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8235 if test "x$LINE" != x
; then
8236 eval "DEFAULT_$LINE"
8241 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8245 eval "$ac_cv_use_slider"
8246 if test "$no_cache" != 1; then
8247 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8250 if test "$wxUSE_SLIDER" = yes; then
8251 echo "$as_me:$LINENO: result: yes" >&5
8252 echo "${ECHO_T}yes" >&6
8254 echo "$as_me:$LINENO: result: no" >&5
8255 echo "${ECHO_T}no" >&6
8260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8261 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8263 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8264 if test "${enable_spinbtn+set}" = set; then
8265 enableval
="$enable_spinbtn"
8267 if test "$enableval" = yes; then
8268 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8270 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8275 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8276 if test "x$LINE" != x
; then
8277 eval "DEFAULT_$LINE"
8282 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8286 eval "$ac_cv_use_spinbtn"
8287 if test "$no_cache" != 1; then
8288 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8291 if test "$wxUSE_SPINBTN" = yes; then
8292 echo "$as_me:$LINENO: result: yes" >&5
8293 echo "${ECHO_T}yes" >&6
8295 echo "$as_me:$LINENO: result: no" >&5
8296 echo "${ECHO_T}no" >&6
8301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8302 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8304 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8305 if test "${enable_spinctrl+set}" = set; then
8306 enableval
="$enable_spinctrl"
8308 if test "$enableval" = yes; then
8309 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8311 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8316 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8317 if test "x$LINE" != x
; then
8318 eval "DEFAULT_$LINE"
8323 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8327 eval "$ac_cv_use_spinctrl"
8328 if test "$no_cache" != 1; then
8329 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8332 if test "$wxUSE_SPINCTRL" = yes; then
8333 echo "$as_me:$LINENO: result: yes" >&5
8334 echo "${ECHO_T}yes" >&6
8336 echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6
8342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8343 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8345 # Check whether --enable-splitter or --disable-splitter was given.
8346 if test "${enable_splitter+set}" = set; then
8347 enableval
="$enable_splitter"
8349 if test "$enableval" = yes; then
8350 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8352 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8357 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8358 if test "x$LINE" != x
; then
8359 eval "DEFAULT_$LINE"
8364 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8368 eval "$ac_cv_use_splitter"
8369 if test "$no_cache" != 1; then
8370 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8373 if test "$wxUSE_SPLITTER" = yes; then
8374 echo "$as_me:$LINENO: result: yes" >&5
8375 echo "${ECHO_T}yes" >&6
8377 echo "$as_me:$LINENO: result: no" >&5
8378 echo "${ECHO_T}no" >&6
8383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8384 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8386 # Check whether --enable-statbmp or --disable-statbmp was given.
8387 if test "${enable_statbmp+set}" = set; then
8388 enableval
="$enable_statbmp"
8390 if test "$enableval" = yes; then
8391 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8393 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8398 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8399 if test "x$LINE" != x
; then
8400 eval "DEFAULT_$LINE"
8405 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8409 eval "$ac_cv_use_statbmp"
8410 if test "$no_cache" != 1; then
8411 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8414 if test "$wxUSE_STATBMP" = yes; then
8415 echo "$as_me:$LINENO: result: yes" >&5
8416 echo "${ECHO_T}yes" >&6
8418 echo "$as_me:$LINENO: result: no" >&5
8419 echo "${ECHO_T}no" >&6
8424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8425 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8427 # Check whether --enable-statbox or --disable-statbox was given.
8428 if test "${enable_statbox+set}" = set; then
8429 enableval
="$enable_statbox"
8431 if test "$enableval" = yes; then
8432 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8434 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8439 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8440 if test "x$LINE" != x
; then
8441 eval "DEFAULT_$LINE"
8446 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8450 eval "$ac_cv_use_statbox"
8451 if test "$no_cache" != 1; then
8452 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8455 if test "$wxUSE_STATBOX" = yes; then
8456 echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6
8459 echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6
8465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8468 # Check whether --enable-statline or --disable-statline was given.
8469 if test "${enable_statline+set}" = set; then
8470 enableval
="$enable_statline"
8472 if test "$enableval" = yes; then
8473 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8475 ac_cv_use_statline
='wxUSE_STATLINE=no'
8480 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8481 if test "x$LINE" != x
; then
8482 eval "DEFAULT_$LINE"
8487 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8491 eval "$ac_cv_use_statline"
8492 if test "$no_cache" != 1; then
8493 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8496 if test "$wxUSE_STATLINE" = yes; then
8497 echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6
8500 echo "$as_me:$LINENO: result: no" >&5
8501 echo "${ECHO_T}no" >&6
8506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8507 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8509 # Check whether --enable-stattext or --disable-stattext was given.
8510 if test "${enable_stattext+set}" = set; then
8511 enableval
="$enable_stattext"
8513 if test "$enableval" = yes; then
8514 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8516 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8521 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8522 if test "x$LINE" != x
; then
8523 eval "DEFAULT_$LINE"
8528 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8532 eval "$ac_cv_use_stattext"
8533 if test "$no_cache" != 1; then
8534 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8537 if test "$wxUSE_STATTEXT" = yes; then
8538 echo "$as_me:$LINENO: result: yes" >&5
8539 echo "${ECHO_T}yes" >&6
8541 echo "$as_me:$LINENO: result: no" >&5
8542 echo "${ECHO_T}no" >&6
8547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8548 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8550 # Check whether --enable-statusbar or --disable-statusbar was given.
8551 if test "${enable_statusbar+set}" = set; then
8552 enableval
="$enable_statusbar"
8554 if test "$enableval" = yes; then
8555 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8557 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8562 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8563 if test "x$LINE" != x
; then
8564 eval "DEFAULT_$LINE"
8569 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8573 eval "$ac_cv_use_statusbar"
8574 if test "$no_cache" != 1; then
8575 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8578 if test "$wxUSE_STATUSBAR" = yes; then
8579 echo "$as_me:$LINENO: result: yes" >&5
8580 echo "${ECHO_T}yes" >&6
8582 echo "$as_me:$LINENO: result: no" >&5
8583 echo "${ECHO_T}no" >&6
8588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8589 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8591 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8592 if test "${enable_tabdialog+set}" = set; then
8593 enableval
="$enable_tabdialog"
8595 if test "$enableval" = yes; then
8596 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8598 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8603 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8604 if test "x$LINE" != x
; then
8605 eval "DEFAULT_$LINE"
8610 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8614 eval "$ac_cv_use_tabdialog"
8615 if test "$no_cache" != 1; then
8616 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8619 if test "$wxUSE_TABDIALOG" = yes; then
8620 echo "$as_me:$LINENO: result: yes" >&5
8621 echo "${ECHO_T}yes" >&6
8623 echo "$as_me:$LINENO: result: no" >&5
8624 echo "${ECHO_T}no" >&6
8629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8630 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8632 # Check whether --enable-textctrl or --disable-textctrl was given.
8633 if test "${enable_textctrl+set}" = set; then
8634 enableval
="$enable_textctrl"
8636 if test "$enableval" = yes; then
8637 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8639 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8644 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8645 if test "x$LINE" != x
; then
8646 eval "DEFAULT_$LINE"
8651 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8655 eval "$ac_cv_use_textctrl"
8656 if test "$no_cache" != 1; then
8657 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8660 if test "$wxUSE_TEXTCTRL" = yes; then
8661 echo "$as_me:$LINENO: result: yes" >&5
8662 echo "${ECHO_T}yes" >&6
8664 echo "$as_me:$LINENO: result: no" >&5
8665 echo "${ECHO_T}no" >&6
8670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8673 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8674 if test "${enable_togglebtn+set}" = set; then
8675 enableval
="$enable_togglebtn"
8677 if test "$enableval" = yes; then
8678 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8680 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8685 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8686 if test "x$LINE" != x
; then
8687 eval "DEFAULT_$LINE"
8692 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8696 eval "$ac_cv_use_togglebtn"
8697 if test "$no_cache" != 1; then
8698 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8701 if test "$wxUSE_TOGGLEBTN" = yes; then
8702 echo "$as_me:$LINENO: result: yes" >&5
8703 echo "${ECHO_T}yes" >&6
8705 echo "$as_me:$LINENO: result: no" >&5
8706 echo "${ECHO_T}no" >&6
8711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8714 # Check whether --enable-toolbar or --disable-toolbar was given.
8715 if test "${enable_toolbar+set}" = set; then
8716 enableval
="$enable_toolbar"
8718 if test "$enableval" = yes; then
8719 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8721 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8726 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8727 if test "x$LINE" != x
; then
8728 eval "DEFAULT_$LINE"
8733 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8737 eval "$ac_cv_use_toolbar"
8738 if test "$no_cache" != 1; then
8739 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8742 if test "$wxUSE_TOOLBAR" = yes; then
8743 echo "$as_me:$LINENO: result: yes" >&5
8744 echo "${ECHO_T}yes" >&6
8746 echo "$as_me:$LINENO: result: no" >&5
8747 echo "${ECHO_T}no" >&6
8752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8753 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8755 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8756 if test "${enable_tbarnative+set}" = set; then
8757 enableval
="$enable_tbarnative"
8759 if test "$enableval" = yes; then
8760 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8762 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8767 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x
; then
8769 eval "DEFAULT_$LINE"
8774 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8778 eval "$ac_cv_use_tbarnative"
8779 if test "$no_cache" != 1; then
8780 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8783 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8784 echo "$as_me:$LINENO: result: yes" >&5
8785 echo "${ECHO_T}yes" >&6
8787 echo "$as_me:$LINENO: result: no" >&5
8788 echo "${ECHO_T}no" >&6
8793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8796 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8797 if test "${enable_tbarsmpl+set}" = set; then
8798 enableval
="$enable_tbarsmpl"
8800 if test "$enableval" = yes; then
8801 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8803 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8808 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8809 if test "x$LINE" != x
; then
8810 eval "DEFAULT_$LINE"
8815 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8819 eval "$ac_cv_use_tbarsmpl"
8820 if test "$no_cache" != 1; then
8821 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8824 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8825 echo "$as_me:$LINENO: result: yes" >&5
8826 echo "${ECHO_T}yes" >&6
8828 echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6
8834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8835 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8837 # Check whether --enable-treectrl or --disable-treectrl was given.
8838 if test "${enable_treectrl+set}" = set; then
8839 enableval
="$enable_treectrl"
8841 if test "$enableval" = yes; then
8842 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8844 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8849 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8850 if test "x$LINE" != x
; then
8851 eval "DEFAULT_$LINE"
8856 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8860 eval "$ac_cv_use_treectrl"
8861 if test "$no_cache" != 1; then
8862 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8865 if test "$wxUSE_TREECTRL" = yes; then
8866 echo "$as_me:$LINENO: result: yes" >&5
8867 echo "${ECHO_T}yes" >&6
8869 echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6
8875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8876 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8878 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8879 if test "${enable_tipwindow+set}" = set; then
8880 enableval
="$enable_tipwindow"
8882 if test "$enableval" = yes; then
8883 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8885 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8890 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x
; then
8892 eval "DEFAULT_$LINE"
8897 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8901 eval "$ac_cv_use_tipwindow"
8902 if test "$no_cache" != 1; then
8903 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8906 if test "$wxUSE_TIPWINDOW" = yes; then
8907 echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6
8910 echo "$as_me:$LINENO: result: no" >&5
8911 echo "${ECHO_T}no" >&6
8916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8919 # Check whether --enable-popupwin or --disable-popupwin was given.
8920 if test "${enable_popupwin+set}" = set; then
8921 enableval
="$enable_popupwin"
8923 if test "$enableval" = yes; then
8924 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8926 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8931 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x
; then
8933 eval "DEFAULT_$LINE"
8938 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8942 eval "$ac_cv_use_popupwin"
8943 if test "$no_cache" != 1; then
8944 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8947 if test "$wxUSE_POPUPWIN" = yes; then
8948 echo "$as_me:$LINENO: result: yes" >&5
8949 echo "${ECHO_T}yes" >&6
8951 echo "$as_me:$LINENO: result: no" >&5
8952 echo "${ECHO_T}no" >&6
8959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8960 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8962 # Check whether --enable-commondlg or --disable-commondlg was given.
8963 if test "${enable_commondlg+set}" = set; then
8964 enableval
="$enable_commondlg"
8966 if test "$enableval" = yes; then
8967 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8969 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8974 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8975 if test "x$LINE" != x
; then
8976 eval "DEFAULT_$LINE"
8981 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8985 eval "$ac_cv_use_commondlg"
8986 if test "$no_cache" != 1; then
8987 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8990 if test "$wxUSE_COMMONDLGS" = yes; then
8991 echo "$as_me:$LINENO: result: yes" >&5
8992 echo "${ECHO_T}yes" >&6
8994 echo "$as_me:$LINENO: result: no" >&5
8995 echo "${ECHO_T}no" >&6
9000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9001 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9003 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9004 if test "${enable_choicedlg+set}" = set; then
9005 enableval
="$enable_choicedlg"
9007 if test "$enableval" = yes; then
9008 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9010 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9015 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9016 if test "x$LINE" != x
; then
9017 eval "DEFAULT_$LINE"
9022 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9026 eval "$ac_cv_use_choicedlg"
9027 if test "$no_cache" != 1; then
9028 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9031 if test "$wxUSE_CHOICEDLG" = yes; then
9032 echo "$as_me:$LINENO: result: yes" >&5
9033 echo "${ECHO_T}yes" >&6
9035 echo "$as_me:$LINENO: result: no" >&5
9036 echo "${ECHO_T}no" >&6
9041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9042 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9044 # Check whether --enable-coldlg or --disable-coldlg was given.
9045 if test "${enable_coldlg+set}" = set; then
9046 enableval
="$enable_coldlg"
9048 if test "$enableval" = yes; then
9049 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9051 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9056 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9057 if test "x$LINE" != x
; then
9058 eval "DEFAULT_$LINE"
9063 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9067 eval "$ac_cv_use_coldlg"
9068 if test "$no_cache" != 1; then
9069 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9072 if test "$wxUSE_COLOURDLG" = yes; then
9073 echo "$as_me:$LINENO: result: yes" >&5
9074 echo "${ECHO_T}yes" >&6
9076 echo "$as_me:$LINENO: result: no" >&5
9077 echo "${ECHO_T}no" >&6
9082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9083 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9085 # Check whether --enable-filedlg or --disable-filedlg was given.
9086 if test "${enable_filedlg+set}" = set; then
9087 enableval
="$enable_filedlg"
9089 if test "$enableval" = yes; then
9090 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9092 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9097 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9098 if test "x$LINE" != x
; then
9099 eval "DEFAULT_$LINE"
9104 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9108 eval "$ac_cv_use_filedlg"
9109 if test "$no_cache" != 1; then
9110 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9113 if test "$wxUSE_FILEDLG" = yes; then
9114 echo "$as_me:$LINENO: result: yes" >&5
9115 echo "${ECHO_T}yes" >&6
9117 echo "$as_me:$LINENO: result: no" >&5
9118 echo "${ECHO_T}no" >&6
9123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9124 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9126 # Check whether --enable-finddlg or --disable-finddlg was given.
9127 if test "${enable_finddlg+set}" = set; then
9128 enableval
="$enable_finddlg"
9130 if test "$enableval" = yes; then
9131 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9133 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9138 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9139 if test "x$LINE" != x
; then
9140 eval "DEFAULT_$LINE"
9145 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9149 eval "$ac_cv_use_finddlg"
9150 if test "$no_cache" != 1; then
9151 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9154 if test "$wxUSE_FINDREPLDLG" = yes; then
9155 echo "$as_me:$LINENO: result: yes" >&5
9156 echo "${ECHO_T}yes" >&6
9158 echo "$as_me:$LINENO: result: no" >&5
9159 echo "${ECHO_T}no" >&6
9164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9165 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9167 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9168 if test "${enable_fontdlg+set}" = set; then
9169 enableval
="$enable_fontdlg"
9171 if test "$enableval" = yes; then
9172 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9174 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9179 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9180 if test "x$LINE" != x
; then
9181 eval "DEFAULT_$LINE"
9186 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9190 eval "$ac_cv_use_fontdlg"
9191 if test "$no_cache" != 1; then
9192 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9195 if test "$wxUSE_FONTDLG" = yes; then
9196 echo "$as_me:$LINENO: result: yes" >&5
9197 echo "${ECHO_T}yes" >&6
9199 echo "$as_me:$LINENO: result: no" >&5
9200 echo "${ECHO_T}no" >&6
9205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9208 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9209 if test "${enable_dirdlg+set}" = set; then
9210 enableval
="$enable_dirdlg"
9212 if test "$enableval" = yes; then
9213 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9215 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9220 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9221 if test "x$LINE" != x
; then
9222 eval "DEFAULT_$LINE"
9227 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9231 eval "$ac_cv_use_dirdlg"
9232 if test "$no_cache" != 1; then
9233 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9236 if test "$wxUSE_DIRDLG" = yes; then
9237 echo "$as_me:$LINENO: result: yes" >&5
9238 echo "${ECHO_T}yes" >&6
9240 echo "$as_me:$LINENO: result: no" >&5
9241 echo "${ECHO_T}no" >&6
9246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9247 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9249 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9250 if test "${enable_msgdlg+set}" = set; then
9251 enableval
="$enable_msgdlg"
9253 if test "$enableval" = yes; then
9254 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9256 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9261 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9262 if test "x$LINE" != x
; then
9263 eval "DEFAULT_$LINE"
9268 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9272 eval "$ac_cv_use_msgdlg"
9273 if test "$no_cache" != 1; then
9274 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9277 if test "$wxUSE_MSGDLG" = yes; then
9278 echo "$as_me:$LINENO: result: yes" >&5
9279 echo "${ECHO_T}yes" >&6
9281 echo "$as_me:$LINENO: result: no" >&5
9282 echo "${ECHO_T}no" >&6
9287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9290 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9291 if test "${enable_numberdlg+set}" = set; then
9292 enableval
="$enable_numberdlg"
9294 if test "$enableval" = yes; then
9295 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9297 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9302 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9303 if test "x$LINE" != x
; then
9304 eval "DEFAULT_$LINE"
9309 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9313 eval "$ac_cv_use_numberdlg"
9314 if test "$no_cache" != 1; then
9315 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9318 if test "$wxUSE_NUMBERDLG" = yes; then
9319 echo "$as_me:$LINENO: result: yes" >&5
9320 echo "${ECHO_T}yes" >&6
9322 echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6
9328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9329 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9331 # Check whether --enable-splash or --disable-splash was given.
9332 if test "${enable_splash+set}" = set; then
9333 enableval
="$enable_splash"
9335 if test "$enableval" = yes; then
9336 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9338 ac_cv_use_splash
='wxUSE_SPLASH=no'
9343 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9344 if test "x$LINE" != x
; then
9345 eval "DEFAULT_$LINE"
9350 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9354 eval "$ac_cv_use_splash"
9355 if test "$no_cache" != 1; then
9356 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9359 if test "$wxUSE_SPLASH" = yes; then
9360 echo "$as_me:$LINENO: result: yes" >&5
9361 echo "${ECHO_T}yes" >&6
9363 echo "$as_me:$LINENO: result: no" >&5
9364 echo "${ECHO_T}no" >&6
9369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9372 # Check whether --enable-textdlg or --disable-textdlg was given.
9373 if test "${enable_textdlg+set}" = set; then
9374 enableval
="$enable_textdlg"
9376 if test "$enableval" = yes; then
9377 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9379 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9384 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9385 if test "x$LINE" != x
; then
9386 eval "DEFAULT_$LINE"
9391 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9395 eval "$ac_cv_use_textdlg"
9396 if test "$no_cache" != 1; then
9397 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9400 if test "$wxUSE_TEXTDLG" = yes; then
9401 echo "$as_me:$LINENO: result: yes" >&5
9402 echo "${ECHO_T}yes" >&6
9404 echo "$as_me:$LINENO: result: no" >&5
9405 echo "${ECHO_T}no" >&6
9410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9413 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9414 if test "${enable_tipdlg+set}" = set; then
9415 enableval
="$enable_tipdlg"
9417 if test "$enableval" = yes; then
9418 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9420 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9425 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9426 if test "x$LINE" != x
; then
9427 eval "DEFAULT_$LINE"
9432 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9436 eval "$ac_cv_use_tipdlg"
9437 if test "$no_cache" != 1; then
9438 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9441 if test "$wxUSE_STARTUP_TIPS" = yes; then
9442 echo "$as_me:$LINENO: result: yes" >&5
9443 echo "${ECHO_T}yes" >&6
9445 echo "$as_me:$LINENO: result: no" >&5
9446 echo "${ECHO_T}no" >&6
9451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9452 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9454 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9455 if test "${enable_progressdlg+set}" = set; then
9456 enableval
="$enable_progressdlg"
9458 if test "$enableval" = yes; then
9459 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9461 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9466 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9467 if test "x$LINE" != x
; then
9468 eval "DEFAULT_$LINE"
9473 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9477 eval "$ac_cv_use_progressdlg"
9478 if test "$no_cache" != 1; then
9479 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9482 if test "$wxUSE_PROGRESSDLG" = yes; then
9483 echo "$as_me:$LINENO: result: yes" >&5
9484 echo "${ECHO_T}yes" >&6
9486 echo "$as_me:$LINENO: result: no" >&5
9487 echo "${ECHO_T}no" >&6
9492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9495 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9496 if test "${enable_wizarddlg+set}" = set; then
9497 enableval
="$enable_wizarddlg"
9499 if test "$enableval" = yes; then
9500 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9502 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9507 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9508 if test "x$LINE" != x
; then
9509 eval "DEFAULT_$LINE"
9514 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9518 eval "$ac_cv_use_wizarddlg"
9519 if test "$no_cache" != 1; then
9520 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9523 if test "$wxUSE_WIZARDDLG" = yes; then
9524 echo "$as_me:$LINENO: result: yes" >&5
9525 echo "${ECHO_T}yes" >&6
9527 echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6
9535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9536 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9538 # Check whether --enable-menus or --disable-menus was given.
9539 if test "${enable_menus+set}" = set; then
9540 enableval
="$enable_menus"
9542 if test "$enableval" = yes; then
9543 ac_cv_use_menus
='wxUSE_MENUS=yes'
9545 ac_cv_use_menus
='wxUSE_MENUS=no'
9550 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x
; then
9552 eval "DEFAULT_$LINE"
9557 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9561 eval "$ac_cv_use_menus"
9562 if test "$no_cache" != 1; then
9563 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9566 if test "$wxUSE_MENUS" = yes; then
9567 echo "$as_me:$LINENO: result: yes" >&5
9568 echo "${ECHO_T}yes" >&6
9570 echo "$as_me:$LINENO: result: no" >&5
9571 echo "${ECHO_T}no" >&6
9576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9577 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9579 # Check whether --enable-miniframe or --disable-miniframe was given.
9580 if test "${enable_miniframe+set}" = set; then
9581 enableval
="$enable_miniframe"
9583 if test "$enableval" = yes; then
9584 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9586 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9591 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x
; then
9593 eval "DEFAULT_$LINE"
9598 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9602 eval "$ac_cv_use_miniframe"
9603 if test "$no_cache" != 1; then
9604 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9607 if test "$wxUSE_MINIFRAME" = yes; then
9608 echo "$as_me:$LINENO: result: yes" >&5
9609 echo "${ECHO_T}yes" >&6
9611 echo "$as_me:$LINENO: result: no" >&5
9612 echo "${ECHO_T}no" >&6
9617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9618 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9620 # Check whether --enable-tooltips or --disable-tooltips was given.
9621 if test "${enable_tooltips+set}" = set; then
9622 enableval
="$enable_tooltips"
9624 if test "$enableval" = yes; then
9625 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9627 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9632 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x
; then
9634 eval "DEFAULT_$LINE"
9639 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9643 eval "$ac_cv_use_tooltips"
9644 if test "$no_cache" != 1; then
9645 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9648 if test "$wxUSE_TOOLTIPS" = yes; then
9649 echo "$as_me:$LINENO: result: yes" >&5
9650 echo "${ECHO_T}yes" >&6
9652 echo "$as_me:$LINENO: result: no" >&5
9653 echo "${ECHO_T}no" >&6
9658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9659 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9661 # Check whether --enable-splines or --disable-splines was given.
9662 if test "${enable_splines+set}" = set; then
9663 enableval
="$enable_splines"
9665 if test "$enableval" = yes; then
9666 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9668 ac_cv_use_splines
='wxUSE_SPLINES=no'
9673 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9674 if test "x$LINE" != x
; then
9675 eval "DEFAULT_$LINE"
9680 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9684 eval "$ac_cv_use_splines"
9685 if test "$no_cache" != 1; then
9686 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9689 if test "$wxUSE_SPLINES" = yes; then
9690 echo "$as_me:$LINENO: result: yes" >&5
9691 echo "${ECHO_T}yes" >&6
9693 echo "$as_me:$LINENO: result: no" >&5
9694 echo "${ECHO_T}no" >&6
9699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9700 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9702 # Check whether --enable-validators or --disable-validators was given.
9703 if test "${enable_validators+set}" = set; then
9704 enableval
="$enable_validators"
9706 if test "$enableval" = yes; then
9707 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9709 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9714 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x
; then
9716 eval "DEFAULT_$LINE"
9721 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9725 eval "$ac_cv_use_validators"
9726 if test "$no_cache" != 1; then
9727 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9730 if test "$wxUSE_VALIDATORS" = yes; then
9731 echo "$as_me:$LINENO: result: yes" >&5
9732 echo "${ECHO_T}yes" >&6
9734 echo "$as_me:$LINENO: result: no" >&5
9735 echo "${ECHO_T}no" >&6
9740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9741 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9743 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9744 if test "${enable_busyinfo+set}" = set; then
9745 enableval
="$enable_busyinfo"
9747 if test "$enableval" = yes; then
9748 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9750 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9755 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9756 if test "x$LINE" != x
; then
9757 eval "DEFAULT_$LINE"
9762 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9766 eval "$ac_cv_use_busyinfo"
9767 if test "$no_cache" != 1; then
9768 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9771 if test "$wxUSE_BUSYINFO" = yes; then
9772 echo "$as_me:$LINENO: result: yes" >&5
9773 echo "${ECHO_T}yes" >&6
9775 echo "$as_me:$LINENO: result: no" >&5
9776 echo "${ECHO_T}no" >&6
9781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9784 # Check whether --enable-joystick or --disable-joystick was given.
9785 if test "${enable_joystick+set}" = set; then
9786 enableval
="$enable_joystick"
9788 if test "$enableval" = yes; then
9789 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9791 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9796 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x
; then
9798 eval "DEFAULT_$LINE"
9803 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9807 eval "$ac_cv_use_joystick"
9808 if test "$no_cache" != 1; then
9809 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9812 if test "$wxUSE_JOYSTICK" = yes; then
9813 echo "$as_me:$LINENO: result: yes" >&5
9814 echo "${ECHO_T}yes" >&6
9816 echo "$as_me:$LINENO: result: no" >&5
9817 echo "${ECHO_T}no" >&6
9822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9823 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9825 # Check whether --enable-metafile or --disable-metafile was given.
9826 if test "${enable_metafile+set}" = set; then
9827 enableval
="$enable_metafile"
9829 if test "$enableval" = yes; then
9830 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9832 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9837 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9838 if test "x$LINE" != x
; then
9839 eval "DEFAULT_$LINE"
9844 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9848 eval "$ac_cv_use_metafile"
9849 if test "$no_cache" != 1; then
9850 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9853 if test "$wxUSE_METAFILE" = yes; then
9854 echo "$as_me:$LINENO: result: yes" >&5
9855 echo "${ECHO_T}yes" >&6
9857 echo "$as_me:$LINENO: result: no" >&5
9858 echo "${ECHO_T}no" >&6
9863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9864 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9866 # Check whether --enable-dragimage or --disable-dragimage was given.
9867 if test "${enable_dragimage+set}" = set; then
9868 enableval
="$enable_dragimage"
9870 if test "$enableval" = yes; then
9871 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9873 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9878 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x
; then
9880 eval "DEFAULT_$LINE"
9885 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9889 eval "$ac_cv_use_dragimage"
9890 if test "$no_cache" != 1; then
9891 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9894 if test "$wxUSE_DRAGIMAGE" = yes; then
9895 echo "$as_me:$LINENO: result: yes" >&5
9896 echo "${ECHO_T}yes" >&6
9898 echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6
9904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9905 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9907 # Check whether --enable-accessibility or --disable-accessibility was given.
9908 if test "${enable_accessibility+set}" = set; then
9909 enableval
="$enable_accessibility"
9911 if test "$enableval" = yes; then
9912 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9914 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9919 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x
; then
9921 eval "DEFAULT_$LINE"
9926 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9930 eval "$ac_cv_use_accessibility"
9931 if test "$no_cache" != 1; then
9932 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9935 if test "$wxUSE_ACCESSIBILITY" = yes; then
9936 echo "$as_me:$LINENO: result: yes" >&5
9937 echo "${ECHO_T}yes" >&6
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9948 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9950 # Check whether --enable-palette or --disable-palette was given.
9951 if test "${enable_palette+set}" = set; then
9952 enableval
="$enable_palette"
9954 if test "$enableval" = yes; then
9955 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9957 ac_cv_use_palette
='wxUSE_PALETTE=no'
9962 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x
; then
9964 eval "DEFAULT_$LINE"
9969 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9973 eval "$ac_cv_use_palette"
9974 if test "$no_cache" != 1; then
9975 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9978 if test "$wxUSE_PALETTE" = yes; then
9979 echo "$as_me:$LINENO: result: yes" >&5
9980 echo "${ECHO_T}yes" >&6
9982 echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6
9988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9989 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9991 # Check whether --enable-image or --disable-image was given.
9992 if test "${enable_image+set}" = set; then
9993 enableval
="$enable_image"
9995 if test "$enableval" = yes; then
9996 ac_cv_use_image
='wxUSE_IMAGE=yes'
9998 ac_cv_use_image
='wxUSE_IMAGE=no'
10003 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10004 if test "x$LINE" != x
; then
10005 eval "DEFAULT_$LINE"
10010 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10014 eval "$ac_cv_use_image"
10015 if test "$no_cache" != 1; then
10016 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10019 if test "$wxUSE_IMAGE" = yes; then
10020 echo "$as_me:$LINENO: result: yes" >&5
10021 echo "${ECHO_T}yes" >&6
10023 echo "$as_me:$LINENO: result: no" >&5
10024 echo "${ECHO_T}no" >&6
10029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10030 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10032 # Check whether --enable-gif or --disable-gif was given.
10033 if test "${enable_gif+set}" = set; then
10034 enableval
="$enable_gif"
10036 if test "$enableval" = yes; then
10037 ac_cv_use_gif
='wxUSE_GIF=yes'
10039 ac_cv_use_gif
='wxUSE_GIF=no'
10044 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10045 if test "x$LINE" != x
; then
10046 eval "DEFAULT_$LINE"
10051 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10055 eval "$ac_cv_use_gif"
10056 if test "$no_cache" != 1; then
10057 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10060 if test "$wxUSE_GIF" = yes; then
10061 echo "$as_me:$LINENO: result: yes" >&5
10062 echo "${ECHO_T}yes" >&6
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10073 # Check whether --enable-pcx or --disable-pcx was given.
10074 if test "${enable_pcx+set}" = set; then
10075 enableval
="$enable_pcx"
10077 if test "$enableval" = yes; then
10078 ac_cv_use_pcx
='wxUSE_PCX=yes'
10080 ac_cv_use_pcx
='wxUSE_PCX=no'
10085 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10086 if test "x$LINE" != x
; then
10087 eval "DEFAULT_$LINE"
10092 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10096 eval "$ac_cv_use_pcx"
10097 if test "$no_cache" != 1; then
10098 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10101 if test "$wxUSE_PCX" = yes; then
10102 echo "$as_me:$LINENO: result: yes" >&5
10103 echo "${ECHO_T}yes" >&6
10105 echo "$as_me:$LINENO: result: no" >&5
10106 echo "${ECHO_T}no" >&6
10111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10114 # Check whether --enable-iff or --disable-iff was given.
10115 if test "${enable_iff+set}" = set; then
10116 enableval
="$enable_iff"
10118 if test "$enableval" = yes; then
10119 ac_cv_use_iff
='wxUSE_IFF=yes'
10121 ac_cv_use_iff
='wxUSE_IFF=no'
10126 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10127 if test "x$LINE" != x
; then
10128 eval "DEFAULT_$LINE"
10133 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10137 eval "$ac_cv_use_iff"
10138 if test "$no_cache" != 1; then
10139 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10142 if test "$wxUSE_IFF" = yes; then
10143 echo "$as_me:$LINENO: result: yes" >&5
10144 echo "${ECHO_T}yes" >&6
10146 echo "$as_me:$LINENO: result: no" >&5
10147 echo "${ECHO_T}no" >&6
10152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10155 # Check whether --enable-pnm or --disable-pnm was given.
10156 if test "${enable_pnm+set}" = set; then
10157 enableval
="$enable_pnm"
10159 if test "$enableval" = yes; then
10160 ac_cv_use_pnm
='wxUSE_PNM=yes'
10162 ac_cv_use_pnm
='wxUSE_PNM=no'
10167 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10168 if test "x$LINE" != x
; then
10169 eval "DEFAULT_$LINE"
10174 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10178 eval "$ac_cv_use_pnm"
10179 if test "$no_cache" != 1; then
10180 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10183 if test "$wxUSE_PNM" = yes; then
10184 echo "$as_me:$LINENO: result: yes" >&5
10185 echo "${ECHO_T}yes" >&6
10187 echo "$as_me:$LINENO: result: no" >&5
10188 echo "${ECHO_T}no" >&6
10193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10196 # Check whether --enable-xpm or --disable-xpm was given.
10197 if test "${enable_xpm+set}" = set; then
10198 enableval
="$enable_xpm"
10200 if test "$enableval" = yes; then
10201 ac_cv_use_xpm
='wxUSE_XPM=yes'
10203 ac_cv_use_xpm
='wxUSE_XPM=no'
10208 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10209 if test "x$LINE" != x
; then
10210 eval "DEFAULT_$LINE"
10215 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10219 eval "$ac_cv_use_xpm"
10220 if test "$no_cache" != 1; then
10221 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10224 if test "$wxUSE_XPM" = yes; then
10225 echo "$as_me:$LINENO: result: yes" >&5
10226 echo "${ECHO_T}yes" >&6
10228 echo "$as_me:$LINENO: result: no" >&5
10229 echo "${ECHO_T}no" >&6
10234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10237 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10238 if test "${enable_ico_cur+set}" = set; then
10239 enableval
="$enable_ico_cur"
10241 if test "$enableval" = yes; then
10242 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10244 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10249 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10250 if test "x$LINE" != x
; then
10251 eval "DEFAULT_$LINE"
10256 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10260 eval "$ac_cv_use_ico_cur"
10261 if test "$no_cache" != 1; then
10262 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10265 if test "$wxUSE_ICO_CUR" = yes; then
10266 echo "$as_me:$LINENO: result: yes" >&5
10267 echo "${ECHO_T}yes" >&6
10269 echo "$as_me:$LINENO: result: no" >&5
10270 echo "${ECHO_T}no" >&6
10278 # Check whether --with-flavour or --without-flavour was given.
10279 if test "${with_flavour+set}" = set; then
10280 withval
="$with_flavour"
10281 WX_FLAVOUR
="$withval"
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10290 # Check whether --enable-official_build or --disable-official_build was given.
10291 if test "${enable_official_build+set}" = set; then
10292 enableval
="$enable_official_build"
10294 if test "$enableval" = yes; then
10295 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10297 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10302 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x
; then
10304 eval "DEFAULT_$LINE"
10309 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10313 eval "$ac_cv_use_official_build"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10318 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10326 # Check whether --enable-vendor or --disable-vendor was given.
10327 if test "${enable_vendor+set}" = set; then
10328 enableval
="$enable_vendor"
10329 VENDOR
="$enableval"
10331 if test "x$VENDOR" = "x"; then
10338 echo "saving argument cache $wx_arg_cache_file"
10339 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10343 echo "$as_me:$LINENO: checking for toolkit" >&5
10344 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10346 # In Wine, we need to default to MSW, not GTK or MOTIF
10347 if test "$wxUSE_WINE" = "yes"; then
10348 DEFAULT_DEFAULT_wxUSE_GTK
=0
10349 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10350 DEFAULT_DEFAULT_wxUSE_MSW
=1
10354 if test "$wxUSE_GUI" = "yes"; then
10356 if test "$USE_BEOS" = 1; then
10357 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10358 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10359 { (exit 1); exit 1; }; }
10362 if test "$TOOLKIT_GIVEN" = 1; then
10363 for toolkit
in `echo $ALL_TOOLKITS`; do
10365 eval "value=\$${var}"
10366 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10369 for toolkit
in `echo $ALL_TOOLKITS`; do
10370 if test "$has_toolkit_in_cache" != 1; then
10371 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10373 var
=DEFAULT_wxUSE_
$toolkit
10375 eval "wxUSE_$toolkit=\$${var}"
10379 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10380 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10381 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10384 *-pc-os2_emx | *-pc-os2-emx )
10385 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10388 case "$NUM_TOOLKITS" in
10392 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10393 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10394 { (exit 1); exit 1; }; }
10397 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10398 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10399 { (exit 1); exit 1; }; }
10402 for toolkit
in `echo $ALL_TOOLKITS`; do
10404 eval "value=\$${var}"
10405 if test "x$value" != x
; then
10406 cache_var
=CACHE_
$toolkit
10407 eval "cache=\$${cache_var}"
10408 if test "$cache" = 1; then
10409 echo "$var=$value" >> ${wx_arg_cache_file}
10411 if test "$value" = 1; then
10412 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10413 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10414 echo "${ECHO_T}$toolkit_echo" >&6
10419 if test "x$host_alias" != "x"; then
10420 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10421 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10423 echo "$as_me:$LINENO: result: base only" >&5
10424 echo "${ECHO_T}base only" >&6
10429 doesnt_want_win32
=0
10432 if test "$wxUSE_MSW" = 1 ; then
10435 doesnt_want_win32
=1
10443 if test "$wxUSE_WINE" = "yes"; then
10448 LDFLAGS_GUI
="-mwindows"
10451 if test "$wants_win32" = 1 ; then
10454 cat >>confdefs.h
<<\_ACEOF
10455 #define __WIN32__ 1
10458 cat >>confdefs.h
<<\_ACEOF
10459 #define __WIN95__ 1
10462 cat >>confdefs.h
<<\_ACEOF
10463 #define __WINDOWS__ 1
10466 cat >>confdefs.h
<<\_ACEOF
10467 #define __GNUWIN32__ 1
10470 cat >>confdefs.h
<<\_ACEOF
10474 cat >>confdefs.h
<<\_ACEOF
10475 #define WINVER 0x0400
10479 if test "$doesnt_want_win32" = 1 ; then
10484 if test "$USE_UNIX" = 1 ; then
10486 cat >>confdefs.h
<<\_ACEOF
10493 cat >confcache
<<\_ACEOF
10494 # This file is a shell script that caches the results of configure
10495 # tests run on this system so they can be shared between configure
10496 # scripts and configure runs, see configure's option --config-cache.
10497 # It is not useful on other systems. If it contains results you don't
10498 # want to keep, you may remove or edit it.
10500 # config.status only pays attention to the cache file if you give it
10501 # the --recheck option to rerun configure.
10503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10505 # following values.
10509 # The following way of writing the cache mishandles newlines in values,
10510 # but we know of no workaround that is simple, portable, and efficient.
10511 # So, don't put newlines in cache variables' values.
10512 # Ultrix sh set writes to stderr and can't be redirected directly,
10513 # and sets the high bit in the cache file unless we assign to the vars.
10516 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10518 # `set' does not quote correctly, so add quotes (double-quote
10519 # substitution turns \\\\ into \\, and sed turns \\ into \).
10522 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10525 # `set' quotes correctly as required by POSIX, so do not add quotes.
10527 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10534 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10536 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10538 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10539 if test -w $cache_file; then
10540 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10541 cat confcache
>$cache_file
10543 echo "not updating unwritable cache $cache_file"
10548 if test "$build" != "$host" ; then
10549 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10551 CXX
=$host_alias-c++
10553 RANLIB
=$host_alias-ranlib
10554 DLLTOOL
=$host_alias-dlltool
10555 RESCOMP
=$host_alias-windres
10556 STRIP
=$host_alias-strip
10557 elif test "x$CC" '!=' "x"; then
10558 echo "You set CC, I assume you know what you are doing."
10560 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10561 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10562 { (exit 1); exit 1; }; }
10568 ac_cpp
='$CPP $CPPFLAGS'
10569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10572 if test -n "$ac_tool_prefix"; then
10573 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10574 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10575 echo "$as_me:$LINENO: checking for $ac_word" >&5
10576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10577 if test "${ac_cv_prog_CC+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 if test -n "$CC"; then
10581 ac_cv_prog_CC
="$CC" # Let the user override the test.
10583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10584 for as_dir
in $PATH
10587 test -z "$as_dir" && as_dir
=.
10588 for ac_exec_ext
in '' $ac_executable_extensions; do
10589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10590 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10600 if test -n "$CC"; then
10601 echo "$as_me:$LINENO: result: $CC" >&5
10602 echo "${ECHO_T}$CC" >&6
10604 echo "$as_me:$LINENO: result: no" >&5
10605 echo "${ECHO_T}no" >&6
10609 if test -z "$ac_cv_prog_CC"; then
10611 # Extract the first word of "gcc", so it can be a program name with args.
10612 set dummy gcc
; ac_word
=$2
10613 echo "$as_me:$LINENO: checking for $ac_word" >&5
10614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10615 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10616 echo $ECHO_N "(cached) $ECHO_C" >&6
10618 if test -n "$ac_ct_CC"; then
10619 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10622 for as_dir
in $PATH
10625 test -z "$as_dir" && as_dir
=.
10626 for ac_exec_ext
in '' $ac_executable_extensions; do
10627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10628 ac_cv_prog_ac_ct_CC
="gcc"
10629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10637 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10638 if test -n "$ac_ct_CC"; then
10639 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10640 echo "${ECHO_T}$ac_ct_CC" >&6
10642 echo "$as_me:$LINENO: result: no" >&5
10643 echo "${ECHO_T}no" >&6
10648 CC
="$ac_cv_prog_CC"
10651 if test -z "$CC"; then
10652 if test -n "$ac_tool_prefix"; then
10653 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10654 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10655 echo "$as_me:$LINENO: checking for $ac_word" >&5
10656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10657 if test "${ac_cv_prog_CC+set}" = set; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10660 if test -n "$CC"; then
10661 ac_cv_prog_CC
="$CC" # Let the user override the test.
10663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10664 for as_dir
in $PATH
10667 test -z "$as_dir" && as_dir
=.
10668 for ac_exec_ext
in '' $ac_executable_extensions; do
10669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10670 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10680 if test -n "$CC"; then
10681 echo "$as_me:$LINENO: result: $CC" >&5
10682 echo "${ECHO_T}$CC" >&6
10684 echo "$as_me:$LINENO: result: no" >&5
10685 echo "${ECHO_T}no" >&6
10689 if test -z "$ac_cv_prog_CC"; then
10691 # Extract the first word of "cc", so it can be a program name with args.
10692 set dummy cc
; ac_word
=$2
10693 echo "$as_me:$LINENO: checking for $ac_word" >&5
10694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10695 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10696 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 if test -n "$ac_ct_CC"; then
10699 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10702 for as_dir
in $PATH
10705 test -z "$as_dir" && as_dir
=.
10706 for ac_exec_ext
in '' $ac_executable_extensions; do
10707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10708 ac_cv_prog_ac_ct_CC
="cc"
10709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10717 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10718 if test -n "$ac_ct_CC"; then
10719 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10720 echo "${ECHO_T}$ac_ct_CC" >&6
10722 echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6
10728 CC
="$ac_cv_prog_CC"
10732 if test -z "$CC"; then
10733 # Extract the first word of "cc", so it can be a program name with args.
10734 set dummy cc
; ac_word
=$2
10735 echo "$as_me:$LINENO: checking for $ac_word" >&5
10736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10737 if test "${ac_cv_prog_CC+set}" = set; then
10738 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 if test -n "$CC"; then
10741 ac_cv_prog_CC
="$CC" # Let the user override the test.
10743 ac_prog_rejected
=no
10744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10745 for as_dir
in $PATH
10748 test -z "$as_dir" && as_dir
=.
10749 for ac_exec_ext
in '' $ac_executable_extensions; do
10750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10751 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10752 ac_prog_rejected
=yes
10756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10762 if test $ac_prog_rejected = yes; then
10763 # We found a bogon in the path, so make sure we never use it.
10764 set dummy
$ac_cv_prog_CC
10766 if test $# != 0; then
10767 # We chose a different compiler from the bogus one.
10768 # However, it has the same basename, so the bogon will be chosen
10769 # first if we set CC to just the basename; use the full file name.
10771 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10777 if test -n "$CC"; then
10778 echo "$as_me:$LINENO: result: $CC" >&5
10779 echo "${ECHO_T}$CC" >&6
10781 echo "$as_me:$LINENO: result: no" >&5
10782 echo "${ECHO_T}no" >&6
10786 if test -z "$CC"; then
10787 if test -n "$ac_tool_prefix"; then
10790 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10791 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10792 echo "$as_me:$LINENO: checking for $ac_word" >&5
10793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10794 if test "${ac_cv_prog_CC+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 if test -n "$CC"; then
10798 ac_cv_prog_CC
="$CC" # Let the user override the test.
10800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10801 for as_dir
in $PATH
10804 test -z "$as_dir" && as_dir
=.
10805 for ac_exec_ext
in '' $ac_executable_extensions; do
10806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10807 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10817 if test -n "$CC"; then
10818 echo "$as_me:$LINENO: result: $CC" >&5
10819 echo "${ECHO_T}$CC" >&6
10821 echo "$as_me:$LINENO: result: no" >&5
10822 echo "${ECHO_T}no" >&6
10825 test -n "$CC" && break
10828 if test -z "$CC"; then
10832 # Extract the first word of "$ac_prog", so it can be a program name with args.
10833 set dummy
$ac_prog; ac_word
=$2
10834 echo "$as_me:$LINENO: checking for $ac_word" >&5
10835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10837 echo $ECHO_N "(cached) $ECHO_C" >&6
10839 if test -n "$ac_ct_CC"; then
10840 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10843 for as_dir
in $PATH
10846 test -z "$as_dir" && as_dir
=.
10847 for ac_exec_ext
in '' $ac_executable_extensions; do
10848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10849 ac_cv_prog_ac_ct_CC
="$ac_prog"
10850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10858 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10859 if test -n "$ac_ct_CC"; then
10860 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10861 echo "${ECHO_T}$ac_ct_CC" >&6
10863 echo "$as_me:$LINENO: result: no" >&5
10864 echo "${ECHO_T}no" >&6
10867 test -n "$ac_ct_CC" && break
10876 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10877 See \`config.log' for more details." >&5
10878 echo "$as_me: error: no acceptable C compiler found in \$PATH
10879 See \`config.log' for more details." >&2;}
10880 { (exit 1); exit 1; }; }
10882 # Provide some information about the compiler.
10883 echo "$as_me:$LINENO:" \
10884 "checking for C compiler version" >&5
10885 ac_compiler
=`set X $ac_compile; echo $2`
10886 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10887 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }
10891 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10892 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }
10896 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10897 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }
10902 cat >conftest.
$ac_ext <<_ACEOF
10905 cat confdefs.h
>>conftest.
$ac_ext
10906 cat >>conftest.
$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10917 ac_clean_files_save
=$ac_clean_files
10918 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10919 # Try to create an executable without -o first, disregard a.out.
10920 # It will help us diagnose broken compilers, and finding out an intuition
10922 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10923 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10924 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10925 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10926 (eval $ac_link_default) 2>&5
10928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10929 (exit $ac_status); }; then
10930 # Find the output, starting from the most likely. This scheme is
10931 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10934 # Be careful to initialize this variable, since it used to be cached.
10935 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10937 # b.out is created by i960 compilers.
10938 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10940 test -f "$ac_file" || continue
10942 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10945 # This is the source file.
10948 # We found the default executable, but exeext='' is most
10952 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10953 # FIXME: I believe we export ac_cv_exeext for Libtool,
10954 # but it would be cool to find out if it's true. Does anybody
10955 # maintain Libtool? --akim.
10956 export ac_cv_exeext
10963 echo "$as_me: failed program was:" >&5
10964 sed 's/^/| /' conftest.
$ac_ext >&5
10966 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10967 See \`config.log' for more details." >&5
10968 echo "$as_me: error: C compiler cannot create executables
10969 See \`config.log' for more details." >&2;}
10970 { (exit 77); exit 77; }; }
10973 ac_exeext
=$ac_cv_exeext
10974 echo "$as_me:$LINENO: result: $ac_file" >&5
10975 echo "${ECHO_T}$ac_file" >&6
10977 # Check the compiler produces executables we can run. If not, either
10978 # the compiler is broken, or we cross compile.
10979 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10980 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10981 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10982 # If not cross compiling, check that we can run a simple program.
10983 if test "$cross_compiling" != yes; then
10984 if { ac_try
='./$ac_file'
10985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10986 (eval $ac_try) 2>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); }; }; then
10992 if test "$cross_compiling" = maybe
; then
10993 cross_compiling
=yes
10995 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10996 If you meant to cross compile, use \`--host'.
10997 See \`config.log' for more details." >&5
10998 echo "$as_me: error: cannot run C compiled programs.
10999 If you meant to cross compile, use \`--host'.
11000 See \`config.log' for more details." >&2;}
11001 { (exit 1); exit 1; }; }
11005 echo "$as_me:$LINENO: result: yes" >&5
11006 echo "${ECHO_T}yes" >&6
11008 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11009 ac_clean_files
=$ac_clean_files_save
11010 # Check the compiler produces executables we can run. If not, either
11011 # the compiler is broken, or we cross compile.
11012 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11013 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11014 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11015 echo "${ECHO_T}$cross_compiling" >&6
11017 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11018 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11020 (eval $ac_link) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; then
11024 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11025 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11026 # work properly (i.e., refer to `conftest.exe'), while it won't with
11028 for ac_file
in conftest.exe conftest conftest.
*; do
11029 test -f "$ac_file" || continue
11031 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11032 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11033 export ac_cv_exeext
11039 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11040 See \`config.log' for more details." >&5
11041 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11042 See \`config.log' for more details." >&2;}
11043 { (exit 1); exit 1; }; }
11046 rm -f conftest
$ac_cv_exeext
11047 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11048 echo "${ECHO_T}$ac_cv_exeext" >&6
11050 rm -f conftest.
$ac_ext
11051 EXEEXT
=$ac_cv_exeext
11053 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11054 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11055 if test "${ac_cv_objext+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 cat >conftest.
$ac_ext <<_ACEOF
11061 cat confdefs.h
>>conftest.
$ac_ext
11062 cat >>conftest.
$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11073 rm -f conftest.o conftest.obj
11074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11075 (eval $ac_compile) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); }; then
11079 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11081 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11082 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.
$ac_ext >&5
11090 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11091 See \`config.log' for more details." >&5
11092 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11093 See \`config.log' for more details." >&2;}
11094 { (exit 1); exit 1; }; }
11097 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11099 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11100 echo "${ECHO_T}$ac_cv_objext" >&6
11101 OBJEXT
=$ac_cv_objext
11103 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11104 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11105 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 cat >conftest.
$ac_ext <<_ACEOF
11111 cat confdefs.h
>>conftest.
$ac_ext
11112 cat >>conftest.
$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11126 rm -f conftest.
$ac_objext
11127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11128 (eval $ac_compile) 2>conftest.er1
11130 grep -v '^ *+' conftest.er1
>conftest.err
11132 cat conftest.err
>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } &&
11135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } &&
11141 { ac_try
='test -s conftest.$ac_objext'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then
11147 ac_compiler_gnu
=yes
11149 echo "$as_me: failed program was:" >&5
11150 sed 's/^/| /' conftest.
$ac_ext >&5
11154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11155 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11158 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11159 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11160 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11161 ac_test_CFLAGS
=${CFLAGS+set}
11162 ac_save_CFLAGS
=$CFLAGS
11164 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11165 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11166 if test "${ac_cv_prog_cc_g+set}" = set; then
11167 echo $ECHO_N "(cached) $ECHO_C" >&6
11169 cat >conftest.
$ac_ext <<_ACEOF
11172 cat confdefs.h
>>conftest.
$ac_ext
11173 cat >>conftest.
$ac_ext <<_ACEOF
11174 /* end confdefs.h. */
11184 rm -f conftest.
$ac_objext
11185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11186 (eval $ac_compile) 2>conftest.er1
11188 grep -v '^ *+' conftest.er1
>conftest.err
11190 cat conftest.err
>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } &&
11193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; } &&
11199 { ac_try
='test -s conftest.$ac_objext'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 ac_cv_prog_cc_g
=yes
11207 echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.
$ac_ext >&5
11212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11214 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11215 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11216 if test "$ac_test_CFLAGS" = set; then
11217 CFLAGS
=$ac_save_CFLAGS
11218 elif test $ac_cv_prog_cc_g = yes; then
11219 if test "$GCC" = yes; then
11225 if test "$GCC" = yes; then
11231 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11232 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11233 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 ac_cv_prog_cc_stdc
=no
11238 cat >conftest.
$ac_ext <<_ACEOF
11241 cat confdefs.h
>>conftest.
$ac_ext
11242 cat >>conftest.
$ac_ext <<_ACEOF
11243 /* end confdefs.h. */
11244 #include <stdarg.h>
11246 #include <sys/types.h>
11247 #include <sys/stat.h>
11248 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11249 struct buf { int x; };
11250 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11251 static char *e (p, i)
11257 static char *f (char * (*g) (char **, int), char **p, ...)
11262 s = g (p, va_arg (v,int));
11267 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11268 function prototypes and stuff, but not '\xHH' hex character constants.
11269 These don't provoke an error unfortunately, instead are silently treated
11270 as 'x'. The following induces an error, until -std1 is added to get
11271 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11272 array size at least. It's necessary to write '\x00'==0 to get something
11273 that's true only with -std1. */
11274 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11276 int test (int i, double x);
11277 struct s1 {int (*f) (int a);};
11278 struct s2 {int (*f) (double a);};
11279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11285 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11290 # Don't try gcc -ansi; that turns off useful extensions and
11291 # breaks some systems' header files.
11292 # AIX -qlanglvl=ansi
11293 # Ultrix and OSF/1 -std1
11294 # HP-UX 10.20 and later -Ae
11295 # HP-UX older versions -Aa -D_HPUX_SOURCE
11296 # SVR4 -Xc -D__EXTENSIONS__
11297 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11299 CC
="$ac_save_CC $ac_arg"
11300 rm -f conftest.
$ac_objext
11301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11302 (eval $ac_compile) 2>conftest.er1
11304 grep -v '^ *+' conftest.er1
>conftest.err
11306 cat conftest.err
>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } &&
11309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11311 (eval $ac_try) 2>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; } &&
11315 { ac_try
='test -s conftest.$ac_objext'
11316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11317 (eval $ac_try) 2>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; }; then
11321 ac_cv_prog_cc_stdc
=$ac_arg
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.
$ac_ext >&5
11328 rm -f conftest.err conftest.
$ac_objext
11330 rm -f conftest.
$ac_ext conftest.
$ac_objext
11335 case "x$ac_cv_prog_cc_stdc" in
11337 echo "$as_me:$LINENO: result: none needed" >&5
11338 echo "${ECHO_T}none needed" >&6 ;;
11340 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11341 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11342 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11345 # Some people use a C++ compiler to compile C. Since we use `exit',
11346 # in C++ we need to declare it. In case someone uses the same compiler
11347 # for both compiling C and C++ we need to have the C++ compiler decide
11348 # the declaration of exit, since it's the most demanding environment.
11349 cat >conftest.
$ac_ext <<_ACEOF
11350 #ifndef __cplusplus
11354 rm -f conftest.
$ac_objext
11355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11356 (eval $ac_compile) 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } &&
11363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365 (eval $ac_try) 2>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); }; } &&
11369 { ac_try
='test -s conftest.$ac_objext'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; }; then
11375 for ac_declaration
in \
11377 'extern "C" void std::exit (int) throw (); using std::exit;' \
11378 'extern "C" void std::exit (int); using std::exit;' \
11379 'extern "C" void exit (int) throw ();' \
11380 'extern "C" void exit (int);' \
11383 cat >conftest.
$ac_ext <<_ACEOF
11386 cat confdefs.h
>>conftest.
$ac_ext
11387 cat >>conftest.
$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11390 #include <stdlib.h>
11399 rm -f conftest.
$ac_objext
11400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11401 (eval $ac_compile) 2>conftest.er1
11403 grep -v '^ *+' conftest.er1
>conftest.err
11405 cat conftest.err
>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); } &&
11408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; } &&
11414 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
11422 echo "$as_me: failed program was:" >&5
11423 sed 's/^/| /' conftest.
$ac_ext >&5
11427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11428 cat >conftest.
$ac_ext <<_ACEOF
11431 cat confdefs.h
>>conftest.
$ac_ext
11432 cat >>conftest.
$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11443 rm -f conftest.
$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11447 grep -v '^ *+' conftest.er1
>conftest.err
11449 cat conftest.err
>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try
='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.
$ac_ext >&5
11470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11473 if test -n "$ac_declaration"; then
11474 echo '#ifdef __cplusplus' >>confdefs.h
11475 echo $ac_declaration >>confdefs.h
11476 echo '#endif' >>confdefs.h
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.
$ac_ext >&5
11484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11486 ac_cpp
='$CPP $CPPFLAGS'
11487 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11488 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11489 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11491 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11492 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11493 if test "${wx_cv_c_exto+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 cat >conftest.
$ac_ext <<_ACEOF
11499 cat confdefs.h
>>conftest.
$ac_ext
11500 cat >>conftest.
$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11511 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11513 (eval $ac_compile) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; then
11517 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11519 conftest.
$ac_ext.o
)
11520 wx_cv_c_exto
="-ext o"
11527 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11528 See \`config.log' for more details." >&5
11529 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11530 See \`config.log' for more details." >&2;}
11531 { (exit 1); exit 1; }; }
11535 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11538 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11539 echo "${ECHO_T}$wx_cv_c_exto" >&6
11540 if test "x$wx_cv_c_exto" '!=' "x"; then
11541 if test "c" = "c"; then
11542 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11544 if test "c" = "cxx"; then
11545 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11549 if test "x$wx_cv_c_exto" '!=' "x"; then
11550 unset ac_cv_prog_cc_g
11551 ac_test_CFLAGS
=${CFLAGS+set}
11552 ac_save_CFLAGS
=$CFLAGS
11554 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11555 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11556 if test "${ac_cv_prog_cc_g+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11574 rm -f conftest.
$ac_objext
11575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11576 (eval $ac_compile) 2>conftest.er1
11578 grep -v '^ *+' conftest.er1
>conftest.err
11580 cat conftest.err
>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); } &&
11583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try
='test -s conftest.$ac_objext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 ac_cv_prog_cc_g
=yes
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.
$ac_ext >&5
11602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11605 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11606 if test "$ac_test_CFLAGS" = set; then
11607 CFLAGS
=$ac_save_CFLAGS
11608 elif test $ac_cv_prog_cc_g = yes; then
11609 if test "$GCC" = yes; then
11615 if test "$GCC" = yes; then
11624 ac_cpp
='$CPP $CPPFLAGS'
11625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11629 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11630 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11631 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11632 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 cat >conftest.
$ac_ext <<_ACEOF
11637 cat confdefs.h
>>conftest.
$ac_ext
11638 cat >>conftest.
$ac_ext <<_ACEOF
11639 /* end confdefs.h. */
11652 rm -f conftest.
$ac_objext
11653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11654 (eval $ac_compile) 2>conftest.er1
11656 grep -v '^ *+' conftest.er1
>conftest.err
11658 cat conftest.err
>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); } &&
11661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; } &&
11667 { ac_try
='test -s conftest.$ac_objext'
11668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11669 (eval $ac_try) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 bakefile_compiler_mwerks
=yes
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 bakefile_compiler_mwerks
=no
11680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11681 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11684 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11685 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11687 MWCC
=`test $bakefile_compiler_mwerks = yes && echo yes`
11689 ac_cpp
='$CPP $CPPFLAGS'
11690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11696 ac_cpp
='$CPP $CPPFLAGS'
11697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11701 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11702 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11703 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11704 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 cat >conftest.
$ac_ext <<_ACEOF
11709 cat confdefs.h
>>conftest.
$ac_ext
11710 cat >>conftest.
$ac_ext <<_ACEOF
11711 /* end confdefs.h. */
11724 rm -f conftest.
$ac_objext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11726 (eval $ac_compile) 2>conftest.er1
11728 grep -v '^ *+' conftest.er1
>conftest.err
11730 cat conftest.err
>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try
='test -s conftest.$ac_objext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 wx_compiler_xlc
=yes
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.
$ac_ext >&5
11752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11753 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11756 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11757 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11759 XLCC
=`test $wx_compiler_xlc = yes && echo yes`
11761 ac_cpp
='$CPP $CPPFLAGS'
11762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11769 ac_cpp
='$CPP $CPPFLAGS'
11770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11773 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11774 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11775 # On Suns, sometimes $CPP names a directory.
11776 if test -n "$CPP" && test -d "$CPP"; then
11779 if test -z "$CPP"; then
11780 if test "${ac_cv_prog_CPP+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 # Double quotes because CPP needs to be expanded
11784 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11786 ac_preproc_ok
=false
11787 for ac_c_preproc_warn_flag
in '' yes
11789 # Use a header file that comes with gcc, so configuring glibc
11790 # with a fresh cross-compiler works.
11791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11792 # <limits.h> exists even on freestanding compilers.
11793 # On the NeXT, cc -E runs the code through the compiler's parser,
11794 # not just through cpp. "Syntax error" is here to catch this case.
11795 cat >conftest.
$ac_ext <<_ACEOF
11798 cat confdefs.h
>>conftest.
$ac_ext
11799 cat >>conftest.
$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11802 # include <limits.h>
11804 # include <assert.h>
11808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11811 grep -v '^ *+' conftest.er1
>conftest.err
11813 cat conftest.err
>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } >/dev
/null
; then
11816 if test -s conftest.err
; then
11817 ac_cpp_err
=$ac_c_preproc_warn_flag
11818 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11825 if test -z "$ac_cpp_err"; then
11828 echo "$as_me: failed program was:" >&5
11829 sed 's/^/| /' conftest.
$ac_ext >&5
11831 # Broken: fails on valid input.
11834 rm -f conftest.err conftest.
$ac_ext
11836 # OK, works on sane cases. Now check whether non-existent headers
11837 # can be detected and how.
11838 cat >conftest.
$ac_ext <<_ACEOF
11841 cat confdefs.h
>>conftest.
$ac_ext
11842 cat >>conftest.
$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844 #include <ac_nonexistent.h>
11846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11849 grep -v '^ *+' conftest.er1
>conftest.err
11851 cat conftest.err
>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } >/dev
/null
; then
11854 if test -s conftest.err
; then
11855 ac_cpp_err
=$ac_c_preproc_warn_flag
11856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11863 if test -z "$ac_cpp_err"; then
11864 # Broken: success on invalid input.
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.
$ac_ext >&5
11870 # Passes both tests.
11874 rm -f conftest.err conftest.
$ac_ext
11877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11878 rm -f conftest.err conftest.
$ac_ext
11879 if $ac_preproc_ok; then
11884 ac_cv_prog_CPP
=$CPP
11887 CPP
=$ac_cv_prog_CPP
11889 ac_cv_prog_CPP
=$CPP
11891 echo "$as_me:$LINENO: result: $CPP" >&5
11892 echo "${ECHO_T}$CPP" >&6
11893 ac_preproc_ok
=false
11894 for ac_c_preproc_warn_flag
in '' yes
11896 # Use a header file that comes with gcc, so configuring glibc
11897 # with a fresh cross-compiler works.
11898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11899 # <limits.h> exists even on freestanding compilers.
11900 # On the NeXT, cc -E runs the code through the compiler's parser,
11901 # not just through cpp. "Syntax error" is here to catch this case.
11902 cat >conftest.
$ac_ext <<_ACEOF
11905 cat confdefs.h
>>conftest.
$ac_ext
11906 cat >>conftest.
$ac_ext <<_ACEOF
11907 /* end confdefs.h. */
11909 # include <limits.h>
11911 # include <assert.h>
11915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11918 grep -v '^ *+' conftest.er1
>conftest.err
11920 cat conftest.err
>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } >/dev
/null
; then
11923 if test -s conftest.err
; then
11924 ac_cpp_err
=$ac_c_preproc_warn_flag
11925 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11932 if test -z "$ac_cpp_err"; then
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.
$ac_ext >&5
11938 # Broken: fails on valid input.
11941 rm -f conftest.err conftest.
$ac_ext
11943 # OK, works on sane cases. Now check whether non-existent headers
11944 # can be detected and how.
11945 cat >conftest.
$ac_ext <<_ACEOF
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 #include <ac_nonexistent.h>
11953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } >/dev
/null
; then
11961 if test -s conftest.err
; then
11962 ac_cpp_err
=$ac_c_preproc_warn_flag
11963 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11970 if test -z "$ac_cpp_err"; then
11971 # Broken: success on invalid input.
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.
$ac_ext >&5
11977 # Passes both tests.
11981 rm -f conftest.err conftest.
$ac_ext
11984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11985 rm -f conftest.err conftest.
$ac_ext
11986 if $ac_preproc_ok; then
11989 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11990 See \`config.log' for more details." >&5
11991 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11992 See \`config.log' for more details." >&2;}
11993 { (exit 1); exit 1; }; }
11997 ac_cpp
='$CPP $CPPFLAGS'
11998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12003 echo "$as_me:$LINENO: checking for egrep" >&5
12004 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12005 if test "${ac_cv_prog_egrep+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12009 then ac_cv_prog_egrep
='grep -E'
12010 else ac_cv_prog_egrep
='egrep'
12013 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12014 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12015 EGREP
=$ac_cv_prog_egrep
12018 if test $ac_cv_c_compiler_gnu = yes; then
12019 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12020 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12021 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 ac_pattern
="Autoconf.*'x'"
12025 cat >conftest.
$ac_ext <<_ACEOF
12028 cat confdefs.h
>>conftest.
$ac_ext
12029 cat >>conftest.
$ac_ext <<_ACEOF
12030 /* end confdefs.h. */
12034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12035 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12036 ac_cv_prog_gcc_traditional
=yes
12038 ac_cv_prog_gcc_traditional
=no
12043 if test $ac_cv_prog_gcc_traditional = no
; then
12044 cat >conftest.
$ac_ext <<_ACEOF
12047 cat confdefs.h
>>conftest.
$ac_ext
12048 cat >>conftest.
$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12050 #include <termio.h>
12053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12054 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12055 ac_cv_prog_gcc_traditional
=yes
12061 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12062 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12063 if test $ac_cv_prog_gcc_traditional = yes; then
12064 CC
="$CC -traditional"
12072 ac_cpp
='$CXXCPP $CPPFLAGS'
12073 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12074 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12075 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12078 CXXFLAGS
=${CXXFLAGS:=}
12080 ac_cpp
='$CXXCPP $CPPFLAGS'
12081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12084 if test -n "$ac_tool_prefix"; then
12085 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12088 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12089 echo "$as_me:$LINENO: checking for $ac_word" >&5
12090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12091 if test "${ac_cv_prog_CXX+set}" = set; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 if test -n "$CXX"; then
12095 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12098 for as_dir
in $PATH
12101 test -z "$as_dir" && as_dir
=.
12102 for ac_exec_ext
in '' $ac_executable_extensions; do
12103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12104 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12113 CXX
=$ac_cv_prog_CXX
12114 if test -n "$CXX"; then
12115 echo "$as_me:$LINENO: result: $CXX" >&5
12116 echo "${ECHO_T}$CXX" >&6
12118 echo "$as_me:$LINENO: result: no" >&5
12119 echo "${ECHO_T}no" >&6
12122 test -n "$CXX" && break
12125 if test -z "$CXX"; then
12127 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12129 # Extract the first word of "$ac_prog", so it can be a program name with args.
12130 set dummy
$ac_prog; ac_word
=$2
12131 echo "$as_me:$LINENO: checking for $ac_word" >&5
12132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12133 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 if test -n "$ac_ct_CXX"; then
12137 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12140 for as_dir
in $PATH
12143 test -z "$as_dir" && as_dir
=.
12144 for ac_exec_ext
in '' $ac_executable_extensions; do
12145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12146 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12155 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12156 if test -n "$ac_ct_CXX"; then
12157 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12158 echo "${ECHO_T}$ac_ct_CXX" >&6
12160 echo "$as_me:$LINENO: result: no" >&5
12161 echo "${ECHO_T}no" >&6
12164 test -n "$ac_ct_CXX" && break
12166 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12172 # Provide some information about the compiler.
12173 echo "$as_me:$LINENO:" \
12174 "checking for C++ compiler version" >&5
12175 ac_compiler
=`set X $ac_compile; echo $2`
12176 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12177 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }
12181 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12182 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12185 (exit $ac_status); }
12186 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12187 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); }
12192 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12193 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12194 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 cat >conftest.
$ac_ext <<_ACEOF
12200 cat confdefs.h
>>conftest.
$ac_ext
12201 cat >>conftest.
$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12215 rm -f conftest.
$ac_objext
12216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12217 (eval $ac_compile) 2>conftest.er1
12219 grep -v '^ *+' conftest.er1
>conftest.err
12221 cat conftest.err
>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } &&
12224 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; } &&
12230 { ac_try
='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 ac_compiler_gnu
=yes
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.
$ac_ext >&5
12243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12244 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12247 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12248 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12249 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12250 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12251 ac_save_CXXFLAGS
=$CXXFLAGS
12253 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12254 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12255 if test "${ac_cv_prog_cxx_g+set}" = set; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12258 cat >conftest.
$ac_ext <<_ACEOF
12261 cat confdefs.h
>>conftest.
$ac_ext
12262 cat >>conftest.
$ac_ext <<_ACEOF
12263 /* 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" || test ! -s conftest.err'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; } &&
12288 { ac_try
='test -s conftest.$ac_objext'
12289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12290 (eval $ac_try) 2>&5
12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12293 (exit $ac_status); }; }; then
12294 ac_cv_prog_cxx_g
=yes
12296 echo "$as_me: failed program was:" >&5
12297 sed 's/^/| /' conftest.
$ac_ext >&5
12299 ac_cv_prog_cxx_g
=no
12301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12303 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12304 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12305 if test "$ac_test_CXXFLAGS" = set; then
12306 CXXFLAGS
=$ac_save_CXXFLAGS
12307 elif test $ac_cv_prog_cxx_g = yes; then
12308 if test "$GXX" = yes; then
12314 if test "$GXX" = yes; then
12320 for ac_declaration
in \
12322 'extern "C" void std::exit (int) throw (); using std::exit;' \
12323 'extern "C" void std::exit (int); using std::exit;' \
12324 'extern "C" void exit (int) throw ();' \
12325 'extern "C" void exit (int);' \
12328 cat >conftest.
$ac_ext <<_ACEOF
12331 cat confdefs.h
>>conftest.
$ac_ext
12332 cat >>conftest.
$ac_ext <<_ACEOF
12333 /* end confdefs.h. */
12335 #include <stdlib.h>
12344 rm -f conftest.
$ac_objext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12346 (eval $ac_compile) 2>conftest.er1
12348 grep -v '^ *+' conftest.er1
>conftest.err
12350 cat conftest.err
>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); } &&
12353 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; } &&
12359 { ac_try
='test -s conftest.$ac_objext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.
$ac_ext >&5
12372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12373 cat >conftest.
$ac_ext <<_ACEOF
12376 cat confdefs.h
>>conftest.
$ac_ext
12377 cat >>conftest.
$ac_ext <<_ACEOF
12378 /* end confdefs.h. */
12388 rm -f conftest.
$ac_objext
12389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12390 (eval $ac_compile) 2>conftest.er1
12392 grep -v '^ *+' conftest.er1
>conftest.err
12394 cat conftest.err
>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } &&
12397 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try
='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.
$ac_ext >&5
12415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12418 if test -n "$ac_declaration"; then
12419 echo '#ifdef __cplusplus' >>confdefs.h
12420 echo $ac_declaration >>confdefs.h
12421 echo '#endif' >>confdefs.h
12425 ac_cpp
='$CXXCPP $CPPFLAGS'
12426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12430 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12431 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12432 if test "${wx_cv_cxx_exto+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12435 cat >conftest.
$ac_ext <<_ACEOF
12438 cat confdefs.h
>>conftest.
$ac_ext
12439 cat >>conftest.
$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12450 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12452 (eval $ac_compile) 2>&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); }; then
12456 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12458 conftest.
$ac_ext.o
)
12459 wx_cv_cxx_exto
="-ext o"
12466 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12467 See \`config.log' for more details." >&5
12468 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12469 See \`config.log' for more details." >&2;}
12470 { (exit 1); exit 1; }; }
12474 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12477 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12478 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12479 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12480 if test "cxx" = "c"; then
12481 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12483 if test "cxx" = "cxx"; then
12484 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12488 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12489 unset ac_cv_prog_cxx_g
12490 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12491 ac_save_CXXFLAGS
=$CXXFLAGS
12493 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12494 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12495 if test "${ac_cv_prog_cxx_g+set}" = set; then
12496 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 cat >conftest.
$ac_ext <<_ACEOF
12501 cat confdefs.h
>>conftest.
$ac_ext
12502 cat >>conftest.
$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12513 rm -f conftest.
$ac_objext
12514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12515 (eval $ac_compile) 2>conftest.er1
12517 grep -v '^ *+' conftest.er1
>conftest.err
12519 cat conftest.err
>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); } &&
12522 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12524 (eval $ac_try) 2>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); }; } &&
12528 { ac_try
='test -s conftest.$ac_objext'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; }; then
12534 ac_cv_prog_cxx_g
=yes
12536 echo "$as_me: failed program was:" >&5
12537 sed 's/^/| /' conftest.
$ac_ext >&5
12539 ac_cv_prog_cxx_g
=no
12541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12543 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12544 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12545 if test "$ac_test_CXXFLAGS" = set; then
12546 CXXFLAGS
=$ac_save_CXXFLAGS
12547 elif test $ac_cv_prog_cxx_g = yes; then
12548 if test "$GXX" = yes; then
12554 if test "$GXX" = yes; then
12563 ac_cpp
='$CXXCPP $CPPFLAGS'
12564 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12565 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12566 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12568 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12569 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12570 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12571 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 cat >conftest.
$ac_ext <<_ACEOF
12576 cat confdefs.h
>>conftest.
$ac_ext
12577 cat >>conftest.
$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12591 rm -f conftest.
$ac_objext
12592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12593 (eval $ac_compile) 2>conftest.er1
12595 grep -v '^ *+' conftest.er1
>conftest.err
12597 cat conftest.err
>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } &&
12600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; } &&
12606 { ac_try
='test -s conftest.$ac_objext'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12612 bakefile_compiler_mwerks
=yes
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 bakefile_compiler_mwerks
=no
12619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12620 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12623 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12624 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12626 MWCXX
=`test $bakefile_compiler_mwerks = yes && echo yes`
12628 ac_cpp
='$CXXCPP $CPPFLAGS'
12629 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12630 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12631 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12635 ac_cpp
='$CXXCPP $CPPFLAGS'
12636 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12637 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12638 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12640 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12641 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12642 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12643 echo $ECHO_N "(cached) $ECHO_C" >&6
12645 cat >conftest.
$ac_ext <<_ACEOF
12648 cat confdefs.h
>>conftest.
$ac_ext
12649 cat >>conftest.
$ac_ext <<_ACEOF
12650 /* end confdefs.h. */
12663 rm -f conftest.
$ac_objext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12665 (eval $ac_compile) 2>conftest.er1
12667 grep -v '^ *+' conftest.er1
>conftest.err
12669 cat conftest.err
>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; } &&
12678 { ac_try
='test -s conftest.$ac_objext'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 wx_compiler_xlc
=yes
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.
$ac_ext >&5
12691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12692 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12695 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12696 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12698 XLCXX
=`test $wx_compiler_xlc = yes && echo yes`
12700 ac_cpp
='$CXXCPP $CPPFLAGS'
12701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12708 ac_cpp
='$CPP $CPPFLAGS'
12709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12714 if test -n "$ac_tool_prefix"; then
12715 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12716 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12717 echo "$as_me:$LINENO: checking for $ac_word" >&5
12718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12719 if test "${ac_cv_prog_RANLIB+set}" = set; then
12720 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 if test -n "$RANLIB"; then
12723 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12726 for as_dir
in $PATH
12729 test -z "$as_dir" && as_dir
=.
12730 for ac_exec_ext
in '' $ac_executable_extensions; do
12731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12732 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12741 RANLIB
=$ac_cv_prog_RANLIB
12742 if test -n "$RANLIB"; then
12743 echo "$as_me:$LINENO: result: $RANLIB" >&5
12744 echo "${ECHO_T}$RANLIB" >&6
12746 echo "$as_me:$LINENO: result: no" >&5
12747 echo "${ECHO_T}no" >&6
12751 if test -z "$ac_cv_prog_RANLIB"; then
12752 ac_ct_RANLIB
=$RANLIB
12753 # Extract the first word of "ranlib", so it can be a program name with args.
12754 set dummy ranlib
; ac_word
=$2
12755 echo "$as_me:$LINENO: checking for $ac_word" >&5
12756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12757 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12760 if test -n "$ac_ct_RANLIB"; then
12761 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12764 for as_dir
in $PATH
12767 test -z "$as_dir" && as_dir
=.
12768 for ac_exec_ext
in '' $ac_executable_extensions; do
12769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12770 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12777 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12780 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12781 if test -n "$ac_ct_RANLIB"; then
12782 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12783 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12785 echo "$as_me:$LINENO: result: no" >&5
12786 echo "${ECHO_T}no" >&6
12789 RANLIB
=$ac_ct_RANLIB
12791 RANLIB
="$ac_cv_prog_RANLIB"
12795 # Extract the first word of "ar", so it can be a program name with args.
12796 set dummy
ar; ac_word
=$2
12797 echo "$as_me:$LINENO: checking for $ac_word" >&5
12798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12799 if test "${ac_cv_prog_AR+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 if test -n "$AR"; then
12803 ac_cv_prog_AR
="$AR" # Let the user override the test.
12805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12806 for as_dir
in $PATH
12809 test -z "$as_dir" && as_dir
=.
12810 for ac_exec_ext
in '' $ac_executable_extensions; do
12811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12822 if test -n "$AR"; then
12823 echo "$as_me:$LINENO: result: $AR" >&5
12824 echo "${ECHO_T}$AR" >&6
12826 echo "$as_me:$LINENO: result: no" >&5
12827 echo "${ECHO_T}no" >&6
12830 if test "x$AR" = "x" ; then
12831 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12832 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12833 { (exit 1); exit 1; }; }
12836 # Find a good install program. We prefer a C program (faster),
12837 # so one script is as good as another. But avoid the broken or
12838 # incompatible versions:
12839 # SysV /etc/install, /usr/sbin/install
12840 # SunOS /usr/etc/install
12841 # IRIX /sbin/install
12843 # AmigaOS /C/install, which installs bootblocks on floppy discs
12844 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12845 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12846 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12847 # OS/2's system install, which has a completely different semantic
12848 # ./install, which can be erroneously created by make from ./install.sh.
12849 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12850 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12851 if test -z "$INSTALL"; then
12852 if test "${ac_cv_path_install+set}" = set; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12856 for as_dir
in $PATH
12859 test -z "$as_dir" && as_dir
=.
12860 # Account for people who put trailing slashes in PATH elements.
12862 .
/ | .
// | /cC
/* | \
12863 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12864 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12867 # OSF1 and SCO ODT 3.0 have their own names for install.
12868 # Don't use installbsd from OSF since it installs stuff as root
12870 for ac_prog
in ginstall scoinst
install; do
12871 for ac_exec_ext
in '' $ac_executable_extensions; do
12872 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12873 if test $ac_prog = install &&
12874 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12875 # AIX install. It has an incompatible calling convention.
12877 elif test $ac_prog = install &&
12878 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12879 # program-specific install script used by HP pwplus--don't use.
12882 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12894 if test "${ac_cv_path_install+set}" = set; then
12895 INSTALL
=$ac_cv_path_install
12897 # As a last resort, use the slow shell script. We don't cache a
12898 # path for INSTALL within a source directory, because that will
12899 # break other packages using the cache if that directory is
12900 # removed, or if the path is relative.
12901 INSTALL
=$ac_install_sh
12904 echo "$as_me:$LINENO: result: $INSTALL" >&5
12905 echo "${ECHO_T}$INSTALL" >&6
12907 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12908 # It thinks the first close brace ends the variable substitution.
12909 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12911 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12913 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12919 ?
:* ) # Drive letter, considered as absolute.
12922 INSTALL
=`pwd`/${INSTALL} ;;
12928 powerpc
-*-darwin* )
12929 INSTALL_PROGRAM
="cp -fp"
12930 INSTALL_DATA
="cp -fp"
12936 # Extract the first word of "strip", so it can be a program name with args.
12937 set dummy strip
; ac_word
=$2
12938 echo "$as_me:$LINENO: checking for $ac_word" >&5
12939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12940 if test "${ac_cv_prog_STRIP+set}" = set; then
12941 echo $ECHO_N "(cached) $ECHO_C" >&6
12943 if test -n "$STRIP"; then
12944 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12947 for as_dir
in $PATH
12950 test -z "$as_dir" && as_dir
=.
12951 for ac_exec_ext
in '' $ac_executable_extensions; do
12952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12953 ac_cv_prog_STRIP
="strip"
12954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12960 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12963 STRIP
=$ac_cv_prog_STRIP
12964 if test -n "$STRIP"; then
12965 echo "$as_me:$LINENO: result: $STRIP" >&5
12966 echo "${ECHO_T}$STRIP" >&6
12968 echo "$as_me:$LINENO: result: no" >&5
12969 echo "${ECHO_T}no" >&6
12973 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12974 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12975 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12980 egrep -s GNU
> /dev
/null
); then
12981 wx_cv_prog_makeisgnu
="yes"
12983 wx_cv_prog_makeisgnu
="no"
12987 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12988 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12990 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12998 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12999 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13000 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13001 if test "${wx_cv_prog_makevpath+set}" = set; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 cat - << EOF > confMake
13011 if test ! -d sub
; then
13014 echo dummy
> sub
/file
13015 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13017 rm -f sub
/file check final_file confMake
13019 if test "$RESULT" = 0; then
13020 wx_cv_prog_makevpath
="yes"
13022 wx_cv_prog_makevpath
="no"
13026 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13027 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13029 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13030 { { echo "$as_me:$LINENO: error:
13031 You need a make-utility that is able to use the variable
13033 If your version of make does not support VPATH correctly,
13034 please install GNU-make (possibly as gmake), and start
13035 configure with the following command:
13036 export MAKE=gmake; ./configure for sh-type shells
13037 setenv MAKE gmake; ./configure for csh-type shells
13038 Also please do remember to use gmake in this case every time
13039 you are trying to compile.
13041 echo "$as_me: error:
13042 You need a make-utility that is able to use the variable
13044 If your version of make does not support VPATH correctly,
13045 please install GNU-make (possibly as gmake), and start
13046 configure with the following command:
13047 export MAKE=gmake; ./configure for sh-type shells
13048 setenv MAKE gmake; ./configure for csh-type shells
13049 Also please do remember to use gmake in this case every time
13050 you are trying to compile.
13052 { (exit 1); exit 1; }; }
13054 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13055 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13057 if test "$LN_S" = "ln -s"; then
13058 echo "$as_me:$LINENO: result: yes" >&5
13059 echo "${ECHO_T}yes" >&6
13061 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13062 echo "${ECHO_T}no, using $LN_S" >&6
13067 if test "x$XLCXX" = "xyes"; then
13068 CXXFLAGS
="$CXXFLAGS -qunique"
13073 powerpc
-*-darwin* )
13074 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13075 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13076 cat >conftest.
$ac_ext <<_ACEOF
13079 cat confdefs.h
>>conftest.
$ac_ext
13080 cat >>conftest.
$ac_ext <<_ACEOF
13081 /* end confdefs.h. */
13086 #ifndef __POWERPC__
13087 choke me for lack of PowerPC
13094 rm -f conftest.
$ac_objext
13095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13096 (eval $ac_compile) 2>conftest.er1
13098 grep -v '^ *+' conftest.er1
>conftest.err
13100 cat conftest.err
>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } &&
13103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; } &&
13109 { ac_try
='test -s conftest.$ac_objext'
13110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111 (eval $ac_try) 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); }; }; then
13115 echo "$as_me:$LINENO: result: yes" >&5
13116 echo "${ECHO_T}yes" >&6
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.
$ac_ext >&5
13121 echo "$as_me:$LINENO: result: no" >&5
13122 echo "${ECHO_T}no" >&6
13123 cat >>confdefs.h
<<\_ACEOF
13124 #define __POWERPC__ 1
13129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13130 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13131 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13132 cat >conftest.
$ac_ext <<_ACEOF
13135 cat confdefs.h
>>conftest.
$ac_ext
13136 cat >>conftest.
$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13138 #include <CoreFoundation/CFBase.h>
13148 rm -f conftest.
$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13152 grep -v '^ *+' conftest.er1
>conftest.err
13154 cat conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try
='test -s conftest.$ac_objext'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; }; then
13169 echo "$as_me:$LINENO: result: yes" >&5
13170 echo "${ECHO_T}yes" >&6
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.
$ac_ext >&5
13175 echo "$as_me:$LINENO: result: no" >&5
13176 echo "${ECHO_T}no" >&6
13177 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13178 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13179 cat >conftest.
$ac_ext <<_ACEOF
13182 cat confdefs.h
>>conftest.
$ac_ext
13183 cat >>conftest.
$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #define __CF_USE_FRAMEWORK_INCLUDES__
13186 #include <CoreFoundation/CFBase.h>
13196 rm -f conftest.
$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } &&
13205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; } &&
13211 { ac_try
='test -s conftest.$ac_objext'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; }; then
13217 echo "$as_me:$LINENO: result: yes" >&5
13218 echo "${ECHO_T}yes" >&6
13219 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.
$ac_ext >&5
13224 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13225 See \`config.log' for more details." >&5
13226 echo "$as_me: error: no. CoreFoundation not available.
13227 See \`config.log' for more details." >&2;}
13228 { (exit 1); exit 1; }; }
13231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13240 *-pc-os2_emx | *-pc-os2-emx )
13241 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13242 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13243 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13244 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13247 ac_check_lib_save_LIBS
=$LIBS
13248 LIBS
="-lcExt $LIBS"
13249 cat >conftest.
$ac_ext <<_ACEOF
13252 cat confdefs.h
>>conftest.
$ac_ext
13253 cat >>conftest.
$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13256 /* Override any gcc2 internal prototype to avoid an error. */
13260 /* We use char because int might match the return type of a gcc2
13261 builtin and then its argument prototype would still apply. */
13271 rm -f conftest.
$ac_objext conftest
$ac_exeext
13272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13273 (eval $ac_link) 2>conftest.er1
13275 grep -v '^ *+' conftest.er1
>conftest.err
13277 cat conftest.err
>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); } &&
13280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13282 (eval $ac_try) 2>&5
13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 (exit $ac_status); }; } &&
13286 { ac_try
='test -s conftest$ac_exeext'
13287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288 (eval $ac_try) 2>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); }; }; then
13292 ac_cv_lib_cExt_drand48
=yes
13294 echo "$as_me: failed program was:" >&5
13295 sed 's/^/| /' conftest.
$ac_ext >&5
13297 ac_cv_lib_cExt_drand48
=no
13299 rm -f conftest.err conftest.
$ac_objext \
13300 conftest
$ac_exeext conftest.
$ac_ext
13301 LIBS
=$ac_check_lib_save_LIBS
13303 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13304 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13305 if test $ac_cv_lib_cExt_drand48 = yes; then
13306 LIBS
="$LIBS -lcExt"
13310 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13312 echo "$as_me:$LINENO: checking for gcc version" >&5
13313 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
13314 if test "${wx_cv_gccversion+set}" = set; then
13315 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 if test "$cross_compiling" = yes; then
13319 wx_cv_gccversion
="EMX2"
13322 cat >conftest.
$ac_ext <<_ACEOF
13325 cat confdefs.h
>>conftest.
$ac_ext
13326 cat >>conftest.
$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13333 FILE *f=fopen("conftestval", "w");
13338 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13340 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13350 rm -f conftest
$ac_exeext
13351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13352 (eval $ac_link) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } && { ac_try
='./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 wx_cv_gccversion
=`cat conftestval`
13363 echo "$as_me: program exited with status $ac_status" >&5
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.
$ac_ext >&5
13367 ( exit $ac_status )
13368 wx_cv_gccversion
="EMX2"
13370 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13374 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13375 echo "${ECHO_T}$wx_cv_gccversion" >&6
13376 if test "$wx_cv_gccversion" = "EMX2"; then
13377 LIBS
="$LIBS -lstdcpp"
13378 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13380 if test "$wx_cv_gccversion" = "EMX3"; then
13381 LIBS
="$LIBS -lstdcxx"
13382 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13384 LIBS
="$LIBS -lstdc++"
13387 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13388 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13389 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13393 if test "$wxUSE_OMF" = "yes"; then
13394 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK -Zlinker /PMTYPE:PM"
13402 ac_cpp
='$CXXCPP $CPPFLAGS'
13403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13408 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13409 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13410 if test "${ac_cv_string_strcasecmp+set}" = set; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 cat >conftest.
$ac_ext <<_ACEOF
13417 cat confdefs.h
>>conftest.
$ac_ext
13418 cat >>conftest.
$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13421 #include <string.h>
13427 strcasecmp("foo", "bar");
13433 rm -f conftest.
$ac_objext conftest
$ac_exeext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435 (eval $ac_link) 2>conftest.er1
13437 grep -v '^ *+' conftest.er1
>conftest.err
13439 cat conftest.err
>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); } &&
13442 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13444 (eval $ac_try) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); }; } &&
13448 { ac_try
='test -s conftest$ac_exeext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 ac_cv_string_strcasecmp
=yes
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13459 ac_cv_string_strcasecmp
=no
13462 rm -f conftest.err conftest.
$ac_objext \
13463 conftest
$ac_exeext conftest.
$ac_ext
13466 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13467 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13469 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13470 cat >>confdefs.h
<<\_ACEOF
13471 #define HAVE_STRCASECMP_IN_STRING_H 1
13475 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13476 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13477 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13478 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 cat >conftest.
$ac_ext <<_ACEOF
13484 cat confdefs.h
>>conftest.
$ac_ext
13485 cat >>conftest.
$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13488 #include <strings.h>
13494 strcasecmp("foo", "bar");
13500 rm -f conftest.
$ac_objext conftest
$ac_exeext
13501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13502 (eval $ac_link) 2>conftest.er1
13504 grep -v '^ *+' conftest.er1
>conftest.err
13506 cat conftest.err
>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } &&
13509 { ac_try
='test -z "$ac_cxx_werror_flag" || 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_strings_strcasecmp
=yes
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.
$ac_ext >&5
13526 ac_cv_strings_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_strings_strcasecmp" >&5
13534 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13536 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13537 cat >>confdefs.h
<<\_ACEOF
13538 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13542 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13543 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13544 { (exit 1); exit 1; }; }
13549 ac_cpp
='$CPP $CPPFLAGS'
13550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13558 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13559 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13560 if test "${ac_cv_header_stdc+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 cat >conftest.
$ac_ext <<_ACEOF
13566 cat confdefs.h
>>conftest.
$ac_ext
13567 cat >>conftest.
$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13569 #include <stdlib.h>
13570 #include <stdarg.h>
13571 #include <string.h>
13582 rm -f conftest.
$ac_objext
13583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13584 (eval $ac_compile) 2>conftest.er1
13586 grep -v '^ *+' conftest.er1
>conftest.err
13588 cat conftest.err
>&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); } &&
13591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 (eval $ac_try) 2>&5
13595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 (exit $ac_status); }; } &&
13597 { ac_try
='test -s conftest.$ac_objext'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; }; then
13603 ac_cv_header_stdc
=yes
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.
$ac_ext >&5
13608 ac_cv_header_stdc
=no
13610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13612 if test $ac_cv_header_stdc = yes; then
13613 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13614 cat >conftest.
$ac_ext <<_ACEOF
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620 #include <string.h>
13623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13624 $EGREP "memchr" >/dev
/null
2>&1; then
13627 ac_cv_header_stdc
=no
13633 if test $ac_cv_header_stdc = yes; then
13634 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13635 cat >conftest.
$ac_ext <<_ACEOF
13638 cat confdefs.h
>>conftest.
$ac_ext
13639 cat >>conftest.
$ac_ext <<_ACEOF
13640 /* end confdefs.h. */
13641 #include <stdlib.h>
13644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13645 $EGREP "free" >/dev
/null
2>&1; then
13648 ac_cv_header_stdc
=no
13654 if test $ac_cv_header_stdc = yes; then
13655 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13656 if test "$cross_compiling" = yes; then
13659 cat >conftest.
$ac_ext <<_ACEOF
13662 cat confdefs.h
>>conftest.
$ac_ext
13663 cat >>conftest.
$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13666 #if ((' ' & 0x0FF) == 0x020)
13667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13670 # define ISLOWER(c) \
13671 (('a' <= (c) && (c) <= 'i') \
13672 || ('j' <= (c) && (c) <= 'r') \
13673 || ('s' <= (c) && (c) <= 'z'))
13674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13682 for (i = 0; i < 256; i++)
13683 if (XOR (islower (i), ISLOWER (i))
13684 || toupper (i) != TOUPPER (i))
13689 rm -f conftest
$ac_exeext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13691 (eval $ac_link) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; }; then
13702 echo "$as_me: program exited with status $ac_status" >&5
13703 echo "$as_me: failed program was:" >&5
13704 sed 's/^/| /' conftest.
$ac_ext >&5
13706 ( exit $ac_status )
13707 ac_cv_header_stdc
=no
13709 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13713 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13714 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13715 if test $ac_cv_header_stdc = yes; then
13717 cat >>confdefs.h
<<\_ACEOF
13718 #define STDC_HEADERS 1
13723 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13733 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13734 inttypes.h stdint.h unistd.h
13736 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13737 echo "$as_me:$LINENO: checking for $ac_header" >&5
13738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13742 cat >conftest.
$ac_ext <<_ACEOF
13745 cat confdefs.h
>>conftest.
$ac_ext
13746 cat >>conftest.
$ac_ext <<_ACEOF
13747 /* end confdefs.h. */
13748 $ac_includes_default
13750 #include <$ac_header>
13752 rm -f conftest.
$ac_objext
13753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13754 (eval $ac_compile) 2>conftest.er1
13756 grep -v '^ *+' conftest.er1
>conftest.err
13758 cat conftest.err
>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); } &&
13761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; } &&
13767 { ac_try
='test -s conftest.$ac_objext'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; }; then
13773 eval "$as_ac_Header=yes"
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.
$ac_ext >&5
13778 eval "$as_ac_Header=no"
13780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13785 cat >>confdefs.h
<<_ACEOF
13786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13795 for ac_header
in stdlib.h
13797 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13799 echo "$as_me:$LINENO: checking for $ac_header" >&5
13800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13807 # Is the header compilable?
13808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13810 cat >conftest.
$ac_ext <<_ACEOF
13813 cat confdefs.h
>>conftest.
$ac_ext
13814 cat >>conftest.
$ac_ext <<_ACEOF
13815 /* end confdefs.h. */
13816 $ac_includes_default
13817 #include <$ac_header>
13819 rm -f conftest.
$ac_objext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13821 (eval $ac_compile) 2>conftest.er1
13823 grep -v '^ *+' conftest.er1
>conftest.err
13825 cat conftest.err
>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; } &&
13834 { ac_try
='test -s conftest.$ac_objext'
13835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 (eval $ac_try) 2>&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; }; then
13840 ac_header_compiler
=yes
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.
$ac_ext >&5
13845 ac_header_compiler
=no
13847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13849 echo "${ECHO_T}$ac_header_compiler" >&6
13851 # Is the header present?
13852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 #include <$ac_header>
13862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13865 grep -v '^ *+' conftest.er1
>conftest.err
13867 cat conftest.err
>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } >/dev
/null
; then
13870 if test -s conftest.err
; then
13871 ac_cpp_err
=$ac_c_preproc_warn_flag
13872 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13879 if test -z "$ac_cpp_err"; then
13880 ac_header_preproc
=yes
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13885 ac_header_preproc
=no
13887 rm -f conftest.err conftest.
$ac_ext
13888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13889 echo "${ECHO_T}$ac_header_preproc" >&6
13891 # So? What about this header?
13892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13897 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13898 ac_header_preproc
=yes
13901 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13903 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13904 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13905 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13906 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13907 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13908 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13911 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13912 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13915 ## ----------------------------------------- ##
13916 ## Report this to wx-dev@lists.wxwidgets.org ##
13917 ## ----------------------------------------- ##
13920 sed "s/^/$as_me: WARNING: /" >&2
13923 echo "$as_me:$LINENO: checking for $ac_header" >&5
13924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13926 echo $ECHO_N "(cached) $ECHO_C" >&6
13928 eval "$as_ac_Header=\$ac_header_preproc"
13930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13935 cat >>confdefs.h
<<_ACEOF
13936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13944 for ac_header
in malloc.h
13946 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13948 echo "$as_me:$LINENO: checking for $ac_header" >&5
13949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13956 # Is the header compilable?
13957 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13958 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13959 cat >conftest.
$ac_ext <<_ACEOF
13962 cat confdefs.h
>>conftest.
$ac_ext
13963 cat >>conftest.
$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13965 $ac_includes_default
13966 #include <$ac_header>
13968 rm -f conftest.
$ac_objext
13969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13970 (eval $ac_compile) 2>conftest.er1
13972 grep -v '^ *+' conftest.er1
>conftest.err
13974 cat conftest.err
>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
13977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; } &&
13983 { ac_try
='test -s conftest.$ac_objext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_header_compiler
=yes
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.
$ac_ext >&5
13994 ac_header_compiler
=no
13996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13998 echo "${ECHO_T}$ac_header_compiler" >&6
14000 # Is the header present?
14001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14003 cat >conftest.
$ac_ext <<_ACEOF
14006 cat confdefs.h
>>conftest.
$ac_ext
14007 cat >>conftest.
$ac_ext <<_ACEOF
14008 /* end confdefs.h. */
14009 #include <$ac_header>
14011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14012 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14014 grep -v '^ *+' conftest.er1
>conftest.err
14016 cat conftest.err
>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } >/dev
/null
; then
14019 if test -s conftest.err
; then
14020 ac_cpp_err
=$ac_c_preproc_warn_flag
14021 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14028 if test -z "$ac_cpp_err"; then
14029 ac_header_preproc
=yes
14031 echo "$as_me: failed program was:" >&5
14032 sed 's/^/| /' conftest.
$ac_ext >&5
14034 ac_header_preproc
=no
14036 rm -f conftest.err conftest.
$ac_ext
14037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14038 echo "${ECHO_T}$ac_header_preproc" >&6
14040 # So? What about this header?
14041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14043 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14047 ac_header_preproc
=yes
14050 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14052 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14053 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14054 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14056 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14057 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14064 ## ----------------------------------------- ##
14065 ## Report this to wx-dev@lists.wxwidgets.org ##
14066 ## ----------------------------------------- ##
14069 sed "s/^/$as_me: WARNING: /" >&2
14072 echo "$as_me:$LINENO: checking for $ac_header" >&5
14073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 eval "$as_ac_Header=\$ac_header_preproc"
14079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14084 cat >>confdefs.h
<<_ACEOF
14085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14093 for ac_header
in unistd.h
14095 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14097 echo "$as_me:$LINENO: checking for $ac_header" >&5
14098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14100 echo $ECHO_N "(cached) $ECHO_C" >&6
14102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14105 # Is the header compilable?
14106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14108 cat >conftest.
$ac_ext <<_ACEOF
14111 cat confdefs.h
>>conftest.
$ac_ext
14112 cat >>conftest.
$ac_ext <<_ACEOF
14113 /* end confdefs.h. */
14114 $ac_includes_default
14115 #include <$ac_header>
14117 rm -f conftest.
$ac_objext
14118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14119 (eval $ac_compile) 2>conftest.er1
14121 grep -v '^ *+' conftest.er1
>conftest.err
14123 cat conftest.err
>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); } &&
14126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; } &&
14132 { ac_try
='test -s conftest.$ac_objext'
14133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14134 (eval $ac_try) 2>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); }; }; then
14138 ac_header_compiler
=yes
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.
$ac_ext >&5
14143 ac_header_compiler
=no
14145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14147 echo "${ECHO_T}$ac_header_compiler" >&6
14149 # Is the header present?
14150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14152 cat >conftest.
$ac_ext <<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158 #include <$ac_header>
14160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14163 grep -v '^ *+' conftest.er1
>conftest.err
14165 cat conftest.err
>&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } >/dev
/null
; then
14168 if test -s conftest.err
; then
14169 ac_cpp_err
=$ac_c_preproc_warn_flag
14170 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14177 if test -z "$ac_cpp_err"; then
14178 ac_header_preproc
=yes
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.
$ac_ext >&5
14183 ac_header_preproc
=no
14185 rm -f conftest.err conftest.
$ac_ext
14186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14187 echo "${ECHO_T}$ac_header_preproc" >&6
14189 # So? What about this header?
14190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14195 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14196 ac_header_preproc
=yes
14199 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14200 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14201 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14202 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14203 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14204 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14205 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14206 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14209 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14210 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14213 ## ----------------------------------------- ##
14214 ## Report this to wx-dev@lists.wxwidgets.org ##
14215 ## ----------------------------------------- ##
14218 sed "s/^/$as_me: WARNING: /" >&2
14221 echo "$as_me:$LINENO: checking for $ac_header" >&5
14222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 eval "$as_ac_Header=\$ac_header_preproc"
14228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14233 cat >>confdefs.h
<<_ACEOF
14234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14242 for ac_header
in wchar.h
14244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14246 echo "$as_me:$LINENO: checking for $ac_header" >&5
14247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14249 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14254 # Is the header compilable?
14255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14257 cat >conftest.
$ac_ext <<_ACEOF
14260 cat confdefs.h
>>conftest.
$ac_ext
14261 cat >>conftest.
$ac_ext <<_ACEOF
14262 /* end confdefs.h. */
14263 $ac_includes_default
14264 #include <$ac_header>
14266 rm -f conftest.
$ac_objext
14267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14268 (eval $ac_compile) 2>conftest.er1
14270 grep -v '^ *+' conftest.er1
>conftest.err
14272 cat conftest.err
>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } &&
14275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14277 (eval $ac_try) 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; } &&
14281 { ac_try
='test -s conftest.$ac_objext'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; }; then
14287 ac_header_compiler
=yes
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.
$ac_ext >&5
14292 ac_header_compiler
=no
14294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14296 echo "${ECHO_T}$ac_header_compiler" >&6
14298 # Is the header present?
14299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14301 cat >conftest.
$ac_ext <<_ACEOF
14304 cat confdefs.h
>>conftest.
$ac_ext
14305 cat >>conftest.
$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 #include <$ac_header>
14309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14312 grep -v '^ *+' conftest.er1
>conftest.err
14314 cat conftest.err
>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); } >/dev
/null
; then
14317 if test -s conftest.err
; then
14318 ac_cpp_err
=$ac_c_preproc_warn_flag
14319 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14326 if test -z "$ac_cpp_err"; then
14327 ac_header_preproc
=yes
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.
$ac_ext >&5
14332 ac_header_preproc
=no
14334 rm -f conftest.err conftest.
$ac_ext
14335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14336 echo "${ECHO_T}$ac_header_preproc" >&6
14338 # So? What about this header?
14339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14345 ac_header_preproc
=yes
14348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14362 ## ----------------------------------------- ##
14363 ## Report this to wx-dev@lists.wxwidgets.org ##
14364 ## ----------------------------------------- ##
14367 sed "s/^/$as_me: WARNING: /" >&2
14370 echo "$as_me:$LINENO: checking for $ac_header" >&5
14371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 eval "$as_ac_Header=\$ac_header_preproc"
14377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14382 cat >>confdefs.h
<<_ACEOF
14383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14391 if test "$ac_cv_header_wchar_h" != "yes"; then
14393 for ac_header
in wcstr.h
14395 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14397 echo "$as_me:$LINENO: checking for $ac_header" >&5
14398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14405 # Is the header compilable?
14406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14408 cat >conftest.
$ac_ext <<_ACEOF
14411 cat confdefs.h
>>conftest.
$ac_ext
14412 cat >>conftest.
$ac_ext <<_ACEOF
14413 /* end confdefs.h. */
14414 $ac_includes_default
14415 #include <$ac_header>
14417 rm -f conftest.
$ac_objext
14418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14419 (eval $ac_compile) 2>conftest.er1
14421 grep -v '^ *+' conftest.er1
>conftest.err
14423 cat conftest.err
>&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } &&
14426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try
='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 ac_header_compiler
=yes
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.
$ac_ext >&5
14443 ac_header_compiler
=no
14445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14447 echo "${ECHO_T}$ac_header_compiler" >&6
14449 # Is the header present?
14450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14452 cat >conftest.
$ac_ext <<_ACEOF
14455 cat confdefs.h
>>conftest.
$ac_ext
14456 cat >>conftest.
$ac_ext <<_ACEOF
14457 /* end confdefs.h. */
14458 #include <$ac_header>
14460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14463 grep -v '^ *+' conftest.er1
>conftest.err
14465 cat conftest.err
>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } >/dev
/null
; then
14468 if test -s conftest.err
; then
14469 ac_cpp_err
=$ac_c_preproc_warn_flag
14470 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14477 if test -z "$ac_cpp_err"; then
14478 ac_header_preproc
=yes
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 ac_header_preproc
=no
14485 rm -f conftest.err conftest.
$ac_ext
14486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14487 echo "${ECHO_T}$ac_header_preproc" >&6
14489 # So? What about this header?
14490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14495 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14496 ac_header_preproc
=yes
14499 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14500 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14501 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14502 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14503 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14504 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14505 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14506 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14509 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14510 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14513 ## ----------------------------------------- ##
14514 ## Report this to wx-dev@lists.wxwidgets.org ##
14515 ## ----------------------------------------- ##
14518 sed "s/^/$as_me: WARNING: /" >&2
14521 echo "$as_me:$LINENO: checking for $ac_header" >&5
14522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14526 eval "$as_ac_Header=\$ac_header_preproc"
14528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14533 cat >>confdefs.h
<<_ACEOF
14534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14544 for ac_header
in fnmatch.h
14546 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14548 echo "$as_me:$LINENO: checking for $ac_header" >&5
14549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14556 # Is the header compilable?
14557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14559 cat >conftest.
$ac_ext <<_ACEOF
14562 cat confdefs.h
>>conftest.
$ac_ext
14563 cat >>conftest.
$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14565 $ac_includes_default
14566 #include <$ac_header>
14568 rm -f conftest.
$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>conftest.er1
14572 grep -v '^ *+' conftest.er1
>conftest.err
14574 cat conftest.err
>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } &&
14577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; } &&
14583 { ac_try
='test -s conftest.$ac_objext'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; }; then
14589 ac_header_compiler
=yes
14591 echo "$as_me: failed program was:" >&5
14592 sed 's/^/| /' conftest.
$ac_ext >&5
14594 ac_header_compiler
=no
14596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14598 echo "${ECHO_T}$ac_header_compiler" >&6
14600 # Is the header present?
14601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14603 cat >conftest.
$ac_ext <<_ACEOF
14606 cat confdefs.h
>>conftest.
$ac_ext
14607 cat >>conftest.
$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609 #include <$ac_header>
14611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14614 grep -v '^ *+' conftest.er1
>conftest.err
14616 cat conftest.err
>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); } >/dev
/null
; then
14619 if test -s conftest.err
; then
14620 ac_cpp_err
=$ac_c_preproc_warn_flag
14621 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14628 if test -z "$ac_cpp_err"; then
14629 ac_header_preproc
=yes
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.
$ac_ext >&5
14634 ac_header_preproc
=no
14636 rm -f conftest.err conftest.
$ac_ext
14637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14638 echo "${ECHO_T}$ac_header_preproc" >&6
14640 # So? What about this header?
14641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14647 ac_header_preproc
=yes
14650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14664 ## ----------------------------------------- ##
14665 ## Report this to wx-dev@lists.wxwidgets.org ##
14666 ## ----------------------------------------- ##
14669 sed "s/^/$as_me: WARNING: /" >&2
14672 echo "$as_me:$LINENO: checking for $ac_header" >&5
14673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14675 echo $ECHO_N "(cached) $ECHO_C" >&6
14677 eval "$as_ac_Header=\$ac_header_preproc"
14679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14684 cat >>confdefs.h
<<_ACEOF
14685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14693 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14695 for ac_func
in fnmatch
14697 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14698 echo "$as_me:$LINENO: checking for $ac_func" >&5
14699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14700 if eval "test \"\${$as_ac_var+set}\" = set"; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14703 cat >conftest.
$ac_ext <<_ACEOF
14706 cat confdefs.h
>>conftest.
$ac_ext
14707 cat >>conftest.
$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14711 #define $ac_func innocuous_$ac_func
14713 /* System header to define __stub macros and hopefully few prototypes,
14714 which can conflict with char $ac_func (); below.
14715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14716 <limits.h> exists even on freestanding compilers. */
14719 # include <limits.h>
14721 # include <assert.h>
14726 /* Override any gcc2 internal prototype to avoid an error. */
14731 /* We use char because int might match the return type of a gcc2
14732 builtin and then its argument prototype would still apply. */
14734 /* The GNU C library defines this for functions which it implements
14735 to always fail with ENOSYS. Some functions are actually named
14736 something starting with __ and the normal name is an alias. */
14737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14740 char (*f) () = $ac_func;
14749 return f != $ac_func;
14754 rm -f conftest.
$ac_objext conftest
$ac_exeext
14755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14756 (eval $ac_link) 2>conftest.er1
14758 grep -v '^ *+' conftest.er1
>conftest.err
14760 cat conftest.err
>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } &&
14763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } &&
14769 { ac_try
='test -s conftest$ac_exeext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 eval "$as_ac_var=yes"
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.
$ac_ext >&5
14780 eval "$as_ac_var=no"
14782 rm -f conftest.err conftest.
$ac_objext \
14783 conftest
$ac_exeext conftest.
$ac_ext
14785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14787 if test `eval echo '${'$as_ac_var'}'` = yes; then
14788 cat >>confdefs.h
<<_ACEOF
14789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14798 for ac_header
in langinfo.h
14800 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14802 echo "$as_me:$LINENO: checking for $ac_header" >&5
14803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14805 echo $ECHO_N "(cached) $ECHO_C" >&6
14807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14810 # Is the header compilable?
14811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14813 cat >conftest.
$ac_ext <<_ACEOF
14816 cat confdefs.h
>>conftest.
$ac_ext
14817 cat >>conftest.
$ac_ext <<_ACEOF
14818 /* end confdefs.h. */
14819 $ac_includes_default
14820 #include <$ac_header>
14822 rm -f conftest.
$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824 (eval $ac_compile) 2>conftest.er1
14826 grep -v '^ *+' conftest.er1
>conftest.err
14828 cat conftest.err
>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833 (eval $ac_try) 2>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; } &&
14837 { ac_try
='test -s conftest.$ac_objext'
14838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14839 (eval $ac_try) 2>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); }; }; then
14843 ac_header_compiler
=yes
14845 echo "$as_me: failed program was:" >&5
14846 sed 's/^/| /' conftest.
$ac_ext >&5
14848 ac_header_compiler
=no
14850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14852 echo "${ECHO_T}$ac_header_compiler" >&6
14854 # Is the header present?
14855 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14856 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14857 cat >conftest.
$ac_ext <<_ACEOF
14860 cat confdefs.h
>>conftest.
$ac_ext
14861 cat >>conftest.
$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 #include <$ac_header>
14865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14866 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14868 grep -v '^ *+' conftest.er1
>conftest.err
14870 cat conftest.err
>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } >/dev
/null
; then
14873 if test -s conftest.err
; then
14874 ac_cpp_err
=$ac_c_preproc_warn_flag
14875 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14882 if test -z "$ac_cpp_err"; then
14883 ac_header_preproc
=yes
14885 echo "$as_me: failed program was:" >&5
14886 sed 's/^/| /' conftest.
$ac_ext >&5
14888 ac_header_preproc
=no
14890 rm -f conftest.err conftest.
$ac_ext
14891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14892 echo "${ECHO_T}$ac_header_preproc" >&6
14894 # So? What about this header?
14895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14897 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14898 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14900 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14901 ac_header_preproc
=yes
14904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14908 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14909 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14910 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14911 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14914 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14915 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14918 ## ----------------------------------------- ##
14919 ## Report this to wx-dev@lists.wxwidgets.org ##
14920 ## ----------------------------------------- ##
14923 sed "s/^/$as_me: WARNING: /" >&2
14926 echo "$as_me:$LINENO: checking for $ac_header" >&5
14927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14929 echo $ECHO_N "(cached) $ECHO_C" >&6
14931 eval "$as_ac_Header=\$ac_header_preproc"
14933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14938 cat >>confdefs.h
<<_ACEOF
14939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14948 *-pc-os2_emx | *-pc-os2-emx )
14949 if test $ac_cv_header_langinfo_h = "yes" \
14950 -a \
( "$wx_cv_gccversion" = "EMX2" \
14951 -o "$wx_cv_gccversion" = "EMX3" \
14952 -o "$wx_cv_gccversion" = "Innotek5" \
); then
14953 LIBS
="$LIBS -lintl"
14958 if test "$wxUSE_GUI" = "yes"; then
14959 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14961 for ac_header
in X
11/Xlib.h
14963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14965 echo "$as_me:$LINENO: checking for $ac_header" >&5
14966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14968 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14973 # Is the header compilable?
14974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14976 cat >conftest.
$ac_ext <<_ACEOF
14979 cat confdefs.h
>>conftest.
$ac_ext
14980 cat >>conftest.
$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 $ac_includes_default
14983 #include <$ac_header>
14985 rm -f conftest.
$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>conftest.er1
14989 grep -v '^ *+' conftest.er1
>conftest.err
14991 cat conftest.err
>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try
='test -s conftest.$ac_objext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15006 ac_header_compiler
=yes
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.
$ac_ext >&5
15011 ac_header_compiler
=no
15013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15015 echo "${ECHO_T}$ac_header_compiler" >&6
15017 # Is the header present?
15018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15020 cat >conftest.
$ac_ext <<_ACEOF
15023 cat confdefs.h
>>conftest.
$ac_ext
15024 cat >>conftest.
$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15026 #include <$ac_header>
15028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15029 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15031 grep -v '^ *+' conftest.er1
>conftest.err
15033 cat conftest.err
>&5
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); } >/dev
/null
; then
15036 if test -s conftest.err
; then
15037 ac_cpp_err
=$ac_c_preproc_warn_flag
15038 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15045 if test -z "$ac_cpp_err"; then
15046 ac_header_preproc
=yes
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.
$ac_ext >&5
15051 ac_header_preproc
=no
15053 rm -f conftest.err conftest.
$ac_ext
15054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15055 echo "${ECHO_T}$ac_header_preproc" >&6
15057 # So? What about this header?
15058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15064 ac_header_preproc
=yes
15067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15081 ## ----------------------------------------- ##
15082 ## Report this to wx-dev@lists.wxwidgets.org ##
15083 ## ----------------------------------------- ##
15086 sed "s/^/$as_me: WARNING: /" >&2
15089 echo "$as_me:$LINENO: checking for $ac_header" >&5
15090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15092 echo $ECHO_N "(cached) $ECHO_C" >&6
15094 eval "$as_ac_Header=\$ac_header_preproc"
15096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15101 cat >>confdefs.h
<<_ACEOF
15102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15110 for ac_header
in X
11/XKBlib.h
15112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15113 echo "$as_me:$LINENO: checking for $ac_header" >&5
15114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15116 echo $ECHO_N "(cached) $ECHO_C" >&6
15118 cat >conftest.
$ac_ext <<_ACEOF
15121 cat confdefs.h
>>conftest.
$ac_ext
15122 cat >>conftest.
$ac_ext <<_ACEOF
15123 /* end confdefs.h. */
15125 #if HAVE_X11_XLIB_H
15126 #include <X11/Xlib.h>
15130 #include <$ac_header>
15132 rm -f conftest.
$ac_objext
15133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15134 (eval $ac_compile) 2>conftest.er1
15136 grep -v '^ *+' conftest.er1
>conftest.err
15138 cat conftest.err
>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); } &&
15141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; } &&
15147 { ac_try
='test -s conftest.$ac_objext'
15148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15149 (eval $ac_try) 2>&5
15151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15152 (exit $ac_status); }; }; then
15153 eval "$as_ac_Header=yes"
15155 echo "$as_me: failed program was:" >&5
15156 sed 's/^/| /' conftest.
$ac_ext >&5
15158 eval "$as_ac_Header=no"
15160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15165 cat >>confdefs.h
<<_ACEOF
15166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15177 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15178 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15179 if test "${ac_cv_c_const+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15182 cat >conftest.
$ac_ext <<_ACEOF
15185 cat confdefs.h
>>conftest.
$ac_ext
15186 cat >>conftest.
$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15192 /* FIXME: Include the comments suggested by Paul. */
15193 #ifndef __cplusplus
15194 /* Ultrix mips cc rejects this. */
15195 typedef int charset[2];
15197 /* SunOS 4.1.1 cc rejects this. */
15198 char const *const *ccp;
15200 /* NEC SVR4.0.2 mips cc rejects this. */
15201 struct point {int x, y;};
15202 static struct point const zero = {0,0};
15203 /* AIX XL C 1.02.0.0 rejects this.
15204 It does not let you subtract one const X* pointer from another in
15205 an arm of an if-expression whose if-part is not a constant
15207 const char *g = "string";
15208 ccp = &g + (g ? g-g : 0);
15209 /* HPUX 7.0 cc rejects these. */
15212 ccp = (char const *const *) p;
15213 { /* SCO 3.2v4 cc rejects this. */
15215 char const *s = 0 ? (char *) 0 : (char const *) 0;
15219 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15220 int x[] = {25, 17};
15221 const int *foo = &x[0];
15224 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15225 typedef const int *iptr;
15229 { /* AIX XL C 1.02.0.0 rejects this saying
15230 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15231 struct s { int j; const int *ap[3]; };
15232 struct s *b; b->j = 5;
15234 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15235 const int foo = 10;
15243 rm -f conftest.
$ac_objext
15244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15245 (eval $ac_compile) 2>conftest.er1
15247 grep -v '^ *+' conftest.er1
>conftest.err
15249 cat conftest.err
>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; } &&
15258 { ac_try
='test -s conftest.$ac_objext'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; }; then
15266 echo "$as_me: failed program was:" >&5
15267 sed 's/^/| /' conftest.
$ac_ext >&5
15271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15273 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15274 echo "${ECHO_T}$ac_cv_c_const" >&6
15275 if test $ac_cv_c_const = no
; then
15277 cat >>confdefs.h
<<\_ACEOF
15283 echo "$as_me:$LINENO: checking for inline" >&5
15284 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15285 if test "${ac_cv_c_inline+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 for ac_kw
in inline __inline__ __inline
; do
15290 cat >conftest.
$ac_ext <<_ACEOF
15293 cat confdefs.h
>>conftest.
$ac_ext
15294 cat >>conftest.
$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296 #ifndef __cplusplus
15298 static $ac_kw foo_t static_foo () {return 0; }
15299 $ac_kw foo_t foo () {return 0; }
15303 rm -f conftest.
$ac_objext
15304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15305 (eval $ac_compile) 2>conftest.er1
15307 grep -v '^ *+' conftest.er1
>conftest.err
15309 cat conftest.err
>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); } &&
15312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; } &&
15318 { ac_try
='test -s conftest.$ac_objext'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; }; then
15324 ac_cv_c_inline
=$ac_kw; break
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.
$ac_ext >&5
15330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15334 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15335 echo "${ECHO_T}$ac_cv_c_inline" >&6
15338 case $ac_cv_c_inline in
15341 case $ac_cv_c_inline in
15343 *) ac_val
=$ac_cv_c_inline;;
15345 cat >>confdefs.h
<<_ACEOF
15346 #ifndef __cplusplus
15347 #define inline $ac_val
15354 echo "$as_me:$LINENO: checking for char" >&5
15355 echo $ECHO_N "checking for char... $ECHO_C" >&6
15356 if test "${ac_cv_type_char+set}" = set; then
15357 echo $ECHO_N "(cached) $ECHO_C" >&6
15359 cat >conftest.
$ac_ext <<_ACEOF
15362 cat confdefs.h
>>conftest.
$ac_ext
15363 cat >>conftest.
$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15365 $ac_includes_default
15377 rm -f conftest.
$ac_objext
15378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15379 (eval $ac_compile) 2>conftest.er1
15381 grep -v '^ *+' conftest.er1
>conftest.err
15383 cat conftest.err
>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } &&
15386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; } &&
15392 { ac_try
='test -s conftest.$ac_objext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15398 ac_cv_type_char
=yes
15400 echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.
$ac_ext >&5
15405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15407 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15408 echo "${ECHO_T}$ac_cv_type_char" >&6
15410 echo "$as_me:$LINENO: checking size of char" >&5
15411 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15412 if test "${ac_cv_sizeof_char+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 if test "$ac_cv_type_char" = yes; then
15416 # The cast to unsigned long works around a bug in the HP C Compiler
15417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15419 # This bug is HP SR number 8606223364.
15420 if test "$cross_compiling" = yes; then
15421 # Depending upon the size, compute the lo and hi bounds.
15422 cat >conftest.
$ac_ext <<_ACEOF
15425 cat confdefs.h
>>conftest.
$ac_ext
15426 cat >>conftest.
$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15428 $ac_includes_default
15432 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15439 rm -f conftest.
$ac_objext
15440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15441 (eval $ac_compile) 2>conftest.er1
15443 grep -v '^ *+' conftest.er1
>conftest.err
15445 cat conftest.err
>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; } &&
15454 { ac_try
='test -s conftest.$ac_objext'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; }; then
15462 cat >conftest.
$ac_ext <<_ACEOF
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468 $ac_includes_default
15472 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15479 rm -f conftest.
$ac_objext
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>conftest.er1
15483 grep -v '^ *+' conftest.er1
>conftest.err
15485 cat conftest.err
>&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } &&
15488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15490 (eval $ac_try) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; } &&
15494 { ac_try
='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_hi
=$ac_mid; break
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.
$ac_ext >&5
15505 ac_lo
=`expr $ac_mid + 1`
15506 if test $ac_lo -le $ac_mid; then
15510 ac_mid
=`expr 2 '*' $ac_mid + 1`
15512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.
$ac_ext >&5
15518 cat >conftest.
$ac_ext <<_ACEOF
15521 cat confdefs.h
>>conftest.
$ac_ext
15522 cat >>conftest.
$ac_ext <<_ACEOF
15523 /* end confdefs.h. */
15524 $ac_includes_default
15528 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15535 rm -f conftest.
$ac_objext
15536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15537 (eval $ac_compile) 2>conftest.er1
15539 grep -v '^ *+' conftest.er1
>conftest.err
15541 cat conftest.err
>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15546 (eval $ac_try) 2>&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); }; } &&
15550 { ac_try
='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15558 cat >conftest.
$ac_ext <<_ACEOF
15561 cat confdefs.h
>>conftest.
$ac_ext
15562 cat >>conftest.
$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15564 $ac_includes_default
15568 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15575 rm -f conftest.
$ac_objext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577 (eval $ac_compile) 2>conftest.er1
15579 grep -v '^ *+' conftest.er1
>conftest.err
15581 cat conftest.err
>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; } &&
15590 { ac_try
='test -s conftest.$ac_objext'
15591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592 (eval $ac_try) 2>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); }; }; then
15596 ac_lo
=$ac_mid; break
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.
$ac_ext >&5
15601 ac_hi
=`expr '(' $ac_mid ')' - 1`
15602 if test $ac_mid -le $ac_hi; then
15606 ac_mid
=`expr 2 '*' $ac_mid`
15608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.
$ac_ext >&5
15616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15619 # Binary search between lo and hi bounds.
15620 while test "x$ac_lo" != "x$ac_hi"; do
15621 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15622 cat >conftest.
$ac_ext <<_ACEOF
15625 cat confdefs.h
>>conftest.
$ac_ext
15626 cat >>conftest.
$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15628 $ac_includes_default
15632 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15639 rm -f conftest.
$ac_objext
15640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15641 (eval $ac_compile) 2>conftest.er1
15643 grep -v '^ *+' conftest.er1
>conftest.err
15645 cat conftest.err
>&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } &&
15648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; } &&
15654 { ac_try
='test -s conftest.$ac_objext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.
$ac_ext >&5
15665 ac_lo
=`expr '(' $ac_mid ')' + 1`
15667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15670 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15671 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15672 See \`config.log' for more details." >&5
15673 echo "$as_me: error: cannot compute sizeof (char), 77
15674 See \`config.log' for more details." >&2;}
15675 { (exit 1); exit 1; }; } ;;
15678 if test "$cross_compiling" = yes; then
15679 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15680 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15681 { (exit 1); exit 1; }; }
15683 cat >conftest.
$ac_ext <<_ACEOF
15686 cat confdefs.h
>>conftest.
$ac_ext
15687 cat >>conftest.
$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15689 $ac_includes_default
15690 long longval () { return (long) (sizeof (char)); }
15691 unsigned long ulongval () { return (long) (sizeof (char)); }
15693 #include <stdlib.h>
15698 FILE *f = fopen ("conftest.val", "w");
15701 if (((long) (sizeof (char))) < 0)
15703 long i = longval ();
15704 if (i != ((long) (sizeof (char))))
15706 fprintf (f, "%ld\n", i);
15710 unsigned long i = ulongval ();
15711 if (i != ((long) (sizeof (char))))
15713 fprintf (f, "%lu\n", i);
15715 exit (ferror (f) || fclose (f) != 0);
15721 rm -f conftest
$ac_exeext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15723 (eval $ac_link) 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15732 ac_cv_sizeof_char
=`cat conftest.val`
15734 echo "$as_me: program exited with status $ac_status" >&5
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.
$ac_ext >&5
15738 ( exit $ac_status )
15739 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15740 See \`config.log' for more details." >&5
15741 echo "$as_me: error: cannot compute sizeof (char), 77
15742 See \`config.log' for more details." >&2;}
15743 { (exit 1); exit 1; }; }
15745 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15750 ac_cv_sizeof_char
=0
15753 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15754 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15755 cat >>confdefs.h
<<_ACEOF
15756 #define SIZEOF_CHAR $ac_cv_sizeof_char
15760 echo "$as_me:$LINENO: checking for short" >&5
15761 echo $ECHO_N "checking for short... $ECHO_C" >&6
15762 if test "${ac_cv_type_short+set}" = set; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 $ac_includes_default
15777 if (sizeof (short))
15783 rm -f conftest.
$ac_objext
15784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15785 (eval $ac_compile) 2>conftest.er1
15787 grep -v '^ *+' conftest.er1
>conftest.err
15789 cat conftest.err
>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } &&
15792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794 (eval $ac_try) 2>&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; } &&
15798 { ac_try
='test -s conftest.$ac_objext'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 ac_cv_type_short
=yes
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.
$ac_ext >&5
15809 ac_cv_type_short
=no
15811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15813 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15814 echo "${ECHO_T}$ac_cv_type_short" >&6
15816 echo "$as_me:$LINENO: checking size of short" >&5
15817 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15818 if test "${ac_cv_sizeof_short+set}" = set; then
15819 echo $ECHO_N "(cached) $ECHO_C" >&6
15821 if test "$ac_cv_type_short" = yes; then
15822 # The cast to unsigned long works around a bug in the HP C Compiler
15823 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15824 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15825 # This bug is HP SR number 8606223364.
15826 if test "$cross_compiling" = yes; then
15827 # Depending upon the size, compute the lo and hi bounds.
15828 cat >conftest.
$ac_ext <<_ACEOF
15831 cat confdefs.h
>>conftest.
$ac_ext
15832 cat >>conftest.
$ac_ext <<_ACEOF
15833 /* end confdefs.h. */
15834 $ac_includes_default
15838 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15845 rm -f conftest.
$ac_objext
15846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15847 (eval $ac_compile) 2>conftest.er1
15849 grep -v '^ *+' conftest.er1
>conftest.err
15851 cat conftest.err
>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } &&
15854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try
='test -s conftest.$ac_objext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15868 cat >conftest.
$ac_ext <<_ACEOF
15871 cat confdefs.h
>>conftest.
$ac_ext
15872 cat >>conftest.
$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 $ac_includes_default
15878 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15885 rm -f conftest.
$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>conftest.er1
15889 grep -v '^ *+' conftest.er1
>conftest.err
15891 cat conftest.err
>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; } &&
15900 { ac_try
='test -s conftest.$ac_objext'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_hi
=$ac_mid; break
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.
$ac_ext >&5
15911 ac_lo
=`expr $ac_mid + 1`
15912 if test $ac_lo -le $ac_mid; then
15916 ac_mid
=`expr 2 '*' $ac_mid + 1`
15918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.
$ac_ext >&5
15924 cat >conftest.
$ac_ext <<_ACEOF
15927 cat confdefs.h
>>conftest.
$ac_ext
15928 cat >>conftest.
$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930 $ac_includes_default
15934 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15941 rm -f conftest.
$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>conftest.er1
15945 grep -v '^ *+' conftest.er1
>conftest.err
15947 cat conftest.err
>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; } &&
15956 { ac_try
='test -s conftest.$ac_objext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15964 cat >conftest.
$ac_ext <<_ACEOF
15967 cat confdefs.h
>>conftest.
$ac_ext
15968 cat >>conftest.
$ac_ext <<_ACEOF
15969 /* end confdefs.h. */
15970 $ac_includes_default
15974 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15981 rm -f conftest.
$ac_objext
15982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15983 (eval $ac_compile) 2>conftest.er1
15985 grep -v '^ *+' conftest.er1
>conftest.err
15987 cat conftest.err
>&5
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); } &&
15990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; } &&
15996 { ac_try
='test -s conftest.$ac_objext'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; }; then
16002 ac_lo
=$ac_mid; break
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.
$ac_ext >&5
16007 ac_hi
=`expr '(' $ac_mid ')' - 1`
16008 if test $ac_mid -le $ac_hi; then
16012 ac_mid
=`expr 2 '*' $ac_mid`
16014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16017 echo "$as_me: failed program was:" >&5
16018 sed 's/^/| /' conftest.
$ac_ext >&5
16022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16025 # Binary search between lo and hi bounds.
16026 while test "x$ac_lo" != "x$ac_hi"; do
16027 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16028 cat >conftest.
$ac_ext <<_ACEOF
16031 cat confdefs.h
>>conftest.
$ac_ext
16032 cat >>conftest.
$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034 $ac_includes_default
16038 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16045 rm -f conftest.
$ac_objext
16046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16047 (eval $ac_compile) 2>conftest.er1
16049 grep -v '^ *+' conftest.er1
>conftest.err
16051 cat conftest.err
>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } &&
16054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16056 (eval $ac_try) 2>&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); }; } &&
16060 { ac_try
='test -s conftest.$ac_objext'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; }; then
16068 echo "$as_me: failed program was:" >&5
16069 sed 's/^/| /' conftest.
$ac_ext >&5
16071 ac_lo
=`expr '(' $ac_mid ')' + 1`
16073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16076 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16077 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16078 See \`config.log' for more details." >&5
16079 echo "$as_me: error: cannot compute sizeof (short), 77
16080 See \`config.log' for more details." >&2;}
16081 { (exit 1); exit 1; }; } ;;
16084 if test "$cross_compiling" = yes; then
16085 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16086 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16087 { (exit 1); exit 1; }; }
16089 cat >conftest.
$ac_ext <<_ACEOF
16092 cat confdefs.h
>>conftest.
$ac_ext
16093 cat >>conftest.
$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 $ac_includes_default
16096 long longval () { return (long) (sizeof (short)); }
16097 unsigned long ulongval () { return (long) (sizeof (short)); }
16099 #include <stdlib.h>
16104 FILE *f = fopen ("conftest.val", "w");
16107 if (((long) (sizeof (short))) < 0)
16109 long i = longval ();
16110 if (i != ((long) (sizeof (short))))
16112 fprintf (f, "%ld\n", i);
16116 unsigned long i = ulongval ();
16117 if (i != ((long) (sizeof (short))))
16119 fprintf (f, "%lu\n", i);
16121 exit (ferror (f) || fclose (f) != 0);
16127 rm -f conftest
$ac_exeext
16128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16129 (eval $ac_link) 2>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; }; then
16138 ac_cv_sizeof_short
=`cat conftest.val`
16140 echo "$as_me: program exited with status $ac_status" >&5
16141 echo "$as_me: failed program was:" >&5
16142 sed 's/^/| /' conftest.
$ac_ext >&5
16144 ( exit $ac_status )
16145 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16146 See \`config.log' for more details." >&5
16147 echo "$as_me: error: cannot compute sizeof (short), 77
16148 See \`config.log' for more details." >&2;}
16149 { (exit 1); exit 1; }; }
16151 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16156 ac_cv_sizeof_short
=0
16159 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16160 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16161 cat >>confdefs.h
<<_ACEOF
16162 #define SIZEOF_SHORT $ac_cv_sizeof_short
16166 echo "$as_me:$LINENO: checking for void *" >&5
16167 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16168 if test "${ac_cv_type_void_p+set}" = set; then
16169 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 cat >conftest.
$ac_ext <<_ACEOF
16174 cat confdefs.h
>>conftest.
$ac_ext
16175 cat >>conftest.
$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 $ac_includes_default
16183 if (sizeof (void *))
16189 rm -f conftest.
$ac_objext
16190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16191 (eval $ac_compile) 2>conftest.er1
16193 grep -v '^ *+' conftest.er1
>conftest.err
16195 cat conftest.err
>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } &&
16198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16200 (eval $ac_try) 2>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); }; } &&
16204 { ac_try
='test -s conftest.$ac_objext'
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; }; then
16210 ac_cv_type_void_p
=yes
16212 echo "$as_me: failed program was:" >&5
16213 sed 's/^/| /' conftest.
$ac_ext >&5
16215 ac_cv_type_void_p
=no
16217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16219 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16220 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16222 echo "$as_me:$LINENO: checking size of void *" >&5
16223 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16224 if test "${ac_cv_sizeof_void_p+set}" = set; then
16225 echo $ECHO_N "(cached) $ECHO_C" >&6
16227 if test "$ac_cv_type_void_p" = yes; then
16228 # The cast to unsigned long works around a bug in the HP C Compiler
16229 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16230 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16231 # This bug is HP SR number 8606223364.
16232 if test "$cross_compiling" = yes; then
16233 # Depending upon the size, compute the lo and hi bounds.
16234 cat >conftest.
$ac_ext <<_ACEOF
16237 cat confdefs.h
>>conftest.
$ac_ext
16238 cat >>conftest.
$ac_ext <<_ACEOF
16239 /* end confdefs.h. */
16240 $ac_includes_default
16244 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16251 rm -f conftest.
$ac_objext
16252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16253 (eval $ac_compile) 2>conftest.er1
16255 grep -v '^ *+' conftest.er1
>conftest.err
16257 cat conftest.err
>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
16260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; } &&
16266 { ac_try
='test -s conftest.$ac_objext'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16274 cat >conftest.
$ac_ext <<_ACEOF
16277 cat confdefs.h
>>conftest.
$ac_ext
16278 cat >>conftest.
$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 $ac_includes_default
16284 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16291 rm -f conftest.
$ac_objext
16292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16293 (eval $ac_compile) 2>conftest.er1
16295 grep -v '^ *+' conftest.er1
>conftest.err
16297 cat conftest.err
>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); } &&
16300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; } &&
16306 { ac_try
='test -s conftest.$ac_objext'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; }; then
16312 ac_hi
=$ac_mid; break
16314 echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.
$ac_ext >&5
16317 ac_lo
=`expr $ac_mid + 1`
16318 if test $ac_lo -le $ac_mid; then
16322 ac_mid
=`expr 2 '*' $ac_mid + 1`
16324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.
$ac_ext >&5
16330 cat >conftest.
$ac_ext <<_ACEOF
16333 cat confdefs.h
>>conftest.
$ac_ext
16334 cat >>conftest.
$ac_ext <<_ACEOF
16335 /* end confdefs.h. */
16336 $ac_includes_default
16340 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16347 rm -f conftest.
$ac_objext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>conftest.er1
16351 grep -v '^ *+' conftest.er1
>conftest.err
16353 cat conftest.err
>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } &&
16356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; } &&
16362 { ac_try
='test -s conftest.$ac_objext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16370 cat >conftest.
$ac_ext <<_ACEOF
16373 cat confdefs.h
>>conftest.
$ac_ext
16374 cat >>conftest.
$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 $ac_includes_default
16380 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16387 rm -f conftest.
$ac_objext
16388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16389 (eval $ac_compile) 2>conftest.er1
16391 grep -v '^ *+' conftest.er1
>conftest.err
16393 cat conftest.err
>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } &&
16396 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; } &&
16402 { ac_try
='test -s conftest.$ac_objext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16408 ac_lo
=$ac_mid; break
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 ac_hi
=`expr '(' $ac_mid ')' - 1`
16414 if test $ac_mid -le $ac_hi; then
16418 ac_mid
=`expr 2 '*' $ac_mid`
16420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.
$ac_ext >&5
16428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16431 # Binary search between lo and hi bounds.
16432 while test "x$ac_lo" != "x$ac_hi"; do
16433 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16434 cat >conftest.
$ac_ext <<_ACEOF
16437 cat confdefs.h
>>conftest.
$ac_ext
16438 cat >>conftest.
$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16440 $ac_includes_default
16444 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16451 rm -f conftest.
$ac_objext
16452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16453 (eval $ac_compile) 2>conftest.er1
16455 grep -v '^ *+' conftest.er1
>conftest.err
16457 cat conftest.err
>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } &&
16460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; } &&
16466 { ac_try
='test -s conftest.$ac_objext'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; }; then
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.
$ac_ext >&5
16477 ac_lo
=`expr '(' $ac_mid ')' + 1`
16479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16482 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16483 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16484 See \`config.log' for more details." >&5
16485 echo "$as_me: error: cannot compute sizeof (void *), 77
16486 See \`config.log' for more details." >&2;}
16487 { (exit 1); exit 1; }; } ;;
16490 if test "$cross_compiling" = yes; then
16491 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16492 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16493 { (exit 1); exit 1; }; }
16495 cat >conftest.
$ac_ext <<_ACEOF
16498 cat confdefs.h
>>conftest.
$ac_ext
16499 cat >>conftest.
$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501 $ac_includes_default
16502 long longval () { return (long) (sizeof (void *)); }
16503 unsigned long ulongval () { return (long) (sizeof (void *)); }
16505 #include <stdlib.h>
16510 FILE *f = fopen ("conftest.val", "w");
16513 if (((long) (sizeof (void *))) < 0)
16515 long i = longval ();
16516 if (i != ((long) (sizeof (void *))))
16518 fprintf (f, "%ld\n", i);
16522 unsigned long i = ulongval ();
16523 if (i != ((long) (sizeof (void *))))
16525 fprintf (f, "%lu\n", i);
16527 exit (ferror (f) || fclose (f) != 0);
16533 rm -f conftest
$ac_exeext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16535 (eval $ac_link) 2>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 ac_cv_sizeof_void_p
=`cat conftest.val`
16546 echo "$as_me: program exited with status $ac_status" >&5
16547 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.
$ac_ext >&5
16550 ( exit $ac_status )
16551 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16552 See \`config.log' for more details." >&5
16553 echo "$as_me: error: cannot compute sizeof (void *), 77
16554 See \`config.log' for more details." >&2;}
16555 { (exit 1); exit 1; }; }
16557 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16562 ac_cv_sizeof_void_p
=0
16565 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16566 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16567 cat >>confdefs.h
<<_ACEOF
16568 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16572 echo "$as_me:$LINENO: checking for int" >&5
16573 echo $ECHO_N "checking for int... $ECHO_C" >&6
16574 if test "${ac_cv_type_int+set}" = set; then
16575 echo $ECHO_N "(cached) $ECHO_C" >&6
16577 cat >conftest.
$ac_ext <<_ACEOF
16580 cat confdefs.h
>>conftest.
$ac_ext
16581 cat >>conftest.
$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 $ac_includes_default
16595 rm -f conftest.
$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>conftest.er1
16599 grep -v '^ *+' conftest.er1
>conftest.err
16601 cat conftest.err
>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } &&
16604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try
='test -s conftest.$ac_objext'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16625 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16626 echo "${ECHO_T}$ac_cv_type_int" >&6
16628 echo "$as_me:$LINENO: checking size of int" >&5
16629 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16630 if test "${ac_cv_sizeof_int+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16633 if test "$ac_cv_type_int" = yes; then
16634 # The cast to unsigned long works around a bug in the HP C Compiler
16635 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16636 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16637 # This bug is HP SR number 8606223364.
16638 if test "$cross_compiling" = yes; then
16639 # Depending upon the size, compute the lo and hi bounds.
16640 cat >conftest.
$ac_ext <<_ACEOF
16643 cat confdefs.h
>>conftest.
$ac_ext
16644 cat >>conftest.
$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 $ac_includes_default
16650 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16657 rm -f conftest.
$ac_objext
16658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16659 (eval $ac_compile) 2>conftest.er1
16661 grep -v '^ *+' conftest.er1
>conftest.err
16663 cat conftest.err
>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try
='test -s conftest.$ac_objext'
16673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16674 (eval $ac_try) 2>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); }; }; then
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 $ac_includes_default
16690 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16697 rm -f conftest.
$ac_objext
16698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16699 (eval $ac_compile) 2>conftest.er1
16701 grep -v '^ *+' conftest.er1
>conftest.err
16703 cat conftest.err
>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
16706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16708 (eval $ac_try) 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; } &&
16712 { ac_try
='test -s conftest.$ac_objext'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; }; then
16718 ac_hi
=$ac_mid; break
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.
$ac_ext >&5
16723 ac_lo
=`expr $ac_mid + 1`
16724 if test $ac_lo -le $ac_mid; then
16728 ac_mid
=`expr 2 '*' $ac_mid + 1`
16730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.
$ac_ext >&5
16736 cat >conftest.
$ac_ext <<_ACEOF
16739 cat confdefs.h
>>conftest.
$ac_ext
16740 cat >>conftest.
$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742 $ac_includes_default
16746 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16753 rm -f conftest.
$ac_objext
16754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16755 (eval $ac_compile) 2>conftest.er1
16757 grep -v '^ *+' conftest.er1
>conftest.err
16759 cat conftest.err
>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } &&
16762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; } &&
16768 { ac_try
='test -s conftest.$ac_objext'
16769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16770 (eval $ac_try) 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16776 cat >conftest.
$ac_ext <<_ACEOF
16779 cat confdefs.h
>>conftest.
$ac_ext
16780 cat >>conftest.
$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 $ac_includes_default
16786 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16793 rm -f conftest.
$ac_objext
16794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16795 (eval $ac_compile) 2>conftest.er1
16797 grep -v '^ *+' conftest.er1
>conftest.err
16799 cat conftest.err
>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } &&
16802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; } &&
16808 { ac_try
='test -s conftest.$ac_objext'
16809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810 (eval $ac_try) 2>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; }; then
16814 ac_lo
=$ac_mid; break
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.
$ac_ext >&5
16819 ac_hi
=`expr '(' $ac_mid ')' - 1`
16820 if test $ac_mid -le $ac_hi; then
16824 ac_mid
=`expr 2 '*' $ac_mid`
16826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.
$ac_ext >&5
16834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16836 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16837 # Binary search between lo and hi bounds.
16838 while test "x$ac_lo" != "x$ac_hi"; do
16839 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16840 cat >conftest.
$ac_ext <<_ACEOF
16843 cat confdefs.h
>>conftest.
$ac_ext
16844 cat >>conftest.
$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16850 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16857 rm -f conftest.
$ac_objext
16858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16859 (eval $ac_compile) 2>conftest.er1
16861 grep -v '^ *+' conftest.er1
>conftest.err
16863 cat conftest.err
>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } &&
16866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; } &&
16872 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16880 echo "$as_me: failed program was:" >&5
16881 sed 's/^/| /' conftest.
$ac_ext >&5
16883 ac_lo
=`expr '(' $ac_mid ')' + 1`
16885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16888 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16889 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16890 See \`config.log' for more details." >&5
16891 echo "$as_me: error: cannot compute sizeof (int), 77
16892 See \`config.log' for more details." >&2;}
16893 { (exit 1); exit 1; }; } ;;
16896 if test "$cross_compiling" = yes; then
16897 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16898 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16899 { (exit 1); exit 1; }; }
16901 cat >conftest.
$ac_ext <<_ACEOF
16904 cat confdefs.h
>>conftest.
$ac_ext
16905 cat >>conftest.
$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16907 $ac_includes_default
16908 long longval () { return (long) (sizeof (int)); }
16909 unsigned long ulongval () { return (long) (sizeof (int)); }
16911 #include <stdlib.h>
16916 FILE *f = fopen ("conftest.val", "w");
16919 if (((long) (sizeof (int))) < 0)
16921 long i = longval ();
16922 if (i != ((long) (sizeof (int))))
16924 fprintf (f, "%ld\n", i);
16928 unsigned long i = ulongval ();
16929 if (i != ((long) (sizeof (int))))
16931 fprintf (f, "%lu\n", i);
16933 exit (ferror (f) || fclose (f) != 0);
16939 rm -f conftest
$ac_exeext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16941 (eval $ac_link) 2>&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_sizeof_int
=`cat conftest.val`
16952 echo "$as_me: program exited with status $ac_status" >&5
16953 echo "$as_me: failed program was:" >&5
16954 sed 's/^/| /' conftest.
$ac_ext >&5
16956 ( exit $ac_status )
16957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16958 See \`config.log' for more details." >&5
16959 echo "$as_me: error: cannot compute sizeof (int), 77
16960 See \`config.log' for more details." >&2;}
16961 { (exit 1); exit 1; }; }
16963 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16971 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16972 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16973 cat >>confdefs.h
<<_ACEOF
16974 #define SIZEOF_INT $ac_cv_sizeof_int
16978 echo "$as_me:$LINENO: checking for long" >&5
16979 echo $ECHO_N "checking for long... $ECHO_C" >&6
16980 if test "${ac_cv_type_long+set}" = set; then
16981 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 cat >conftest.
$ac_ext <<_ACEOF
16986 cat confdefs.h
>>conftest.
$ac_ext
16987 cat >>conftest.
$ac_ext <<_ACEOF
16988 /* end confdefs.h. */
16989 $ac_includes_default
17001 rm -f conftest.
$ac_objext
17002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17003 (eval $ac_compile) 2>conftest.er1
17005 grep -v '^ *+' conftest.er1
>conftest.err
17007 cat conftest.err
>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; } &&
17016 { ac_try
='test -s conftest.$ac_objext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17022 ac_cv_type_long
=yes
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.
$ac_ext >&5
17029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17031 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17032 echo "${ECHO_T}$ac_cv_type_long" >&6
17034 echo "$as_me:$LINENO: checking size of long" >&5
17035 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17036 if test "${ac_cv_sizeof_long+set}" = set; then
17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 if test "$ac_cv_type_long" = yes; then
17040 # The cast to unsigned long works around a bug in the HP C Compiler
17041 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17042 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17043 # This bug is HP SR number 8606223364.
17044 if test "$cross_compiling" = yes; then
17045 # Depending upon the size, compute the lo and hi bounds.
17046 cat >conftest.
$ac_ext <<_ACEOF
17049 cat confdefs.h
>>conftest.
$ac_ext
17050 cat >>conftest.
$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 $ac_includes_default
17056 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17063 rm -f conftest.
$ac_objext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17065 (eval $ac_compile) 2>conftest.er1
17067 grep -v '^ *+' conftest.er1
>conftest.err
17069 cat conftest.err
>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } &&
17072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try
='test -s conftest.$ac_objext'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; }; then
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 $ac_includes_default
17096 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17103 rm -f conftest.
$ac_objext
17104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17105 (eval $ac_compile) 2>conftest.er1
17107 grep -v '^ *+' conftest.er1
>conftest.err
17109 cat conftest.err
>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); } &&
17112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; } &&
17118 { ac_try
='test -s conftest.$ac_objext'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; }; then
17124 ac_hi
=$ac_mid; break
17126 echo "$as_me: failed program was:" >&5
17127 sed 's/^/| /' conftest.
$ac_ext >&5
17129 ac_lo
=`expr $ac_mid + 1`
17130 if test $ac_lo -le $ac_mid; then
17134 ac_mid
=`expr 2 '*' $ac_mid + 1`
17136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.
$ac_ext >&5
17142 cat >conftest.
$ac_ext <<_ACEOF
17145 cat confdefs.h
>>conftest.
$ac_ext
17146 cat >>conftest.
$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17148 $ac_includes_default
17152 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17159 rm -f conftest.
$ac_objext
17160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17161 (eval $ac_compile) 2>conftest.er1
17163 grep -v '^ *+' conftest.er1
>conftest.err
17165 cat conftest.err
>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } &&
17168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; } &&
17174 { ac_try
='test -s conftest.$ac_objext'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; }; then
17182 cat >conftest.
$ac_ext <<_ACEOF
17185 cat confdefs.h
>>conftest.
$ac_ext
17186 cat >>conftest.
$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 $ac_includes_default
17192 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17199 rm -f conftest.
$ac_objext
17200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17201 (eval $ac_compile) 2>conftest.er1
17203 grep -v '^ *+' conftest.er1
>conftest.err
17205 cat conftest.err
>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); } &&
17208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; } &&
17214 { ac_try
='test -s conftest.$ac_objext'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; }; then
17220 ac_lo
=$ac_mid; break
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.
$ac_ext >&5
17225 ac_hi
=`expr '(' $ac_mid ')' - 1`
17226 if test $ac_mid -le $ac_hi; then
17230 ac_mid
=`expr 2 '*' $ac_mid`
17232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.
$ac_ext >&5
17240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17243 # Binary search between lo and hi bounds.
17244 while test "x$ac_lo" != "x$ac_hi"; do
17245 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17246 cat >conftest.
$ac_ext <<_ACEOF
17249 cat confdefs.h
>>conftest.
$ac_ext
17250 cat >>conftest.
$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17252 $ac_includes_default
17256 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17263 rm -f conftest.
$ac_objext
17264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17265 (eval $ac_compile) 2>conftest.er1
17267 grep -v '^ *+' conftest.er1
>conftest.err
17269 cat conftest.err
>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } &&
17272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17274 (eval $ac_try) 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }; } &&
17278 { ac_try
='test -s conftest.$ac_objext'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.
$ac_ext >&5
17289 ac_lo
=`expr '(' $ac_mid ')' + 1`
17291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17294 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17295 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17296 See \`config.log' for more details." >&5
17297 echo "$as_me: error: cannot compute sizeof (long), 77
17298 See \`config.log' for more details." >&2;}
17299 { (exit 1); exit 1; }; } ;;
17302 if test "$cross_compiling" = yes; then
17303 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17304 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17305 { (exit 1); exit 1; }; }
17307 cat >conftest.
$ac_ext <<_ACEOF
17310 cat confdefs.h
>>conftest.
$ac_ext
17311 cat >>conftest.
$ac_ext <<_ACEOF
17312 /* end confdefs.h. */
17313 $ac_includes_default
17314 long longval () { return (long) (sizeof (long)); }
17315 unsigned long ulongval () { return (long) (sizeof (long)); }
17317 #include <stdlib.h>
17322 FILE *f = fopen ("conftest.val", "w");
17325 if (((long) (sizeof (long))) < 0)
17327 long i = longval ();
17328 if (i != ((long) (sizeof (long))))
17330 fprintf (f, "%ld\n", i);
17334 unsigned long i = ulongval ();
17335 if (i != ((long) (sizeof (long))))
17337 fprintf (f, "%lu\n", i);
17339 exit (ferror (f) || fclose (f) != 0);
17345 rm -f conftest
$ac_exeext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17347 (eval $ac_link) 2>&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17356 ac_cv_sizeof_long
=`cat conftest.val`
17358 echo "$as_me: program exited with status $ac_status" >&5
17359 echo "$as_me: failed program was:" >&5
17360 sed 's/^/| /' conftest.
$ac_ext >&5
17362 ( exit $ac_status )
17363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17364 See \`config.log' for more details." >&5
17365 echo "$as_me: error: cannot compute sizeof (long), 77
17366 See \`config.log' for more details." >&2;}
17367 { (exit 1); exit 1; }; }
17369 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17374 ac_cv_sizeof_long
=0
17377 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17378 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17379 cat >>confdefs.h
<<_ACEOF
17380 #define SIZEOF_LONG $ac_cv_sizeof_long
17384 echo "$as_me:$LINENO: checking for size_t" >&5
17385 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17386 if test "${ac_cv_type_size_t+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17389 cat >conftest.
$ac_ext <<_ACEOF
17392 cat confdefs.h
>>conftest.
$ac_ext
17393 cat >>conftest.
$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 $ac_includes_default
17401 if (sizeof (size_t))
17407 rm -f conftest.
$ac_objext
17408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17409 (eval $ac_compile) 2>conftest.er1
17411 grep -v '^ *+' conftest.er1
>conftest.err
17413 cat conftest.err
>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } &&
17416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; } &&
17422 { ac_try
='test -s conftest.$ac_objext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17428 ac_cv_type_size_t
=yes
17430 echo "$as_me: failed program was:" >&5
17431 sed 's/^/| /' conftest.
$ac_ext >&5
17433 ac_cv_type_size_t
=no
17435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17437 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17438 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17440 echo "$as_me:$LINENO: checking size of size_t" >&5
17441 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17442 if test "${ac_cv_sizeof_size_t+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 if test "$ac_cv_type_size_t" = yes; then
17446 # The cast to unsigned long works around a bug in the HP C Compiler
17447 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17448 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17449 # This bug is HP SR number 8606223364.
17450 if test "$cross_compiling" = yes; then
17451 # Depending upon the size, compute the lo and hi bounds.
17452 cat >conftest.
$ac_ext <<_ACEOF
17455 cat confdefs.h
>>conftest.
$ac_ext
17456 cat >>conftest.
$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 $ac_includes_default
17462 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17469 rm -f conftest.
$ac_objext
17470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17471 (eval $ac_compile) 2>conftest.er1
17473 grep -v '^ *+' conftest.er1
>conftest.err
17475 cat conftest.err
>&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } &&
17478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; } &&
17484 { ac_try
='test -s conftest.$ac_objext'
17485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486 (eval $ac_try) 2>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); }; }; then
17492 cat >conftest.
$ac_ext <<_ACEOF
17495 cat confdefs.h
>>conftest.
$ac_ext
17496 cat >>conftest.
$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17498 $ac_includes_default
17502 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17509 rm -f conftest.
$ac_objext
17510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17511 (eval $ac_compile) 2>conftest.er1
17513 grep -v '^ *+' conftest.er1
>conftest.err
17515 cat conftest.err
>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); } &&
17518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; } &&
17524 { ac_try
='test -s conftest.$ac_objext'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; }; then
17530 ac_hi
=$ac_mid; break
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.
$ac_ext >&5
17535 ac_lo
=`expr $ac_mid + 1`
17536 if test $ac_lo -le $ac_mid; then
17540 ac_mid
=`expr 2 '*' $ac_mid + 1`
17542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17545 echo "$as_me: failed program was:" >&5
17546 sed 's/^/| /' conftest.
$ac_ext >&5
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554 $ac_includes_default
17558 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17565 rm -f conftest.
$ac_objext
17566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17567 (eval $ac_compile) 2>conftest.er1
17569 grep -v '^ *+' conftest.er1
>conftest.err
17571 cat conftest.err
>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try
='test -s conftest.$ac_objext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17588 cat >conftest.
$ac_ext <<_ACEOF
17591 cat confdefs.h
>>conftest.
$ac_ext
17592 cat >>conftest.
$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 $ac_includes_default
17598 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17605 rm -f conftest.
$ac_objext
17606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17607 (eval $ac_compile) 2>conftest.er1
17609 grep -v '^ *+' conftest.er1
>conftest.err
17611 cat conftest.err
>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); } &&
17614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; } &&
17620 { ac_try
='test -s conftest.$ac_objext'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; }; then
17626 ac_lo
=$ac_mid; break
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.
$ac_ext >&5
17631 ac_hi
=`expr '(' $ac_mid ')' - 1`
17632 if test $ac_mid -le $ac_hi; then
17636 ac_mid
=`expr 2 '*' $ac_mid`
17638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.
$ac_ext >&5
17646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17649 # Binary search between lo and hi bounds.
17650 while test "x$ac_lo" != "x$ac_hi"; do
17651 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17652 cat >conftest.
$ac_ext <<_ACEOF
17655 cat confdefs.h
>>conftest.
$ac_ext
17656 cat >>conftest.
$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 $ac_includes_default
17662 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17669 rm -f conftest.
$ac_objext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17671 (eval $ac_compile) 2>conftest.er1
17673 grep -v '^ *+' conftest.er1
>conftest.err
17675 cat conftest.err
>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } &&
17678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17680 (eval $ac_try) 2>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; } &&
17684 { ac_try
='test -s conftest.$ac_objext'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; }; then
17692 echo "$as_me: failed program was:" >&5
17693 sed 's/^/| /' conftest.
$ac_ext >&5
17695 ac_lo
=`expr '(' $ac_mid ')' + 1`
17697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17700 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17701 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17702 See \`config.log' for more details." >&5
17703 echo "$as_me: error: cannot compute sizeof (size_t), 77
17704 See \`config.log' for more details." >&2;}
17705 { (exit 1); exit 1; }; } ;;
17708 if test "$cross_compiling" = yes; then
17709 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17710 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17711 { (exit 1); exit 1; }; }
17713 cat >conftest.
$ac_ext <<_ACEOF
17716 cat confdefs.h
>>conftest.
$ac_ext
17717 cat >>conftest.
$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17719 $ac_includes_default
17720 long longval () { return (long) (sizeof (size_t)); }
17721 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17723 #include <stdlib.h>
17728 FILE *f = fopen ("conftest.val", "w");
17731 if (((long) (sizeof (size_t))) < 0)
17733 long i = longval ();
17734 if (i != ((long) (sizeof (size_t))))
17736 fprintf (f, "%ld\n", i);
17740 unsigned long i = ulongval ();
17741 if (i != ((long) (sizeof (size_t))))
17743 fprintf (f, "%lu\n", i);
17745 exit (ferror (f) || fclose (f) != 0);
17751 rm -f conftest
$ac_exeext
17752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17753 (eval $ac_link) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 ac_cv_sizeof_size_t
=`cat conftest.val`
17764 echo "$as_me: program exited with status $ac_status" >&5
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.
$ac_ext >&5
17768 ( exit $ac_status )
17769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17770 See \`config.log' for more details." >&5
17771 echo "$as_me: error: cannot compute sizeof (size_t), 77
17772 See \`config.log' for more details." >&2;}
17773 { (exit 1); exit 1; }; }
17775 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17780 ac_cv_sizeof_size_t
=0
17783 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17784 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17785 cat >>confdefs.h
<<_ACEOF
17786 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17793 echo "$as_me:$LINENO: checking for long long" >&5
17794 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17795 if test "${ac_cv_type_long_long+set}" = set; then
17796 echo $ECHO_N "(cached) $ECHO_C" >&6
17798 cat >conftest.
$ac_ext <<_ACEOF
17801 cat confdefs.h
>>conftest.
$ac_ext
17802 cat >>conftest.
$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804 $ac_includes_default
17808 if ((long long *) 0)
17810 if (sizeof (long long))
17816 rm -f conftest.
$ac_objext
17817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17818 (eval $ac_compile) 2>conftest.er1
17820 grep -v '^ *+' conftest.er1
>conftest.err
17822 cat conftest.err
>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } &&
17825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827 (eval $ac_try) 2>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; } &&
17831 { ac_try
='test -s conftest.$ac_objext'
17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833 (eval $ac_try) 2>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; }; then
17837 ac_cv_type_long_long
=yes
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.
$ac_ext >&5
17842 ac_cv_type_long_long
=no
17844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17846 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17847 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17849 echo "$as_me:$LINENO: checking size of long long" >&5
17850 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17851 if test "${ac_cv_sizeof_long_long+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 if test "$ac_cv_type_long_long" = yes; then
17855 # The cast to unsigned long works around a bug in the HP C Compiler
17856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17858 # This bug is HP SR number 8606223364.
17859 if test "$cross_compiling" = yes; then
17860 # Depending upon the size, compute the lo and hi bounds.
17861 cat >conftest.
$ac_ext <<_ACEOF
17864 cat confdefs.h
>>conftest.
$ac_ext
17865 cat >>conftest.
$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 $ac_includes_default
17871 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17878 rm -f conftest.
$ac_objext
17879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17880 (eval $ac_compile) 2>conftest.er1
17882 grep -v '^ *+' conftest.er1
>conftest.err
17884 cat conftest.err
>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } &&
17887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889 (eval $ac_try) 2>&5
17891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892 (exit $ac_status); }; } &&
17893 { ac_try
='test -s conftest.$ac_objext'
17894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17895 (eval $ac_try) 2>&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); }; }; then
17901 cat >conftest.
$ac_ext <<_ACEOF
17904 cat confdefs.h
>>conftest.
$ac_ext
17905 cat >>conftest.
$ac_ext <<_ACEOF
17906 /* end confdefs.h. */
17907 $ac_includes_default
17911 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17918 rm -f conftest.
$ac_objext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17920 (eval $ac_compile) 2>conftest.er1
17922 grep -v '^ *+' conftest.er1
>conftest.err
17924 cat conftest.err
>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; } &&
17933 { ac_try
='test -s conftest.$ac_objext'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17939 ac_hi
=$ac_mid; break
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.
$ac_ext >&5
17944 ac_lo
=`expr $ac_mid + 1`
17945 if test $ac_lo -le $ac_mid; then
17949 ac_mid
=`expr 2 '*' $ac_mid + 1`
17951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.
$ac_ext >&5
17957 cat >conftest.
$ac_ext <<_ACEOF
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 $ac_includes_default
17967 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17974 rm -f conftest.
$ac_objext
17975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17976 (eval $ac_compile) 2>conftest.er1
17978 grep -v '^ *+' conftest.er1
>conftest.err
17980 cat conftest.err
>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } &&
17983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; } &&
17989 { ac_try
='test -s conftest.$ac_objext'
17990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991 (eval $ac_try) 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; }; then
17997 cat >conftest.
$ac_ext <<_ACEOF
18000 cat confdefs.h
>>conftest.
$ac_ext
18001 cat >>conftest.
$ac_ext <<_ACEOF
18002 /* end confdefs.h. */
18003 $ac_includes_default
18007 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18014 rm -f conftest.
$ac_objext
18015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18016 (eval $ac_compile) 2>conftest.er1
18018 grep -v '^ *+' conftest.er1
>conftest.err
18020 cat conftest.err
>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try
='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_lo
=$ac_mid; break
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.
$ac_ext >&5
18040 ac_hi
=`expr '(' $ac_mid ')' - 1`
18041 if test $ac_mid -le $ac_hi; then
18045 ac_mid
=`expr 2 '*' $ac_mid`
18047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18050 echo "$as_me: failed program was:" >&5
18051 sed 's/^/| /' conftest.
$ac_ext >&5
18055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18058 # Binary search between lo and hi bounds.
18059 while test "x$ac_lo" != "x$ac_hi"; do
18060 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18061 cat >conftest.
$ac_ext <<_ACEOF
18064 cat confdefs.h
>>conftest.
$ac_ext
18065 cat >>conftest.
$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18067 $ac_includes_default
18071 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18078 rm -f conftest.
$ac_objext
18079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18080 (eval $ac_compile) 2>conftest.er1
18082 grep -v '^ *+' conftest.er1
>conftest.err
18084 cat conftest.err
>&5
18085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18086 (exit $ac_status); } &&
18087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18089 (eval $ac_try) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); }; } &&
18093 { ac_try
='test -s conftest.$ac_objext'
18094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18095 (eval $ac_try) 2>&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); }; }; then
18101 echo "$as_me: failed program was:" >&5
18102 sed 's/^/| /' conftest.
$ac_ext >&5
18104 ac_lo
=`expr '(' $ac_mid ')' + 1`
18106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18109 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18110 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18111 See \`config.log' for more details." >&5
18112 echo "$as_me: error: cannot compute sizeof (long long), 77
18113 See \`config.log' for more details." >&2;}
18114 { (exit 1); exit 1; }; } ;;
18117 if test "$cross_compiling" = yes; then
18118 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18119 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18120 { (exit 1); exit 1; }; }
18122 cat >conftest.
$ac_ext <<_ACEOF
18125 cat confdefs.h
>>conftest.
$ac_ext
18126 cat >>conftest.
$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 $ac_includes_default
18129 long longval () { return (long) (sizeof (long long)); }
18130 unsigned long ulongval () { return (long) (sizeof (long long)); }
18132 #include <stdlib.h>
18137 FILE *f = fopen ("conftest.val", "w");
18140 if (((long) (sizeof (long long))) < 0)
18142 long i = longval ();
18143 if (i != ((long) (sizeof (long long))))
18145 fprintf (f, "%ld\n", i);
18149 unsigned long i = ulongval ();
18150 if (i != ((long) (sizeof (long long))))
18152 fprintf (f, "%lu\n", i);
18154 exit (ferror (f) || fclose (f) != 0);
18160 rm -f conftest
$ac_exeext
18161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18162 (eval $ac_link) 2>&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 ac_cv_sizeof_long_long
=`cat conftest.val`
18173 echo "$as_me: program exited with status $ac_status" >&5
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.
$ac_ext >&5
18177 ( exit $ac_status )
18178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18179 See \`config.log' for more details." >&5
18180 echo "$as_me: error: cannot compute sizeof (long long), 77
18181 See \`config.log' for more details." >&2;}
18182 { (exit 1); exit 1; }; }
18184 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18189 ac_cv_sizeof_long_long
=0
18192 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18193 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18194 cat >>confdefs.h
<<_ACEOF
18195 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18201 echo "$as_me:$LINENO: checking for long long" >&5
18202 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18203 if test "${ac_cv_type_long_long+set}" = set; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 cat >conftest.
$ac_ext <<_ACEOF
18209 cat confdefs.h
>>conftest.
$ac_ext
18210 cat >>conftest.
$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18212 $ac_includes_default
18216 if ((long long *) 0)
18218 if (sizeof (long long))
18224 rm -f conftest.
$ac_objext
18225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18226 (eval $ac_compile) 2>conftest.er1
18228 grep -v '^ *+' conftest.er1
>conftest.err
18230 cat conftest.err
>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } &&
18233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; } &&
18239 { ac_try
='test -s conftest.$ac_objext'
18240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18241 (eval $ac_try) 2>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); }; }; then
18245 ac_cv_type_long_long
=yes
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.
$ac_ext >&5
18250 ac_cv_type_long_long
=no
18252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18254 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18255 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18257 echo "$as_me:$LINENO: checking size of long long" >&5
18258 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18259 if test "${ac_cv_sizeof_long_long+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 if test "$ac_cv_type_long_long" = yes; then
18263 # The cast to unsigned long works around a bug in the HP C Compiler
18264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18266 # This bug is HP SR number 8606223364.
18267 if test "$cross_compiling" = yes; then
18268 # Depending upon the size, compute the lo and hi bounds.
18269 cat >conftest.
$ac_ext <<_ACEOF
18272 cat confdefs.h
>>conftest.
$ac_ext
18273 cat >>conftest.
$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18279 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18286 rm -f conftest.
$ac_objext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18288 (eval $ac_compile) 2>conftest.er1
18290 grep -v '^ *+' conftest.er1
>conftest.err
18292 cat conftest.err
>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try
='test -s conftest.$ac_objext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18309 cat >conftest.
$ac_ext <<_ACEOF
18312 cat confdefs.h
>>conftest.
$ac_ext
18313 cat >>conftest.
$ac_ext <<_ACEOF
18314 /* end confdefs.h. */
18315 $ac_includes_default
18319 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18326 rm -f conftest.
$ac_objext
18327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18328 (eval $ac_compile) 2>conftest.er1
18330 grep -v '^ *+' conftest.er1
>conftest.err
18332 cat conftest.err
>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); } &&
18335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18337 (eval $ac_try) 2>&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); }; } &&
18341 { ac_try
='test -s conftest.$ac_objext'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; }; then
18347 ac_hi
=$ac_mid; break
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.
$ac_ext >&5
18352 ac_lo
=`expr $ac_mid + 1`
18353 if test $ac_lo -le $ac_mid; then
18357 ac_mid
=`expr 2 '*' $ac_mid + 1`
18359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18362 echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.
$ac_ext >&5
18365 cat >conftest.
$ac_ext <<_ACEOF
18368 cat confdefs.h
>>conftest.
$ac_ext
18369 cat >>conftest.
$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371 $ac_includes_default
18375 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18382 rm -f conftest.
$ac_objext
18383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18384 (eval $ac_compile) 2>conftest.er1
18386 grep -v '^ *+' conftest.er1
>conftest.err
18388 cat conftest.err
>&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } &&
18391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; } &&
18397 { ac_try
='test -s conftest.$ac_objext'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; }; then
18405 cat >conftest.
$ac_ext <<_ACEOF
18408 cat confdefs.h
>>conftest.
$ac_ext
18409 cat >>conftest.
$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 $ac_includes_default
18415 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18422 rm -f conftest.
$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>conftest.er1
18426 grep -v '^ *+' conftest.er1
>conftest.err
18428 cat conftest.err
>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); } &&
18431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; } &&
18437 { ac_try
='test -s conftest.$ac_objext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_lo
=$ac_mid; break
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.
$ac_ext >&5
18448 ac_hi
=`expr '(' $ac_mid ')' - 1`
18449 if test $ac_mid -le $ac_hi; then
18453 ac_mid
=`expr 2 '*' $ac_mid`
18455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.
$ac_ext >&5
18463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18466 # Binary search between lo and hi bounds.
18467 while test "x$ac_lo" != "x$ac_hi"; do
18468 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18469 cat >conftest.
$ac_ext <<_ACEOF
18472 cat confdefs.h
>>conftest.
$ac_ext
18473 cat >>conftest.
$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475 $ac_includes_default
18479 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18486 rm -f conftest.
$ac_objext
18487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18488 (eval $ac_compile) 2>conftest.er1
18490 grep -v '^ *+' conftest.er1
>conftest.err
18492 cat conftest.err
>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } &&
18495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; } &&
18501 { ac_try
='test -s conftest.$ac_objext'
18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18503 (eval $ac_try) 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; }; then
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.
$ac_ext >&5
18512 ac_lo
=`expr '(' $ac_mid ')' + 1`
18514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18517 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18518 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18519 See \`config.log' for more details." >&5
18520 echo "$as_me: error: cannot compute sizeof (long long), 77
18521 See \`config.log' for more details." >&2;}
18522 { (exit 1); exit 1; }; } ;;
18525 if test "$cross_compiling" = yes; then
18526 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18527 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18528 { (exit 1); exit 1; }; }
18530 cat >conftest.
$ac_ext <<_ACEOF
18533 cat confdefs.h
>>conftest.
$ac_ext
18534 cat >>conftest.
$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18536 $ac_includes_default
18537 long longval () { return (long) (sizeof (long long)); }
18538 unsigned long ulongval () { return (long) (sizeof (long long)); }
18540 #include <stdlib.h>
18545 FILE *f = fopen ("conftest.val", "w");
18548 if (((long) (sizeof (long long))) < 0)
18550 long i = longval ();
18551 if (i != ((long) (sizeof (long long))))
18553 fprintf (f, "%ld\n", i);
18557 unsigned long i = ulongval ();
18558 if (i != ((long) (sizeof (long long))))
18560 fprintf (f, "%lu\n", i);
18562 exit (ferror (f) || fclose (f) != 0);
18568 rm -f conftest
$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_sizeof_long_long
=`cat conftest.val`
18581 echo "$as_me: program exited with status $ac_status" >&5
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 ( exit $ac_status )
18586 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18587 See \`config.log' for more details." >&5
18588 echo "$as_me: error: cannot compute sizeof (long long), 77
18589 See \`config.log' for more details." >&2;}
18590 { (exit 1); exit 1; }; }
18592 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18597 ac_cv_sizeof_long_long
=0
18600 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18601 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18602 cat >>confdefs.h
<<_ACEOF
18603 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18607 if test "$ac_cv_sizeof_long_long" != "0"; then
18608 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18612 echo "$as_me:$LINENO: checking for long long" >&5
18613 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18614 if test "${ac_cv_type_long_long+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18617 cat >conftest.
$ac_ext <<_ACEOF
18620 cat confdefs.h
>>conftest.
$ac_ext
18621 cat >>conftest.
$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 $ac_includes_default
18627 if ((long long *) 0)
18629 if (sizeof (long long))
18635 rm -f conftest.
$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646 (eval $ac_try) 2>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; } &&
18650 { ac_try
='test -s conftest.$ac_objext'
18651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18652 (eval $ac_try) 2>&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; }; then
18656 ac_cv_type_long_long
=yes
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.
$ac_ext >&5
18661 ac_cv_type_long_long
=no
18663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18665 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18666 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18668 echo "$as_me:$LINENO: checking size of long long" >&5
18669 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18670 if test "${ac_cv_sizeof_long_long+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18673 if test "$ac_cv_type_long_long" = yes; then
18674 # The cast to unsigned long works around a bug in the HP C Compiler
18675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18676 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18677 # This bug is HP SR number 8606223364.
18678 if test "$cross_compiling" = yes; then
18679 # Depending upon the size, compute the lo and hi bounds.
18680 cat >conftest.
$ac_ext <<_ACEOF
18683 cat confdefs.h
>>conftest.
$ac_ext
18684 cat >>conftest.
$ac_ext <<_ACEOF
18685 /* end confdefs.h. */
18686 $ac_includes_default
18690 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18697 rm -f conftest.
$ac_objext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18699 (eval $ac_compile) 2>conftest.er1
18701 grep -v '^ *+' conftest.er1
>conftest.err
18703 cat conftest.err
>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); } &&
18706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708 (eval $ac_try) 2>&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; } &&
18712 { ac_try
='test -s conftest.$ac_objext'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; }; then
18720 cat >conftest.
$ac_ext <<_ACEOF
18723 cat confdefs.h
>>conftest.
$ac_ext
18724 cat >>conftest.
$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 $ac_includes_default
18730 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18737 rm -f conftest.
$ac_objext
18738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18739 (eval $ac_compile) 2>conftest.er1
18741 grep -v '^ *+' conftest.er1
>conftest.err
18743 cat conftest.err
>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } &&
18746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748 (eval $ac_try) 2>&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); }; } &&
18752 { ac_try
='test -s conftest.$ac_objext'
18753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18754 (eval $ac_try) 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; }; then
18758 ac_hi
=$ac_mid; break
18760 echo "$as_me: failed program was:" >&5
18761 sed 's/^/| /' conftest.
$ac_ext >&5
18763 ac_lo
=`expr $ac_mid + 1`
18764 if test $ac_lo -le $ac_mid; then
18768 ac_mid
=`expr 2 '*' $ac_mid + 1`
18770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.
$ac_ext >&5
18776 cat >conftest.
$ac_ext <<_ACEOF
18779 cat confdefs.h
>>conftest.
$ac_ext
18780 cat >>conftest.
$ac_ext <<_ACEOF
18781 /* end confdefs.h. */
18782 $ac_includes_default
18786 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18793 rm -f conftest.
$ac_objext
18794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18795 (eval $ac_compile) 2>conftest.er1
18797 grep -v '^ *+' conftest.er1
>conftest.err
18799 cat conftest.err
>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } &&
18802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try
='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18816 cat >conftest.
$ac_ext <<_ACEOF
18819 cat confdefs.h
>>conftest.
$ac_ext
18820 cat >>conftest.
$ac_ext <<_ACEOF
18821 /* end confdefs.h. */
18822 $ac_includes_default
18826 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18833 rm -f conftest.
$ac_objext
18834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18835 (eval $ac_compile) 2>conftest.er1
18837 grep -v '^ *+' conftest.er1
>conftest.err
18839 cat conftest.err
>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } &&
18842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try
='test -s conftest.$ac_objext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 ac_lo
=$ac_mid; break
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.
$ac_ext >&5
18859 ac_hi
=`expr '(' $ac_mid ')' - 1`
18860 if test $ac_mid -le $ac_hi; then
18864 ac_mid
=`expr 2 '*' $ac_mid`
18866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.
$ac_ext >&5
18874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18877 # Binary search between lo and hi bounds.
18878 while test "x$ac_lo" != "x$ac_hi"; do
18879 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18880 cat >conftest.
$ac_ext <<_ACEOF
18883 cat confdefs.h
>>conftest.
$ac_ext
18884 cat >>conftest.
$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 $ac_includes_default
18890 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18897 rm -f conftest.
$ac_objext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18901 grep -v '^ *+' conftest.er1
>conftest.err
18903 cat conftest.err
>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; } &&
18912 { ac_try
='test -s conftest.$ac_objext'
18913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914 (eval $ac_try) 2>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; }; then
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.
$ac_ext >&5
18923 ac_lo
=`expr '(' $ac_mid ')' + 1`
18925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18928 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18929 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18930 See \`config.log' for more details." >&5
18931 echo "$as_me: error: cannot compute sizeof (long long), 77
18932 See \`config.log' for more details." >&2;}
18933 { (exit 1); exit 1; }; } ;;
18936 if test "$cross_compiling" = yes; then
18937 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18938 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18939 { (exit 1); exit 1; }; }
18941 cat >conftest.
$ac_ext <<_ACEOF
18944 cat confdefs.h
>>conftest.
$ac_ext
18945 cat >>conftest.
$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18947 $ac_includes_default
18948 long longval () { return (long) (sizeof (long long)); }
18949 unsigned long ulongval () { return (long) (sizeof (long long)); }
18951 #include <stdlib.h>
18956 FILE *f = fopen ("conftest.val", "w");
18959 if (((long) (sizeof (long long))) < 0)
18961 long i = longval ();
18962 if (i != ((long) (sizeof (long long))))
18964 fprintf (f, "%ld\n", i);
18968 unsigned long i = ulongval ();
18969 if (i != ((long) (sizeof (long long))))
18971 fprintf (f, "%lu\n", i);
18973 exit (ferror (f) || fclose (f) != 0);
18979 rm -f conftest
$ac_exeext
18980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18981 (eval $ac_link) 2>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; }; then
18990 ac_cv_sizeof_long_long
=`cat conftest.val`
18992 echo "$as_me: program exited with status $ac_status" >&5
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.
$ac_ext >&5
18996 ( exit $ac_status )
18997 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18998 See \`config.log' for more details." >&5
18999 echo "$as_me: error: cannot compute sizeof (long long), 77
19000 See \`config.log' for more details." >&2;}
19001 { (exit 1); exit 1; }; }
19003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19008 ac_cv_sizeof_long_long
=0
19011 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19012 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19013 cat >>confdefs.h
<<_ACEOF
19014 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19020 echo "$as_me:$LINENO: checking for wchar_t" >&5
19021 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19022 if test "${ac_cv_type_wchar_t+set}" = set; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19025 cat >conftest.
$ac_ext <<_ACEOF
19028 cat confdefs.h
>>conftest.
$ac_ext
19029 cat >>conftest.
$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19032 /* DJGPP only has fake wchar_t: */
19034 # error "fake wchar_t"
19036 #ifdef HAVE_WCHAR_H
19038 # include <stddef.h>
19040 # include <wchar.h>
19042 #ifdef HAVE_STDLIB_H
19043 # include <stdlib.h>
19054 if (sizeof (wchar_t))
19060 rm -f conftest.
$ac_objext
19061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19062 (eval $ac_compile) 2>conftest.er1
19064 grep -v '^ *+' conftest.er1
>conftest.err
19066 cat conftest.err
>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } &&
19069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071 (eval $ac_try) 2>&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); }; } &&
19075 { ac_try
='test -s conftest.$ac_objext'
19076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077 (eval $ac_try) 2>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; }; then
19081 ac_cv_type_wchar_t
=yes
19083 echo "$as_me: failed program was:" >&5
19084 sed 's/^/| /' conftest.
$ac_ext >&5
19086 ac_cv_type_wchar_t
=no
19088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19090 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19091 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19093 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19094 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19095 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19096 echo $ECHO_N "(cached) $ECHO_C" >&6
19098 if test "$ac_cv_type_wchar_t" = yes; then
19099 # The cast to unsigned long works around a bug in the HP C Compiler
19100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19102 # This bug is HP SR number 8606223364.
19103 if test "$cross_compiling" = yes; then
19104 # Depending upon the size, compute the lo and hi bounds.
19105 cat >conftest.
$ac_ext <<_ACEOF
19108 cat confdefs.h
>>conftest.
$ac_ext
19109 cat >>conftest.
$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19112 /* DJGPP only has fake wchar_t: */
19114 # error "fake wchar_t"
19116 #ifdef HAVE_WCHAR_H
19118 # include <stddef.h>
19120 # include <wchar.h>
19122 #ifdef HAVE_STDLIB_H
19123 # include <stdlib.h>
19132 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19139 rm -f conftest.
$ac_objext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19141 (eval $ac_compile) 2>conftest.er1
19143 grep -v '^ *+' conftest.er1
>conftest.err
19145 cat conftest.err
>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; } &&
19154 { ac_try
='test -s conftest.$ac_objext'
19155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19156 (eval $ac_try) 2>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19162 cat >conftest.
$ac_ext <<_ACEOF
19165 cat confdefs.h
>>conftest.
$ac_ext
19166 cat >>conftest.
$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19169 /* DJGPP only has fake wchar_t: */
19171 # error "fake wchar_t"
19173 #ifdef HAVE_WCHAR_H
19175 # include <stddef.h>
19177 # include <wchar.h>
19179 #ifdef HAVE_STDLIB_H
19180 # include <stdlib.h>
19189 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19196 rm -f conftest.
$ac_objext
19197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19198 (eval $ac_compile) 2>conftest.er1
19200 grep -v '^ *+' conftest.er1
>conftest.err
19202 cat conftest.err
>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } &&
19205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; } &&
19211 { ac_try
='test -s conftest.$ac_objext'
19212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213 (eval $ac_try) 2>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); }; }; then
19217 ac_hi
=$ac_mid; break
19219 echo "$as_me: failed program was:" >&5
19220 sed 's/^/| /' conftest.
$ac_ext >&5
19222 ac_lo
=`expr $ac_mid + 1`
19223 if test $ac_lo -le $ac_mid; then
19227 ac_mid
=`expr 2 '*' $ac_mid + 1`
19229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.
$ac_ext >&5
19235 cat >conftest.
$ac_ext <<_ACEOF
19238 cat confdefs.h
>>conftest.
$ac_ext
19239 cat >>conftest.
$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19242 /* DJGPP only has fake wchar_t: */
19244 # error "fake wchar_t"
19246 #ifdef HAVE_WCHAR_H
19248 # include <stddef.h>
19250 # include <wchar.h>
19252 #ifdef HAVE_STDLIB_H
19253 # include <stdlib.h>
19262 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19269 rm -f conftest.
$ac_objext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19271 (eval $ac_compile) 2>conftest.er1
19273 grep -v '^ *+' conftest.er1
>conftest.err
19275 cat conftest.err
>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; } &&
19284 { ac_try
='test -s conftest.$ac_objext'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; }; then
19292 cat >conftest.
$ac_ext <<_ACEOF
19295 cat confdefs.h
>>conftest.
$ac_ext
19296 cat >>conftest.
$ac_ext <<_ACEOF
19297 /* end confdefs.h. */
19299 /* DJGPP only has fake wchar_t: */
19301 # error "fake wchar_t"
19303 #ifdef HAVE_WCHAR_H
19305 # include <stddef.h>
19307 # include <wchar.h>
19309 #ifdef HAVE_STDLIB_H
19310 # include <stdlib.h>
19319 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19326 rm -f conftest.
$ac_objext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19328 (eval $ac_compile) 2>conftest.er1
19330 grep -v '^ *+' conftest.er1
>conftest.err
19332 cat conftest.err
>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try
='test -s conftest.$ac_objext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_lo
=$ac_mid; break
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.
$ac_ext >&5
19352 ac_hi
=`expr '(' $ac_mid ')' - 1`
19353 if test $ac_mid -le $ac_hi; then
19357 ac_mid
=`expr 2 '*' $ac_mid`
19359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.
$ac_ext >&5
19367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19370 # Binary search between lo and hi bounds.
19371 while test "x$ac_lo" != "x$ac_hi"; do
19372 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19373 cat >conftest.
$ac_ext <<_ACEOF
19376 cat confdefs.h
>>conftest.
$ac_ext
19377 cat >>conftest.
$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19380 /* DJGPP only has fake wchar_t: */
19382 # error "fake wchar_t"
19384 #ifdef HAVE_WCHAR_H
19386 # include <stddef.h>
19388 # include <wchar.h>
19390 #ifdef HAVE_STDLIB_H
19391 # include <stdlib.h>
19400 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19407 rm -f conftest.
$ac_objext
19408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19409 (eval $ac_compile) 2>conftest.er1
19411 grep -v '^ *+' conftest.er1
>conftest.err
19413 cat conftest.err
>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); } &&
19416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; } &&
19422 { ac_try
='test -s conftest.$ac_objext'
19423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424 (eval $ac_try) 2>&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); }; }; then
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.
$ac_ext >&5
19433 ac_lo
=`expr '(' $ac_mid ')' + 1`
19435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19438 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19439 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19440 See \`config.log' for more details." >&5
19441 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19442 See \`config.log' for more details." >&2;}
19443 { (exit 1); exit 1; }; } ;;
19446 if test "$cross_compiling" = yes; then
19447 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19448 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19449 { (exit 1); exit 1; }; }
19451 cat >conftest.
$ac_ext <<_ACEOF
19454 cat confdefs.h
>>conftest.
$ac_ext
19455 cat >>conftest.
$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19458 /* DJGPP only has fake wchar_t: */
19460 # error "fake wchar_t"
19462 #ifdef HAVE_WCHAR_H
19464 # include <stddef.h>
19466 # include <wchar.h>
19468 #ifdef HAVE_STDLIB_H
19469 # include <stdlib.h>
19475 long longval () { return (long) (sizeof (wchar_t)); }
19476 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19478 #include <stdlib.h>
19483 FILE *f = fopen ("conftest.val", "w");
19486 if (((long) (sizeof (wchar_t))) < 0)
19488 long i = longval ();
19489 if (i != ((long) (sizeof (wchar_t))))
19491 fprintf (f, "%ld\n", i);
19495 unsigned long i = ulongval ();
19496 if (i != ((long) (sizeof (wchar_t))))
19498 fprintf (f, "%lu\n", i);
19500 exit (ferror (f) || fclose (f) != 0);
19506 rm -f conftest
$ac_exeext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19508 (eval $ac_link) 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19519 echo "$as_me: program exited with status $ac_status" >&5
19520 echo "$as_me: failed program was:" >&5
19521 sed 's/^/| /' conftest.
$ac_ext >&5
19523 ( exit $ac_status )
19524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19525 See \`config.log' for more details." >&5
19526 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19527 See \`config.log' for more details." >&2;}
19528 { (exit 1); exit 1; }; }
19530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19535 ac_cv_sizeof_wchar_t
=0
19538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19539 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19540 cat >>confdefs.h
<<_ACEOF
19541 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19546 echo "$as_me:$LINENO: checking for va_copy" >&5
19547 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19548 if test "${wx_cv_func_va_copy+set}" = set; then
19549 echo $ECHO_N "(cached) $ECHO_C" >&6
19552 cat >conftest.
$ac_ext <<_ACEOF
19554 #include <stdarg.h>
19555 void foo(char *f, ...)
19569 rm -f conftest.
$ac_objext conftest
$ac_exeext
19570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19571 (eval $ac_link) 2>conftest.er1
19573 grep -v '^ *+' conftest.er1
>conftest.err
19575 cat conftest.err
>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); } &&
19578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; } &&
19584 { ac_try
='test -s conftest$ac_exeext'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19590 wx_cv_func_va_copy
=yes
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.
$ac_ext >&5
19595 wx_cv_func_va_copy
=no
19598 rm -f conftest.err conftest.
$ac_objext \
19599 conftest
$ac_exeext conftest.
$ac_ext
19603 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19604 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19606 if test $wx_cv_func_va_copy = "yes"; then
19607 cat >>confdefs.h
<<\_ACEOF
19608 #define HAVE_VA_COPY 1
19612 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19613 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19614 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 if test "$cross_compiling" = yes; then
19619 wx_cv_type_va_list_lvalue
=yes
19622 cat >conftest.
$ac_ext <<_ACEOF
19624 #include <stdarg.h>
19625 int foo(char *f, ...)
19630 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19638 return foo("hi", 17);
19641 rm -f conftest
$ac_exeext
19642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19643 (eval $ac_link) 2>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 wx_cv_type_va_list_lvalue
=yes
19654 echo "$as_me: program exited with status $ac_status" >&5
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.
$ac_ext >&5
19658 ( exit $ac_status )
19659 wx_cv_type_va_list_lvalue
=no
19661 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19666 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19667 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19669 if test $wx_cv_type_va_list_lvalue != "yes"; then
19670 cat >>confdefs.h
<<\_ACEOF
19671 #define VA_LIST_IS_ARRAY 1
19677 # Check whether --enable-largefile or --disable-largefile was given.
19678 if test "${enable_largefile+set}" = set; then
19679 enableval
="$enable_largefile"
19682 if test "$enable_largefile" != no
; then
19685 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19686 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19687 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19688 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 cat >conftest.
$ac_ext <<_ACEOF
19694 cat confdefs.h
>>conftest.
$ac_ext
19695 cat >>conftest.
$ac_ext <<_ACEOF
19696 /* end confdefs.h. */
19697 #define _FILE_OFFSET_BITS 64
19698 #include <sys/types.h>
19703 unsigned int field: sizeof(off_t) == 8;
19710 rm -f conftest.
$ac_objext
19711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19712 (eval $ac_compile) 2>conftest.er1
19714 grep -v '^ *+' conftest.er1
>conftest.err
19716 cat conftest.err
>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } &&
19719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19721 (eval $ac_try) 2>&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); }; } &&
19725 { ac_try
='test -s conftest.$ac_objext'
19726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19727 (eval $ac_try) 2>&5
19729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19730 (exit $ac_status); }; }; then
19731 ac_cv_sys_file_offset_bits
=64
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.
$ac_ext >&5
19736 ac_cv_sys_file_offset_bits
=no
19738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19742 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19743 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19745 if test "$ac_cv_sys_file_offset_bits" != no
; then
19747 cat >>confdefs.h
<<_ACEOF
19748 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19753 if test "x$wx_largefile" != "xyes"; then
19755 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19756 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19757 if test "${ac_cv_sys_large_files+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 cat >conftest.
$ac_ext <<_ACEOF
19764 cat confdefs.h
>>conftest.
$ac_ext
19765 cat >>conftest.
$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #define _LARGE_FILES 1
19768 #include <sys/types.h>
19773 unsigned int field: sizeof(off_t) == 8;
19780 rm -f conftest.
$ac_objext
19781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19782 (eval $ac_compile) 2>conftest.er1
19784 grep -v '^ *+' conftest.er1
>conftest.err
19786 cat conftest.err
>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } &&
19789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; } &&
19795 { ac_try
='test -s conftest.$ac_objext'
19796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19797 (eval $ac_try) 2>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); }; }; then
19801 ac_cv_sys_large_files
=1
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.
$ac_ext >&5
19806 ac_cv_sys_large_files
=no
19808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19812 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
19813 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
19815 if test "$ac_cv_sys_large_files" != no
; then
19817 cat >>confdefs.h
<<_ACEOF
19818 #define _LARGE_FILES $ac_cv_sys_large_files
19825 echo "$as_me:$LINENO: checking if large file support is available" >&5
19826 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
19827 if test "x$wx_largefile" = "xyes"; then
19828 cat >>confdefs.h
<<\_ACEOF
19829 #define HAVE_LARGEFILE_SUPPORT 1
19833 echo "$as_me:$LINENO: result: $wx_largefile" >&5
19834 echo "${ECHO_T}$wx_largefile" >&6
19838 if test "x$wx_largefile" = "xyes"; then
19839 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
19840 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
19842 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
19844 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
19845 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
19846 if test "${ac_cv_sys_largefile_source+set}" = set; then
19847 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 ac_cv_sys_largefile_source
=no
19851 cat >conftest.
$ac_ext <<_ACEOF
19854 cat confdefs.h
>>conftest.
$ac_ext
19855 cat >>conftest.
$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19866 rm -f conftest.
$ac_objext
19867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19868 (eval $ac_compile) 2>conftest.er1
19870 grep -v '^ *+' conftest.er1
>conftest.err
19872 cat conftest.err
>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } &&
19875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19877 (eval $ac_try) 2>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); }; } &&
19881 { ac_try
='test -s conftest.$ac_objext'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; }; then
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.
$ac_ext >&5
19893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19894 cat >conftest.
$ac_ext <<_ACEOF
19897 cat confdefs.h
>>conftest.
$ac_ext
19898 cat >>conftest.
$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 #define _LARGEFILE_SOURCE 1
19910 rm -f conftest.
$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19914 grep -v '^ *+' conftest.er1
>conftest.err
19916 cat conftest.err
>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try
='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 ac_cv_sys_largefile_source
=1; break
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.
$ac_ext >&5
19937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19941 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
19942 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
19943 if test "$ac_cv_sys_largefile_source" != no
; then
19945 cat >>confdefs.h
<<_ACEOF
19946 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
19952 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
19953 # in glibc 2.1.3, but that breaks too many other things.
19954 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
19955 echo "$as_me:$LINENO: checking for fseeko" >&5
19956 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
19957 if test "${ac_cv_func_fseeko+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19960 cat >conftest.
$ac_ext <<_ACEOF
19963 cat confdefs.h
>>conftest.
$ac_ext
19964 cat >>conftest.
$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19970 return fseeko && fseeko (stdin, 0, 0);
19975 rm -f conftest.
$ac_objext conftest
$ac_exeext
19976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19977 (eval $ac_link) 2>conftest.er1
19979 grep -v '^ *+' conftest.er1
>conftest.err
19981 cat conftest.err
>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } &&
19984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try
='test -s conftest$ac_exeext'
19991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992 (eval $ac_try) 2>&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19996 ac_cv_func_fseeko
=yes
19998 echo "$as_me: failed program was:" >&5
19999 sed 's/^/| /' conftest.
$ac_ext >&5
20001 ac_cv_func_fseeko
=no
20003 rm -f conftest.err conftest.
$ac_objext \
20004 conftest
$ac_exeext conftest.
$ac_ext
20006 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20007 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20008 if test $ac_cv_func_fseeko = yes; then
20010 cat >>confdefs.h
<<\_ACEOF
20011 #define HAVE_FSEEKO 1
20016 if test "$ac_cv_sys_largefile_source" != no
; then
20017 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20019 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20022 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20023 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20024 if test "${ac_cv_c_bigendian+set}" = set; then
20025 echo $ECHO_N "(cached) $ECHO_C" >&6
20027 ac_cv_c_bigendian
=unknown
20028 # See if sys/param.h defines the BYTE_ORDER macro.
20029 cat >conftest.
$ac_ext <<_ACEOF
20032 cat confdefs.h
>>conftest.
$ac_ext
20033 cat >>conftest.
$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 #include <sys/types.h>
20036 #include <sys/param.h>
20041 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20042 bogus endian macros
20048 rm -f conftest.
$ac_objext
20049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20050 (eval $ac_compile) 2>conftest.er1
20052 grep -v '^ *+' conftest.er1
>conftest.err
20054 cat conftest.err
>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } &&
20057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; } &&
20063 { ac_try
='test -s conftest.$ac_objext'
20064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20065 (eval $ac_try) 2>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); }; }; then
20069 # It does; now see whether it defined to BIG_ENDIAN or not.
20070 cat >conftest.
$ac_ext <<_ACEOF
20073 cat confdefs.h
>>conftest.
$ac_ext
20074 cat >>conftest.
$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 #include <sys/types.h>
20077 #include <sys/param.h>
20082 #if BYTE_ORDER != BIG_ENDIAN
20089 rm -f conftest.
$ac_objext
20090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20091 (eval $ac_compile) 2>conftest.er1
20093 grep -v '^ *+' conftest.er1
>conftest.err
20095 cat conftest.err
>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } &&
20098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20100 (eval $ac_try) 2>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); }; } &&
20104 { ac_try
='test -s conftest.$ac_objext'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; }; then
20110 ac_cv_c_bigendian
=yes
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20115 ac_cv_c_bigendian
=no
20117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20119 echo "$as_me: failed program was:" >&5
20120 sed 's/^/| /' conftest.
$ac_ext >&5
20123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20124 if test $ac_cv_c_bigendian = unknown
; then
20125 if test "$cross_compiling" = yes; then
20126 ac_cv_c_bigendian
=unknown
20128 cat >conftest.
$ac_ext <<_ACEOF
20131 cat confdefs.h
>>conftest.
$ac_ext
20132 cat >>conftest.
$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20135 /* Are we little or big endian? From Harbison&Steele. */
20139 char c[sizeof (long)];
20142 exit (u.c[sizeof (long) - 1] == 1);
20145 rm -f conftest
$ac_exeext
20146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20147 (eval $ac_link) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152 (eval $ac_try) 2>&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; }; then
20156 ac_cv_c_bigendian
=no
20158 echo "$as_me: program exited with status $ac_status" >&5
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.
$ac_ext >&5
20162 ( exit $ac_status )
20163 ac_cv_c_bigendian
=yes
20165 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20169 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20170 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20171 if test $ac_cv_c_bigendian = unknown
; then
20172 { 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
20173 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;}
20175 if test $ac_cv_c_bigendian = yes; then
20176 cat >>confdefs.h
<<\_ACEOF
20177 #define WORDS_BIGENDIAN 1
20184 ac_cpp
='$CXXCPP $CPPFLAGS'
20185 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20186 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20187 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20188 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20189 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20190 if test -z "$CXXCPP"; then
20191 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 # Double quotes because CXXCPP needs to be expanded
20195 for CXXCPP
in "$CXX -E" "/lib/cpp"
20197 ac_preproc_ok
=false
20198 for ac_cxx_preproc_warn_flag
in '' yes
20200 # Use a header file that comes with gcc, so configuring glibc
20201 # with a fresh cross-compiler works.
20202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20203 # <limits.h> exists even on freestanding compilers.
20204 # On the NeXT, cc -E runs the code through the compiler's parser,
20205 # not just through cpp. "Syntax error" is here to catch this case.
20206 cat >conftest.
$ac_ext <<_ACEOF
20209 cat confdefs.h
>>conftest.
$ac_ext
20210 cat >>conftest.
$ac_ext <<_ACEOF
20211 /* end confdefs.h. */
20213 # include <limits.h>
20215 # include <assert.h>
20219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20222 grep -v '^ *+' conftest.er1
>conftest.err
20224 cat conftest.err
>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } >/dev
/null
; then
20227 if test -s conftest.err
; then
20228 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20229 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20236 if test -z "$ac_cpp_err"; then
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20242 # Broken: fails on valid input.
20245 rm -f conftest.err conftest.
$ac_ext
20247 # OK, works on sane cases. Now check whether non-existent headers
20248 # can be detected and how.
20249 cat >conftest.
$ac_ext <<_ACEOF
20252 cat confdefs.h
>>conftest.
$ac_ext
20253 cat >>conftest.
$ac_ext <<_ACEOF
20254 /* end confdefs.h. */
20255 #include <ac_nonexistent.h>
20257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20260 grep -v '^ *+' conftest.er1
>conftest.err
20262 cat conftest.err
>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); } >/dev
/null
; then
20265 if test -s conftest.err
; then
20266 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20267 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20274 if test -z "$ac_cpp_err"; then
20275 # Broken: success on invalid input.
20278 echo "$as_me: failed program was:" >&5
20279 sed 's/^/| /' conftest.
$ac_ext >&5
20281 # Passes both tests.
20285 rm -f conftest.err conftest.
$ac_ext
20288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20289 rm -f conftest.err conftest.
$ac_ext
20290 if $ac_preproc_ok; then
20295 ac_cv_prog_CXXCPP
=$CXXCPP
20298 CXXCPP
=$ac_cv_prog_CXXCPP
20300 ac_cv_prog_CXXCPP
=$CXXCPP
20302 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20303 echo "${ECHO_T}$CXXCPP" >&6
20304 ac_preproc_ok
=false
20305 for ac_cxx_preproc_warn_flag
in '' yes
20307 # Use a header file that comes with gcc, so configuring glibc
20308 # with a fresh cross-compiler works.
20309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20310 # <limits.h> exists even on freestanding compilers.
20311 # On the NeXT, cc -E runs the code through the compiler's parser,
20312 # not just through cpp. "Syntax error" is here to catch this case.
20313 cat >conftest.
$ac_ext <<_ACEOF
20316 cat confdefs.h
>>conftest.
$ac_ext
20317 cat >>conftest.
$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20320 # include <limits.h>
20322 # include <assert.h>
20326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20327 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20329 grep -v '^ *+' conftest.er1
>conftest.err
20331 cat conftest.err
>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } >/dev
/null
; then
20334 if test -s conftest.err
; then
20335 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20336 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20343 if test -z "$ac_cpp_err"; then
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.
$ac_ext >&5
20349 # Broken: fails on valid input.
20352 rm -f conftest.err conftest.
$ac_ext
20354 # OK, works on sane cases. Now check whether non-existent headers
20355 # can be detected and how.
20356 cat >conftest.
$ac_ext <<_ACEOF
20359 cat confdefs.h
>>conftest.
$ac_ext
20360 cat >>conftest.
$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #include <ac_nonexistent.h>
20364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20367 grep -v '^ *+' conftest.er1
>conftest.err
20369 cat conftest.err
>&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } >/dev
/null
; then
20372 if test -s conftest.err
; then
20373 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20374 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20381 if test -z "$ac_cpp_err"; then
20382 # Broken: success on invalid input.
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.
$ac_ext >&5
20388 # Passes both tests.
20392 rm -f conftest.err conftest.
$ac_ext
20395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20396 rm -f conftest.err conftest.
$ac_ext
20397 if $ac_preproc_ok; then
20400 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20401 See \`config.log' for more details." >&5
20402 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20403 See \`config.log' for more details." >&2;}
20404 { (exit 1); exit 1; }; }
20408 ac_cpp
='$CXXCPP $CPPFLAGS'
20409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20418 ac_cpp
='$CXXCPP $CPPFLAGS'
20419 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20425 for ac_header
in iostream
20427 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20429 echo "$as_me:$LINENO: checking for $ac_header" >&5
20430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20432 echo $ECHO_N "(cached) $ECHO_C" >&6
20434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20437 # Is the header compilable?
20438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20440 cat >conftest.
$ac_ext <<_ACEOF
20443 cat confdefs.h
>>conftest.
$ac_ext
20444 cat >>conftest.
$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20447 #include <$ac_header>
20449 rm -f conftest.
$ac_objext
20450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20451 (eval $ac_compile) 2>conftest.er1
20453 grep -v '^ *+' conftest.er1
>conftest.err
20455 cat conftest.err
>&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } &&
20458 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; } &&
20464 { ac_try
='test -s conftest.$ac_objext'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; }; then
20470 ac_header_compiler
=yes
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.
$ac_ext >&5
20475 ac_header_compiler
=no
20477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20479 echo "${ECHO_T}$ac_header_compiler" >&6
20481 # Is the header present?
20482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20484 cat >conftest.
$ac_ext <<_ACEOF
20487 cat confdefs.h
>>conftest.
$ac_ext
20488 cat >>conftest.
$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 #include <$ac_header>
20492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20495 grep -v '^ *+' conftest.er1
>conftest.err
20497 cat conftest.err
>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } >/dev
/null
; then
20500 if test -s conftest.err
; then
20501 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20502 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20509 if test -z "$ac_cpp_err"; then
20510 ac_header_preproc
=yes
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.
$ac_ext >&5
20515 ac_header_preproc
=no
20517 rm -f conftest.err conftest.
$ac_ext
20518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20519 echo "${ECHO_T}$ac_header_preproc" >&6
20521 # So? What about this header?
20522 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20528 ac_header_preproc
=yes
20531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20545 ## ----------------------------------------- ##
20546 ## Report this to wx-dev@lists.wxwidgets.org ##
20547 ## ----------------------------------------- ##
20550 sed "s/^/$as_me: WARNING: /" >&2
20553 echo "$as_me:$LINENO: checking for $ac_header" >&5
20554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20556 echo $ECHO_N "(cached) $ECHO_C" >&6
20558 eval "$as_ac_Header=\$ac_header_preproc"
20560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20565 cat >>confdefs.h
<<_ACEOF
20566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20574 if test "$ac_cv_header_iostream" = "yes" ; then
20577 cat >>confdefs.h
<<\_ACEOF
20578 #define wxUSE_IOSTREAMH 1
20584 ac_cpp
='$CPP $CPPFLAGS'
20585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20592 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20593 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20594 if test "${wx_cv_cpp_bool+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 ac_cpp
='$CXXCPP $CPPFLAGS'
20602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20607 cat >conftest.
$ac_ext <<_ACEOF
20610 cat confdefs.h
>>conftest.
$ac_ext
20611 cat >>conftest.
$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20627 rm -f conftest.
$ac_objext
20628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20629 (eval $ac_compile) 2>conftest.er1
20631 grep -v '^ *+' conftest.er1
>conftest.err
20633 cat conftest.err
>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); } &&
20636 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; } &&
20642 { ac_try
='test -s conftest.$ac_objext'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; }; then
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.
$ac_ext >&5
20660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20663 ac_cpp
='$CPP $CPPFLAGS'
20664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20670 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20671 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20673 if test "$wx_cv_cpp_bool" = "yes"; then
20674 cat >>confdefs.h
<<\_ACEOF
20675 #define HAVE_BOOL 1
20682 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20683 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20684 if test "${wx_cv_explicit+set}" = set; then
20685 echo $ECHO_N "(cached) $ECHO_C" >&6
20691 ac_cpp
='$CXXCPP $CPPFLAGS'
20692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20697 cat >conftest.
$ac_ext <<_ACEOF
20700 cat confdefs.h
>>conftest.
$ac_ext
20701 cat >>conftest.
$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20704 class Foo { public: explicit Foo(int) {} };
20716 rm -f conftest.
$ac_objext
20717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20718 (eval $ac_compile) 2>conftest.er1
20720 grep -v '^ *+' conftest.er1
>conftest.err
20722 cat conftest.err
>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); } &&
20725 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20727 (eval $ac_try) 2>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; } &&
20731 { ac_try
='test -s conftest.$ac_objext'
20732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20733 (eval $ac_try) 2>&5
20735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736 (exit $ac_status); }; }; then
20738 cat >conftest.
$ac_ext <<_ACEOF
20741 cat confdefs.h
>>conftest.
$ac_ext
20742 cat >>conftest.
$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20745 class Foo { public: explicit Foo(int) {} };
20746 static void TakeFoo(const Foo& foo) { }
20759 rm -f conftest.
$ac_objext
20760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20761 (eval $ac_compile) 2>conftest.er1
20763 grep -v '^ *+' conftest.er1
>conftest.err
20765 cat conftest.err
>&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } &&
20768 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; } &&
20774 { ac_try
='test -s conftest.$ac_objext'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.
$ac_ext >&5
20788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20791 echo "$as_me: failed program was:" >&5
20792 sed 's/^/| /' conftest.
$ac_ext >&5
20797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20800 ac_cpp
='$CPP $CPPFLAGS'
20801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20807 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
20808 echo "${ECHO_T}$wx_cv_explicit" >&6
20810 if test "$wx_cv_explicit" = "yes"; then
20811 cat >>confdefs.h
<<\_ACEOF
20812 #define HAVE_EXPLICIT 1
20818 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
20819 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
20820 if test "${ac_cv_cxx_const_cast+set}" = set; then
20821 echo $ECHO_N "(cached) $ECHO_C" >&6
20826 ac_cpp
='$CXXCPP $CPPFLAGS'
20827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20831 cat >conftest.
$ac_ext <<_ACEOF
20834 cat confdefs.h
>>conftest.
$ac_ext
20835 cat >>conftest.
$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20841 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
20846 rm -f conftest.
$ac_objext
20847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20848 (eval $ac_compile) 2>conftest.er1
20850 grep -v '^ *+' conftest.er1
>conftest.err
20852 cat conftest.err
>&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try
='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20867 ac_cv_cxx_const_cast
=yes
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.
$ac_ext >&5
20872 ac_cv_cxx_const_cast
=no
20874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20876 ac_cpp
='$CPP $CPPFLAGS'
20877 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20883 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
20884 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
20885 if test "$ac_cv_cxx_const_cast" = yes; then
20887 cat >>confdefs.h
<<\_ACEOF
20888 #define HAVE_CONST_CAST
20893 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
20894 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
20895 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20901 ac_cpp
='$CXXCPP $CPPFLAGS'
20902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20906 cat >conftest.
$ac_ext <<_ACEOF
20909 cat confdefs.h
>>conftest.
$ac_ext
20910 cat >>conftest.
$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 #include <typeinfo>
20913 class Base { public : Base () {} virtual void f () = 0;};
20914 class Derived : public Base { public : Derived () {} virtual void f () {} };
20915 class Unrelated { public : Unrelated () {} };
20916 int g (Unrelated&) { return 0; }
20921 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
20926 rm -f conftest.
$ac_objext
20927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20928 (eval $ac_compile) 2>conftest.er1
20930 grep -v '^ *+' conftest.er1
>conftest.err
20932 cat conftest.err
>&5
20933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934 (exit $ac_status); } &&
20935 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937 (eval $ac_try) 2>&5
20939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940 (exit $ac_status); }; } &&
20941 { ac_try
='test -s conftest.$ac_objext'
20942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20943 (eval $ac_try) 2>&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); }; }; then
20947 ac_cv_cxx_reinterpret_cast
=yes
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.
$ac_ext >&5
20952 ac_cv_cxx_reinterpret_cast
=no
20954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20956 ac_cpp
='$CPP $CPPFLAGS'
20957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20963 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
20964 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
20965 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
20967 cat >>confdefs.h
<<\_ACEOF
20968 #define HAVE_REINTERPRET_CAST
20973 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
20974 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
20975 if test "${ac_cv_cxx_static_cast+set}" = set; then
20976 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 ac_cpp
='$CXXCPP $CPPFLAGS'
20982 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20986 cat >conftest.
$ac_ext <<_ACEOF
20989 cat confdefs.h
>>conftest.
$ac_ext
20990 cat >>conftest.
$ac_ext <<_ACEOF
20991 /* end confdefs.h. */
20992 #include <typeinfo>
20993 class Base { public : Base () {} virtual void f () = 0; };
20994 class Derived : public Base { public : Derived () {} virtual void f () {} };
20995 int g (Derived&) { return 0; }
21000 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21005 rm -f conftest.
$ac_objext
21006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21007 (eval $ac_compile) 2>conftest.er1
21009 grep -v '^ *+' conftest.er1
>conftest.err
21011 cat conftest.err
>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } &&
21014 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; } &&
21020 { ac_try
='test -s conftest.$ac_objext'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; }; then
21026 ac_cv_cxx_static_cast
=yes
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.
$ac_ext >&5
21031 ac_cv_cxx_static_cast
=no
21033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21035 ac_cpp
='$CPP $CPPFLAGS'
21036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21042 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21043 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21044 if test "$ac_cv_cxx_static_cast" = yes; then
21046 cat >>confdefs.h
<<\_ACEOF
21047 #define HAVE_STATIC_CAST
21052 AC_CXX_DYNAMIC_CAST
21054 if test "$wxUSE_STL" = "yes"; then
21056 ac_cpp
='$CXXCPP $CPPFLAGS'
21057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21062 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21063 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21064 cat >conftest.
$ac_ext <<_ACEOF
21067 cat confdefs.h
>>conftest.
$ac_ext
21068 cat >>conftest.
$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21071 #include <functional>
21072 #include <algorithm>
21078 std::vector<int> moo;
21079 std::list<int> foo;
21080 std::vector<int>::iterator it =
21081 std::find_if(moo.begin(), moo.end(),
21082 std::bind2nd(std::less<int>(), 3));
21087 rm -f conftest.
$ac_objext
21088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21089 (eval $ac_compile) 2>conftest.er1
21091 grep -v '^ *+' conftest.er1
>conftest.err
21093 cat conftest.err
>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); } &&
21096 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; } &&
21102 { ac_try
='test -s conftest.$ac_objext'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 echo "$as_me:$LINENO: result: yes" >&5
21109 echo "${ECHO_T}yes" >&6
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.
$ac_ext >&5
21114 echo "$as_me:$LINENO: result: no" >&5
21115 echo "${ECHO_T}no" >&6
21116 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21117 echo "$as_me: error: Basic STL functionality missing" >&2;}
21118 { (exit 1); exit 1; }; }
21120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21122 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
21123 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
21124 cat >conftest.
$ac_ext <<_ACEOF
21127 cat confdefs.h
>>conftest.
$ac_ext
21128 cat >>conftest.
$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21139 rm -f conftest.
$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21143 grep -v '^ *+' conftest.er1
>conftest.err
21145 cat conftest.err
>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; } &&
21154 { ac_try
='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 echo "$as_me:$LINENO: result: yes" >&5
21161 echo "${ECHO_T}yes" >&6
21162 cat >>confdefs.h
<<\_ACEOF
21163 #define HAVE_STD_WSTRING 1
21167 echo "$as_me: failed program was:" >&5
21168 sed 's/^/| /' conftest.
$ac_ext >&5
21170 echo "$as_me:$LINENO: result: no" >&5
21171 echo "${ECHO_T}no" >&6
21173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21175 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21176 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21177 cat >conftest.
$ac_ext <<_ACEOF
21180 cat confdefs.h
>>conftest.
$ac_ext
21181 cat >>conftest.
$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21187 std::string foo, bar;
21189 foo.compare(1, 1, bar);
21190 foo.compare(1, 1, bar, 1, 1);
21192 foo.compare(1, 1, "");
21193 foo.compare(1, 1, "", 2);
21198 rm -f conftest.
$ac_objext
21199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21200 (eval $ac_compile) 2>conftest.er1
21202 grep -v '^ *+' conftest.er1
>conftest.err
21204 cat conftest.err
>&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } &&
21207 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209 (eval $ac_try) 2>&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; } &&
21213 { ac_try
='test -s conftest.$ac_objext'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; }; then
21219 echo "$as_me:$LINENO: result: yes" >&5
21220 echo "${ECHO_T}yes" >&6
21221 cat >>confdefs.h
<<\_ACEOF
21222 #define HAVE_STD_STRING_COMPARE 1
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.
$ac_ext >&5
21229 echo "$as_me:$LINENO: result: no" >&5
21230 echo "${ECHO_T}no" >&6
21232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21234 if test "${ac_cv_header_hash_map+set}" = set; then
21235 echo "$as_me:$LINENO: checking for hash_map" >&5
21236 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21237 if test "${ac_cv_header_hash_map+set}" = set; then
21238 echo $ECHO_N "(cached) $ECHO_C" >&6
21240 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21241 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21243 # Is the header compilable?
21244 echo "$as_me:$LINENO: checking hash_map usability" >&5
21245 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21246 cat >conftest.
$ac_ext <<_ACEOF
21249 cat confdefs.h
>>conftest.
$ac_ext
21250 cat >>conftest.
$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 #include <hash_map>
21255 rm -f conftest.
$ac_objext
21256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21257 (eval $ac_compile) 2>conftest.er1
21259 grep -v '^ *+' conftest.er1
>conftest.err
21261 cat conftest.err
>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } &&
21264 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; } &&
21270 { ac_try
='test -s conftest.$ac_objext'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; }; then
21276 ac_header_compiler
=yes
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.
$ac_ext >&5
21281 ac_header_compiler
=no
21283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21285 echo "${ECHO_T}$ac_header_compiler" >&6
21287 # Is the header present?
21288 echo "$as_me:$LINENO: checking hash_map presence" >&5
21289 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21290 cat >conftest.
$ac_ext <<_ACEOF
21293 cat confdefs.h
>>conftest.
$ac_ext
21294 cat >>conftest.
$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 #include <hash_map>
21298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21301 grep -v '^ *+' conftest.er1
>conftest.err
21303 cat conftest.err
>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } >/dev
/null
; then
21306 if test -s conftest.err
; then
21307 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21308 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21315 if test -z "$ac_cpp_err"; then
21316 ac_header_preproc
=yes
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.
$ac_ext >&5
21321 ac_header_preproc
=no
21323 rm -f conftest.err conftest.
$ac_ext
21324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21325 echo "${ECHO_T}$ac_header_preproc" >&6
21327 # So? What about this header?
21328 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21330 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21331 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21332 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21333 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21334 ac_header_preproc
=yes
21337 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21338 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21339 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21340 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21341 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21342 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21343 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21344 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21345 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21346 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21347 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21348 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21351 ## ----------------------------------------- ##
21352 ## Report this to wx-dev@lists.wxwidgets.org ##
21353 ## ----------------------------------------- ##
21356 sed "s/^/$as_me: WARNING: /" >&2
21359 echo "$as_me:$LINENO: checking for hash_map" >&5
21360 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21361 if test "${ac_cv_header_hash_map+set}" = set; then
21362 echo $ECHO_N "(cached) $ECHO_C" >&6
21364 ac_cv_header_hash_map
=$ac_header_preproc
21366 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21367 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21370 if test $ac_cv_header_hash_map = yes; then
21371 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21372 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21373 cat >conftest.
$ac_ext <<_ACEOF
21376 cat confdefs.h
>>conftest.
$ac_ext
21377 cat >>conftest.
$ac_ext <<_ACEOF
21378 /* end confdefs.h. */
21379 #include <hash_map>
21380 #include <hash_set>
21384 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21385 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21390 rm -f conftest.
$ac_objext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392 (eval $ac_compile) 2>conftest.er1
21394 grep -v '^ *+' conftest.er1
>conftest.err
21396 cat conftest.err
>&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } &&
21399 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 (eval $ac_try) 2>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; } &&
21405 { ac_try
='test -s conftest.$ac_objext'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; }; then
21411 echo "$as_me:$LINENO: result: yes" >&5
21412 echo "${ECHO_T}yes" >&6
21413 cat >>confdefs.h
<<\_ACEOF
21414 #define HAVE_HASH_MAP 1
21417 cat >>confdefs.h
<<\_ACEOF
21418 #define HAVE_STD_HASH_MAP 1
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.
$ac_ext >&5
21425 echo "$as_me:$LINENO: result: no" >&5
21426 echo "${ECHO_T}no" >&6
21428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21434 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21435 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21436 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21437 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21441 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21443 # Is the header compilable?
21444 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21445 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21446 cat >conftest.
$ac_ext <<_ACEOF
21449 cat confdefs.h
>>conftest.
$ac_ext
21450 cat >>conftest.
$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21453 #include <ext/hash_map>
21455 rm -f conftest.
$ac_objext
21456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21457 (eval $ac_compile) 2>conftest.er1
21459 grep -v '^ *+' conftest.er1
>conftest.err
21461 cat conftest.err
>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try
='test -s conftest.$ac_objext'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; }; then
21476 ac_header_compiler
=yes
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.
$ac_ext >&5
21481 ac_header_compiler
=no
21483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21485 echo "${ECHO_T}$ac_header_compiler" >&6
21487 # Is the header present?
21488 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21489 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21490 cat >conftest.
$ac_ext <<_ACEOF
21493 cat confdefs.h
>>conftest.
$ac_ext
21494 cat >>conftest.
$ac_ext <<_ACEOF
21495 /* end confdefs.h. */
21496 #include <ext/hash_map>
21498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21501 grep -v '^ *+' conftest.er1
>conftest.err
21503 cat conftest.err
>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); } >/dev
/null
; then
21506 if test -s conftest.err
; then
21507 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21508 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21515 if test -z "$ac_cpp_err"; then
21516 ac_header_preproc
=yes
21518 echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.
$ac_ext >&5
21521 ac_header_preproc
=no
21523 rm -f conftest.err conftest.
$ac_ext
21524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21525 echo "${ECHO_T}$ac_header_preproc" >&6
21527 # So? What about this header?
21528 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21530 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21531 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21532 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
21533 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
21534 ac_header_preproc
=yes
21537 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
21538 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
21539 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
21540 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
21541 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
21542 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
21543 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
21544 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21545 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
21546 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
21547 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
21548 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
21551 ## ----------------------------------------- ##
21552 ## Report this to wx-dev@lists.wxwidgets.org ##
21553 ## ----------------------------------------- ##
21556 sed "s/^/$as_me: WARNING: /" >&2
21559 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21560 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21561 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21562 echo $ECHO_N "(cached) $ECHO_C" >&6
21564 ac_cv_header_ext_hash_map
=$ac_header_preproc
21566 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21567 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21570 if test $ac_cv_header_ext_hash_map = yes; then
21571 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21572 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21573 cat >conftest.
$ac_ext <<_ACEOF
21576 cat confdefs.h
>>conftest.
$ac_ext
21577 cat >>conftest.
$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 #include <ext/hash_map>
21580 #include <ext/hash_set>
21584 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21585 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21590 rm -f conftest.
$ac_objext
21591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21592 (eval $ac_compile) 2>conftest.er1
21594 grep -v '^ *+' conftest.er1
>conftest.err
21596 cat conftest.err
>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } &&
21599 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; } &&
21605 { ac_try
='test -s conftest.$ac_objext'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 echo "$as_me:$LINENO: result: yes" >&5
21612 echo "${ECHO_T}yes" >&6
21613 cat >>confdefs.h
<<\_ACEOF
21614 #define HAVE_EXT_HASH_MAP 1
21617 cat >>confdefs.h
<<\_ACEOF
21618 #define HAVE_GNU_CXX_HASH_MAP 1
21622 echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.
$ac_ext >&5
21625 echo "$as_me:$LINENO: result: no" >&5
21626 echo "${ECHO_T}no" >&6
21628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21635 ac_cpp
='$CPP $CPPFLAGS'
21636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21644 /usr/local/include \
21646 /usr/Motif-2.1/include \
21647 /usr/Motif-1.2/include \
21648 /usr/include/Motif1.2 \
21649 /opt/xpm/include/X11 \
21650 /opt/GBxpm/include/ \
21651 /opt/GBxpm/X11/include/ \
21654 /usr/openwin/include \
21658 /usr/X11R6/include \
21659 /usr/X11R6.4/include \
21660 /usr/X11R5/include \
21661 /usr/X11R4/include \
21663 /usr/include/X11R6 \
21664 /usr/include/X11R5 \
21665 /usr/include/X11R4 \
21667 /usr/local/X11R6/include \
21668 /usr/local/X11R5/include \
21669 /usr/local/X11R4/include \
21671 /usr/local/include/X11R6 \
21672 /usr/local/include/X11R5 \
21673 /usr/local/include/X11R4 \
21677 /usr/local/X11/include \
21678 /usr/local/include/X11 \
21680 /usr/X386/include \
21681 /usr/x386/include \
21682 /usr/XFree86/include/X11 \
21684 X:/XFree86/include \
21685 X:/XFree86/include/X11 \
21688 /usr/local/include/gtk \
21689 /usr/include/glib \
21690 /usr/local/include/glib \
21693 /usr/local/include/qt \
21695 /usr/local/arm/3.3.2/include \
21697 /usr/include/windows \
21698 /usr/include/wine \
21699 /usr/local/include/wine \
21701 /usr/unsupported/include \
21702 /usr/athena/include \
21703 /usr/local/x11r5/include \
21704 /usr/lpp/Xamples/include \
21706 /usr/openwin/share/include"
21708 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
21711 cat >confcache
<<\_ACEOF
21712 # This file is a shell script that caches the results of configure
21713 # tests run on this system so they can be shared between configure
21714 # scripts and configure runs, see configure's option --config-cache.
21715 # It is not useful on other systems. If it contains results you don't
21716 # want to keep, you may remove or edit it.
21718 # config.status only pays attention to the cache file if you give it
21719 # the --recheck option to rerun configure.
21721 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21722 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21723 # following values.
21727 # The following way of writing the cache mishandles newlines in values,
21728 # but we know of no workaround that is simple, portable, and efficient.
21729 # So, don't put newlines in cache variables' values.
21730 # Ultrix sh set writes to stderr and can't be redirected directly,
21731 # and sets the high bit in the cache file unless we assign to the vars.
21734 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21736 # `set' does not quote correctly, so add quotes (double-quote
21737 # substitution turns \\\\ into \\, and sed turns \\ into \).
21740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21743 # `set' quotes correctly as required by POSIX, so do not add quotes.
21745 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21752 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21754 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21756 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21757 if test -w $cache_file; then
21758 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21759 cat confcache
>$cache_file
21761 echo "not updating unwritable cache $cache_file"
21766 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
21767 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
21768 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
21769 if test "${wx_cv_lib_glibc21+set}" = set; then
21770 echo $ECHO_N "(cached) $ECHO_C" >&6
21773 cat >conftest.
$ac_ext <<_ACEOF
21776 cat confdefs.h
>>conftest.
$ac_ext
21777 cat >>conftest.
$ac_ext <<_ACEOF
21778 /* end confdefs.h. */
21779 #include <features.h>
21784 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
21785 #error not glibc2.1
21792 rm -f conftest.
$ac_objext
21793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21794 (eval $ac_compile) 2>conftest.er1
21796 grep -v '^ *+' conftest.er1
>conftest.err
21798 cat conftest.err
>&5
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); } &&
21801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; } &&
21807 { ac_try
='test -s conftest.$ac_objext'
21808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809 (eval $ac_try) 2>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); }; }; then
21814 wx_cv_lib_glibc21
=yes
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.
$ac_ext >&5
21821 wx_cv_lib_glibc21
=no
21825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21828 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
21829 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
21830 if test "$wx_cv_lib_glibc21" = "yes"; then
21831 cat >>confdefs.h
<<\_ACEOF
21832 #define wxHAVE_GLIBC2 1
21838 if test "x$wx_cv_lib_glibc21" = "xyes"; then
21839 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
21840 cat >>confdefs.h
<<\_ACEOF
21841 #define _GNU_SOURCE 1
21849 if test "$wxUSE_REGEX" != "no"; then
21850 cat >>confdefs.h
<<\_ACEOF
21851 #define wxUSE_REGEX 1
21855 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
21856 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
21857 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
21858 wxUSE_REGEX
=builtin
21861 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
21862 if test "${ac_cv_header_regex_h+set}" = set; then
21863 echo "$as_me:$LINENO: checking for regex.h" >&5
21864 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21865 if test "${ac_cv_header_regex_h+set}" = set; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21869 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21871 # Is the header compilable?
21872 echo "$as_me:$LINENO: checking regex.h usability" >&5
21873 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
21874 cat >conftest.
$ac_ext <<_ACEOF
21877 cat confdefs.h
>>conftest.
$ac_ext
21878 cat >>conftest.
$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 $ac_includes_default
21883 rm -f conftest.
$ac_objext
21884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21885 (eval $ac_compile) 2>conftest.er1
21887 grep -v '^ *+' conftest.er1
>conftest.err
21889 cat conftest.err
>&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } &&
21892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21894 (eval $ac_try) 2>&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); }; } &&
21898 { ac_try
='test -s conftest.$ac_objext'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; }; then
21904 ac_header_compiler
=yes
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.
$ac_ext >&5
21909 ac_header_compiler
=no
21911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21913 echo "${ECHO_T}$ac_header_compiler" >&6
21915 # Is the header present?
21916 echo "$as_me:$LINENO: checking regex.h presence" >&5
21917 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
21918 cat >conftest.
$ac_ext <<_ACEOF
21921 cat confdefs.h
>>conftest.
$ac_ext
21922 cat >>conftest.
$ac_ext <<_ACEOF
21923 /* end confdefs.h. */
21926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21927 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21929 grep -v '^ *+' conftest.er1
>conftest.err
21931 cat conftest.err
>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } >/dev
/null
; then
21934 if test -s conftest.err
; then
21935 ac_cpp_err
=$ac_c_preproc_warn_flag
21936 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21943 if test -z "$ac_cpp_err"; then
21944 ac_header_preproc
=yes
21946 echo "$as_me: failed program was:" >&5
21947 sed 's/^/| /' conftest.
$ac_ext >&5
21949 ac_header_preproc
=no
21951 rm -f conftest.err conftest.
$ac_ext
21952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21953 echo "${ECHO_T}$ac_header_preproc" >&6
21955 # So? What about this header?
21956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21958 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
21959 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21960 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
21961 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
21962 ac_header_preproc
=yes
21965 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
21966 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
21967 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
21968 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
21969 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
21970 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
21971 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
21972 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
21973 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
21974 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
21975 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
21976 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
21979 ## ----------------------------------------- ##
21980 ## Report this to wx-dev@lists.wxwidgets.org ##
21981 ## ----------------------------------------- ##
21984 sed "s/^/$as_me: WARNING: /" >&2
21987 echo "$as_me:$LINENO: checking for regex.h" >&5
21988 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
21989 if test "${ac_cv_header_regex_h+set}" = set; then
21990 echo $ECHO_N "(cached) $ECHO_C" >&6
21992 ac_cv_header_regex_h
=$ac_header_preproc
21994 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
21995 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
21998 if test $ac_cv_header_regex_h = yes; then
22000 for ac_func
in regcomp
22002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22003 echo "$as_me:$LINENO: checking for $ac_func" >&5
22004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22005 if eval "test \"\${$as_ac_var+set}\" = set"; then
22006 echo $ECHO_N "(cached) $ECHO_C" >&6
22008 cat >conftest.
$ac_ext <<_ACEOF
22011 cat confdefs.h
>>conftest.
$ac_ext
22012 cat >>conftest.
$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22016 #define $ac_func innocuous_$ac_func
22018 /* System header to define __stub macros and hopefully few prototypes,
22019 which can conflict with char $ac_func (); below.
22020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22021 <limits.h> exists even on freestanding compilers. */
22024 # include <limits.h>
22026 # include <assert.h>
22031 /* Override any gcc2 internal prototype to avoid an error. */
22036 /* We use char because int might match the return type of a gcc2
22037 builtin and then its argument prototype would still apply. */
22039 /* The GNU C library defines this for functions which it implements
22040 to always fail with ENOSYS. Some functions are actually named
22041 something starting with __ and the normal name is an alias. */
22042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22045 char (*f) () = $ac_func;
22054 return f != $ac_func;
22059 rm -f conftest.
$ac_objext conftest
$ac_exeext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22061 (eval $ac_link) 2>conftest.er1
22063 grep -v '^ *+' conftest.er1
>conftest.err
22065 cat conftest.err
>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try
='test -s conftest$ac_exeext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080 eval "$as_ac_var=yes"
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.
$ac_ext >&5
22085 eval "$as_ac_var=no"
22087 rm -f conftest.err conftest.
$ac_objext \
22088 conftest
$ac_exeext conftest.
$ac_ext
22090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22092 if test `eval echo '${'$as_ac_var'}'` = yes; then
22093 cat >>confdefs.h
<<_ACEOF
22094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22104 if test "x$ac_cv_func_regcomp" != "xyes"; then
22105 if test "$wxUSE_REGEX" = "sys" ; then
22106 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22107 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22108 { (exit 1); exit 1; }; }
22110 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22111 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22112 wxUSE_REGEX
=builtin
22116 cat >>confdefs.h
<<\_ACEOF
22117 #define WX_NO_REGEX_ADVANCED 1
22126 if test "$wxUSE_ZLIB" != "no" ; then
22127 cat >>confdefs.h
<<\_ACEOF
22128 #define wxUSE_ZLIB 1
22132 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22133 if test "$USE_DARWIN" = 1; then
22134 system_zlib_h_ok
="yes"
22136 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22137 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22138 if test "${ac_cv_header_zlib_h+set}" = set; then
22139 echo $ECHO_N "(cached) $ECHO_C" >&6
22141 if test "$cross_compiling" = yes; then
22142 unset ac_cv_header_zlib_h
22145 cat >conftest.
$ac_ext <<_ACEOF
22148 cat confdefs.h
>>conftest.
$ac_ext
22149 cat >>conftest.
$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22157 FILE *f=fopen("conftestval", "w");
22160 ZLIB_VERSION[0] == '1' &&
22161 (ZLIB_VERSION[2] > '1' ||
22162 (ZLIB_VERSION[2] == '1' &&
22163 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22168 rm -f conftest
$ac_exeext
22169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22170 (eval $ac_link) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22175 (eval $ac_try) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; }; then
22179 ac_cv_header_zlib_h
=`cat conftestval`
22181 echo "$as_me: program exited with status $ac_status" >&5
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.
$ac_ext >&5
22185 ( exit $ac_status )
22186 ac_cv_header_zlib_h
=no
22188 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22192 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22193 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22194 if test "${ac_cv_header_zlib_h+set}" = set; then
22195 echo "$as_me:$LINENO: checking for zlib.h" >&5
22196 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22197 if test "${ac_cv_header_zlib_h+set}" = set; then
22198 echo $ECHO_N "(cached) $ECHO_C" >&6
22200 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22201 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22203 # Is the header compilable?
22204 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22205 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22206 cat >conftest.
$ac_ext <<_ACEOF
22209 cat confdefs.h
>>conftest.
$ac_ext
22210 cat >>conftest.
$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 $ac_includes_default
22215 rm -f conftest.
$ac_objext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22217 (eval $ac_compile) 2>conftest.er1
22219 grep -v '^ *+' conftest.er1
>conftest.err
22221 cat conftest.err
>&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); } &&
22224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22226 (eval $ac_try) 2>&5
22228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229 (exit $ac_status); }; } &&
22230 { ac_try
='test -s conftest.$ac_objext'
22231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22232 (eval $ac_try) 2>&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); }; }; then
22236 ac_header_compiler
=yes
22238 echo "$as_me: failed program was:" >&5
22239 sed 's/^/| /' conftest.
$ac_ext >&5
22241 ac_header_compiler
=no
22243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22245 echo "${ECHO_T}$ac_header_compiler" >&6
22247 # Is the header present?
22248 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22249 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22250 cat >conftest.
$ac_ext <<_ACEOF
22253 cat confdefs.h
>>conftest.
$ac_ext
22254 cat >>conftest.
$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22259 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22261 grep -v '^ *+' conftest.er1
>conftest.err
22263 cat conftest.err
>&5
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); } >/dev
/null
; then
22266 if test -s conftest.err
; then
22267 ac_cpp_err
=$ac_c_preproc_warn_flag
22268 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22275 if test -z "$ac_cpp_err"; then
22276 ac_header_preproc
=yes
22278 echo "$as_me: failed program was:" >&5
22279 sed 's/^/| /' conftest.
$ac_ext >&5
22281 ac_header_preproc
=no
22283 rm -f conftest.err conftest.
$ac_ext
22284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22285 echo "${ECHO_T}$ac_header_preproc" >&6
22287 # So? What about this header?
22288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22290 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22291 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22292 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22293 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22294 ac_header_preproc
=yes
22297 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22298 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22299 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22300 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22301 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22302 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22303 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22304 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22305 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22306 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22307 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22308 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22311 ## ----------------------------------------- ##
22312 ## Report this to wx-dev@lists.wxwidgets.org ##
22313 ## ----------------------------------------- ##
22316 sed "s/^/$as_me: WARNING: /" >&2
22319 echo "$as_me:$LINENO: checking for zlib.h" >&5
22320 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22321 if test "${ac_cv_header_zlib_h+set}" = set; then
22322 echo $ECHO_N "(cached) $ECHO_C" >&6
22324 ac_cv_header_zlib_h
=$ac_header_preproc
22326 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22327 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22333 system_zlib_h_ok
=$ac_cv_header_zlib_h
22336 if test "$system_zlib_h_ok" = "yes"; then
22337 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22338 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22339 if test "${ac_cv_lib_z_deflate+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22342 ac_check_lib_save_LIBS
=$LIBS
22344 cat >conftest.
$ac_ext <<_ACEOF
22347 cat confdefs.h
>>conftest.
$ac_ext
22348 cat >>conftest.
$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22351 /* Override any gcc2 internal prototype to avoid an error. */
22355 /* We use char because int might match the return type of a gcc2
22356 builtin and then its argument prototype would still apply. */
22366 rm -f conftest.
$ac_objext conftest
$ac_exeext
22367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22368 (eval $ac_link) 2>conftest.er1
22370 grep -v '^ *+' conftest.er1
>conftest.err
22372 cat conftest.err
>&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } &&
22375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22377 (eval $ac_try) 2>&5
22379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380 (exit $ac_status); }; } &&
22381 { ac_try
='test -s conftest$ac_exeext'
22382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22383 (eval $ac_try) 2>&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; }; then
22387 ac_cv_lib_z_deflate
=yes
22389 echo "$as_me: failed program was:" >&5
22390 sed 's/^/| /' conftest.
$ac_ext >&5
22392 ac_cv_lib_z_deflate
=no
22394 rm -f conftest.err conftest.
$ac_objext \
22395 conftest
$ac_exeext conftest.
$ac_ext
22396 LIBS
=$ac_check_lib_save_LIBS
22398 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22399 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22400 if test $ac_cv_lib_z_deflate = yes; then
22406 if test "x$ZLIB_LINK" = "x" ; then
22407 if test "$wxUSE_ZLIB" = "sys" ; then
22408 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22409 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22410 { (exit 1); exit 1; }; }
22412 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22413 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22424 if test "$wxUSE_LIBPNG" != "no" ; then
22425 cat >>confdefs.h
<<\_ACEOF
22426 #define wxUSE_LIBPNG 1
22430 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22431 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22432 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22436 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22437 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22438 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22439 wxUSE_LIBPNG
=builtin
22442 if test "$wxUSE_MGL" != 1 ; then
22443 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22444 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22445 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22446 if test "${ac_cv_header_png_h+set}" = set; then
22447 echo $ECHO_N "(cached) $ECHO_C" >&6
22449 if test "$cross_compiling" = yes; then
22450 unset ac_cv_header_png_h
22453 cat >conftest.
$ac_ext <<_ACEOF
22456 cat confdefs.h
>>conftest.
$ac_ext
22457 cat >>conftest.
$ac_ext <<_ACEOF
22458 /* end confdefs.h. */
22465 FILE *f=fopen("conftestval", "w");
22468 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22473 rm -f conftest
$ac_exeext
22474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22475 (eval $ac_link) 2>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_cv_header_png_h
=`cat conftestval`
22486 echo "$as_me: program exited with status $ac_status" >&5
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 ( exit $ac_status )
22491 ac_cv_header_png_h
=no
22493 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22497 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22498 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22499 if test "${ac_cv_header_png_h+set}" = set; then
22500 echo "$as_me:$LINENO: checking for png.h" >&5
22501 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22502 if test "${ac_cv_header_png_h+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22506 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22508 # Is the header compilable?
22509 echo "$as_me:$LINENO: checking png.h usability" >&5
22510 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
22511 cat >conftest.
$ac_ext <<_ACEOF
22514 cat confdefs.h
>>conftest.
$ac_ext
22515 cat >>conftest.
$ac_ext <<_ACEOF
22516 /* end confdefs.h. */
22517 $ac_includes_default
22520 rm -f conftest.
$ac_objext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22522 (eval $ac_compile) 2>conftest.er1
22524 grep -v '^ *+' conftest.er1
>conftest.err
22526 cat conftest.err
>&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); } &&
22529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22531 (eval $ac_try) 2>&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); }; } &&
22535 { ac_try
='test -s conftest.$ac_objext'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_header_compiler
=yes
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.
$ac_ext >&5
22546 ac_header_compiler
=no
22548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22550 echo "${ECHO_T}$ac_header_compiler" >&6
22552 # Is the header present?
22553 echo "$as_me:$LINENO: checking png.h presence" >&5
22554 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
22555 cat >conftest.
$ac_ext <<_ACEOF
22558 cat confdefs.h
>>conftest.
$ac_ext
22559 cat >>conftest.
$ac_ext <<_ACEOF
22560 /* end confdefs.h. */
22563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22564 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22566 grep -v '^ *+' conftest.er1
>conftest.err
22568 cat conftest.err
>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } >/dev
/null
; then
22571 if test -s conftest.err
; then
22572 ac_cpp_err
=$ac_c_preproc_warn_flag
22573 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22580 if test -z "$ac_cpp_err"; then
22581 ac_header_preproc
=yes
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.
$ac_ext >&5
22586 ac_header_preproc
=no
22588 rm -f conftest.err conftest.
$ac_ext
22589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22590 echo "${ECHO_T}$ac_header_preproc" >&6
22592 # So? What about this header?
22593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22595 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
22596 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22597 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
22598 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
22599 ac_header_preproc
=yes
22602 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
22603 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
22604 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
22605 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
22606 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
22607 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
22608 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
22609 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
22610 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
22611 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
22612 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
22613 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
22616 ## ----------------------------------------- ##
22617 ## Report this to wx-dev@lists.wxwidgets.org ##
22618 ## ----------------------------------------- ##
22621 sed "s/^/$as_me: WARNING: /" >&2
22624 echo "$as_me:$LINENO: checking for png.h" >&5
22625 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
22626 if test "${ac_cv_header_png_h+set}" = set; then
22627 echo $ECHO_N "(cached) $ECHO_C" >&6
22629 ac_cv_header_png_h
=$ac_header_preproc
22631 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
22632 echo "${ECHO_T}$ac_cv_header_png_h" >&6
22638 if test "$ac_cv_header_png_h" = "yes"; then
22639 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
22640 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
22641 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22644 ac_check_lib_save_LIBS
=$LIBS
22645 LIBS
="-lpng -lz -lm $LIBS"
22646 cat >conftest.
$ac_ext <<_ACEOF
22649 cat confdefs.h
>>conftest.
$ac_ext
22650 cat >>conftest.
$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22653 /* Override any gcc2 internal prototype to avoid an error. */
22657 /* We use char because int might match the return type of a gcc2
22658 builtin and then its argument prototype would still apply. */
22659 char png_check_sig ();
22668 rm -f conftest.
$ac_objext conftest
$ac_exeext
22669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22670 (eval $ac_link) 2>conftest.er1
22672 grep -v '^ *+' conftest.er1
>conftest.err
22674 cat conftest.err
>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } &&
22677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22679 (eval $ac_try) 2>&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); }; } &&
22683 { ac_try
='test -s conftest$ac_exeext'
22684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22685 (eval $ac_try) 2>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; }; then
22689 ac_cv_lib_png_png_check_sig
=yes
22691 echo "$as_me: failed program was:" >&5
22692 sed 's/^/| /' conftest.
$ac_ext >&5
22694 ac_cv_lib_png_png_check_sig
=no
22696 rm -f conftest.err conftest.
$ac_objext \
22697 conftest
$ac_exeext conftest.
$ac_ext
22698 LIBS
=$ac_check_lib_save_LIBS
22700 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
22701 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
22702 if test $ac_cv_lib_png_png_check_sig = yes; then
22703 PNG_LINK
=" -lpng -lz"
22708 if test "x$PNG_LINK" = "x" ; then
22709 if test "$wxUSE_LIBPNG" = "sys" ; then
22710 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
22711 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
22712 { (exit 1); exit 1; }; }
22714 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
22715 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22716 wxUSE_LIBPNG
=builtin
22724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
22729 if test "$wxUSE_LIBJPEG" != "no" ; then
22730 cat >>confdefs.h
<<\_ACEOF
22731 #define wxUSE_LIBJPEG 1
22735 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
22736 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
22737 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
22741 if test "$wxUSE_MGL" != 1 ; then
22742 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22743 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
22744 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
22745 if test "${ac_cv_header_jpeglib_h+set}" = set; then
22746 echo $ECHO_N "(cached) $ECHO_C" >&6
22748 cat >conftest.
$ac_ext <<_ACEOF
22751 cat confdefs.h
>>conftest.
$ac_ext
22752 cat >>conftest.
$ac_ext <<_ACEOF
22753 /* end confdefs.h. */
22755 #undef HAVE_STDLIB_H
22757 #include <jpeglib.h>
22768 rm -f conftest.
$ac_objext
22769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22770 (eval $ac_compile) 2>conftest.er1
22772 grep -v '^ *+' conftest.er1
>conftest.err
22774 cat conftest.err
>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); } &&
22777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; } &&
22783 { ac_try
='test -s conftest.$ac_objext'
22784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785 (eval $ac_try) 2>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); }; }; then
22789 ac_cv_header_jpeglib_h
=yes
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.
$ac_ext >&5
22794 ac_cv_header_jpeglib_h
=no
22797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22801 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
22802 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
22804 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22805 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
22806 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
22807 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
22808 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 ac_check_lib_save_LIBS
=$LIBS
22811 LIBS
="-ljpeg $LIBS"
22812 cat >conftest.
$ac_ext <<_ACEOF
22815 cat confdefs.h
>>conftest.
$ac_ext
22816 cat >>conftest.
$ac_ext <<_ACEOF
22817 /* end confdefs.h. */
22819 /* Override any gcc2 internal prototype to avoid an error. */
22823 /* We use char because int might match the return type of a gcc2
22824 builtin and then its argument prototype would still apply. */
22825 char jpeg_read_header ();
22829 jpeg_read_header ();
22834 rm -f conftest.
$ac_objext conftest
$ac_exeext
22835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22836 (eval $ac_link) 2>conftest.er1
22838 grep -v '^ *+' conftest.er1
>conftest.err
22840 cat conftest.err
>&5
22841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22842 (exit $ac_status); } &&
22843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22845 (eval $ac_try) 2>&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); }; } &&
22849 { ac_try
='test -s conftest$ac_exeext'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; }; then
22855 ac_cv_lib_jpeg_jpeg_read_header
=yes
22857 echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.
$ac_ext >&5
22860 ac_cv_lib_jpeg_jpeg_read_header
=no
22862 rm -f conftest.err conftest.
$ac_objext \
22863 conftest
$ac_exeext conftest.
$ac_ext
22864 LIBS
=$ac_check_lib_save_LIBS
22866 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22867 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
22868 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
22869 JPEG_LINK
=" -ljpeg"
22874 if test "x$JPEG_LINK" = "x" ; then
22875 if test "$wxUSE_LIBJPEG" = "sys" ; then
22876 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
22877 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
22878 { (exit 1); exit 1; }; }
22880 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
22881 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22882 wxUSE_LIBJPEG
=builtin
22893 TIFF_PREREQ_LINKS
=-lm
22894 if test "$wxUSE_LIBTIFF" != "no" ; then
22895 cat >>confdefs.h
<<\_ACEOF
22896 #define wxUSE_LIBTIFF 1
22900 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22901 if test "$wxUSE_LIBJPEG" = "sys"; then
22902 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22904 if test "$wxUSE_ZLIB" = "sys"; then
22905 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22907 if test "${ac_cv_header_tiffio_h+set}" = set; then
22908 echo "$as_me:$LINENO: checking for tiffio.h" >&5
22909 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
22910 if test "${ac_cv_header_tiffio_h+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
22914 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
22916 # Is the header compilable?
22917 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
22918 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
22919 cat >conftest.
$ac_ext <<_ACEOF
22922 cat confdefs.h
>>conftest.
$ac_ext
22923 cat >>conftest.
$ac_ext <<_ACEOF
22924 /* end confdefs.h. */
22925 $ac_includes_default
22926 #include <tiffio.h>
22928 rm -f conftest.
$ac_objext
22929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22930 (eval $ac_compile) 2>conftest.er1
22932 grep -v '^ *+' conftest.er1
>conftest.err
22934 cat conftest.err
>&5
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; } &&
22943 { ac_try
='test -s conftest.$ac_objext'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; }; then
22949 ac_header_compiler
=yes
22951 echo "$as_me: failed program was:" >&5
22952 sed 's/^/| /' conftest.
$ac_ext >&5
22954 ac_header_compiler
=no
22956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22958 echo "${ECHO_T}$ac_header_compiler" >&6
22960 # Is the header present?
22961 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
22962 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
22963 cat >conftest.
$ac_ext <<_ACEOF
22966 cat confdefs.h
>>conftest.
$ac_ext
22967 cat >>conftest.
$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969 #include <tiffio.h>
22971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22972 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22974 grep -v '^ *+' conftest.er1
>conftest.err
22976 cat conftest.err
>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); } >/dev
/null
; then
22979 if test -s conftest.err
; then
22980 ac_cpp_err
=$ac_c_preproc_warn_flag
22981 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22988 if test -z "$ac_cpp_err"; then
22989 ac_header_preproc
=yes
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.
$ac_ext >&5
22994 ac_header_preproc
=no
22996 rm -f conftest.err conftest.
$ac_ext
22997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22998 echo "${ECHO_T}$ac_header_preproc" >&6
23000 # So? What about this header?
23001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23003 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23004 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23005 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23006 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23007 ac_header_preproc
=yes
23010 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23011 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23012 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23013 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23014 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23015 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23016 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23017 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23018 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23019 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23020 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23021 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23024 ## ----------------------------------------- ##
23025 ## Report this to wx-dev@lists.wxwidgets.org ##
23026 ## ----------------------------------------- ##
23029 sed "s/^/$as_me: WARNING: /" >&2
23032 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23033 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23034 if test "${ac_cv_header_tiffio_h+set}" = set; then
23035 echo $ECHO_N "(cached) $ECHO_C" >&6
23037 ac_cv_header_tiffio_h
=$ac_header_preproc
23039 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23040 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23043 if test $ac_cv_header_tiffio_h = yes; then
23045 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23046 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23047 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23048 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 ac_check_lib_save_LIBS
=$LIBS
23051 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23052 cat >conftest.
$ac_ext <<_ACEOF
23055 cat confdefs.h
>>conftest.
$ac_ext
23056 cat >>conftest.
$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23059 /* Override any gcc2 internal prototype to avoid an error. */
23063 /* We use char because int might match the return type of a gcc2
23064 builtin and then its argument prototype would still apply. */
23074 rm -f conftest.
$ac_objext conftest
$ac_exeext
23075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23076 (eval $ac_link) 2>conftest.er1
23078 grep -v '^ *+' conftest.er1
>conftest.err
23080 cat conftest.err
>&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } &&
23083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23085 (eval $ac_try) 2>&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); }; } &&
23089 { ac_try
='test -s conftest$ac_exeext'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; }; then
23095 ac_cv_lib_tiff_TIFFError
=yes
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.
$ac_ext >&5
23100 ac_cv_lib_tiff_TIFFError
=no
23102 rm -f conftest.err conftest.
$ac_objext \
23103 conftest
$ac_exeext conftest.
$ac_ext
23104 LIBS
=$ac_check_lib_save_LIBS
23106 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23107 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23108 if test $ac_cv_lib_tiff_TIFFError = yes; then
23109 TIFF_LINK
=" -ltiff"
23118 if test "x$TIFF_LINK" = "x" ; then
23119 if test "$wxUSE_LIBTIFF" = "sys" ; then
23120 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23121 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23122 { (exit 1); exit 1; }; }
23124 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23125 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23126 wxUSE_LIBTIFF
=builtin
23135 if test "$wxUSE_EXPAT" != "no"; then
23137 cat >>confdefs.h
<<\_ACEOF
23138 #define wxUSE_EXPAT 1
23141 cat >>confdefs.h
<<\_ACEOF
23142 #define wxUSE_XML 1
23146 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23147 if test "${ac_cv_header_expat_h+set}" = set; then
23148 echo "$as_me:$LINENO: checking for expat.h" >&5
23149 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23150 if test "${ac_cv_header_expat_h+set}" = set; then
23151 echo $ECHO_N "(cached) $ECHO_C" >&6
23153 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23154 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23156 # Is the header compilable?
23157 echo "$as_me:$LINENO: checking expat.h usability" >&5
23158 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23159 cat >conftest.
$ac_ext <<_ACEOF
23162 cat confdefs.h
>>conftest.
$ac_ext
23163 cat >>conftest.
$ac_ext <<_ACEOF
23164 /* end confdefs.h. */
23165 $ac_includes_default
23168 rm -f conftest.
$ac_objext
23169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23170 (eval $ac_compile) 2>conftest.er1
23172 grep -v '^ *+' conftest.er1
>conftest.err
23174 cat conftest.err
>&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } &&
23177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; } &&
23183 { ac_try
='test -s conftest.$ac_objext'
23184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23185 (eval $ac_try) 2>&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); }; }; then
23189 ac_header_compiler
=yes
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.
$ac_ext >&5
23194 ac_header_compiler
=no
23196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23198 echo "${ECHO_T}$ac_header_compiler" >&6
23200 # Is the header present?
23201 echo "$as_me:$LINENO: checking expat.h presence" >&5
23202 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23203 cat >conftest.
$ac_ext <<_ACEOF
23206 cat confdefs.h
>>conftest.
$ac_ext
23207 cat >>conftest.
$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23214 grep -v '^ *+' conftest.er1
>conftest.err
23216 cat conftest.err
>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); } >/dev
/null
; then
23219 if test -s conftest.err
; then
23220 ac_cpp_err
=$ac_c_preproc_warn_flag
23221 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23228 if test -z "$ac_cpp_err"; then
23229 ac_header_preproc
=yes
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.
$ac_ext >&5
23234 ac_header_preproc
=no
23236 rm -f conftest.err conftest.
$ac_ext
23237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23238 echo "${ECHO_T}$ac_header_preproc" >&6
23240 # So? What about this header?
23241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23243 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23244 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23245 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23246 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23247 ac_header_preproc
=yes
23250 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23251 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23252 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23253 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23254 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23255 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23256 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23257 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23258 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23259 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23260 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23261 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23264 ## ----------------------------------------- ##
23265 ## Report this to wx-dev@lists.wxwidgets.org ##
23266 ## ----------------------------------------- ##
23269 sed "s/^/$as_me: WARNING: /" >&2
23272 echo "$as_me:$LINENO: checking for expat.h" >&5
23273 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23274 if test "${ac_cv_header_expat_h+set}" = set; then
23275 echo $ECHO_N "(cached) $ECHO_C" >&6
23277 ac_cv_header_expat_h
=$ac_header_preproc
23279 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23280 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23283 if test $ac_cv_header_expat_h = yes; then
23288 if test "x$found_expat_h" = "x1"; then
23289 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23290 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23291 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23298 ac_cpp
='$CXXCPP $CPPFLAGS'
23299 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23303 cat >conftest.
$ac_ext <<_ACEOF
23306 cat confdefs.h
>>conftest.
$ac_ext
23307 cat >>conftest.
$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23318 rm -f conftest.
$ac_objext
23319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23320 (eval $ac_compile) 2>conftest.er1
23322 grep -v '^ *+' conftest.er1
>conftest.err
23324 cat conftest.err
>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); } &&
23327 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23329 (eval $ac_try) 2>&5
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); }; } &&
23333 { ac_try
='test -s conftest.$ac_objext'
23334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23335 (eval $ac_try) 2>&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); }; }; then
23339 wx_cv_expat_is_not_broken
=yes
23341 echo "$as_me: failed program was:" >&5
23342 sed 's/^/| /' conftest.
$ac_ext >&5
23344 wx_cv_expat_is_not_broken
=no
23347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23349 ac_cpp
='$CPP $CPPFLAGS'
23350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23357 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23358 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23359 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23360 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23361 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23362 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23363 echo $ECHO_N "(cached) $ECHO_C" >&6
23365 ac_check_lib_save_LIBS
=$LIBS
23366 LIBS
="-lexpat $LIBS"
23367 cat >conftest.
$ac_ext <<_ACEOF
23370 cat confdefs.h
>>conftest.
$ac_ext
23371 cat >>conftest.
$ac_ext <<_ACEOF
23372 /* end confdefs.h. */
23374 /* Override any gcc2 internal prototype to avoid an error. */
23378 /* We use char because int might match the return type of a gcc2
23379 builtin and then its argument prototype would still apply. */
23380 char XML_ParserCreate ();
23384 XML_ParserCreate ();
23389 rm -f conftest.
$ac_objext conftest
$ac_exeext
23390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23391 (eval $ac_link) 2>conftest.er1
23393 grep -v '^ *+' conftest.er1
>conftest.err
23395 cat conftest.err
>&5
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); } &&
23398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23400 (eval $ac_try) 2>&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); }; } &&
23404 { ac_try
='test -s conftest$ac_exeext'
23405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23406 (eval $ac_try) 2>&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); }; }; then
23410 ac_cv_lib_expat_XML_ParserCreate
=yes
23412 echo "$as_me: failed program was:" >&5
23413 sed 's/^/| /' conftest.
$ac_ext >&5
23415 ac_cv_lib_expat_XML_ParserCreate
=no
23417 rm -f conftest.err conftest.
$ac_objext \
23418 conftest
$ac_exeext conftest.
$ac_ext
23419 LIBS
=$ac_check_lib_save_LIBS
23421 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23422 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23423 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23424 EXPAT_LINK
=" -lexpat"
23429 if test "x$EXPAT_LINK" = "x" ; then
23430 if test "$wxUSE_EXPAT" = "sys" ; then
23431 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23432 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23433 { (exit 1); exit 1; }; }
23435 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23436 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23437 wxUSE_EXPAT
=builtin
23443 if test "$wxUSE_EXPAT" = "builtin" ; then
23446 subdirs
="$subdirs src/expat"
23453 if test "$wxUSE_LIBMSPACK" != "no"; then
23454 if test "${ac_cv_header_mspack_h+set}" = set; then
23455 echo "$as_me:$LINENO: checking for mspack.h" >&5
23456 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23457 if test "${ac_cv_header_mspack_h+set}" = set; then
23458 echo $ECHO_N "(cached) $ECHO_C" >&6
23460 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23461 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23463 # Is the header compilable?
23464 echo "$as_me:$LINENO: checking mspack.h usability" >&5
23465 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
23466 cat >conftest.
$ac_ext <<_ACEOF
23469 cat confdefs.h
>>conftest.
$ac_ext
23470 cat >>conftest.
$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 $ac_includes_default
23473 #include <mspack.h>
23475 rm -f conftest.
$ac_objext
23476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23477 (eval $ac_compile) 2>conftest.er1
23479 grep -v '^ *+' conftest.er1
>conftest.err
23481 cat conftest.err
>&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } &&
23484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486 (eval $ac_try) 2>&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); }; } &&
23490 { ac_try
='test -s conftest.$ac_objext'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; }; then
23496 ac_header_compiler
=yes
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.
$ac_ext >&5
23501 ac_header_compiler
=no
23503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23505 echo "${ECHO_T}$ac_header_compiler" >&6
23507 # Is the header present?
23508 echo "$as_me:$LINENO: checking mspack.h presence" >&5
23509 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
23510 cat >conftest.
$ac_ext <<_ACEOF
23513 cat confdefs.h
>>conftest.
$ac_ext
23514 cat >>conftest.
$ac_ext <<_ACEOF
23515 /* end confdefs.h. */
23516 #include <mspack.h>
23518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23519 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23521 grep -v '^ *+' conftest.er1
>conftest.err
23523 cat conftest.err
>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } >/dev
/null
; then
23526 if test -s conftest.err
; then
23527 ac_cpp_err
=$ac_c_preproc_warn_flag
23528 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23535 if test -z "$ac_cpp_err"; then
23536 ac_header_preproc
=yes
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.
$ac_ext >&5
23541 ac_header_preproc
=no
23543 rm -f conftest.err conftest.
$ac_ext
23544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23545 echo "${ECHO_T}$ac_header_preproc" >&6
23547 # So? What about this header?
23548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23550 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
23551 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23552 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
23553 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
23554 ac_header_preproc
=yes
23557 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
23558 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
23559 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
23560 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
23561 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
23562 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
23564 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
23565 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
23566 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
23567 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
23568 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
23571 ## ----------------------------------------- ##
23572 ## Report this to wx-dev@lists.wxwidgets.org ##
23573 ## ----------------------------------------- ##
23576 sed "s/^/$as_me: WARNING: /" >&2
23579 echo "$as_me:$LINENO: checking for mspack.h" >&5
23580 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
23581 if test "${ac_cv_header_mspack_h+set}" = set; then
23582 echo $ECHO_N "(cached) $ECHO_C" >&6
23584 ac_cv_header_mspack_h
=$ac_header_preproc
23586 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
23587 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
23590 if test $ac_cv_header_mspack_h = yes; then
23595 if test "x$found_mspack_h" = "x1"; then
23596 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
23597 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
23598 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 ac_check_lib_save_LIBS
=$LIBS
23602 LIBS
="-lmspack $LIBS"
23603 cat >conftest.
$ac_ext <<_ACEOF
23606 cat confdefs.h
>>conftest.
$ac_ext
23607 cat >>conftest.
$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23610 /* Override any gcc2 internal prototype to avoid an error. */
23614 /* We use char because int might match the return type of a gcc2
23615 builtin and then its argument prototype would still apply. */
23616 char mspack_create_chm_decompressor ();
23620 mspack_create_chm_decompressor ();
23625 rm -f conftest.
$ac_objext conftest
$ac_exeext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23627 (eval $ac_link) 2>conftest.er1
23629 grep -v '^ *+' conftest.er1
>conftest.err
23631 cat conftest.err
>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; } &&
23640 { ac_try
='test -s conftest$ac_exeext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.
$ac_ext >&5
23651 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23653 rm -f conftest.err conftest.
$ac_objext \
23654 conftest
$ac_exeext conftest.
$ac_ext
23655 LIBS
=$ac_check_lib_save_LIBS
23657 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23658 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
23659 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
23660 MSPACK_LINK
=" -lmspack"
23664 if test "x$MSPACK_LINK" = "x" ; then
23669 if test "$wxUSE_LIBMSPACK" != "no"; then
23670 cat >>confdefs.h
<<\_ACEOF
23671 #define wxUSE_LIBMSPACK 1
23685 if test "$USE_WIN32" = 1 ; then
23687 for ac_header
in w32api.h
23689 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23691 echo "$as_me:$LINENO: checking for $ac_header" >&5
23692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23694 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23699 # Is the header compilable?
23700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23702 cat >conftest.
$ac_ext <<_ACEOF
23705 cat confdefs.h
>>conftest.
$ac_ext
23706 cat >>conftest.
$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708 $ac_includes_default
23709 #include <$ac_header>
23711 rm -f conftest.
$ac_objext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23713 (eval $ac_compile) 2>conftest.er1
23715 grep -v '^ *+' conftest.er1
>conftest.err
23717 cat conftest.err
>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; } &&
23726 { ac_try
='test -s conftest.$ac_objext'
23727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23728 (eval $ac_try) 2>&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); }; }; then
23732 ac_header_compiler
=yes
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.
$ac_ext >&5
23737 ac_header_compiler
=no
23739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23741 echo "${ECHO_T}$ac_header_compiler" >&6
23743 # Is the header present?
23744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23746 cat >conftest.
$ac_ext <<_ACEOF
23749 cat confdefs.h
>>conftest.
$ac_ext
23750 cat >>conftest.
$ac_ext <<_ACEOF
23751 /* end confdefs.h. */
23752 #include <$ac_header>
23754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23757 grep -v '^ *+' conftest.er1
>conftest.err
23759 cat conftest.err
>&5
23760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23761 (exit $ac_status); } >/dev
/null
; then
23762 if test -s conftest.err
; then
23763 ac_cpp_err
=$ac_c_preproc_warn_flag
23764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23771 if test -z "$ac_cpp_err"; then
23772 ac_header_preproc
=yes
23774 echo "$as_me: failed program was:" >&5
23775 sed 's/^/| /' conftest.
$ac_ext >&5
23777 ac_header_preproc
=no
23779 rm -f conftest.err conftest.
$ac_ext
23780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23781 echo "${ECHO_T}$ac_header_preproc" >&6
23783 # So? What about this header?
23784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23790 ac_header_preproc
=yes
23793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23797 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23799 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23800 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23807 ## ----------------------------------------- ##
23808 ## Report this to wx-dev@lists.wxwidgets.org ##
23809 ## ----------------------------------------- ##
23812 sed "s/^/$as_me: WARNING: /" >&2
23815 echo "$as_me:$LINENO: checking for $ac_header" >&5
23816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23820 eval "$as_ac_Header=\$ac_header_preproc"
23822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23827 cat >>confdefs.h
<<_ACEOF
23828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23835 if test "${ac_cv_header_windows_h+set}" = set; then
23836 echo "$as_me:$LINENO: checking for windows.h" >&5
23837 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23838 if test "${ac_cv_header_windows_h+set}" = set; then
23839 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23842 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23844 # Is the header compilable?
23845 echo "$as_me:$LINENO: checking windows.h usability" >&5
23846 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
23847 cat >conftest.
$ac_ext <<_ACEOF
23850 cat confdefs.h
>>conftest.
$ac_ext
23851 cat >>conftest.
$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 $ac_includes_default
23854 #include <windows.h>
23856 rm -f conftest.
$ac_objext
23857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23858 (eval $ac_compile) 2>conftest.er1
23860 grep -v '^ *+' conftest.er1
>conftest.err
23862 cat conftest.err
>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); } &&
23865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23867 (eval $ac_try) 2>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); }; } &&
23871 { ac_try
='test -s conftest.$ac_objext'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_header_compiler
=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.
$ac_ext >&5
23882 ac_header_compiler
=no
23884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23886 echo "${ECHO_T}$ac_header_compiler" >&6
23888 # Is the header present?
23889 echo "$as_me:$LINENO: checking windows.h presence" >&5
23890 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
23891 cat >conftest.
$ac_ext <<_ACEOF
23894 cat confdefs.h
>>conftest.
$ac_ext
23895 cat >>conftest.
$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23897 #include <windows.h>
23899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23900 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23902 grep -v '^ *+' conftest.er1
>conftest.err
23904 cat conftest.err
>&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); } >/dev
/null
; then
23907 if test -s conftest.err
; then
23908 ac_cpp_err
=$ac_c_preproc_warn_flag
23909 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23916 if test -z "$ac_cpp_err"; then
23917 ac_header_preproc
=yes
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.
$ac_ext >&5
23922 ac_header_preproc
=no
23924 rm -f conftest.err conftest.
$ac_ext
23925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23926 echo "${ECHO_T}$ac_header_preproc" >&6
23928 # So? What about this header?
23929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23931 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
23932 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23933 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
23934 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
23935 ac_header_preproc
=yes
23938 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
23939 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
23940 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
23941 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
23942 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
23943 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
23944 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
23945 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
23946 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
23947 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
23948 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
23949 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
23952 ## ----------------------------------------- ##
23953 ## Report this to wx-dev@lists.wxwidgets.org ##
23954 ## ----------------------------------------- ##
23957 sed "s/^/$as_me: WARNING: /" >&2
23960 echo "$as_me:$LINENO: checking for windows.h" >&5
23961 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
23962 if test "${ac_cv_header_windows_h+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 ac_cv_header_windows_h
=$ac_header_preproc
23967 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
23968 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
23971 if test $ac_cv_header_windows_h = yes; then
23975 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
23976 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
23977 { (exit 1); exit 1; }; }
23983 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
23985 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23986 LIBS
="$LIBS -loleacc"
23991 LIBS
="$LIBS -lkernel32 -luser32"
23992 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
23995 if test "$wxUSE_ODBC" = "sys" ; then
23998 if test "$wxUSE_ODBC" = "yes" ; then
23999 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24000 cat >>confdefs.h
<<\_ACEOF
24001 #define wxUSE_ODBC 1
24006 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24007 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24009 WIN32INSTALL
=win32install
24012 if test "$wxUSE_GUI" = "yes"; then
24022 if test "$wxUSE_COCOA" = 1 ; then
24023 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24024 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24025 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24026 wxUSE_PRINTING_ARCHITECTURE
=no
24028 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24029 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24030 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24031 wxUSE_DRAG_AND_DROP
=no
24033 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24034 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24035 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24040 if test "$wxUSE_MSW" = 1 ; then
24046 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24050 if test "$wxUSE_GTK" = 1; then
24051 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24052 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24054 gtk_version_cached
=1
24055 if test "${wx_cv_lib_gtk+set}" = set; then
24056 echo $ECHO_N "(cached) $ECHO_C" >&6
24059 gtk_version_cached
=0
24060 echo "$as_me:$LINENO: result: " >&5
24061 echo "${ECHO_T}" >&6
24064 if test "$wxUSE_THREADS" = "yes"; then
24065 GTK_MODULES
=gthread
24069 if test "x$wxUSE_GTK2" = "xyes"; then
24070 # Check whether --enable-gtktest or --disable-gtktest was given.
24071 if test "${enable_gtktest+set}" = set; then
24072 enableval
="$enable_gtktest"
24078 pkg_config_args
=gtk
+-2.0
24079 for module
in .
$GTK_MODULES
24083 pkg_config_args
="$pkg_config_args gthread-2.0"
24090 # Extract the first word of "pkg-config", so it can be a program name with args.
24091 set dummy pkg
-config; ac_word
=$2
24092 echo "$as_me:$LINENO: checking for $ac_word" >&5
24093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24094 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24095 echo $ECHO_N "(cached) $ECHO_C" >&6
24097 case $PKG_CONFIG in
24099 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24103 for as_dir
in $PATH
24106 test -z "$as_dir" && as_dir
=.
24107 for ac_exec_ext
in '' $ac_executable_extensions; do
24108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24109 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24116 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24120 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24122 if test -n "$PKG_CONFIG"; then
24123 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24124 echo "${ECHO_T}$PKG_CONFIG" >&6
24126 echo "$as_me:$LINENO: result: no" >&5
24127 echo "${ECHO_T}no" >&6
24131 if test x
$PKG_CONFIG != xno
; then
24132 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24135 echo "*** pkg-config too old; version 0.7 or better required."
24143 min_gtk_version
=2.0.0
24144 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24145 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24147 if test x
$PKG_CONFIG != xno
; then
24148 ## don't try to run the test against uninstalled libtool libs
24149 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24150 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24154 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24161 if test x
"$no_gtk" = x
; then
24162 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24163 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24164 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24166 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24168 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24170 if test "x$enable_gtktest" = "xyes" ; then
24171 ac_save_CFLAGS
="$CFLAGS"
24172 ac_save_LIBS
="$LIBS"
24173 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24174 LIBS
="$GTK_LIBS $LIBS"
24176 if test "$cross_compiling" = yes; then
24177 echo $ac_n "cross compiling; assumed OK... $ac_c"
24179 cat >conftest.
$ac_ext <<_ACEOF
24182 cat confdefs.h
>>conftest.
$ac_ext
24183 cat >>conftest.
$ac_ext <<_ACEOF
24184 /* end confdefs.h. */
24186 #include <gtk/gtk.h>
24188 #include <stdlib.h>
24193 int major, minor, micro;
24196 system ("touch conf.gtktest");
24198 /* HP/UX 9 (%@#!) writes to sscanf strings */
24199 tmp_version = g_strdup("$min_gtk_version");
24200 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24201 printf("%s, bad version string\n", "$min_gtk_version");
24205 if ((gtk_major_version != $gtk_config_major_version) ||
24206 (gtk_minor_version != $gtk_config_minor_version) ||
24207 (gtk_micro_version != $gtk_config_micro_version))
24209 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24210 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24211 gtk_major_version, gtk_minor_version, gtk_micro_version);
24212 printf ("*** was found! If pkg-config was correct, then it is best\n");
24213 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24214 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24215 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24216 printf("*** required on your system.\n");
24217 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24218 printf("*** to point to the correct configuration files\n");
24220 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24221 (gtk_minor_version != GTK_MINOR_VERSION) ||
24222 (gtk_micro_version != GTK_MICRO_VERSION))
24224 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24225 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24226 printf("*** library (version %d.%d.%d)\n",
24227 gtk_major_version, gtk_minor_version, gtk_micro_version);
24231 if ((gtk_major_version > major) ||
24232 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24233 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24239 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24240 gtk_major_version, gtk_minor_version, gtk_micro_version);
24241 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24242 major, minor, micro);
24243 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24245 printf("*** If you have already installed a sufficiently new version, this error\n");
24246 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24247 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24248 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24249 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24250 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24251 printf("*** so that the correct libraries are found at run-time))\n");
24258 rm -f conftest
$ac_exeext
24259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24260 (eval $ac_link) 2>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265 (eval $ac_try) 2>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); }; }; then
24271 echo "$as_me: program exited with status $ac_status" >&5
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.
$ac_ext >&5
24275 ( exit $ac_status )
24278 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24280 CFLAGS
="$ac_save_CFLAGS"
24281 LIBS
="$ac_save_LIBS"
24284 if test "x$no_gtk" = x
; then
24285 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24286 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24289 echo "$as_me:$LINENO: result: no" >&5
24290 echo "${ECHO_T}no" >&6
24291 if test "$PKG_CONFIG" = "no" ; then
24292 echo "*** A new enough version of pkg-config was not found."
24293 echo "*** See http://pkgconfig.sourceforge.net"
24295 if test -f conf.gtktest
; then
24298 echo "*** Could not run GTK+ test program, checking why..."
24299 ac_save_CFLAGS
="$CFLAGS"
24300 ac_save_LIBS
="$LIBS"
24301 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24302 LIBS
="$LIBS $GTK_LIBS"
24303 cat >conftest.
$ac_ext <<_ACEOF
24306 cat confdefs.h
>>conftest.
$ac_ext
24307 cat >>conftest.
$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24310 #include <gtk/gtk.h>
24316 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24321 rm -f conftest.
$ac_objext conftest
$ac_exeext
24322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24323 (eval $ac_link) 2>conftest.er1
24325 grep -v '^ *+' conftest.er1
>conftest.err
24327 cat conftest.err
>&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); } &&
24330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24332 (eval $ac_try) 2>&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); }; } &&
24336 { ac_try
='test -s conftest$ac_exeext'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; }; then
24342 echo "*** The test program compiled, but did not run. This usually means"
24343 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24344 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24345 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24346 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24347 echo "*** is required on your system"
24349 echo "*** If you have an old version installed, it is best to remove it, although"
24350 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24352 echo "$as_me: failed program was:" >&5
24353 sed 's/^/| /' conftest.
$ac_ext >&5
24355 echo "*** The test program failed to compile or link. See the file config.log for the"
24356 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24358 rm -f conftest.err conftest.
$ac_objext \
24359 conftest
$ac_exeext conftest.
$ac_ext
24360 CFLAGS
="$ac_save_CFLAGS"
24361 LIBS
="$ac_save_LIBS"
24374 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24375 if test "${with_gtk_prefix+set}" = set; then
24376 withval
="$with_gtk_prefix"
24377 gtk_config_prefix
="$withval"
24379 gtk_config_prefix
=""
24382 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24383 if test "${with_gtk_exec_prefix+set}" = set; then
24384 withval
="$with_gtk_exec_prefix"
24385 gtk_config_exec_prefix
="$withval"
24387 gtk_config_exec_prefix
=""
24389 # Check whether --enable-gtktest or --disable-gtktest was given.
24390 if test "${enable_gtktest+set}" = set; then
24391 enableval
="$enable_gtktest"
24397 for module
in .
$GTK_MODULES
24401 gtk_config_args
="$gtk_config_args gthread"
24406 if test x
$gtk_config_exec_prefix != x
; then
24407 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24408 if test x
${GTK_CONFIG+set} != xset
; then
24409 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24412 if test x
$gtk_config_prefix != x
; then
24413 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24414 if test x
${GTK_CONFIG+set} != xset
; then
24415 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24419 # Extract the first word of "gtk-config", so it can be a program name with args.
24420 set dummy gtk
-config; ac_word
=$2
24421 echo "$as_me:$LINENO: checking for $ac_word" >&5
24422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24423 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24424 echo $ECHO_N "(cached) $ECHO_C" >&6
24426 case $GTK_CONFIG in
24428 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24432 for as_dir
in $PATH
24435 test -z "$as_dir" && as_dir
=.
24436 for ac_exec_ext
in '' $ac_executable_extensions; do
24437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24438 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24445 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24449 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24451 if test -n "$GTK_CONFIG"; then
24452 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24453 echo "${ECHO_T}$GTK_CONFIG" >&6
24455 echo "$as_me:$LINENO: result: no" >&5
24456 echo "${ECHO_T}no" >&6
24459 min_gtk_version
=1.2.7
24460 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24461 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24463 if test "$GTK_CONFIG" = "no" ; then
24466 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24467 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24468 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24470 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24472 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24474 if test "x$enable_gtktest" = "xyes" ; then
24475 ac_save_CFLAGS
="$CFLAGS"
24476 ac_save_LIBS
="$LIBS"
24477 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24478 LIBS
="$GTK_LIBS $LIBS"
24480 if test "$cross_compiling" = yes; then
24481 echo $ac_n "cross compiling; assumed OK... $ac_c"
24483 cat >conftest.
$ac_ext <<_ACEOF
24486 cat confdefs.h
>>conftest.
$ac_ext
24487 cat >>conftest.
$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24490 #include <gtk/gtk.h>
24492 #include <stdlib.h>
24497 int major, minor, micro;
24500 system ("touch conf.gtktest");
24502 /* HP/UX 9 (%@#!) writes to sscanf strings */
24503 tmp_version = g_strdup("$min_gtk_version");
24504 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24505 printf("%s, bad version string\n", "$min_gtk_version");
24509 if ((gtk_major_version != $gtk_config_major_version) ||
24510 (gtk_minor_version != $gtk_config_minor_version) ||
24511 (gtk_micro_version != $gtk_config_micro_version))
24513 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24514 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24515 gtk_major_version, gtk_minor_version, gtk_micro_version);
24516 printf ("*** was found! If gtk-config was correct, then it is best\n");
24517 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24518 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24519 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24520 printf("*** required on your system.\n");
24521 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24522 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24523 printf("*** before re-running configure\n");
24525 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24526 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24527 (gtk_minor_version != GTK_MINOR_VERSION) ||
24528 (gtk_micro_version != GTK_MICRO_VERSION))
24530 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24531 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24532 printf("*** library (version %d.%d.%d)\n",
24533 gtk_major_version, gtk_minor_version, gtk_micro_version);
24535 #endif /* defined (GTK_MAJOR_VERSION) ... */
24538 if ((gtk_major_version > major) ||
24539 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24540 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24546 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24547 gtk_major_version, gtk_minor_version, gtk_micro_version);
24548 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24549 major, minor, micro);
24550 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24552 printf("*** If you have already installed a sufficiently new version, this error\n");
24553 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24554 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24555 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24556 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24557 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24558 printf("*** so that the correct libraries are found at run-time))\n");
24565 rm -f conftest
$ac_exeext
24566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24567 (eval $ac_link) 2>&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24572 (eval $ac_try) 2>&5
24574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575 (exit $ac_status); }; }; then
24578 echo "$as_me: program exited with status $ac_status" >&5
24579 echo "$as_me: failed program was:" >&5
24580 sed 's/^/| /' conftest.
$ac_ext >&5
24582 ( exit $ac_status )
24585 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24587 CFLAGS
="$ac_save_CFLAGS"
24588 LIBS
="$ac_save_LIBS"
24591 if test "x$no_gtk" = x
; then
24592 echo "$as_me:$LINENO: result: yes" >&5
24593 echo "${ECHO_T}yes" >&6
24594 wx_cv_lib_gtk
=1.2.7
24596 echo "$as_me:$LINENO: result: no" >&5
24597 echo "${ECHO_T}no" >&6
24598 if test "$GTK_CONFIG" = "no" ; then
24599 echo "*** The gtk-config script installed by GTK could not be found"
24600 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24601 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24602 echo "*** full path to gtk-config."
24604 if test -f conf.gtktest
; then
24607 echo "*** Could not run GTK test program, checking why..."
24608 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24609 LIBS
="$LIBS $GTK_LIBS"
24610 cat >conftest.
$ac_ext <<_ACEOF
24613 cat confdefs.h
>>conftest.
$ac_ext
24614 cat >>conftest.
$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24617 #include <gtk/gtk.h>
24623 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24628 rm -f conftest.
$ac_objext conftest
$ac_exeext
24629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24630 (eval $ac_link) 2>conftest.er1
24632 grep -v '^ *+' conftest.er1
>conftest.err
24634 cat conftest.err
>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); }; } &&
24643 { ac_try
='test -s conftest$ac_exeext'
24644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24645 (eval $ac_try) 2>&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); }; }; then
24649 echo "*** The test program compiled, but did not run. This usually means"
24650 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24651 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24652 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24653 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24654 echo "*** is required on your system"
24656 echo "*** If you have an old version installed, it is best to remove it, although"
24657 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24659 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24660 echo "*** came with the system with the command"
24662 echo "*** rpm --erase --nodeps gtk gtk-devel"
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.
$ac_ext >&5
24667 echo "*** The test program failed to compile or link. See the file config.log for the"
24668 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24669 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24670 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24672 rm -f conftest.err conftest.
$ac_objext \
24673 conftest
$ac_exeext conftest.
$ac_ext
24674 CFLAGS
="$ac_save_CFLAGS"
24675 LIBS
="$ac_save_LIBS"
24687 if test -z "$wx_cv_lib_gtk"; then
24689 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24690 if test "${with_gtk_prefix+set}" = set; then
24691 withval
="$with_gtk_prefix"
24692 gtk_config_prefix
="$withval"
24694 gtk_config_prefix
=""
24697 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24698 if test "${with_gtk_exec_prefix+set}" = set; then
24699 withval
="$with_gtk_exec_prefix"
24700 gtk_config_exec_prefix
="$withval"
24702 gtk_config_exec_prefix
=""
24704 # Check whether --enable-gtktest or --disable-gtktest was given.
24705 if test "${enable_gtktest+set}" = set; then
24706 enableval
="$enable_gtktest"
24712 for module
in .
$GTK_MODULES
24716 gtk_config_args
="$gtk_config_args gthread"
24721 if test x
$gtk_config_exec_prefix != x
; then
24722 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24723 if test x
${GTK_CONFIG+set} != xset
; then
24724 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24727 if test x
$gtk_config_prefix != x
; then
24728 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24729 if test x
${GTK_CONFIG+set} != xset
; then
24730 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24734 # Extract the first word of "gtk-config", so it can be a program name with args.
24735 set dummy gtk
-config; ac_word
=$2
24736 echo "$as_me:$LINENO: checking for $ac_word" >&5
24737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24738 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24739 echo $ECHO_N "(cached) $ECHO_C" >&6
24741 case $GTK_CONFIG in
24743 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24747 for as_dir
in $PATH
24750 test -z "$as_dir" && as_dir
=.
24751 for ac_exec_ext
in '' $ac_executable_extensions; do
24752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24753 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24760 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24764 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24766 if test -n "$GTK_CONFIG"; then
24767 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
24768 echo "${ECHO_T}$GTK_CONFIG" >&6
24770 echo "$as_me:$LINENO: result: no" >&5
24771 echo "${ECHO_T}no" >&6
24774 min_gtk_version
=1.2.3
24775 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
24776 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
24778 if test "$GTK_CONFIG" = "no" ; then
24781 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24782 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24783 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24784 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24785 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24786 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24787 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24788 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24789 if test "x$enable_gtktest" = "xyes" ; then
24790 ac_save_CFLAGS
="$CFLAGS"
24791 ac_save_LIBS
="$LIBS"
24792 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24793 LIBS
="$GTK_LIBS $LIBS"
24795 if test "$cross_compiling" = yes; then
24796 echo $ac_n "cross compiling; assumed OK... $ac_c"
24798 cat >conftest.
$ac_ext <<_ACEOF
24801 cat confdefs.h
>>conftest.
$ac_ext
24802 cat >>conftest.
$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24805 #include <gtk/gtk.h>
24807 #include <stdlib.h>
24812 int major, minor, micro;
24815 system ("touch conf.gtktest");
24817 /* HP/UX 9 (%@#!) writes to sscanf strings */
24818 tmp_version = g_strdup("$min_gtk_version");
24819 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24820 printf("%s, bad version string\n", "$min_gtk_version");
24824 if ((gtk_major_version != $gtk_config_major_version) ||
24825 (gtk_minor_version != $gtk_config_minor_version) ||
24826 (gtk_micro_version != $gtk_config_micro_version))
24828 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24829 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24830 gtk_major_version, gtk_minor_version, gtk_micro_version);
24831 printf ("*** was found! If gtk-config was correct, then it is best\n");
24832 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24833 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24834 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24835 printf("*** required on your system.\n");
24836 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24837 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24838 printf("*** before re-running configure\n");
24840 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24841 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24842 (gtk_minor_version != GTK_MINOR_VERSION) ||
24843 (gtk_micro_version != GTK_MICRO_VERSION))
24845 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24846 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24847 printf("*** library (version %d.%d.%d)\n",
24848 gtk_major_version, gtk_minor_version, gtk_micro_version);
24850 #endif /* defined (GTK_MAJOR_VERSION) ... */
24853 if ((gtk_major_version > major) ||
24854 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24855 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24861 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24862 gtk_major_version, gtk_minor_version, gtk_micro_version);
24863 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24864 major, minor, micro);
24865 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24867 printf("*** If you have already installed a sufficiently new version, this error\n");
24868 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24869 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24870 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24871 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24872 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24873 printf("*** so that the correct libraries are found at run-time))\n");
24880 rm -f conftest
$ac_exeext
24881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24882 (eval $ac_link) 2>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24887 (eval $ac_try) 2>&5
24889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24890 (exit $ac_status); }; }; then
24893 echo "$as_me: program exited with status $ac_status" >&5
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.
$ac_ext >&5
24897 ( exit $ac_status )
24900 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24902 CFLAGS
="$ac_save_CFLAGS"
24903 LIBS
="$ac_save_LIBS"
24906 if test "x$no_gtk" = x
; then
24907 echo "$as_me:$LINENO: result: yes" >&5
24908 echo "${ECHO_T}yes" >&6
24909 wx_cv_lib_gtk
=1.2.3
24911 echo "$as_me:$LINENO: result: no" >&5
24912 echo "${ECHO_T}no" >&6
24913 if test "$GTK_CONFIG" = "no" ; then
24914 echo "*** The gtk-config script installed by GTK could not be found"
24915 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24916 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24917 echo "*** full path to gtk-config."
24919 if test -f conf.gtktest
; then
24922 echo "*** Could not run GTK test program, checking why..."
24923 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24924 LIBS
="$LIBS $GTK_LIBS"
24925 cat >conftest.
$ac_ext <<_ACEOF
24928 cat confdefs.h
>>conftest.
$ac_ext
24929 cat >>conftest.
$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24932 #include <gtk/gtk.h>
24938 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24943 rm -f conftest.
$ac_objext conftest
$ac_exeext
24944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24945 (eval $ac_link) 2>conftest.er1
24947 grep -v '^ *+' conftest.er1
>conftest.err
24949 cat conftest.err
>&5
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); } &&
24952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24954 (eval $ac_try) 2>&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); }; } &&
24958 { ac_try
='test -s conftest$ac_exeext'
24959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24960 (eval $ac_try) 2>&5
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); }; }; then
24964 echo "*** The test program compiled, but did not run. This usually means"
24965 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24966 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24967 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24968 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24969 echo "*** is required on your system"
24971 echo "*** If you have an old version installed, it is best to remove it, although"
24972 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24974 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24975 echo "*** came with the system with the command"
24977 echo "*** rpm --erase --nodeps gtk gtk-devel"
24979 echo "$as_me: failed program was:" >&5
24980 sed 's/^/| /' conftest.
$ac_ext >&5
24982 echo "*** The test program failed to compile or link. See the file config.log for the"
24983 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
24984 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24985 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24987 rm -f conftest.err conftest.
$ac_objext \
24988 conftest
$ac_exeext conftest.
$ac_ext
24989 CFLAGS
="$ac_save_CFLAGS"
24990 LIBS
="$ac_save_LIBS"
25004 if test -z "$wx_cv_lib_gtk"; then
25007 wx_cv_cflags_gtk
=$GTK_CFLAGS
25008 wx_cv_libs_gtk
=$GTK_LIBS
25015 if test "$gtk_version_cached" = 1; then
25016 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25017 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25020 case "$wx_cv_lib_gtk" in
25029 *) { { echo "$as_me:$LINENO: error:
25030 Please check that gtk-config is in path, the directory
25031 where GTK+ libraries are installed (returned by
25032 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25033 equivalent variable and GTK+ is version 1.2.3 or above.
25035 echo "$as_me: error:
25036 Please check that gtk-config is in path, the directory
25037 where GTK+ libraries are installed (returned by
25038 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
25039 equivalent variable and GTK+ is version 1.2.3 or above.
25041 { (exit 1); exit 1; }; }
25045 if test "$WXGTK20" = 1; then
25046 save_CFLAGS
="$CFLAGS"
25048 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25049 LIBS
="$LIBS $GTK_LIBS"
25052 for ac_func
in pango_font_family_is_monospace
25054 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25055 echo "$as_me:$LINENO: checking for $ac_func" >&5
25056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25057 if eval "test \"\${$as_ac_var+set}\" = set"; then
25058 echo $ECHO_N "(cached) $ECHO_C" >&6
25060 cat >conftest.
$ac_ext <<_ACEOF
25063 cat confdefs.h
>>conftest.
$ac_ext
25064 cat >>conftest.
$ac_ext <<_ACEOF
25065 /* end confdefs.h. */
25066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25068 #define $ac_func innocuous_$ac_func
25070 /* System header to define __stub macros and hopefully few prototypes,
25071 which can conflict with char $ac_func (); below.
25072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25073 <limits.h> exists even on freestanding compilers. */
25076 # include <limits.h>
25078 # include <assert.h>
25083 /* Override any gcc2 internal prototype to avoid an error. */
25088 /* We use char because int might match the return type of a gcc2
25089 builtin and then its argument prototype would still apply. */
25091 /* The GNU C library defines this for functions which it implements
25092 to always fail with ENOSYS. Some functions are actually named
25093 something starting with __ and the normal name is an alias. */
25094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25097 char (*f) () = $ac_func;
25106 return f != $ac_func;
25111 rm -f conftest.
$ac_objext conftest
$ac_exeext
25112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25113 (eval $ac_link) 2>conftest.er1
25115 grep -v '^ *+' conftest.er1
>conftest.err
25117 cat conftest.err
>&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); } &&
25120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 (eval $ac_try) 2>&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; } &&
25126 { ac_try
='test -s conftest$ac_exeext'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; }; then
25132 eval "$as_ac_var=yes"
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.
$ac_ext >&5
25137 eval "$as_ac_var=no"
25139 rm -f conftest.err conftest.
$ac_objext \
25140 conftest
$ac_exeext conftest.
$ac_ext
25142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25144 if test `eval echo '${'$as_ac_var'}'` = yes; then
25145 cat >>confdefs.h
<<_ACEOF
25146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25153 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25154 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25155 cat >conftest.
$ac_ext <<_ACEOF
25158 cat confdefs.h
>>conftest.
$ac_ext
25159 cat >>conftest.
$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25162 #include <gtk/gtk.h>
25168 #if !GTK_CHECK_VERSION(2,4,0)
25169 #error "Not GTK+ 2.4"
25176 rm -f conftest.
$ac_objext
25177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25178 (eval $ac_compile) 2>conftest.er1
25180 grep -v '^ *+' conftest.er1
>conftest.err
25182 cat conftest.err
>&5
25183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25184 (exit $ac_status); } &&
25185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try
='test -s conftest.$ac_objext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25198 cat >>confdefs.h
<<\_ACEOF
25199 #define __WXGTK24__ 1
25202 echo "$as_me:$LINENO: result: yes" >&5
25203 echo "${ECHO_T}yes" >&6
25206 echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.
$ac_ext >&5
25210 echo "$as_me:$LINENO: result: no" >&5
25211 echo "${ECHO_T}no" >&6
25214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25216 CFLAGS
="$save_CFLAGS"
25219 if test "$wxUSE_UNICODE" = "yes"; then
25220 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25221 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25226 if test "$USE_DARWIN" != 1; then
25228 for ac_func
in poll
25230 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25231 echo "$as_me:$LINENO: checking for $ac_func" >&5
25232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25233 if eval "test \"\${$as_ac_var+set}\" = set"; then
25234 echo $ECHO_N "(cached) $ECHO_C" >&6
25236 cat >conftest.
$ac_ext <<_ACEOF
25239 cat confdefs.h
>>conftest.
$ac_ext
25240 cat >>conftest.
$ac_ext <<_ACEOF
25241 /* end confdefs.h. */
25242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25244 #define $ac_func innocuous_$ac_func
25246 /* System header to define __stub macros and hopefully few prototypes,
25247 which can conflict with char $ac_func (); below.
25248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25249 <limits.h> exists even on freestanding compilers. */
25252 # include <limits.h>
25254 # include <assert.h>
25259 /* Override any gcc2 internal prototype to avoid an error. */
25264 /* We use char because int might match the return type of a gcc2
25265 builtin and then its argument prototype would still apply. */
25267 /* The GNU C library defines this for functions which it implements
25268 to always fail with ENOSYS. Some functions are actually named
25269 something starting with __ and the normal name is an alias. */
25270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25273 char (*f) () = $ac_func;
25282 return f != $ac_func;
25287 rm -f conftest.
$ac_objext conftest
$ac_exeext
25288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25289 (eval $ac_link) 2>conftest.er1
25291 grep -v '^ *+' conftest.er1
>conftest.err
25293 cat conftest.err
>&5
25294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25295 (exit $ac_status); } &&
25296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25298 (eval $ac_try) 2>&5
25300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25301 (exit $ac_status); }; } &&
25302 { ac_try
='test -s conftest$ac_exeext'
25303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25304 (eval $ac_try) 2>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); }; }; then
25308 eval "$as_ac_var=yes"
25310 echo "$as_me: failed program was:" >&5
25311 sed 's/^/| /' conftest.
$ac_ext >&5
25313 eval "$as_ac_var=no"
25315 rm -f conftest.err conftest.
$ac_objext \
25316 conftest
$ac_exeext conftest.
$ac_ext
25318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25320 if test `eval echo '${'$as_ac_var'}'` = yes; then
25321 cat >>confdefs.h
<<_ACEOF
25322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25330 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25331 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25333 AFMINSTALL
=afminstall
25337 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25338 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25339 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 ac_check_lib_save_LIBS
=$LIBS
25344 cat >conftest.
$ac_ext <<_ACEOF
25347 cat confdefs.h
>>conftest.
$ac_ext
25348 cat >>conftest.
$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25351 /* Override any gcc2 internal prototype to avoid an error. */
25355 /* We use char because int might match the return type of a gcc2
25356 builtin and then its argument prototype would still apply. */
25357 char gdk_im_open ();
25366 rm -f conftest.
$ac_objext conftest
$ac_exeext
25367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25368 (eval $ac_link) 2>conftest.er1
25370 grep -v '^ *+' conftest.er1
>conftest.err
25372 cat conftest.err
>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); } &&
25375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377 (eval $ac_try) 2>&5
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); }; } &&
25381 { ac_try
='test -s conftest$ac_exeext'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; }; then
25387 ac_cv_lib_gdk_gdk_im_open
=yes
25389 echo "$as_me: failed program was:" >&5
25390 sed 's/^/| /' conftest.
$ac_ext >&5
25392 ac_cv_lib_gdk_gdk_im_open
=no
25394 rm -f conftest.err conftest.
$ac_objext \
25395 conftest
$ac_exeext conftest.
$ac_ext
25396 LIBS
=$ac_check_lib_save_LIBS
25398 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
25399 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
25400 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
25401 cat >>confdefs.h
<<\_ACEOF
25409 if test "$wxUSE_GPE" = "yes"; then
25410 echo "$as_me:$LINENO: checking for gpewidget library" >&5
25411 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
25414 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25416 for ac_extension
in a so sl dylib
; do
25417 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
25418 ac_find_libraries
=$ac_dir
25424 if test "$ac_find_libraries" != "" ; then
25426 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25428 if test $result = 0; then
25431 ac_path_to_link
=" -L$ac_find_libraries"
25434 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
25436 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25437 echo "${ECHO_T}found at $ac_find_libraries" >&6
25439 echo "$as_me:$LINENO: result: not found" >&5
25440 echo "${ECHO_T}not found" >&6
25446 if test "$wxUSE_MGL" = 1; then
25447 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
25448 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
25449 if test "x$MGL_ROOT" = x
; then
25450 echo "$as_me:$LINENO: result: not found" >&5
25451 echo "${ECHO_T}not found" >&6
25452 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
25453 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
25454 { (exit 1); exit 1; }; }
25456 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
25457 echo "${ECHO_T}$MGL_ROOT" >&6
25460 echo "$as_me:$LINENO: checking for libmgl location" >&5
25461 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
25464 if test "x$wxUSE_SHARED" = xyes
; then
25465 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
25467 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
25471 mgl_os_candidates
="dos32/dj2"
25474 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
25475 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
25476 { (exit 1); exit 1; }; }
25482 for mgl_os_i
in $mgl_os_candidates ; do
25483 if test "x$mgl_os" = x
; then
25484 if test "$wxUSE_DEBUG_FLAG" = yes ; then
25485 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
25486 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
25491 if test "x$mgl_lib_type" = x
; then
25492 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
25493 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
25494 mgl_lib_type
=release
25501 if test "x$mgl_os" = x
; then
25502 echo "$as_me:$LINENO: result: not found" >&5
25503 echo "${ECHO_T}not found" >&6
25504 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
25505 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
25506 { (exit 1); exit 1; }; }
25508 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
25509 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
25511 wxUSE_UNIVERSAL
="yes"
25513 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
25514 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
25516 AFMINSTALL
=afminstall
25521 if test "$wxUSE_MICROWIN" = 1; then
25522 echo "$as_me:$LINENO: checking for MicroWindows" >&5
25523 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
25524 if test "x$MICROWINDOWS" = x
; then
25525 echo "$as_me:$LINENO: result: not found" >&5
25526 echo "${ECHO_T}not found" >&6
25527 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
25528 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
25529 { (exit 1); exit 1; }; }
25531 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
25532 echo "${ECHO_T}$MICROWINDOWS" >&6
25535 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
25536 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
25537 echo "${ECHO_T}MicroWindows' libraries found." >&6
25539 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
25540 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
25541 { (exit 1); exit 1; }; }
25544 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
25545 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
25547 wxUSE_UNIVERSAL
="yes"
25549 AFMINSTALL
=afminstall
25551 GUIDIST
=MICROWIN_DIST
25553 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
25556 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25558 if test "x$ac_path_x_has_been_run" != xyes
; then
25559 echo "$as_me:$LINENO: checking for X" >&5
25560 echo $ECHO_N "checking for X... $ECHO_C" >&6
25562 ac_path_x_has_been_run
=yes
25564 # Check whether --with-x or --without-x was given.
25565 if test "${with_x+set}" = set; then
25569 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25570 if test "x$with_x" = xno
; then
25571 # The user explicitly disabled X.
25574 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
25575 # Both variables are already set.
25578 if test "${ac_cv_have_x+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 # One or both of the vars are not set, and there is no cached value.
25582 ac_x_includes
=no ac_x_libraries
=no
25583 rm -fr conftest.dir
25584 if mkdir conftest.dir
; then
25586 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
25587 cat >Imakefile
<<'_ACEOF'
25589 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
25591 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
25592 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
25593 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
25594 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25595 for ac_extension
in a so sl
; do
25596 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
25597 test -f $ac_im_libdir/libX11.
$ac_extension; then
25598 ac_im_usrlibdir
=$ac_im_libdir; break
25601 # Screen out bogus values from the imake configuration. They are
25602 # bogus both because they are the default anyway, and because
25603 # using them would break gcc on systems where it needs fixed includes.
25604 case $ac_im_incroot in
25606 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
25608 case $ac_im_usrlibdir in
25609 /usr
/lib
| /lib
) ;;
25610 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
25614 rm -fr conftest.dir
25617 # Standard set of common directories for X headers.
25618 # Check X11 before X11Rn because it is often a symlink to the current release.
25630 /usr/local/X11/include
25631 /usr/local/X11R6/include
25632 /usr/local/X11R5/include
25633 /usr/local/X11R4/include
25635 /usr/local/include/X11
25636 /usr/local/include/X11R6
25637 /usr/local/include/X11R5
25638 /usr/local/include/X11R4
25642 /usr/XFree86/include/X11
25646 /usr/unsupported/include
25647 /usr/athena/include
25648 /usr/local/x11r5/include
25649 /usr/lpp/Xamples/include
25651 /usr/openwin/include
25652 /usr/openwin/share/include'
25654 if test "$ac_x_includes" = no
; then
25655 # Guess where to find include files, by looking for a specified header file.
25656 # First, try using that file with no special directory specified.
25657 cat >conftest.
$ac_ext <<_ACEOF
25660 cat confdefs.h
>>conftest.
$ac_ext
25661 cat >>conftest.
$ac_ext <<_ACEOF
25662 /* end confdefs.h. */
25663 #include <X11/Intrinsic.h>
25665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25668 grep -v '^ *+' conftest.er1
>conftest.err
25670 cat conftest.err
>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } >/dev
/null
; then
25673 if test -s conftest.err
; then
25674 ac_cpp_err
=$ac_c_preproc_warn_flag
25675 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25682 if test -z "$ac_cpp_err"; then
25683 # We can compile using X headers with no special include directory.
25686 echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.
$ac_ext >&5
25689 for ac_dir
in $ac_x_header_dirs; do
25690 if test -r "$ac_dir/X11/Intrinsic.h"; then
25691 ac_x_includes
=$ac_dir
25696 rm -f conftest.err conftest.
$ac_ext
25697 fi # $ac_x_includes = no
25699 if test "$ac_x_libraries" = no
; then
25700 # Check for the libraries.
25701 # See if we find them without any special options.
25702 # Don't add to $LIBS permanently.
25705 cat >conftest.
$ac_ext <<_ACEOF
25708 cat confdefs.h
>>conftest.
$ac_ext
25709 cat >>conftest.
$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25711 #include <X11/Intrinsic.h>
25720 rm -f conftest.
$ac_objext conftest
$ac_exeext
25721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25722 (eval $ac_link) 2>conftest.er1
25724 grep -v '^ *+' conftest.er1
>conftest.err
25726 cat conftest.err
>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } &&
25729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try
='test -s conftest$ac_exeext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25742 # We can link X programs with no special library path.
25745 echo "$as_me: failed program was:" >&5
25746 sed 's/^/| /' conftest.
$ac_ext >&5
25749 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25751 # Don't even attempt the hair of trying to link an X program!
25752 for ac_extension
in a so sl
; do
25753 if test -r $ac_dir/libXt.
$ac_extension; then
25754 ac_x_libraries
=$ac_dir
25760 rm -f conftest.err conftest.
$ac_objext \
25761 conftest
$ac_exeext conftest.
$ac_ext
25762 fi # $ac_x_libraries = no
25764 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
25765 # Didn't find X anywhere. Cache the known absence of X.
25766 ac_cv_have_x
="have_x=no"
25768 # Record where we found X for the cache.
25769 ac_cv_have_x
="have_x=yes \
25770 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
25775 eval "$ac_cv_have_x"
25778 if test "$have_x" != yes; then
25779 echo "$as_me:$LINENO: result: $have_x" >&5
25780 echo "${ECHO_T}$have_x" >&6
25783 # If each of the values was on the command line, it overrides each guess.
25784 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25785 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25786 # Update the cache value to reflect the command line values.
25787 ac_cv_have_x
="have_x=yes \
25788 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
25789 # It might be that x_includes is empty (headers are found in the
25790 # standard search path. Then output the corresponding message
25791 ac_out_x_includes
=$x_includes
25792 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
25793 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
25794 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
25798 if test "$no_x" = yes; then
25799 # Not all programs may use this symbol, but it does not hurt to define it.
25801 cat >>confdefs.h
<<\_ACEOF
25802 #define X_DISPLAY_MISSING 1
25805 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25807 if test -n "$x_includes"; then
25808 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25811 # It would also be nice to do this for all -L options, not just this one.
25812 if test -n "$x_libraries"; then
25813 X_LIBS
="$X_LIBS -L$x_libraries"
25814 # For Solaris; some versions of Sun CC require a space after -R and
25815 # others require no space. Words are not sufficient . . . .
25816 case `(uname -sr) 2>/dev/null` in
25818 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25819 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25820 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25821 cat >conftest.
$ac_ext <<_ACEOF
25824 cat confdefs.h
>>conftest.
$ac_ext
25825 cat >>conftest.
$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25836 rm -f conftest.
$ac_objext conftest
$ac_exeext
25837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25838 (eval $ac_link) 2>conftest.er1
25840 grep -v '^ *+' conftest.er1
>conftest.err
25842 cat conftest.err
>&5
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); } &&
25845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try
='test -s conftest$ac_exeext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.
$ac_ext >&5
25864 rm -f conftest.err conftest.
$ac_objext \
25865 conftest
$ac_exeext conftest.
$ac_ext
25866 if test $ac_R_nospace = yes; then
25867 echo "$as_me:$LINENO: result: no" >&5
25868 echo "${ECHO_T}no" >&6
25869 X_LIBS
="$X_LIBS -R$x_libraries"
25871 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25872 cat >conftest.
$ac_ext <<_ACEOF
25875 cat confdefs.h
>>conftest.
$ac_ext
25876 cat >>conftest.
$ac_ext <<_ACEOF
25877 /* end confdefs.h. */
25887 rm -f conftest.
$ac_objext conftest
$ac_exeext
25888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25889 (eval $ac_link) 2>conftest.er1
25891 grep -v '^ *+' conftest.er1
>conftest.err
25893 cat conftest.err
>&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); } &&
25896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25898 (eval $ac_try) 2>&5
25900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25901 (exit $ac_status); }; } &&
25902 { ac_try
='test -s conftest$ac_exeext'
25903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25904 (eval $ac_try) 2>&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); }; }; then
25910 echo "$as_me: failed program was:" >&5
25911 sed 's/^/| /' conftest.
$ac_ext >&5
25915 rm -f conftest.err conftest.
$ac_objext \
25916 conftest
$ac_exeext conftest.
$ac_ext
25917 if test $ac_R_space = yes; then
25918 echo "$as_me:$LINENO: result: yes" >&5
25919 echo "${ECHO_T}yes" >&6
25920 X_LIBS
="$X_LIBS -R $x_libraries"
25922 echo "$as_me:$LINENO: result: neither works" >&5
25923 echo "${ECHO_T}neither works" >&6
25926 LIBS
=$ac_xsave_LIBS
25930 # Check for system-dependent libraries X programs must link with.
25931 # Do this before checking for the system-independent R6 libraries
25932 # (-lICE), since we may need -lsocket or whatever for X linking.
25934 if test "$ISC" = yes; then
25935 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25937 # Martyn Johnson says this is needed for Ultrix, if the X
25938 # libraries were built with DECnet support. And Karl Berry says
25939 # the Alpha needs dnet_stub (dnet does not exist).
25940 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25941 cat >conftest.
$ac_ext <<_ACEOF
25944 cat confdefs.h
>>conftest.
$ac_ext
25945 cat >>conftest.
$ac_ext <<_ACEOF
25946 /* end confdefs.h. */
25948 /* Override any gcc2 internal prototype to avoid an error. */
25952 /* We use char because int might match the return type of a gcc2
25953 builtin and then its argument prototype would still apply. */
25954 char XOpenDisplay ();
25963 rm -f conftest.
$ac_objext conftest
$ac_exeext
25964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25965 (eval $ac_link) 2>conftest.er1
25967 grep -v '^ *+' conftest.er1
>conftest.err
25969 cat conftest.err
>&5
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); } &&
25972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; } &&
25978 { ac_try
='test -s conftest$ac_exeext'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; }; then
25986 echo "$as_me: failed program was:" >&5
25987 sed 's/^/| /' conftest.
$ac_ext >&5
25989 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25990 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25991 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25992 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 ac_check_lib_save_LIBS
=$LIBS
25995 LIBS
="-ldnet $LIBS"
25996 cat >conftest.
$ac_ext <<_ACEOF
25999 cat confdefs.h
>>conftest.
$ac_ext
26000 cat >>conftest.
$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26003 /* Override any gcc2 internal prototype to avoid an error. */
26007 /* We use char because int might match the return type of a gcc2
26008 builtin and then its argument prototype would still apply. */
26018 rm -f conftest.
$ac_objext conftest
$ac_exeext
26019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26020 (eval $ac_link) 2>conftest.er1
26022 grep -v '^ *+' conftest.er1
>conftest.err
26024 cat conftest.err
>&5
26025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26026 (exit $ac_status); } &&
26027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26029 (eval $ac_try) 2>&5
26031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26032 (exit $ac_status); }; } &&
26033 { ac_try
='test -s conftest$ac_exeext'
26034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26035 (eval $ac_try) 2>&5
26037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26038 (exit $ac_status); }; }; then
26039 ac_cv_lib_dnet_dnet_ntoa
=yes
26041 echo "$as_me: failed program was:" >&5
26042 sed 's/^/| /' conftest.
$ac_ext >&5
26044 ac_cv_lib_dnet_dnet_ntoa
=no
26046 rm -f conftest.err conftest.
$ac_objext \
26047 conftest
$ac_exeext conftest.
$ac_ext
26048 LIBS
=$ac_check_lib_save_LIBS
26050 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26051 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26052 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26053 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26056 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26057 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26058 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26059 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26060 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 ac_check_lib_save_LIBS
=$LIBS
26063 LIBS
="-ldnet_stub $LIBS"
26064 cat >conftest.
$ac_ext <<_ACEOF
26067 cat confdefs.h
>>conftest.
$ac_ext
26068 cat >>conftest.
$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26071 /* Override any gcc2 internal prototype to avoid an error. */
26075 /* We use char because int might match the return type of a gcc2
26076 builtin and then its argument prototype would still apply. */
26086 rm -f conftest.
$ac_objext conftest
$ac_exeext
26087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26088 (eval $ac_link) 2>conftest.er1
26090 grep -v '^ *+' conftest.er1
>conftest.err
26092 cat conftest.err
>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } &&
26095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; } &&
26101 { ac_try
='test -s conftest$ac_exeext'
26102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26103 (eval $ac_try) 2>&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); }; }; then
26107 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26109 echo "$as_me: failed program was:" >&5
26110 sed 's/^/| /' conftest.
$ac_ext >&5
26112 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26114 rm -f conftest.err conftest.
$ac_objext \
26115 conftest
$ac_exeext conftest.
$ac_ext
26116 LIBS
=$ac_check_lib_save_LIBS
26118 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26119 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26120 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26126 rm -f conftest.err conftest.
$ac_objext \
26127 conftest
$ac_exeext conftest.
$ac_ext
26128 LIBS
="$ac_xsave_LIBS"
26130 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26131 # to get the SysV transport functions.
26132 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26134 # The nsl library prevents programs from opening the X display
26135 # on Irix 5.2, according to T.E. Dickey.
26136 # The functions gethostbyname, getservbyname, and inet_addr are
26137 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26138 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26139 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26140 if test "${ac_cv_func_gethostbyname+set}" = set; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26143 cat >conftest.
$ac_ext <<_ACEOF
26146 cat confdefs.h
>>conftest.
$ac_ext
26147 cat >>conftest.
$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26151 #define gethostbyname innocuous_gethostbyname
26153 /* System header to define __stub macros and hopefully few prototypes,
26154 which can conflict with char gethostbyname (); below.
26155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26156 <limits.h> exists even on freestanding compilers. */
26159 # include <limits.h>
26161 # include <assert.h>
26164 #undef gethostbyname
26166 /* Override any gcc2 internal prototype to avoid an error. */
26171 /* We use char because int might match the return type of a gcc2
26172 builtin and then its argument prototype would still apply. */
26173 char gethostbyname ();
26174 /* The GNU C library defines this for functions which it implements
26175 to always fail with ENOSYS. Some functions are actually named
26176 something starting with __ and the normal name is an alias. */
26177 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26180 char (*f) () = gethostbyname;
26189 return f != gethostbyname;
26194 rm -f conftest.
$ac_objext conftest
$ac_exeext
26195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26196 (eval $ac_link) 2>conftest.er1
26198 grep -v '^ *+' conftest.er1
>conftest.err
26200 cat conftest.err
>&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } &&
26203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26205 (eval $ac_try) 2>&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); }; } &&
26209 { ac_try
='test -s conftest$ac_exeext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 ac_cv_func_gethostbyname
=yes
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.
$ac_ext >&5
26220 ac_cv_func_gethostbyname
=no
26222 rm -f conftest.err conftest.
$ac_objext \
26223 conftest
$ac_exeext conftest.
$ac_ext
26225 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26226 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26228 if test $ac_cv_func_gethostbyname = no
; then
26229 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26230 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26231 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26232 echo $ECHO_N "(cached) $ECHO_C" >&6
26234 ac_check_lib_save_LIBS
=$LIBS
26236 cat >conftest.
$ac_ext <<_ACEOF
26239 cat confdefs.h
>>conftest.
$ac_ext
26240 cat >>conftest.
$ac_ext <<_ACEOF
26241 /* end confdefs.h. */
26243 /* Override any gcc2 internal prototype to avoid an error. */
26247 /* We use char because int might match the return type of a gcc2
26248 builtin and then its argument prototype would still apply. */
26249 char gethostbyname ();
26258 rm -f conftest.
$ac_objext conftest
$ac_exeext
26259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26260 (eval $ac_link) 2>conftest.er1
26262 grep -v '^ *+' conftest.er1
>conftest.err
26264 cat conftest.err
>&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } &&
26267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try
='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_cv_lib_nsl_gethostbyname
=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.
$ac_ext >&5
26284 ac_cv_lib_nsl_gethostbyname
=no
26286 rm -f conftest.err conftest.
$ac_objext \
26287 conftest
$ac_exeext conftest.
$ac_ext
26288 LIBS
=$ac_check_lib_save_LIBS
26290 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26291 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26292 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26293 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26296 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26297 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26298 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26299 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 ac_check_lib_save_LIBS
=$LIBS
26304 cat >conftest.
$ac_ext <<_ACEOF
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26311 /* Override any gcc2 internal prototype to avoid an error. */
26315 /* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26317 char gethostbyname ();
26326 rm -f conftest.
$ac_objext conftest
$ac_exeext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>conftest.er1
26330 grep -v '^ *+' conftest.er1
>conftest.err
26332 cat conftest.err
>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; } &&
26341 { ac_try
='test -s conftest$ac_exeext'
26342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343 (eval $ac_try) 2>&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); }; }; then
26347 ac_cv_lib_bsd_gethostbyname
=yes
26349 echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.
$ac_ext >&5
26352 ac_cv_lib_bsd_gethostbyname
=no
26354 rm -f conftest.err conftest.
$ac_objext \
26355 conftest
$ac_exeext conftest.
$ac_ext
26356 LIBS
=$ac_check_lib_save_LIBS
26358 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26359 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26360 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26361 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26367 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26368 # socket/setsockopt and other routines are undefined under SCO ODT
26369 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26370 # on later versions), says Simon Leinen: it contains gethostby*
26371 # variants that don't use the name server (or something). -lsocket
26372 # must be given before -lnsl if both are needed. We assume that
26373 # if connect needs -lnsl, so does gethostbyname.
26374 echo "$as_me:$LINENO: checking for connect" >&5
26375 echo $ECHO_N "checking for connect... $ECHO_C" >&6
26376 if test "${ac_cv_func_connect+set}" = set; then
26377 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 cat >conftest.
$ac_ext <<_ACEOF
26382 cat confdefs.h
>>conftest.
$ac_ext
26383 cat >>conftest.
$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
26386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26387 #define connect innocuous_connect
26389 /* System header to define __stub macros and hopefully few prototypes,
26390 which can conflict with char connect (); below.
26391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26392 <limits.h> exists even on freestanding compilers. */
26395 # include <limits.h>
26397 # include <assert.h>
26402 /* Override any gcc2 internal prototype to avoid an error. */
26407 /* We use char because int might match the return type of a gcc2
26408 builtin and then its argument prototype would still apply. */
26410 /* The GNU C library defines this for functions which it implements
26411 to always fail with ENOSYS. Some functions are actually named
26412 something starting with __ and the normal name is an alias. */
26413 #if defined (__stub_connect) || defined (__stub___connect)
26416 char (*f) () = connect;
26425 return f != connect;
26430 rm -f conftest.
$ac_objext conftest
$ac_exeext
26431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26432 (eval $ac_link) 2>conftest.er1
26434 grep -v '^ *+' conftest.er1
>conftest.err
26436 cat conftest.err
>&5
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); } &&
26439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26441 (eval $ac_try) 2>&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); }; } &&
26445 { ac_try
='test -s conftest$ac_exeext'
26446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26447 (eval $ac_try) 2>&5
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); }; }; then
26451 ac_cv_func_connect
=yes
26453 echo "$as_me: failed program was:" >&5
26454 sed 's/^/| /' conftest.
$ac_ext >&5
26456 ac_cv_func_connect
=no
26458 rm -f conftest.err conftest.
$ac_objext \
26459 conftest
$ac_exeext conftest.
$ac_ext
26461 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
26462 echo "${ECHO_T}$ac_cv_func_connect" >&6
26464 if test $ac_cv_func_connect = no
; then
26465 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
26466 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
26467 if test "${ac_cv_lib_socket_connect+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 ac_check_lib_save_LIBS
=$LIBS
26471 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
26472 cat >conftest.
$ac_ext <<_ACEOF
26475 cat confdefs.h
>>conftest.
$ac_ext
26476 cat >>conftest.
$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26479 /* Override any gcc2 internal prototype to avoid an error. */
26483 /* We use char because int might match the return type of a gcc2
26484 builtin and then its argument prototype would still apply. */
26494 rm -f conftest.
$ac_objext conftest
$ac_exeext
26495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26496 (eval $ac_link) 2>conftest.er1
26498 grep -v '^ *+' conftest.er1
>conftest.err
26500 cat conftest.err
>&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } &&
26503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505 (eval $ac_try) 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); }; } &&
26509 { ac_try
='test -s conftest$ac_exeext'
26510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26511 (eval $ac_try) 2>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); }; }; then
26515 ac_cv_lib_socket_connect
=yes
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.
$ac_ext >&5
26520 ac_cv_lib_socket_connect
=no
26522 rm -f conftest.err conftest.
$ac_objext \
26523 conftest
$ac_exeext conftest.
$ac_ext
26524 LIBS
=$ac_check_lib_save_LIBS
26526 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
26527 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
26528 if test $ac_cv_lib_socket_connect = yes; then
26529 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
26534 # Guillermo Gomez says -lposix is necessary on A/UX.
26535 echo "$as_me:$LINENO: checking for remove" >&5
26536 echo $ECHO_N "checking for remove... $ECHO_C" >&6
26537 if test "${ac_cv_func_remove+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 cat >conftest.
$ac_ext <<_ACEOF
26543 cat confdefs.h
>>conftest.
$ac_ext
26544 cat >>conftest.
$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26546 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
26547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26548 #define remove innocuous_remove
26550 /* System header to define __stub macros and hopefully few prototypes,
26551 which can conflict with char remove (); below.
26552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26553 <limits.h> exists even on freestanding compilers. */
26556 # include <limits.h>
26558 # include <assert.h>
26563 /* Override any gcc2 internal prototype to avoid an error. */
26568 /* We use char because int might match the return type of a gcc2
26569 builtin and then its argument prototype would still apply. */
26571 /* The GNU C library defines this for functions which it implements
26572 to always fail with ENOSYS. Some functions are actually named
26573 something starting with __ and the normal name is an alias. */
26574 #if defined (__stub_remove) || defined (__stub___remove)
26577 char (*f) () = remove;
26586 return f != remove;
26591 rm -f conftest.
$ac_objext conftest
$ac_exeext
26592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26593 (eval $ac_link) 2>conftest.er1
26595 grep -v '^ *+' conftest.er1
>conftest.err
26597 cat conftest.err
>&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); } &&
26600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; } &&
26606 { ac_try
='test -s conftest$ac_exeext'
26607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26608 (eval $ac_try) 2>&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); }; }; then
26612 ac_cv_func_remove
=yes
26614 echo "$as_me: failed program was:" >&5
26615 sed 's/^/| /' conftest.
$ac_ext >&5
26617 ac_cv_func_remove
=no
26619 rm -f conftest.err conftest.
$ac_objext \
26620 conftest
$ac_exeext conftest.
$ac_ext
26622 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
26623 echo "${ECHO_T}$ac_cv_func_remove" >&6
26625 if test $ac_cv_func_remove = no
; then
26626 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
26627 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
26628 if test "${ac_cv_lib_posix_remove+set}" = set; then
26629 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 ac_check_lib_save_LIBS
=$LIBS
26632 LIBS
="-lposix $LIBS"
26633 cat >conftest.
$ac_ext <<_ACEOF
26636 cat confdefs.h
>>conftest.
$ac_ext
26637 cat >>conftest.
$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26640 /* Override any gcc2 internal prototype to avoid an error. */
26644 /* We use char because int might match the return type of a gcc2
26645 builtin and then its argument prototype would still apply. */
26655 rm -f conftest.
$ac_objext conftest
$ac_exeext
26656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26657 (eval $ac_link) 2>conftest.er1
26659 grep -v '^ *+' conftest.er1
>conftest.err
26661 cat conftest.err
>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); } &&
26664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; } &&
26670 { ac_try
='test -s conftest$ac_exeext'
26671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26672 (eval $ac_try) 2>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); }; }; then
26676 ac_cv_lib_posix_remove
=yes
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.
$ac_ext >&5
26681 ac_cv_lib_posix_remove
=no
26683 rm -f conftest.err conftest.
$ac_objext \
26684 conftest
$ac_exeext conftest.
$ac_ext
26685 LIBS
=$ac_check_lib_save_LIBS
26687 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
26688 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
26689 if test $ac_cv_lib_posix_remove = yes; then
26690 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
26695 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26696 echo "$as_me:$LINENO: checking for shmat" >&5
26697 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
26698 if test "${ac_cv_func_shmat+set}" = set; then
26699 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 cat >conftest.
$ac_ext <<_ACEOF
26704 cat confdefs.h
>>conftest.
$ac_ext
26705 cat >>conftest.
$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26707 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
26708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26709 #define shmat innocuous_shmat
26711 /* System header to define __stub macros and hopefully few prototypes,
26712 which can conflict with char shmat (); below.
26713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26714 <limits.h> exists even on freestanding compilers. */
26717 # include <limits.h>
26719 # include <assert.h>
26724 /* Override any gcc2 internal prototype to avoid an error. */
26729 /* We use char because int might match the return type of a gcc2
26730 builtin and then its argument prototype would still apply. */
26732 /* The GNU C library defines this for functions which it implements
26733 to always fail with ENOSYS. Some functions are actually named
26734 something starting with __ and the normal name is an alias. */
26735 #if defined (__stub_shmat) || defined (__stub___shmat)
26738 char (*f) () = shmat;
26752 rm -f conftest.
$ac_objext conftest
$ac_exeext
26753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26754 (eval $ac_link) 2>conftest.er1
26756 grep -v '^ *+' conftest.er1
>conftest.err
26758 cat conftest.err
>&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); } &&
26761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26763 (eval $ac_try) 2>&5
26765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766 (exit $ac_status); }; } &&
26767 { ac_try
='test -s conftest$ac_exeext'
26768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769 (eval $ac_try) 2>&5
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); }; }; then
26773 ac_cv_func_shmat
=yes
26775 echo "$as_me: failed program was:" >&5
26776 sed 's/^/| /' conftest.
$ac_ext >&5
26778 ac_cv_func_shmat
=no
26780 rm -f conftest.err conftest.
$ac_objext \
26781 conftest
$ac_exeext conftest.
$ac_ext
26783 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26784 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26786 if test $ac_cv_func_shmat = no
; then
26787 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26788 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26789 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26790 echo $ECHO_N "(cached) $ECHO_C" >&6
26792 ac_check_lib_save_LIBS
=$LIBS
26794 cat >conftest.
$ac_ext <<_ACEOF
26797 cat confdefs.h
>>conftest.
$ac_ext
26798 cat >>conftest.
$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26801 /* Override any gcc2 internal prototype to avoid an error. */
26805 /* We use char because int might match the return type of a gcc2
26806 builtin and then its argument prototype would still apply. */
26816 rm -f conftest.
$ac_objext conftest
$ac_exeext
26817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26818 (eval $ac_link) 2>conftest.er1
26820 grep -v '^ *+' conftest.er1
>conftest.err
26822 cat conftest.err
>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); } &&
26825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; } &&
26831 { ac_try
='test -s conftest$ac_exeext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26837 ac_cv_lib_ipc_shmat
=yes
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.
$ac_ext >&5
26842 ac_cv_lib_ipc_shmat
=no
26844 rm -f conftest.err conftest.
$ac_objext \
26845 conftest
$ac_exeext conftest.
$ac_ext
26846 LIBS
=$ac_check_lib_save_LIBS
26848 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26849 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26850 if test $ac_cv_lib_ipc_shmat = yes; then
26851 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
26857 # Check for libraries that X11R6 Xt/Xaw programs need.
26858 ac_save_LDFLAGS
=$LDFLAGS
26859 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
26860 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26861 # check for ICE first), but we must link in the order -lSM -lICE or
26862 # we get undefined symbols. So assume we have SM if we have ICE.
26863 # These have to be linked with before -lX11, unlike the other
26864 # libraries we check for below, so use a different variable.
26865 # John Interrante, Karl Berry
26866 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26867 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26868 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 ac_check_lib_save_LIBS
=$LIBS
26872 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
26873 cat >conftest.
$ac_ext <<_ACEOF
26876 cat confdefs.h
>>conftest.
$ac_ext
26877 cat >>conftest.
$ac_ext <<_ACEOF
26878 /* end confdefs.h. */
26880 /* Override any gcc2 internal prototype to avoid an error. */
26884 /* We use char because int might match the return type of a gcc2
26885 builtin and then its argument prototype would still apply. */
26886 char IceConnectionNumber ();
26890 IceConnectionNumber ();
26895 rm -f conftest.
$ac_objext conftest
$ac_exeext
26896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26897 (eval $ac_link) 2>conftest.er1
26899 grep -v '^ *+' conftest.er1
>conftest.err
26901 cat conftest.err
>&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } &&
26904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906 (eval $ac_try) 2>&5
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); }; } &&
26910 { ac_try
='test -s conftest$ac_exeext'
26911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26912 (eval $ac_try) 2>&5
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); }; }; then
26916 ac_cv_lib_ICE_IceConnectionNumber
=yes
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.
$ac_ext >&5
26921 ac_cv_lib_ICE_IceConnectionNumber
=no
26923 rm -f conftest.err conftest.
$ac_objext \
26924 conftest
$ac_exeext conftest.
$ac_ext
26925 LIBS
=$ac_check_lib_save_LIBS
26927 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26928 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26929 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26930 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
26933 LDFLAGS
=$ac_save_LDFLAGS
26938 if test "$no_x" = "yes"; then
26939 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26940 echo "$as_me: error: X11 not found" >&2;}
26941 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
26944 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
26945 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
26946 AFMINSTALL
=afminstall
26947 COMPILED_X_PROGRAM
=0
26951 if test "$wxUSE_X11" = 1; then
26952 if test "$wxUSE_NANOX" = "yes"; then
26953 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
26954 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
26955 if test "x$MICROWIN" = x
; then
26956 echo "$as_me:$LINENO: result: not found" >&5
26957 echo "${ECHO_T}not found" >&6
26958 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
26959 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
26960 { (exit 1); exit 1; }; }
26962 echo "$as_me:$LINENO: result: $MICROWIN" >&5
26963 echo "${ECHO_T}$MICROWIN" >&6
26964 cat >>confdefs.h
<<\_ACEOF
26965 #define wxUSE_NANOX 1
26971 if test "$wxUSE_UNICODE" = "yes"; then
26975 if test -z "$PKG_CONFIG"; then
26976 # Extract the first word of "pkg-config", so it can be a program name with args.
26977 set dummy pkg
-config; ac_word
=$2
26978 echo "$as_me:$LINENO: checking for $ac_word" >&5
26979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26980 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26981 echo $ECHO_N "(cached) $ECHO_C" >&6
26983 case $PKG_CONFIG in
26985 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26989 for as_dir
in $PATH
26992 test -z "$as_dir" && as_dir
=.
26993 for ac_exec_ext
in '' $ac_executable_extensions; do
26994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26995 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27002 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27006 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27008 if test -n "$PKG_CONFIG"; then
27009 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27010 echo "${ECHO_T}$PKG_CONFIG" >&6
27012 echo "$as_me:$LINENO: result: no" >&5
27013 echo "${ECHO_T}no" >&6
27018 if test "$PKG_CONFIG" = "no" ; then
27019 echo "*** The pkg-config script could not be found. Make sure it is"
27020 echo "*** in your path, or set the PKG_CONFIG environment variable"
27021 echo "*** to the full path to pkg-config."
27022 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27024 PKG_CONFIG_MIN_VERSION
=0.9.0
27025 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27026 echo "$as_me:$LINENO: checking for pangox" >&5
27027 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27029 if $PKG_CONFIG --exists "pangox" ; then
27030 echo "$as_me:$LINENO: result: yes" >&5
27031 echo "${ECHO_T}yes" >&6
27034 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27035 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27036 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27037 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27038 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27040 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27041 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27042 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27043 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27044 echo "${ECHO_T}$PANGOX_LIBS" >&6
27048 ## If we have a custom action on failure, don't print errors, but
27049 ## do set a variable so people can do so.
27050 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27057 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27058 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27062 if test $succeeded = yes; then
27064 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27065 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27069 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27070 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27071 { (exit 1); exit 1; }; }
27079 if test -z "$PKG_CONFIG"; then
27080 # Extract the first word of "pkg-config", so it can be a program name with args.
27081 set dummy pkg
-config; ac_word
=$2
27082 echo "$as_me:$LINENO: checking for $ac_word" >&5
27083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27084 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27085 echo $ECHO_N "(cached) $ECHO_C" >&6
27087 case $PKG_CONFIG in
27089 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27093 for as_dir
in $PATH
27096 test -z "$as_dir" && as_dir
=.
27097 for ac_exec_ext
in '' $ac_executable_extensions; do
27098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27099 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27106 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27110 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27112 if test -n "$PKG_CONFIG"; then
27113 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27114 echo "${ECHO_T}$PKG_CONFIG" >&6
27116 echo "$as_me:$LINENO: result: no" >&5
27117 echo "${ECHO_T}no" >&6
27122 if test "$PKG_CONFIG" = "no" ; then
27123 echo "*** The pkg-config script could not be found. Make sure it is"
27124 echo "*** in your path, or set the PKG_CONFIG environment variable"
27125 echo "*** to the full path to pkg-config."
27126 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27128 PKG_CONFIG_MIN_VERSION
=0.9.0
27129 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27130 echo "$as_me:$LINENO: checking for pangoft2" >&5
27131 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27133 if $PKG_CONFIG --exists "pangoft2" ; then
27134 echo "$as_me:$LINENO: result: yes" >&5
27135 echo "${ECHO_T}yes" >&6
27138 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27139 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27140 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27141 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27142 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27144 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27145 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27146 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27147 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27148 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27152 ## If we have a custom action on failure, don't print errors, but
27153 ## do set a variable so people can do so.
27154 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27161 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27162 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27166 if test $succeeded = yes; then
27168 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27169 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27173 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27174 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27175 wxUSE_PRINTING_ARCHITECTURE
="no"
27183 if test -z "$PKG_CONFIG"; then
27184 # Extract the first word of "pkg-config", so it can be a program name with args.
27185 set dummy pkg
-config; ac_word
=$2
27186 echo "$as_me:$LINENO: checking for $ac_word" >&5
27187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27188 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27189 echo $ECHO_N "(cached) $ECHO_C" >&6
27191 case $PKG_CONFIG in
27193 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27197 for as_dir
in $PATH
27200 test -z "$as_dir" && as_dir
=.
27201 for ac_exec_ext
in '' $ac_executable_extensions; do
27202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27203 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27210 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27214 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27216 if test -n "$PKG_CONFIG"; then
27217 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27218 echo "${ECHO_T}$PKG_CONFIG" >&6
27220 echo "$as_me:$LINENO: result: no" >&5
27221 echo "${ECHO_T}no" >&6
27226 if test "$PKG_CONFIG" = "no" ; then
27227 echo "*** The pkg-config script could not be found. Make sure it is"
27228 echo "*** in your path, or set the PKG_CONFIG environment variable"
27229 echo "*** to the full path to pkg-config."
27230 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27232 PKG_CONFIG_MIN_VERSION
=0.9.0
27233 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27234 echo "$as_me:$LINENO: checking for pangoxft" >&5
27235 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27237 if $PKG_CONFIG --exists "pangoxft" ; then
27238 echo "$as_me:$LINENO: result: yes" >&5
27239 echo "${ECHO_T}yes" >&6
27242 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27243 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27244 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27245 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27246 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27248 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27249 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27250 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27251 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27252 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27256 ## If we have a custom action on failure, don't print errors, but
27257 ## do set a variable so people can do so.
27258 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27265 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27266 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27270 if test $succeeded = yes; then
27272 cat >>confdefs.h
<<\_ACEOF
27273 #define HAVE_PANGO_XFT 1
27276 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27277 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27281 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27282 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27287 save_CFLAGS
="$CFLAGS"
27289 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27290 LIBS
="$LIBS $PANGOX_LIBS"
27292 for ac_func
in pango_font_family_is_monospace
27294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27295 echo "$as_me:$LINENO: checking for $ac_func" >&5
27296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27297 if eval "test \"\${$as_ac_var+set}\" = set"; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 cat >conftest.
$ac_ext <<_ACEOF
27303 cat confdefs.h
>>conftest.
$ac_ext
27304 cat >>conftest.
$ac_ext <<_ACEOF
27305 /* end confdefs.h. */
27306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27308 #define $ac_func innocuous_$ac_func
27310 /* System header to define __stub macros and hopefully few prototypes,
27311 which can conflict with char $ac_func (); below.
27312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27313 <limits.h> exists even on freestanding compilers. */
27316 # include <limits.h>
27318 # include <assert.h>
27323 /* Override any gcc2 internal prototype to avoid an error. */
27328 /* We use char because int might match the return type of a gcc2
27329 builtin and then its argument prototype would still apply. */
27331 /* The GNU C library defines this for functions which it implements
27332 to always fail with ENOSYS. Some functions are actually named
27333 something starting with __ and the normal name is an alias. */
27334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27337 char (*f) () = $ac_func;
27346 return f != $ac_func;
27351 rm -f conftest.
$ac_objext conftest
$ac_exeext
27352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27353 (eval $ac_link) 2>conftest.er1
27355 grep -v '^ *+' conftest.er1
>conftest.err
27357 cat conftest.err
>&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } &&
27360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; } &&
27366 { ac_try
='test -s conftest$ac_exeext'
27367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27368 (eval $ac_try) 2>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); }; }; then
27372 eval "$as_ac_var=yes"
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.
$ac_ext >&5
27377 eval "$as_ac_var=no"
27379 rm -f conftest.err conftest.
$ac_objext \
27380 conftest
$ac_exeext conftest.
$ac_ext
27382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27384 if test `eval echo '${'$as_ac_var'}'` = yes; then
27385 cat >>confdefs.h
<<_ACEOF
27386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27392 CFLAGS
="$save_CFLAGS"
27396 wxUSE_UNIVERSAL
="yes"
27398 if test "$wxUSE_NANOX" = "yes"; then
27399 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
27400 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"
27401 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
27403 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
27410 if test "$wxUSE_MOTIF" = 1; then
27411 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
27412 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
27415 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27417 if test -f "$ac_dir/Xm/Xm.h"; then
27418 ac_find_includes
=$ac_dir
27423 if test "$ac_find_includes" != "" ; then
27424 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27425 echo "${ECHO_T}found in $ac_find_includes" >&6
27427 if test "x$ac_find_includes" = "x/usr/include"; then
27428 ac_path_to_include
=""
27430 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
27432 if test $result = 0; then
27433 ac_path_to_include
=""
27435 ac_path_to_include
=" -I$ac_find_includes"
27439 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
27441 cat >conftest.
$ac_ext <<_ACEOF
27444 cat confdefs.h
>>conftest.
$ac_ext
27445 cat >>conftest.
$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27455 version = xmUseVersion;
27461 rm -f conftest.
$ac_objext
27462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27463 (eval $ac_compile) 2>conftest.er1
27465 grep -v '^ *+' conftest.er1
>conftest.err
27467 cat conftest.err
>&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } &&
27470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27472 (eval $ac_try) 2>&5
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); }; } &&
27476 { ac_try
='test -s conftest.$ac_objext'
27477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27478 (eval $ac_try) 2>&5
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); }; }; then
27483 echo "$as_me:$LINENO: result: found in default search path" >&5
27484 echo "${ECHO_T}found in default search path" >&6
27485 COMPILED_X_PROGRAM
=1
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.
$ac_ext >&5
27492 echo "$as_me:$LINENO: result: no" >&5
27493 echo "${ECHO_T}no" >&6
27494 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
27495 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
27496 { (exit 1); exit 1; }; }
27500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27503 if test "$COMPILED_X_PROGRAM" = 0; then
27504 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
27505 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
27508 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27510 for ac_extension
in a so sl dylib
; do
27511 if test -f "$ac_dir/libXm.$ac_extension"; then
27512 ac_find_libraries
=$ac_dir
27518 if test "$ac_find_libraries" != "" ; then
27519 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27520 echo "${ECHO_T}found at $ac_find_libraries" >&6
27523 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27525 if test $result = 0; then
27528 ac_path_to_link
=" -L$ac_find_libraries"
27531 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27533 save_CFLAGS
=$CFLAGS
27534 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27536 cat >conftest.
$ac_ext <<_ACEOF
27539 cat confdefs.h
>>conftest.
$ac_ext
27540 cat >>conftest.
$ac_ext <<_ACEOF
27541 /* end confdefs.h. */
27550 version = xmUseVersion;
27556 rm -f conftest.
$ac_objext
27557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27558 (eval $ac_compile) 2>conftest.er1
27560 grep -v '^ *+' conftest.er1
>conftest.err
27562 cat conftest.err
>&5
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); } &&
27565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27567 (eval $ac_try) 2>&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); }; } &&
27571 { ac_try
='test -s conftest.$ac_objext'
27572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27573 (eval $ac_try) 2>&5
27575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27576 (exit $ac_status); }; }; then
27578 echo "$as_me:$LINENO: result: found in default search path" >&5
27579 echo "${ECHO_T}found in default search path" >&6
27580 COMPILED_X_PROGRAM
=1
27583 echo "$as_me: failed program was:" >&5
27584 sed 's/^/| /' conftest.
$ac_ext >&5
27587 echo "$as_me:$LINENO: result: no" >&5
27588 echo "${ECHO_T}no" >&6
27589 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
27590 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
27591 { (exit 1); exit 1; }; }
27595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27597 CFLAGS
=$save_CFLAGS
27601 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
27602 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
27606 for libp
in "" " -lXp"; do
27607 if test "$libs_found" = "0"; then
27608 for libsm_ice
in "" " -lSM -lICE"; do
27609 if test "$libs_found" = "0"; then
27611 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
27612 save_CFLAGS
=$CFLAGS
27613 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27615 cat >conftest.
$ac_ext <<_ACEOF
27618 cat confdefs.h
>>conftest.
$ac_ext
27619 cat >>conftest.
$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27623 #include <Xm/List.h>
27629 XmString string = NULL;
27632 XmListAddItem(w, string, position);
27638 rm -f conftest.
$ac_objext conftest
$ac_exeext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27640 (eval $ac_link) 2>conftest.er1
27642 grep -v '^ *+' conftest.er1
>conftest.err
27644 cat conftest.err
>&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } &&
27647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; } &&
27653 { ac_try
='test -s conftest$ac_exeext'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; }; then
27661 libsm_ice_link
="$libsm_ice"
27662 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
27663 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.
$ac_ext >&5
27673 rm -f conftest.err conftest.
$ac_objext \
27674 conftest
$ac_exeext conftest.
$ac_ext
27677 CFLAGS
=$save_CFLAGS
27683 if test "$libs_found" = "0"; then
27684 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
27685 echo "${ECHO_T}can't find the right libraries" >&6
27686 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
27687 echo "$as_me: error: can't link a simple motif program" >&2;}
27688 { (exit 1); exit 1; }; }
27691 save_CFLAGS
=$CFLAGS
27692 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27693 echo "$as_me:$LINENO: checking for Motif 2" >&5
27694 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
27695 cat >conftest.
$ac_ext <<_ACEOF
27698 cat confdefs.h
>>conftest.
$ac_ext
27699 cat >>conftest.
$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27708 #if XmVersion < 2000
27709 #error "Not Motif 2"
27716 rm -f conftest.
$ac_objext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27718 (eval $ac_compile) 2>conftest.er1
27720 grep -v '^ *+' conftest.er1
>conftest.err
27722 cat conftest.err
>&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try
='test -s conftest.$ac_objext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27738 cat >>confdefs.h
<<\_ACEOF
27739 #define __WXMOTIF20__ 1
27742 echo "$as_me:$LINENO: result: found" >&5
27743 echo "${ECHO_T}found" >&6
27746 echo "$as_me: failed program was:" >&5
27747 sed 's/^/| /' conftest.
$ac_ext >&5
27750 cat >>confdefs.h
<<\_ACEOF
27751 #define __WXMOTIF20__ 0
27754 echo "$as_me:$LINENO: result: not found" >&5
27755 echo "${ECHO_T}not found" >&6
27758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27759 CFLAGS
=$save_CFLAGS
27761 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
27766 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27767 if test "$wxUSE_LIBXPM" = "sys"; then
27768 echo "$as_me:$LINENO: checking for Xpm library" >&5
27769 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
27772 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27774 for ac_extension
in a so sl dylib
; do
27775 if test -f "$ac_dir/libXpm.$ac_extension"; then
27776 ac_find_libraries
=$ac_dir
27782 if test "$ac_find_libraries" != "" ; then
27784 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27786 if test $result = 0; then
27789 ac_path_to_link
=" -L$ac_find_libraries"
27792 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
27793 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
27794 echo "${ECHO_T}found at $ac_find_libraries" >&6
27796 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
27797 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
27798 if test "${wx_cv_x11_xpm_h+set}" = set; then
27799 echo $ECHO_N "(cached) $ECHO_C" >&6
27802 save_CFLAGS
=$CFLAGS
27803 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27805 cat >conftest.
$ac_ext <<_ACEOF
27808 cat confdefs.h
>>conftest.
$ac_ext
27809 cat >>conftest.
$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27812 #include <X11/xpm.h>
27819 version = XpmLibraryVersion();
27825 rm -f conftest.
$ac_objext
27826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27827 (eval $ac_compile) 2>conftest.er1
27829 grep -v '^ *+' conftest.er1
>conftest.err
27831 cat conftest.err
>&5
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); } &&
27834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 (eval $ac_try) 2>&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); }; } &&
27840 { ac_try
='test -s conftest.$ac_objext'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; }; then
27846 wx_cv_x11_xpm_h
=yes
27848 echo "$as_me: failed program was:" >&5
27849 sed 's/^/| /' conftest.
$ac_ext >&5
27854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27856 CFLAGS
=$save_CFLAGS
27860 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
27861 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
27863 if test $wx_cv_x11_xpm_h = "yes"; then
27864 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
27865 cat >>confdefs.h
<<\_ACEOF
27866 #define wxHAVE_LIB_XPM 1
27870 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
27871 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
27877 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
27878 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
27879 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
27880 echo $ECHO_N "(cached) $ECHO_C" >&6
27882 ac_check_lib_save_LIBS
=$LIBS
27883 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
27884 cat >conftest.
$ac_ext <<_ACEOF
27887 cat confdefs.h
>>conftest.
$ac_ext
27888 cat >>conftest.
$ac_ext <<_ACEOF
27889 /* end confdefs.h. */
27891 /* Override any gcc2 internal prototype to avoid an error. */
27895 /* We use char because int might match the return type of a gcc2
27896 builtin and then its argument prototype would still apply. */
27897 char XShapeQueryExtension ();
27901 XShapeQueryExtension ();
27906 rm -f conftest.
$ac_objext conftest
$ac_exeext
27907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27908 (eval $ac_link) 2>conftest.er1
27910 grep -v '^ *+' conftest.er1
>conftest.err
27912 cat conftest.err
>&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); } &&
27915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27917 (eval $ac_try) 2>&5
27919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920 (exit $ac_status); }; } &&
27921 { ac_try
='test -s conftest$ac_exeext'
27922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27923 (eval $ac_try) 2>&5
27925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27926 (exit $ac_status); }; }; then
27927 ac_cv_lib_Xext_XShapeQueryExtension
=yes
27929 echo "$as_me: failed program was:" >&5
27930 sed 's/^/| /' conftest.
$ac_ext >&5
27932 ac_cv_lib_Xext_XShapeQueryExtension
=no
27934 rm -f conftest.err conftest.
$ac_objext \
27935 conftest
$ac_exeext conftest.
$ac_ext
27936 LIBS
=$ac_check_lib_save_LIBS
27938 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
27939 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
27940 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
27942 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
27948 if test "$wxHAVE_XEXT_LIB" = 1; then
27949 save_CFLAGS
="$CFLAGS"
27950 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
27952 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
27953 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
27954 cat >conftest.
$ac_ext <<_ACEOF
27957 cat confdefs.h
>>conftest.
$ac_ext
27958 cat >>conftest.
$ac_ext <<_ACEOF
27959 /* end confdefs.h. */
27961 #include <X11/Xlib.h>
27962 #include <X11/extensions/shape.h>
27968 int dummy1, dummy2;
27969 XShapeQueryExtension((Display*)NULL,
27970 (int*)NULL, (int*)NULL);
27976 rm -f conftest.
$ac_objext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27978 (eval $ac_compile) 2>conftest.er1
27980 grep -v '^ *+' conftest.er1
>conftest.err
27982 cat conftest.err
>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; } &&
27991 { ac_try
='test -s conftest.$ac_objext'
27992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27993 (eval $ac_try) 2>&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); }; }; then
27998 cat >>confdefs.h
<<\_ACEOF
27999 #define HAVE_XSHAPE 1
28002 echo "$as_me:$LINENO: result: found" >&5
28003 echo "${ECHO_T}found" >&6
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.
$ac_ext >&5
28010 echo "$as_me:$LINENO: result: not found" >&5
28011 echo "${ECHO_T}not found" >&6
28014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28015 CFLAGS
="$save_CFLAGS"
28020 if test "$wxUSE_MAC" = 1; then
28021 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28022 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28023 if test "$GCC" = yes; then
28024 echo "$as_me:$LINENO: result: gcc" >&5
28025 echo "${ECHO_T}gcc" >&6
28026 CPPFLAGS_PASCAL
="-fpascal-strings"
28027 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28028 echo "$as_me:$LINENO: result: xlc" >&5
28029 echo "${ECHO_T}xlc" >&6
28030 CPPFLAGS_PASCAL
="-qmacpstr"
28032 echo "$as_me:$LINENO: result: none" >&5
28033 echo "${ECHO_T}none" >&6
28036 if test "x$wxUSE_UNIX" = "xyes"; then
28037 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28039 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28044 WXBASEPORT
="_carbon"
28047 if test "$wxUSE_COCOA" = 1; then
28052 if test "$wxUSE_PM" = 1; then
28055 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28056 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28057 if test "${wx_cv_spbcdata+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28061 cat >conftest.
$ac_ext <<_ACEOF
28064 cat confdefs.h
>>conftest.
$ac_ext
28065 cat >>conftest.
$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28081 rm -f conftest.
$ac_objext
28082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28083 (eval $ac_compile) 2>conftest.er1
28085 grep -v '^ *+' conftest.er1
>conftest.err
28087 cat conftest.err
>&5
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); } &&
28090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28092 (eval $ac_try) 2>&5
28094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28095 (exit $ac_status); }; } &&
28096 { ac_try
='test -s conftest.$ac_objext'
28097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28098 (eval $ac_try) 2>&5
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); }; }; then
28104 echo "$as_me: failed program was:" >&5
28105 sed 's/^/| /' conftest.
$ac_ext >&5
28110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28114 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28115 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28117 if test $wx_cv_spbcdata = "yes"; then
28118 cat >>confdefs.h
<<\_ACEOF
28119 #define HAVE_SPBCDATA 1
28125 if test "$TOOLKIT" = "PM" ; then
28128 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28131 if test "$wxUSE_UNIVERSAL" = "yes"; then
28132 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28136 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28137 DISTDIR
="wx\$(TOOLKIT)"
28143 if test "$USE_WIN32" = 1 ; then
28147 GUIDIST
="BASE_DIST"
28157 if test "$TOOLKIT" != "MSW" ; then
28159 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28161 if test "${ac_cv_header_sql_h+set}" = set; then
28162 echo "$as_me:$LINENO: checking for sql.h" >&5
28163 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28164 if test "${ac_cv_header_sql_h+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28167 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28168 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28170 # Is the header compilable?
28171 echo "$as_me:$LINENO: checking sql.h usability" >&5
28172 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28173 cat >conftest.
$ac_ext <<_ACEOF
28176 cat confdefs.h
>>conftest.
$ac_ext
28177 cat >>conftest.
$ac_ext <<_ACEOF
28178 /* end confdefs.h. */
28179 $ac_includes_default
28182 rm -f conftest.
$ac_objext
28183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28184 (eval $ac_compile) 2>conftest.er1
28186 grep -v '^ *+' conftest.er1
>conftest.err
28188 cat conftest.err
>&5
28189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28190 (exit $ac_status); } &&
28191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28193 (eval $ac_try) 2>&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); }; } &&
28197 { ac_try
='test -s conftest.$ac_objext'
28198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28199 (eval $ac_try) 2>&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); }; }; then
28203 ac_header_compiler
=yes
28205 echo "$as_me: failed program was:" >&5
28206 sed 's/^/| /' conftest.
$ac_ext >&5
28208 ac_header_compiler
=no
28210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28212 echo "${ECHO_T}$ac_header_compiler" >&6
28214 # Is the header present?
28215 echo "$as_me:$LINENO: checking sql.h presence" >&5
28216 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28217 cat >conftest.
$ac_ext <<_ACEOF
28220 cat confdefs.h
>>conftest.
$ac_ext
28221 cat >>conftest.
$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28228 grep -v '^ *+' conftest.er1
>conftest.err
28230 cat conftest.err
>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); } >/dev
/null
; then
28233 if test -s conftest.err
; then
28234 ac_cpp_err
=$ac_c_preproc_warn_flag
28235 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28242 if test -z "$ac_cpp_err"; then
28243 ac_header_preproc
=yes
28245 echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.
$ac_ext >&5
28248 ac_header_preproc
=no
28250 rm -f conftest.err conftest.
$ac_ext
28251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28252 echo "${ECHO_T}$ac_header_preproc" >&6
28254 # So? What about this header?
28255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28257 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28258 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28259 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28260 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28261 ac_header_preproc
=yes
28264 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28265 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28266 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28267 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28268 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28269 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28270 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28271 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28272 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28273 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28274 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28275 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28278 ## ----------------------------------------- ##
28279 ## Report this to wx-dev@lists.wxwidgets.org ##
28280 ## ----------------------------------------- ##
28283 sed "s/^/$as_me: WARNING: /" >&2
28286 echo "$as_me:$LINENO: checking for sql.h" >&5
28287 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28288 if test "${ac_cv_header_sql_h+set}" = set; then
28289 echo $ECHO_N "(cached) $ECHO_C" >&6
28291 ac_cv_header_sql_h
=$ac_header_preproc
28293 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28294 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28297 if test $ac_cv_header_sql_h = yes; then
28302 if test "x$found_sql_h" = "x1" ; then
28303 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
28304 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
28305 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
28306 echo $ECHO_N "(cached) $ECHO_C" >&6
28308 ac_check_lib_save_LIBS
=$LIBS
28309 LIBS
="-liodbc $LIBS"
28310 cat >conftest.
$ac_ext <<_ACEOF
28313 cat confdefs.h
>>conftest.
$ac_ext
28314 cat >>conftest.
$ac_ext <<_ACEOF
28315 /* end confdefs.h. */
28317 /* Override any gcc2 internal prototype to avoid an error. */
28321 /* We use char because int might match the return type of a gcc2
28322 builtin and then its argument prototype would still apply. */
28323 char SQLAllocEnv ();
28332 rm -f conftest.
$ac_objext conftest
$ac_exeext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334 (eval $ac_link) 2>conftest.er1
28336 grep -v '^ *+' conftest.er1
>conftest.err
28338 cat conftest.err
>&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); } &&
28341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28343 (eval $ac_try) 2>&5
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); }; } &&
28347 { ac_try
='test -s conftest$ac_exeext'
28348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28349 (eval $ac_try) 2>&5
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); }; }; then
28353 ac_cv_lib_iodbc_SQLAllocEnv
=yes
28355 echo "$as_me: failed program was:" >&5
28356 sed 's/^/| /' conftest.
$ac_ext >&5
28358 ac_cv_lib_iodbc_SQLAllocEnv
=no
28360 rm -f conftest.err conftest.
$ac_objext \
28361 conftest
$ac_exeext conftest.
$ac_ext
28362 LIBS
=$ac_check_lib_save_LIBS
28364 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
28365 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
28366 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
28367 ODBC_LINK
=" -liodbc"
28370 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
28371 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
28372 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
28373 echo $ECHO_N "(cached) $ECHO_C" >&6
28375 ac_check_lib_save_LIBS
=$LIBS
28376 LIBS
="-lunixodbc $LIBS"
28377 cat >conftest.
$ac_ext <<_ACEOF
28380 cat confdefs.h
>>conftest.
$ac_ext
28381 cat >>conftest.
$ac_ext <<_ACEOF
28382 /* end confdefs.h. */
28384 /* Override any gcc2 internal prototype to avoid an error. */
28388 /* We use char because int might match the return type of a gcc2
28389 builtin and then its argument prototype would still apply. */
28390 char SQLAllocEnv ();
28399 rm -f conftest.
$ac_objext conftest
$ac_exeext
28400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28401 (eval $ac_link) 2>conftest.er1
28403 grep -v '^ *+' conftest.er1
>conftest.err
28405 cat conftest.err
>&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } &&
28408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; } &&
28414 { ac_try
='test -s conftest$ac_exeext'
28415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 (eval $ac_try) 2>&5
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28420 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.
$ac_ext >&5
28425 ac_cv_lib_unixodbc_SQLAllocEnv
=no
28427 rm -f conftest.err conftest.
$ac_objext \
28428 conftest
$ac_exeext conftest.
$ac_ext
28429 LIBS
=$ac_check_lib_save_LIBS
28431 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
28432 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
28433 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
28434 ODBC_LINK
=" -lunixodbc"
28437 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
28438 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
28439 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28442 ac_check_lib_save_LIBS
=$LIBS
28443 LIBS
="-lodbc $LIBS"
28444 cat >conftest.
$ac_ext <<_ACEOF
28447 cat confdefs.h
>>conftest.
$ac_ext
28448 cat >>conftest.
$ac_ext <<_ACEOF
28449 /* end confdefs.h. */
28451 /* Override any gcc2 internal prototype to avoid an error. */
28455 /* We use char because int might match the return type of a gcc2
28456 builtin and then its argument prototype would still apply. */
28457 char SQLAllocEnv ();
28466 rm -f conftest.
$ac_objext conftest
$ac_exeext
28467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28468 (eval $ac_link) 2>conftest.er1
28470 grep -v '^ *+' conftest.er1
>conftest.err
28472 cat conftest.err
>&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); } &&
28475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; } &&
28481 { ac_try
='test -s conftest$ac_exeext'
28482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483 (eval $ac_try) 2>&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); }; }; then
28487 ac_cv_lib_odbc_SQLAllocEnv
=yes
28489 echo "$as_me: failed program was:" >&5
28490 sed 's/^/| /' conftest.
$ac_ext >&5
28492 ac_cv_lib_odbc_SQLAllocEnv
=no
28494 rm -f conftest.err conftest.
$ac_objext \
28495 conftest
$ac_exeext conftest.
$ac_ext
28496 LIBS
=$ac_check_lib_save_LIBS
28498 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
28499 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
28500 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
28501 ODBC_LINK
=" -lodbc"
28511 if test "x$ODBC_LINK" = "x" ; then
28512 if test "$wxUSE_ODBC" = "sys" ; then
28513 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
28514 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
28515 { (exit 1); exit 1; }; }
28517 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
28518 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
28526 if test "$wxUSE_ODBC" = "builtin" ; then
28527 cat >>confdefs.h
<<\_ACEOF
28528 #define wxUSE_BUILTIN_IODBC 1
28534 if test "$wxUSE_ODBC" != "no" ; then
28535 cat >>confdefs.h
<<\_ACEOF
28536 #define wxUSE_ODBC 1
28539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
28541 WXODBCFLAG
="-D_IODBC_"
28545 if test "$wxUSE_DISPLAY" = "yes"; then
28546 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
28547 echo "$as_me:$LINENO: checking for Xinerama" >&5
28548 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
28551 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28553 for ac_extension
in a so sl dylib
; do
28554 if test -f "$ac_dir/libXinerama.$ac_extension"; then
28555 ac_find_libraries
=$ac_dir
28561 if test "$ac_find_libraries" != "" ; then
28563 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28565 if test $result = 0; then
28568 ac_path_to_link
=" -L$ac_find_libraries"
28571 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28572 LDFLAGS
="$LDFLAGS $ac_path_to_link"
28574 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
28575 echo "$as_me:$LINENO: result: yes" >&5
28576 echo "${ECHO_T}yes" >&6
28578 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
28579 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
28582 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28584 for ac_extension
in a so sl dylib
; do
28585 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
28586 ac_find_libraries
=$ac_dir
28592 if test "$ac_find_libraries" != "" ; then
28593 echo "$as_me:$LINENO: result: yes" >&5
28594 echo "${ECHO_T}yes" >&6
28596 for ac_header
in X
11/extensions
/xf86vmode.h
28598 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28599 echo "$as_me:$LINENO: checking for $ac_header" >&5
28600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28602 echo $ECHO_N "(cached) $ECHO_C" >&6
28604 cat >conftest.
$ac_ext <<_ACEOF
28607 cat confdefs.h
>>conftest.
$ac_ext
28608 cat >>conftest.
$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28611 #if HAVE_X11_XLIB_H
28612 #include <X11/Xlib.h>
28616 #include <$ac_header>
28618 rm -f conftest.
$ac_objext
28619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28620 (eval $ac_compile) 2>conftest.er1
28622 grep -v '^ *+' conftest.er1
>conftest.err
28624 cat conftest.err
>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } &&
28627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629 (eval $ac_try) 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); }; } &&
28633 { ac_try
='test -s conftest.$ac_objext'
28634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28635 (eval $ac_try) 2>&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); }; }; then
28639 eval "$as_ac_Header=yes"
28641 echo "$as_me: failed program was:" >&5
28642 sed 's/^/| /' conftest.
$ac_ext >&5
28644 eval "$as_ac_Header=no"
28646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28651 cat >>confdefs.h
<<_ACEOF
28652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28655 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
28662 echo "$as_me:$LINENO: result: no" >&5
28663 echo "${ECHO_T}no" >&6
28667 echo "$as_me:$LINENO: result: no" >&5
28668 echo "${ECHO_T}no" >&6
28669 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
28670 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
28673 elif test "$wxUSE_MSW" = 1; then
28676 for ac_header
in multimon.h ddraw.h
28678 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28679 echo "$as_me:$LINENO: checking for $ac_header" >&5
28680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28682 echo $ECHO_N "(cached) $ECHO_C" >&6
28684 cat >conftest.
$ac_ext <<_ACEOF
28687 cat confdefs.h
>>conftest.
$ac_ext
28688 cat >>conftest.
$ac_ext <<_ACEOF
28689 /* end confdefs.h. */
28690 #include <windows.h>
28692 #include <$ac_header>
28694 rm -f conftest.
$ac_objext
28695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28696 (eval $ac_compile) 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" || test ! -s conftest.err'
28704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28705 (eval $ac_try) 2>&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); }; } &&
28709 { ac_try
='test -s conftest.$ac_objext'
28710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28711 (eval $ac_try) 2>&5
28713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28714 (exit $ac_status); }; }; then
28715 eval "$as_ac_Header=yes"
28717 echo "$as_me: failed program was:" >&5
28718 sed 's/^/| /' conftest.
$ac_ext >&5
28720 eval "$as_ac_Header=no"
28722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28727 cat >>confdefs.h
<<_ACEOF
28728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28734 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
28735 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
28746 if test "$wxUSE_OPENGL" = "yes"; then
28747 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
28748 OPENGL_LIBS
="-framework OpenGL -framework AGL"
28749 elif test "$wxUSE_MSW" = 1; then
28750 OPENGL_LIBS
="-lopengl32 -lglu32"
28755 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28757 if test -f "$ac_dir/GL/gl.h"; then
28758 ac_find_includes
=$ac_dir
28763 if test "$ac_find_includes" != "" ; then
28764 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28765 echo "${ECHO_T}found in $ac_find_includes" >&6
28767 if test "x$ac_find_includes" = "x/usr/include"; then
28768 ac_path_to_include
=""
28770 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
28772 if test $result = 0; then
28773 ac_path_to_include
=""
28775 ac_path_to_include
=" -I$ac_find_includes"
28779 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
28782 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28783 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28784 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28785 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28786 echo $ECHO_N "(cached) $ECHO_C" >&6
28788 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28789 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28791 # Is the header compilable?
28792 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
28793 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
28794 cat >conftest.
$ac_ext <<_ACEOF
28797 cat confdefs.h
>>conftest.
$ac_ext
28798 cat >>conftest.
$ac_ext <<_ACEOF
28799 /* end confdefs.h. */
28800 $ac_includes_default
28803 rm -f conftest.
$ac_objext
28804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28805 (eval $ac_compile) 2>conftest.er1
28807 grep -v '^ *+' conftest.er1
>conftest.err
28809 cat conftest.err
>&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); } &&
28812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28814 (eval $ac_try) 2>&5
28816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28817 (exit $ac_status); }; } &&
28818 { ac_try
='test -s conftest.$ac_objext'
28819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28820 (eval $ac_try) 2>&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); }; }; then
28824 ac_header_compiler
=yes
28826 echo "$as_me: failed program was:" >&5
28827 sed 's/^/| /' conftest.
$ac_ext >&5
28829 ac_header_compiler
=no
28831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28833 echo "${ECHO_T}$ac_header_compiler" >&6
28835 # Is the header present?
28836 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
28837 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
28838 cat >conftest.
$ac_ext <<_ACEOF
28841 cat confdefs.h
>>conftest.
$ac_ext
28842 cat >>conftest.
$ac_ext <<_ACEOF
28843 /* end confdefs.h. */
28846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28849 grep -v '^ *+' conftest.er1
>conftest.err
28851 cat conftest.err
>&5
28852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853 (exit $ac_status); } >/dev
/null
; then
28854 if test -s conftest.err
; then
28855 ac_cpp_err
=$ac_c_preproc_warn_flag
28856 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28863 if test -z "$ac_cpp_err"; then
28864 ac_header_preproc
=yes
28866 echo "$as_me: failed program was:" >&5
28867 sed 's/^/| /' conftest.
$ac_ext >&5
28869 ac_header_preproc
=no
28871 rm -f conftest.err conftest.
$ac_ext
28872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28873 echo "${ECHO_T}$ac_header_preproc" >&6
28875 # So? What about this header?
28876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28878 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28879 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28880 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
28881 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
28882 ac_header_preproc
=yes
28885 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
28886 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
28887 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
28888 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
28889 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
28890 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
28891 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
28892 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28893 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
28894 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
28895 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
28896 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
28899 ## ----------------------------------------- ##
28900 ## Report this to wx-dev@lists.wxwidgets.org ##
28901 ## ----------------------------------------- ##
28904 sed "s/^/$as_me: WARNING: /" >&2
28907 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
28908 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
28909 if test "${ac_cv_header_GL_gl_h+set}" = set; then
28910 echo $ECHO_N "(cached) $ECHO_C" >&6
28912 ac_cv_header_GL_gl_h
=$ac_header_preproc
28914 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
28915 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
28918 if test $ac_cv_header_GL_gl_h = yes; then
28922 echo "$as_me:$LINENO: checking for -lGL" >&5
28923 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
28926 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28928 for ac_extension
in a so sl dylib
; do
28929 if test -f "$ac_dir/libGL.$ac_extension"; then
28930 ac_find_libraries
=$ac_dir
28936 if test "$ac_find_libraries" != "" ; then
28938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28940 if test $result = 0; then
28943 ac_path_to_link
=" -L$ac_find_libraries"
28946 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28947 LDFLAGS_GL
="$ac_path_to_link"
28952 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28954 for ac_extension
in a so sl dylib
; do
28955 if test -f "$ac_dir/libGLU.$ac_extension"; then
28956 ac_find_libraries
=$ac_dir
28962 if test "$ac_find_libraries" != "" ; then
28964 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28966 if test $result = 0; then
28969 ac_path_to_link
=" -L$ac_find_libraries"
28972 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28973 "$ac_path_to_link" != "$LDFLAGS_GL"; then
28974 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28978 OPENGL_LIBS
="-lGL -lGLU"
28979 echo "$as_me:$LINENO: result: yes" >&5
28980 echo "${ECHO_T}yes" >&6
28984 if test "$found_gl" != 1; then
28985 echo "$as_me:$LINENO: result: no" >&5
28986 echo "${ECHO_T}no" >&6
28987 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
28988 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
28991 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28993 for ac_extension
in a so sl dylib
; do
28994 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28995 ac_find_libraries
=$ac_dir
29001 if test "$ac_find_libraries" != "" ; then
29003 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29005 if test $result = 0; then
29008 ac_path_to_link
=" -L$ac_find_libraries"
29011 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29012 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29013 echo "$as_me:$LINENO: result: yes" >&5
29014 echo "${ECHO_T}yes" >&6
29016 echo "$as_me:$LINENO: result: no" >&5
29017 echo "${ECHO_T}no" >&6
29025 if test "x$OPENGL_LIBS" = "x"; then
29026 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29027 echo "$as_me: error: OpenGL libraries not available" >&2;}
29028 { (exit 1); exit 1; }; }
29032 if test "$wxUSE_OPENGL" = "yes"; then
29034 cat >>confdefs.h
<<\_ACEOF
29035 #define wxUSE_OPENGL 1
29038 cat >>confdefs.h
<<\_ACEOF
29039 #define wxUSE_GLCANVAS 1
29042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29047 if test -n "$TOOLKIT" ; then
29048 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29053 if test "$wxUSE_SHARED" = "yes"; then
29057 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29058 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29063 if test "$wxUSE_SHARED" = "yes"; then
29066 found_versioning
=no
29069 if test $found_versioning = no
; then
29070 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29071 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29072 if test "${wx_cv_version_script+set}" = set; then
29073 echo $ECHO_N "(cached) $ECHO_C" >&6
29076 echo "VER_1 { *; };" >conftest.sym
29077 echo "int main() { return 0; }" >conftest.cpp
29080 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29081 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; } ; then
29087 if test -s conftest.stderr
; then
29088 wx_cv_version_script
=no
29090 wx_cv_version_script
=yes
29093 wx_cv_version_script
=no
29095 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29098 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29099 echo "${ECHO_T}$wx_cv_version_script" >&6
29100 if test $wx_cv_version_script = yes ; then
29101 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29107 *-*-linux* | *-*-gnu* )
29108 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29109 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29113 if test "$GCC" = yes ; then
29114 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29116 saveLdflags
="$LDFLAGS"
29117 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29118 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29119 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29120 cat >conftest.
$ac_ext <<_ACEOF
29123 cat confdefs.h
>>conftest.
$ac_ext
29124 cat >>conftest.
$ac_ext <<_ACEOF
29125 /* end confdefs.h. */
29135 rm -f conftest.
$ac_objext conftest
$ac_exeext
29136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29137 (eval $ac_link) 2>conftest.er1
29139 grep -v '^ *+' conftest.er1
>conftest.err
29141 cat conftest.err
>&5
29142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 (exit $ac_status); } &&
29144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29146 (eval $ac_try) 2>&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); }; } &&
29150 { ac_try
='test -s conftest$ac_exeext'
29151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29152 (eval $ac_try) 2>&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); }; }; then
29157 echo "$as_me:$LINENO: result: yes" >&5
29158 echo "${ECHO_T}yes" >&6
29159 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29160 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29163 echo "$as_me: failed program was:" >&5
29164 sed 's/^/| /' conftest.
$ac_ext >&5
29167 echo "$as_me:$LINENO: result: no" >&5
29168 echo "${ECHO_T}no" >&6
29169 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29170 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29171 LDFLAGS
="$saveLdflags -Wl,-R,/"
29172 cat >conftest.
$ac_ext <<_ACEOF
29175 cat confdefs.h
>>conftest.
$ac_ext
29176 cat >>conftest.
$ac_ext <<_ACEOF
29177 /* end confdefs.h. */
29187 rm -f conftest.
$ac_objext conftest
$ac_exeext
29188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29189 (eval $ac_link) 2>conftest.er1
29191 grep -v '^ *+' conftest.er1
>conftest.err
29193 cat conftest.err
>&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); } &&
29196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29198 (eval $ac_try) 2>&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); }; } &&
29202 { ac_try
='test -s conftest$ac_exeext'
29203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29204 (eval $ac_try) 2>&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); }; }; then
29209 echo "$as_me:$LINENO: result: yes" >&5
29210 echo "${ECHO_T}yes" >&6
29211 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29212 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29215 echo "$as_me: failed program was:" >&5
29216 sed 's/^/| /' conftest.
$ac_ext >&5
29219 echo "$as_me:$LINENO: result: no" >&5
29220 echo "${ECHO_T}no" >&6
29223 rm -f conftest.err conftest.
$ac_objext \
29224 conftest
$ac_exeext conftest.
$ac_ext
29227 rm -f conftest.err conftest.
$ac_objext \
29228 conftest
$ac_exeext conftest.
$ac_ext
29229 LDFLAGS
="$saveLdflags"
29231 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29232 WXCONFIG_RPATH
="-R\$libdir"
29236 powerpc
-*-darwin* )
29237 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29238 cat <<EOF >change-install-names
29240 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29241 inst_cmd="install_name_tool "
29242 for i in \${libnames} ; do
29243 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29247 chmod +x change
-install-names
29250 *-*-cygwin* | *-*-mingw32* )
29251 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
29255 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
29256 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29261 if test $wxUSE_RPATH = "no"; then
29262 SAMPLES_RPATH_FLAG
=''
29263 SAMPLES_RPATH_POSTLINK
=''
29271 config_linkage_component
="-static"
29278 lib_unicode_suffix
=
29280 if test "$wxUSE_UNICODE" = "yes"; then
29281 lib_unicode_suffix
=u
29282 WX_CHARTYPE
="unicode"
29287 WX_DEBUGTYPE
="release"
29289 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
29291 WX_DEBUGTYPE
="debug"
29295 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29296 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29299 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29303 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
29305 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
29307 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29309 if test "$cross_compiling" = "yes"; then
29310 HOST_SUFFIX
="-$host_alias"
29311 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
29312 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
29315 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29316 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
29320 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
29321 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
29322 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
29324 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
29326 # Extract the first word of "Rez", so it can be a program name with args.
29327 set dummy Rez
; ac_word
=$2
29328 echo "$as_me:$LINENO: checking for $ac_word" >&5
29329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29330 if test "${ac_cv_prog_RESCOMP+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 if test -n "$RESCOMP"; then
29334 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
29336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29337 for as_dir
in $PATH
29340 test -z "$as_dir" && as_dir
=.
29341 for ac_exec_ext
in '' $ac_executable_extensions; do
29342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29343 ac_cv_prog_RESCOMP
="Rez"
29344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29350 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
29353 RESCOMP
=$ac_cv_prog_RESCOMP
29354 if test -n "$RESCOMP"; then
29355 echo "$as_me:$LINENO: result: $RESCOMP" >&5
29356 echo "${ECHO_T}$RESCOMP" >&6
29358 echo "$as_me:$LINENO: result: no" >&5
29359 echo "${ECHO_T}no" >&6
29362 # Extract the first word of "DeRez", so it can be a program name with args.
29363 set dummy DeRez
; ac_word
=$2
29364 echo "$as_me:$LINENO: checking for $ac_word" >&5
29365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29366 if test "${ac_cv_prog_DEREZ+set}" = set; then
29367 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 if test -n "$DEREZ"; then
29370 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
29372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29373 for as_dir
in $PATH
29376 test -z "$as_dir" && as_dir
=.
29377 for ac_exec_ext
in '' $ac_executable_extensions; do
29378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29379 ac_cv_prog_DEREZ
="DeRez"
29380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29386 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
29389 DEREZ
=$ac_cv_prog_DEREZ
29390 if test -n "$DEREZ"; then
29391 echo "$as_me:$LINENO: result: $DEREZ" >&5
29392 echo "${ECHO_T}$DEREZ" >&6
29394 echo "$as_me:$LINENO: result: no" >&5
29395 echo "${ECHO_T}no" >&6
29398 # Extract the first word of "SetFile", so it can be a program name with args.
29399 set dummy SetFile
; ac_word
=$2
29400 echo "$as_me:$LINENO: checking for $ac_word" >&5
29401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29402 if test "${ac_cv_prog_SETFILE+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 if test -n "$SETFILE"; then
29406 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
29408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29409 for as_dir
in $PATH
29412 test -z "$as_dir" && as_dir
=.
29413 for ac_exec_ext
in '' $ac_executable_extensions; do
29414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29415 ac_cv_prog_SETFILE
="SetFile"
29416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29422 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
29425 SETFILE
=$ac_cv_prog_SETFILE
29426 if test -n "$SETFILE"; then
29427 echo "$as_me:$LINENO: result: $SETFILE" >&5
29428 echo "${ECHO_T}$SETFILE" >&6
29430 echo "$as_me:$LINENO: result: no" >&5
29431 echo "${ECHO_T}no" >&6
29435 MACSETFILE
="\$(SETFILE)"
29437 if test "$wxUSE_MAC" = 1; then
29438 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
29440 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29442 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
29443 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
29447 MACRESWXCONFIG
="@true"
29449 if test "$wxUSE_PM" = 1; then
29450 MACRESCOMP
="emxbind -ep"
29458 echo "$as_me:$LINENO: checking for mode_t" >&5
29459 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
29460 if test "${ac_cv_type_mode_t+set}" = set; then
29461 echo $ECHO_N "(cached) $ECHO_C" >&6
29463 cat >conftest.
$ac_ext <<_ACEOF
29466 cat confdefs.h
>>conftest.
$ac_ext
29467 cat >>conftest.
$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29469 $ac_includes_default
29475 if (sizeof (mode_t))
29481 rm -f conftest.
$ac_objext
29482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29483 (eval $ac_compile) 2>conftest.er1
29485 grep -v '^ *+' conftest.er1
>conftest.err
29487 cat conftest.err
>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } &&
29490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29492 (eval $ac_try) 2>&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); }; } &&
29496 { ac_try
='test -s conftest.$ac_objext'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; }; then
29502 ac_cv_type_mode_t
=yes
29504 echo "$as_me: failed program was:" >&5
29505 sed 's/^/| /' conftest.
$ac_ext >&5
29507 ac_cv_type_mode_t
=no
29509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29511 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
29512 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
29513 if test $ac_cv_type_mode_t = yes; then
29517 cat >>confdefs.h
<<_ACEOF
29523 echo "$as_me:$LINENO: checking for off_t" >&5
29524 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
29525 if test "${ac_cv_type_off_t+set}" = set; then
29526 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 cat >conftest.
$ac_ext <<_ACEOF
29531 cat confdefs.h
>>conftest.
$ac_ext
29532 cat >>conftest.
$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29534 $ac_includes_default
29540 if (sizeof (off_t))
29546 rm -f conftest.
$ac_objext
29547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29548 (eval $ac_compile) 2>conftest.er1
29550 grep -v '^ *+' conftest.er1
>conftest.err
29552 cat conftest.err
>&5
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); } &&
29555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; } &&
29561 { ac_try
='test -s conftest.$ac_objext'
29562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29563 (eval $ac_try) 2>&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); }; }; then
29567 ac_cv_type_off_t
=yes
29569 echo "$as_me: failed program was:" >&5
29570 sed 's/^/| /' conftest.
$ac_ext >&5
29572 ac_cv_type_off_t
=no
29574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29576 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
29577 echo "${ECHO_T}$ac_cv_type_off_t" >&6
29578 if test $ac_cv_type_off_t = yes; then
29582 cat >>confdefs.h
<<_ACEOF
29588 echo "$as_me:$LINENO: checking for pid_t" >&5
29589 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
29590 if test "${ac_cv_type_pid_t+set}" = set; then
29591 echo $ECHO_N "(cached) $ECHO_C" >&6
29593 cat >conftest.
$ac_ext <<_ACEOF
29596 cat confdefs.h
>>conftest.
$ac_ext
29597 cat >>conftest.
$ac_ext <<_ACEOF
29598 /* end confdefs.h. */
29599 $ac_includes_default
29605 if (sizeof (pid_t))
29611 rm -f conftest.
$ac_objext
29612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29613 (eval $ac_compile) 2>conftest.er1
29615 grep -v '^ *+' conftest.er1
>conftest.err
29617 cat conftest.err
>&5
29618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29619 (exit $ac_status); } &&
29620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29622 (eval $ac_try) 2>&5
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); }; } &&
29626 { ac_try
='test -s conftest.$ac_objext'
29627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29628 (eval $ac_try) 2>&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); }; }; then
29632 ac_cv_type_pid_t
=yes
29634 echo "$as_me: failed program was:" >&5
29635 sed 's/^/| /' conftest.
$ac_ext >&5
29637 ac_cv_type_pid_t
=no
29639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29641 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
29642 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
29643 if test $ac_cv_type_pid_t = yes; then
29647 cat >>confdefs.h
<<_ACEOF
29653 echo "$as_me:$LINENO: checking for size_t" >&5
29654 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
29655 if test "${ac_cv_type_size_t+set}" = set; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 cat >conftest.
$ac_ext <<_ACEOF
29661 cat confdefs.h
>>conftest.
$ac_ext
29662 cat >>conftest.
$ac_ext <<_ACEOF
29663 /* end confdefs.h. */
29664 $ac_includes_default
29670 if (sizeof (size_t))
29676 rm -f conftest.
$ac_objext
29677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29678 (eval $ac_compile) 2>conftest.er1
29680 grep -v '^ *+' conftest.er1
>conftest.err
29682 cat conftest.err
>&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); } &&
29685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try
='test -s conftest.$ac_objext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697 ac_cv_type_size_t
=yes
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.
$ac_ext >&5
29702 ac_cv_type_size_t
=no
29704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29706 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
29707 echo "${ECHO_T}$ac_cv_type_size_t" >&6
29708 if test $ac_cv_type_size_t = yes; then
29712 cat >>confdefs.h
<<_ACEOF
29713 #define size_t unsigned
29718 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
29719 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
29720 if test "${ac_cv_type_uid_t+set}" = set; then
29721 echo $ECHO_N "(cached) $ECHO_C" >&6
29723 cat >conftest.
$ac_ext <<_ACEOF
29726 cat confdefs.h
>>conftest.
$ac_ext
29727 cat >>conftest.
$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729 #include <sys/types.h>
29732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29733 $EGREP "uid_t" >/dev
/null
2>&1; then
29734 ac_cv_type_uid_t
=yes
29736 ac_cv_type_uid_t
=no
29741 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
29742 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
29743 if test $ac_cv_type_uid_t = no
; then
29745 cat >>confdefs.h
<<\_ACEOF
29750 cat >>confdefs.h
<<\_ACEOF
29757 echo "$as_me:$LINENO: checking for ssize_t" >&5
29758 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
29759 if test "${ac_cv_type_ssize_t+set}" = set; then
29760 echo $ECHO_N "(cached) $ECHO_C" >&6
29762 cat >conftest.
$ac_ext <<_ACEOF
29765 cat confdefs.h
>>conftest.
$ac_ext
29766 cat >>conftest.
$ac_ext <<_ACEOF
29767 /* end confdefs.h. */
29768 $ac_includes_default
29774 if (sizeof (ssize_t))
29780 rm -f conftest.
$ac_objext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29782 (eval $ac_compile) 2>conftest.er1
29784 grep -v '^ *+' conftest.er1
>conftest.err
29786 cat conftest.err
>&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try
='test -s conftest.$ac_objext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 ac_cv_type_ssize_t
=yes
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.
$ac_ext >&5
29806 ac_cv_type_ssize_t
=no
29808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29810 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
29811 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
29812 if test $ac_cv_type_ssize_t = yes; then
29814 cat >>confdefs.h
<<_ACEOF
29815 #define HAVE_SSIZE_T 1
29825 ac_cpp
='$CXXCPP $CPPFLAGS'
29826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29830 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
29831 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
29832 if test "${wx_cv_size_t_is_uint+set}" = set; then
29833 echo $ECHO_N "(cached) $ECHO_C" >&6
29836 cat >conftest.
$ac_ext <<_ACEOF
29839 cat confdefs.h
>>conftest.
$ac_ext
29840 cat >>conftest.
$ac_ext <<_ACEOF
29841 /* end confdefs.h. */
29842 #include <stddef.h>
29849 struct Foo { void foo(size_t); void foo(unsigned int); };
29857 rm -f conftest.
$ac_objext
29858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29859 (eval $ac_compile) 2>conftest.er1
29861 grep -v '^ *+' conftest.er1
>conftest.err
29863 cat conftest.err
>&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); } &&
29866 { ac_try
='test -z "$ac_cxx_werror_flag" || 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 wx_cv_size_t_is_uint
=no
29880 echo "$as_me: failed program was:" >&5
29881 sed 's/^/| /' conftest.
$ac_ext >&5
29883 wx_cv_size_t_is_uint
=yes
29886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29890 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
29891 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
29893 if test "$wx_cv_size_t_is_uint" = "yes"; then
29894 cat >>confdefs.h
<<\_ACEOF
29895 #define wxSIZE_T_IS_UINT 1
29899 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
29900 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
29901 if test "${wx_cv_size_t_is_ulong+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 #include <stddef.h>
29917 struct Foo { void foo(size_t); void foo(unsigned long); };
29925 rm -f conftest.
$ac_objext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29927 (eval $ac_compile) 2>conftest.er1
29929 grep -v '^ *+' conftest.er1
>conftest.err
29931 cat conftest.err
>&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } &&
29934 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29936 (eval $ac_try) 2>&5
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); }; } &&
29940 { ac_try
='test -s conftest.$ac_objext'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; }; then
29946 wx_cv_size_t_is_ulong
=no
29948 echo "$as_me: failed program was:" >&5
29949 sed 's/^/| /' conftest.
$ac_ext >&5
29951 wx_cv_size_t_is_ulong
=yes
29954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29957 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
29958 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
29960 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29961 cat >>confdefs.h
<<\_ACEOF
29962 #define wxSIZE_T_IS_ULONG 1
29969 ac_cpp
='$CPP $CPPFLAGS'
29970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29976 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
29977 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
29978 if test "${wx_cv_struct_pw_gecos+set}" = set; then
29979 echo $ECHO_N "(cached) $ECHO_C" >&6
29982 cat >conftest.
$ac_ext <<_ACEOF
29985 cat confdefs.h
>>conftest.
$ac_ext
29986 cat >>conftest.
$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
30001 rm -f conftest.
$ac_objext
30002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30003 (eval $ac_compile) 2>conftest.er1
30005 grep -v '^ *+' conftest.er1
>conftest.err
30007 cat conftest.err
>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; } &&
30016 { ac_try
='test -s conftest.$ac_objext'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; }; then
30023 wx_cv_struct_pw_gecos
=yes
30026 echo "$as_me: failed program was:" >&5
30027 sed 's/^/| /' conftest.
$ac_ext >&5
30030 wx_cv_struct_pw_gecos
=no
30034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30038 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30039 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30041 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30042 cat >>confdefs.h
<<\_ACEOF
30043 #define HAVE_PW_GECOS 1
30049 if test "$ac_cv_sizeof_wchar_t" != "0"; then
30050 cat >>confdefs.h
<<\_ACEOF
30051 #define wxUSE_WCHAR_T 1
30058 for ac_func
in wcslen
30060 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30061 echo "$as_me:$LINENO: checking for $ac_func" >&5
30062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30063 if eval "test \"\${$as_ac_var+set}\" = set"; then
30064 echo $ECHO_N "(cached) $ECHO_C" >&6
30066 cat >conftest.
$ac_ext <<_ACEOF
30069 cat confdefs.h
>>conftest.
$ac_ext
30070 cat >>conftest.
$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30074 #define $ac_func innocuous_$ac_func
30076 /* System header to define __stub macros and hopefully few prototypes,
30077 which can conflict with char $ac_func (); below.
30078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30079 <limits.h> exists even on freestanding compilers. */
30082 # include <limits.h>
30084 # include <assert.h>
30089 /* Override any gcc2 internal prototype to avoid an error. */
30094 /* We use char because int might match the return type of a gcc2
30095 builtin and then its argument prototype would still apply. */
30097 /* The GNU C library defines this for functions which it implements
30098 to always fail with ENOSYS. Some functions are actually named
30099 something starting with __ and the normal name is an alias. */
30100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30103 char (*f) () = $ac_func;
30112 return f != $ac_func;
30117 rm -f conftest.
$ac_objext conftest
$ac_exeext
30118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30119 (eval $ac_link) 2>conftest.er1
30121 grep -v '^ *+' conftest.er1
>conftest.err
30123 cat conftest.err
>&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); } &&
30126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30128 (eval $ac_try) 2>&5
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); }; } &&
30132 { ac_try
='test -s conftest$ac_exeext'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; }; then
30138 eval "$as_ac_var=yes"
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.
$ac_ext >&5
30143 eval "$as_ac_var=no"
30145 rm -f conftest.err conftest.
$ac_objext \
30146 conftest
$ac_exeext conftest.
$ac_ext
30148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30150 if test `eval echo '${'$as_ac_var'}'` = yes; then
30151 cat >>confdefs.h
<<_ACEOF
30152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30159 if test "$WCSLEN_FOUND" = 0; then
30160 if test "$TOOLKIT" = "MSW"; then
30161 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
30162 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
30163 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 ac_check_lib_save_LIBS
=$LIBS
30167 LIBS
="-lmsvcrt $LIBS"
30168 cat >conftest.
$ac_ext <<_ACEOF
30171 cat confdefs.h
>>conftest.
$ac_ext
30172 cat >>conftest.
$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30175 /* Override any gcc2 internal prototype to avoid an error. */
30179 /* We use char because int might match the return type of a gcc2
30180 builtin and then its argument prototype would still apply. */
30190 rm -f conftest.
$ac_objext conftest
$ac_exeext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30192 (eval $ac_link) 2>conftest.er1
30194 grep -v '^ *+' conftest.er1
>conftest.err
30196 cat conftest.err
>&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } &&
30199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try
='test -s conftest$ac_exeext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211 ac_cv_lib_msvcrt_wcslen
=yes
30213 echo "$as_me: failed program was:" >&5
30214 sed 's/^/| /' conftest.
$ac_ext >&5
30216 ac_cv_lib_msvcrt_wcslen
=no
30218 rm -f conftest.err conftest.
$ac_objext \
30219 conftest
$ac_exeext conftest.
$ac_ext
30220 LIBS
=$ac_check_lib_save_LIBS
30222 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
30223 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
30224 if test $ac_cv_lib_msvcrt_wcslen = yes; then
30229 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
30230 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
30231 if test "${ac_cv_lib_w_wcslen+set}" = set; then
30232 echo $ECHO_N "(cached) $ECHO_C" >&6
30234 ac_check_lib_save_LIBS
=$LIBS
30236 cat >conftest.
$ac_ext <<_ACEOF
30239 cat confdefs.h
>>conftest.
$ac_ext
30240 cat >>conftest.
$ac_ext <<_ACEOF
30241 /* end confdefs.h. */
30243 /* Override any gcc2 internal prototype to avoid an error. */
30247 /* We use char because int might match the return type of a gcc2
30248 builtin and then its argument prototype would still apply. */
30258 rm -f conftest.
$ac_objext conftest
$ac_exeext
30259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30260 (eval $ac_link) 2>conftest.er1
30262 grep -v '^ *+' conftest.er1
>conftest.err
30264 cat conftest.err
>&5
30265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30266 (exit $ac_status); } &&
30267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30269 (eval $ac_try) 2>&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; } &&
30273 { ac_try
='test -s conftest$ac_exeext'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; }; then
30279 ac_cv_lib_w_wcslen
=yes
30281 echo "$as_me: failed program was:" >&5
30282 sed 's/^/| /' conftest.
$ac_ext >&5
30284 ac_cv_lib_w_wcslen
=no
30286 rm -f conftest.err conftest.
$ac_objext \
30287 conftest
$ac_exeext conftest.
$ac_ext
30288 LIBS
=$ac_check_lib_save_LIBS
30290 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
30291 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
30292 if test $ac_cv_lib_w_wcslen = yes; then
30302 if test "$WCSLEN_FOUND" = 1; then
30303 cat >>confdefs.h
<<\_ACEOF
30304 #define HAVE_WCSLEN 1
30309 if test "$USE_HPUX" = 1; then
30310 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
30314 for ac_func
in wcsrtombs
30316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30317 echo "$as_me:$LINENO: checking for $ac_func" >&5
30318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30319 if eval "test \"\${$as_ac_var+set}\" = set"; then
30320 echo $ECHO_N "(cached) $ECHO_C" >&6
30322 cat >conftest.
$ac_ext <<_ACEOF
30325 cat confdefs.h
>>conftest.
$ac_ext
30326 cat >>conftest.
$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30330 #define $ac_func innocuous_$ac_func
30332 /* System header to define __stub macros and hopefully few prototypes,
30333 which can conflict with char $ac_func (); below.
30334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30335 <limits.h> exists even on freestanding compilers. */
30338 # include <limits.h>
30340 # include <assert.h>
30345 /* Override any gcc2 internal prototype to avoid an error. */
30350 /* We use char because int might match the return type of a gcc2
30351 builtin and then its argument prototype would still apply. */
30353 /* The GNU C library defines this for functions which it implements
30354 to always fail with ENOSYS. Some functions are actually named
30355 something starting with __ and the normal name is an alias. */
30356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30359 char (*f) () = $ac_func;
30368 return f != $ac_func;
30373 rm -f conftest.
$ac_objext conftest
$ac_exeext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30375 (eval $ac_link) 2>conftest.er1
30377 grep -v '^ *+' conftest.er1
>conftest.err
30379 cat conftest.err
>&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; } &&
30388 { ac_try
='test -s conftest$ac_exeext'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; }; then
30394 eval "$as_ac_var=yes"
30396 echo "$as_me: failed program was:" >&5
30397 sed 's/^/| /' conftest.
$ac_ext >&5
30399 eval "$as_ac_var=no"
30401 rm -f conftest.err conftest.
$ac_objext \
30402 conftest
$ac_exeext conftest.
$ac_ext
30404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30406 if test `eval echo '${'$as_ac_var'}'` = yes; then
30407 cat >>confdefs.h
<<_ACEOF
30408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30415 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
30416 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
30422 ac_cpp
='$CXXCPP $CPPFLAGS'
30423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30429 for ac_func
in vsnprintf
30431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30432 echo "$as_me:$LINENO: checking for $ac_func" >&5
30433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30434 if eval "test \"\${$as_ac_var+set}\" = set"; then
30435 echo $ECHO_N "(cached) $ECHO_C" >&6
30437 cat >conftest.
$ac_ext <<_ACEOF
30440 cat confdefs.h
>>conftest.
$ac_ext
30441 cat >>conftest.
$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30445 #define $ac_func innocuous_$ac_func
30447 /* System header to define __stub macros and hopefully few prototypes,
30448 which can conflict with char $ac_func (); below.
30449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30450 <limits.h> exists even on freestanding compilers. */
30453 # include <limits.h>
30455 # include <assert.h>
30460 /* Override any gcc2 internal prototype to avoid an error. */
30465 /* We use char because int might match the return type of a gcc2
30466 builtin and then its argument prototype would still apply. */
30468 /* The GNU C library defines this for functions which it implements
30469 to always fail with ENOSYS. Some functions are actually named
30470 something starting with __ and the normal name is an alias. */
30471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30474 char (*f) () = $ac_func;
30483 return f != $ac_func;
30488 rm -f conftest.
$ac_objext conftest
$ac_exeext
30489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30490 (eval $ac_link) 2>conftest.er1
30492 grep -v '^ *+' conftest.er1
>conftest.err
30494 cat conftest.err
>&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); } &&
30497 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30499 (eval $ac_try) 2>&5
30501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 (exit $ac_status); }; } &&
30503 { ac_try
='test -s conftest$ac_exeext'
30504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 (eval $ac_try) 2>&5
30507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 (exit $ac_status); }; }; then
30509 eval "$as_ac_var=yes"
30511 echo "$as_me: failed program was:" >&5
30512 sed 's/^/| /' conftest.
$ac_ext >&5
30514 eval "$as_ac_var=no"
30516 rm -f conftest.err conftest.
$ac_objext \
30517 conftest
$ac_exeext conftest.
$ac_ext
30519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30521 if test `eval echo '${'$as_ac_var'}'` = yes; then
30522 cat >>confdefs.h
<<_ACEOF
30523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30530 if test "$ac_cv_func_vsnprintf" = "yes"; then
30531 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
30532 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
30533 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30537 cat >conftest.
$ac_ext <<_ACEOF
30540 cat confdefs.h
>>conftest.
$ac_ext
30541 cat >>conftest.
$ac_ext <<_ACEOF
30542 /* end confdefs.h. */
30545 #include <stdarg.h>
30553 vsnprintf(buf, 10u, "%s", ap);
30559 rm -f conftest.
$ac_objext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30561 (eval $ac_compile) 2>conftest.er1
30563 grep -v '^ *+' conftest.er1
>conftest.err
30565 cat conftest.err
>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } &&
30568 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30570 (eval $ac_try) 2>&5
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); }; } &&
30574 { ac_try
='test -s conftest.$ac_objext'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; }; then
30580 wx_cv_func_vsnprintf_decl
=yes
30582 echo "$as_me: failed program was:" >&5
30583 sed 's/^/| /' conftest.
$ac_ext >&5
30586 cat >conftest.
$ac_ext <<_ACEOF
30589 cat confdefs.h
>>conftest.
$ac_ext
30590 cat >>conftest.
$ac_ext <<_ACEOF
30591 /* end confdefs.h. */
30594 #include <stdarg.h>
30595 using namespace std;
30603 vsnprintf(buf, 10u, "%s", ap);
30609 rm -f conftest.
$ac_objext
30610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30611 (eval $ac_compile) 2>conftest.er1
30613 grep -v '^ *+' conftest.er1
>conftest.err
30615 cat conftest.err
>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); } &&
30618 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30620 (eval $ac_try) 2>&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); }; } &&
30624 { ac_try
='test -s conftest.$ac_objext'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; }; then
30630 wx_cv_func_vsnprintf_decl
=yes
30632 echo "$as_me: failed program was:" >&5
30633 sed 's/^/| /' conftest.
$ac_ext >&5
30635 wx_cv_func_vsnprintf_decl
=no
30638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30646 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
30647 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
30649 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
30650 cat >>confdefs.h
<<\_ACEOF
30651 #define HAVE_VSNPRINTF_DECL 1
30657 if test "$wxUSE_UNICODE" = yes; then
30664 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
30666 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30667 echo "$as_me:$LINENO: checking for $ac_func" >&5
30668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30669 if eval "test \"\${$as_ac_var+set}\" = set"; then
30670 echo $ECHO_N "(cached) $ECHO_C" >&6
30672 cat >conftest.
$ac_ext <<_ACEOF
30675 cat confdefs.h
>>conftest.
$ac_ext
30676 cat >>conftest.
$ac_ext <<_ACEOF
30677 /* end confdefs.h. */
30678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30680 #define $ac_func innocuous_$ac_func
30682 /* System header to define __stub macros and hopefully few prototypes,
30683 which can conflict with char $ac_func (); below.
30684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30685 <limits.h> exists even on freestanding compilers. */
30688 # include <limits.h>
30690 # include <assert.h>
30695 /* Override any gcc2 internal prototype to avoid an error. */
30700 /* We use char because int might match the return type of a gcc2
30701 builtin and then its argument prototype would still apply. */
30703 /* The GNU C library defines this for functions which it implements
30704 to always fail with ENOSYS. Some functions are actually named
30705 something starting with __ and the normal name is an alias. */
30706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30709 char (*f) () = $ac_func;
30718 return f != $ac_func;
30723 rm -f conftest.
$ac_objext conftest
$ac_exeext
30724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30725 (eval $ac_link) 2>conftest.er1
30727 grep -v '^ *+' conftest.er1
>conftest.err
30729 cat conftest.err
>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } &&
30732 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; } &&
30738 { ac_try
='test -s conftest$ac_exeext'
30739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30740 (eval $ac_try) 2>&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); }; }; then
30744 eval "$as_ac_var=yes"
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.
$ac_ext >&5
30749 eval "$as_ac_var=no"
30751 rm -f conftest.err conftest.
$ac_objext \
30752 conftest
$ac_exeext conftest.
$ac_ext
30754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30756 if test `eval echo '${'$as_ac_var'}'` = yes; then
30757 cat >>confdefs.h
<<_ACEOF
30758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30765 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
30766 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
30767 cat >conftest.
$ac_ext <<_ACEOF
30770 cat confdefs.h
>>conftest.
$ac_ext
30771 cat >>conftest.
$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30782 rm -f conftest.
$ac_objext
30783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30784 (eval $ac_compile) 2>conftest.er1
30786 grep -v '^ *+' conftest.er1
>conftest.err
30788 cat conftest.err
>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; } &&
30797 { ac_try
='test -s conftest.$ac_objext'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; }; then
30803 echo "$as_me:$LINENO: result: yes" >&5
30804 echo "${ECHO_T}yes" >&6
30805 cat >>confdefs.h
<<\_ACEOF
30806 #define HAVE__VSNWPRINTF 1
30810 echo "$as_me: failed program was:" >&5
30811 sed 's/^/| /' conftest.
$ac_ext >&5
30813 echo "$as_me:$LINENO: result: no" >&5
30814 echo "${ECHO_T}no" >&6
30816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30820 ac_cpp
='$CPP $CPPFLAGS'
30821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30828 if test "$TOOLKIT" != "MSW"; then
30834 ac_cpp
='$CXXCPP $CPPFLAGS'
30835 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30842 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
30843 if test "${with_libiconv_prefix+set}" = set; then
30844 withval
="$with_libiconv_prefix"
30846 for dir
in `echo "$withval" | tr : ' '`; do
30847 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30848 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30853 echo "$as_me:$LINENO: checking for iconv" >&5
30854 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
30855 if test "${am_cv_func_iconv+set}" = set; then
30856 echo $ECHO_N "(cached) $ECHO_C" >&6
30859 am_cv_func_iconv
="no, consider installing GNU libiconv"
30861 cat >conftest.
$ac_ext <<_ACEOF
30864 cat confdefs.h
>>conftest.
$ac_ext
30865 cat >>conftest.
$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30867 #include <stdlib.h>
30872 iconv_t cd = iconv_open("","");
30873 iconv(cd,NULL,NULL,NULL,NULL);
30879 rm -f conftest.
$ac_objext conftest
$ac_exeext
30880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30881 (eval $ac_link) 2>conftest.er1
30883 grep -v '^ *+' conftest.er1
>conftest.err
30885 cat conftest.err
>&5
30886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887 (exit $ac_status); } &&
30888 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30890 (eval $ac_try) 2>&5
30892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893 (exit $ac_status); }; } &&
30894 { ac_try
='test -s conftest$ac_exeext'
30895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30896 (eval $ac_try) 2>&5
30898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30899 (exit $ac_status); }; }; then
30900 am_cv_func_iconv
=yes
30902 echo "$as_me: failed program was:" >&5
30903 sed 's/^/| /' conftest.
$ac_ext >&5
30906 rm -f conftest.err conftest.
$ac_objext \
30907 conftest
$ac_exeext conftest.
$ac_ext
30908 if test "$am_cv_func_iconv" != yes; then
30909 am_save_LIBS
="$LIBS"
30910 LIBS
="$LIBS -liconv"
30911 cat >conftest.
$ac_ext <<_ACEOF
30914 cat confdefs.h
>>conftest.
$ac_ext
30915 cat >>conftest.
$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30917 #include <stdlib.h>
30922 iconv_t cd = iconv_open("","");
30923 iconv(cd,NULL,NULL,NULL,NULL);
30929 rm -f conftest.
$ac_objext conftest
$ac_exeext
30930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30931 (eval $ac_link) 2>conftest.er1
30933 grep -v '^ *+' conftest.er1
>conftest.err
30935 cat conftest.err
>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); } &&
30938 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30940 (eval $ac_try) 2>&5
30942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 (exit $ac_status); }; } &&
30944 { ac_try
='test -s conftest$ac_exeext'
30945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30946 (eval $ac_try) 2>&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); }; }; then
30950 am_cv_lib_iconv
=yes
30951 am_cv_func_iconv
=yes
30953 echo "$as_me: failed program was:" >&5
30954 sed 's/^/| /' conftest.
$ac_ext >&5
30957 rm -f conftest.err conftest.
$ac_objext \
30958 conftest
$ac_exeext conftest.
$ac_ext
30959 LIBS
="$am_save_LIBS"
30963 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
30964 echo "${ECHO_T}$am_cv_func_iconv" >&6
30965 if test "$am_cv_func_iconv" = yes; then
30967 cat >>confdefs.h
<<\_ACEOF
30968 #define HAVE_ICONV 1
30971 echo "$as_me:$LINENO: checking if iconv needs const" >&5
30972 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
30973 if test "${wx_cv_func_iconv_const+set}" = set; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30976 cat >conftest.
$ac_ext <<_ACEOF
30979 cat confdefs.h
>>conftest.
$ac_ext
30980 cat >>conftest.
$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30983 #include <stdlib.h>
30989 #if defined(__STDC__) || defined(__cplusplus)
30990 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
31003 rm -f conftest.
$ac_objext
31004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31005 (eval $ac_compile) 2>conftest.er1
31007 grep -v '^ *+' conftest.er1
>conftest.err
31009 cat conftest.err
>&5
31010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011 (exit $ac_status); } &&
31012 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31014 (eval $ac_try) 2>&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); }; } &&
31018 { ac_try
='test -s conftest.$ac_objext'
31019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31020 (eval $ac_try) 2>&5
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); }; }; then
31024 wx_cv_func_iconv_const
="no"
31026 echo "$as_me: failed program was:" >&5
31027 sed 's/^/| /' conftest.
$ac_ext >&5
31029 wx_cv_func_iconv_const
="yes"
31032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31035 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
31036 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
31039 if test "x$wx_cv_func_iconv_const" = "xyes"; then
31040 iconv_const
="const"
31044 cat >>confdefs.h
<<_ACEOF
31045 #define ICONV_CONST $iconv_const
31050 if test "$am_cv_lib_iconv" = yes; then
31055 LIBS
="$LIBICONV $LIBS"
31057 ac_cpp
='$CPP $CPPFLAGS'
31058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31063 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31065 for ac_func
in sigaction
31067 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31068 echo "$as_me:$LINENO: checking for $ac_func" >&5
31069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31070 if eval "test \"\${$as_ac_var+set}\" = set"; then
31071 echo $ECHO_N "(cached) $ECHO_C" >&6
31073 cat >conftest.
$ac_ext <<_ACEOF
31076 cat confdefs.h
>>conftest.
$ac_ext
31077 cat >>conftest.
$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31081 #define $ac_func innocuous_$ac_func
31083 /* System header to define __stub macros and hopefully few prototypes,
31084 which can conflict with char $ac_func (); below.
31085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31086 <limits.h> exists even on freestanding compilers. */
31089 # include <limits.h>
31091 # include <assert.h>
31096 /* Override any gcc2 internal prototype to avoid an error. */
31101 /* We use char because int might match the return type of a gcc2
31102 builtin and then its argument prototype would still apply. */
31104 /* The GNU C library defines this for functions which it implements
31105 to always fail with ENOSYS. Some functions are actually named
31106 something starting with __ and the normal name is an alias. */
31107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31110 char (*f) () = $ac_func;
31119 return f != $ac_func;
31124 rm -f conftest.
$ac_objext conftest
$ac_exeext
31125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31126 (eval $ac_link) 2>conftest.er1
31128 grep -v '^ *+' conftest.er1
>conftest.err
31130 cat conftest.err
>&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); } &&
31133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; } &&
31139 { ac_try
='test -s conftest$ac_exeext'
31140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31141 (eval $ac_try) 2>&5
31143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31144 (exit $ac_status); }; }; then
31145 eval "$as_ac_var=yes"
31147 echo "$as_me: failed program was:" >&5
31148 sed 's/^/| /' conftest.
$ac_ext >&5
31150 eval "$as_ac_var=no"
31152 rm -f conftest.err conftest.
$ac_objext \
31153 conftest
$ac_exeext conftest.
$ac_ext
31155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31157 if test `eval echo '${'$as_ac_var'}'` = yes; then
31158 cat >>confdefs.h
<<_ACEOF
31159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31166 if test "$ac_cv_func_sigaction" = "no"; then
31167 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
31168 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
31169 wxUSE_ON_FATAL_EXCEPTION
=no
31172 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31176 ac_cpp
='$CXXCPP $CPPFLAGS'
31177 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31182 echo "$as_me:$LINENO: checking for sa_handler type" >&5
31183 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
31184 if test "${wx_cv_type_sa_handler+set}" = set; then
31185 echo $ECHO_N "(cached) $ECHO_C" >&6
31188 cat >conftest.
$ac_ext <<_ACEOF
31191 cat confdefs.h
>>conftest.
$ac_ext
31192 cat >>conftest.
$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194 #include <signal.h>
31199 extern void testSigHandler(int);
31201 struct sigaction sa;
31202 sa.sa_handler = testSigHandler;
31208 rm -f conftest.
$ac_objext
31209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31210 (eval $ac_compile) 2>conftest.er1
31212 grep -v '^ *+' conftest.er1
>conftest.err
31214 cat conftest.err
>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); } &&
31217 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; } &&
31223 { ac_try
='test -s conftest.$ac_objext'
31224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225 (eval $ac_try) 2>&5
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; }; then
31230 wx_cv_type_sa_handler
=int
31233 echo "$as_me: failed program was:" >&5
31234 sed 's/^/| /' conftest.
$ac_ext >&5
31237 wx_cv_type_sa_handler
=void
31240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31243 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
31244 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
31247 ac_cpp
='$CPP $CPPFLAGS'
31248 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31253 cat >>confdefs.h
<<_ACEOF
31254 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
31260 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
31264 ac_cpp
='$CXXCPP $CPPFLAGS'
31265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31270 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
31271 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
31272 if test "${wx_cv_func_backtrace+set}" = set; then
31273 echo $ECHO_N "(cached) $ECHO_C" >&6
31276 cat >conftest.
$ac_ext <<_ACEOF
31279 cat confdefs.h
>>conftest.
$ac_ext
31280 cat >>conftest.
$ac_ext <<_ACEOF
31281 /* end confdefs.h. */
31282 #include <execinfo.h>
31290 backtrace(trace, 1);
31291 messages = backtrace_symbols(trace, 1);
31297 rm -f conftest.
$ac_objext
31298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31299 (eval $ac_compile) 2>conftest.er1
31301 grep -v '^ *+' conftest.er1
>conftest.err
31303 cat conftest.err
>&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } &&
31306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; } &&
31312 { ac_try
='test -s conftest.$ac_objext'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; }; then
31318 wx_cv_func_backtrace
=yes
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.
$ac_ext >&5
31323 wx_cv_func_backtrace
=no
31326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31330 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
31331 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
31334 if test "$wx_cv_func_backtrace" = "no"; then
31335 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
31336 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
31337 wxUSE_STACKWALKER
=no
31339 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
31340 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
31341 if test "${wx_cv_func_cxa_demangle+set}" = set; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31345 cat >conftest.
$ac_ext <<_ACEOF
31348 cat confdefs.h
>>conftest.
$ac_ext
31349 cat >>conftest.
$ac_ext <<_ACEOF
31350 /* end confdefs.h. */
31351 #include <cxxabi.h>
31357 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
31363 rm -f conftest.
$ac_objext
31364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31365 (eval $ac_compile) 2>conftest.er1
31367 grep -v '^ *+' conftest.er1
>conftest.err
31369 cat conftest.err
>&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); } &&
31372 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31374 (eval $ac_try) 2>&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); }; } &&
31378 { ac_try
='test -s conftest.$ac_objext'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; }; then
31384 wx_cv_func_cxa_demangle
=yes
31386 echo "$as_me: failed program was:" >&5
31387 sed 's/^/| /' conftest.
$ac_ext >&5
31389 wx_cv_func_cxa_demangle
=no
31392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31396 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
31397 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
31399 if test "$wx_cv_func_cxa_demangle" = "yes"; then
31400 cat >>confdefs.h
<<\_ACEOF
31401 #define HAVE_CXA_DEMANGLE 1
31408 ac_cpp
='$CPP $CPPFLAGS'
31409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31417 for ac_func
in mkstemp mktemp
31419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31420 echo "$as_me:$LINENO: checking for $ac_func" >&5
31421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31422 if eval "test \"\${$as_ac_var+set}\" = set"; then
31423 echo $ECHO_N "(cached) $ECHO_C" >&6
31425 cat >conftest.
$ac_ext <<_ACEOF
31428 cat confdefs.h
>>conftest.
$ac_ext
31429 cat >>conftest.
$ac_ext <<_ACEOF
31430 /* end confdefs.h. */
31431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31433 #define $ac_func innocuous_$ac_func
31435 /* System header to define __stub macros and hopefully few prototypes,
31436 which can conflict with char $ac_func (); below.
31437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31438 <limits.h> exists even on freestanding compilers. */
31441 # include <limits.h>
31443 # include <assert.h>
31448 /* Override any gcc2 internal prototype to avoid an error. */
31453 /* We use char because int might match the return type of a gcc2
31454 builtin and then its argument prototype would still apply. */
31456 /* The GNU C library defines this for functions which it implements
31457 to always fail with ENOSYS. Some functions are actually named
31458 something starting with __ and the normal name is an alias. */
31459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31462 char (*f) () = $ac_func;
31471 return f != $ac_func;
31476 rm -f conftest.
$ac_objext conftest
$ac_exeext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478 (eval $ac_link) 2>conftest.er1
31480 grep -v '^ *+' conftest.er1
>conftest.err
31482 cat conftest.err
>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } &&
31485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; } &&
31491 { ac_try
='test -s conftest$ac_exeext'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; }; then
31497 eval "$as_ac_var=yes"
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.
$ac_ext >&5
31502 eval "$as_ac_var=no"
31504 rm -f conftest.err conftest.
$ac_objext \
31505 conftest
$ac_exeext conftest.
$ac_ext
31507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31509 if test `eval echo '${'$as_ac_var'}'` = yes; then
31510 cat >>confdefs.h
<<_ACEOF
31511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31518 echo "$as_me:$LINENO: checking for statfs" >&5
31519 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
31520 if test "${wx_cv_func_statfs+set}" = set; then
31521 echo $ECHO_N "(cached) $ECHO_C" >&6
31523 cat >conftest.
$ac_ext <<_ACEOF
31526 cat confdefs.h
>>conftest.
$ac_ext
31527 cat >>conftest.
$ac_ext <<_ACEOF
31528 /* end confdefs.h. */
31530 #if defined(__BSD__)
31531 #include <sys/param.h>
31532 #include <sys/mount.h>
31534 #include <sys/vfs.h>
31552 rm -f conftest.
$ac_objext
31553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31554 (eval $ac_compile) 2>conftest.er1
31556 grep -v '^ *+' conftest.er1
>conftest.err
31558 cat conftest.err
>&5
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); } &&
31561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31563 (eval $ac_try) 2>&5
31565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31566 (exit $ac_status); }; } &&
31567 { ac_try
='test -s conftest.$ac_objext'
31568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31569 (eval $ac_try) 2>&5
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); }; }; then
31574 wx_cv_func_statfs
=yes
31577 echo "$as_me: failed program was:" >&5
31578 sed 's/^/| /' conftest.
$ac_ext >&5
31581 wx_cv_func_statfs
=no
31585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31588 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
31589 echo "${ECHO_T}$wx_cv_func_statfs" >&6
31591 if test "$wx_cv_func_statfs" = "yes"; then
31592 wx_cv_type_statvfs_t
="struct statfs"
31593 cat >>confdefs.h
<<\_ACEOF
31594 #define HAVE_STATFS 1
31598 echo "$as_me:$LINENO: checking for statvfs" >&5
31599 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
31600 if test "${wx_cv_func_statvfs+set}" = set; then
31601 echo $ECHO_N "(cached) $ECHO_C" >&6
31603 cat >conftest.
$ac_ext <<_ACEOF
31606 cat confdefs.h
>>conftest.
$ac_ext
31607 cat >>conftest.
$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31610 #include <stddef.h>
31611 #include <sys/statvfs.h>
31617 statvfs("/", NULL);
31623 rm -f conftest.
$ac_objext
31624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31625 (eval $ac_compile) 2>conftest.er1
31627 grep -v '^ *+' conftest.er1
>conftest.err
31629 cat conftest.err
>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } &&
31632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31634 (eval $ac_try) 2>&5
31636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637 (exit $ac_status); }; } &&
31638 { ac_try
='test -s conftest.$ac_objext'
31639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31640 (eval $ac_try) 2>&5
31642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31643 (exit $ac_status); }; }; then
31644 wx_cv_func_statvfs
=yes
31646 echo "$as_me: failed program was:" >&5
31647 sed 's/^/| /' conftest.
$ac_ext >&5
31649 wx_cv_func_statvfs
=no
31652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31655 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
31656 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
31658 if test "$wx_cv_func_statvfs" = "yes"; then
31662 ac_cpp
='$CXXCPP $CPPFLAGS'
31663 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31664 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31665 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31668 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
31669 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
31670 if test "${wx_cv_type_statvfs_t+set}" = set; then
31671 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. */
31680 #include <sys/statvfs.h>
31697 rm -f conftest.
$ac_objext
31698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31699 (eval $ac_compile) 2>conftest.er1
31701 grep -v '^ *+' conftest.er1
>conftest.err
31703 cat conftest.err
>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); } &&
31706 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; } &&
31712 { ac_try
='test -s conftest.$ac_objext'
31713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31714 (eval $ac_try) 2>&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); }; }; then
31718 wx_cv_type_statvfs_t
=statvfs_t
31720 echo "$as_me: failed program was:" >&5
31721 sed 's/^/| /' conftest.
$ac_ext >&5
31724 cat >conftest.
$ac_ext <<_ACEOF
31727 cat confdefs.h
>>conftest.
$ac_ext
31728 cat >>conftest.
$ac_ext <<_ACEOF
31729 /* end confdefs.h. */
31731 #include <sys/statvfs.h>
31748 rm -f conftest.
$ac_objext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31750 (eval $ac_compile) 2>conftest.er1
31752 grep -v '^ *+' conftest.er1
>conftest.err
31754 cat conftest.err
>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); } &&
31757 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31759 (eval $ac_try) 2>&5
31761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31762 (exit $ac_status); }; } &&
31763 { ac_try
='test -s conftest.$ac_objext'
31764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31765 (eval $ac_try) 2>&5
31767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31768 (exit $ac_status); }; }; then
31769 wx_cv_type_statvfs_t
="struct statvfs"
31771 echo "$as_me: failed program was:" >&5
31772 sed 's/^/| /' conftest.
$ac_ext >&5
31774 wx_cv_type_statvfs_t
="unknown"
31777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31784 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
31785 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
31788 ac_cpp
='$CPP $CPPFLAGS'
31789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31794 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31795 cat >>confdefs.h
<<\_ACEOF
31796 #define HAVE_STATVFS 1
31801 wx_cv_type_statvfs_t
="unknown"
31805 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31806 cat >>confdefs.h
<<_ACEOF
31807 #define WX_STATFS_T $wx_cv_type_statvfs_t
31811 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31812 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31815 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31818 for ac_func
in fcntl flock
31820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31821 echo "$as_me:$LINENO: checking for $ac_func" >&5
31822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31823 if eval "test \"\${$as_ac_var+set}\" = set"; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 cat >conftest.
$ac_ext <<_ACEOF
31829 cat confdefs.h
>>conftest.
$ac_ext
31830 cat >>conftest.
$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31834 #define $ac_func innocuous_$ac_func
31836 /* System header to define __stub macros and hopefully few prototypes,
31837 which can conflict with char $ac_func (); below.
31838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31839 <limits.h> exists even on freestanding compilers. */
31842 # include <limits.h>
31844 # include <assert.h>
31849 /* Override any gcc2 internal prototype to avoid an error. */
31854 /* We use char because int might match the return type of a gcc2
31855 builtin and then its argument prototype would still apply. */
31857 /* The GNU C library defines this for functions which it implements
31858 to always fail with ENOSYS. Some functions are actually named
31859 something starting with __ and the normal name is an alias. */
31860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31863 char (*f) () = $ac_func;
31872 return f != $ac_func;
31877 rm -f conftest.
$ac_objext conftest
$ac_exeext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31879 (eval $ac_link) 2>conftest.er1
31881 grep -v '^ *+' conftest.er1
>conftest.err
31883 cat conftest.err
>&5
31884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31885 (exit $ac_status); } &&
31886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31888 (eval $ac_try) 2>&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); }; } &&
31892 { ac_try
='test -s conftest$ac_exeext'
31893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31894 (eval $ac_try) 2>&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); }; }; then
31898 eval "$as_ac_var=yes"
31900 echo "$as_me: failed program was:" >&5
31901 sed 's/^/| /' conftest.
$ac_ext >&5
31903 eval "$as_ac_var=no"
31905 rm -f conftest.err conftest.
$ac_objext \
31906 conftest
$ac_exeext conftest.
$ac_ext
31908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31910 if test `eval echo '${'$as_ac_var'}'` = yes; then
31911 cat >>confdefs.h
<<_ACEOF
31912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31919 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31920 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
31921 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31922 wxUSE_SNGLINST_CHECKER
=no
31927 for ac_func
in timegm
31929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31930 echo "$as_me:$LINENO: checking for $ac_func" >&5
31931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31932 if eval "test \"\${$as_ac_var+set}\" = set"; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31935 cat >conftest.
$ac_ext <<_ACEOF
31938 cat confdefs.h
>>conftest.
$ac_ext
31939 cat >>conftest.
$ac_ext <<_ACEOF
31940 /* end confdefs.h. */
31941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31943 #define $ac_func innocuous_$ac_func
31945 /* System header to define __stub macros and hopefully few prototypes,
31946 which can conflict with char $ac_func (); below.
31947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31948 <limits.h> exists even on freestanding compilers. */
31951 # include <limits.h>
31953 # include <assert.h>
31958 /* Override any gcc2 internal prototype to avoid an error. */
31963 /* We use char because int might match the return type of a gcc2
31964 builtin and then its argument prototype would still apply. */
31966 /* The GNU C library defines this for functions which it implements
31967 to always fail with ENOSYS. Some functions are actually named
31968 something starting with __ and the normal name is an alias. */
31969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31972 char (*f) () = $ac_func;
31981 return f != $ac_func;
31986 rm -f conftest.
$ac_objext conftest
$ac_exeext
31987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31988 (eval $ac_link) 2>conftest.er1
31990 grep -v '^ *+' conftest.er1
>conftest.err
31992 cat conftest.err
>&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); } &&
31995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31997 (eval $ac_try) 2>&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); }; } &&
32001 { ac_try
='test -s conftest$ac_exeext'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; }; then
32007 eval "$as_ac_var=yes"
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.
$ac_ext >&5
32012 eval "$as_ac_var=no"
32014 rm -f conftest.err conftest.
$ac_objext \
32015 conftest
$ac_exeext conftest.
$ac_ext
32017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32019 if test `eval echo '${'$as_ac_var'}'` = yes; then
32020 cat >>confdefs.h
<<_ACEOF
32021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32030 for ac_func
in putenv setenv
32032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32033 echo "$as_me:$LINENO: checking for $ac_func" >&5
32034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32035 if eval "test \"\${$as_ac_var+set}\" = set"; then
32036 echo $ECHO_N "(cached) $ECHO_C" >&6
32038 cat >conftest.
$ac_ext <<_ACEOF
32041 cat confdefs.h
>>conftest.
$ac_ext
32042 cat >>conftest.
$ac_ext <<_ACEOF
32043 /* end confdefs.h. */
32044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32046 #define $ac_func innocuous_$ac_func
32048 /* System header to define __stub macros and hopefully few prototypes,
32049 which can conflict with char $ac_func (); below.
32050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32051 <limits.h> exists even on freestanding compilers. */
32054 # include <limits.h>
32056 # include <assert.h>
32061 /* Override any gcc2 internal prototype to avoid an error. */
32066 /* We use char because int might match the return type of a gcc2
32067 builtin and then its argument prototype would still apply. */
32069 /* The GNU C library defines this for functions which it implements
32070 to always fail with ENOSYS. Some functions are actually named
32071 something starting with __ and the normal name is an alias. */
32072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32075 char (*f) () = $ac_func;
32084 return f != $ac_func;
32089 rm -f conftest.
$ac_objext conftest
$ac_exeext
32090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32091 (eval $ac_link) 2>conftest.er1
32093 grep -v '^ *+' conftest.er1
>conftest.err
32095 cat conftest.err
>&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try
='test -s conftest$ac_exeext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32110 eval "$as_ac_var=yes"
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.
$ac_ext >&5
32115 eval "$as_ac_var=no"
32117 rm -f conftest.err conftest.
$ac_objext \
32118 conftest
$ac_exeext conftest.
$ac_ext
32120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32122 if test `eval echo '${'$as_ac_var'}'` = yes; then
32123 cat >>confdefs.h
<<_ACEOF
32124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32131 HAVE_SOME_SLEEP_FUNC
=0
32132 if test "$USE_BEOS" = 1; then
32133 cat >>confdefs.h
<<\_ACEOF
32134 #define HAVE_SLEEP 1
32137 HAVE_SOME_SLEEP_FUNC
=1
32140 if test "$USE_DARWIN" = 1; then
32141 cat >>confdefs.h
<<\_ACEOF
32142 #define HAVE_USLEEP 1
32145 HAVE_SOME_SLEEP_FUNC
=1
32148 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
32151 for ac_func
in nanosleep
32153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32154 echo "$as_me:$LINENO: checking for $ac_func" >&5
32155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32156 if eval "test \"\${$as_ac_var+set}\" = set"; then
32157 echo $ECHO_N "(cached) $ECHO_C" >&6
32159 cat >conftest.
$ac_ext <<_ACEOF
32162 cat confdefs.h
>>conftest.
$ac_ext
32163 cat >>conftest.
$ac_ext <<_ACEOF
32164 /* end confdefs.h. */
32165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32167 #define $ac_func innocuous_$ac_func
32169 /* System header to define __stub macros and hopefully few prototypes,
32170 which can conflict with char $ac_func (); below.
32171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32172 <limits.h> exists even on freestanding compilers. */
32175 # include <limits.h>
32177 # include <assert.h>
32182 /* Override any gcc2 internal prototype to avoid an error. */
32187 /* We use char because int might match the return type of a gcc2
32188 builtin and then its argument prototype would still apply. */
32190 /* The GNU C library defines this for functions which it implements
32191 to always fail with ENOSYS. Some functions are actually named
32192 something starting with __ and the normal name is an alias. */
32193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32196 char (*f) () = $ac_func;
32205 return f != $ac_func;
32210 rm -f conftest.
$ac_objext conftest
$ac_exeext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32212 (eval $ac_link) 2>conftest.er1
32214 grep -v '^ *+' conftest.er1
>conftest.err
32216 cat conftest.err
>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; } &&
32225 { ac_try
='test -s conftest$ac_exeext'
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; }; then
32231 eval "$as_ac_var=yes"
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.
$ac_ext >&5
32236 eval "$as_ac_var=no"
32238 rm -f conftest.err conftest.
$ac_objext \
32239 conftest
$ac_exeext conftest.
$ac_ext
32241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32243 if test `eval echo '${'$as_ac_var'}'` = yes; then
32244 cat >>confdefs.h
<<_ACEOF
32245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32247 cat >>confdefs.h
<<\_ACEOF
32248 #define HAVE_NANOSLEEP 1
32253 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
32254 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
32255 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32258 ac_check_lib_save_LIBS
=$LIBS
32259 LIBS
="-lposix4 $LIBS"
32260 cat >conftest.
$ac_ext <<_ACEOF
32263 cat confdefs.h
>>conftest.
$ac_ext
32264 cat >>conftest.
$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32267 /* Override any gcc2 internal prototype to avoid an error. */
32271 /* We use char because int might match the return type of a gcc2
32272 builtin and then its argument prototype would still apply. */
32282 rm -f conftest.
$ac_objext conftest
$ac_exeext
32283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32284 (eval $ac_link) 2>conftest.er1
32286 grep -v '^ *+' conftest.er1
>conftest.err
32288 cat conftest.err
>&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; } &&
32297 { ac_try
='test -s conftest$ac_exeext'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; }; then
32303 ac_cv_lib_posix4_nanosleep
=yes
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.
$ac_ext >&5
32308 ac_cv_lib_posix4_nanosleep
=no
32310 rm -f conftest.err conftest.
$ac_objext \
32311 conftest
$ac_exeext conftest.
$ac_ext
32312 LIBS
=$ac_check_lib_save_LIBS
32314 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
32315 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
32316 if test $ac_cv_lib_posix4_nanosleep = yes; then
32318 cat >>confdefs.h
<<\_ACEOF
32319 #define HAVE_NANOSLEEP 1
32322 POSIX4_LINK
=" -lposix4"
32327 for ac_func
in usleep
32329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32330 echo "$as_me:$LINENO: checking for $ac_func" >&5
32331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32332 if eval "test \"\${$as_ac_var+set}\" = set"; then
32333 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 cat >conftest.
$ac_ext <<_ACEOF
32338 cat confdefs.h
>>conftest.
$ac_ext
32339 cat >>conftest.
$ac_ext <<_ACEOF
32340 /* end confdefs.h. */
32341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32343 #define $ac_func innocuous_$ac_func
32345 /* System header to define __stub macros and hopefully few prototypes,
32346 which can conflict with char $ac_func (); below.
32347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32348 <limits.h> exists even on freestanding compilers. */
32351 # include <limits.h>
32353 # include <assert.h>
32358 /* Override any gcc2 internal prototype to avoid an error. */
32363 /* We use char because int might match the return type of a gcc2
32364 builtin and then its argument prototype would still apply. */
32366 /* The GNU C library defines this for functions which it implements
32367 to always fail with ENOSYS. Some functions are actually named
32368 something starting with __ and the normal name is an alias. */
32369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32372 char (*f) () = $ac_func;
32381 return f != $ac_func;
32386 rm -f conftest.
$ac_objext conftest
$ac_exeext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32388 (eval $ac_link) 2>conftest.er1
32390 grep -v '^ *+' conftest.er1
>conftest.err
32392 cat conftest.err
>&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); } &&
32395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32397 (eval $ac_try) 2>&5
32399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32400 (exit $ac_status); }; } &&
32401 { ac_try
='test -s conftest$ac_exeext'
32402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32403 (eval $ac_try) 2>&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); }; }; then
32407 eval "$as_ac_var=yes"
32409 echo "$as_me: failed program was:" >&5
32410 sed 's/^/| /' conftest.
$ac_ext >&5
32412 eval "$as_ac_var=no"
32414 rm -f conftest.err conftest.
$ac_objext \
32415 conftest
$ac_exeext conftest.
$ac_ext
32417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32419 if test `eval echo '${'$as_ac_var'}'` = yes; then
32420 cat >>confdefs.h
<<_ACEOF
32421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define HAVE_USLEEP 1
32428 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
32429 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
32447 for ac_func
in uname gethostname
32449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32450 echo "$as_me:$LINENO: checking for $ac_func" >&5
32451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32452 if eval "test \"\${$as_ac_var+set}\" = set"; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32455 cat >conftest.
$ac_ext <<_ACEOF
32458 cat confdefs.h
>>conftest.
$ac_ext
32459 cat >>conftest.
$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32463 #define $ac_func innocuous_$ac_func
32465 /* System header to define __stub macros and hopefully few prototypes,
32466 which can conflict with char $ac_func (); below.
32467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32468 <limits.h> exists even on freestanding compilers. */
32471 # include <limits.h>
32473 # include <assert.h>
32478 /* Override any gcc2 internal prototype to avoid an error. */
32483 /* We use char because int might match the return type of a gcc2
32484 builtin and then its argument prototype would still apply. */
32486 /* The GNU C library defines this for functions which it implements
32487 to always fail with ENOSYS. Some functions are actually named
32488 something starting with __ and the normal name is an alias. */
32489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32492 char (*f) () = $ac_func;
32501 return f != $ac_func;
32506 rm -f conftest.
$ac_objext conftest
$ac_exeext
32507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32508 (eval $ac_link) 2>conftest.er1
32510 grep -v '^ *+' conftest.er1
>conftest.err
32512 cat conftest.err
>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); } &&
32515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; } &&
32521 { ac_try
='test -s conftest$ac_exeext'
32522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 (eval $ac_try) 2>&5
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); }; }; then
32527 eval "$as_ac_var=yes"
32529 echo "$as_me: failed program was:" >&5
32530 sed 's/^/| /' conftest.
$ac_ext >&5
32532 eval "$as_ac_var=no"
32534 rm -f conftest.err conftest.
$ac_objext \
32535 conftest
$ac_exeext conftest.
$ac_ext
32537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32539 if test `eval echo '${'$as_ac_var'}'` = yes; then
32540 cat >>confdefs.h
<<_ACEOF
32541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32551 ac_cpp
='$CXXCPP $CPPFLAGS'
32552 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32553 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32554 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32558 for ac_func
in strtok_r
32560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32561 echo "$as_me:$LINENO: checking for $ac_func" >&5
32562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32563 if eval "test \"\${$as_ac_var+set}\" = set"; then
32564 echo $ECHO_N "(cached) $ECHO_C" >&6
32566 cat >conftest.
$ac_ext <<_ACEOF
32569 cat confdefs.h
>>conftest.
$ac_ext
32570 cat >>conftest.
$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32574 #define $ac_func innocuous_$ac_func
32576 /* System header to define __stub macros and hopefully few prototypes,
32577 which can conflict with char $ac_func (); below.
32578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32579 <limits.h> exists even on freestanding compilers. */
32582 # include <limits.h>
32584 # include <assert.h>
32589 /* Override any gcc2 internal prototype to avoid an error. */
32594 /* We use char because int might match the return type of a gcc2
32595 builtin and then its argument prototype would still apply. */
32597 /* The GNU C library defines this for functions which it implements
32598 to always fail with ENOSYS. Some functions are actually named
32599 something starting with __ and the normal name is an alias. */
32600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32603 char (*f) () = $ac_func;
32612 return f != $ac_func;
32617 rm -f conftest.
$ac_objext conftest
$ac_exeext
32618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32619 (eval $ac_link) 2>conftest.er1
32621 grep -v '^ *+' conftest.er1
>conftest.err
32623 cat conftest.err
>&5
32624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32625 (exit $ac_status); } &&
32626 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32628 (eval $ac_try) 2>&5
32630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32631 (exit $ac_status); }; } &&
32632 { ac_try
='test -s conftest$ac_exeext'
32633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32634 (eval $ac_try) 2>&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); }; }; then
32638 eval "$as_ac_var=yes"
32640 echo "$as_me: failed program was:" >&5
32641 sed 's/^/| /' conftest.
$ac_ext >&5
32643 eval "$as_ac_var=no"
32645 rm -f conftest.err conftest.
$ac_objext \
32646 conftest
$ac_exeext conftest.
$ac_ext
32648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32650 if test `eval echo '${'$as_ac_var'}'` = yes; then
32651 cat >>confdefs.h
<<_ACEOF
32652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32660 ac_cpp
='$CPP $CPPFLAGS'
32661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32668 for ac_func
in inet_addr
32670 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32671 echo "$as_me:$LINENO: checking for $ac_func" >&5
32672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32673 if eval "test \"\${$as_ac_var+set}\" = set"; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 cat >conftest.
$ac_ext <<_ACEOF
32679 cat confdefs.h
>>conftest.
$ac_ext
32680 cat >>conftest.
$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32684 #define $ac_func innocuous_$ac_func
32686 /* System header to define __stub macros and hopefully few prototypes,
32687 which can conflict with char $ac_func (); below.
32688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689 <limits.h> exists even on freestanding compilers. */
32692 # include <limits.h>
32694 # include <assert.h>
32699 /* Override any gcc2 internal prototype to avoid an error. */
32704 /* We use char because int might match the return type of a gcc2
32705 builtin and then its argument prototype would still apply. */
32707 /* The GNU C library defines this for functions which it implements
32708 to always fail with ENOSYS. Some functions are actually named
32709 something starting with __ and the normal name is an alias. */
32710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32713 char (*f) () = $ac_func;
32722 return f != $ac_func;
32727 rm -f conftest.
$ac_objext conftest
$ac_exeext
32728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32729 (eval $ac_link) 2>conftest.er1
32731 grep -v '^ *+' conftest.er1
>conftest.err
32733 cat conftest.err
>&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); } &&
32736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32738 (eval $ac_try) 2>&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); }; } &&
32742 { ac_try
='test -s conftest$ac_exeext'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; }; then
32748 eval "$as_ac_var=yes"
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.
$ac_ext >&5
32753 eval "$as_ac_var=no"
32755 rm -f conftest.err conftest.
$ac_objext \
32756 conftest
$ac_exeext conftest.
$ac_ext
32758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32760 if test `eval echo '${'$as_ac_var'}'` = yes; then
32761 cat >>confdefs.h
<<_ACEOF
32762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32764 cat >>confdefs.h
<<\_ACEOF
32765 #define HAVE_INET_ADDR 1
32770 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
32771 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
32772 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 ac_check_lib_save_LIBS
=$LIBS
32777 cat >conftest.
$ac_ext <<_ACEOF
32780 cat confdefs.h
>>conftest.
$ac_ext
32781 cat >>conftest.
$ac_ext <<_ACEOF
32782 /* end confdefs.h. */
32784 /* Override any gcc2 internal prototype to avoid an error. */
32788 /* We use char because int might match the return type of a gcc2
32789 builtin and then its argument prototype would still apply. */
32799 rm -f conftest.
$ac_objext conftest
$ac_exeext
32800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32801 (eval $ac_link) 2>conftest.er1
32803 grep -v '^ *+' conftest.er1
>conftest.err
32805 cat conftest.err
>&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } &&
32808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; } &&
32814 { ac_try
='test -s conftest$ac_exeext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 ac_cv_lib_nsl_inet_addr
=yes
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.
$ac_ext >&5
32825 ac_cv_lib_nsl_inet_addr
=no
32827 rm -f conftest.err conftest.
$ac_objext \
32828 conftest
$ac_exeext conftest.
$ac_ext
32829 LIBS
=$ac_check_lib_save_LIBS
32831 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
32832 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
32833 if test $ac_cv_lib_nsl_inet_addr = yes; then
32837 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
32838 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
32839 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 ac_check_lib_save_LIBS
=$LIBS
32843 LIBS
="-lresolv $LIBS"
32844 cat >conftest.
$ac_ext <<_ACEOF
32847 cat confdefs.h
>>conftest.
$ac_ext
32848 cat >>conftest.
$ac_ext <<_ACEOF
32849 /* end confdefs.h. */
32851 /* Override any gcc2 internal prototype to avoid an error. */
32855 /* We use char because int might match the return type of a gcc2
32856 builtin and then its argument prototype would still apply. */
32866 rm -f conftest.
$ac_objext conftest
$ac_exeext
32867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32868 (eval $ac_link) 2>conftest.er1
32870 grep -v '^ *+' conftest.er1
>conftest.err
32872 cat conftest.err
>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } &&
32875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877 (eval $ac_try) 2>&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; } &&
32881 { ac_try
='test -s conftest$ac_exeext'
32882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32883 (eval $ac_try) 2>&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); }; }; then
32887 ac_cv_lib_resolv_inet_addr
=yes
32889 echo "$as_me: failed program was:" >&5
32890 sed 's/^/| /' conftest.
$ac_ext >&5
32892 ac_cv_lib_resolv_inet_addr
=no
32894 rm -f conftest.err conftest.
$ac_objext \
32895 conftest
$ac_exeext conftest.
$ac_ext
32896 LIBS
=$ac_check_lib_save_LIBS
32898 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
32899 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
32900 if test $ac_cv_lib_resolv_inet_addr = yes; then
32904 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
32905 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
32906 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
32907 echo $ECHO_N "(cached) $ECHO_C" >&6
32909 ac_check_lib_save_LIBS
=$LIBS
32910 LIBS
="-lsocket $LIBS"
32911 cat >conftest.
$ac_ext <<_ACEOF
32914 cat confdefs.h
>>conftest.
$ac_ext
32915 cat >>conftest.
$ac_ext <<_ACEOF
32916 /* end confdefs.h. */
32918 /* Override any gcc2 internal prototype to avoid an error. */
32922 /* We use char because int might match the return type of a gcc2
32923 builtin and then its argument prototype would still apply. */
32933 rm -f conftest.
$ac_objext conftest
$ac_exeext
32934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32935 (eval $ac_link) 2>conftest.er1
32937 grep -v '^ *+' conftest.er1
>conftest.err
32939 cat conftest.err
>&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); } &&
32942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; } &&
32948 { ac_try
='test -s conftest$ac_exeext'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; }; then
32954 ac_cv_lib_socket_inet_addr
=yes
32956 echo "$as_me: failed program was:" >&5
32957 sed 's/^/| /' conftest.
$ac_ext >&5
32959 ac_cv_lib_socket_inet_addr
=no
32961 rm -f conftest.err conftest.
$ac_objext \
32962 conftest
$ac_exeext conftest.
$ac_ext
32963 LIBS
=$ac_check_lib_save_LIBS
32965 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
32966 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
32967 if test $ac_cv_lib_socket_inet_addr = yes; then
32987 for ac_func
in inet_aton
32989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32990 echo "$as_me:$LINENO: checking for $ac_func" >&5
32991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32992 if eval "test \"\${$as_ac_var+set}\" = set"; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 cat >conftest.
$ac_ext <<_ACEOF
32998 cat confdefs.h
>>conftest.
$ac_ext
32999 cat >>conftest.
$ac_ext <<_ACEOF
33000 /* end confdefs.h. */
33001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33003 #define $ac_func innocuous_$ac_func
33005 /* System header to define __stub macros and hopefully few prototypes,
33006 which can conflict with char $ac_func (); below.
33007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33008 <limits.h> exists even on freestanding compilers. */
33011 # include <limits.h>
33013 # include <assert.h>
33018 /* Override any gcc2 internal prototype to avoid an error. */
33023 /* We use char because int might match the return type of a gcc2
33024 builtin and then its argument prototype would still apply. */
33026 /* The GNU C library defines this for functions which it implements
33027 to always fail with ENOSYS. Some functions are actually named
33028 something starting with __ and the normal name is an alias. */
33029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33032 char (*f) () = $ac_func;
33041 return f != $ac_func;
33046 rm -f conftest.
$ac_objext conftest
$ac_exeext
33047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33048 (eval $ac_link) 2>conftest.er1
33050 grep -v '^ *+' conftest.er1
>conftest.err
33052 cat conftest.err
>&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); } &&
33055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057 (eval $ac_try) 2>&5
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); }; } &&
33061 { ac_try
='test -s conftest$ac_exeext'
33062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33063 (eval $ac_try) 2>&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); }; }; then
33067 eval "$as_ac_var=yes"
33069 echo "$as_me: failed program was:" >&5
33070 sed 's/^/| /' conftest.
$ac_ext >&5
33072 eval "$as_ac_var=no"
33074 rm -f conftest.err conftest.
$ac_objext \
33075 conftest
$ac_exeext conftest.
$ac_ext
33077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33079 if test `eval echo '${'$as_ac_var'}'` = yes; then
33080 cat >>confdefs.h
<<_ACEOF
33081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33083 cat >>confdefs.h
<<\_ACEOF
33084 #define HAVE_INET_ATON 1
33089 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
33090 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
33091 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
33092 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
33093 echo $ECHO_N "(cached) $ECHO_C" >&6
33095 ac_check_lib_save_LIBS
=$LIBS
33096 LIBS
="-l$INET_LINK $LIBS"
33097 cat >conftest.
$ac_ext <<_ACEOF
33100 cat confdefs.h
>>conftest.
$ac_ext
33101 cat >>conftest.
$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33104 /* Override any gcc2 internal prototype to avoid an error. */
33108 /* We use char because int might match the return type of a gcc2
33109 builtin and then its argument prototype would still apply. */
33119 rm -f conftest.
$ac_objext conftest
$ac_exeext
33120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33121 (eval $ac_link) 2>conftest.er1
33123 grep -v '^ *+' conftest.er1
>conftest.err
33125 cat conftest.err
>&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); } &&
33128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; } &&
33134 { ac_try
='test -s conftest$ac_exeext'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; }; then
33140 eval "$as_ac_Lib=yes"
33142 echo "$as_me: failed program was:" >&5
33143 sed 's/^/| /' conftest.
$ac_ext >&5
33145 eval "$as_ac_Lib=no"
33147 rm -f conftest.err conftest.
$ac_objext \
33148 conftest
$ac_exeext conftest.
$ac_ext
33149 LIBS
=$ac_check_lib_save_LIBS
33151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
33152 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
33153 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
33154 cat >>confdefs.h
<<\_ACEOF
33155 #define HAVE_INET_ATON 1
33165 if test "x$INET_LINK" != "x"; then
33166 cat >>confdefs.h
<<\_ACEOF
33167 #define HAVE_INET_ADDR 1
33170 INET_LINK
=" -l$INET_LINK"
33178 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
33179 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
33180 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
33181 echo $ECHO_N "(cached) $ECHO_C" >&6
33183 ac_check_lib_save_LIBS
=$LIBS
33185 cat >conftest.
$ac_ext <<_ACEOF
33188 cat confdefs.h
>>conftest.
$ac_ext
33189 cat >>conftest.
$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33192 /* Override any gcc2 internal prototype to avoid an error. */
33196 /* We use char because int might match the return type of a gcc2
33197 builtin and then its argument prototype would still apply. */
33207 rm -f conftest.
$ac_objext conftest
$ac_exeext
33208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33209 (eval $ac_link) 2>conftest.er1
33211 grep -v '^ *+' conftest.er1
>conftest.err
33213 cat conftest.err
>&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } &&
33216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33218 (eval $ac_try) 2>&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; } &&
33222 { ac_try
='test -s conftest$ac_exeext'
33223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33224 (eval $ac_try) 2>&5
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); }; }; then
33228 ac_cv_lib_esd_esd_close
=yes
33230 echo "$as_me: failed program was:" >&5
33231 sed 's/^/| /' conftest.
$ac_ext >&5
33233 ac_cv_lib_esd_esd_close
=no
33235 rm -f conftest.err conftest.
$ac_objext \
33236 conftest
$ac_exeext conftest.
$ac_ext
33237 LIBS
=$ac_check_lib_save_LIBS
33239 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
33240 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
33241 if test $ac_cv_lib_esd_esd_close = yes; then
33244 for ac_header
in esd.h
33246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33248 echo "$as_me:$LINENO: checking for $ac_header" >&5
33249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33256 # Is the header compilable?
33257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33259 cat >conftest.
$ac_ext <<_ACEOF
33262 cat confdefs.h
>>conftest.
$ac_ext
33263 cat >>conftest.
$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33265 $ac_includes_default
33266 #include <$ac_header>
33268 rm -f conftest.
$ac_objext
33269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33270 (eval $ac_compile) 2>conftest.er1
33272 grep -v '^ *+' conftest.er1
>conftest.err
33274 cat conftest.err
>&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); } &&
33277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33279 (eval $ac_try) 2>&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; } &&
33283 { ac_try
='test -s conftest.$ac_objext'
33284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33285 (eval $ac_try) 2>&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); }; }; then
33289 ac_header_compiler
=yes
33291 echo "$as_me: failed program was:" >&5
33292 sed 's/^/| /' conftest.
$ac_ext >&5
33294 ac_header_compiler
=no
33296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33298 echo "${ECHO_T}$ac_header_compiler" >&6
33300 # Is the header present?
33301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33303 cat >conftest.
$ac_ext <<_ACEOF
33306 cat confdefs.h
>>conftest.
$ac_ext
33307 cat >>conftest.
$ac_ext <<_ACEOF
33308 /* end confdefs.h. */
33309 #include <$ac_header>
33311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33314 grep -v '^ *+' conftest.er1
>conftest.err
33316 cat conftest.err
>&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); } >/dev
/null
; then
33319 if test -s conftest.err
; then
33320 ac_cpp_err
=$ac_c_preproc_warn_flag
33321 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33328 if test -z "$ac_cpp_err"; then
33329 ac_header_preproc
=yes
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.
$ac_ext >&5
33334 ac_header_preproc
=no
33336 rm -f conftest.err conftest.
$ac_ext
33337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33338 echo "${ECHO_T}$ac_header_preproc" >&6
33340 # So? What about this header?
33341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33347 ac_header_preproc
=yes
33350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33364 ## ----------------------------------------- ##
33365 ## Report this to wx-dev@lists.wxwidgets.org ##
33366 ## ----------------------------------------- ##
33369 sed "s/^/$as_me: WARNING: /" >&2
33372 echo "$as_me:$LINENO: checking for $ac_header" >&5
33373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33377 eval "$as_ac_Header=\$ac_header_preproc"
33379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33384 cat >>confdefs.h
<<_ACEOF
33385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33388 EXTRALIBS_ESD
="-lesd"
33399 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
33400 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
33401 cat >conftest.
$ac_ext <<_ACEOF
33404 cat confdefs.h
>>conftest.
$ac_ext
33405 cat >>conftest.
$ac_ext <<_ACEOF
33406 /* end confdefs.h. */
33408 #include <linux/cdrom.h>
33411 #include <sys/cdio.h>
33417 struct cdrom_tocentry entry, old_entry;
33422 rm -f conftest.
$ac_objext
33423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33424 (eval $ac_compile) 2>conftest.er1
33426 grep -v '^ *+' conftest.er1
>conftest.err
33428 cat conftest.err
>&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); } &&
33431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33433 (eval $ac_try) 2>&5
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; } &&
33437 { ac_try
='test -s conftest.$ac_objext'
33438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33439 (eval $ac_try) 2>&5
33441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33442 (exit $ac_status); }; }; then
33443 echo "$as_me:$LINENO: result: yes" >&5
33444 echo "${ECHO_T}yes" >&6
33445 cat >>confdefs.h
<<\_ACEOF
33446 #define HAVE_KNOWN_CDROM_INTERFACE 1
33450 echo "$as_me: failed program was:" >&5
33451 sed 's/^/| /' conftest.
$ac_ext >&5
33453 echo "$as_me:$LINENO: result: no" >&5
33454 echo "${ECHO_T}no" >&6
33456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33459 cat >confcache
<<\_ACEOF
33460 # This file is a shell script that caches the results of configure
33461 # tests run on this system so they can be shared between configure
33462 # scripts and configure runs, see configure's option --config-cache.
33463 # It is not useful on other systems. If it contains results you don't
33464 # want to keep, you may remove or edit it.
33466 # config.status only pays attention to the cache file if you give it
33467 # the --recheck option to rerun configure.
33469 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33470 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33471 # following values.
33475 # The following way of writing the cache mishandles newlines in values,
33476 # but we know of no workaround that is simple, portable, and efficient.
33477 # So, don't put newlines in cache variables' values.
33478 # Ultrix sh set writes to stderr and can't be redirected directly,
33479 # and sets the high bit in the cache file unless we assign to the vars.
33482 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33484 # `set' does not quote correctly, so add quotes (double-quote
33485 # substitution turns \\\\ into \\, and sed turns \\ into \).
33488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33491 # `set' quotes correctly as required by POSIX, so do not add quotes.
33493 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33502 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33504 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
33505 if test -w $cache_file; then
33506 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33507 cat confcache
>$cache_file
33509 echo "not updating unwritable cache $cache_file"
33516 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33522 if test "$wxUSE_THREADS" = "yes" ; then
33523 if test "$USE_BEOS" = 1; then
33524 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
33525 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
33530 if test "$wxUSE_THREADS" = "yes" ; then
33533 THREAD_OPTS
="-pthread"
33535 *-*-solaris2* | *-*-sunos4* )
33536 if test "x$GCC" = "xyes"; then
33537 THREAD_OPTS
="-pthreads $THREAD_OPTS"
33539 THREAD_OPTS
="-mt $THREAD_OPTS"
33543 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
33545 *-*-darwin* | *-*-cygwin* )
33549 THREAD_OPTS
="pthreads"
33552 if test "x$GCC" != "xyes"; then
33558 if test "x$GCC" = "xyes"; then
33564 if test "x$GCC" != "xyes"; then
33565 THREAD_OPTS
="-Ethread"
33570 THREAD_OPTS
="$THREAD_OPTS pthread none"
33573 for flag
in $THREAD_OPTS; do
33576 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
33577 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
33581 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
33582 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
33583 THREADS_CFLAGS
="$flag"
33587 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
33588 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
33589 THREADS_LINK
="-l$flag"
33594 save_CFLAGS
="$CFLAGS"
33595 LIBS
="$THREADS_LINK $LIBS"
33596 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
33598 cat >conftest.
$ac_ext <<_ACEOF
33601 cat confdefs.h
>>conftest.
$ac_ext
33602 cat >>conftest.
$ac_ext <<_ACEOF
33603 /* end confdefs.h. */
33604 #include <pthread.h>
33608 pthread_create(0,0,0,0);
33613 rm -f conftest.
$ac_objext conftest
$ac_exeext
33614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33615 (eval $ac_link) 2>conftest.er1
33617 grep -v '^ *+' conftest.er1
>conftest.err
33619 cat conftest.err
>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } &&
33622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33624 (eval $ac_try) 2>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; } &&
33628 { ac_try
='test -s conftest$ac_exeext'
33629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33630 (eval $ac_try) 2>&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); }; }; then
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.
$ac_ext >&5
33640 rm -f conftest.err conftest.
$ac_objext \
33641 conftest
$ac_exeext conftest.
$ac_ext
33644 CFLAGS
="$save_CFLAGS"
33646 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
33647 echo "${ECHO_T}$THREADS_OK" >&6
33648 if test "x$THREADS_OK" = "xyes"; then
33656 if test "x$THREADS_OK" != "xyes"; then
33658 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
33659 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
33661 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
33662 LIBS
="$THREADS_LINK $LIBS"
33664 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
33665 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
33669 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
33670 flag
="-D_THREAD_SAFE"
33673 flag
="-D_THREAD_SAFE"
33676 flag
="-D_REENTRANT"
33677 if test "x$GCC" != "xyes"; then
33678 flag
="$flag -D_RWSTD_MULTI_THREAD"
33681 *solaris
* | alpha
*-osf*)
33682 flag
="-D_REENTRANT"
33685 echo "$as_me:$LINENO: result: ${flag}" >&5
33686 echo "${ECHO_T}${flag}" >&6
33687 if test "x$flag" != xno
; then
33688 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
33691 if test "x$THREADS_CFLAGS" != "x"; then
33692 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
33693 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
33698 if test "$wxUSE_THREADS" = "yes" ; then
33700 for ac_func
in thr_setconcurrency
33702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33703 echo "$as_me:$LINENO: checking for $ac_func" >&5
33704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33705 if eval "test \"\${$as_ac_var+set}\" = set"; then
33706 echo $ECHO_N "(cached) $ECHO_C" >&6
33708 cat >conftest.
$ac_ext <<_ACEOF
33711 cat confdefs.h
>>conftest.
$ac_ext
33712 cat >>conftest.
$ac_ext <<_ACEOF
33713 /* end confdefs.h. */
33714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33716 #define $ac_func innocuous_$ac_func
33718 /* System header to define __stub macros and hopefully few prototypes,
33719 which can conflict with char $ac_func (); below.
33720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33721 <limits.h> exists even on freestanding compilers. */
33724 # include <limits.h>
33726 # include <assert.h>
33731 /* Override any gcc2 internal prototype to avoid an error. */
33736 /* We use char because int might match the return type of a gcc2
33737 builtin and then its argument prototype would still apply. */
33739 /* The GNU C library defines this for functions which it implements
33740 to always fail with ENOSYS. Some functions are actually named
33741 something starting with __ and the normal name is an alias. */
33742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33745 char (*f) () = $ac_func;
33754 return f != $ac_func;
33759 rm -f conftest.
$ac_objext conftest
$ac_exeext
33760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33761 (eval $ac_link) 2>conftest.er1
33763 grep -v '^ *+' conftest.er1
>conftest.err
33765 cat conftest.err
>&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); } &&
33768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33770 (eval $ac_try) 2>&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); }; } &&
33774 { ac_try
='test -s conftest$ac_exeext'
33775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33776 (eval $ac_try) 2>&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); }; }; then
33780 eval "$as_ac_var=yes"
33782 echo "$as_me: failed program was:" >&5
33783 sed 's/^/| /' conftest.
$ac_ext >&5
33785 eval "$as_ac_var=no"
33787 rm -f conftest.err conftest.
$ac_objext \
33788 conftest
$ac_exeext conftest.
$ac_ext
33790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33792 if test `eval echo '${'$as_ac_var'}'` = yes; then
33793 cat >>confdefs.h
<<_ACEOF
33794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33802 for ac_header
in sched.h
33804 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33806 echo "$as_me:$LINENO: checking for $ac_header" >&5
33807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33809 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33814 # Is the header compilable?
33815 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33817 cat >conftest.
$ac_ext <<_ACEOF
33820 cat confdefs.h
>>conftest.
$ac_ext
33821 cat >>conftest.
$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823 $ac_includes_default
33824 #include <$ac_header>
33826 rm -f conftest.
$ac_objext
33827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33828 (eval $ac_compile) 2>conftest.er1
33830 grep -v '^ *+' conftest.er1
>conftest.err
33832 cat conftest.err
>&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); } &&
33835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; } &&
33841 { ac_try
='test -s conftest.$ac_objext'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; }; then
33847 ac_header_compiler
=yes
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.
$ac_ext >&5
33852 ac_header_compiler
=no
33854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33856 echo "${ECHO_T}$ac_header_compiler" >&6
33858 # Is the header present?
33859 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33861 cat >conftest.
$ac_ext <<_ACEOF
33864 cat confdefs.h
>>conftest.
$ac_ext
33865 cat >>conftest.
$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33867 #include <$ac_header>
33869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33872 grep -v '^ *+' conftest.er1
>conftest.err
33874 cat conftest.err
>&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } >/dev
/null
; then
33877 if test -s conftest.err
; then
33878 ac_cpp_err
=$ac_c_preproc_warn_flag
33879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33886 if test -z "$ac_cpp_err"; then
33887 ac_header_preproc
=yes
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.
$ac_ext >&5
33892 ac_header_preproc
=no
33894 rm -f conftest.err conftest.
$ac_ext
33895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33896 echo "${ECHO_T}$ac_header_preproc" >&6
33898 # So? What about this header?
33899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33901 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33904 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33905 ac_header_preproc
=yes
33908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33912 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33913 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33914 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33915 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33918 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33919 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33922 ## ----------------------------------------- ##
33923 ## Report this to wx-dev@lists.wxwidgets.org ##
33924 ## ----------------------------------------- ##
33927 sed "s/^/$as_me: WARNING: /" >&2
33930 echo "$as_me:$LINENO: checking for $ac_header" >&5
33931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33935 eval "$as_ac_Header=\$ac_header_preproc"
33937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33942 cat >>confdefs.h
<<_ACEOF
33943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33950 if test "$ac_cv_header_sched_h" = "yes"; then
33951 echo "$as_me:$LINENO: checking for sched_yield" >&5
33952 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
33953 if test "${ac_cv_func_sched_yield+set}" = set; then
33954 echo $ECHO_N "(cached) $ECHO_C" >&6
33956 cat >conftest.
$ac_ext <<_ACEOF
33959 cat confdefs.h
>>conftest.
$ac_ext
33960 cat >>conftest.
$ac_ext <<_ACEOF
33961 /* end confdefs.h. */
33962 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
33963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33964 #define sched_yield innocuous_sched_yield
33966 /* System header to define __stub macros and hopefully few prototypes,
33967 which can conflict with char sched_yield (); below.
33968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33969 <limits.h> exists even on freestanding compilers. */
33972 # include <limits.h>
33974 # include <assert.h>
33979 /* Override any gcc2 internal prototype to avoid an error. */
33984 /* We use char because int might match the return type of a gcc2
33985 builtin and then its argument prototype would still apply. */
33986 char sched_yield ();
33987 /* The GNU C library defines this for functions which it implements
33988 to always fail with ENOSYS. Some functions are actually named
33989 something starting with __ and the normal name is an alias. */
33990 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
33993 char (*f) () = sched_yield;
34002 return f != sched_yield;
34007 rm -f conftest.
$ac_objext conftest
$ac_exeext
34008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34009 (eval $ac_link) 2>conftest.er1
34011 grep -v '^ *+' conftest.er1
>conftest.err
34013 cat conftest.err
>&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); } &&
34016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; } &&
34022 { ac_try
='test -s conftest$ac_exeext'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; }; then
34028 ac_cv_func_sched_yield
=yes
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.
$ac_ext >&5
34033 ac_cv_func_sched_yield
=no
34035 rm -f conftest.err conftest.
$ac_objext \
34036 conftest
$ac_exeext conftest.
$ac_ext
34038 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
34039 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
34040 if test $ac_cv_func_sched_yield = yes; then
34041 cat >>confdefs.h
<<\_ACEOF
34042 #define HAVE_SCHED_YIELD 1
34047 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
34048 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
34049 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
34050 echo $ECHO_N "(cached) $ECHO_C" >&6
34052 ac_check_lib_save_LIBS
=$LIBS
34053 LIBS
="-lposix4 $LIBS"
34054 cat >conftest.
$ac_ext <<_ACEOF
34057 cat confdefs.h
>>conftest.
$ac_ext
34058 cat >>conftest.
$ac_ext <<_ACEOF
34059 /* end confdefs.h. */
34061 /* Override any gcc2 internal prototype to avoid an error. */
34065 /* We use char because int might match the return type of a gcc2
34066 builtin and then its argument prototype would still apply. */
34067 char sched_yield ();
34076 rm -f conftest.
$ac_objext conftest
$ac_exeext
34077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34078 (eval $ac_link) 2>conftest.er1
34080 grep -v '^ *+' conftest.er1
>conftest.err
34082 cat conftest.err
>&5
34083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084 (exit $ac_status); } &&
34085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34087 (eval $ac_try) 2>&5
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); }; } &&
34091 { ac_try
='test -s conftest$ac_exeext'
34092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34093 (eval $ac_try) 2>&5
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); }; }; then
34097 ac_cv_lib_posix4_sched_yield
=yes
34099 echo "$as_me: failed program was:" >&5
34100 sed 's/^/| /' conftest.
$ac_ext >&5
34102 ac_cv_lib_posix4_sched_yield
=no
34104 rm -f conftest.err conftest.
$ac_objext \
34105 conftest
$ac_exeext conftest.
$ac_ext
34106 LIBS
=$ac_check_lib_save_LIBS
34108 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
34109 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
34110 if test $ac_cv_lib_posix4_sched_yield = yes; then
34111 cat >>confdefs.h
<<\_ACEOF
34112 #define HAVE_SCHED_YIELD 1
34114 POSIX4_LINK
=" -lposix4"
34116 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
34117 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
34128 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
34129 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
34130 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
34131 echo $ECHO_N "(cached) $ECHO_C" >&6
34133 cat >conftest.
$ac_ext <<_ACEOF
34136 cat confdefs.h
>>conftest.
$ac_ext
34137 cat >>conftest.
$ac_ext <<_ACEOF
34138 /* end confdefs.h. */
34139 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
34140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34141 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
34143 /* System header to define __stub macros and hopefully few prototypes,
34144 which can conflict with char pthread_attr_getschedpolicy (); below.
34145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34146 <limits.h> exists even on freestanding compilers. */
34149 # include <limits.h>
34151 # include <assert.h>
34154 #undef pthread_attr_getschedpolicy
34156 /* Override any gcc2 internal prototype to avoid an error. */
34161 /* We use char because int might match the return type of a gcc2
34162 builtin and then its argument prototype would still apply. */
34163 char pthread_attr_getschedpolicy ();
34164 /* The GNU C library defines this for functions which it implements
34165 to always fail with ENOSYS. Some functions are actually named
34166 something starting with __ and the normal name is an alias. */
34167 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
34170 char (*f) () = pthread_attr_getschedpolicy;
34179 return f != pthread_attr_getschedpolicy;
34184 rm -f conftest.
$ac_objext conftest
$ac_exeext
34185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34186 (eval $ac_link) 2>conftest.er1
34188 grep -v '^ *+' conftest.er1
>conftest.err
34190 cat conftest.err
>&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); } &&
34193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; } &&
34199 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
34205 ac_cv_func_pthread_attr_getschedpolicy
=yes
34207 echo "$as_me: failed program was:" >&5
34208 sed 's/^/| /' conftest.
$ac_ext >&5
34210 ac_cv_func_pthread_attr_getschedpolicy
=no
34212 rm -f conftest.err conftest.
$ac_objext \
34213 conftest
$ac_exeext conftest.
$ac_ext
34215 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
34216 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
34217 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
34218 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
34219 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
34220 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
34221 echo $ECHO_N "(cached) $ECHO_C" >&6
34223 cat >conftest.
$ac_ext <<_ACEOF
34226 cat confdefs.h
>>conftest.
$ac_ext
34227 cat >>conftest.
$ac_ext <<_ACEOF
34228 /* end confdefs.h. */
34229 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
34230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34231 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
34233 /* System header to define __stub macros and hopefully few prototypes,
34234 which can conflict with char pthread_attr_setschedparam (); below.
34235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34236 <limits.h> exists even on freestanding compilers. */
34239 # include <limits.h>
34241 # include <assert.h>
34244 #undef pthread_attr_setschedparam
34246 /* Override any gcc2 internal prototype to avoid an error. */
34251 /* We use char because int might match the return type of a gcc2
34252 builtin and then its argument prototype would still apply. */
34253 char pthread_attr_setschedparam ();
34254 /* The GNU C library defines this for functions which it implements
34255 to always fail with ENOSYS. Some functions are actually named
34256 something starting with __ and the normal name is an alias. */
34257 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
34260 char (*f) () = pthread_attr_setschedparam;
34269 return f != pthread_attr_setschedparam;
34274 rm -f conftest.
$ac_objext conftest
$ac_exeext
34275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34276 (eval $ac_link) 2>conftest.er1
34278 grep -v '^ *+' conftest.er1
>conftest.err
34280 cat conftest.err
>&5
34281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34282 (exit $ac_status); } &&
34283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34285 (eval $ac_try) 2>&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); }; } &&
34289 { ac_try
='test -s conftest$ac_exeext'
34290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34291 (eval $ac_try) 2>&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); }; }; then
34295 ac_cv_func_pthread_attr_setschedparam
=yes
34297 echo "$as_me: failed program was:" >&5
34298 sed 's/^/| /' conftest.
$ac_ext >&5
34300 ac_cv_func_pthread_attr_setschedparam
=no
34302 rm -f conftest.err conftest.
$ac_objext \
34303 conftest
$ac_exeext conftest.
$ac_ext
34305 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
34306 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
34307 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
34308 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
34309 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
34310 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
34311 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 cat >conftest.
$ac_ext <<_ACEOF
34316 cat confdefs.h
>>conftest.
$ac_ext
34317 cat >>conftest.
$ac_ext <<_ACEOF
34318 /* end confdefs.h. */
34319 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
34320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34321 #define sched_get_priority_max innocuous_sched_get_priority_max
34323 /* System header to define __stub macros and hopefully few prototypes,
34324 which can conflict with char sched_get_priority_max (); below.
34325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34326 <limits.h> exists even on freestanding compilers. */
34329 # include <limits.h>
34331 # include <assert.h>
34334 #undef sched_get_priority_max
34336 /* Override any gcc2 internal prototype to avoid an error. */
34341 /* We use char because int might match the return type of a gcc2
34342 builtin and then its argument prototype would still apply. */
34343 char sched_get_priority_max ();
34344 /* The GNU C library defines this for functions which it implements
34345 to always fail with ENOSYS. Some functions are actually named
34346 something starting with __ and the normal name is an alias. */
34347 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
34350 char (*f) () = sched_get_priority_max;
34359 return f != sched_get_priority_max;
34364 rm -f conftest.
$ac_objext conftest
$ac_exeext
34365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34366 (eval $ac_link) 2>conftest.er1
34368 grep -v '^ *+' conftest.er1
>conftest.err
34370 cat conftest.err
>&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } &&
34373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34375 (eval $ac_try) 2>&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); }; } &&
34379 { ac_try
='test -s conftest$ac_exeext'
34380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34381 (eval $ac_try) 2>&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); }; }; then
34385 ac_cv_func_sched_get_priority_max
=yes
34387 echo "$as_me: failed program was:" >&5
34388 sed 's/^/| /' conftest.
$ac_ext >&5
34390 ac_cv_func_sched_get_priority_max
=no
34392 rm -f conftest.err conftest.
$ac_objext \
34393 conftest
$ac_exeext conftest.
$ac_ext
34395 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
34396 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
34397 if test $ac_cv_func_sched_get_priority_max = yes; then
34400 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
34401 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
34402 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
34403 echo $ECHO_N "(cached) $ECHO_C" >&6
34405 ac_check_lib_save_LIBS
=$LIBS
34406 LIBS
="-lposix4 $LIBS"
34407 cat >conftest.
$ac_ext <<_ACEOF
34410 cat confdefs.h
>>conftest.
$ac_ext
34411 cat >>conftest.
$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34414 /* Override any gcc2 internal prototype to avoid an error. */
34418 /* We use char because int might match the return type of a gcc2
34419 builtin and then its argument prototype would still apply. */
34420 char sched_get_priority_max ();
34424 sched_get_priority_max ();
34429 rm -f conftest.
$ac_objext conftest
$ac_exeext
34430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34431 (eval $ac_link) 2>conftest.er1
34433 grep -v '^ *+' conftest.er1
>conftest.err
34435 cat conftest.err
>&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); } &&
34438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34440 (eval $ac_try) 2>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); }; } &&
34444 { ac_try
='test -s conftest$ac_exeext'
34445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34446 (eval $ac_try) 2>&5
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); }; }; then
34450 ac_cv_lib_posix4_sched_get_priority_max
=yes
34452 echo "$as_me: failed program was:" >&5
34453 sed 's/^/| /' conftest.
$ac_ext >&5
34455 ac_cv_lib_posix4_sched_get_priority_max
=no
34457 rm -f conftest.err conftest.
$ac_objext \
34458 conftest
$ac_exeext conftest.
$ac_ext
34459 LIBS
=$ac_check_lib_save_LIBS
34461 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
34462 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
34463 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
34466 POSIX4_LINK
=" -lposix4"
34480 if test "$HAVE_PRIOR_FUNCS" = 1; then
34481 cat >>confdefs.h
<<\_ACEOF
34482 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
34486 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
34487 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
34490 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
34491 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
34492 if test "${ac_cv_func_pthread_cancel+set}" = set; then
34493 echo $ECHO_N "(cached) $ECHO_C" >&6
34495 cat >conftest.
$ac_ext <<_ACEOF
34498 cat confdefs.h
>>conftest.
$ac_ext
34499 cat >>conftest.
$ac_ext <<_ACEOF
34500 /* end confdefs.h. */
34501 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
34502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34503 #define pthread_cancel innocuous_pthread_cancel
34505 /* System header to define __stub macros and hopefully few prototypes,
34506 which can conflict with char pthread_cancel (); below.
34507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34508 <limits.h> exists even on freestanding compilers. */
34511 # include <limits.h>
34513 # include <assert.h>
34516 #undef pthread_cancel
34518 /* Override any gcc2 internal prototype to avoid an error. */
34523 /* We use char because int might match the return type of a gcc2
34524 builtin and then its argument prototype would still apply. */
34525 char pthread_cancel ();
34526 /* The GNU C library defines this for functions which it implements
34527 to always fail with ENOSYS. Some functions are actually named
34528 something starting with __ and the normal name is an alias. */
34529 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
34532 char (*f) () = pthread_cancel;
34541 return f != pthread_cancel;
34546 rm -f conftest.
$ac_objext conftest
$ac_exeext
34547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34548 (eval $ac_link) 2>conftest.er1
34550 grep -v '^ *+' conftest.er1
>conftest.err
34552 cat conftest.err
>&5
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); } &&
34555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34557 (eval $ac_try) 2>&5
34559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34560 (exit $ac_status); }; } &&
34561 { ac_try
='test -s conftest$ac_exeext'
34562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34563 (eval $ac_try) 2>&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); }; }; then
34567 ac_cv_func_pthread_cancel
=yes
34569 echo "$as_me: failed program was:" >&5
34570 sed 's/^/| /' conftest.
$ac_ext >&5
34572 ac_cv_func_pthread_cancel
=no
34574 rm -f conftest.err conftest.
$ac_objext \
34575 conftest
$ac_exeext conftest.
$ac_ext
34577 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
34578 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
34579 if test $ac_cv_func_pthread_cancel = yes; then
34580 cat >>confdefs.h
<<\_ACEOF
34581 #define HAVE_PTHREAD_CANCEL 1
34585 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
34586 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
34592 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
34593 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
34594 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
34595 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 cat >conftest.
$ac_ext <<_ACEOF
34601 cat confdefs.h
>>conftest.
$ac_ext
34602 cat >>conftest.
$ac_ext <<_ACEOF
34603 /* end confdefs.h. */
34604 #include <pthread.h>
34609 pthread_mutexattr_t attr;
34610 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
34616 rm -f conftest.
$ac_objext
34617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34618 (eval $ac_compile) 2>conftest.er1
34620 grep -v '^ *+' conftest.er1
>conftest.err
34622 cat conftest.err
>&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } &&
34625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34627 (eval $ac_try) 2>&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); }; } &&
34631 { ac_try
='test -s conftest.$ac_objext'
34632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34633 (eval $ac_try) 2>&5
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; }; then
34638 wx_cv_type_pthread_mutexattr_t
=yes
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.
$ac_ext >&5
34645 wx_cv_type_pthread_mutexattr_t
=no
34649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34652 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
34653 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
34655 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
34656 cat >>confdefs.h
<<\_ACEOF
34657 #define HAVE_PTHREAD_MUTEXATTR_T 1
34661 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
34662 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
34663 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
34664 echo $ECHO_N "(cached) $ECHO_C" >&6
34667 cat >conftest.
$ac_ext <<_ACEOF
34670 cat confdefs.h
>>conftest.
$ac_ext
34671 cat >>conftest.
$ac_ext <<_ACEOF
34672 /* end confdefs.h. */
34673 #include <pthread.h>
34678 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
34684 rm -f conftest.
$ac_objext
34685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34686 (eval $ac_compile) 2>conftest.er1
34688 grep -v '^ *+' conftest.er1
>conftest.err
34690 cat conftest.err
>&5
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); } &&
34693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; } &&
34699 { ac_try
='test -s conftest.$ac_objext'
34700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34701 (eval $ac_try) 2>&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); }; }; then
34706 wx_cv_type_pthread_rec_mutex_init
=yes
34709 echo "$as_me: failed program was:" >&5
34710 sed 's/^/| /' conftest.
$ac_ext >&5
34713 wx_cv_type_pthread_rec_mutex_init
=no
34717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34720 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
34721 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
34722 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
34723 cat >>confdefs.h
<<\_ACEOF
34724 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
34728 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
34729 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
34735 if test "$wxUSE_THREADS" = "yes" ; then
34738 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
34739 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
34740 if test "${wx_cv_cflags_mthread+set}" = set; then
34741 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 CFLAGS_OLD
="$CFLAGS"
34745 CFLAGS
="$CFLAGS -mthreads"
34746 cat >conftest.
$ac_ext <<_ACEOF
34749 cat confdefs.h
>>conftest.
$ac_ext
34750 cat >>conftest.
$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34761 rm -f conftest.
$ac_objext
34762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34763 (eval $ac_compile) 2>conftest.er1
34765 grep -v '^ *+' conftest.er1
>conftest.err
34767 cat conftest.err
>&5
34768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769 (exit $ac_status); } &&
34770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34772 (eval $ac_try) 2>&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); }; } &&
34776 { ac_try
='test -s conftest.$ac_objext'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; }; then
34782 wx_cv_cflags_mthread
=yes
34784 echo "$as_me: failed program was:" >&5
34785 sed 's/^/| /' conftest.
$ac_ext >&5
34787 wx_cv_cflags_mthread
=no
34790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34794 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
34795 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
34797 if test "$wx_cv_cflags_mthread" = "yes"; then
34798 CXXFLAGS
="$CXXFLAGS -mthreads"
34799 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
34800 LDFLAGS
="$LDFLAGS -mthreads"
34802 CFLAGS
="$CFLAGS_OLD"
34806 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
34807 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
34808 LDFLAGS
="$LDFLAGS -Zmt"
34814 if test "$wxUSE_THREADS" = "yes"; then
34815 cat >>confdefs.h
<<\_ACEOF
34816 #define wxUSE_THREADS 1
34820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
34822 if test "$ac_cv_func_strtok_r" = "yes"; then
34823 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
34824 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
34825 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
34826 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
34827 echo "$as_me:$LINENO: result: yes" >&5
34828 echo "${ECHO_T}yes" >&6
34830 echo "$as_me:$LINENO: result: no" >&5
34831 echo "${ECHO_T}no" >&6
34836 if test "$WXGTK20" = 1 ; then
34837 cat >>confdefs.h
<<_ACEOF
34838 #define __WXGTK20__ $WXGTK20
34844 if test "$WXGTK12" = 1 ; then
34845 cat >>confdefs.h
<<_ACEOF
34846 #define __WXGTK12__ $WXGTK12
34851 if test "$WXGTK127" = 1 ; then
34852 cat >>confdefs.h
<<_ACEOF
34853 #define __WXGTK127__ $WXGTK127
34858 if test "$WXGPE" = 1 ; then
34859 cat >>confdefs.h
<<_ACEOF
34860 #define __WXGPE__ $WXGPE
34867 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
34872 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
34873 wxUSE_DEBUG_INFO
=yes
34877 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
34878 cat >>confdefs.h
<<\_ACEOF
34882 WXDEBUG_DEFINE
="-D__WXDEBUG__"
34884 if test "$wxUSE_GTK" = 1 ; then
34885 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
34889 if test "$wxUSE_MEM_TRACING" = "yes" ; then
34890 cat >>confdefs.h
<<\_ACEOF
34891 #define wxUSE_MEMORY_TRACING 1
34894 cat >>confdefs.h
<<\_ACEOF
34895 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
34898 cat >>confdefs.h
<<\_ACEOF
34899 #define wxUSE_DEBUG_NEW_ALWAYS 1
34902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
34905 if test "$wxUSE_DMALLOC" = "yes" ; then
34906 DMALLOC_LIBS
="-ldmalloc"
34910 if test "$wxUSE_PROFILE" = "yes" ; then
34915 CODE_GEN_FLAGS_CXX
=
34916 if test "$GCC" = "yes" ; then
34917 if test "$wxUSE_NO_RTTI" = "yes" ; then
34918 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
34920 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
34921 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
34923 if test "$wxUSE_PERMISSIVE" = "yes" ; then
34924 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
34929 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
34932 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
34938 if test "$wxUSE_OPTIMISE" = "no" ; then
34939 if test "$GCC" = yes ; then
34943 if test "$GCC" = yes ; then
34947 i586
-*-*|i686
-*-* )
34948 OPTIMISE
="${OPTIMISE} "
34957 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
34958 cat >>confdefs.h
<<\_ACEOF
34959 #define WXWIN_COMPATIBILITY_2_2 1
34963 WXWIN_COMPATIBILITY_2_4
="yes"
34966 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
34967 cat >>confdefs.h
<<\_ACEOF
34968 #define WXWIN_COMPATIBILITY_2_4 1
34974 if test "$wxUSE_GUI" = "yes"; then
34975 cat >>confdefs.h
<<\_ACEOF
34976 #define wxUSE_GUI 1
34983 if test "$wxUSE_UNIX" = "yes"; then
34984 cat >>confdefs.h
<<\_ACEOF
34985 #define wxUSE_UNIX 1
34991 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34995 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34996 if test "$USE_DARWIN" = 1; then
35000 for ac_func
in dlopen
35002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35003 echo "$as_me:$LINENO: checking for $ac_func" >&5
35004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35005 if eval "test \"\${$as_ac_var+set}\" = set"; then
35006 echo $ECHO_N "(cached) $ECHO_C" >&6
35008 cat >conftest.
$ac_ext <<_ACEOF
35011 cat confdefs.h
>>conftest.
$ac_ext
35012 cat >>conftest.
$ac_ext <<_ACEOF
35013 /* end confdefs.h. */
35014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35016 #define $ac_func innocuous_$ac_func
35018 /* System header to define __stub macros and hopefully few prototypes,
35019 which can conflict with char $ac_func (); below.
35020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35021 <limits.h> exists even on freestanding compilers. */
35024 # include <limits.h>
35026 # include <assert.h>
35031 /* Override any gcc2 internal prototype to avoid an error. */
35036 /* We use char because int might match the return type of a gcc2
35037 builtin and then its argument prototype would still apply. */
35039 /* The GNU C library defines this for functions which it implements
35040 to always fail with ENOSYS. Some functions are actually named
35041 something starting with __ and the normal name is an alias. */
35042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35045 char (*f) () = $ac_func;
35054 return f != $ac_func;
35059 rm -f conftest.
$ac_objext conftest
$ac_exeext
35060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35061 (eval $ac_link) 2>conftest.er1
35063 grep -v '^ *+' conftest.er1
>conftest.err
35065 cat conftest.err
>&5
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); } &&
35068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35070 (eval $ac_try) 2>&5
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); }; } &&
35074 { ac_try
='test -s conftest$ac_exeext'
35075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35076 (eval $ac_try) 2>&5
35078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 (exit $ac_status); }; }; then
35080 eval "$as_ac_var=yes"
35082 echo "$as_me: failed program was:" >&5
35083 sed 's/^/| /' conftest.
$ac_ext >&5
35085 eval "$as_ac_var=no"
35087 rm -f conftest.err conftest.
$ac_objext \
35088 conftest
$ac_exeext conftest.
$ac_ext
35090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35092 if test `eval echo '${'$as_ac_var'}'` = yes; then
35093 cat >>confdefs.h
<<_ACEOF
35094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35097 cat >>confdefs.h
<<\_ACEOF
35098 #define HAVE_DLOPEN 1
35105 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
35106 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
35107 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
35108 echo $ECHO_N "(cached) $ECHO_C" >&6
35110 ac_check_lib_save_LIBS
=$LIBS
35112 cat >conftest.
$ac_ext <<_ACEOF
35115 cat confdefs.h
>>conftest.
$ac_ext
35116 cat >>conftest.
$ac_ext <<_ACEOF
35117 /* end confdefs.h. */
35119 /* Override any gcc2 internal prototype to avoid an error. */
35123 /* We use char because int might match the return type of a gcc2
35124 builtin and then its argument prototype would still apply. */
35134 rm -f conftest.
$ac_objext conftest
$ac_exeext
35135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35136 (eval $ac_link) 2>conftest.er1
35138 grep -v '^ *+' conftest.er1
>conftest.err
35140 cat conftest.err
>&5
35141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35142 (exit $ac_status); } &&
35143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35145 (eval $ac_try) 2>&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); }; } &&
35149 { ac_try
='test -s conftest$ac_exeext'
35150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35151 (eval $ac_try) 2>&5
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); }; }; then
35155 ac_cv_lib_dl_dlopen
=yes
35157 echo "$as_me: failed program was:" >&5
35158 sed 's/^/| /' conftest.
$ac_ext >&5
35160 ac_cv_lib_dl_dlopen
=no
35162 rm -f conftest.err conftest.
$ac_objext \
35163 conftest
$ac_exeext conftest.
$ac_ext
35164 LIBS
=$ac_check_lib_save_LIBS
35166 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
35167 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
35168 if test $ac_cv_lib_dl_dlopen = yes; then
35170 cat >>confdefs.h
<<\_ACEOF
35171 #define HAVE_DLOPEN 1
35175 DL_LINK
=" -ldl$DL_LINK"
35180 for ac_func
in shl_load
35182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35183 echo "$as_me:$LINENO: checking for $ac_func" >&5
35184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35185 if eval "test \"\${$as_ac_var+set}\" = set"; then
35186 echo $ECHO_N "(cached) $ECHO_C" >&6
35188 cat >conftest.
$ac_ext <<_ACEOF
35191 cat confdefs.h
>>conftest.
$ac_ext
35192 cat >>conftest.
$ac_ext <<_ACEOF
35193 /* end confdefs.h. */
35194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35196 #define $ac_func innocuous_$ac_func
35198 /* System header to define __stub macros and hopefully few prototypes,
35199 which can conflict with char $ac_func (); below.
35200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35201 <limits.h> exists even on freestanding compilers. */
35204 # include <limits.h>
35206 # include <assert.h>
35211 /* Override any gcc2 internal prototype to avoid an error. */
35216 /* We use char because int might match the return type of a gcc2
35217 builtin and then its argument prototype would still apply. */
35219 /* The GNU C library defines this for functions which it implements
35220 to always fail with ENOSYS. Some functions are actually named
35221 something starting with __ and the normal name is an alias. */
35222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35225 char (*f) () = $ac_func;
35234 return f != $ac_func;
35239 rm -f conftest.
$ac_objext conftest
$ac_exeext
35240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35241 (eval $ac_link) 2>conftest.er1
35243 grep -v '^ *+' conftest.er1
>conftest.err
35245 cat conftest.err
>&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); } &&
35248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35250 (eval $ac_try) 2>&5
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); }; } &&
35254 { ac_try
='test -s conftest$ac_exeext'
35255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35256 (eval $ac_try) 2>&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); }; }; then
35260 eval "$as_ac_var=yes"
35262 echo "$as_me: failed program was:" >&5
35263 sed 's/^/| /' conftest.
$ac_ext >&5
35265 eval "$as_ac_var=no"
35267 rm -f conftest.err conftest.
$ac_objext \
35268 conftest
$ac_exeext conftest.
$ac_ext
35270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35272 if test `eval echo '${'$as_ac_var'}'` = yes; then
35273 cat >>confdefs.h
<<_ACEOF
35274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35277 cat >>confdefs.h
<<\_ACEOF
35278 #define HAVE_SHL_LOAD 1
35285 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
35286 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
35287 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
35288 echo $ECHO_N "(cached) $ECHO_C" >&6
35290 ac_check_lib_save_LIBS
=$LIBS
35291 LIBS
="-lshl_load $LIBS"
35292 cat >conftest.
$ac_ext <<_ACEOF
35295 cat confdefs.h
>>conftest.
$ac_ext
35296 cat >>conftest.
$ac_ext <<_ACEOF
35297 /* end confdefs.h. */
35299 /* Override any gcc2 internal prototype to avoid an error. */
35303 /* We use char because int might match the return type of a gcc2
35304 builtin and then its argument prototype would still apply. */
35314 rm -f conftest.
$ac_objext conftest
$ac_exeext
35315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35316 (eval $ac_link) 2>conftest.er1
35318 grep -v '^ *+' conftest.er1
>conftest.err
35320 cat conftest.err
>&5
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); } &&
35323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35325 (eval $ac_try) 2>&5
35327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35328 (exit $ac_status); }; } &&
35329 { ac_try
='test -s conftest$ac_exeext'
35330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35331 (eval $ac_try) 2>&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); }; }; then
35335 ac_cv_lib_shl_load_dld
=yes
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.
$ac_ext >&5
35340 ac_cv_lib_shl_load_dld
=no
35342 rm -f conftest.err conftest.
$ac_objext \
35343 conftest
$ac_exeext conftest.
$ac_ext
35344 LIBS
=$ac_check_lib_save_LIBS
35346 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
35347 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
35348 if test $ac_cv_lib_shl_load_dld = yes; then
35351 DL_LINK
=" -ldld$DL_LINK"
35367 if test "$HAVE_DL_FUNCS" = 1; then
35369 for ac_func
in dlerror
35371 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35372 echo "$as_me:$LINENO: checking for $ac_func" >&5
35373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35374 if eval "test \"\${$as_ac_var+set}\" = set"; then
35375 echo $ECHO_N "(cached) $ECHO_C" >&6
35377 cat >conftest.
$ac_ext <<_ACEOF
35380 cat confdefs.h
>>conftest.
$ac_ext
35381 cat >>conftest.
$ac_ext <<_ACEOF
35382 /* end confdefs.h. */
35383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35385 #define $ac_func innocuous_$ac_func
35387 /* System header to define __stub macros and hopefully few prototypes,
35388 which can conflict with char $ac_func (); below.
35389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35390 <limits.h> exists even on freestanding compilers. */
35393 # include <limits.h>
35395 # include <assert.h>
35400 /* Override any gcc2 internal prototype to avoid an error. */
35405 /* We use char because int might match the return type of a gcc2
35406 builtin and then its argument prototype would still apply. */
35408 /* The GNU C library defines this for functions which it implements
35409 to always fail with ENOSYS. Some functions are actually named
35410 something starting with __ and the normal name is an alias. */
35411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35414 char (*f) () = $ac_func;
35423 return f != $ac_func;
35428 rm -f conftest.
$ac_objext conftest
$ac_exeext
35429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35430 (eval $ac_link) 2>conftest.er1
35432 grep -v '^ *+' conftest.er1
>conftest.err
35434 cat conftest.err
>&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); } &&
35437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35439 (eval $ac_try) 2>&5
35441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442 (exit $ac_status); }; } &&
35443 { ac_try
='test -s conftest$ac_exeext'
35444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35445 (eval $ac_try) 2>&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); }; }; then
35449 eval "$as_ac_var=yes"
35451 echo "$as_me: failed program was:" >&5
35452 sed 's/^/| /' conftest.
$ac_ext >&5
35454 eval "$as_ac_var=no"
35456 rm -f conftest.err conftest.
$ac_objext \
35457 conftest
$ac_exeext conftest.
$ac_ext
35459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35461 if test `eval echo '${'$as_ac_var'}'` = yes; then
35462 cat >>confdefs.h
<<_ACEOF
35463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35465 cat >>confdefs.h
<<\_ACEOF
35466 #define HAVE_DLERROR 1
35471 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
35472 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
35473 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35476 ac_check_lib_save_LIBS
=$LIBS
35478 cat >conftest.
$ac_ext <<_ACEOF
35481 cat confdefs.h
>>conftest.
$ac_ext
35482 cat >>conftest.
$ac_ext <<_ACEOF
35483 /* end confdefs.h. */
35485 /* Override any gcc2 internal prototype to avoid an error. */
35489 /* We use char because int might match the return type of a gcc2
35490 builtin and then its argument prototype would still apply. */
35500 rm -f conftest.
$ac_objext conftest
$ac_exeext
35501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35502 (eval $ac_link) 2>conftest.er1
35504 grep -v '^ *+' conftest.er1
>conftest.err
35506 cat conftest.err
>&5
35507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35508 (exit $ac_status); } &&
35509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35511 (eval $ac_try) 2>&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); }; } &&
35515 { ac_try
='test -s conftest$ac_exeext'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; }; then
35521 ac_cv_lib_dl_dlerror
=yes
35523 echo "$as_me: failed program was:" >&5
35524 sed 's/^/| /' conftest.
$ac_ext >&5
35526 ac_cv_lib_dl_dlerror
=no
35528 rm -f conftest.err conftest.
$ac_objext \
35529 conftest
$ac_exeext conftest.
$ac_ext
35530 LIBS
=$ac_check_lib_save_LIBS
35532 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
35533 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
35534 if test $ac_cv_lib_dl_dlerror = yes; then
35535 cat >>confdefs.h
<<\_ACEOF
35536 #define HAVE_DLERROR 1
35549 if test "$HAVE_DL_FUNCS" = 0; then
35550 if test "$HAVE_SHL_FUNCS" = 0; then
35551 if test "$USE_UNIX" = 1; then
35552 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
35553 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
35554 wxUSE_DYNAMIC_LOADER
=no
35555 wxUSE_DYNLIB_CLASS
=no
35557 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
35558 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
35565 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
35566 cat >>confdefs.h
<<\_ACEOF
35567 #define wxUSE_DYNAMIC_LOADER 1
35571 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
35572 cat >>confdefs.h
<<\_ACEOF
35573 #define wxUSE_DYNLIB_CLASS 1
35580 if test "$wxUSE_PLUGINS" = "yes" ; then
35581 if test "$wxUSE_SHARED" = "no" ; then
35582 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
35583 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
35586 if test "$wxUSE_MONOLITHIC" = "yes" ; then
35587 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
35588 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
35591 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
35592 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
35593 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
35596 if test "$wxUSE_PLUGINS" = "yes" ; then
35597 cat >>confdefs.h
<<\_ACEOF
35598 #define wxUSE_PLUGINS 1
35605 if test "$wxUSE_STL" = "yes"; then
35606 cat >>confdefs.h
<<\_ACEOF
35607 #define wxUSE_STL 1
35612 if test "$wxUSE_APPLE_IEEE" = "yes"; then
35613 cat >>confdefs.h
<<\_ACEOF
35614 #define wxUSE_APPLE_IEEE 1
35619 if test "$wxUSE_TIMER" = "yes"; then
35620 cat >>confdefs.h
<<\_ACEOF
35621 #define wxUSE_TIMER 1
35627 if test "$wxUSE_SOUND" = "yes"; then
35628 if test "$USE_UNIX" = "1" ; then
35630 for ac_header
in sys
/soundcard.h
35632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35634 echo "$as_me:$LINENO: checking for $ac_header" >&5
35635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35642 # Is the header compilable?
35643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35645 cat >conftest.
$ac_ext <<_ACEOF
35648 cat confdefs.h
>>conftest.
$ac_ext
35649 cat >>conftest.
$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 $ac_includes_default
35652 #include <$ac_header>
35654 rm -f conftest.
$ac_objext
35655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35656 (eval $ac_compile) 2>conftest.er1
35658 grep -v '^ *+' conftest.er1
>conftest.err
35660 cat conftest.err
>&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); } &&
35663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 (eval $ac_try) 2>&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); }; } &&
35669 { ac_try
='test -s conftest.$ac_objext'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 ac_header_compiler
=yes
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.
$ac_ext >&5
35680 ac_header_compiler
=no
35682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35684 echo "${ECHO_T}$ac_header_compiler" >&6
35686 # Is the header present?
35687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35689 cat >conftest.
$ac_ext <<_ACEOF
35692 cat confdefs.h
>>conftest.
$ac_ext
35693 cat >>conftest.
$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35695 #include <$ac_header>
35697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35700 grep -v '^ *+' conftest.er1
>conftest.err
35702 cat conftest.err
>&5
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); } >/dev
/null
; then
35705 if test -s conftest.err
; then
35706 ac_cpp_err
=$ac_c_preproc_warn_flag
35707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35714 if test -z "$ac_cpp_err"; then
35715 ac_header_preproc
=yes
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.
$ac_ext >&5
35720 ac_header_preproc
=no
35722 rm -f conftest.err conftest.
$ac_ext
35723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35724 echo "${ECHO_T}$ac_header_preproc" >&6
35726 # So? What about this header?
35727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35733 ac_header_preproc
=yes
35736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35750 ## ----------------------------------------- ##
35751 ## Report this to wx-dev@lists.wxwidgets.org ##
35752 ## ----------------------------------------- ##
35755 sed "s/^/$as_me: WARNING: /" >&2
35758 echo "$as_me:$LINENO: checking for $ac_header" >&5
35759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 eval "$as_ac_Header=\$ac_header_preproc"
35765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35770 cat >>confdefs.h
<<_ACEOF
35771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35779 if test "$wxUSE_LIBSDL" != "no"; then
35781 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
35782 if test "${with_sdl_prefix+set}" = set; then
35783 withval
="$with_sdl_prefix"
35784 sdl_prefix
="$withval"
35789 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
35790 if test "${with_sdl_exec_prefix+set}" = set; then
35791 withval
="$with_sdl_exec_prefix"
35792 sdl_exec_prefix
="$withval"
35796 # Check whether --enable-sdltest or --disable-sdltest was given.
35797 if test "${enable_sdltest+set}" = set; then
35798 enableval
="$enable_sdltest"
35804 if test x
$sdl_exec_prefix != x
; then
35805 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
35806 if test x
${SDL_CONFIG+set} != xset
; then
35807 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
35810 if test x
$sdl_prefix != x
; then
35811 sdl_args
="$sdl_args --prefix=$sdl_prefix"
35812 if test x
${SDL_CONFIG+set} != xset
; then
35813 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
35818 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
35819 # Extract the first word of "sdl-config", so it can be a program name with args.
35820 set dummy sdl
-config; ac_word
=$2
35821 echo "$as_me:$LINENO: checking for $ac_word" >&5
35822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35823 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
35824 echo $ECHO_N "(cached) $ECHO_C" >&6
35826 case $SDL_CONFIG in
35828 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
35831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35832 for as_dir
in $PATH
35835 test -z "$as_dir" && as_dir
=.
35836 for ac_exec_ext
in '' $ac_executable_extensions; do
35837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35838 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35845 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
35849 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
35851 if test -n "$SDL_CONFIG"; then
35852 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
35853 echo "${ECHO_T}$SDL_CONFIG" >&6
35855 echo "$as_me:$LINENO: result: no" >&5
35856 echo "${ECHO_T}no" >&6
35859 min_sdl_version
=1.2.0
35860 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
35861 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
35863 if test "$SDL_CONFIG" = "no" ; then
35866 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
35867 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
35869 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
35870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
35871 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
35872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
35873 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
35874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
35875 if test "x$enable_sdltest" = "xyes" ; then
35876 ac_save_CFLAGS
="$CFLAGS"
35877 ac_save_CXXFLAGS
="$CXXFLAGS"
35878 ac_save_LIBS
="$LIBS"
35879 CFLAGS
="$CFLAGS $SDL_CFLAGS"
35880 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35881 LIBS
="$LIBS $SDL_LIBS"
35883 if test "$cross_compiling" = yes; then
35884 echo $ac_n "cross compiling; assumed OK... $ac_c"
35886 cat >conftest.
$ac_ext <<_ACEOF
35889 cat confdefs.h
>>conftest.
$ac_ext
35890 cat >>conftest.
$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35894 #include <stdlib.h>
35895 #include <string.h>
35899 my_strdup (char *str)
35905 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
35906 strcpy (new_str, str);
35914 int main (int argc, char *argv[])
35916 int major, minor, micro;
35919 /* This hangs on some systems (?)
35920 system ("touch conf.sdltest");
35922 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
35924 /* HP/UX 9 (%@#!) writes to sscanf strings */
35925 tmp_version = my_strdup("$min_sdl_version");
35926 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
35927 printf("%s, bad version string\n", "$min_sdl_version");
35931 if (($sdl_major_version > major) ||
35932 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
35933 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
35939 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
35940 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
35941 printf("*** best to upgrade to the required version.\n");
35942 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
35943 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
35944 printf("*** config.cache before re-running configure\n");
35951 rm -f conftest
$ac_exeext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35953 (eval $ac_link) 2>&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35958 (eval $ac_try) 2>&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); }; }; then
35964 echo "$as_me: program exited with status $ac_status" >&5
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.
$ac_ext >&5
35968 ( exit $ac_status )
35971 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35973 CFLAGS
="$ac_save_CFLAGS"
35974 CXXFLAGS
="$ac_save_CXXFLAGS"
35975 LIBS
="$ac_save_LIBS"
35978 if test "x$no_sdl" = x
; then
35979 echo "$as_me:$LINENO: result: yes" >&5
35980 echo "${ECHO_T}yes" >&6
35982 EXTRALIBS_SDL
="$SDL_LIBS"
35983 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
35984 cat >>confdefs.h
<<\_ACEOF
35985 #define wxUSE_LIBSDL 1
35990 echo "$as_me:$LINENO: result: no" >&5
35991 echo "${ECHO_T}no" >&6
35992 if test "$SDL_CONFIG" = "no" ; then
35993 echo "*** The sdl-config script installed by SDL could not be found"
35994 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
35995 echo "*** your path, or set the SDL_CONFIG environment variable to the"
35996 echo "*** full path to sdl-config."
35998 if test -f conf.sdltest
; then
36001 echo "*** Could not run SDL test program, checking why..."
36002 CFLAGS
="$CFLAGS $SDL_CFLAGS"
36003 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
36004 LIBS
="$LIBS $SDL_LIBS"
36005 cat >conftest.
$ac_ext <<_ACEOF
36008 cat confdefs.h
>>conftest.
$ac_ext
36009 cat >>conftest.
$ac_ext <<_ACEOF
36010 /* end confdefs.h. */
36015 int main(int argc, char *argv[])
36018 #define main K_and_R_C_main
36028 rm -f conftest.
$ac_objext conftest
$ac_exeext
36029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36030 (eval $ac_link) 2>conftest.er1
36032 grep -v '^ *+' conftest.er1
>conftest.err
36034 cat conftest.err
>&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); } &&
36037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; } &&
36043 { ac_try
='test -s conftest$ac_exeext'
36044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36045 (eval $ac_try) 2>&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); }; }; then
36049 echo "*** The test program compiled, but did not run. This usually means"
36050 echo "*** that the run-time linker is not finding SDL or finding the wrong"
36051 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
36052 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
36053 echo "*** to the installed location Also, make sure you have run ldconfig if that"
36054 echo "*** is required on your system"
36056 echo "*** If you have an old version installed, it is best to remove it, although"
36057 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.
$ac_ext >&5
36062 echo "*** The test program failed to compile or link. See the file config.log for the"
36063 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
36064 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
36065 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
36067 rm -f conftest.err conftest.
$ac_objext \
36068 conftest
$ac_exeext conftest.
$ac_ext
36069 CFLAGS
="$ac_save_CFLAGS"
36070 CXXFLAGS
="$ac_save_CXXFLAGS"
36071 LIBS
="$ac_save_LIBS"
36082 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
36088 cat >>confdefs.h
<<\_ACEOF
36089 #define wxUSE_SOUND 1
36092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
36095 if test "$WXGTK20" = 1; then
36096 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36097 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
36102 if test -z "$PKG_CONFIG"; then
36103 # Extract the first word of "pkg-config", so it can be a program name with args.
36104 set dummy pkg
-config; ac_word
=$2
36105 echo "$as_me:$LINENO: checking for $ac_word" >&5
36106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36107 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36108 echo $ECHO_N "(cached) $ECHO_C" >&6
36110 case $PKG_CONFIG in
36112 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36116 for as_dir
in $PATH
36119 test -z "$as_dir" && as_dir
=.
36120 for ac_exec_ext
in '' $ac_executable_extensions; do
36121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36122 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36129 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
36133 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36135 if test -n "$PKG_CONFIG"; then
36136 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36137 echo "${ECHO_T}$PKG_CONFIG" >&6
36139 echo "$as_me:$LINENO: result: no" >&5
36140 echo "${ECHO_T}no" >&6
36145 if test "$PKG_CONFIG" = "no" ; then
36146 echo "*** The pkg-config script could not be found. Make sure it is"
36147 echo "*** in your path, or set the PKG_CONFIG environment variable"
36148 echo "*** to the full path to pkg-config."
36149 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
36151 PKG_CONFIG_MIN_VERSION
=0.9.0
36152 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
36153 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
36154 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
36156 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
36157 echo "$as_me:$LINENO: result: yes" >&5
36158 echo "${ECHO_T}yes" >&6
36161 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
36162 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
36163 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
36164 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
36165 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
36167 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
36168 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
36169 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
36170 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
36171 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
36173 LIBGNOMEPRINTUI_CFLAGS
=""
36174 LIBGNOMEPRINTUI_LIBS
=""
36175 ## If we have a custom action on failure, don't print errors, but
36176 ## do set a variable so people can do so.
36177 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
36184 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
36185 echo "*** See http://www.freedesktop.org/software/pkgconfig"
36189 if test $succeeded = yes; then
36191 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
36192 cat >>confdefs.h
<<\_ACEOF
36193 #define wxUSE_LIBGNOMEPRINT 1
36199 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
36200 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
36201 wxUSE_LIBGNOMEPRINT
="no"
36211 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
36212 cat >>confdefs.h
<<\_ACEOF
36213 #define wxUSE_CMDLINE_PARSER 1
36218 if test "$wxUSE_STOPWATCH" = "yes"; then
36219 cat >>confdefs.h
<<\_ACEOF
36220 #define wxUSE_STOPWATCH 1
36225 if test "$wxUSE_DATETIME" = "yes"; then
36226 cat >>confdefs.h
<<\_ACEOF
36227 #define wxUSE_DATETIME 1
36232 if test "$wxUSE_FILE" = "yes"; then
36233 cat >>confdefs.h
<<\_ACEOF
36234 #define wxUSE_FILE 1
36239 if test "$wxUSE_FFILE" = "yes"; then
36240 cat >>confdefs.h
<<\_ACEOF
36241 #define wxUSE_FFILE 1
36246 if test "$wxUSE_FILESYSTEM" = "yes"; then
36247 cat >>confdefs.h
<<\_ACEOF
36248 #define wxUSE_FILESYSTEM 1
36253 if test "$wxUSE_FS_ZIP" = "yes"; then
36254 cat >>confdefs.h
<<\_ACEOF
36255 #define wxUSE_FS_ZIP 1
36260 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
36261 cat >>confdefs.h
<<\_ACEOF
36262 #define wxUSE_ARCHIVE_STREAMS 1
36267 if test "$wxUSE_ZIPSTREAM" = "yes"; then
36268 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
36269 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
36270 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
36271 elif test "$wxUSE_ZLIB" = "no"; then
36272 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
36273 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
36275 cat >>confdefs.h
<<\_ACEOF
36276 #define wxUSE_ZIPSTREAM 1
36282 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36283 cat >>confdefs.h
<<\_ACEOF
36284 #define wxUSE_ON_FATAL_EXCEPTION 1
36289 if test "$wxUSE_STACKWALKER" = "yes"; then
36290 cat >>confdefs.h
<<\_ACEOF
36291 #define wxUSE_STACKWALKER 1
36296 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36297 cat >>confdefs.h
<<\_ACEOF
36298 #define wxUSE_SNGLINST_CHECKER 1
36303 if test "$wxUSE_BUSYINFO" = "yes"; then
36304 cat >>confdefs.h
<<\_ACEOF
36305 #define wxUSE_BUSYINFO 1
36310 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
36311 cat >>confdefs.h
<<\_ACEOF
36312 #define wxUSE_STD_IOSTREAM 1
36317 if test "$wxUSE_STDPATHS" = "yes"; then
36318 cat >>confdefs.h
<<\_ACEOF
36319 #define wxUSE_STDPATHS 1
36324 if test "$wxUSE_TEXTBUFFER" = "yes"; then
36325 cat >>confdefs.h
<<\_ACEOF
36326 #define wxUSE_TEXTBUFFER 1
36331 if test "$wxUSE_TEXTFILE" = "yes"; then
36332 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
36333 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
36334 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
36336 cat >>confdefs.h
<<\_ACEOF
36337 #define wxUSE_TEXTFILE 1
36343 if test "$wxUSE_CONFIG" = "yes" ; then
36344 if test "$wxUSE_TEXTFILE" != "yes"; then
36345 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
36346 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
36348 cat >>confdefs.h
<<\_ACEOF
36349 #define wxUSE_CONFIG 1
36352 cat >>confdefs.h
<<\_ACEOF
36353 #define wxUSE_CONFIG_NATIVE 1
36356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
36360 if test "$wxUSE_INTL" = "yes" ; then
36361 if test "$wxUSE_FILE" != "yes"; then
36362 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
36363 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
36365 cat >>confdefs.h
<<\_ACEOF
36366 #define wxUSE_INTL 1
36369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
36370 GUIDIST
="$GUIDIST INTL_DIST"
36374 if test "$wxUSE_LOG" = "yes"; then
36375 cat >>confdefs.h
<<\_ACEOF
36376 #define wxUSE_LOG 1
36380 if test "$wxUSE_LOGGUI" = "yes"; then
36381 cat >>confdefs.h
<<\_ACEOF
36382 #define wxUSE_LOGGUI 1
36387 if test "$wxUSE_LOGWINDOW" = "yes"; then
36388 cat >>confdefs.h
<<\_ACEOF
36389 #define wxUSE_LOGWINDOW 1
36394 if test "$wxUSE_LOGDIALOG" = "yes"; then
36395 cat >>confdefs.h
<<\_ACEOF
36396 #define wxUSE_LOG_DIALOG 1
36401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
36404 if test "$wxUSE_LONGLONG" = "yes"; then
36405 cat >>confdefs.h
<<\_ACEOF
36406 #define wxUSE_LONGLONG 1
36411 if test "$wxUSE_GEOMETRY" = "yes"; then
36412 cat >>confdefs.h
<<\_ACEOF
36413 #define wxUSE_GEOMETRY 1
36418 if test "$wxUSE_STREAMS" = "yes" ; then
36419 cat >>confdefs.h
<<\_ACEOF
36420 #define wxUSE_STREAMS 1
36426 if test "$wxUSE_DATETIME" = "yes"; then
36428 for ac_func
in strptime
36430 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36431 echo "$as_me:$LINENO: checking for $ac_func" >&5
36432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36433 if eval "test \"\${$as_ac_var+set}\" = set"; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36436 cat >conftest.
$ac_ext <<_ACEOF
36439 cat confdefs.h
>>conftest.
$ac_ext
36440 cat >>conftest.
$ac_ext <<_ACEOF
36441 /* end confdefs.h. */
36442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36444 #define $ac_func innocuous_$ac_func
36446 /* System header to define __stub macros and hopefully few prototypes,
36447 which can conflict with char $ac_func (); below.
36448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36449 <limits.h> exists even on freestanding compilers. */
36452 # include <limits.h>
36454 # include <assert.h>
36459 /* Override any gcc2 internal prototype to avoid an error. */
36464 /* We use char because int might match the return type of a gcc2
36465 builtin and then its argument prototype would still apply. */
36467 /* The GNU C library defines this for functions which it implements
36468 to always fail with ENOSYS. Some functions are actually named
36469 something starting with __ and the normal name is an alias. */
36470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36473 char (*f) () = $ac_func;
36482 return f != $ac_func;
36487 rm -f conftest.
$ac_objext conftest
$ac_exeext
36488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36489 (eval $ac_link) 2>conftest.er1
36491 grep -v '^ *+' conftest.er1
>conftest.err
36493 cat conftest.err
>&5
36494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495 (exit $ac_status); } &&
36496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36498 (eval $ac_try) 2>&5
36500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36501 (exit $ac_status); }; } &&
36502 { ac_try
='test -s conftest$ac_exeext'
36503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36504 (eval $ac_try) 2>&5
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); }; }; then
36508 eval "$as_ac_var=yes"
36510 echo "$as_me: failed program was:" >&5
36511 sed 's/^/| /' conftest.
$ac_ext >&5
36513 eval "$as_ac_var=no"
36515 rm -f conftest.err conftest.
$ac_objext \
36516 conftest
$ac_exeext conftest.
$ac_ext
36518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36520 if test `eval echo '${'$as_ac_var'}'` = yes; then
36521 cat >>confdefs.h
<<_ACEOF
36522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36529 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
36530 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
36531 if test "${wx_cv_var_timezone+set}" = set; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36535 cat >conftest.
$ac_ext <<_ACEOF
36538 cat confdefs.h
>>conftest.
$ac_ext
36539 cat >>conftest.
$ac_ext <<_ACEOF
36540 /* end confdefs.h. */
36555 rm -f conftest.
$ac_objext
36556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36557 (eval $ac_compile) 2>conftest.er1
36559 grep -v '^ *+' conftest.er1
>conftest.err
36561 cat conftest.err
>&5
36562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36563 (exit $ac_status); } &&
36564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36566 (eval $ac_try) 2>&5
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); }; } &&
36570 { ac_try
='test -s conftest.$ac_objext'
36571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36572 (eval $ac_try) 2>&5
36574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36575 (exit $ac_status); }; }; then
36577 wx_cv_var_timezone
=timezone
36580 echo "$as_me: failed program was:" >&5
36581 sed 's/^/| /' conftest.
$ac_ext >&5
36584 cat >conftest.
$ac_ext <<_ACEOF
36587 cat confdefs.h
>>conftest.
$ac_ext
36588 cat >>conftest.
$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36604 rm -f conftest.
$ac_objext
36605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36606 (eval $ac_compile) 2>conftest.er1
36608 grep -v '^ *+' conftest.er1
>conftest.err
36610 cat conftest.err
>&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); } &&
36613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; } &&
36619 { ac_try
='test -s conftest.$ac_objext'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; }; then
36626 wx_cv_var_timezone
=_timezone
36629 echo "$as_me: failed program was:" >&5
36630 sed 's/^/| /' conftest.
$ac_ext >&5
36633 cat >conftest.
$ac_ext <<_ACEOF
36636 cat confdefs.h
>>conftest.
$ac_ext
36637 cat >>conftest.
$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36653 rm -f conftest.
$ac_objext
36654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36655 (eval $ac_compile) 2>conftest.er1
36657 grep -v '^ *+' conftest.er1
>conftest.err
36659 cat conftest.err
>&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } &&
36662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36664 (eval $ac_try) 2>&5
36666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36667 (exit $ac_status); }; } &&
36668 { ac_try
='test -s conftest.$ac_objext'
36669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36670 (eval $ac_try) 2>&5
36672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36673 (exit $ac_status); }; }; then
36675 wx_cv_var_timezone
=__timezone
36678 echo "$as_me: failed program was:" >&5
36679 sed 's/^/| /' conftest.
$ac_ext >&5
36682 if test "$USE_DOS" = 0 ; then
36683 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
36684 echo "$as_me: WARNING: no timezone variable" >&2;}
36689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36701 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
36702 echo "${ECHO_T}$wx_cv_var_timezone" >&6
36704 if test "x$wx_cv_var_timezone" != x
; then
36705 cat >>confdefs.h
<<_ACEOF
36706 #define WX_TIMEZONE $wx_cv_var_timezone
36712 for ac_func
in localtime
36714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36715 echo "$as_me:$LINENO: checking for $ac_func" >&5
36716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36717 if eval "test \"\${$as_ac_var+set}\" = set"; then
36718 echo $ECHO_N "(cached) $ECHO_C" >&6
36720 cat >conftest.
$ac_ext <<_ACEOF
36723 cat confdefs.h
>>conftest.
$ac_ext
36724 cat >>conftest.
$ac_ext <<_ACEOF
36725 /* end confdefs.h. */
36726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36728 #define $ac_func innocuous_$ac_func
36730 /* System header to define __stub macros and hopefully few prototypes,
36731 which can conflict with char $ac_func (); below.
36732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36733 <limits.h> exists even on freestanding compilers. */
36736 # include <limits.h>
36738 # include <assert.h>
36743 /* Override any gcc2 internal prototype to avoid an error. */
36748 /* We use char because int might match the return type of a gcc2
36749 builtin and then its argument prototype would still apply. */
36751 /* The GNU C library defines this for functions which it implements
36752 to always fail with ENOSYS. Some functions are actually named
36753 something starting with __ and the normal name is an alias. */
36754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36757 char (*f) () = $ac_func;
36766 return f != $ac_func;
36771 rm -f conftest.
$ac_objext conftest
$ac_exeext
36772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36773 (eval $ac_link) 2>conftest.er1
36775 grep -v '^ *+' conftest.er1
>conftest.err
36777 cat conftest.err
>&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); } &&
36780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782 (eval $ac_try) 2>&5
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; } &&
36786 { ac_try
='test -s conftest$ac_exeext'
36787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36788 (eval $ac_try) 2>&5
36790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36791 (exit $ac_status); }; }; then
36792 eval "$as_ac_var=yes"
36794 echo "$as_me: failed program was:" >&5
36795 sed 's/^/| /' conftest.
$ac_ext >&5
36797 eval "$as_ac_var=no"
36799 rm -f conftest.err conftest.
$ac_objext \
36800 conftest
$ac_exeext conftest.
$ac_ext
36802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36804 if test `eval echo '${'$as_ac_var'}'` = yes; then
36805 cat >>confdefs.h
<<_ACEOF
36806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36813 if test "$ac_cv_func_localtime" = "yes"; then
36814 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
36815 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
36816 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
36817 echo $ECHO_N "(cached) $ECHO_C" >&6
36820 cat >conftest.
$ac_ext <<_ACEOF
36823 cat confdefs.h
>>conftest.
$ac_ext
36824 cat >>conftest.
$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36840 rm -f conftest.
$ac_objext
36841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36842 (eval $ac_compile) 2>conftest.er1
36844 grep -v '^ *+' conftest.er1
>conftest.err
36846 cat conftest.err
>&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } &&
36849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36851 (eval $ac_try) 2>&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); }; } &&
36855 { ac_try
='test -s conftest.$ac_objext'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; }; then
36862 wx_cv_struct_tm_has_gmtoff
=yes
36865 echo "$as_me: failed program was:" >&5
36866 sed 's/^/| /' conftest.
$ac_ext >&5
36868 wx_cv_struct_tm_has_gmtoff
=no
36871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36874 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
36875 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
36878 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
36879 cat >>confdefs.h
<<\_ACEOF
36880 #define WX_GMTOFF_IN_TM 1
36887 for ac_func
in gettimeofday ftime
36889 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36890 echo "$as_me:$LINENO: checking for $ac_func" >&5
36891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36892 if eval "test \"\${$as_ac_var+set}\" = set"; then
36893 echo $ECHO_N "(cached) $ECHO_C" >&6
36895 cat >conftest.
$ac_ext <<_ACEOF
36898 cat confdefs.h
>>conftest.
$ac_ext
36899 cat >>conftest.
$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36903 #define $ac_func innocuous_$ac_func
36905 /* System header to define __stub macros and hopefully few prototypes,
36906 which can conflict with char $ac_func (); below.
36907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36908 <limits.h> exists even on freestanding compilers. */
36911 # include <limits.h>
36913 # include <assert.h>
36918 /* Override any gcc2 internal prototype to avoid an error. */
36923 /* We use char because int might match the return type of a gcc2
36924 builtin and then its argument prototype would still apply. */
36926 /* The GNU C library defines this for functions which it implements
36927 to always fail with ENOSYS. Some functions are actually named
36928 something starting with __ and the normal name is an alias. */
36929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36932 char (*f) () = $ac_func;
36941 return f != $ac_func;
36946 rm -f conftest.
$ac_objext conftest
$ac_exeext
36947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36948 (eval $ac_link) 2>conftest.er1
36950 grep -v '^ *+' conftest.er1
>conftest.err
36952 cat conftest.err
>&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } &&
36955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957 (eval $ac_try) 2>&5
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); }; } &&
36961 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
36967 eval "$as_ac_var=yes"
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.
$ac_ext >&5
36972 eval "$as_ac_var=no"
36974 rm -f conftest.err conftest.
$ac_objext \
36975 conftest
$ac_exeext conftest.
$ac_ext
36977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36979 if test `eval echo '${'$as_ac_var'}'` = yes; then
36980 cat >>confdefs.h
<<_ACEOF
36981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36988 if test "$ac_cv_func_gettimeofday" = "yes"; then
36989 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
36990 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
36991 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
36992 echo $ECHO_N "(cached) $ECHO_C" >&6
36998 ac_cpp
='$CXXCPP $CPPFLAGS'
36999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37004 cat >conftest.
$ac_ext <<_ACEOF
37007 cat confdefs.h
>>conftest.
$ac_ext
37008 cat >>conftest.
$ac_ext <<_ACEOF
37009 /* end confdefs.h. */
37011 #include <sys/time.h>
37012 #include <unistd.h>
37019 gettimeofday(&tv, NULL);
37025 rm -f conftest.
$ac_objext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37027 (eval $ac_compile) 2>conftest.er1
37029 grep -v '^ *+' conftest.er1
>conftest.err
37031 cat conftest.err
>&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37036 (eval $ac_try) 2>&5
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); }; } &&
37040 { ac_try
='test -s conftest.$ac_objext'
37041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37042 (eval $ac_try) 2>&5
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); }; }; then
37046 wx_cv_func_gettimeofday_has_2_args
=yes
37048 echo "$as_me: failed program was:" >&5
37049 sed 's/^/| /' conftest.
$ac_ext >&5
37051 cat >conftest.
$ac_ext <<_ACEOF
37054 cat confdefs.h
>>conftest.
$ac_ext
37055 cat >>conftest.
$ac_ext <<_ACEOF
37056 /* end confdefs.h. */
37058 #include <sys/time.h>
37059 #include <unistd.h>
37072 rm -f conftest.
$ac_objext
37073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37074 (eval $ac_compile) 2>conftest.er1
37076 grep -v '^ *+' conftest.er1
>conftest.err
37078 cat conftest.err
>&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); } &&
37081 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37083 (eval $ac_try) 2>&5
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); }; } &&
37087 { ac_try
='test -s conftest.$ac_objext'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; }; then
37093 wx_cv_func_gettimeofday_has_2_args
=no
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.
$ac_ext >&5
37099 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
37100 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
37101 wx_cv_func_gettimeofday_has_2_args
=unknown
37105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37110 ac_cpp
='$CPP $CPPFLAGS'
37111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37117 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
37118 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
37120 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
37121 cat >>confdefs.h
<<\_ACEOF
37122 #define WX_GETTIMEOFDAY_NO_TZ 1
37128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
37132 if test "$wxUSE_SOCKETS" = "yes"; then
37133 if test "$wxUSE_MGL" = "1"; then
37134 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
37135 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
37140 if test "$wxUSE_SOCKETS" = "yes"; then
37141 if test "$TOOLKIT" != "MSW"; then
37142 echo "$as_me:$LINENO: checking for socket" >&5
37143 echo $ECHO_N "checking for socket... $ECHO_C" >&6
37144 if test "${ac_cv_func_socket+set}" = set; then
37145 echo $ECHO_N "(cached) $ECHO_C" >&6
37147 cat >conftest.
$ac_ext <<_ACEOF
37150 cat confdefs.h
>>conftest.
$ac_ext
37151 cat >>conftest.
$ac_ext <<_ACEOF
37152 /* end confdefs.h. */
37153 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
37154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37155 #define socket innocuous_socket
37157 /* System header to define __stub macros and hopefully few prototypes,
37158 which can conflict with char socket (); below.
37159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37160 <limits.h> exists even on freestanding compilers. */
37163 # include <limits.h>
37165 # include <assert.h>
37170 /* Override any gcc2 internal prototype to avoid an error. */
37175 /* We use char because int might match the return type of a gcc2
37176 builtin and then its argument prototype would still apply. */
37178 /* The GNU C library defines this for functions which it implements
37179 to always fail with ENOSYS. Some functions are actually named
37180 something starting with __ and the normal name is an alias. */
37181 #if defined (__stub_socket) || defined (__stub___socket)
37184 char (*f) () = socket;
37193 return f != socket;
37198 rm -f conftest.
$ac_objext conftest
$ac_exeext
37199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37200 (eval $ac_link) 2>conftest.er1
37202 grep -v '^ *+' conftest.er1
>conftest.err
37204 cat conftest.err
>&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); } &&
37207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; } &&
37213 { ac_try
='test -s conftest$ac_exeext'
37214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37215 (eval $ac_try) 2>&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); }; }; then
37219 ac_cv_func_socket
=yes
37221 echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.
$ac_ext >&5
37224 ac_cv_func_socket
=no
37226 rm -f conftest.err conftest.
$ac_objext \
37227 conftest
$ac_exeext conftest.
$ac_ext
37229 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
37230 echo "${ECHO_T}$ac_cv_func_socket" >&6
37231 if test $ac_cv_func_socket = yes; then
37235 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
37236 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
37237 if test "${ac_cv_lib_socket_socket+set}" = set; then
37238 echo $ECHO_N "(cached) $ECHO_C" >&6
37240 ac_check_lib_save_LIBS
=$LIBS
37241 LIBS
="-lsocket $LIBS"
37242 cat >conftest.
$ac_ext <<_ACEOF
37245 cat confdefs.h
>>conftest.
$ac_ext
37246 cat >>conftest.
$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37249 /* Override any gcc2 internal prototype to avoid an error. */
37253 /* We use char because int might match the return type of a gcc2
37254 builtin and then its argument prototype would still apply. */
37264 rm -f conftest.
$ac_objext conftest
$ac_exeext
37265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37266 (eval $ac_link) 2>conftest.er1
37268 grep -v '^ *+' conftest.er1
>conftest.err
37270 cat conftest.err
>&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); } &&
37273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; } &&
37279 { ac_try
='test -s conftest$ac_exeext'
37280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37281 (eval $ac_try) 2>&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); }; }; then
37285 ac_cv_lib_socket_socket
=yes
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.
$ac_ext >&5
37290 ac_cv_lib_socket_socket
=no
37292 rm -f conftest.err conftest.
$ac_objext \
37293 conftest
$ac_exeext conftest.
$ac_ext
37294 LIBS
=$ac_check_lib_save_LIBS
37296 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
37297 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
37298 if test $ac_cv_lib_socket_socket = yes; then
37299 if test "$INET_LINK" != " -lsocket"; then
37300 INET_LINK
="$INET_LINK -lsocket"
37304 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
37305 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
37318 if test "$wxUSE_SOCKETS" = "yes" ; then
37319 if test "$TOOLKIT" != "MSW"; then
37321 ac_cpp
='$CXXCPP $CPPFLAGS'
37322 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37326 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
37327 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
37328 if test "${wx_cv_type_getsockname3+set}" = set; then
37329 echo $ECHO_N "(cached) $ECHO_C" >&6
37332 cat >conftest.
$ac_ext <<_ACEOF
37335 cat confdefs.h
>>conftest.
$ac_ext
37336 cat >>conftest.
$ac_ext <<_ACEOF
37337 /* end confdefs.h. */
37339 #include <sys/types.h>
37340 #include <sys/socket.h>
37347 getsockname(0, 0, &len);
37353 rm -f conftest.
$ac_objext
37354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37355 (eval $ac_compile) 2>conftest.er1
37357 grep -v '^ *+' conftest.er1
>conftest.err
37359 cat conftest.err
>&5
37360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361 (exit $ac_status); } &&
37362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37364 (eval $ac_try) 2>&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); }; } &&
37368 { ac_try
='test -s conftest.$ac_objext'
37369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37370 (eval $ac_try) 2>&5
37372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373 (exit $ac_status); }; }; then
37374 wx_cv_type_getsockname3
=socklen_t
37376 echo "$as_me: failed program was:" >&5
37377 sed 's/^/| /' conftest.
$ac_ext >&5
37380 CFLAGS_OLD
="$CFLAGS"
37381 if test "$GCC" = yes ; then
37382 CFLAGS
="$CFLAGS -Werror"
37385 cat >conftest.
$ac_ext <<_ACEOF
37388 cat confdefs.h
>>conftest.
$ac_ext
37389 cat >>conftest.
$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37392 #include <sys/types.h>
37393 #include <sys/socket.h>
37400 getsockname(0, 0, &len);
37406 rm -f conftest.
$ac_objext
37407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37408 (eval $ac_compile) 2>conftest.er1
37410 grep -v '^ *+' conftest.er1
>conftest.err
37412 cat conftest.err
>&5
37413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414 (exit $ac_status); } &&
37415 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37417 (eval $ac_try) 2>&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); }; } &&
37421 { ac_try
='test -s conftest.$ac_objext'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; }; then
37427 wx_cv_type_getsockname3
=size_t
37429 echo "$as_me: failed program was:" >&5
37430 sed 's/^/| /' conftest.
$ac_ext >&5
37432 cat >conftest.
$ac_ext <<_ACEOF
37435 cat confdefs.h
>>conftest.
$ac_ext
37436 cat >>conftest.
$ac_ext <<_ACEOF
37437 /* end confdefs.h. */
37439 #include <sys/types.h>
37440 #include <sys/socket.h>
37447 getsockname(0, 0, &len);
37453 rm -f conftest.
$ac_objext
37454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37455 (eval $ac_compile) 2>conftest.er1
37457 grep -v '^ *+' conftest.er1
>conftest.err
37459 cat conftest.err
>&5
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); } &&
37462 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37464 (eval $ac_try) 2>&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; } &&
37468 { ac_try
='test -s conftest.$ac_objext'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; }; then
37474 wx_cv_type_getsockname3
=int
37476 echo "$as_me: failed program was:" >&5
37477 sed 's/^/| /' conftest.
$ac_ext >&5
37479 wx_cv_type_getsockname3
=unknown
37482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37487 CFLAGS
="$CFLAGS_OLD"
37491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37494 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
37495 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
37497 if test "$wx_cv_type_getsockname3" = "unknown"; then
37499 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37500 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37502 cat >>confdefs.h
<<_ACEOF
37503 #define SOCKLEN_T $wx_cv_type_getsockname3
37507 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
37508 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
37509 if test "${wx_cv_type_getsockopt5+set}" = set; then
37510 echo $ECHO_N "(cached) $ECHO_C" >&6
37513 cat >conftest.
$ac_ext <<_ACEOF
37516 cat confdefs.h
>>conftest.
$ac_ext
37517 cat >>conftest.
$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37520 #include <sys/types.h>
37521 #include <sys/socket.h>
37528 getsockopt(0, 0, 0, 0, &len);
37534 rm -f conftest.
$ac_objext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37536 (eval $ac_compile) 2>conftest.er1
37538 grep -v '^ *+' conftest.er1
>conftest.err
37540 cat conftest.err
>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } &&
37543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; } &&
37549 { ac_try
='test -s conftest.$ac_objext'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; }; then
37555 wx_cv_type_getsockopt5
=socklen_t
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.
$ac_ext >&5
37561 CFLAGS_OLD
="$CFLAGS"
37562 if test "$GCC" = yes ; then
37563 CFLAGS
="$CFLAGS -Werror"
37566 cat >conftest.
$ac_ext <<_ACEOF
37569 cat confdefs.h
>>conftest.
$ac_ext
37570 cat >>conftest.
$ac_ext <<_ACEOF
37571 /* end confdefs.h. */
37573 #include <sys/types.h>
37574 #include <sys/socket.h>
37581 getsockopt(0, 0, 0, 0, &len);
37587 rm -f conftest.
$ac_objext
37588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37589 (eval $ac_compile) 2>conftest.er1
37591 grep -v '^ *+' conftest.er1
>conftest.err
37593 cat conftest.err
>&5
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); } &&
37596 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; } &&
37602 { ac_try
='test -s conftest.$ac_objext'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; }; then
37608 wx_cv_type_getsockopt5
=size_t
37610 echo "$as_me: failed program was:" >&5
37611 sed 's/^/| /' conftest.
$ac_ext >&5
37613 cat >conftest.
$ac_ext <<_ACEOF
37616 cat confdefs.h
>>conftest.
$ac_ext
37617 cat >>conftest.
$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37620 #include <sys/types.h>
37621 #include <sys/socket.h>
37628 getsockopt(0, 0, 0, 0, &len);
37634 rm -f conftest.
$ac_objext
37635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37636 (eval $ac_compile) 2>conftest.er1
37638 grep -v '^ *+' conftest.er1
>conftest.err
37640 cat conftest.err
>&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } &&
37643 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37645 (eval $ac_try) 2>&5
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); }; } &&
37649 { ac_try
='test -s conftest.$ac_objext'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; }; then
37655 wx_cv_type_getsockopt5
=int
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.
$ac_ext >&5
37660 wx_cv_type_getsockopt5
=unknown
37663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37668 CFLAGS
="$CFLAGS_OLD"
37672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37675 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
37676 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
37678 if test "$wx_cv_type_getsockopt5" = "unknown"; then
37680 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
37681 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
37683 cat >>confdefs.h
<<_ACEOF
37684 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
37689 ac_cpp
='$CPP $CPPFLAGS'
37690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37697 if test "$wxUSE_SOCKETS" = "yes" ; then
37698 cat >>confdefs.h
<<\_ACEOF
37699 #define wxUSE_SOCKETS 1
37702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37705 if test "$wxUSE_PROTOCOL" = "yes"; then
37706 if test "$wxUSE_SOCKETS" != "yes"; then
37707 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
37708 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
37713 if test "$wxUSE_PROTOCOL" = "yes"; then
37714 cat >>confdefs.h
<<\_ACEOF
37715 #define wxUSE_PROTOCOL 1
37719 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
37720 cat >>confdefs.h
<<\_ACEOF
37721 #define wxUSE_PROTOCOL_HTTP 1
37725 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
37726 cat >>confdefs.h
<<\_ACEOF
37727 #define wxUSE_PROTOCOL_FTP 1
37731 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
37732 cat >>confdefs.h
<<\_ACEOF
37733 #define wxUSE_PROTOCOL_FILE 1
37738 if test "$wxUSE_FS_INET" = "yes"; then
37739 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
37740 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
37745 if test "$wxUSE_URL" = "yes"; then
37746 if test "$wxUSE_PROTOCOL" != "yes"; then
37747 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
37748 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
37751 if test "$wxUSE_URL" = "yes"; then
37752 cat >>confdefs.h
<<\_ACEOF
37753 #define wxUSE_URL 1
37759 if test "$wxUSE_FS_INET" = "yes"; then
37760 cat >>confdefs.h
<<\_ACEOF
37761 #define wxUSE_FS_INET 1
37767 if test "$wxUSE_GUI" = "yes"; then
37768 if test "$wxUSE_JOYSTICK" = "yes"; then
37770 if test "$TOOLKIT" != "MAC" -a "$TOOLKIT" != "COCOA" -a "$TOOLKIT" != "MSW"; then
37772 for ac_header
in linux
/joystick.h
37774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37776 echo "$as_me:$LINENO: checking for $ac_header" >&5
37777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37779 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37784 # Is the header compilable?
37785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37787 cat >conftest.
$ac_ext <<_ACEOF
37790 cat confdefs.h
>>conftest.
$ac_ext
37791 cat >>conftest.
$ac_ext <<_ACEOF
37792 /* end confdefs.h. */
37793 $ac_includes_default
37794 #include <$ac_header>
37796 rm -f conftest.
$ac_objext
37797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37798 (eval $ac_compile) 2>conftest.er1
37800 grep -v '^ *+' conftest.er1
>conftest.err
37802 cat conftest.err
>&5
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); } &&
37805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807 (eval $ac_try) 2>&5
37809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810 (exit $ac_status); }; } &&
37811 { ac_try
='test -s conftest.$ac_objext'
37812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37813 (eval $ac_try) 2>&5
37815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37816 (exit $ac_status); }; }; then
37817 ac_header_compiler
=yes
37819 echo "$as_me: failed program was:" >&5
37820 sed 's/^/| /' conftest.
$ac_ext >&5
37822 ac_header_compiler
=no
37824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37826 echo "${ECHO_T}$ac_header_compiler" >&6
37828 # Is the header present?
37829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37831 cat >conftest.
$ac_ext <<_ACEOF
37834 cat confdefs.h
>>conftest.
$ac_ext
37835 cat >>conftest.
$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837 #include <$ac_header>
37839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37842 grep -v '^ *+' conftest.er1
>conftest.err
37844 cat conftest.err
>&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } >/dev
/null
; then
37847 if test -s conftest.err
; then
37848 ac_cpp_err
=$ac_c_preproc_warn_flag
37849 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37856 if test -z "$ac_cpp_err"; then
37857 ac_header_preproc
=yes
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.
$ac_ext >&5
37862 ac_header_preproc
=no
37864 rm -f conftest.err conftest.
$ac_ext
37865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37866 echo "${ECHO_T}$ac_header_preproc" >&6
37868 # So? What about this header?
37869 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37874 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37875 ac_header_preproc
=yes
37878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37882 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37883 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37884 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37885 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37888 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37889 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37892 ## ----------------------------------------- ##
37893 ## Report this to wx-dev@lists.wxwidgets.org ##
37894 ## ----------------------------------------- ##
37897 sed "s/^/$as_me: WARNING: /" >&2
37900 echo "$as_me:$LINENO: checking for $ac_header" >&5
37901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37903 echo $ECHO_N "(cached) $ECHO_C" >&6
37905 eval "$as_ac_Header=\$ac_header_preproc"
37907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37912 cat >>confdefs.h
<<_ACEOF
37913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37920 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
37922 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37923 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37926 if test "$USE_DARWIN" != 1 -a "$TOOLKIT" != "MSW"; then
37928 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
37929 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
37934 if test "$wxUSE_JOYSTICK" = "yes"; then
37935 cat >>confdefs.h
<<\_ACEOF
37936 #define wxUSE_JOYSTICK 1
37939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
37946 if test "$wxUSE_FONTMAP" = "yes" ; then
37947 cat >>confdefs.h
<<\_ACEOF
37948 #define wxUSE_FONTMAP 1
37953 if test "$wxUSE_UNICODE" = "yes" ; then
37954 cat >>confdefs.h
<<\_ACEOF
37955 #define wxUSE_UNICODE 1
37959 if test "$USE_WIN32" != 1; then
37960 wxUSE_UNICODE_MSLU
=no
37963 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
37964 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
37965 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
37966 if test "${ac_cv_lib_unicows_main+set}" = set; then
37967 echo $ECHO_N "(cached) $ECHO_C" >&6
37969 ac_check_lib_save_LIBS
=$LIBS
37970 LIBS
="-lunicows $LIBS"
37971 cat >conftest.
$ac_ext <<_ACEOF
37974 cat confdefs.h
>>conftest.
$ac_ext
37975 cat >>conftest.
$ac_ext <<_ACEOF
37976 /* end confdefs.h. */
37987 rm -f conftest.
$ac_objext conftest
$ac_exeext
37988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37989 (eval $ac_link) 2>conftest.er1
37991 grep -v '^ *+' conftest.er1
>conftest.err
37993 cat conftest.err
>&5
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); } &&
37996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37998 (eval $ac_try) 2>&5
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); }; } &&
38002 { ac_try
='test -s conftest$ac_exeext'
38003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38004 (eval $ac_try) 2>&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); }; }; then
38008 ac_cv_lib_unicows_main
=yes
38010 echo "$as_me: failed program was:" >&5
38011 sed 's/^/| /' conftest.
$ac_ext >&5
38013 ac_cv_lib_unicows_main
=no
38015 rm -f conftest.err conftest.
$ac_objext \
38016 conftest
$ac_exeext conftest.
$ac_ext
38017 LIBS
=$ac_check_lib_save_LIBS
38019 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
38020 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
38021 if test $ac_cv_lib_unicows_main = yes; then
38023 cat >>confdefs.h
<<\_ACEOF
38024 #define wxUSE_UNICODE_MSLU 1
38030 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38031 Applications will only run on Windows NT/2000/XP!" >&5
38032 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
38033 Applications will only run on Windows NT/2000/XP!" >&2;}
38034 wxUSE_UNICODE_MSLU
=no
38041 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
38042 cat >>confdefs.h
<<\_ACEOF
38043 #define wxUSE_EXPERIMENTAL_PRINTF 1
38049 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
38050 cat >>confdefs.h
<<\_ACEOF
38051 #define wxUSE_POSTSCRIPT 1
38056 cat >>confdefs.h
<<\_ACEOF
38057 #define wxUSE_AFM_FOR_POSTSCRIPT 1
38061 cat >>confdefs.h
<<\_ACEOF
38062 #define wxUSE_NORMALIZED_PS_FONTS 1
38067 if test "$wxUSE_CONSTRAINTS" = "yes"; then
38068 cat >>confdefs.h
<<\_ACEOF
38069 #define wxUSE_CONSTRAINTS 1
38072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
38075 if test "$wxUSE_MDI" = "yes"; then
38076 cat >>confdefs.h
<<\_ACEOF
38077 #define wxUSE_MDI 1
38081 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38082 cat >>confdefs.h
<<\_ACEOF
38083 #define wxUSE_MDI_ARCHITECTURE 1
38086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
38090 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
38091 cat >>confdefs.h
<<\_ACEOF
38092 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
38095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
38096 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
38097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
38101 if test "$wxUSE_HELP" = "yes"; then
38102 cat >>confdefs.h
<<\_ACEOF
38103 #define wxUSE_HELP 1
38106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
38108 if test "$wxUSE_MSW" = 1; then
38109 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
38110 cat >>confdefs.h
<<\_ACEOF
38111 #define wxUSE_MS_HTML_HELP 1
38117 if test "$wxUSE_WXHTML_HELP" = "yes"; then
38118 if test "$wxUSE_HTML" = "yes"; then
38119 cat >>confdefs.h
<<\_ACEOF
38120 #define wxUSE_WXHTML_HELP 1
38124 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
38125 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
38126 wxUSE_WXHTML_HELP
=no
38131 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38132 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38133 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
38134 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
38136 cat >>confdefs.h
<<\_ACEOF
38137 #define wxUSE_PRINTING_ARCHITECTURE 1
38141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
38144 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
38145 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
38146 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
38147 { (exit 1); exit 1; }; }
38151 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
38152 -o "$wxUSE_CLIPBOARD" = "yes" \
38153 -o "$wxUSE_OLE" = "yes" \
38154 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
38156 for ac_header
in ole2.h
38158 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38160 echo "$as_me:$LINENO: checking for $ac_header" >&5
38161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38163 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38168 # Is the header compilable?
38169 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38170 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38171 cat >conftest.
$ac_ext <<_ACEOF
38174 cat confdefs.h
>>conftest.
$ac_ext
38175 cat >>conftest.
$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38177 $ac_includes_default
38178 #include <$ac_header>
38180 rm -f conftest.
$ac_objext
38181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38182 (eval $ac_compile) 2>conftest.er1
38184 grep -v '^ *+' conftest.er1
>conftest.err
38186 cat conftest.err
>&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); } &&
38189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38191 (eval $ac_try) 2>&5
38193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38194 (exit $ac_status); }; } &&
38195 { ac_try
='test -s conftest.$ac_objext'
38196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38197 (eval $ac_try) 2>&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); }; }; then
38201 ac_header_compiler
=yes
38203 echo "$as_me: failed program was:" >&5
38204 sed 's/^/| /' conftest.
$ac_ext >&5
38206 ac_header_compiler
=no
38208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38210 echo "${ECHO_T}$ac_header_compiler" >&6
38212 # Is the header present?
38213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38215 cat >conftest.
$ac_ext <<_ACEOF
38218 cat confdefs.h
>>conftest.
$ac_ext
38219 cat >>conftest.
$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38221 #include <$ac_header>
38223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38226 grep -v '^ *+' conftest.er1
>conftest.err
38228 cat conftest.err
>&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); } >/dev
/null
; then
38231 if test -s conftest.err
; then
38232 ac_cpp_err
=$ac_c_preproc_warn_flag
38233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
38240 if test -z "$ac_cpp_err"; then
38241 ac_header_preproc
=yes
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.
$ac_ext >&5
38246 ac_header_preproc
=no
38248 rm -f conftest.err conftest.
$ac_ext
38249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38250 echo "${ECHO_T}$ac_header_preproc" >&6
38252 # So? What about this header?
38253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38259 ac_header_preproc
=yes
38262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38276 ## ----------------------------------------- ##
38277 ## Report this to wx-dev@lists.wxwidgets.org ##
38278 ## ----------------------------------------- ##
38281 sed "s/^/$as_me: WARNING: /" >&2
38284 echo "$as_me:$LINENO: checking for $ac_header" >&5
38285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38287 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 eval "$as_ac_Header=\$ac_header_preproc"
38291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38296 cat >>confdefs.h
<<_ACEOF
38297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38305 if test "$ac_cv_header_ole2_h" = "yes" ; then
38306 if test "$GCC" = yes ; then
38310 ac_cpp
='$CXXCPP $CPPFLAGS'
38311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38316 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
38317 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
38318 cat >conftest.
$ac_ext <<_ACEOF
38321 cat confdefs.h
>>conftest.
$ac_ext
38322 cat >>conftest.
$ac_ext <<_ACEOF
38323 /* end confdefs.h. */
38324 #include <windows.h>
38334 rm -f conftest.
$ac_objext
38335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38336 (eval $ac_compile) 2>conftest.er1
38338 grep -v '^ *+' conftest.er1
>conftest.err
38340 cat conftest.err
>&5
38341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38342 (exit $ac_status); } &&
38343 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38345 (eval $ac_try) 2>&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); }; } &&
38349 { ac_try
='test -s conftest.$ac_objext'
38350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38351 (eval $ac_try) 2>&5
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); }; }; then
38355 echo "$as_me:$LINENO: result: no" >&5
38356 echo "${ECHO_T}no" >&6
38358 echo "$as_me: failed program was:" >&5
38359 sed 's/^/| /' conftest.
$ac_ext >&5
38361 echo "$as_me:$LINENO: result: yes" >&5
38362 echo "${ECHO_T}yes" >&6
38363 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
38365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38367 ac_cpp
='$CPP $CPPFLAGS'
38368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38372 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
38373 if test "$wxUSE_OLE" = "yes" ; then
38374 cat >>confdefs.h
<<\_ACEOF
38375 #define wxUSE_OLE 1
38378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
38382 if test "$wxUSE_DATAOBJ" = "yes" ; then
38383 cat >>confdefs.h
<<\_ACEOF
38384 #define wxUSE_DATAOBJ 1
38389 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
38390 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
38393 wxUSE_DRAG_AND_DROP
=no
38398 if test "$wxUSE_METAFILE" = "yes"; then
38399 cat >>confdefs.h
<<\_ACEOF
38400 #define wxUSE_METAFILE 1
38404 cat >>confdefs.h
<<\_ACEOF
38405 #define wxUSE_ENH_METAFILE 1
38411 if test "$wxUSE_IPC" = "yes"; then
38412 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
38413 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
38414 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
38418 if test "$wxUSE_IPC" = "yes"; then
38419 cat >>confdefs.h
<<\_ACEOF
38420 #define wxUSE_IPC 1
38423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
38427 if test "$wxUSE_CLIPBOARD" = "yes"; then
38428 if test "$wxUSE_MGL" = 1; then
38429 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
38430 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
38434 if test "$wxUSE_CLIPBOARD" = "yes"; then
38435 cat >>confdefs.h
<<\_ACEOF
38436 #define wxUSE_CLIPBOARD 1
38440 cat >>confdefs.h
<<\_ACEOF
38441 #define wxUSE_DATAOBJ 1
38447 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
38448 if test "$wxUSE_GTK" = 1; then
38449 if test "$WXGTK12" != 1; then
38450 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
38451 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
38452 wxUSE_DRAG_AND_DROP
=no
38456 if test "$wxUSE_MOTIF" = 1; then
38457 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
38458 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
38459 wxUSE_DRAG_AND_DROP
=no
38462 if test "$wxUSE_X11" = 1; then
38463 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
38464 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
38465 wxUSE_DRAG_AND_DROP
=no
38468 if test "$wxUSE_MGL" = 1; then
38469 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
38470 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
38471 wxUSE_DRAG_AND_DROP
=no
38474 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
38475 cat >>confdefs.h
<<\_ACEOF
38476 #define wxUSE_DRAG_AND_DROP 1
38483 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
38484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
38487 if test "$wxUSE_SPLINES" = "yes" ; then
38488 cat >>confdefs.h
<<\_ACEOF
38489 #define wxUSE_SPLINES 1
38496 if test "$wxUSE_CONTROLS" = "yes"; then
38500 if test "$wxUSE_ACCEL" = "yes"; then
38501 cat >>confdefs.h
<<\_ACEOF
38502 #define wxUSE_ACCEL 1
38508 if test "$wxUSE_BUTTON" = "yes"; then
38509 cat >>confdefs.h
<<\_ACEOF
38510 #define wxUSE_BUTTON 1
38516 if test "$wxUSE_BMPBUTTON" = "yes"; then
38517 cat >>confdefs.h
<<\_ACEOF
38518 #define wxUSE_BMPBUTTON 1
38524 if test "$wxUSE_CALCTRL" = "yes"; then
38525 cat >>confdefs.h
<<\_ACEOF
38526 #define wxUSE_CALENDARCTRL 1
38530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
38533 if test "$wxUSE_CARET" = "yes"; then
38534 cat >>confdefs.h
<<\_ACEOF
38535 #define wxUSE_CARET 1
38539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
38542 if test "$wxUSE_COMBOBOX" = "yes"; then
38543 cat >>confdefs.h
<<\_ACEOF
38544 #define wxUSE_COMBOBOX 1
38550 if test "$wxUSE_CHOICE" = "yes"; then
38551 cat >>confdefs.h
<<\_ACEOF
38552 #define wxUSE_CHOICE 1
38558 if test "$wxUSE_CHOICEBOOK" = "yes"; then
38559 cat >>confdefs.h
<<\_ACEOF
38560 #define wxUSE_CHOICEBOOK 1
38566 if test "$wxUSE_CHECKBOX" = "yes"; then
38567 cat >>confdefs.h
<<\_ACEOF
38568 #define wxUSE_CHECKBOX 1
38574 if test "$wxUSE_CHECKLST" = "yes"; then
38575 cat >>confdefs.h
<<\_ACEOF
38576 #define wxUSE_CHECKLISTBOX 1
38580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
38583 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
38584 cat >>confdefs.h
<<\_ACEOF
38585 #define wxUSE_DATEPICKCTRL 1
38591 if test "$wxUSE_DISPLAY" = "yes"; then
38592 cat >>confdefs.h
<<\_ACEOF
38593 #define wxUSE_DISPLAY 1
38596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
38599 if test "$wxUSE_GAUGE" = "yes"; then
38600 cat >>confdefs.h
<<\_ACEOF
38601 #define wxUSE_GAUGE 1
38607 if test "$wxUSE_GRID" = "yes"; then
38608 cat >>confdefs.h
<<\_ACEOF
38609 #define wxUSE_GRID 1
38613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
38616 if test "$wxUSE_IMAGLIST" = "yes"; then
38617 cat >>confdefs.h
<<\_ACEOF
38618 #define wxUSE_IMAGLIST 1
38623 if test "$wxUSE_LISTBOOK" = "yes"; then
38624 cat >>confdefs.h
<<\_ACEOF
38625 #define wxUSE_LISTBOOK 1
38631 if test "$wxUSE_LISTBOX" = "yes"; then
38632 cat >>confdefs.h
<<\_ACEOF
38633 #define wxUSE_LISTBOX 1
38637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
38640 if test "$wxUSE_LISTCTRL" = "yes"; then
38641 if test "$wxUSE_IMAGLIST" = "yes"; then
38642 cat >>confdefs.h
<<\_ACEOF
38643 #define wxUSE_LISTCTRL 1
38647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
38649 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
38650 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
38654 if test "$wxUSE_NOTEBOOK" = "yes"; then
38655 cat >>confdefs.h
<<\_ACEOF
38656 #define wxUSE_NOTEBOOK 1
38660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
38664 if test "$wxUSE_RADIOBOX" = "yes"; then
38665 cat >>confdefs.h
<<\_ACEOF
38666 #define wxUSE_RADIOBOX 1
38672 if test "$wxUSE_RADIOBTN" = "yes"; then
38673 cat >>confdefs.h
<<\_ACEOF
38674 #define wxUSE_RADIOBTN 1
38680 if test "$wxUSE_SASH" = "yes"; then
38681 cat >>confdefs.h
<<\_ACEOF
38682 #define wxUSE_SASH 1
38685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
38688 if test "$wxUSE_SCROLLBAR" = "yes"; then
38689 cat >>confdefs.h
<<\_ACEOF
38690 #define wxUSE_SCROLLBAR 1
38694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
38697 if test "$wxUSE_SLIDER" = "yes"; then
38698 cat >>confdefs.h
<<\_ACEOF
38699 #define wxUSE_SLIDER 1
38705 if test "$wxUSE_SPINBTN" = "yes"; then
38706 cat >>confdefs.h
<<\_ACEOF
38707 #define wxUSE_SPINBTN 1
38713 if test "$wxUSE_SPINCTRL" = "yes"; then
38714 cat >>confdefs.h
<<\_ACEOF
38715 #define wxUSE_SPINCTRL 1
38721 if test "$wxUSE_SPLITTER" = "yes"; then
38722 cat >>confdefs.h
<<\_ACEOF
38723 #define wxUSE_SPLITTER 1
38726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
38729 if test "$wxUSE_STATBMP" = "yes"; then
38730 cat >>confdefs.h
<<\_ACEOF
38731 #define wxUSE_STATBMP 1
38737 if test "$wxUSE_STATBOX" = "yes"; then
38738 cat >>confdefs.h
<<\_ACEOF
38739 #define wxUSE_STATBOX 1
38745 if test "$wxUSE_STATTEXT" = "yes"; then
38746 cat >>confdefs.h
<<\_ACEOF
38747 #define wxUSE_STATTEXT 1
38753 if test "$wxUSE_STATLINE" = "yes"; then
38754 cat >>confdefs.h
<<\_ACEOF
38755 #define wxUSE_STATLINE 1
38761 if test "$wxUSE_STATUSBAR" = "yes"; then
38762 cat >>confdefs.h
<<\_ACEOF
38763 #define wxUSE_NATIVE_STATUSBAR 1
38766 cat >>confdefs.h
<<\_ACEOF
38767 #define wxUSE_STATUSBAR 1
38772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
38775 if test "$wxUSE_TABDIALOG" = "yes"; then
38776 cat >>confdefs.h
<<\_ACEOF
38777 #define wxUSE_TAB_DIALOG 1
38782 if test "$wxUSE_TEXTCTRL" = "yes"; then
38783 cat >>confdefs.h
<<\_ACEOF
38784 #define wxUSE_TEXTCTRL 1
38788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
38791 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38792 if test "$wxUSE_COCOA" = 1 ; then
38793 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
38794 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
38797 if test "$wxUSE_PM" = 1; then
38798 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
38799 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
38803 if test "$wxUSE_UNIVERSAL" = "yes"; then
38804 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
38805 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
38809 if test "$wxUSE_TOGGLEBTN" = "yes"; then
38810 cat >>confdefs.h
<<\_ACEOF
38811 #define wxUSE_TOGGLEBTN 1
38818 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
38819 cat >>confdefs.h
<<\_ACEOF
38820 #define wxUSE_TOOLBAR_SIMPLE 1
38823 wxUSE_TOOLBAR
="yes"
38827 if test "$wxUSE_TOOLBAR" = "yes"; then
38828 cat >>confdefs.h
<<\_ACEOF
38829 #define wxUSE_TOOLBAR 1
38834 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
38835 wxUSE_TOOLBAR_NATIVE
="yes"
38838 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
38839 cat >>confdefs.h
<<\_ACEOF
38840 #define wxUSE_TOOLBAR_NATIVE 1
38846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
38849 if test "$wxUSE_TOOLTIPS" = "yes"; then
38850 if test "$wxUSE_MOTIF" = 1; then
38851 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
38852 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
38854 if test "$wxUSE_UNIVERSAL" = "yes"; then
38855 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
38856 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
38858 cat >>confdefs.h
<<\_ACEOF
38859 #define wxUSE_TOOLTIPS 1
38866 if test "$wxUSE_TREECTRL" = "yes"; then
38867 if test "$wxUSE_IMAGLIST" = "yes"; then
38868 cat >>confdefs.h
<<\_ACEOF
38869 #define wxUSE_TREECTRL 1
38873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
38875 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
38876 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
38880 if test "$wxUSE_POPUPWIN" = "yes"; then
38881 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38882 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
38883 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
38885 if test "$wxUSE_PM" = 1; then
38886 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
38887 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
38889 cat >>confdefs.h
<<\_ACEOF
38890 #define wxUSE_POPUPWIN 1
38893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
38900 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
38901 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
38902 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
38903 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
38905 cat >>confdefs.h
<<\_ACEOF
38906 #define wxUSE_DIALUP_MANAGER 1
38909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
38913 if test "$wxUSE_TIPWINDOW" = "yes"; then
38914 if test "$wxUSE_PM" = 1; then
38915 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
38916 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
38918 cat >>confdefs.h
<<\_ACEOF
38919 #define wxUSE_TIPWINDOW 1
38925 if test "$USES_CONTROLS" = 1; then
38926 cat >>confdefs.h
<<\_ACEOF
38927 #define wxUSE_CONTROLS 1
38933 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
38934 cat >>confdefs.h
<<\_ACEOF
38935 #define wxUSE_ACCESSIBILITY 1
38938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
38941 if test "$wxUSE_DRAGIMAGE" = "yes"; then
38942 cat >>confdefs.h
<<\_ACEOF
38943 #define wxUSE_DRAGIMAGE 1
38946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
38949 if test "$wxUSE_EXCEPTIONS" = "yes"; then
38950 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
38951 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
38952 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
38954 cat >>confdefs.h
<<\_ACEOF
38955 #define wxUSE_EXCEPTIONS 1
38958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
38963 if test "$wxUSE_HTML" = "yes"; then
38964 cat >>confdefs.h
<<\_ACEOF
38965 #define wxUSE_HTML 1
38969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
38970 if test "$wxUSE_MAC" = 1; then
38971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
38974 if test "$wxUSE_WEBKIT" = "yes"; then
38975 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
38976 old_CPPFLAGS
="$CPPFLAGS"
38977 CPPFLAGS
="$CPPFLAGS -x objective-c++"
38978 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
38979 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
38980 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
38981 echo $ECHO_N "(cached) $ECHO_C" >&6
38983 cat >conftest.
$ac_ext <<_ACEOF
38986 cat confdefs.h
>>conftest.
$ac_ext
38987 cat >>conftest.
$ac_ext <<_ACEOF
38988 /* end confdefs.h. */
38989 #include <Carbon/Carbon.h>
38991 #include <WebKit/HIWebView.h>
38993 rm -f conftest.
$ac_objext
38994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38995 (eval $ac_compile) 2>conftest.er1
38997 grep -v '^ *+' conftest.er1
>conftest.err
38999 cat conftest.err
>&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } &&
39002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39004 (eval $ac_try) 2>&5
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); }; } &&
39008 { ac_try
='test -s conftest.$ac_objext'
39009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39010 (eval $ac_try) 2>&5
39012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39013 (exit $ac_status); }; }; then
39014 ac_cv_header_WebKit_HIWebView_h
=yes
39016 echo "$as_me: failed program was:" >&5
39017 sed 's/^/| /' conftest.
$ac_ext >&5
39019 ac_cv_header_WebKit_HIWebView_h
=no
39021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39023 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
39024 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
39025 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
39027 cat >>confdefs.h
<<\_ACEOF
39028 #define wxUSE_WEBKIT 1
39031 WEBKIT_LINK
="-framework WebKit"
39035 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
39036 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
39042 CPPFLAGS
="$old_CPPFLAGS"
39043 elif test "$wxUSE_COCOA" = 1; then
39044 cat >>confdefs.h
<<\_ACEOF
39045 #define wxUSE_WEBKIT 1
39054 if test "$wxUSE_XRC" = "yes"; then
39055 if test "$wxUSE_XML" != "yes"; then
39056 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
39057 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
39060 cat >>confdefs.h
<<\_ACEOF
39061 #define wxUSE_XRC 1
39065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
39069 if test "$wxUSE_MENUS" = "yes"; then
39070 cat >>confdefs.h
<<\_ACEOF
39071 #define wxUSE_MENUS 1
39074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
39077 if test "$wxUSE_METAFILE" = "yes"; then
39078 cat >>confdefs.h
<<\_ACEOF
39079 #define wxUSE_METAFILE 1
39084 if test "$wxUSE_MIMETYPE" = "yes"; then
39085 cat >>confdefs.h
<<\_ACEOF
39086 #define wxUSE_MIMETYPE 1
39091 if test "$wxUSE_MINIFRAME" = "yes"; then
39092 cat >>confdefs.h
<<\_ACEOF
39093 #define wxUSE_MINIFRAME 1
39096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
39099 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
39100 cat >>confdefs.h
<<\_ACEOF
39101 #define wxUSE_SYSTEM_OPTIONS 1
39104 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
39105 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
39106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
39111 if test "$wxUSE_VALIDATORS" = "yes"; then
39112 cat >>confdefs.h
<<\_ACEOF
39113 #define wxUSE_VALIDATORS 1
39116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
39119 if test "$wxUSE_PALETTE" = "yes" ; then
39120 cat >>confdefs.h
<<\_ACEOF
39121 #define wxUSE_PALETTE 1
39126 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
39127 LIBS
=" -lunicows $LIBS"
39131 if test "$wxUSE_IMAGE" = "yes" ; then
39132 cat >>confdefs.h
<<\_ACEOF
39133 #define wxUSE_IMAGE 1
39137 if test "$wxUSE_GIF" = "yes" ; then
39138 cat >>confdefs.h
<<\_ACEOF
39139 #define wxUSE_GIF 1
39144 if test "$wxUSE_PCX" = "yes" ; then
39145 cat >>confdefs.h
<<\_ACEOF
39146 #define wxUSE_PCX 1
39151 if test "$wxUSE_IFF" = "yes" ; then
39152 cat >>confdefs.h
<<\_ACEOF
39153 #define wxUSE_IFF 1
39158 if test "$wxUSE_PNM" = "yes" ; then
39159 cat >>confdefs.h
<<\_ACEOF
39160 #define wxUSE_PNM 1
39165 if test "$wxUSE_XPM" = "yes" ; then
39166 cat >>confdefs.h
<<\_ACEOF
39167 #define wxUSE_XPM 1
39172 if test "$wxUSE_ICO_CUR" = "yes" ; then
39173 cat >>confdefs.h
<<\_ACEOF
39174 #define wxUSE_ICO_CUR 1
39181 if test "$wxUSE_CHOICEDLG" = "yes"; then
39182 cat >>confdefs.h
<<\_ACEOF
39183 #define wxUSE_CHOICEDLG 1
39188 if test "$wxUSE_COLOURDLG" = "yes"; then
39189 cat >>confdefs.h
<<\_ACEOF
39190 #define wxUSE_COLOURDLG 1
39195 if test "$wxUSE_FILEDLG" = "yes"; then
39196 cat >>confdefs.h
<<\_ACEOF
39197 #define wxUSE_FILEDLG 1
39202 if test "$wxUSE_FINDREPLDLG" = "yes"; then
39203 cat >>confdefs.h
<<\_ACEOF
39204 #define wxUSE_FINDREPLDLG 1
39209 if test "$wxUSE_FONTDLG" = "yes"; then
39210 cat >>confdefs.h
<<\_ACEOF
39211 #define wxUSE_FONTDLG 1
39216 if test "$wxUSE_DIRDLG" = "yes"; then
39217 if test "$wxUSE_TREECTRL" != "yes"; then
39218 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
39219 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
39221 cat >>confdefs.h
<<\_ACEOF
39222 #define wxUSE_DIRDLG 1
39228 if test "$wxUSE_MSGDLG" = "yes"; then
39229 cat >>confdefs.h
<<\_ACEOF
39230 #define wxUSE_MSGDLG 1
39235 if test "$wxUSE_NUMBERDLG" = "yes"; then
39236 cat >>confdefs.h
<<\_ACEOF
39237 #define wxUSE_NUMBERDLG 1
39242 if test "$wxUSE_PROGRESSDLG" = "yes"; then
39243 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39244 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
39245 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
39247 cat >>confdefs.h
<<\_ACEOF
39248 #define wxUSE_PROGRESSDLG 1
39254 if test "$wxUSE_SPLASH" = "yes"; then
39255 cat >>confdefs.h
<<\_ACEOF
39256 #define wxUSE_SPLASH 1
39259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
39262 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
39263 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39264 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
39265 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
39267 cat >>confdefs.h
<<\_ACEOF
39268 #define wxUSE_STARTUP_TIPS 1
39274 if test "$wxUSE_TEXTDLG" = "yes"; then
39275 cat >>confdefs.h
<<\_ACEOF
39276 #define wxUSE_TEXTDLG 1
39281 if test "$wxUSE_WIZARDDLG" = "yes"; then
39282 cat >>confdefs.h
<<\_ACEOF
39283 #define wxUSE_WIZARDDLG 1
39286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
39290 if test "$wxUSE_MEDIACTRL" = "yes"; then
39291 if test "$wxUSE_MSW" = 1; then
39292 wxUSE_DIRECTSHOW
="yes"
39294 for ac_header
in dshow.h
39296 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39297 echo "$as_me:$LINENO: checking for $ac_header" >&5
39298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39302 cat >conftest.
$ac_ext <<_ACEOF
39305 cat confdefs.h
>>conftest.
$ac_ext
39306 cat >>conftest.
$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308 #include <windows.h>
39310 #include <$ac_header>
39312 rm -f conftest.
$ac_objext
39313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39314 (eval $ac_compile) 2>conftest.er1
39316 grep -v '^ *+' conftest.er1
>conftest.err
39318 cat conftest.err
>&5
39319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39320 (exit $ac_status); } &&
39321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; } &&
39327 { ac_try
='test -s conftest.$ac_objext'
39328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39329 (eval $ac_try) 2>&5
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); }; }; then
39333 eval "$as_ac_Header=yes"
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.
$ac_ext >&5
39338 eval "$as_ac_Header=no"
39340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39345 cat >>confdefs.h
<<_ACEOF
39346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39351 wxUSE_DIRECTSHOW
="no"
39352 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
39353 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
39360 if test "$wxUSE_DIRECTSHOW" = "yes"; then
39361 cat >>confdefs.h
<<\_ACEOF
39362 #define wxUSE_DIRECTSHOW 1
39365 LIBS
="$LIBS -lstrmiids"
39369 if test "$wxUSE_GTK" = 1; then
39370 wxUSE_GSTREAMER
="yes"
39375 if test -z "$PKG_CONFIG"; then
39376 # Extract the first word of "pkg-config", so it can be a program name with args.
39377 set dummy pkg
-config; ac_word
=$2
39378 echo "$as_me:$LINENO: checking for $ac_word" >&5
39379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39380 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
39381 echo $ECHO_N "(cached) $ECHO_C" >&6
39383 case $PKG_CONFIG in
39385 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
39388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39389 for as_dir
in $PATH
39392 test -z "$as_dir" && as_dir
=.
39393 for ac_exec_ext
in '' $ac_executable_extensions; do
39394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39395 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
39396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39402 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
39406 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
39408 if test -n "$PKG_CONFIG"; then
39409 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
39410 echo "${ECHO_T}$PKG_CONFIG" >&6
39412 echo "$as_me:$LINENO: result: no" >&5
39413 echo "${ECHO_T}no" >&6
39418 if test "$PKG_CONFIG" = "no" ; then
39419 echo "*** The pkg-config script could not be found. Make sure it is"
39420 echo "*** in your path, or set the PKG_CONFIG environment variable"
39421 echo "*** to the full path to pkg-config."
39422 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
39424 PKG_CONFIG_MIN_VERSION
=0.9.0
39425 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
39426 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
39427 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
39429 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
39430 echo "$as_me:$LINENO: result: yes" >&5
39431 echo "${ECHO_T}yes" >&6
39434 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
39435 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
39436 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
39437 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
39438 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
39440 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
39441 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
39442 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
39443 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
39444 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
39446 GSTREAMER_CFLAGS
=""
39448 ## If we have a custom action on failure, don't print errors, but
39449 ## do set a variable so people can do so.
39450 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
39457 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
39458 echo "*** See http://www.freedesktop.org/software/pkgconfig"
39462 if test $succeeded = yes; then
39464 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
39465 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
39469 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
39470 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
39471 wxUSE_GSTREAMER
="no"
39479 if test "x$GST_INSPECT" == "x"; then
39480 # Extract the first word of "gst-inspect", so it can be a program name with args.
39481 set dummy gst
-inspect; ac_word
=$2
39482 echo "$as_me:$LINENO: checking for $ac_word" >&5
39483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39484 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39487 if test -n "$GST_INSPECT"; then
39488 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
39490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39491 for as_dir
in $PATH
39494 test -z "$as_dir" && as_dir
=.
39495 for ac_exec_ext
in '' $ac_executable_extensions; do
39496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39497 ac_cv_prog_GST_INSPECT
="gst-inspect"
39498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39506 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
39507 if test -n "$GST_INSPECT"; then
39508 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
39509 echo "${ECHO_T}$GST_INSPECT" >&6
39511 echo "$as_me:$LINENO: result: no" >&5
39512 echo "${ECHO_T}no" >&6
39517 if test "x$GST_INSPECT" != "x"; then
39518 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
39519 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
39520 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
39521 echo "$as_me:$LINENO: result: found." >&5
39522 echo "${ECHO_T}found." >&6
39525 echo "$as_me:$LINENO: result: not found." >&5
39526 echo "${ECHO_T}not found." >&6
39528 wxUSE_GSTREAMER
="no"
39529 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
39530 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
39536 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
39537 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
39538 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
39539 echo $ECHO_N "(cached) $ECHO_C" >&6
39541 cat >conftest.
$ac_ext <<_ACEOF
39544 cat confdefs.h
>>conftest.
$ac_ext
39545 cat >>conftest.
$ac_ext <<_ACEOF
39546 /* end confdefs.h. */
39547 #include <gst/gst.h>
39549 #include <gst/xoverlay/xoverlay.h>
39551 rm -f conftest.
$ac_objext
39552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39553 (eval $ac_compile) 2>conftest.er1
39555 grep -v '^ *+' conftest.er1
>conftest.err
39557 cat conftest.err
>&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); } &&
39560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39562 (eval $ac_try) 2>&5
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); }; } &&
39566 { ac_try
='test -s conftest.$ac_objext'
39567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39568 (eval $ac_try) 2>&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); }; }; then
39572 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
39574 echo "$as_me: failed program was:" >&5
39575 sed 's/^/| /' conftest.
$ac_ext >&5
39577 ac_cv_header_gst_xoverlay_xoverlay_h
=no
39579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39581 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
39582 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
39583 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
39587 wxUSE_GSTREAMER
="no"
39588 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
39589 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
39595 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
39596 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
39599 for ac_dir
in $SEARCH_LIB /usr
/lib
;
39601 for ac_extension
in a so sl dylib
; do
39602 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
39603 ac_find_libraries
=$ac_dir
39610 if test "$ac_find_libraries" = "" ; then
39611 echo "$as_me:$LINENO: result: no" >&5
39612 echo "${ECHO_T}no" >&6
39613 wxUSE_GSTREAMER
="no"
39615 echo "$as_me:$LINENO: result: yes" >&5
39616 echo "${ECHO_T}yes" >&6
39619 if test "$wxUSE_GSTREAMER" = "yes"; then
39620 cat >>confdefs.h
<<\_ACEOF
39621 #define wxUSE_GSTREAMER 1
39624 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
39625 echo "${ECHO_T}GStreamer detection successful" >&6
39628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
39629 cat >>confdefs.h
<<\_ACEOF
39630 #define wxUSE_MEDIACTRL 1
39636 if test "$cross_compiling" = "yes"; then
39639 OSINFO
=`uname -s -r -m`
39640 OSINFO
="\"$OSINFO\""
39643 cat >>confdefs.h
<<_ACEOF
39644 #define WXWIN_OS_DESCRIPTION $OSINFO
39649 if test "x$prefix" != "xNONE"; then
39652 wxPREFIX
=$ac_default_prefix
39655 cat >>confdefs.h
<<_ACEOF
39656 #define wxINSTALL_PREFIX "$wxPREFIX"
39662 CORE_BASE_LIBS
="net base"
39663 CORE_GUI_LIBS
="adv core"
39665 if test "$wxUSE_XML" = "yes" ; then
39666 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
39668 if test "$wxUSE_ODBC" != "no" ; then
39669 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
39670 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
39672 if test "$wxUSE_HTML" = "yes" ; then
39673 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
39675 if test "$wxUSE_XRC" = "yes" ; then
39676 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
39679 if test "$wxUSE_GUI" != "yes"; then
39690 if test "$wxUSE_MAC" = 1 ; then
39691 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
39692 if test "$USE_DARWIN" = 1; then
39693 LDFLAGS
="$LDFLAGS -framework QuickTime"
39695 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
39698 if test "$USE_DARWIN" = 1; then
39699 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
39701 LDFLAGS
="$LDFLAGS -lCarbonLib"
39704 if test "$wxUSE_COCOA" = 1 ; then
39705 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
39706 if test "$wxUSE_MEDIACTRL" = "yes"; then
39707 LDFLAGS
="$LDFLAGS -framework QuickTime"
39712 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
39719 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39720 echo "$as_me:$LINENO: checking for $ac_func" >&5
39721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39722 if eval "test \"\${$as_ac_var+set}\" = set"; then
39723 echo $ECHO_N "(cached) $ECHO_C" >&6
39725 cat >conftest.
$ac_ext <<_ACEOF
39728 cat confdefs.h
>>conftest.
$ac_ext
39729 cat >>conftest.
$ac_ext <<_ACEOF
39730 /* end confdefs.h. */
39731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39733 #define $ac_func innocuous_$ac_func
39735 /* System header to define __stub macros and hopefully few prototypes,
39736 which can conflict with char $ac_func (); below.
39737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39738 <limits.h> exists even on freestanding compilers. */
39741 # include <limits.h>
39743 # include <assert.h>
39748 /* Override any gcc2 internal prototype to avoid an error. */
39753 /* We use char because int might match the return type of a gcc2
39754 builtin and then its argument prototype would still apply. */
39756 /* The GNU C library defines this for functions which it implements
39757 to always fail with ENOSYS. Some functions are actually named
39758 something starting with __ and the normal name is an alias. */
39759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39762 char (*f) () = $ac_func;
39771 return f != $ac_func;
39776 rm -f conftest.
$ac_objext conftest
$ac_exeext
39777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39778 (eval $ac_link) 2>conftest.er1
39780 grep -v '^ *+' conftest.er1
>conftest.err
39782 cat conftest.err
>&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } &&
39785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39787 (eval $ac_try) 2>&5
39789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790 (exit $ac_status); }; } &&
39791 { ac_try
='test -s conftest$ac_exeext'
39792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39793 (eval $ac_try) 2>&5
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); }; }; then
39797 eval "$as_ac_var=yes"
39799 echo "$as_me: failed program was:" >&5
39800 sed 's/^/| /' conftest.
$ac_ext >&5
39802 eval "$as_ac_var=no"
39804 rm -f conftest.err conftest.
$ac_objext \
39805 conftest
$ac_exeext conftest.
$ac_ext
39807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39809 if test `eval echo '${'$as_ac_var'}'` = yes; then
39810 cat >>confdefs.h
<<_ACEOF
39811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39818 for ac_func
in floor
39820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39821 echo "$as_me:$LINENO: checking for $ac_func" >&5
39822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39823 if eval "test \"\${$as_ac_var+set}\" = set"; then
39824 echo $ECHO_N "(cached) $ECHO_C" >&6
39826 cat >conftest.
$ac_ext <<_ACEOF
39829 cat confdefs.h
>>conftest.
$ac_ext
39830 cat >>conftest.
$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39834 #define $ac_func innocuous_$ac_func
39836 /* System header to define __stub macros and hopefully few prototypes,
39837 which can conflict with char $ac_func (); below.
39838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39839 <limits.h> exists even on freestanding compilers. */
39842 # include <limits.h>
39844 # include <assert.h>
39849 /* Override any gcc2 internal prototype to avoid an error. */
39854 /* We use char because int might match the return type of a gcc2
39855 builtin and then its argument prototype would still apply. */
39857 /* The GNU C library defines this for functions which it implements
39858 to always fail with ENOSYS. Some functions are actually named
39859 something starting with __ and the normal name is an alias. */
39860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39863 char (*f) () = $ac_func;
39872 return f != $ac_func;
39877 rm -f conftest.
$ac_objext conftest
$ac_exeext
39878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39879 (eval $ac_link) 2>conftest.er1
39881 grep -v '^ *+' conftest.er1
>conftest.err
39883 cat conftest.err
>&5
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); } &&
39886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888 (eval $ac_try) 2>&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); }; } &&
39892 { ac_try
='test -s conftest$ac_exeext'
39893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39894 (eval $ac_try) 2>&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); }; }; then
39898 eval "$as_ac_var=yes"
39900 echo "$as_me: failed program was:" >&5
39901 sed 's/^/| /' conftest.
$ac_ext >&5
39903 eval "$as_ac_var=no"
39905 rm -f conftest.err conftest.
$ac_objext \
39906 conftest
$ac_exeext conftest.
$ac_ext
39908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39910 if test `eval echo '${'$as_ac_var'}'` = yes; then
39911 cat >>confdefs.h
<<_ACEOF
39912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39918 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
39919 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
39920 if test "$have_cos" = 1 -a "$have_floor" = 1; then
39921 echo "$as_me:$LINENO: result: yes" >&5
39922 echo "${ECHO_T}yes" >&6
39924 echo "$as_me:$LINENO: result: no" >&5
39925 echo "${ECHO_T}no" >&6
39927 # use different functions to avoid configure caching
39933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39934 echo "$as_me:$LINENO: checking for $ac_func" >&5
39935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39936 if eval "test \"\${$as_ac_var+set}\" = set"; then
39937 echo $ECHO_N "(cached) $ECHO_C" >&6
39939 cat >conftest.
$ac_ext <<_ACEOF
39942 cat confdefs.h
>>conftest.
$ac_ext
39943 cat >>conftest.
$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39947 #define $ac_func innocuous_$ac_func
39949 /* System header to define __stub macros and hopefully few prototypes,
39950 which can conflict with char $ac_func (); below.
39951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39952 <limits.h> exists even on freestanding compilers. */
39955 # include <limits.h>
39957 # include <assert.h>
39962 /* Override any gcc2 internal prototype to avoid an error. */
39967 /* We use char because int might match the return type of a gcc2
39968 builtin and then its argument prototype would still apply. */
39970 /* The GNU C library defines this for functions which it implements
39971 to always fail with ENOSYS. Some functions are actually named
39972 something starting with __ and the normal name is an alias. */
39973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39976 char (*f) () = $ac_func;
39985 return f != $ac_func;
39990 rm -f conftest.
$ac_objext conftest
$ac_exeext
39991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39992 (eval $ac_link) 2>conftest.er1
39994 grep -v '^ *+' conftest.er1
>conftest.err
39996 cat conftest.err
>&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); } &&
39999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40001 (eval $ac_try) 2>&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); }; } &&
40005 { ac_try
='test -s conftest$ac_exeext'
40006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40007 (eval $ac_try) 2>&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); }; }; then
40011 eval "$as_ac_var=yes"
40013 echo "$as_me: failed program was:" >&5
40014 sed 's/^/| /' conftest.
$ac_ext >&5
40016 eval "$as_ac_var=no"
40018 rm -f conftest.err conftest.
$ac_objext \
40019 conftest
$ac_exeext conftest.
$ac_ext
40021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40023 if test `eval echo '${'$as_ac_var'}'` = yes; then
40024 cat >>confdefs.h
<<_ACEOF
40025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40032 for ac_func
in ceil
40034 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40035 echo "$as_me:$LINENO: checking for $ac_func" >&5
40036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40037 if eval "test \"\${$as_ac_var+set}\" = set"; then
40038 echo $ECHO_N "(cached) $ECHO_C" >&6
40040 cat >conftest.
$ac_ext <<_ACEOF
40043 cat confdefs.h
>>conftest.
$ac_ext
40044 cat >>conftest.
$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40048 #define $ac_func innocuous_$ac_func
40050 /* System header to define __stub macros and hopefully few prototypes,
40051 which can conflict with char $ac_func (); below.
40052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40053 <limits.h> exists even on freestanding compilers. */
40056 # include <limits.h>
40058 # include <assert.h>
40063 /* Override any gcc2 internal prototype to avoid an error. */
40068 /* We use char because int might match the return type of a gcc2
40069 builtin and then its argument prototype would still apply. */
40071 /* The GNU C library defines this for functions which it implements
40072 to always fail with ENOSYS. Some functions are actually named
40073 something starting with __ and the normal name is an alias. */
40074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40077 char (*f) () = $ac_func;
40086 return f != $ac_func;
40091 rm -f conftest.
$ac_objext conftest
$ac_exeext
40092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40093 (eval $ac_link) 2>conftest.er1
40095 grep -v '^ *+' conftest.er1
>conftest.err
40097 cat conftest.err
>&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); } &&
40100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; } &&
40106 { ac_try
='test -s conftest$ac_exeext'
40107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40108 (eval $ac_try) 2>&5
40110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111 (exit $ac_status); }; }; then
40112 eval "$as_ac_var=yes"
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.
$ac_ext >&5
40117 eval "$as_ac_var=no"
40119 rm -f conftest.err conftest.
$ac_objext \
40120 conftest
$ac_exeext conftest.
$ac_ext
40122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40124 if test `eval echo '${'$as_ac_var'}'` = yes; then
40125 cat >>confdefs.h
<<_ACEOF
40126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40132 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
40133 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
40134 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
40135 echo "$as_me:$LINENO: result: yes" >&5
40136 echo "${ECHO_T}yes" >&6
40138 echo "$as_me:$LINENO: result: no" >&5
40139 echo "${ECHO_T}no" >&6
40140 # not sure we should warn the user, crash, etc.
40144 if test "$wxUSE_GUI" = "yes"; then
40147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
40148 drawing dynamic erase event exec font image \
40149 minimal propsize rotate shaped vscroll widgets render"
40151 if test "$wxUSE_MONOLITHIC" != "yes"; then
40152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
40154 if test "$TOOLKIT" = "MSW"; then
40155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS nativdlg regtest richedit"
40158 SAMPLES_SUBDIRS
="console"
40162 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
40163 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
40165 if test "$GXX" = yes ; then
40167 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
40170 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
40172 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
40173 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
40174 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
40176 if test "x$MWCC" = "xyes"; then
40178 CC
="$CC -cwd source -I-"
40179 CXX
="$CXX -cwd source -I-"
40184 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
40185 EXTRALIBS_XML
="$EXPAT_LINK"
40186 EXTRALIBS_HTML
="$MSPACK_LINK"
40187 EXTRALIBS_ODBC
="$ODBC_LINK"
40188 if test "$wxUSE_GUI" = "yes"; then
40189 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
40191 if test "$wxUSE_OPENGL" = "yes"; then
40192 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
40195 LDFLAGS
="$LDFLAGS $PROFILE"
40197 if test "$wxUSE_GTK" = 1; then
40200 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
40203 WXCONFIG_EXTRALIBS
="$LIBS"
40205 if test "$wxUSE_REGEX" = "builtin" ; then
40206 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
40208 if test "$wxUSE_EXPAT" = "builtin" ; then
40209 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
40211 if test "$wxUSE_ODBC" = "builtin" ; then
40212 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40214 if test "$wxUSE_LIBTIFF" = "builtin" ; then
40215 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
40217 if test "$wxUSE_LIBJPEG" = "builtin" ; then
40218 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
40220 if test "$wxUSE_LIBPNG" = "builtin" ; then
40221 wxconfig_3rdparty
="$wxconfig_3rdparty png"
40223 if test "$wxUSE_ZLIB" = "builtin" ; then
40224 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
40226 if test "$wxUSE_ODBC" = "builtin" ; then
40227 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
40230 for i
in $wxconfig_3rdparty ; do
40231 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
40235 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
40249 if test $wxUSE_MONOLITHIC = "yes" ; then
40255 if test $wxUSE_PLUGINS = "yes" ; then
40261 if test $wxUSE_ODBC != "no" ; then
40267 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
40295 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
40306 TOOLKIT_USER
="GTK+"
40307 if test "$WXGTK20" = 1; then
40308 TOOLKIT_USER
="$TOOLKIT_USER 2"
40313 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
40320 if test "x$BAKEFILE_HOST" = "x"; then
40321 BAKEFILE_HOST
="${host}"
40324 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
40326 if test -n "$ac_tool_prefix"; then
40327 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
40328 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
40329 echo "$as_me:$LINENO: checking for $ac_word" >&5
40330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40331 if test "${ac_cv_prog_RANLIB+set}" = set; then
40332 echo $ECHO_N "(cached) $ECHO_C" >&6
40334 if test -n "$RANLIB"; then
40335 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
40337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40338 for as_dir
in $PATH
40341 test -z "$as_dir" && as_dir
=.
40342 for ac_exec_ext
in '' $ac_executable_extensions; do
40343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40344 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
40345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40353 RANLIB
=$ac_cv_prog_RANLIB
40354 if test -n "$RANLIB"; then
40355 echo "$as_me:$LINENO: result: $RANLIB" >&5
40356 echo "${ECHO_T}$RANLIB" >&6
40358 echo "$as_me:$LINENO: result: no" >&5
40359 echo "${ECHO_T}no" >&6
40363 if test -z "$ac_cv_prog_RANLIB"; then
40364 ac_ct_RANLIB
=$RANLIB
40365 # Extract the first word of "ranlib", so it can be a program name with args.
40366 set dummy ranlib
; ac_word
=$2
40367 echo "$as_me:$LINENO: checking for $ac_word" >&5
40368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40369 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
40370 echo $ECHO_N "(cached) $ECHO_C" >&6
40372 if test -n "$ac_ct_RANLIB"; then
40373 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
40375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40376 for as_dir
in $PATH
40379 test -z "$as_dir" && as_dir
=.
40380 for ac_exec_ext
in '' $ac_executable_extensions; do
40381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40382 ac_cv_prog_ac_ct_RANLIB
="ranlib"
40383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40389 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
40392 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
40393 if test -n "$ac_ct_RANLIB"; then
40394 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
40395 echo "${ECHO_T}$ac_ct_RANLIB" >&6
40397 echo "$as_me:$LINENO: result: no" >&5
40398 echo "${ECHO_T}no" >&6
40401 RANLIB
=$ac_ct_RANLIB
40403 RANLIB
="$ac_cv_prog_RANLIB"
40406 # Find a good install program. We prefer a C program (faster),
40407 # so one script is as good as another. But avoid the broken or
40408 # incompatible versions:
40409 # SysV /etc/install, /usr/sbin/install
40410 # SunOS /usr/etc/install
40411 # IRIX /sbin/install
40413 # AmigaOS /C/install, which installs bootblocks on floppy discs
40414 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
40415 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
40416 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
40417 # OS/2's system install, which has a completely different semantic
40418 # ./install, which can be erroneously created by make from ./install.sh.
40419 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
40420 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
40421 if test -z "$INSTALL"; then
40422 if test "${ac_cv_path_install+set}" = set; then
40423 echo $ECHO_N "(cached) $ECHO_C" >&6
40425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40426 for as_dir
in $PATH
40429 test -z "$as_dir" && as_dir
=.
40430 # Account for people who put trailing slashes in PATH elements.
40432 .
/ | .
// | /cC
/* | \
40433 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
40434 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
40437 # OSF1 and SCO ODT 3.0 have their own names for install.
40438 # Don't use installbsd from OSF since it installs stuff as root
40440 for ac_prog
in ginstall scoinst
install; do
40441 for ac_exec_ext
in '' $ac_executable_extensions; do
40442 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
40443 if test $ac_prog = install &&
40444 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40445 # AIX install. It has an incompatible calling convention.
40447 elif test $ac_prog = install &&
40448 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
40449 # program-specific install script used by HP pwplus--don't use.
40452 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
40464 if test "${ac_cv_path_install+set}" = set; then
40465 INSTALL
=$ac_cv_path_install
40467 # As a last resort, use the slow shell script. We don't cache a
40468 # path for INSTALL within a source directory, because that will
40469 # break other packages using the cache if that directory is
40470 # removed, or if the path is relative.
40471 INSTALL
=$ac_install_sh
40474 echo "$as_me:$LINENO: result: $INSTALL" >&5
40475 echo "${ECHO_T}$INSTALL" >&6
40477 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
40478 # It thinks the first close brace ends the variable substitution.
40479 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
40481 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
40483 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
40485 echo "$as_me:$LINENO: checking whether ln -s works" >&5
40486 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
40488 if test "$LN_S" = "ln -s"; then
40489 echo "$as_me:$LINENO: result: yes" >&5
40490 echo "${ECHO_T}yes" >&6
40492 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
40493 echo "${ECHO_T}no, using $LN_S" >&6
40497 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40498 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40499 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
40500 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40501 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 cat >conftest.
make <<\_ACEOF
40505 @
echo 'ac_maketemp="$(MAKE)"'
40507 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40508 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40509 if test -n "$ac_maketemp"; then
40510 eval ac_cv_prog_make_
${ac_make}_set
=yes
40512 eval ac_cv_prog_make_
${ac_make}_set
=no
40514 rm -f conftest.
make
40516 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40517 echo "$as_me:$LINENO: result: yes" >&5
40518 echo "${ECHO_T}yes" >&6
40521 echo "$as_me:$LINENO: result: no" >&5
40522 echo "${ECHO_T}no" >&6
40523 SET_MAKE
="MAKE=${MAKE-make}"
40528 if test -n "$ac_tool_prefix"; then
40529 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
40530 set dummy
${ac_tool_prefix}ar; ac_word
=$2
40531 echo "$as_me:$LINENO: checking for $ac_word" >&5
40532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40533 if test "${ac_cv_prog_AR+set}" = set; then
40534 echo $ECHO_N "(cached) $ECHO_C" >&6
40536 if test -n "$AR"; then
40537 ac_cv_prog_AR
="$AR" # Let the user override the test.
40539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40540 for as_dir
in $PATH
40543 test -z "$as_dir" && as_dir
=.
40544 for ac_exec_ext
in '' $ac_executable_extensions; do
40545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40546 ac_cv_prog_AR
="${ac_tool_prefix}ar"
40547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40556 if test -n "$AR"; then
40557 echo "$as_me:$LINENO: result: $AR" >&5
40558 echo "${ECHO_T}$AR" >&6
40560 echo "$as_me:$LINENO: result: no" >&5
40561 echo "${ECHO_T}no" >&6
40565 if test -z "$ac_cv_prog_AR"; then
40567 # Extract the first word of "ar", so it can be a program name with args.
40568 set dummy
ar; ac_word
=$2
40569 echo "$as_me:$LINENO: checking for $ac_word" >&5
40570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40571 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
40572 echo $ECHO_N "(cached) $ECHO_C" >&6
40574 if test -n "$ac_ct_AR"; then
40575 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
40577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40578 for as_dir
in $PATH
40581 test -z "$as_dir" && as_dir
=.
40582 for ac_exec_ext
in '' $ac_executable_extensions; do
40583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40584 ac_cv_prog_ac_ct_AR
="ar"
40585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40591 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
40594 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
40595 if test -n "$ac_ct_AR"; then
40596 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
40597 echo "${ECHO_T}$ac_ct_AR" >&6
40599 echo "$as_me:$LINENO: result: no" >&5
40600 echo "${ECHO_T}no" >&6
40605 AR
="$ac_cv_prog_AR"
40608 if test -n "$ac_tool_prefix"; then
40609 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
40610 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
40611 echo "$as_me:$LINENO: checking for $ac_word" >&5
40612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40613 if test "${ac_cv_prog_STRIP+set}" = set; then
40614 echo $ECHO_N "(cached) $ECHO_C" >&6
40616 if test -n "$STRIP"; then
40617 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
40619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40620 for as_dir
in $PATH
40623 test -z "$as_dir" && as_dir
=.
40624 for ac_exec_ext
in '' $ac_executable_extensions; do
40625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40626 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
40627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40635 STRIP
=$ac_cv_prog_STRIP
40636 if test -n "$STRIP"; then
40637 echo "$as_me:$LINENO: result: $STRIP" >&5
40638 echo "${ECHO_T}$STRIP" >&6
40640 echo "$as_me:$LINENO: result: no" >&5
40641 echo "${ECHO_T}no" >&6
40645 if test -z "$ac_cv_prog_STRIP"; then
40647 # Extract the first word of "strip", so it can be a program name with args.
40648 set dummy strip
; ac_word
=$2
40649 echo "$as_me:$LINENO: checking for $ac_word" >&5
40650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40654 if test -n "$ac_ct_STRIP"; then
40655 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
40657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40658 for as_dir
in $PATH
40661 test -z "$as_dir" && as_dir
=.
40662 for ac_exec_ext
in '' $ac_executable_extensions; do
40663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40664 ac_cv_prog_ac_ct_STRIP
="strip"
40665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40671 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
40674 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
40675 if test -n "$ac_ct_STRIP"; then
40676 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
40677 echo "${ECHO_T}$ac_ct_STRIP" >&6
40679 echo "$as_me:$LINENO: result: no" >&5
40680 echo "${ECHO_T}no" >&6
40685 STRIP
="$ac_cv_prog_STRIP"
40688 if test -n "$ac_tool_prefix"; then
40689 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
40690 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
40691 echo "$as_me:$LINENO: checking for $ac_word" >&5
40692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40693 if test "${ac_cv_prog_NM+set}" = set; then
40694 echo $ECHO_N "(cached) $ECHO_C" >&6
40696 if test -n "$NM"; then
40697 ac_cv_prog_NM
="$NM" # Let the user override the test.
40699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40700 for as_dir
in $PATH
40703 test -z "$as_dir" && as_dir
=.
40704 for ac_exec_ext
in '' $ac_executable_extensions; do
40705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40706 ac_cv_prog_NM
="${ac_tool_prefix}nm"
40707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40716 if test -n "$NM"; then
40717 echo "$as_me:$LINENO: result: $NM" >&5
40718 echo "${ECHO_T}$NM" >&6
40720 echo "$as_me:$LINENO: result: no" >&5
40721 echo "${ECHO_T}no" >&6
40725 if test -z "$ac_cv_prog_NM"; then
40727 # Extract the first word of "nm", so it can be a program name with args.
40728 set dummy nm
; ac_word
=$2
40729 echo "$as_me:$LINENO: checking for $ac_word" >&5
40730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40731 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
40732 echo $ECHO_N "(cached) $ECHO_C" >&6
40734 if test -n "$ac_ct_NM"; then
40735 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
40737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40738 for as_dir
in $PATH
40741 test -z "$as_dir" && as_dir
=.
40742 for ac_exec_ext
in '' $ac_executable_extensions; do
40743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40744 ac_cv_prog_ac_ct_NM
="nm"
40745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40751 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
40754 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
40755 if test -n "$ac_ct_NM"; then
40756 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
40757 echo "${ECHO_T}$ac_ct_NM" >&6
40759 echo "$as_me:$LINENO: result: no" >&5
40760 echo "${ECHO_T}no" >&6
40765 NM
="$ac_cv_prog_NM"
40769 case ${BAKEFILE_HOST} in
40771 INSTALL_DIR
="mkdir -p"
40773 *) INSTALL_DIR
="$INSTALL -d"
40779 case ${BAKEFILE_HOST} in
40780 *-*-cygwin* | *-*-mingw32* )
40781 LDFLAGS_GUI
="-mwindows"
40787 echo "$as_me:$LINENO: checking if make is GNU make" >&5
40788 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
40789 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40793 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
40794 egrep -s GNU
> /dev
/null
); then
40795 bakefile_cv_prog_makeisgnu
="yes"
40797 bakefile_cv_prog_makeisgnu
="no"
40801 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
40802 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
40804 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
40821 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
40822 case "${BAKEFILE_HOST}" in
40823 *-*-cygwin* | *-*-mingw32* )
40829 *-pc-os2_emx | *-pc-os2-emx )
40832 powerpc
-*-darwin* )
40839 powerpc
-apple-macos* )
40848 case "$BAKEFILE_FORCE_PLATFORM" in
40869 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
40870 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
40871 { (exit 1); exit 1; }; }
40886 # Check whether --enable-omf or --disable-omf was given.
40887 if test "${enable_omf+set}" = set; then
40888 enableval
="$enable_omf"
40889 bk_os2_use_omf
="$enableval"
40892 case "${BAKEFILE_HOST}" in
40894 CFLAGS
="$CFLAGS -fno-common"
40895 CXXFLAGS
="$CXXFLAGS -fno-common"
40898 *-pc-os2_emx | *-pc-os2-emx )
40899 if test "x$bk_os2_use_omf" = "xyes" ; then
40902 LDFLAGS
="-Zomf $LDFLAGS"
40903 CFLAGS
="-Zomf $CFLAGS"
40904 CXXFLAGS
="-Zomf $CXXFLAGS"
40912 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
40918 SO_SUFFIX_MODULE
="so"
40923 DLLPREFIX_MODULE
=""
40926 case "${BAKEFILE_HOST}" in
40929 SO_SUFFIX_MODULE
="sl"
40933 SO_SUFFIX_MODULE
="a"
40935 *-*-cygwin* | *-*-mingw32* )
40937 SO_SUFFIX_MODULE
="dll"
40938 DLLIMP_SUFFIX
="dll.a"
40946 *-pc-os2_emx | *-pc-os2-emx )
40948 SO_SUFFIX_MODULE
="dll"
40949 DLLIMP_SUFFIX
=$OS2_LIBEXT
40953 LIBEXT
=".$OS2_LIBEXT"
40955 powerpc
-*-darwin* )
40957 SO_SUFFIX_MODULE
="bundle"
40961 if test "x$DLLIMP_SUFFIX" = "x" ; then
40962 DLLIMP_SUFFIX
="$SO_SUFFIX"
40976 if test "x$GCC" = "xyes"; then
40980 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
40981 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
40983 case "${BAKEFILE_HOST}" in
40985 if test "x$GCC" != "xyes"; then
40986 LDFLAGS
="$LDFLAGS -L/usr/lib"
40988 SHARED_LD_CC
="${CC} -b -o"
40989 SHARED_LD_CXX
="${CXX} -b -o"
40995 if test "x$GCC" != "xyes"; then
40996 echo "$as_me:$LINENO: checking for Intel compiler" >&5
40997 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
40998 if test "${bakefile_cv_prog_icc+set}" = set; then
40999 echo $ECHO_N "(cached) $ECHO_C" >&6
41002 cat >conftest.
$ac_ext <<_ACEOF
41005 cat confdefs.h
>>conftest.
$ac_ext
41006 cat >>conftest.
$ac_ext <<_ACEOF
41007 /* end confdefs.h. */
41013 #ifndef __INTEL_COMPILER
41021 rm -f conftest.
$ac_objext
41022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41023 (eval $ac_compile) 2>conftest.er1
41025 grep -v '^ *+' conftest.er1
>conftest.err
41027 cat conftest.err
>&5
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); } &&
41030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41032 (eval $ac_try) 2>&5
41034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035 (exit $ac_status); }; } &&
41036 { ac_try
='test -s conftest.$ac_objext'
41037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038 (eval $ac_try) 2>&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); }; }; then
41042 bakefile_cv_prog_icc
=yes
41044 echo "$as_me: failed program was:" >&5
41045 sed 's/^/| /' conftest.
$ac_ext >&5
41047 bakefile_cv_prog_icc
=no
41050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41053 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
41054 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
41055 if test "$bakefile_cv_prog_icc" = "yes"; then
41062 if test "x$GCC" != xyes
; then
41063 SHARED_LD_CC
="${CC} -G -o"
41064 SHARED_LD_CXX
="${CXX} -G -o"
41071 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
41072 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
41073 if test "${wx_cv_gcc31+set}" = set; then
41074 echo $ECHO_N "(cached) $ECHO_C" >&6
41077 cat >conftest.
$ac_ext <<_ACEOF
41080 cat confdefs.h
>>conftest.
$ac_ext
41081 cat >>conftest.
$ac_ext <<_ACEOF
41082 /* end confdefs.h. */
41088 #if (__GNUC__ < 3) || \
41089 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
41097 rm -f conftest.
$ac_objext
41098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41099 (eval $ac_compile) 2>conftest.er1
41101 grep -v '^ *+' conftest.er1
>conftest.err
41103 cat conftest.err
>&5
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); } &&
41106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41108 (eval $ac_try) 2>&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); }; } &&
41112 { ac_try
='test -s conftest.$ac_objext'
41113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41114 (eval $ac_try) 2>&5
41116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117 (exit $ac_status); }; }; then
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.
$ac_ext >&5
41130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41133 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
41134 echo "${ECHO_T}$wx_cv_gcc31" >&6
41135 if test "$wx_cv_gcc31" = "no"; then
41138 cat <<EOF >shared-ld-sh
41140 #-----------------------------------------------------------------------------
41141 #-- Name: distrib/mac/shared-ld-sh
41142 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
41143 #-- Author: Gilles Depeyrot
41144 #-- Copyright: (c) 2002 Gilles Depeyrot
41145 #-- Licence: any use permitted
41146 #-----------------------------------------------------------------------------
41151 linking_flag="-dynamiclib"
41153 while test ${D}# -gt 0; do
41160 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
41161 # collect these options and values
41162 args="${D}{args} ${D}1 ${D}2"
41166 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
41167 # collect these options
41168 args="${D}{args} ${D}1"
41171 -dynamiclib|-bundle)
41172 linking_flag="${D}1"
41176 echo "shared-ld: unhandled option '${D}1'"
41180 *.o | *.a | *.dylib)
41181 # collect object files
41182 objects="${D}{objects} ${D}1"
41186 echo "shared-ld: unhandled argument '${D}1'"
41195 # Link one module containing all the others
41197 if test ${D}{verbose} = 1; then
41198 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
41200 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
41202 if test ${D}{status} != 0; then
41207 # Link the shared library from the single module created
41209 if test ${D}{verbose} = 1; then
41210 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
41212 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
41214 if test ${D}{status} != 0; then
41219 # Remove intermediate module
41221 rm -f master.${D}${D}.o
41226 chmod +x shared
-ld-sh
41228 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
41229 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
41230 SHARED_LD_CXX
="$SHARED_LD_CC"
41231 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
41233 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
41234 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
41235 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
41236 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
41239 PIC_FLAG
="-dynamic -fPIC"
41243 if test "x$GCC" != "xyes"; then
41244 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
41245 set dummy makeC
++SharedLib
; ac_word
=$2
41246 echo "$as_me:$LINENO: checking for $ac_word" >&5
41247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41248 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41251 if test -n "$AIX_CXX_LD"; then
41252 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
41254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41255 for as_dir
in $PATH
41258 test -z "$as_dir" && as_dir
=.
41259 for ac_exec_ext
in '' $ac_executable_extensions; do
41260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41261 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
41262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41268 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
41271 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
41272 if test -n "$AIX_CXX_LD"; then
41273 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
41274 echo "${ECHO_T}$AIX_CXX_LD" >&6
41276 echo "$as_me:$LINENO: result: no" >&5
41277 echo "${ECHO_T}no" >&6
41280 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
41281 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
41286 SHARED_LD_CC
="${LD} -nostart -o"
41287 SHARED_LD_CXX
="${LD} -nostart -o"
41291 if test "x$GCC" != "xyes"; then
41296 *-*-cygwin* | *-*-mingw32* )
41298 SHARED_LD_CC
="\$(CC) -shared -o"
41299 SHARED_LD_CXX
="\$(CXX) -shared -o"
41302 *-pc-os2_emx | *-pc-os2-emx )
41303 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41304 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41308 cat <<EOF >dllar.sh
41311 # dllar - a tool to build both a .dll and an .a file
41312 # from a set of object (.o) files for EMX/OS2.
41314 # Written by Andrew Zabolotny, bit@freya.etu.ru
41315 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
41317 # This script will accept a set of files on the command line.
41318 # All the public symbols from the .o files will be exported into
41319 # a .DEF file, then linker will be run (through gcc) against them to
41320 # build a shared library consisting of all given .o files. All libraries
41321 # (.a) will be first decompressed into component .o files then act as
41322 # described above. You can optionally give a description (-d "description")
41323 # which will be put into .DLL. To see the list of accepted options (as well
41324 # as command-line format) simply run this program without options. The .DLL
41325 # is built to be imported by name (there is no guarantee that new versions
41326 # of the library you build will have same ordinals for same symbols).
41328 # dllar is free software; you can redistribute it and/or modify
41329 # it under the terms of the GNU General Public License as published by
41330 # the Free Software Foundation; either version 2, or (at your option)
41331 # any later version.
41333 # dllar is distributed in the hope that it will be useful,
41334 # but WITHOUT ANY WARRANTY; without even the implied warranty of
41335 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41336 # GNU General Public License for more details.
41338 # You should have received a copy of the GNU General Public License
41339 # along with dllar; see the file COPYING. If not, write to the Free
41340 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41343 # To successfuly run this program you will need:
41344 # - Current drive should have LFN support (HPFS, ext2, network, etc)
41345 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
41347 # (used to build the .dll)
41349 # (used to create .def file from .o files)
41351 # (used to create .a file from .def file)
41352 # - GNU text utilites (cat, sort, uniq)
41353 # used to process emxexp output
41354 # - GNU file utilities (mv, rm)
41356 # - lxlite (optional, see flag below)
41357 # (used for general .dll cleanup)
41364 # basnam, variant of basename, which does _not_ remove the path, _iff_
41365 # second argument (suffix to remove) is given
41369 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
41372 echo ${D}1 | sed 's/'${D}2'${D}//'
41375 echo "error in basnam ${D}*"
41381 # Cleanup temporary files and output
41384 for i in ${D}inputFiles ; do
41387 rm -rf \`basnam ${D}i !\`
41394 # Kill result in case of failure as there is just to many stupid make/nmake
41395 # things out there which doesn't do this.
41396 if [ ${D}# -eq 0 ]; then
41397 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
41401 # Print usage and exit script with rc=1.
41403 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
41404 echo ' [-name-mangler-script script.sh]'
41405 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
41406 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
41407 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
41408 echo ' [*.o] [*.a]'
41409 echo '*> "output_file" should have no extension.'
41410 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
41411 echo ' The import library name is derived from this and is set to "name".a,'
41412 echo ' unless overridden by -import'
41413 echo '*> "importlib_name" should have no extension.'
41414 echo ' If it has the .o, or .a extension, it is automatically removed.'
41415 echo ' This name is used as the import library name and may be longer and'
41416 echo ' more descriptive than the DLL name which has to follow the old '
41417 echo ' 8.3 convention of FAT.'
41418 echo '*> "script.sh may be given to override the output_file name by a'
41419 echo ' different name. It is mainly useful if the regular make process'
41420 echo ' of some package does not take into account OS/2 restriction of'
41421 echo ' DLL name lengths. It takes the importlib name as input and is'
41422 echo ' supposed to procude a shorter name as output. The script should'
41423 echo ' expect to get importlib_name without extension and should produce'
41424 echo ' a (max.) 8 letter name without extension.'
41425 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
41426 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
41427 echo ' These flags will be put at the start of GCC command line.'
41428 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
41429 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
41430 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
41431 echo ' If the last character of a symbol is "*", all symbols beginning'
41432 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
41433 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
41434 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
41435 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
41436 echo ' C runtime DLLs.'
41437 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
41438 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
41439 echo ' unchanged to GCC at the end of command line.'
41440 echo '*> If you create a DLL from a library and you do not specify -o,'
41441 echo ' the basename for DLL and import library will be set to library name,'
41442 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
41443 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
41444 echo ' library will be renamed into gcc_s.a.'
41447 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
41448 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
41453 # Execute a command.
41454 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
41455 # @Uses Whatever CleanUp() uses.
41461 if [ ${D}rcCmd -ne 0 ]; then
41462 echo "command failed, exit code="${D}rcCmd
41477 CFLAGS="-s -Zcrtdll"
41479 EXPORT_BY_ORDINALS=0
41484 case ${D}curDirS in
41488 curDirS=${D}{curDirS}"/"
41491 # Parse commandline
41494 while [ ${D}1 ]; do
41497 EXPORT_BY_ORDINALS=1;
41507 -name-mangler-script)
41528 exclude_symbols=${D}{exclude_symbols}${D}1" "
41532 library_flags=${D}{library_flags}${D}1" "
41551 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41554 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
41555 if [ ${D}omfLinking -eq 1 ]; then
41556 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
41558 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
41563 if [ ${D}libsToLink -ne 0 ]; then
41564 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
41566 for file in ${D}1 ; do
41567 if [ -f ${D}file ]; then
41568 inputFiles="${D}{inputFiles} ${D}file"
41572 if [ ${D}found -eq 0 ]; then
41573 echo "ERROR: No file(s) found: "${D}1
41580 done # iterate cmdline words
41583 if [ -z "${D}inputFiles" ]; then
41584 echo "dllar: no input files"
41588 # Now extract all .o files from .a files
41590 for file in ${D}inputFiles ; do
41601 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
41606 dirname=\`basnam ${D}file ${D}suffix\`"_%"
41608 if [ ${D}? -ne 0 ]; then
41609 echo "Failed to create subdirectory ./${D}dirname"
41613 # Append '!' to indicate archive
41614 newInputFiles="${D}newInputFiles ${D}{dirname}!"
41615 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
41618 for subfile in ${D}dirname/*.o* ; do
41619 if [ -f ${D}subfile ]; then
41621 if [ -s ${D}subfile ]; then
41622 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
41623 newInputFiles="${D}newInputFiles ${D}subfile"
41627 if [ ${D}found -eq 0 ]; then
41628 echo "WARNING: there are no files in archive \\'${D}file\\'"
41632 newInputFiles="${D}{newInputFiles} ${D}file"
41636 inputFiles="${D}newInputFiles"
41638 # Output filename(s).
41640 if [ -z ${D}outFile ]; then
41642 set outFile ${D}inputFiles; outFile=${D}2
41645 # If it is an archive, remove the '!' and the '_%' suffixes
41646 case ${D}outFile in
41648 outFile=\`basnam ${D}outFile _%!\`
41653 case ${D}outFile in
41655 outFile=\`basnam ${D}outFile .dll\`
41658 outFile=\`basnam ${D}outFile .DLL\`
41661 outFile=\`basnam ${D}outFile .o\`
41664 outFile=\`basnam ${D}outFile .obj\`
41667 outFile=\`basnam ${D}outFile .a\`
41670 outFile=\`basnam ${D}outFile .lib\`
41675 case ${D}outimpFile in
41677 outimpFile=\`basnam ${D}outimpFile .a\`
41680 outimpFile=\`basnam ${D}outimpFile .lib\`
41685 if [ -z ${D}outimpFile ]; then
41686 outimpFile=${D}outFile
41688 defFile="${D}{outFile}.def"
41689 arcFile="${D}{outimpFile}.a"
41690 arcFile2="${D}{outimpFile}.lib"
41692 #create ${D}dllFile as something matching 8.3 restrictions,
41693 if [ -z ${D}renameScript ] ; then
41694 dllFile="${D}outFile"
41696 dllFile=\`${D}renameScript ${D}outimpFile\`
41699 if [ ${D}do_backup -ne 0 ] ; then
41700 if [ -f ${D}arcFile ] ; then
41701 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
41703 if [ -f ${D}arcFile2 ] ; then
41704 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
41708 # Extract public symbols from all the object files.
41709 tmpdefFile=${D}{defFile}_%
41710 rm -f ${D}tmpdefFile
41711 for file in ${D}inputFiles ; do
41716 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
41721 # Create the def file.
41723 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
41724 dllFile="${D}{dllFile}.dll"
41725 if [ ! -z ${D}description ]; then
41726 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
41728 echo "EXPORTS" >> ${D}defFile
41730 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
41731 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
41733 # Checks if the export is ok or not.
41734 for word in ${D}exclude_symbols; do
41735 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
41736 mv ${D}{tmpdefFile}% ${D}tmpdefFile
41740 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41741 sed "=" < ${D}tmpdefFile | \\
41745 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
41747 ' > ${D}{tmpdefFile}%
41748 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
41750 rm -f ${D}{tmpdefFile}%
41752 cat ${D}tmpdefFile >> ${D}defFile
41753 rm -f ${D}tmpdefFile
41755 # Do linking, create implib, and apply lxlite.
41757 for file in ${D}inputFiles ; do
41762 gccCmdl="${D}gccCmdl ${D}file"
41766 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
41767 touch "${D}{outFile}.dll"
41769 doCommand "emximp -o ${D}arcFile ${D}defFile"
41770 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
41772 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
41775 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
41777 doCommand "emxomf -s -l ${D}arcFile"
41787 powerpc
-apple-macos* | \
41788 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
41796 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
41797 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
41798 { (exit 1); exit 1; }; }
41801 if test "x$PIC_FLAG" != "x" ; then
41802 PIC_FLAG
="$PIC_FLAG -DPIC"
41805 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
41806 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
41808 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
41809 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
41826 case "${BAKEFILE_HOST}" in
41827 *-*-linux* | *-*-freebsd* )
41828 SONAME_FLAG
="-Wl,-soname,"
41856 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
41857 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
41860 if test "x$GCC" = "xyes"; then
41863 case "${BAKEFILE_HOST}" in
41864 powerpc
-*-darwin* )
41865 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
41868 DEPSFLAG_GCC
="-MMD"
41871 echo "$as_me:$LINENO: result: gcc" >&5
41872 echo "${ECHO_T}gcc" >&6
41873 elif test "x$MWCC" = "xyes"; then
41876 DEPSFLAG_MWCC
="-MM"
41877 echo "$as_me:$LINENO: result: mwcc" >&5
41878 echo "${ECHO_T}mwcc" >&6
41880 echo "$as_me:$LINENO: result: none" >&5
41881 echo "${ECHO_T}none" >&6
41884 if test $DEPS_TRACKING = 1 ; then
41890 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
41891 # script. It is used to track C/C++ files dependencies in portable way.
41893 # Permission is given to use this file in any way.
41895 DEPSMODE=${DEPSMODE}
41897 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
41898 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
41900 mkdir -p ${D}DEPSDIR
41902 if test ${D}DEPSMODE = gcc ; then
41903 ${D}* ${D}{DEPSFLAG_GCC}
41905 if test ${D}{status} != 0 ; then
41908 # move created file to the location we want it in:
41909 while test ${D}# -gt 0; do
41923 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
41924 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
41925 if test -f ${D}depfile ; then
41926 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41929 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
41930 if test -f ${D}depfile ; then
41931 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
41936 elif test ${D}DEPSMODE = mwcc ; then
41939 if test ${D}{status} != 0 ; then
41942 # Run mwcc again with -MM and redirect into the dep file we want
41943 # NOTE: We can't use shift here because we need ${D}* to be valid
41945 for arg in ${D}* ; do
41946 if test "${D}prevarg" = "-o"; then
41959 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
41976 case ${BAKEFILE_HOST} in
41977 *-*-cygwin* | *-*-mingw32* )
41978 if test "$build" != "$host" ; then
41979 RESCOMP
=$host_alias-windres
41981 # Extract the first word of "windres", so it can be a program name with args.
41982 set dummy windres
; ac_word
=$2
41983 echo "$as_me:$LINENO: checking for $ac_word" >&5
41984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41985 if test "${ac_cv_prog_RESCOMP+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41988 if test -n "$RESCOMP"; then
41989 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
41991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41992 for as_dir
in $PATH
41995 test -z "$as_dir" && as_dir
=.
41996 for ac_exec_ext
in '' $ac_executable_extensions; do
41997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41998 ac_cv_prog_RESCOMP
="windres"
41999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42005 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
42008 RESCOMP
=$ac_cv_prog_RESCOMP
42009 if test -n "$RESCOMP"; then
42010 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42011 echo "${ECHO_T}$RESCOMP" >&6
42013 echo "$as_me:$LINENO: result: no" >&5
42014 echo "${ECHO_T}no" >&6
42020 *-*-darwin* | powerpc
-apple-macos* )
42021 # Extract the first word of "Rez", so it can be a program name with args.
42022 set dummy Rez
; ac_word
=$2
42023 echo "$as_me:$LINENO: checking for $ac_word" >&5
42024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42025 if test "${ac_cv_prog_RESCOMP+set}" = set; then
42026 echo $ECHO_N "(cached) $ECHO_C" >&6
42028 if test -n "$RESCOMP"; then
42029 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
42031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42032 for as_dir
in $PATH
42035 test -z "$as_dir" && as_dir
=.
42036 for ac_exec_ext
in '' $ac_executable_extensions; do
42037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42038 ac_cv_prog_RESCOMP
="Rez"
42039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42045 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
42048 RESCOMP
=$ac_cv_prog_RESCOMP
42049 if test -n "$RESCOMP"; then
42050 echo "$as_me:$LINENO: result: $RESCOMP" >&5
42051 echo "${ECHO_T}$RESCOMP" >&6
42053 echo "$as_me:$LINENO: result: no" >&5
42054 echo "${ECHO_T}no" >&6
42057 # Extract the first word of "SetFile", so it can be a program name with args.
42058 set dummy SetFile
; ac_word
=$2
42059 echo "$as_me:$LINENO: checking for $ac_word" >&5
42060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42061 if test "${ac_cv_prog_SETFILE+set}" = set; then
42062 echo $ECHO_N "(cached) $ECHO_C" >&6
42064 if test -n "$SETFILE"; then
42065 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
42067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42068 for as_dir
in $PATH
42071 test -z "$as_dir" && as_dir
=.
42072 for ac_exec_ext
in '' $ac_executable_extensions; do
42073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42074 ac_cv_prog_SETFILE
="SetFile"
42075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42081 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
42084 SETFILE
=$ac_cv_prog_SETFILE
42085 if test -n "$SETFILE"; then
42086 echo "$as_me:$LINENO: result: $SETFILE" >&5
42087 echo "${ECHO_T}$SETFILE" >&6
42089 echo "$as_me:$LINENO: result: no" >&5
42090 echo "${ECHO_T}no" >&6
42100 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.7"
42103 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.7"
42107 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
42108 if test "${enable_precomp_headers+set}" = set; then
42109 enableval
="$enable_precomp_headers"
42110 bk_use_pch
="$enableval"
42115 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
42116 if test "x$GCC" = "xyes"; then
42117 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
42118 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
42119 cat >conftest.
$ac_ext <<_ACEOF
42122 cat confdefs.h
>>conftest.
$ac_ext
42123 cat >>conftest.
$ac_ext <<_ACEOF
42124 /* end confdefs.h. */
42130 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
42131 #error "no pch support"
42134 #error "no pch support"
42136 #if (__GNUC__ == 3) && \
42137 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
42138 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
42139 #error "no pch support"
42146 rm -f conftest.
$ac_objext
42147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42148 (eval $ac_compile) 2>conftest.er1
42150 grep -v '^ *+' conftest.er1
>conftest.err
42152 cat conftest.err
>&5
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); } &&
42155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157 (eval $ac_try) 2>&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; } &&
42161 { ac_try
='test -s conftest.$ac_objext'
42162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42163 (eval $ac_try) 2>&5
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); }; }; then
42168 echo "$as_me:$LINENO: result: yes" >&5
42169 echo "${ECHO_T}yes" >&6
42173 echo "$as_me: failed program was:" >&5
42174 sed 's/^/| /' conftest.
$ac_ext >&5
42177 echo "$as_me:$LINENO: result: no" >&5
42178 echo "${ECHO_T}no" >&6
42181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42182 if test $GCC_PCH = 1 ; then
42185 cat <<EOF >bk-make-pch
42188 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
42189 # script. It is used to generated precompiled headers.
42191 # Permission is given to use this file in any way.
42200 while test ${D}{#} -gt 0; do
42203 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
42204 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
42205 headerfile="${D}{incdir}/${D}{header}"
42209 compiler="${D}{compiler} ${D}{1}"
42213 if test "x${D}{headerfile}" = "x" ; then
42214 echo "error: can't find header ${D}{header} in include paths" >2
42216 if test -f ${D}{outfile} ; then
42217 rm -f ${D}{outfile}
42219 mkdir -p \`dirname ${D}{outfile}\`
42221 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
42223 # can do this because gcc is >= 3.4:
42224 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
42229 chmod +x bk
-make-pch
42236 COND_BUILD_DEBUG
="#"
42237 if test "x$BUILD" = "xdebug" ; then
42238 COND_BUILD_DEBUG
=""
42241 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
42242 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
42243 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
42246 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
42247 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
42248 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
42251 COND_BUILD_DEBUG_UNICODE_0
="#"
42252 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
42253 COND_BUILD_DEBUG_UNICODE_0
=""
42256 COND_BUILD_DEBUG_UNICODE_1
="#"
42257 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
42258 COND_BUILD_DEBUG_UNICODE_1
=""
42261 COND_BUILD_RELEASE
="#"
42262 if test "x$BUILD" = "xrelease" ; then
42263 COND_BUILD_RELEASE
=""
42266 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
42267 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
42268 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
42271 COND_BUILD_RELEASE_UNICODE_0
="#"
42272 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
42273 COND_BUILD_RELEASE_UNICODE_0
=""
42276 COND_BUILD_RELEASE_UNICODE_1
="#"
42277 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
42278 COND_BUILD_RELEASE_UNICODE_1
=""
42281 COND_DEBUG_FLAG_1
="#"
42282 if test "x$DEBUG_FLAG" = "x1" ; then
42283 COND_DEBUG_FLAG_1
=""
42286 COND_DEBUG_INFO_0
="#"
42287 if test "x$DEBUG_INFO" = "x0" ; then
42288 COND_DEBUG_INFO_0
=""
42291 COND_DEBUG_INFO_1
="#"
42292 if test "x$DEBUG_INFO" = "x1" ; then
42293 COND_DEBUG_INFO_1
=""
42296 COND_DEPS_TRACKING_0
="#"
42297 if test "x$DEPS_TRACKING" = "x0" ; then
42298 COND_DEPS_TRACKING_0
=""
42301 COND_DEPS_TRACKING_1
="#"
42302 if test "x$DEPS_TRACKING" = "x1" ; then
42303 COND_DEPS_TRACKING_1
=""
42307 if test "x$GCC_PCH" = "x1" ; then
42311 COND_MONOLITHIC_0
="#"
42312 if test "x$MONOLITHIC" = "x0" ; then
42313 COND_MONOLITHIC_0
=""
42316 COND_MONOLITHIC_0_SHARED_0
="#"
42317 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
42318 COND_MONOLITHIC_0_SHARED_0
=""
42321 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
42322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
42323 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
42326 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
42327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42328 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
42331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
42332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42333 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
42336 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
42337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
42338 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
42341 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
42342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
42343 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
42346 COND_MONOLITHIC_0_SHARED_1
="#"
42347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
42348 COND_MONOLITHIC_0_SHARED_1
=""
42351 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
42352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
42353 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
42356 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
42357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
42358 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
42361 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
42362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
42363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
42366 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
42367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
42368 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
42371 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
42372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
42373 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
42376 COND_MONOLITHIC_0_USE_ODBC_1
="#"
42377 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
42378 COND_MONOLITHIC_0_USE_ODBC_1
=""
42381 COND_MONOLITHIC_1
="#"
42382 if test "x$MONOLITHIC" = "x1" ; then
42383 COND_MONOLITHIC_1
=""
42386 COND_MONOLITHIC_1_SHARED_0
="#"
42387 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
42388 COND_MONOLITHIC_1_SHARED_0
=""
42391 COND_MONOLITHIC_1_SHARED_1
="#"
42392 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
42393 COND_MONOLITHIC_1_SHARED_1
=""
42396 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
42397 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
42398 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
42401 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
42402 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
42403 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
42406 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
42407 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
42408 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
42411 COND_PLATFORM_MACOSX_1
="#"
42412 if test "x$PLATFORM_MACOSX" = "x1" ; then
42413 COND_PLATFORM_MACOSX_1
=""
42416 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
42417 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
42418 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
42421 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
42422 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
42423 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
42426 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
42427 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
42428 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
42431 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
42432 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
42433 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
42436 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
42437 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42438 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
42441 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42442 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42443 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42446 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
42447 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
42448 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
42451 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
42452 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
42453 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
42456 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
42457 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
42458 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
42461 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
42462 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
42463 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
42466 COND_PLATFORM_MACOS_1
="#"
42467 if test "x$PLATFORM_MACOS" = "x1" ; then
42468 COND_PLATFORM_MACOS_1
=""
42471 COND_PLATFORM_MAC_1
="#"
42472 if test "x$PLATFORM_MAC" = "x1" ; then
42473 COND_PLATFORM_MAC_1
=""
42476 COND_PLATFORM_OS2_1
="#"
42477 if test "x$PLATFORM_OS2" = "x1" ; then
42478 COND_PLATFORM_OS2_1
=""
42481 COND_PLATFORM_UNIX_0
="#"
42482 if test "x$PLATFORM_UNIX" = "x0" ; then
42483 COND_PLATFORM_UNIX_0
=""
42486 COND_PLATFORM_UNIX_1
="#"
42487 if test "x$PLATFORM_UNIX" = "x1" ; then
42488 COND_PLATFORM_UNIX_1
=""
42491 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
42492 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
42493 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
42496 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
42497 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
42498 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
42501 COND_PLATFORM_WIN32_0
="#"
42502 if test "x$PLATFORM_WIN32" = "x0" ; then
42503 COND_PLATFORM_WIN32_0
=""
42506 COND_PLATFORM_WIN32_1
="#"
42507 if test "x$PLATFORM_WIN32" = "x1" ; then
42508 COND_PLATFORM_WIN32_1
=""
42512 if test "x$SHARED" = "x0" ; then
42516 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
42517 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
42518 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
42521 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
42522 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
42523 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
42526 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
42527 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
42528 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
42531 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
42532 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42533 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
42536 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42537 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42538 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42541 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42542 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42543 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42546 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42547 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42548 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42551 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
42552 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
42553 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
42556 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
42557 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
42558 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
42561 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
42562 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
42563 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
42566 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
42567 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
42568 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
42572 if test "x$SHARED" = "x1" ; then
42576 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
42577 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
42578 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
42582 if test "x$TOOLKIT" = "x" ; then
42586 COND_TOOLKIT_COCOA
="#"
42587 if test "x$TOOLKIT" = "xCOCOA" ; then
42588 COND_TOOLKIT_COCOA
=""
42591 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
42592 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
42593 COND_TOOLKIT_COCOA_USE_GUI_1
=""
42596 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
42597 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42598 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
42601 COND_TOOLKIT_GTK
="#"
42602 if test "x$TOOLKIT" = "xGTK" ; then
42603 COND_TOOLKIT_GTK
=""
42606 COND_TOOLKIT_GTK_USE_GUI_1
="#"
42607 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
42608 COND_TOOLKIT_GTK_USE_GUI_1
=""
42611 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
42612 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42613 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
42616 COND_TOOLKIT_MAC
="#"
42617 if test "x$TOOLKIT" = "xMAC" ; then
42618 COND_TOOLKIT_MAC
=""
42621 COND_TOOLKIT_MAC_USE_GUI_1
="#"
42622 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
42623 COND_TOOLKIT_MAC_USE_GUI_1
=""
42626 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
42627 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42628 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
42631 COND_TOOLKIT_MGL
="#"
42632 if test "x$TOOLKIT" = "xMGL" ; then
42633 COND_TOOLKIT_MGL
=""
42636 COND_TOOLKIT_MGL_USE_GUI_1
="#"
42637 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
42638 COND_TOOLKIT_MGL_USE_GUI_1
=""
42641 COND_TOOLKIT_MOTIF
="#"
42642 if test "x$TOOLKIT" = "xMOTIF" ; then
42643 COND_TOOLKIT_MOTIF
=""
42646 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
42647 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
42648 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
42651 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
42652 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42653 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
42656 COND_TOOLKIT_MSW
="#"
42657 if test "x$TOOLKIT" = "xMSW" ; then
42658 COND_TOOLKIT_MSW
=""
42661 COND_TOOLKIT_MSW_USE_GUI_1
="#"
42662 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
42663 COND_TOOLKIT_MSW_USE_GUI_1
=""
42666 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
42667 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42668 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
42671 COND_TOOLKIT_PM
="#"
42672 if test "x$TOOLKIT" = "xPM" ; then
42676 COND_TOOLKIT_PM_USE_GUI_1
="#"
42677 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
42678 COND_TOOLKIT_PM_USE_GUI_1
=""
42681 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
42682 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42683 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
42686 COND_TOOLKIT_WINCE
="#"
42687 if test "x$TOOLKIT" = "xWINCE" ; then
42688 COND_TOOLKIT_WINCE
=""
42691 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
42692 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
42693 COND_TOOLKIT_WINCE_USE_GUI_1
=""
42696 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
42697 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42698 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
42701 COND_TOOLKIT_X11
="#"
42702 if test "x$TOOLKIT" = "xX11" ; then
42703 COND_TOOLKIT_X11
=""
42706 COND_TOOLKIT_X11_USE_GUI_1
="#"
42707 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
42708 COND_TOOLKIT_X11_USE_GUI_1
=""
42712 if test "x$UNICODE" = "x1" ; then
42716 COND_USE_EXCEPTIONS_0
="#"
42717 if test "x$USE_EXCEPTIONS" = "x0" ; then
42718 COND_USE_EXCEPTIONS_0
=""
42721 COND_USE_EXCEPTIONS_1
="#"
42722 if test "x$USE_EXCEPTIONS" = "x1" ; then
42723 COND_USE_EXCEPTIONS_1
=""
42727 if test "x$USE_GUI" = "x0" ; then
42732 if test "x$USE_GUI" = "x1" ; then
42736 COND_USE_GUI_1_WXUNIV_0
="#"
42737 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
42738 COND_USE_GUI_1_WXUNIV_0
=""
42741 COND_USE_GUI_1_WXUNIV_1
="#"
42742 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
42743 COND_USE_GUI_1_WXUNIV_1
=""
42746 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
42747 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42748 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
42751 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
42752 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42753 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
42756 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
42757 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42758 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
42761 COND_USE_ODBC_1
="#"
42762 if test "x$USE_ODBC" = "x1" ; then
42766 COND_USE_OPENGL_1
="#"
42767 if test "x$USE_OPENGL" = "x1" ; then
42768 COND_USE_OPENGL_1
=""
42771 COND_USE_PLUGINS_0
="#"
42772 if test "x$USE_PLUGINS" = "x0" ; then
42773 COND_USE_PLUGINS_0
=""
42776 COND_USE_RTTI_0
="#"
42777 if test "x$USE_RTTI" = "x0" ; then
42781 COND_USE_RTTI_1
="#"
42782 if test "x$USE_RTTI" = "x1" ; then
42786 COND_USE_SOSYMLINKS_1
="#"
42787 if test "x$USE_SOSYMLINKS" = "x1" ; then
42788 COND_USE_SOSYMLINKS_1
=""
42791 COND_USE_SOVERLINUX_1
="#"
42792 if test "x$USE_SOVERLINUX" = "x1" ; then
42793 COND_USE_SOVERLINUX_1
=""
42796 COND_USE_SOVERSION_0
="#"
42797 if test "x$USE_SOVERSION" = "x0" ; then
42798 COND_USE_SOVERSION_0
=""
42801 COND_USE_SOVERSOLARIS_1
="#"
42802 if test "x$USE_SOVERSOLARIS" = "x1" ; then
42803 COND_USE_SOVERSOLARIS_1
=""
42806 COND_USE_THREADS_0
="#"
42807 if test "x$USE_THREADS" = "x0" ; then
42808 COND_USE_THREADS_0
=""
42811 COND_USE_THREADS_1
="#"
42812 if test "x$USE_THREADS" = "x1" ; then
42813 COND_USE_THREADS_1
=""
42817 if test "x$USE_XRC" = "x1" ; then
42821 COND_WITH_PLUGIN_SDL_1
="#"
42822 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
42823 COND_WITH_PLUGIN_SDL_1
=""
42827 if test "x$WXUNIV" = "x0" ; then
42832 if test "x$WXUNIV" = "x1" ; then
42836 COND_WXUSE_EXPAT_BUILTIN
="#"
42837 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
42838 COND_WXUSE_EXPAT_BUILTIN
=""
42841 COND_WXUSE_LIBJPEG_BUILTIN
="#"
42842 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
42843 COND_WXUSE_LIBJPEG_BUILTIN
=""
42846 COND_WXUSE_LIBPNG_BUILTIN
="#"
42847 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
42848 COND_WXUSE_LIBPNG_BUILTIN
=""
42851 COND_WXUSE_LIBTIFF_BUILTIN
="#"
42852 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
42853 COND_WXUSE_LIBTIFF_BUILTIN
=""
42856 COND_WXUSE_ODBC_BUILTIN
="#"
42857 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
42858 COND_WXUSE_ODBC_BUILTIN
=""
42861 COND_WXUSE_REGEX_BUILTIN
="#"
42862 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
42863 COND_WXUSE_REGEX_BUILTIN
=""
42866 COND_WXUSE_ZLIB_BUILTIN
="#"
42867 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
42868 COND_WXUSE_ZLIB_BUILTIN
=""
42873 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
42874 { { 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
42875 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;}
42876 { (exit 1); exit 1; }; }
42880 if test "$wxUSE_SHARED" = "yes"; then
42882 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
42883 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
42886 *-pc-os2_emx | *-pc-os2-emx )
42887 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42888 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42889 cp -p ${srcdir}/src
/os
2/dllnames.sh .
42890 cp -p ${srcdir}/src
/os
2/dllar.sh .
42895 EXE_LINKER
="$CXX -o"
42899 GCC_PRAGMA_FLAGS
=""
42901 if test $GCC_PCH = 1 ; then
42902 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42903 PCH_FLAGS
="-DWX_PRECOMP"
42906 powerpc
-*-darwin* )
42907 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42910 if test "$wxUSE_STL" = "yes" -o \
42911 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
42912 "$wxUSE_NO_RTTI" != "yes"; then
42913 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
42914 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42915 cat >conftest.
$ac_ext <<_ACEOF
42918 cat confdefs.h
>>conftest.
$ac_ext
42919 cat >>conftest.
$ac_ext <<_ACEOF
42920 /* end confdefs.h. */
42925 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42926 #error "Not GCC 3.2 or greater"
42933 rm -f conftest.
$ac_objext
42934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42935 (eval $ac_compile) 2>conftest.er1
42937 grep -v '^ *+' conftest.er1
>conftest.err
42939 cat conftest.err
>&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); } &&
42942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42944 (eval $ac_try) 2>&5
42946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42947 (exit $ac_status); }; } &&
42948 { ac_try
='test -s conftest.$ac_objext'
42949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42950 (eval $ac_try) 2>&5
42952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953 (exit $ac_status); }; }; then
42954 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
42955 echo "$as_me:$LINENO: result: yes" >&5
42956 echo "${ECHO_T}yes" >&6
42958 echo "$as_me: failed program was:" >&5
42959 sed 's/^/| /' conftest.
$ac_ext >&5
42961 echo "$as_me:$LINENO: result: no" >&5
42962 echo "${ECHO_T}no" >&6
42964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42967 *-pc-os2_emx | *-pc-os2-emx )
42968 if test "$wxUSE_STL" = "yes"; then
42969 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
42970 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
42971 cat >conftest.
$ac_ext <<_ACEOF
42974 cat confdefs.h
>>conftest.
$ac_ext
42975 cat >>conftest.
$ac_ext <<_ACEOF
42976 /* end confdefs.h. */
42981 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
42982 #error "Not GCC 3.2 or greater"
42989 rm -f conftest.
$ac_objext
42990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42991 (eval $ac_compile) 2>conftest.er1
42993 grep -v '^ *+' conftest.er1
>conftest.err
42995 cat conftest.err
>&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); } &&
42998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43000 (eval $ac_try) 2>&5
43002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003 (exit $ac_status); }; } &&
43004 { ac_try
='test -s conftest.$ac_objext'
43005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43006 (eval $ac_try) 2>&5
43008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43009 (exit $ac_status); }; }; then
43010 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
43011 echo "$as_me:$LINENO: result: yes" >&5
43012 echo "${ECHO_T}yes" >&6
43014 echo "$as_me: failed program was:" >&5
43015 sed 's/^/| /' conftest.
$ac_ext >&5
43017 echo "$as_me:$LINENO: result: no" >&5
43018 echo "${ECHO_T}no" >&6
43020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43025 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
43028 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
43092 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43093 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43094 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43095 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43098 cat >conftest.
make <<\_ACEOF
43100 @
echo 'ac_maketemp="$(MAKE)"'
43102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43103 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43104 if test -n "$ac_maketemp"; then
43105 eval ac_cv_prog_make_
${ac_make}_set
=yes
43107 eval ac_cv_prog_make_
${ac_make}_set
=no
43109 rm -f conftest.
make
43111 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43112 echo "$as_me:$LINENO: result: yes" >&5
43113 echo "${ECHO_T}yes" >&6
43116 echo "$as_me:$LINENO: result: no" >&5
43117 echo "${ECHO_T}no" >&6
43118 SET_MAKE
="MAKE=${MAKE-make}"
43123 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
43126 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
43129 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
43132 ac_config_files
="$ac_config_files version-script Makefile"
43135 ac_config_commands
="$ac_config_commands wx-config
43141 if test "$wxUSE_GUI" = "yes"; then
43142 SUBDIRS
="samples demos utils contrib"
43143 else SUBDIRS
="samples utils"
43148 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
43149 if test "${with_cppunit_prefix+set}" = set; then
43150 withval
="$with_cppunit_prefix"
43151 cppunit_config_prefix
="$withval"
43153 cppunit_config_prefix
=""
43156 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
43157 if test "${with_cppunit_exec_prefix+set}" = set; then
43158 withval
="$with_cppunit_exec_prefix"
43159 cppunit_config_exec_prefix
="$withval"
43161 cppunit_config_exec_prefix
=""
43164 if test x
$cppunit_config_exec_prefix != x
; then
43165 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
43166 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43167 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
43170 if test x
$cppunit_config_prefix != x
; then
43171 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
43172 if test x
${CPPUNIT_CONFIG+set} != xset
; then
43173 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
43177 # Extract the first word of "cppunit-config", so it can be a program name with args.
43178 set dummy cppunit
-config; ac_word
=$2
43179 echo "$as_me:$LINENO: checking for $ac_word" >&5
43180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43181 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
43182 echo $ECHO_N "(cached) $ECHO_C" >&6
43184 case $CPPUNIT_CONFIG in
43186 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
43189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43190 for as_dir
in $PATH
43193 test -z "$as_dir" && as_dir
=.
43194 for ac_exec_ext
in '' $ac_executable_extensions; do
43195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43196 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43203 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
43207 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
43209 if test -n "$CPPUNIT_CONFIG"; then
43210 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
43211 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
43213 echo "$as_me:$LINENO: result: no" >&5
43214 echo "${ECHO_T}no" >&6
43217 cppunit_version_min
=1.8.0
43219 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
43220 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
43222 if test "$CPPUNIT_CONFIG" = "no" ; then
43225 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
43226 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
43227 cppunit_version
=`$CPPUNIT_CONFIG --version`
43229 cppunit_major_version
=`echo $cppunit_version | \
43230 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43231 cppunit_minor_version
=`echo $cppunit_version | \
43232 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43233 cppunit_micro_version
=`echo $cppunit_version | \
43234 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43236 cppunit_major_min
=`echo $cppunit_version_min | \
43237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43238 cppunit_minor_min
=`echo $cppunit_version_min | \
43239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43240 cppunit_micro_min
=`echo $cppunit_version_min | \
43241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43243 cppunit_version_proper
=`expr \
43244 $cppunit_major_version \> $cppunit_major_min \| \
43245 $cppunit_major_version \= $cppunit_major_min \& \
43246 $cppunit_minor_version \> $cppunit_minor_min \| \
43247 $cppunit_major_version \= $cppunit_major_min \& \
43248 $cppunit_minor_version \= $cppunit_minor_min \& \
43249 $cppunit_micro_version \>= $cppunit_micro_min `
43251 if test "$cppunit_version_proper" = "1" ; then
43252 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
43253 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
43255 echo "$as_me:$LINENO: result: no" >&5
43256 echo "${ECHO_T}no" >&6
43261 if test "x$no_cppunit" = x
; then
43262 SUBDIRS
="$SUBDIRS tests"
43273 for subdir
in `echo $SUBDIRS`; do
43274 if test -d ${srcdir}/${subdir} ; then
43275 if test "$wxUSE_GUI" = "yes"; then
43276 if test ${subdir} = "samples"; then
43277 makefiles
="samples/Makefile.in $makefiles"
43278 for sample
in `echo $SAMPLES_SUBDIRS`; do
43279 if test -d $srcdir/samples
/$sample; then
43280 makefiles
="samples/$sample/Makefile.in $makefiles"
43283 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43285 else if test ${subdir} = "samples"; then
43286 makefiles
="samples/Makefile.in samples/console/Makefile.in"
43287 elif test ${subdir} = "utils"; then
43289 for util
in HelpGen tex2rtf
; do
43290 if test -d $srcdir/utils
/$util ; then
43291 makefiles
="utils/$util/Makefile.in \
43292 utils/$util/src/Makefile.in \
43296 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
43300 for mkin
in $makefiles ; do
43301 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
43302 ac_config_files
="$ac_config_files $mk"
43309 cat >confcache
<<\_ACEOF
43310 # This file is a shell script that caches the results of configure
43311 # tests run on this system so they can be shared between configure
43312 # scripts and configure runs, see configure's option --config-cache.
43313 # It is not useful on other systems. If it contains results you don't
43314 # want to keep, you may remove or edit it.
43316 # config.status only pays attention to the cache file if you give it
43317 # the --recheck option to rerun configure.
43319 # `ac_cv_env_foo' variables (set or unset) will be overridden when
43320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
43321 # following values.
43325 # The following way of writing the cache mishandles newlines in values,
43326 # but we know of no workaround that is simple, portable, and efficient.
43327 # So, don't put newlines in cache variables' values.
43328 # Ultrix sh set writes to stderr and can't be redirected directly,
43329 # and sets the high bit in the cache file unless we assign to the vars.
43332 case `(ac_space=' '; set | grep ac_space) 2>&1` in
43334 # `set' does not quote correctly, so add quotes (double-quote
43335 # substitution turns \\\\ into \\, and sed turns \\ into \).
43338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
43341 # `set' quotes correctly as required by POSIX, so do not add quotes.
43343 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
43350 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
43352 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
43354 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
43355 if test -w $cache_file; then
43356 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
43357 cat confcache
>$cache_file
43359 echo "not updating unwritable cache $cache_file"
43364 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
43365 # Let make expand exec_prefix.
43366 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
43368 # VPATH may cause trouble with some makes, so we remove $(srcdir),
43369 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43370 # trailing colons and then remove the whole line if VPATH becomes empty
43371 # (actually we leave an empty line to preserve line numbers).
43372 if test "x$srcdir" = x.
; then
43373 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
43374 s/:*\$(srcdir):*/:/;
43375 s/:*\${srcdir}:*/:/;
43377 s/^\([^=]*=[ ]*\):*/\1/;
43383 DEFS
=-DHAVE_CONFIG_H
43387 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
43388 # 1. Remove the extension, and $U if already installed.
43389 ac_i
=`echo "$ac_i" |
43390 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
43392 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
43393 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
43395 LIBOBJS
=$ac_libobjs
43397 LTLIBOBJS
=$ac_ltlibobjs
43401 : ${CONFIG_STATUS=./config.status}
43402 ac_clean_files_save
=$ac_clean_files
43403 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
43404 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
43405 echo "$as_me: creating $CONFIG_STATUS" >&6;}
43406 cat >$CONFIG_STATUS <<_ACEOF
43408 # Generated by $as_me.
43409 # Run this file to recreate the current configuration.
43410 # Compiler output produced by configure, useful for debugging
43411 # configure, is in config.log if it exists.
43414 ac_cs_recheck=false
43416 SHELL=\${CONFIG_SHELL-$SHELL}
43419 cat >>$CONFIG_STATUS <<\_ACEOF
43420 ## --------------------- ##
43421 ## M4sh Initialization. ##
43422 ## --------------------- ##
43424 # Be Bourne compatible
43425 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
43428 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
43429 # is contrary to our usage. Disable this feature.
43430 alias -g '${1+"$@"}'='"$@"'
43431 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
43434 DUALCASE
=1; export DUALCASE
# for MKS sh
43436 # Support unset when possible.
43437 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
43444 # Work around bugs in pre-3.0 UWIN ksh.
43445 $as_unset ENV MAIL MAILPATH
43452 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43453 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43454 LC_TELEPHONE LC_TIME
43456 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
43457 eval $as_var=C
; export $as_var
43463 # Required to use basename.
43464 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43470 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
43471 as_basename
=basename
43477 # Name of the executable.
43478 as_me
=`$as_basename "$0" ||
43479 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
43480 X"$0" : 'X\(//\)$' \| \
43481 X"$0" : 'X\(/\)$' \| \
43482 . : '\(.\)' 2>/dev/null ||
43484 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
43485 /^X\/\(\/\/\)$/{ s//\1/; q; }
43486 /^X\/\(\/\).*/{ s//\1/; q; }
43490 # PATH needs CR, and LINENO needs CR and PATH.
43491 # Avoid depending upon Character Ranges.
43492 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
43493 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
43494 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
43495 as_cr_digits
='0123456789'
43496 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43498 # The user is always right.
43499 if test "${PATH_SEPARATOR+set}" != set; then
43500 echo "#! /bin/sh" >conf$$.sh
43501 echo "exit 0" >>conf$$.sh
43503 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
43512 as_lineno_1
=$LINENO
43513 as_lineno_2
=$LINENO
43514 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
43515 test "x$as_lineno_1" != "x$as_lineno_2" &&
43516 test "x$as_lineno_3" = "x$as_lineno_2" || {
43517 # Find who we are. Look in the path if we contain no path at all
43520 *[\\/]* ) as_myself
=$0 ;;
43521 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43522 for as_dir
in $PATH
43525 test -z "$as_dir" && as_dir
=.
43526 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
43531 # We did not find ourselves, most probably we were run as `sh COMMAND'
43532 # in which case we are not to be found in the path.
43533 if test "x$as_myself" = x
; then
43536 if test ! -f "$as_myself"; then
43537 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
43538 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
43539 { (exit 1); exit 1; }; }
43541 case $CONFIG_SHELL in
43543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43544 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
43547 test -z "$as_dir" && as_dir
=.
43548 for as_base
in sh bash ksh sh5
; do
43551 if ("$as_dir/$as_base" -c '
43552 as_lineno_1=$LINENO
43553 as_lineno_2=$LINENO
43554 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
43555 test "x$as_lineno_1" != "x$as_lineno_2" &&
43556 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
43557 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
43558 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
43559 CONFIG_SHELL
=$as_dir/$as_base
43560 export CONFIG_SHELL
43561 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
43569 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
43570 # uniformly replaced by the line number. The first 'sed' inserts a
43571 # line-number line before each line; the second 'sed' does the real
43572 # work. The second script uses 'N' to pair each line-number line
43573 # with the numbered line, and appends trailing '-' during
43574 # substitution so that $LINENO is not a special case at line end.
43575 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
43576 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
43577 sed '=' <$as_myself |
43582 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
43585 s,^['$as_cr_digits']*\n,,
43586 ' >$as_me.lineno
&&
43587 chmod +x
$as_me.lineno
||
43588 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
43589 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
43590 { (exit 1); exit 1; }; }
43592 # Don't try to exec as it changes $[0], causing all sort of problems
43593 # (the dirname of $[0] is not the place where we might find the
43594 # original and so on. Autoconf is especially sensible to this).
43596 # Exit status is that of the last command.
43601 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
43602 *c
*,-n*) ECHO_N
= ECHO_C
='
43604 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
43605 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
43608 if expr a
: '\(a\)' >/dev
/null
2>&1; then
43614 rm -f conf$$ conf$$.exe conf$$.
file
43616 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43617 # We could just check for DJGPP; but this test a) works b) is more generic
43618 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
43619 if test -f conf$$.exe
; then
43620 # Don't use ln at all; we don't have any links
43625 elif ln conf$$.
file conf$$
2>/dev
/null
; then
43630 rm -f conf$$ conf$$.exe conf$$.
file
43632 if mkdir -p .
2>/dev
/null
; then
43635 test -d .
/-p && rmdir .
/-p
43639 as_executable_p
="test -f"
43641 # Sed expression to map a string onto a valid CPP name.
43642 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
43644 # Sed expression to map a string onto a valid variable name.
43645 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
43649 # We need space, tab and new line, in precisely that order.
43659 # Open the log real soon, to keep \$[0] and so on meaningful, and to
43660 # report actual input values of CONFIG_FILES etc. instead of their
43661 # values after options handling. Logging --version etc. is OK.
43665 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
43666 ## Running $as_me. ##
43671 This file was extended by wxWidgets $as_me 2.5.4, which was
43672 generated by GNU Autoconf 2.59. Invocation command line was
43674 CONFIG_FILES = $CONFIG_FILES
43675 CONFIG_HEADERS = $CONFIG_HEADERS
43676 CONFIG_LINKS = $CONFIG_LINKS
43677 CONFIG_COMMANDS = $CONFIG_COMMANDS
43681 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
43685 # Files that config.status was made for.
43686 if test -n "$ac_config_files"; then
43687 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
43690 if test -n "$ac_config_headers"; then
43691 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
43694 if test -n "$ac_config_links"; then
43695 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
43698 if test -n "$ac_config_commands"; then
43699 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
43702 cat >>$CONFIG_STATUS <<\_ACEOF
43705 \`$as_me' instantiates files from templates according to the
43706 current configuration.
43708 Usage: $0 [OPTIONS] [FILE]...
43710 -h, --help print this help, then exit
43711 -V, --version print version number, then exit
43712 -q, --quiet do not print progress messages
43713 -d, --debug don't remove temporary files
43714 --recheck update $as_me by reconfiguring in the same conditions
43715 --file=FILE[:TEMPLATE]
43716 instantiate the configuration file FILE
43717 --header=FILE[:TEMPLATE]
43718 instantiate the configuration header FILE
43720 Configuration files:
43723 Configuration headers:
43726 Configuration commands:
43729 Report bugs to <bug-autoconf@gnu.org>."
43732 cat >>$CONFIG_STATUS <<_ACEOF
43734 wxWidgets config.status 2.5.4
43735 configured by $0, generated by GNU Autoconf 2.59,
43736 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
43738 Copyright (C) 2003 Free Software Foundation, Inc.
43739 This config.status script is free software; the Free Software Foundation
43740 gives unlimited permission to copy, distribute and modify it."
43745 cat >>$CONFIG_STATUS <<\_ACEOF
43746 # If no file are specified by the user, then we need to provide default
43747 # value. By we need to know if files were specified by the user.
43753 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
43754 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
43762 *) # This is not an option, so the user has probably given explicit
43765 ac_need_defaults
=false
;;
43769 # Handling of the options.
43771 cat >>$CONFIG_STATUS <<\_ACEOF
43772 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
43774 --version | --vers* | -V )
43775 echo "$ac_cs_version"; exit 0 ;;
43777 # Conflict between --help and --header
43778 { { echo "$as_me:$LINENO: error: ambiguous option: $1
43779 Try \`$0 --help' for more information." >&5
43780 echo "$as_me: error: ambiguous option: $1
43781 Try \`$0 --help' for more information." >&2;}
43782 { (exit 1); exit 1; }; };;
43783 --help | --hel | -h )
43784 echo "$ac_cs_usage"; exit 0 ;;
43785 --debug | --d* | -d )
43787 --file | --fil | --fi | --f )
43789 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
43790 ac_need_defaults
=false
;;
43791 --header | --heade | --head | --hea )
43793 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
43794 ac_need_defaults
=false
;;
43795 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
43796 | -silent | --silent | --silen | --sile | --sil | --si | --s)
43799 # This is an error.
43800 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
43801 Try \`$0 --help' for more information." >&5
43802 echo "$as_me: error: unrecognized option: $1
43803 Try \`$0 --help' for more information." >&2;}
43804 { (exit 1); exit 1; }; } ;;
43806 *) ac_config_targets
="$ac_config_targets $1" ;;
43812 ac_configure_extra_args
=
43814 if $ac_cs_silent; then
43816 ac_configure_extra_args
="$ac_configure_extra_args --silent"
43820 cat >>$CONFIG_STATUS <<_ACEOF
43821 if \$ac_cs_recheck; then
43822 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
43823 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
43828 cat >>$CONFIG_STATUS <<_ACEOF
43830 # INIT-COMMANDS section.
43833 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43834 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43835 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
43843 cat >>$CONFIG_STATUS <<\_ACEOF
43844 for ac_config_target
in $ac_config_targets
43846 case "$ac_config_target" in
43847 # Handling of arguments.
43848 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
43849 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
43850 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
43851 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
43852 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
43853 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
43854 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
43855 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43856 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43857 { (exit 1); exit 1; }; };;
43861 # If the user did not use the arguments to specify the items to instantiate,
43862 # then the envvar interface is used. Set only those that are not.
43863 # We use the long form for the default assignment because of an extremely
43864 # bizarre bug on SunOS 4.1.3.
43865 if $ac_need_defaults; then
43866 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
43867 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
43868 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
43871 # Have a temporary directory for convenience. Make it in the build tree
43872 # simply because there is no reason to put it here, and in addition,
43873 # creating and moving files from /tmp can sometimes cause problems.
43874 # Create a temporary directory, and hook for its removal unless debugging.
43877 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43878 trap '{ (exit 1); exit 1; }' 1 2 13 15
43881 # Create a (secure) tmp directory for tmp files.
43884 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43885 test -n "$tmp" && test -d "$tmp"
43888 tmp
=.
/confstat$$
-$RANDOM
43889 (umask 077 && mkdir $tmp)
43892 echo "$me: cannot create a temporary directory in ." >&2
43893 { (exit 1); exit 1; }
43898 cat >>$CONFIG_STATUS <<_ACEOF
43901 # CONFIG_FILES section.
43904 # No need to generate the scripts if there are no CONFIG_FILES.
43905 # This happens for instance when ./config.status config.h
43906 if test -n "\$CONFIG_FILES"; then
43907 # Protect against being on the right side of a sed subst in config.status.
43908 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43909 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43910 s,@SHELL@,$SHELL,;t t
43911 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43912 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43913 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43914 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43915 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43916 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43917 s,@exec_prefix@,$exec_prefix,;t t
43918 s,@prefix@,$prefix,;t t
43919 s,@program_transform_name@,$program_transform_name,;t t
43920 s,@bindir@,$bindir,;t t
43921 s,@sbindir@,$sbindir,;t t
43922 s,@libexecdir@,$libexecdir,;t t
43923 s,@datadir@,$datadir,;t t
43924 s,@sysconfdir@,$sysconfdir,;t t
43925 s,@sharedstatedir@,$sharedstatedir,;t t
43926 s,@localstatedir@,$localstatedir,;t t
43927 s,@libdir@,$libdir,;t t
43928 s,@includedir@,$includedir,;t t
43929 s,@oldincludedir@,$oldincludedir,;t t
43930 s,@infodir@,$infodir,;t t
43931 s,@mandir@,$mandir,;t t
43932 s,@build_alias@,$build_alias,;t t
43933 s,@host_alias@,$host_alias,;t t
43934 s,@target_alias@,$target_alias,;t t
43935 s,@DEFS@,$DEFS,;t t
43936 s,@ECHO_C@,$ECHO_C,;t t
43937 s,@ECHO_N@,$ECHO_N,;t t
43938 s,@ECHO_T@,$ECHO_T,;t t
43939 s,@LIBS@,$LIBS,;t t
43940 s,@build@,$build,;t t
43941 s,@build_cpu@,$build_cpu,;t t
43942 s,@build_vendor@,$build_vendor,;t t
43943 s,@build_os@,$build_os,;t t
43944 s,@host@,$host,;t t
43945 s,@host_cpu@,$host_cpu,;t t
43946 s,@host_vendor@,$host_vendor,;t t
43947 s,@host_os@,$host_os,;t t
43948 s,@target@,$target,;t t
43949 s,@target_cpu@,$target_cpu,;t t
43950 s,@target_vendor@,$target_vendor,;t t
43951 s,@target_os@,$target_os,;t t
43953 s,@CFLAGS@,$CFLAGS,;t t
43954 s,@LDFLAGS@,$LDFLAGS,;t t
43955 s,@CPPFLAGS@,$CPPFLAGS,;t t
43956 s,@ac_ct_CC@,$ac_ct_CC,;t t
43957 s,@EXEEXT@,$EXEEXT,;t t
43958 s,@OBJEXT@,$OBJEXT,;t t
43960 s,@EGREP@,$EGREP,;t t
43962 s,@CXXFLAGS@,$CXXFLAGS,;t t
43963 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43964 s,@RANLIB@,$RANLIB,;t t
43965 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43967 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43968 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43969 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43970 s,@STRIP@,$STRIP,;t t
43971 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
43972 s,@LN_S@,$LN_S,;t t
43973 s,@CXXCPP@,$CXXCPP,;t t
43974 s,@subdirs@,$subdirs,;t t
43975 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
43976 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
43977 s,@GTK_LIBS@,$GTK_LIBS,;t t
43978 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
43979 s,@X_CFLAGS@,$X_CFLAGS,;t t
43980 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43981 s,@X_LIBS@,$X_LIBS,;t t
43982 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43983 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
43984 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
43985 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
43986 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
43987 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
43988 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
43989 s,@RESCOMP@,$RESCOMP,;t t
43990 s,@DEREZ@,$DEREZ,;t t
43991 s,@SETFILE@,$SETFILE,;t t
43992 s,@LIBICONV@,$LIBICONV,;t t
43993 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
43994 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
43995 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
43996 s,@SDL_LIBS@,$SDL_LIBS,;t t
43997 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
43998 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
43999 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
44000 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
44001 s,@GST_INSPECT@,$GST_INSPECT,;t t
44002 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
44003 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
44004 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
44005 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
44006 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
44007 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
44008 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
44009 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
44010 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
44011 s,@VENDOR@,$VENDOR,;t t
44012 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
44013 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
44014 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
44015 s,@WXUNIV@,$WXUNIV,;t t
44016 s,@MONOLITHIC@,$MONOLITHIC,;t t
44017 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
44018 s,@EXTRALIBS@,$EXTRALIBS,;t t
44019 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
44020 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
44021 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
44022 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
44023 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
44024 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
44025 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
44026 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
44027 s,@UNICODE@,$UNICODE,;t t
44028 s,@BUILD@,$BUILD,;t t
44029 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
44030 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
44031 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
44032 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
44033 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
44034 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
44035 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
44036 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
44037 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
44038 s,@SET_MAKE@,$SET_MAKE,;t t
44039 s,@MAKE_SET@,$MAKE_SET,;t t
44040 s,@ac_ct_AR@,$ac_ct_AR,;t t
44041 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
44043 s,@ac_ct_NM@,$ac_ct_NM,;t t
44044 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
44045 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
44046 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
44047 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
44048 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
44049 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
44050 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
44051 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
44052 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
44053 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
44054 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
44055 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
44056 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
44057 s,@LIBPREFIX@,$LIBPREFIX,;t t
44058 s,@LIBEXT@,$LIBEXT,;t t
44059 s,@DLLPREFIX@,$DLLPREFIX,;t t
44060 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
44061 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
44062 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
44063 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
44064 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
44065 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
44066 s,@PIC_FLAG@,$PIC_FLAG,;t t
44067 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
44068 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
44069 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
44070 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
44071 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
44072 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
44073 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
44074 s,@GCC_PCH@,$GCC_PCH,;t t
44075 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
44076 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
44077 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
44078 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
44079 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
44080 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
44081 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
44082 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
44083 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
44084 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
44085 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
44086 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
44087 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
44088 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
44089 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
44090 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
44091 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
44092 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
44093 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
44094 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
44095 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
44096 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
44097 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
44098 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
44099 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
44100 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
44101 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
44102 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
44103 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
44104 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
44105 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
44106 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
44107 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
44108 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
44109 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
44110 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
44111 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
44112 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
44113 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
44114 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
44115 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
44116 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
44117 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
44118 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
44119 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
44120 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
44121 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
44122 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
44123 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
44124 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
44125 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
44126 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
44127 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
44128 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
44129 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
44130 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
44131 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
44132 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
44133 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
44134 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
44135 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44136 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44137 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44138 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
44139 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
44140 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
44141 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
44142 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
44143 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
44144 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
44145 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
44146 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
44147 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
44148 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
44149 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
44150 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
44151 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
44152 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
44153 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
44154 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
44155 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
44156 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
44157 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
44158 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
44159 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
44160 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
44161 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
44162 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
44163 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
44164 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
44165 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
44166 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
44167 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
44168 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
44169 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
44170 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
44171 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
44172 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
44173 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
44174 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
44175 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
44176 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
44177 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
44178 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
44179 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
44180 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
44181 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
44182 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
44183 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
44184 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
44185 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
44186 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
44187 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
44188 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
44189 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
44190 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
44191 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
44192 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
44193 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
44194 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
44195 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
44196 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
44197 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
44198 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
44199 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
44200 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
44201 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
44202 s,@SHARED@,$SHARED,;t t
44203 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
44204 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
44205 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
44206 s,@USE_GUI@,$USE_GUI,;t t
44207 s,@AFMINSTALL@,$AFMINSTALL,;t t
44208 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
44209 s,@TOOLKIT@,$TOOLKIT,;t t
44210 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
44211 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
44212 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
44213 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
44214 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
44215 s,@cross_compiling@,$cross_compiling,;t t
44216 s,@WIDGET_SET@,$WIDGET_SET,;t t
44217 s,@WX_RELEASE@,$WX_RELEASE,;t t
44218 s,@WX_VERSION@,$WX_VERSION,;t t
44219 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
44220 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
44221 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
44222 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
44223 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
44224 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
44225 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
44226 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
44227 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
44228 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
44229 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
44230 s,@EXE_LINKER@,$EXE_LINKER,;t t
44231 s,@GUIDIST@,$GUIDIST,;t t
44232 s,@DISTDIR@,$DISTDIR,;t t
44233 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
44234 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
44235 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
44236 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
44237 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
44238 s,@RESFLAGS@,$RESFLAGS,;t t
44239 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
44240 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
44241 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
44242 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
44243 s,@MACRESCOMP@,$MACRESCOMP,;t t
44244 s,@MACSETFILE@,$MACSETFILE,;t t
44245 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
44247 s,@DLLTOOL@,$DLLTOOL,;t t
44248 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
44249 s,@LIBOBJS@,$LIBOBJS,;t t
44250 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
44255 cat >>$CONFIG_STATUS <<\_ACEOF
44256 # Split the substitutions into bite-sized pieces for seds with
44257 # small command number limits, like on Digital OSF/1 and HP-UX.
44258 ac_max_sed_lines
=48
44259 ac_sed_frag
=1 # Number of current file.
44260 ac_beg
=1 # First line for current file.
44261 ac_end
=$ac_max_sed_lines # Line after last line for current file.
44264 while $ac_more_lines; do
44265 if test $ac_beg -gt 1; then
44266 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44268 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
44270 if test ! -s $tmp/subs.frag
; then
44271 ac_more_lines
=false
44273 # The purpose of the label and of the branching condition is to
44274 # speed up the sed processing (if there are no `@' at all, there
44275 # is no need to browse any of the substitutions).
44276 # These are the two extra sed commands mentioned above.
44278 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
44279 if test -z "$ac_sed_cmds"; then
44280 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
44282 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
44284 ac_sed_frag
=`expr $ac_sed_frag + 1`
44286 ac_end
=`expr $ac_end + $ac_max_sed_lines`
44289 if test -z "$ac_sed_cmds"; then
44292 fi # test -n "$CONFIG_FILES"
44295 cat >>$CONFIG_STATUS <<\_ACEOF
44296 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
44297 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44299 - | *:- | *:-:* ) # input from stdin
44301 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44302 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44303 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44304 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44305 * ) ac_file_in
=$ac_file.
in ;;
44308 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
44309 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44310 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44311 X"$ac_file" : 'X\(//\)[^/]' \| \
44312 X"$ac_file" : 'X\(//\)$' \| \
44313 X"$ac_file" : 'X\(/\)' \| \
44314 . : '\(.\)' 2>/dev/null ||
44316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44317 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44318 /^X\(\/\/\)$/{ s//\1/; q; }
44319 /^X\(\/\).*/{ s//\1/; q; }
44321 { if $as_mkdir_p; then
44326 while test ! -d "$as_dir"; do
44327 as_dirs
="$as_dir $as_dirs"
44328 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44330 X"$as_dir" : 'X\(//\)[^/]' \| \
44331 X"$as_dir" : 'X\(//\)$' \| \
44332 X"$as_dir" : 'X\(/\)' \| \
44333 . : '\(.\)' 2>/dev/null ||
44335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44336 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44337 /^X\(\/\/\)$/{ s//\1/; q; }
44338 /^X\(\/\).*/{ s//\1/; q; }
44341 test ! -n "$as_dirs" || mkdir $as_dirs
44342 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44343 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44344 { (exit 1); exit 1; }; }; }
44348 if test "$ac_dir" != .
; then
44349 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44350 # A "../" for each directory in $ac_dir_suffix.
44351 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44353 ac_dir_suffix
= ac_top_builddir
=
44357 .
) # No --srcdir option. We are building in place.
44359 if test -z "$ac_top_builddir"; then
44362 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44364 [\\/]* | ?
:[\\/]* ) # Absolute path.
44365 ac_srcdir
=$srcdir$ac_dir_suffix;
44366 ac_top_srcdir
=$srcdir ;;
44367 *) # Relative path.
44368 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44369 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44372 # Do not use `cd foo && pwd` to compute absolute paths, because
44373 # the directories may not exist.
44375 .
) ac_abs_builddir
="$ac_dir";;
44378 .
) ac_abs_builddir
=`pwd`;;
44379 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44380 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44383 case $ac_abs_builddir in
44384 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44386 case ${ac_top_builddir}.
in
44387 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44388 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44389 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44392 case $ac_abs_builddir in
44393 .
) ac_abs_srcdir
=$ac_srcdir;;
44396 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44397 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44398 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44401 case $ac_abs_builddir in
44402 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44404 case $ac_top_srcdir in
44405 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44406 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44407 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44413 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
44414 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
44417 # Let's still pretend it is `configure' which instantiates (i.e., don't
44418 # use $as_me), people would be surprised to read:
44419 # /* config.h. Generated by config.status. */
44420 if test x
"$ac_file" = x
-; then
44423 configure_input
="$ac_file. "
44425 configure_input
=$configure_input"Generated from `echo $ac_file_in |
44426 sed 's,.*/,,'` by configure."
44428 # First look for the input files in the build tree, otherwise in the
44430 ac_file_inputs
=`IFS=:
44431 for f in $ac_file_in; do
44433 -) echo $tmp/stdin ;;
44435 # Absolute (can't be DOS-style, as IFS=:)
44436 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44437 echo "$as_me: error: cannot find input file: $f" >&2;}
44438 { (exit 1); exit 1; }; }
44441 if test -f "$f"; then
44444 elif test -f "$srcdir/$f"; then
44449 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44450 echo "$as_me: error: cannot find input file: $f" >&2;}
44451 { (exit 1); exit 1; }; }
44454 done` || { (exit 1); exit 1; }
44456 if test x
"$ac_file" != x
-; then
44457 { echo "$as_me:$LINENO: creating $ac_file" >&5
44458 echo "$as_me: creating $ac_file" >&6;}
44462 cat >>$CONFIG_STATUS <<_ACEOF
44466 cat >>$CONFIG_STATUS <<\_ACEOF
44468 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
44469 s
,@configure_input@
,$configure_input,;t t
44470 s
,@srcdir@
,$ac_srcdir,;t t
44471 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
44472 s
,@top_srcdir@
,$ac_top_srcdir,;t t
44473 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
44474 s
,@builddir@
,$ac_builddir,;t t
44475 s
,@abs_builddir@
,$ac_abs_builddir,;t t
44476 s
,@top_builddir@
,$ac_top_builddir,;t t
44477 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
44478 s
,@INSTALL@
,$ac_INSTALL,;t t
44479 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44481 if test x"$ac_file" != x-; then
44482 mv $tmp/out $ac_file
44488 # Run the commands associated with the file.
44490 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
44491 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
44495 cat >>$CONFIG_STATUS <<\_ACEOF
44498 # CONFIG_HEADER section.
44501 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
44502 # NAME is the cpp macro being defined and VALUE is the value it is being given.
44504 # ac_d sets the value in "#define NAME VALUE" lines.
44505 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44506 ac_dB
='[ ].*$,\1#\2'
44509 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44510 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44511 ac_uB
='$,\1#\2define\3'
44515 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
44516 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44518 - | *:- | *:-:* ) # input from stdin
44520 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44521 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44522 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44523 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
44524 * ) ac_file_in
=$ac_file.
in ;;
44527 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44528 echo "$as_me: creating $ac_file" >&6;}
44530 # First look for the input files in the build tree, otherwise in the
44532 ac_file_inputs
=`IFS=:
44533 for f in $ac_file_in; do
44535 -) echo $tmp/stdin ;;
44537 # Absolute (can't be DOS-style, as IFS=:)
44538 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44539 echo "$as_me: error: cannot find input file: $f" >&2;}
44540 { (exit 1); exit 1; }; }
44541 # Do quote $f, to prevent DOS paths from being IFS'd.
44544 if test -f "$f"; then
44547 elif test -f "$srcdir/$f"; then
44552 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44553 echo "$as_me: error: cannot find input file: $f" >&2;}
44554 { (exit 1); exit 1; }; }
44557 done` || { (exit 1); exit 1; }
44558 # Remove the trailing spaces.
44559 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44563 # Transform confdefs.h into two sed scripts, `conftest.defines' and
44564 # `conftest.undefs', that substitutes the proper values into
44565 # config.h.in to produce config.h. The first handles `#define'
44566 # templates, and the second `#undef' templates.
44567 # And first: Protect against being on the right side of a sed subst in
44568 # config.status. Protect against being in an unquoted here document
44569 # in config.status.
44570 rm -f conftest.defines conftest.undefs
44571 # Using a here document instead of a string reduces the quoting nightmare.
44572 # Putting comments in sed scripts is not portable.
44574 # `end' is used to avoid that the second main sed command (meant for
44575 # 0-ary CPP macros) applies to n-ary macro definitions.
44576 # See the Autoconf documentation for `clear'.
44577 cat >confdef2sed.
sed <<\_ACEOF
44582 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44584 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44587 # If some macros were called several times there might be several times
44588 # the same #defines, which is useless. Nevertheless, we may not want to
44589 # sort them, since we want the *last* AC-DEFINE to be honored.
44590 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44591 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44592 rm -f confdef2sed.sed
44594 # This sed command replaces #undef with comments. This is necessary, for
44595 # example, in the case of _POSIX_SOURCE, which is predefined and required
44596 # on some systems where configure will not decide to define it.
44597 cat >>conftest.undefs <<\_ACEOF
44598 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44601 # Break up conftest.defines because some shells have a limit on the size
44602 # of here documents, and old seds have small limits too (100 cmds).
44603 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44604 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44605 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44606 echo ' :' >>$CONFIG_STATUS
44607 rm -f conftest.tail
44608 while grep . conftest.defines >/dev/null
44610 # Write a limited-size here document to $tmp/defines.sed.
44611 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44612 # Speed up: don't consider the non `#define' lines.
44613 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44614 # Work around the forget-to-reset-the-flag bug.
44615 echo 't clr' >>$CONFIG_STATUS
44616 echo ': clr' >>$CONFIG_STATUS
44617 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
44619 sed -f $tmp/defines.sed $tmp/in >$tmp/out
44621 mv $tmp/out $tmp/in
44623 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
44624 rm -f conftest.defines
44625 mv conftest.
tail conftest.defines
44627 rm -f conftest.defines
44628 echo ' fi # grep' >>$CONFIG_STATUS
44629 echo >>$CONFIG_STATUS
44631 # Break up conftest.undefs because some shells have a limit on the size
44632 # of here documents, and old seds have small limits too (100 cmds).
44633 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44634 rm -f conftest.
tail
44635 while grep . conftest.undefs
>/dev
/null
44637 # Write a limited-size here document to $tmp/undefs.sed.
44638 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44639 # Speed up: don't consider the non
`#undef'
44640 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44641 # Work around the forget-to-reset-the-flag bug.
44642 echo 't clr' >>$CONFIG_STATUS
44643 echo ': clr' >>$CONFIG_STATUS
44644 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44646 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44648 mv $tmp/out $tmp/in
44650 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44651 rm -f conftest.undefs
44652 mv conftest.tail conftest.undefs
44654 rm -f conftest.undefs
44656 cat >>$CONFIG_STATUS <<\_ACEOF
44657 # Let's still pretend it is `configure
' which instantiates (i.e., don't
44658 # use $as_me), people would be surprised to read:
44659 # /* config.h. Generated by config.status. */
44660 if test x
"$ac_file" = x
-; then
44661 echo "/* Generated by configure. */" >$tmp/config.h
44663 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44665 cat $tmp/in >>$tmp/config.h
44667 if test x
"$ac_file" != x
-; then
44668 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
44669 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44670 echo "$as_me: $ac_file is unchanged" >&6;}
44672 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
44673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44674 X"$ac_file" : 'X\(//\)[^/]' \| \
44675 X"$ac_file" : 'X\(//\)$' \| \
44676 X"$ac_file" : 'X\(/\)' \| \
44677 . : '\(.\)' 2>/dev/null ||
44679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44681 /^X\(\/\/\)$/{ s//\1/; q; }
44682 /^X\(\/\).*/{ s//\1/; q; }
44684 { if $as_mkdir_p; then
44689 while test ! -d "$as_dir"; do
44690 as_dirs
="$as_dir $as_dirs"
44691 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44692 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44693 X"$as_dir" : 'X\(//\)[^/]' \| \
44694 X"$as_dir" : 'X\(//\)$' \| \
44695 X"$as_dir" : 'X\(/\)' \| \
44696 . : '\(.\)' 2>/dev/null ||
44698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44700 /^X\(\/\/\)$/{ s//\1/; q; }
44701 /^X\(\/\).*/{ s//\1/; q; }
44704 test ! -n "$as_dirs" || mkdir $as_dirs
44705 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44706 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44707 { (exit 1); exit 1; }; }; }
44710 mv $tmp/config.h
$ac_file
44714 rm -f $tmp/config.h
44718 cat >>$CONFIG_STATUS <<\_ACEOF
44721 # CONFIG_COMMANDS section.
44723 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
44724 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
44725 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
44726 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
44727 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44728 X"$ac_dest" : 'X\(//\)[^/]' \| \
44729 X"$ac_dest" : 'X\(//\)$' \| \
44730 X"$ac_dest" : 'X\(/\)' \| \
44731 . : '\(.\)' 2>/dev/null ||
44733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44735 /^X\(\/\/\)$/{ s//\1/; q; }
44736 /^X\(\/\).*/{ s//\1/; q; }
44738 { if $as_mkdir_p; then
44743 while test ! -d "$as_dir"; do
44744 as_dirs
="$as_dir $as_dirs"
44745 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44747 X"$as_dir" : 'X\(//\)[^/]' \| \
44748 X"$as_dir" : 'X\(//\)$' \| \
44749 X"$as_dir" : 'X\(/\)' \| \
44750 . : '\(.\)' 2>/dev/null ||
44752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44753 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44754 /^X\(\/\/\)$/{ s//\1/; q; }
44755 /^X\(\/\).*/{ s//\1/; q; }
44758 test ! -n "$as_dirs" || mkdir $as_dirs
44759 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44760 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44761 { (exit 1); exit 1; }; }; }
44765 if test "$ac_dir" != .
; then
44766 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44767 # A "../" for each directory in $ac_dir_suffix.
44768 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44770 ac_dir_suffix
= ac_top_builddir
=
44774 .
) # No --srcdir option. We are building in place.
44776 if test -z "$ac_top_builddir"; then
44779 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44781 [\\/]* | ?
:[\\/]* ) # Absolute path.
44782 ac_srcdir
=$srcdir$ac_dir_suffix;
44783 ac_top_srcdir
=$srcdir ;;
44784 *) # Relative path.
44785 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44786 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44789 # Do not use `cd foo && pwd` to compute absolute paths, because
44790 # the directories may not exist.
44792 .
) ac_abs_builddir
="$ac_dir";;
44795 .
) ac_abs_builddir
=`pwd`;;
44796 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44797 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44800 case $ac_abs_builddir in
44801 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44803 case ${ac_top_builddir}.
in
44804 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44805 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44806 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44809 case $ac_abs_builddir in
44810 .
) ac_abs_srcdir
=$ac_srcdir;;
44813 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44814 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44815 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44818 case $ac_abs_builddir in
44819 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44821 case $ac_top_srcdir in
44822 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
44823 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
44824 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
44829 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
44830 echo "$as_me: executing $ac_dest commands" >&6;}
44832 wx
-config ) rm -f wx
-config
44833 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
44839 cat >>$CONFIG_STATUS <<\_ACEOF
44841 { (exit 0); exit 0; }
44843 chmod +x
$CONFIG_STATUS
44844 ac_clean_files
=$ac_clean_files_save
44847 # configure is writing to config.log, and then calls config.status.
44848 # config.status does its own redirection, appending to config.log.
44849 # Unfortunately, on DOS this fails, as config.log is still kept open
44850 # by configure, so config.status won't be able to write to it; its
44851 # output is simply discarded. So we exec the FD to /dev/null,
44852 # effectively closing config.log, so it can be properly (re)opened and
44853 # appended to by config.status. When coming back to configure, we
44854 # need to make the FD available again.
44855 if test "$no_create" != yes; then
44857 ac_config_status_args
=
44858 test "$silent" = yes &&
44859 ac_config_status_args
="$ac_config_status_args --quiet"
44861 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
44863 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
44864 # would make configure fail if this is the last instruction.
44865 $ac_cs_success || { (exit 1); exit 1; }
44869 # CONFIG_SUBDIRS section.
44871 if test "$no_recursion" != yes; then
44873 # Remove --cache-file and --srcdir arguments so they do not pile up.
44874 ac_sub_configure_args
=
44876 for ac_arg
in $ac_configure_args; do
44877 if test -n "$ac_prev"; then
44882 -cache-file | --cache-file | --cache-fil | --cache-fi \
44883 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
44884 ac_prev
=cache_file
;;
44885 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
44886 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
44889 --config-cache | -C)
44891 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
44893 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
44895 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
44897 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
44899 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
44903 # Always prepend --prefix to ensure using the same prefix
44904 # in subdir configurations.
44905 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
44908 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
44910 # Do not complain, so a configure script can configure whichever
44911 # parts of a large source tree are present.
44912 test -d $srcdir/$ac_dir || continue
44914 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
44915 echo "$as_me: configuring in $ac_dir" >&6;}
44916 { if $as_mkdir_p; then
44921 while test ! -d "$as_dir"; do
44922 as_dirs
="$as_dir $as_dirs"
44923 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
44924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44925 X"$as_dir" : 'X\(//\)[^/]' \| \
44926 X"$as_dir" : 'X\(//\)$' \| \
44927 X"$as_dir" : 'X\(/\)' \| \
44928 . : '\(.\)' 2>/dev/null ||
44930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44932 /^X\(\/\/\)$/{ s//\1/; q; }
44933 /^X\(\/\).*/{ s//\1/; q; }
44936 test ! -n "$as_dirs" || mkdir $as_dirs
44937 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44938 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44939 { (exit 1); exit 1; }; }; }
44943 if test "$ac_dir" != .
; then
44944 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
44945 # A "../" for each directory in $ac_dir_suffix.
44946 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44948 ac_dir_suffix
= ac_top_builddir
=
44952 .
) # No --srcdir option. We are building in place.
44954 if test -z "$ac_top_builddir"; then
44957 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
44959 [\\/]* | ?
:[\\/]* ) # Absolute path.
44960 ac_srcdir
=$srcdir$ac_dir_suffix;
44961 ac_top_srcdir
=$srcdir ;;
44962 *) # Relative path.
44963 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
44964 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
44967 # Do not use `cd foo && pwd` to compute absolute paths, because
44968 # the directories may not exist.
44970 .
) ac_abs_builddir
="$ac_dir";;
44973 .
) ac_abs_builddir
=`pwd`;;
44974 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
44975 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
44978 case $ac_abs_builddir in
44979 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44981 case ${ac_top_builddir}.
in
44982 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
44983 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
44984 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
44987 case $ac_abs_builddir in
44988 .
) ac_abs_srcdir
=$ac_srcdir;;
44991 .
) ac_abs_srcdir
=$ac_abs_builddir;;
44992 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
44993 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
44996 case $ac_abs_builddir in
44997 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
44999 case $ac_top_srcdir in
45000 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45001 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45002 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45009 # Check for guested configure; otherwise get Cygnus style configure.
45010 if test -f $ac_srcdir/configure.gnu
; then
45011 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
45012 elif test -f $ac_srcdir/configure
; then
45013 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
45014 elif test -f $ac_srcdir/configure.
in; then
45015 ac_sub_configure
=$ac_configure
45017 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
45018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
45022 # The recursion is here.
45023 if test -n "$ac_sub_configure"; then
45024 # Make the cache file name correct relative to the subdirectory.
45025 case $cache_file in
45026 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
45027 *) # Relative path.
45028 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
45031 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
45032 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
45033 # The eval makes quoting arguments work.
45034 eval $ac_sub_configure $ac_sub_configure_args \
45035 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
45036 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
45037 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
45038 { (exit 1); exit 1; }; }
45047 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
45049 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
45050 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
45052 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
45053 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
45054 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
45056 echo " What level of wxWidgets compatibility should be enabled?"
45057 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
45058 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
45060 echo " Which libraries should wxWidgets use?"
45061 echo " jpeg ${wxUSE_LIBJPEG-none}"
45062 echo " png ${wxUSE_LIBPNG-none}"
45063 echo " regex ${wxUSE_REGEX}"
45064 echo " tiff ${wxUSE_LIBTIFF-none}"
45065 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
45066 echo " xpm ${wxUSE_LIBXPM-none}"
45068 echo " zlib ${wxUSE_ZLIB}"
45069 echo " odbc ${wxUSE_ODBC}"
45070 echo " expat ${wxUSE_EXPAT}"
45071 echo " libmspack ${wxUSE_LIBMSPACK}"
45072 echo " sdl ${wxUSE_LIBSDL}"
45073 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"