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.3.
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.3'
274 PACKAGE_STRING
='wxWidgets 2.5.3'
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 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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_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.3 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.3:";;
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-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
907 --enable-backtrace use wxStackWalker class
for getting backtraces
908 --enable-cmdline use wxCmdLineParser class
909 --enable-datetime use wxDateTime class
910 --enable-dialupman use dialup network classes
911 --enable-dynlib use wxLibrary class
for DLL loading
912 --enable-dynamicloader use
(new
) wxDynamicLibrary class
913 --enable-exceptions build exception
-safe library
914 --enable-ffile use wxFFile class
915 --enable-file use wxFile class
916 --enable-filesystem use virtual
file systems classes
917 --enable-fontmap use font encodings conversion classes
918 --enable-fs_inet use virtual HTTP
/FTP filesystems
919 --enable-fs_zip use virtual ZIP filesystems
920 --enable-geometry use geometry class
921 --enable-log use logging system
922 --enable-longlong use wxLongLong class
923 --enable-mimetype use wxMimeTypesManager
924 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
925 --enable-snglinst use wxSingleInstanceChecker class
926 --enable-streams use wxStream etc classes
927 --enable-std_iostreams use standard C
++ stream classes
928 --enable-stopwatch use wxStopWatch class
929 --enable-sysoptions use wxSystemOptions
930 --enable-textbuf use wxTextBuffer class
931 --enable-textfile use wxTextFile class
932 --enable-timer use wxTimer class
933 --enable-unicode compile wxString with Unicode support
934 --enable-sound use wxSound class
935 --enable-mediactrl use wxMediaCtrl class
936 --enable-wxprintfv use wxWidgets implementation of vprintf
()
937 --enable-zipstream use wxZipInputStream
938 --enable-url use wxURL class
939 --enable-protocol use wxProtocol class
940 --enable-protocol-http HTTP support
in wxProtocol
941 --enable-protocol-ftp FTP support
in wxProtocol
942 --enable-protocol-file FILE support
in wxProtocol
943 --enable-threads use threads
944 --enable-docview use document view architecture
945 --enable-help use
help subsystem
946 --enable-mshtmlhelp use MS HTML Help
(win32
)
947 --enable-html use wxHTML sub
-library
948 --enable-htmlhelp use wxHTML
-based help
949 --enable-xrc use XRC resources sub
-library
950 --enable-constraints use layout
-constraints system
951 --enable-printarch use printing architecture
952 --enable-mdi use multiple document interface architecture
953 --enable-mdidoc use docview architecture with MDI
954 --enable-loggui use standard GUI logger
955 --enable-logwin use wxLogWindow
956 --enable-logdialog use wxLogDialog
957 --enable-webkit use wxWebKitCtrl
(Mac
)
958 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
959 --enable-prologio not available
; see contrib
960 --enable-resources not available
; see contrib
961 --enable-clipboard use wxClipboard class
962 --enable-dnd use Drag
'n'Drop classes
963 --enable-metafile use win32 metafiles
964 --enable-controls use all usual controls
965 --enable-accel use accelerators
966 --enable-button use wxButton class
967 --enable-bmpbutton use wxBitmapButton class
968 --enable-calendar use wxCalendarCtrl class
969 --enable-caret use wxCaret class
970 --enable-checkbox use wxCheckBox class
971 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
972 --enable-choice use wxChoice class
973 --enable-choicebook use wxChoicebook class
974 --enable-combobox use wxComboBox class
975 --enable-display use wxDisplay class
976 --enable-gauge use wxGauge class
977 --enable-grid use wxGrid class
978 --enable-imaglist use wxImageList class
979 --enable-listbook use wxListbook class
980 --enable-listbox use wxListBox class
981 --enable-listctrl use wxListCtrl class
982 --enable-notebook use wxNotebook class
983 --enable-radiobox use wxRadioBox class
984 --enable-radiobtn use wxRadioButton class
985 --enable-sash use wxSashWindow class
986 --enable-scrollbar use wxScrollBar class and scrollable windows
987 --enable-slider use wxSlider class
988 --enable-spinbtn use wxSpinButton class
989 --enable-spinctrl use wxSpinCtrl class
990 --enable-splitter use wxSplitterWindow class
991 --enable-statbmp use wxStaticBitmap class
992 --enable-statbox use wxStaticBox class
993 --enable-statline use wxStaticLine class
994 --enable-stattext use wxStaticText class
995 --enable-statusbar use wxStatusBar class
996 --enable-tabdialog use wxTabControl class
997 --enable-textctrl use wxTextCtrl class
998 --enable-togglebtn use wxToggleButton class
999 --enable-toolbar use wxToolBar class
1000 --enable-tbarnative use native wxToolBar class
1001 --enable-tbarsmpl use wxToolBarSimple class
1002 --enable-treectrl use wxTreeCtrl class
1003 --enable-tipwindow use wxTipWindow class
1004 --enable-popupwin use wxPopUpWindow class
1005 --enable-commondlg use all common dialogs
1006 --enable-choicedlg use wxChoiceDialog
1007 --enable-coldlg use wxColourDialog
1008 --enable-filedlg use wxFileDialog
1009 --enable-finddlg use wxFindReplaceDialog
1010 --enable-fontdlg use wxFontDialog
1011 --enable-dirdlg use wxDirDialog
1012 --enable-msgdlg use wxMessageDialog
1013 --enable-numberdlg use wxNumberEntryDialog
1014 --enable-splash use wxSplashScreen
1015 --enable-textdlg use wxTextDialog
1016 --enable-tipdlg use startup tips
1017 --enable-progressdlg use wxProgressDialog
1018 --enable-wizarddlg use wxWizard
1019 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1020 --enable-miniframe use wxMiniFrame class
1021 --enable-tooltips use wxToolTip class
1022 --enable-splines use spline drawing code
1023 --enable-validators use wxValidator and derived classes
1024 --enable-busyinfo use wxBusyInfo
1025 --enable-joystick use wxJoystick
(Linux only
)
1026 --enable-metafiles use wxMetaFile
(Windows only
)
1027 --enable-dragimage use wxDragImage
1028 --enable-accessibility enable accessibility support
1029 --enable-palette use wxPalette class
1030 --enable-image use wxImage class
1031 --enable-gif use gif images
(GIF
file format
)
1032 --enable-pcx use pcx images
(PCX
file format
)
1033 --enable-iff use iff images
(IFF
file format
)
1034 --enable-pnm use pnm images
(PNM
file format
)
1035 --enable-xpm use xpm images
(XPM
file format
)
1036 --enable-icocur use Windows ICO and CUR formats
1037 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1038 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1039 --disable-largefile omit support
for large files
1040 --disable-gtktest do not try to compile and run a
test GTK
+ program
1041 --disable-gtktest Do not try to compile and run a
test GTK program
1042 --disable-sdltest Do not try to compile and run a
test SDL program
1043 --enable-omf use OMF object format
(OS
/2)
1044 --disable-precomp-headers
1045 don
't use precompiled headers even if compiler can
1048 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1049 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1051 --with-motif use Motif/Lesstif
1052 --with-mac use Mac OS X
1053 --with-cocoa use Cocoa
1054 --with-wine use Wine
1055 --with-msw use MS-Windows
1056 --with-pm use OS/2 Presentation Manager
1057 --with-mgl use SciTech MGL
1058 --with-microwin use MicroWindows
1060 --with-libpng use libpng (PNG image format)
1061 --with-libjpeg use libjpeg (JPEG file format)
1062 --with-libtiff use libtiff (TIFF file format)
1063 --with-libxpm use libxpm (XPM file format)
1064 --with-libmspack use libmspack (CHM help files loading)
1065 --with-sdl use SDL for audio on Unix
1066 --with-gnomeprint use GNOME print for printing under Unix
1067 --with-opengl use OpenGL (or Mesa)
1068 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1069 --with-regex enable support for wxRegEx class
1070 --with-zlib use zlib for LZW compression
1071 --with-odbc use the IODBC and wxODBC classes
1072 --with-expat enable XML support using expat parser
1073 --with-flavour=NAME specify a name to identify this build
1074 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1075 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1076 --with-x use the X Window System
1077 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1078 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1079 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1080 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1081 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1083 Some influential environment variables:
1084 CC C compiler command
1085 CFLAGS C compiler flags
1086 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1087 nonstandard directory <lib dir>
1088 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1089 headers in a nonstandard directory <include dir>
1091 CXX C++ compiler command
1092 CXXFLAGS C++ compiler flags
1093 CXXCPP C++ preprocessor
1095 Use these variables to override the choices made by `configure' or to
help
1096 it to
find libraries and programs with nonstandard names
/locations.
1098 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1105 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1106 test -d $ac_dir || continue
1109 if test "$ac_dir" != .
; then
1110 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 ac_dir_suffix
= ac_top_builddir
=
1118 .
) # No --srcdir option. We are building in place.
1120 if test -z "$ac_top_builddir"; then
1123 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1125 [\\/]* | ?
:[\\/]* ) # Absolute path.
1126 ac_srcdir
=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir
=$srcdir ;;
1129 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1136 .
) ac_abs_builddir
="$ac_dir";;
1139 .
) ac_abs_builddir
=`pwd`;;
1140 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1141 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1144 case $ac_abs_builddir in
1145 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1147 case ${ac_top_builddir}.
in
1148 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1149 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1150 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1153 case $ac_abs_builddir in
1154 .
) ac_abs_srcdir
=$ac_srcdir;;
1157 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1158 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1159 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1162 case $ac_abs_builddir in
1163 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1165 case $ac_top_srcdir in
1166 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1167 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu
; then
1176 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1177 elif test -f $ac_srcdir/configure
; then
1179 $SHELL $ac_srcdir/configure
--help=recursive
1180 elif test -f $ac_srcdir/configure.ac
||
1181 test -f $ac_srcdir/configure.
in; then
1183 $ac_configure --help
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1194 wxWidgets configure
2.5.3
1195 generated by GNU Autoconf
2.59
1197 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1198 This configure
script is free software
; the Free Software Foundation
1199 gives unlimited permission to copy
, distribute and modify it.
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1208 It was created by wxWidgets $as_me 2.5.3, which was
1209 generated by GNU Autoconf 2.59. Invocation command line was
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1243 test -z "$as_dir" && as_dir
=.
1244 echo "PATH: $as_dir"
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1268 ac_must_keep_next
=false
1274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1282 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1284 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1285 if test $ac_must_keep_next = true
; then
1286 ac_must_keep_next
=false
# Got value, back to normal.
1289 *=* | --config-cache | -C | -disable-* | --disable-* \
1290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292 | -with-* | --with-* | -without-* | --without-* | --x)
1293 case "$ac_configure_args0 " in
1294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1297 -* ) ac_must_keep_next
=true
;;
1300 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1301 # Get rid of the leading space.
1307 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1308 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log. We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316 # Save into config.log some information that might help in debugging.
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1326 # The following way of writing the cache mishandles newlines in values,
1329 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1332 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1349 for ac_var in $ac_subst_vars
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1356 if test -n "$ac_subst_files"; then
1363 for ac_var in $ac_subst_files
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1371 if test -s confdefs.h; then
1378 sed "/^$/d" confdefs.h | sort
1381 test "$ac_signal" != 0 &&
1382 echo "$as_me: caught signal $ac_signal"
1383 echo "$as_me: exit $exit_status"
1385 rm -f core *.core &&
1386 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1389 for ac_signal
in 1 2 13 15; do
1390 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest
* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1399 # Predefined preprocessor variables.
1401 cat >>confdefs.h
<<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1406 cat >>confdefs.h
<<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1411 cat >>confdefs.h
<<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1416 cat >>confdefs.h
<<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1421 cat >>confdefs.h
<<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429 if test "x$prefix" != xNONE
; then
1430 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1432 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1435 for ac_site_file
in $CONFIG_SITE; do
1436 if test -r "$ac_site_file"; then
1437 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439 sed 's/^/| /' "$ac_site_file" >&5
1444 if test -r "$cache_file"; then
1445 # Some versions of bash will fail to source /dev/null (special
1446 # files actually), so we avoid doing that.
1447 if test -f "$cache_file"; then
1448 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1451 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1452 *) . .
/$cache_file;;
1456 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1461 # Check that the precious variables saved in the cache have kept the same
1463 ac_cache_corrupted
=false
1464 for ac_var
in `(set) 2>&1 |
1465 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1467 eval ac_new_set
=\
$ac_env_${ac_var}_set
1468 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1469 eval ac_new_val
="\$ac_env_${ac_var}_value"
1470 case $ac_old_set,$ac_new_set in
1472 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474 ac_cache_corrupted
=: ;;
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478 ac_cache_corrupted
=: ;;
1481 if test "x$ac_old_val" != "x$ac_new_val"; then
1482 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1483 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1484 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1485 echo "$as_me: former value: $ac_old_val" >&2;}
1486 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1487 echo "$as_me: current value: $ac_new_val" >&2;}
1488 ac_cache_corrupted
=:
1491 # Pass precious variables to config.status.
1492 if test "$ac_new_set" = set; then
1494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1495 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 *) ac_arg
=$ac_var=$ac_new_val ;;
1498 case " $ac_configure_args " in
1499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1500 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1504 if $ac_cache_corrupted; then
1505 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1507 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1509 { (exit 1); exit 1; }; }
1513 ac_cpp
='$CPP $CPPFLAGS'
1514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1548 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1549 if test -f $ac_dir/install-sh; then
1551 ac_install_sh
="$ac_aux_dir/install-sh -c"
1553 elif test -f $ac_dir/install.sh
; then
1555 ac_install_sh
="$ac_aux_dir/install.sh -c"
1557 elif test -f $ac_dir/shtool
; then
1559 ac_install_sh
="$ac_aux_dir/shtool install -c"
1563 if test -z "$ac_aux_dir"; then
1564 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1565 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1566 { (exit 1); exit 1; }; }
1568 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1569 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1570 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1572 # Make sure we can run config.sub.
1573 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1574 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1575 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1576 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: checking build system type" >&5
1579 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1580 if test "${ac_cv_build+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 ac_cv_build_alias
=$build_alias
1584 test -z "$ac_cv_build_alias" &&
1585 ac_cv_build_alias
=`$ac_config_guess`
1586 test -z "$ac_cv_build_alias" &&
1587 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1588 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1589 { (exit 1); exit 1; }; }
1590 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1597 echo "${ECHO_T}$ac_cv_build" >&6
1599 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604 echo "$as_me:$LINENO: checking host system type" >&5
1605 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1606 if test "${ac_cv_host+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 ac_cv_host_alias
=$host_alias
1610 test -z "$ac_cv_host_alias" &&
1611 ac_cv_host_alias
=$ac_cv_build_alias
1612 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1613 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1614 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1615 { (exit 1); exit 1; }; }
1618 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1619 echo "${ECHO_T}$ac_cv_host" >&6
1621 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1622 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1623 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1626 echo "$as_me:$LINENO: checking target system type" >&5
1627 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1628 if test "${ac_cv_target+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 ac_cv_target_alias
=$target_alias
1632 test "x$ac_cv_target_alias" = "x" &&
1633 ac_cv_target_alias
=$ac_cv_host_alias
1634 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1635 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1636 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1637 { (exit 1); exit 1; }; }
1640 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1641 echo "${ECHO_T}$ac_cv_target" >&6
1642 target
=$ac_cv_target
1643 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1644 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1645 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1648 # The aliases save the names the user supplied, while $host etc.
1649 # will get canonicalized.
1650 test -n "$target_alias" &&
1651 test "$program_prefix$program_suffix$program_transform_name" = \
1653 program_prefix
=${target_alias}-
1657 wx_major_version_number
=2
1658 wx_minor_version_number
=5
1660 wx_subrelease_number
=3
1662 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1663 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1664 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1666 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1682 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1688 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1694 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1696 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1698 DEFAULT_wxUSE_COCOA
=0
1702 DEFAULT_wxUSE_MICROWIN
=0
1703 DEFAULT_wxUSE_MOTIF
=0
1708 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1709 DEFAULT_DEFAULT_wxUSE_GTK
=0
1710 DEFAULT_DEFAULT_wxUSE_MAC
=0
1711 DEFAULT_DEFAULT_wxUSE_MGL
=0
1712 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1713 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1714 DEFAULT_DEFAULT_wxUSE_MSW
=0
1715 DEFAULT_DEFAULT_wxUSE_PM
=0
1716 DEFAULT_DEFAULT_wxUSE_X11
=0
1721 SAMPLES_RPATH_POSTLINK
=
1726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1727 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1729 cat >>confdefs.h
<<\_ACEOF
1736 cat >>confdefs.h
<<\_ACEOF
1741 if test "x$TMP" = "xalpha"; then
1743 cat >>confdefs.h
<<\_ACEOF
1748 DEFAULT_DEFAULT_wxUSE_GTK
=1
1750 *-*-gnu* | *-*-k*bsd
*-gnu )
1753 if test "x$TMP" = "xalpha"; then
1755 cat >>confdefs.h
<<\_ACEOF
1760 DEFAULT_DEFAULT_wxUSE_GTK
=1
1762 *-*-irix5* | *-*-irix6* )
1765 cat >>confdefs.h
<<\_ACEOF
1769 cat >>confdefs.h
<<\_ACEOF
1773 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1779 cat >>confdefs.h
<<\_ACEOF
1783 cat >>confdefs.h
<<\_ACEOF
1784 #define __SOLARIS__ 1
1787 cat >>confdefs.h
<<\_ACEOF
1791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1792 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1798 cat >>confdefs.h
<<\_ACEOF
1802 cat >>confdefs.h
<<\_ACEOF
1806 cat >>confdefs.h
<<\_ACEOF
1810 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1815 cat >>confdefs.h
<<\_ACEOF
1816 #define __FREEBSD__ 1
1819 cat >>confdefs.h
<<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_GTK
=1
1828 cat >>confdefs.h
<<\_ACEOF
1829 #define __OPENBSD__ 1
1832 cat >>confdefs.h
<<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_GTK
=1
1841 cat >>confdefs.h
<<\_ACEOF
1842 #define __NETBSD__ 1
1845 cat >>confdefs.h
<<\_ACEOF
1849 DEFAULT_DEFAULT_wxUSE_GTK
=1
1854 cat >>confdefs.h
<<\_ACEOF
1858 cat >>confdefs.h
<<\_ACEOF
1862 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1863 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1868 cat >>confdefs.h
<<\_ACEOF
1872 cat >>confdefs.h
<<\_ACEOF
1876 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1881 cat >>confdefs.h
<<\_ACEOF
1885 cat >>confdefs.h
<<\_ACEOF
1889 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1896 cat >>confdefs.h
<<\_ACEOF
1900 cat >>confdefs.h
<<\_ACEOF
1904 cat >>confdefs.h
<<\_ACEOF
1908 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1915 cat >>confdefs.h
<<\_ACEOF
1916 #define __UNIXWARE__ 1
1921 *-*-cygwin* | *-*-mingw32* )
1925 DEFAULT_DEFAULT_wxUSE_MSW
=1
1931 cat >>confdefs.h
<<\_ACEOF
1936 DEFAULT_DEFAULT_wxUSE_MGL
=1
1937 LIBS
="$LIBS -lstdc++"
1940 *-pc-os2_emx | *-pc-os2-emx )
1941 cat >>confdefs.h
<<\_ACEOF
1946 cat >>confdefs.h
<<\_ACEOF
1951 DEFAULT_DEFAULT_wxUSE_PM
=1
1953 LDFLAGS
="$LDFLAGS -Zcrtdll"
1954 ac_executable_extensions
=".exe"
1955 export ac_executable_extensions
1959 for ac_dir
in $PATH; do
1961 if test -z "$ac_TEMP_PATH"; then
1962 ac_TEMP_PATH
="$ac_dir"
1964 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1967 export PATH
="$ac_TEMP_PATH"
1975 cat >>confdefs.h
<<\_ACEOF
1979 cat >>confdefs.h
<<\_ACEOF
1980 #define __DARWIN__ 1
1983 cat >>confdefs.h
<<\_ACEOF
1984 #define __POWERPC__ 1
1987 cat >>confdefs.h
<<\_ACEOF
1988 #define TARGET_CARBON 1
1991 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 powerpc
-apple-macos* )
1995 ac_cv_c_bigendian
=yes
1997 DEFAULT_DEFAULT_wxUSE_MAC
=1
2002 cat >>confdefs.h
<<\_ACEOF
2009 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2010 echo "$as_me: error: unknown system type ${host}." >&2;}
2011 { (exit 1); exit 1; }; }
2017 wx_arg_cache_file
="configarg.cache"
2018 echo "loading argument cache $wx_arg_cache_file"
2019 rm -f ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}.tmp
2021 touch ${wx_arg_cache_file}
2025 if test $DEBUG_CONFIGURE = 1; then
2026 DEFAULT_wxUSE_UNIVERSAL
=no
2027 DEFAULT_wxUSE_STL
=no
2029 DEFAULT_wxUSE_NANOX
=no
2031 DEFAULT_wxUSE_THREADS
=yes
2033 DEFAULT_wxUSE_SHARED
=yes
2034 DEFAULT_wxUSE_OPTIMISE
=no
2035 DEFAULT_wxUSE_PROFILE
=no
2036 DEFAULT_wxUSE_NO_DEPS
=no
2037 DEFAULT_wxUSE_NO_RTTI
=no
2038 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2039 DEFAULT_wxUSE_RPATH
=yes
2040 DEFAULT_wxUSE_PERMISSIVE
=no
2041 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2042 DEFAULT_wxUSE_DEBUG_INFO
=yes
2043 DEFAULT_wxUSE_DEBUG_GDB
=yes
2044 DEFAULT_wxUSE_MEM_TRACING
=no
2045 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2046 DEFAULT_wxUSE_DMALLOC
=no
2047 DEFAULT_wxUSE_APPLE_IEEE
=no
2049 DEFAULT_wxUSE_EXCEPTIONS
=no
2050 DEFAULT_wxUSE_LOG
=yes
2051 DEFAULT_wxUSE_LOGWINDOW
=no
2052 DEFAULT_wxUSE_LOGGUI
=no
2053 DEFAULT_wxUSE_LOGDIALOG
=no
2055 DEFAULT_wxUSE_GUI
=yes
2056 DEFAULT_wxUSE_CONTROLS
=no
2058 DEFAULT_wxUSE_REGEX
=no
2059 DEFAULT_wxUSE_XML
=no
2060 DEFAULT_wxUSE_EXPAT
=no
2061 DEFAULT_wxUSE_ZLIB
=no
2062 DEFAULT_wxUSE_LIBPNG
=no
2063 DEFAULT_wxUSE_LIBJPEG
=no
2064 DEFAULT_wxUSE_LIBTIFF
=no
2065 DEFAULT_wxUSE_LIBXPM
=no
2066 DEFAULT_wxUSE_LIBMSPACK
=no
2067 DEFAULT_wxUSE_LIBSDL
=no
2068 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2069 DEFAULT_wxUSE_ODBC
=no
2070 DEFAULT_wxUSE_OPENGL
=no
2072 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2073 DEFAULT_wxUSE_STACKWALKER
=no
2074 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2075 DEFAULT_wxUSE_STD_IOSTREAM
=no
2076 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2077 DEFAULT_wxUSE_DATETIME
=no
2078 DEFAULT_wxUSE_TIMER
=no
2079 DEFAULT_wxUSE_STOPWATCH
=no
2080 DEFAULT_wxUSE_FILE
=no
2081 DEFAULT_wxUSE_FFILE
=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_ZIPSTREAM
=no
2157 DEFAULT_wxUSE_VALIDATORS
=no
2159 DEFAULT_wxUSE_ACCEL
=no
2160 DEFAULT_wxUSE_BUTTON
=no
2161 DEFAULT_wxUSE_BMPBUTTON
=no
2162 DEFAULT_wxUSE_CALCTRL
=no
2163 DEFAULT_wxUSE_CARET
=no
2164 DEFAULT_wxUSE_CHECKBOX
=no
2165 DEFAULT_wxUSE_CHECKLST
=no
2166 DEFAULT_wxUSE_CHOICE
=no
2167 DEFAULT_wxUSE_CHOICEBOOK
=no
2168 DEFAULT_wxUSE_COMBOBOX
=no
2169 DEFAULT_wxUSE_DISPLAY
=no
2170 DEFAULT_wxUSE_GAUGE
=no
2171 DEFAULT_wxUSE_GRID
=no
2172 DEFAULT_wxUSE_IMAGLIST
=no
2173 DEFAULT_wxUSE_LISTBOOK
=no
2174 DEFAULT_wxUSE_LISTBOX
=no
2175 DEFAULT_wxUSE_LISTCTRL
=no
2176 DEFAULT_wxUSE_NOTEBOOK
=no
2177 DEFAULT_wxUSE_RADIOBOX
=no
2178 DEFAULT_wxUSE_RADIOBTN
=no
2179 DEFAULT_wxUSE_SASH
=no
2180 DEFAULT_wxUSE_SCROLLBAR
=no
2181 DEFAULT_wxUSE_SLIDER
=no
2182 DEFAULT_wxUSE_SPINBTN
=no
2183 DEFAULT_wxUSE_SPINCTRL
=no
2184 DEFAULT_wxUSE_SPLITTER
=no
2185 DEFAULT_wxUSE_STATBMP
=no
2186 DEFAULT_wxUSE_STATBOX
=no
2187 DEFAULT_wxUSE_STATLINE
=no
2188 DEFAULT_wxUSE_STATTEXT
=no
2189 DEFAULT_wxUSE_STATUSBAR
=yes
2190 DEFAULT_wxUSE_TABDIALOG
=no
2191 DEFAULT_wxUSE_TEXTCTRL
=no
2192 DEFAULT_wxUSE_TOGGLEBTN
=no
2193 DEFAULT_wxUSE_TOOLBAR
=no
2194 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2195 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2196 DEFAULT_wxUSE_TREECTRL
=no
2197 DEFAULT_wxUSE_POPUPWIN
=no
2198 DEFAULT_wxUSE_TIPWINDOW
=no
2200 DEFAULT_wxUSE_UNICODE
=no
2201 DEFAULT_wxUSE_UNICODE_MSLU
=no
2202 DEFAULT_wxUSE_WCSRTOMBS
=no
2204 DEFAULT_wxUSE_PALETTE
=no
2205 DEFAULT_wxUSE_IMAGE
=no
2206 DEFAULT_wxUSE_GIF
=no
2207 DEFAULT_wxUSE_PCX
=no
2208 DEFAULT_wxUSE_PNM
=no
2209 DEFAULT_wxUSE_IFF
=no
2210 DEFAULT_wxUSE_XPM
=no
2211 DEFAULT_wxUSE_ICO_CUR
=no
2212 DEFAULT_wxUSE_ACCESSIBILITY
=no
2214 DEFAULT_wxUSE_MONOLITHIC
=no
2215 DEFAULT_wxUSE_PLUGINS
=no
2216 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2218 DEFAULT_wxUSE_UNIVERSAL
=no
2219 DEFAULT_wxUSE_STL
=no
2221 DEFAULT_wxUSE_NANOX
=no
2223 DEFAULT_wxUSE_THREADS
=yes
2225 DEFAULT_wxUSE_SHARED
=yes
2226 DEFAULT_wxUSE_OPTIMISE
=yes
2227 DEFAULT_wxUSE_PROFILE
=no
2228 DEFAULT_wxUSE_NO_DEPS
=no
2229 DEFAULT_wxUSE_NO_RTTI
=no
2230 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2231 DEFAULT_wxUSE_RPATH
=yes
2232 DEFAULT_wxUSE_PERMISSIVE
=no
2233 DEFAULT_wxUSE_DEBUG_FLAG
=no
2234 DEFAULT_wxUSE_DEBUG_INFO
=no
2235 DEFAULT_wxUSE_DEBUG_GDB
=no
2236 DEFAULT_wxUSE_MEM_TRACING
=no
2237 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2238 DEFAULT_wxUSE_DMALLOC
=no
2239 DEFAULT_wxUSE_APPLE_IEEE
=yes
2241 DEFAULT_wxUSE_EXCEPTIONS
=yes
2242 DEFAULT_wxUSE_LOG
=yes
2243 DEFAULT_wxUSE_LOGWINDOW
=yes
2244 DEFAULT_wxUSE_LOGGUI
=yes
2245 DEFAULT_wxUSE_LOGDIALOG
=yes
2247 DEFAULT_wxUSE_GUI
=yes
2249 DEFAULT_wxUSE_REGEX
=yes
2250 DEFAULT_wxUSE_XML
=yes
2251 DEFAULT_wxUSE_EXPAT
=yes
2252 DEFAULT_wxUSE_ZLIB
=yes
2253 DEFAULT_wxUSE_LIBPNG
=yes
2254 DEFAULT_wxUSE_LIBJPEG
=yes
2255 DEFAULT_wxUSE_LIBTIFF
=yes
2256 DEFAULT_wxUSE_LIBXPM
=yes
2257 DEFAULT_wxUSE_LIBMSPACK
=yes
2258 DEFAULT_wxUSE_LIBSDL
=no
2259 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2260 DEFAULT_wxUSE_ODBC
=no
2261 DEFAULT_wxUSE_OPENGL
=no
2263 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2264 DEFAULT_wxUSE_STACKWALKER
=yes
2265 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2266 DEFAULT_wxUSE_STD_IOSTREAM
=no
2267 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2268 DEFAULT_wxUSE_DATETIME
=yes
2269 DEFAULT_wxUSE_TIMER
=yes
2270 DEFAULT_wxUSE_STOPWATCH
=yes
2271 DEFAULT_wxUSE_FILE
=yes
2272 DEFAULT_wxUSE_FFILE
=yes
2273 DEFAULT_wxUSE_TEXTBUFFER
=yes
2274 DEFAULT_wxUSE_TEXTFILE
=yes
2275 DEFAULT_wxUSE_SOUND
=yes
2276 DEFAULT_wxUSE_MEDIACTRL
=no
2277 DEFAULT_wxUSE_DIRECTSHOW
=no
2278 DEFAULT_wxUSE_INTL
=yes
2279 DEFAULT_wxUSE_CONFIG
=yes
2280 DEFAULT_wxUSE_FONTMAP
=yes
2281 DEFAULT_wxUSE_STREAMS
=yes
2282 DEFAULT_wxUSE_SOCKETS
=yes
2283 DEFAULT_wxUSE_OLE
=yes
2284 DEFAULT_wxUSE_DATAOBJ
=yes
2285 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2286 DEFAULT_wxUSE_JOYSTICK
=yes
2287 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2288 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2289 DEFAULT_wxUSE_LONGLONG
=yes
2290 DEFAULT_wxUSE_GEOMETRY
=yes
2292 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2293 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2294 DEFAULT_wxUSE_POSTSCRIPT
=yes
2296 DEFAULT_wxUSE_CLIPBOARD
=yes
2297 DEFAULT_wxUSE_TOOLTIPS
=yes
2298 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2299 DEFAULT_wxUSE_DRAGIMAGE
=yes
2300 DEFAULT_wxUSE_SPLINES
=yes
2302 DEFAULT_wxUSE_MDI
=yes
2303 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2304 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2305 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2307 DEFAULT_wxUSE_RESOURCES
=no
2308 DEFAULT_wxUSE_CONSTRAINTS
=yes
2309 DEFAULT_wxUSE_IPC
=yes
2310 DEFAULT_wxUSE_HELP
=yes
2311 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2312 DEFAULT_wxUSE_WXHTML_HELP
=yes
2313 DEFAULT_wxUSE_TREELAYOUT
=yes
2314 DEFAULT_wxUSE_METAFILE
=yes
2315 DEFAULT_wxUSE_MIMETYPE
=yes
2316 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2317 DEFAULT_wxUSE_PROTOCOL
=yes
2318 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2319 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2320 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2321 DEFAULT_wxUSE_URL
=yes
2323 DEFAULT_wxUSE_COMMONDLGS
=yes
2324 DEFAULT_wxUSE_CHOICEDLG
=yes
2325 DEFAULT_wxUSE_COLOURDLG
=yes
2326 DEFAULT_wxUSE_DIRDLG
=yes
2327 DEFAULT_wxUSE_FILEDLG
=yes
2328 DEFAULT_wxUSE_FINDREPLDLG
=yes
2329 DEFAULT_wxUSE_FONTDLG
=yes
2330 DEFAULT_wxUSE_MSGDLG
=yes
2331 DEFAULT_wxUSE_NUMBERDLG
=yes
2332 DEFAULT_wxUSE_TEXTDLG
=yes
2333 DEFAULT_wxUSE_SPLASH
=yes
2334 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2335 DEFAULT_wxUSE_PROGRESSDLG
=yes
2336 DEFAULT_wxUSE_WIZARDDLG
=yes
2338 DEFAULT_wxUSE_MENUS
=yes
2339 DEFAULT_wxUSE_MINIFRAME
=yes
2340 DEFAULT_wxUSE_HTML
=yes
2341 DEFAULT_wxUSE_XRC
=yes
2342 DEFAULT_wxUSE_WEBKIT
=yes
2343 DEFAULT_wxUSE_FILESYSTEM
=yes
2344 DEFAULT_wxUSE_FS_INET
=yes
2345 DEFAULT_wxUSE_FS_ZIP
=yes
2346 DEFAULT_wxUSE_BUSYINFO
=yes
2347 DEFAULT_wxUSE_ZIPSTREAM
=yes
2348 DEFAULT_wxUSE_VALIDATORS
=yes
2350 DEFAULT_wxUSE_ACCEL
=yes
2351 DEFAULT_wxUSE_BUTTON
=yes
2352 DEFAULT_wxUSE_BMPBUTTON
=yes
2353 DEFAULT_wxUSE_CALCTRL
=yes
2354 DEFAULT_wxUSE_CARET
=yes
2355 DEFAULT_wxUSE_CHECKBOX
=yes
2356 DEFAULT_wxUSE_CHECKLST
=yes
2357 DEFAULT_wxUSE_CHOICE
=yes
2358 DEFAULT_wxUSE_CHOICEBOOK
=yes
2359 DEFAULT_wxUSE_COMBOBOX
=yes
2360 DEFAULT_wxUSE_DISPLAY
=yes
2361 DEFAULT_wxUSE_GAUGE
=yes
2362 DEFAULT_wxUSE_GRID
=yes
2363 DEFAULT_wxUSE_IMAGLIST
=yes
2364 DEFAULT_wxUSE_LISTBOOK
=yes
2365 DEFAULT_wxUSE_LISTBOX
=yes
2366 DEFAULT_wxUSE_LISTCTRL
=yes
2367 DEFAULT_wxUSE_NOTEBOOK
=yes
2368 DEFAULT_wxUSE_RADIOBOX
=yes
2369 DEFAULT_wxUSE_RADIOBTN
=yes
2370 DEFAULT_wxUSE_SASH
=yes
2371 DEFAULT_wxUSE_SCROLLBAR
=yes
2372 DEFAULT_wxUSE_SLIDER
=yes
2373 DEFAULT_wxUSE_SPINBTN
=yes
2374 DEFAULT_wxUSE_SPINCTRL
=yes
2375 DEFAULT_wxUSE_SPLITTER
=yes
2376 DEFAULT_wxUSE_STATBMP
=yes
2377 DEFAULT_wxUSE_STATBOX
=yes
2378 DEFAULT_wxUSE_STATLINE
=yes
2379 DEFAULT_wxUSE_STATTEXT
=yes
2380 DEFAULT_wxUSE_STATUSBAR
=yes
2381 DEFAULT_wxUSE_TABDIALOG
=no
2382 DEFAULT_wxUSE_TEXTCTRL
=yes
2383 DEFAULT_wxUSE_TOGGLEBTN
=yes
2384 DEFAULT_wxUSE_TOOLBAR
=yes
2385 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2386 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2387 DEFAULT_wxUSE_TREECTRL
=yes
2388 DEFAULT_wxUSE_POPUPWIN
=yes
2389 DEFAULT_wxUSE_TIPWINDOW
=yes
2391 DEFAULT_wxUSE_UNICODE
=no
2392 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2393 DEFAULT_wxUSE_WCSRTOMBS
=no
2395 DEFAULT_wxUSE_PALETTE
=yes
2396 DEFAULT_wxUSE_IMAGE
=yes
2397 DEFAULT_wxUSE_GIF
=yes
2398 DEFAULT_wxUSE_PCX
=yes
2399 DEFAULT_wxUSE_IFF
=no
2400 DEFAULT_wxUSE_PNM
=yes
2401 DEFAULT_wxUSE_XPM
=yes
2402 DEFAULT_wxUSE_ICO_CUR
=yes
2403 DEFAULT_wxUSE_ACCESSIBILITY
=no
2405 DEFAULT_wxUSE_MONOLITHIC
=no
2406 DEFAULT_wxUSE_PLUGINS
=no
2407 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2409 DEFAULT_wxUSE_GTK2
=yes
2414 for toolkit
in `echo $ALL_TOOLKITS`; do
2415 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2416 if test "x$LINE" != "x" ; then
2417 has_toolkit_in_cache
=1
2418 eval "DEFAULT_$LINE"
2419 eval "CACHE_$toolkit=1"
2426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2427 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2429 # Check whether --enable-gui or --disable-gui was given.
2430 if test "${enable_gui+set}" = set; then
2431 enableval
="$enable_gui"
2433 if test "$enableval" = yes; then
2434 ac_cv_use_gui
='wxUSE_GUI=yes'
2436 ac_cv_use_gui
='wxUSE_GUI=no'
2441 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2442 if test "x$LINE" != x
; then
2443 eval "DEFAULT_$LINE"
2448 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2452 eval "$ac_cv_use_gui"
2453 if test "$no_cache" != 1; then
2454 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2457 if test "$wxUSE_GUI" = yes; then
2458 echo "$as_me:$LINENO: result: yes" >&5
2459 echo "${ECHO_T}yes" >&6
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2468 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2470 # Check whether --enable-monolithic or --disable-monolithic was given.
2471 if test "${enable_monolithic+set}" = set; then
2472 enableval
="$enable_monolithic"
2474 if test "$enableval" = yes; then
2475 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2477 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2482 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2483 if test "x$LINE" != x
; then
2484 eval "DEFAULT_$LINE"
2489 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2493 eval "$ac_cv_use_monolithic"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2498 if test "$wxUSE_MONOLITHIC" = yes; then
2499 echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2509 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2511 # Check whether --enable-plugins or --disable-plugins was given.
2512 if test "${enable_plugins+set}" = set; then
2513 enableval
="$enable_plugins"
2515 if test "$enableval" = yes; then
2516 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2518 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2523 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2524 if test "x$LINE" != x
; then
2525 eval "DEFAULT_$LINE"
2530 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2534 eval "$ac_cv_use_plugins"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2539 if test "$wxUSE_PLUGINS" = yes; then
2540 echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2548 if test "$wxUSE_GUI" = "yes"; then
2552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2553 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2555 # Check whether --enable-universal or --disable-universal was given.
2556 if test "${enable_universal+set}" = set; then
2557 enableval
="$enable_universal"
2559 if test "$enableval" = yes; then
2560 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2562 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2567 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2568 if test "x$LINE" != x
; then
2569 eval "DEFAULT_$LINE"
2574 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2578 eval "$ac_cv_use_universal"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_UNIVERSAL" = yes; then
2584 echo "$as_me:$LINENO: result: yes" >&5
2585 echo "${ECHO_T}yes" >&6
2587 echo "$as_me:$LINENO: result: no" >&5
2588 echo "${ECHO_T}no" >&6
2592 # Check whether --with-gtk or --without-gtk was given.
2593 if test "${with_gtk+set}" = set; then
2595 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2598 # Check whether --with-motif or --without-motif was given.
2599 if test "${with_motif+set}" = set; then
2600 withval
="$with_motif"
2601 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2604 # Check whether --with-mac or --without-mac was given.
2605 if test "${with_mac+set}" = set; then
2607 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2610 # Check whether --with-cocoa or --without-cocoa was given.
2611 if test "${with_cocoa+set}" = set; then
2612 withval
="$with_cocoa"
2613 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2616 # Check whether --with-wine or --without-wine was given.
2617 if test "${with_wine+set}" = set; then
2618 withval
="$with_wine"
2619 wxUSE_WINE
="$withval" CACHE_WINE
=1
2622 # Check whether --with-msw or --without-msw was given.
2623 if test "${with_msw+set}" = set; then
2625 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2628 # Check whether --with-pm or --without-pm was given.
2629 if test "${with_pm+set}" = set; then
2631 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2634 # Check whether --with-mgl or --without-mgl was given.
2635 if test "${with_mgl+set}" = set; then
2637 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2640 # Check whether --with-microwin or --without-microwin was given.
2641 if test "${with_microwin+set}" = set; then
2642 withval
="$with_microwin"
2643 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2646 # Check whether --with-x11 or --without-x11 was given.
2647 if test "${with_x11+set}" = set; then
2649 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2656 # Check whether --enable-nanox or --disable-nanox was given.
2657 if test "${enable_nanox+set}" = set; then
2658 enableval
="$enable_nanox"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2663 ac_cv_use_nanox
='wxUSE_NANOX=no'
2668 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2679 eval "$ac_cv_use_nanox"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2684 if test "$wxUSE_NANOX" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2696 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2698 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2699 if test "${enable_gtk2+set}" = set; then
2700 enableval
="$enable_gtk2"
2702 if test "$enableval" = yes; then
2703 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2705 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2710 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x
; then
2712 eval "DEFAULT_$LINE"
2717 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2721 eval "$ac_cv_use_gtk2"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_GTK2" = yes; then
2727 echo "$as_me:$LINENO: result: yes" >&5
2728 echo "${ECHO_T}yes" >&6
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2737 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2739 # Check whether --enable-gpe or --disable-gpe was given.
2740 if test "${enable_gpe+set}" = set; then
2741 enableval
="$enable_gpe"
2743 if test "$enableval" = yes; then
2744 ac_cv_use_gpe
='wxUSE_GPE=yes'
2746 ac_cv_use_gpe
='wxUSE_GPE=no'
2751 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x
; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2762 eval "$ac_cv_use_gpe"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_GPE" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2777 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2778 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2781 # Check whether --with-libpng or --without-libpng was given.
2782 if test "${with_libpng+set}" = set; then
2783 withval
="$with_libpng"
2785 if test "$withval" = yes; then
2786 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2787 elif test "$withval" = no
; then
2788 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2789 elif test "$withval" = sys
; then
2790 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2791 elif test "$withval" = builtin; then
2792 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2794 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2795 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2796 { (exit 1); exit 1; }; }
2801 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x
; then
2803 eval "DEFAULT_$LINE"
2808 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2812 eval "$ac_cv_use_libpng"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2817 if test "$wxUSE_LIBPNG" = yes; then
2818 echo "$as_me:$LINENO: result: yes" >&5
2819 echo "${ECHO_T}yes" >&6
2820 elif test "$wxUSE_LIBPNG" = no
; then
2821 echo "$as_me:$LINENO: result: no" >&5
2822 echo "${ECHO_T}no" >&6
2823 elif test "$wxUSE_LIBPNG" = sys
; then
2824 echo "$as_me:$LINENO: result: system version" >&5
2825 echo "${ECHO_T}system version" >&6
2826 elif test "$wxUSE_LIBPNG" = builtin; then
2827 echo "$as_me:$LINENO: result: builtin version" >&5
2828 echo "${ECHO_T}builtin version" >&6
2830 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2831 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2832 { (exit 1); exit 1; }; }
2836 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2837 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2840 # Check whether --with-libjpeg or --without-libjpeg was given.
2841 if test "${with_libjpeg+set}" = set; then
2842 withval
="$with_libjpeg"
2844 if test "$withval" = yes; then
2845 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2846 elif test "$withval" = no
; then
2847 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2848 elif test "$withval" = sys
; then
2849 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2850 elif test "$withval" = builtin; then
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2854 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2855 { (exit 1); exit 1; }; }
2860 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2871 eval "$ac_cv_use_libjpeg"
2872 if test "$no_cache" != 1; then
2873 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2876 if test "$wxUSE_LIBJPEG" = yes; then
2877 echo "$as_me:$LINENO: result: yes" >&5
2878 echo "${ECHO_T}yes" >&6
2879 elif test "$wxUSE_LIBJPEG" = no
; then
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2882 elif test "$wxUSE_LIBJPEG" = sys
; then
2883 echo "$as_me:$LINENO: result: system version" >&5
2884 echo "${ECHO_T}system version" >&6
2885 elif test "$wxUSE_LIBJPEG" = builtin; then
2886 echo "$as_me:$LINENO: result: builtin version" >&5
2887 echo "${ECHO_T}builtin version" >&6
2889 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2890 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2891 { (exit 1); exit 1; }; }
2895 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2896 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2899 # Check whether --with-libtiff or --without-libtiff was given.
2900 if test "${with_libtiff+set}" = set; then
2901 withval
="$with_libtiff"
2903 if test "$withval" = yes; then
2904 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2905 elif test "$withval" = no
; then
2906 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2907 elif test "$withval" = sys
; then
2908 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2909 elif test "$withval" = builtin; then
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2912 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2913 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2914 { (exit 1); exit 1; }; }
2919 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x
; then
2921 eval "DEFAULT_$LINE"
2926 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2930 eval "$ac_cv_use_libtiff"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_LIBTIFF" = yes; then
2936 echo "$as_me:$LINENO: result: yes" >&5
2937 echo "${ECHO_T}yes" >&6
2938 elif test "$wxUSE_LIBTIFF" = no
; then
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2941 elif test "$wxUSE_LIBTIFF" = sys
; then
2942 echo "$as_me:$LINENO: result: system version" >&5
2943 echo "${ECHO_T}system version" >&6
2944 elif test "$wxUSE_LIBTIFF" = builtin; then
2945 echo "$as_me:$LINENO: result: builtin version" >&5
2946 echo "${ECHO_T}builtin version" >&6
2948 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2949 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2950 { (exit 1); exit 1; }; }
2954 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2955 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2958 # Check whether --with-libxpm or --without-libxpm was given.
2959 if test "${with_libxpm+set}" = set; then
2960 withval
="$with_libxpm"
2962 if test "$withval" = yes; then
2963 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2964 elif test "$withval" = no
; then
2965 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2966 elif test "$withval" = sys
; then
2967 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2968 elif test "$withval" = builtin; then
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2971 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2972 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2973 { (exit 1); exit 1; }; }
2978 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2989 eval "$ac_cv_use_libxpm"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_LIBXPM" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 elif test "$wxUSE_LIBXPM" = no
; then
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 elif test "$wxUSE_LIBXPM" = sys
; then
3001 echo "$as_me:$LINENO: result: system version" >&5
3002 echo "${ECHO_T}system version" >&6
3003 elif test "$wxUSE_LIBXPM" = builtin; then
3004 echo "$as_me:$LINENO: result: builtin version" >&5
3005 echo "${ECHO_T}builtin version" >&6
3007 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3008 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3009 { (exit 1); exit 1; }; }
3013 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3014 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3017 # Check whether --with-libmspack or --without-libmspack was given.
3018 if test "${with_libmspack+set}" = set; then
3019 withval
="$with_libmspack"
3021 if test "$withval" = yes; then
3022 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3024 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3029 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3040 eval "$ac_cv_use_libmspack"
3041 if test "$no_cache" != 1; then
3042 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3045 if test "$wxUSE_LIBMSPACK" = yes; then
3046 echo "$as_me:$LINENO: result: yes" >&5
3047 echo "${ECHO_T}yes" >&6
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3054 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3055 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3058 # Check whether --with-sdl or --without-sdl was given.
3059 if test "${with_sdl+set}" = set; then
3062 if test "$withval" = yes; then
3063 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3065 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3070 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3081 eval "$ac_cv_use_sdl"
3082 if test "$no_cache" != 1; then
3083 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3086 if test "$wxUSE_LIBSDL" = yes; then
3087 echo "$as_me:$LINENO: result: yes" >&5
3088 echo "${ECHO_T}yes" >&6
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3095 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3096 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3099 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3100 if test "${with_gnomeprint+set}" = set; then
3101 withval
="$with_gnomeprint"
3103 if test "$withval" = yes; then
3104 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3106 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3111 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x
; then
3113 eval "DEFAULT_$LINE"
3118 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3122 eval "$ac_cv_use_gnomeprint"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3136 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3137 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3140 # Check whether --with-opengl or --without-opengl was given.
3141 if test "${with_opengl+set}" = set; then
3142 withval
="$with_opengl"
3144 if test "$withval" = yes; then
3145 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3147 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3152 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x
; then
3154 eval "DEFAULT_$LINE"
3159 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3163 eval "$ac_cv_use_opengl"
3164 if test "$no_cache" != 1; then
3165 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3168 if test "$wxUSE_OPENGL" = yes; then
3169 echo "$as_me:$LINENO: result: yes" >&5
3170 echo "${ECHO_T}yes" >&6
3172 echo "$as_me:$LINENO: result: no" >&5
3173 echo "${ECHO_T}no" >&6
3180 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3181 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3184 # Check whether --with-dmalloc or --without-dmalloc was given.
3185 if test "${with_dmalloc+set}" = set; then
3186 withval
="$with_dmalloc"
3188 if test "$withval" = yes; then
3189 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3191 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3196 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x
; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3207 eval "$ac_cv_use_dmalloc"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_DMALLOC" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3221 echo "$as_me:$LINENO: checking for --with-regex" >&5
3222 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3225 # Check whether --with-regex or --without-regex was given.
3226 if test "${with_regex+set}" = set; then
3227 withval
="$with_regex"
3229 if test "$withval" = yes; then
3230 ac_cv_use_regex
='wxUSE_REGEX=yes'
3231 elif test "$withval" = no
; then
3232 ac_cv_use_regex
='wxUSE_REGEX=no'
3233 elif test "$withval" = sys
; then
3234 ac_cv_use_regex
='wxUSE_REGEX=sys'
3235 elif test "$withval" = builtin; then
3236 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3238 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3239 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3240 { (exit 1); exit 1; }; }
3245 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x
; then
3247 eval "DEFAULT_$LINE"
3252 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3256 eval "$ac_cv_use_regex"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_REGEX" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 elif test "$wxUSE_REGEX" = no
; then
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267 elif test "$wxUSE_REGEX" = sys
; then
3268 echo "$as_me:$LINENO: result: system version" >&5
3269 echo "${ECHO_T}system version" >&6
3270 elif test "$wxUSE_REGEX" = builtin; then
3271 echo "$as_me:$LINENO: result: builtin version" >&5
3272 echo "${ECHO_T}builtin version" >&6
3274 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3275 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3276 { (exit 1); exit 1; }; }
3280 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3281 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3284 # Check whether --with-zlib or --without-zlib was given.
3285 if test "${with_zlib+set}" = set; then
3286 withval
="$with_zlib"
3288 if test "$withval" = yes; then
3289 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3290 elif test "$withval" = no
; then
3291 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3292 elif test "$withval" = sys
; then
3293 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3294 elif test "$withval" = builtin; then
3295 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3297 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3298 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3299 { (exit 1); exit 1; }; }
3304 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3315 eval "$ac_cv_use_zlib"
3316 if test "$no_cache" != 1; then
3317 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3320 if test "$wxUSE_ZLIB" = yes; then
3321 echo "$as_me:$LINENO: result: yes" >&5
3322 echo "${ECHO_T}yes" >&6
3323 elif test "$wxUSE_ZLIB" = no
; then
3324 echo "$as_me:$LINENO: result: no" >&5
3325 echo "${ECHO_T}no" >&6
3326 elif test "$wxUSE_ZLIB" = sys
; then
3327 echo "$as_me:$LINENO: result: system version" >&5
3328 echo "${ECHO_T}system version" >&6
3329 elif test "$wxUSE_ZLIB" = builtin; then
3330 echo "$as_me:$LINENO: result: builtin version" >&5
3331 echo "${ECHO_T}builtin version" >&6
3333 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3334 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3335 { (exit 1); exit 1; }; }
3339 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3340 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3343 # Check whether --with-odbc or --without-odbc was given.
3344 if test "${with_odbc+set}" = set; then
3345 withval
="$with_odbc"
3347 if test "$withval" = yes; then
3348 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3349 elif test "$withval" = no
; then
3350 ac_cv_use_odbc
='wxUSE_ODBC=no'
3351 elif test "$withval" = sys
; then
3352 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3353 elif test "$withval" = builtin; then
3354 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3356 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3357 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3358 { (exit 1); exit 1; }; }
3363 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x
; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3374 eval "$ac_cv_use_odbc"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3379 if test "$wxUSE_ODBC" = yes; then
3380 echo "$as_me:$LINENO: result: yes" >&5
3381 echo "${ECHO_T}yes" >&6
3382 elif test "$wxUSE_ODBC" = no
; then
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3385 elif test "$wxUSE_ODBC" = sys
; then
3386 echo "$as_me:$LINENO: result: system version" >&5
3387 echo "${ECHO_T}system version" >&6
3388 elif test "$wxUSE_ODBC" = builtin; then
3389 echo "$as_me:$LINENO: result: builtin version" >&5
3390 echo "${ECHO_T}builtin version" >&6
3392 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3393 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3394 { (exit 1); exit 1; }; }
3398 echo "$as_me:$LINENO: checking for --with-expat" >&5
3399 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3402 # Check whether --with-expat or --without-expat was given.
3403 if test "${with_expat+set}" = set; then
3404 withval
="$with_expat"
3406 if test "$withval" = yes; then
3407 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3408 elif test "$withval" = no
; then
3409 ac_cv_use_expat
='wxUSE_EXPAT=no'
3410 elif test "$withval" = sys
; then
3411 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3412 elif test "$withval" = builtin; then
3413 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3415 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3416 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3417 { (exit 1); exit 1; }; }
3422 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x
; then
3424 eval "DEFAULT_$LINE"
3429 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3433 eval "$ac_cv_use_expat"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_EXPAT" = yes; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3441 elif test "$wxUSE_EXPAT" = no
; then
3442 echo "$as_me:$LINENO: result: no" >&5
3443 echo "${ECHO_T}no" >&6
3444 elif test "$wxUSE_EXPAT" = sys
; then
3445 echo "$as_me:$LINENO: result: system version" >&5
3446 echo "${ECHO_T}system version" >&6
3447 elif test "$wxUSE_EXPAT" = builtin; then
3448 echo "$as_me:$LINENO: result: builtin version" >&5
3449 echo "${ECHO_T}builtin version" >&6
3451 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3452 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3453 { (exit 1); exit 1; }; }
3460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3461 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3463 # Check whether --enable-shared or --disable-shared was given.
3464 if test "${enable_shared+set}" = set; then
3465 enableval
="$enable_shared"
3467 if test "$enableval" = yes; then
3468 ac_cv_use_shared
='wxUSE_SHARED=yes'
3470 ac_cv_use_shared
='wxUSE_SHARED=no'
3475 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3486 eval "$ac_cv_use_shared"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3491 if test "$wxUSE_SHARED" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3502 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3504 # Check whether --enable-optimise or --disable-optimise was given.
3505 if test "${enable_optimise+set}" = set; then
3506 enableval
="$enable_optimise"
3508 if test "$enableval" = yes; then
3509 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3511 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3516 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x
; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3527 eval "$ac_cv_use_optimise"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3532 if test "$wxUSE_OPTIMISE" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3543 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3545 # Check whether --enable-debug or --disable-debug was given.
3546 if test "${enable_debug+set}" = set; then
3547 enableval
="$enable_debug"
3549 if test "$enableval" = yes; then
3550 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3552 ac_cv_use_debug
='wxUSE_DEBUG=no'
3557 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x
; then
3559 eval "DEFAULT_$LINE"
3564 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3568 eval "$ac_cv_use_debug"
3569 if test "$no_cache" != 1; then
3570 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3573 if test "$wxUSE_DEBUG" = yes; then
3574 echo "$as_me:$LINENO: result: yes" >&5
3575 echo "${ECHO_T}yes" >&6
3577 echo "$as_me:$LINENO: result: no" >&5
3578 echo "${ECHO_T}no" >&6
3583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3584 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3586 # Check whether --enable-stl or --disable-stl was given.
3587 if test "${enable_stl+set}" = set; then
3588 enableval
="$enable_stl"
3590 if test "$enableval" = yes; then
3591 ac_cv_use_stl
='wxUSE_STL=yes'
3593 ac_cv_use_stl
='wxUSE_STL=no'
3598 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x
; then
3600 eval "DEFAULT_$LINE"
3605 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3609 eval "$ac_cv_use_stl"
3610 if test "$no_cache" != 1; then
3611 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3614 if test "$wxUSE_STL" = yes; then
3615 echo "$as_me:$LINENO: result: yes" >&5
3616 echo "${ECHO_T}yes" >&6
3618 echo "$as_me:$LINENO: result: no" >&5
3619 echo "${ECHO_T}no" >&6
3622 if test "$USE_OS2" = "1"; then
3625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3626 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3628 # Check whether --enable-omf or --disable-omf was given.
3629 if test "${enable_omf+set}" = set; then
3630 enableval
="$enable_omf"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_omf
='wxUSE_OMF=yes'
3635 ac_cv_use_omf
='wxUSE_OMF=no'
3640 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3651 eval "$ac_cv_use_omf"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_OMF" = yes; then
3657 echo "$as_me:$LINENO: result: yes" >&5
3658 echo "${ECHO_T}yes" >&6
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3666 if test "$wxUSE_DEBUG" = "yes"; then
3667 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3668 DEFAULT_wxUSE_DEBUG_INFO
=yes
3670 elif test "$wxUSE_DEBUG" = "no"; then
3671 DEFAULT_wxUSE_DEBUG_FLAG
=no
3672 DEFAULT_wxUSE_DEBUG_INFO
=no
3678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3679 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3681 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3682 if test "${enable_debug_flag+set}" = set; then
3683 enableval
="$enable_debug_flag"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3688 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3693 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3704 eval "$ac_cv_use_debug_flag"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3709 if test "$wxUSE_DEBUG_FLAG" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3720 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3722 # Check whether --enable-debug_info or --disable-debug_info was given.
3723 if test "${enable_debug_info+set}" = set; then
3724 enableval
="$enable_debug_info"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3729 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3734 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x
; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3745 eval "$ac_cv_use_debug_info"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_DEBUG_INFO" = yes; then
3751 echo "$as_me:$LINENO: result: yes" >&5
3752 echo "${ECHO_T}yes" >&6
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3761 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3763 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3764 if test "${enable_debug_gdb+set}" = set; then
3765 enableval
="$enable_debug_gdb"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3770 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3775 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x
; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3786 eval "$ac_cv_use_debug_gdb"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_DEBUG_GDB" = yes; then
3792 echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6
3795 echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3804 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3805 if test "${enable_debug_cntxt+set}" = set; then
3806 enableval
="$enable_debug_cntxt"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3811 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3816 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x
; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3827 eval "$ac_cv_use_debug_cntxt"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3843 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3845 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3846 if test "${enable_mem_tracing+set}" = set; then
3847 enableval
="$enable_mem_tracing"
3849 if test "$enableval" = yes; then
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3852 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3857 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x
; then
3859 eval "DEFAULT_$LINE"
3864 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3868 eval "$ac_cv_use_mem_tracing"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_MEM_TRACING" = yes; then
3874 echo "$as_me:$LINENO: result: yes" >&5
3875 echo "${ECHO_T}yes" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3884 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3886 # Check whether --enable-profile or --disable-profile was given.
3887 if test "${enable_profile+set}" = set; then
3888 enableval
="$enable_profile"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3893 ac_cv_use_profile
='wxUSE_PROFILE=no'
3898 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x
; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3909 eval "$ac_cv_use_profile"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_PROFILE" = yes; then
3915 echo "$as_me:$LINENO: result: yes" >&5
3916 echo "${ECHO_T}yes" >&6
3918 echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6
3924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3925 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3927 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3928 if test "${enable_no_rtti+set}" = set; then
3929 enableval
="$enable_no_rtti"
3931 if test "$enableval" = yes; then
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3934 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3939 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3940 if test "x$LINE" != x
; then
3941 eval "DEFAULT_$LINE"
3946 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3950 eval "$ac_cv_use_no_rtti"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_NO_RTTI" = yes; then
3956 echo "$as_me:$LINENO: result: yes" >&5
3957 echo "${ECHO_T}yes" >&6
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3968 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3969 if test "${enable_no_exceptions+set}" = set; then
3970 enableval
="$enable_no_exceptions"
3972 if test "$enableval" = yes; then
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3975 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3980 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x
; then
3982 eval "DEFAULT_$LINE"
3987 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3991 eval "$ac_cv_use_no_exceptions"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3996 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4007 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4009 # Check whether --enable-permissive or --disable-permissive was given.
4010 if test "${enable_permissive+set}" = set; then
4011 enableval
="$enable_permissive"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4016 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4021 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x
; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4032 eval "$ac_cv_use_permissive"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_PERMISSIVE" = yes; then
4038 echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6
4041 echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6
4047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4048 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4050 # Check whether --enable-no_deps or --disable-no_deps was given.
4051 if test "${enable_no_deps+set}" = set; then
4052 enableval
="$enable_no_deps"
4054 if test "$enableval" = yes; then
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4057 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4062 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x
; then
4064 eval "DEFAULT_$LINE"
4069 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4073 eval "$ac_cv_use_no_deps"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4078 if test "$wxUSE_NO_DEPS" = yes; then
4079 echo "$as_me:$LINENO: result: yes" >&5
4080 echo "${ECHO_T}yes" >&6
4082 echo "$as_me:$LINENO: result: no" >&5
4083 echo "${ECHO_T}no" >&6
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4092 # Check whether --enable-compat22 or --disable-compat22 was given.
4093 if test "${enable_compat22+set}" = set; then
4094 enableval
="$enable_compat22"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4099 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4104 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4115 eval "$ac_cv_use_compat22"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4120 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4129 enablestring
=disable
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4133 # Check whether --enable-compat24 or --disable-compat24 was given.
4134 if test "${enable_compat24+set}" = set; then
4135 enableval
="$enable_compat24"
4137 if test "$enableval" = yes; then
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4140 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4145 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x
; then
4147 eval "DEFAULT_$LINE"
4152 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4156 eval "$ac_cv_use_compat24"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4161 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4173 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4175 # Check whether --enable-rpath or --disable-rpath was given.
4176 if test "${enable_rpath+set}" = set; then
4177 enableval
="$enable_rpath"
4179 if test "$enableval" = yes; then
4180 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4182 ac_cv_use_rpath
='wxUSE_RPATH=no'
4187 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x
; then
4189 eval "DEFAULT_$LINE"
4194 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4198 eval "$ac_cv_use_rpath"
4199 if test "$no_cache" != 1; then
4200 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4203 if test "$wxUSE_RPATH" = yes; then
4204 echo "$as_me:$LINENO: result: yes" >&5
4205 echo "${ECHO_T}yes" >&6
4207 echo "$as_me:$LINENO: result: no" >&5
4208 echo "${ECHO_T}no" >&6
4216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4217 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4219 # Check whether --enable-intl or --disable-intl was given.
4220 if test "${enable_intl+set}" = set; then
4221 enableval
="$enable_intl"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_intl
='wxUSE_INTL=yes'
4226 ac_cv_use_intl
='wxUSE_INTL=no'
4231 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4242 eval "$ac_cv_use_intl"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4247 if test "$wxUSE_INTL" = yes; then
4248 echo "$as_me:$LINENO: result: yes" >&5
4249 echo "${ECHO_T}yes" >&6
4251 echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6
4257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4258 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4260 # Check whether --enable-config or --disable-config was given.
4261 if test "${enable_config+set}" = set; then
4262 enableval
="$enable_config"
4264 if test "$enableval" = yes; then
4265 ac_cv_use_config
='wxUSE_CONFIG=yes'
4267 ac_cv_use_config
='wxUSE_CONFIG=no'
4272 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4273 if test "x$LINE" != x
; then
4274 eval "DEFAULT_$LINE"
4279 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4283 eval "$ac_cv_use_config"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_CONFIG" = yes; then
4289 echo "$as_me:$LINENO: result: yes" >&5
4290 echo "${ECHO_T}yes" >&6
4292 echo "$as_me:$LINENO: result: no" >&5
4293 echo "${ECHO_T}no" >&6
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4302 # Check whether --enable-protocols or --disable-protocols was given.
4303 if test "${enable_protocols+set}" = set; then
4304 enableval
="$enable_protocols"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4309 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4314 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4325 eval "$ac_cv_use_protocols"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_PROTOCOL" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4343 # Check whether --enable-ftp or --disable-ftp was given.
4344 if test "${enable_ftp+set}" = set; then
4345 enableval
="$enable_ftp"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4350 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4355 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4366 eval "$ac_cv_use_ftp"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4371 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4384 # Check whether --enable-http or --disable-http was given.
4385 if test "${enable_http+set}" = set; then
4386 enableval
="$enable_http"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4391 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4396 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4407 eval "$ac_cv_use_http"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4425 # Check whether --enable-fileproto or --disable-fileproto was given.
4426 if test "${enable_fileproto+set}" = set; then
4427 enableval
="$enable_fileproto"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4432 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4437 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4448 eval "$ac_cv_use_fileproto"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4454 echo "$as_me:$LINENO: result: yes" >&5
4455 echo "${ECHO_T}yes" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4464 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4466 # Check whether --enable-sockets or --disable-sockets was given.
4467 if test "${enable_sockets+set}" = set; then
4468 enableval
="$enable_sockets"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4473 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4478 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4489 eval "$ac_cv_use_sockets"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_SOCKETS" = yes; then
4495 echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6
4498 echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6
4504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4507 # Check whether --enable-ole or --disable-ole was given.
4508 if test "${enable_ole+set}" = set; then
4509 enableval
="$enable_ole"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_ole
='wxUSE_OLE=yes'
4514 ac_cv_use_ole
='wxUSE_OLE=no'
4519 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x
; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4530 eval "$ac_cv_use_ole"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_OLE" = yes; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6
4539 echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6
4545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4548 # Check whether --enable-dataobj or --disable-dataobj was given.
4549 if test "${enable_dataobj+set}" = set; then
4550 enableval
="$enable_dataobj"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4555 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4560 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x
; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4571 eval "$ac_cv_use_dataobj"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_DATAOBJ" = yes; then
4577 echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4590 # Check whether --enable-ipc or --disable-ipc was given.
4591 if test "${enable_ipc+set}" = set; then
4592 enableval
="$enable_ipc"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_ipc
='wxUSE_IPC=yes'
4597 ac_cv_use_ipc
='wxUSE_IPC=no'
4602 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x
; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4613 eval "$ac_cv_use_ipc"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_IPC" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4632 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4633 if test "${enable_apple_ieee+set}" = set; then
4634 enableval
="$enable_apple_ieee"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4639 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4644 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4655 eval "$ac_cv_use_apple_ieee"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_APPLE_IEEE" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4673 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4674 if test "${enable_catch_segvs+set}" = set; then
4675 enableval
="$enable_catch_segvs"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4680 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4685 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x
; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4696 eval "$ac_cv_use_catch_segvs"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4714 # Check whether --enable-backtrace or --disable-backtrace was given.
4715 if test "${enable_backtrace+set}" = set; then
4716 enableval
="$enable_backtrace"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4721 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4726 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x
; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4737 eval "$ac_cv_use_backtrace"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_STACKWALKER" = yes; then
4743 echo "$as_me:$LINENO: result: yes" >&5
4744 echo "${ECHO_T}yes" >&6
4746 echo "$as_me:$LINENO: result: no" >&5
4747 echo "${ECHO_T}no" >&6
4752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4755 # Check whether --enable-cmdline or --disable-cmdline was given.
4756 if test "${enable_cmdline+set}" = set; then
4757 enableval
="$enable_cmdline"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4762 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4767 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x
; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4778 eval "$ac_cv_use_cmdline"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4784 echo "$as_me:$LINENO: result: yes" >&5
4785 echo "${ECHO_T}yes" >&6
4787 echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6
4793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4794 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4796 # Check whether --enable-datetime or --disable-datetime was given.
4797 if test "${enable_datetime+set}" = set; then
4798 enableval
="$enable_datetime"
4800 if test "$enableval" = yes; then
4801 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4803 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4808 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4809 if test "x$LINE" != x
; then
4810 eval "DEFAULT_$LINE"
4815 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4819 eval "$ac_cv_use_datetime"
4820 if test "$no_cache" != 1; then
4821 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4824 if test "$wxUSE_DATETIME" = yes; then
4825 echo "$as_me:$LINENO: result: yes" >&5
4826 echo "${ECHO_T}yes" >&6
4828 echo "$as_me:$LINENO: result: no" >&5
4829 echo "${ECHO_T}no" >&6
4834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4835 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4837 # Check whether --enable-dialupman or --disable-dialupman was given.
4838 if test "${enable_dialupman+set}" = set; then
4839 enableval
="$enable_dialupman"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4844 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4849 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x
; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4860 eval "$ac_cv_use_dialupman"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4866 echo "$as_me:$LINENO: result: yes" >&5
4867 echo "${ECHO_T}yes" >&6
4869 echo "$as_me:$LINENO: result: no" >&5
4870 echo "${ECHO_T}no" >&6
4875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4878 # Check whether --enable-dynlib or --disable-dynlib was given.
4879 if test "${enable_dynlib+set}" = set; then
4880 enableval
="$enable_dynlib"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4885 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4890 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x
; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4901 eval "$ac_cv_use_dynlib"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4907 echo "$as_me:$LINENO: result: yes" >&5
4908 echo "${ECHO_T}yes" >&6
4910 echo "$as_me:$LINENO: result: no" >&5
4911 echo "${ECHO_T}no" >&6
4916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4917 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4919 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4920 if test "${enable_dynamicloader+set}" = set; then
4921 enableval
="$enable_dynamicloader"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4926 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4931 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x
; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4942 eval "$ac_cv_use_dynamicloader"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4948 echo "$as_me:$LINENO: result: yes" >&5
4949 echo "${ECHO_T}yes" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4960 # Check whether --enable-exceptions or --disable-exceptions was given.
4961 if test "${enable_exceptions+set}" = set; then
4962 enableval
="$enable_exceptions"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4967 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4972 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x
; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4983 eval "$ac_cv_use_exceptions"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_EXCEPTIONS" = yes; then
4989 echo "$as_me:$LINENO: result: yes" >&5
4990 echo "${ECHO_T}yes" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4999 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5001 # Check whether --enable-ffile or --disable-ffile was given.
5002 if test "${enable_ffile+set}" = set; then
5003 enableval
="$enable_ffile"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5008 ac_cv_use_ffile
='wxUSE_FFILE=no'
5013 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x
; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5024 eval "$ac_cv_use_ffile"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_FFILE" = yes; then
5030 echo "$as_me:$LINENO: result: yes" >&5
5031 echo "${ECHO_T}yes" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5040 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5042 # Check whether --enable-file or --disable-file was given.
5043 if test "${enable_file+set}" = set; then
5044 enableval
="$enable_file"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_file
='wxUSE_FILE=yes'
5049 ac_cv_use_file
='wxUSE_FILE=no'
5054 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x
; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5065 eval "$ac_cv_use_file"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_FILE" = yes; then
5071 echo "$as_me:$LINENO: result: yes" >&5
5072 echo "${ECHO_T}yes" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5081 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5083 # Check whether --enable-filesystem or --disable-filesystem was given.
5084 if test "${enable_filesystem+set}" = set; then
5085 enableval
="$enable_filesystem"
5087 if test "$enableval" = yes; then
5088 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5090 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5095 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5096 if test "x$LINE" != x
; then
5097 eval "DEFAULT_$LINE"
5102 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5106 eval "$ac_cv_use_filesystem"
5107 if test "$no_cache" != 1; then
5108 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5111 if test "$wxUSE_FILESYSTEM" = yes; then
5112 echo "$as_me:$LINENO: result: yes" >&5
5113 echo "${ECHO_T}yes" >&6
5115 echo "$as_me:$LINENO: result: no" >&5
5116 echo "${ECHO_T}no" >&6
5121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5124 # Check whether --enable-fontmap or --disable-fontmap was given.
5125 if test "${enable_fontmap+set}" = set; then
5126 enableval
="$enable_fontmap"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5131 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5136 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x
; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5147 eval "$ac_cv_use_fontmap"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_FONTMAP" = yes; then
5153 echo "$as_me:$LINENO: result: yes" >&5
5154 echo "${ECHO_T}yes" >&6
5156 echo "$as_me:$LINENO: result: no" >&5
5157 echo "${ECHO_T}no" >&6
5162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5165 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5166 if test "${enable_fs_inet+set}" = set; then
5167 enableval
="$enable_fs_inet"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5172 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5177 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x
; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5188 eval "$ac_cv_use_fs_inet"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_FS_INET" = yes; then
5194 echo "$as_me:$LINENO: result: yes" >&5
5195 echo "${ECHO_T}yes" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5204 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5206 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5207 if test "${enable_fs_zip+set}" = set; then
5208 enableval
="$enable_fs_zip"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5213 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5218 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x
; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5229 eval "$ac_cv_use_fs_zip"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_FS_ZIP" = yes; then
5235 echo "$as_me:$LINENO: result: yes" >&5
5236 echo "${ECHO_T}yes" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5247 # Check whether --enable-geometry or --disable-geometry was given.
5248 if test "${enable_geometry+set}" = set; then
5249 enableval
="$enable_geometry"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5254 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5259 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x
; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5270 eval "$ac_cv_use_geometry"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_GEOMETRY" = yes; then
5276 echo "$as_me:$LINENO: result: yes" >&5
5277 echo "${ECHO_T}yes" >&6
5279 echo "$as_me:$LINENO: result: no" >&5
5280 echo "${ECHO_T}no" >&6
5285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5288 # Check whether --enable-log or --disable-log was given.
5289 if test "${enable_log+set}" = set; then
5290 enableval
="$enable_log"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_log
='wxUSE_LOG=yes'
5295 ac_cv_use_log
='wxUSE_LOG=no'
5300 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x
; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5311 eval "$ac_cv_use_log"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_LOG" = yes; then
5317 echo "$as_me:$LINENO: result: yes" >&5
5318 echo "${ECHO_T}yes" >&6
5320 echo "$as_me:$LINENO: result: no" >&5
5321 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5329 # Check whether --enable-longlong or --disable-longlong was given.
5330 if test "${enable_longlong+set}" = set; then
5331 enableval
="$enable_longlong"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5336 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5341 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5352 eval "$ac_cv_use_longlong"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_LONGLONG" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5370 # Check whether --enable-mimetype or --disable-mimetype was given.
5371 if test "${enable_mimetype+set}" = set; then
5372 enableval
="$enable_mimetype"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5377 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5382 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x
; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5393 eval "$ac_cv_use_mimetype"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_MIMETYPE" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5409 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5411 # Check whether --enable-mslu or --disable-mslu was given.
5412 if test "${enable_mslu+set}" = set; then
5413 enableval
="$enable_mslu"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5418 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5423 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x
; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5434 eval "$ac_cv_use_mslu"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_UNICODE_MSLU" = yes; then
5440 echo "$as_me:$LINENO: result: yes" >&5
5441 echo "${ECHO_T}yes" >&6
5443 echo "$as_me:$LINENO: result: no" >&5
5444 echo "${ECHO_T}no" >&6
5449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5452 # Check whether --enable-snglinst or --disable-snglinst was given.
5453 if test "${enable_snglinst+set}" = set; then
5454 enableval
="$enable_snglinst"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5459 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5464 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5475 eval "$ac_cv_use_snglinst"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5481 echo "$as_me:$LINENO: result: yes" >&5
5482 echo "${ECHO_T}yes" >&6
5484 echo "$as_me:$LINENO: result: no" >&5
5485 echo "${ECHO_T}no" >&6
5490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5491 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5493 # Check whether --enable-streams or --disable-streams was given.
5494 if test "${enable_streams+set}" = set; then
5495 enableval
="$enable_streams"
5497 if test "$enableval" = yes; then
5498 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5500 ac_cv_use_streams
='wxUSE_STREAMS=no'
5505 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5506 if test "x$LINE" != x
; then
5507 eval "DEFAULT_$LINE"
5512 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5516 eval "$ac_cv_use_streams"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_STREAMS" = yes; then
5522 echo "$as_me:$LINENO: result: yes" >&5
5523 echo "${ECHO_T}yes" >&6
5525 echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6
5531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5532 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5534 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5535 if test "${enable_std_iostreams+set}" = set; then
5536 enableval
="$enable_std_iostreams"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5541 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5546 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5557 eval "$ac_cv_use_std_iostreams"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_STD_IOSTREAM" = yes; then
5563 echo "$as_me:$LINENO: result: yes" >&5
5564 echo "${ECHO_T}yes" >&6
5566 echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6
5572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5575 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5576 if test "${enable_stopwatch+set}" = set; then
5577 enableval
="$enable_stopwatch"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5582 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5587 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x
; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5598 eval "$ac_cv_use_stopwatch"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_STOPWATCH" = yes; then
5604 echo "$as_me:$LINENO: result: yes" >&5
5605 echo "${ECHO_T}yes" >&6
5607 echo "$as_me:$LINENO: result: no" >&5
5608 echo "${ECHO_T}no" >&6
5613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5614 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5616 # Check whether --enable-system_options or --disable-system_options was given.
5617 if test "${enable_system_options+set}" = set; then
5618 enableval
="$enable_system_options"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5623 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5628 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5639 eval "$ac_cv_use_system_options"
5640 if test "$no_cache" != 1; then
5641 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5644 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5645 echo "$as_me:$LINENO: result: yes" >&5
5646 echo "${ECHO_T}yes" >&6
5648 echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6
5654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5657 # Check whether --enable-textbuf or --disable-textbuf was given.
5658 if test "${enable_textbuf+set}" = set; then
5659 enableval
="$enable_textbuf"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5664 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5669 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x
; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5680 eval "$ac_cv_use_textbuf"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_TEXTBUFFER" = yes; then
5686 echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6
5689 echo "$as_me:$LINENO: result: no" >&5
5690 echo "${ECHO_T}no" >&6
5695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5696 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5698 # Check whether --enable-textfile or --disable-textfile was given.
5699 if test "${enable_textfile+set}" = set; then
5700 enableval
="$enable_textfile"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5705 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5710 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x
; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5721 eval "$ac_cv_use_textfile"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_TEXTFILE" = yes; then
5727 echo "$as_me:$LINENO: result: yes" >&5
5728 echo "${ECHO_T}yes" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5737 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5739 # Check whether --enable-timer or --disable-timer was given.
5740 if test "${enable_timer+set}" = set; then
5741 enableval
="$enable_timer"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_timer
='wxUSE_TIMER=yes'
5746 ac_cv_use_timer
='wxUSE_TIMER=no'
5751 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x
; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5762 eval "$ac_cv_use_timer"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_TIMER" = yes; then
5768 echo "$as_me:$LINENO: result: yes" >&5
5769 echo "${ECHO_T}yes" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5780 # Check whether --enable-unicode or --disable-unicode was given.
5781 if test "${enable_unicode+set}" = set; then
5782 enableval
="$enable_unicode"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5787 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5792 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x
; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5803 eval "$ac_cv_use_unicode"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_UNICODE" = yes; then
5809 echo "$as_me:$LINENO: result: yes" >&5
5810 echo "${ECHO_T}yes" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5819 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5821 # Check whether --enable-sound or --disable-sound was given.
5822 if test "${enable_sound+set}" = set; then
5823 enableval
="$enable_sound"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_sound
='wxUSE_SOUND=yes'
5828 ac_cv_use_sound
='wxUSE_SOUND=no'
5833 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x
; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5844 eval "$ac_cv_use_sound"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_SOUND" = yes; then
5850 echo "$as_me:$LINENO: result: yes" >&5
5851 echo "${ECHO_T}yes" >&6
5853 echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6
5859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5860 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5862 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5863 if test "${enable_mediactrl+set}" = set; then
5864 enableval
="$enable_mediactrl"
5866 if test "$enableval" = yes; then
5867 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
5869 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
5874 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5875 if test "x$LINE" != x
; then
5876 eval "DEFAULT_$LINE"
5881 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5885 eval "$ac_cv_use_mediactrl"
5886 if test "$no_cache" != 1; then
5887 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5890 if test "$wxUSE_MEDIACTRL" = yes; then
5891 echo "$as_me:$LINENO: result: yes" >&5
5892 echo "${ECHO_T}yes" >&6
5894 echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5903 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5904 if test "${enable_wxprintfv+set}" = set; then
5905 enableval
="$enable_wxprintfv"
5907 if test "$enableval" = yes; then
5908 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5910 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5915 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5916 if test "x$LINE" != x
; then
5917 eval "DEFAULT_$LINE"
5922 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5926 eval "$ac_cv_use_wxprintfv"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5932 echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6
5935 echo "$as_me:$LINENO: result: no" >&5
5936 echo "${ECHO_T}no" >&6
5941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5942 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5944 # Check whether --enable-zipstream or --disable-zipstream was given.
5945 if test "${enable_zipstream+set}" = set; then
5946 enableval
="$enable_zipstream"
5948 if test "$enableval" = yes; then
5949 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5951 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5956 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5957 if test "x$LINE" != x
; then
5958 eval "DEFAULT_$LINE"
5963 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5967 eval "$ac_cv_use_zipstream"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_ZIPSTREAM" = yes; then
5973 echo "$as_me:$LINENO: result: yes" >&5
5974 echo "${ECHO_T}yes" >&6
5976 echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6
5983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5986 # Check whether --enable-url or --disable-url was given.
5987 if test "${enable_url+set}" = set; then
5988 enableval
="$enable_url"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_url
='wxUSE_URL=yes'
5993 ac_cv_use_url
='wxUSE_URL=no'
5998 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6009 eval "$ac_cv_use_url"
6010 if test "$no_cache" != 1; then
6011 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6014 if test "$wxUSE_URL" = yes; then
6015 echo "$as_me:$LINENO: result: yes" >&5
6016 echo "${ECHO_T}yes" >&6
6018 echo "$as_me:$LINENO: result: no" >&5
6019 echo "${ECHO_T}no" >&6
6024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6025 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6027 # Check whether --enable-protocol or --disable-protocol was given.
6028 if test "${enable_protocol+set}" = set; then
6029 enableval
="$enable_protocol"
6031 if test "$enableval" = yes; then
6032 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6034 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6039 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x
; then
6041 eval "DEFAULT_$LINE"
6046 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6050 eval "$ac_cv_use_protocol"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_PROTOCOL" = yes; then
6056 echo "$as_me:$LINENO: result: yes" >&5
6057 echo "${ECHO_T}yes" >&6
6059 echo "$as_me:$LINENO: result: no" >&5
6060 echo "${ECHO_T}no" >&6
6065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6068 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6069 if test "${enable_protocol_http+set}" = set; then
6070 enableval
="$enable_protocol_http"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6075 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6080 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6091 eval "$ac_cv_use_protocol_http"
6092 if test "$no_cache" != 1; then
6093 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6096 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6097 echo "$as_me:$LINENO: result: yes" >&5
6098 echo "${ECHO_T}yes" >&6
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6109 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6110 if test "${enable_protocol_ftp+set}" = set; then
6111 enableval
="$enable_protocol_ftp"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6116 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6121 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6132 eval "$ac_cv_use_protocol_ftp"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6137 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6138 echo "$as_me:$LINENO: result: yes" >&5
6139 echo "${ECHO_T}yes" >&6
6141 echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6150 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6151 if test "${enable_protocol_file+set}" = set; then
6152 enableval
="$enable_protocol_file"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6157 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6162 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6173 eval "$ac_cv_use_protocol_file"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6192 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6194 # Check whether --enable-threads or --disable-threads was given.
6195 if test "${enable_threads+set}" = set; then
6196 enableval
="$enable_threads"
6198 if test "$enableval" = yes; then
6199 ac_cv_use_threads
='wxUSE_THREADS=yes'
6201 ac_cv_use_threads
='wxUSE_THREADS=no'
6206 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6207 if test "x$LINE" != x
; then
6208 eval "DEFAULT_$LINE"
6213 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6217 eval "$ac_cv_use_threads"
6218 if test "$no_cache" != 1; then
6219 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6222 if test "$wxUSE_THREADS" = yes; then
6223 echo "$as_me:$LINENO: result: yes" >&5
6224 echo "${ECHO_T}yes" >&6
6226 echo "$as_me:$LINENO: result: no" >&5
6227 echo "${ECHO_T}no" >&6
6231 if test "$wxUSE_GUI" = "yes"; then
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6239 # Check whether --enable-docview or --disable-docview was given.
6240 if test "${enable_docview+set}" = set; then
6241 enableval
="$enable_docview"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6246 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6251 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x
; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6262 eval "$ac_cv_use_docview"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6280 # Check whether --enable-help or --disable-help was given.
6281 if test "${enable_help+set}" = set; then
6282 enableval
="$enable_help"
6284 if test "$enableval" = yes; then
6285 ac_cv_use_help
='wxUSE_HELP=yes'
6287 ac_cv_use_help
='wxUSE_HELP=no'
6292 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x
; then
6294 eval "DEFAULT_$LINE"
6299 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6303 eval "$ac_cv_use_help"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_HELP" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6321 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6322 if test "${enable_mshtmlhelp+set}" = set; then
6323 enableval
="$enable_mshtmlhelp"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6328 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6333 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6344 eval "$ac_cv_use_mshtmlhelp"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_MS_HTML_HELP" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6362 # Check whether --enable-html or --disable-html was given.
6363 if test "${enable_html+set}" = set; then
6364 enableval
="$enable_html"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_html
='wxUSE_HTML=yes'
6369 ac_cv_use_html
='wxUSE_HTML=no'
6374 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x
; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6385 eval "$ac_cv_use_html"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_HTML" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6403 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6404 if test "${enable_htmlhelp+set}" = set; then
6405 enableval
="$enable_htmlhelp"
6407 if test "$enableval" = yes; then
6408 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6410 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6415 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x
; then
6417 eval "DEFAULT_$LINE"
6422 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6426 eval "$ac_cv_use_htmlhelp"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_WXHTML_HELP" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6444 # Check whether --enable-xrc or --disable-xrc was given.
6445 if test "${enable_xrc+set}" = set; then
6446 enableval
="$enable_xrc"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_xrc
='wxUSE_XRC=yes'
6451 ac_cv_use_xrc
='wxUSE_XRC=no'
6456 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6467 eval "$ac_cv_use_xrc"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_XRC" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6485 # Check whether --enable-constraints or --disable-constraints was given.
6486 if test "${enable_constraints+set}" = set; then
6487 enableval
="$enable_constraints"
6489 if test "$enableval" = yes; then
6490 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6492 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6497 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x
; then
6499 eval "DEFAULT_$LINE"
6504 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6508 eval "$ac_cv_use_constraints"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_CONSTRAINTS" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6524 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6526 # Check whether --enable-printarch or --disable-printarch was given.
6527 if test "${enable_printarch+set}" = set; then
6528 enableval
="$enable_printarch"
6530 if test "$enableval" = yes; then
6531 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6533 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6538 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x
; then
6540 eval "DEFAULT_$LINE"
6545 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6549 eval "$ac_cv_use_printarch"
6550 if test "$no_cache" != 1; then
6551 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6554 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6555 echo "$as_me:$LINENO: result: yes" >&5
6556 echo "${ECHO_T}yes" >&6
6558 echo "$as_me:$LINENO: result: no" >&5
6559 echo "${ECHO_T}no" >&6
6564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6565 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6567 # Check whether --enable-mdi or --disable-mdi was given.
6568 if test "${enable_mdi+set}" = set; then
6569 enableval
="$enable_mdi"
6571 if test "$enableval" = yes; then
6572 ac_cv_use_mdi
='wxUSE_MDI=yes'
6574 ac_cv_use_mdi
='wxUSE_MDI=no'
6579 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6580 if test "x$LINE" != x
; then
6581 eval "DEFAULT_$LINE"
6586 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6590 eval "$ac_cv_use_mdi"
6591 if test "$no_cache" != 1; then
6592 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6595 if test "$wxUSE_MDI" = yes; then
6596 echo "$as_me:$LINENO: result: yes" >&5
6597 echo "${ECHO_T}yes" >&6
6599 echo "$as_me:$LINENO: result: no" >&5
6600 echo "${ECHO_T}no" >&6
6605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6606 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6608 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6609 if test "${enable_mdidoc+set}" = set; then
6610 enableval
="$enable_mdidoc"
6612 if test "$enableval" = yes; then
6613 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6615 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6620 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x
; then
6622 eval "DEFAULT_$LINE"
6627 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6631 eval "$ac_cv_use_mdidoc"
6632 if test "$no_cache" != 1; then
6633 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6636 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6637 echo "$as_me:$LINENO: result: yes" >&5
6638 echo "${ECHO_T}yes" >&6
6640 echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6
6646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6649 # Check whether --enable-loggui or --disable-loggui was given.
6650 if test "${enable_loggui+set}" = set; then
6651 enableval
="$enable_loggui"
6653 if test "$enableval" = yes; then
6654 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6656 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6661 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x
; then
6663 eval "DEFAULT_$LINE"
6668 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6672 eval "$ac_cv_use_loggui"
6673 if test "$no_cache" != 1; then
6674 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6677 if test "$wxUSE_LOGGUI" = yes; then
6678 echo "$as_me:$LINENO: result: yes" >&5
6679 echo "${ECHO_T}yes" >&6
6681 echo "$as_me:$LINENO: result: no" >&5
6682 echo "${ECHO_T}no" >&6
6687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6688 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6690 # Check whether --enable-logwin or --disable-logwin was given.
6691 if test "${enable_logwin+set}" = set; then
6692 enableval
="$enable_logwin"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6697 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6702 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x
; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6713 eval "$ac_cv_use_logwin"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_LOGWINDOW" = yes; then
6719 echo "$as_me:$LINENO: result: yes" >&5
6720 echo "${ECHO_T}yes" >&6
6722 echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6731 # Check whether --enable-logdialog or --disable-logdialog was given.
6732 if test "${enable_logdialog+set}" = set; then
6733 enableval
="$enable_logdialog"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6738 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6743 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6754 eval "$ac_cv_use_logdialog"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_LOGDIALOG" = yes; then
6760 echo "$as_me:$LINENO: result: yes" >&5
6761 echo "${ECHO_T}yes" >&6
6763 echo "$as_me:$LINENO: result: no" >&5
6764 echo "${ECHO_T}no" >&6
6769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6770 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6772 # Check whether --enable-webkit or --disable-webkit was given.
6773 if test "${enable_webkit+set}" = set; then
6774 enableval
="$enable_webkit"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6779 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6784 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x
; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6795 eval "$ac_cv_use_webkit"
6796 if test "$no_cache" != 1; then
6797 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6800 if test "$wxUSE_WEBKIT" = yes; then
6801 echo "$as_me:$LINENO: result: yes" >&5
6802 echo "${ECHO_T}yes" >&6
6804 echo "$as_me:$LINENO: result: no" >&5
6805 echo "${ECHO_T}no" >&6
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6814 # Check whether --enable-postscript or --disable-postscript was given.
6815 if test "${enable_postscript+set}" = set; then
6816 enableval
="$enable_postscript"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6821 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6826 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6837 eval "$ac_cv_use_postscript"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_POSTSCRIPT" = yes; then
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6856 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6858 # Check whether --enable-prologio or --disable-prologio was given.
6859 if test "${enable_prologio+set}" = set; then
6860 enableval
="$enable_prologio"
6862 if test "$enableval" = yes; then
6863 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6865 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6870 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x
; then
6872 eval "DEFAULT_$LINE"
6877 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6881 eval "$ac_cv_use_prologio"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6886 if test "$wxUSE_PROLOGIO" = yes; then
6887 echo "$as_me:$LINENO: result: yes" >&5
6888 echo "${ECHO_T}yes" >&6
6890 echo "$as_me:$LINENO: result: no" >&5
6891 echo "${ECHO_T}no" >&6
6896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6897 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6899 # Check whether --enable-resources or --disable-resources was given.
6900 if test "${enable_resources+set}" = set; then
6901 enableval
="$enable_resources"
6903 if test "$enableval" = yes; then
6904 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6906 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6911 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x
; then
6913 eval "DEFAULT_$LINE"
6918 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6922 eval "$ac_cv_use_resources"
6923 if test "$no_cache" != 1; then
6924 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6927 if test "$wxUSE_RESOURCES" = yes; then
6928 echo "$as_me:$LINENO: result: yes" >&5
6929 echo "${ECHO_T}yes" >&6
6931 echo "$as_me:$LINENO: result: no" >&5
6932 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6942 # Check whether --enable-clipboard or --disable-clipboard was given.
6943 if test "${enable_clipboard+set}" = set; then
6944 enableval
="$enable_clipboard"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6949 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6954 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x
; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6965 eval "$ac_cv_use_clipboard"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_CLIPBOARD" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6983 # Check whether --enable-dnd or --disable-dnd was given.
6984 if test "${enable_dnd+set}" = set; then
6985 enableval
="$enable_dnd"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6990 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6995 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7006 eval "$ac_cv_use_dnd"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7024 # Check whether --enable-metafile or --disable-metafile was given.
7025 if test "${enable_metafile+set}" = set; then
7026 enableval
="$enable_metafile"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7031 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7036 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x
; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7047 eval "$ac_cv_use_metafile"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_METAFILE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7068 # Check whether --enable-controls or --disable-controls was given.
7069 if test "${enable_controls+set}" = set; then
7070 enableval
="$enable_controls"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7075 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7080 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x
; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7091 eval "$ac_cv_use_controls"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7096 if test "$wxUSE_CONTROLS" = yes; then
7097 echo "$as_me:$LINENO: result: yes" >&5
7098 echo "${ECHO_T}yes" >&6
7100 echo "$as_me:$LINENO: result: no" >&5
7101 echo "${ECHO_T}no" >&6
7105 if test "$wxUSE_CONTROLS" = "yes"; then
7106 DEFAULT_wxUSE_ACCEL
=yes
7107 DEFAULT_wxUSE_BMPBUTTON
=yes
7108 DEFAULT_wxUSE_BUTTON
=yes
7109 DEFAULT_wxUSE_CALCTRL
=no
7110 DEFAULT_wxUSE_CARET
=yes
7111 DEFAULT_wxUSE_COMBOBOX
=yes
7112 DEFAULT_wxUSE_CHECKBOX
=yes
7113 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7114 DEFAULT_wxUSE_CHOICE
=yes
7115 DEFAULT_wxUSE_CHOICEBOOK
=yes
7116 DEFAULT_wxUSE_GAUGE
=yes
7117 DEFAULT_wxUSE_GRID
=yes
7118 DEFAULT_wxUSE_IMAGLIST
=yes
7119 DEFAULT_wxUSE_LISTBOOK
=yes
7120 DEFAULT_wxUSE_LISTBOX
=yes
7121 DEFAULT_wxUSE_LISTCTRL
=yes
7122 DEFAULT_wxUSE_NOTEBOOK
=yes
7123 DEFAULT_wxUSE_RADIOBOX
=yes
7124 DEFAULT_wxUSE_RADIOBTN
=yes
7125 DEFAULT_wxUSE_SASH
=yes
7126 DEFAULT_wxUSE_SCROLLBAR
=yes
7127 DEFAULT_wxUSE_SLIDER
=yes
7128 DEFAULT_wxUSE_SPINBTN
=yes
7129 DEFAULT_wxUSE_SPINCTRL
=yes
7130 DEFAULT_wxUSE_SPLITTER
=yes
7131 DEFAULT_wxUSE_STATBMP
=yes
7132 DEFAULT_wxUSE_STATBOX
=yes
7133 DEFAULT_wxUSE_STATLINE
=yes
7134 DEFAULT_wxUSE_STATUSBAR
=yes
7135 DEFAULT_wxUSE_TAB_DIALOG
=yes
7136 DEFAULT_wxUSE_TOGGLEBTN
=yes
7137 DEFAULT_wxUSE_TOOLBAR
=yes
7138 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7139 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7140 DEFAULT_wxUSE_TOOLTIPS
=yes
7141 DEFAULT_wxUSE_TREECTRL
=yes
7142 DEFAULT_wxUSE_POPUPWIN
=yes
7143 DEFAULT_wxUSE_TIPWINDOW
=yes
7144 elif test "$wxUSE_CONTROLS" = "no"; then
7145 DEFAULT_wxUSE_ACCEL
=no
7146 DEFAULT_wxUSE_BMPBUTTON
=no
7147 DEFAULT_wxUSE_BUTTON
=no
7148 DEFAULT_wxUSE_CALCTRL
=no
7149 DEFAULT_wxUSE_CARET
=no
7150 DEFAULT_wxUSE_COMBOBOX
=no
7151 DEFAULT_wxUSE_CHECKBOX
=no
7152 DEFAULT_wxUSE_CHECKLISTBOX
=no
7153 DEFAULT_wxUSE_CHOICE
=no
7154 DEFAULT_wxUSE_CHOICEBOOK
=no
7155 DEFAULT_wxUSE_GAUGE
=no
7156 DEFAULT_wxUSE_GRID
=no
7157 DEFAULT_wxUSE_IMAGLIST
=no
7158 DEFAULT_wxUSE_LISTBOOK
=no
7159 DEFAULT_wxUSE_LISTBOX
=no
7160 DEFAULT_wxUSE_LISTCTRL
=no
7161 DEFAULT_wxUSE_NOTEBOOK
=no
7162 DEFAULT_wxUSE_RADIOBOX
=no
7163 DEFAULT_wxUSE_RADIOBTN
=no
7164 DEFAULT_wxUSE_SASH
=no
7165 DEFAULT_wxUSE_SCROLLBAR
=no
7166 DEFAULT_wxUSE_SLIDER
=no
7167 DEFAULT_wxUSE_SPINBTN
=no
7168 DEFAULT_wxUSE_SPINCTRL
=no
7169 DEFAULT_wxUSE_SPLITTER
=no
7170 DEFAULT_wxUSE_STATBMP
=no
7171 DEFAULT_wxUSE_STATBOX
=no
7172 DEFAULT_wxUSE_STATLINE
=no
7173 DEFAULT_wxUSE_STATUSBAR
=no
7174 DEFAULT_wxUSE_TAB_DIALOG
=no
7175 DEFAULT_wxUSE_TOGGLEBTN
=no
7176 DEFAULT_wxUSE_TOOLBAR
=no
7177 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7178 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7179 DEFAULT_wxUSE_TOOLTIPS
=no
7180 DEFAULT_wxUSE_TREECTRL
=no
7181 DEFAULT_wxUSE_POPUPWIN
=no
7182 DEFAULT_wxUSE_TIPWINDOW
=no
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7190 # Check whether --enable-accel or --disable-accel was given.
7191 if test "${enable_accel+set}" = set; then
7192 enableval
="$enable_accel"
7194 if test "$enableval" = yes; then
7195 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7197 ac_cv_use_accel
='wxUSE_ACCEL=no'
7202 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x
; then
7204 eval "DEFAULT_$LINE"
7209 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7213 eval "$ac_cv_use_accel"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_ACCEL" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7231 # Check whether --enable-button or --disable-button was given.
7232 if test "${enable_button+set}" = set; then
7233 enableval
="$enable_button"
7235 if test "$enableval" = yes; then
7236 ac_cv_use_button
='wxUSE_BUTTON=yes'
7238 ac_cv_use_button
='wxUSE_BUTTON=no'
7243 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x
; then
7245 eval "DEFAULT_$LINE"
7250 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7254 eval "$ac_cv_use_button"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7259 if test "$wxUSE_BUTTON" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7272 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7273 if test "${enable_bmpbutton+set}" = set; then
7274 enableval
="$enable_bmpbutton"
7276 if test "$enableval" = yes; then
7277 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7279 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7284 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x
; then
7286 eval "DEFAULT_$LINE"
7291 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7295 eval "$ac_cv_use_bmpbutton"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7300 if test "$wxUSE_BMPBUTTON" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7313 # Check whether --enable-calendar or --disable-calendar was given.
7314 if test "${enable_calendar+set}" = set; then
7315 enableval
="$enable_calendar"
7317 if test "$enableval" = yes; then
7318 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7320 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7325 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x
; then
7327 eval "DEFAULT_$LINE"
7332 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7336 eval "$ac_cv_use_calendar"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7341 if test "$wxUSE_CALCTRL" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7354 # Check whether --enable-caret or --disable-caret was given.
7355 if test "${enable_caret+set}" = set; then
7356 enableval
="$enable_caret"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_caret
='wxUSE_CARET=yes'
7361 ac_cv_use_caret
='wxUSE_CARET=no'
7366 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x
; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7377 eval "$ac_cv_use_caret"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7382 if test "$wxUSE_CARET" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7395 # Check whether --enable-checkbox or --disable-checkbox was given.
7396 if test "${enable_checkbox+set}" = set; then
7397 enableval
="$enable_checkbox"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7402 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7407 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x
; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7418 eval "$ac_cv_use_checkbox"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7423 if test "$wxUSE_CHECKBOX" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7436 # Check whether --enable-checklst or --disable-checklst was given.
7437 if test "${enable_checklst+set}" = set; then
7438 enableval
="$enable_checklst"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7443 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7448 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x
; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7459 eval "$ac_cv_use_checklst"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_CHECKLST" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7477 # Check whether --enable-choice or --disable-choice was given.
7478 if test "${enable_choice+set}" = set; then
7479 enableval
="$enable_choice"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7484 ac_cv_use_choice
='wxUSE_CHOICE=no'
7489 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x
; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7500 eval "$ac_cv_use_choice"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_CHOICE" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7518 # Check whether --enable-choicebook or --disable-choicebook was given.
7519 if test "${enable_choicebook+set}" = set; then
7520 enableval
="$enable_choicebook"
7522 if test "$enableval" = yes; then
7523 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7525 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7530 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x
; then
7532 eval "DEFAULT_$LINE"
7537 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7541 eval "$ac_cv_use_choicebook"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7546 if test "$wxUSE_CHOICEBOOK" = yes; then
7547 echo "$as_me:$LINENO: result: yes" >&5
7548 echo "${ECHO_T}yes" >&6
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7559 # Check whether --enable-combobox or --disable-combobox was given.
7560 if test "${enable_combobox+set}" = set; then
7561 enableval
="$enable_combobox"
7563 if test "$enableval" = yes; then
7564 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7566 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7571 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x
; then
7573 eval "DEFAULT_$LINE"
7578 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7582 eval "$ac_cv_use_combobox"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7587 if test "$wxUSE_COMBOBOX" = yes; then
7588 echo "$as_me:$LINENO: result: yes" >&5
7589 echo "${ECHO_T}yes" >&6
7591 echo "$as_me:$LINENO: result: no" >&5
7592 echo "${ECHO_T}no" >&6
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7600 # Check whether --enable-display or --disable-display was given.
7601 if test "${enable_display+set}" = set; then
7602 enableval
="$enable_display"
7604 if test "$enableval" = yes; then
7605 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7607 ac_cv_use_display
='wxUSE_DISPLAY=no'
7612 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x
; then
7614 eval "DEFAULT_$LINE"
7619 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7623 eval "$ac_cv_use_display"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7628 if test "$wxUSE_DISPLAY" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630 echo "${ECHO_T}yes" >&6
7632 echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7641 # Check whether --enable-gauge or --disable-gauge was given.
7642 if test "${enable_gauge+set}" = set; then
7643 enableval
="$enable_gauge"
7645 if test "$enableval" = yes; then
7646 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7648 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7653 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x
; then
7655 eval "DEFAULT_$LINE"
7660 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7664 eval "$ac_cv_use_gauge"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7669 if test "$wxUSE_GAUGE" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671 echo "${ECHO_T}yes" >&6
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7682 # Check whether --enable-grid or --disable-grid was given.
7683 if test "${enable_grid+set}" = set; then
7684 enableval
="$enable_grid"
7686 if test "$enableval" = yes; then
7687 ac_cv_use_grid
='wxUSE_GRID=yes'
7689 ac_cv_use_grid
='wxUSE_GRID=no'
7694 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x
; then
7696 eval "DEFAULT_$LINE"
7701 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7705 eval "$ac_cv_use_grid"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7710 if test "$wxUSE_GRID" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7723 # Check whether --enable-imaglist or --disable-imaglist was given.
7724 if test "${enable_imaglist+set}" = set; then
7725 enableval
="$enable_imaglist"
7727 if test "$enableval" = yes; then
7728 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7730 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7735 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x
; then
7737 eval "DEFAULT_$LINE"
7742 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7746 eval "$ac_cv_use_imaglist"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7751 if test "$wxUSE_IMAGLIST" = yes; then
7752 echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6
7755 echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6
7761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7764 # Check whether --enable-listbook or --disable-listbook was given.
7765 if test "${enable_listbook+set}" = set; then
7766 enableval
="$enable_listbook"
7768 if test "$enableval" = yes; then
7769 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7771 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7776 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x
; then
7778 eval "DEFAULT_$LINE"
7783 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7787 eval "$ac_cv_use_listbook"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7792 if test "$wxUSE_LISTBOOK" = yes; then
7793 echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6
7796 echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6
7802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7805 # Check whether --enable-listbox or --disable-listbox was given.
7806 if test "${enable_listbox+set}" = set; then
7807 enableval
="$enable_listbox"
7809 if test "$enableval" = yes; then
7810 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7812 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7817 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x
; then
7819 eval "DEFAULT_$LINE"
7824 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7828 eval "$ac_cv_use_listbox"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7833 if test "$wxUSE_LISTBOX" = yes; then
7834 echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6
7837 echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6
7843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7846 # Check whether --enable-listctrl or --disable-listctrl was given.
7847 if test "${enable_listctrl+set}" = set; then
7848 enableval
="$enable_listctrl"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7853 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7858 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x
; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7869 eval "$ac_cv_use_listctrl"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7874 if test "$wxUSE_LISTCTRL" = yes; then
7875 echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6
7878 echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6
7884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7887 # Check whether --enable-notebook or --disable-notebook was given.
7888 if test "${enable_notebook+set}" = set; then
7889 enableval
="$enable_notebook"
7891 if test "$enableval" = yes; then
7892 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7894 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7899 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x
; then
7901 eval "DEFAULT_$LINE"
7906 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7910 eval "$ac_cv_use_notebook"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7915 if test "$wxUSE_NOTEBOOK" = yes; then
7916 echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6
7919 echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6
7925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7928 # Check whether --enable-radiobox or --disable-radiobox was given.
7929 if test "${enable_radiobox+set}" = set; then
7930 enableval
="$enable_radiobox"
7932 if test "$enableval" = yes; then
7933 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7935 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7940 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x
; then
7942 eval "DEFAULT_$LINE"
7947 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7951 eval "$ac_cv_use_radiobox"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7956 if test "$wxUSE_RADIOBOX" = yes; then
7957 echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6
7960 echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6
7966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7969 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7970 if test "${enable_radiobtn+set}" = set; then
7971 enableval
="$enable_radiobtn"
7973 if test "$enableval" = yes; then
7974 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7976 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7981 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x
; then
7983 eval "DEFAULT_$LINE"
7988 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7992 eval "$ac_cv_use_radiobtn"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7997 if test "$wxUSE_RADIOBTN" = yes; then
7998 echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6
8001 echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6
8007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8010 # Check whether --enable-sash or --disable-sash was given.
8011 if test "${enable_sash+set}" = set; then
8012 enableval
="$enable_sash"
8014 if test "$enableval" = yes; then
8015 ac_cv_use_sash
='wxUSE_SASH=yes'
8017 ac_cv_use_sash
='wxUSE_SASH=no'
8022 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8023 if test "x$LINE" != x
; then
8024 eval "DEFAULT_$LINE"
8029 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8033 eval "$ac_cv_use_sash"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8038 if test "$wxUSE_SASH" = yes; then
8039 echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6
8042 echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6
8048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8051 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8052 if test "${enable_scrollbar+set}" = set; then
8053 enableval
="$enable_scrollbar"
8055 if test "$enableval" = yes; then
8056 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8058 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8063 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x
; then
8065 eval "DEFAULT_$LINE"
8070 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8074 eval "$ac_cv_use_scrollbar"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8079 if test "$wxUSE_SCROLLBAR" = yes; then
8080 echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6
8083 echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6
8089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8092 # Check whether --enable-slider or --disable-slider was given.
8093 if test "${enable_slider+set}" = set; then
8094 enableval
="$enable_slider"
8096 if test "$enableval" = yes; then
8097 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8099 ac_cv_use_slider
='wxUSE_SLIDER=no'
8104 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8105 if test "x$LINE" != x
; then
8106 eval "DEFAULT_$LINE"
8111 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8115 eval "$ac_cv_use_slider"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8120 if test "$wxUSE_SLIDER" = yes; then
8121 echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6
8124 echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8133 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8134 if test "${enable_spinbtn+set}" = set; then
8135 enableval
="$enable_spinbtn"
8137 if test "$enableval" = yes; then
8138 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8140 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8145 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x
; then
8147 eval "DEFAULT_$LINE"
8152 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8156 eval "$ac_cv_use_spinbtn"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8161 if test "$wxUSE_SPINBTN" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8174 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8175 if test "${enable_spinctrl+set}" = set; then
8176 enableval
="$enable_spinctrl"
8178 if test "$enableval" = yes; then
8179 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8181 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8186 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x
; then
8188 eval "DEFAULT_$LINE"
8193 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8197 eval "$ac_cv_use_spinctrl"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8202 if test "$wxUSE_SPINCTRL" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8215 # Check whether --enable-splitter or --disable-splitter was given.
8216 if test "${enable_splitter+set}" = set; then
8217 enableval
="$enable_splitter"
8219 if test "$enableval" = yes; then
8220 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8222 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8227 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x
; then
8229 eval "DEFAULT_$LINE"
8234 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8238 eval "$ac_cv_use_splitter"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_SPLITTER" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8256 # Check whether --enable-statbmp or --disable-statbmp was given.
8257 if test "${enable_statbmp+set}" = set; then
8258 enableval
="$enable_statbmp"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8263 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8268 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x
; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8279 eval "$ac_cv_use_statbmp"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8284 if test "$wxUSE_STATBMP" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8297 # Check whether --enable-statbox or --disable-statbox was given.
8298 if test "${enable_statbox+set}" = set; then
8299 enableval
="$enable_statbox"
8301 if test "$enableval" = yes; then
8302 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8304 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8309 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x
; then
8311 eval "DEFAULT_$LINE"
8316 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8320 eval "$ac_cv_use_statbox"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_STATBOX" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8338 # Check whether --enable-statline or --disable-statline was given.
8339 if test "${enable_statline+set}" = set; then
8340 enableval
="$enable_statline"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8345 ac_cv_use_statline
='wxUSE_STATLINE=no'
8350 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x
; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8361 eval "$ac_cv_use_statline"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8366 if test "$wxUSE_STATLINE" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8379 # Check whether --enable-stattext or --disable-stattext was given.
8380 if test "${enable_stattext+set}" = set; then
8381 enableval
="$enable_stattext"
8383 if test "$enableval" = yes; then
8384 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8386 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8391 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x
; then
8393 eval "DEFAULT_$LINE"
8398 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8402 eval "$ac_cv_use_stattext"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_STATTEXT" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8420 # Check whether --enable-statusbar or --disable-statusbar was given.
8421 if test "${enable_statusbar+set}" = set; then
8422 enableval
="$enable_statusbar"
8424 if test "$enableval" = yes; then
8425 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8427 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8432 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x
; then
8434 eval "DEFAULT_$LINE"
8439 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8443 eval "$ac_cv_use_statusbar"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8448 if test "$wxUSE_STATUSBAR" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8461 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8462 if test "${enable_tabdialog+set}" = set; then
8463 enableval
="$enable_tabdialog"
8465 if test "$enableval" = yes; then
8466 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8468 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8473 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x
; then
8475 eval "DEFAULT_$LINE"
8480 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8484 eval "$ac_cv_use_tabdialog"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8489 if test "$wxUSE_TABDIALOG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8502 # Check whether --enable-textctrl or --disable-textctrl was given.
8503 if test "${enable_textctrl+set}" = set; then
8504 enableval
="$enable_textctrl"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8509 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8514 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x
; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8525 eval "$ac_cv_use_textctrl"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8530 if test "$wxUSE_TEXTCTRL" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8543 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8544 if test "${enable_togglebtn+set}" = set; then
8545 enableval
="$enable_togglebtn"
8547 if test "$enableval" = yes; then
8548 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8550 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8555 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x
; then
8557 eval "DEFAULT_$LINE"
8562 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8566 eval "$ac_cv_use_togglebtn"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8571 if test "$wxUSE_TOGGLEBTN" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8584 # Check whether --enable-toolbar or --disable-toolbar was given.
8585 if test "${enable_toolbar+set}" = set; then
8586 enableval
="$enable_toolbar"
8588 if test "$enableval" = yes; then
8589 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8591 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8596 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x
; then
8598 eval "DEFAULT_$LINE"
8603 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8607 eval "$ac_cv_use_toolbar"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8612 if test "$wxUSE_TOOLBAR" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8625 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8626 if test "${enable_tbarnative+set}" = set; then
8627 enableval
="$enable_tbarnative"
8629 if test "$enableval" = yes; then
8630 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8632 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8637 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x
; then
8639 eval "DEFAULT_$LINE"
8644 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8648 eval "$ac_cv_use_tbarnative"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8653 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8666 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8667 if test "${enable_tbarsmpl+set}" = set; then
8668 enableval
="$enable_tbarsmpl"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8673 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8678 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x
; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8689 eval "$ac_cv_use_tbarsmpl"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8694 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8707 # Check whether --enable-treectrl or --disable-treectrl was given.
8708 if test "${enable_treectrl+set}" = set; then
8709 enableval
="$enable_treectrl"
8711 if test "$enableval" = yes; then
8712 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8714 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8719 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x
; then
8721 eval "DEFAULT_$LINE"
8726 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8730 eval "$ac_cv_use_treectrl"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8735 if test "$wxUSE_TREECTRL" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8748 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8749 if test "${enable_tipwindow+set}" = set; then
8750 enableval
="$enable_tipwindow"
8752 if test "$enableval" = yes; then
8753 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8755 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8760 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x
; then
8762 eval "DEFAULT_$LINE"
8767 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8771 eval "$ac_cv_use_tipwindow"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8776 if test "$wxUSE_TIPWINDOW" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8789 # Check whether --enable-popupwin or --disable-popupwin was given.
8790 if test "${enable_popupwin+set}" = set; then
8791 enableval
="$enable_popupwin"
8793 if test "$enableval" = yes; then
8794 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8796 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8801 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x
; then
8803 eval "DEFAULT_$LINE"
8808 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8812 eval "$ac_cv_use_popupwin"
8813 if test "$no_cache" != 1; then
8814 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8817 if test "$wxUSE_POPUPWIN" = yes; then
8818 echo "$as_me:$LINENO: result: yes" >&5
8819 echo "${ECHO_T}yes" >&6
8821 echo "$as_me:$LINENO: result: no" >&5
8822 echo "${ECHO_T}no" >&6
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8832 # Check whether --enable-commondlg or --disable-commondlg was given.
8833 if test "${enable_commondlg+set}" = set; then
8834 enableval
="$enable_commondlg"
8836 if test "$enableval" = yes; then
8837 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8839 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8844 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x
; then
8846 eval "DEFAULT_$LINE"
8851 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8855 eval "$ac_cv_use_commondlg"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8860 if test "$wxUSE_COMMONDLGS" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8873 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8874 if test "${enable_choicedlg+set}" = set; then
8875 enableval
="$enable_choicedlg"
8877 if test "$enableval" = yes; then
8878 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8880 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8885 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x
; then
8887 eval "DEFAULT_$LINE"
8892 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8896 eval "$ac_cv_use_choicedlg"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8901 if test "$wxUSE_CHOICEDLG" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8914 # Check whether --enable-coldlg or --disable-coldlg was given.
8915 if test "${enable_coldlg+set}" = set; then
8916 enableval
="$enable_coldlg"
8918 if test "$enableval" = yes; then
8919 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8921 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8926 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x
; then
8928 eval "DEFAULT_$LINE"
8933 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8937 eval "$ac_cv_use_coldlg"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8942 if test "$wxUSE_COLOURDLG" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8955 # Check whether --enable-filedlg or --disable-filedlg was given.
8956 if test "${enable_filedlg+set}" = set; then
8957 enableval
="$enable_filedlg"
8959 if test "$enableval" = yes; then
8960 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8962 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8967 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x
; then
8969 eval "DEFAULT_$LINE"
8974 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8978 eval "$ac_cv_use_filedlg"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8983 if test "$wxUSE_FILEDLG" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8996 # Check whether --enable-finddlg or --disable-finddlg was given.
8997 if test "${enable_finddlg+set}" = set; then
8998 enableval
="$enable_finddlg"
9000 if test "$enableval" = yes; then
9001 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9003 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9008 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x
; then
9010 eval "DEFAULT_$LINE"
9015 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9019 eval "$ac_cv_use_finddlg"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9024 if test "$wxUSE_FINDREPLDLG" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9037 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9038 if test "${enable_fontdlg+set}" = set; then
9039 enableval
="$enable_fontdlg"
9041 if test "$enableval" = yes; then
9042 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9044 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9049 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x
; then
9051 eval "DEFAULT_$LINE"
9056 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9060 eval "$ac_cv_use_fontdlg"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9065 if test "$wxUSE_FONTDLG" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9078 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9079 if test "${enable_dirdlg+set}" = set; then
9080 enableval
="$enable_dirdlg"
9082 if test "$enableval" = yes; then
9083 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9085 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9090 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x
; then
9092 eval "DEFAULT_$LINE"
9097 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9101 eval "$ac_cv_use_dirdlg"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9106 if test "$wxUSE_DIRDLG" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9119 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9120 if test "${enable_msgdlg+set}" = set; then
9121 enableval
="$enable_msgdlg"
9123 if test "$enableval" = yes; then
9124 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9126 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9131 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x
; then
9133 eval "DEFAULT_$LINE"
9138 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9142 eval "$ac_cv_use_msgdlg"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9147 if test "$wxUSE_MSGDLG" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6
9151 echo "$as_me:$LINENO: result: no" >&5
9152 echo "${ECHO_T}no" >&6
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9160 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9161 if test "${enable_numberdlg+set}" = set; then
9162 enableval
="$enable_numberdlg"
9164 if test "$enableval" = yes; then
9165 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9167 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9172 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x
; then
9174 eval "DEFAULT_$LINE"
9179 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9183 eval "$ac_cv_use_numberdlg"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9188 if test "$wxUSE_NUMBERDLG" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190 echo "${ECHO_T}yes" >&6
9192 echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6
9198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9201 # Check whether --enable-splash or --disable-splash was given.
9202 if test "${enable_splash+set}" = set; then
9203 enableval
="$enable_splash"
9205 if test "$enableval" = yes; then
9206 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9208 ac_cv_use_splash
='wxUSE_SPLASH=no'
9213 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9214 if test "x$LINE" != x
; then
9215 eval "DEFAULT_$LINE"
9220 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9224 eval "$ac_cv_use_splash"
9225 if test "$no_cache" != 1; then
9226 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9229 if test "$wxUSE_SPLASH" = yes; then
9230 echo "$as_me:$LINENO: result: yes" >&5
9231 echo "${ECHO_T}yes" >&6
9233 echo "$as_me:$LINENO: result: no" >&5
9234 echo "${ECHO_T}no" >&6
9239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9240 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9242 # Check whether --enable-textdlg or --disable-textdlg was given.
9243 if test "${enable_textdlg+set}" = set; then
9244 enableval
="$enable_textdlg"
9246 if test "$enableval" = yes; then
9247 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9249 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9254 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9255 if test "x$LINE" != x
; then
9256 eval "DEFAULT_$LINE"
9261 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9265 eval "$ac_cv_use_textdlg"
9266 if test "$no_cache" != 1; then
9267 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9270 if test "$wxUSE_TEXTDLG" = yes; then
9271 echo "$as_me:$LINENO: result: yes" >&5
9272 echo "${ECHO_T}yes" >&6
9274 echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6
9280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9281 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9283 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9284 if test "${enable_tipdlg+set}" = set; then
9285 enableval
="$enable_tipdlg"
9287 if test "$enableval" = yes; then
9288 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9290 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9295 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9296 if test "x$LINE" != x
; then
9297 eval "DEFAULT_$LINE"
9302 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9306 eval "$ac_cv_use_tipdlg"
9307 if test "$no_cache" != 1; then
9308 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9311 if test "$wxUSE_STARTUP_TIPS" = yes; then
9312 echo "$as_me:$LINENO: result: yes" >&5
9313 echo "${ECHO_T}yes" >&6
9315 echo "$as_me:$LINENO: result: no" >&5
9316 echo "${ECHO_T}no" >&6
9321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9324 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9325 if test "${enable_progressdlg+set}" = set; then
9326 enableval
="$enable_progressdlg"
9328 if test "$enableval" = yes; then
9329 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9331 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9336 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9337 if test "x$LINE" != x
; then
9338 eval "DEFAULT_$LINE"
9343 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9347 eval "$ac_cv_use_progressdlg"
9348 if test "$no_cache" != 1; then
9349 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9352 if test "$wxUSE_PROGRESSDLG" = yes; then
9353 echo "$as_me:$LINENO: result: yes" >&5
9354 echo "${ECHO_T}yes" >&6
9356 echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6
9362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9363 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9365 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9366 if test "${enable_wizarddlg+set}" = set; then
9367 enableval
="$enable_wizarddlg"
9369 if test "$enableval" = yes; then
9370 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9372 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9377 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9378 if test "x$LINE" != x
; then
9379 eval "DEFAULT_$LINE"
9384 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9388 eval "$ac_cv_use_wizarddlg"
9389 if test "$no_cache" != 1; then
9390 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9393 if test "$wxUSE_WIZARDDLG" = yes; then
9394 echo "$as_me:$LINENO: result: yes" >&5
9395 echo "${ECHO_T}yes" >&6
9397 echo "$as_me:$LINENO: result: no" >&5
9398 echo "${ECHO_T}no" >&6
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9408 # Check whether --enable-menus or --disable-menus was given.
9409 if test "${enable_menus+set}" = set; then
9410 enableval
="$enable_menus"
9412 if test "$enableval" = yes; then
9413 ac_cv_use_menus
='wxUSE_MENUS=yes'
9415 ac_cv_use_menus
='wxUSE_MENUS=no'
9420 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x
; then
9422 eval "DEFAULT_$LINE"
9427 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9431 eval "$ac_cv_use_menus"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9436 if test "$wxUSE_MENUS" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9449 # Check whether --enable-miniframe or --disable-miniframe was given.
9450 if test "${enable_miniframe+set}" = set; then
9451 enableval
="$enable_miniframe"
9453 if test "$enableval" = yes; then
9454 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9456 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9461 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x
; then
9463 eval "DEFAULT_$LINE"
9468 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9472 eval "$ac_cv_use_miniframe"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9477 if test "$wxUSE_MINIFRAME" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479 echo "${ECHO_T}yes" >&6
9481 echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9490 # Check whether --enable-tooltips or --disable-tooltips was given.
9491 if test "${enable_tooltips+set}" = set; then
9492 enableval
="$enable_tooltips"
9494 if test "$enableval" = yes; then
9495 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9497 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9502 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x
; then
9504 eval "DEFAULT_$LINE"
9509 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9513 eval "$ac_cv_use_tooltips"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9518 if test "$wxUSE_TOOLTIPS" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520 echo "${ECHO_T}yes" >&6
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9529 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9531 # Check whether --enable-splines or --disable-splines was given.
9532 if test "${enable_splines+set}" = set; then
9533 enableval
="$enable_splines"
9535 if test "$enableval" = yes; then
9536 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9538 ac_cv_use_splines
='wxUSE_SPLINES=no'
9543 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9544 if test "x$LINE" != x
; then
9545 eval "DEFAULT_$LINE"
9550 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9554 eval "$ac_cv_use_splines"
9555 if test "$no_cache" != 1; then
9556 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9559 if test "$wxUSE_SPLINES" = yes; then
9560 echo "$as_me:$LINENO: result: yes" >&5
9561 echo "${ECHO_T}yes" >&6
9563 echo "$as_me:$LINENO: result: no" >&5
9564 echo "${ECHO_T}no" >&6
9569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9572 # Check whether --enable-validators or --disable-validators was given.
9573 if test "${enable_validators+set}" = set; then
9574 enableval
="$enable_validators"
9576 if test "$enableval" = yes; then
9577 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9579 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9584 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9585 if test "x$LINE" != x
; then
9586 eval "DEFAULT_$LINE"
9591 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9595 eval "$ac_cv_use_validators"
9596 if test "$no_cache" != 1; then
9597 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9600 if test "$wxUSE_VALIDATORS" = yes; then
9601 echo "$as_me:$LINENO: result: yes" >&5
9602 echo "${ECHO_T}yes" >&6
9604 echo "$as_me:$LINENO: result: no" >&5
9605 echo "${ECHO_T}no" >&6
9610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9611 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9613 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9614 if test "${enable_busyinfo+set}" = set; then
9615 enableval
="$enable_busyinfo"
9617 if test "$enableval" = yes; then
9618 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9620 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9625 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9626 if test "x$LINE" != x
; then
9627 eval "DEFAULT_$LINE"
9632 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9636 eval "$ac_cv_use_busyinfo"
9637 if test "$no_cache" != 1; then
9638 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9641 if test "$wxUSE_BUSYINFO" = yes; then
9642 echo "$as_me:$LINENO: result: yes" >&5
9643 echo "${ECHO_T}yes" >&6
9645 echo "$as_me:$LINENO: result: no" >&5
9646 echo "${ECHO_T}no" >&6
9651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9652 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9654 # Check whether --enable-joystick or --disable-joystick was given.
9655 if test "${enable_joystick+set}" = set; then
9656 enableval
="$enable_joystick"
9658 if test "$enableval" = yes; then
9659 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9661 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9666 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x
; then
9668 eval "DEFAULT_$LINE"
9673 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9677 eval "$ac_cv_use_joystick"
9678 if test "$no_cache" != 1; then
9679 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9682 if test "$wxUSE_JOYSTICK" = yes; then
9683 echo "$as_me:$LINENO: result: yes" >&5
9684 echo "${ECHO_T}yes" >&6
9686 echo "$as_me:$LINENO: result: no" >&5
9687 echo "${ECHO_T}no" >&6
9692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9695 # Check whether --enable-metafile or --disable-metafile was given.
9696 if test "${enable_metafile+set}" = set; then
9697 enableval
="$enable_metafile"
9699 if test "$enableval" = yes; then
9700 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9702 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9707 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x
; then
9709 eval "DEFAULT_$LINE"
9714 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9718 eval "$ac_cv_use_metafile"
9719 if test "$no_cache" != 1; then
9720 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9723 if test "$wxUSE_METAFILE" = yes; then
9724 echo "$as_me:$LINENO: result: yes" >&5
9725 echo "${ECHO_T}yes" >&6
9727 echo "$as_me:$LINENO: result: no" >&5
9728 echo "${ECHO_T}no" >&6
9733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9734 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9736 # Check whether --enable-dragimage or --disable-dragimage was given.
9737 if test "${enable_dragimage+set}" = set; then
9738 enableval
="$enable_dragimage"
9740 if test "$enableval" = yes; then
9741 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9743 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9748 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x
; then
9750 eval "DEFAULT_$LINE"
9755 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9759 eval "$ac_cv_use_dragimage"
9760 if test "$no_cache" != 1; then
9761 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9764 if test "$wxUSE_DRAGIMAGE" = yes; then
9765 echo "$as_me:$LINENO: result: yes" >&5
9766 echo "${ECHO_T}yes" >&6
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9777 # Check whether --enable-accessibility or --disable-accessibility was given.
9778 if test "${enable_accessibility+set}" = set; then
9779 enableval
="$enable_accessibility"
9781 if test "$enableval" = yes; then
9782 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9784 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9789 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x
; then
9791 eval "DEFAULT_$LINE"
9796 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9800 eval "$ac_cv_use_accessibility"
9801 if test "$no_cache" != 1; then
9802 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9805 if test "$wxUSE_ACCESSIBILITY" = yes; then
9806 echo "$as_me:$LINENO: result: yes" >&5
9807 echo "${ECHO_T}yes" >&6
9809 echo "$as_me:$LINENO: result: no" >&5
9810 echo "${ECHO_T}no" >&6
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9820 # Check whether --enable-palette or --disable-palette was given.
9821 if test "${enable_palette+set}" = set; then
9822 enableval
="$enable_palette"
9824 if test "$enableval" = yes; then
9825 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9827 ac_cv_use_palette
='wxUSE_PALETTE=no'
9832 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x
; then
9834 eval "DEFAULT_$LINE"
9839 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9843 eval "$ac_cv_use_palette"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9848 if test "$wxUSE_PALETTE" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9859 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9861 # Check whether --enable-image or --disable-image was given.
9862 if test "${enable_image+set}" = set; then
9863 enableval
="$enable_image"
9865 if test "$enableval" = yes; then
9866 ac_cv_use_image
='wxUSE_IMAGE=yes'
9868 ac_cv_use_image
='wxUSE_IMAGE=no'
9873 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9874 if test "x$LINE" != x
; then
9875 eval "DEFAULT_$LINE"
9880 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9884 eval "$ac_cv_use_image"
9885 if test "$no_cache" != 1; then
9886 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9889 if test "$wxUSE_IMAGE" = yes; then
9890 echo "$as_me:$LINENO: result: yes" >&5
9891 echo "${ECHO_T}yes" >&6
9893 echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6
9899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9900 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9902 # Check whether --enable-gif or --disable-gif was given.
9903 if test "${enable_gif+set}" = set; then
9904 enableval
="$enable_gif"
9906 if test "$enableval" = yes; then
9907 ac_cv_use_gif
='wxUSE_GIF=yes'
9909 ac_cv_use_gif
='wxUSE_GIF=no'
9914 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9915 if test "x$LINE" != x
; then
9916 eval "DEFAULT_$LINE"
9921 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9925 eval "$ac_cv_use_gif"
9926 if test "$no_cache" != 1; then
9927 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9930 if test "$wxUSE_GIF" = yes; then
9931 echo "$as_me:$LINENO: result: yes" >&5
9932 echo "${ECHO_T}yes" >&6
9934 echo "$as_me:$LINENO: result: no" >&5
9935 echo "${ECHO_T}no" >&6
9940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9943 # Check whether --enable-pcx or --disable-pcx was given.
9944 if test "${enable_pcx+set}" = set; then
9945 enableval
="$enable_pcx"
9947 if test "$enableval" = yes; then
9948 ac_cv_use_pcx
='wxUSE_PCX=yes'
9950 ac_cv_use_pcx
='wxUSE_PCX=no'
9955 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9956 if test "x$LINE" != x
; then
9957 eval "DEFAULT_$LINE"
9962 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9966 eval "$ac_cv_use_pcx"
9967 if test "$no_cache" != 1; then
9968 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9971 if test "$wxUSE_PCX" = yes; then
9972 echo "$as_me:$LINENO: result: yes" >&5
9973 echo "${ECHO_T}yes" >&6
9975 echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6
9981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9984 # Check whether --enable-iff or --disable-iff was given.
9985 if test "${enable_iff+set}" = set; then
9986 enableval
="$enable_iff"
9988 if test "$enableval" = yes; then
9989 ac_cv_use_iff
='wxUSE_IFF=yes'
9991 ac_cv_use_iff
='wxUSE_IFF=no'
9996 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9997 if test "x$LINE" != x
; then
9998 eval "DEFAULT_$LINE"
10003 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10007 eval "$ac_cv_use_iff"
10008 if test "$no_cache" != 1; then
10009 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10012 if test "$wxUSE_IFF" = yes; then
10013 echo "$as_me:$LINENO: result: yes" >&5
10014 echo "${ECHO_T}yes" >&6
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10025 # Check whether --enable-pnm or --disable-pnm was given.
10026 if test "${enable_pnm+set}" = set; then
10027 enableval
="$enable_pnm"
10029 if test "$enableval" = yes; then
10030 ac_cv_use_pnm
='wxUSE_PNM=yes'
10032 ac_cv_use_pnm
='wxUSE_PNM=no'
10037 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10038 if test "x$LINE" != x
; then
10039 eval "DEFAULT_$LINE"
10044 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10048 eval "$ac_cv_use_pnm"
10049 if test "$no_cache" != 1; then
10050 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10053 if test "$wxUSE_PNM" = yes; then
10054 echo "$as_me:$LINENO: result: yes" >&5
10055 echo "${ECHO_T}yes" >&6
10057 echo "$as_me:$LINENO: result: no" >&5
10058 echo "${ECHO_T}no" >&6
10063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10066 # Check whether --enable-xpm or --disable-xpm was given.
10067 if test "${enable_xpm+set}" = set; then
10068 enableval
="$enable_xpm"
10070 if test "$enableval" = yes; then
10071 ac_cv_use_xpm
='wxUSE_XPM=yes'
10073 ac_cv_use_xpm
='wxUSE_XPM=no'
10078 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10079 if test "x$LINE" != x
; then
10080 eval "DEFAULT_$LINE"
10085 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10089 eval "$ac_cv_use_xpm"
10090 if test "$no_cache" != 1; then
10091 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10094 if test "$wxUSE_XPM" = yes; then
10095 echo "$as_me:$LINENO: result: yes" >&5
10096 echo "${ECHO_T}yes" >&6
10098 echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6
10104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10105 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10107 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10108 if test "${enable_ico_cur+set}" = set; then
10109 enableval
="$enable_ico_cur"
10111 if test "$enableval" = yes; then
10112 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10114 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10119 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10120 if test "x$LINE" != x
; then
10121 eval "DEFAULT_$LINE"
10126 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10130 eval "$ac_cv_use_ico_cur"
10131 if test "$no_cache" != 1; then
10132 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10135 if test "$wxUSE_ICO_CUR" = yes; then
10136 echo "$as_me:$LINENO: result: yes" >&5
10137 echo "${ECHO_T}yes" >&6
10139 echo "$as_me:$LINENO: result: no" >&5
10140 echo "${ECHO_T}no" >&6
10148 # Check whether --with-flavour or --without-flavour was given.
10149 if test "${with_flavour+set}" = set; then
10150 withval
="$with_flavour"
10151 WX_FLAVOUR
="$withval"
10157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10158 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10160 # Check whether --enable-official_build or --disable-official_build was given.
10161 if test "${enable_official_build+set}" = set; then
10162 enableval
="$enable_official_build"
10164 if test "$enableval" = yes; then
10165 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10167 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10172 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10173 if test "x$LINE" != x
; then
10174 eval "DEFAULT_$LINE"
10179 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10183 eval "$ac_cv_use_official_build"
10184 if test "$no_cache" != 1; then
10185 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10188 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10189 echo "$as_me:$LINENO: result: yes" >&5
10190 echo "${ECHO_T}yes" >&6
10192 echo "$as_me:$LINENO: result: no" >&5
10193 echo "${ECHO_T}no" >&6
10196 # Check whether --enable-vendor or --disable-vendor was given.
10197 if test "${enable_vendor+set}" = set; then
10198 enableval
="$enable_vendor"
10199 VENDOR
="$enableval"
10201 if test "x$VENDOR" = "x"; then
10208 echo "saving argument cache $wx_arg_cache_file"
10209 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10213 echo "$as_me:$LINENO: checking for toolkit" >&5
10214 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10216 # In Wine, we need to default to MSW, not GTK or MOTIF
10217 if test "$wxUSE_WINE" = "yes"; then
10218 DEFAULT_DEFAULT_wxUSE_GTK
=0
10219 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10220 DEFAULT_DEFAULT_wxUSE_MSW
=1
10224 if test "$wxUSE_GUI" = "yes"; then
10226 if test "$USE_BEOS" = 1; then
10227 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10228 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10229 { (exit 1); exit 1; }; }
10232 if test "$TOOLKIT_GIVEN" = 1; then
10233 for toolkit
in `echo $ALL_TOOLKITS`; do
10235 eval "value=\$${var}"
10236 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10239 for toolkit
in `echo $ALL_TOOLKITS`; do
10240 if test "$has_toolkit_in_cache" != 1; then
10241 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10243 var
=DEFAULT_wxUSE_
$toolkit
10245 eval "wxUSE_$toolkit=\$${var}"
10249 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10250 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10251 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10254 *-pc-os2_emx | *-pc-os2-emx )
10255 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10258 case "$NUM_TOOLKITS" in
10262 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10263 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10264 { (exit 1); exit 1; }; }
10267 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10268 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10269 { (exit 1); exit 1; }; }
10272 for toolkit
in `echo $ALL_TOOLKITS`; do
10274 eval "value=\$${var}"
10275 if test "x$value" != x
; then
10276 cache_var
=CACHE_
$toolkit
10277 eval "cache=\$${cache_var}"
10278 if test "$cache" = 1; then
10279 echo "$var=$value" >> ${wx_arg_cache_file}
10281 if test "$value" = 1; then
10282 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10283 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10284 echo "${ECHO_T}$toolkit_echo" >&6
10289 if test "x$host_alias" != "x"; then
10290 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10291 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10293 echo "$as_me:$LINENO: result: base only" >&5
10294 echo "${ECHO_T}base only" >&6
10299 doesnt_want_win32
=0
10302 if test "$wxUSE_MSW" = 1 ; then
10305 doesnt_want_win32
=1
10313 if test "$wxUSE_WINE" = "yes"; then
10318 LDFLAGS_GUI
="-mwindows"
10321 if test "$wants_win32" = 1 ; then
10324 cat >>confdefs.h
<<\_ACEOF
10325 #define __WIN32__ 1
10328 cat >>confdefs.h
<<\_ACEOF
10329 #define __WIN95__ 1
10332 cat >>confdefs.h
<<\_ACEOF
10333 #define __WINDOWS__ 1
10336 cat >>confdefs.h
<<\_ACEOF
10337 #define __GNUWIN32__ 1
10340 cat >>confdefs.h
<<\_ACEOF
10344 cat >>confdefs.h
<<\_ACEOF
10345 #define WINVER 0x0400
10349 if test "$doesnt_want_win32" = 1 ; then
10354 if test "$USE_UNIX" = 1 ; then
10356 cat >>confdefs.h
<<\_ACEOF
10363 cat >confcache
<<\_ACEOF
10364 # This file is a shell script that caches the results of configure
10365 # tests run on this system so they can be shared between configure
10366 # scripts and configure runs, see configure's option --config-cache.
10367 # It is not useful on other systems. If it contains results you don't
10368 # want to keep, you may remove or edit it.
10370 # config.status only pays attention to the cache file if you give it
10371 # the --recheck option to rerun configure.
10373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10375 # following values.
10379 # The following way of writing the cache mishandles newlines in values,
10380 # but we know of no workaround that is simple, portable, and efficient.
10381 # So, don't put newlines in cache variables' values.
10382 # Ultrix sh set writes to stderr and can't be redirected directly,
10383 # and sets the high bit in the cache file unless we assign to the vars.
10386 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10388 # `set' does not quote correctly, so add quotes (double-quote
10389 # substitution turns \\\\ into \\, and sed turns \\ into \).
10392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10395 # `set' quotes correctly as required by POSIX, so do not add quotes.
10397 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10406 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10408 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10409 if test -w $cache_file; then
10410 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10411 cat confcache
>$cache_file
10413 echo "not updating unwritable cache $cache_file"
10418 if test "$build" != "$host" ; then
10419 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10421 CXX
=$host_alias-c++
10423 RANLIB
=$host_alias-ranlib
10424 DLLTOOL
=$host_alias-dlltool
10425 RESCOMP
=$host_alias-windres
10426 STRIP
=$host_alias-strip
10427 elif test "x$CC" '!=' "x"; then
10428 echo "You set CC, I assume you know what you are doing."
10430 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10431 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10432 { (exit 1); exit 1; }; }
10438 ac_cpp
='$CPP $CPPFLAGS'
10439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10442 if test -n "$ac_tool_prefix"; then
10443 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10444 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10445 echo "$as_me:$LINENO: checking for $ac_word" >&5
10446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10447 if test "${ac_cv_prog_CC+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 if test -n "$CC"; then
10451 ac_cv_prog_CC
="$CC" # Let the user override the test.
10453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10454 for as_dir
in $PATH
10457 test -z "$as_dir" && as_dir
=.
10458 for ac_exec_ext
in '' $ac_executable_extensions; do
10459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10460 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10470 if test -n "$CC"; then
10471 echo "$as_me:$LINENO: result: $CC" >&5
10472 echo "${ECHO_T}$CC" >&6
10474 echo "$as_me:$LINENO: result: no" >&5
10475 echo "${ECHO_T}no" >&6
10479 if test -z "$ac_cv_prog_CC"; then
10481 # Extract the first word of "gcc", so it can be a program name with args.
10482 set dummy gcc
; ac_word
=$2
10483 echo "$as_me:$LINENO: checking for $ac_word" >&5
10484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10488 if test -n "$ac_ct_CC"; then
10489 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10492 for as_dir
in $PATH
10495 test -z "$as_dir" && as_dir
=.
10496 for ac_exec_ext
in '' $ac_executable_extensions; do
10497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10498 ac_cv_prog_ac_ct_CC
="gcc"
10499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10507 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10508 if test -n "$ac_ct_CC"; then
10509 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10510 echo "${ECHO_T}$ac_ct_CC" >&6
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10518 CC
="$ac_cv_prog_CC"
10521 if test -z "$CC"; then
10522 if test -n "$ac_tool_prefix"; then
10523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10524 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10525 echo "$as_me:$LINENO: checking for $ac_word" >&5
10526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10527 if test "${ac_cv_prog_CC+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 if test -n "$CC"; then
10531 ac_cv_prog_CC
="$CC" # Let the user override the test.
10533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10534 for as_dir
in $PATH
10537 test -z "$as_dir" && as_dir
=.
10538 for ac_exec_ext
in '' $ac_executable_extensions; do
10539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10540 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10550 if test -n "$CC"; then
10551 echo "$as_me:$LINENO: result: $CC" >&5
10552 echo "${ECHO_T}$CC" >&6
10554 echo "$as_me:$LINENO: result: no" >&5
10555 echo "${ECHO_T}no" >&6
10559 if test -z "$ac_cv_prog_CC"; then
10561 # Extract the first word of "cc", so it can be a program name with args.
10562 set dummy cc
; ac_word
=$2
10563 echo "$as_me:$LINENO: checking for $ac_word" >&5
10564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10565 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 if test -n "$ac_ct_CC"; then
10569 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_ac_ct_CC
="cc"
10579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10588 if test -n "$ac_ct_CC"; then
10589 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10590 echo "${ECHO_T}$ac_ct_CC" >&6
10592 echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6
10598 CC
="$ac_cv_prog_CC"
10602 if test -z "$CC"; then
10603 # Extract the first word of "cc", so it can be a program name with args.
10604 set dummy cc
; ac_word
=$2
10605 echo "$as_me:$LINENO: checking for $ac_word" >&5
10606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10607 if test "${ac_cv_prog_CC+set}" = set; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 if test -n "$CC"; then
10611 ac_cv_prog_CC
="$CC" # Let the user override the test.
10613 ac_prog_rejected
=no
10614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10615 for as_dir
in $PATH
10618 test -z "$as_dir" && as_dir
=.
10619 for ac_exec_ext
in '' $ac_executable_extensions; do
10620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10621 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10622 ac_prog_rejected
=yes
10626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10632 if test $ac_prog_rejected = yes; then
10633 # We found a bogon in the path, so make sure we never use it.
10634 set dummy
$ac_cv_prog_CC
10636 if test $# != 0; then
10637 # We chose a different compiler from the bogus one.
10638 # However, it has the same basename, so the bogon will be chosen
10639 # first if we set CC to just the basename; use the full file name.
10641 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10647 if test -n "$CC"; then
10648 echo "$as_me:$LINENO: result: $CC" >&5
10649 echo "${ECHO_T}$CC" >&6
10651 echo "$as_me:$LINENO: result: no" >&5
10652 echo "${ECHO_T}no" >&6
10656 if test -z "$CC"; then
10657 if test -n "$ac_tool_prefix"; then
10660 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10661 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10662 echo "$as_me:$LINENO: checking for $ac_word" >&5
10663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10664 if test "${ac_cv_prog_CC+set}" = set; then
10665 echo $ECHO_N "(cached) $ECHO_C" >&6
10667 if test -n "$CC"; then
10668 ac_cv_prog_CC
="$CC" # Let the user override the test.
10670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10671 for as_dir
in $PATH
10674 test -z "$as_dir" && as_dir
=.
10675 for ac_exec_ext
in '' $ac_executable_extensions; do
10676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10677 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10687 if test -n "$CC"; then
10688 echo "$as_me:$LINENO: result: $CC" >&5
10689 echo "${ECHO_T}$CC" >&6
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10695 test -n "$CC" && break
10698 if test -z "$CC"; then
10702 # Extract the first word of "$ac_prog", so it can be a program name with args.
10703 set dummy
$ac_prog; ac_word
=$2
10704 echo "$as_me:$LINENO: checking for $ac_word" >&5
10705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10707 echo $ECHO_N "(cached) $ECHO_C" >&6
10709 if test -n "$ac_ct_CC"; then
10710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10713 for as_dir
in $PATH
10716 test -z "$as_dir" && as_dir
=.
10717 for ac_exec_ext
in '' $ac_executable_extensions; do
10718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10719 ac_cv_prog_ac_ct_CC
="$ac_prog"
10720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10729 if test -n "$ac_ct_CC"; then
10730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10731 echo "${ECHO_T}$ac_ct_CC" >&6
10733 echo "$as_me:$LINENO: result: no" >&5
10734 echo "${ECHO_T}no" >&6
10737 test -n "$ac_ct_CC" && break
10746 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10747 See \`config.log' for more details." >&5
10748 echo "$as_me: error: no acceptable C compiler found in \$PATH
10749 See \`config.log' for more details." >&2;}
10750 { (exit 1); exit 1; }; }
10752 # Provide some information about the compiler.
10753 echo "$as_me:$LINENO:" \
10754 "checking for C compiler version" >&5
10755 ac_compiler
=`set X $ac_compile; echo $2`
10756 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10757 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); }
10761 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10762 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }
10766 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10767 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); }
10772 cat >conftest.
$ac_ext <<_ACEOF
10775 cat confdefs.h
>>conftest.
$ac_ext
10776 cat >>conftest.
$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10787 ac_clean_files_save
=$ac_clean_files
10788 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10789 # Try to create an executable without -o first, disregard a.out.
10790 # It will help us diagnose broken compilers, and finding out an intuition
10792 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10793 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10794 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10795 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10796 (eval $ac_link_default) 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; then
10800 # Find the output, starting from the most likely. This scheme is
10801 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10804 # Be careful to initialize this variable, since it used to be cached.
10805 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10807 # b.out is created by i960 compilers.
10808 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10810 test -f "$ac_file" || continue
10812 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10815 # This is the source file.
10818 # We found the default executable, but exeext='' is most
10822 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10823 # FIXME: I believe we export ac_cv_exeext for Libtool,
10824 # but it would be cool to find out if it's true. Does anybody
10825 # maintain Libtool? --akim.
10826 export ac_cv_exeext
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.
$ac_ext >&5
10836 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10837 See \`config.log' for more details." >&5
10838 echo "$as_me: error: C compiler cannot create executables
10839 See \`config.log' for more details." >&2;}
10840 { (exit 77); exit 77; }; }
10843 ac_exeext
=$ac_cv_exeext
10844 echo "$as_me:$LINENO: result: $ac_file" >&5
10845 echo "${ECHO_T}$ac_file" >&6
10847 # Check the compiler produces executables we can run. If not, either
10848 # the compiler is broken, or we cross compile.
10849 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10850 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10851 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10852 # If not cross compiling, check that we can run a simple program.
10853 if test "$cross_compiling" != yes; then
10854 if { ac_try
='./$ac_file'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; }; then
10862 if test "$cross_compiling" = maybe
; then
10863 cross_compiling
=yes
10865 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10866 If you meant to cross compile, use \`--host'.
10867 See \`config.log' for more details." >&5
10868 echo "$as_me: error: cannot run C compiled programs.
10869 If you meant to cross compile, use \`--host'.
10870 See \`config.log' for more details." >&2;}
10871 { (exit 1); exit 1; }; }
10875 echo "$as_me:$LINENO: result: yes" >&5
10876 echo "${ECHO_T}yes" >&6
10878 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10879 ac_clean_files
=$ac_clean_files_save
10880 # Check the compiler produces executables we can run. If not, either
10881 # the compiler is broken, or we cross compile.
10882 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10883 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10884 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10885 echo "${ECHO_T}$cross_compiling" >&6
10887 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10888 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10890 (eval $ac_link) 2>&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); }; then
10894 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10895 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10896 # work properly (i.e., refer to `conftest.exe'), while it won't with
10898 for ac_file
in conftest.exe conftest conftest.
*; do
10899 test -f "$ac_file" || continue
10901 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10902 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10903 export ac_cv_exeext
10909 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10910 See \`config.log' for more details." >&5
10911 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10912 See \`config.log' for more details." >&2;}
10913 { (exit 1); exit 1; }; }
10916 rm -f conftest
$ac_cv_exeext
10917 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10918 echo "${ECHO_T}$ac_cv_exeext" >&6
10920 rm -f conftest.
$ac_ext
10921 EXEEXT
=$ac_cv_exeext
10923 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10924 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10925 if test "${ac_cv_objext+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 cat >conftest.
$ac_ext <<_ACEOF
10931 cat confdefs.h
>>conftest.
$ac_ext
10932 cat >>conftest.
$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10943 rm -f conftest.o conftest.obj
10944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10945 (eval $ac_compile) 2>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); }; then
10949 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10951 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10952 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10957 echo "$as_me: failed program was:" >&5
10958 sed 's/^/| /' conftest.
$ac_ext >&5
10960 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10961 See \`config.log' for more details." >&5
10962 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10963 See \`config.log' for more details." >&2;}
10964 { (exit 1); exit 1; }; }
10967 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10969 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10970 echo "${ECHO_T}$ac_cv_objext" >&6
10971 OBJEXT
=$ac_cv_objext
10973 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10974 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10975 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6
10978 cat >conftest.
$ac_ext <<_ACEOF
10981 cat confdefs.h
>>conftest.
$ac_ext
10982 cat >>conftest.
$ac_ext <<_ACEOF
10983 /* end confdefs.h. */
10996 rm -f conftest.
$ac_objext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10998 (eval $ac_compile) 2>conftest.er1
11000 grep -v '^ *+' conftest.er1
>conftest.err
11002 cat conftest.err
>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11007 (eval $ac_try) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); }; } &&
11011 { ac_try
='test -s conftest.$ac_objext'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; }; then
11017 ac_compiler_gnu
=yes
11019 echo "$as_me: failed program was:" >&5
11020 sed 's/^/| /' conftest.
$ac_ext >&5
11024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11025 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11028 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11030 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11031 ac_test_CFLAGS
=${CFLAGS+set}
11032 ac_save_CFLAGS
=$CFLAGS
11034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11036 if test "${ac_cv_prog_cc_g+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 cat >conftest.
$ac_ext <<_ACEOF
11042 cat confdefs.h
>>conftest.
$ac_ext
11043 cat >>conftest.
$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11054 rm -f conftest.
$ac_objext
11055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11056 (eval $ac_compile) 2>conftest.er1
11058 grep -v '^ *+' conftest.er1
>conftest.err
11060 cat conftest.err
>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } &&
11063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; } &&
11069 { ac_try
='test -s conftest.$ac_objext'
11070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11071 (eval $ac_try) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); }; }; then
11075 ac_cv_prog_cc_g
=yes
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.
$ac_ext >&5
11082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11086 if test "$ac_test_CFLAGS" = set; then
11087 CFLAGS
=$ac_save_CFLAGS
11088 elif test $ac_cv_prog_cc_g = yes; then
11089 if test "$GCC" = yes; then
11095 if test "$GCC" = yes; then
11101 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11102 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11103 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11104 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 ac_cv_prog_cc_stdc
=no
11108 cat >conftest.
$ac_ext <<_ACEOF
11111 cat confdefs.h
>>conftest.
$ac_ext
11112 cat >>conftest.
$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 #include <stdarg.h>
11116 #include <sys/types.h>
11117 #include <sys/stat.h>
11118 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11119 struct buf { int x; };
11120 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11121 static char *e (p, i)
11127 static char *f (char * (*g) (char **, int), char **p, ...)
11132 s = g (p, va_arg (v,int));
11137 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11138 function prototypes and stuff, but not '\xHH' hex character constants.
11139 These don't provoke an error unfortunately, instead are silently treated
11140 as 'x'. The following induces an error, until -std1 is added to get
11141 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11142 array size at least. It's necessary to write '\x00'==0 to get something
11143 that's true only with -std1. */
11144 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11146 int test (int i, double x);
11147 struct s1 {int (*f) (int a);};
11148 struct s2 {int (*f) (double a);};
11149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11160 # Don't try gcc -ansi; that turns off useful extensions and
11161 # breaks some systems' header files.
11162 # AIX -qlanglvl=ansi
11163 # Ultrix and OSF/1 -std1
11164 # HP-UX 10.20 and later -Ae
11165 # HP-UX older versions -Aa -D_HPUX_SOURCE
11166 # SVR4 -Xc -D__EXTENSIONS__
11167 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11169 CC
="$ac_save_CC $ac_arg"
11170 rm -f conftest.
$ac_objext
11171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11172 (eval $ac_compile) 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } &&
11179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5
11183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184 (exit $ac_status); }; } &&
11185 { ac_try
='test -s conftest.$ac_objext'
11186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11187 (eval $ac_try) 2>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); }; }; then
11191 ac_cv_prog_cc_stdc
=$ac_arg
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.
$ac_ext >&5
11198 rm -f conftest.err conftest.
$ac_objext
11200 rm -f conftest.
$ac_ext conftest.
$ac_objext
11205 case "x$ac_cv_prog_cc_stdc" in
11207 echo "$as_me:$LINENO: result: none needed" >&5
11208 echo "${ECHO_T}none needed" >&6 ;;
11210 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11211 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11212 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11215 # Some people use a C++ compiler to compile C. Since we use `exit',
11216 # in C++ we need to declare it. In case someone uses the same compiler
11217 # for both compiling C and C++ we need to have the C++ compiler decide
11218 # the declaration of exit, since it's the most demanding environment.
11219 cat >conftest.
$ac_ext <<_ACEOF
11220 #ifndef __cplusplus
11224 rm -f conftest.
$ac_objext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11226 (eval $ac_compile) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1
>conftest.err
11230 cat conftest.err
>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try
='test -s conftest.$ac_objext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 for ac_declaration
in \
11247 'extern "C" void std::exit (int) throw (); using std::exit;' \
11248 'extern "C" void std::exit (int); using std::exit;' \
11249 'extern "C" void exit (int) throw ();' \
11250 'extern "C" void exit (int);' \
11253 cat >conftest.
$ac_ext <<_ACEOF
11256 cat confdefs.h
>>conftest.
$ac_ext
11257 cat >>conftest.
$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11260 #include <stdlib.h>
11269 rm -f conftest.
$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11273 grep -v '^ *+' conftest.er1
>conftest.err
11275 cat conftest.err
>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try
='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.
$ac_ext >&5
11297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11313 rm -f conftest.
$ac_objext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11315 (eval $ac_compile) 2>conftest.er1
11317 grep -v '^ *+' conftest.er1
>conftest.err
11319 cat conftest.err
>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try
='test -s conftest.$ac_objext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.
$ac_ext >&5
11340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11343 if test -n "$ac_declaration"; then
11344 echo '#ifdef __cplusplus' >>confdefs.h
11345 echo $ac_declaration >>confdefs.h
11346 echo '#endif' >>confdefs.h
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.
$ac_ext >&5
11354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11356 ac_cpp
='$CPP $CPPFLAGS'
11357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11363 ac_cpp
='$CPP $CPPFLAGS'
11364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11368 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11369 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11370 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 cat >conftest.
$ac_ext <<_ACEOF
11376 cat confdefs.h
>>conftest.
$ac_ext
11377 cat >>conftest.
$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11391 rm -f conftest.
$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>conftest.er1
11395 grep -v '^ *+' conftest.er1
>conftest.err
11397 cat conftest.err
>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; } &&
11406 { ac_try
='test -s conftest.$ac_objext'
11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408 (eval $ac_try) 2>&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; }; then
11412 bakefile_compiler_mwerks
=yes
11414 echo "$as_me: failed program was:" >&5
11415 sed 's/^/| /' conftest.
$ac_ext >&5
11417 bakefile_compiler_mwerks
=no
11419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11420 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11423 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11424 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11426 MWCC
=`test $bakefile_compiler_mwerks = yes && echo yes`
11428 ac_cpp
='$CPP $CPPFLAGS'
11429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11436 ac_cpp
='$CPP $CPPFLAGS'
11437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11440 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11441 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11442 # On Suns, sometimes $CPP names a directory.
11443 if test -n "$CPP" && test -d "$CPP"; then
11446 if test -z "$CPP"; then
11447 if test "${ac_cv_prog_CPP+set}" = set; then
11448 echo $ECHO_N "(cached) $ECHO_C" >&6
11450 # Double quotes because CPP needs to be expanded
11451 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11453 ac_preproc_ok
=false
11454 for ac_c_preproc_warn_flag
in '' yes
11456 # Use a header file that comes with gcc, so configuring glibc
11457 # with a fresh cross-compiler works.
11458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11459 # <limits.h> exists even on freestanding compilers.
11460 # On the NeXT, cc -E runs the code through the compiler's parser,
11461 # not just through cpp. "Syntax error" is here to catch this case.
11462 cat >conftest.
$ac_ext <<_ACEOF
11465 cat confdefs.h
>>conftest.
$ac_ext
11466 cat >>conftest.
$ac_ext <<_ACEOF
11467 /* end confdefs.h. */
11469 # include <limits.h>
11471 # include <assert.h>
11475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11476 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11478 grep -v '^ *+' conftest.er1
>conftest.err
11480 cat conftest.err
>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); } >/dev
/null
; then
11483 if test -s conftest.err
; then
11484 ac_cpp_err
=$ac_c_preproc_warn_flag
11485 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11492 if test -z "$ac_cpp_err"; then
11495 echo "$as_me: failed program was:" >&5
11496 sed 's/^/| /' conftest.
$ac_ext >&5
11498 # Broken: fails on valid input.
11501 rm -f conftest.err conftest.
$ac_ext
11503 # OK, works on sane cases. Now check whether non-existent headers
11504 # can be detected and how.
11505 cat >conftest.
$ac_ext <<_ACEOF
11508 cat confdefs.h
>>conftest.
$ac_ext
11509 cat >>conftest.
$ac_ext <<_ACEOF
11510 /* end confdefs.h. */
11511 #include <ac_nonexistent.h>
11513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11516 grep -v '^ *+' conftest.er1
>conftest.err
11518 cat conftest.err
>&5
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 (exit $ac_status); } >/dev
/null
; then
11521 if test -s conftest.err
; then
11522 ac_cpp_err
=$ac_c_preproc_warn_flag
11523 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11530 if test -z "$ac_cpp_err"; then
11531 # Broken: success on invalid input.
11534 echo "$as_me: failed program was:" >&5
11535 sed 's/^/| /' conftest.
$ac_ext >&5
11537 # Passes both tests.
11541 rm -f conftest.err conftest.
$ac_ext
11544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11545 rm -f conftest.err conftest.
$ac_ext
11546 if $ac_preproc_ok; then
11551 ac_cv_prog_CPP
=$CPP
11554 CPP
=$ac_cv_prog_CPP
11556 ac_cv_prog_CPP
=$CPP
11558 echo "$as_me:$LINENO: result: $CPP" >&5
11559 echo "${ECHO_T}$CPP" >&6
11560 ac_preproc_ok
=false
11561 for ac_c_preproc_warn_flag
in '' yes
11563 # Use a header file that comes with gcc, so configuring glibc
11564 # with a fresh cross-compiler works.
11565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11566 # <limits.h> exists even on freestanding compilers.
11567 # On the NeXT, cc -E runs the code through the compiler's parser,
11568 # not just through cpp. "Syntax error" is here to catch this case.
11569 cat >conftest.
$ac_ext <<_ACEOF
11572 cat confdefs.h
>>conftest.
$ac_ext
11573 cat >>conftest.
$ac_ext <<_ACEOF
11574 /* end confdefs.h. */
11576 # include <limits.h>
11578 # include <assert.h>
11582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11585 grep -v '^ *+' conftest.er1
>conftest.err
11587 cat conftest.err
>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } >/dev
/null
; then
11590 if test -s conftest.err
; then
11591 ac_cpp_err
=$ac_c_preproc_warn_flag
11592 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11599 if test -z "$ac_cpp_err"; then
11602 echo "$as_me: failed program was:" >&5
11603 sed 's/^/| /' conftest.
$ac_ext >&5
11605 # Broken: fails on valid input.
11608 rm -f conftest.err conftest.
$ac_ext
11610 # OK, works on sane cases. Now check whether non-existent headers
11611 # can be detected and how.
11612 cat >conftest.
$ac_ext <<_ACEOF
11615 cat confdefs.h
>>conftest.
$ac_ext
11616 cat >>conftest.
$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11618 #include <ac_nonexistent.h>
11620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11621 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11623 grep -v '^ *+' conftest.er1
>conftest.err
11625 cat conftest.err
>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } >/dev
/null
; then
11628 if test -s conftest.err
; then
11629 ac_cpp_err
=$ac_c_preproc_warn_flag
11630 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11637 if test -z "$ac_cpp_err"; then
11638 # Broken: success on invalid input.
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.
$ac_ext >&5
11644 # Passes both tests.
11648 rm -f conftest.err conftest.
$ac_ext
11651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11652 rm -f conftest.err conftest.
$ac_ext
11653 if $ac_preproc_ok; then
11656 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11657 See \`config.log' for more details." >&5
11658 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11659 See \`config.log' for more details." >&2;}
11660 { (exit 1); exit 1; }; }
11664 ac_cpp
='$CPP $CPPFLAGS'
11665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11670 echo "$as_me:$LINENO: checking for egrep" >&5
11671 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11672 if test "${ac_cv_prog_egrep+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11675 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11676 then ac_cv_prog_egrep
='grep -E'
11677 else ac_cv_prog_egrep
='egrep'
11680 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11681 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11682 EGREP
=$ac_cv_prog_egrep
11685 if test $ac_cv_c_compiler_gnu = yes; then
11686 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11687 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11688 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 ac_pattern
="Autoconf.*'x'"
11692 cat >conftest.
$ac_ext <<_ACEOF
11695 cat confdefs.h
>>conftest.
$ac_ext
11696 cat >>conftest.
$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11702 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11703 ac_cv_prog_gcc_traditional
=yes
11705 ac_cv_prog_gcc_traditional
=no
11710 if test $ac_cv_prog_gcc_traditional = no
; then
11711 cat >conftest.
$ac_ext <<_ACEOF
11714 cat confdefs.h
>>conftest.
$ac_ext
11715 cat >>conftest.
$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717 #include <termio.h>
11720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11721 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11722 ac_cv_prog_gcc_traditional
=yes
11728 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11729 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11730 if test $ac_cv_prog_gcc_traditional = yes; then
11731 CC
="$CC -traditional"
11739 ac_cpp
='$CXXCPP $CPPFLAGS'
11740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11745 CXXFLAGS
=${CXXFLAGS:=}
11747 ac_cpp
='$CXXCPP $CPPFLAGS'
11748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11751 if test -n "$ac_tool_prefix"; then
11752 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11755 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11756 echo "$as_me:$LINENO: checking for $ac_word" >&5
11757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11758 if test "${ac_cv_prog_CXX+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 if test -n "$CXX"; then
11762 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11765 for as_dir
in $PATH
11768 test -z "$as_dir" && as_dir
=.
11769 for ac_exec_ext
in '' $ac_executable_extensions; do
11770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11780 CXX
=$ac_cv_prog_CXX
11781 if test -n "$CXX"; then
11782 echo "$as_me:$LINENO: result: $CXX" >&5
11783 echo "${ECHO_T}$CXX" >&6
11785 echo "$as_me:$LINENO: result: no" >&5
11786 echo "${ECHO_T}no" >&6
11789 test -n "$CXX" && break
11792 if test -z "$CXX"; then
11794 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11796 # Extract the first word of "$ac_prog", so it can be a program name with args.
11797 set dummy
$ac_prog; ac_word
=$2
11798 echo "$as_me:$LINENO: checking for $ac_word" >&5
11799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11800 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 if test -n "$ac_ct_CXX"; then
11804 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11807 for as_dir
in $PATH
11810 test -z "$as_dir" && as_dir
=.
11811 for ac_exec_ext
in '' $ac_executable_extensions; do
11812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11813 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11822 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11823 if test -n "$ac_ct_CXX"; then
11824 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11825 echo "${ECHO_T}$ac_ct_CXX" >&6
11827 echo "$as_me:$LINENO: result: no" >&5
11828 echo "${ECHO_T}no" >&6
11831 test -n "$ac_ct_CXX" && break
11833 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11839 # Provide some information about the compiler.
11840 echo "$as_me:$LINENO:" \
11841 "checking for C++ compiler version" >&5
11842 ac_compiler
=`set X $ac_compile; echo $2`
11843 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11844 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }
11848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11849 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }
11853 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11854 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }
11859 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11860 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11861 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 cat >conftest.
$ac_ext <<_ACEOF
11867 cat confdefs.h
>>conftest.
$ac_ext
11868 cat >>conftest.
$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11882 rm -f conftest.
$ac_objext
11883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11884 (eval $ac_compile) 2>conftest.er1
11886 grep -v '^ *+' conftest.er1
>conftest.err
11888 cat conftest.err
>&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } &&
11891 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; } &&
11897 { ac_try
='test -s conftest.$ac_objext'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; }; then
11903 ac_compiler_gnu
=yes
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.
$ac_ext >&5
11910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11911 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11914 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11915 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11916 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11917 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11918 ac_save_CXXFLAGS
=$CXXFLAGS
11920 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11921 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11922 if test "${ac_cv_prog_cxx_g+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 cat >conftest.
$ac_ext <<_ACEOF
11928 cat confdefs.h
>>conftest.
$ac_ext
11929 cat >>conftest.
$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11940 rm -f conftest.
$ac_objext
11941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11942 (eval $ac_compile) 2>conftest.er1
11944 grep -v '^ *+' conftest.er1
>conftest.err
11946 cat conftest.err
>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try
='test -s conftest.$ac_objext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 ac_cv_prog_cxx_g
=yes
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.
$ac_ext >&5
11966 ac_cv_prog_cxx_g
=no
11968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11970 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11971 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11972 if test "$ac_test_CXXFLAGS" = set; then
11973 CXXFLAGS
=$ac_save_CXXFLAGS
11974 elif test $ac_cv_prog_cxx_g = yes; then
11975 if test "$GXX" = yes; then
11981 if test "$GXX" = yes; then
11987 for ac_declaration
in \
11989 'extern "C" void std::exit (int) throw (); using std::exit;' \
11990 'extern "C" void std::exit (int); using std::exit;' \
11991 'extern "C" void exit (int) throw ();' \
11992 'extern "C" void exit (int);' \
11995 cat >conftest.
$ac_ext <<_ACEOF
11998 cat confdefs.h
>>conftest.
$ac_ext
11999 cat >>conftest.
$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12002 #include <stdlib.h>
12011 rm -f conftest.
$ac_objext
12012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12013 (eval $ac_compile) 2>conftest.er1
12015 grep -v '^ *+' conftest.er1
>conftest.err
12017 cat conftest.err
>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } &&
12020 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; } &&
12026 { ac_try
='test -s conftest.$ac_objext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12034 echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.
$ac_ext >&5
12039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12040 cat >conftest.
$ac_ext <<_ACEOF
12043 cat confdefs.h
>>conftest.
$ac_ext
12044 cat >>conftest.
$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12055 rm -f conftest.
$ac_objext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12057 (eval $ac_compile) 2>conftest.er1
12059 grep -v '^ *+' conftest.er1
>conftest.err
12061 cat conftest.err
>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); } &&
12064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; } &&
12070 { ac_try
='test -s conftest.$ac_objext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.
$ac_ext >&5
12082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12085 if test -n "$ac_declaration"; then
12086 echo '#ifdef __cplusplus' >>confdefs.h
12087 echo $ac_declaration >>confdefs.h
12088 echo '#endif' >>confdefs.h
12092 ac_cpp
='$CXXCPP $CPPFLAGS'
12093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12099 ac_cpp
='$CXXCPP $CPPFLAGS'
12100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12104 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12105 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12106 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 cat >conftest.
$ac_ext <<_ACEOF
12112 cat confdefs.h
>>conftest.
$ac_ext
12113 cat >>conftest.
$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12127 rm -f conftest.
$ac_objext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12129 (eval $ac_compile) 2>conftest.er1
12131 grep -v '^ *+' conftest.er1
>conftest.err
12133 cat conftest.err
>&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } &&
12136 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; } &&
12142 { ac_try
='test -s conftest.$ac_objext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 bakefile_compiler_mwerks
=yes
12150 echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.
$ac_ext >&5
12153 bakefile_compiler_mwerks
=no
12155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12156 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12159 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12160 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12162 MWCXX
=`test $bakefile_compiler_mwerks = yes && echo yes`
12164 ac_cpp
='$CXXCPP $CPPFLAGS'
12165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12172 ac_cpp
='$CPP $CPPFLAGS'
12173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12178 if test -n "$ac_tool_prefix"; then
12179 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12180 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
12181 echo "$as_me:$LINENO: checking for $ac_word" >&5
12182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12183 if test "${ac_cv_prog_RANLIB+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 if test -n "$RANLIB"; then
12187 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
12189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12190 for as_dir
in $PATH
12193 test -z "$as_dir" && as_dir
=.
12194 for ac_exec_ext
in '' $ac_executable_extensions; do
12195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12196 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
12197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12205 RANLIB
=$ac_cv_prog_RANLIB
12206 if test -n "$RANLIB"; then
12207 echo "$as_me:$LINENO: result: $RANLIB" >&5
12208 echo "${ECHO_T}$RANLIB" >&6
12210 echo "$as_me:$LINENO: result: no" >&5
12211 echo "${ECHO_T}no" >&6
12215 if test -z "$ac_cv_prog_RANLIB"; then
12216 ac_ct_RANLIB
=$RANLIB
12217 # Extract the first word of "ranlib", so it can be a program name with args.
12218 set dummy ranlib
; ac_word
=$2
12219 echo "$as_me:$LINENO: checking for $ac_word" >&5
12220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12221 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12222 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 if test -n "$ac_ct_RANLIB"; then
12225 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
12227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12228 for as_dir
in $PATH
12231 test -z "$as_dir" && as_dir
=.
12232 for ac_exec_ext
in '' $ac_executable_extensions; do
12233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12234 ac_cv_prog_ac_ct_RANLIB
="ranlib"
12235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12241 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
12244 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
12245 if test -n "$ac_ct_RANLIB"; then
12246 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12247 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12249 echo "$as_me:$LINENO: result: no" >&5
12250 echo "${ECHO_T}no" >&6
12253 RANLIB
=$ac_ct_RANLIB
12255 RANLIB
="$ac_cv_prog_RANLIB"
12259 # Extract the first word of "ar", so it can be a program name with args.
12260 set dummy
ar; ac_word
=$2
12261 echo "$as_me:$LINENO: checking for $ac_word" >&5
12262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12263 if test "${ac_cv_prog_AR+set}" = set; then
12264 echo $ECHO_N "(cached) $ECHO_C" >&6
12266 if test -n "$AR"; then
12267 ac_cv_prog_AR
="$AR" # Let the user override the test.
12269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12270 for as_dir
in $PATH
12273 test -z "$as_dir" && as_dir
=.
12274 for ac_exec_ext
in '' $ac_executable_extensions; do
12275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12286 if test -n "$AR"; then
12287 echo "$as_me:$LINENO: result: $AR" >&5
12288 echo "${ECHO_T}$AR" >&6
12290 echo "$as_me:$LINENO: result: no" >&5
12291 echo "${ECHO_T}no" >&6
12294 if test "x$AR" = "x" ; then
12295 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12296 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12297 { (exit 1); exit 1; }; }
12300 # Find a good install program. We prefer a C program (faster),
12301 # so one script is as good as another. But avoid the broken or
12302 # incompatible versions:
12303 # SysV /etc/install, /usr/sbin/install
12304 # SunOS /usr/etc/install
12305 # IRIX /sbin/install
12307 # AmigaOS /C/install, which installs bootblocks on floppy discs
12308 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12311 # OS/2's system install, which has a completely different semantic
12312 # ./install, which can be erroneously created by make from ./install.sh.
12313 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12314 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12315 if test -z "$INSTALL"; then
12316 if test "${ac_cv_path_install+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12320 for as_dir
in $PATH
12323 test -z "$as_dir" && as_dir
=.
12324 # Account for people who put trailing slashes in PATH elements.
12326 .
/ | .
// | /cC
/* | \
12327 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12328 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12331 # OSF1 and SCO ODT 3.0 have their own names for install.
12332 # Don't use installbsd from OSF since it installs stuff as root
12334 for ac_prog
in ginstall scoinst
install; do
12335 for ac_exec_ext
in '' $ac_executable_extensions; do
12336 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12337 if test $ac_prog = install &&
12338 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12339 # AIX install. It has an incompatible calling convention.
12341 elif test $ac_prog = install &&
12342 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12343 # program-specific install script used by HP pwplus--don't use.
12346 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12358 if test "${ac_cv_path_install+set}" = set; then
12359 INSTALL
=$ac_cv_path_install
12361 # As a last resort, use the slow shell script. We don't cache a
12362 # path for INSTALL within a source directory, because that will
12363 # break other packages using the cache if that directory is
12364 # removed, or if the path is relative.
12365 INSTALL
=$ac_install_sh
12368 echo "$as_me:$LINENO: result: $INSTALL" >&5
12369 echo "${ECHO_T}$INSTALL" >&6
12371 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12372 # It thinks the first close brace ends the variable substitution.
12373 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12375 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12377 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12383 ?
:* ) # Drive letter, considered as absolute.
12386 INSTALL
=`pwd`/${INSTALL} ;;
12392 powerpc
-*-darwin* )
12393 INSTALL_PROGRAM
="cp -fp"
12394 INSTALL_DATA
="cp -fp"
12400 # Extract the first word of "strip", so it can be a program name with args.
12401 set dummy strip
; ac_word
=$2
12402 echo "$as_me:$LINENO: checking for $ac_word" >&5
12403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12404 if test "${ac_cv_prog_STRIP+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 if test -n "$STRIP"; then
12408 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12411 for as_dir
in $PATH
12414 test -z "$as_dir" && as_dir
=.
12415 for ac_exec_ext
in '' $ac_executable_extensions; do
12416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12417 ac_cv_prog_STRIP
="strip"
12418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12424 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12427 STRIP
=$ac_cv_prog_STRIP
12428 if test -n "$STRIP"; then
12429 echo "$as_me:$LINENO: result: $STRIP" >&5
12430 echo "${ECHO_T}$STRIP" >&6
12432 echo "$as_me:$LINENO: result: no" >&5
12433 echo "${ECHO_T}no" >&6
12437 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12438 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12439 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12440 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12444 egrep -s GNU
> /dev
/null
); then
12445 wx_cv_prog_makeisgnu
="yes"
12447 wx_cv_prog_makeisgnu
="no"
12451 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12452 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12454 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12462 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12463 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12464 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12465 if test "${wx_cv_prog_makevpath+set}" = set; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12469 cat - << EOF > confMake
12475 if test ! -d sub
; then
12478 echo dummy
> sub
/file
12479 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12481 rm -f sub
/file check final_file confMake
12483 if test "$RESULT" = 0; then
12484 wx_cv_prog_makevpath
="yes"
12486 wx_cv_prog_makevpath
="no"
12490 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12491 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12493 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12494 { { echo "$as_me:$LINENO: error:
12495 You need a make-utility that is able to use the variable
12497 If your version of make does not support VPATH correctly,
12498 please install GNU-make (possibly as gmake), and start
12499 configure with the following command:
12500 export MAKE=gmake; ./configure for sh-type shells
12501 setenv MAKE gmake; ./configure for csh-type shells
12502 Also please do remember to use gmake in this case every time
12503 you are trying to compile.
12505 echo "$as_me: error:
12506 You need a make-utility that is able to use the variable
12508 If your version of make does not support VPATH correctly,
12509 please install GNU-make (possibly as gmake), and start
12510 configure with the following command:
12511 export MAKE=gmake; ./configure for sh-type shells
12512 setenv MAKE gmake; ./configure for csh-type shells
12513 Also please do remember to use gmake in this case every time
12514 you are trying to compile.
12516 { (exit 1); exit 1; }; }
12518 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12519 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12521 if test "$LN_S" = "ln -s"; then
12522 echo "$as_me:$LINENO: result: yes" >&5
12523 echo "${ECHO_T}yes" >&6
12525 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12526 echo "${ECHO_T}no, using $LN_S" >&6
12532 *-pc-os2_emx | *-pc-os2-emx )
12533 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12534 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12535 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12536 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12537 echo $ECHO_N "(cached) $ECHO_C" >&6
12539 ac_check_lib_save_LIBS
=$LIBS
12540 LIBS
="-lcExt $LIBS"
12541 cat >conftest.
$ac_ext <<_ACEOF
12544 cat confdefs.h
>>conftest.
$ac_ext
12545 cat >>conftest.
$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12548 /* Override any gcc2 internal prototype to avoid an error. */
12552 /* We use char because int might match the return type of a gcc2
12553 builtin and then its argument prototype would still apply. */
12563 rm -f conftest.
$ac_objext conftest
$ac_exeext
12564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12565 (eval $ac_link) 2>conftest.er1
12567 grep -v '^ *+' conftest.er1
>conftest.err
12569 cat conftest.err
>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); } &&
12572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; } &&
12578 { ac_try
='test -s conftest$ac_exeext'
12579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12580 (eval $ac_try) 2>&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); }; }; then
12584 ac_cv_lib_cExt_drand48
=yes
12586 echo "$as_me: failed program was:" >&5
12587 sed 's/^/| /' conftest.
$ac_ext >&5
12589 ac_cv_lib_cExt_drand48
=no
12591 rm -f conftest.err conftest.
$ac_objext \
12592 conftest
$ac_exeext conftest.
$ac_ext
12593 LIBS
=$ac_check_lib_save_LIBS
12595 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12596 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12597 if test $ac_cv_lib_cExt_drand48 = yes; then
12598 LIBS
="$LIBS -lcExt"
12602 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12604 echo "$as_me:$LINENO: checking for gcc version" >&5
12605 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12606 if test "${wx_cv_gccversion+set}" = set; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 cat >conftest.
$ac_ext <<_ACEOF
12613 cat confdefs.h
>>conftest.
$ac_ext
12614 cat >>conftest.
$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12629 rm -f conftest.
$ac_objext
12630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12631 (eval $ac_compile) 2>conftest.er1
12633 grep -v '^ *+' conftest.er1
>conftest.err
12635 cat conftest.err
>&5
12636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } &&
12638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12640 (eval $ac_try) 2>&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); }; } &&
12644 { ac_try
='test -s conftest.$ac_objext'
12645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12646 (eval $ac_try) 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; }; then
12651 cat >conftest.
$ac_ext <<_ACEOF
12654 cat confdefs.h
>>conftest.
$ac_ext
12655 cat >>conftest.
$ac_ext <<_ACEOF
12656 /* end confdefs.h. */
12662 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12663 #error intermediate gcc
12670 rm -f conftest.
$ac_objext
12671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12672 (eval $ac_compile) 2>conftest.er1
12674 grep -v '^ *+' conftest.er1
>conftest.err
12676 cat conftest.err
>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } &&
12679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; } &&
12685 { ac_try
='test -s conftest.$ac_objext'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; }; then
12692 wx_cv_gccversion
=Innotek
12695 echo "$as_me: failed program was:" >&5
12696 sed 's/^/| /' conftest.
$ac_ext >&5
12703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.
$ac_ext >&5
12714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12717 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12718 echo "${ECHO_T}$wx_cv_gccversion" >&6
12719 if test "$wx_cv_gccversion" = "2"; then
12720 LIBS
="$LIBS -lstdcpp"
12721 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12723 if test "$wx_cv_gccversion" = "3"; then
12724 LIBS
="$LIBS -lstdcxx"
12725 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12727 LIBS
="$LIBS -lstdc++"
12730 if test "$wxUSE_OMF" = "yes"; then
12731 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12739 ac_cpp
='$CXXCPP $CPPFLAGS'
12740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12745 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12746 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12747 if test "${ac_cv_string_strcasecmp+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12751 cat >conftest.
$ac_ext <<_ACEOF
12754 cat confdefs.h
>>conftest.
$ac_ext
12755 cat >>conftest.
$ac_ext <<_ACEOF
12756 /* end confdefs.h. */
12758 #include <string.h>
12764 strcasecmp("foo", "bar");
12770 rm -f conftest.
$ac_objext conftest
$ac_exeext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12772 (eval $ac_link) 2>conftest.er1
12774 grep -v '^ *+' conftest.er1
>conftest.err
12776 cat conftest.err
>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try
='test -s conftest$ac_exeext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 ac_cv_string_strcasecmp
=yes
12793 echo "$as_me: failed program was:" >&5
12794 sed 's/^/| /' conftest.
$ac_ext >&5
12796 ac_cv_string_strcasecmp
=no
12799 rm -f conftest.err conftest.
$ac_objext \
12800 conftest
$ac_exeext conftest.
$ac_ext
12803 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12804 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12806 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12807 cat >>confdefs.h
<<\_ACEOF
12808 #define HAVE_STRCASECMP_IN_STRING_H 1
12812 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12813 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12814 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12818 cat >conftest.
$ac_ext <<_ACEOF
12821 cat confdefs.h
>>conftest.
$ac_ext
12822 cat >>conftest.
$ac_ext <<_ACEOF
12823 /* end confdefs.h. */
12825 #include <strings.h>
12831 strcasecmp("foo", "bar");
12837 rm -f conftest.
$ac_objext conftest
$ac_exeext
12838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12839 (eval $ac_link) 2>conftest.er1
12841 grep -v '^ *+' conftest.er1
>conftest.err
12843 cat conftest.err
>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } &&
12846 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try
='test -s conftest$ac_exeext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 ac_cv_strings_strcasecmp
=yes
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.
$ac_ext >&5
12863 ac_cv_strings_strcasecmp
=no
12866 rm -f conftest.err conftest.
$ac_objext \
12867 conftest
$ac_exeext conftest.
$ac_ext
12870 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12871 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12873 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12874 cat >>confdefs.h
<<\_ACEOF
12875 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12879 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12880 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12881 { (exit 1); exit 1; }; }
12886 ac_cpp
='$CPP $CPPFLAGS'
12887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12895 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12896 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12897 if test "${ac_cv_header_stdc+set}" = set; then
12898 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 cat >conftest.
$ac_ext <<_ACEOF
12903 cat confdefs.h
>>conftest.
$ac_ext
12904 cat >>conftest.
$ac_ext <<_ACEOF
12905 /* end confdefs.h. */
12906 #include <stdlib.h>
12907 #include <stdarg.h>
12908 #include <string.h>
12919 rm -f conftest.
$ac_objext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921 (eval $ac_compile) 2>conftest.er1
12923 grep -v '^ *+' conftest.er1
>conftest.err
12925 cat conftest.err
>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); } &&
12928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; } &&
12934 { ac_try
='test -s conftest.$ac_objext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 ac_cv_header_stdc
=yes
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.
$ac_ext >&5
12945 ac_cv_header_stdc
=no
12947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12949 if test $ac_cv_header_stdc = yes; then
12950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12951 cat >conftest.
$ac_ext <<_ACEOF
12954 cat confdefs.h
>>conftest.
$ac_ext
12955 cat >>conftest.
$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957 #include <string.h>
12960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12961 $EGREP "memchr" >/dev
/null
2>&1; then
12964 ac_cv_header_stdc
=no
12970 if test $ac_cv_header_stdc = yes; then
12971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12972 cat >conftest.
$ac_ext <<_ACEOF
12975 cat confdefs.h
>>conftest.
$ac_ext
12976 cat >>conftest.
$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 #include <stdlib.h>
12981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12982 $EGREP "free" >/dev
/null
2>&1; then
12985 ac_cv_header_stdc
=no
12991 if test $ac_cv_header_stdc = yes; then
12992 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12993 if test "$cross_compiling" = yes; then
12996 cat >conftest.
$ac_ext <<_ACEOF
12999 cat confdefs.h
>>conftest.
$ac_ext
13000 cat >>conftest.
$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13003 #if ((' ' & 0x0FF) == 0x020)
13004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13007 # define ISLOWER(c) \
13008 (('a' <= (c) && (c) <= 'i') \
13009 || ('j' <= (c) && (c) <= 'r') \
13010 || ('s' <= (c) && (c) <= 'z'))
13011 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13014 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13019 for (i = 0; i < 256; i++)
13020 if (XOR (islower (i), ISLOWER (i))
13021 || toupper (i) != TOUPPER (i))
13026 rm -f conftest
$ac_exeext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13028 (eval $ac_link) 2>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13033 (eval $ac_try) 2>&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); }; }; then
13039 echo "$as_me: program exited with status $ac_status" >&5
13040 echo "$as_me: failed program was:" >&5
13041 sed 's/^/| /' conftest.
$ac_ext >&5
13043 ( exit $ac_status )
13044 ac_cv_header_stdc
=no
13046 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13050 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13051 echo "${ECHO_T}$ac_cv_header_stdc" >&6
13052 if test $ac_cv_header_stdc = yes; then
13054 cat >>confdefs.h
<<\_ACEOF
13055 #define STDC_HEADERS 1
13060 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
13070 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
13071 inttypes.h stdint.h unistd.h
13073 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13074 echo "$as_me:$LINENO: checking for $ac_header" >&5
13075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13077 echo $ECHO_N "(cached) $ECHO_C" >&6
13079 cat >conftest.
$ac_ext <<_ACEOF
13082 cat confdefs.h
>>conftest.
$ac_ext
13083 cat >>conftest.
$ac_ext <<_ACEOF
13084 /* end confdefs.h. */
13085 $ac_includes_default
13087 #include <$ac_header>
13089 rm -f conftest.
$ac_objext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13091 (eval $ac_compile) 2>conftest.er1
13093 grep -v '^ *+' conftest.er1
>conftest.err
13095 cat conftest.err
>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); } &&
13098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; } &&
13104 { ac_try
='test -s conftest.$ac_objext'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; }; then
13110 eval "$as_ac_Header=yes"
13112 echo "$as_me: failed program was:" >&5
13113 sed 's/^/| /' conftest.
$ac_ext >&5
13115 eval "$as_ac_Header=no"
13117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13122 cat >>confdefs.h
<<_ACEOF
13123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13132 for ac_header
in stdlib.h
13134 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13136 echo "$as_me:$LINENO: checking for $ac_header" >&5
13137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13139 echo $ECHO_N "(cached) $ECHO_C" >&6
13141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13144 # Is the header compilable?
13145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13147 cat >conftest.
$ac_ext <<_ACEOF
13150 cat confdefs.h
>>conftest.
$ac_ext
13151 cat >>conftest.
$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13153 $ac_includes_default
13154 #include <$ac_header>
13156 rm -f conftest.
$ac_objext
13157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13158 (eval $ac_compile) 2>conftest.er1
13160 grep -v '^ *+' conftest.er1
>conftest.err
13162 cat conftest.err
>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } &&
13165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; } &&
13171 { ac_try
='test -s conftest.$ac_objext'
13172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173 (eval $ac_try) 2>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); }; }; then
13177 ac_header_compiler
=yes
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.
$ac_ext >&5
13182 ac_header_compiler
=no
13184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13186 echo "${ECHO_T}$ac_header_compiler" >&6
13188 # Is the header present?
13189 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13191 cat >conftest.
$ac_ext <<_ACEOF
13194 cat confdefs.h
>>conftest.
$ac_ext
13195 cat >>conftest.
$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197 #include <$ac_header>
13199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13200 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13202 grep -v '^ *+' conftest.er1
>conftest.err
13204 cat conftest.err
>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); } >/dev
/null
; then
13207 if test -s conftest.err
; then
13208 ac_cpp_err
=$ac_c_preproc_warn_flag
13209 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13216 if test -z "$ac_cpp_err"; then
13217 ac_header_preproc
=yes
13219 echo "$as_me: failed program was:" >&5
13220 sed 's/^/| /' conftest.
$ac_ext >&5
13222 ac_header_preproc
=no
13224 rm -f conftest.err conftest.
$ac_ext
13225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13226 echo "${ECHO_T}$ac_header_preproc" >&6
13228 # So? What about this header?
13229 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13231 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13232 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13234 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13235 ac_header_preproc
=yes
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13239 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13240 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13241 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13242 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13243 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13244 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13245 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13247 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13248 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13249 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13252 ## ----------------------------------------- ##
13253 ## Report this to wx-dev@lists.wxwidgets.org ##
13254 ## ----------------------------------------- ##
13257 sed "s/^/$as_me: WARNING: /" >&2
13260 echo "$as_me:$LINENO: checking for $ac_header" >&5
13261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 eval "$as_ac_Header=\$ac_header_preproc"
13267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13272 cat >>confdefs.h
<<_ACEOF
13273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13281 for ac_header
in malloc.h
13283 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13285 echo "$as_me:$LINENO: checking for $ac_header" >&5
13286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13293 # Is the header compilable?
13294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13296 cat >conftest.
$ac_ext <<_ACEOF
13299 cat confdefs.h
>>conftest.
$ac_ext
13300 cat >>conftest.
$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 $ac_includes_default
13303 #include <$ac_header>
13305 rm -f conftest.
$ac_objext
13306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13307 (eval $ac_compile) 2>conftest.er1
13309 grep -v '^ *+' conftest.er1
>conftest.err
13311 cat conftest.err
>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } &&
13314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; } &&
13320 { ac_try
='test -s conftest.$ac_objext'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; }; then
13326 ac_header_compiler
=yes
13328 echo "$as_me: failed program was:" >&5
13329 sed 's/^/| /' conftest.
$ac_ext >&5
13331 ac_header_compiler
=no
13333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13335 echo "${ECHO_T}$ac_header_compiler" >&6
13337 # Is the header present?
13338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13340 cat >conftest.
$ac_ext <<_ACEOF
13343 cat confdefs.h
>>conftest.
$ac_ext
13344 cat >>conftest.
$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 #include <$ac_header>
13348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13351 grep -v '^ *+' conftest.er1
>conftest.err
13353 cat conftest.err
>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } >/dev
/null
; then
13356 if test -s conftest.err
; then
13357 ac_cpp_err
=$ac_c_preproc_warn_flag
13358 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13365 if test -z "$ac_cpp_err"; then
13366 ac_header_preproc
=yes
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.
$ac_ext >&5
13371 ac_header_preproc
=no
13373 rm -f conftest.err conftest.
$ac_ext
13374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13375 echo "${ECHO_T}$ac_header_preproc" >&6
13377 # So? What about this header?
13378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13384 ac_header_preproc
=yes
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13401 ## ----------------------------------------- ##
13402 ## Report this to wx-dev@lists.wxwidgets.org ##
13403 ## ----------------------------------------- ##
13406 sed "s/^/$as_me: WARNING: /" >&2
13409 echo "$as_me:$LINENO: checking for $ac_header" >&5
13410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 eval "$as_ac_Header=\$ac_header_preproc"
13416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13421 cat >>confdefs.h
<<_ACEOF
13422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13430 for ac_header
in unistd.h
13432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13434 echo "$as_me:$LINENO: checking for $ac_header" >&5
13435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13437 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13442 # Is the header compilable?
13443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13445 cat >conftest.
$ac_ext <<_ACEOF
13448 cat confdefs.h
>>conftest.
$ac_ext
13449 cat >>conftest.
$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13451 $ac_includes_default
13452 #include <$ac_header>
13454 rm -f conftest.
$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>conftest.er1
13458 grep -v '^ *+' conftest.er1
>conftest.err
13460 cat conftest.err
>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; } &&
13469 { ac_try
='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 ac_header_compiler
=yes
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.
$ac_ext >&5
13480 ac_header_compiler
=no
13482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13484 echo "${ECHO_T}$ac_header_compiler" >&6
13486 # Is the header present?
13487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13489 cat >conftest.
$ac_ext <<_ACEOF
13492 cat confdefs.h
>>conftest.
$ac_ext
13493 cat >>conftest.
$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13495 #include <$ac_header>
13497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13500 grep -v '^ *+' conftest.er1
>conftest.err
13502 cat conftest.err
>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } >/dev
/null
; then
13505 if test -s conftest.err
; then
13506 ac_cpp_err
=$ac_c_preproc_warn_flag
13507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13514 if test -z "$ac_cpp_err"; then
13515 ac_header_preproc
=yes
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.
$ac_ext >&5
13520 ac_header_preproc
=no
13522 rm -f conftest.err conftest.
$ac_ext
13523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13524 echo "${ECHO_T}$ac_header_preproc" >&6
13526 # So? What about this header?
13527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13533 ac_header_preproc
=yes
13536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13550 ## ----------------------------------------- ##
13551 ## Report this to wx-dev@lists.wxwidgets.org ##
13552 ## ----------------------------------------- ##
13555 sed "s/^/$as_me: WARNING: /" >&2
13558 echo "$as_me:$LINENO: checking for $ac_header" >&5
13559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 eval "$as_ac_Header=\$ac_header_preproc"
13565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13570 cat >>confdefs.h
<<_ACEOF
13571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13579 for ac_header
in wchar.h
13581 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13583 echo "$as_me:$LINENO: checking for $ac_header" >&5
13584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13591 # Is the header compilable?
13592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13594 cat >conftest.
$ac_ext <<_ACEOF
13597 cat confdefs.h
>>conftest.
$ac_ext
13598 cat >>conftest.
$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13600 $ac_includes_default
13601 #include <$ac_header>
13603 rm -f conftest.
$ac_objext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>conftest.er1
13607 grep -v '^ *+' conftest.er1
>conftest.err
13609 cat conftest.err
>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; } &&
13618 { ac_try
='test -s conftest.$ac_objext'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; }; then
13624 ac_header_compiler
=yes
13626 echo "$as_me: failed program was:" >&5
13627 sed 's/^/| /' conftest.
$ac_ext >&5
13629 ac_header_compiler
=no
13631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13633 echo "${ECHO_T}$ac_header_compiler" >&6
13635 # Is the header present?
13636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13638 cat >conftest.
$ac_ext <<_ACEOF
13641 cat confdefs.h
>>conftest.
$ac_ext
13642 cat >>conftest.
$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 #include <$ac_header>
13646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13647 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13649 grep -v '^ *+' conftest.er1
>conftest.err
13651 cat conftest.err
>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); } >/dev
/null
; then
13654 if test -s conftest.err
; then
13655 ac_cpp_err
=$ac_c_preproc_warn_flag
13656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13663 if test -z "$ac_cpp_err"; then
13664 ac_header_preproc
=yes
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.
$ac_ext >&5
13669 ac_header_preproc
=no
13671 rm -f conftest.err conftest.
$ac_ext
13672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13673 echo "${ECHO_T}$ac_header_preproc" >&6
13675 # So? What about this header?
13676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13682 ac_header_preproc
=yes
13685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13699 ## ----------------------------------------- ##
13700 ## Report this to wx-dev@lists.wxwidgets.org ##
13701 ## ----------------------------------------- ##
13704 sed "s/^/$as_me: WARNING: /" >&2
13707 echo "$as_me:$LINENO: checking for $ac_header" >&5
13708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13712 eval "$as_ac_Header=\$ac_header_preproc"
13714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13719 cat >>confdefs.h
<<_ACEOF
13720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13728 if test "$ac_cv_header_wchar_h" != "yes"; then
13730 for ac_header
in wcstr.h
13732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13734 echo "$as_me:$LINENO: checking for $ac_header" >&5
13735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13737 echo $ECHO_N "(cached) $ECHO_C" >&6
13739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13742 # Is the header compilable?
13743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13745 cat >conftest.
$ac_ext <<_ACEOF
13748 cat confdefs.h
>>conftest.
$ac_ext
13749 cat >>conftest.
$ac_ext <<_ACEOF
13750 /* end confdefs.h. */
13751 $ac_includes_default
13752 #include <$ac_header>
13754 rm -f conftest.
$ac_objext
13755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13756 (eval $ac_compile) 2>conftest.er1
13758 grep -v '^ *+' conftest.er1
>conftest.err
13760 cat conftest.err
>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } &&
13763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; } &&
13769 { ac_try
='test -s conftest.$ac_objext'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; }; then
13775 ac_header_compiler
=yes
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.
$ac_ext >&5
13780 ac_header_compiler
=no
13782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13784 echo "${ECHO_T}$ac_header_compiler" >&6
13786 # Is the header present?
13787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13789 cat >conftest.
$ac_ext <<_ACEOF
13792 cat confdefs.h
>>conftest.
$ac_ext
13793 cat >>conftest.
$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795 #include <$ac_header>
13797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13800 grep -v '^ *+' conftest.er1
>conftest.err
13802 cat conftest.err
>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } >/dev
/null
; then
13805 if test -s conftest.err
; then
13806 ac_cpp_err
=$ac_c_preproc_warn_flag
13807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13814 if test -z "$ac_cpp_err"; then
13815 ac_header_preproc
=yes
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.
$ac_ext >&5
13820 ac_header_preproc
=no
13822 rm -f conftest.err conftest.
$ac_ext
13823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13824 echo "${ECHO_T}$ac_header_preproc" >&6
13826 # So? What about this header?
13827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13833 ac_header_preproc
=yes
13836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13850 ## ----------------------------------------- ##
13851 ## Report this to wx-dev@lists.wxwidgets.org ##
13852 ## ----------------------------------------- ##
13855 sed "s/^/$as_me: WARNING: /" >&2
13858 echo "$as_me:$LINENO: checking for $ac_header" >&5
13859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13863 eval "$as_ac_Header=\$ac_header_preproc"
13865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13870 cat >>confdefs.h
<<_ACEOF
13871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13881 for ac_header
in fnmatch.h
13883 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13885 echo "$as_me:$LINENO: checking for $ac_header" >&5
13886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13893 # Is the header compilable?
13894 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13895 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13896 cat >conftest.
$ac_ext <<_ACEOF
13899 cat confdefs.h
>>conftest.
$ac_ext
13900 cat >>conftest.
$ac_ext <<_ACEOF
13901 /* end confdefs.h. */
13902 $ac_includes_default
13903 #include <$ac_header>
13905 rm -f conftest.
$ac_objext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13907 (eval $ac_compile) 2>conftest.er1
13909 grep -v '^ *+' conftest.er1
>conftest.err
13911 cat conftest.err
>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; } &&
13920 { ac_try
='test -s conftest.$ac_objext'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; }; then
13926 ac_header_compiler
=yes
13928 echo "$as_me: failed program was:" >&5
13929 sed 's/^/| /' conftest.
$ac_ext >&5
13931 ac_header_compiler
=no
13933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13935 echo "${ECHO_T}$ac_header_compiler" >&6
13937 # Is the header present?
13938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13940 cat >conftest.
$ac_ext <<_ACEOF
13943 cat confdefs.h
>>conftest.
$ac_ext
13944 cat >>conftest.
$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 #include <$ac_header>
13948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13951 grep -v '^ *+' conftest.er1
>conftest.err
13953 cat conftest.err
>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } >/dev
/null
; then
13956 if test -s conftest.err
; then
13957 ac_cpp_err
=$ac_c_preproc_warn_flag
13958 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13965 if test -z "$ac_cpp_err"; then
13966 ac_header_preproc
=yes
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.
$ac_ext >&5
13971 ac_header_preproc
=no
13973 rm -f conftest.err conftest.
$ac_ext
13974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13975 echo "${ECHO_T}$ac_header_preproc" >&6
13977 # So? What about this header?
13978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13984 ac_header_preproc
=yes
13987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14001 ## ----------------------------------------- ##
14002 ## Report this to wx-dev@lists.wxwidgets.org ##
14003 ## ----------------------------------------- ##
14006 sed "s/^/$as_me: WARNING: /" >&2
14009 echo "$as_me:$LINENO: checking for $ac_header" >&5
14010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14014 eval "$as_ac_Header=\$ac_header_preproc"
14016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14021 cat >>confdefs.h
<<_ACEOF
14022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14030 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
14032 for ac_func
in fnmatch
14034 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14035 echo "$as_me:$LINENO: checking for $ac_func" >&5
14036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14037 if eval "test \"\${$as_ac_var+set}\" = set"; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 cat >conftest.
$ac_ext <<_ACEOF
14043 cat confdefs.h
>>conftest.
$ac_ext
14044 cat >>conftest.
$ac_ext <<_ACEOF
14045 /* end confdefs.h. */
14046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14048 #define $ac_func innocuous_$ac_func
14050 /* System header to define __stub macros and hopefully few prototypes,
14051 which can conflict with char $ac_func (); below.
14052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14053 <limits.h> exists even on freestanding compilers. */
14056 # include <limits.h>
14058 # include <assert.h>
14063 /* Override any gcc2 internal prototype to avoid an error. */
14068 /* We use char because int might match the return type of a gcc2
14069 builtin and then its argument prototype would still apply. */
14071 /* The GNU C library defines this for functions which it implements
14072 to always fail with ENOSYS. Some functions are actually named
14073 something starting with __ and the normal name is an alias. */
14074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14077 char (*f) () = $ac_func;
14086 return f != $ac_func;
14091 rm -f conftest.
$ac_objext conftest
$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093 (eval $ac_link) 2>conftest.er1
14095 grep -v '^ *+' conftest.er1
>conftest.err
14097 cat conftest.err
>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } &&
14100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; } &&
14106 { ac_try
='test -s conftest$ac_exeext'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 eval "$as_ac_var=yes"
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 eval "$as_ac_var=no"
14119 rm -f conftest.err conftest.
$ac_objext \
14120 conftest
$ac_exeext conftest.
$ac_ext
14122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14124 if test `eval echo '${'$as_ac_var'}'` = yes; then
14125 cat >>confdefs.h
<<_ACEOF
14126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14135 for ac_header
in langinfo.h
14137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo "$as_me:$LINENO: checking for $ac_header" >&5
14140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14147 # Is the header compilable?
14148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 cat confdefs.h
>>conftest.
$ac_ext
14154 cat >>conftest.
$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 $ac_includes_default
14157 #include <$ac_header>
14159 rm -f conftest.
$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 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); } &&
14168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try
='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_header_compiler
=yes
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.
$ac_ext >&5
14185 ac_header_compiler
=no
14187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14189 echo "${ECHO_T}$ac_header_compiler" >&6
14191 # Is the header present?
14192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14194 cat >conftest.
$ac_ext <<_ACEOF
14197 cat confdefs.h
>>conftest.
$ac_ext
14198 cat >>conftest.
$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 #include <$ac_header>
14202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14205 grep -v '^ *+' conftest.er1
>conftest.err
14207 cat conftest.err
>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); } >/dev
/null
; then
14210 if test -s conftest.err
; then
14211 ac_cpp_err
=$ac_c_preproc_warn_flag
14212 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14219 if test -z "$ac_cpp_err"; then
14220 ac_header_preproc
=yes
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.
$ac_ext >&5
14225 ac_header_preproc
=no
14227 rm -f conftest.err conftest.
$ac_ext
14228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14229 echo "${ECHO_T}$ac_header_preproc" >&6
14231 # So? What about this header?
14232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14238 ac_header_preproc
=yes
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14255 ## ----------------------------------------- ##
14256 ## Report this to wx-dev@lists.wxwidgets.org ##
14257 ## ----------------------------------------- ##
14260 sed "s/^/$as_me: WARNING: /" >&2
14263 echo "$as_me:$LINENO: checking for $ac_header" >&5
14264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 eval "$as_ac_Header=\$ac_header_preproc"
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14275 cat >>confdefs.h
<<_ACEOF
14276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14285 *-pc-os2_emx | *-pc-os2-emx )
14286 if test $ac_cv_header_langinfo_h = "yes"; then
14287 LIBS
="$LIBS -lintl"
14292 if test "$wxUSE_GUI" = "yes"; then
14293 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14295 for ac_header
in X
11/Xlib.h
14297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14299 echo "$as_me:$LINENO: checking for $ac_header" >&5
14300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14307 # Is the header compilable?
14308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14310 cat >conftest.
$ac_ext <<_ACEOF
14313 cat confdefs.h
>>conftest.
$ac_ext
14314 cat >>conftest.
$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_includes_default
14317 #include <$ac_header>
14319 rm -f conftest.
$ac_objext
14320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14321 (eval $ac_compile) 2>conftest.er1
14323 grep -v '^ *+' conftest.er1
>conftest.err
14325 cat conftest.err
>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; } &&
14334 { ac_try
='test -s conftest.$ac_objext'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; }; then
14340 ac_header_compiler
=yes
14342 echo "$as_me: failed program was:" >&5
14343 sed 's/^/| /' conftest.
$ac_ext >&5
14345 ac_header_compiler
=no
14347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14349 echo "${ECHO_T}$ac_header_compiler" >&6
14351 # Is the header present?
14352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14354 cat >conftest.
$ac_ext <<_ACEOF
14357 cat confdefs.h
>>conftest.
$ac_ext
14358 cat >>conftest.
$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 #include <$ac_header>
14362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14365 grep -v '^ *+' conftest.er1
>conftest.err
14367 cat conftest.err
>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); } >/dev
/null
; then
14370 if test -s conftest.err
; then
14371 ac_cpp_err
=$ac_c_preproc_warn_flag
14372 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14379 if test -z "$ac_cpp_err"; then
14380 ac_header_preproc
=yes
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.
$ac_ext >&5
14385 ac_header_preproc
=no
14387 rm -f conftest.err conftest.
$ac_ext
14388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14389 echo "${ECHO_T}$ac_header_preproc" >&6
14391 # So? What about this header?
14392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14398 ac_header_preproc
=yes
14401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14415 ## ----------------------------------------- ##
14416 ## Report this to wx-dev@lists.wxwidgets.org ##
14417 ## ----------------------------------------- ##
14420 sed "s/^/$as_me: WARNING: /" >&2
14423 echo "$as_me:$LINENO: checking for $ac_header" >&5
14424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14428 eval "$as_ac_Header=\$ac_header_preproc"
14430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14435 cat >>confdefs.h
<<_ACEOF
14436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14444 for ac_header
in X
11/XKBlib.h
14446 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14447 echo "$as_me:$LINENO: checking for $ac_header" >&5
14448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14450 echo $ECHO_N "(cached) $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. */
14459 #if HAVE_X11_XLIB_H
14460 #include <X11/Xlib.h>
14464 #include <$ac_header>
14466 rm -f conftest.
$ac_objext
14467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14468 (eval $ac_compile) 2>conftest.er1
14470 grep -v '^ *+' conftest.er1
>conftest.err
14472 cat conftest.err
>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } &&
14475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try
='test -s conftest.$ac_objext'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; }; then
14487 eval "$as_ac_Header=yes"
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14492 eval "$as_ac_Header=no"
14494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14499 cat >>confdefs.h
<<_ACEOF
14500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14511 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14512 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14513 if test "${ac_cv_c_const+set}" = set; then
14514 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 cat >conftest.
$ac_ext <<_ACEOF
14519 cat confdefs.h
>>conftest.
$ac_ext
14520 cat >>conftest.
$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14526 /* FIXME: Include the comments suggested by Paul. */
14527 #ifndef __cplusplus
14528 /* Ultrix mips cc rejects this. */
14529 typedef int charset[2];
14531 /* SunOS 4.1.1 cc rejects this. */
14532 char const *const *ccp;
14534 /* NEC SVR4.0.2 mips cc rejects this. */
14535 struct point {int x, y;};
14536 static struct point const zero = {0,0};
14537 /* AIX XL C 1.02.0.0 rejects this.
14538 It does not let you subtract one const X* pointer from another in
14539 an arm of an if-expression whose if-part is not a constant
14541 const char *g = "string";
14542 ccp = &g + (g ? g-g : 0);
14543 /* HPUX 7.0 cc rejects these. */
14546 ccp = (char const *const *) p;
14547 { /* SCO 3.2v4 cc rejects this. */
14549 char const *s = 0 ? (char *) 0 : (char const *) 0;
14553 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14554 int x[] = {25, 17};
14555 const int *foo = &x[0];
14558 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14559 typedef const int *iptr;
14563 { /* AIX XL C 1.02.0.0 rejects this saying
14564 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14565 struct s { int j; const int *ap[3]; };
14566 struct s *b; b->j = 5;
14568 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14569 const int foo = 10;
14577 rm -f conftest.
$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14581 grep -v '^ *+' conftest.er1
>conftest.err
14583 cat conftest.err
>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try
='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.
$ac_ext >&5
14605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14608 echo "${ECHO_T}$ac_cv_c_const" >&6
14609 if test $ac_cv_c_const = no
; then
14611 cat >>confdefs.h
<<\_ACEOF
14617 echo "$as_me:$LINENO: checking for inline" >&5
14618 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14619 if test "${ac_cv_c_inline+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14623 for ac_kw
in inline __inline__ __inline
; do
14624 cat >conftest.
$ac_ext <<_ACEOF
14627 cat confdefs.h
>>conftest.
$ac_ext
14628 cat >>conftest.
$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630 #ifndef __cplusplus
14632 static $ac_kw foo_t static_foo () {return 0; }
14633 $ac_kw foo_t foo () {return 0; }
14637 rm -f conftest.
$ac_objext
14638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14639 (eval $ac_compile) 2>conftest.er1
14641 grep -v '^ *+' conftest.er1
>conftest.err
14643 cat conftest.err
>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } &&
14646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14648 (eval $ac_try) 2>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); }; } &&
14652 { ac_try
='test -s conftest.$ac_objext'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; }; then
14658 ac_cv_c_inline
=$ac_kw; break
14660 echo "$as_me: failed program was:" >&5
14661 sed 's/^/| /' conftest.
$ac_ext >&5
14664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14668 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14669 echo "${ECHO_T}$ac_cv_c_inline" >&6
14672 case $ac_cv_c_inline in
14675 case $ac_cv_c_inline in
14677 *) ac_val
=$ac_cv_c_inline;;
14679 cat >>confdefs.h
<<_ACEOF
14680 #ifndef __cplusplus
14681 #define inline $ac_val
14688 echo "$as_me:$LINENO: checking for char" >&5
14689 echo $ECHO_N "checking for char... $ECHO_C" >&6
14690 if test "${ac_cv_type_char+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14693 cat >conftest.
$ac_ext <<_ACEOF
14696 cat confdefs.h
>>conftest.
$ac_ext
14697 cat >>conftest.
$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14699 $ac_includes_default
14711 rm -f conftest.
$ac_objext
14712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14713 (eval $ac_compile) 2>conftest.er1
14715 grep -v '^ *+' conftest.er1
>conftest.err
14717 cat conftest.err
>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } &&
14720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14722 (eval $ac_try) 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try
='test -s conftest.$ac_objext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14732 ac_cv_type_char
=yes
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.
$ac_ext >&5
14739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14741 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14742 echo "${ECHO_T}$ac_cv_type_char" >&6
14744 echo "$as_me:$LINENO: checking size of char" >&5
14745 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14746 if test "${ac_cv_sizeof_char+set}" = set; then
14747 echo $ECHO_N "(cached) $ECHO_C" >&6
14749 if test "$ac_cv_type_char" = yes; then
14750 # The cast to unsigned long works around a bug in the HP C Compiler
14751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14753 # This bug is HP SR number 8606223364.
14754 if test "$cross_compiling" = yes; then
14755 # Depending upon the size, compute the lo and hi bounds.
14756 cat >conftest.
$ac_ext <<_ACEOF
14759 cat confdefs.h
>>conftest.
$ac_ext
14760 cat >>conftest.
$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 $ac_includes_default
14766 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14773 rm -f conftest.
$ac_objext
14774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14775 (eval $ac_compile) 2>conftest.er1
14777 grep -v '^ *+' conftest.er1
>conftest.err
14779 cat conftest.err
>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); } &&
14782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try
='test -s conftest.$ac_objext'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; }; then
14796 cat >conftest.
$ac_ext <<_ACEOF
14799 cat confdefs.h
>>conftest.
$ac_ext
14800 cat >>conftest.
$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14802 $ac_includes_default
14806 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14813 rm -f conftest.
$ac_objext
14814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14815 (eval $ac_compile) 2>conftest.er1
14817 grep -v '^ *+' conftest.er1
>conftest.err
14819 cat conftest.err
>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } &&
14822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14824 (eval $ac_try) 2>&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); }; } &&
14828 { ac_try
='test -s conftest.$ac_objext'
14829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14830 (eval $ac_try) 2>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }; }; then
14834 ac_hi
=$ac_mid; break
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.
$ac_ext >&5
14839 ac_lo
=`expr $ac_mid + 1`
14840 if test $ac_lo -le $ac_mid; then
14844 ac_mid
=`expr 2 '*' $ac_mid + 1`
14846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14849 echo "$as_me: failed program was:" >&5
14850 sed 's/^/| /' conftest.
$ac_ext >&5
14852 cat >conftest.
$ac_ext <<_ACEOF
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 $ac_includes_default
14862 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14869 rm -f conftest.
$ac_objext
14870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14871 (eval $ac_compile) 2>conftest.er1
14873 grep -v '^ *+' conftest.er1
>conftest.err
14875 cat conftest.err
>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); } &&
14878 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; } &&
14884 { ac_try
='test -s conftest.$ac_objext'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14892 cat >conftest.
$ac_ext <<_ACEOF
14895 cat confdefs.h
>>conftest.
$ac_ext
14896 cat >>conftest.
$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14898 $ac_includes_default
14902 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14909 rm -f conftest.
$ac_objext
14910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14911 (eval $ac_compile) 2>conftest.er1
14913 grep -v '^ *+' conftest.er1
>conftest.err
14915 cat conftest.err
>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); } &&
14918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; } &&
14924 { ac_try
='test -s conftest.$ac_objext'
14925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14926 (eval $ac_try) 2>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); }; }; then
14930 ac_lo
=$ac_mid; break
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.
$ac_ext >&5
14935 ac_hi
=`expr '(' $ac_mid ')' - 1`
14936 if test $ac_mid -le $ac_hi; then
14940 ac_mid
=`expr 2 '*' $ac_mid`
14942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14945 echo "$as_me: failed program was:" >&5
14946 sed 's/^/| /' conftest.
$ac_ext >&5
14950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14953 # Binary search between lo and hi bounds.
14954 while test "x$ac_lo" != "x$ac_hi"; do
14955 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14956 cat >conftest.
$ac_ext <<_ACEOF
14959 cat confdefs.h
>>conftest.
$ac_ext
14960 cat >>conftest.
$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14962 $ac_includes_default
14966 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14973 rm -f conftest.
$ac_objext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14975 (eval $ac_compile) 2>conftest.er1
14977 grep -v '^ *+' conftest.er1
>conftest.err
14979 cat conftest.err
>&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try
='test -s conftest.$ac_objext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.
$ac_ext >&5
14999 ac_lo
=`expr '(' $ac_mid ')' + 1`
15001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15004 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15006 See \`config.log' for more details." >&5
15007 echo "$as_me: error: cannot compute sizeof (char), 77
15008 See \`config.log' for more details." >&2;}
15009 { (exit 1); exit 1; }; } ;;
15012 if test "$cross_compiling" = yes; then
15013 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15014 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15015 { (exit 1); exit 1; }; }
15017 cat >conftest.
$ac_ext <<_ACEOF
15020 cat confdefs.h
>>conftest.
$ac_ext
15021 cat >>conftest.
$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023 $ac_includes_default
15024 long longval () { return (long) (sizeof (char)); }
15025 unsigned long ulongval () { return (long) (sizeof (char)); }
15027 #include <stdlib.h>
15032 FILE *f = fopen ("conftest.val", "w");
15035 if (((long) (sizeof (char))) < 0)
15037 long i = longval ();
15038 if (i != ((long) (sizeof (char))))
15040 fprintf (f, "%ld\n", i);
15044 unsigned long i = ulongval ();
15045 if (i != ((long) (sizeof (char))))
15047 fprintf (f, "%lu\n", i);
15049 exit (ferror (f) || fclose (f) != 0);
15055 rm -f conftest
$ac_exeext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15057 (eval $ac_link) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; }; then
15066 ac_cv_sizeof_char
=`cat conftest.val`
15068 echo "$as_me: program exited with status $ac_status" >&5
15069 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.
$ac_ext >&5
15072 ( exit $ac_status )
15073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15074 See \`config.log' for more details." >&5
15075 echo "$as_me: error: cannot compute sizeof (char), 77
15076 See \`config.log' for more details." >&2;}
15077 { (exit 1); exit 1; }; }
15079 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15084 ac_cv_sizeof_char
=0
15087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15088 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15089 cat >>confdefs.h
<<_ACEOF
15090 #define SIZEOF_CHAR $ac_cv_sizeof_char
15094 echo "$as_me:$LINENO: checking for short" >&5
15095 echo $ECHO_N "checking for short... $ECHO_C" >&6
15096 if test "${ac_cv_type_short+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 cat >conftest.
$ac_ext <<_ACEOF
15102 cat confdefs.h
>>conftest.
$ac_ext
15103 cat >>conftest.
$ac_ext <<_ACEOF
15104 /* end confdefs.h. */
15105 $ac_includes_default
15111 if (sizeof (short))
15117 rm -f conftest.
$ac_objext
15118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15119 (eval $ac_compile) 2>conftest.er1
15121 grep -v '^ *+' conftest.er1
>conftest.err
15123 cat conftest.err
>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); } &&
15126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; } &&
15132 { ac_try
='test -s conftest.$ac_objext'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; }; then
15138 ac_cv_type_short
=yes
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.
$ac_ext >&5
15143 ac_cv_type_short
=no
15145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15147 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
15148 echo "${ECHO_T}$ac_cv_type_short" >&6
15150 echo "$as_me:$LINENO: checking size of short" >&5
15151 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15152 if test "${ac_cv_sizeof_short+set}" = set; then
15153 echo $ECHO_N "(cached) $ECHO_C" >&6
15155 if test "$ac_cv_type_short" = yes; then
15156 # The cast to unsigned long works around a bug in the HP C Compiler
15157 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15158 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15159 # This bug is HP SR number 8606223364.
15160 if test "$cross_compiling" = yes; then
15161 # Depending upon the size, compute the lo and hi bounds.
15162 cat >conftest.
$ac_ext <<_ACEOF
15165 cat confdefs.h
>>conftest.
$ac_ext
15166 cat >>conftest.
$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15168 $ac_includes_default
15172 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15179 rm -f conftest.
$ac_objext
15180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15181 (eval $ac_compile) 2>conftest.er1
15183 grep -v '^ *+' conftest.er1
>conftest.err
15185 cat conftest.err
>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } &&
15188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15190 (eval $ac_try) 2>&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); }; } &&
15194 { ac_try
='test -s conftest.$ac_objext'
15195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196 (eval $ac_try) 2>&5
15198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199 (exit $ac_status); }; }; then
15202 cat >conftest.
$ac_ext <<_ACEOF
15205 cat confdefs.h
>>conftest.
$ac_ext
15206 cat >>conftest.
$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15208 $ac_includes_default
15212 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15219 rm -f conftest.
$ac_objext
15220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15221 (eval $ac_compile) 2>conftest.er1
15223 grep -v '^ *+' conftest.er1
>conftest.err
15225 cat conftest.err
>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } &&
15228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; } &&
15234 { ac_try
='test -s conftest.$ac_objext'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; }; then
15240 ac_hi
=$ac_mid; break
15242 echo "$as_me: failed program was:" >&5
15243 sed 's/^/| /' conftest.
$ac_ext >&5
15245 ac_lo
=`expr $ac_mid + 1`
15246 if test $ac_lo -le $ac_mid; then
15250 ac_mid
=`expr 2 '*' $ac_mid + 1`
15252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.
$ac_ext >&5
15258 cat >conftest.
$ac_ext <<_ACEOF
15261 cat confdefs.h
>>conftest.
$ac_ext
15262 cat >>conftest.
$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15264 $ac_includes_default
15268 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15275 rm -f conftest.
$ac_objext
15276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15277 (eval $ac_compile) 2>conftest.er1
15279 grep -v '^ *+' conftest.er1
>conftest.err
15281 cat conftest.err
>&5
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15283 (exit $ac_status); } &&
15284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286 (eval $ac_try) 2>&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); }; } &&
15290 { ac_try
='test -s conftest.$ac_objext'
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; }; then
15298 cat >conftest.
$ac_ext <<_ACEOF
15301 cat confdefs.h
>>conftest.
$ac_ext
15302 cat >>conftest.
$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15304 $ac_includes_default
15308 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15315 rm -f conftest.
$ac_objext
15316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15317 (eval $ac_compile) 2>conftest.er1
15319 grep -v '^ *+' conftest.er1
>conftest.err
15321 cat conftest.err
>&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } &&
15324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15326 (eval $ac_try) 2>&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); }; } &&
15330 { ac_try
='test -s conftest.$ac_objext'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; }; then
15336 ac_lo
=$ac_mid; break
15338 echo "$as_me: failed program was:" >&5
15339 sed 's/^/| /' conftest.
$ac_ext >&5
15341 ac_hi
=`expr '(' $ac_mid ')' - 1`
15342 if test $ac_mid -le $ac_hi; then
15346 ac_mid
=`expr 2 '*' $ac_mid`
15348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15351 echo "$as_me: failed program was:" >&5
15352 sed 's/^/| /' conftest.
$ac_ext >&5
15356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15359 # Binary search between lo and hi bounds.
15360 while test "x$ac_lo" != "x$ac_hi"; do
15361 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15362 cat >conftest.
$ac_ext <<_ACEOF
15365 cat confdefs.h
>>conftest.
$ac_ext
15366 cat >>conftest.
$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15372 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15379 rm -f conftest.
$ac_objext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15381 (eval $ac_compile) 2>conftest.er1
15383 grep -v '^ *+' conftest.er1
>conftest.err
15385 cat conftest.err
>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; } &&
15394 { ac_try
='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.
$ac_ext >&5
15405 ac_lo
=`expr '(' $ac_mid ')' + 1`
15407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15410 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15411 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15412 See \`config.log' for more details." >&5
15413 echo "$as_me: error: cannot compute sizeof (short), 77
15414 See \`config.log' for more details." >&2;}
15415 { (exit 1); exit 1; }; } ;;
15418 if test "$cross_compiling" = yes; then
15419 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15420 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15421 { (exit 1); exit 1; }; }
15423 cat >conftest.
$ac_ext <<_ACEOF
15426 cat confdefs.h
>>conftest.
$ac_ext
15427 cat >>conftest.
$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429 $ac_includes_default
15430 long longval () { return (long) (sizeof (short)); }
15431 unsigned long ulongval () { return (long) (sizeof (short)); }
15433 #include <stdlib.h>
15438 FILE *f = fopen ("conftest.val", "w");
15441 if (((long) (sizeof (short))) < 0)
15443 long i = longval ();
15444 if (i != ((long) (sizeof (short))))
15446 fprintf (f, "%ld\n", i);
15450 unsigned long i = ulongval ();
15451 if (i != ((long) (sizeof (short))))
15453 fprintf (f, "%lu\n", i);
15455 exit (ferror (f) || fclose (f) != 0);
15461 rm -f conftest
$ac_exeext
15462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15463 (eval $ac_link) 2>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_cv_sizeof_short
=`cat conftest.val`
15474 echo "$as_me: program exited with status $ac_status" >&5
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.
$ac_ext >&5
15478 ( exit $ac_status )
15479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15480 See \`config.log' for more details." >&5
15481 echo "$as_me: error: cannot compute sizeof (short), 77
15482 See \`config.log' for more details." >&2;}
15483 { (exit 1); exit 1; }; }
15485 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15490 ac_cv_sizeof_short
=0
15493 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15494 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15495 cat >>confdefs.h
<<_ACEOF
15496 #define SIZEOF_SHORT $ac_cv_sizeof_short
15500 echo "$as_me:$LINENO: checking for void *" >&5
15501 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15502 if test "${ac_cv_type_void_p+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15505 cat >conftest.
$ac_ext <<_ACEOF
15508 cat confdefs.h
>>conftest.
$ac_ext
15509 cat >>conftest.
$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 $ac_includes_default
15517 if (sizeof (void *))
15523 rm -f conftest.
$ac_objext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15525 (eval $ac_compile) 2>conftest.er1
15527 grep -v '^ *+' conftest.er1
>conftest.err
15529 cat conftest.err
>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; } &&
15538 { ac_try
='test -s conftest.$ac_objext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 ac_cv_type_void_p
=yes
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.
$ac_ext >&5
15549 ac_cv_type_void_p
=no
15551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15553 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15554 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15556 echo "$as_me:$LINENO: checking size of void *" >&5
15557 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15558 if test "${ac_cv_sizeof_void_p+set}" = set; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 if test "$ac_cv_type_void_p" = yes; then
15562 # The cast to unsigned long works around a bug in the HP C Compiler
15563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15565 # This bug is HP SR number 8606223364.
15566 if test "$cross_compiling" = yes; then
15567 # Depending upon the size, compute the lo and hi bounds.
15568 cat >conftest.
$ac_ext <<_ACEOF
15571 cat confdefs.h
>>conftest.
$ac_ext
15572 cat >>conftest.
$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15578 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15585 rm -f conftest.
$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>conftest.er1
15589 grep -v '^ *+' conftest.er1
>conftest.err
15591 cat conftest.err
>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; } &&
15600 { ac_try
='test -s conftest.$ac_objext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15608 cat >conftest.
$ac_ext <<_ACEOF
15611 cat confdefs.h
>>conftest.
$ac_ext
15612 cat >>conftest.
$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15614 $ac_includes_default
15618 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15625 rm -f conftest.
$ac_objext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15627 (eval $ac_compile) 2>conftest.er1
15629 grep -v '^ *+' conftest.er1
>conftest.err
15631 cat conftest.err
>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try
='test -s conftest.$ac_objext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 ac_hi
=$ac_mid; break
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.
$ac_ext >&5
15651 ac_lo
=`expr $ac_mid + 1`
15652 if test $ac_lo -le $ac_mid; then
15656 ac_mid
=`expr 2 '*' $ac_mid + 1`
15658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15661 echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.
$ac_ext >&5
15664 cat >conftest.
$ac_ext <<_ACEOF
15667 cat confdefs.h
>>conftest.
$ac_ext
15668 cat >>conftest.
$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15670 $ac_includes_default
15674 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15681 rm -f conftest.
$ac_objext
15682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15683 (eval $ac_compile) 2>conftest.er1
15685 grep -v '^ *+' conftest.er1
>conftest.err
15687 cat conftest.err
>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; } &&
15696 { ac_try
='test -s conftest.$ac_objext'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; }; then
15704 cat >conftest.
$ac_ext <<_ACEOF
15707 cat confdefs.h
>>conftest.
$ac_ext
15708 cat >>conftest.
$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 $ac_includes_default
15714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15721 rm -f conftest.
$ac_objext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15723 (eval $ac_compile) 2>conftest.er1
15725 grep -v '^ *+' conftest.er1
>conftest.err
15727 cat conftest.err
>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; } &&
15736 { ac_try
='test -s conftest.$ac_objext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15742 ac_lo
=$ac_mid; break
15744 echo "$as_me: failed program was:" >&5
15745 sed 's/^/| /' conftest.
$ac_ext >&5
15747 ac_hi
=`expr '(' $ac_mid ')' - 1`
15748 if test $ac_mid -le $ac_hi; then
15752 ac_mid
=`expr 2 '*' $ac_mid`
15754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.
$ac_ext >&5
15762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15765 # Binary search between lo and hi bounds.
15766 while test "x$ac_lo" != "x$ac_hi"; do
15767 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15768 cat >conftest.
$ac_ext <<_ACEOF
15771 cat confdefs.h
>>conftest.
$ac_ext
15772 cat >>conftest.
$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 $ac_includes_default
15778 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15785 rm -f conftest.
$ac_objext
15786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15787 (eval $ac_compile) 2>conftest.er1
15789 grep -v '^ *+' conftest.er1
>conftest.err
15791 cat conftest.err
>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); } &&
15794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; } &&
15800 { ac_try
='test -s conftest.$ac_objext'
15801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15802 (eval $ac_try) 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); }; }; then
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.
$ac_ext >&5
15811 ac_lo
=`expr '(' $ac_mid ')' + 1`
15813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15816 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15817 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15818 See \`config.log' for more details." >&5
15819 echo "$as_me: error: cannot compute sizeof (void *), 77
15820 See \`config.log' for more details." >&2;}
15821 { (exit 1); exit 1; }; } ;;
15824 if test "$cross_compiling" = yes; then
15825 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15826 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15827 { (exit 1); exit 1; }; }
15829 cat >conftest.
$ac_ext <<_ACEOF
15832 cat confdefs.h
>>conftest.
$ac_ext
15833 cat >>conftest.
$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 $ac_includes_default
15836 long longval () { return (long) (sizeof (void *)); }
15837 unsigned long ulongval () { return (long) (sizeof (void *)); }
15839 #include <stdlib.h>
15844 FILE *f = fopen ("conftest.val", "w");
15847 if (((long) (sizeof (void *))) < 0)
15849 long i = longval ();
15850 if (i != ((long) (sizeof (void *))))
15852 fprintf (f, "%ld\n", i);
15856 unsigned long i = ulongval ();
15857 if (i != ((long) (sizeof (void *))))
15859 fprintf (f, "%lu\n", i);
15861 exit (ferror (f) || fclose (f) != 0);
15867 rm -f conftest
$ac_exeext
15868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15869 (eval $ac_link) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15874 (eval $ac_try) 2>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; }; then
15878 ac_cv_sizeof_void_p
=`cat conftest.val`
15880 echo "$as_me: program exited with status $ac_status" >&5
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 ( exit $ac_status )
15885 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15886 See \`config.log' for more details." >&5
15887 echo "$as_me: error: cannot compute sizeof (void *), 77
15888 See \`config.log' for more details." >&2;}
15889 { (exit 1); exit 1; }; }
15891 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15896 ac_cv_sizeof_void_p
=0
15899 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15900 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15901 cat >>confdefs.h
<<_ACEOF
15902 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15906 echo "$as_me:$LINENO: checking for int" >&5
15907 echo $ECHO_N "checking for int... $ECHO_C" >&6
15908 if test "${ac_cv_type_int+set}" = set; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 cat >conftest.
$ac_ext <<_ACEOF
15914 cat confdefs.h
>>conftest.
$ac_ext
15915 cat >>conftest.
$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 $ac_includes_default
15929 rm -f conftest.
$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>conftest.er1
15933 grep -v '^ *+' conftest.er1
>conftest.err
15935 cat conftest.err
>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; } &&
15944 { ac_try
='test -s conftest.$ac_objext'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; }; then
15952 echo "$as_me: failed program was:" >&5
15953 sed 's/^/| /' conftest.
$ac_ext >&5
15957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15959 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15960 echo "${ECHO_T}$ac_cv_type_int" >&6
15962 echo "$as_me:$LINENO: checking size of int" >&5
15963 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15964 if test "${ac_cv_sizeof_int+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15967 if test "$ac_cv_type_int" = yes; then
15968 # The cast to unsigned long works around a bug in the HP C Compiler
15969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15971 # This bug is HP SR number 8606223364.
15972 if test "$cross_compiling" = yes; then
15973 # Depending upon the size, compute the lo and hi bounds.
15974 cat >conftest.
$ac_ext <<_ACEOF
15977 cat confdefs.h
>>conftest.
$ac_ext
15978 cat >>conftest.
$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15980 $ac_includes_default
15984 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15991 rm -f conftest.
$ac_objext
15992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15993 (eval $ac_compile) 2>conftest.er1
15995 grep -v '^ *+' conftest.er1
>conftest.err
15997 cat conftest.err
>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } &&
16000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16002 (eval $ac_try) 2>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); }; } &&
16006 { ac_try
='test -s conftest.$ac_objext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16014 cat >conftest.
$ac_ext <<_ACEOF
16017 cat confdefs.h
>>conftest.
$ac_ext
16018 cat >>conftest.
$ac_ext <<_ACEOF
16019 /* end confdefs.h. */
16020 $ac_includes_default
16024 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16031 rm -f conftest.
$ac_objext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033 (eval $ac_compile) 2>conftest.er1
16035 grep -v '^ *+' conftest.er1
>conftest.err
16037 cat conftest.err
>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try
='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_hi
=$ac_mid; break
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.
$ac_ext >&5
16057 ac_lo
=`expr $ac_mid + 1`
16058 if test $ac_lo -le $ac_mid; then
16062 ac_mid
=`expr 2 '*' $ac_mid + 1`
16064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.
$ac_ext >&5
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16080 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16087 rm -f conftest.
$ac_objext
16088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16089 (eval $ac_compile) 2>conftest.er1
16091 grep -v '^ *+' conftest.er1
>conftest.err
16093 cat conftest.err
>&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } &&
16096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try
='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16110 cat >conftest.
$ac_ext <<_ACEOF
16113 cat confdefs.h
>>conftest.
$ac_ext
16114 cat >>conftest.
$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 $ac_includes_default
16120 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16127 rm -f conftest.
$ac_objext
16128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16129 (eval $ac_compile) 2>conftest.er1
16131 grep -v '^ *+' conftest.er1
>conftest.err
16133 cat conftest.err
>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); } &&
16136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try
='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16148 ac_lo
=$ac_mid; break
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.
$ac_ext >&5
16153 ac_hi
=`expr '(' $ac_mid ')' - 1`
16154 if test $ac_mid -le $ac_hi; then
16158 ac_mid
=`expr 2 '*' $ac_mid`
16160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.
$ac_ext >&5
16168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16171 # Binary search between lo and hi bounds.
16172 while test "x$ac_lo" != "x$ac_hi"; do
16173 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16174 cat >conftest.
$ac_ext <<_ACEOF
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16184 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try
='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16217 ac_lo
=`expr '(' $ac_mid ')' + 1`
16219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16222 ?
*) ac_cv_sizeof_int
=$ac_lo;;
16223 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16224 See \`config.log' for more details." >&5
16225 echo "$as_me: error: cannot compute sizeof (int), 77
16226 See \`config.log' for more details." >&2;}
16227 { (exit 1); exit 1; }; } ;;
16230 if test "$cross_compiling" = yes; then
16231 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16232 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16233 { (exit 1); exit 1; }; }
16235 cat >conftest.
$ac_ext <<_ACEOF
16238 cat confdefs.h
>>conftest.
$ac_ext
16239 cat >>conftest.
$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 $ac_includes_default
16242 long longval () { return (long) (sizeof (int)); }
16243 unsigned long ulongval () { return (long) (sizeof (int)); }
16245 #include <stdlib.h>
16250 FILE *f = fopen ("conftest.val", "w");
16253 if (((long) (sizeof (int))) < 0)
16255 long i = longval ();
16256 if (i != ((long) (sizeof (int))))
16258 fprintf (f, "%ld\n", i);
16262 unsigned long i = ulongval ();
16263 if (i != ((long) (sizeof (int))))
16265 fprintf (f, "%lu\n", i);
16267 exit (ferror (f) || fclose (f) != 0);
16273 rm -f conftest
$ac_exeext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16275 (eval $ac_link) 2>&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; }; then
16284 ac_cv_sizeof_int
=`cat conftest.val`
16286 echo "$as_me: program exited with status $ac_status" >&5
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.
$ac_ext >&5
16290 ( exit $ac_status )
16291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16292 See \`config.log' for more details." >&5
16293 echo "$as_me: error: cannot compute sizeof (int), 77
16294 See \`config.log' for more details." >&2;}
16295 { (exit 1); exit 1; }; }
16297 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16305 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16306 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16307 cat >>confdefs.h
<<_ACEOF
16308 #define SIZEOF_INT $ac_cv_sizeof_int
16312 echo "$as_me:$LINENO: checking for long" >&5
16313 echo $ECHO_N "checking for long... $ECHO_C" >&6
16314 if test "${ac_cv_type_long+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16317 cat >conftest.
$ac_ext <<_ACEOF
16320 cat confdefs.h
>>conftest.
$ac_ext
16321 cat >>conftest.
$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 $ac_includes_default
16335 rm -f conftest.
$ac_objext
16336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16337 (eval $ac_compile) 2>conftest.er1
16339 grep -v '^ *+' conftest.er1
>conftest.err
16341 cat conftest.err
>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; } &&
16350 { ac_try
='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_cv_type_long
=yes
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16365 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16366 echo "${ECHO_T}$ac_cv_type_long" >&6
16368 echo "$as_me:$LINENO: checking size of long" >&5
16369 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16370 if test "${ac_cv_sizeof_long+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 if test "$ac_cv_type_long" = yes; then
16374 # The cast to unsigned long works around a bug in the HP C Compiler
16375 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16376 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16377 # This bug is HP SR number 8606223364.
16378 if test "$cross_compiling" = yes; then
16379 # Depending upon the size, compute the lo and hi bounds.
16380 cat >conftest.
$ac_ext <<_ACEOF
16383 cat confdefs.h
>>conftest.
$ac_ext
16384 cat >>conftest.
$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16390 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16397 rm -f conftest.
$ac_objext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16399 (eval $ac_compile) 2>conftest.er1
16401 grep -v '^ *+' conftest.er1
>conftest.err
16403 cat conftest.err
>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try
='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16420 cat >conftest.
$ac_ext <<_ACEOF
16423 cat confdefs.h
>>conftest.
$ac_ext
16424 cat >>conftest.
$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16430 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16437 rm -f conftest.
$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16441 grep -v '^ *+' conftest.er1
>conftest.err
16443 cat conftest.err
>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; } &&
16452 { ac_try
='test -s conftest.$ac_objext'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; }; then
16458 ac_hi
=$ac_mid; break
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.
$ac_ext >&5
16463 ac_lo
=`expr $ac_mid + 1`
16464 if test $ac_lo -le $ac_mid; then
16468 ac_mid
=`expr 2 '*' $ac_mid + 1`
16470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16473 echo "$as_me: failed program was:" >&5
16474 sed 's/^/| /' conftest.
$ac_ext >&5
16476 cat >conftest.
$ac_ext <<_ACEOF
16479 cat confdefs.h
>>conftest.
$ac_ext
16480 cat >>conftest.
$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482 $ac_includes_default
16486 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16493 rm -f conftest.
$ac_objext
16494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16495 (eval $ac_compile) 2>conftest.er1
16497 grep -v '^ *+' conftest.er1
>conftest.err
16499 cat conftest.err
>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } &&
16502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; } &&
16508 { ac_try
='test -s conftest.$ac_objext'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; }; then
16516 cat >conftest.
$ac_ext <<_ACEOF
16519 cat confdefs.h
>>conftest.
$ac_ext
16520 cat >>conftest.
$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 $ac_includes_default
16526 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16533 rm -f conftest.
$ac_objext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16535 (eval $ac_compile) 2>conftest.er1
16537 grep -v '^ *+' conftest.er1
>conftest.err
16539 cat conftest.err
>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); } &&
16542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try
='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_lo
=$ac_mid; break
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 ac_hi
=`expr '(' $ac_mid ')' - 1`
16560 if test $ac_mid -le $ac_hi; then
16564 ac_mid
=`expr 2 '*' $ac_mid`
16566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.
$ac_ext >&5
16574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16577 # Binary search between lo and hi bounds.
16578 while test "x$ac_lo" != "x$ac_hi"; do
16579 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16580 cat >conftest.
$ac_ext <<_ACEOF
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16590 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16597 rm -f conftest.
$ac_objext
16598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16599 (eval $ac_compile) 2>conftest.er1
16601 grep -v '^ *+' conftest.er1
>conftest.err
16603 cat conftest.err
>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } &&
16606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; } &&
16612 { ac_try
='test -s conftest.$ac_objext'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; }; then
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.
$ac_ext >&5
16623 ac_lo
=`expr '(' $ac_mid ')' + 1`
16625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16628 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16629 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16630 See \`config.log' for more details." >&5
16631 echo "$as_me: error: cannot compute sizeof (long), 77
16632 See \`config.log' for more details." >&2;}
16633 { (exit 1); exit 1; }; } ;;
16636 if test "$cross_compiling" = yes; then
16637 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16638 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16639 { (exit 1); exit 1; }; }
16641 cat >conftest.
$ac_ext <<_ACEOF
16644 cat confdefs.h
>>conftest.
$ac_ext
16645 cat >>conftest.
$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16648 long longval () { return (long) (sizeof (long)); }
16649 unsigned long ulongval () { return (long) (sizeof (long)); }
16651 #include <stdlib.h>
16656 FILE *f = fopen ("conftest.val", "w");
16659 if (((long) (sizeof (long))) < 0)
16661 long i = longval ();
16662 if (i != ((long) (sizeof (long))))
16664 fprintf (f, "%ld\n", i);
16668 unsigned long i = ulongval ();
16669 if (i != ((long) (sizeof (long))))
16671 fprintf (f, "%lu\n", i);
16673 exit (ferror (f) || fclose (f) != 0);
16679 rm -f conftest
$ac_exeext
16680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16681 (eval $ac_link) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; }; then
16690 ac_cv_sizeof_long
=`cat conftest.val`
16692 echo "$as_me: program exited with status $ac_status" >&5
16693 echo "$as_me: failed program was:" >&5
16694 sed 's/^/| /' conftest.
$ac_ext >&5
16696 ( exit $ac_status )
16697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16698 See \`config.log' for more details." >&5
16699 echo "$as_me: error: cannot compute sizeof (long), 77
16700 See \`config.log' for more details." >&2;}
16701 { (exit 1); exit 1; }; }
16703 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16708 ac_cv_sizeof_long
=0
16711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16712 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16713 cat >>confdefs.h
<<_ACEOF
16714 #define SIZEOF_LONG $ac_cv_sizeof_long
16718 echo "$as_me:$LINENO: checking for size_t" >&5
16719 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16720 if test "${ac_cv_type_size_t+set}" = set; then
16721 echo $ECHO_N "(cached) $ECHO_C" >&6
16723 cat >conftest.
$ac_ext <<_ACEOF
16726 cat confdefs.h
>>conftest.
$ac_ext
16727 cat >>conftest.
$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16729 $ac_includes_default
16735 if (sizeof (size_t))
16741 rm -f conftest.
$ac_objext
16742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16743 (eval $ac_compile) 2>conftest.er1
16745 grep -v '^ *+' conftest.er1
>conftest.err
16747 cat conftest.err
>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } &&
16750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16752 (eval $ac_try) 2>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try
='test -s conftest.$ac_objext'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; }; then
16762 ac_cv_type_size_t
=yes
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.
$ac_ext >&5
16767 ac_cv_type_size_t
=no
16769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16771 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16772 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16774 echo "$as_me:$LINENO: checking size of size_t" >&5
16775 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16776 if test "${ac_cv_sizeof_size_t+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16779 if test "$ac_cv_type_size_t" = yes; then
16780 # The cast to unsigned long works around a bug in the HP C Compiler
16781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16783 # This bug is HP SR number 8606223364.
16784 if test "$cross_compiling" = yes; then
16785 # Depending upon the size, compute the lo and hi bounds.
16786 cat >conftest.
$ac_ext <<_ACEOF
16789 cat confdefs.h
>>conftest.
$ac_ext
16790 cat >>conftest.
$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 $ac_includes_default
16796 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16803 rm -f conftest.
$ac_objext
16804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16805 (eval $ac_compile) 2>conftest.er1
16807 grep -v '^ *+' conftest.er1
>conftest.err
16809 cat conftest.err
>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; } &&
16818 { ac_try
='test -s conftest.$ac_objext'
16819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16820 (eval $ac_try) 2>&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); }; }; then
16826 cat >conftest.
$ac_ext <<_ACEOF
16829 cat confdefs.h
>>conftest.
$ac_ext
16830 cat >>conftest.
$ac_ext <<_ACEOF
16831 /* end confdefs.h. */
16832 $ac_includes_default
16836 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16843 rm -f conftest.
$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16847 grep -v '^ *+' conftest.er1
>conftest.err
16849 cat conftest.err
>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; } &&
16858 { ac_try
='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_hi
=$ac_mid; break
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ac_lo
=`expr $ac_mid + 1`
16870 if test $ac_lo -le $ac_mid; then
16874 ac_mid
=`expr 2 '*' $ac_mid + 1`
16876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.
$ac_ext >&5
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 $ac_includes_default
16892 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16899 rm -f conftest.
$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16903 grep -v '^ *+' conftest.er1
>conftest.err
16905 cat conftest.err
>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try
='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16922 cat >conftest.
$ac_ext <<_ACEOF
16925 cat confdefs.h
>>conftest.
$ac_ext
16926 cat >>conftest.
$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 $ac_includes_default
16932 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16939 rm -f conftest.
$ac_objext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16941 (eval $ac_compile) 2>conftest.er1
16943 grep -v '^ *+' conftest.er1
>conftest.err
16945 cat conftest.err
>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; } &&
16954 { ac_try
='test -s conftest.$ac_objext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_lo
=$ac_mid; break
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.
$ac_ext >&5
16965 ac_hi
=`expr '(' $ac_mid ')' - 1`
16966 if test $ac_mid -le $ac_hi; then
16970 ac_mid
=`expr 2 '*' $ac_mid`
16972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.
$ac_ext >&5
16980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16983 # Binary search between lo and hi bounds.
16984 while test "x$ac_lo" != "x$ac_hi"; do
16985 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16986 cat >conftest.
$ac_ext <<_ACEOF
16989 cat confdefs.h
>>conftest.
$ac_ext
16990 cat >>conftest.
$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16996 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17003 rm -f conftest.
$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try
='test -s conftest.$ac_objext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.
$ac_ext >&5
17029 ac_lo
=`expr '(' $ac_mid ')' + 1`
17031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17034 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17035 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17036 See \`config.log' for more details." >&5
17037 echo "$as_me: error: cannot compute sizeof (size_t), 77
17038 See \`config.log' for more details." >&2;}
17039 { (exit 1); exit 1; }; } ;;
17042 if test "$cross_compiling" = yes; then
17043 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17044 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17045 { (exit 1); exit 1; }; }
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 long longval () { return (long) (sizeof (size_t)); }
17055 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17057 #include <stdlib.h>
17062 FILE *f = fopen ("conftest.val", "w");
17065 if (((long) (sizeof (size_t))) < 0)
17067 long i = longval ();
17068 if (i != ((long) (sizeof (size_t))))
17070 fprintf (f, "%ld\n", i);
17074 unsigned long i = ulongval ();
17075 if (i != ((long) (sizeof (size_t))))
17077 fprintf (f, "%lu\n", i);
17079 exit (ferror (f) || fclose (f) != 0);
17085 rm -f conftest
$ac_exeext
17086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17087 (eval $ac_link) 2>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_sizeof_size_t
=`cat conftest.val`
17098 echo "$as_me: program exited with status $ac_status" >&5
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.
$ac_ext >&5
17102 ( exit $ac_status )
17103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17104 See \`config.log' for more details." >&5
17105 echo "$as_me: error: cannot compute sizeof (size_t), 77
17106 See \`config.log' for more details." >&2;}
17107 { (exit 1); exit 1; }; }
17109 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17114 ac_cv_sizeof_size_t
=0
17117 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17118 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17119 cat >>confdefs.h
<<_ACEOF
17120 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17127 echo "$as_me:$LINENO: checking for long long" >&5
17128 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17129 if test "${ac_cv_type_long_long+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 cat >conftest.
$ac_ext <<_ACEOF
17135 cat confdefs.h
>>conftest.
$ac_ext
17136 cat >>conftest.
$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17142 if ((long long *) 0)
17144 if (sizeof (long long))
17150 rm -f conftest.
$ac_objext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17152 (eval $ac_compile) 2>conftest.er1
17154 grep -v '^ *+' conftest.er1
>conftest.err
17156 cat conftest.err
>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; } &&
17165 { ac_try
='test -s conftest.$ac_objext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_cv_type_long_long
=yes
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.
$ac_ext >&5
17176 ac_cv_type_long_long
=no
17178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17180 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17181 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17183 echo "$as_me:$LINENO: checking size of long long" >&5
17184 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17185 if test "${ac_cv_sizeof_long_long+set}" = set; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 if test "$ac_cv_type_long_long" = yes; then
17189 # The cast to unsigned long works around a bug in the HP C Compiler
17190 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17191 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17192 # This bug is HP SR number 8606223364.
17193 if test "$cross_compiling" = yes; then
17194 # Depending upon the size, compute the lo and hi bounds.
17195 cat >conftest.
$ac_ext <<_ACEOF
17198 cat confdefs.h
>>conftest.
$ac_ext
17199 cat >>conftest.
$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_includes_default
17205 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17212 rm -f conftest.
$ac_objext
17213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17214 (eval $ac_compile) 2>conftest.er1
17216 grep -v '^ *+' conftest.er1
>conftest.err
17218 cat conftest.err
>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } &&
17221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; } &&
17227 { ac_try
='test -s conftest.$ac_objext'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; }; then
17235 cat >conftest.
$ac_ext <<_ACEOF
17238 cat confdefs.h
>>conftest.
$ac_ext
17239 cat >>conftest.
$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17241 $ac_includes_default
17245 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17252 rm -f conftest.
$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17256 grep -v '^ *+' conftest.er1
>conftest.err
17258 cat conftest.err
>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try
='test -s conftest.$ac_objext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 ac_hi
=$ac_mid; break
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.
$ac_ext >&5
17278 ac_lo
=`expr $ac_mid + 1`
17279 if test $ac_lo -le $ac_mid; then
17283 ac_mid
=`expr 2 '*' $ac_mid + 1`
17285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.
$ac_ext >&5
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 $ac_includes_default
17301 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17308 rm -f conftest.
$ac_objext
17309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17310 (eval $ac_compile) 2>conftest.er1
17312 grep -v '^ *+' conftest.er1
>conftest.err
17314 cat conftest.err
>&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } &&
17317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17319 (eval $ac_try) 2>&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); }; } &&
17323 { ac_try
='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17331 cat >conftest.
$ac_ext <<_ACEOF
17334 cat confdefs.h
>>conftest.
$ac_ext
17335 cat >>conftest.
$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337 $ac_includes_default
17341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17348 rm -f conftest.
$ac_objext
17349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17350 (eval $ac_compile) 2>conftest.er1
17352 grep -v '^ *+' conftest.er1
>conftest.err
17354 cat conftest.err
>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } &&
17357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try
='test -s conftest.$ac_objext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 ac_lo
=$ac_mid; break
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.
$ac_ext >&5
17374 ac_hi
=`expr '(' $ac_mid ')' - 1`
17375 if test $ac_mid -le $ac_hi; then
17379 ac_mid
=`expr 2 '*' $ac_mid`
17381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17384 echo "$as_me: failed program was:" >&5
17385 sed 's/^/| /' conftest.
$ac_ext >&5
17389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17392 # Binary search between lo and hi bounds.
17393 while test "x$ac_lo" != "x$ac_hi"; do
17394 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17395 cat >conftest.
$ac_ext <<_ACEOF
17398 cat confdefs.h
>>conftest.
$ac_ext
17399 cat >>conftest.
$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401 $ac_includes_default
17405 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17412 rm -f conftest.
$ac_objext
17413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17414 (eval $ac_compile) 2>conftest.er1
17416 grep -v '^ *+' conftest.er1
>conftest.err
17418 cat conftest.err
>&5
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17420 (exit $ac_status); } &&
17421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17423 (eval $ac_try) 2>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); }; } &&
17427 { ac_try
='test -s conftest.$ac_objext'
17428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429 (eval $ac_try) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); }; }; then
17435 echo "$as_me: failed program was:" >&5
17436 sed 's/^/| /' conftest.
$ac_ext >&5
17438 ac_lo
=`expr '(' $ac_mid ')' + 1`
17440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17443 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17444 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17445 See \`config.log' for more details." >&5
17446 echo "$as_me: error: cannot compute sizeof (long long), 77
17447 See \`config.log' for more details." >&2;}
17448 { (exit 1); exit 1; }; } ;;
17451 if test "$cross_compiling" = yes; then
17452 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17453 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17454 { (exit 1); exit 1; }; }
17456 cat >conftest.
$ac_ext <<_ACEOF
17459 cat confdefs.h
>>conftest.
$ac_ext
17460 cat >>conftest.
$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17462 $ac_includes_default
17463 long longval () { return (long) (sizeof (long long)); }
17464 unsigned long ulongval () { return (long) (sizeof (long long)); }
17466 #include <stdlib.h>
17471 FILE *f = fopen ("conftest.val", "w");
17474 if (((long) (sizeof (long long))) < 0)
17476 long i = longval ();
17477 if (i != ((long) (sizeof (long long))))
17479 fprintf (f, "%ld\n", i);
17483 unsigned long i = ulongval ();
17484 if (i != ((long) (sizeof (long long))))
17486 fprintf (f, "%lu\n", i);
17488 exit (ferror (f) || fclose (f) != 0);
17494 rm -f conftest
$ac_exeext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17496 (eval $ac_link) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; }; then
17505 ac_cv_sizeof_long_long
=`cat conftest.val`
17507 echo "$as_me: program exited with status $ac_status" >&5
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.
$ac_ext >&5
17511 ( exit $ac_status )
17512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17513 See \`config.log' for more details." >&5
17514 echo "$as_me: error: cannot compute sizeof (long long), 77
17515 See \`config.log' for more details." >&2;}
17516 { (exit 1); exit 1; }; }
17518 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17523 ac_cv_sizeof_long_long
=0
17526 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17527 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17528 cat >>confdefs.h
<<_ACEOF
17529 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17535 echo "$as_me:$LINENO: checking for long long" >&5
17536 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17537 if test "${ac_cv_type_long_long+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 cat >conftest.
$ac_ext <<_ACEOF
17543 cat confdefs.h
>>conftest.
$ac_ext
17544 cat >>conftest.
$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 $ac_includes_default
17550 if ((long long *) 0)
17552 if (sizeof (long long))
17558 rm -f conftest.
$ac_objext
17559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17560 (eval $ac_compile) 2>conftest.er1
17562 grep -v '^ *+' conftest.er1
>conftest.err
17564 cat conftest.err
>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; } &&
17573 { ac_try
='test -s conftest.$ac_objext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 ac_cv_type_long_long
=yes
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.
$ac_ext >&5
17584 ac_cv_type_long_long
=no
17586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17588 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17589 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17591 echo "$as_me:$LINENO: checking size of long long" >&5
17592 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17593 if test "${ac_cv_sizeof_long_long+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 if test "$ac_cv_type_long_long" = yes; then
17597 # The cast to unsigned long works around a bug in the HP C Compiler
17598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17600 # This bug is HP SR number 8606223364.
17601 if test "$cross_compiling" = yes; then
17602 # Depending upon the size, compute the lo and hi bounds.
17603 cat >conftest.
$ac_ext <<_ACEOF
17606 cat confdefs.h
>>conftest.
$ac_ext
17607 cat >>conftest.
$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 $ac_includes_default
17613 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17620 rm -f conftest.
$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17624 grep -v '^ *+' conftest.er1
>conftest.err
17626 cat conftest.err
>&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17631 (eval $ac_try) 2>&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); }; } &&
17635 { ac_try
='test -s conftest.$ac_objext'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; }; then
17643 cat >conftest.
$ac_ext <<_ACEOF
17646 cat confdefs.h
>>conftest.
$ac_ext
17647 cat >>conftest.
$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 $ac_includes_default
17653 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17660 rm -f conftest.
$ac_objext
17661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17662 (eval $ac_compile) 2>conftest.er1
17664 grep -v '^ *+' conftest.er1
>conftest.err
17666 cat conftest.err
>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); } &&
17669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; } &&
17675 { ac_try
='test -s conftest.$ac_objext'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17681 ac_hi
=$ac_mid; break
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.
$ac_ext >&5
17686 ac_lo
=`expr $ac_mid + 1`
17687 if test $ac_lo -le $ac_mid; then
17691 ac_mid
=`expr 2 '*' $ac_mid + 1`
17693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 cat >conftest.
$ac_ext <<_ACEOF
17702 cat confdefs.h
>>conftest.
$ac_ext
17703 cat >>conftest.
$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 $ac_includes_default
17709 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17716 rm -f conftest.
$ac_objext
17717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17718 (eval $ac_compile) 2>conftest.er1
17720 grep -v '^ *+' conftest.er1
>conftest.err
17722 cat conftest.err
>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } &&
17725 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; } &&
17731 { ac_try
='test -s conftest.$ac_objext'
17732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17733 (eval $ac_try) 2>&5
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); }; }; then
17739 cat >conftest.
$ac_ext <<_ACEOF
17742 cat confdefs.h
>>conftest.
$ac_ext
17743 cat >>conftest.
$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 $ac_includes_default
17749 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17756 rm -f conftest.
$ac_objext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>conftest.er1
17760 grep -v '^ *+' conftest.er1
>conftest.err
17762 cat conftest.err
>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try
='test -s conftest.$ac_objext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17777 ac_lo
=$ac_mid; break
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.
$ac_ext >&5
17782 ac_hi
=`expr '(' $ac_mid ')' - 1`
17783 if test $ac_mid -le $ac_hi; then
17787 ac_mid
=`expr 2 '*' $ac_mid`
17789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17792 echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.
$ac_ext >&5
17797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17800 # Binary search between lo and hi bounds.
17801 while test "x$ac_lo" != "x$ac_hi"; do
17802 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17803 cat >conftest.
$ac_ext <<_ACEOF
17806 cat confdefs.h
>>conftest.
$ac_ext
17807 cat >>conftest.
$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 $ac_includes_default
17813 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17820 rm -f conftest.
$ac_objext
17821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17822 (eval $ac_compile) 2>conftest.er1
17824 grep -v '^ *+' conftest.er1
>conftest.err
17826 cat conftest.err
>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; } &&
17835 { ac_try
='test -s conftest.$ac_objext'
17836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837 (eval $ac_try) 2>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; }; then
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.
$ac_ext >&5
17846 ac_lo
=`expr '(' $ac_mid ')' + 1`
17848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17851 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17852 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17853 See \`config.log' for more details." >&5
17854 echo "$as_me: error: cannot compute sizeof (long long), 77
17855 See \`config.log' for more details." >&2;}
17856 { (exit 1); exit 1; }; } ;;
17859 if test "$cross_compiling" = yes; then
17860 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17861 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17862 { (exit 1); exit 1; }; }
17864 cat >conftest.
$ac_ext <<_ACEOF
17867 cat confdefs.h
>>conftest.
$ac_ext
17868 cat >>conftest.
$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 $ac_includes_default
17871 long longval () { return (long) (sizeof (long long)); }
17872 unsigned long ulongval () { return (long) (sizeof (long long)); }
17874 #include <stdlib.h>
17879 FILE *f = fopen ("conftest.val", "w");
17882 if (((long) (sizeof (long long))) < 0)
17884 long i = longval ();
17885 if (i != ((long) (sizeof (long long))))
17887 fprintf (f, "%ld\n", i);
17891 unsigned long i = ulongval ();
17892 if (i != ((long) (sizeof (long long))))
17894 fprintf (f, "%lu\n", i);
17896 exit (ferror (f) || fclose (f) != 0);
17902 rm -f conftest
$ac_exeext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17904 (eval $ac_link) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; }; then
17913 ac_cv_sizeof_long_long
=`cat conftest.val`
17915 echo "$as_me: program exited with status $ac_status" >&5
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.
$ac_ext >&5
17919 ( exit $ac_status )
17920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17921 See \`config.log' for more details." >&5
17922 echo "$as_me: error: cannot compute sizeof (long long), 77
17923 See \`config.log' for more details." >&2;}
17924 { (exit 1); exit 1; }; }
17926 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17931 ac_cv_sizeof_long_long
=0
17934 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17935 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17936 cat >>confdefs.h
<<_ACEOF
17937 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17941 if test "$ac_cv_sizeof_long_long" != "0"; then
17942 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17946 echo "$as_me:$LINENO: checking for long long" >&5
17947 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17948 if test "${ac_cv_type_long_long+set}" = set; then
17949 echo $ECHO_N "(cached) $ECHO_C" >&6
17951 cat >conftest.
$ac_ext <<_ACEOF
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17961 if ((long long *) 0)
17963 if (sizeof (long long))
17969 rm -f conftest.
$ac_objext
17970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17971 (eval $ac_compile) 2>conftest.er1
17973 grep -v '^ *+' conftest.er1
>conftest.err
17975 cat conftest.err
>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); } &&
17978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; } &&
17984 { ac_try
='test -s conftest.$ac_objext'
17985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17986 (eval $ac_try) 2>&5
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); }; }; then
17990 ac_cv_type_long_long
=yes
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.
$ac_ext >&5
17995 ac_cv_type_long_long
=no
17997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17999 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18000 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18002 echo "$as_me:$LINENO: checking size of long long" >&5
18003 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18004 if test "${ac_cv_sizeof_long_long+set}" = set; then
18005 echo $ECHO_N "(cached) $ECHO_C" >&6
18007 if test "$ac_cv_type_long_long" = yes; then
18008 # The cast to unsigned long works around a bug in the HP C Compiler
18009 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18010 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18011 # This bug is HP SR number 8606223364.
18012 if test "$cross_compiling" = yes; then
18013 # Depending upon the size, compute the lo and hi bounds.
18014 cat >conftest.
$ac_ext <<_ACEOF
18017 cat confdefs.h
>>conftest.
$ac_ext
18018 cat >>conftest.
$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18020 $ac_includes_default
18024 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18031 rm -f conftest.
$ac_objext
18032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18033 (eval $ac_compile) 2>conftest.er1
18035 grep -v '^ *+' conftest.er1
>conftest.err
18037 cat conftest.err
>&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } &&
18040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; } &&
18046 { ac_try
='test -s conftest.$ac_objext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18054 cat >conftest.
$ac_ext <<_ACEOF
18057 cat confdefs.h
>>conftest.
$ac_ext
18058 cat >>conftest.
$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 $ac_includes_default
18064 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18071 rm -f conftest.
$ac_objext
18072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18073 (eval $ac_compile) 2>conftest.er1
18075 grep -v '^ *+' conftest.er1
>conftest.err
18077 cat conftest.err
>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } &&
18080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; } &&
18086 { ac_try
='test -s conftest.$ac_objext'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; }; then
18092 ac_hi
=$ac_mid; break
18094 echo "$as_me: failed program was:" >&5
18095 sed 's/^/| /' conftest.
$ac_ext >&5
18097 ac_lo
=`expr $ac_mid + 1`
18098 if test $ac_lo -le $ac_mid; then
18102 ac_mid
=`expr 2 '*' $ac_mid + 1`
18104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18107 echo "$as_me: failed program was:" >&5
18108 sed 's/^/| /' conftest.
$ac_ext >&5
18110 cat >conftest.
$ac_ext <<_ACEOF
18113 cat confdefs.h
>>conftest.
$ac_ext
18114 cat >>conftest.
$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 $ac_includes_default
18120 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18127 rm -f conftest.
$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>conftest.er1
18131 grep -v '^ *+' conftest.er1
>conftest.err
18133 cat conftest.err
>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } &&
18136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; } &&
18142 { ac_try
='test -s conftest.$ac_objext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18150 cat >conftest.
$ac_ext <<_ACEOF
18153 cat confdefs.h
>>conftest.
$ac_ext
18154 cat >>conftest.
$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18160 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18167 rm -f conftest.
$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18171 grep -v '^ *+' conftest.er1
>conftest.err
18173 cat conftest.err
>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try
='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 ac_lo
=$ac_mid; break
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.
$ac_ext >&5
18193 ac_hi
=`expr '(' $ac_mid ')' - 1`
18194 if test $ac_mid -le $ac_hi; then
18198 ac_mid
=`expr 2 '*' $ac_mid`
18200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.
$ac_ext >&5
18208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18211 # Binary search between lo and hi bounds.
18212 while test "x$ac_lo" != "x$ac_hi"; do
18213 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18214 cat >conftest.
$ac_ext <<_ACEOF
18217 cat confdefs.h
>>conftest.
$ac_ext
18218 cat >>conftest.
$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220 $ac_includes_default
18224 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18231 rm -f conftest.
$ac_objext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18233 (eval $ac_compile) 2>conftest.er1
18235 grep -v '^ *+' conftest.er1
>conftest.err
18237 cat conftest.err
>&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try
='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18254 echo "$as_me: failed program was:" >&5
18255 sed 's/^/| /' conftest.
$ac_ext >&5
18257 ac_lo
=`expr '(' $ac_mid ')' + 1`
18259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18262 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18263 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18264 See \`config.log' for more details." >&5
18265 echo "$as_me: error: cannot compute sizeof (long long), 77
18266 See \`config.log' for more details." >&2;}
18267 { (exit 1); exit 1; }; } ;;
18270 if test "$cross_compiling" = yes; then
18271 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18272 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18273 { (exit 1); exit 1; }; }
18275 cat >conftest.
$ac_ext <<_ACEOF
18278 cat confdefs.h
>>conftest.
$ac_ext
18279 cat >>conftest.
$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281 $ac_includes_default
18282 long longval () { return (long) (sizeof (long long)); }
18283 unsigned long ulongval () { return (long) (sizeof (long long)); }
18285 #include <stdlib.h>
18290 FILE *f = fopen ("conftest.val", "w");
18293 if (((long) (sizeof (long long))) < 0)
18295 long i = longval ();
18296 if (i != ((long) (sizeof (long long))))
18298 fprintf (f, "%ld\n", i);
18302 unsigned long i = ulongval ();
18303 if (i != ((long) (sizeof (long long))))
18305 fprintf (f, "%lu\n", i);
18307 exit (ferror (f) || fclose (f) != 0);
18313 rm -f conftest
$ac_exeext
18314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18315 (eval $ac_link) 2>&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; }; then
18324 ac_cv_sizeof_long_long
=`cat conftest.val`
18326 echo "$as_me: program exited with status $ac_status" >&5
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.
$ac_ext >&5
18330 ( exit $ac_status )
18331 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18332 See \`config.log' for more details." >&5
18333 echo "$as_me: error: cannot compute sizeof (long long), 77
18334 See \`config.log' for more details." >&2;}
18335 { (exit 1); exit 1; }; }
18337 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18342 ac_cv_sizeof_long_long
=0
18345 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18346 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18347 cat >>confdefs.h
<<_ACEOF
18348 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18354 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18355 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18356 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18357 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 if test "$cross_compiling" = yes; then
18364 wx_cv_sizeof_wchar_t
=0
18367 wx_cv_sizeof_wchar_t
=4
18373 cat >conftest.
$ac_ext <<_ACEOF
18376 cat confdefs.h
>>conftest.
$ac_ext
18377 cat >>conftest.
$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18380 /* DJGPP only has fake wchar_t: */
18382 # error "fake wchar_t"
18384 #ifdef HAVE_WCHAR_H
18386 # include <stddef.h>
18388 # include <wchar.h>
18390 #ifdef HAVE_STDLIB_H
18391 # include <stdlib.h>
18396 FILE *f=fopen("conftestval", "w");
18398 fprintf(f, "%i", sizeof(wchar_t));
18403 rm -f conftest
$ac_exeext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18405 (eval $ac_link) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 wx_cv_sizeof_wchar_t
=`cat conftestval`
18416 echo "$as_me: program exited with status $ac_status" >&5
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.
$ac_ext >&5
18420 ( exit $ac_status )
18421 wx_cv_sizeof_wchar_t
=0
18423 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18427 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18428 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18430 cat >>confdefs.h
<<_ACEOF
18431 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18435 echo "$as_me:$LINENO: checking for va_copy" >&5
18436 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18437 if test "${wx_cv_func_va_copy+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 cat >conftest.
$ac_ext <<_ACEOF
18443 #include <stdarg.h>
18444 void foo(char *f, ...)
18458 rm -f conftest.
$ac_objext conftest
$ac_exeext
18459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18460 (eval $ac_link) 2>conftest.er1
18462 grep -v '^ *+' conftest.er1
>conftest.err
18464 cat conftest.err
>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } &&
18467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469 (eval $ac_try) 2>&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); }; } &&
18473 { ac_try
='test -s conftest$ac_exeext'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; }; then
18479 wx_cv_func_va_copy
=yes
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.
$ac_ext >&5
18484 wx_cv_func_va_copy
=no
18487 rm -f conftest.err conftest.
$ac_objext \
18488 conftest
$ac_exeext conftest.
$ac_ext
18492 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18493 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18495 if test $wx_cv_func_va_copy = "yes"; then
18496 cat >>confdefs.h
<<\_ACEOF
18497 #define HAVE_VA_COPY 1
18501 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18502 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18503 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18504 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 if test "$cross_compiling" = yes; then
18508 wx_cv_type_va_list_lvalue
=yes
18511 cat >conftest.
$ac_ext <<_ACEOF
18513 #include <stdarg.h>
18514 int foo(char *f, ...)
18519 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18527 return foo("hi", 17);
18530 rm -f conftest
$ac_exeext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18532 (eval $ac_link) 2>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; }; then
18541 wx_cv_type_va_list_lvalue
=yes
18543 echo "$as_me: program exited with status $ac_status" >&5
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.
$ac_ext >&5
18547 ( exit $ac_status )
18548 wx_cv_type_va_list_lvalue
=no
18550 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18555 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18556 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18558 if test $wx_cv_type_va_list_lvalue != "yes"; then
18559 cat >>confdefs.h
<<\_ACEOF
18560 #define VA_LIST_IS_ARRAY 1
18566 # Check whether --enable-largefile or --disable-largefile was given.
18567 if test "${enable_largefile+set}" = set; then
18568 enableval
="$enable_largefile"
18571 if test "$enable_largefile" != no
; then
18574 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18575 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18576 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18577 echo $ECHO_N "(cached) $ECHO_C" >&6
18580 cat >conftest.
$ac_ext <<_ACEOF
18583 cat confdefs.h
>>conftest.
$ac_ext
18584 cat >>conftest.
$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18586 #define _FILE_OFFSET_BITS 64
18587 #include <sys/types.h>
18592 unsigned int field: sizeof(off_t) == 8;
18599 rm -f conftest.
$ac_objext
18600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18601 (eval $ac_compile) 2>conftest.er1
18603 grep -v '^ *+' conftest.er1
>conftest.err
18605 cat conftest.err
>&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); } &&
18608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 (eval $ac_try) 2>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; } &&
18614 { ac_try
='test -s conftest.$ac_objext'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; }; then
18620 ac_cv_sys_file_offset_bits
=64
18622 echo "$as_me: failed program was:" >&5
18623 sed 's/^/| /' conftest.
$ac_ext >&5
18625 ac_cv_sys_file_offset_bits
=no
18627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18631 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18632 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18634 if test "$ac_cv_sys_file_offset_bits" != no
; then
18636 cat >>confdefs.h
<<_ACEOF
18637 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18642 if test "x$wx_largefile" != "xyes"; then
18644 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18645 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18646 if test "${ac_cv_sys_large_files+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 cat >conftest.
$ac_ext <<_ACEOF
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 #define _LARGE_FILES 1
18657 #include <sys/types.h>
18662 unsigned int field: sizeof(off_t) == 8;
18669 rm -f conftest.
$ac_objext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18671 (eval $ac_compile) 2>conftest.er1
18673 grep -v '^ *+' conftest.er1
>conftest.err
18675 cat conftest.err
>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; } &&
18684 { ac_try
='test -s conftest.$ac_objext'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; }; then
18690 ac_cv_sys_large_files
=1
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.
$ac_ext >&5
18695 ac_cv_sys_large_files
=no
18697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18701 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18702 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18704 if test "$ac_cv_sys_large_files" != no
; then
18706 cat >>confdefs.h
<<_ACEOF
18707 #define _LARGE_FILES $ac_cv_sys_large_files
18714 echo "$as_me:$LINENO: checking if large file support is available" >&5
18715 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18716 if test "x$wx_largefile" = "xyes"; then
18717 cat >>confdefs.h
<<\_ACEOF
18718 #define HAVE_LARGEFILE_SUPPORT 1
18722 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18723 echo "${ECHO_T}$wx_largefile" >&6
18727 if test "x$wx_largefile" = "xyes"; then
18728 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18729 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18731 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18733 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
18734 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
18735 if test "${ac_cv_sys_largefile_source+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18739 ac_cv_sys_largefile_source
=no
18740 cat >conftest.
$ac_ext <<_ACEOF
18743 cat confdefs.h
>>conftest.
$ac_ext
18744 cat >>conftest.
$ac_ext <<_ACEOF
18745 /* end confdefs.h. */
18755 rm -f conftest.
$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18759 grep -v '^ *+' conftest.er1
>conftest.err
18761 cat conftest.err
>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try
='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.
$ac_ext >&5
18782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18783 cat >conftest.
$ac_ext <<_ACEOF
18786 cat confdefs.h
>>conftest.
$ac_ext
18787 cat >>conftest.
$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18789 #define _LARGEFILE_SOURCE 1
18799 rm -f conftest.
$ac_objext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18801 (eval $ac_compile) 2>conftest.er1
18803 grep -v '^ *+' conftest.er1
>conftest.err
18805 cat conftest.err
>&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } &&
18808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18814 { ac_try
='test -s conftest.$ac_objext'
18815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18816 (eval $ac_try) 2>&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); }; }; then
18820 ac_cv_sys_largefile_source
=1; break
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.
$ac_ext >&5
18826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18830 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
18831 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
18832 if test "$ac_cv_sys_largefile_source" != no
; then
18834 cat >>confdefs.h
<<_ACEOF
18835 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
18841 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
18842 # in glibc 2.1.3, but that breaks too many other things.
18843 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
18844 echo "$as_me:$LINENO: checking for fseeko" >&5
18845 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
18846 if test "${ac_cv_func_fseeko+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 cat >conftest.
$ac_ext <<_ACEOF
18852 cat confdefs.h
>>conftest.
$ac_ext
18853 cat >>conftest.
$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18859 return fseeko && fseeko (stdin, 0, 0);
18864 rm -f conftest.
$ac_objext conftest
$ac_exeext
18865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18866 (eval $ac_link) 2>conftest.er1
18868 grep -v '^ *+' conftest.er1
>conftest.err
18870 cat conftest.err
>&5
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); } &&
18873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; } &&
18879 { ac_try
='test -s conftest$ac_exeext'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_cv_func_fseeko
=yes
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.
$ac_ext >&5
18890 ac_cv_func_fseeko
=no
18892 rm -f conftest.err conftest.
$ac_objext \
18893 conftest
$ac_exeext conftest.
$ac_ext
18895 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
18896 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
18897 if test $ac_cv_func_fseeko = yes; then
18899 cat >>confdefs.h
<<\_ACEOF
18900 #define HAVE_FSEEKO 1
18905 if test "$ac_cv_sys_largefile_source" != no
; then
18906 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
18908 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18911 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18912 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18913 if test "${ac_cv_c_bigendian+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 ac_cv_c_bigendian
=unknown
18917 # See if sys/param.h defines the BYTE_ORDER macro.
18918 cat >conftest.
$ac_ext <<_ACEOF
18921 cat confdefs.h
>>conftest.
$ac_ext
18922 cat >>conftest.
$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #include <sys/types.h>
18925 #include <sys/param.h>
18930 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18931 bogus endian macros
18937 rm -f conftest.
$ac_objext
18938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18939 (eval $ac_compile) 2>conftest.er1
18941 grep -v '^ *+' conftest.er1
>conftest.err
18943 cat conftest.err
>&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } &&
18946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; } &&
18952 { ac_try
='test -s conftest.$ac_objext'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; }; then
18958 # It does; now see whether it defined to BIG_ENDIAN or not.
18959 cat >conftest.
$ac_ext <<_ACEOF
18962 cat confdefs.h
>>conftest.
$ac_ext
18963 cat >>conftest.
$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #include <sys/types.h>
18966 #include <sys/param.h>
18971 #if BYTE_ORDER != BIG_ENDIAN
18978 rm -f conftest.
$ac_objext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18980 (eval $ac_compile) 2>conftest.er1
18982 grep -v '^ *+' conftest.er1
>conftest.err
18984 cat conftest.err
>&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try
='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_cv_c_bigendian
=yes
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.
$ac_ext >&5
19004 ac_cv_c_bigendian
=no
19006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19013 if test $ac_cv_c_bigendian = unknown
; then
19014 if test "$cross_compiling" = yes; then
19015 ac_cv_c_bigendian
=unknown
19017 cat >conftest.
$ac_ext <<_ACEOF
19020 cat confdefs.h
>>conftest.
$ac_ext
19021 cat >>conftest.
$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19024 /* Are we little or big endian? From Harbison&Steele. */
19028 char c[sizeof (long)];
19031 exit (u.c[sizeof (long) - 1] == 1);
19034 rm -f conftest
$ac_exeext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19036 (eval $ac_link) 2>&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_cv_c_bigendian
=no
19047 echo "$as_me: program exited with status $ac_status" >&5
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.
$ac_ext >&5
19051 ( exit $ac_status )
19052 ac_cv_c_bigendian
=yes
19054 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19058 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
19059 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
19060 if test $ac_cv_c_bigendian = unknown
; then
19061 { 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
19062 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;}
19064 if test $ac_cv_c_bigendian = yes; then
19065 cat >>confdefs.h
<<\_ACEOF
19066 #define WORDS_BIGENDIAN 1
19073 ac_cpp
='$CXXCPP $CPPFLAGS'
19074 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19077 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
19078 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
19079 if test -z "$CXXCPP"; then
19080 if test "${ac_cv_prog_CXXCPP+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19083 # Double quotes because CXXCPP needs to be expanded
19084 for CXXCPP
in "$CXX -E" "/lib/cpp"
19086 ac_preproc_ok
=false
19087 for ac_cxx_preproc_warn_flag
in '' yes
19089 # Use a header file that comes with gcc, so configuring glibc
19090 # with a fresh cross-compiler works.
19091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19092 # <limits.h> exists even on freestanding compilers.
19093 # On the NeXT, cc -E runs the code through the compiler's parser,
19094 # not just through cpp. "Syntax error" is here to catch this case.
19095 cat >conftest.
$ac_ext <<_ACEOF
19098 cat confdefs.h
>>conftest.
$ac_ext
19099 cat >>conftest.
$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19102 # include <limits.h>
19104 # include <assert.h>
19108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19111 grep -v '^ *+' conftest.er1
>conftest.err
19113 cat conftest.err
>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } >/dev
/null
; then
19116 if test -s conftest.err
; then
19117 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19118 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19125 if test -z "$ac_cpp_err"; then
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.
$ac_ext >&5
19131 # Broken: fails on valid input.
19134 rm -f conftest.err conftest.
$ac_ext
19136 # OK, works on sane cases. Now check whether non-existent headers
19137 # can be detected and how.
19138 cat >conftest.
$ac_ext <<_ACEOF
19141 cat confdefs.h
>>conftest.
$ac_ext
19142 cat >>conftest.
$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <ac_nonexistent.h>
19146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19149 grep -v '^ *+' conftest.er1
>conftest.err
19151 cat conftest.err
>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } >/dev
/null
; then
19154 if test -s conftest.err
; then
19155 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19156 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19163 if test -z "$ac_cpp_err"; then
19164 # Broken: success on invalid input.
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.
$ac_ext >&5
19170 # Passes both tests.
19174 rm -f conftest.err conftest.
$ac_ext
19177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19178 rm -f conftest.err conftest.
$ac_ext
19179 if $ac_preproc_ok; then
19184 ac_cv_prog_CXXCPP
=$CXXCPP
19187 CXXCPP
=$ac_cv_prog_CXXCPP
19189 ac_cv_prog_CXXCPP
=$CXXCPP
19191 echo "$as_me:$LINENO: result: $CXXCPP" >&5
19192 echo "${ECHO_T}$CXXCPP" >&6
19193 ac_preproc_ok
=false
19194 for ac_cxx_preproc_warn_flag
in '' yes
19196 # Use a header file that comes with gcc, so configuring glibc
19197 # with a fresh cross-compiler works.
19198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19199 # <limits.h> exists even on freestanding compilers.
19200 # On the NeXT, cc -E runs the code through the compiler's parser,
19201 # not just through cpp. "Syntax error" is here to catch this case.
19202 cat >conftest.
$ac_ext <<_ACEOF
19205 cat confdefs.h
>>conftest.
$ac_ext
19206 cat >>conftest.
$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19209 # include <limits.h>
19211 # include <assert.h>
19215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19218 grep -v '^ *+' conftest.er1
>conftest.err
19220 cat conftest.err
>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } >/dev
/null
; then
19223 if test -s conftest.err
; then
19224 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19225 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19232 if test -z "$ac_cpp_err"; then
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.
$ac_ext >&5
19238 # Broken: fails on valid input.
19241 rm -f conftest.err conftest.
$ac_ext
19243 # OK, works on sane cases. Now check whether non-existent headers
19244 # can be detected and how.
19245 cat >conftest.
$ac_ext <<_ACEOF
19248 cat confdefs.h
>>conftest.
$ac_ext
19249 cat >>conftest.
$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 #include <ac_nonexistent.h>
19253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19254 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19256 grep -v '^ *+' conftest.er1
>conftest.err
19258 cat conftest.err
>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } >/dev
/null
; then
19261 if test -s conftest.err
; then
19262 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19263 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19270 if test -z "$ac_cpp_err"; then
19271 # Broken: success on invalid input.
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.
$ac_ext >&5
19277 # Passes both tests.
19281 rm -f conftest.err conftest.
$ac_ext
19284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19285 rm -f conftest.err conftest.
$ac_ext
19286 if $ac_preproc_ok; then
19289 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19290 See \`config.log' for more details." >&5
19291 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19292 See \`config.log' for more details." >&2;}
19293 { (exit 1); exit 1; }; }
19297 ac_cpp
='$CXXCPP $CPPFLAGS'
19298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19307 ac_cpp
='$CXXCPP $CPPFLAGS'
19308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19314 for ac_header
in iostream
19316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19318 echo "$as_me:$LINENO: checking for $ac_header" >&5
19319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19326 # Is the header compilable?
19327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19329 cat >conftest.
$ac_ext <<_ACEOF
19332 cat confdefs.h
>>conftest.
$ac_ext
19333 cat >>conftest.
$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 $ac_includes_default
19336 #include <$ac_header>
19338 rm -f conftest.
$ac_objext
19339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19340 (eval $ac_compile) 2>conftest.er1
19342 grep -v '^ *+' conftest.er1
>conftest.err
19344 cat conftest.err
>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); } &&
19347 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; } &&
19353 { ac_try
='test -s conftest.$ac_objext'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; }; then
19359 ac_header_compiler
=yes
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.
$ac_ext >&5
19364 ac_header_compiler
=no
19366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19368 echo "${ECHO_T}$ac_header_compiler" >&6
19370 # Is the header present?
19371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19373 cat >conftest.
$ac_ext <<_ACEOF
19376 cat confdefs.h
>>conftest.
$ac_ext
19377 cat >>conftest.
$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 #include <$ac_header>
19381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1
>conftest.err
19386 cat conftest.err
>&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } >/dev
/null
; then
19389 if test -s conftest.err
; then
19390 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19391 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19398 if test -z "$ac_cpp_err"; then
19399 ac_header_preproc
=yes
19401 echo "$as_me: failed program was:" >&5
19402 sed 's/^/| /' conftest.
$ac_ext >&5
19404 ac_header_preproc
=no
19406 rm -f conftest.err conftest.
$ac_ext
19407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19408 echo "${ECHO_T}$ac_header_preproc" >&6
19410 # So? What about this header?
19411 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19417 ac_header_preproc
=yes
19420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19434 ## ----------------------------------------- ##
19435 ## Report this to wx-dev@lists.wxwidgets.org ##
19436 ## ----------------------------------------- ##
19439 sed "s/^/$as_me: WARNING: /" >&2
19442 echo "$as_me:$LINENO: checking for $ac_header" >&5
19443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19445 echo $ECHO_N "(cached) $ECHO_C" >&6
19447 eval "$as_ac_Header=\$ac_header_preproc"
19449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19454 cat >>confdefs.h
<<_ACEOF
19455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19463 if test "$ac_cv_header_iostream" = "yes" ; then
19466 cat >>confdefs.h
<<\_ACEOF
19467 #define wxUSE_IOSTREAMH 1
19473 ac_cpp
='$CPP $CPPFLAGS'
19474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19481 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19482 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19483 if test "${wx_cv_cpp_bool+set}" = set; then
19484 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 ac_cpp
='$CXXCPP $CPPFLAGS'
19491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19496 cat >conftest.
$ac_ext <<_ACEOF
19499 cat confdefs.h
>>conftest.
$ac_ext
19500 cat >>conftest.
$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19516 rm -f conftest.
$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try
='test -s conftest.$ac_objext'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.
$ac_ext >&5
19549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19552 ac_cpp
='$CPP $CPPFLAGS'
19553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19559 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19560 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19562 if test "$wx_cv_cpp_bool" = "yes"; then
19563 cat >>confdefs.h
<<\_ACEOF
19564 #define HAVE_BOOL 1
19571 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19572 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19573 if test "${wx_cv_explicit+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 ac_cpp
='$CXXCPP $CPPFLAGS'
19581 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19586 cat >conftest.
$ac_ext <<_ACEOF
19589 cat confdefs.h
>>conftest.
$ac_ext
19590 cat >>conftest.
$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19593 class Foo { public: explicit Foo(int) {} };
19605 rm -f conftest.
$ac_objext
19606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19607 (eval $ac_compile) 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
19614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; } &&
19620 { ac_try
='test -s conftest.$ac_objext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19627 cat >conftest.
$ac_ext <<_ACEOF
19630 cat confdefs.h
>>conftest.
$ac_ext
19631 cat >>conftest.
$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19634 class Foo { public: explicit Foo(int) {} };
19635 static void TakeFoo(const Foo& foo) { }
19648 rm -f conftest.
$ac_objext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19650 (eval $ac_compile) 2>conftest.er1
19652 grep -v '^ *+' conftest.er1
>conftest.err
19654 cat conftest.err
>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); } &&
19657 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; } &&
19663 { ac_try
='test -s conftest.$ac_objext'
19664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19665 (eval $ac_try) 2>&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); }; }; then
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.
$ac_ext >&5
19677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.
$ac_ext >&5
19686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19689 ac_cpp
='$CPP $CPPFLAGS'
19690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19696 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19697 echo "${ECHO_T}$wx_cv_explicit" >&6
19699 if test "$wx_cv_explicit" = "yes"; then
19700 cat >>confdefs.h
<<\_ACEOF
19701 #define HAVE_EXPLICIT 1
19707 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19708 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19709 if test "${ac_cv_cxx_const_cast+set}" = set; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19715 ac_cpp
='$CXXCPP $CPPFLAGS'
19716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19720 cat >conftest.
$ac_ext <<_ACEOF
19723 cat confdefs.h
>>conftest.
$ac_ext
19724 cat >>conftest.
$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19730 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19735 rm -f conftest.
$ac_objext
19736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19737 (eval $ac_compile) 2>conftest.er1
19739 grep -v '^ *+' conftest.er1
>conftest.err
19741 cat conftest.err
>&5
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; } &&
19750 { ac_try
='test -s conftest.$ac_objext'
19751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19752 (eval $ac_try) 2>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); }; }; then
19756 ac_cv_cxx_const_cast
=yes
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.
$ac_ext >&5
19761 ac_cv_cxx_const_cast
=no
19763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19765 ac_cpp
='$CPP $CPPFLAGS'
19766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19772 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19773 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19774 if test "$ac_cv_cxx_const_cast" = yes; then
19776 cat >>confdefs.h
<<\_ACEOF
19777 #define HAVE_CONST_CAST
19782 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19783 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19784 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 ac_cpp
='$CXXCPP $CPPFLAGS'
19791 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19792 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19793 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19795 cat >conftest.
$ac_ext <<_ACEOF
19798 cat confdefs.h
>>conftest.
$ac_ext
19799 cat >>conftest.
$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #include <typeinfo>
19802 class Base { public : Base () {} virtual void f () = 0;};
19803 class Derived : public Base { public : Derived () {} virtual void f () {} };
19804 class Unrelated { public : Unrelated () {} };
19805 int g (Unrelated&) { return 0; }
19810 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19815 rm -f conftest.
$ac_objext
19816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19817 (eval $ac_compile) 2>conftest.er1
19819 grep -v '^ *+' conftest.er1
>conftest.err
19821 cat conftest.err
>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try
='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19836 ac_cv_cxx_reinterpret_cast
=yes
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.
$ac_ext >&5
19841 ac_cv_cxx_reinterpret_cast
=no
19843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19845 ac_cpp
='$CPP $CPPFLAGS'
19846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19852 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19853 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19854 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19856 cat >>confdefs.h
<<\_ACEOF
19857 #define HAVE_REINTERPRET_CAST
19862 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19863 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19864 if test "${ac_cv_cxx_static_cast+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19870 ac_cpp
='$CXXCPP $CPPFLAGS'
19871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 #include <typeinfo>
19882 class Base { public : Base () {} virtual void f () = 0; };
19883 class Derived : public Base { public : Derived () {} virtual void f () {} };
19884 int g (Derived&) { return 0; }
19889 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19894 rm -f conftest.
$ac_objext
19895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19896 (eval $ac_compile) 2>conftest.er1
19898 grep -v '^ *+' conftest.er1
>conftest.err
19900 cat conftest.err
>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } &&
19903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; } &&
19909 { ac_try
='test -s conftest.$ac_objext'
19910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19911 (eval $ac_try) 2>&5
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; }; then
19915 ac_cv_cxx_static_cast
=yes
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.
$ac_ext >&5
19920 ac_cv_cxx_static_cast
=no
19922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19924 ac_cpp
='$CPP $CPPFLAGS'
19925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19931 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19932 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19933 if test "$ac_cv_cxx_static_cast" = yes; then
19935 cat >>confdefs.h
<<\_ACEOF
19936 #define HAVE_STATIC_CAST
19942 if test "$wxUSE_STL" = "yes"; then
19944 ac_cpp
='$CXXCPP $CPPFLAGS'
19945 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19946 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19947 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19950 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19951 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19952 cat >conftest.
$ac_ext <<_ACEOF
19955 cat confdefs.h
>>conftest.
$ac_ext
19956 cat >>conftest.
$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19959 #include <functional>
19960 #include <algorithm>
19966 std::vector<int> moo;
19967 std::list<int> foo;
19968 std::vector<int>::iterator it =
19969 std::find_if(moo.begin(), moo.end(),
19970 std::bind2nd(std::less<int>(), 3));
19975 rm -f conftest.
$ac_objext
19976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19977 (eval $ac_compile) 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_cxx_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_objext'
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 echo "$as_me:$LINENO: result: yes" >&5
19997 echo "${ECHO_T}yes" >&6
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.
$ac_ext >&5
20002 echo "$as_me:$LINENO: result: no" >&5
20003 echo "${ECHO_T}no" >&6
20004 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
20005 echo "$as_me: error: Basic STL functionality missing" >&2;}
20006 { (exit 1); exit 1; }; }
20008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20010 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
20011 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
20012 cat >conftest.
$ac_ext <<_ACEOF
20015 cat confdefs.h
>>conftest.
$ac_ext
20016 cat >>conftest.
$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20027 rm -f conftest.
$ac_objext
20028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20029 (eval $ac_compile) 2>conftest.er1
20031 grep -v '^ *+' conftest.er1
>conftest.err
20033 cat conftest.err
>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); } &&
20036 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038 (eval $ac_try) 2>&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); }; } &&
20042 { ac_try
='test -s conftest.$ac_objext'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20048 echo "$as_me:$LINENO: result: yes" >&5
20049 echo "${ECHO_T}yes" >&6
20050 cat >>confdefs.h
<<\_ACEOF
20051 #define HAVE_STD_WSTRING 1
20055 echo "$as_me: failed program was:" >&5
20056 sed 's/^/| /' conftest.
$ac_ext >&5
20058 echo "$as_me:$LINENO: result: no" >&5
20059 echo "${ECHO_T}no" >&6
20061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20063 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
20064 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
20065 cat >conftest.
$ac_ext <<_ACEOF
20068 cat confdefs.h
>>conftest.
$ac_ext
20069 cat >>conftest.
$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20075 std::string foo, bar;
20077 foo.compare(1, 1, bar);
20078 foo.compare(1, 1, bar, 1, 1);
20080 foo.compare(1, 1, "");
20081 foo.compare(1, 1, "", 2);
20086 rm -f conftest.
$ac_objext
20087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20088 (eval $ac_compile) 2>conftest.er1
20090 grep -v '^ *+' conftest.er1
>conftest.err
20092 cat conftest.err
>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); } &&
20095 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; } &&
20101 { ac_try
='test -s conftest.$ac_objext'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; }; then
20107 echo "$as_me:$LINENO: result: yes" >&5
20108 echo "${ECHO_T}yes" >&6
20109 cat >>confdefs.h
<<\_ACEOF
20110 #define HAVE_STD_STRING_COMPARE 1
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.
$ac_ext >&5
20117 echo "$as_me:$LINENO: result: no" >&5
20118 echo "${ECHO_T}no" >&6
20120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20122 if test "${ac_cv_header_hash_map+set}" = set; then
20123 echo "$as_me:$LINENO: checking for hash_map" >&5
20124 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20125 if test "${ac_cv_header_hash_map+set}" = set; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20128 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20129 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20131 # Is the header compilable?
20132 echo "$as_me:$LINENO: checking hash_map usability" >&5
20133 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
20134 cat >conftest.
$ac_ext <<_ACEOF
20137 cat confdefs.h
>>conftest.
$ac_ext
20138 cat >>conftest.
$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 $ac_includes_default
20141 #include <hash_map>
20143 rm -f conftest.
$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145 (eval $ac_compile) 2>conftest.er1
20147 grep -v '^ *+' conftest.er1
>conftest.err
20149 cat conftest.err
>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try
='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_header_compiler
=yes
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.
$ac_ext >&5
20169 ac_header_compiler
=no
20171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20173 echo "${ECHO_T}$ac_header_compiler" >&6
20175 # Is the header present?
20176 echo "$as_me:$LINENO: checking hash_map presence" >&5
20177 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
20178 cat >conftest.
$ac_ext <<_ACEOF
20181 cat confdefs.h
>>conftest.
$ac_ext
20182 cat >>conftest.
$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #include <hash_map>
20186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20189 grep -v '^ *+' conftest.er1
>conftest.err
20191 cat conftest.err
>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } >/dev
/null
; then
20194 if test -s conftest.err
; then
20195 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20196 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20203 if test -z "$ac_cpp_err"; then
20204 ac_header_preproc
=yes
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.
$ac_ext >&5
20209 ac_header_preproc
=no
20211 rm -f conftest.err conftest.
$ac_ext
20212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20213 echo "${ECHO_T}$ac_header_preproc" >&6
20215 # So? What about this header?
20216 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20218 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20219 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20220 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
20221 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
20222 ac_header_preproc
=yes
20225 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
20226 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
20227 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
20228 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
20229 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
20230 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
20231 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
20232 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20233 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
20234 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
20235 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
20236 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
20239 ## ----------------------------------------- ##
20240 ## Report this to wx-dev@lists.wxwidgets.org ##
20241 ## ----------------------------------------- ##
20244 sed "s/^/$as_me: WARNING: /" >&2
20247 echo "$as_me:$LINENO: checking for hash_map" >&5
20248 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20249 if test "${ac_cv_header_hash_map+set}" = set; then
20250 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 ac_cv_header_hash_map
=$ac_header_preproc
20254 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20255 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20258 if test $ac_cv_header_hash_map = yes; then
20259 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20260 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20261 cat >conftest.
$ac_ext <<_ACEOF
20264 cat confdefs.h
>>conftest.
$ac_ext
20265 cat >>conftest.
$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <hash_map>
20268 #include <hash_set>
20272 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20273 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20278 rm -f conftest.
$ac_objext
20279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20280 (eval $ac_compile) 2>conftest.er1
20282 grep -v '^ *+' conftest.er1
>conftest.err
20284 cat conftest.err
>&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } &&
20287 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20289 (eval $ac_try) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try
='test -s conftest.$ac_objext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 echo "$as_me:$LINENO: result: yes" >&5
20300 echo "${ECHO_T}yes" >&6
20301 cat >>confdefs.h
<<\_ACEOF
20302 #define HAVE_HASH_MAP 1
20305 cat >>confdefs.h
<<\_ACEOF
20306 #define HAVE_STD_HASH_MAP 1
20310 echo "$as_me: failed program was:" >&5
20311 sed 's/^/| /' conftest.
$ac_ext >&5
20313 echo "$as_me:$LINENO: result: no" >&5
20314 echo "${ECHO_T}no" >&6
20316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20322 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20323 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20324 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20325 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20328 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20329 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20331 # Is the header compilable?
20332 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20333 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20334 cat >conftest.
$ac_ext <<_ACEOF
20337 cat confdefs.h
>>conftest.
$ac_ext
20338 cat >>conftest.
$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20340 $ac_includes_default
20341 #include <ext/hash_map>
20343 rm -f conftest.
$ac_objext
20344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20345 (eval $ac_compile) 2>conftest.er1
20347 grep -v '^ *+' conftest.er1
>conftest.err
20349 cat conftest.err
>&5
20350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20351 (exit $ac_status); } &&
20352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20354 (eval $ac_try) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; } &&
20358 { ac_try
='test -s conftest.$ac_objext'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 ac_header_compiler
=yes
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.
$ac_ext >&5
20369 ac_header_compiler
=no
20371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20372 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20373 echo "${ECHO_T}$ac_header_compiler" >&6
20375 # Is the header present?
20376 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20377 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20378 cat >conftest.
$ac_ext <<_ACEOF
20381 cat confdefs.h
>>conftest.
$ac_ext
20382 cat >>conftest.
$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 #include <ext/hash_map>
20386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20387 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20389 grep -v '^ *+' conftest.er1
>conftest.err
20391 cat conftest.err
>&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } >/dev
/null
; then
20394 if test -s conftest.err
; then
20395 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20396 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20403 if test -z "$ac_cpp_err"; then
20404 ac_header_preproc
=yes
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.
$ac_ext >&5
20409 ac_header_preproc
=no
20411 rm -f conftest.err conftest.
$ac_ext
20412 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20413 echo "${ECHO_T}$ac_header_preproc" >&6
20415 # So? What about this header?
20416 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20418 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20419 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20420 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20421 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20422 ac_header_preproc
=yes
20425 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20426 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20427 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20428 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20429 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20430 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20431 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20432 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20433 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20434 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20435 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20436 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20439 ## ----------------------------------------- ##
20440 ## Report this to wx-dev@lists.wxwidgets.org ##
20441 ## ----------------------------------------- ##
20444 sed "s/^/$as_me: WARNING: /" >&2
20447 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20448 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20449 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20450 echo $ECHO_N "(cached) $ECHO_C" >&6
20452 ac_cv_header_ext_hash_map
=$ac_header_preproc
20454 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20455 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20458 if test $ac_cv_header_ext_hash_map = yes; then
20459 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20460 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20461 cat >conftest.
$ac_ext <<_ACEOF
20464 cat confdefs.h
>>conftest.
$ac_ext
20465 cat >>conftest.
$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 #include <ext/hash_map>
20468 #include <ext/hash_set>
20472 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20473 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20478 rm -f conftest.
$ac_objext
20479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20480 (eval $ac_compile) 2>conftest.er1
20482 grep -v '^ *+' conftest.er1
>conftest.err
20484 cat conftest.err
>&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } &&
20487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489 (eval $ac_try) 2>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; } &&
20493 { ac_try
='test -s conftest.$ac_objext'
20494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20495 (eval $ac_try) 2>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; }; then
20499 echo "$as_me:$LINENO: result: yes" >&5
20500 echo "${ECHO_T}yes" >&6
20501 cat >>confdefs.h
<<\_ACEOF
20502 #define HAVE_EXT_HASH_MAP 1
20505 cat >>confdefs.h
<<\_ACEOF
20506 #define HAVE_GNU_CXX_HASH_MAP 1
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.
$ac_ext >&5
20513 echo "$as_me:$LINENO: result: no" >&5
20514 echo "${ECHO_T}no" >&6
20516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20523 ac_cpp
='$CPP $CPPFLAGS'
20524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20532 /usr/local/include \
20534 /usr/Motif-2.1/include \
20535 /usr/Motif-1.2/include \
20536 /usr/include/Motif1.2 \
20537 /opt/xpm/include/X11 \
20538 /opt/GBxpm/include/ \
20539 /opt/GBxpm/X11/include/ \
20542 /usr/openwin/include \
20546 /usr/X11R6/include \
20547 /usr/X11R6.4/include \
20548 /usr/X11R5/include \
20549 /usr/X11R4/include \
20551 /usr/include/X11R6 \
20552 /usr/include/X11R5 \
20553 /usr/include/X11R4 \
20555 /usr/local/X11R6/include \
20556 /usr/local/X11R5/include \
20557 /usr/local/X11R4/include \
20559 /usr/local/include/X11R6 \
20560 /usr/local/include/X11R5 \
20561 /usr/local/include/X11R4 \
20565 /usr/local/X11/include \
20566 /usr/local/include/X11 \
20568 /usr/X386/include \
20569 /usr/x386/include \
20570 /usr/XFree86/include/X11 \
20572 X:/XFree86/include \
20573 X:/XFree86/include/X11 \
20576 /usr/local/include/gtk \
20577 /usr/include/glib \
20578 /usr/local/include/glib \
20581 /usr/local/include/qt \
20583 /usr/local/arm/3.3.2/include \
20585 /usr/include/windows \
20586 /usr/include/wine \
20587 /usr/local/include/wine \
20589 /usr/unsupported/include \
20590 /usr/athena/include \
20591 /usr/local/x11r5/include \
20592 /usr/lpp/Xamples/include \
20594 /usr/openwin/share/include"
20596 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20599 cat >confcache
<<\_ACEOF
20600 # This file is a shell script that caches the results of configure
20601 # tests run on this system so they can be shared between configure
20602 # scripts and configure runs, see configure's option --config-cache.
20603 # It is not useful on other systems. If it contains results you don't
20604 # want to keep, you may remove or edit it.
20606 # config.status only pays attention to the cache file if you give it
20607 # the --recheck option to rerun configure.
20609 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20610 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20611 # following values.
20615 # The following way of writing the cache mishandles newlines in values,
20616 # but we know of no workaround that is simple, portable, and efficient.
20617 # So, don't put newlines in cache variables' values.
20618 # Ultrix sh set writes to stderr and can't be redirected directly,
20619 # and sets the high bit in the cache file unless we assign to the vars.
20622 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20624 # `set' does not quote correctly, so add quotes (double-quote
20625 # substitution turns \\\\ into \\, and sed turns \\ into \).
20628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20631 # `set' quotes correctly as required by POSIX, so do not add quotes.
20633 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20640 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20642 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20644 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20645 if test -w $cache_file; then
20646 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20647 cat confcache
>$cache_file
20649 echo "not updating unwritable cache $cache_file"
20654 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20655 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20656 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20657 if test "${wx_cv_lib_glibc21+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 cat >conftest.
$ac_ext <<_ACEOF
20664 cat confdefs.h
>>conftest.
$ac_ext
20665 cat >>conftest.
$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 #include <features.h>
20672 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20673 #error not glibc2.1
20680 rm -f conftest.
$ac_objext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20682 (eval $ac_compile) 2>conftest.er1
20684 grep -v '^ *+' conftest.er1
>conftest.err
20686 cat conftest.err
>&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); } &&
20689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; } &&
20695 { ac_try
='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20702 wx_cv_lib_glibc21
=yes
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.
$ac_ext >&5
20709 wx_cv_lib_glibc21
=no
20713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20716 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20717 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20718 if test "$wx_cv_lib_glibc21" = "yes"; then
20719 cat >>confdefs.h
<<\_ACEOF
20720 #define wxHAVE_GLIBC2 1
20726 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20727 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20728 cat >>confdefs.h
<<\_ACEOF
20729 #define _GNU_SOURCE 1
20737 if test "$wxUSE_REGEX" != "no"; then
20738 cat >>confdefs.h
<<\_ACEOF
20739 #define wxUSE_REGEX 1
20743 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20744 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20745 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20746 wxUSE_REGEX
=builtin
20749 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20750 if test "${ac_cv_header_regex_h+set}" = set; then
20751 echo "$as_me:$LINENO: checking for regex.h" >&5
20752 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20753 if test "${ac_cv_header_regex_h+set}" = set; then
20754 echo $ECHO_N "(cached) $ECHO_C" >&6
20756 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20757 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20759 # Is the header compilable?
20760 echo "$as_me:$LINENO: checking regex.h usability" >&5
20761 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20762 cat >conftest.
$ac_ext <<_ACEOF
20765 cat confdefs.h
>>conftest.
$ac_ext
20766 cat >>conftest.
$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768 $ac_includes_default
20771 rm -f conftest.
$ac_objext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20773 (eval $ac_compile) 2>conftest.er1
20775 grep -v '^ *+' conftest.er1
>conftest.err
20777 cat conftest.err
>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20782 (eval $ac_try) 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; } &&
20786 { ac_try
='test -s conftest.$ac_objext'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20792 ac_header_compiler
=yes
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.
$ac_ext >&5
20797 ac_header_compiler
=no
20799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20801 echo "${ECHO_T}$ac_header_compiler" >&6
20803 # Is the header present?
20804 echo "$as_me:$LINENO: checking regex.h presence" >&5
20805 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20806 cat >conftest.
$ac_ext <<_ACEOF
20809 cat confdefs.h
>>conftest.
$ac_ext
20810 cat >>conftest.
$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20815 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20817 grep -v '^ *+' conftest.er1
>conftest.err
20819 cat conftest.err
>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } >/dev
/null
; then
20822 if test -s conftest.err
; then
20823 ac_cpp_err
=$ac_c_preproc_warn_flag
20824 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20831 if test -z "$ac_cpp_err"; then
20832 ac_header_preproc
=yes
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.
$ac_ext >&5
20837 ac_header_preproc
=no
20839 rm -f conftest.err conftest.
$ac_ext
20840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20841 echo "${ECHO_T}$ac_header_preproc" >&6
20843 # So? What about this header?
20844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20846 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20847 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20848 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20849 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20850 ac_header_preproc
=yes
20853 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20854 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20855 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20856 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20857 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20858 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20859 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20860 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20861 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20862 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20863 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20864 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20867 ## ----------------------------------------- ##
20868 ## Report this to wx-dev@lists.wxwidgets.org ##
20869 ## ----------------------------------------- ##
20872 sed "s/^/$as_me: WARNING: /" >&2
20875 echo "$as_me:$LINENO: checking for regex.h" >&5
20876 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20877 if test "${ac_cv_header_regex_h+set}" = set; then
20878 echo $ECHO_N "(cached) $ECHO_C" >&6
20880 ac_cv_header_regex_h
=$ac_header_preproc
20882 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20883 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20886 if test $ac_cv_header_regex_h = yes; then
20888 for ac_func
in regcomp
20890 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20891 echo "$as_me:$LINENO: checking for $ac_func" >&5
20892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20893 if eval "test \"\${$as_ac_var+set}\" = set"; then
20894 echo $ECHO_N "(cached) $ECHO_C" >&6
20896 cat >conftest.
$ac_ext <<_ACEOF
20899 cat confdefs.h
>>conftest.
$ac_ext
20900 cat >>conftest.
$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20904 #define $ac_func innocuous_$ac_func
20906 /* System header to define __stub macros and hopefully few prototypes,
20907 which can conflict with char $ac_func (); below.
20908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20909 <limits.h> exists even on freestanding compilers. */
20912 # include <limits.h>
20914 # include <assert.h>
20919 /* Override any gcc2 internal prototype to avoid an error. */
20924 /* We use char because int might match the return type of a gcc2
20925 builtin and then its argument prototype would still apply. */
20927 /* The GNU C library defines this for functions which it implements
20928 to always fail with ENOSYS. Some functions are actually named
20929 something starting with __ and the normal name is an alias. */
20930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20933 char (*f) () = $ac_func;
20942 return f != $ac_func;
20947 rm -f conftest.
$ac_objext conftest
$ac_exeext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20949 (eval $ac_link) 2>conftest.er1
20951 grep -v '^ *+' conftest.er1
>conftest.err
20953 cat conftest.err
>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } &&
20956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; } &&
20962 { ac_try
='test -s conftest$ac_exeext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 eval "$as_ac_var=yes"
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.
$ac_ext >&5
20973 eval "$as_ac_var=no"
20975 rm -f conftest.err conftest.
$ac_objext \
20976 conftest
$ac_exeext conftest.
$ac_ext
20978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20980 if test `eval echo '${'$as_ac_var'}'` = yes; then
20981 cat >>confdefs.h
<<_ACEOF
20982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20992 if test "x$ac_cv_func_regcomp" != "xyes"; then
20993 if test "$wxUSE_REGEX" = "sys" ; then
20994 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20995 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20996 { (exit 1); exit 1; }; }
20998 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20999 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
21000 wxUSE_REGEX
=builtin
21004 cat >>confdefs.h
<<\_ACEOF
21005 #define WX_NO_REGEX_ADVANCED 1
21014 if test "$wxUSE_ZLIB" != "no" ; then
21015 cat >>confdefs.h
<<\_ACEOF
21016 #define wxUSE_ZLIB 1
21020 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
21021 if test "$USE_DARWIN" = 1; then
21022 system_zlib_h_ok
="yes"
21024 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
21025 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
21026 if test "${ac_cv_header_zlib_h+set}" = set; then
21027 echo $ECHO_N "(cached) $ECHO_C" >&6
21029 if test "$cross_compiling" = yes; then
21030 unset ac_cv_header_zlib_h
21033 cat >conftest.
$ac_ext <<_ACEOF
21036 cat confdefs.h
>>conftest.
$ac_ext
21037 cat >>conftest.
$ac_ext <<_ACEOF
21038 /* end confdefs.h. */
21045 FILE *f=fopen("conftestval", "w");
21048 ZLIB_VERSION[0] == '1' &&
21049 (ZLIB_VERSION[2] > '1' ||
21050 (ZLIB_VERSION[2] == '1' &&
21051 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
21056 rm -f conftest
$ac_exeext
21057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21058 (eval $ac_link) 2>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21063 (eval $ac_try) 2>&5
21065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21066 (exit $ac_status); }; }; then
21067 ac_cv_header_zlib_h
=`cat conftestval`
21069 echo "$as_me: program exited with status $ac_status" >&5
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.
$ac_ext >&5
21073 ( exit $ac_status )
21074 ac_cv_header_zlib_h
=no
21076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21080 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21081 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21082 if test "${ac_cv_header_zlib_h+set}" = set; then
21083 echo "$as_me:$LINENO: checking for zlib.h" >&5
21084 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21085 if test "${ac_cv_header_zlib_h+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21088 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21089 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21091 # Is the header compilable?
21092 echo "$as_me:$LINENO: checking zlib.h usability" >&5
21093 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
21094 cat >conftest.
$ac_ext <<_ACEOF
21097 cat confdefs.h
>>conftest.
$ac_ext
21098 cat >>conftest.
$ac_ext <<_ACEOF
21099 /* end confdefs.h. */
21100 $ac_includes_default
21103 rm -f conftest.
$ac_objext
21104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21105 (eval $ac_compile) 2>conftest.er1
21107 grep -v '^ *+' conftest.er1
>conftest.err
21109 cat conftest.err
>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); } &&
21112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114 (eval $ac_try) 2>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; } &&
21118 { ac_try
='test -s conftest.$ac_objext'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; }; then
21124 ac_header_compiler
=yes
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.
$ac_ext >&5
21129 ac_header_compiler
=no
21131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21133 echo "${ECHO_T}$ac_header_compiler" >&6
21135 # Is the header present?
21136 echo "$as_me:$LINENO: checking zlib.h presence" >&5
21137 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
21138 cat >conftest.
$ac_ext <<_ACEOF
21141 cat confdefs.h
>>conftest.
$ac_ext
21142 cat >>conftest.
$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21149 grep -v '^ *+' conftest.er1
>conftest.err
21151 cat conftest.err
>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } >/dev
/null
; then
21154 if test -s conftest.err
; then
21155 ac_cpp_err
=$ac_c_preproc_warn_flag
21156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21163 if test -z "$ac_cpp_err"; then
21164 ac_header_preproc
=yes
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.
$ac_ext >&5
21169 ac_header_preproc
=no
21171 rm -f conftest.err conftest.
$ac_ext
21172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21173 echo "${ECHO_T}$ac_header_preproc" >&6
21175 # So? What about this header?
21176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21178 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21179 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21180 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
21181 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
21182 ac_header_preproc
=yes
21185 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
21186 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
21187 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
21188 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
21189 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
21190 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
21191 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
21192 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21193 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
21194 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
21195 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
21196 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
21199 ## ----------------------------------------- ##
21200 ## Report this to wx-dev@lists.wxwidgets.org ##
21201 ## ----------------------------------------- ##
21204 sed "s/^/$as_me: WARNING: /" >&2
21207 echo "$as_me:$LINENO: checking for zlib.h" >&5
21208 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21209 if test "${ac_cv_header_zlib_h+set}" = set; then
21210 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 ac_cv_header_zlib_h
=$ac_header_preproc
21214 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
21215 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
21221 system_zlib_h_ok
=$ac_cv_header_zlib_h
21224 if test "$system_zlib_h_ok" = "yes"; then
21225 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
21226 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
21227 if test "${ac_cv_lib_z_deflate+set}" = set; then
21228 echo $ECHO_N "(cached) $ECHO_C" >&6
21230 ac_check_lib_save_LIBS
=$LIBS
21232 cat >conftest.
$ac_ext <<_ACEOF
21235 cat confdefs.h
>>conftest.
$ac_ext
21236 cat >>conftest.
$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21239 /* Override any gcc2 internal prototype to avoid an error. */
21243 /* We use char because int might match the return type of a gcc2
21244 builtin and then its argument prototype would still apply. */
21254 rm -f conftest.
$ac_objext conftest
$ac_exeext
21255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21256 (eval $ac_link) 2>conftest.er1
21258 grep -v '^ *+' conftest.er1
>conftest.err
21260 cat conftest.err
>&5
21261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21262 (exit $ac_status); } &&
21263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21265 (eval $ac_try) 2>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); }; } &&
21269 { ac_try
='test -s conftest$ac_exeext'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 ac_cv_lib_z_deflate
=yes
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.
$ac_ext >&5
21280 ac_cv_lib_z_deflate
=no
21282 rm -f conftest.err conftest.
$ac_objext \
21283 conftest
$ac_exeext conftest.
$ac_ext
21284 LIBS
=$ac_check_lib_save_LIBS
21286 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21287 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21288 if test $ac_cv_lib_z_deflate = yes; then
21294 if test "x$ZLIB_LINK" = "x" ; then
21295 if test "$wxUSE_ZLIB" = "sys" ; then
21296 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21297 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21298 { (exit 1); exit 1; }; }
21300 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21301 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21312 if test "$wxUSE_LIBPNG" != "no" ; then
21313 cat >>confdefs.h
<<\_ACEOF
21314 #define wxUSE_LIBPNG 1
21318 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21319 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21320 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21324 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21325 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21326 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21327 wxUSE_LIBPNG
=builtin
21330 if test "$wxUSE_MGL" != 1 ; then
21331 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21332 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21333 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21334 if test "${ac_cv_header_png_h+set}" = set; then
21335 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 if test "$cross_compiling" = yes; then
21338 unset ac_cv_header_png_h
21341 cat >conftest.
$ac_ext <<_ACEOF
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21353 FILE *f=fopen("conftestval", "w");
21356 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21361 rm -f conftest
$ac_exeext
21362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21363 (eval $ac_link) 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; }; then
21372 ac_cv_header_png_h
=`cat conftestval`
21374 echo "$as_me: program exited with status $ac_status" >&5
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.
$ac_ext >&5
21378 ( exit $ac_status )
21379 ac_cv_header_png_h
=no
21381 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21385 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21386 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21387 if test "${ac_cv_header_png_h+set}" = set; then
21388 echo "$as_me:$LINENO: checking for png.h" >&5
21389 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21390 if test "${ac_cv_header_png_h+set}" = set; then
21391 echo $ECHO_N "(cached) $ECHO_C" >&6
21393 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21394 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21396 # Is the header compilable?
21397 echo "$as_me:$LINENO: checking png.h usability" >&5
21398 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21399 cat >conftest.
$ac_ext <<_ACEOF
21402 cat confdefs.h
>>conftest.
$ac_ext
21403 cat >>conftest.
$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405 $ac_includes_default
21408 rm -f conftest.
$ac_objext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21410 (eval $ac_compile) 2>conftest.er1
21412 grep -v '^ *+' conftest.er1
>conftest.err
21414 cat conftest.err
>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } &&
21417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; } &&
21423 { ac_try
='test -s conftest.$ac_objext'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_header_compiler
=yes
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 ac_header_compiler
=no
21436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21438 echo "${ECHO_T}$ac_header_compiler" >&6
21440 # Is the header present?
21441 echo "$as_me:$LINENO: checking png.h presence" >&5
21442 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21443 cat >conftest.
$ac_ext <<_ACEOF
21446 cat confdefs.h
>>conftest.
$ac_ext
21447 cat >>conftest.
$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21454 grep -v '^ *+' conftest.er1
>conftest.err
21456 cat conftest.err
>&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } >/dev
/null
; then
21459 if test -s conftest.err
; then
21460 ac_cpp_err
=$ac_c_preproc_warn_flag
21461 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21468 if test -z "$ac_cpp_err"; then
21469 ac_header_preproc
=yes
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.
$ac_ext >&5
21474 ac_header_preproc
=no
21476 rm -f conftest.err conftest.
$ac_ext
21477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21478 echo "${ECHO_T}$ac_header_preproc" >&6
21480 # So? What about this header?
21481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21483 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21484 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21485 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21486 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21487 ac_header_preproc
=yes
21490 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21491 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21492 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21493 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21494 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21495 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21496 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21497 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21498 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21499 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21500 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21501 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21504 ## ----------------------------------------- ##
21505 ## Report this to wx-dev@lists.wxwidgets.org ##
21506 ## ----------------------------------------- ##
21509 sed "s/^/$as_me: WARNING: /" >&2
21512 echo "$as_me:$LINENO: checking for png.h" >&5
21513 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21514 if test "${ac_cv_header_png_h+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 ac_cv_header_png_h
=$ac_header_preproc
21519 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21520 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21526 if test "$ac_cv_header_png_h" = "yes"; then
21527 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21528 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21529 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21530 echo $ECHO_N "(cached) $ECHO_C" >&6
21532 ac_check_lib_save_LIBS
=$LIBS
21533 LIBS
="-lpng -lz -lm $LIBS"
21534 cat >conftest.
$ac_ext <<_ACEOF
21537 cat confdefs.h
>>conftest.
$ac_ext
21538 cat >>conftest.
$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21541 /* Override any gcc2 internal prototype to avoid an error. */
21545 /* We use char because int might match the return type of a gcc2
21546 builtin and then its argument prototype would still apply. */
21547 char png_check_sig ();
21556 rm -f conftest.
$ac_objext conftest
$ac_exeext
21557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21558 (eval $ac_link) 2>conftest.er1
21560 grep -v '^ *+' conftest.er1
>conftest.err
21562 cat conftest.err
>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } &&
21565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567 (eval $ac_try) 2>&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; } &&
21571 { ac_try
='test -s conftest$ac_exeext'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 ac_cv_lib_png_png_check_sig
=yes
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.
$ac_ext >&5
21582 ac_cv_lib_png_png_check_sig
=no
21584 rm -f conftest.err conftest.
$ac_objext \
21585 conftest
$ac_exeext conftest.
$ac_ext
21586 LIBS
=$ac_check_lib_save_LIBS
21588 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21589 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21590 if test $ac_cv_lib_png_png_check_sig = yes; then
21591 PNG_LINK
=" -lpng -lz"
21596 if test "x$PNG_LINK" = "x" ; then
21597 if test "$wxUSE_LIBPNG" = "sys" ; then
21598 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21599 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21600 { (exit 1); exit 1; }; }
21602 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21603 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21604 wxUSE_LIBPNG
=builtin
21612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21617 if test "$wxUSE_LIBJPEG" != "no" ; then
21618 cat >>confdefs.h
<<\_ACEOF
21619 #define wxUSE_LIBJPEG 1
21623 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21624 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21625 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21629 if test "$wxUSE_MGL" != 1 ; then
21630 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21631 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21632 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21633 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 cat >conftest.
$ac_ext <<_ACEOF
21639 cat confdefs.h
>>conftest.
$ac_ext
21640 cat >>conftest.
$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21643 #undef HAVE_STDLIB_H
21645 #include <jpeglib.h>
21656 rm -f conftest.
$ac_objext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21658 (eval $ac_compile) 2>conftest.er1
21660 grep -v '^ *+' conftest.er1
>conftest.err
21662 cat conftest.err
>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } &&
21665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21667 (eval $ac_try) 2>&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); }; } &&
21671 { ac_try
='test -s conftest.$ac_objext'
21672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21673 (eval $ac_try) 2>&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); }; }; then
21677 ac_cv_header_jpeglib_h
=yes
21679 echo "$as_me: failed program was:" >&5
21680 sed 's/^/| /' conftest.
$ac_ext >&5
21682 ac_cv_header_jpeglib_h
=no
21685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21689 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21690 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21692 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21693 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21694 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21695 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21698 ac_check_lib_save_LIBS
=$LIBS
21699 LIBS
="-ljpeg $LIBS"
21700 cat >conftest.
$ac_ext <<_ACEOF
21703 cat confdefs.h
>>conftest.
$ac_ext
21704 cat >>conftest.
$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21707 /* Override any gcc2 internal prototype to avoid an error. */
21711 /* We use char because int might match the return type of a gcc2
21712 builtin and then its argument prototype would still apply. */
21713 char jpeg_read_header ();
21717 jpeg_read_header ();
21722 rm -f conftest.
$ac_objext conftest
$ac_exeext
21723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21724 (eval $ac_link) 2>conftest.er1
21726 grep -v '^ *+' conftest.er1
>conftest.err
21728 cat conftest.err
>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } &&
21731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21733 (eval $ac_try) 2>&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); }; } &&
21737 { ac_try
='test -s conftest$ac_exeext'
21738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21739 (eval $ac_try) 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; }; then
21743 ac_cv_lib_jpeg_jpeg_read_header
=yes
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.
$ac_ext >&5
21748 ac_cv_lib_jpeg_jpeg_read_header
=no
21750 rm -f conftest.err conftest.
$ac_objext \
21751 conftest
$ac_exeext conftest.
$ac_ext
21752 LIBS
=$ac_check_lib_save_LIBS
21754 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21755 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21756 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21757 JPEG_LINK
=" -ljpeg"
21762 if test "x$JPEG_LINK" = "x" ; then
21763 if test "$wxUSE_LIBJPEG" = "sys" ; then
21764 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21765 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21766 { (exit 1); exit 1; }; }
21768 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21769 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21770 wxUSE_LIBJPEG
=builtin
21781 TIFF_PREREQ_LINKS
=-lm
21782 if test "$wxUSE_LIBTIFF" != "no" ; then
21783 cat >>confdefs.h
<<\_ACEOF
21784 #define wxUSE_LIBTIFF 1
21788 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21789 if test "$wxUSE_LIBJPEG" = "sys"; then
21790 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21792 if test "$wxUSE_ZLIB" = "sys"; then
21793 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21795 if test "${ac_cv_header_tiffio_h+set}" = set; then
21796 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21797 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21798 if test "${ac_cv_header_tiffio_h+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21801 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21802 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21804 # Is the header compilable?
21805 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21806 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21807 cat >conftest.
$ac_ext <<_ACEOF
21810 cat confdefs.h
>>conftest.
$ac_ext
21811 cat >>conftest.
$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21813 $ac_includes_default
21814 #include <tiffio.h>
21816 rm -f conftest.
$ac_objext
21817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21818 (eval $ac_compile) 2>conftest.er1
21820 grep -v '^ *+' conftest.er1
>conftest.err
21822 cat conftest.err
>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; } &&
21831 { ac_try
='test -s conftest.$ac_objext'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; }; then
21837 ac_header_compiler
=yes
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.
$ac_ext >&5
21842 ac_header_compiler
=no
21844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21845 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21846 echo "${ECHO_T}$ac_header_compiler" >&6
21848 # Is the header present?
21849 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21850 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21851 cat >conftest.
$ac_ext <<_ACEOF
21854 cat confdefs.h
>>conftest.
$ac_ext
21855 cat >>conftest.
$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 #include <tiffio.h>
21859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21862 grep -v '^ *+' conftest.er1
>conftest.err
21864 cat conftest.err
>&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } >/dev
/null
; then
21867 if test -s conftest.err
; then
21868 ac_cpp_err
=$ac_c_preproc_warn_flag
21869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21876 if test -z "$ac_cpp_err"; then
21877 ac_header_preproc
=yes
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.
$ac_ext >&5
21882 ac_header_preproc
=no
21884 rm -f conftest.err conftest.
$ac_ext
21885 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21886 echo "${ECHO_T}$ac_header_preproc" >&6
21888 # So? What about this header?
21889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21891 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21892 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21893 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21894 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21895 ac_header_preproc
=yes
21898 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21899 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21901 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21902 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21903 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21904 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21905 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21906 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21907 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21909 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21912 ## ----------------------------------------- ##
21913 ## Report this to wx-dev@lists.wxwidgets.org ##
21914 ## ----------------------------------------- ##
21917 sed "s/^/$as_me: WARNING: /" >&2
21920 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21921 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21922 if test "${ac_cv_header_tiffio_h+set}" = set; then
21923 echo $ECHO_N "(cached) $ECHO_C" >&6
21925 ac_cv_header_tiffio_h
=$ac_header_preproc
21927 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21928 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21931 if test $ac_cv_header_tiffio_h = yes; then
21933 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21934 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21935 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21936 echo $ECHO_N "(cached) $ECHO_C" >&6
21938 ac_check_lib_save_LIBS
=$LIBS
21939 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21940 cat >conftest.
$ac_ext <<_ACEOF
21943 cat confdefs.h
>>conftest.
$ac_ext
21944 cat >>conftest.
$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21947 /* Override any gcc2 internal prototype to avoid an error. */
21951 /* We use char because int might match the return type of a gcc2
21952 builtin and then its argument prototype would still apply. */
21962 rm -f conftest.
$ac_objext conftest
$ac_exeext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21964 (eval $ac_link) 2>conftest.er1
21966 grep -v '^ *+' conftest.er1
>conftest.err
21968 cat conftest.err
>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } &&
21971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; } &&
21977 { ac_try
='test -s conftest$ac_exeext'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_lib_tiff_TIFFError
=yes
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.
$ac_ext >&5
21988 ac_cv_lib_tiff_TIFFError
=no
21990 rm -f conftest.err conftest.
$ac_objext \
21991 conftest
$ac_exeext conftest.
$ac_ext
21992 LIBS
=$ac_check_lib_save_LIBS
21994 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21995 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21996 if test $ac_cv_lib_tiff_TIFFError = yes; then
21997 TIFF_LINK
=" -ltiff"
22006 if test "x$TIFF_LINK" = "x" ; then
22007 if test "$wxUSE_LIBTIFF" = "sys" ; then
22008 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
22009 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
22010 { (exit 1); exit 1; }; }
22012 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
22013 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22014 wxUSE_LIBTIFF
=builtin
22023 if test "$wxUSE_EXPAT" != "no"; then
22025 cat >>confdefs.h
<<\_ACEOF
22026 #define wxUSE_EXPAT 1
22029 cat >>confdefs.h
<<\_ACEOF
22030 #define wxUSE_XML 1
22034 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22035 if test "${ac_cv_header_expat_h+set}" = set; then
22036 echo "$as_me:$LINENO: checking for expat.h" >&5
22037 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22038 if test "${ac_cv_header_expat_h+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22042 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22044 # Is the header compilable?
22045 echo "$as_me:$LINENO: checking expat.h usability" >&5
22046 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
22047 cat >conftest.
$ac_ext <<_ACEOF
22050 cat confdefs.h
>>conftest.
$ac_ext
22051 cat >>conftest.
$ac_ext <<_ACEOF
22052 /* end confdefs.h. */
22053 $ac_includes_default
22056 rm -f conftest.
$ac_objext
22057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22058 (eval $ac_compile) 2>conftest.er1
22060 grep -v '^ *+' conftest.er1
>conftest.err
22062 cat conftest.err
>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } &&
22065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22067 (eval $ac_try) 2>&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); }; } &&
22071 { ac_try
='test -s conftest.$ac_objext'
22072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22073 (eval $ac_try) 2>&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); }; }; then
22077 ac_header_compiler
=yes
22079 echo "$as_me: failed program was:" >&5
22080 sed 's/^/| /' conftest.
$ac_ext >&5
22082 ac_header_compiler
=no
22084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22085 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22086 echo "${ECHO_T}$ac_header_compiler" >&6
22088 # Is the header present?
22089 echo "$as_me:$LINENO: checking expat.h presence" >&5
22090 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
22091 cat >conftest.
$ac_ext <<_ACEOF
22094 cat confdefs.h
>>conftest.
$ac_ext
22095 cat >>conftest.
$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22102 grep -v '^ *+' conftest.er1
>conftest.err
22104 cat conftest.err
>&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } >/dev
/null
; then
22107 if test -s conftest.err
; then
22108 ac_cpp_err
=$ac_c_preproc_warn_flag
22109 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22116 if test -z "$ac_cpp_err"; then
22117 ac_header_preproc
=yes
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.
$ac_ext >&5
22122 ac_header_preproc
=no
22124 rm -f conftest.err conftest.
$ac_ext
22125 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22126 echo "${ECHO_T}$ac_header_preproc" >&6
22128 # So? What about this header?
22129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22131 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
22132 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22133 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
22134 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
22135 ac_header_preproc
=yes
22138 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
22139 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
22140 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
22141 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
22142 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
22143 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
22144 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
22145 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
22146 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
22147 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
22148 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
22149 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
22152 ## ----------------------------------------- ##
22153 ## Report this to wx-dev@lists.wxwidgets.org ##
22154 ## ----------------------------------------- ##
22157 sed "s/^/$as_me: WARNING: /" >&2
22160 echo "$as_me:$LINENO: checking for expat.h" >&5
22161 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
22162 if test "${ac_cv_header_expat_h+set}" = set; then
22163 echo $ECHO_N "(cached) $ECHO_C" >&6
22165 ac_cv_header_expat_h
=$ac_header_preproc
22167 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
22168 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
22171 if test $ac_cv_header_expat_h = yes; then
22176 if test "x$found_expat_h" = "x1"; then
22177 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
22178 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
22179 if test "${wx_cv_expat_is_not_broken+set}" = set; then
22180 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 ac_cpp
='$CXXCPP $CPPFLAGS'
22187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22191 cat >conftest.
$ac_ext <<_ACEOF
22194 cat confdefs.h
>>conftest.
$ac_ext
22195 cat >>conftest.
$ac_ext <<_ACEOF
22196 /* end confdefs.h. */
22206 rm -f conftest.
$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22210 grep -v '^ *+' conftest.er1
>conftest.err
22212 cat conftest.err
>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try
='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 wx_cv_expat_is_not_broken
=yes
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.
$ac_ext >&5
22232 wx_cv_expat_is_not_broken
=no
22235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22237 ac_cpp
='$CPP $CPPFLAGS'
22238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22245 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22246 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22247 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22248 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22249 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22250 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 ac_check_lib_save_LIBS
=$LIBS
22254 LIBS
="-lexpat $LIBS"
22255 cat >conftest.
$ac_ext <<_ACEOF
22258 cat confdefs.h
>>conftest.
$ac_ext
22259 cat >>conftest.
$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22262 /* Override any gcc2 internal prototype to avoid an error. */
22266 /* We use char because int might match the return type of a gcc2
22267 builtin and then its argument prototype would still apply. */
22268 char XML_ParserCreate ();
22272 XML_ParserCreate ();
22277 rm -f conftest.
$ac_objext conftest
$ac_exeext
22278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22279 (eval $ac_link) 2>conftest.er1
22281 grep -v '^ *+' conftest.er1
>conftest.err
22283 cat conftest.err
>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); } &&
22286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; } &&
22292 { ac_try
='test -s conftest$ac_exeext'
22293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22294 (eval $ac_try) 2>&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); }; }; then
22298 ac_cv_lib_expat_XML_ParserCreate
=yes
22300 echo "$as_me: failed program was:" >&5
22301 sed 's/^/| /' conftest.
$ac_ext >&5
22303 ac_cv_lib_expat_XML_ParserCreate
=no
22305 rm -f conftest.err conftest.
$ac_objext \
22306 conftest
$ac_exeext conftest.
$ac_ext
22307 LIBS
=$ac_check_lib_save_LIBS
22309 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22310 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22311 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22312 EXPAT_LINK
=" -lexpat"
22317 if test "x$EXPAT_LINK" = "x" ; then
22318 if test "$wxUSE_EXPAT" = "sys" ; then
22319 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22320 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22321 { (exit 1); exit 1; }; }
22323 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22324 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22325 wxUSE_EXPAT
=builtin
22331 if test "$wxUSE_EXPAT" = "builtin" ; then
22334 subdirs
="$subdirs src/expat"
22341 if test "$wxUSE_LIBMSPACK" != "no"; then
22342 if test "${ac_cv_header_mspack_h+set}" = set; then
22343 echo "$as_me:$LINENO: checking for mspack.h" >&5
22344 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22345 if test "${ac_cv_header_mspack_h+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22348 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22349 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22351 # Is the header compilable?
22352 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22353 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22354 cat >conftest.
$ac_ext <<_ACEOF
22357 cat confdefs.h
>>conftest.
$ac_ext
22358 cat >>conftest.
$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 $ac_includes_default
22361 #include <mspack.h>
22363 rm -f conftest.
$ac_objext
22364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22365 (eval $ac_compile) 2>conftest.er1
22367 grep -v '^ *+' conftest.er1
>conftest.err
22369 cat conftest.err
>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } &&
22372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; } &&
22378 { ac_try
='test -s conftest.$ac_objext'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; }; then
22384 ac_header_compiler
=yes
22386 echo "$as_me: failed program was:" >&5
22387 sed 's/^/| /' conftest.
$ac_ext >&5
22389 ac_header_compiler
=no
22391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22393 echo "${ECHO_T}$ac_header_compiler" >&6
22395 # Is the header present?
22396 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22397 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22398 cat >conftest.
$ac_ext <<_ACEOF
22401 cat confdefs.h
>>conftest.
$ac_ext
22402 cat >>conftest.
$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22404 #include <mspack.h>
22406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22409 grep -v '^ *+' conftest.er1
>conftest.err
22411 cat conftest.err
>&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } >/dev
/null
; then
22414 if test -s conftest.err
; then
22415 ac_cpp_err
=$ac_c_preproc_warn_flag
22416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22423 if test -z "$ac_cpp_err"; then
22424 ac_header_preproc
=yes
22426 echo "$as_me: failed program was:" >&5
22427 sed 's/^/| /' conftest.
$ac_ext >&5
22429 ac_header_preproc
=no
22431 rm -f conftest.err conftest.
$ac_ext
22432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22433 echo "${ECHO_T}$ac_header_preproc" >&6
22435 # So? What about this header?
22436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22438 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22439 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22440 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22441 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22442 ac_header_preproc
=yes
22445 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22446 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22447 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22448 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22449 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22450 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22451 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22452 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22453 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22454 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22455 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22456 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22459 ## ----------------------------------------- ##
22460 ## Report this to wx-dev@lists.wxwidgets.org ##
22461 ## ----------------------------------------- ##
22464 sed "s/^/$as_me: WARNING: /" >&2
22467 echo "$as_me:$LINENO: checking for mspack.h" >&5
22468 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22469 if test "${ac_cv_header_mspack_h+set}" = set; then
22470 echo $ECHO_N "(cached) $ECHO_C" >&6
22472 ac_cv_header_mspack_h
=$ac_header_preproc
22474 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22475 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22478 if test $ac_cv_header_mspack_h = yes; then
22483 if test "x$found_mspack_h" = "x1"; then
22484 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22485 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22486 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22487 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 ac_check_lib_save_LIBS
=$LIBS
22490 LIBS
="-lmspack $LIBS"
22491 cat >conftest.
$ac_ext <<_ACEOF
22494 cat confdefs.h
>>conftest.
$ac_ext
22495 cat >>conftest.
$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22498 /* Override any gcc2 internal prototype to avoid an error. */
22502 /* We use char because int might match the return type of a gcc2
22503 builtin and then its argument prototype would still apply. */
22504 char mspack_create_chm_decompressor ();
22508 mspack_create_chm_decompressor ();
22513 rm -f conftest.
$ac_objext conftest
$ac_exeext
22514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22515 (eval $ac_link) 2>conftest.er1
22517 grep -v '^ *+' conftest.er1
>conftest.err
22519 cat conftest.err
>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } &&
22522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22524 (eval $ac_try) 2>&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); }; } &&
22528 { ac_try
='test -s conftest$ac_exeext'
22529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22530 (eval $ac_try) 2>&5
22532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22533 (exit $ac_status); }; }; then
22534 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22536 echo "$as_me: failed program was:" >&5
22537 sed 's/^/| /' conftest.
$ac_ext >&5
22539 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22541 rm -f conftest.err conftest.
$ac_objext \
22542 conftest
$ac_exeext conftest.
$ac_ext
22543 LIBS
=$ac_check_lib_save_LIBS
22545 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22546 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22547 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22548 MSPACK_LINK
=" -lmspack"
22552 if test "x$MSPACK_LINK" = "x" ; then
22557 if test "$wxUSE_LIBMSPACK" != "no"; then
22558 cat >>confdefs.h
<<\_ACEOF
22559 #define wxUSE_LIBMSPACK 1
22573 if test "$USE_WIN32" = 1 ; then
22575 for ac_header
in w32api.h
22577 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22579 echo "$as_me:$LINENO: checking for $ac_header" >&5
22580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22587 # Is the header compilable?
22588 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22590 cat >conftest.
$ac_ext <<_ACEOF
22593 cat confdefs.h
>>conftest.
$ac_ext
22594 cat >>conftest.
$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 $ac_includes_default
22597 #include <$ac_header>
22599 rm -f conftest.
$ac_objext
22600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22601 (eval $ac_compile) 2>conftest.er1
22603 grep -v '^ *+' conftest.er1
>conftest.err
22605 cat conftest.err
>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } &&
22608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; } &&
22614 { ac_try
='test -s conftest.$ac_objext'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; }; then
22620 ac_header_compiler
=yes
22622 echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.
$ac_ext >&5
22625 ac_header_compiler
=no
22627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22629 echo "${ECHO_T}$ac_header_compiler" >&6
22631 # Is the header present?
22632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22634 cat >conftest.
$ac_ext <<_ACEOF
22637 cat confdefs.h
>>conftest.
$ac_ext
22638 cat >>conftest.
$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 #include <$ac_header>
22642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22645 grep -v '^ *+' conftest.er1
>conftest.err
22647 cat conftest.err
>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } >/dev
/null
; then
22650 if test -s conftest.err
; then
22651 ac_cpp_err
=$ac_c_preproc_warn_flag
22652 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22659 if test -z "$ac_cpp_err"; then
22660 ac_header_preproc
=yes
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.
$ac_ext >&5
22665 ac_header_preproc
=no
22667 rm -f conftest.err conftest.
$ac_ext
22668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22669 echo "${ECHO_T}$ac_header_preproc" >&6
22671 # So? What about this header?
22672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22678 ac_header_preproc
=yes
22681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22695 ## ----------------------------------------- ##
22696 ## Report this to wx-dev@lists.wxwidgets.org ##
22697 ## ----------------------------------------- ##
22700 sed "s/^/$as_me: WARNING: /" >&2
22703 echo "$as_me:$LINENO: checking for $ac_header" >&5
22704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22706 echo $ECHO_N "(cached) $ECHO_C" >&6
22708 eval "$as_ac_Header=\$ac_header_preproc"
22710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22715 cat >>confdefs.h
<<_ACEOF
22716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22723 if test "${ac_cv_header_windows_h+set}" = set; then
22724 echo "$as_me:$LINENO: checking for windows.h" >&5
22725 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22726 if test "${ac_cv_header_windows_h+set}" = set; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22729 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22730 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22732 # Is the header compilable?
22733 echo "$as_me:$LINENO: checking windows.h usability" >&5
22734 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22735 cat >conftest.
$ac_ext <<_ACEOF
22738 cat confdefs.h
>>conftest.
$ac_ext
22739 cat >>conftest.
$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22741 $ac_includes_default
22742 #include <windows.h>
22744 rm -f conftest.
$ac_objext
22745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22746 (eval $ac_compile) 2>conftest.er1
22748 grep -v '^ *+' conftest.er1
>conftest.err
22750 cat conftest.err
>&5
22751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752 (exit $ac_status); } &&
22753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; } &&
22759 { ac_try
='test -s conftest.$ac_objext'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 ac_header_compiler
=yes
22767 echo "$as_me: failed program was:" >&5
22768 sed 's/^/| /' conftest.
$ac_ext >&5
22770 ac_header_compiler
=no
22772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22774 echo "${ECHO_T}$ac_header_compiler" >&6
22776 # Is the header present?
22777 echo "$as_me:$LINENO: checking windows.h presence" >&5
22778 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22779 cat >conftest.
$ac_ext <<_ACEOF
22782 cat confdefs.h
>>conftest.
$ac_ext
22783 cat >>conftest.
$ac_ext <<_ACEOF
22784 /* end confdefs.h. */
22785 #include <windows.h>
22787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22790 grep -v '^ *+' conftest.er1
>conftest.err
22792 cat conftest.err
>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } >/dev
/null
; then
22795 if test -s conftest.err
; then
22796 ac_cpp_err
=$ac_c_preproc_warn_flag
22797 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22804 if test -z "$ac_cpp_err"; then
22805 ac_header_preproc
=yes
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.
$ac_ext >&5
22810 ac_header_preproc
=no
22812 rm -f conftest.err conftest.
$ac_ext
22813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22814 echo "${ECHO_T}$ac_header_preproc" >&6
22816 # So? What about this header?
22817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22819 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22820 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22822 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22823 ac_header_preproc
=yes
22826 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22827 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22828 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22829 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22830 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22831 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22832 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22833 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22834 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22835 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22836 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22837 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22840 ## ----------------------------------------- ##
22841 ## Report this to wx-dev@lists.wxwidgets.org ##
22842 ## ----------------------------------------- ##
22845 sed "s/^/$as_me: WARNING: /" >&2
22848 echo "$as_me:$LINENO: checking for windows.h" >&5
22849 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22850 if test "${ac_cv_header_windows_h+set}" = set; then
22851 echo $ECHO_N "(cached) $ECHO_C" >&6
22853 ac_cv_header_windows_h
=$ac_header_preproc
22855 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22856 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22859 if test $ac_cv_header_windows_h = yes; then
22863 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22864 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22865 { (exit 1); exit 1; }; }
22871 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22873 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22874 LIBS
="$LIBS -loleacc"
22879 LIBS
="$LIBS -lkernel32 -luser32"
22880 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22883 if test "$wxUSE_ODBC" = "sys" ; then
22886 if test "$wxUSE_ODBC" = "yes" ; then
22887 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22888 cat >>confdefs.h
<<\_ACEOF
22889 #define wxUSE_ODBC 1
22894 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22895 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22897 WIN32INSTALL
=win32install
22900 if test "$wxUSE_GUI" = "yes"; then
22910 if test "$wxUSE_COCOA" = 1 ; then
22911 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22912 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22913 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22914 wxUSE_PRINTING_ARCHITECTURE
=no
22916 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22917 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22918 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22919 wxUSE_DRAG_AND_DROP
=no
22921 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22922 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22923 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22928 if test "$wxUSE_MSW" = 1 ; then
22934 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22938 if test "$wxUSE_GTK" = 1; then
22939 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22940 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22942 gtk_version_cached
=1
22943 if test "${wx_cv_lib_gtk+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22947 gtk_version_cached
=0
22948 echo "$as_me:$LINENO: result: " >&5
22949 echo "${ECHO_T}" >&6
22952 if test "$wxUSE_THREADS" = "yes"; then
22953 GTK_MODULES
=gthread
22957 if test "x$wxUSE_GTK2" = "xyes"; then
22958 # Check whether --enable-gtktest or --disable-gtktest was given.
22959 if test "${enable_gtktest+set}" = set; then
22960 enableval
="$enable_gtktest"
22966 pkg_config_args
=gtk
+-2.0
22967 for module
in .
$GTK_MODULES
22971 pkg_config_args
="$pkg_config_args gthread-2.0"
22978 # Extract the first word of "pkg-config", so it can be a program name with args.
22979 set dummy pkg
-config; ac_word
=$2
22980 echo "$as_me:$LINENO: checking for $ac_word" >&5
22981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22982 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22983 echo $ECHO_N "(cached) $ECHO_C" >&6
22985 case $PKG_CONFIG in
22987 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22991 for as_dir
in $PATH
22994 test -z "$as_dir" && as_dir
=.
22995 for ac_exec_ext
in '' $ac_executable_extensions; do
22996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22997 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23004 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23008 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23010 if test -n "$PKG_CONFIG"; then
23011 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23012 echo "${ECHO_T}$PKG_CONFIG" >&6
23014 echo "$as_me:$LINENO: result: no" >&5
23015 echo "${ECHO_T}no" >&6
23019 if test x
$PKG_CONFIG != xno
; then
23020 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23023 echo "*** pkg-config too old; version 0.7 or better required."
23031 min_gtk_version
=2.0.0
23032 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
23033 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
23035 if test x
$PKG_CONFIG != xno
; then
23036 ## don't try to run the test against uninstalled libtool libs
23037 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23038 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23042 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23049 if test x
"$no_gtk" = x
; then
23050 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23051 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23052 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23054 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23056 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23058 if test "x$enable_gtktest" = "xyes" ; then
23059 ac_save_CFLAGS
="$CFLAGS"
23060 ac_save_LIBS
="$LIBS"
23061 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23062 LIBS
="$GTK_LIBS $LIBS"
23064 if test "$cross_compiling" = yes; then
23065 echo $ac_n "cross compiling; assumed OK... $ac_c"
23067 cat >conftest.
$ac_ext <<_ACEOF
23070 cat confdefs.h
>>conftest.
$ac_ext
23071 cat >>conftest.
$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23074 #include <gtk/gtk.h>
23076 #include <stdlib.h>
23081 int major, minor, micro;
23084 system ("touch conf.gtktest");
23086 /* HP/UX 9 (%@#!) writes to sscanf strings */
23087 tmp_version = g_strdup("$min_gtk_version");
23088 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23089 printf("%s, bad version string\n", "$min_gtk_version");
23093 if ((gtk_major_version != $gtk_config_major_version) ||
23094 (gtk_minor_version != $gtk_config_minor_version) ||
23095 (gtk_micro_version != $gtk_config_micro_version))
23097 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23098 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23099 gtk_major_version, gtk_minor_version, gtk_micro_version);
23100 printf ("*** was found! If pkg-config was correct, then it is best\n");
23101 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23102 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23103 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23104 printf("*** required on your system.\n");
23105 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23106 printf("*** to point to the correct configuration files\n");
23108 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23109 (gtk_minor_version != GTK_MINOR_VERSION) ||
23110 (gtk_micro_version != GTK_MICRO_VERSION))
23112 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23113 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23114 printf("*** library (version %d.%d.%d)\n",
23115 gtk_major_version, gtk_minor_version, gtk_micro_version);
23119 if ((gtk_major_version > major) ||
23120 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23121 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23127 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23128 gtk_major_version, gtk_minor_version, gtk_micro_version);
23129 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23130 major, minor, micro);
23131 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23133 printf("*** If you have already installed a sufficiently new version, this error\n");
23134 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23135 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23136 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23137 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23138 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23139 printf("*** so that the correct libraries are found at run-time))\n");
23146 rm -f conftest
$ac_exeext
23147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23148 (eval $ac_link) 2>&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23159 echo "$as_me: program exited with status $ac_status" >&5
23160 echo "$as_me: failed program was:" >&5
23161 sed 's/^/| /' conftest.
$ac_ext >&5
23163 ( exit $ac_status )
23166 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23168 CFLAGS
="$ac_save_CFLAGS"
23169 LIBS
="$ac_save_LIBS"
23172 if test "x$no_gtk" = x
; then
23173 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23174 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
23177 echo "$as_me:$LINENO: result: no" >&5
23178 echo "${ECHO_T}no" >&6
23179 if test "$PKG_CONFIG" = "no" ; then
23180 echo "*** A new enough version of pkg-config was not found."
23181 echo "*** See http://pkgconfig.sourceforge.net"
23183 if test -f conf.gtktest
; then
23186 echo "*** Could not run GTK+ test program, checking why..."
23187 ac_save_CFLAGS
="$CFLAGS"
23188 ac_save_LIBS
="$LIBS"
23189 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23190 LIBS
="$LIBS $GTK_LIBS"
23191 cat >conftest.
$ac_ext <<_ACEOF
23194 cat confdefs.h
>>conftest.
$ac_ext
23195 cat >>conftest.
$ac_ext <<_ACEOF
23196 /* end confdefs.h. */
23198 #include <gtk/gtk.h>
23204 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23209 rm -f conftest.
$ac_objext conftest
$ac_exeext
23210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23211 (eval $ac_link) 2>conftest.er1
23213 grep -v '^ *+' conftest.er1
>conftest.err
23215 cat conftest.err
>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); } &&
23218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try
='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 echo "*** The test program compiled, but did not run. This usually means"
23231 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23232 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23233 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23234 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23235 echo "*** is required on your system"
23237 echo "*** If you have an old version installed, it is best to remove it, although"
23238 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.
$ac_ext >&5
23243 echo "*** The test program failed to compile or link. See the file config.log for the"
23244 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23246 rm -f conftest.err conftest.
$ac_objext \
23247 conftest
$ac_exeext conftest.
$ac_ext
23248 CFLAGS
="$ac_save_CFLAGS"
23249 LIBS
="$ac_save_LIBS"
23262 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23263 if test "${with_gtk_prefix+set}" = set; then
23264 withval
="$with_gtk_prefix"
23265 gtk_config_prefix
="$withval"
23267 gtk_config_prefix
=""
23270 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23271 if test "${with_gtk_exec_prefix+set}" = set; then
23272 withval
="$with_gtk_exec_prefix"
23273 gtk_config_exec_prefix
="$withval"
23275 gtk_config_exec_prefix
=""
23277 # Check whether --enable-gtktest or --disable-gtktest was given.
23278 if test "${enable_gtktest+set}" = set; then
23279 enableval
="$enable_gtktest"
23285 for module
in .
$GTK_MODULES
23289 gtk_config_args
="$gtk_config_args gthread"
23294 if test x
$gtk_config_exec_prefix != x
; then
23295 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23296 if test x
${GTK_CONFIG+set} != xset
; then
23297 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23300 if test x
$gtk_config_prefix != x
; then
23301 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23302 if test x
${GTK_CONFIG+set} != xset
; then
23303 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23307 # Extract the first word of "gtk-config", so it can be a program name with args.
23308 set dummy gtk
-config; ac_word
=$2
23309 echo "$as_me:$LINENO: checking for $ac_word" >&5
23310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23311 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23312 echo $ECHO_N "(cached) $ECHO_C" >&6
23314 case $GTK_CONFIG in
23316 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23320 for as_dir
in $PATH
23323 test -z "$as_dir" && as_dir
=.
23324 for ac_exec_ext
in '' $ac_executable_extensions; do
23325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23326 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23333 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23337 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23339 if test -n "$GTK_CONFIG"; then
23340 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23341 echo "${ECHO_T}$GTK_CONFIG" >&6
23343 echo "$as_me:$LINENO: result: no" >&5
23344 echo "${ECHO_T}no" >&6
23347 min_gtk_version
=1.2.7
23348 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23349 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23351 if test "$GTK_CONFIG" = "no" ; then
23354 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23355 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23356 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23358 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23359 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23360 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23361 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23362 if test "x$enable_gtktest" = "xyes" ; then
23363 ac_save_CFLAGS
="$CFLAGS"
23364 ac_save_LIBS
="$LIBS"
23365 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23366 LIBS
="$GTK_LIBS $LIBS"
23368 if test "$cross_compiling" = yes; then
23369 echo $ac_n "cross compiling; assumed OK... $ac_c"
23371 cat >conftest.
$ac_ext <<_ACEOF
23374 cat confdefs.h
>>conftest.
$ac_ext
23375 cat >>conftest.
$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23378 #include <gtk/gtk.h>
23380 #include <stdlib.h>
23385 int major, minor, micro;
23388 system ("touch conf.gtktest");
23390 /* HP/UX 9 (%@#!) writes to sscanf strings */
23391 tmp_version = g_strdup("$min_gtk_version");
23392 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23393 printf("%s, bad version string\n", "$min_gtk_version");
23397 if ((gtk_major_version != $gtk_config_major_version) ||
23398 (gtk_minor_version != $gtk_config_minor_version) ||
23399 (gtk_micro_version != $gtk_config_micro_version))
23401 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23402 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23403 gtk_major_version, gtk_minor_version, gtk_micro_version);
23404 printf ("*** was found! If gtk-config was correct, then it is best\n");
23405 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23406 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23407 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23408 printf("*** required on your system.\n");
23409 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23410 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23411 printf("*** before re-running configure\n");
23413 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23414 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23415 (gtk_minor_version != GTK_MINOR_VERSION) ||
23416 (gtk_micro_version != GTK_MICRO_VERSION))
23418 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23419 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23420 printf("*** library (version %d.%d.%d)\n",
23421 gtk_major_version, gtk_minor_version, gtk_micro_version);
23423 #endif /* defined (GTK_MAJOR_VERSION) ... */
23426 if ((gtk_major_version > major) ||
23427 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23428 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23434 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23435 gtk_major_version, gtk_minor_version, gtk_micro_version);
23436 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23437 major, minor, micro);
23438 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23440 printf("*** If you have already installed a sufficiently new version, this error\n");
23441 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23442 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23443 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23444 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23445 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23446 printf("*** so that the correct libraries are found at run-time))\n");
23453 rm -f conftest
$ac_exeext
23454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23455 (eval $ac_link) 2>&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460 (eval $ac_try) 2>&5
23462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463 (exit $ac_status); }; }; then
23466 echo "$as_me: program exited with status $ac_status" >&5
23467 echo "$as_me: failed program was:" >&5
23468 sed 's/^/| /' conftest.
$ac_ext >&5
23470 ( exit $ac_status )
23473 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23475 CFLAGS
="$ac_save_CFLAGS"
23476 LIBS
="$ac_save_LIBS"
23479 if test "x$no_gtk" = x
; then
23480 echo "$as_me:$LINENO: result: yes" >&5
23481 echo "${ECHO_T}yes" >&6
23482 wx_cv_lib_gtk
=1.2.7
23484 echo "$as_me:$LINENO: result: no" >&5
23485 echo "${ECHO_T}no" >&6
23486 if test "$GTK_CONFIG" = "no" ; then
23487 echo "*** The gtk-config script installed by GTK could not be found"
23488 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23489 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23490 echo "*** full path to gtk-config."
23492 if test -f conf.gtktest
; then
23495 echo "*** Could not run GTK test program, checking why..."
23496 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23497 LIBS
="$LIBS $GTK_LIBS"
23498 cat >conftest.
$ac_ext <<_ACEOF
23501 cat confdefs.h
>>conftest.
$ac_ext
23502 cat >>conftest.
$ac_ext <<_ACEOF
23503 /* end confdefs.h. */
23505 #include <gtk/gtk.h>
23511 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23516 rm -f conftest.
$ac_objext conftest
$ac_exeext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23518 (eval $ac_link) 2>conftest.er1
23520 grep -v '^ *+' conftest.er1
>conftest.err
23522 cat conftest.err
>&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; } &&
23531 { ac_try
='test -s conftest$ac_exeext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 echo "*** The test program compiled, but did not run. This usually means"
23538 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23539 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23540 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23541 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23542 echo "*** is required on your system"
23544 echo "*** If you have an old version installed, it is best to remove it, although"
23545 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23547 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23548 echo "*** came with the system with the command"
23550 echo "*** rpm --erase --nodeps gtk gtk-devel"
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.
$ac_ext >&5
23555 echo "*** The test program failed to compile or link. See the file config.log for the"
23556 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23557 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23558 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23560 rm -f conftest.err conftest.
$ac_objext \
23561 conftest
$ac_exeext conftest.
$ac_ext
23562 CFLAGS
="$ac_save_CFLAGS"
23563 LIBS
="$ac_save_LIBS"
23575 if test -z "$wx_cv_lib_gtk"; then
23577 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23578 if test "${with_gtk_prefix+set}" = set; then
23579 withval
="$with_gtk_prefix"
23580 gtk_config_prefix
="$withval"
23582 gtk_config_prefix
=""
23585 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23586 if test "${with_gtk_exec_prefix+set}" = set; then
23587 withval
="$with_gtk_exec_prefix"
23588 gtk_config_exec_prefix
="$withval"
23590 gtk_config_exec_prefix
=""
23592 # Check whether --enable-gtktest or --disable-gtktest was given.
23593 if test "${enable_gtktest+set}" = set; then
23594 enableval
="$enable_gtktest"
23600 for module
in .
$GTK_MODULES
23604 gtk_config_args
="$gtk_config_args gthread"
23609 if test x
$gtk_config_exec_prefix != x
; then
23610 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23611 if test x
${GTK_CONFIG+set} != xset
; then
23612 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23615 if test x
$gtk_config_prefix != x
; then
23616 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23617 if test x
${GTK_CONFIG+set} != xset
; then
23618 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23622 # Extract the first word of "gtk-config", so it can be a program name with args.
23623 set dummy gtk
-config; ac_word
=$2
23624 echo "$as_me:$LINENO: checking for $ac_word" >&5
23625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23626 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 case $GTK_CONFIG in
23631 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23635 for as_dir
in $PATH
23638 test -z "$as_dir" && as_dir
=.
23639 for ac_exec_ext
in '' $ac_executable_extensions; do
23640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23641 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23648 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23652 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23654 if test -n "$GTK_CONFIG"; then
23655 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23656 echo "${ECHO_T}$GTK_CONFIG" >&6
23658 echo "$as_me:$LINENO: result: no" >&5
23659 echo "${ECHO_T}no" >&6
23662 min_gtk_version
=1.2.3
23663 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23664 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23666 if test "$GTK_CONFIG" = "no" ; then
23669 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23670 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23671 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23673 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23675 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23677 if test "x$enable_gtktest" = "xyes" ; then
23678 ac_save_CFLAGS
="$CFLAGS"
23679 ac_save_LIBS
="$LIBS"
23680 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23681 LIBS
="$GTK_LIBS $LIBS"
23683 if test "$cross_compiling" = yes; then
23684 echo $ac_n "cross compiling; assumed OK... $ac_c"
23686 cat >conftest.
$ac_ext <<_ACEOF
23689 cat confdefs.h
>>conftest.
$ac_ext
23690 cat >>conftest.
$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23693 #include <gtk/gtk.h>
23695 #include <stdlib.h>
23700 int major, minor, micro;
23703 system ("touch conf.gtktest");
23705 /* HP/UX 9 (%@#!) writes to sscanf strings */
23706 tmp_version = g_strdup("$min_gtk_version");
23707 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23708 printf("%s, bad version string\n", "$min_gtk_version");
23712 if ((gtk_major_version != $gtk_config_major_version) ||
23713 (gtk_minor_version != $gtk_config_minor_version) ||
23714 (gtk_micro_version != $gtk_config_micro_version))
23716 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23717 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23718 gtk_major_version, gtk_minor_version, gtk_micro_version);
23719 printf ("*** was found! If gtk-config was correct, then it is best\n");
23720 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23721 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23722 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23723 printf("*** required on your system.\n");
23724 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23725 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23726 printf("*** before re-running configure\n");
23728 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23729 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23730 (gtk_minor_version != GTK_MINOR_VERSION) ||
23731 (gtk_micro_version != GTK_MICRO_VERSION))
23733 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23734 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23735 printf("*** library (version %d.%d.%d)\n",
23736 gtk_major_version, gtk_minor_version, gtk_micro_version);
23738 #endif /* defined (GTK_MAJOR_VERSION) ... */
23741 if ((gtk_major_version > major) ||
23742 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23743 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23749 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23750 gtk_major_version, gtk_minor_version, gtk_micro_version);
23751 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23752 major, minor, micro);
23753 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23755 printf("*** If you have already installed a sufficiently new version, this error\n");
23756 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23757 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23758 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23759 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23760 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23761 printf("*** so that the correct libraries are found at run-time))\n");
23768 rm -f conftest
$ac_exeext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23770 (eval $ac_link) 2>&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23781 echo "$as_me: program exited with status $ac_status" >&5
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.
$ac_ext >&5
23785 ( exit $ac_status )
23788 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23790 CFLAGS
="$ac_save_CFLAGS"
23791 LIBS
="$ac_save_LIBS"
23794 if test "x$no_gtk" = x
; then
23795 echo "$as_me:$LINENO: result: yes" >&5
23796 echo "${ECHO_T}yes" >&6
23797 wx_cv_lib_gtk
=1.2.3
23799 echo "$as_me:$LINENO: result: no" >&5
23800 echo "${ECHO_T}no" >&6
23801 if test "$GTK_CONFIG" = "no" ; then
23802 echo "*** The gtk-config script installed by GTK could not be found"
23803 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23804 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23805 echo "*** full path to gtk-config."
23807 if test -f conf.gtktest
; then
23810 echo "*** Could not run GTK test program, checking why..."
23811 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23812 LIBS
="$LIBS $GTK_LIBS"
23813 cat >conftest.
$ac_ext <<_ACEOF
23816 cat confdefs.h
>>conftest.
$ac_ext
23817 cat >>conftest.
$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23820 #include <gtk/gtk.h>
23826 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23831 rm -f conftest.
$ac_objext conftest
$ac_exeext
23832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23833 (eval $ac_link) 2>conftest.er1
23835 grep -v '^ *+' conftest.er1
>conftest.err
23837 cat conftest.err
>&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } &&
23840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23842 (eval $ac_try) 2>&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); }; } &&
23846 { ac_try
='test -s conftest$ac_exeext'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; }; then
23852 echo "*** The test program compiled, but did not run. This usually means"
23853 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23854 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23855 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23856 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23857 echo "*** is required on your system"
23859 echo "*** If you have an old version installed, it is best to remove it, although"
23860 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23862 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23863 echo "*** came with the system with the command"
23865 echo "*** rpm --erase --nodeps gtk gtk-devel"
23867 echo "$as_me: failed program was:" >&5
23868 sed 's/^/| /' conftest.
$ac_ext >&5
23870 echo "*** The test program failed to compile or link. See the file config.log for the"
23871 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23872 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23873 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23875 rm -f conftest.err conftest.
$ac_objext \
23876 conftest
$ac_exeext conftest.
$ac_ext
23877 CFLAGS
="$ac_save_CFLAGS"
23878 LIBS
="$ac_save_LIBS"
23892 if test -z "$wx_cv_lib_gtk"; then
23895 wx_cv_cflags_gtk
=$GTK_CFLAGS
23896 wx_cv_libs_gtk
=$GTK_LIBS
23903 if test "$gtk_version_cached" = 1; then
23904 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23905 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23908 case "$wx_cv_lib_gtk" in
23917 *) { { echo "$as_me:$LINENO: error:
23918 Please check that gtk-config is in path, the directory
23919 where GTK+ libraries are installed (returned by
23920 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23921 equivalent variable and GTK+ is version 1.2.3 or above.
23923 echo "$as_me: error:
23924 Please check that gtk-config is in path, the directory
23925 where GTK+ libraries are installed (returned by
23926 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23927 equivalent variable and GTK+ is version 1.2.3 or above.
23929 { (exit 1); exit 1; }; }
23933 if test "$WXGTK20" = 1; then
23934 save_CFLAGS
="$CFLAGS"
23936 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23937 LIBS
="$LIBS $GTK_LIBS"
23940 for ac_func
in pango_font_family_is_monospace
23942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23943 echo "$as_me:$LINENO: checking for $ac_func" >&5
23944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23945 if eval "test \"\${$as_ac_var+set}\" = set"; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 cat >conftest.
$ac_ext <<_ACEOF
23951 cat confdefs.h
>>conftest.
$ac_ext
23952 cat >>conftest.
$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23956 #define $ac_func innocuous_$ac_func
23958 /* System header to define __stub macros and hopefully few prototypes,
23959 which can conflict with char $ac_func (); below.
23960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23961 <limits.h> exists even on freestanding compilers. */
23964 # include <limits.h>
23966 # include <assert.h>
23971 /* Override any gcc2 internal prototype to avoid an error. */
23976 /* We use char because int might match the return type of a gcc2
23977 builtin and then its argument prototype would still apply. */
23979 /* The GNU C library defines this for functions which it implements
23980 to always fail with ENOSYS. Some functions are actually named
23981 something starting with __ and the normal name is an alias. */
23982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23985 char (*f) () = $ac_func;
23994 return f != $ac_func;
23999 rm -f conftest.
$ac_objext conftest
$ac_exeext
24000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24001 (eval $ac_link) 2>conftest.er1
24003 grep -v '^ *+' conftest.er1
>conftest.err
24005 cat conftest.err
>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } &&
24008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; } &&
24014 { ac_try
='test -s conftest$ac_exeext'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; }; then
24020 eval "$as_ac_var=yes"
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.
$ac_ext >&5
24025 eval "$as_ac_var=no"
24027 rm -f conftest.err conftest.
$ac_objext \
24028 conftest
$ac_exeext conftest.
$ac_ext
24030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24032 if test `eval echo '${'$as_ac_var'}'` = yes; then
24033 cat >>confdefs.h
<<_ACEOF
24034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24041 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
24042 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
24043 cat >conftest.
$ac_ext <<_ACEOF
24046 cat confdefs.h
>>conftest.
$ac_ext
24047 cat >>conftest.
$ac_ext <<_ACEOF
24048 /* end confdefs.h. */
24050 #include <gtk/gtk.h>
24056 #if !GTK_CHECK_VERSION(2,4,0)
24057 #error "Not GTK+ 2.4"
24064 rm -f conftest.
$ac_objext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24066 (eval $ac_compile) 2>conftest.er1
24068 grep -v '^ *+' conftest.er1
>conftest.err
24070 cat conftest.err
>&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } &&
24073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; } &&
24079 { ac_try
='test -s conftest.$ac_objext'
24080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081 (eval $ac_try) 2>&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; }; then
24086 cat >>confdefs.h
<<\_ACEOF
24087 #define __WXGTK24__ 1
24090 echo "$as_me:$LINENO: result: yes" >&5
24091 echo "${ECHO_T}yes" >&6
24094 echo "$as_me: failed program was:" >&5
24095 sed 's/^/| /' conftest.
$ac_ext >&5
24098 echo "$as_me:$LINENO: result: no" >&5
24099 echo "${ECHO_T}no" >&6
24102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24104 CFLAGS
="$save_CFLAGS"
24107 if test "$wxUSE_UNICODE" = "yes"; then
24108 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24109 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24114 if test "$USE_DARWIN" != 1; then
24116 for ac_func
in poll
24118 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24119 echo "$as_me:$LINENO: checking for $ac_func" >&5
24120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24121 if eval "test \"\${$as_ac_var+set}\" = set"; then
24122 echo $ECHO_N "(cached) $ECHO_C" >&6
24124 cat >conftest.
$ac_ext <<_ACEOF
24127 cat confdefs.h
>>conftest.
$ac_ext
24128 cat >>conftest.
$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24132 #define $ac_func innocuous_$ac_func
24134 /* System header to define __stub macros and hopefully few prototypes,
24135 which can conflict with char $ac_func (); below.
24136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24137 <limits.h> exists even on freestanding compilers. */
24140 # include <limits.h>
24142 # include <assert.h>
24147 /* Override any gcc2 internal prototype to avoid an error. */
24152 /* We use char because int might match the return type of a gcc2
24153 builtin and then its argument prototype would still apply. */
24155 /* The GNU C library defines this for functions which it implements
24156 to always fail with ENOSYS. Some functions are actually named
24157 something starting with __ and the normal name is an alias. */
24158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24161 char (*f) () = $ac_func;
24170 return f != $ac_func;
24175 rm -f conftest.
$ac_objext conftest
$ac_exeext
24176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24177 (eval $ac_link) 2>conftest.er1
24179 grep -v '^ *+' conftest.er1
>conftest.err
24181 cat conftest.err
>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); } &&
24184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; } &&
24190 { ac_try
='test -s conftest$ac_exeext'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 eval "$as_ac_var=yes"
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.
$ac_ext >&5
24201 eval "$as_ac_var=no"
24203 rm -f conftest.err conftest.
$ac_objext \
24204 conftest
$ac_exeext conftest.
$ac_ext
24206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24208 if test `eval echo '${'$as_ac_var'}'` = yes; then
24209 cat >>confdefs.h
<<_ACEOF
24210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24218 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24219 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24221 AFMINSTALL
=afminstall
24225 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24226 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24227 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24228 echo $ECHO_N "(cached) $ECHO_C" >&6
24230 ac_check_lib_save_LIBS
=$LIBS
24232 cat >conftest.
$ac_ext <<_ACEOF
24235 cat confdefs.h
>>conftest.
$ac_ext
24236 cat >>conftest.
$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24239 /* Override any gcc2 internal prototype to avoid an error. */
24243 /* We use char because int might match the return type of a gcc2
24244 builtin and then its argument prototype would still apply. */
24245 char gdk_im_open ();
24254 rm -f conftest.
$ac_objext conftest
$ac_exeext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24256 (eval $ac_link) 2>conftest.er1
24258 grep -v '^ *+' conftest.er1
>conftest.err
24260 cat conftest.err
>&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); } &&
24263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
24269 { ac_try
='test -s conftest$ac_exeext'
24270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271 (eval $ac_try) 2>&5
24273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274 (exit $ac_status); }; }; then
24275 ac_cv_lib_gdk_gdk_im_open
=yes
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.
$ac_ext >&5
24280 ac_cv_lib_gdk_gdk_im_open
=no
24282 rm -f conftest.err conftest.
$ac_objext \
24283 conftest
$ac_exeext conftest.
$ac_ext
24284 LIBS
=$ac_check_lib_save_LIBS
24286 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24287 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24288 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24289 cat >>confdefs.h
<<\_ACEOF
24297 if test "$wxUSE_GPE" = "yes"; then
24298 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24299 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24302 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24304 for ac_extension
in a so sl dylib
; do
24305 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24306 ac_find_libraries
=$ac_dir
24312 if test "$ac_find_libraries" != "" ; then
24314 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24316 if test $result = 0; then
24319 ac_path_to_link
=" -L$ac_find_libraries"
24322 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24324 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24325 echo "${ECHO_T}found at $ac_find_libraries" >&6
24327 echo "$as_me:$LINENO: result: not found" >&5
24328 echo "${ECHO_T}not found" >&6
24334 if test "$wxUSE_MGL" = 1; then
24335 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24336 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24337 if test "x$MGL_ROOT" = x
; then
24338 echo "$as_me:$LINENO: result: not found" >&5
24339 echo "${ECHO_T}not found" >&6
24340 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24341 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24342 { (exit 1); exit 1; }; }
24344 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24345 echo "${ECHO_T}$MGL_ROOT" >&6
24348 echo "$as_me:$LINENO: checking for libmgl location" >&5
24349 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24352 if test "x$wxUSE_SHARED" = xyes
; then
24353 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24355 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24359 mgl_os_candidates
="dos32/dj2"
24362 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24363 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24364 { (exit 1); exit 1; }; }
24370 for mgl_os_i
in $mgl_os_candidates ; do
24371 if test "x$mgl_os" = x
; then
24372 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24373 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24374 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24379 if test "x$mgl_lib_type" = x
; then
24380 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24381 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24382 mgl_lib_type
=release
24389 if test "x$mgl_os" = x
; then
24390 echo "$as_me:$LINENO: result: not found" >&5
24391 echo "${ECHO_T}not found" >&6
24392 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24393 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24394 { (exit 1); exit 1; }; }
24396 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24397 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24399 wxUSE_UNIVERSAL
="yes"
24401 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24402 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24404 AFMINSTALL
=afminstall
24409 if test "$wxUSE_MICROWIN" = 1; then
24410 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24411 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24412 if test "x$MICROWINDOWS" = x
; then
24413 echo "$as_me:$LINENO: result: not found" >&5
24414 echo "${ECHO_T}not found" >&6
24415 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24416 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24417 { (exit 1); exit 1; }; }
24419 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24420 echo "${ECHO_T}$MICROWINDOWS" >&6
24423 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24424 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24425 echo "${ECHO_T}MicroWindows' libraries found." >&6
24427 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24428 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24429 { (exit 1); exit 1; }; }
24432 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24433 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24435 wxUSE_UNIVERSAL
="yes"
24437 AFMINSTALL
=afminstall
24439 GUIDIST
=MICROWIN_DIST
24441 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24444 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24446 if test "x$ac_path_x_has_been_run" != xyes
; then
24447 echo "$as_me:$LINENO: checking for X" >&5
24448 echo $ECHO_N "checking for X... $ECHO_C" >&6
24450 ac_path_x_has_been_run
=yes
24452 # Check whether --with-x or --without-x was given.
24453 if test "${with_x+set}" = set; then
24457 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24458 if test "x$with_x" = xno
; then
24459 # The user explicitly disabled X.
24462 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24463 # Both variables are already set.
24466 if test "${ac_cv_have_x+set}" = set; then
24467 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 # One or both of the vars are not set, and there is no cached value.
24470 ac_x_includes
=no ac_x_libraries
=no
24471 rm -fr conftest.dir
24472 if mkdir conftest.dir
; then
24474 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24475 cat >Imakefile
<<'_ACEOF'
24477 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24479 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24481 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24482 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24483 for ac_extension
in a so sl
; do
24484 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24485 test -f $ac_im_libdir/libX11.
$ac_extension; then
24486 ac_im_usrlibdir
=$ac_im_libdir; break
24489 # Screen out bogus values from the imake configuration. They are
24490 # bogus both because they are the default anyway, and because
24491 # using them would break gcc on systems where it needs fixed includes.
24492 case $ac_im_incroot in
24494 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24496 case $ac_im_usrlibdir in
24497 /usr
/lib
| /lib
) ;;
24498 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24502 rm -fr conftest.dir
24505 # Standard set of common directories for X headers.
24506 # Check X11 before X11Rn because it is often a symlink to the current release.
24518 /usr/local/X11/include
24519 /usr/local/X11R6/include
24520 /usr/local/X11R5/include
24521 /usr/local/X11R4/include
24523 /usr/local/include/X11
24524 /usr/local/include/X11R6
24525 /usr/local/include/X11R5
24526 /usr/local/include/X11R4
24530 /usr/XFree86/include/X11
24534 /usr/unsupported/include
24535 /usr/athena/include
24536 /usr/local/x11r5/include
24537 /usr/lpp/Xamples/include
24539 /usr/openwin/include
24540 /usr/openwin/share/include'
24542 if test "$ac_x_includes" = no
; then
24543 # Guess where to find include files, by looking for a specified header file.
24544 # First, try using that file with no special directory specified.
24545 cat >conftest.
$ac_ext <<_ACEOF
24548 cat confdefs.h
>>conftest.
$ac_ext
24549 cat >>conftest.
$ac_ext <<_ACEOF
24550 /* end confdefs.h. */
24551 #include <X11/Intrinsic.h>
24553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24554 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24556 grep -v '^ *+' conftest.er1
>conftest.err
24558 cat conftest.err
>&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } >/dev
/null
; then
24561 if test -s conftest.err
; then
24562 ac_cpp_err
=$ac_c_preproc_warn_flag
24563 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24570 if test -z "$ac_cpp_err"; then
24571 # We can compile using X headers with no special include directory.
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.
$ac_ext >&5
24577 for ac_dir
in $ac_x_header_dirs; do
24578 if test -r "$ac_dir/X11/Intrinsic.h"; then
24579 ac_x_includes
=$ac_dir
24584 rm -f conftest.err conftest.
$ac_ext
24585 fi # $ac_x_includes = no
24587 if test "$ac_x_libraries" = no
; then
24588 # Check for the libraries.
24589 # See if we find them without any special options.
24590 # Don't add to $LIBS permanently.
24593 cat >conftest.
$ac_ext <<_ACEOF
24596 cat confdefs.h
>>conftest.
$ac_ext
24597 cat >>conftest.
$ac_ext <<_ACEOF
24598 /* end confdefs.h. */
24599 #include <X11/Intrinsic.h>
24608 rm -f conftest.
$ac_objext conftest
$ac_exeext
24609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24610 (eval $ac_link) 2>conftest.er1
24612 grep -v '^ *+' conftest.er1
>conftest.err
24614 cat conftest.err
>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); } &&
24617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; } &&
24623 { ac_try
='test -s conftest$ac_exeext'
24624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24625 (eval $ac_try) 2>&5
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); }; }; then
24630 # We can link X programs with no special library path.
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.
$ac_ext >&5
24637 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24639 # Don't even attempt the hair of trying to link an X program!
24640 for ac_extension
in a so sl
; do
24641 if test -r $ac_dir/libXt.
$ac_extension; then
24642 ac_x_libraries
=$ac_dir
24648 rm -f conftest.err conftest.
$ac_objext \
24649 conftest
$ac_exeext conftest.
$ac_ext
24650 fi # $ac_x_libraries = no
24652 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24653 # Didn't find X anywhere. Cache the known absence of X.
24654 ac_cv_have_x
="have_x=no"
24656 # Record where we found X for the cache.
24657 ac_cv_have_x
="have_x=yes \
24658 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24663 eval "$ac_cv_have_x"
24666 if test "$have_x" != yes; then
24667 echo "$as_me:$LINENO: result: $have_x" >&5
24668 echo "${ECHO_T}$have_x" >&6
24671 # If each of the values was on the command line, it overrides each guess.
24672 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24673 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24674 # Update the cache value to reflect the command line values.
24675 ac_cv_have_x
="have_x=yes \
24676 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24677 # It might be that x_includes is empty (headers are found in the
24678 # standard search path. Then output the corresponding message
24679 ac_out_x_includes
=$x_includes
24680 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24681 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24682 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24686 if test "$no_x" = yes; then
24687 # Not all programs may use this symbol, but it does not hurt to define it.
24689 cat >>confdefs.h
<<\_ACEOF
24690 #define X_DISPLAY_MISSING 1
24693 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24695 if test -n "$x_includes"; then
24696 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24699 # It would also be nice to do this for all -L options, not just this one.
24700 if test -n "$x_libraries"; then
24701 X_LIBS
="$X_LIBS -L$x_libraries"
24702 # For Solaris; some versions of Sun CC require a space after -R and
24703 # others require no space. Words are not sufficient . . . .
24704 case `(uname -sr) 2>/dev/null` in
24706 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24707 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24708 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24709 cat >conftest.
$ac_ext <<_ACEOF
24712 cat confdefs.h
>>conftest.
$ac_ext
24713 cat >>conftest.
$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24724 rm -f conftest.
$ac_objext conftest
$ac_exeext
24725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24726 (eval $ac_link) 2>conftest.er1
24728 grep -v '^ *+' conftest.er1
>conftest.err
24730 cat conftest.err
>&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try
='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.
$ac_ext >&5
24752 rm -f conftest.err conftest.
$ac_objext \
24753 conftest
$ac_exeext conftest.
$ac_ext
24754 if test $ac_R_nospace = yes; then
24755 echo "$as_me:$LINENO: result: no" >&5
24756 echo "${ECHO_T}no" >&6
24757 X_LIBS
="$X_LIBS -R$x_libraries"
24759 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24760 cat >conftest.
$ac_ext <<_ACEOF
24763 cat confdefs.h
>>conftest.
$ac_ext
24764 cat >>conftest.
$ac_ext <<_ACEOF
24765 /* end confdefs.h. */
24775 rm -f conftest.
$ac_objext conftest
$ac_exeext
24776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24777 (eval $ac_link) 2>conftest.er1
24779 grep -v '^ *+' conftest.er1
>conftest.err
24781 cat conftest.err
>&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } &&
24784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786 (eval $ac_try) 2>&5
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); }; } &&
24790 { ac_try
='test -s conftest$ac_exeext'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; }; then
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.
$ac_ext >&5
24803 rm -f conftest.err conftest.
$ac_objext \
24804 conftest
$ac_exeext conftest.
$ac_ext
24805 if test $ac_R_space = yes; then
24806 echo "$as_me:$LINENO: result: yes" >&5
24807 echo "${ECHO_T}yes" >&6
24808 X_LIBS
="$X_LIBS -R $x_libraries"
24810 echo "$as_me:$LINENO: result: neither works" >&5
24811 echo "${ECHO_T}neither works" >&6
24814 LIBS
=$ac_xsave_LIBS
24818 # Check for system-dependent libraries X programs must link with.
24819 # Do this before checking for the system-independent R6 libraries
24820 # (-lICE), since we may need -lsocket or whatever for X linking.
24822 if test "$ISC" = yes; then
24823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24825 # Martyn Johnson says this is needed for Ultrix, if the X
24826 # libraries were built with DECnet support. And Karl Berry says
24827 # the Alpha needs dnet_stub (dnet does not exist).
24828 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24829 cat >conftest.
$ac_ext <<_ACEOF
24832 cat confdefs.h
>>conftest.
$ac_ext
24833 cat >>conftest.
$ac_ext <<_ACEOF
24834 /* end confdefs.h. */
24836 /* Override any gcc2 internal prototype to avoid an error. */
24840 /* We use char because int might match the return type of a gcc2
24841 builtin and then its argument prototype would still apply. */
24842 char XOpenDisplay ();
24851 rm -f conftest.
$ac_objext conftest
$ac_exeext
24852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24853 (eval $ac_link) 2>conftest.er1
24855 grep -v '^ *+' conftest.er1
>conftest.err
24857 cat conftest.err
>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } &&
24860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try
='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.
$ac_ext >&5
24877 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24878 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24879 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24882 ac_check_lib_save_LIBS
=$LIBS
24883 LIBS
="-ldnet $LIBS"
24884 cat >conftest.
$ac_ext <<_ACEOF
24887 cat confdefs.h
>>conftest.
$ac_ext
24888 cat >>conftest.
$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24891 /* Override any gcc2 internal prototype to avoid an error. */
24895 /* We use char because int might match the return type of a gcc2
24896 builtin and then its argument prototype would still apply. */
24906 rm -f conftest.
$ac_objext conftest
$ac_exeext
24907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24908 (eval $ac_link) 2>conftest.er1
24910 grep -v '^ *+' conftest.er1
>conftest.err
24912 cat conftest.err
>&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } &&
24915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24917 (eval $ac_try) 2>&5
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); }; } &&
24921 { ac_try
='test -s conftest$ac_exeext'
24922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24923 (eval $ac_try) 2>&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); }; }; then
24927 ac_cv_lib_dnet_dnet_ntoa
=yes
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.
$ac_ext >&5
24932 ac_cv_lib_dnet_dnet_ntoa
=no
24934 rm -f conftest.err conftest.
$ac_objext \
24935 conftest
$ac_exeext conftest.
$ac_ext
24936 LIBS
=$ac_check_lib_save_LIBS
24938 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24939 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24940 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24941 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24944 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24945 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24946 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24947 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24948 echo $ECHO_N "(cached) $ECHO_C" >&6
24950 ac_check_lib_save_LIBS
=$LIBS
24951 LIBS
="-ldnet_stub $LIBS"
24952 cat >conftest.
$ac_ext <<_ACEOF
24955 cat confdefs.h
>>conftest.
$ac_ext
24956 cat >>conftest.
$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24959 /* Override any gcc2 internal prototype to avoid an error. */
24963 /* We use char because int might match the return type of a gcc2
24964 builtin and then its argument prototype would still apply. */
24974 rm -f conftest.
$ac_objext conftest
$ac_exeext
24975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24976 (eval $ac_link) 2>conftest.er1
24978 grep -v '^ *+' conftest.er1
>conftest.err
24980 cat conftest.err
>&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); } &&
24983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24985 (eval $ac_try) 2>&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); }; } &&
24989 { ac_try
='test -s conftest$ac_exeext'
24990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24991 (eval $ac_try) 2>&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); }; }; then
24995 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24997 echo "$as_me: failed program was:" >&5
24998 sed 's/^/| /' conftest.
$ac_ext >&5
25000 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25002 rm -f conftest.err conftest.
$ac_objext \
25003 conftest
$ac_exeext conftest.
$ac_ext
25004 LIBS
=$ac_check_lib_save_LIBS
25006 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25007 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25008 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25009 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25014 rm -f conftest.err conftest.
$ac_objext \
25015 conftest
$ac_exeext conftest.
$ac_ext
25016 LIBS
="$ac_xsave_LIBS"
25018 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25019 # to get the SysV transport functions.
25020 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25022 # The nsl library prevents programs from opening the X display
25023 # on Irix 5.2, according to T.E. Dickey.
25024 # The functions gethostbyname, getservbyname, and inet_addr are
25025 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25026 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25027 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25028 if test "${ac_cv_func_gethostbyname+set}" = set; then
25029 echo $ECHO_N "(cached) $ECHO_C" >&6
25031 cat >conftest.
$ac_ext <<_ACEOF
25034 cat confdefs.h
>>conftest.
$ac_ext
25035 cat >>conftest.
$ac_ext <<_ACEOF
25036 /* end confdefs.h. */
25037 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25039 #define gethostbyname innocuous_gethostbyname
25041 /* System header to define __stub macros and hopefully few prototypes,
25042 which can conflict with char gethostbyname (); below.
25043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25044 <limits.h> exists even on freestanding compilers. */
25047 # include <limits.h>
25049 # include <assert.h>
25052 #undef gethostbyname
25054 /* Override any gcc2 internal prototype to avoid an error. */
25059 /* We use char because int might match the return type of a gcc2
25060 builtin and then its argument prototype would still apply. */
25061 char gethostbyname ();
25062 /* The GNU C library defines this for functions which it implements
25063 to always fail with ENOSYS. Some functions are actually named
25064 something starting with __ and the normal name is an alias. */
25065 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25068 char (*f) () = gethostbyname;
25077 return f != gethostbyname;
25082 rm -f conftest.
$ac_objext conftest
$ac_exeext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25084 (eval $ac_link) 2>conftest.er1
25086 grep -v '^ *+' conftest.er1
>conftest.err
25088 cat conftest.err
>&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; } &&
25097 { ac_try
='test -s conftest$ac_exeext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_cv_func_gethostbyname
=yes
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.
$ac_ext >&5
25108 ac_cv_func_gethostbyname
=no
25110 rm -f conftest.err conftest.
$ac_objext \
25111 conftest
$ac_exeext conftest.
$ac_ext
25113 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25114 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25116 if test $ac_cv_func_gethostbyname = no
; then
25117 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25118 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25119 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25120 echo $ECHO_N "(cached) $ECHO_C" >&6
25122 ac_check_lib_save_LIBS
=$LIBS
25124 cat >conftest.
$ac_ext <<_ACEOF
25127 cat confdefs.h
>>conftest.
$ac_ext
25128 cat >>conftest.
$ac_ext <<_ACEOF
25129 /* end confdefs.h. */
25131 /* Override any gcc2 internal prototype to avoid an error. */
25135 /* We use char because int might match the return type of a gcc2
25136 builtin and then its argument prototype would still apply. */
25137 char gethostbyname ();
25146 rm -f conftest.
$ac_objext conftest
$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148 (eval $ac_link) 2>conftest.er1
25150 grep -v '^ *+' conftest.er1
>conftest.err
25152 cat conftest.err
>&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25157 (eval $ac_try) 2>&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); }; } &&
25161 { ac_try
='test -s conftest$ac_exeext'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; }; then
25167 ac_cv_lib_nsl_gethostbyname
=yes
25169 echo "$as_me: failed program was:" >&5
25170 sed 's/^/| /' conftest.
$ac_ext >&5
25172 ac_cv_lib_nsl_gethostbyname
=no
25174 rm -f conftest.err conftest.
$ac_objext \
25175 conftest
$ac_exeext conftest.
$ac_ext
25176 LIBS
=$ac_check_lib_save_LIBS
25178 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25179 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25180 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25181 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25184 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25185 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25186 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25187 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25188 echo $ECHO_N "(cached) $ECHO_C" >&6
25190 ac_check_lib_save_LIBS
=$LIBS
25192 cat >conftest.
$ac_ext <<_ACEOF
25195 cat confdefs.h
>>conftest.
$ac_ext
25196 cat >>conftest.
$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25199 /* Override any gcc2 internal prototype to avoid an error. */
25203 /* We use char because int might match the return type of a gcc2
25204 builtin and then its argument prototype would still apply. */
25205 char gethostbyname ();
25214 rm -f conftest.
$ac_objext conftest
$ac_exeext
25215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25216 (eval $ac_link) 2>conftest.er1
25218 grep -v '^ *+' conftest.er1
>conftest.err
25220 cat conftest.err
>&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); } &&
25223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; } &&
25229 { ac_try
='test -s conftest$ac_exeext'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; }; then
25235 ac_cv_lib_bsd_gethostbyname
=yes
25237 echo "$as_me: failed program was:" >&5
25238 sed 's/^/| /' conftest.
$ac_ext >&5
25240 ac_cv_lib_bsd_gethostbyname
=no
25242 rm -f conftest.err conftest.
$ac_objext \
25243 conftest
$ac_exeext conftest.
$ac_ext
25244 LIBS
=$ac_check_lib_save_LIBS
25246 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25247 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25248 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25249 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25255 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25256 # socket/setsockopt and other routines are undefined under SCO ODT
25257 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25258 # on later versions), says Simon Leinen: it contains gethostby*
25259 # variants that don't use the name server (or something). -lsocket
25260 # must be given before -lnsl if both are needed. We assume that
25261 # if connect needs -lnsl, so does gethostbyname.
25262 echo "$as_me:$LINENO: checking for connect" >&5
25263 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25264 if test "${ac_cv_func_connect+set}" = set; then
25265 echo $ECHO_N "(cached) $ECHO_C" >&6
25267 cat >conftest.
$ac_ext <<_ACEOF
25270 cat confdefs.h
>>conftest.
$ac_ext
25271 cat >>conftest.
$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25273 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25275 #define connect innocuous_connect
25277 /* System header to define __stub macros and hopefully few prototypes,
25278 which can conflict with char connect (); below.
25279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25280 <limits.h> exists even on freestanding compilers. */
25283 # include <limits.h>
25285 # include <assert.h>
25290 /* Override any gcc2 internal prototype to avoid an error. */
25295 /* We use char because int might match the return type of a gcc2
25296 builtin and then its argument prototype would still apply. */
25298 /* The GNU C library defines this for functions which it implements
25299 to always fail with ENOSYS. Some functions are actually named
25300 something starting with __ and the normal name is an alias. */
25301 #if defined (__stub_connect) || defined (__stub___connect)
25304 char (*f) () = connect;
25313 return f != connect;
25318 rm -f conftest.
$ac_objext conftest
$ac_exeext
25319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25320 (eval $ac_link) 2>conftest.er1
25322 grep -v '^ *+' conftest.er1
>conftest.err
25324 cat conftest.err
>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; } &&
25333 { ac_try
='test -s conftest$ac_exeext'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; }; then
25339 ac_cv_func_connect
=yes
25341 echo "$as_me: failed program was:" >&5
25342 sed 's/^/| /' conftest.
$ac_ext >&5
25344 ac_cv_func_connect
=no
25346 rm -f conftest.err conftest.
$ac_objext \
25347 conftest
$ac_exeext conftest.
$ac_ext
25349 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25350 echo "${ECHO_T}$ac_cv_func_connect" >&6
25352 if test $ac_cv_func_connect = no
; then
25353 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25354 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25355 if test "${ac_cv_lib_socket_connect+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 ac_check_lib_save_LIBS
=$LIBS
25359 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25360 cat >conftest.
$ac_ext <<_ACEOF
25363 cat confdefs.h
>>conftest.
$ac_ext
25364 cat >>conftest.
$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25367 /* Override any gcc2 internal prototype to avoid an error. */
25371 /* We use char because int might match the return type of a gcc2
25372 builtin and then its argument prototype would still apply. */
25382 rm -f conftest.
$ac_objext conftest
$ac_exeext
25383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25384 (eval $ac_link) 2>conftest.er1
25386 grep -v '^ *+' conftest.er1
>conftest.err
25388 cat conftest.err
>&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); } &&
25391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25393 (eval $ac_try) 2>&5
25395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25396 (exit $ac_status); }; } &&
25397 { ac_try
='test -s conftest$ac_exeext'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; }; then
25403 ac_cv_lib_socket_connect
=yes
25405 echo "$as_me: failed program was:" >&5
25406 sed 's/^/| /' conftest.
$ac_ext >&5
25408 ac_cv_lib_socket_connect
=no
25410 rm -f conftest.err conftest.
$ac_objext \
25411 conftest
$ac_exeext conftest.
$ac_ext
25412 LIBS
=$ac_check_lib_save_LIBS
25414 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25415 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25416 if test $ac_cv_lib_socket_connect = yes; then
25417 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25422 # Guillermo Gomez says -lposix is necessary on A/UX.
25423 echo "$as_me:$LINENO: checking for remove" >&5
25424 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25425 if test "${ac_cv_func_remove+set}" = set; then
25426 echo $ECHO_N "(cached) $ECHO_C" >&6
25428 cat >conftest.
$ac_ext <<_ACEOF
25431 cat confdefs.h
>>conftest.
$ac_ext
25432 cat >>conftest.
$ac_ext <<_ACEOF
25433 /* end confdefs.h. */
25434 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25436 #define remove innocuous_remove
25438 /* System header to define __stub macros and hopefully few prototypes,
25439 which can conflict with char remove (); below.
25440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25441 <limits.h> exists even on freestanding compilers. */
25444 # include <limits.h>
25446 # include <assert.h>
25451 /* Override any gcc2 internal prototype to avoid an error. */
25456 /* We use char because int might match the return type of a gcc2
25457 builtin and then its argument prototype would still apply. */
25459 /* The GNU C library defines this for functions which it implements
25460 to always fail with ENOSYS. Some functions are actually named
25461 something starting with __ and the normal name is an alias. */
25462 #if defined (__stub_remove) || defined (__stub___remove)
25465 char (*f) () = remove;
25474 return f != remove;
25479 rm -f conftest.
$ac_objext conftest
$ac_exeext
25480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25481 (eval $ac_link) 2>conftest.er1
25483 grep -v '^ *+' conftest.er1
>conftest.err
25485 cat conftest.err
>&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } &&
25488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25490 (eval $ac_try) 2>&5
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); }; } &&
25494 { ac_try
='test -s conftest$ac_exeext'
25495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25496 (eval $ac_try) 2>&5
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); }; }; then
25500 ac_cv_func_remove
=yes
25502 echo "$as_me: failed program was:" >&5
25503 sed 's/^/| /' conftest.
$ac_ext >&5
25505 ac_cv_func_remove
=no
25507 rm -f conftest.err conftest.
$ac_objext \
25508 conftest
$ac_exeext conftest.
$ac_ext
25510 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25511 echo "${ECHO_T}$ac_cv_func_remove" >&6
25513 if test $ac_cv_func_remove = no
; then
25514 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25515 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25516 if test "${ac_cv_lib_posix_remove+set}" = set; then
25517 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 ac_check_lib_save_LIBS
=$LIBS
25520 LIBS
="-lposix $LIBS"
25521 cat >conftest.
$ac_ext <<_ACEOF
25524 cat confdefs.h
>>conftest.
$ac_ext
25525 cat >>conftest.
$ac_ext <<_ACEOF
25526 /* end confdefs.h. */
25528 /* Override any gcc2 internal prototype to avoid an error. */
25532 /* We use char because int might match the return type of a gcc2
25533 builtin and then its argument prototype would still apply. */
25543 rm -f conftest.
$ac_objext conftest
$ac_exeext
25544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25545 (eval $ac_link) 2>conftest.er1
25547 grep -v '^ *+' conftest.er1
>conftest.err
25549 cat conftest.err
>&5
25550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25551 (exit $ac_status); } &&
25552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25554 (eval $ac_try) 2>&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); }; } &&
25558 { ac_try
='test -s conftest$ac_exeext'
25559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25560 (eval $ac_try) 2>&5
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); }; }; then
25564 ac_cv_lib_posix_remove
=yes
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.
$ac_ext >&5
25569 ac_cv_lib_posix_remove
=no
25571 rm -f conftest.err conftest.
$ac_objext \
25572 conftest
$ac_exeext conftest.
$ac_ext
25573 LIBS
=$ac_check_lib_save_LIBS
25575 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25576 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25577 if test $ac_cv_lib_posix_remove = yes; then
25578 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25583 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25584 echo "$as_me:$LINENO: checking for shmat" >&5
25585 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25586 if test "${ac_cv_func_shmat+set}" = set; then
25587 echo $ECHO_N "(cached) $ECHO_C" >&6
25589 cat >conftest.
$ac_ext <<_ACEOF
25592 cat confdefs.h
>>conftest.
$ac_ext
25593 cat >>conftest.
$ac_ext <<_ACEOF
25594 /* end confdefs.h. */
25595 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25597 #define shmat innocuous_shmat
25599 /* System header to define __stub macros and hopefully few prototypes,
25600 which can conflict with char shmat (); below.
25601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25602 <limits.h> exists even on freestanding compilers. */
25605 # include <limits.h>
25607 # include <assert.h>
25612 /* Override any gcc2 internal prototype to avoid an error. */
25617 /* We use char because int might match the return type of a gcc2
25618 builtin and then its argument prototype would still apply. */
25620 /* The GNU C library defines this for functions which it implements
25621 to always fail with ENOSYS. Some functions are actually named
25622 something starting with __ and the normal name is an alias. */
25623 #if defined (__stub_shmat) || defined (__stub___shmat)
25626 char (*f) () = shmat;
25640 rm -f conftest.
$ac_objext conftest
$ac_exeext
25641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25642 (eval $ac_link) 2>conftest.er1
25644 grep -v '^ *+' conftest.er1
>conftest.err
25646 cat conftest.err
>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); } &&
25649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; } &&
25655 { ac_try
='test -s conftest$ac_exeext'
25656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25657 (eval $ac_try) 2>&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); }; }; then
25661 ac_cv_func_shmat
=yes
25663 echo "$as_me: failed program was:" >&5
25664 sed 's/^/| /' conftest.
$ac_ext >&5
25666 ac_cv_func_shmat
=no
25668 rm -f conftest.err conftest.
$ac_objext \
25669 conftest
$ac_exeext conftest.
$ac_ext
25671 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25672 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25674 if test $ac_cv_func_shmat = no
; then
25675 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25676 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25677 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25678 echo $ECHO_N "(cached) $ECHO_C" >&6
25680 ac_check_lib_save_LIBS
=$LIBS
25682 cat >conftest.
$ac_ext <<_ACEOF
25685 cat confdefs.h
>>conftest.
$ac_ext
25686 cat >>conftest.
$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25689 /* Override any gcc2 internal prototype to avoid an error. */
25693 /* We use char because int might match the return type of a gcc2
25694 builtin and then its argument prototype would still apply. */
25704 rm -f conftest.
$ac_objext conftest
$ac_exeext
25705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25706 (eval $ac_link) 2>conftest.er1
25708 grep -v '^ *+' conftest.er1
>conftest.err
25710 cat conftest.err
>&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } &&
25713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25715 (eval $ac_try) 2>&5
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); }; } &&
25719 { ac_try
='test -s conftest$ac_exeext'
25720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25721 (eval $ac_try) 2>&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); }; }; then
25725 ac_cv_lib_ipc_shmat
=yes
25727 echo "$as_me: failed program was:" >&5
25728 sed 's/^/| /' conftest.
$ac_ext >&5
25730 ac_cv_lib_ipc_shmat
=no
25732 rm -f conftest.err conftest.
$ac_objext \
25733 conftest
$ac_exeext conftest.
$ac_ext
25734 LIBS
=$ac_check_lib_save_LIBS
25736 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25737 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25738 if test $ac_cv_lib_ipc_shmat = yes; then
25739 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25745 # Check for libraries that X11R6 Xt/Xaw programs need.
25746 ac_save_LDFLAGS
=$LDFLAGS
25747 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25748 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25749 # check for ICE first), but we must link in the order -lSM -lICE or
25750 # we get undefined symbols. So assume we have SM if we have ICE.
25751 # These have to be linked with before -lX11, unlike the other
25752 # libraries we check for below, so use a different variable.
25753 # John Interrante, Karl Berry
25754 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25755 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25756 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25757 echo $ECHO_N "(cached) $ECHO_C" >&6
25759 ac_check_lib_save_LIBS
=$LIBS
25760 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25761 cat >conftest.
$ac_ext <<_ACEOF
25764 cat confdefs.h
>>conftest.
$ac_ext
25765 cat >>conftest.
$ac_ext <<_ACEOF
25766 /* end confdefs.h. */
25768 /* Override any gcc2 internal prototype to avoid an error. */
25772 /* We use char because int might match the return type of a gcc2
25773 builtin and then its argument prototype would still apply. */
25774 char IceConnectionNumber ();
25778 IceConnectionNumber ();
25783 rm -f conftest.
$ac_objext conftest
$ac_exeext
25784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25785 (eval $ac_link) 2>conftest.er1
25787 grep -v '^ *+' conftest.er1
>conftest.err
25789 cat conftest.err
>&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } &&
25792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; } &&
25798 { ac_try
='test -s conftest$ac_exeext'
25799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25800 (eval $ac_try) 2>&5
25802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803 (exit $ac_status); }; }; then
25804 ac_cv_lib_ICE_IceConnectionNumber
=yes
25806 echo "$as_me: failed program was:" >&5
25807 sed 's/^/| /' conftest.
$ac_ext >&5
25809 ac_cv_lib_ICE_IceConnectionNumber
=no
25811 rm -f conftest.err conftest.
$ac_objext \
25812 conftest
$ac_exeext conftest.
$ac_ext
25813 LIBS
=$ac_check_lib_save_LIBS
25815 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25816 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25817 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25818 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25821 LDFLAGS
=$ac_save_LDFLAGS
25826 if test "$no_x" = "yes"; then
25827 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25828 echo "$as_me: error: X11 not found" >&2;}
25829 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25832 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25833 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25834 AFMINSTALL
=afminstall
25835 COMPILED_X_PROGRAM
=0
25839 if test "$wxUSE_X11" = 1; then
25840 if test "$wxUSE_NANOX" = "yes"; then
25841 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25842 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25843 if test "x$MICROWIN" = x
; then
25844 echo "$as_me:$LINENO: result: not found" >&5
25845 echo "${ECHO_T}not found" >&6
25846 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25847 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25848 { (exit 1); exit 1; }; }
25850 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25851 echo "${ECHO_T}$MICROWIN" >&6
25852 cat >>confdefs.h
<<\_ACEOF
25853 #define wxUSE_NANOX 1
25859 if test "$wxUSE_UNICODE" = "yes"; then
25863 if test -z "$PKG_CONFIG"; then
25864 # Extract the first word of "pkg-config", so it can be a program name with args.
25865 set dummy pkg
-config; ac_word
=$2
25866 echo "$as_me:$LINENO: checking for $ac_word" >&5
25867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25869 echo $ECHO_N "(cached) $ECHO_C" >&6
25871 case $PKG_CONFIG in
25873 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25877 for as_dir
in $PATH
25880 test -z "$as_dir" && as_dir
=.
25881 for ac_exec_ext
in '' $ac_executable_extensions; do
25882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25883 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25890 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25894 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25896 if test -n "$PKG_CONFIG"; then
25897 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25898 echo "${ECHO_T}$PKG_CONFIG" >&6
25900 echo "$as_me:$LINENO: result: no" >&5
25901 echo "${ECHO_T}no" >&6
25906 if test "$PKG_CONFIG" = "no" ; then
25907 echo "*** The pkg-config script could not be found. Make sure it is"
25908 echo "*** in your path, or set the PKG_CONFIG environment variable"
25909 echo "*** to the full path to pkg-config."
25910 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25912 PKG_CONFIG_MIN_VERSION
=0.9.0
25913 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25914 echo "$as_me:$LINENO: checking for pangox" >&5
25915 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25917 if $PKG_CONFIG --exists "pangox" ; then
25918 echo "$as_me:$LINENO: result: yes" >&5
25919 echo "${ECHO_T}yes" >&6
25922 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25923 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25924 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25925 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25926 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25928 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25929 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25930 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25931 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25932 echo "${ECHO_T}$PANGOX_LIBS" >&6
25936 ## If we have a custom action on failure, don't print errors, but
25937 ## do set a variable so people can do so.
25938 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25945 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25946 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25950 if test $succeeded = yes; then
25952 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25953 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25957 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25958 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25959 { (exit 1); exit 1; }; }
25967 if test -z "$PKG_CONFIG"; then
25968 # Extract the first word of "pkg-config", so it can be a program name with args.
25969 set dummy pkg
-config; ac_word
=$2
25970 echo "$as_me:$LINENO: checking for $ac_word" >&5
25971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25972 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 case $PKG_CONFIG in
25977 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25981 for as_dir
in $PATH
25984 test -z "$as_dir" && as_dir
=.
25985 for ac_exec_ext
in '' $ac_executable_extensions; do
25986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25987 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25994 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25998 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26000 if test -n "$PKG_CONFIG"; then
26001 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26002 echo "${ECHO_T}$PKG_CONFIG" >&6
26004 echo "$as_me:$LINENO: result: no" >&5
26005 echo "${ECHO_T}no" >&6
26010 if test "$PKG_CONFIG" = "no" ; then
26011 echo "*** The pkg-config script could not be found. Make sure it is"
26012 echo "*** in your path, or set the PKG_CONFIG environment variable"
26013 echo "*** to the full path to pkg-config."
26014 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26016 PKG_CONFIG_MIN_VERSION
=0.9.0
26017 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26018 echo "$as_me:$LINENO: checking for pangoft2" >&5
26019 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
26021 if $PKG_CONFIG --exists "pangoft2" ; then
26022 echo "$as_me:$LINENO: result: yes" >&5
26023 echo "${ECHO_T}yes" >&6
26026 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
26027 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
26028 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
26029 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
26030 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
26032 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
26033 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
26034 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
26035 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
26036 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
26040 ## If we have a custom action on failure, don't print errors, but
26041 ## do set a variable so people can do so.
26042 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
26049 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26050 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26054 if test $succeeded = yes; then
26056 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
26057 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
26061 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
26062 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
26063 wxUSE_PRINTING_ARCHITECTURE
="no"
26071 if test -z "$PKG_CONFIG"; then
26072 # Extract the first word of "pkg-config", so it can be a program name with args.
26073 set dummy pkg
-config; ac_word
=$2
26074 echo "$as_me:$LINENO: checking for $ac_word" >&5
26075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26076 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26077 echo $ECHO_N "(cached) $ECHO_C" >&6
26079 case $PKG_CONFIG in
26081 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26085 for as_dir
in $PATH
26088 test -z "$as_dir" && as_dir
=.
26089 for ac_exec_ext
in '' $ac_executable_extensions; do
26090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26091 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26098 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26102 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26104 if test -n "$PKG_CONFIG"; then
26105 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26106 echo "${ECHO_T}$PKG_CONFIG" >&6
26108 echo "$as_me:$LINENO: result: no" >&5
26109 echo "${ECHO_T}no" >&6
26114 if test "$PKG_CONFIG" = "no" ; then
26115 echo "*** The pkg-config script could not be found. Make sure it is"
26116 echo "*** in your path, or set the PKG_CONFIG environment variable"
26117 echo "*** to the full path to pkg-config."
26118 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
26120 PKG_CONFIG_MIN_VERSION
=0.9.0
26121 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
26122 echo "$as_me:$LINENO: checking for pangoxft" >&5
26123 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
26125 if $PKG_CONFIG --exists "pangoxft" ; then
26126 echo "$as_me:$LINENO: result: yes" >&5
26127 echo "${ECHO_T}yes" >&6
26130 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
26131 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
26132 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
26133 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
26134 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
26136 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
26137 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
26138 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
26139 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
26140 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
26144 ## If we have a custom action on failure, don't print errors, but
26145 ## do set a variable so people can do so.
26146 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
26153 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
26154 echo "*** See http://www.freedesktop.org/software/pkgconfig"
26158 if test $succeeded = yes; then
26160 cat >>confdefs.h
<<\_ACEOF
26161 #define HAVE_PANGO_XFT 1
26164 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
26165 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26169 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
26170 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
26175 save_CFLAGS
="$CFLAGS"
26177 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
26178 LIBS
="$LIBS $PANGOX_LIBS"
26180 for ac_func
in pango_font_family_is_monospace
26182 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26183 echo "$as_me:$LINENO: checking for $ac_func" >&5
26184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26185 if eval "test \"\${$as_ac_var+set}\" = set"; then
26186 echo $ECHO_N "(cached) $ECHO_C" >&6
26188 cat >conftest.
$ac_ext <<_ACEOF
26191 cat confdefs.h
>>conftest.
$ac_ext
26192 cat >>conftest.
$ac_ext <<_ACEOF
26193 /* end confdefs.h. */
26194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26196 #define $ac_func innocuous_$ac_func
26198 /* System header to define __stub macros and hopefully few prototypes,
26199 which can conflict with char $ac_func (); below.
26200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26201 <limits.h> exists even on freestanding compilers. */
26204 # include <limits.h>
26206 # include <assert.h>
26211 /* Override any gcc2 internal prototype to avoid an error. */
26216 /* We use char because int might match the return type of a gcc2
26217 builtin and then its argument prototype would still apply. */
26219 /* The GNU C library defines this for functions which it implements
26220 to always fail with ENOSYS. Some functions are actually named
26221 something starting with __ and the normal name is an alias. */
26222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26225 char (*f) () = $ac_func;
26234 return f != $ac_func;
26239 rm -f conftest.
$ac_objext conftest
$ac_exeext
26240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26241 (eval $ac_link) 2>conftest.er1
26243 grep -v '^ *+' conftest.er1
>conftest.err
26245 cat conftest.err
>&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } &&
26248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; } &&
26254 { ac_try
='test -s conftest$ac_exeext'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; }; then
26260 eval "$as_ac_var=yes"
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.
$ac_ext >&5
26265 eval "$as_ac_var=no"
26267 rm -f conftest.err conftest.
$ac_objext \
26268 conftest
$ac_exeext conftest.
$ac_ext
26270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26272 if test `eval echo '${'$as_ac_var'}'` = yes; then
26273 cat >>confdefs.h
<<_ACEOF
26274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26280 CFLAGS
="$save_CFLAGS"
26284 wxUSE_UNIVERSAL
="yes"
26286 if test "$wxUSE_NANOX" = "yes"; then
26287 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26288 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"
26289 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26291 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26298 if test "$wxUSE_MOTIF" = 1; then
26299 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26300 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26303 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26305 if test -f "$ac_dir/Xm/Xm.h"; then
26306 ac_find_includes
=$ac_dir
26311 if test "$ac_find_includes" != "" ; then
26312 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26313 echo "${ECHO_T}found in $ac_find_includes" >&6
26315 if test "x$ac_find_includes" = "x/usr/include"; then
26316 ac_path_to_include
=""
26318 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26320 if test $result = 0; then
26321 ac_path_to_include
=""
26323 ac_path_to_include
=" -I$ac_find_includes"
26327 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26329 cat >conftest.
$ac_ext <<_ACEOF
26332 cat confdefs.h
>>conftest.
$ac_ext
26333 cat >>conftest.
$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26343 version = xmUseVersion;
26349 rm -f conftest.
$ac_objext
26350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26351 (eval $ac_compile) 2>conftest.er1
26353 grep -v '^ *+' conftest.er1
>conftest.err
26355 cat conftest.err
>&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } &&
26358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26360 (eval $ac_try) 2>&5
26362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363 (exit $ac_status); }; } &&
26364 { ac_try
='test -s conftest.$ac_objext'
26365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366 (eval $ac_try) 2>&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); }; }; then
26371 echo "$as_me:$LINENO: result: found in default search path" >&5
26372 echo "${ECHO_T}found in default search path" >&6
26373 COMPILED_X_PROGRAM
=1
26376 echo "$as_me: failed program was:" >&5
26377 sed 's/^/| /' conftest.
$ac_ext >&5
26380 echo "$as_me:$LINENO: result: no" >&5
26381 echo "${ECHO_T}no" >&6
26382 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26383 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26384 { (exit 1); exit 1; }; }
26388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26391 if test "$COMPILED_X_PROGRAM" = 0; then
26392 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26393 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26396 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26398 for ac_extension
in a so sl dylib
; do
26399 if test -f "$ac_dir/libXm.$ac_extension"; then
26400 ac_find_libraries
=$ac_dir
26406 if test "$ac_find_libraries" != "" ; then
26407 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26408 echo "${ECHO_T}found at $ac_find_libraries" >&6
26411 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26413 if test $result = 0; then
26416 ac_path_to_link
=" -L$ac_find_libraries"
26419 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26421 save_CFLAGS
=$CFLAGS
26422 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26424 cat >conftest.
$ac_ext <<_ACEOF
26427 cat confdefs.h
>>conftest.
$ac_ext
26428 cat >>conftest.
$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26438 version = xmUseVersion;
26444 rm -f conftest.
$ac_objext
26445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26446 (eval $ac_compile) 2>conftest.er1
26448 grep -v '^ *+' conftest.er1
>conftest.err
26450 cat conftest.err
>&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } &&
26453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; } &&
26459 { ac_try
='test -s conftest.$ac_objext'
26460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461 (eval $ac_try) 2>&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; }; then
26466 echo "$as_me:$LINENO: result: found in default search path" >&5
26467 echo "${ECHO_T}found in default search path" >&6
26468 COMPILED_X_PROGRAM
=1
26471 echo "$as_me: failed program was:" >&5
26472 sed 's/^/| /' conftest.
$ac_ext >&5
26475 echo "$as_me:$LINENO: result: no" >&5
26476 echo "${ECHO_T}no" >&6
26477 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26478 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26479 { (exit 1); exit 1; }; }
26483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26485 CFLAGS
=$save_CFLAGS
26489 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26490 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26494 for libp
in "" " -lXp"; do
26495 if test "$libs_found" = "0"; then
26496 for libsm_ice
in "" " -lSM -lICE"; do
26497 if test "$libs_found" = "0"; then
26499 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26500 save_CFLAGS
=$CFLAGS
26501 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26503 cat >conftest.
$ac_ext <<_ACEOF
26506 cat confdefs.h
>>conftest.
$ac_ext
26507 cat >>conftest.
$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26511 #include <Xm/List.h>
26517 XmString string = NULL;
26520 XmListAddItem(w, string, position);
26526 rm -f conftest.
$ac_objext conftest
$ac_exeext
26527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26528 (eval $ac_link) 2>conftest.er1
26530 grep -v '^ *+' conftest.er1
>conftest.err
26532 cat conftest.err
>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); } &&
26535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537 (eval $ac_try) 2>&5
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); }; } &&
26541 { ac_try
='test -s conftest$ac_exeext'
26542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26543 (eval $ac_try) 2>&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); }; }; then
26549 libsm_ice_link
="$libsm_ice"
26550 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26551 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.
$ac_ext >&5
26561 rm -f conftest.err conftest.
$ac_objext \
26562 conftest
$ac_exeext conftest.
$ac_ext
26565 CFLAGS
=$save_CFLAGS
26571 if test "$libs_found" = "0"; then
26572 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26573 echo "${ECHO_T}can't find the right libraries" >&6
26574 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26575 echo "$as_me: error: can't link a simple motif program" >&2;}
26576 { (exit 1); exit 1; }; }
26579 save_CFLAGS
=$CFLAGS
26580 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26581 echo "$as_me:$LINENO: checking for Motif 2" >&5
26582 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26583 cat >conftest.
$ac_ext <<_ACEOF
26586 cat confdefs.h
>>conftest.
$ac_ext
26587 cat >>conftest.
$ac_ext <<_ACEOF
26588 /* end confdefs.h. */
26596 #if XmVersion < 2000
26597 #error "Not Motif 2"
26604 rm -f conftest.
$ac_objext
26605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26606 (eval $ac_compile) 2>conftest.er1
26608 grep -v '^ *+' conftest.er1
>conftest.err
26610 cat conftest.err
>&5
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); } &&
26613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; } &&
26619 { ac_try
='test -s conftest.$ac_objext'
26620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621 (eval $ac_try) 2>&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); }; }; then
26626 cat >>confdefs.h
<<\_ACEOF
26627 #define __WXMOTIF20__ 1
26630 echo "$as_me:$LINENO: result: found" >&5
26631 echo "${ECHO_T}found" >&6
26634 echo "$as_me: failed program was:" >&5
26635 sed 's/^/| /' conftest.
$ac_ext >&5
26638 cat >>confdefs.h
<<\_ACEOF
26639 #define __WXMOTIF20__ 0
26642 echo "$as_me:$LINENO: result: not found" >&5
26643 echo "${ECHO_T}not found" >&6
26646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26647 CFLAGS
=$save_CFLAGS
26649 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26654 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26655 if test "$wxUSE_LIBXPM" = "sys"; then
26656 echo "$as_me:$LINENO: checking for Xpm library" >&5
26657 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26660 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26662 for ac_extension
in a so sl dylib
; do
26663 if test -f "$ac_dir/libXpm.$ac_extension"; then
26664 ac_find_libraries
=$ac_dir
26670 if test "$ac_find_libraries" != "" ; then
26672 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26674 if test $result = 0; then
26677 ac_path_to_link
=" -L$ac_find_libraries"
26680 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26681 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26682 echo "${ECHO_T}found at $ac_find_libraries" >&6
26684 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26685 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26686 if test "${wx_cv_x11_xpm_h+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26690 save_CFLAGS
=$CFLAGS
26691 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26693 cat >conftest.
$ac_ext <<_ACEOF
26696 cat confdefs.h
>>conftest.
$ac_ext
26697 cat >>conftest.
$ac_ext <<_ACEOF
26698 /* end confdefs.h. */
26700 #include <X11/xpm.h>
26707 version = XpmLibraryVersion();
26713 rm -f conftest.
$ac_objext
26714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26715 (eval $ac_compile) 2>conftest.er1
26717 grep -v '^ *+' conftest.er1
>conftest.err
26719 cat conftest.err
>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } &&
26722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; } &&
26728 { ac_try
='test -s conftest.$ac_objext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734 wx_cv_x11_xpm_h
=yes
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.
$ac_ext >&5
26742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26744 CFLAGS
=$save_CFLAGS
26748 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26749 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26751 if test $wx_cv_x11_xpm_h = "yes"; then
26752 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26753 cat >>confdefs.h
<<\_ACEOF
26754 #define wxHAVE_LIB_XPM 1
26758 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26759 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26765 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26766 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26767 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26768 echo $ECHO_N "(cached) $ECHO_C" >&6
26770 ac_check_lib_save_LIBS
=$LIBS
26771 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26772 cat >conftest.
$ac_ext <<_ACEOF
26775 cat confdefs.h
>>conftest.
$ac_ext
26776 cat >>conftest.
$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26779 /* Override any gcc2 internal prototype to avoid an error. */
26783 /* We use char because int might match the return type of a gcc2
26784 builtin and then its argument prototype would still apply. */
26785 char XShapeQueryExtension ();
26789 XShapeQueryExtension ();
26794 rm -f conftest.
$ac_objext conftest
$ac_exeext
26795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26796 (eval $ac_link) 2>conftest.er1
26798 grep -v '^ *+' conftest.er1
>conftest.err
26800 cat conftest.err
>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } &&
26803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; } &&
26809 { ac_try
='test -s conftest$ac_exeext'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; }; then
26815 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26817 echo "$as_me: failed program was:" >&5
26818 sed 's/^/| /' conftest.
$ac_ext >&5
26820 ac_cv_lib_Xext_XShapeQueryExtension
=no
26822 rm -f conftest.err conftest.
$ac_objext \
26823 conftest
$ac_exeext conftest.
$ac_ext
26824 LIBS
=$ac_check_lib_save_LIBS
26826 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26827 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26828 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26830 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26836 if test "$wxHAVE_XEXT_LIB" = 1; then
26837 save_CFLAGS
="$CFLAGS"
26838 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26840 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26841 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26842 cat >conftest.
$ac_ext <<_ACEOF
26845 cat confdefs.h
>>conftest.
$ac_ext
26846 cat >>conftest.
$ac_ext <<_ACEOF
26847 /* end confdefs.h. */
26849 #include <X11/Xlib.h>
26850 #include <X11/extensions/shape.h>
26856 int dummy1, dummy2;
26857 XShapeQueryExtension((Display*)NULL,
26858 (int*)NULL, (int*)NULL);
26864 rm -f conftest.
$ac_objext
26865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26866 (eval $ac_compile) 2>conftest.er1
26868 grep -v '^ *+' conftest.er1
>conftest.err
26870 cat conftest.err
>&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); } &&
26873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; } &&
26879 { ac_try
='test -s conftest.$ac_objext'
26880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26881 (eval $ac_try) 2>&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); }; }; then
26886 cat >>confdefs.h
<<\_ACEOF
26887 #define HAVE_XSHAPE 1
26890 echo "$as_me:$LINENO: result: found" >&5
26891 echo "${ECHO_T}found" >&6
26894 echo "$as_me: failed program was:" >&5
26895 sed 's/^/| /' conftest.
$ac_ext >&5
26898 echo "$as_me:$LINENO: result: not found" >&5
26899 echo "${ECHO_T}not found" >&6
26902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26903 CFLAGS
="$save_CFLAGS"
26908 if test "$wxUSE_MAC" = 1; then
26909 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26910 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26911 if test "$GCC" = yes; then
26912 echo "$as_me:$LINENO: result: gcc" >&5
26913 echo "${ECHO_T}gcc" >&6
26914 CPPFLAGS_PASCAL
="-fpascal-strings"
26915 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26916 echo "$as_me:$LINENO: result: xlc" >&5
26917 echo "${ECHO_T}xlc" >&6
26918 CPPFLAGS_PASCAL
="-qmacpstr"
26920 echo "$as_me:$LINENO: result: none" >&5
26921 echo "${ECHO_T}none" >&6
26924 if test "x$wxUSE_UNIX" = "xyes"; then
26925 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26927 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26932 WXBASEPORT
="_carbon"
26935 if test "$wxUSE_COCOA" = 1; then
26940 if test "$wxUSE_PM" = 1; then
26943 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26944 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26945 if test "${wx_cv_spbcdata+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 cat >conftest.
$ac_ext <<_ACEOF
26952 cat confdefs.h
>>conftest.
$ac_ext
26953 cat >>conftest.
$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26969 rm -f conftest.
$ac_objext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26971 (eval $ac_compile) 2>conftest.er1
26973 grep -v '^ *+' conftest.er1
>conftest.err
26975 cat conftest.err
>&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; } &&
26984 { ac_try
='test -s conftest.$ac_objext'
26985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26986 (eval $ac_try) 2>&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); }; }; then
26992 echo "$as_me: failed program was:" >&5
26993 sed 's/^/| /' conftest.
$ac_ext >&5
26998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27002 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
27003 echo "${ECHO_T}$wx_cv_spbcdata" >&6
27005 if test $wx_cv_spbcdata = "yes"; then
27006 cat >>confdefs.h
<<\_ACEOF
27007 #define HAVE_SPBCDATA 1
27013 if test "$TOOLKIT" = "PM" ; then
27016 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
27019 if test "$wxUSE_UNIVERSAL" = "yes"; then
27020 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
27024 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
27025 DISTDIR
="wx\$(TOOLKIT)"
27031 if test "$USE_WIN32" = 1 ; then
27035 GUIDIST
="BASE_DIST"
27045 if test "$TOOLKIT" != "MSW" ; then
27047 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
27049 if test "${ac_cv_header_sql_h+set}" = set; then
27050 echo "$as_me:$LINENO: checking for sql.h" >&5
27051 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27052 if test "${ac_cv_header_sql_h+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27055 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27056 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27058 # Is the header compilable?
27059 echo "$as_me:$LINENO: checking sql.h usability" >&5
27060 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
27061 cat >conftest.
$ac_ext <<_ACEOF
27064 cat confdefs.h
>>conftest.
$ac_ext
27065 cat >>conftest.
$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 $ac_includes_default
27070 rm -f conftest.
$ac_objext
27071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27072 (eval $ac_compile) 2>conftest.er1
27074 grep -v '^ *+' conftest.er1
>conftest.err
27076 cat conftest.err
>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try
='test -s conftest.$ac_objext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 ac_header_compiler
=yes
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.
$ac_ext >&5
27096 ac_header_compiler
=no
27098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27100 echo "${ECHO_T}$ac_header_compiler" >&6
27102 # Is the header present?
27103 echo "$as_me:$LINENO: checking sql.h presence" >&5
27104 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27105 cat >conftest.
$ac_ext <<_ACEOF
27108 cat confdefs.h
>>conftest.
$ac_ext
27109 cat >>conftest.
$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27116 grep -v '^ *+' conftest.er1
>conftest.err
27118 cat conftest.err
>&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } >/dev
/null
; then
27121 if test -s conftest.err
; then
27122 ac_cpp_err
=$ac_c_preproc_warn_flag
27123 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27130 if test -z "$ac_cpp_err"; then
27131 ac_header_preproc
=yes
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.
$ac_ext >&5
27136 ac_header_preproc
=no
27138 rm -f conftest.err conftest.
$ac_ext
27139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27140 echo "${ECHO_T}$ac_header_preproc" >&6
27142 # So? What about this header?
27143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27145 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27146 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27147 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27148 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27149 ac_header_preproc
=yes
27152 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27153 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27154 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27155 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27156 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27157 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27158 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27159 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27161 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27163 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27166 ## ----------------------------------------- ##
27167 ## Report this to wx-dev@lists.wxwidgets.org ##
27168 ## ----------------------------------------- ##
27171 sed "s/^/$as_me: WARNING: /" >&2
27174 echo "$as_me:$LINENO: checking for sql.h" >&5
27175 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27176 if test "${ac_cv_header_sql_h+set}" = set; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 ac_cv_header_sql_h
=$ac_header_preproc
27181 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27182 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27185 if test $ac_cv_header_sql_h = yes; then
27190 if test "x$found_sql_h" = "x1" ; then
27191 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27192 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27193 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27194 echo $ECHO_N "(cached) $ECHO_C" >&6
27196 ac_check_lib_save_LIBS
=$LIBS
27197 LIBS
="-liodbc $LIBS"
27198 cat >conftest.
$ac_ext <<_ACEOF
27201 cat confdefs.h
>>conftest.
$ac_ext
27202 cat >>conftest.
$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27205 /* Override any gcc2 internal prototype to avoid an error. */
27209 /* We use char because int might match the return type of a gcc2
27210 builtin and then its argument prototype would still apply. */
27211 char SQLAllocEnv ();
27220 rm -f conftest.
$ac_objext conftest
$ac_exeext
27221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27222 (eval $ac_link) 2>conftest.er1
27224 grep -v '^ *+' conftest.er1
>conftest.err
27226 cat conftest.err
>&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); } &&
27229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; } &&
27235 { ac_try
='test -s conftest$ac_exeext'
27236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237 (eval $ac_try) 2>&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); }; }; then
27241 ac_cv_lib_iodbc_SQLAllocEnv
=yes
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.
$ac_ext >&5
27246 ac_cv_lib_iodbc_SQLAllocEnv
=no
27248 rm -f conftest.err conftest.
$ac_objext \
27249 conftest
$ac_exeext conftest.
$ac_ext
27250 LIBS
=$ac_check_lib_save_LIBS
27252 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27253 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27254 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27255 ODBC_LINK
=" -liodbc"
27258 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27259 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27260 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27263 ac_check_lib_save_LIBS
=$LIBS
27264 LIBS
="-lunixodbc $LIBS"
27265 cat >conftest.
$ac_ext <<_ACEOF
27268 cat confdefs.h
>>conftest.
$ac_ext
27269 cat >>conftest.
$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27272 /* Override any gcc2 internal prototype to avoid an error. */
27276 /* We use char because int might match the return type of a gcc2
27277 builtin and then its argument prototype would still apply. */
27278 char SQLAllocEnv ();
27287 rm -f conftest.
$ac_objext conftest
$ac_exeext
27288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27289 (eval $ac_link) 2>conftest.er1
27291 grep -v '^ *+' conftest.er1
>conftest.err
27293 cat conftest.err
>&5
27294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295 (exit $ac_status); } &&
27296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27298 (eval $ac_try) 2>&5
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); }; } &&
27302 { ac_try
='test -s conftest$ac_exeext'
27303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27304 (eval $ac_try) 2>&5
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); }; }; then
27308 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.
$ac_ext >&5
27313 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27315 rm -f conftest.err conftest.
$ac_objext \
27316 conftest
$ac_exeext conftest.
$ac_ext
27317 LIBS
=$ac_check_lib_save_LIBS
27319 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27320 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27321 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27322 ODBC_LINK
=" -lunixodbc"
27325 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27326 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27327 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27328 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 ac_check_lib_save_LIBS
=$LIBS
27331 LIBS
="-lodbc $LIBS"
27332 cat >conftest.
$ac_ext <<_ACEOF
27335 cat confdefs.h
>>conftest.
$ac_ext
27336 cat >>conftest.
$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27339 /* Override any gcc2 internal prototype to avoid an error. */
27343 /* We use char because int might match the return type of a gcc2
27344 builtin and then its argument prototype would still apply. */
27345 char SQLAllocEnv ();
27354 rm -f conftest.
$ac_objext conftest
$ac_exeext
27355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27356 (eval $ac_link) 2>conftest.er1
27358 grep -v '^ *+' conftest.er1
>conftest.err
27360 cat conftest.err
>&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; } &&
27369 { ac_try
='test -s conftest$ac_exeext'
27370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371 (eval $ac_try) 2>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); }; }; then
27375 ac_cv_lib_odbc_SQLAllocEnv
=yes
27377 echo "$as_me: failed program was:" >&5
27378 sed 's/^/| /' conftest.
$ac_ext >&5
27380 ac_cv_lib_odbc_SQLAllocEnv
=no
27382 rm -f conftest.err conftest.
$ac_objext \
27383 conftest
$ac_exeext conftest.
$ac_ext
27384 LIBS
=$ac_check_lib_save_LIBS
27386 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27387 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27388 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27389 ODBC_LINK
=" -lodbc"
27399 if test "x$ODBC_LINK" = "x" ; then
27400 if test "$wxUSE_ODBC" = "sys" ; then
27401 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27402 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27403 { (exit 1); exit 1; }; }
27405 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27406 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27413 if test "$wxUSE_ODBC" != "no" ; then
27414 cat >>confdefs.h
<<\_ACEOF
27415 #define wxUSE_ODBC 1
27418 if test "$wxUSE_ODBC" = "builtin" ; then
27419 cat >>confdefs.h
<<\_ACEOF
27420 #define wxUSE_BUILTIN_IODBC 1
27424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27426 WXODBCFLAG
="-D_IODBC_"
27432 if test "$wxUSE_DISPLAY" = "yes"; then
27433 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27434 echo "$as_me:$LINENO: checking for Xinerama" >&5
27435 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27438 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27440 for ac_extension
in a so sl dylib
; do
27441 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27442 ac_find_libraries
=$ac_dir
27448 if test "$ac_find_libraries" != "" ; then
27450 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27452 if test $result = 0; then
27455 ac_path_to_link
=" -L$ac_find_libraries"
27458 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27459 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27461 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27462 echo "$as_me:$LINENO: result: yes" >&5
27463 echo "${ECHO_T}yes" >&6
27465 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27466 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27469 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27471 for ac_extension
in a so sl dylib
; do
27472 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27473 ac_find_libraries
=$ac_dir
27479 if test "$ac_find_libraries" != "" ; then
27480 echo "$as_me:$LINENO: result: yes" >&5
27481 echo "${ECHO_T}yes" >&6
27483 for ac_header
in X
11/extensions
/xf86vmode.h
27485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27486 echo "$as_me:$LINENO: checking for $ac_header" >&5
27487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27489 echo $ECHO_N "(cached) $ECHO_C" >&6
27491 cat >conftest.
$ac_ext <<_ACEOF
27494 cat confdefs.h
>>conftest.
$ac_ext
27495 cat >>conftest.
$ac_ext <<_ACEOF
27496 /* end confdefs.h. */
27498 #if HAVE_X11_XLIB_H
27499 #include <X11/Xlib.h>
27503 #include <$ac_header>
27505 rm -f conftest.
$ac_objext
27506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27507 (eval $ac_compile) 2>conftest.er1
27509 grep -v '^ *+' conftest.er1
>conftest.err
27511 cat conftest.err
>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); } &&
27514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try
='test -s conftest.$ac_objext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 eval "$as_ac_Header=yes"
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.
$ac_ext >&5
27531 eval "$as_ac_Header=no"
27533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27538 cat >>confdefs.h
<<_ACEOF
27539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27542 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27549 echo "$as_me:$LINENO: result: no" >&5
27550 echo "${ECHO_T}no" >&6
27554 echo "$as_me:$LINENO: result: no" >&5
27555 echo "${ECHO_T}no" >&6
27556 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27557 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27560 elif test "$wxUSE_MSW" = 1; then
27563 for ac_header
in multimon.h ddraw.h
27565 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27566 echo "$as_me:$LINENO: checking for $ac_header" >&5
27567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27569 echo $ECHO_N "(cached) $ECHO_C" >&6
27571 cat >conftest.
$ac_ext <<_ACEOF
27574 cat confdefs.h
>>conftest.
$ac_ext
27575 cat >>conftest.
$ac_ext <<_ACEOF
27576 /* end confdefs.h. */
27577 #include <windows.h>
27579 #include <$ac_header>
27581 rm -f conftest.
$ac_objext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27583 (eval $ac_compile) 2>conftest.er1
27585 grep -v '^ *+' conftest.er1
>conftest.err
27587 cat conftest.err
>&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; } &&
27596 { ac_try
='test -s conftest.$ac_objext'
27597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598 (eval $ac_try) 2>&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); }; }; then
27602 eval "$as_ac_Header=yes"
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.
$ac_ext >&5
27607 eval "$as_ac_Header=no"
27609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27614 cat >>confdefs.h
<<_ACEOF
27615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27621 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27622 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27632 if test "$wxUSE_MEDIACTRL" = "yes"; then
27633 if test "$wxUSE_MSW" = 1; then
27634 wxUSE_DIRECTSHOW
="yes"
27636 for ac_header
in dshow.h
27638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27639 echo "$as_me:$LINENO: checking for $ac_header" >&5
27640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27642 echo $ECHO_N "(cached) $ECHO_C" >&6
27644 cat >conftest.
$ac_ext <<_ACEOF
27647 cat confdefs.h
>>conftest.
$ac_ext
27648 cat >>conftest.
$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27650 #include <windows.h>
27652 #include <$ac_header>
27654 rm -f conftest.
$ac_objext
27655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27656 (eval $ac_compile) 2>conftest.er1
27658 grep -v '^ *+' conftest.er1
>conftest.err
27660 cat conftest.err
>&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } &&
27663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27665 (eval $ac_try) 2>&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); }; } &&
27669 { ac_try
='test -s conftest.$ac_objext'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; }; then
27675 eval "$as_ac_Header=yes"
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.
$ac_ext >&5
27680 eval "$as_ac_Header=no"
27682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27687 cat >>confdefs.h
<<_ACEOF
27688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27693 wxUSE_DIRECTSHOW
="no"
27694 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27695 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27702 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27703 cat >>confdefs.h
<<\_ACEOF
27704 #define wxUSE_DIRECTSHOW 1
27707 LIBS
="$LIBS -lstrmiids"
27711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
27712 cat >>confdefs.h
<<\_ACEOF
27713 #define wxUSE_MEDIACTRL 1
27720 if test "$wxUSE_OPENGL" = "yes"; then
27721 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27722 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27723 elif test "$wxUSE_MSW" = 1; then
27724 OPENGL_LIBS
="-lopengl32 -lglu32"
27729 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27731 if test -f "$ac_dir/GL/gl.h"; then
27732 ac_find_includes
=$ac_dir
27737 if test "$ac_find_includes" != "" ; then
27738 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27739 echo "${ECHO_T}found in $ac_find_includes" >&6
27741 if test "x$ac_find_includes" = "x/usr/include"; then
27742 ac_path_to_include
=""
27744 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27746 if test $result = 0; then
27747 ac_path_to_include
=""
27749 ac_path_to_include
=" -I$ac_find_includes"
27753 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27756 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27757 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27758 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27759 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27762 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27763 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27765 # Is the header compilable?
27766 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27767 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27768 cat >conftest.
$ac_ext <<_ACEOF
27771 cat confdefs.h
>>conftest.
$ac_ext
27772 cat >>conftest.
$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27774 $ac_includes_default
27777 rm -f conftest.
$ac_objext
27778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27779 (eval $ac_compile) 2>conftest.er1
27781 grep -v '^ *+' conftest.er1
>conftest.err
27783 cat conftest.err
>&5
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } &&
27786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27788 (eval $ac_try) 2>&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; } &&
27792 { ac_try
='test -s conftest.$ac_objext'
27793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27794 (eval $ac_try) 2>&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); }; }; then
27798 ac_header_compiler
=yes
27800 echo "$as_me: failed program was:" >&5
27801 sed 's/^/| /' conftest.
$ac_ext >&5
27803 ac_header_compiler
=no
27805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27807 echo "${ECHO_T}$ac_header_compiler" >&6
27809 # Is the header present?
27810 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27811 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27812 cat >conftest.
$ac_ext <<_ACEOF
27815 cat confdefs.h
>>conftest.
$ac_ext
27816 cat >>conftest.
$ac_ext <<_ACEOF
27817 /* end confdefs.h. */
27820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27823 grep -v '^ *+' conftest.er1
>conftest.err
27825 cat conftest.err
>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } >/dev
/null
; then
27828 if test -s conftest.err
; then
27829 ac_cpp_err
=$ac_c_preproc_warn_flag
27830 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27837 if test -z "$ac_cpp_err"; then
27838 ac_header_preproc
=yes
27840 echo "$as_me: failed program was:" >&5
27841 sed 's/^/| /' conftest.
$ac_ext >&5
27843 ac_header_preproc
=no
27845 rm -f conftest.err conftest.
$ac_ext
27846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27847 echo "${ECHO_T}$ac_header_preproc" >&6
27849 # So? What about this header?
27850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27852 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27853 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27854 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27855 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27856 ac_header_preproc
=yes
27859 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27860 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27861 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27862 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27863 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27864 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27865 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27866 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27867 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27868 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27869 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27870 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27873 ## ----------------------------------------- ##
27874 ## Report this to wx-dev@lists.wxwidgets.org ##
27875 ## ----------------------------------------- ##
27878 sed "s/^/$as_me: WARNING: /" >&2
27881 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27882 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27883 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27884 echo $ECHO_N "(cached) $ECHO_C" >&6
27886 ac_cv_header_GL_gl_h
=$ac_header_preproc
27888 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27889 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27892 if test $ac_cv_header_GL_gl_h = yes; then
27896 echo "$as_me:$LINENO: checking for -lGL" >&5
27897 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27900 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27902 for ac_extension
in a so sl dylib
; do
27903 if test -f "$ac_dir/libGL.$ac_extension"; then
27904 ac_find_libraries
=$ac_dir
27910 if test "$ac_find_libraries" != "" ; then
27912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27914 if test $result = 0; then
27917 ac_path_to_link
=" -L$ac_find_libraries"
27920 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27921 LDFLAGS_GL
="$ac_path_to_link"
27926 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27928 for ac_extension
in a so sl dylib
; do
27929 if test -f "$ac_dir/libGLU.$ac_extension"; then
27930 ac_find_libraries
=$ac_dir
27936 if test "$ac_find_libraries" != "" ; then
27938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27940 if test $result = 0; then
27943 ac_path_to_link
=" -L$ac_find_libraries"
27946 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27947 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27948 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27952 OPENGL_LIBS
="-lGL -lGLU"
27953 echo "$as_me:$LINENO: result: yes" >&5
27954 echo "${ECHO_T}yes" >&6
27958 if test "$found_gl" != 1; then
27959 echo "$as_me:$LINENO: result: no" >&5
27960 echo "${ECHO_T}no" >&6
27961 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27962 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27965 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27967 for ac_extension
in a so sl dylib
; do
27968 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27969 ac_find_libraries
=$ac_dir
27975 if test "$ac_find_libraries" != "" ; then
27977 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27979 if test $result = 0; then
27982 ac_path_to_link
=" -L$ac_find_libraries"
27985 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27986 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27987 echo "$as_me:$LINENO: result: yes" >&5
27988 echo "${ECHO_T}yes" >&6
27990 echo "$as_me:$LINENO: result: no" >&5
27991 echo "${ECHO_T}no" >&6
27999 if test "x$OPENGL_LIBS" = "x"; then
28000 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
28001 echo "$as_me: error: OpenGL libraries not available" >&2;}
28002 { (exit 1); exit 1; }; }
28006 if test "$wxUSE_OPENGL" = "yes"; then
28008 cat >>confdefs.h
<<\_ACEOF
28009 #define wxUSE_OPENGL 1
28012 cat >>confdefs.h
<<\_ACEOF
28013 #define wxUSE_GLCANVAS 1
28016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28021 if test -n "$TOOLKIT" ; then
28022 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28027 if test "$wxUSE_SHARED" = "yes"; then
28031 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28032 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28037 if test "$wxUSE_SHARED" = "yes"; then
28040 found_versioning
=no
28043 if test $found_versioning = no
; then
28044 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28045 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28046 if test "${wx_cv_version_script+set}" = set; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 echo "VER_1 { *; };" >conftest.sym
28051 echo "int main() { return 0; }" >conftest.cpp
28054 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28055 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28057 (eval $ac_try) 2>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; } ; then
28061 if test -s conftest.stderr
; then
28062 wx_cv_version_script
=no
28064 wx_cv_version_script
=yes
28067 wx_cv_version_script
=no
28069 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28072 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28073 echo "${ECHO_T}$wx_cv_version_script" >&6
28074 if test $wx_cv_version_script = yes ; then
28075 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
28081 *-*-linux* | *-*-gnu* )
28082 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28083 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28087 if test "$GCC" = yes ; then
28088 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
28090 saveLdflags
="$LDFLAGS"
28091 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
28092 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28093 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28094 cat >conftest.
$ac_ext <<_ACEOF
28097 cat confdefs.h
>>conftest.
$ac_ext
28098 cat >>conftest.
$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28109 rm -f conftest.
$ac_objext conftest
$ac_exeext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28111 (eval $ac_link) 2>conftest.er1
28113 grep -v '^ *+' conftest.er1
>conftest.err
28115 cat conftest.err
>&5
28116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117 (exit $ac_status); } &&
28118 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28120 (eval $ac_try) 2>&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); }; } &&
28124 { ac_try
='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28131 echo "$as_me:$LINENO: result: yes" >&5
28132 echo "${ECHO_T}yes" >&6
28133 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
28134 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.
$ac_ext >&5
28141 echo "$as_me:$LINENO: result: no" >&5
28142 echo "${ECHO_T}no" >&6
28143 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28144 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28145 LDFLAGS
="$saveLdflags -Wl,-R,/"
28146 cat >conftest.
$ac_ext <<_ACEOF
28149 cat confdefs.h
>>conftest.
$ac_ext
28150 cat >>conftest.
$ac_ext <<_ACEOF
28151 /* end confdefs.h. */
28161 rm -f conftest.
$ac_objext conftest
$ac_exeext
28162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28163 (eval $ac_link) 2>conftest.er1
28165 grep -v '^ *+' conftest.er1
>conftest.err
28167 cat conftest.err
>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; } &&
28176 { ac_try
='test -s conftest$ac_exeext'
28177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28178 (eval $ac_try) 2>&5
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); }; }; then
28183 echo "$as_me:$LINENO: result: yes" >&5
28184 echo "${ECHO_T}yes" >&6
28185 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
28186 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
28189 echo "$as_me: failed program was:" >&5
28190 sed 's/^/| /' conftest.
$ac_ext >&5
28193 echo "$as_me:$LINENO: result: no" >&5
28194 echo "${ECHO_T}no" >&6
28197 rm -f conftest.err conftest.
$ac_objext \
28198 conftest
$ac_exeext conftest.
$ac_ext
28201 rm -f conftest.err conftest.
$ac_objext \
28202 conftest
$ac_exeext conftest.
$ac_ext
28203 LDFLAGS
="$saveLdflags"
28205 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
28206 WXCONFIG_RPATH
="-R\$libdir"
28210 powerpc
-*-darwin* )
28211 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28212 cat <<EOF >change-install-names
28214 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28215 inst_cmd="install_name_tool "
28216 for i in \${libnames} ; do
28217 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28221 chmod +x change
-install-names
28224 *-*-cygwin* | *-*-mingw32* )
28225 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28230 if test $wxUSE_RPATH = "no"; then
28231 SAMPLES_RPATH_FLAG
=''
28232 SAMPLES_RPATH_POSTLINK
=''
28240 config_linkage_component
="-static"
28247 lib_unicode_suffix
=
28249 if test "$wxUSE_UNICODE" = "yes"; then
28250 lib_unicode_suffix
=u
28251 WX_CHARTYPE
="unicode"
28256 WX_DEBUGTYPE
="release"
28258 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28260 WX_DEBUGTYPE
="debug"
28264 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
28265 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
28268 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28272 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28274 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28276 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28278 if test "$cross_compiling" = "yes"; then
28279 HOST_SUFFIX
="-$host_alias"
28280 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
28281 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
28284 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28285 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28289 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28290 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28291 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28293 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28295 # Extract the first word of "Rez", so it can be a program name with args.
28296 set dummy Rez
; ac_word
=$2
28297 echo "$as_me:$LINENO: checking for $ac_word" >&5
28298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28299 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28300 echo $ECHO_N "(cached) $ECHO_C" >&6
28302 if test -n "$RESCOMP"; then
28303 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28306 for as_dir
in $PATH
28309 test -z "$as_dir" && as_dir
=.
28310 for ac_exec_ext
in '' $ac_executable_extensions; do
28311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28312 ac_cv_prog_RESCOMP
="Rez"
28313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28319 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28322 RESCOMP
=$ac_cv_prog_RESCOMP
28323 if test -n "$RESCOMP"; then
28324 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28325 echo "${ECHO_T}$RESCOMP" >&6
28327 echo "$as_me:$LINENO: result: no" >&5
28328 echo "${ECHO_T}no" >&6
28331 # Extract the first word of "DeRez", so it can be a program name with args.
28332 set dummy DeRez
; ac_word
=$2
28333 echo "$as_me:$LINENO: checking for $ac_word" >&5
28334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28335 if test "${ac_cv_prog_DEREZ+set}" = set; then
28336 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 if test -n "$DEREZ"; then
28339 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28342 for as_dir
in $PATH
28345 test -z "$as_dir" && as_dir
=.
28346 for ac_exec_ext
in '' $ac_executable_extensions; do
28347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28348 ac_cv_prog_DEREZ
="DeRez"
28349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28355 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28358 DEREZ
=$ac_cv_prog_DEREZ
28359 if test -n "$DEREZ"; then
28360 echo "$as_me:$LINENO: result: $DEREZ" >&5
28361 echo "${ECHO_T}$DEREZ" >&6
28363 echo "$as_me:$LINENO: result: no" >&5
28364 echo "${ECHO_T}no" >&6
28367 # Extract the first word of "SetFile", so it can be a program name with args.
28368 set dummy SetFile
; ac_word
=$2
28369 echo "$as_me:$LINENO: checking for $ac_word" >&5
28370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28371 if test "${ac_cv_prog_SETFILE+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28374 if test -n "$SETFILE"; then
28375 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28378 for as_dir
in $PATH
28381 test -z "$as_dir" && as_dir
=.
28382 for ac_exec_ext
in '' $ac_executable_extensions; do
28383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28384 ac_cv_prog_SETFILE
="SetFile"
28385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28391 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28394 SETFILE
=$ac_cv_prog_SETFILE
28395 if test -n "$SETFILE"; then
28396 echo "$as_me:$LINENO: result: $SETFILE" >&5
28397 echo "${ECHO_T}$SETFILE" >&6
28399 echo "$as_me:$LINENO: result: no" >&5
28400 echo "${ECHO_T}no" >&6
28404 MACSETFILE
="\$(SETFILE)"
28406 if test "$wxUSE_MAC" = 1; then
28407 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28409 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28411 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28412 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28416 MACRESWXCONFIG
="@true"
28418 if test "$wxUSE_PM" = 1; then
28419 MACRESCOMP
="emxbind -ep"
28427 echo "$as_me:$LINENO: checking for mode_t" >&5
28428 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28429 if test "${ac_cv_type_mode_t+set}" = set; then
28430 echo $ECHO_N "(cached) $ECHO_C" >&6
28432 cat >conftest.
$ac_ext <<_ACEOF
28435 cat confdefs.h
>>conftest.
$ac_ext
28436 cat >>conftest.
$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28438 $ac_includes_default
28444 if (sizeof (mode_t))
28450 rm -f conftest.
$ac_objext
28451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28452 (eval $ac_compile) 2>conftest.er1
28454 grep -v '^ *+' conftest.er1
>conftest.err
28456 cat conftest.err
>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; } &&
28465 { ac_try
='test -s conftest.$ac_objext'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; }; then
28471 ac_cv_type_mode_t
=yes
28473 echo "$as_me: failed program was:" >&5
28474 sed 's/^/| /' conftest.
$ac_ext >&5
28476 ac_cv_type_mode_t
=no
28478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28480 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28481 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28482 if test $ac_cv_type_mode_t = yes; then
28486 cat >>confdefs.h
<<_ACEOF
28492 echo "$as_me:$LINENO: checking for off_t" >&5
28493 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28494 if test "${ac_cv_type_off_t+set}" = set; then
28495 echo $ECHO_N "(cached) $ECHO_C" >&6
28497 cat >conftest.
$ac_ext <<_ACEOF
28500 cat confdefs.h
>>conftest.
$ac_ext
28501 cat >>conftest.
$ac_ext <<_ACEOF
28502 /* end confdefs.h. */
28503 $ac_includes_default
28509 if (sizeof (off_t))
28515 rm -f conftest.
$ac_objext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28517 (eval $ac_compile) 2>conftest.er1
28519 grep -v '^ *+' conftest.er1
>conftest.err
28521 cat conftest.err
>&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); } &&
28524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; } &&
28530 { ac_try
='test -s conftest.$ac_objext'
28531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28532 (eval $ac_try) 2>&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); }; }; then
28536 ac_cv_type_off_t
=yes
28538 echo "$as_me: failed program was:" >&5
28539 sed 's/^/| /' conftest.
$ac_ext >&5
28541 ac_cv_type_off_t
=no
28543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28545 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28546 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28547 if test $ac_cv_type_off_t = yes; then
28551 cat >>confdefs.h
<<_ACEOF
28557 echo "$as_me:$LINENO: checking for pid_t" >&5
28558 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28559 if test "${ac_cv_type_pid_t+set}" = set; then
28560 echo $ECHO_N "(cached) $ECHO_C" >&6
28562 cat >conftest.
$ac_ext <<_ACEOF
28565 cat confdefs.h
>>conftest.
$ac_ext
28566 cat >>conftest.
$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28568 $ac_includes_default
28574 if (sizeof (pid_t))
28580 rm -f conftest.
$ac_objext
28581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28582 (eval $ac_compile) 2>conftest.er1
28584 grep -v '^ *+' conftest.er1
>conftest.err
28586 cat conftest.err
>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; } &&
28595 { ac_try
='test -s conftest.$ac_objext'
28596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597 (eval $ac_try) 2>&5
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); }; }; then
28601 ac_cv_type_pid_t
=yes
28603 echo "$as_me: failed program was:" >&5
28604 sed 's/^/| /' conftest.
$ac_ext >&5
28606 ac_cv_type_pid_t
=no
28608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28610 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28611 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28612 if test $ac_cv_type_pid_t = yes; then
28616 cat >>confdefs.h
<<_ACEOF
28622 echo "$as_me:$LINENO: checking for size_t" >&5
28623 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28624 if test "${ac_cv_type_size_t+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28627 cat >conftest.
$ac_ext <<_ACEOF
28630 cat confdefs.h
>>conftest.
$ac_ext
28631 cat >>conftest.
$ac_ext <<_ACEOF
28632 /* end confdefs.h. */
28633 $ac_includes_default
28639 if (sizeof (size_t))
28645 rm -f conftest.
$ac_objext
28646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28647 (eval $ac_compile) 2>conftest.er1
28649 grep -v '^ *+' conftest.er1
>conftest.err
28651 cat conftest.err
>&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); } &&
28654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28656 (eval $ac_try) 2>&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); }; } &&
28660 { ac_try
='test -s conftest.$ac_objext'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; }; then
28666 ac_cv_type_size_t
=yes
28668 echo "$as_me: failed program was:" >&5
28669 sed 's/^/| /' conftest.
$ac_ext >&5
28671 ac_cv_type_size_t
=no
28673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28675 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28676 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28677 if test $ac_cv_type_size_t = yes; then
28681 cat >>confdefs.h
<<_ACEOF
28682 #define size_t unsigned
28687 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28688 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28689 if test "${ac_cv_type_uid_t+set}" = set; then
28690 echo $ECHO_N "(cached) $ECHO_C" >&6
28692 cat >conftest.
$ac_ext <<_ACEOF
28695 cat confdefs.h
>>conftest.
$ac_ext
28696 cat >>conftest.
$ac_ext <<_ACEOF
28697 /* end confdefs.h. */
28698 #include <sys/types.h>
28701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28702 $EGREP "uid_t" >/dev
/null
2>&1; then
28703 ac_cv_type_uid_t
=yes
28705 ac_cv_type_uid_t
=no
28710 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28711 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28712 if test $ac_cv_type_uid_t = no
; then
28714 cat >>confdefs.h
<<\_ACEOF
28719 cat >>confdefs.h
<<\_ACEOF
28726 echo "$as_me:$LINENO: checking for ssize_t" >&5
28727 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28728 if test "${ac_cv_type_ssize_t+set}" = set; then
28729 echo $ECHO_N "(cached) $ECHO_C" >&6
28731 cat >conftest.
$ac_ext <<_ACEOF
28734 cat confdefs.h
>>conftest.
$ac_ext
28735 cat >>conftest.
$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28737 $ac_includes_default
28743 if (sizeof (ssize_t))
28749 rm -f conftest.
$ac_objext
28750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28751 (eval $ac_compile) 2>conftest.er1
28753 grep -v '^ *+' conftest.er1
>conftest.err
28755 cat conftest.err
>&5
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); } &&
28758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 (eval $ac_try) 2>&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); }; } &&
28764 { ac_try
='test -s conftest.$ac_objext'
28765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766 (eval $ac_try) 2>&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; }; then
28770 ac_cv_type_ssize_t
=yes
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.
$ac_ext >&5
28775 ac_cv_type_ssize_t
=no
28777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28779 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28780 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28781 if test $ac_cv_type_ssize_t = yes; then
28783 cat >>confdefs.h
<<_ACEOF
28784 #define HAVE_SSIZE_T 1
28794 ac_cpp
='$CXXCPP $CPPFLAGS'
28795 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28799 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28800 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28801 if test "${wx_cv_size_t_is_uint+set}" = set; then
28802 echo $ECHO_N "(cached) $ECHO_C" >&6
28805 cat >conftest.
$ac_ext <<_ACEOF
28808 cat confdefs.h
>>conftest.
$ac_ext
28809 cat >>conftest.
$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28811 #include <stddef.h>
28818 struct Foo { void foo(size_t); void foo(unsigned int); };
28826 rm -f conftest.
$ac_objext
28827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28828 (eval $ac_compile) 2>conftest.er1
28830 grep -v '^ *+' conftest.er1
>conftest.err
28832 cat conftest.err
>&5
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); } &&
28835 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; } &&
28841 { ac_try
='test -s conftest.$ac_objext'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; }; then
28847 wx_cv_size_t_is_uint
=no
28849 echo "$as_me: failed program was:" >&5
28850 sed 's/^/| /' conftest.
$ac_ext >&5
28852 wx_cv_size_t_is_uint
=yes
28855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28859 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28860 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28862 if test "$wx_cv_size_t_is_uint" = "yes"; then
28863 cat >>confdefs.h
<<\_ACEOF
28864 #define wxSIZE_T_IS_UINT 1
28868 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28869 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28870 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28873 cat >conftest.
$ac_ext <<_ACEOF
28876 cat confdefs.h
>>conftest.
$ac_ext
28877 cat >>conftest.
$ac_ext <<_ACEOF
28878 /* end confdefs.h. */
28879 #include <stddef.h>
28886 struct Foo { void foo(size_t); void foo(unsigned long); };
28894 rm -f conftest.
$ac_objext
28895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28896 (eval $ac_compile) 2>conftest.er1
28898 grep -v '^ *+' conftest.er1
>conftest.err
28900 cat conftest.err
>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } &&
28903 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; } &&
28909 { ac_try
='test -s conftest.$ac_objext'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 wx_cv_size_t_is_ulong
=no
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.
$ac_ext >&5
28920 wx_cv_size_t_is_ulong
=yes
28923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28926 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28927 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28929 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28930 cat >>confdefs.h
<<\_ACEOF
28931 #define wxSIZE_T_IS_ULONG 1
28938 ac_cpp
='$CPP $CPPFLAGS'
28939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28945 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28946 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28947 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28948 echo $ECHO_N "(cached) $ECHO_C" >&6
28951 cat >conftest.
$ac_ext <<_ACEOF
28954 cat confdefs.h
>>conftest.
$ac_ext
28955 cat >>conftest.
$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28970 rm -f conftest.
$ac_objext
28971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28972 (eval $ac_compile) 2>conftest.er1
28974 grep -v '^ *+' conftest.er1
>conftest.err
28976 cat conftest.err
>&5
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); } &&
28979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; } &&
28985 { ac_try
='test -s conftest.$ac_objext'
28986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987 (eval $ac_try) 2>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); }; }; then
28992 wx_cv_struct_pw_gecos
=yes
28995 echo "$as_me: failed program was:" >&5
28996 sed 's/^/| /' conftest.
$ac_ext >&5
28999 wx_cv_struct_pw_gecos
=no
29003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29007 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29008 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29010 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29011 cat >>confdefs.h
<<\_ACEOF
29012 #define HAVE_PW_GECOS 1
29018 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29019 cat >>confdefs.h
<<\_ACEOF
29020 #define wxUSE_WCHAR_T 1
29027 for ac_func
in wcslen
29029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 cat >conftest.
$ac_ext <<_ACEOF
29038 cat confdefs.h
>>conftest.
$ac_ext
29039 cat >>conftest.
$ac_ext <<_ACEOF
29040 /* end confdefs.h. */
29041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29043 #define $ac_func innocuous_$ac_func
29045 /* System header to define __stub macros and hopefully few prototypes,
29046 which can conflict with char $ac_func (); below.
29047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29048 <limits.h> exists even on freestanding compilers. */
29051 # include <limits.h>
29053 # include <assert.h>
29058 /* Override any gcc2 internal prototype to avoid an error. */
29063 /* We use char because int might match the return type of a gcc2
29064 builtin and then its argument prototype would still apply. */
29066 /* The GNU C library defines this for functions which it implements
29067 to always fail with ENOSYS. Some functions are actually named
29068 something starting with __ and the normal name is an alias. */
29069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29072 char (*f) () = $ac_func;
29081 return f != $ac_func;
29086 rm -f conftest.
$ac_objext conftest
$ac_exeext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29088 (eval $ac_link) 2>conftest.er1
29090 grep -v '^ *+' conftest.er1
>conftest.err
29092 cat conftest.err
>&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try
='test -s conftest$ac_exeext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 eval "$as_ac_var=yes"
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.
$ac_ext >&5
29112 eval "$as_ac_var=no"
29114 rm -f conftest.err conftest.
$ac_objext \
29115 conftest
$ac_exeext conftest.
$ac_ext
29117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29119 if test `eval echo '${'$as_ac_var'}'` = yes; then
29120 cat >>confdefs.h
<<_ACEOF
29121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128 if test "$WCSLEN_FOUND" = 0; then
29129 if test "$TOOLKIT" = "MSW"; then
29130 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29131 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29132 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29133 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 ac_check_lib_save_LIBS
=$LIBS
29136 LIBS
="-lmsvcrt $LIBS"
29137 cat >conftest.
$ac_ext <<_ACEOF
29140 cat confdefs.h
>>conftest.
$ac_ext
29141 cat >>conftest.
$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29144 /* Override any gcc2 internal prototype to avoid an error. */
29148 /* We use char because int might match the return type of a gcc2
29149 builtin and then its argument prototype would still apply. */
29159 rm -f conftest.
$ac_objext conftest
$ac_exeext
29160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29161 (eval $ac_link) 2>conftest.er1
29163 grep -v '^ *+' conftest.er1
>conftest.err
29165 cat conftest.err
>&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); } &&
29168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; } &&
29174 { ac_try
='test -s conftest$ac_exeext'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; }; then
29180 ac_cv_lib_msvcrt_wcslen
=yes
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.
$ac_ext >&5
29185 ac_cv_lib_msvcrt_wcslen
=no
29187 rm -f conftest.err conftest.
$ac_objext \
29188 conftest
$ac_exeext conftest.
$ac_ext
29189 LIBS
=$ac_check_lib_save_LIBS
29191 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29192 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29193 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29198 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29199 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29200 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29201 echo $ECHO_N "(cached) $ECHO_C" >&6
29203 ac_check_lib_save_LIBS
=$LIBS
29205 cat >conftest.
$ac_ext <<_ACEOF
29208 cat confdefs.h
>>conftest.
$ac_ext
29209 cat >>conftest.
$ac_ext <<_ACEOF
29210 /* end confdefs.h. */
29212 /* Override any gcc2 internal prototype to avoid an error. */
29216 /* We use char because int might match the return type of a gcc2
29217 builtin and then its argument prototype would still apply. */
29227 rm -f conftest.
$ac_objext conftest
$ac_exeext
29228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29229 (eval $ac_link) 2>conftest.er1
29231 grep -v '^ *+' conftest.er1
>conftest.err
29233 cat conftest.err
>&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } &&
29236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29238 (eval $ac_try) 2>&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); }; } &&
29242 { ac_try
='test -s conftest$ac_exeext'
29243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29244 (eval $ac_try) 2>&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); }; }; then
29248 ac_cv_lib_w_wcslen
=yes
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.
$ac_ext >&5
29253 ac_cv_lib_w_wcslen
=no
29255 rm -f conftest.err conftest.
$ac_objext \
29256 conftest
$ac_exeext conftest.
$ac_ext
29257 LIBS
=$ac_check_lib_save_LIBS
29259 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29260 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29261 if test $ac_cv_lib_w_wcslen = yes; then
29271 if test "$WCSLEN_FOUND" = 1; then
29272 cat >>confdefs.h
<<\_ACEOF
29273 #define HAVE_WCSLEN 1
29278 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29279 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29283 for ac_func
in wcsrtombs
29285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29286 echo "$as_me:$LINENO: checking for $ac_func" >&5
29287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29288 if eval "test \"\${$as_ac_var+set}\" = set"; then
29289 echo $ECHO_N "(cached) $ECHO_C" >&6
29291 cat >conftest.
$ac_ext <<_ACEOF
29294 cat confdefs.h
>>conftest.
$ac_ext
29295 cat >>conftest.
$ac_ext <<_ACEOF
29296 /* end confdefs.h. */
29297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29299 #define $ac_func innocuous_$ac_func
29301 /* System header to define __stub macros and hopefully few prototypes,
29302 which can conflict with char $ac_func (); below.
29303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29304 <limits.h> exists even on freestanding compilers. */
29307 # include <limits.h>
29309 # include <assert.h>
29314 /* Override any gcc2 internal prototype to avoid an error. */
29319 /* We use char because int might match the return type of a gcc2
29320 builtin and then its argument prototype would still apply. */
29322 /* The GNU C library defines this for functions which it implements
29323 to always fail with ENOSYS. Some functions are actually named
29324 something starting with __ and the normal name is an alias. */
29325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29328 char (*f) () = $ac_func;
29337 return f != $ac_func;
29342 rm -f conftest.
$ac_objext conftest
$ac_exeext
29343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29344 (eval $ac_link) 2>conftest.er1
29346 grep -v '^ *+' conftest.er1
>conftest.err
29348 cat conftest.err
>&5
29349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29350 (exit $ac_status); } &&
29351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353 (eval $ac_try) 2>&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); }; } &&
29357 { ac_try
='test -s conftest$ac_exeext'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; }; then
29363 eval "$as_ac_var=yes"
29365 echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.
$ac_ext >&5
29368 eval "$as_ac_var=no"
29370 rm -f conftest.err conftest.
$ac_objext \
29371 conftest
$ac_exeext conftest.
$ac_ext
29373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29375 if test `eval echo '${'$as_ac_var'}'` = yes; then
29376 cat >>confdefs.h
<<_ACEOF
29377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29384 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29385 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29391 ac_cpp
='$CXXCPP $CPPFLAGS'
29392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29398 for ac_func
in vsnprintf
29400 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29401 echo "$as_me:$LINENO: checking for $ac_func" >&5
29402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29403 if eval "test \"\${$as_ac_var+set}\" = set"; then
29404 echo $ECHO_N "(cached) $ECHO_C" >&6
29406 cat >conftest.
$ac_ext <<_ACEOF
29409 cat confdefs.h
>>conftest.
$ac_ext
29410 cat >>conftest.
$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29414 #define $ac_func innocuous_$ac_func
29416 /* System header to define __stub macros and hopefully few prototypes,
29417 which can conflict with char $ac_func (); below.
29418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29419 <limits.h> exists even on freestanding compilers. */
29422 # include <limits.h>
29424 # include <assert.h>
29429 /* Override any gcc2 internal prototype to avoid an error. */
29434 /* We use char because int might match the return type of a gcc2
29435 builtin and then its argument prototype would still apply. */
29437 /* The GNU C library defines this for functions which it implements
29438 to always fail with ENOSYS. Some functions are actually named
29439 something starting with __ and the normal name is an alias. */
29440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29443 char (*f) () = $ac_func;
29452 return f != $ac_func;
29457 rm -f conftest.
$ac_objext conftest
$ac_exeext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29459 (eval $ac_link) 2>conftest.er1
29461 grep -v '^ *+' conftest.er1
>conftest.err
29463 cat conftest.err
>&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; } &&
29472 { ac_try
='test -s conftest$ac_exeext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 eval "$as_ac_var=yes"
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.
$ac_ext >&5
29483 eval "$as_ac_var=no"
29485 rm -f conftest.err conftest.
$ac_objext \
29486 conftest
$ac_exeext conftest.
$ac_ext
29488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29490 if test `eval echo '${'$as_ac_var'}'` = yes; then
29491 cat >>confdefs.h
<<_ACEOF
29492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29499 if test "$ac_cv_func_vsnprintf" = "yes"; then
29500 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29501 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29502 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29503 echo $ECHO_N "(cached) $ECHO_C" >&6
29506 cat >conftest.
$ac_ext <<_ACEOF
29509 cat confdefs.h
>>conftest.
$ac_ext
29510 cat >>conftest.
$ac_ext <<_ACEOF
29511 /* end confdefs.h. */
29514 #include <stdarg.h>
29522 vsnprintf(buf, 10u, "%s", ap);
29528 rm -f conftest.
$ac_objext
29529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29530 (eval $ac_compile) 2>conftest.er1
29532 grep -v '^ *+' conftest.er1
>conftest.err
29534 cat conftest.err
>&5
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); } &&
29537 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29539 (eval $ac_try) 2>&5
29541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29542 (exit $ac_status); }; } &&
29543 { ac_try
='test -s conftest.$ac_objext'
29544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29545 (eval $ac_try) 2>&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); }; }; then
29549 wx_cv_func_vsnprintf_decl
=yes
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.
$ac_ext >&5
29555 cat >conftest.
$ac_ext <<_ACEOF
29558 cat confdefs.h
>>conftest.
$ac_ext
29559 cat >>conftest.
$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29563 #include <stdarg.h>
29564 using namespace std;
29572 vsnprintf(buf, 10u, "%s", ap);
29578 rm -f conftest.
$ac_objext
29579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29580 (eval $ac_compile) 2>conftest.er1
29582 grep -v '^ *+' conftest.er1
>conftest.err
29584 cat conftest.err
>&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } &&
29587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29589 (eval $ac_try) 2>&5
29591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29592 (exit $ac_status); }; } &&
29593 { ac_try
='test -s conftest.$ac_objext'
29594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29595 (eval $ac_try) 2>&5
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; }; then
29599 wx_cv_func_vsnprintf_decl
=yes
29601 echo "$as_me: failed program was:" >&5
29602 sed 's/^/| /' conftest.
$ac_ext >&5
29604 wx_cv_func_vsnprintf_decl
=no
29607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29615 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29616 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29618 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29619 cat >>confdefs.h
<<\_ACEOF
29620 #define HAVE_VSNPRINTF_DECL 1
29626 if test "$wxUSE_UNICODE" = yes; then
29633 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29636 echo "$as_me:$LINENO: checking for $ac_func" >&5
29637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29638 if eval "test \"\${$as_ac_var+set}\" = set"; then
29639 echo $ECHO_N "(cached) $ECHO_C" >&6
29641 cat >conftest.
$ac_ext <<_ACEOF
29644 cat confdefs.h
>>conftest.
$ac_ext
29645 cat >>conftest.
$ac_ext <<_ACEOF
29646 /* end confdefs.h. */
29647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29649 #define $ac_func innocuous_$ac_func
29651 /* System header to define __stub macros and hopefully few prototypes,
29652 which can conflict with char $ac_func (); below.
29653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29654 <limits.h> exists even on freestanding compilers. */
29657 # include <limits.h>
29659 # include <assert.h>
29664 /* Override any gcc2 internal prototype to avoid an error. */
29669 /* We use char because int might match the return type of a gcc2
29670 builtin and then its argument prototype would still apply. */
29672 /* The GNU C library defines this for functions which it implements
29673 to always fail with ENOSYS. Some functions are actually named
29674 something starting with __ and the normal name is an alias. */
29675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29678 char (*f) () = $ac_func;
29687 return f != $ac_func;
29692 rm -f conftest.
$ac_objext conftest
$ac_exeext
29693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29694 (eval $ac_link) 2>conftest.er1
29696 grep -v '^ *+' conftest.er1
>conftest.err
29698 cat conftest.err
>&5
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } &&
29701 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try
='test -s conftest$ac_exeext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713 eval "$as_ac_var=yes"
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.
$ac_ext >&5
29718 eval "$as_ac_var=no"
29720 rm -f conftest.err conftest.
$ac_objext \
29721 conftest
$ac_exeext conftest.
$ac_ext
29723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29725 if test `eval echo '${'$as_ac_var'}'` = yes; then
29726 cat >>confdefs.h
<<_ACEOF
29727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29734 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29735 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29736 cat >conftest.
$ac_ext <<_ACEOF
29739 cat confdefs.h
>>conftest.
$ac_ext
29740 cat >>conftest.
$ac_ext <<_ACEOF
29741 /* end confdefs.h. */
29751 rm -f conftest.
$ac_objext
29752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29753 (eval $ac_compile) 2>conftest.er1
29755 grep -v '^ *+' conftest.er1
>conftest.err
29757 cat conftest.err
>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); } &&
29760 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29762 (eval $ac_try) 2>&5
29764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29765 (exit $ac_status); }; } &&
29766 { ac_try
='test -s conftest.$ac_objext'
29767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29768 (eval $ac_try) 2>&5
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); }; }; then
29772 echo "$as_me:$LINENO: result: yes" >&5
29773 echo "${ECHO_T}yes" >&6
29774 cat >>confdefs.h
<<\_ACEOF
29775 #define HAVE__VSNWPRINTF 1
29779 echo "$as_me: failed program was:" >&5
29780 sed 's/^/| /' conftest.
$ac_ext >&5
29782 echo "$as_me:$LINENO: result: no" >&5
29783 echo "${ECHO_T}no" >&6
29785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29789 ac_cpp
='$CPP $CPPFLAGS'
29790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29797 if test "$TOOLKIT" != "MSW"; then
29803 ac_cpp
='$CXXCPP $CPPFLAGS'
29804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29811 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29812 if test "${with_libiconv_prefix+set}" = set; then
29813 withval
="$with_libiconv_prefix"
29815 for dir
in `echo "$withval" | tr : ' '`; do
29816 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29817 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29822 echo "$as_me:$LINENO: checking for iconv" >&5
29823 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29824 if test "${am_cv_func_iconv+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29828 am_cv_func_iconv
="no, consider installing GNU libiconv"
29830 cat >conftest.
$ac_ext <<_ACEOF
29833 cat confdefs.h
>>conftest.
$ac_ext
29834 cat >>conftest.
$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29836 #include <stdlib.h>
29841 iconv_t cd = iconv_open("","");
29842 iconv(cd,NULL,NULL,NULL,NULL);
29848 rm -f conftest.
$ac_objext conftest
$ac_exeext
29849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29850 (eval $ac_link) 2>conftest.er1
29852 grep -v '^ *+' conftest.er1
>conftest.err
29854 cat conftest.err
>&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } &&
29857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29859 (eval $ac_try) 2>&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); }; } &&
29863 { ac_try
='test -s conftest$ac_exeext'
29864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29865 (eval $ac_try) 2>&5
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); }; }; then
29869 am_cv_func_iconv
=yes
29871 echo "$as_me: failed program was:" >&5
29872 sed 's/^/| /' conftest.
$ac_ext >&5
29875 rm -f conftest.err conftest.
$ac_objext \
29876 conftest
$ac_exeext conftest.
$ac_ext
29877 if test "$am_cv_func_iconv" != yes; then
29878 am_save_LIBS
="$LIBS"
29879 LIBS
="$LIBS -liconv"
29880 cat >conftest.
$ac_ext <<_ACEOF
29883 cat confdefs.h
>>conftest.
$ac_ext
29884 cat >>conftest.
$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29886 #include <stdlib.h>
29891 iconv_t cd = iconv_open("","");
29892 iconv(cd,NULL,NULL,NULL,NULL);
29898 rm -f conftest.
$ac_objext conftest
$ac_exeext
29899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29900 (eval $ac_link) 2>conftest.er1
29902 grep -v '^ *+' conftest.er1
>conftest.err
29904 cat conftest.err
>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); } &&
29907 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; } &&
29913 { ac_try
='test -s conftest$ac_exeext'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 am_cv_lib_iconv
=yes
29920 am_cv_func_iconv
=yes
29922 echo "$as_me: failed program was:" >&5
29923 sed 's/^/| /' conftest.
$ac_ext >&5
29926 rm -f conftest.err conftest.
$ac_objext \
29927 conftest
$ac_exeext conftest.
$ac_ext
29928 LIBS
="$am_save_LIBS"
29932 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29933 echo "${ECHO_T}$am_cv_func_iconv" >&6
29934 if test "$am_cv_func_iconv" = yes; then
29936 cat >>confdefs.h
<<\_ACEOF
29937 #define HAVE_ICONV 1
29940 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29941 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29942 if test "${wx_cv_func_iconv_const+set}" = set; then
29943 echo $ECHO_N "(cached) $ECHO_C" >&6
29945 cat >conftest.
$ac_ext <<_ACEOF
29948 cat confdefs.h
>>conftest.
$ac_ext
29949 cat >>conftest.
$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29952 #include <stdlib.h>
29958 #if defined(__STDC__) || defined(__cplusplus)
29959 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29972 rm -f conftest.
$ac_objext
29973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29974 (eval $ac_compile) 2>conftest.er1
29976 grep -v '^ *+' conftest.er1
>conftest.err
29978 cat conftest.err
>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); } &&
29981 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29983 (eval $ac_try) 2>&5
29985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29986 (exit $ac_status); }; } &&
29987 { ac_try
='test -s conftest.$ac_objext'
29988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29989 (eval $ac_try) 2>&5
29991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992 (exit $ac_status); }; }; then
29993 wx_cv_func_iconv_const
="no"
29995 echo "$as_me: failed program was:" >&5
29996 sed 's/^/| /' conftest.
$ac_ext >&5
29998 wx_cv_func_iconv_const
="yes"
30001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30004 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
30005 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
30008 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30009 iconv_const
="const"
30013 cat >>confdefs.h
<<_ACEOF
30014 #define ICONV_CONST $iconv_const
30019 if test "$am_cv_lib_iconv" = yes; then
30024 LIBS
="$LIBICONV $LIBS"
30026 ac_cpp
='$CPP $CPPFLAGS'
30027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30032 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30034 for ac_func
in sigaction
30036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30037 echo "$as_me:$LINENO: checking for $ac_func" >&5
30038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30039 if eval "test \"\${$as_ac_var+set}\" = set"; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30042 cat >conftest.
$ac_ext <<_ACEOF
30045 cat confdefs.h
>>conftest.
$ac_ext
30046 cat >>conftest.
$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30050 #define $ac_func innocuous_$ac_func
30052 /* System header to define __stub macros and hopefully few prototypes,
30053 which can conflict with char $ac_func (); below.
30054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30055 <limits.h> exists even on freestanding compilers. */
30058 # include <limits.h>
30060 # include <assert.h>
30065 /* Override any gcc2 internal prototype to avoid an error. */
30070 /* We use char because int might match the return type of a gcc2
30071 builtin and then its argument prototype would still apply. */
30073 /* The GNU C library defines this for functions which it implements
30074 to always fail with ENOSYS. Some functions are actually named
30075 something starting with __ and the normal name is an alias. */
30076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30079 char (*f) () = $ac_func;
30088 return f != $ac_func;
30093 rm -f conftest.
$ac_objext conftest
$ac_exeext
30094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30095 (eval $ac_link) 2>conftest.er1
30097 grep -v '^ *+' conftest.er1
>conftest.err
30099 cat conftest.err
>&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } &&
30102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; } &&
30108 { ac_try
='test -s conftest$ac_exeext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 eval "$as_ac_var=yes"
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.
$ac_ext >&5
30119 eval "$as_ac_var=no"
30121 rm -f conftest.err conftest.
$ac_objext \
30122 conftest
$ac_exeext conftest.
$ac_ext
30124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30126 if test `eval echo '${'$as_ac_var'}'` = yes; then
30127 cat >>confdefs.h
<<_ACEOF
30128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30135 if test "$ac_cv_func_sigaction" = "no"; then
30136 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30137 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30138 wxUSE_ON_FATAL_EXCEPTION
=no
30141 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30145 ac_cpp
='$CXXCPP $CPPFLAGS'
30146 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30151 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30152 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30153 if test "${wx_cv_type_sa_handler+set}" = set; then
30154 echo $ECHO_N "(cached) $ECHO_C" >&6
30157 cat >conftest.
$ac_ext <<_ACEOF
30160 cat confdefs.h
>>conftest.
$ac_ext
30161 cat >>conftest.
$ac_ext <<_ACEOF
30162 /* end confdefs.h. */
30163 #include <signal.h>
30168 extern void testSigHandler(int);
30170 struct sigaction sa;
30171 sa.sa_handler = testSigHandler;
30177 rm -f conftest.
$ac_objext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30179 (eval $ac_compile) 2>conftest.er1
30181 grep -v '^ *+' conftest.er1
>conftest.err
30183 cat conftest.err
>&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } &&
30186 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30188 (eval $ac_try) 2>&5
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; } &&
30192 { ac_try
='test -s conftest.$ac_objext'
30193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30194 (eval $ac_try) 2>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); }; }; then
30199 wx_cv_type_sa_handler
=int
30202 echo "$as_me: failed program was:" >&5
30203 sed 's/^/| /' conftest.
$ac_ext >&5
30206 wx_cv_type_sa_handler
=void
30209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30212 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30213 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30216 ac_cpp
='$CPP $CPPFLAGS'
30217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30222 cat >>confdefs.h
<<_ACEOF
30223 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30229 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30233 ac_cpp
='$CXXCPP $CPPFLAGS'
30234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30239 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
30240 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
30241 if test "${wx_cv_func_backtrace+set}" = set; then
30242 echo $ECHO_N "(cached) $ECHO_C" >&6
30245 cat >conftest.
$ac_ext <<_ACEOF
30248 cat confdefs.h
>>conftest.
$ac_ext
30249 cat >>conftest.
$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251 #include <execinfo.h>
30259 backtrace(trace, 1);
30260 messages = backtrace_symbols(trace, 1);
30266 rm -f conftest.
$ac_objext
30267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30268 (eval $ac_compile) 2>conftest.er1
30270 grep -v '^ *+' conftest.er1
>conftest.err
30272 cat conftest.err
>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } &&
30275 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30277 (eval $ac_try) 2>&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); }; } &&
30281 { ac_try
='test -s conftest.$ac_objext'
30282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30283 (eval $ac_try) 2>&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); }; }; then
30287 wx_cv_func_backtrace
=yes
30289 echo "$as_me: failed program was:" >&5
30290 sed 's/^/| /' conftest.
$ac_ext >&5
30292 wx_cv_func_backtrace
=no
30295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30299 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
30300 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
30303 if test "$wx_cv_func_backtrace" = "no"; then
30304 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30305 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30306 wxUSE_STACKWALKER
=no
30308 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
30309 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
30310 if test "${wx_cv_func_cxa_demangle+set}" = set; then
30311 echo $ECHO_N "(cached) $ECHO_C" >&6
30314 cat >conftest.
$ac_ext <<_ACEOF
30317 cat confdefs.h
>>conftest.
$ac_ext
30318 cat >>conftest.
$ac_ext <<_ACEOF
30319 /* end confdefs.h. */
30320 #include <cxxabi.h>
30326 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30332 rm -f conftest.
$ac_objext
30333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30334 (eval $ac_compile) 2>conftest.er1
30336 grep -v '^ *+' conftest.er1
>conftest.err
30338 cat conftest.err
>&5
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); } &&
30341 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30343 (eval $ac_try) 2>&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); }; } &&
30347 { ac_try
='test -s conftest.$ac_objext'
30348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30349 (eval $ac_try) 2>&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); }; }; then
30353 wx_cv_func_cxa_demangle
=yes
30355 echo "$as_me: failed program was:" >&5
30356 sed 's/^/| /' conftest.
$ac_ext >&5
30358 wx_cv_func_cxa_demangle
=no
30361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30365 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
30366 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
30368 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30369 cat >>confdefs.h
<<\_ACEOF
30370 #define HAVE_CXA_DEMANGLE 1
30377 ac_cpp
='$CPP $CPPFLAGS'
30378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30386 for ac_func
in mkstemp mktemp
30388 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30389 echo "$as_me:$LINENO: checking for $ac_func" >&5
30390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30391 if eval "test \"\${$as_ac_var+set}\" = set"; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 cat >conftest.
$ac_ext <<_ACEOF
30397 cat confdefs.h
>>conftest.
$ac_ext
30398 cat >>conftest.
$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30402 #define $ac_func innocuous_$ac_func
30404 /* System header to define __stub macros and hopefully few prototypes,
30405 which can conflict with char $ac_func (); below.
30406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30407 <limits.h> exists even on freestanding compilers. */
30410 # include <limits.h>
30412 # include <assert.h>
30417 /* Override any gcc2 internal prototype to avoid an error. */
30422 /* We use char because int might match the return type of a gcc2
30423 builtin and then its argument prototype would still apply. */
30425 /* The GNU C library defines this for functions which it implements
30426 to always fail with ENOSYS. Some functions are actually named
30427 something starting with __ and the normal name is an alias. */
30428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30431 char (*f) () = $ac_func;
30440 return f != $ac_func;
30445 rm -f conftest.
$ac_objext conftest
$ac_exeext
30446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30447 (eval $ac_link) 2>conftest.er1
30449 grep -v '^ *+' conftest.er1
>conftest.err
30451 cat conftest.err
>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } &&
30454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456 (eval $ac_try) 2>&5
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); }; } &&
30460 { ac_try
='test -s conftest$ac_exeext'
30461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30462 (eval $ac_try) 2>&5
30464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30465 (exit $ac_status); }; }; then
30466 eval "$as_ac_var=yes"
30468 echo "$as_me: failed program was:" >&5
30469 sed 's/^/| /' conftest.
$ac_ext >&5
30471 eval "$as_ac_var=no"
30473 rm -f conftest.err conftest.
$ac_objext \
30474 conftest
$ac_exeext conftest.
$ac_ext
30476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30478 if test `eval echo '${'$as_ac_var'}'` = yes; then
30479 cat >>confdefs.h
<<_ACEOF
30480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30487 echo "$as_me:$LINENO: checking for statfs" >&5
30488 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30489 if test "${wx_cv_func_statfs+set}" = set; then
30490 echo $ECHO_N "(cached) $ECHO_C" >&6
30492 cat >conftest.
$ac_ext <<_ACEOF
30495 cat confdefs.h
>>conftest.
$ac_ext
30496 cat >>conftest.
$ac_ext <<_ACEOF
30497 /* end confdefs.h. */
30499 #if defined(__BSD__)
30500 #include <sys/param.h>
30501 #include <sys/mount.h>
30503 #include <sys/vfs.h>
30521 rm -f conftest.
$ac_objext
30522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30523 (eval $ac_compile) 2>conftest.er1
30525 grep -v '^ *+' conftest.er1
>conftest.err
30527 cat conftest.err
>&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); } &&
30530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30532 (eval $ac_try) 2>&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); }; } &&
30536 { ac_try
='test -s conftest.$ac_objext'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; }; then
30543 wx_cv_func_statfs
=yes
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.
$ac_ext >&5
30550 wx_cv_func_statfs
=no
30554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30557 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30558 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30560 if test "$wx_cv_func_statfs" = "yes"; then
30561 wx_cv_type_statvfs_t
="struct statfs"
30562 cat >>confdefs.h
<<\_ACEOF
30563 #define HAVE_STATFS 1
30567 echo "$as_me:$LINENO: checking for statvfs" >&5
30568 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30569 if test "${wx_cv_func_statvfs+set}" = set; then
30570 echo $ECHO_N "(cached) $ECHO_C" >&6
30572 cat >conftest.
$ac_ext <<_ACEOF
30575 cat confdefs.h
>>conftest.
$ac_ext
30576 cat >>conftest.
$ac_ext <<_ACEOF
30577 /* end confdefs.h. */
30579 #include <stddef.h>
30580 #include <sys/statvfs.h>
30586 statvfs("/", NULL);
30592 rm -f conftest.
$ac_objext
30593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30594 (eval $ac_compile) 2>conftest.er1
30596 grep -v '^ *+' conftest.er1
>conftest.err
30598 cat conftest.err
>&5
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); } &&
30601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30603 (eval $ac_try) 2>&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); }; } &&
30607 { ac_try
='test -s conftest.$ac_objext'
30608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30609 (eval $ac_try) 2>&5
30611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612 (exit $ac_status); }; }; then
30613 wx_cv_func_statvfs
=yes
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.
$ac_ext >&5
30618 wx_cv_func_statvfs
=no
30621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30624 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30625 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30627 if test "$wx_cv_func_statvfs" = "yes"; then
30631 ac_cpp
='$CXXCPP $CPPFLAGS'
30632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30637 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30638 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30639 if test "${wx_cv_type_statvfs_t+set}" = set; then
30640 echo $ECHO_N "(cached) $ECHO_C" >&6
30642 cat >conftest.
$ac_ext <<_ACEOF
30645 cat confdefs.h
>>conftest.
$ac_ext
30646 cat >>conftest.
$ac_ext <<_ACEOF
30647 /* end confdefs.h. */
30649 #include <sys/statvfs.h>
30666 rm -f conftest.
$ac_objext
30667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30668 (eval $ac_compile) 2>conftest.er1
30670 grep -v '^ *+' conftest.er1
>conftest.err
30672 cat conftest.err
>&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); } &&
30675 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30677 (eval $ac_try) 2>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; } &&
30681 { ac_try
='test -s conftest.$ac_objext'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; }; then
30687 wx_cv_type_statvfs_t
=statvfs_t
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.
$ac_ext >&5
30693 cat >conftest.
$ac_ext <<_ACEOF
30696 cat confdefs.h
>>conftest.
$ac_ext
30697 cat >>conftest.
$ac_ext <<_ACEOF
30698 /* end confdefs.h. */
30700 #include <sys/statvfs.h>
30717 rm -f conftest.
$ac_objext
30718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30719 (eval $ac_compile) 2>conftest.er1
30721 grep -v '^ *+' conftest.er1
>conftest.err
30723 cat conftest.err
>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } &&
30726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; } &&
30732 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
30738 wx_cv_type_statvfs_t
="struct statvfs"
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.
$ac_ext >&5
30743 wx_cv_type_statvfs_t
="unknown"
30746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30753 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30754 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30757 ac_cpp
='$CPP $CPPFLAGS'
30758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30763 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30764 cat >>confdefs.h
<<\_ACEOF
30765 #define HAVE_STATVFS 1
30770 wx_cv_type_statvfs_t
="unknown"
30774 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30775 cat >>confdefs.h
<<_ACEOF
30776 #define WX_STATFS_T $wx_cv_type_statvfs_t
30780 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30781 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30784 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30787 for ac_func
in fcntl flock
30789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30790 echo "$as_me:$LINENO: checking for $ac_func" >&5
30791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30792 if eval "test \"\${$as_ac_var+set}\" = set"; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30795 cat >conftest.
$ac_ext <<_ACEOF
30798 cat confdefs.h
>>conftest.
$ac_ext
30799 cat >>conftest.
$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30803 #define $ac_func innocuous_$ac_func
30805 /* System header to define __stub macros and hopefully few prototypes,
30806 which can conflict with char $ac_func (); below.
30807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30808 <limits.h> exists even on freestanding compilers. */
30811 # include <limits.h>
30813 # include <assert.h>
30818 /* Override any gcc2 internal prototype to avoid an error. */
30823 /* We use char because int might match the return type of a gcc2
30824 builtin and then its argument prototype would still apply. */
30826 /* The GNU C library defines this for functions which it implements
30827 to always fail with ENOSYS. Some functions are actually named
30828 something starting with __ and the normal name is an alias. */
30829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30832 char (*f) () = $ac_func;
30841 return f != $ac_func;
30846 rm -f conftest.
$ac_objext conftest
$ac_exeext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30848 (eval $ac_link) 2>conftest.er1
30850 grep -v '^ *+' conftest.er1
>conftest.err
30852 cat conftest.err
>&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try
='test -s conftest$ac_exeext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 eval "$as_ac_var=yes"
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.
$ac_ext >&5
30872 eval "$as_ac_var=no"
30874 rm -f conftest.err conftest.
$ac_objext \
30875 conftest
$ac_exeext conftest.
$ac_ext
30877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30879 if test `eval echo '${'$as_ac_var'}'` = yes; then
30880 cat >>confdefs.h
<<_ACEOF
30881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30888 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30889 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30890 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30891 wxUSE_SNGLINST_CHECKER
=no
30896 for ac_func
in timegm
30898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30899 echo "$as_me:$LINENO: checking for $ac_func" >&5
30900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30901 if eval "test \"\${$as_ac_var+set}\" = set"; then
30902 echo $ECHO_N "(cached) $ECHO_C" >&6
30904 cat >conftest.
$ac_ext <<_ACEOF
30907 cat confdefs.h
>>conftest.
$ac_ext
30908 cat >>conftest.
$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30912 #define $ac_func innocuous_$ac_func
30914 /* System header to define __stub macros and hopefully few prototypes,
30915 which can conflict with char $ac_func (); below.
30916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30917 <limits.h> exists even on freestanding compilers. */
30920 # include <limits.h>
30922 # include <assert.h>
30927 /* Override any gcc2 internal prototype to avoid an error. */
30932 /* We use char because int might match the return type of a gcc2
30933 builtin and then its argument prototype would still apply. */
30935 /* The GNU C library defines this for functions which it implements
30936 to always fail with ENOSYS. Some functions are actually named
30937 something starting with __ and the normal name is an alias. */
30938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30941 char (*f) () = $ac_func;
30950 return f != $ac_func;
30955 rm -f conftest.
$ac_objext conftest
$ac_exeext
30956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30957 (eval $ac_link) 2>conftest.er1
30959 grep -v '^ *+' conftest.er1
>conftest.err
30961 cat conftest.err
>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); } &&
30964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30966 (eval $ac_try) 2>&5
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); }; } &&
30970 { ac_try
='test -s conftest$ac_exeext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 eval "$as_ac_var=yes"
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.
$ac_ext >&5
30981 eval "$as_ac_var=no"
30983 rm -f conftest.err conftest.
$ac_objext \
30984 conftest
$ac_exeext conftest.
$ac_ext
30986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30988 if test `eval echo '${'$as_ac_var'}'` = yes; then
30989 cat >>confdefs.h
<<_ACEOF
30990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30999 for ac_func
in putenv setenv
31001 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31002 echo "$as_me:$LINENO: checking for $ac_func" >&5
31003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31004 if eval "test \"\${$as_ac_var+set}\" = set"; then
31005 echo $ECHO_N "(cached) $ECHO_C" >&6
31007 cat >conftest.
$ac_ext <<_ACEOF
31010 cat confdefs.h
>>conftest.
$ac_ext
31011 cat >>conftest.
$ac_ext <<_ACEOF
31012 /* end confdefs.h. */
31013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31015 #define $ac_func innocuous_$ac_func
31017 /* System header to define __stub macros and hopefully few prototypes,
31018 which can conflict with char $ac_func (); below.
31019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31020 <limits.h> exists even on freestanding compilers. */
31023 # include <limits.h>
31025 # include <assert.h>
31030 /* Override any gcc2 internal prototype to avoid an error. */
31035 /* We use char because int might match the return type of a gcc2
31036 builtin and then its argument prototype would still apply. */
31038 /* The GNU C library defines this for functions which it implements
31039 to always fail with ENOSYS. Some functions are actually named
31040 something starting with __ and the normal name is an alias. */
31041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31044 char (*f) () = $ac_func;
31053 return f != $ac_func;
31058 rm -f conftest.
$ac_objext conftest
$ac_exeext
31059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31060 (eval $ac_link) 2>conftest.er1
31062 grep -v '^ *+' conftest.er1
>conftest.err
31064 cat conftest.err
>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; } &&
31073 { ac_try
='test -s conftest$ac_exeext'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; }; then
31079 eval "$as_ac_var=yes"
31081 echo "$as_me: failed program was:" >&5
31082 sed 's/^/| /' conftest.
$ac_ext >&5
31084 eval "$as_ac_var=no"
31086 rm -f conftest.err conftest.
$ac_objext \
31087 conftest
$ac_exeext conftest.
$ac_ext
31089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31091 if test `eval echo '${'$as_ac_var'}'` = yes; then
31092 cat >>confdefs.h
<<_ACEOF
31093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31100 HAVE_SOME_SLEEP_FUNC
=0
31101 if test "$USE_BEOS" = 1; then
31102 cat >>confdefs.h
<<\_ACEOF
31103 #define HAVE_SLEEP 1
31106 HAVE_SOME_SLEEP_FUNC
=1
31109 if test "$USE_DARWIN" = 1; then
31110 cat >>confdefs.h
<<\_ACEOF
31111 #define HAVE_USLEEP 1
31114 HAVE_SOME_SLEEP_FUNC
=1
31117 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31120 for ac_func
in nanosleep
31122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31123 echo "$as_me:$LINENO: checking for $ac_func" >&5
31124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31125 if eval "test \"\${$as_ac_var+set}\" = set"; then
31126 echo $ECHO_N "(cached) $ECHO_C" >&6
31128 cat >conftest.
$ac_ext <<_ACEOF
31131 cat confdefs.h
>>conftest.
$ac_ext
31132 cat >>conftest.
$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31136 #define $ac_func innocuous_$ac_func
31138 /* System header to define __stub macros and hopefully few prototypes,
31139 which can conflict with char $ac_func (); below.
31140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31141 <limits.h> exists even on freestanding compilers. */
31144 # include <limits.h>
31146 # include <assert.h>
31151 /* Override any gcc2 internal prototype to avoid an error. */
31156 /* We use char because int might match the return type of a gcc2
31157 builtin and then its argument prototype would still apply. */
31159 /* The GNU C library defines this for functions which it implements
31160 to always fail with ENOSYS. Some functions are actually named
31161 something starting with __ and the normal name is an alias. */
31162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31165 char (*f) () = $ac_func;
31174 return f != $ac_func;
31179 rm -f conftest.
$ac_objext conftest
$ac_exeext
31180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31181 (eval $ac_link) 2>conftest.er1
31183 grep -v '^ *+' conftest.er1
>conftest.err
31185 cat conftest.err
>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); } &&
31188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; } &&
31194 { ac_try
='test -s conftest$ac_exeext'
31195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31196 (eval $ac_try) 2>&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); }; }; then
31200 eval "$as_ac_var=yes"
31202 echo "$as_me: failed program was:" >&5
31203 sed 's/^/| /' conftest.
$ac_ext >&5
31205 eval "$as_ac_var=no"
31207 rm -f conftest.err conftest.
$ac_objext \
31208 conftest
$ac_exeext conftest.
$ac_ext
31210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31212 if test `eval echo '${'$as_ac_var'}'` = yes; then
31213 cat >>confdefs.h
<<_ACEOF
31214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31216 cat >>confdefs.h
<<\_ACEOF
31217 #define HAVE_NANOSLEEP 1
31222 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31223 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31224 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31225 echo $ECHO_N "(cached) $ECHO_C" >&6
31227 ac_check_lib_save_LIBS
=$LIBS
31228 LIBS
="-lposix4 $LIBS"
31229 cat >conftest.
$ac_ext <<_ACEOF
31232 cat confdefs.h
>>conftest.
$ac_ext
31233 cat >>conftest.
$ac_ext <<_ACEOF
31234 /* end confdefs.h. */
31236 /* Override any gcc2 internal prototype to avoid an error. */
31240 /* We use char because int might match the return type of a gcc2
31241 builtin and then its argument prototype would still apply. */
31251 rm -f conftest.
$ac_objext conftest
$ac_exeext
31252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31253 (eval $ac_link) 2>conftest.er1
31255 grep -v '^ *+' conftest.er1
>conftest.err
31257 cat conftest.err
>&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); } &&
31260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31262 (eval $ac_try) 2>&5
31264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31265 (exit $ac_status); }; } &&
31266 { ac_try
='test -s conftest$ac_exeext'
31267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31268 (eval $ac_try) 2>&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); }; }; then
31272 ac_cv_lib_posix4_nanosleep
=yes
31274 echo "$as_me: failed program was:" >&5
31275 sed 's/^/| /' conftest.
$ac_ext >&5
31277 ac_cv_lib_posix4_nanosleep
=no
31279 rm -f conftest.err conftest.
$ac_objext \
31280 conftest
$ac_exeext conftest.
$ac_ext
31281 LIBS
=$ac_check_lib_save_LIBS
31283 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31284 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31285 if test $ac_cv_lib_posix4_nanosleep = yes; then
31287 cat >>confdefs.h
<<\_ACEOF
31288 #define HAVE_NANOSLEEP 1
31291 POSIX4_LINK
=" -lposix4"
31296 for ac_func
in usleep
31298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31299 echo "$as_me:$LINENO: checking for $ac_func" >&5
31300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31301 if eval "test \"\${$as_ac_var+set}\" = set"; then
31302 echo $ECHO_N "(cached) $ECHO_C" >&6
31304 cat >conftest.
$ac_ext <<_ACEOF
31307 cat confdefs.h
>>conftest.
$ac_ext
31308 cat >>conftest.
$ac_ext <<_ACEOF
31309 /* end confdefs.h. */
31310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31312 #define $ac_func innocuous_$ac_func
31314 /* System header to define __stub macros and hopefully few prototypes,
31315 which can conflict with char $ac_func (); below.
31316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31317 <limits.h> exists even on freestanding compilers. */
31320 # include <limits.h>
31322 # include <assert.h>
31327 /* Override any gcc2 internal prototype to avoid an error. */
31332 /* We use char because int might match the return type of a gcc2
31333 builtin and then its argument prototype would still apply. */
31335 /* The GNU C library defines this for functions which it implements
31336 to always fail with ENOSYS. Some functions are actually named
31337 something starting with __ and the normal name is an alias. */
31338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31341 char (*f) () = $ac_func;
31350 return f != $ac_func;
31355 rm -f conftest.
$ac_objext conftest
$ac_exeext
31356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31357 (eval $ac_link) 2>conftest.er1
31359 grep -v '^ *+' conftest.er1
>conftest.err
31361 cat conftest.err
>&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } &&
31364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; } &&
31370 { ac_try
='test -s conftest$ac_exeext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 eval "$as_ac_var=yes"
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.
$ac_ext >&5
31381 eval "$as_ac_var=no"
31383 rm -f conftest.err conftest.
$ac_objext \
31384 conftest
$ac_exeext conftest.
$ac_ext
31386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31388 if test `eval echo '${'$as_ac_var'}'` = yes; then
31389 cat >>confdefs.h
<<_ACEOF
31390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31392 cat >>confdefs.h
<<\_ACEOF
31393 #define HAVE_USLEEP 1
31397 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31398 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31416 for ac_func
in uname gethostname
31418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31419 echo "$as_me:$LINENO: checking for $ac_func" >&5
31420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31421 if eval "test \"\${$as_ac_var+set}\" = set"; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 cat >conftest.
$ac_ext <<_ACEOF
31427 cat confdefs.h
>>conftest.
$ac_ext
31428 cat >>conftest.
$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31432 #define $ac_func innocuous_$ac_func
31434 /* System header to define __stub macros and hopefully few prototypes,
31435 which can conflict with char $ac_func (); below.
31436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31437 <limits.h> exists even on freestanding compilers. */
31440 # include <limits.h>
31442 # include <assert.h>
31447 /* Override any gcc2 internal prototype to avoid an error. */
31452 /* We use char because int might match the return type of a gcc2
31453 builtin and then its argument prototype would still apply. */
31455 /* The GNU C library defines this for functions which it implements
31456 to always fail with ENOSYS. Some functions are actually named
31457 something starting with __ and the normal name is an alias. */
31458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31461 char (*f) () = $ac_func;
31470 return f != $ac_func;
31475 rm -f conftest.
$ac_objext conftest
$ac_exeext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31477 (eval $ac_link) 2>conftest.er1
31479 grep -v '^ *+' conftest.er1
>conftest.err
31481 cat conftest.err
>&5
31482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483 (exit $ac_status); } &&
31484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31486 (eval $ac_try) 2>&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); }; } &&
31490 { ac_try
='test -s conftest$ac_exeext'
31491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31492 (eval $ac_try) 2>&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); }; }; then
31496 eval "$as_ac_var=yes"
31498 echo "$as_me: failed program was:" >&5
31499 sed 's/^/| /' conftest.
$ac_ext >&5
31501 eval "$as_ac_var=no"
31503 rm -f conftest.err conftest.
$ac_objext \
31504 conftest
$ac_exeext conftest.
$ac_ext
31506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31508 if test `eval echo '${'$as_ac_var'}'` = yes; then
31509 cat >>confdefs.h
<<_ACEOF
31510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31520 ac_cpp
='$CXXCPP $CPPFLAGS'
31521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31527 for ac_func
in strtok_r
31529 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31530 echo "$as_me:$LINENO: checking for $ac_func" >&5
31531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31532 if eval "test \"\${$as_ac_var+set}\" = set"; then
31533 echo $ECHO_N "(cached) $ECHO_C" >&6
31535 cat >conftest.
$ac_ext <<_ACEOF
31538 cat confdefs.h
>>conftest.
$ac_ext
31539 cat >>conftest.
$ac_ext <<_ACEOF
31540 /* end confdefs.h. */
31541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31543 #define $ac_func innocuous_$ac_func
31545 /* System header to define __stub macros and hopefully few prototypes,
31546 which can conflict with char $ac_func (); below.
31547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31548 <limits.h> exists even on freestanding compilers. */
31551 # include <limits.h>
31553 # include <assert.h>
31558 /* Override any gcc2 internal prototype to avoid an error. */
31563 /* We use char because int might match the return type of a gcc2
31564 builtin and then its argument prototype would still apply. */
31566 /* The GNU C library defines this for functions which it implements
31567 to always fail with ENOSYS. Some functions are actually named
31568 something starting with __ and the normal name is an alias. */
31569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31572 char (*f) () = $ac_func;
31581 return f != $ac_func;
31586 rm -f conftest.
$ac_objext conftest
$ac_exeext
31587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31588 (eval $ac_link) 2>conftest.er1
31590 grep -v '^ *+' conftest.er1
>conftest.err
31592 cat conftest.err
>&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } &&
31595 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; } &&
31601 { ac_try
='test -s conftest$ac_exeext'
31602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31603 (eval $ac_try) 2>&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); }; }; then
31607 eval "$as_ac_var=yes"
31609 echo "$as_me: failed program was:" >&5
31610 sed 's/^/| /' conftest.
$ac_ext >&5
31612 eval "$as_ac_var=no"
31614 rm -f conftest.err conftest.
$ac_objext \
31615 conftest
$ac_exeext conftest.
$ac_ext
31617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31619 if test `eval echo '${'$as_ac_var'}'` = yes; then
31620 cat >>confdefs.h
<<_ACEOF
31621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31629 ac_cpp
='$CPP $CPPFLAGS'
31630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31637 for ac_func
in inet_addr
31639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31640 echo "$as_me:$LINENO: checking for $ac_func" >&5
31641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31642 if eval "test \"\${$as_ac_var+set}\" = set"; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 cat >conftest.
$ac_ext <<_ACEOF
31648 cat confdefs.h
>>conftest.
$ac_ext
31649 cat >>conftest.
$ac_ext <<_ACEOF
31650 /* end confdefs.h. */
31651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31653 #define $ac_func innocuous_$ac_func
31655 /* System header to define __stub macros and hopefully few prototypes,
31656 which can conflict with char $ac_func (); below.
31657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31658 <limits.h> exists even on freestanding compilers. */
31661 # include <limits.h>
31663 # include <assert.h>
31668 /* Override any gcc2 internal prototype to avoid an error. */
31673 /* We use char because int might match the return type of a gcc2
31674 builtin and then its argument prototype would still apply. */
31676 /* The GNU C library defines this for functions which it implements
31677 to always fail with ENOSYS. Some functions are actually named
31678 something starting with __ and the normal name is an alias. */
31679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31682 char (*f) () = $ac_func;
31691 return f != $ac_func;
31696 rm -f conftest.
$ac_objext conftest
$ac_exeext
31697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31698 (eval $ac_link) 2>conftest.er1
31700 grep -v '^ *+' conftest.er1
>conftest.err
31702 cat conftest.err
>&5
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 (exit $ac_status); } &&
31705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31707 (eval $ac_try) 2>&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); }; } &&
31711 { ac_try
='test -s conftest$ac_exeext'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; }; then
31717 eval "$as_ac_var=yes"
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.
$ac_ext >&5
31722 eval "$as_ac_var=no"
31724 rm -f conftest.err conftest.
$ac_objext \
31725 conftest
$ac_exeext conftest.
$ac_ext
31727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31729 if test `eval echo '${'$as_ac_var'}'` = yes; then
31730 cat >>confdefs.h
<<_ACEOF
31731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31733 cat >>confdefs.h
<<\_ACEOF
31734 #define HAVE_INET_ADDR 1
31739 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31740 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31741 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31744 ac_check_lib_save_LIBS
=$LIBS
31746 cat >conftest.
$ac_ext <<_ACEOF
31749 cat confdefs.h
>>conftest.
$ac_ext
31750 cat >>conftest.
$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31753 /* Override any gcc2 internal prototype to avoid an error. */
31757 /* We use char because int might match the return type of a gcc2
31758 builtin and then its argument prototype would still apply. */
31768 rm -f conftest.
$ac_objext conftest
$ac_exeext
31769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31770 (eval $ac_link) 2>conftest.er1
31772 grep -v '^ *+' conftest.er1
>conftest.err
31774 cat conftest.err
>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; } &&
31783 { ac_try
='test -s conftest$ac_exeext'
31784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31785 (eval $ac_try) 2>&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); }; }; then
31789 ac_cv_lib_nsl_inet_addr
=yes
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.
$ac_ext >&5
31794 ac_cv_lib_nsl_inet_addr
=no
31796 rm -f conftest.err conftest.
$ac_objext \
31797 conftest
$ac_exeext conftest.
$ac_ext
31798 LIBS
=$ac_check_lib_save_LIBS
31800 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31801 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31802 if test $ac_cv_lib_nsl_inet_addr = yes; then
31806 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31807 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31808 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 ac_check_lib_save_LIBS
=$LIBS
31812 LIBS
="-lresolv $LIBS"
31813 cat >conftest.
$ac_ext <<_ACEOF
31816 cat confdefs.h
>>conftest.
$ac_ext
31817 cat >>conftest.
$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31820 /* Override any gcc2 internal prototype to avoid an error. */
31824 /* We use char because int might match the return type of a gcc2
31825 builtin and then its argument prototype would still apply. */
31835 rm -f conftest.
$ac_objext conftest
$ac_exeext
31836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31837 (eval $ac_link) 2>conftest.er1
31839 grep -v '^ *+' conftest.er1
>conftest.err
31841 cat conftest.err
>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } &&
31844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; } &&
31850 { ac_try
='test -s conftest$ac_exeext'
31851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31852 (eval $ac_try) 2>&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); }; }; then
31856 ac_cv_lib_resolv_inet_addr
=yes
31858 echo "$as_me: failed program was:" >&5
31859 sed 's/^/| /' conftest.
$ac_ext >&5
31861 ac_cv_lib_resolv_inet_addr
=no
31863 rm -f conftest.err conftest.
$ac_objext \
31864 conftest
$ac_exeext conftest.
$ac_ext
31865 LIBS
=$ac_check_lib_save_LIBS
31867 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31868 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31869 if test $ac_cv_lib_resolv_inet_addr = yes; then
31873 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31874 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31875 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 ac_check_lib_save_LIBS
=$LIBS
31879 LIBS
="-lsocket $LIBS"
31880 cat >conftest.
$ac_ext <<_ACEOF
31883 cat confdefs.h
>>conftest.
$ac_ext
31884 cat >>conftest.
$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31887 /* Override any gcc2 internal prototype to avoid an error. */
31891 /* We use char because int might match the return type of a gcc2
31892 builtin and then its argument prototype would still apply. */
31902 rm -f conftest.
$ac_objext conftest
$ac_exeext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31904 (eval $ac_link) 2>conftest.er1
31906 grep -v '^ *+' conftest.er1
>conftest.err
31908 cat conftest.err
>&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } &&
31911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try
='test -s conftest$ac_exeext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31923 ac_cv_lib_socket_inet_addr
=yes
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.
$ac_ext >&5
31928 ac_cv_lib_socket_inet_addr
=no
31930 rm -f conftest.err conftest.
$ac_objext \
31931 conftest
$ac_exeext conftest.
$ac_ext
31932 LIBS
=$ac_check_lib_save_LIBS
31934 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31935 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31936 if test $ac_cv_lib_socket_inet_addr = yes; then
31956 for ac_func
in inet_aton
31958 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31959 echo "$as_me:$LINENO: checking for $ac_func" >&5
31960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31961 if eval "test \"\${$as_ac_var+set}\" = set"; then
31962 echo $ECHO_N "(cached) $ECHO_C" >&6
31964 cat >conftest.
$ac_ext <<_ACEOF
31967 cat confdefs.h
>>conftest.
$ac_ext
31968 cat >>conftest.
$ac_ext <<_ACEOF
31969 /* end confdefs.h. */
31970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31972 #define $ac_func innocuous_$ac_func
31974 /* System header to define __stub macros and hopefully few prototypes,
31975 which can conflict with char $ac_func (); below.
31976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31977 <limits.h> exists even on freestanding compilers. */
31980 # include <limits.h>
31982 # include <assert.h>
31987 /* Override any gcc2 internal prototype to avoid an error. */
31992 /* We use char because int might match the return type of a gcc2
31993 builtin and then its argument prototype would still apply. */
31995 /* The GNU C library defines this for functions which it implements
31996 to always fail with ENOSYS. Some functions are actually named
31997 something starting with __ and the normal name is an alias. */
31998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32001 char (*f) () = $ac_func;
32010 return f != $ac_func;
32015 rm -f conftest.
$ac_objext conftest
$ac_exeext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32017 (eval $ac_link) 2>conftest.er1
32019 grep -v '^ *+' conftest.er1
>conftest.err
32021 cat conftest.err
>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } &&
32024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; } &&
32030 { ac_try
='test -s conftest$ac_exeext'
32031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32032 (eval $ac_try) 2>&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); }; }; then
32036 eval "$as_ac_var=yes"
32038 echo "$as_me: failed program was:" >&5
32039 sed 's/^/| /' conftest.
$ac_ext >&5
32041 eval "$as_ac_var=no"
32043 rm -f conftest.err conftest.
$ac_objext \
32044 conftest
$ac_exeext conftest.
$ac_ext
32046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32048 if test `eval echo '${'$as_ac_var'}'` = yes; then
32049 cat >>confdefs.h
<<_ACEOF
32050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32052 cat >>confdefs.h
<<\_ACEOF
32053 #define HAVE_INET_ATON 1
32058 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
32059 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
32060 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
32061 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
32062 echo $ECHO_N "(cached) $ECHO_C" >&6
32064 ac_check_lib_save_LIBS
=$LIBS
32065 LIBS
="-l$INET_LINK $LIBS"
32066 cat >conftest.
$ac_ext <<_ACEOF
32069 cat confdefs.h
>>conftest.
$ac_ext
32070 cat >>conftest.
$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32073 /* Override any gcc2 internal prototype to avoid an error. */
32077 /* We use char because int might match the return type of a gcc2
32078 builtin and then its argument prototype would still apply. */
32088 rm -f conftest.
$ac_objext conftest
$ac_exeext
32089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32090 (eval $ac_link) 2>conftest.er1
32092 grep -v '^ *+' conftest.er1
>conftest.err
32094 cat conftest.err
>&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } &&
32097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try
='test -s conftest$ac_exeext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 eval "$as_ac_Lib=yes"
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.
$ac_ext >&5
32114 eval "$as_ac_Lib=no"
32116 rm -f conftest.err conftest.
$ac_objext \
32117 conftest
$ac_exeext conftest.
$ac_ext
32118 LIBS
=$ac_check_lib_save_LIBS
32120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
32121 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
32122 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
32123 cat >>confdefs.h
<<\_ACEOF
32124 #define HAVE_INET_ATON 1
32134 if test "x$INET_LINK" != "x"; then
32135 cat >>confdefs.h
<<\_ACEOF
32136 #define HAVE_INET_ADDR 1
32139 INET_LINK
=" -l$INET_LINK"
32147 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
32148 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
32149 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
32150 echo $ECHO_N "(cached) $ECHO_C" >&6
32152 ac_check_lib_save_LIBS
=$LIBS
32154 cat >conftest.
$ac_ext <<_ACEOF
32157 cat confdefs.h
>>conftest.
$ac_ext
32158 cat >>conftest.
$ac_ext <<_ACEOF
32159 /* end confdefs.h. */
32161 /* Override any gcc2 internal prototype to avoid an error. */
32165 /* We use char because int might match the return type of a gcc2
32166 builtin and then its argument prototype would still apply. */
32176 rm -f conftest.
$ac_objext conftest
$ac_exeext
32177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32178 (eval $ac_link) 2>conftest.er1
32180 grep -v '^ *+' conftest.er1
>conftest.err
32182 cat conftest.err
>&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } &&
32185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187 (eval $ac_try) 2>&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); }; } &&
32191 { ac_try
='test -s conftest$ac_exeext'
32192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32193 (eval $ac_try) 2>&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); }; }; then
32197 ac_cv_lib_esd_esd_close
=yes
32199 echo "$as_me: failed program was:" >&5
32200 sed 's/^/| /' conftest.
$ac_ext >&5
32202 ac_cv_lib_esd_esd_close
=no
32204 rm -f conftest.err conftest.
$ac_objext \
32205 conftest
$ac_exeext conftest.
$ac_ext
32206 LIBS
=$ac_check_lib_save_LIBS
32208 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32209 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32210 if test $ac_cv_lib_esd_esd_close = yes; then
32213 for ac_header
in esd.h
32215 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32217 echo "$as_me:$LINENO: checking for $ac_header" >&5
32218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32225 # Is the header compilable?
32226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32228 cat >conftest.
$ac_ext <<_ACEOF
32231 cat confdefs.h
>>conftest.
$ac_ext
32232 cat >>conftest.
$ac_ext <<_ACEOF
32233 /* end confdefs.h. */
32234 $ac_includes_default
32235 #include <$ac_header>
32237 rm -f conftest.
$ac_objext
32238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32239 (eval $ac_compile) 2>conftest.er1
32241 grep -v '^ *+' conftest.er1
>conftest.err
32243 cat conftest.err
>&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } &&
32246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32248 (eval $ac_try) 2>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); }; } &&
32252 { ac_try
='test -s conftest.$ac_objext'
32253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32254 (eval $ac_try) 2>&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); }; }; then
32258 ac_header_compiler
=yes
32260 echo "$as_me: failed program was:" >&5
32261 sed 's/^/| /' conftest.
$ac_ext >&5
32263 ac_header_compiler
=no
32265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32267 echo "${ECHO_T}$ac_header_compiler" >&6
32269 # Is the header present?
32270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32272 cat >conftest.
$ac_ext <<_ACEOF
32275 cat confdefs.h
>>conftest.
$ac_ext
32276 cat >>conftest.
$ac_ext <<_ACEOF
32277 /* end confdefs.h. */
32278 #include <$ac_header>
32280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32281 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32283 grep -v '^ *+' conftest.er1
>conftest.err
32285 cat conftest.err
>&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } >/dev
/null
; then
32288 if test -s conftest.err
; then
32289 ac_cpp_err
=$ac_c_preproc_warn_flag
32290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32297 if test -z "$ac_cpp_err"; then
32298 ac_header_preproc
=yes
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.
$ac_ext >&5
32303 ac_header_preproc
=no
32305 rm -f conftest.err conftest.
$ac_ext
32306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32307 echo "${ECHO_T}$ac_header_preproc" >&6
32309 # So? What about this header?
32310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32315 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32316 ac_header_preproc
=yes
32319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32323 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32324 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32325 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32326 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32329 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32330 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32333 ## ----------------------------------------- ##
32334 ## Report this to wx-dev@lists.wxwidgets.org ##
32335 ## ----------------------------------------- ##
32338 sed "s/^/$as_me: WARNING: /" >&2
32341 echo "$as_me:$LINENO: checking for $ac_header" >&5
32342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32344 echo $ECHO_N "(cached) $ECHO_C" >&6
32346 eval "$as_ac_Header=\$ac_header_preproc"
32348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32353 cat >>confdefs.h
<<_ACEOF
32354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32357 EXTRALIBS_ESD
="-lesd"
32368 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32369 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32370 cat >conftest.
$ac_ext <<_ACEOF
32373 cat confdefs.h
>>conftest.
$ac_ext
32374 cat >>conftest.
$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32377 #include <linux/cdrom.h>
32380 #include <sys/cdio.h>
32386 struct cdrom_tocentry entry, old_entry;
32391 rm -f conftest.
$ac_objext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32393 (eval $ac_compile) 2>conftest.er1
32395 grep -v '^ *+' conftest.er1
>conftest.err
32397 cat conftest.err
>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; } &&
32406 { ac_try
='test -s conftest.$ac_objext'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; }; then
32412 echo "$as_me:$LINENO: result: yes" >&5
32413 echo "${ECHO_T}yes" >&6
32414 cat >>confdefs.h
<<\_ACEOF
32415 #define HAVE_KNOWN_CDROM_INTERFACE 1
32419 echo "$as_me: failed program was:" >&5
32420 sed 's/^/| /' conftest.
$ac_ext >&5
32422 echo "$as_me:$LINENO: result: no" >&5
32423 echo "${ECHO_T}no" >&6
32425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32428 cat >confcache
<<\_ACEOF
32429 # This file is a shell script that caches the results of configure
32430 # tests run on this system so they can be shared between configure
32431 # scripts and configure runs, see configure's option --config-cache.
32432 # It is not useful on other systems. If it contains results you don't
32433 # want to keep, you may remove or edit it.
32435 # config.status only pays attention to the cache file if you give it
32436 # the --recheck option to rerun configure.
32438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32440 # following values.
32444 # The following way of writing the cache mishandles newlines in values,
32445 # but we know of no workaround that is simple, portable, and efficient.
32446 # So, don't put newlines in cache variables' values.
32447 # Ultrix sh set writes to stderr and can't be redirected directly,
32448 # and sets the high bit in the cache file unless we assign to the vars.
32451 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32453 # `set' does not quote correctly, so add quotes (double-quote
32454 # substitution turns \\\\ into \\, and sed turns \\ into \).
32457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32460 # `set' quotes correctly as required by POSIX, so do not add quotes.
32462 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32469 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32471 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32473 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
32474 if test -w $cache_file; then
32475 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32476 cat confcache
>$cache_file
32478 echo "not updating unwritable cache $cache_file"
32485 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32491 if test "$wxUSE_THREADS" = "yes" ; then
32492 if test "$USE_BEOS" = 1; then
32493 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32494 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32499 if test "$wxUSE_THREADS" = "yes" ; then
32502 THREAD_OPTS
="-pthread"
32504 *-*-solaris2* | *-*-sunos4* )
32505 if test "x$GCC" = "xyes"; then
32506 THREAD_OPTS
="-pthreads $THREAD_OPTS"
32508 THREAD_OPTS
="-mt $THREAD_OPTS"
32512 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
32514 *-*-darwin* | *-*-cygwin* )
32518 THREAD_OPTS
="pthreads"
32521 if test "x$GCC" != "xyes"; then
32527 if test "x$GCC" = "xyes"; then
32533 if test "x$GCC" != "xyes"; then
32534 THREAD_OPTS
="-Ethread"
32539 THREAD_OPTS
="$THREAD_OPTS pthread none"
32542 for flag
in $THREAD_OPTS; do
32545 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32546 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32550 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32551 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32552 THREADS_CFLAGS
="$flag"
32556 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32557 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32558 THREADS_LINK
="-l$flag"
32563 save_CFLAGS
="$CFLAGS"
32564 LIBS
="$THREADS_LINK $LIBS"
32565 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32567 cat >conftest.
$ac_ext <<_ACEOF
32570 cat confdefs.h
>>conftest.
$ac_ext
32571 cat >>conftest.
$ac_ext <<_ACEOF
32572 /* end confdefs.h. */
32573 #include <pthread.h>
32577 pthread_create(0,0,0,0);
32582 rm -f conftest.
$ac_objext conftest
$ac_exeext
32583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32584 (eval $ac_link) 2>conftest.er1
32586 grep -v '^ *+' conftest.er1
>conftest.err
32588 cat conftest.err
>&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); } &&
32591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32593 (eval $ac_try) 2>&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); }; } &&
32597 { ac_try
='test -s conftest$ac_exeext'
32598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599 (eval $ac_try) 2>&5
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); }; }; then
32605 echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.
$ac_ext >&5
32609 rm -f conftest.err conftest.
$ac_objext \
32610 conftest
$ac_exeext conftest.
$ac_ext
32613 CFLAGS
="$save_CFLAGS"
32615 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32616 echo "${ECHO_T}$THREADS_OK" >&6
32617 if test "x$THREADS_OK" = "xyes"; then
32625 if test "x$THREADS_OK" != "xyes"; then
32627 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32628 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32630 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32631 LIBS
="$THREADS_LINK $LIBS"
32633 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32634 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32638 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32639 flag
="-D_THREAD_SAFE"
32642 flag
="-D_THREAD_SAFE"
32645 flag
="-D_REENTRANT"
32646 if test "x$GCC" != "xyes"; then
32647 flag
="$flag -D_RWSTD_MULTI_THREAD"
32650 *solaris
* | alpha
*-osf*)
32651 flag
="-D_REENTRANT"
32654 echo "$as_me:$LINENO: result: ${flag}" >&5
32655 echo "${ECHO_T}${flag}" >&6
32656 if test "x$flag" != xno
; then
32657 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32660 if test "x$THREADS_CFLAGS" != "x"; then
32661 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32662 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32667 if test "$wxUSE_THREADS" = "yes" ; then
32669 for ac_func
in thr_setconcurrency
32671 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32672 echo "$as_me:$LINENO: checking for $ac_func" >&5
32673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32674 if eval "test \"\${$as_ac_var+set}\" = set"; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32677 cat >conftest.
$ac_ext <<_ACEOF
32680 cat confdefs.h
>>conftest.
$ac_ext
32681 cat >>conftest.
$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32685 #define $ac_func innocuous_$ac_func
32687 /* System header to define __stub macros and hopefully few prototypes,
32688 which can conflict with char $ac_func (); below.
32689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32690 <limits.h> exists even on freestanding compilers. */
32693 # include <limits.h>
32695 # include <assert.h>
32700 /* Override any gcc2 internal prototype to avoid an error. */
32705 /* We use char because int might match the return type of a gcc2
32706 builtin and then its argument prototype would still apply. */
32708 /* The GNU C library defines this for functions which it implements
32709 to always fail with ENOSYS. Some functions are actually named
32710 something starting with __ and the normal name is an alias. */
32711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32714 char (*f) () = $ac_func;
32723 return f != $ac_func;
32728 rm -f conftest.
$ac_objext conftest
$ac_exeext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32730 (eval $ac_link) 2>conftest.er1
32732 grep -v '^ *+' conftest.er1
>conftest.err
32734 cat conftest.err
>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try
='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 eval "$as_ac_var=yes"
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.
$ac_ext >&5
32754 eval "$as_ac_var=no"
32756 rm -f conftest.err conftest.
$ac_objext \
32757 conftest
$ac_exeext conftest.
$ac_ext
32759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32761 if test `eval echo '${'$as_ac_var'}'` = yes; then
32762 cat >>confdefs.h
<<_ACEOF
32763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32771 for ac_header
in sched.h
32773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32775 echo "$as_me:$LINENO: checking for $ac_header" >&5
32776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32783 # Is the header compilable?
32784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32786 cat >conftest.
$ac_ext <<_ACEOF
32789 cat confdefs.h
>>conftest.
$ac_ext
32790 cat >>conftest.
$ac_ext <<_ACEOF
32791 /* end confdefs.h. */
32792 $ac_includes_default
32793 #include <$ac_header>
32795 rm -f conftest.
$ac_objext
32796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32797 (eval $ac_compile) 2>conftest.er1
32799 grep -v '^ *+' conftest.er1
>conftest.err
32801 cat conftest.err
>&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } &&
32804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32806 (eval $ac_try) 2>&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); }; } &&
32810 { ac_try
='test -s conftest.$ac_objext'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; }; then
32816 ac_header_compiler
=yes
32818 echo "$as_me: failed program was:" >&5
32819 sed 's/^/| /' conftest.
$ac_ext >&5
32821 ac_header_compiler
=no
32823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32825 echo "${ECHO_T}$ac_header_compiler" >&6
32827 # Is the header present?
32828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32830 cat >conftest.
$ac_ext <<_ACEOF
32833 cat confdefs.h
>>conftest.
$ac_ext
32834 cat >>conftest.
$ac_ext <<_ACEOF
32835 /* end confdefs.h. */
32836 #include <$ac_header>
32838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32841 grep -v '^ *+' conftest.er1
>conftest.err
32843 cat conftest.err
>&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); } >/dev
/null
; then
32846 if test -s conftest.err
; then
32847 ac_cpp_err
=$ac_c_preproc_warn_flag
32848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32855 if test -z "$ac_cpp_err"; then
32856 ac_header_preproc
=yes
32858 echo "$as_me: failed program was:" >&5
32859 sed 's/^/| /' conftest.
$ac_ext >&5
32861 ac_header_preproc
=no
32863 rm -f conftest.err conftest.
$ac_ext
32864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32865 echo "${ECHO_T}$ac_header_preproc" >&6
32867 # So? What about this header?
32868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32874 ac_header_preproc
=yes
32877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32891 ## ----------------------------------------- ##
32892 ## Report this to wx-dev@lists.wxwidgets.org ##
32893 ## ----------------------------------------- ##
32896 sed "s/^/$as_me: WARNING: /" >&2
32899 echo "$as_me:$LINENO: checking for $ac_header" >&5
32900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32902 echo $ECHO_N "(cached) $ECHO_C" >&6
32904 eval "$as_ac_Header=\$ac_header_preproc"
32906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32911 cat >>confdefs.h
<<_ACEOF
32912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32919 if test "$ac_cv_header_sched_h" = "yes"; then
32920 echo "$as_me:$LINENO: checking for sched_yield" >&5
32921 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32922 if test "${ac_cv_func_sched_yield+set}" = set; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32925 cat >conftest.
$ac_ext <<_ACEOF
32928 cat confdefs.h
>>conftest.
$ac_ext
32929 cat >>conftest.
$ac_ext <<_ACEOF
32930 /* end confdefs.h. */
32931 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32933 #define sched_yield innocuous_sched_yield
32935 /* System header to define __stub macros and hopefully few prototypes,
32936 which can conflict with char sched_yield (); below.
32937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32938 <limits.h> exists even on freestanding compilers. */
32941 # include <limits.h>
32943 # include <assert.h>
32948 /* Override any gcc2 internal prototype to avoid an error. */
32953 /* We use char because int might match the return type of a gcc2
32954 builtin and then its argument prototype would still apply. */
32955 char sched_yield ();
32956 /* The GNU C library defines this for functions which it implements
32957 to always fail with ENOSYS. Some functions are actually named
32958 something starting with __ and the normal name is an alias. */
32959 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32962 char (*f) () = sched_yield;
32971 return f != sched_yield;
32976 rm -f conftest.
$ac_objext conftest
$ac_exeext
32977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32978 (eval $ac_link) 2>conftest.er1
32980 grep -v '^ *+' conftest.er1
>conftest.err
32982 cat conftest.err
>&5
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); } &&
32985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try
='test -s conftest$ac_exeext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 ac_cv_func_sched_yield
=yes
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.
$ac_ext >&5
33002 ac_cv_func_sched_yield
=no
33004 rm -f conftest.err conftest.
$ac_objext \
33005 conftest
$ac_exeext conftest.
$ac_ext
33007 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
33008 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
33009 if test $ac_cv_func_sched_yield = yes; then
33010 cat >>confdefs.h
<<\_ACEOF
33011 #define HAVE_SCHED_YIELD 1
33016 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
33017 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
33018 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
33019 echo $ECHO_N "(cached) $ECHO_C" >&6
33021 ac_check_lib_save_LIBS
=$LIBS
33022 LIBS
="-lposix4 $LIBS"
33023 cat >conftest.
$ac_ext <<_ACEOF
33026 cat confdefs.h
>>conftest.
$ac_ext
33027 cat >>conftest.
$ac_ext <<_ACEOF
33028 /* end confdefs.h. */
33030 /* Override any gcc2 internal prototype to avoid an error. */
33034 /* We use char because int might match the return type of a gcc2
33035 builtin and then its argument prototype would still apply. */
33036 char sched_yield ();
33045 rm -f conftest.
$ac_objext conftest
$ac_exeext
33046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33047 (eval $ac_link) 2>conftest.er1
33049 grep -v '^ *+' conftest.er1
>conftest.err
33051 cat conftest.err
>&5
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); } &&
33054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; } &&
33060 { ac_try
='test -s conftest$ac_exeext'
33061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33062 (eval $ac_try) 2>&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); }; }; then
33066 ac_cv_lib_posix4_sched_yield
=yes
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.
$ac_ext >&5
33071 ac_cv_lib_posix4_sched_yield
=no
33073 rm -f conftest.err conftest.
$ac_objext \
33074 conftest
$ac_exeext conftest.
$ac_ext
33075 LIBS
=$ac_check_lib_save_LIBS
33077 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
33078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
33079 if test $ac_cv_lib_posix4_sched_yield = yes; then
33080 cat >>confdefs.h
<<\_ACEOF
33081 #define HAVE_SCHED_YIELD 1
33083 POSIX4_LINK
=" -lposix4"
33085 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
33086 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
33097 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
33098 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
33099 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
33100 echo $ECHO_N "(cached) $ECHO_C" >&6
33102 cat >conftest.
$ac_ext <<_ACEOF
33105 cat confdefs.h
>>conftest.
$ac_ext
33106 cat >>conftest.
$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
33109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33110 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
33112 /* System header to define __stub macros and hopefully few prototypes,
33113 which can conflict with char pthread_attr_getschedpolicy (); below.
33114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33115 <limits.h> exists even on freestanding compilers. */
33118 # include <limits.h>
33120 # include <assert.h>
33123 #undef pthread_attr_getschedpolicy
33125 /* Override any gcc2 internal prototype to avoid an error. */
33130 /* We use char because int might match the return type of a gcc2
33131 builtin and then its argument prototype would still apply. */
33132 char pthread_attr_getschedpolicy ();
33133 /* The GNU C library defines this for functions which it implements
33134 to always fail with ENOSYS. Some functions are actually named
33135 something starting with __ and the normal name is an alias. */
33136 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
33139 char (*f) () = pthread_attr_getschedpolicy;
33148 return f != pthread_attr_getschedpolicy;
33153 rm -f conftest.
$ac_objext conftest
$ac_exeext
33154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33155 (eval $ac_link) 2>conftest.er1
33157 grep -v '^ *+' conftest.er1
>conftest.err
33159 cat conftest.err
>&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } &&
33162 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 (eval $ac_try) 2>&5
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); }; } &&
33168 { ac_try
='test -s conftest$ac_exeext'
33169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33170 (eval $ac_try) 2>&5
33172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33173 (exit $ac_status); }; }; then
33174 ac_cv_func_pthread_attr_getschedpolicy
=yes
33176 echo "$as_me: failed program was:" >&5
33177 sed 's/^/| /' conftest.
$ac_ext >&5
33179 ac_cv_func_pthread_attr_getschedpolicy
=no
33181 rm -f conftest.err conftest.
$ac_objext \
33182 conftest
$ac_exeext conftest.
$ac_ext
33184 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33185 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33186 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33187 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33188 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33189 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33190 echo $ECHO_N "(cached) $ECHO_C" >&6
33192 cat >conftest.
$ac_ext <<_ACEOF
33195 cat confdefs.h
>>conftest.
$ac_ext
33196 cat >>conftest.
$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33198 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33200 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33202 /* System header to define __stub macros and hopefully few prototypes,
33203 which can conflict with char pthread_attr_setschedparam (); below.
33204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33205 <limits.h> exists even on freestanding compilers. */
33208 # include <limits.h>
33210 # include <assert.h>
33213 #undef pthread_attr_setschedparam
33215 /* Override any gcc2 internal prototype to avoid an error. */
33220 /* We use char because int might match the return type of a gcc2
33221 builtin and then its argument prototype would still apply. */
33222 char pthread_attr_setschedparam ();
33223 /* The GNU C library defines this for functions which it implements
33224 to always fail with ENOSYS. Some functions are actually named
33225 something starting with __ and the normal name is an alias. */
33226 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33229 char (*f) () = pthread_attr_setschedparam;
33238 return f != pthread_attr_setschedparam;
33243 rm -f conftest.
$ac_objext conftest
$ac_exeext
33244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33245 (eval $ac_link) 2>conftest.er1
33247 grep -v '^ *+' conftest.er1
>conftest.err
33249 cat conftest.err
>&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } &&
33252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33254 (eval $ac_try) 2>&5
33256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 (exit $ac_status); }; } &&
33258 { ac_try
='test -s conftest$ac_exeext'
33259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33260 (eval $ac_try) 2>&5
33262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33263 (exit $ac_status); }; }; then
33264 ac_cv_func_pthread_attr_setschedparam
=yes
33266 echo "$as_me: failed program was:" >&5
33267 sed 's/^/| /' conftest.
$ac_ext >&5
33269 ac_cv_func_pthread_attr_setschedparam
=no
33271 rm -f conftest.err conftest.
$ac_objext \
33272 conftest
$ac_exeext conftest.
$ac_ext
33274 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33275 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33276 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33277 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33278 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33279 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33282 cat >conftest.
$ac_ext <<_ACEOF
33285 cat confdefs.h
>>conftest.
$ac_ext
33286 cat >>conftest.
$ac_ext <<_ACEOF
33287 /* end confdefs.h. */
33288 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33290 #define sched_get_priority_max innocuous_sched_get_priority_max
33292 /* System header to define __stub macros and hopefully few prototypes,
33293 which can conflict with char sched_get_priority_max (); below.
33294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33295 <limits.h> exists even on freestanding compilers. */
33298 # include <limits.h>
33300 # include <assert.h>
33303 #undef sched_get_priority_max
33305 /* Override any gcc2 internal prototype to avoid an error. */
33310 /* We use char because int might match the return type of a gcc2
33311 builtin and then its argument prototype would still apply. */
33312 char sched_get_priority_max ();
33313 /* The GNU C library defines this for functions which it implements
33314 to always fail with ENOSYS. Some functions are actually named
33315 something starting with __ and the normal name is an alias. */
33316 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33319 char (*f) () = sched_get_priority_max;
33328 return f != sched_get_priority_max;
33333 rm -f conftest.
$ac_objext conftest
$ac_exeext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33335 (eval $ac_link) 2>conftest.er1
33337 grep -v '^ *+' conftest.er1
>conftest.err
33339 cat conftest.err
>&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33344 (eval $ac_try) 2>&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); }; } &&
33348 { ac_try
='test -s conftest$ac_exeext'
33349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33350 (eval $ac_try) 2>&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; }; then
33354 ac_cv_func_sched_get_priority_max
=yes
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.
$ac_ext >&5
33359 ac_cv_func_sched_get_priority_max
=no
33361 rm -f conftest.err conftest.
$ac_objext \
33362 conftest
$ac_exeext conftest.
$ac_ext
33364 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33365 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33366 if test $ac_cv_func_sched_get_priority_max = yes; then
33369 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33370 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33371 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33372 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 ac_check_lib_save_LIBS
=$LIBS
33375 LIBS
="-lposix4 $LIBS"
33376 cat >conftest.
$ac_ext <<_ACEOF
33379 cat confdefs.h
>>conftest.
$ac_ext
33380 cat >>conftest.
$ac_ext <<_ACEOF
33381 /* end confdefs.h. */
33383 /* Override any gcc2 internal prototype to avoid an error. */
33387 /* We use char because int might match the return type of a gcc2
33388 builtin and then its argument prototype would still apply. */
33389 char sched_get_priority_max ();
33393 sched_get_priority_max ();
33398 rm -f conftest.
$ac_objext conftest
$ac_exeext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33400 (eval $ac_link) 2>conftest.er1
33402 grep -v '^ *+' conftest.er1
>conftest.err
33404 cat conftest.err
>&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } &&
33407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33409 (eval $ac_try) 2>&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); }; } &&
33413 { ac_try
='test -s conftest$ac_exeext'
33414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33415 (eval $ac_try) 2>&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); }; }; then
33419 ac_cv_lib_posix4_sched_get_priority_max
=yes
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.
$ac_ext >&5
33424 ac_cv_lib_posix4_sched_get_priority_max
=no
33426 rm -f conftest.err conftest.
$ac_objext \
33427 conftest
$ac_exeext conftest.
$ac_ext
33428 LIBS
=$ac_check_lib_save_LIBS
33430 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33431 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33432 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33435 POSIX4_LINK
=" -lposix4"
33449 if test "$HAVE_PRIOR_FUNCS" = 1; then
33450 cat >>confdefs.h
<<\_ACEOF
33451 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33455 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33456 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33459 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33460 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33461 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33462 echo $ECHO_N "(cached) $ECHO_C" >&6
33464 cat >conftest.
$ac_ext <<_ACEOF
33467 cat confdefs.h
>>conftest.
$ac_ext
33468 cat >>conftest.
$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33470 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33472 #define pthread_cancel innocuous_pthread_cancel
33474 /* System header to define __stub macros and hopefully few prototypes,
33475 which can conflict with char pthread_cancel (); below.
33476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33477 <limits.h> exists even on freestanding compilers. */
33480 # include <limits.h>
33482 # include <assert.h>
33485 #undef pthread_cancel
33487 /* Override any gcc2 internal prototype to avoid an error. */
33492 /* We use char because int might match the return type of a gcc2
33493 builtin and then its argument prototype would still apply. */
33494 char pthread_cancel ();
33495 /* The GNU C library defines this for functions which it implements
33496 to always fail with ENOSYS. Some functions are actually named
33497 something starting with __ and the normal name is an alias. */
33498 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33501 char (*f) () = pthread_cancel;
33510 return f != pthread_cancel;
33515 rm -f conftest.
$ac_objext conftest
$ac_exeext
33516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33517 (eval $ac_link) 2>conftest.er1
33519 grep -v '^ *+' conftest.er1
>conftest.err
33521 cat conftest.err
>&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; } &&
33530 { ac_try
='test -s conftest$ac_exeext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 ac_cv_func_pthread_cancel
=yes
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.
$ac_ext >&5
33541 ac_cv_func_pthread_cancel
=no
33543 rm -f conftest.err conftest.
$ac_objext \
33544 conftest
$ac_exeext conftest.
$ac_ext
33546 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33547 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33548 if test $ac_cv_func_pthread_cancel = yes; then
33549 cat >>confdefs.h
<<\_ACEOF
33550 #define HAVE_PTHREAD_CANCEL 1
33554 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33555 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33561 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33562 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33563 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33567 cat >conftest.
$ac_ext <<_ACEOF
33570 cat confdefs.h
>>conftest.
$ac_ext
33571 cat >>conftest.
$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33573 #include <pthread.h>
33578 pthread_mutexattr_t attr;
33579 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33585 rm -f conftest.
$ac_objext
33586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33587 (eval $ac_compile) 2>conftest.er1
33589 grep -v '^ *+' conftest.er1
>conftest.err
33591 cat conftest.err
>&5
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); } &&
33594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33596 (eval $ac_try) 2>&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); }; } &&
33600 { ac_try
='test -s conftest.$ac_objext'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; }; then
33607 wx_cv_type_pthread_mutexattr_t
=yes
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.
$ac_ext >&5
33614 wx_cv_type_pthread_mutexattr_t
=no
33618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33621 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33622 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33624 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33625 cat >>confdefs.h
<<\_ACEOF
33626 #define HAVE_PTHREAD_MUTEXATTR_T 1
33630 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33631 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33632 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 cat >conftest.
$ac_ext <<_ACEOF
33639 cat confdefs.h
>>conftest.
$ac_ext
33640 cat >>conftest.
$ac_ext <<_ACEOF
33641 /* end confdefs.h. */
33642 #include <pthread.h>
33647 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33653 rm -f conftest.
$ac_objext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33655 (eval $ac_compile) 2>conftest.er1
33657 grep -v '^ *+' conftest.er1
>conftest.err
33659 cat conftest.err
>&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } &&
33662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; } &&
33668 { ac_try
='test -s conftest.$ac_objext'
33669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33670 (eval $ac_try) 2>&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); }; }; then
33675 wx_cv_type_pthread_rec_mutex_init
=yes
33678 echo "$as_me: failed program was:" >&5
33679 sed 's/^/| /' conftest.
$ac_ext >&5
33682 wx_cv_type_pthread_rec_mutex_init
=no
33686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33689 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33690 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33691 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33692 cat >>confdefs.h
<<\_ACEOF
33693 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33697 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33698 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33704 if test "$wxUSE_THREADS" = "yes" ; then
33707 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33708 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33709 if test "${wx_cv_cflags_mthread+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33713 CFLAGS_OLD
="$CFLAGS"
33714 CFLAGS
="$CFLAGS -mthreads"
33715 cat >conftest.
$ac_ext <<_ACEOF
33718 cat confdefs.h
>>conftest.
$ac_ext
33719 cat >>conftest.
$ac_ext <<_ACEOF
33720 /* end confdefs.h. */
33730 rm -f conftest.
$ac_objext
33731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33732 (eval $ac_compile) 2>conftest.er1
33734 grep -v '^ *+' conftest.er1
>conftest.err
33736 cat conftest.err
>&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } &&
33739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; } &&
33745 { ac_try
='test -s conftest.$ac_objext'
33746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33747 (eval $ac_try) 2>&5
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); }; }; then
33751 wx_cv_cflags_mthread
=yes
33753 echo "$as_me: failed program was:" >&5
33754 sed 's/^/| /' conftest.
$ac_ext >&5
33756 wx_cv_cflags_mthread
=no
33759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33763 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33764 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33766 if test "$wx_cv_cflags_mthread" = "yes"; then
33767 CXXFLAGS
="$CXXFLAGS -mthreads"
33768 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33769 LDFLAGS
="$LDFLAGS -mthreads"
33771 CFLAGS
="$CFLAGS_OLD"
33775 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33776 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33777 LDFLAGS
="$LDFLAGS -Zmt"
33783 if test "$wxUSE_THREADS" = "yes"; then
33784 cat >>confdefs.h
<<\_ACEOF
33785 #define wxUSE_THREADS 1
33789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33791 if test "$ac_cv_func_strtok_r" = "yes"; then
33792 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33793 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33794 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33795 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33796 echo "$as_me:$LINENO: result: yes" >&5
33797 echo "${ECHO_T}yes" >&6
33799 echo "$as_me:$LINENO: result: no" >&5
33800 echo "${ECHO_T}no" >&6
33805 if test "$WXGTK20" = 1 ; then
33806 cat >>confdefs.h
<<_ACEOF
33807 #define __WXGTK20__ $WXGTK20
33813 if test "$WXGTK12" = 1 ; then
33814 cat >>confdefs.h
<<_ACEOF
33815 #define __WXGTK12__ $WXGTK12
33820 if test "$WXGTK127" = 1 ; then
33821 cat >>confdefs.h
<<_ACEOF
33822 #define __WXGTK127__ $WXGTK127
33827 if test "$WXGPE" = 1 ; then
33828 cat >>confdefs.h
<<_ACEOF
33829 #define __WXGPE__ $WXGPE
33836 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33841 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33842 wxUSE_DEBUG_INFO
=yes
33846 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33847 cat >>confdefs.h
<<\_ACEOF
33851 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33853 if test "$wxUSE_GTK" = 1 ; then
33854 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33858 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33859 cat >>confdefs.h
<<\_ACEOF
33860 #define wxUSE_MEMORY_TRACING 1
33863 cat >>confdefs.h
<<\_ACEOF
33864 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33867 cat >>confdefs.h
<<\_ACEOF
33868 #define wxUSE_DEBUG_NEW_ALWAYS 1
33871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33874 if test "$wxUSE_DMALLOC" = "yes" ; then
33875 DMALLOC_LIBS
="-ldmalloc"
33879 if test "$wxUSE_PROFILE" = "yes" ; then
33884 CODE_GEN_FLAGS_CXX
=
33885 if test "$GCC" = "yes" ; then
33886 if test "$wxUSE_NO_RTTI" = "yes" ; then
33887 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33889 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33890 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33892 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33893 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33898 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33901 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33907 if test "$wxUSE_OPTIMISE" = "no" ; then
33908 if test "$GCC" = yes ; then
33912 if test "$GCC" = yes ; then
33916 i586
-*-*|i686
-*-* )
33917 OPTIMISE
="${OPTIMISE} "
33926 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33927 cat >>confdefs.h
<<\_ACEOF
33928 #define WXWIN_COMPATIBILITY_2_2 1
33932 WXWIN_COMPATIBILITY_2_4
="yes"
33935 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33936 cat >>confdefs.h
<<\_ACEOF
33937 #define WXWIN_COMPATIBILITY_2_4 1
33943 if test "$wxUSE_GUI" = "yes"; then
33944 cat >>confdefs.h
<<\_ACEOF
33945 #define wxUSE_GUI 1
33952 if test "$wxUSE_UNIX" = "yes"; then
33953 cat >>confdefs.h
<<\_ACEOF
33954 #define wxUSE_UNIX 1
33960 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33964 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33965 if test "$USE_DARWIN" = 1; then
33969 for ac_func
in dlopen
33971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33972 echo "$as_me:$LINENO: checking for $ac_func" >&5
33973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33974 if eval "test \"\${$as_ac_var+set}\" = set"; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33977 cat >conftest.
$ac_ext <<_ACEOF
33980 cat confdefs.h
>>conftest.
$ac_ext
33981 cat >>conftest.
$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33985 #define $ac_func innocuous_$ac_func
33987 /* System header to define __stub macros and hopefully few prototypes,
33988 which can conflict with char $ac_func (); below.
33989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33990 <limits.h> exists even on freestanding compilers. */
33993 # include <limits.h>
33995 # include <assert.h>
34000 /* Override any gcc2 internal prototype to avoid an error. */
34005 /* We use char because int might match the return type of a gcc2
34006 builtin and then its argument prototype would still apply. */
34008 /* The GNU C library defines this for functions which it implements
34009 to always fail with ENOSYS. Some functions are actually named
34010 something starting with __ and the normal name is an alias. */
34011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34014 char (*f) () = $ac_func;
34023 return f != $ac_func;
34028 rm -f conftest.
$ac_objext conftest
$ac_exeext
34029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34030 (eval $ac_link) 2>conftest.er1
34032 grep -v '^ *+' conftest.er1
>conftest.err
34034 cat conftest.err
>&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } &&
34037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34039 (eval $ac_try) 2>&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); }; } &&
34043 { ac_try
='test -s conftest$ac_exeext'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; }; then
34049 eval "$as_ac_var=yes"
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.
$ac_ext >&5
34054 eval "$as_ac_var=no"
34056 rm -f conftest.err conftest.
$ac_objext \
34057 conftest
$ac_exeext conftest.
$ac_ext
34059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34061 if test `eval echo '${'$as_ac_var'}'` = yes; then
34062 cat >>confdefs.h
<<_ACEOF
34063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34066 cat >>confdefs.h
<<\_ACEOF
34067 #define HAVE_DLOPEN 1
34074 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
34075 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
34076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
34077 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 ac_check_lib_save_LIBS
=$LIBS
34081 cat >conftest.
$ac_ext <<_ACEOF
34084 cat confdefs.h
>>conftest.
$ac_ext
34085 cat >>conftest.
$ac_ext <<_ACEOF
34086 /* end confdefs.h. */
34088 /* Override any gcc2 internal prototype to avoid an error. */
34092 /* We use char because int might match the return type of a gcc2
34093 builtin and then its argument prototype would still apply. */
34103 rm -f conftest.
$ac_objext conftest
$ac_exeext
34104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34105 (eval $ac_link) 2>conftest.er1
34107 grep -v '^ *+' conftest.er1
>conftest.err
34109 cat conftest.err
>&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } &&
34112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114 (eval $ac_try) 2>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); }; } &&
34118 { ac_try
='test -s conftest$ac_exeext'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; }; then
34124 ac_cv_lib_dl_dlopen
=yes
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.
$ac_ext >&5
34129 ac_cv_lib_dl_dlopen
=no
34131 rm -f conftest.err conftest.
$ac_objext \
34132 conftest
$ac_exeext conftest.
$ac_ext
34133 LIBS
=$ac_check_lib_save_LIBS
34135 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
34136 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
34137 if test $ac_cv_lib_dl_dlopen = yes; then
34139 cat >>confdefs.h
<<\_ACEOF
34140 #define HAVE_DLOPEN 1
34144 DL_LINK
=" -ldl$DL_LINK"
34149 for ac_func
in shl_load
34151 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34152 echo "$as_me:$LINENO: checking for $ac_func" >&5
34153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34154 if eval "test \"\${$as_ac_var+set}\" = set"; then
34155 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 cat >conftest.
$ac_ext <<_ACEOF
34160 cat confdefs.h
>>conftest.
$ac_ext
34161 cat >>conftest.
$ac_ext <<_ACEOF
34162 /* end confdefs.h. */
34163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34165 #define $ac_func innocuous_$ac_func
34167 /* System header to define __stub macros and hopefully few prototypes,
34168 which can conflict with char $ac_func (); below.
34169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34170 <limits.h> exists even on freestanding compilers. */
34173 # include <limits.h>
34175 # include <assert.h>
34180 /* Override any gcc2 internal prototype to avoid an error. */
34185 /* We use char because int might match the return type of a gcc2
34186 builtin and then its argument prototype would still apply. */
34188 /* The GNU C library defines this for functions which it implements
34189 to always fail with ENOSYS. Some functions are actually named
34190 something starting with __ and the normal name is an alias. */
34191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34194 char (*f) () = $ac_func;
34203 return f != $ac_func;
34208 rm -f conftest.
$ac_objext conftest
$ac_exeext
34209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34210 (eval $ac_link) 2>conftest.er1
34212 grep -v '^ *+' conftest.er1
>conftest.err
34214 cat conftest.err
>&5
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); } &&
34217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; } &&
34223 { ac_try
='test -s conftest$ac_exeext'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; }; then
34229 eval "$as_ac_var=yes"
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.
$ac_ext >&5
34234 eval "$as_ac_var=no"
34236 rm -f conftest.err conftest.
$ac_objext \
34237 conftest
$ac_exeext conftest.
$ac_ext
34239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34241 if test `eval echo '${'$as_ac_var'}'` = yes; then
34242 cat >>confdefs.h
<<_ACEOF
34243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34246 cat >>confdefs.h
<<\_ACEOF
34247 #define HAVE_SHL_LOAD 1
34254 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34255 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34256 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34257 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 ac_check_lib_save_LIBS
=$LIBS
34260 LIBS
="-lshl_load $LIBS"
34261 cat >conftest.
$ac_ext <<_ACEOF
34264 cat confdefs.h
>>conftest.
$ac_ext
34265 cat >>conftest.
$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34268 /* Override any gcc2 internal prototype to avoid an error. */
34272 /* We use char because int might match the return type of a gcc2
34273 builtin and then its argument prototype would still apply. */
34283 rm -f conftest.
$ac_objext conftest
$ac_exeext
34284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34285 (eval $ac_link) 2>conftest.er1
34287 grep -v '^ *+' conftest.er1
>conftest.err
34289 cat conftest.err
>&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } &&
34292 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34294 (eval $ac_try) 2>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); }; } &&
34298 { ac_try
='test -s conftest$ac_exeext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304 ac_cv_lib_shl_load_dld
=yes
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.
$ac_ext >&5
34309 ac_cv_lib_shl_load_dld
=no
34311 rm -f conftest.err conftest.
$ac_objext \
34312 conftest
$ac_exeext conftest.
$ac_ext
34313 LIBS
=$ac_check_lib_save_LIBS
34315 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34316 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34317 if test $ac_cv_lib_shl_load_dld = yes; then
34320 DL_LINK
=" -ldld$DL_LINK"
34336 if test "$HAVE_DL_FUNCS" = 1; then
34338 for ac_func
in dlerror
34340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34341 echo "$as_me:$LINENO: checking for $ac_func" >&5
34342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34343 if eval "test \"\${$as_ac_var+set}\" = set"; then
34344 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 cat >conftest.
$ac_ext <<_ACEOF
34349 cat confdefs.h
>>conftest.
$ac_ext
34350 cat >>conftest.
$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34354 #define $ac_func innocuous_$ac_func
34356 /* System header to define __stub macros and hopefully few prototypes,
34357 which can conflict with char $ac_func (); below.
34358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34359 <limits.h> exists even on freestanding compilers. */
34362 # include <limits.h>
34364 # include <assert.h>
34369 /* Override any gcc2 internal prototype to avoid an error. */
34374 /* We use char because int might match the return type of a gcc2
34375 builtin and then its argument prototype would still apply. */
34377 /* The GNU C library defines this for functions which it implements
34378 to always fail with ENOSYS. Some functions are actually named
34379 something starting with __ and the normal name is an alias. */
34380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34383 char (*f) () = $ac_func;
34392 return f != $ac_func;
34397 rm -f conftest.
$ac_objext conftest
$ac_exeext
34398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34399 (eval $ac_link) 2>conftest.er1
34401 grep -v '^ *+' conftest.er1
>conftest.err
34403 cat conftest.err
>&5
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); } &&
34406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; } &&
34412 { ac_try
='test -s conftest$ac_exeext'
34413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34414 (eval $ac_try) 2>&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); }; }; then
34418 eval "$as_ac_var=yes"
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.
$ac_ext >&5
34423 eval "$as_ac_var=no"
34425 rm -f conftest.err conftest.
$ac_objext \
34426 conftest
$ac_exeext conftest.
$ac_ext
34428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34430 if test `eval echo '${'$as_ac_var'}'` = yes; then
34431 cat >>confdefs.h
<<_ACEOF
34432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34434 cat >>confdefs.h
<<\_ACEOF
34435 #define HAVE_DLERROR 1
34440 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34441 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34442 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34443 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 ac_check_lib_save_LIBS
=$LIBS
34447 cat >conftest.
$ac_ext <<_ACEOF
34450 cat confdefs.h
>>conftest.
$ac_ext
34451 cat >>conftest.
$ac_ext <<_ACEOF
34452 /* end confdefs.h. */
34454 /* Override any gcc2 internal prototype to avoid an error. */
34458 /* We use char because int might match the return type of a gcc2
34459 builtin and then its argument prototype would still apply. */
34469 rm -f conftest.
$ac_objext conftest
$ac_exeext
34470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34471 (eval $ac_link) 2>conftest.er1
34473 grep -v '^ *+' conftest.er1
>conftest.err
34475 cat conftest.err
>&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } &&
34478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try
='test -s conftest$ac_exeext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 ac_cv_lib_dl_dlerror
=yes
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.
$ac_ext >&5
34495 ac_cv_lib_dl_dlerror
=no
34497 rm -f conftest.err conftest.
$ac_objext \
34498 conftest
$ac_exeext conftest.
$ac_ext
34499 LIBS
=$ac_check_lib_save_LIBS
34501 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34502 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34503 if test $ac_cv_lib_dl_dlerror = yes; then
34504 cat >>confdefs.h
<<\_ACEOF
34505 #define HAVE_DLERROR 1
34518 if test "$HAVE_DL_FUNCS" = 0; then
34519 if test "$HAVE_SHL_FUNCS" = 0; then
34520 if test "$USE_UNIX" = 1; then
34521 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34522 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34523 wxUSE_DYNAMIC_LOADER
=no
34524 wxUSE_DYNLIB_CLASS
=no
34526 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34527 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34534 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34535 cat >>confdefs.h
<<\_ACEOF
34536 #define wxUSE_DYNAMIC_LOADER 1
34540 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34541 cat >>confdefs.h
<<\_ACEOF
34542 #define wxUSE_DYNLIB_CLASS 1
34549 if test "$wxUSE_PLUGINS" = "yes" ; then
34550 if test "$wxUSE_SHARED" = "no" ; then
34551 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34552 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34555 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34556 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34557 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34560 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34561 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34562 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34565 if test "$wxUSE_PLUGINS" = "yes" ; then
34566 cat >>confdefs.h
<<\_ACEOF
34567 #define wxUSE_PLUGINS 1
34574 if test "$wxUSE_STL" = "yes"; then
34575 cat >>confdefs.h
<<\_ACEOF
34576 #define wxUSE_STL 1
34581 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34582 cat >>confdefs.h
<<\_ACEOF
34583 #define wxUSE_APPLE_IEEE 1
34588 if test "$wxUSE_TIMER" = "yes"; then
34589 cat >>confdefs.h
<<\_ACEOF
34590 #define wxUSE_TIMER 1
34596 if test "$wxUSE_SOUND" = "yes"; then
34597 if test "$USE_UNIX" = "1" ; then
34599 for ac_header
in sys
/soundcard.h
34601 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34603 echo "$as_me:$LINENO: checking for $ac_header" >&5
34604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34611 # Is the header compilable?
34612 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34613 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34614 cat >conftest.
$ac_ext <<_ACEOF
34617 cat confdefs.h
>>conftest.
$ac_ext
34618 cat >>conftest.
$ac_ext <<_ACEOF
34619 /* end confdefs.h. */
34620 $ac_includes_default
34621 #include <$ac_header>
34623 rm -f conftest.
$ac_objext
34624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34625 (eval $ac_compile) 2>conftest.er1
34627 grep -v '^ *+' conftest.er1
>conftest.err
34629 cat conftest.err
>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } &&
34632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; } &&
34638 { ac_try
='test -s conftest.$ac_objext'
34639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640 (eval $ac_try) 2>&5
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; }; then
34644 ac_header_compiler
=yes
34646 echo "$as_me: failed program was:" >&5
34647 sed 's/^/| /' conftest.
$ac_ext >&5
34649 ac_header_compiler
=no
34651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34653 echo "${ECHO_T}$ac_header_compiler" >&6
34655 # Is the header present?
34656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34658 cat >conftest.
$ac_ext <<_ACEOF
34661 cat confdefs.h
>>conftest.
$ac_ext
34662 cat >>conftest.
$ac_ext <<_ACEOF
34663 /* end confdefs.h. */
34664 #include <$ac_header>
34666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34667 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34669 grep -v '^ *+' conftest.er1
>conftest.err
34671 cat conftest.err
>&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } >/dev
/null
; then
34674 if test -s conftest.err
; then
34675 ac_cpp_err
=$ac_c_preproc_warn_flag
34676 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34683 if test -z "$ac_cpp_err"; then
34684 ac_header_preproc
=yes
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.
$ac_ext >&5
34689 ac_header_preproc
=no
34691 rm -f conftest.err conftest.
$ac_ext
34692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34693 echo "${ECHO_T}$ac_header_preproc" >&6
34695 # So? What about this header?
34696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34702 ac_header_preproc
=yes
34705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34719 ## ----------------------------------------- ##
34720 ## Report this to wx-dev@lists.wxwidgets.org ##
34721 ## ----------------------------------------- ##
34724 sed "s/^/$as_me: WARNING: /" >&2
34727 echo "$as_me:$LINENO: checking for $ac_header" >&5
34728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 eval "$as_ac_Header=\$ac_header_preproc"
34734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34739 cat >>confdefs.h
<<_ACEOF
34740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34748 if test "$wxUSE_LIBSDL" != "no"; then
34750 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34751 if test "${with_sdl_prefix+set}" = set; then
34752 withval
="$with_sdl_prefix"
34753 sdl_prefix
="$withval"
34758 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34759 if test "${with_sdl_exec_prefix+set}" = set; then
34760 withval
="$with_sdl_exec_prefix"
34761 sdl_exec_prefix
="$withval"
34765 # Check whether --enable-sdltest or --disable-sdltest was given.
34766 if test "${enable_sdltest+set}" = set; then
34767 enableval
="$enable_sdltest"
34773 if test x
$sdl_exec_prefix != x
; then
34774 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34775 if test x
${SDL_CONFIG+set} != xset
; then
34776 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34779 if test x
$sdl_prefix != x
; then
34780 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34781 if test x
${SDL_CONFIG+set} != xset
; then
34782 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34787 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34788 # Extract the first word of "sdl-config", so it can be a program name with args.
34789 set dummy sdl
-config; ac_word
=$2
34790 echo "$as_me:$LINENO: checking for $ac_word" >&5
34791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34792 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34793 echo $ECHO_N "(cached) $ECHO_C" >&6
34795 case $SDL_CONFIG in
34797 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34801 for as_dir
in $PATH
34804 test -z "$as_dir" && as_dir
=.
34805 for ac_exec_ext
in '' $ac_executable_extensions; do
34806 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34807 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34814 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34818 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34820 if test -n "$SDL_CONFIG"; then
34821 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34822 echo "${ECHO_T}$SDL_CONFIG" >&6
34824 echo "$as_me:$LINENO: result: no" >&5
34825 echo "${ECHO_T}no" >&6
34828 min_sdl_version
=1.2.0
34829 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34830 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34832 if test "$SDL_CONFIG" = "no" ; then
34835 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34836 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34838 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34840 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34842 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34844 if test "x$enable_sdltest" = "xyes" ; then
34845 ac_save_CFLAGS
="$CFLAGS"
34846 ac_save_LIBS
="$LIBS"
34847 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34848 LIBS
="$LIBS $SDL_LIBS"
34850 if test "$cross_compiling" = yes; then
34851 echo $ac_n "cross compiling; assumed OK... $ac_c"
34853 cat >conftest.
$ac_ext <<_ACEOF
34856 cat confdefs.h
>>conftest.
$ac_ext
34857 cat >>conftest.
$ac_ext <<_ACEOF
34858 /* end confdefs.h. */
34861 #include <stdlib.h>
34862 #include <string.h>
34866 my_strdup (char *str)
34872 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34873 strcpy (new_str, str);
34881 int main (int argc, char *argv[])
34883 int major, minor, micro;
34886 /* This hangs on some systems (?)
34887 system ("touch conf.sdltest");
34889 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34891 /* HP/UX 9 (%@#!) writes to sscanf strings */
34892 tmp_version = my_strdup("$min_sdl_version");
34893 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34894 printf("%s, bad version string\n", "$min_sdl_version");
34898 if (($sdl_major_version > major) ||
34899 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34900 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34906 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34907 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34908 printf("*** best to upgrade to the required version.\n");
34909 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34910 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34911 printf("*** config.cache before re-running configure\n");
34918 rm -f conftest
$ac_exeext
34919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34920 (eval $ac_link) 2>&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34925 (eval $ac_try) 2>&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); }; }; then
34931 echo "$as_me: program exited with status $ac_status" >&5
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.
$ac_ext >&5
34935 ( exit $ac_status )
34938 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34940 CFLAGS
="$ac_save_CFLAGS"
34941 LIBS
="$ac_save_LIBS"
34944 if test "x$no_sdl" = x
; then
34945 echo "$as_me:$LINENO: result: yes" >&5
34946 echo "${ECHO_T}yes" >&6
34948 EXTRALIBS_SDL
="$SDL_LIBS"
34949 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34950 cat >>confdefs.h
<<\_ACEOF
34951 #define wxUSE_LIBSDL 1
34956 echo "$as_me:$LINENO: result: no" >&5
34957 echo "${ECHO_T}no" >&6
34958 if test "$SDL_CONFIG" = "no" ; then
34959 echo "*** The sdl-config script installed by SDL could not be found"
34960 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34961 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34962 echo "*** full path to sdl-config."
34964 if test -f conf.sdltest
; then
34967 echo "*** Could not run SDL test program, checking why..."
34968 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34969 LIBS
="$LIBS $SDL_LIBS"
34970 cat >conftest.
$ac_ext <<_ACEOF
34973 cat confdefs.h
>>conftest.
$ac_ext
34974 cat >>conftest.
$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34980 int main(int argc, char *argv[])
34983 #define main K_and_R_C_main
34993 rm -f conftest.
$ac_objext conftest
$ac_exeext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34995 (eval $ac_link) 2>conftest.er1
34997 grep -v '^ *+' conftest.er1
>conftest.err
34999 cat conftest.err
>&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } &&
35002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; } &&
35008 { ac_try
='test -s conftest$ac_exeext'
35009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010 (eval $ac_try) 2>&5
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); }; }; then
35014 echo "*** The test program compiled, but did not run. This usually means"
35015 echo "*** that the run-time linker is not finding SDL or finding the wrong"
35016 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
35017 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
35018 echo "*** to the installed location Also, make sure you have run ldconfig if that"
35019 echo "*** is required on your system"
35021 echo "*** If you have an old version installed, it is best to remove it, although"
35022 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
35024 echo "$as_me: failed program was:" >&5
35025 sed 's/^/| /' conftest.
$ac_ext >&5
35027 echo "*** The test program failed to compile or link. See the file config.log for the"
35028 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
35029 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
35030 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
35032 rm -f conftest.err conftest.
$ac_objext \
35033 conftest
$ac_exeext conftest.
$ac_ext
35034 CFLAGS
="$ac_save_CFLAGS"
35035 LIBS
="$ac_save_LIBS"
35046 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
35052 cat >>confdefs.h
<<\_ACEOF
35053 #define wxUSE_SOUND 1
35056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
35059 if test "$WXGTK20" = 1; then
35060 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35061 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
35066 if test -z "$PKG_CONFIG"; then
35067 # Extract the first word of "pkg-config", so it can be a program name with args.
35068 set dummy pkg
-config; ac_word
=$2
35069 echo "$as_me:$LINENO: checking for $ac_word" >&5
35070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35071 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35074 case $PKG_CONFIG in
35076 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35080 for as_dir
in $PATH
35083 test -z "$as_dir" && as_dir
=.
35084 for ac_exec_ext
in '' $ac_executable_extensions; do
35085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35086 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35093 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
35097 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35099 if test -n "$PKG_CONFIG"; then
35100 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35101 echo "${ECHO_T}$PKG_CONFIG" >&6
35103 echo "$as_me:$LINENO: result: no" >&5
35104 echo "${ECHO_T}no" >&6
35109 if test "$PKG_CONFIG" = "no" ; then
35110 echo "*** The pkg-config script could not be found. Make sure it is"
35111 echo "*** in your path, or set the PKG_CONFIG environment variable"
35112 echo "*** to the full path to pkg-config."
35113 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
35115 PKG_CONFIG_MIN_VERSION
=0.9.0
35116 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
35117 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
35118 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
35120 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
35121 echo "$as_me:$LINENO: result: yes" >&5
35122 echo "${ECHO_T}yes" >&6
35125 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
35126 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
35127 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
35128 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
35129 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
35131 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
35132 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
35133 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
35134 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
35135 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
35137 LIBGNOMEPRINTUI_CFLAGS
=""
35138 LIBGNOMEPRINTUI_LIBS
=""
35139 ## If we have a custom action on failure, don't print errors, but
35140 ## do set a variable so people can do so.
35141 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
35148 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35149 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35153 if test $succeeded = yes; then
35155 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35156 cat >>confdefs.h
<<\_ACEOF
35157 #define wxUSE_LIBGNOMEPRINT 1
35163 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35164 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35165 wxUSE_LIBGNOMEPRINT
="no"
35175 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35176 cat >>confdefs.h
<<\_ACEOF
35177 #define wxUSE_CMDLINE_PARSER 1
35182 if test "$wxUSE_STOPWATCH" = "yes"; then
35183 cat >>confdefs.h
<<\_ACEOF
35184 #define wxUSE_STOPWATCH 1
35189 if test "$wxUSE_DATETIME" = "yes"; then
35190 cat >>confdefs.h
<<\_ACEOF
35191 #define wxUSE_DATETIME 1
35196 if test "$wxUSE_FILE" = "yes"; then
35197 cat >>confdefs.h
<<\_ACEOF
35198 #define wxUSE_FILE 1
35203 if test "$wxUSE_FFILE" = "yes"; then
35204 cat >>confdefs.h
<<\_ACEOF
35205 #define wxUSE_FFILE 1
35210 if test "$wxUSE_FILESYSTEM" = "yes"; then
35211 cat >>confdefs.h
<<\_ACEOF
35212 #define wxUSE_FILESYSTEM 1
35217 if test "$wxUSE_FS_ZIP" = "yes"; then
35218 cat >>confdefs.h
<<\_ACEOF
35219 #define wxUSE_FS_ZIP 1
35224 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35225 cat >>confdefs.h
<<\_ACEOF
35226 #define wxUSE_ZIPSTREAM 1
35231 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35232 cat >>confdefs.h
<<\_ACEOF
35233 #define wxUSE_ON_FATAL_EXCEPTION 1
35238 if test "$wxUSE_STACKWALKER" = "yes"; then
35239 cat >>confdefs.h
<<\_ACEOF
35240 #define wxUSE_STACKWALKER 1
35245 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35246 cat >>confdefs.h
<<\_ACEOF
35247 #define wxUSE_SNGLINST_CHECKER 1
35252 if test "$wxUSE_BUSYINFO" = "yes"; then
35253 cat >>confdefs.h
<<\_ACEOF
35254 #define wxUSE_BUSYINFO 1
35259 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35260 cat >>confdefs.h
<<\_ACEOF
35261 #define wxUSE_STD_IOSTREAM 1
35266 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35267 cat >>confdefs.h
<<\_ACEOF
35268 #define wxUSE_TEXTBUFFER 1
35273 if test "$wxUSE_TEXTFILE" = "yes"; then
35274 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35275 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35276 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35278 cat >>confdefs.h
<<\_ACEOF
35279 #define wxUSE_TEXTFILE 1
35285 if test "$wxUSE_CONFIG" = "yes" ; then
35286 if test "$wxUSE_TEXTFILE" != "yes"; then
35287 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35288 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35290 cat >>confdefs.h
<<\_ACEOF
35291 #define wxUSE_CONFIG 1
35294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35298 if test "$wxUSE_INTL" = "yes" ; then
35299 if test "$wxUSE_FILE" != "yes"; then
35300 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35301 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35303 cat >>confdefs.h
<<\_ACEOF
35304 #define wxUSE_INTL 1
35307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35308 GUIDIST
="$GUIDIST INTL_DIST"
35312 if test "$wxUSE_LOG" = "yes"; then
35313 cat >>confdefs.h
<<\_ACEOF
35314 #define wxUSE_LOG 1
35318 if test "$wxUSE_LOGGUI" = "yes"; then
35319 cat >>confdefs.h
<<\_ACEOF
35320 #define wxUSE_LOGGUI 1
35325 if test "$wxUSE_LOGWINDOW" = "yes"; then
35326 cat >>confdefs.h
<<\_ACEOF
35327 #define wxUSE_LOGWINDOW 1
35332 if test "$wxUSE_LOGDIALOG" = "yes"; then
35333 cat >>confdefs.h
<<\_ACEOF
35334 #define wxUSE_LOG_DIALOG 1
35340 if test "$wxUSE_LONGLONG" = "yes"; then
35341 cat >>confdefs.h
<<\_ACEOF
35342 #define wxUSE_LONGLONG 1
35347 if test "$wxUSE_GEOMETRY" = "yes"; then
35348 cat >>confdefs.h
<<\_ACEOF
35349 #define wxUSE_GEOMETRY 1
35354 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35355 cat >>confdefs.h
<<\_ACEOF
35356 #define wxUSE_DIALUP_MANAGER 1
35359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35362 if test "$wxUSE_STREAMS" = "yes" ; then
35363 cat >>confdefs.h
<<\_ACEOF
35364 #define wxUSE_STREAMS 1
35370 if test "$wxUSE_DATETIME" = "yes"; then
35372 for ac_func
in strptime
35374 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35375 echo "$as_me:$LINENO: checking for $ac_func" >&5
35376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35377 if eval "test \"\${$as_ac_var+set}\" = set"; then
35378 echo $ECHO_N "(cached) $ECHO_C" >&6
35380 cat >conftest.
$ac_ext <<_ACEOF
35383 cat confdefs.h
>>conftest.
$ac_ext
35384 cat >>conftest.
$ac_ext <<_ACEOF
35385 /* end confdefs.h. */
35386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35388 #define $ac_func innocuous_$ac_func
35390 /* System header to define __stub macros and hopefully few prototypes,
35391 which can conflict with char $ac_func (); below.
35392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35393 <limits.h> exists even on freestanding compilers. */
35396 # include <limits.h>
35398 # include <assert.h>
35403 /* Override any gcc2 internal prototype to avoid an error. */
35408 /* We use char because int might match the return type of a gcc2
35409 builtin and then its argument prototype would still apply. */
35411 /* The GNU C library defines this for functions which it implements
35412 to always fail with ENOSYS. Some functions are actually named
35413 something starting with __ and the normal name is an alias. */
35414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35417 char (*f) () = $ac_func;
35426 return f != $ac_func;
35431 rm -f conftest.
$ac_objext conftest
$ac_exeext
35432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35433 (eval $ac_link) 2>conftest.er1
35435 grep -v '^ *+' conftest.er1
>conftest.err
35437 cat conftest.err
>&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } &&
35440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; } &&
35446 { ac_try
='test -s conftest$ac_exeext'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; }; then
35452 eval "$as_ac_var=yes"
35454 echo "$as_me: failed program was:" >&5
35455 sed 's/^/| /' conftest.
$ac_ext >&5
35457 eval "$as_ac_var=no"
35459 rm -f conftest.err conftest.
$ac_objext \
35460 conftest
$ac_exeext conftest.
$ac_ext
35462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35464 if test `eval echo '${'$as_ac_var'}'` = yes; then
35465 cat >>confdefs.h
<<_ACEOF
35466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35473 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35474 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35475 if test "${wx_cv_var_timezone+set}" = set; then
35476 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 cat >conftest.
$ac_ext <<_ACEOF
35482 cat confdefs.h
>>conftest.
$ac_ext
35483 cat >>conftest.
$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35499 rm -f conftest.
$ac_objext
35500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35501 (eval $ac_compile) 2>conftest.er1
35503 grep -v '^ *+' conftest.er1
>conftest.err
35505 cat conftest.err
>&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); } &&
35508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35510 (eval $ac_try) 2>&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); }; } &&
35514 { ac_try
='test -s conftest.$ac_objext'
35515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35516 (eval $ac_try) 2>&5
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); }; }; then
35521 wx_cv_var_timezone
=timezone
35524 echo "$as_me: failed program was:" >&5
35525 sed 's/^/| /' conftest.
$ac_ext >&5
35528 cat >conftest.
$ac_ext <<_ACEOF
35531 cat confdefs.h
>>conftest.
$ac_ext
35532 cat >>conftest.
$ac_ext <<_ACEOF
35533 /* end confdefs.h. */
35548 rm -f conftest.
$ac_objext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35550 (eval $ac_compile) 2>conftest.er1
35552 grep -v '^ *+' conftest.er1
>conftest.err
35554 cat conftest.err
>&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); } &&
35557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35559 (eval $ac_try) 2>&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); }; } &&
35563 { ac_try
='test -s conftest.$ac_objext'
35564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35565 (eval $ac_try) 2>&5
35567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568 (exit $ac_status); }; }; then
35570 wx_cv_var_timezone
=_timezone
35573 echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.
$ac_ext >&5
35577 cat >conftest.
$ac_ext <<_ACEOF
35580 cat confdefs.h
>>conftest.
$ac_ext
35581 cat >>conftest.
$ac_ext <<_ACEOF
35582 /* end confdefs.h. */
35597 rm -f conftest.
$ac_objext
35598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35599 (eval $ac_compile) 2>conftest.er1
35601 grep -v '^ *+' conftest.er1
>conftest.err
35603 cat conftest.err
>&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); } &&
35606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35608 (eval $ac_try) 2>&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); }; } &&
35612 { ac_try
='test -s conftest.$ac_objext'
35613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35614 (eval $ac_try) 2>&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); }; }; then
35619 wx_cv_var_timezone
=__timezone
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.
$ac_ext >&5
35626 if test "$USE_DOS" = 0 ; then
35627 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35628 echo "$as_me: WARNING: no timezone variable" >&2;}
35633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35645 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35646 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35648 if test "x$wx_cv_var_timezone" != x
; then
35649 cat >>confdefs.h
<<_ACEOF
35650 #define WX_TIMEZONE $wx_cv_var_timezone
35656 for ac_func
in localtime
35658 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35659 echo "$as_me:$LINENO: checking for $ac_func" >&5
35660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35661 if eval "test \"\${$as_ac_var+set}\" = set"; then
35662 echo $ECHO_N "(cached) $ECHO_C" >&6
35664 cat >conftest.
$ac_ext <<_ACEOF
35667 cat confdefs.h
>>conftest.
$ac_ext
35668 cat >>conftest.
$ac_ext <<_ACEOF
35669 /* end confdefs.h. */
35670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35672 #define $ac_func innocuous_$ac_func
35674 /* System header to define __stub macros and hopefully few prototypes,
35675 which can conflict with char $ac_func (); below.
35676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35677 <limits.h> exists even on freestanding compilers. */
35680 # include <limits.h>
35682 # include <assert.h>
35687 /* Override any gcc2 internal prototype to avoid an error. */
35692 /* We use char because int might match the return type of a gcc2
35693 builtin and then its argument prototype would still apply. */
35695 /* The GNU C library defines this for functions which it implements
35696 to always fail with ENOSYS. Some functions are actually named
35697 something starting with __ and the normal name is an alias. */
35698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35701 char (*f) () = $ac_func;
35710 return f != $ac_func;
35715 rm -f conftest.
$ac_objext conftest
$ac_exeext
35716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35717 (eval $ac_link) 2>conftest.er1
35719 grep -v '^ *+' conftest.er1
>conftest.err
35721 cat conftest.err
>&5
35722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35723 (exit $ac_status); } &&
35724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35726 (eval $ac_try) 2>&5
35728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35729 (exit $ac_status); }; } &&
35730 { ac_try
='test -s conftest$ac_exeext'
35731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35732 (eval $ac_try) 2>&5
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); }; }; then
35736 eval "$as_ac_var=yes"
35738 echo "$as_me: failed program was:" >&5
35739 sed 's/^/| /' conftest.
$ac_ext >&5
35741 eval "$as_ac_var=no"
35743 rm -f conftest.err conftest.
$ac_objext \
35744 conftest
$ac_exeext conftest.
$ac_ext
35746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35748 if test `eval echo '${'$as_ac_var'}'` = yes; then
35749 cat >>confdefs.h
<<_ACEOF
35750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35757 if test "$ac_cv_func_localtime" = "yes"; then
35758 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35759 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35760 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35761 echo $ECHO_N "(cached) $ECHO_C" >&6
35764 cat >conftest.
$ac_ext <<_ACEOF
35767 cat confdefs.h
>>conftest.
$ac_ext
35768 cat >>conftest.
$ac_ext <<_ACEOF
35769 /* end confdefs.h. */
35784 rm -f conftest.
$ac_objext
35785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35786 (eval $ac_compile) 2>conftest.er1
35788 grep -v '^ *+' conftest.er1
>conftest.err
35790 cat conftest.err
>&5
35791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35792 (exit $ac_status); } &&
35793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795 (eval $ac_try) 2>&5
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); }; } &&
35799 { ac_try
='test -s conftest.$ac_objext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35806 wx_cv_struct_tm_has_gmtoff
=yes
35809 echo "$as_me: failed program was:" >&5
35810 sed 's/^/| /' conftest.
$ac_ext >&5
35812 wx_cv_struct_tm_has_gmtoff
=no
35815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35818 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35819 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35822 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35823 cat >>confdefs.h
<<\_ACEOF
35824 #define WX_GMTOFF_IN_TM 1
35831 for ac_func
in gettimeofday ftime
35833 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35834 echo "$as_me:$LINENO: checking for $ac_func" >&5
35835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35836 if eval "test \"\${$as_ac_var+set}\" = set"; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35839 cat >conftest.
$ac_ext <<_ACEOF
35842 cat confdefs.h
>>conftest.
$ac_ext
35843 cat >>conftest.
$ac_ext <<_ACEOF
35844 /* end confdefs.h. */
35845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35847 #define $ac_func innocuous_$ac_func
35849 /* System header to define __stub macros and hopefully few prototypes,
35850 which can conflict with char $ac_func (); below.
35851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35852 <limits.h> exists even on freestanding compilers. */
35855 # include <limits.h>
35857 # include <assert.h>
35862 /* Override any gcc2 internal prototype to avoid an error. */
35867 /* We use char because int might match the return type of a gcc2
35868 builtin and then its argument prototype would still apply. */
35870 /* The GNU C library defines this for functions which it implements
35871 to always fail with ENOSYS. Some functions are actually named
35872 something starting with __ and the normal name is an alias. */
35873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35876 char (*f) () = $ac_func;
35885 return f != $ac_func;
35890 rm -f conftest.
$ac_objext conftest
$ac_exeext
35891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35892 (eval $ac_link) 2>conftest.er1
35894 grep -v '^ *+' conftest.er1
>conftest.err
35896 cat conftest.err
>&5
35897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35898 (exit $ac_status); } &&
35899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; } &&
35905 { ac_try
='test -s conftest$ac_exeext'
35906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907 (eval $ac_try) 2>&5
35909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910 (exit $ac_status); }; }; then
35911 eval "$as_ac_var=yes"
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.
$ac_ext >&5
35916 eval "$as_ac_var=no"
35918 rm -f conftest.err conftest.
$ac_objext \
35919 conftest
$ac_exeext conftest.
$ac_ext
35921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35923 if test `eval echo '${'$as_ac_var'}'` = yes; then
35924 cat >>confdefs.h
<<_ACEOF
35925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35932 if test "$ac_cv_func_gettimeofday" = "yes"; then
35933 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35934 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35935 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35936 echo $ECHO_N "(cached) $ECHO_C" >&6
35942 ac_cpp
='$CXXCPP $CPPFLAGS'
35943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35948 cat >conftest.
$ac_ext <<_ACEOF
35951 cat confdefs.h
>>conftest.
$ac_ext
35952 cat >>conftest.
$ac_ext <<_ACEOF
35953 /* end confdefs.h. */
35955 #include <sys/time.h>
35956 #include <unistd.h>
35963 gettimeofday(&tv, NULL);
35969 rm -f conftest.
$ac_objext
35970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35971 (eval $ac_compile) 2>conftest.er1
35973 grep -v '^ *+' conftest.er1
>conftest.err
35975 cat conftest.err
>&5
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); } &&
35978 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35980 (eval $ac_try) 2>&5
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); }; } &&
35984 { ac_try
='test -s conftest.$ac_objext'
35985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35986 (eval $ac_try) 2>&5
35988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989 (exit $ac_status); }; }; then
35990 wx_cv_func_gettimeofday_has_2_args
=yes
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.
$ac_ext >&5
35995 cat >conftest.
$ac_ext <<_ACEOF
35998 cat confdefs.h
>>conftest.
$ac_ext
35999 cat >>conftest.
$ac_ext <<_ACEOF
36000 /* end confdefs.h. */
36002 #include <sys/time.h>
36003 #include <unistd.h>
36016 rm -f conftest.
$ac_objext
36017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36018 (eval $ac_compile) 2>conftest.er1
36020 grep -v '^ *+' conftest.er1
>conftest.err
36022 cat conftest.err
>&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } &&
36025 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36027 (eval $ac_try) 2>&5
36029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030 (exit $ac_status); }; } &&
36031 { ac_try
='test -s conftest.$ac_objext'
36032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36033 (eval $ac_try) 2>&5
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); }; }; then
36037 wx_cv_func_gettimeofday_has_2_args
=no
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.
$ac_ext >&5
36043 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
36044 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
36045 wx_cv_func_gettimeofday_has_2_args
=unknown
36049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36054 ac_cpp
='$CPP $CPPFLAGS'
36055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36061 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
36062 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
36064 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
36065 cat >>confdefs.h
<<\_ACEOF
36066 #define WX_GETTIMEOFDAY_NO_TZ 1
36072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
36076 if test "$wxUSE_SOCKETS" = "yes"; then
36077 if test "$wxUSE_MGL" = "1"; then
36078 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
36079 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
36084 if test "$wxUSE_SOCKETS" = "yes"; then
36085 if test "$TOOLKIT" != "MSW"; then
36086 echo "$as_me:$LINENO: checking for socket" >&5
36087 echo $ECHO_N "checking for socket... $ECHO_C" >&6
36088 if test "${ac_cv_func_socket+set}" = set; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36091 cat >conftest.
$ac_ext <<_ACEOF
36094 cat confdefs.h
>>conftest.
$ac_ext
36095 cat >>conftest.
$ac_ext <<_ACEOF
36096 /* end confdefs.h. */
36097 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
36098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36099 #define socket innocuous_socket
36101 /* System header to define __stub macros and hopefully few prototypes,
36102 which can conflict with char socket (); below.
36103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36104 <limits.h> exists even on freestanding compilers. */
36107 # include <limits.h>
36109 # include <assert.h>
36114 /* Override any gcc2 internal prototype to avoid an error. */
36119 /* We use char because int might match the return type of a gcc2
36120 builtin and then its argument prototype would still apply. */
36122 /* The GNU C library defines this for functions which it implements
36123 to always fail with ENOSYS. Some functions are actually named
36124 something starting with __ and the normal name is an alias. */
36125 #if defined (__stub_socket) || defined (__stub___socket)
36128 char (*f) () = socket;
36137 return f != socket;
36142 rm -f conftest.
$ac_objext conftest
$ac_exeext
36143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36144 (eval $ac_link) 2>conftest.er1
36146 grep -v '^ *+' conftest.er1
>conftest.err
36148 cat conftest.err
>&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } &&
36151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36153 (eval $ac_try) 2>&5
36155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36156 (exit $ac_status); }; } &&
36157 { ac_try
='test -s conftest$ac_exeext'
36158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36159 (eval $ac_try) 2>&5
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); }; }; then
36163 ac_cv_func_socket
=yes
36165 echo "$as_me: failed program was:" >&5
36166 sed 's/^/| /' conftest.
$ac_ext >&5
36168 ac_cv_func_socket
=no
36170 rm -f conftest.err conftest.
$ac_objext \
36171 conftest
$ac_exeext conftest.
$ac_ext
36173 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36174 echo "${ECHO_T}$ac_cv_func_socket" >&6
36175 if test $ac_cv_func_socket = yes; then
36179 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36180 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36181 if test "${ac_cv_lib_socket_socket+set}" = set; then
36182 echo $ECHO_N "(cached) $ECHO_C" >&6
36184 ac_check_lib_save_LIBS
=$LIBS
36185 LIBS
="-lsocket $LIBS"
36186 cat >conftest.
$ac_ext <<_ACEOF
36189 cat confdefs.h
>>conftest.
$ac_ext
36190 cat >>conftest.
$ac_ext <<_ACEOF
36191 /* end confdefs.h. */
36193 /* Override any gcc2 internal prototype to avoid an error. */
36197 /* We use char because int might match the return type of a gcc2
36198 builtin and then its argument prototype would still apply. */
36208 rm -f conftest.
$ac_objext conftest
$ac_exeext
36209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36210 (eval $ac_link) 2>conftest.er1
36212 grep -v '^ *+' conftest.er1
>conftest.err
36214 cat conftest.err
>&5
36215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36216 (exit $ac_status); } &&
36217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36219 (eval $ac_try) 2>&5
36221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36222 (exit $ac_status); }; } &&
36223 { ac_try
='test -s conftest$ac_exeext'
36224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36225 (eval $ac_try) 2>&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); }; }; then
36229 ac_cv_lib_socket_socket
=yes
36231 echo "$as_me: failed program was:" >&5
36232 sed 's/^/| /' conftest.
$ac_ext >&5
36234 ac_cv_lib_socket_socket
=no
36236 rm -f conftest.err conftest.
$ac_objext \
36237 conftest
$ac_exeext conftest.
$ac_ext
36238 LIBS
=$ac_check_lib_save_LIBS
36240 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36241 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36242 if test $ac_cv_lib_socket_socket = yes; then
36243 if test "$INET_LINK" != " -lsocket"; then
36244 INET_LINK
="$INET_LINK -lsocket"
36248 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36249 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36262 if test "$wxUSE_SOCKETS" = "yes" ; then
36263 if test "$TOOLKIT" != "MSW"; then
36265 ac_cpp
='$CXXCPP $CPPFLAGS'
36266 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36267 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36268 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36270 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36271 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36272 if test "${wx_cv_type_getsockname3+set}" = set; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36276 cat >conftest.
$ac_ext <<_ACEOF
36279 cat confdefs.h
>>conftest.
$ac_ext
36280 cat >>conftest.
$ac_ext <<_ACEOF
36281 /* end confdefs.h. */
36283 #include <sys/types.h>
36284 #include <sys/socket.h>
36291 getsockname(0, 0, &len);
36297 rm -f conftest.
$ac_objext
36298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36299 (eval $ac_compile) 2>conftest.er1
36301 grep -v '^ *+' conftest.er1
>conftest.err
36303 cat conftest.err
>&5
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); } &&
36306 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36308 (eval $ac_try) 2>&5
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); }; } &&
36312 { ac_try
='test -s conftest.$ac_objext'
36313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36314 (eval $ac_try) 2>&5
36316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317 (exit $ac_status); }; }; then
36318 wx_cv_type_getsockname3
=socklen_t
36320 echo "$as_me: failed program was:" >&5
36321 sed 's/^/| /' conftest.
$ac_ext >&5
36324 CFLAGS_OLD
="$CFLAGS"
36325 if test "$GCC" = yes ; then
36326 CFLAGS
="$CFLAGS -Werror"
36329 cat >conftest.
$ac_ext <<_ACEOF
36332 cat confdefs.h
>>conftest.
$ac_ext
36333 cat >>conftest.
$ac_ext <<_ACEOF
36334 /* end confdefs.h. */
36336 #include <sys/types.h>
36337 #include <sys/socket.h>
36344 getsockname(0, 0, &len);
36350 rm -f conftest.
$ac_objext
36351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36352 (eval $ac_compile) 2>conftest.er1
36354 grep -v '^ *+' conftest.er1
>conftest.err
36356 cat conftest.err
>&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); } &&
36359 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361 (eval $ac_try) 2>&5
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); }; } &&
36365 { ac_try
='test -s conftest.$ac_objext'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; }; then
36371 wx_cv_type_getsockname3
=size_t
36373 echo "$as_me: failed program was:" >&5
36374 sed 's/^/| /' conftest.
$ac_ext >&5
36376 cat >conftest.
$ac_ext <<_ACEOF
36379 cat confdefs.h
>>conftest.
$ac_ext
36380 cat >>conftest.
$ac_ext <<_ACEOF
36381 /* end confdefs.h. */
36383 #include <sys/types.h>
36384 #include <sys/socket.h>
36391 getsockname(0, 0, &len);
36397 rm -f conftest.
$ac_objext
36398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36399 (eval $ac_compile) 2>conftest.er1
36401 grep -v '^ *+' conftest.er1
>conftest.err
36403 cat conftest.err
>&5
36404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36405 (exit $ac_status); } &&
36406 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36408 (eval $ac_try) 2>&5
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); }; } &&
36412 { ac_try
='test -s conftest.$ac_objext'
36413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36414 (eval $ac_try) 2>&5
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); }; }; then
36418 wx_cv_type_getsockname3
=int
36420 echo "$as_me: failed program was:" >&5
36421 sed 's/^/| /' conftest.
$ac_ext >&5
36423 wx_cv_type_getsockname3
=unknown
36426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36431 CFLAGS
="$CFLAGS_OLD"
36435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36438 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36439 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36441 if test "$wx_cv_type_getsockname3" = "unknown"; then
36443 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36444 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36446 cat >>confdefs.h
<<_ACEOF
36447 #define SOCKLEN_T $wx_cv_type_getsockname3
36451 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
36452 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
36453 if test "${wx_cv_type_getsockopt5+set}" = set; then
36454 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 cat >conftest.
$ac_ext <<_ACEOF
36460 cat confdefs.h
>>conftest.
$ac_ext
36461 cat >>conftest.
$ac_ext <<_ACEOF
36462 /* end confdefs.h. */
36464 #include <sys/types.h>
36465 #include <sys/socket.h>
36472 getsockopt(0, 0, 0, 0, &len);
36478 rm -f conftest.
$ac_objext
36479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36480 (eval $ac_compile) 2>conftest.er1
36482 grep -v '^ *+' conftest.er1
>conftest.err
36484 cat conftest.err
>&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); } &&
36487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; } &&
36493 { ac_try
='test -s conftest.$ac_objext'
36494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36495 (eval $ac_try) 2>&5
36497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36498 (exit $ac_status); }; }; then
36499 wx_cv_type_getsockopt5
=socklen_t
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.
$ac_ext >&5
36505 CFLAGS_OLD
="$CFLAGS"
36506 if test "$GCC" = yes ; then
36507 CFLAGS
="$CFLAGS -Werror"
36510 cat >conftest.
$ac_ext <<_ACEOF
36513 cat confdefs.h
>>conftest.
$ac_ext
36514 cat >>conftest.
$ac_ext <<_ACEOF
36515 /* end confdefs.h. */
36517 #include <sys/types.h>
36518 #include <sys/socket.h>
36525 getsockopt(0, 0, 0, 0, &len);
36531 rm -f conftest.
$ac_objext
36532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36533 (eval $ac_compile) 2>conftest.er1
36535 grep -v '^ *+' conftest.er1
>conftest.err
36537 cat conftest.err
>&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } &&
36540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try
='test -s conftest.$ac_objext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 wx_cv_type_getsockopt5
=size_t
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.
$ac_ext >&5
36557 cat >conftest.
$ac_ext <<_ACEOF
36560 cat confdefs.h
>>conftest.
$ac_ext
36561 cat >>conftest.
$ac_ext <<_ACEOF
36562 /* end confdefs.h. */
36564 #include <sys/types.h>
36565 #include <sys/socket.h>
36572 getsockopt(0, 0, 0, 0, &len);
36578 rm -f conftest.
$ac_objext
36579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36580 (eval $ac_compile) 2>conftest.er1
36582 grep -v '^ *+' conftest.er1
>conftest.err
36584 cat conftest.err
>&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } &&
36587 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36589 (eval $ac_try) 2>&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); }; } &&
36593 { ac_try
='test -s conftest.$ac_objext'
36594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36595 (eval $ac_try) 2>&5
36597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598 (exit $ac_status); }; }; then
36599 wx_cv_type_getsockopt5
=int
36601 echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.
$ac_ext >&5
36604 wx_cv_type_getsockopt5
=unknown
36607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36612 CFLAGS
="$CFLAGS_OLD"
36616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36619 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
36620 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
36622 if test "$wx_cv_type_getsockopt5" = "unknown"; then
36624 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36625 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36627 cat >>confdefs.h
<<_ACEOF
36628 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
36633 ac_cpp
='$CPP $CPPFLAGS'
36634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36641 if test "$wxUSE_SOCKETS" = "yes" ; then
36642 cat >>confdefs.h
<<\_ACEOF
36643 #define wxUSE_SOCKETS 1
36646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
36649 if test "$wxUSE_PROTOCOL" = "yes"; then
36650 if test "$wxUSE_SOCKETS" != "yes"; then
36651 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36652 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36657 if test "$wxUSE_PROTOCOL" = "yes"; then
36658 cat >>confdefs.h
<<\_ACEOF
36659 #define wxUSE_PROTOCOL 1
36663 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36664 cat >>confdefs.h
<<\_ACEOF
36665 #define wxUSE_PROTOCOL_HTTP 1
36669 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_PROTOCOL_FTP 1
36675 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36676 cat >>confdefs.h
<<\_ACEOF
36677 #define wxUSE_PROTOCOL_FILE 1
36682 if test "$wxUSE_FS_INET" = "yes"; then
36683 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36684 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36689 if test "$wxUSE_URL" = "yes"; then
36690 if test "$wxUSE_PROTOCOL" != "yes"; then
36691 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36692 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36695 if test "$wxUSE_URL" = "yes"; then
36696 cat >>confdefs.h
<<\_ACEOF
36697 #define wxUSE_URL 1
36703 if test "$wxUSE_FS_INET" = "yes"; then
36704 cat >>confdefs.h
<<\_ACEOF
36705 #define wxUSE_FS_INET 1
36711 if test "$wxUSE_GUI" = "yes"; then
36713 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36714 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36715 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36719 if test "$TOOLKIT" != "MSW"; then
36720 if test "$wxUSE_JOYSTICK" = "yes"; then
36722 for ac_header
in linux
/joystick.h
36724 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36726 echo "$as_me:$LINENO: checking for $ac_header" >&5
36727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36729 echo $ECHO_N "(cached) $ECHO_C" >&6
36731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36734 # Is the header compilable?
36735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36737 cat >conftest.
$ac_ext <<_ACEOF
36740 cat confdefs.h
>>conftest.
$ac_ext
36741 cat >>conftest.
$ac_ext <<_ACEOF
36742 /* end confdefs.h. */
36743 $ac_includes_default
36744 #include <$ac_header>
36746 rm -f conftest.
$ac_objext
36747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36748 (eval $ac_compile) 2>conftest.er1
36750 grep -v '^ *+' conftest.er1
>conftest.err
36752 cat conftest.err
>&5
36753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36754 (exit $ac_status); } &&
36755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36757 (eval $ac_try) 2>&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); }; } &&
36761 { ac_try
='test -s conftest.$ac_objext'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; }; then
36767 ac_header_compiler
=yes
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.
$ac_ext >&5
36772 ac_header_compiler
=no
36774 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36776 echo "${ECHO_T}$ac_header_compiler" >&6
36778 # Is the header present?
36779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36781 cat >conftest.
$ac_ext <<_ACEOF
36784 cat confdefs.h
>>conftest.
$ac_ext
36785 cat >>conftest.
$ac_ext <<_ACEOF
36786 /* end confdefs.h. */
36787 #include <$ac_header>
36789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36792 grep -v '^ *+' conftest.er1
>conftest.err
36794 cat conftest.err
>&5
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); } >/dev
/null
; then
36797 if test -s conftest.err
; then
36798 ac_cpp_err
=$ac_c_preproc_warn_flag
36799 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36806 if test -z "$ac_cpp_err"; then
36807 ac_header_preproc
=yes
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.
$ac_ext >&5
36812 ac_header_preproc
=no
36814 rm -f conftest.err conftest.
$ac_ext
36815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36816 echo "${ECHO_T}$ac_header_preproc" >&6
36818 # So? What about this header?
36819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36825 ac_header_preproc
=yes
36828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36842 ## ----------------------------------------- ##
36843 ## Report this to wx-dev@lists.wxwidgets.org ##
36844 ## ----------------------------------------- ##
36847 sed "s/^/$as_me: WARNING: /" >&2
36850 echo "$as_me:$LINENO: checking for $ac_header" >&5
36851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36853 echo $ECHO_N "(cached) $ECHO_C" >&6
36855 eval "$as_ac_Header=\$ac_header_preproc"
36857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36862 cat >>confdefs.h
<<_ACEOF
36863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36870 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36872 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36873 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36878 if test "$wxUSE_JOYSTICK" = "yes"; then
36879 cat >>confdefs.h
<<\_ACEOF
36880 #define wxUSE_JOYSTICK 1
36883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36889 if test "$wxUSE_FONTMAP" = "yes" ; then
36890 cat >>confdefs.h
<<\_ACEOF
36891 #define wxUSE_FONTMAP 1
36896 if test "$wxUSE_UNICODE" = "yes" ; then
36897 cat >>confdefs.h
<<\_ACEOF
36898 #define wxUSE_UNICODE 1
36902 if test "$USE_WIN32" != 1; then
36903 wxUSE_UNICODE_MSLU
=no
36906 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36907 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36908 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36909 if test "${ac_cv_lib_unicows_main+set}" = set; then
36910 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 ac_check_lib_save_LIBS
=$LIBS
36913 LIBS
="-lunicows $LIBS"
36914 cat >conftest.
$ac_ext <<_ACEOF
36917 cat confdefs.h
>>conftest.
$ac_ext
36918 cat >>conftest.
$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36930 rm -f conftest.
$ac_objext conftest
$ac_exeext
36931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36932 (eval $ac_link) 2>conftest.er1
36934 grep -v '^ *+' conftest.er1
>conftest.err
36936 cat conftest.err
>&5
36937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36938 (exit $ac_status); } &&
36939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36941 (eval $ac_try) 2>&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); }; } &&
36945 { ac_try
='test -s conftest$ac_exeext'
36946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36947 (eval $ac_try) 2>&5
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); }; }; then
36951 ac_cv_lib_unicows_main
=yes
36953 echo "$as_me: failed program was:" >&5
36954 sed 's/^/| /' conftest.
$ac_ext >&5
36956 ac_cv_lib_unicows_main
=no
36958 rm -f conftest.err conftest.
$ac_objext \
36959 conftest
$ac_exeext conftest.
$ac_ext
36960 LIBS
=$ac_check_lib_save_LIBS
36962 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36963 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36964 if test $ac_cv_lib_unicows_main = yes; then
36966 cat >>confdefs.h
<<\_ACEOF
36967 #define wxUSE_UNICODE_MSLU 1
36973 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36974 Applications will only run on Windows NT/2000/XP!" >&5
36975 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36976 Applications will only run on Windows NT/2000/XP!" >&2;}
36977 wxUSE_UNICODE_MSLU
=no
36984 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36985 cat >>confdefs.h
<<\_ACEOF
36986 #define wxUSE_EXPERIMENTAL_PRINTF 1
36992 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36993 cat >>confdefs.h
<<\_ACEOF
36994 #define wxUSE_POSTSCRIPT 1
36999 cat >>confdefs.h
<<\_ACEOF
37000 #define wxUSE_AFM_FOR_POSTSCRIPT 1
37004 cat >>confdefs.h
<<\_ACEOF
37005 #define wxUSE_NORMALIZED_PS_FONTS 1
37010 if test "$wxUSE_CONSTRAINTS" = "yes"; then
37011 cat >>confdefs.h
<<\_ACEOF
37012 #define wxUSE_CONSTRAINTS 1
37015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
37018 if test "$wxUSE_MDI" = "yes"; then
37019 cat >>confdefs.h
<<\_ACEOF
37020 #define wxUSE_MDI 1
37024 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37025 cat >>confdefs.h
<<\_ACEOF
37026 #define wxUSE_MDI_ARCHITECTURE 1
37029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
37033 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
37034 cat >>confdefs.h
<<\_ACEOF
37035 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
37038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
37039 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
37040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
37044 if test "$wxUSE_HELP" = "yes"; then
37045 cat >>confdefs.h
<<\_ACEOF
37046 #define wxUSE_HELP 1
37049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
37051 if test "$wxUSE_MSW" = 1; then
37052 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
37053 cat >>confdefs.h
<<\_ACEOF
37054 #define wxUSE_MS_HTML_HELP 1
37060 if test "$wxUSE_WXHTML_HELP" = "yes"; then
37061 if test "$wxUSE_HTML" = "yes"; then
37062 cat >>confdefs.h
<<\_ACEOF
37063 #define wxUSE_WXHTML_HELP 1
37067 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
37068 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
37069 wxUSE_WXHTML_HELP
=no
37074 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37075 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37076 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
37077 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
37079 cat >>confdefs.h
<<\_ACEOF
37080 #define wxUSE_PRINTING_ARCHITECTURE 1
37084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
37087 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
37088 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
37089 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
37090 { (exit 1); exit 1; }; }
37094 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
37095 -o "$wxUSE_CLIPBOARD" = "yes" \
37096 -o "$wxUSE_OLE" = "yes" \
37097 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
37099 for ac_header
in ole2.h
37101 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37103 echo "$as_me:$LINENO: checking for $ac_header" >&5
37104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37106 echo $ECHO_N "(cached) $ECHO_C" >&6
37108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37111 # Is the header compilable?
37112 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37114 cat >conftest.
$ac_ext <<_ACEOF
37117 cat confdefs.h
>>conftest.
$ac_ext
37118 cat >>conftest.
$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120 $ac_includes_default
37121 #include <$ac_header>
37123 rm -f conftest.
$ac_objext
37124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37125 (eval $ac_compile) 2>conftest.er1
37127 grep -v '^ *+' conftest.er1
>conftest.err
37129 cat conftest.err
>&5
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); } &&
37132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37134 (eval $ac_try) 2>&5
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); }; } &&
37138 { ac_try
='test -s conftest.$ac_objext'
37139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37140 (eval $ac_try) 2>&5
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); }; }; then
37144 ac_header_compiler
=yes
37146 echo "$as_me: failed program was:" >&5
37147 sed 's/^/| /' conftest.
$ac_ext >&5
37149 ac_header_compiler
=no
37151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37153 echo "${ECHO_T}$ac_header_compiler" >&6
37155 # Is the header present?
37156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37158 cat >conftest.
$ac_ext <<_ACEOF
37161 cat confdefs.h
>>conftest.
$ac_ext
37162 cat >>conftest.
$ac_ext <<_ACEOF
37163 /* end confdefs.h. */
37164 #include <$ac_header>
37166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37169 grep -v '^ *+' conftest.er1
>conftest.err
37171 cat conftest.err
>&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } >/dev
/null
; then
37174 if test -s conftest.err
; then
37175 ac_cpp_err
=$ac_c_preproc_warn_flag
37176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37183 if test -z "$ac_cpp_err"; then
37184 ac_header_preproc
=yes
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.
$ac_ext >&5
37189 ac_header_preproc
=no
37191 rm -f conftest.err conftest.
$ac_ext
37192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37193 echo "${ECHO_T}$ac_header_preproc" >&6
37195 # So? What about this header?
37196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37202 ac_header_preproc
=yes
37205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37219 ## ----------------------------------------- ##
37220 ## Report this to wx-dev@lists.wxwidgets.org ##
37221 ## ----------------------------------------- ##
37224 sed "s/^/$as_me: WARNING: /" >&2
37227 echo "$as_me:$LINENO: checking for $ac_header" >&5
37228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37230 echo $ECHO_N "(cached) $ECHO_C" >&6
37232 eval "$as_ac_Header=\$ac_header_preproc"
37234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37239 cat >>confdefs.h
<<_ACEOF
37240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37248 if test "$ac_cv_header_ole2_h" = "yes" ; then
37249 if test "$GCC" = yes ; then
37253 ac_cpp
='$CXXCPP $CPPFLAGS'
37254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37259 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
37260 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
37261 cat >conftest.
$ac_ext <<_ACEOF
37264 cat confdefs.h
>>conftest.
$ac_ext
37265 cat >>conftest.
$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37267 #include <windows.h>
37277 rm -f conftest.
$ac_objext
37278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37279 (eval $ac_compile) 2>conftest.er1
37281 grep -v '^ *+' conftest.er1
>conftest.err
37283 cat conftest.err
>&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } &&
37286 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37288 (eval $ac_try) 2>&5
37290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291 (exit $ac_status); }; } &&
37292 { ac_try
='test -s conftest.$ac_objext'
37293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37294 (eval $ac_try) 2>&5
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); }; }; then
37298 echo "$as_me:$LINENO: result: no" >&5
37299 echo "${ECHO_T}no" >&6
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.
$ac_ext >&5
37304 echo "$as_me:$LINENO: result: yes" >&5
37305 echo "${ECHO_T}yes" >&6
37306 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
37308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37310 ac_cpp
='$CPP $CPPFLAGS'
37311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37315 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
37316 if test "$wxUSE_OLE" = "yes" ; then
37317 cat >>confdefs.h
<<\_ACEOF
37318 #define wxUSE_OLE 1
37324 if test "$wxUSE_DATAOBJ" = "yes" ; then
37325 cat >>confdefs.h
<<\_ACEOF
37326 #define wxUSE_DATAOBJ 1
37331 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37332 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37335 wxUSE_DRAG_AND_DROP
=no
37340 if test "$wxUSE_METAFILE" = "yes"; then
37341 cat >>confdefs.h
<<\_ACEOF
37342 #define wxUSE_METAFILE 1
37346 cat >>confdefs.h
<<\_ACEOF
37347 #define wxUSE_ENH_METAFILE 1
37353 if test "$wxUSE_IPC" = "yes"; then
37354 if test "$wxUSE_SOCKETS" != "yes"; then
37355 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37356 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37359 cat >>confdefs.h
<<\_ACEOF
37360 #define wxUSE_IPC 1
37365 if test "$wxUSE_CLIPBOARD" = "yes"; then
37366 if test "$wxUSE_MGL" = 1; then
37367 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37368 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37372 if test "$wxUSE_CLIPBOARD" = "yes"; then
37373 cat >>confdefs.h
<<\_ACEOF
37374 #define wxUSE_CLIPBOARD 1
37378 cat >>confdefs.h
<<\_ACEOF
37379 #define wxUSE_DATAOBJ 1
37385 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37386 if test "$wxUSE_GTK" = 1; then
37387 if test "$WXGTK12" != 1; then
37388 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37389 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37390 wxUSE_DRAG_AND_DROP
=no
37394 if test "$wxUSE_MOTIF" = 1; then
37395 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37396 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37397 wxUSE_DRAG_AND_DROP
=no
37400 if test "$wxUSE_X11" = 1; then
37401 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37402 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37403 wxUSE_DRAG_AND_DROP
=no
37406 if test "$wxUSE_MGL" = 1; then
37407 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37408 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37409 wxUSE_DRAG_AND_DROP
=no
37412 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37413 cat >>confdefs.h
<<\_ACEOF
37414 #define wxUSE_DRAG_AND_DROP 1
37421 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
37425 if test "$wxUSE_SPLINES" = "yes" ; then
37426 cat >>confdefs.h
<<\_ACEOF
37427 #define wxUSE_SPLINES 1
37434 if test "$wxUSE_CONTROLS" = "yes"; then
37438 if test "$wxUSE_ACCEL" = "yes"; then
37439 cat >>confdefs.h
<<\_ACEOF
37440 #define wxUSE_ACCEL 1
37446 if test "$wxUSE_BUTTON" = "yes"; then
37447 cat >>confdefs.h
<<\_ACEOF
37448 #define wxUSE_BUTTON 1
37454 if test "$wxUSE_BMPBUTTON" = "yes"; then
37455 cat >>confdefs.h
<<\_ACEOF
37456 #define wxUSE_BMPBUTTON 1
37462 if test "$wxUSE_CALCTRL" = "yes"; then
37463 cat >>confdefs.h
<<\_ACEOF
37464 #define wxUSE_CALENDARCTRL 1
37468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
37471 if test "$wxUSE_CARET" = "yes"; then
37472 cat >>confdefs.h
<<\_ACEOF
37473 #define wxUSE_CARET 1
37477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
37480 if test "$wxUSE_COMBOBOX" = "yes"; then
37481 cat >>confdefs.h
<<\_ACEOF
37482 #define wxUSE_COMBOBOX 1
37488 if test "$wxUSE_CHOICE" = "yes"; then
37489 cat >>confdefs.h
<<\_ACEOF
37490 #define wxUSE_CHOICE 1
37496 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37497 cat >>confdefs.h
<<\_ACEOF
37498 #define wxUSE_CHOICEBOOK 1
37504 if test "$wxUSE_CHECKBOX" = "yes"; then
37505 cat >>confdefs.h
<<\_ACEOF
37506 #define wxUSE_CHECKBOX 1
37512 if test "$wxUSE_CHECKLST" = "yes"; then
37513 cat >>confdefs.h
<<\_ACEOF
37514 #define wxUSE_CHECKLISTBOX 1
37518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
37521 if test "$wxUSE_DISPLAY" = "yes"; then
37522 cat >>confdefs.h
<<\_ACEOF
37523 #define wxUSE_DISPLAY 1
37526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
37529 if test "$wxUSE_GAUGE" = "yes"; then
37530 cat >>confdefs.h
<<\_ACEOF
37531 #define wxUSE_GAUGE 1
37537 if test "$wxUSE_GRID" = "yes"; then
37538 cat >>confdefs.h
<<\_ACEOF
37539 #define wxUSE_GRID 1
37543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
37546 if test "$wxUSE_IMAGLIST" = "yes"; then
37547 cat >>confdefs.h
<<\_ACEOF
37548 #define wxUSE_IMAGLIST 1
37553 if test "$wxUSE_LISTBOOK" = "yes"; then
37554 cat >>confdefs.h
<<\_ACEOF
37555 #define wxUSE_LISTBOOK 1
37561 if test "$wxUSE_LISTBOX" = "yes"; then
37562 cat >>confdefs.h
<<\_ACEOF
37563 #define wxUSE_LISTBOX 1
37569 if test "$wxUSE_LISTCTRL" = "yes"; then
37570 if test "$wxUSE_IMAGLIST" = "yes"; then
37571 cat >>confdefs.h
<<\_ACEOF
37572 #define wxUSE_LISTCTRL 1
37576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
37578 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37579 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37583 if test "$wxUSE_NOTEBOOK" = "yes"; then
37584 cat >>confdefs.h
<<\_ACEOF
37585 #define wxUSE_NOTEBOOK 1
37589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
37593 if test "$wxUSE_RADIOBOX" = "yes"; then
37594 cat >>confdefs.h
<<\_ACEOF
37595 #define wxUSE_RADIOBOX 1
37601 if test "$wxUSE_RADIOBTN" = "yes"; then
37602 cat >>confdefs.h
<<\_ACEOF
37603 #define wxUSE_RADIOBTN 1
37609 if test "$wxUSE_SASH" = "yes"; then
37610 cat >>confdefs.h
<<\_ACEOF
37611 #define wxUSE_SASH 1
37614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
37617 if test "$wxUSE_SCROLLBAR" = "yes"; then
37618 cat >>confdefs.h
<<\_ACEOF
37619 #define wxUSE_SCROLLBAR 1
37623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
37626 if test "$wxUSE_SLIDER" = "yes"; then
37627 cat >>confdefs.h
<<\_ACEOF
37628 #define wxUSE_SLIDER 1
37634 if test "$wxUSE_SPINBTN" = "yes"; then
37635 cat >>confdefs.h
<<\_ACEOF
37636 #define wxUSE_SPINBTN 1
37642 if test "$wxUSE_SPINCTRL" = "yes"; then
37643 cat >>confdefs.h
<<\_ACEOF
37644 #define wxUSE_SPINCTRL 1
37650 if test "$wxUSE_SPLITTER" = "yes"; then
37651 cat >>confdefs.h
<<\_ACEOF
37652 #define wxUSE_SPLITTER 1
37655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
37658 if test "$wxUSE_STATBMP" = "yes"; then
37659 cat >>confdefs.h
<<\_ACEOF
37660 #define wxUSE_STATBMP 1
37666 if test "$wxUSE_STATBOX" = "yes"; then
37667 cat >>confdefs.h
<<\_ACEOF
37668 #define wxUSE_STATBOX 1
37674 if test "$wxUSE_STATTEXT" = "yes"; then
37675 cat >>confdefs.h
<<\_ACEOF
37676 #define wxUSE_STATTEXT 1
37682 if test "$wxUSE_STATLINE" = "yes"; then
37683 cat >>confdefs.h
<<\_ACEOF
37684 #define wxUSE_STATLINE 1
37690 if test "$wxUSE_STATUSBAR" = "yes"; then
37691 cat >>confdefs.h
<<\_ACEOF
37692 #define wxUSE_NATIVE_STATUSBAR 1
37695 cat >>confdefs.h
<<\_ACEOF
37696 #define wxUSE_STATUSBAR 1
37701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
37704 if test "$wxUSE_TABDIALOG" = "yes"; then
37705 cat >>confdefs.h
<<\_ACEOF
37706 #define wxUSE_TAB_DIALOG 1
37709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
37712 if test "$wxUSE_TEXTCTRL" = "yes"; then
37713 cat >>confdefs.h
<<\_ACEOF
37714 #define wxUSE_TEXTCTRL 1
37718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
37721 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37722 if test "$wxUSE_COCOA" = 1 ; then
37723 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37724 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37727 if test "$wxUSE_PM" = 1; then
37728 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37729 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37733 if test "$wxUSE_UNIVERSAL" = "yes"; then
37734 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37735 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37739 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37740 cat >>confdefs.h
<<\_ACEOF
37741 #define wxUSE_TOGGLEBTN 1
37748 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37749 cat >>confdefs.h
<<\_ACEOF
37750 #define wxUSE_TOOLBAR_SIMPLE 1
37753 wxUSE_TOOLBAR
="yes"
37757 if test "$wxUSE_TOOLBAR" = "yes"; then
37758 cat >>confdefs.h
<<\_ACEOF
37759 #define wxUSE_TOOLBAR 1
37764 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37765 wxUSE_TOOLBAR_NATIVE
="yes"
37768 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37769 cat >>confdefs.h
<<\_ACEOF
37770 #define wxUSE_TOOLBAR_NATIVE 1
37776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
37779 if test "$wxUSE_TOOLTIPS" = "yes"; then
37780 if test "$wxUSE_MOTIF" = 1; then
37781 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37782 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37784 if test "$wxUSE_UNIVERSAL" = "yes"; then
37785 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37786 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37788 cat >>confdefs.h
<<\_ACEOF
37789 #define wxUSE_TOOLTIPS 1
37796 if test "$wxUSE_TREECTRL" = "yes"; then
37797 if test "$wxUSE_IMAGLIST" = "yes"; then
37798 cat >>confdefs.h
<<\_ACEOF
37799 #define wxUSE_TREECTRL 1
37803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37805 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37806 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37810 if test "$wxUSE_POPUPWIN" = "yes"; then
37811 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37812 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37813 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37815 if test "$wxUSE_PM" = 1; then
37816 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37817 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37819 cat >>confdefs.h
<<\_ACEOF
37820 #define wxUSE_POPUPWIN 1
37829 if test "$wxUSE_TIPWINDOW" = "yes"; then
37830 if test "$wxUSE_PM" = 1; then
37831 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37832 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37834 cat >>confdefs.h
<<\_ACEOF
37835 #define wxUSE_TIPWINDOW 1
37841 if test "$USES_CONTROLS" = 1; then
37842 cat >>confdefs.h
<<\_ACEOF
37843 #define wxUSE_CONTROLS 1
37849 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37850 cat >>confdefs.h
<<\_ACEOF
37851 #define wxUSE_ACCESSIBILITY 1
37854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37857 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37858 cat >>confdefs.h
<<\_ACEOF
37859 #define wxUSE_DRAGIMAGE 1
37862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37865 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37866 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37867 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37868 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37870 cat >>confdefs.h
<<\_ACEOF
37871 #define wxUSE_EXCEPTIONS 1
37874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37879 if test "$wxUSE_HTML" = "yes"; then
37880 cat >>confdefs.h
<<\_ACEOF
37881 #define wxUSE_HTML 1
37885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37886 if test "$wxUSE_MAC" = 1; then
37887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37890 if test "$wxUSE_WEBKIT" = "yes"; then
37891 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37892 old_CPPFLAGS
="$CPPFLAGS"
37893 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37894 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37895 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37896 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37897 echo $ECHO_N "(cached) $ECHO_C" >&6
37899 cat >conftest.
$ac_ext <<_ACEOF
37902 cat confdefs.h
>>conftest.
$ac_ext
37903 cat >>conftest.
$ac_ext <<_ACEOF
37904 /* end confdefs.h. */
37905 #include <Carbon/Carbon.h>
37907 #include <WebKit/HIWebView.h>
37909 rm -f conftest.
$ac_objext
37910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37911 (eval $ac_compile) 2>conftest.er1
37913 grep -v '^ *+' conftest.er1
>conftest.err
37915 cat conftest.err
>&5
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); } &&
37918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37920 (eval $ac_try) 2>&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); }; } &&
37924 { ac_try
='test -s conftest.$ac_objext'
37925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37926 (eval $ac_try) 2>&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); }; }; then
37930 ac_cv_header_WebKit_HIWebView_h
=yes
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.
$ac_ext >&5
37935 ac_cv_header_WebKit_HIWebView_h
=no
37937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37939 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37940 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37941 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37943 cat >>confdefs.h
<<\_ACEOF
37944 #define wxUSE_WEBKIT 1
37947 WEBKIT_LINK
="-framework WebKit"
37951 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37952 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37958 CPPFLAGS
="$old_CPPFLAGS"
37959 elif test "$wxUSE_COCOA" = 1; then
37960 cat >>confdefs.h
<<\_ACEOF
37961 #define wxUSE_WEBKIT 1
37970 if test "$wxUSE_XRC" = "yes"; then
37971 if test "$wxUSE_XML" != "yes"; then
37972 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37973 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37976 cat >>confdefs.h
<<\_ACEOF
37977 #define wxUSE_XRC 1
37981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37985 if test "$wxUSE_MENUS" = "yes"; then
37986 cat >>confdefs.h
<<\_ACEOF
37987 #define wxUSE_MENUS 1
37990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37993 if test "$wxUSE_METAFILE" = "yes"; then
37994 cat >>confdefs.h
<<\_ACEOF
37995 #define wxUSE_METAFILE 1
38000 if test "$wxUSE_MIMETYPE" = "yes"; then
38001 cat >>confdefs.h
<<\_ACEOF
38002 #define wxUSE_MIMETYPE 1
38007 if test "$wxUSE_MINIFRAME" = "yes"; then
38008 cat >>confdefs.h
<<\_ACEOF
38009 #define wxUSE_MINIFRAME 1
38012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
38015 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
38016 cat >>confdefs.h
<<\_ACEOF
38017 #define wxUSE_SYSTEM_OPTIONS 1
38020 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
38021 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
38022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
38027 if test "$wxUSE_VALIDATORS" = "yes"; then
38028 cat >>confdefs.h
<<\_ACEOF
38029 #define wxUSE_VALIDATORS 1
38032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
38035 if test "$wxUSE_PALETTE" = "yes" ; then
38036 cat >>confdefs.h
<<\_ACEOF
38037 #define wxUSE_PALETTE 1
38042 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
38043 LIBS
=" -lunicows $LIBS"
38047 if test "$wxUSE_IMAGE" = "yes" ; then
38048 cat >>confdefs.h
<<\_ACEOF
38049 #define wxUSE_IMAGE 1
38053 if test "$wxUSE_GIF" = "yes" ; then
38054 cat >>confdefs.h
<<\_ACEOF
38055 #define wxUSE_GIF 1
38060 if test "$wxUSE_PCX" = "yes" ; then
38061 cat >>confdefs.h
<<\_ACEOF
38062 #define wxUSE_PCX 1
38067 if test "$wxUSE_IFF" = "yes" ; then
38068 cat >>confdefs.h
<<\_ACEOF
38069 #define wxUSE_IFF 1
38074 if test "$wxUSE_PNM" = "yes" ; then
38075 cat >>confdefs.h
<<\_ACEOF
38076 #define wxUSE_PNM 1
38081 if test "$wxUSE_XPM" = "yes" ; then
38082 cat >>confdefs.h
<<\_ACEOF
38083 #define wxUSE_XPM 1
38088 if test "$wxUSE_ICO_CUR" = "yes" ; then
38089 cat >>confdefs.h
<<\_ACEOF
38090 #define wxUSE_ICO_CUR 1
38097 if test "$wxUSE_CHOICEDLG" = "yes"; then
38098 cat >>confdefs.h
<<\_ACEOF
38099 #define wxUSE_CHOICEDLG 1
38104 if test "$wxUSE_COLOURDLG" = "yes"; then
38105 cat >>confdefs.h
<<\_ACEOF
38106 #define wxUSE_COLOURDLG 1
38111 if test "$wxUSE_FILEDLG" = "yes"; then
38112 cat >>confdefs.h
<<\_ACEOF
38113 #define wxUSE_FILEDLG 1
38118 if test "$wxUSE_FINDREPLDLG" = "yes"; then
38119 cat >>confdefs.h
<<\_ACEOF
38120 #define wxUSE_FINDREPLDLG 1
38125 if test "$wxUSE_FONTDLG" = "yes"; then
38126 cat >>confdefs.h
<<\_ACEOF
38127 #define wxUSE_FONTDLG 1
38132 if test "$wxUSE_DIRDLG" = "yes"; then
38133 if test "$wxUSE_TREECTRL" != "yes"; then
38134 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
38135 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
38137 cat >>confdefs.h
<<\_ACEOF
38138 #define wxUSE_DIRDLG 1
38144 if test "$wxUSE_MSGDLG" = "yes"; then
38145 cat >>confdefs.h
<<\_ACEOF
38146 #define wxUSE_MSGDLG 1
38151 if test "$wxUSE_NUMBERDLG" = "yes"; then
38152 cat >>confdefs.h
<<\_ACEOF
38153 #define wxUSE_NUMBERDLG 1
38158 if test "$wxUSE_PROGRESSDLG" = "yes"; then
38159 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38160 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
38161 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
38163 cat >>confdefs.h
<<\_ACEOF
38164 #define wxUSE_PROGRESSDLG 1
38170 if test "$wxUSE_SPLASH" = "yes"; then
38171 cat >>confdefs.h
<<\_ACEOF
38172 #define wxUSE_SPLASH 1
38175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
38178 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
38179 if test "$wxUSE_CONSTRAINTS" != "yes"; then
38180 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
38181 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
38183 cat >>confdefs.h
<<\_ACEOF
38184 #define wxUSE_STARTUP_TIPS 1
38190 if test "$wxUSE_TEXTDLG" = "yes"; then
38191 cat >>confdefs.h
<<\_ACEOF
38192 #define wxUSE_TEXTDLG 1
38197 if test "$wxUSE_WIZARDDLG" = "yes"; then
38198 cat >>confdefs.h
<<\_ACEOF
38199 #define wxUSE_WIZARDDLG 1
38202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
38206 if test "$cross_compiling" = "yes"; then
38209 OSINFO
=`uname -s -r -m`
38210 OSINFO
="\"$OSINFO\""
38213 cat >>confdefs.h
<<_ACEOF
38214 #define WXWIN_OS_DESCRIPTION $OSINFO
38219 if test "x$prefix" != "xNONE"; then
38222 wxPREFIX
=$ac_default_prefix
38225 cat >>confdefs.h
<<_ACEOF
38226 #define wxINSTALL_PREFIX "$wxPREFIX"
38232 CORE_BASE_LIBS
="net base"
38233 CORE_GUI_LIBS
="adv core"
38235 if test "$wxUSE_XML" = "yes" ; then
38236 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
38238 if test "$wxUSE_ODBC" != "no" ; then
38239 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
38240 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
38242 if test "$wxUSE_HTML" = "yes" ; then
38243 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
38245 if test "$wxUSE_XRC" = "yes" ; then
38246 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
38249 if test "$wxUSE_GUI" != "yes"; then
38260 if test "$wxUSE_MAC" = 1 ; then
38261 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
38262 if test "$USE_DARWIN" = 1; then
38263 LDFLAGS
="$LDFLAGS -framework QuickTime"
38265 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
38268 if test "$USE_DARWIN" = 1; then
38269 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
38271 LDFLAGS
="$LDFLAGS -lCarbonLib"
38274 if test "$wxUSE_COCOA" = 1 ; then
38275 LDFLAGS
="$LDFLAGS -framework Cocoa"
38279 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
38286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38287 echo "$as_me:$LINENO: checking for $ac_func" >&5
38288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38289 if eval "test \"\${$as_ac_var+set}\" = set"; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38292 cat >conftest.
$ac_ext <<_ACEOF
38295 cat confdefs.h
>>conftest.
$ac_ext
38296 cat >>conftest.
$ac_ext <<_ACEOF
38297 /* end confdefs.h. */
38298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38300 #define $ac_func innocuous_$ac_func
38302 /* System header to define __stub macros and hopefully few prototypes,
38303 which can conflict with char $ac_func (); below.
38304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38305 <limits.h> exists even on freestanding compilers. */
38308 # include <limits.h>
38310 # include <assert.h>
38315 /* Override any gcc2 internal prototype to avoid an error. */
38320 /* We use char because int might match the return type of a gcc2
38321 builtin and then its argument prototype would still apply. */
38323 /* The GNU C library defines this for functions which it implements
38324 to always fail with ENOSYS. Some functions are actually named
38325 something starting with __ and the normal name is an alias. */
38326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38329 char (*f) () = $ac_func;
38338 return f != $ac_func;
38343 rm -f conftest.
$ac_objext conftest
$ac_exeext
38344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38345 (eval $ac_link) 2>conftest.er1
38347 grep -v '^ *+' conftest.er1
>conftest.err
38349 cat conftest.err
>&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); } &&
38352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38354 (eval $ac_try) 2>&5
38356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357 (exit $ac_status); }; } &&
38358 { ac_try
='test -s conftest$ac_exeext'
38359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38360 (eval $ac_try) 2>&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); }; }; then
38364 eval "$as_ac_var=yes"
38366 echo "$as_me: failed program was:" >&5
38367 sed 's/^/| /' conftest.
$ac_ext >&5
38369 eval "$as_ac_var=no"
38371 rm -f conftest.err conftest.
$ac_objext \
38372 conftest
$ac_exeext conftest.
$ac_ext
38374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38376 if test `eval echo '${'$as_ac_var'}'` = yes; then
38377 cat >>confdefs.h
<<_ACEOF
38378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38385 for ac_func
in floor
38387 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38388 echo "$as_me:$LINENO: checking for $ac_func" >&5
38389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38390 if eval "test \"\${$as_ac_var+set}\" = set"; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38393 cat >conftest.
$ac_ext <<_ACEOF
38396 cat confdefs.h
>>conftest.
$ac_ext
38397 cat >>conftest.
$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define $ac_func innocuous_$ac_func
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38409 # include <limits.h>
38411 # include <assert.h>
38416 /* Override any gcc2 internal prototype to avoid an error. */
38421 /* We use char because int might match the return type of a gcc2
38422 builtin and then its argument prototype would still apply. */
38424 /* The GNU C library defines this for functions which it implements
38425 to always fail with ENOSYS. Some functions are actually named
38426 something starting with __ and the normal name is an alias. */
38427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38430 char (*f) () = $ac_func;
38439 return f != $ac_func;
38444 rm -f conftest.
$ac_objext conftest
$ac_exeext
38445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38446 (eval $ac_link) 2>conftest.er1
38448 grep -v '^ *+' conftest.er1
>conftest.err
38450 cat conftest.err
>&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); } &&
38453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38455 (eval $ac_try) 2>&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); }; } &&
38459 { ac_try
='test -s conftest$ac_exeext'
38460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38461 (eval $ac_try) 2>&5
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); }; }; then
38465 eval "$as_ac_var=yes"
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.
$ac_ext >&5
38470 eval "$as_ac_var=no"
38472 rm -f conftest.err conftest.
$ac_objext \
38473 conftest
$ac_exeext conftest.
$ac_ext
38475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38477 if test `eval echo '${'$as_ac_var'}'` = yes; then
38478 cat >>confdefs.h
<<_ACEOF
38479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38485 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38486 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38487 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38488 echo "$as_me:$LINENO: result: yes" >&5
38489 echo "${ECHO_T}yes" >&6
38491 echo "$as_me:$LINENO: result: no" >&5
38492 echo "${ECHO_T}no" >&6
38494 # use different functions to avoid configure caching
38500 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38501 echo "$as_me:$LINENO: checking for $ac_func" >&5
38502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38503 if eval "test \"\${$as_ac_var+set}\" = set"; then
38504 echo $ECHO_N "(cached) $ECHO_C" >&6
38506 cat >conftest.
$ac_ext <<_ACEOF
38509 cat confdefs.h
>>conftest.
$ac_ext
38510 cat >>conftest.
$ac_ext <<_ACEOF
38511 /* end confdefs.h. */
38512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38514 #define $ac_func innocuous_$ac_func
38516 /* System header to define __stub macros and hopefully few prototypes,
38517 which can conflict with char $ac_func (); below.
38518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38519 <limits.h> exists even on freestanding compilers. */
38522 # include <limits.h>
38524 # include <assert.h>
38529 /* Override any gcc2 internal prototype to avoid an error. */
38534 /* We use char because int might match the return type of a gcc2
38535 builtin and then its argument prototype would still apply. */
38537 /* The GNU C library defines this for functions which it implements
38538 to always fail with ENOSYS. Some functions are actually named
38539 something starting with __ and the normal name is an alias. */
38540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38543 char (*f) () = $ac_func;
38552 return f != $ac_func;
38557 rm -f conftest.
$ac_objext conftest
$ac_exeext
38558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38559 (eval $ac_link) 2>conftest.er1
38561 grep -v '^ *+' conftest.er1
>conftest.err
38563 cat conftest.err
>&5
38564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38565 (exit $ac_status); } &&
38566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38568 (eval $ac_try) 2>&5
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); }; } &&
38572 { ac_try
='test -s conftest$ac_exeext'
38573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38574 (eval $ac_try) 2>&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); }; }; then
38578 eval "$as_ac_var=yes"
38580 echo "$as_me: failed program was:" >&5
38581 sed 's/^/| /' conftest.
$ac_ext >&5
38583 eval "$as_ac_var=no"
38585 rm -f conftest.err conftest.
$ac_objext \
38586 conftest
$ac_exeext conftest.
$ac_ext
38588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38590 if test `eval echo '${'$as_ac_var'}'` = yes; then
38591 cat >>confdefs.h
<<_ACEOF
38592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38599 for ac_func
in ceil
38601 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38602 echo "$as_me:$LINENO: checking for $ac_func" >&5
38603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38604 if eval "test \"\${$as_ac_var+set}\" = set"; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38607 cat >conftest.
$ac_ext <<_ACEOF
38610 cat confdefs.h
>>conftest.
$ac_ext
38611 cat >>conftest.
$ac_ext <<_ACEOF
38612 /* end confdefs.h. */
38613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38615 #define $ac_func innocuous_$ac_func
38617 /* System header to define __stub macros and hopefully few prototypes,
38618 which can conflict with char $ac_func (); below.
38619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38620 <limits.h> exists even on freestanding compilers. */
38623 # include <limits.h>
38625 # include <assert.h>
38630 /* Override any gcc2 internal prototype to avoid an error. */
38635 /* We use char because int might match the return type of a gcc2
38636 builtin and then its argument prototype would still apply. */
38638 /* The GNU C library defines this for functions which it implements
38639 to always fail with ENOSYS. Some functions are actually named
38640 something starting with __ and the normal name is an alias. */
38641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38644 char (*f) () = $ac_func;
38653 return f != $ac_func;
38658 rm -f conftest.
$ac_objext conftest
$ac_exeext
38659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38660 (eval $ac_link) 2>conftest.er1
38662 grep -v '^ *+' conftest.er1
>conftest.err
38664 cat conftest.err
>&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } &&
38667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669 (eval $ac_try) 2>&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); }; } &&
38673 { ac_try
='test -s conftest$ac_exeext'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; }; then
38679 eval "$as_ac_var=yes"
38681 echo "$as_me: failed program was:" >&5
38682 sed 's/^/| /' conftest.
$ac_ext >&5
38684 eval "$as_ac_var=no"
38686 rm -f conftest.err conftest.
$ac_objext \
38687 conftest
$ac_exeext conftest.
$ac_ext
38689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38691 if test `eval echo '${'$as_ac_var'}'` = yes; then
38692 cat >>confdefs.h
<<_ACEOF
38693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38699 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38700 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38701 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38702 echo "$as_me:$LINENO: result: yes" >&5
38703 echo "${ECHO_T}yes" >&6
38705 echo "$as_me:$LINENO: result: no" >&5
38706 echo "${ECHO_T}no" >&6
38707 # not sure we should warn the user, crash, etc.
38711 if test "$wxUSE_GUI" = "yes"; then
38714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
38715 drawing dynamic erase event exec font image \
38716 minimal propsize rotate shaped widgets render"
38718 if test "$wxUSE_MONOLITHIC" != "yes"; then
38719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
38722 SAMPLES_SUBDIRS
="console"
38726 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38727 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38729 if test "$GXX" = yes ; then
38731 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
38734 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38736 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38737 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
38738 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38740 if test "x$MWCC" = "xyes"; then
38742 CC
="$CC -cwd source -I-"
38743 CXX
="$CXX -cwd source -I-"
38748 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38749 EXTRALIBS_XML
="$EXPAT_LINK"
38750 EXTRALIBS_HTML
="$MSPACK_LINK"
38751 EXTRALIBS_ODBC
="$ODBC_LINK"
38752 if test "$wxUSE_GUI" = "yes"; then
38753 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38755 if test "$wxUSE_OPENGL" = "yes"; then
38756 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
38759 LDFLAGS
="$LDFLAGS $PROFILE"
38761 if test "$wxUSE_GTK" = 1; then
38764 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
38767 WXCONFIG_EXTRALIBS
="$LIBS"
38769 if test "$wxUSE_REGEX" = "builtin" ; then
38770 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38772 if test "$wxUSE_EXPAT" = "builtin" ; then
38773 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
38775 if test "$wxUSE_ODBC" = "builtin" ; then
38776 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38778 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38779 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
38781 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38782 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
38784 if test "$wxUSE_LIBPNG" = "builtin" ; then
38785 wxconfig_3rdparty
="$wxconfig_3rdparty png"
38787 if test "$wxUSE_ZLIB" = "builtin" ; then
38788 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
38790 if test "$wxUSE_ODBC" = "builtin" ; then
38791 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
38794 for i
in $wxconfig_3rdparty ; do
38795 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38799 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38813 if test $wxUSE_MONOLITHIC = "yes" ; then
38819 if test $wxUSE_PLUGINS = "yes" ; then
38825 if test $wxUSE_ODBC != "no" ; then
38831 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38859 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38870 TOOLKIT_USER
="GTK+"
38871 if test "$WXGTK20" = 1; then
38872 TOOLKIT_USER
="$TOOLKIT_USER 2"
38877 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38884 if test "x$BAKEFILE_HOST" = "x"; then
38885 BAKEFILE_HOST
="${host}"
38888 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38890 if test -n "$ac_tool_prefix"; then
38891 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38892 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38893 echo "$as_me:$LINENO: checking for $ac_word" >&5
38894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38895 if test "${ac_cv_prog_RANLIB+set}" = set; then
38896 echo $ECHO_N "(cached) $ECHO_C" >&6
38898 if test -n "$RANLIB"; then
38899 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38902 for as_dir
in $PATH
38905 test -z "$as_dir" && as_dir
=.
38906 for ac_exec_ext
in '' $ac_executable_extensions; do
38907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38908 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38917 RANLIB
=$ac_cv_prog_RANLIB
38918 if test -n "$RANLIB"; then
38919 echo "$as_me:$LINENO: result: $RANLIB" >&5
38920 echo "${ECHO_T}$RANLIB" >&6
38922 echo "$as_me:$LINENO: result: no" >&5
38923 echo "${ECHO_T}no" >&6
38927 if test -z "$ac_cv_prog_RANLIB"; then
38928 ac_ct_RANLIB
=$RANLIB
38929 # Extract the first word of "ranlib", so it can be a program name with args.
38930 set dummy ranlib
; ac_word
=$2
38931 echo "$as_me:$LINENO: checking for $ac_word" >&5
38932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38933 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38934 echo $ECHO_N "(cached) $ECHO_C" >&6
38936 if test -n "$ac_ct_RANLIB"; then
38937 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38940 for as_dir
in $PATH
38943 test -z "$as_dir" && as_dir
=.
38944 for ac_exec_ext
in '' $ac_executable_extensions; do
38945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38946 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38953 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38956 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38957 if test -n "$ac_ct_RANLIB"; then
38958 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38959 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38961 echo "$as_me:$LINENO: result: no" >&5
38962 echo "${ECHO_T}no" >&6
38965 RANLIB
=$ac_ct_RANLIB
38967 RANLIB
="$ac_cv_prog_RANLIB"
38970 # Find a good install program. We prefer a C program (faster),
38971 # so one script is as good as another. But avoid the broken or
38972 # incompatible versions:
38973 # SysV /etc/install, /usr/sbin/install
38974 # SunOS /usr/etc/install
38975 # IRIX /sbin/install
38977 # AmigaOS /C/install, which installs bootblocks on floppy discs
38978 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38979 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38980 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38981 # OS/2's system install, which has a completely different semantic
38982 # ./install, which can be erroneously created by make from ./install.sh.
38983 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38984 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38985 if test -z "$INSTALL"; then
38986 if test "${ac_cv_path_install+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38990 for as_dir
in $PATH
38993 test -z "$as_dir" && as_dir
=.
38994 # Account for people who put trailing slashes in PATH elements.
38996 .
/ | .
// | /cC
/* | \
38997 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38998 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
39001 # OSF1 and SCO ODT 3.0 have their own names for install.
39002 # Don't use installbsd from OSF since it installs stuff as root
39004 for ac_prog
in ginstall scoinst
install; do
39005 for ac_exec_ext
in '' $ac_executable_extensions; do
39006 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
39007 if test $ac_prog = install &&
39008 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39009 # AIX install. It has an incompatible calling convention.
39011 elif test $ac_prog = install &&
39012 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
39013 # program-specific install script used by HP pwplus--don't use.
39016 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
39028 if test "${ac_cv_path_install+set}" = set; then
39029 INSTALL
=$ac_cv_path_install
39031 # As a last resort, use the slow shell script. We don't cache a
39032 # path for INSTALL within a source directory, because that will
39033 # break other packages using the cache if that directory is
39034 # removed, or if the path is relative.
39035 INSTALL
=$ac_install_sh
39038 echo "$as_me:$LINENO: result: $INSTALL" >&5
39039 echo "${ECHO_T}$INSTALL" >&6
39041 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
39042 # It thinks the first close brace ends the variable substitution.
39043 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
39045 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
39047 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
39049 echo "$as_me:$LINENO: checking whether ln -s works" >&5
39050 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
39052 if test "$LN_S" = "ln -s"; then
39053 echo "$as_me:$LINENO: result: yes" >&5
39054 echo "${ECHO_T}yes" >&6
39056 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
39057 echo "${ECHO_T}no, using $LN_S" >&6
39061 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39062 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39063 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
39064 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39065 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 cat >conftest.
make <<\_ACEOF
39069 @
echo 'ac_maketemp="$(MAKE)"'
39071 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39072 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39073 if test -n "$ac_maketemp"; then
39074 eval ac_cv_prog_make_
${ac_make}_set
=yes
39076 eval ac_cv_prog_make_
${ac_make}_set
=no
39078 rm -f conftest.
make
39080 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39081 echo "$as_me:$LINENO: result: yes" >&5
39082 echo "${ECHO_T}yes" >&6
39085 echo "$as_me:$LINENO: result: no" >&5
39086 echo "${ECHO_T}no" >&6
39087 SET_MAKE
="MAKE=${MAKE-make}"
39092 if test -n "$ac_tool_prefix"; then
39093 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
39094 set dummy
${ac_tool_prefix}ar; ac_word
=$2
39095 echo "$as_me:$LINENO: checking for $ac_word" >&5
39096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39097 if test "${ac_cv_prog_AR+set}" = set; then
39098 echo $ECHO_N "(cached) $ECHO_C" >&6
39100 if test -n "$AR"; then
39101 ac_cv_prog_AR
="$AR" # Let the user override the test.
39103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39104 for as_dir
in $PATH
39107 test -z "$as_dir" && as_dir
=.
39108 for ac_exec_ext
in '' $ac_executable_extensions; do
39109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39110 ac_cv_prog_AR
="${ac_tool_prefix}ar"
39111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39120 if test -n "$AR"; then
39121 echo "$as_me:$LINENO: result: $AR" >&5
39122 echo "${ECHO_T}$AR" >&6
39124 echo "$as_me:$LINENO: result: no" >&5
39125 echo "${ECHO_T}no" >&6
39129 if test -z "$ac_cv_prog_AR"; then
39131 # Extract the first word of "ar", so it can be a program name with args.
39132 set dummy
ar; ac_word
=$2
39133 echo "$as_me:$LINENO: checking for $ac_word" >&5
39134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39135 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 if test -n "$ac_ct_AR"; then
39139 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
39141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39142 for as_dir
in $PATH
39145 test -z "$as_dir" && as_dir
=.
39146 for ac_exec_ext
in '' $ac_executable_extensions; do
39147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39148 ac_cv_prog_ac_ct_AR
="ar"
39149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39155 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
39158 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
39159 if test -n "$ac_ct_AR"; then
39160 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
39161 echo "${ECHO_T}$ac_ct_AR" >&6
39163 echo "$as_me:$LINENO: result: no" >&5
39164 echo "${ECHO_T}no" >&6
39169 AR
="$ac_cv_prog_AR"
39172 if test -n "$ac_tool_prefix"; then
39173 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
39174 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
39175 echo "$as_me:$LINENO: checking for $ac_word" >&5
39176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39177 if test "${ac_cv_prog_STRIP+set}" = set; then
39178 echo $ECHO_N "(cached) $ECHO_C" >&6
39180 if test -n "$STRIP"; then
39181 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
39183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39184 for as_dir
in $PATH
39187 test -z "$as_dir" && as_dir
=.
39188 for ac_exec_ext
in '' $ac_executable_extensions; do
39189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39190 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
39191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39199 STRIP
=$ac_cv_prog_STRIP
39200 if test -n "$STRIP"; then
39201 echo "$as_me:$LINENO: result: $STRIP" >&5
39202 echo "${ECHO_T}$STRIP" >&6
39204 echo "$as_me:$LINENO: result: no" >&5
39205 echo "${ECHO_T}no" >&6
39209 if test -z "$ac_cv_prog_STRIP"; then
39211 # Extract the first word of "strip", so it can be a program name with args.
39212 set dummy strip
; ac_word
=$2
39213 echo "$as_me:$LINENO: checking for $ac_word" >&5
39214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39215 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
39216 echo $ECHO_N "(cached) $ECHO_C" >&6
39218 if test -n "$ac_ct_STRIP"; then
39219 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
39221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39222 for as_dir
in $PATH
39225 test -z "$as_dir" && as_dir
=.
39226 for ac_exec_ext
in '' $ac_executable_extensions; do
39227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39228 ac_cv_prog_ac_ct_STRIP
="strip"
39229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39235 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
39238 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
39239 if test -n "$ac_ct_STRIP"; then
39240 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
39241 echo "${ECHO_T}$ac_ct_STRIP" >&6
39243 echo "$as_me:$LINENO: result: no" >&5
39244 echo "${ECHO_T}no" >&6
39249 STRIP
="$ac_cv_prog_STRIP"
39252 if test -n "$ac_tool_prefix"; then
39253 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
39254 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
39255 echo "$as_me:$LINENO: checking for $ac_word" >&5
39256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39257 if test "${ac_cv_prog_NM+set}" = set; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39260 if test -n "$NM"; then
39261 ac_cv_prog_NM
="$NM" # Let the user override the test.
39263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39264 for as_dir
in $PATH
39267 test -z "$as_dir" && as_dir
=.
39268 for ac_exec_ext
in '' $ac_executable_extensions; do
39269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39270 ac_cv_prog_NM
="${ac_tool_prefix}nm"
39271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39280 if test -n "$NM"; then
39281 echo "$as_me:$LINENO: result: $NM" >&5
39282 echo "${ECHO_T}$NM" >&6
39284 echo "$as_me:$LINENO: result: no" >&5
39285 echo "${ECHO_T}no" >&6
39289 if test -z "$ac_cv_prog_NM"; then
39291 # Extract the first word of "nm", so it can be a program name with args.
39292 set dummy nm
; ac_word
=$2
39293 echo "$as_me:$LINENO: checking for $ac_word" >&5
39294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39295 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39298 if test -n "$ac_ct_NM"; then
39299 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
39301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39302 for as_dir
in $PATH
39305 test -z "$as_dir" && as_dir
=.
39306 for ac_exec_ext
in '' $ac_executable_extensions; do
39307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39308 ac_cv_prog_ac_ct_NM
="nm"
39309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39315 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
39318 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
39319 if test -n "$ac_ct_NM"; then
39320 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
39321 echo "${ECHO_T}$ac_ct_NM" >&6
39323 echo "$as_me:$LINENO: result: no" >&5
39324 echo "${ECHO_T}no" >&6
39329 NM
="$ac_cv_prog_NM"
39333 case ${BAKEFILE_HOST} in
39335 INSTALL_DIR
="mkdir -p"
39337 *) INSTALL_DIR
="$INSTALL -d"
39343 case ${BAKEFILE_HOST} in
39344 *-*-cygwin* | *-*-mingw32* )
39345 LDFLAGS_GUI
="-mwindows"
39351 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39352 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39353 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
39358 egrep -s GNU
> /dev
/null
); then
39359 bakefile_cv_prog_makeisgnu
="yes"
39361 bakefile_cv_prog_makeisgnu
="no"
39365 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39366 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39368 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39385 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39386 case "${BAKEFILE_HOST}" in
39387 *-*-cygwin* | *-*-mingw32* )
39393 *-pc-os2_emx | *-pc-os2-emx )
39396 powerpc
-*-darwin* )
39403 powerpc
-apple-macos* )
39412 case "$BAKEFILE_FORCE_PLATFORM" in
39433 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39434 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39435 { (exit 1); exit 1; }; }
39450 # Check whether --enable-omf or --disable-omf was given.
39451 if test "${enable_omf+set}" = set; then
39452 enableval
="$enable_omf"
39453 bk_os2_use_omf
="$enableval"
39456 case "${BAKEFILE_HOST}" in
39458 CFLAGS
="$CFLAGS -fno-common"
39459 CXXFLAGS
="$CXXFLAGS -fno-common"
39462 *-pc-os2_emx | *-pc-os2-emx )
39463 if test "x$bk_os2_use_omf" = "xyes" ; then
39466 LDFLAGS
="-Zomf $LDFLAGS"
39467 CFLAGS
="-Zomf $CFLAGS"
39468 CXXFLAGS
="-Zomf $CXXFLAGS"
39476 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
39482 SO_SUFFIX_MODULE
="so"
39487 DLLPREFIX_MODULE
=""
39490 case "${BAKEFILE_HOST}" in
39493 SO_SUFFIX_MODULE
="sl"
39497 SO_SUFFIX_MODULE
="a"
39499 *-*-cygwin* | *-*-mingw32* )
39501 SO_SUFFIX_MODULE
="dll"
39502 DLLIMP_SUFFIX
="dll.a"
39510 *-pc-os2_emx | *-pc-os2-emx )
39512 SO_SUFFIX_MODULE
="dll"
39513 DLLIMP_SUFFIX
=$OS2_LIBEXT
39517 LIBEXT
=".$OS2_LIBEXT"
39519 powerpc
-*-darwin* )
39521 SO_SUFFIX_MODULE
="bundle"
39525 if test "x$DLLIMP_SUFFIX" = "x" ; then
39526 DLLIMP_SUFFIX
="$SO_SUFFIX"
39540 if test "x$GCC" = "xyes"; then
39544 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
39545 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
39547 case "${BAKEFILE_HOST}" in
39549 if test "x$GCC" != "xyes"; then
39550 LDFLAGS
="$LDFLAGS -L/usr/lib"
39552 SHARED_LD_CC
="${CC} -b -o"
39553 SHARED_LD_CXX
="${CXX} -b -o"
39559 if test "x$GCC" != "xyes"; then
39560 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39561 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39562 if test "${bakefile_cv_prog_icc+set}" = set; then
39563 echo $ECHO_N "(cached) $ECHO_C" >&6
39566 cat >conftest.
$ac_ext <<_ACEOF
39569 cat confdefs.h
>>conftest.
$ac_ext
39570 cat >>conftest.
$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39577 #ifndef __INTEL_COMPILER
39585 rm -f conftest.
$ac_objext
39586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39587 (eval $ac_compile) 2>conftest.er1
39589 grep -v '^ *+' conftest.er1
>conftest.err
39591 cat conftest.err
>&5
39592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); } &&
39594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39596 (eval $ac_try) 2>&5
39598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39599 (exit $ac_status); }; } &&
39600 { ac_try
='test -s conftest.$ac_objext'
39601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39602 (eval $ac_try) 2>&5
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); }; }; then
39606 bakefile_cv_prog_icc
=yes
39608 echo "$as_me: failed program was:" >&5
39609 sed 's/^/| /' conftest.
$ac_ext >&5
39611 bakefile_cv_prog_icc
=no
39614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39617 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39618 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39619 if test "$bakefile_cv_prog_icc" = "yes"; then
39626 if test "x$GCC" != xyes
; then
39627 SHARED_LD_CC
="${CC} -G -o"
39628 SHARED_LD_CXX
="${CXX} -G -o"
39635 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39636 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39637 if test "${wx_cv_gcc31+set}" = set; then
39638 echo $ECHO_N "(cached) $ECHO_C" >&6
39641 cat >conftest.
$ac_ext <<_ACEOF
39644 cat confdefs.h
>>conftest.
$ac_ext
39645 cat >>conftest.
$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39652 #if (__GNUC__ < 3) || \
39653 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39661 rm -f conftest.
$ac_objext
39662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39663 (eval $ac_compile) 2>conftest.er1
39665 grep -v '^ *+' conftest.er1
>conftest.err
39667 cat conftest.err
>&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } &&
39670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39672 (eval $ac_try) 2>&5
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); }; } &&
39676 { ac_try
='test -s conftest.$ac_objext'
39677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39678 (eval $ac_try) 2>&5
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); }; }; then
39686 echo "$as_me: failed program was:" >&5
39687 sed 's/^/| /' conftest.
$ac_ext >&5
39694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39697 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39698 echo "${ECHO_T}$wx_cv_gcc31" >&6
39699 if test "$wx_cv_gcc31" = "no"; then
39702 cat <<EOF >shared-ld-sh
39704 #-----------------------------------------------------------------------------
39705 #-- Name: distrib/mac/shared-ld-sh
39706 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39707 #-- Author: Gilles Depeyrot
39708 #-- Copyright: (c) 2002 Gilles Depeyrot
39709 #-- Licence: any use permitted
39710 #-----------------------------------------------------------------------------
39715 linking_flag="-dynamiclib"
39717 while test ${D}# -gt 0; do
39724 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39725 # collect these options and values
39726 args="${D}{args} ${D}1 ${D}2"
39730 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39731 # collect these options
39732 args="${D}{args} ${D}1"
39735 -dynamiclib|-bundle)
39736 linking_flag="${D}1"
39740 echo "shared-ld: unhandled option '${D}1'"
39744 *.o | *.a | *.dylib)
39745 # collect object files
39746 objects="${D}{objects} ${D}1"
39750 echo "shared-ld: unhandled argument '${D}1'"
39759 # Link one module containing all the others
39761 if test ${D}{verbose} = 1; then
39762 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39764 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39766 if test ${D}{status} != 0; then
39771 # Link the shared library from the single module created
39773 if test ${D}{verbose} = 1; then
39774 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39776 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39778 if test ${D}{status} != 0; then
39783 # Remove intermediate module
39785 rm -f master.${D}${D}.o
39790 chmod +x shared
-ld-sh
39792 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39793 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39794 SHARED_LD_CXX
="$SHARED_LD_CC"
39795 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
39797 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39798 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39799 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39800 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39803 PIC_FLAG
="-dynamic -fPIC"
39807 if test "x$GCC" != "xyes"; then
39808 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39809 set dummy makeC
++SharedLib
; ac_word
=$2
39810 echo "$as_me:$LINENO: checking for $ac_word" >&5
39811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39812 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39815 if test -n "$AIX_CXX_LD"; then
39816 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39819 for as_dir
in $PATH
39822 test -z "$as_dir" && as_dir
=.
39823 for ac_exec_ext
in '' $ac_executable_extensions; do
39824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39825 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39832 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39835 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39836 if test -n "$AIX_CXX_LD"; then
39837 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39838 echo "${ECHO_T}$AIX_CXX_LD" >&6
39840 echo "$as_me:$LINENO: result: no" >&5
39841 echo "${ECHO_T}no" >&6
39844 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39845 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39850 SHARED_LD_CC
="${LD} -nostart -o"
39851 SHARED_LD_CXX
="${LD} -nostart -o"
39855 if test "x$GCC" != "xyes"; then
39860 *-*-cygwin* | *-*-mingw32* )
39862 SHARED_LD_CC
="\$(CC) -shared -o"
39863 SHARED_LD_CXX
="\$(CXX) -shared -o"
39866 *-pc-os2_emx | *-pc-os2-emx )
39867 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39868 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39872 cat <<EOF >dllar.sh
39875 # dllar - a tool to build both a .dll and an .a file
39876 # from a set of object (.o) files for EMX/OS2.
39878 # Written by Andrew Zabolotny, bit@freya.etu.ru
39879 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39881 # This script will accept a set of files on the command line.
39882 # All the public symbols from the .o files will be exported into
39883 # a .DEF file, then linker will be run (through gcc) against them to
39884 # build a shared library consisting of all given .o files. All libraries
39885 # (.a) will be first decompressed into component .o files then act as
39886 # described above. You can optionally give a description (-d "description")
39887 # which will be put into .DLL. To see the list of accepted options (as well
39888 # as command-line format) simply run this program without options. The .DLL
39889 # is built to be imported by name (there is no guarantee that new versions
39890 # of the library you build will have same ordinals for same symbols).
39892 # dllar is free software; you can redistribute it and/or modify
39893 # it under the terms of the GNU General Public License as published by
39894 # the Free Software Foundation; either version 2, or (at your option)
39895 # any later version.
39897 # dllar is distributed in the hope that it will be useful,
39898 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39899 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39900 # GNU General Public License for more details.
39902 # You should have received a copy of the GNU General Public License
39903 # along with dllar; see the file COPYING. If not, write to the Free
39904 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39907 # To successfuly run this program you will need:
39908 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39909 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39911 # (used to build the .dll)
39913 # (used to create .def file from .o files)
39915 # (used to create .a file from .def file)
39916 # - GNU text utilites (cat, sort, uniq)
39917 # used to process emxexp output
39918 # - GNU file utilities (mv, rm)
39920 # - lxlite (optional, see flag below)
39921 # (used for general .dll cleanup)
39928 # basnam, variant of basename, which does _not_ remove the path, _iff_
39929 # second argument (suffix to remove) is given
39933 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39936 echo ${D}1 | sed 's/'${D}2'${D}//'
39939 echo "error in basnam ${D}*"
39945 # Cleanup temporary files and output
39948 for i in ${D}inputFiles ; do
39951 rm -rf \`basnam ${D}i !\`
39958 # Kill result in case of failure as there is just to many stupid make/nmake
39959 # things out there which doesn't do this.
39960 if [ ${D}# -eq 0 ]; then
39961 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39965 # Print usage and exit script with rc=1.
39967 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39968 echo ' [-name-mangler-script script.sh]'
39969 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39970 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39971 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39972 echo ' [*.o] [*.a]'
39973 echo '*> "output_file" should have no extension.'
39974 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39975 echo ' The import library name is derived from this and is set to "name".a,'
39976 echo ' unless overridden by -import'
39977 echo '*> "importlib_name" should have no extension.'
39978 echo ' If it has the .o, or .a extension, it is automatically removed.'
39979 echo ' This name is used as the import library name and may be longer and'
39980 echo ' more descriptive than the DLL name which has to follow the old '
39981 echo ' 8.3 convention of FAT.'
39982 echo '*> "script.sh may be given to override the output_file name by a'
39983 echo ' different name. It is mainly useful if the regular make process'
39984 echo ' of some package does not take into account OS/2 restriction of'
39985 echo ' DLL name lengths. It takes the importlib name as input and is'
39986 echo ' supposed to procude a shorter name as output. The script should'
39987 echo ' expect to get importlib_name without extension and should produce'
39988 echo ' a (max.) 8 letter name without extension.'
39989 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39990 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39991 echo ' These flags will be put at the start of GCC command line.'
39992 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39993 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39994 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39995 echo ' If the last character of a symbol is "*", all symbols beginning'
39996 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39997 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39998 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39999 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
40000 echo ' C runtime DLLs.'
40001 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
40002 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
40003 echo ' unchanged to GCC at the end of command line.'
40004 echo '*> If you create a DLL from a library and you do not specify -o,'
40005 echo ' the basename for DLL and import library will be set to library name,'
40006 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
40007 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
40008 echo ' library will be renamed into gcc_s.a.'
40011 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
40012 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
40017 # Execute a command.
40018 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
40019 # @Uses Whatever CleanUp() uses.
40025 if [ ${D}rcCmd -ne 0 ]; then
40026 echo "command failed, exit code="${D}rcCmd
40041 CFLAGS="-s -Zcrtdll"
40043 EXPORT_BY_ORDINALS=0
40048 case ${D}curDirS in
40052 curDirS=${D}{curDirS}"/"
40055 # Parse commandline
40058 while [ ${D}1 ]; do
40061 EXPORT_BY_ORDINALS=1;
40071 -name-mangler-script)
40092 exclude_symbols=${D}{exclude_symbols}${D}1" "
40096 library_flags=${D}{library_flags}${D}1" "
40115 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40118 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
40119 if [ ${D}omfLinking -eq 1 ]; then
40120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
40122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
40127 if [ ${D}libsToLink -ne 0 ]; then
40128 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
40130 for file in ${D}1 ; do
40131 if [ -f ${D}file ]; then
40132 inputFiles="${D}{inputFiles} ${D}file"
40136 if [ ${D}found -eq 0 ]; then
40137 echo "ERROR: No file(s) found: "${D}1
40144 done # iterate cmdline words
40147 if [ -z "${D}inputFiles" ]; then
40148 echo "dllar: no input files"
40152 # Now extract all .o files from .a files
40154 for file in ${D}inputFiles ; do
40165 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
40170 dirname=\`basnam ${D}file ${D}suffix\`"_%"
40172 if [ ${D}? -ne 0 ]; then
40173 echo "Failed to create subdirectory ./${D}dirname"
40177 # Append '!' to indicate archive
40178 newInputFiles="${D}newInputFiles ${D}{dirname}!"
40179 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
40182 for subfile in ${D}dirname/*.o* ; do
40183 if [ -f ${D}subfile ]; then
40185 if [ -s ${D}subfile ]; then
40186 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
40187 newInputFiles="${D}newInputFiles ${D}subfile"
40191 if [ ${D}found -eq 0 ]; then
40192 echo "WARNING: there are no files in archive \\'${D}file\\'"
40196 newInputFiles="${D}{newInputFiles} ${D}file"
40200 inputFiles="${D}newInputFiles"
40202 # Output filename(s).
40204 if [ -z ${D}outFile ]; then
40206 set outFile ${D}inputFiles; outFile=${D}2
40209 # If it is an archive, remove the '!' and the '_%' suffixes
40210 case ${D}outFile in
40212 outFile=\`basnam ${D}outFile _%!\`
40217 case ${D}outFile in
40219 outFile=\`basnam ${D}outFile .dll\`
40222 outFile=\`basnam ${D}outFile .DLL\`
40225 outFile=\`basnam ${D}outFile .o\`
40228 outFile=\`basnam ${D}outFile .obj\`
40231 outFile=\`basnam ${D}outFile .a\`
40234 outFile=\`basnam ${D}outFile .lib\`
40239 case ${D}outimpFile in
40241 outimpFile=\`basnam ${D}outimpFile .a\`
40244 outimpFile=\`basnam ${D}outimpFile .lib\`
40249 if [ -z ${D}outimpFile ]; then
40250 outimpFile=${D}outFile
40252 defFile="${D}{outFile}.def"
40253 arcFile="${D}{outimpFile}.a"
40254 arcFile2="${D}{outimpFile}.lib"
40256 #create ${D}dllFile as something matching 8.3 restrictions,
40257 if [ -z ${D}renameScript ] ; then
40258 dllFile="${D}outFile"
40260 dllFile=\`${D}renameScript ${D}outimpFile\`
40263 if [ ${D}do_backup -ne 0 ] ; then
40264 if [ -f ${D}arcFile ] ; then
40265 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
40267 if [ -f ${D}arcFile2 ] ; then
40268 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
40272 # Extract public symbols from all the object files.
40273 tmpdefFile=${D}{defFile}_%
40274 rm -f ${D}tmpdefFile
40275 for file in ${D}inputFiles ; do
40280 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
40285 # Create the def file.
40287 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
40288 dllFile="${D}{dllFile}.dll"
40289 if [ ! -z ${D}description ]; then
40290 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
40292 echo "EXPORTS" >> ${D}defFile
40294 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
40295 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
40297 # Checks if the export is ok or not.
40298 for word in ${D}exclude_symbols; do
40299 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
40300 mv ${D}{tmpdefFile}% ${D}tmpdefFile
40304 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40305 sed "=" < ${D}tmpdefFile | \\
40309 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
40311 ' > ${D}{tmpdefFile}%
40312 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
40314 rm -f ${D}{tmpdefFile}%
40316 cat ${D}tmpdefFile >> ${D}defFile
40317 rm -f ${D}tmpdefFile
40319 # Do linking, create implib, and apply lxlite.
40321 for file in ${D}inputFiles ; do
40326 gccCmdl="${D}gccCmdl ${D}file"
40330 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
40331 touch "${D}{outFile}.dll"
40333 doCommand "emximp -o ${D}arcFile ${D}defFile"
40334 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
40336 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
40339 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
40341 doCommand "emxomf -s -l ${D}arcFile"
40351 powerpc
-apple-macos* | \
40352 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40360 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40361 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40362 { (exit 1); exit 1; }; }
40365 if test "x$PIC_FLAG" != "x" ; then
40366 PIC_FLAG
="$PIC_FLAG -DPIC"
40369 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40370 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
40372 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40373 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
40390 case "${BAKEFILE_HOST}" in
40391 *-*-linux* | *-*-freebsd* )
40392 SONAME_FLAG
="-Wl,-soname,"
40420 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40421 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40424 if test "x$GCC" = "xyes"; then
40427 case "${BAKEFILE_HOST}" in
40428 powerpc
-*-darwin* )
40429 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
40432 DEPSFLAG_GCC
="-MMD"
40435 echo "$as_me:$LINENO: result: gcc" >&5
40436 echo "${ECHO_T}gcc" >&6
40437 elif test "x$MWCC" = "xyes"; then
40440 DEPSFLAG_GCC
="-MMD"
40441 echo "$as_me:$LINENO: result: mwcc" >&5
40442 echo "${ECHO_T}mwcc" >&6
40444 echo "$as_me:$LINENO: result: none" >&5
40445 echo "${ECHO_T}none" >&6
40448 if test $DEPS_TRACKING = 1 ; then
40454 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40455 # script. It is used to track C/C++ files dependencies in portable way.
40457 # Permission is given to use this file in any way.
40459 DEPSMODE=${DEPSMODE}
40461 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40463 mkdir -p ${D}DEPSDIR
40465 if test ${D}DEPSMODE = gcc ; then
40466 ${D}* ${D}{DEPSFLAG_GCC}
40468 if test ${D}{status} != 0 ; then
40471 # move created file to the location we want it in:
40472 while test ${D}# -gt 0; do
40486 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40487 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40488 if test -f ${D}depfile ; then
40489 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40492 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40493 if test -f ${D}depfile ; then
40494 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40514 case ${BAKEFILE_HOST} in
40515 *-*-cygwin* | *-*-mingw32* )
40516 if test "$build" != "$host" ; then
40517 RESCOMP
=$host_alias-windres
40519 # Extract the first word of "windres", so it can be a program name with args.
40520 set dummy windres
; ac_word
=$2
40521 echo "$as_me:$LINENO: checking for $ac_word" >&5
40522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40523 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40524 echo $ECHO_N "(cached) $ECHO_C" >&6
40526 if test -n "$RESCOMP"; then
40527 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40530 for as_dir
in $PATH
40533 test -z "$as_dir" && as_dir
=.
40534 for ac_exec_ext
in '' $ac_executable_extensions; do
40535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40536 ac_cv_prog_RESCOMP
="windres"
40537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40543 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
40546 RESCOMP
=$ac_cv_prog_RESCOMP
40547 if test -n "$RESCOMP"; then
40548 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40549 echo "${ECHO_T}$RESCOMP" >&6
40551 echo "$as_me:$LINENO: result: no" >&5
40552 echo "${ECHO_T}no" >&6
40558 *-*-darwin* | powerpc
-apple-macos* )
40559 # Extract the first word of "Rez", so it can be a program name with args.
40560 set dummy Rez
; ac_word
=$2
40561 echo "$as_me:$LINENO: checking for $ac_word" >&5
40562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40563 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40564 echo $ECHO_N "(cached) $ECHO_C" >&6
40566 if test -n "$RESCOMP"; then
40567 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
40569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40570 for as_dir
in $PATH
40573 test -z "$as_dir" && as_dir
=.
40574 for ac_exec_ext
in '' $ac_executable_extensions; do
40575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40576 ac_cv_prog_RESCOMP
="Rez"
40577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40583 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
40586 RESCOMP
=$ac_cv_prog_RESCOMP
40587 if test -n "$RESCOMP"; then
40588 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40589 echo "${ECHO_T}$RESCOMP" >&6
40591 echo "$as_me:$LINENO: result: no" >&5
40592 echo "${ECHO_T}no" >&6
40595 # Extract the first word of "SetFile", so it can be a program name with args.
40596 set dummy SetFile
; ac_word
=$2
40597 echo "$as_me:$LINENO: checking for $ac_word" >&5
40598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40599 if test "${ac_cv_prog_SETFILE+set}" = set; then
40600 echo $ECHO_N "(cached) $ECHO_C" >&6
40602 if test -n "$SETFILE"; then
40603 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40606 for as_dir
in $PATH
40609 test -z "$as_dir" && as_dir
=.
40610 for ac_exec_ext
in '' $ac_executable_extensions; do
40611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40612 ac_cv_prog_SETFILE
="SetFile"
40613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40619 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40622 SETFILE
=$ac_cv_prog_SETFILE
40623 if test -n "$SETFILE"; then
40624 echo "$as_me:$LINENO: result: $SETFILE" >&5
40625 echo "${ECHO_T}$SETFILE" >&6
40627 echo "$as_me:$LINENO: result: no" >&5
40628 echo "${ECHO_T}no" >&6
40638 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.5"
40641 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.5"
40645 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40646 if test "${enable_precomp_headers+set}" = set; then
40647 enableval
="$enable_precomp_headers"
40648 bk_use_pch
="$enableval"
40653 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40654 if test "x$GCC" = "xyes"; then
40655 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40656 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40657 cat >conftest.
$ac_ext <<_ACEOF
40660 cat confdefs.h
>>conftest.
$ac_ext
40661 cat >>conftest.
$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40668 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40669 #error "no pch support"
40672 #error "no pch support"
40674 #if (__GNUC__ == 3) && \
40675 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40676 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40677 #error "no pch support"
40684 rm -f conftest.
$ac_objext
40685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40686 (eval $ac_compile) 2>conftest.er1
40688 grep -v '^ *+' conftest.er1
>conftest.err
40690 cat conftest.err
>&5
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); } &&
40693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40695 (eval $ac_try) 2>&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); }; } &&
40699 { ac_try
='test -s conftest.$ac_objext'
40700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40701 (eval $ac_try) 2>&5
40703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704 (exit $ac_status); }; }; then
40706 echo "$as_me:$LINENO: result: yes" >&5
40707 echo "${ECHO_T}yes" >&6
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.
$ac_ext >&5
40715 echo "$as_me:$LINENO: result: no" >&5
40716 echo "${ECHO_T}no" >&6
40719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40720 if test $GCC_PCH = 1 ; then
40723 cat <<EOF >bk-make-pch
40726 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40727 # script. It is used to generated precompiled headers.
40729 # Permission is given to use this file in any way.
40738 while test ${D}{#} -gt 0; do
40741 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40742 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40743 headerfile="${D}{incdir}/${D}{header}"
40747 compiler="${D}{compiler} ${D}{1}"
40751 if test "x${D}{headerfile}" = "x" ; then
40752 echo "error: can't find header ${D}{header} in include paths" >2
40754 if test -f ${D}{outfile} ; then
40755 rm -f ${D}{outfile}
40757 mkdir -p \`dirname ${D}{outfile}\`
40759 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40761 # can do this because gcc is >= 3.4:
40762 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40767 chmod +x bk
-make-pch
40774 COND_BUILD_DEBUG
="#"
40775 if test "x$BUILD" = "xdebug" ; then
40776 COND_BUILD_DEBUG
=""
40779 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40780 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40781 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40784 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40785 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40786 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40789 COND_BUILD_DEBUG_UNICODE_0
="#"
40790 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40791 COND_BUILD_DEBUG_UNICODE_0
=""
40794 COND_BUILD_DEBUG_UNICODE_1
="#"
40795 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40796 COND_BUILD_DEBUG_UNICODE_1
=""
40799 COND_BUILD_RELEASE
="#"
40800 if test "x$BUILD" = "xrelease" ; then
40801 COND_BUILD_RELEASE
=""
40804 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40805 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40806 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40809 COND_BUILD_RELEASE_UNICODE_0
="#"
40810 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40811 COND_BUILD_RELEASE_UNICODE_0
=""
40814 COND_BUILD_RELEASE_UNICODE_1
="#"
40815 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40816 COND_BUILD_RELEASE_UNICODE_1
=""
40819 COND_DEBUG_FLAG_1
="#"
40820 if test "x$DEBUG_FLAG" = "x1" ; then
40821 COND_DEBUG_FLAG_1
=""
40824 COND_DEBUG_INFO_0
="#"
40825 if test "x$DEBUG_INFO" = "x0" ; then
40826 COND_DEBUG_INFO_0
=""
40829 COND_DEBUG_INFO_1
="#"
40830 if test "x$DEBUG_INFO" = "x1" ; then
40831 COND_DEBUG_INFO_1
=""
40834 COND_DEPS_TRACKING_0
="#"
40835 if test "x$DEPS_TRACKING" = "x0" ; then
40836 COND_DEPS_TRACKING_0
=""
40839 COND_DEPS_TRACKING_1
="#"
40840 if test "x$DEPS_TRACKING" = "x1" ; then
40841 COND_DEPS_TRACKING_1
=""
40845 if test "x$GCC_PCH" = "x1" ; then
40849 COND_MONOLITHIC_0
="#"
40850 if test "x$MONOLITHIC" = "x0" ; then
40851 COND_MONOLITHIC_0
=""
40854 COND_MONOLITHIC_0_SHARED_0
="#"
40855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40856 COND_MONOLITHIC_0_SHARED_0
=""
40859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40874 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40876 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40879 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40881 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40884 COND_MONOLITHIC_0_SHARED_1
="#"
40885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40886 COND_MONOLITHIC_0_SHARED_1
=""
40889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40904 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40906 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40909 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40911 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40914 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40915 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40916 COND_MONOLITHIC_0_USE_ODBC_1
=""
40919 COND_MONOLITHIC_1
="#"
40920 if test "x$MONOLITHIC" = "x1" ; then
40921 COND_MONOLITHIC_1
=""
40924 COND_MONOLITHIC_1_SHARED_0
="#"
40925 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40926 COND_MONOLITHIC_1_SHARED_0
=""
40929 COND_MONOLITHIC_1_SHARED_1
="#"
40930 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40931 COND_MONOLITHIC_1_SHARED_1
=""
40934 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40935 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40936 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40939 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40940 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40941 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40944 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40945 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40946 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40949 COND_PLATFORM_MACOSX_1
="#"
40950 if test "x$PLATFORM_MACOSX" = "x1" ; then
40951 COND_PLATFORM_MACOSX_1
=""
40954 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40955 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40956 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40959 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40960 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40961 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40964 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40966 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40969 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40971 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40974 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
40975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40976 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
40979 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40981 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40984 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40986 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40989 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40991 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40994 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40996 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40999 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
41000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41001 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
41004 COND_PLATFORM_MACOS_1
="#"
41005 if test "x$PLATFORM_MACOS" = "x1" ; then
41006 COND_PLATFORM_MACOS_1
=""
41009 COND_PLATFORM_MAC_1
="#"
41010 if test "x$PLATFORM_MAC" = "x1" ; then
41011 COND_PLATFORM_MAC_1
=""
41014 COND_PLATFORM_OS2_1
="#"
41015 if test "x$PLATFORM_OS2" = "x1" ; then
41016 COND_PLATFORM_OS2_1
=""
41019 COND_PLATFORM_UNIX_0
="#"
41020 if test "x$PLATFORM_UNIX" = "x0" ; then
41021 COND_PLATFORM_UNIX_0
=""
41024 COND_PLATFORM_UNIX_1
="#"
41025 if test "x$PLATFORM_UNIX" = "x1" ; then
41026 COND_PLATFORM_UNIX_1
=""
41029 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
41030 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41031 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
41034 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
41035 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41036 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
41039 COND_PLATFORM_WIN32_0
="#"
41040 if test "x$PLATFORM_WIN32" = "x0" ; then
41041 COND_PLATFORM_WIN32_0
=""
41044 COND_PLATFORM_WIN32_1
="#"
41045 if test "x$PLATFORM_WIN32" = "x1" ; then
41046 COND_PLATFORM_WIN32_1
=""
41050 if test "x$SHARED" = "x0" ; then
41054 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
41055 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41056 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
41059 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
41060 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41061 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
41064 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
41065 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41066 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
41069 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
41070 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41071 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
41074 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41075 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41076 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41080 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41081 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41084 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41086 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41089 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
41090 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41091 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
41094 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
41095 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41096 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
41099 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
41100 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41101 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
41104 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
41105 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41106 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
41110 if test "x$SHARED" = "x1" ; then
41114 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
41115 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
41120 if test "x$TOOLKIT" = "x" ; then
41124 COND_TOOLKIT_COCOA
="#"
41125 if test "x$TOOLKIT" = "xCOCOA" ; then
41126 COND_TOOLKIT_COCOA
=""
41129 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
41130 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41131 COND_TOOLKIT_COCOA_USE_GUI_1
=""
41134 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
41135 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41136 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
41139 COND_TOOLKIT_GTK
="#"
41140 if test "x$TOOLKIT" = "xGTK" ; then
41141 COND_TOOLKIT_GTK
=""
41144 COND_TOOLKIT_GTK_USE_GUI_1
="#"
41145 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41146 COND_TOOLKIT_GTK_USE_GUI_1
=""
41149 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
41150 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41151 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
41154 COND_TOOLKIT_MAC
="#"
41155 if test "x$TOOLKIT" = "xMAC" ; then
41156 COND_TOOLKIT_MAC
=""
41159 COND_TOOLKIT_MAC_USE_GUI_1
="#"
41160 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41161 COND_TOOLKIT_MAC_USE_GUI_1
=""
41164 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
41165 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41166 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
41169 COND_TOOLKIT_MGL
="#"
41170 if test "x$TOOLKIT" = "xMGL" ; then
41171 COND_TOOLKIT_MGL
=""
41174 COND_TOOLKIT_MGL_USE_GUI_1
="#"
41175 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41176 COND_TOOLKIT_MGL_USE_GUI_1
=""
41179 COND_TOOLKIT_MOTIF
="#"
41180 if test "x$TOOLKIT" = "xMOTIF" ; then
41181 COND_TOOLKIT_MOTIF
=""
41184 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41186 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41189 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41190 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41191 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41194 COND_TOOLKIT_MSW
="#"
41195 if test "x$TOOLKIT" = "xMSW" ; then
41196 COND_TOOLKIT_MSW
=""
41199 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41201 COND_TOOLKIT_MSW_USE_GUI_1
=""
41204 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41205 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41206 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41209 COND_TOOLKIT_PM
="#"
41210 if test "x$TOOLKIT" = "xPM" ; then
41214 COND_TOOLKIT_PM_USE_GUI_1
="#"
41215 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41216 COND_TOOLKIT_PM_USE_GUI_1
=""
41219 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41220 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41221 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41224 COND_TOOLKIT_WINCE
="#"
41225 if test "x$TOOLKIT" = "xWINCE" ; then
41226 COND_TOOLKIT_WINCE
=""
41229 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41230 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41231 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41234 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41235 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41236 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41239 COND_TOOLKIT_X11
="#"
41240 if test "x$TOOLKIT" = "xX11" ; then
41241 COND_TOOLKIT_X11
=""
41244 COND_TOOLKIT_X11_USE_GUI_1
="#"
41245 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41246 COND_TOOLKIT_X11_USE_GUI_1
=""
41250 if test "x$UNICODE" = "x1" ; then
41254 COND_USE_EXCEPTIONS_0
="#"
41255 if test "x$USE_EXCEPTIONS" = "x0" ; then
41256 COND_USE_EXCEPTIONS_0
=""
41259 COND_USE_EXCEPTIONS_1
="#"
41260 if test "x$USE_EXCEPTIONS" = "x1" ; then
41261 COND_USE_EXCEPTIONS_1
=""
41265 if test "x$USE_GUI" = "x0" ; then
41270 if test "x$USE_GUI" = "x1" ; then
41274 COND_USE_GUI_1_WXUNIV_0
="#"
41275 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41276 COND_USE_GUI_1_WXUNIV_0
=""
41279 COND_USE_GUI_1_WXUNIV_1
="#"
41280 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41281 COND_USE_GUI_1_WXUNIV_1
=""
41284 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41285 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41286 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41289 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41290 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41291 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41294 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41295 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41296 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41299 COND_USE_ODBC_1
="#"
41300 if test "x$USE_ODBC" = "x1" ; then
41304 COND_USE_OPENGL_1
="#"
41305 if test "x$USE_OPENGL" = "x1" ; then
41306 COND_USE_OPENGL_1
=""
41309 COND_USE_PLUGINS_0
="#"
41310 if test "x$USE_PLUGINS" = "x0" ; then
41311 COND_USE_PLUGINS_0
=""
41314 COND_USE_SOSYMLINKS_1
="#"
41315 if test "x$USE_SOSYMLINKS" = "x1" ; then
41316 COND_USE_SOSYMLINKS_1
=""
41319 COND_USE_SOVERLINUX_1
="#"
41320 if test "x$USE_SOVERLINUX" = "x1" ; then
41321 COND_USE_SOVERLINUX_1
=""
41324 COND_USE_SOVERSION_0
="#"
41325 if test "x$USE_SOVERSION" = "x0" ; then
41326 COND_USE_SOVERSION_0
=""
41329 COND_USE_SOVERSOLARIS_1
="#"
41330 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41331 COND_USE_SOVERSOLARIS_1
=""
41335 if test "x$USE_XRC" = "x1" ; then
41339 COND_WITH_PLUGIN_SDL_1
="#"
41340 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41341 COND_WITH_PLUGIN_SDL_1
=""
41345 if test "x$WXUNIV" = "x0" ; then
41350 if test "x$WXUNIV" = "x1" ; then
41354 COND_WXUSE_EXPAT_BUILTIN
="#"
41355 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41356 COND_WXUSE_EXPAT_BUILTIN
=""
41359 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41360 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41361 COND_WXUSE_LIBJPEG_BUILTIN
=""
41364 COND_WXUSE_LIBPNG_BUILTIN
="#"
41365 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41366 COND_WXUSE_LIBPNG_BUILTIN
=""
41369 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41370 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41371 COND_WXUSE_LIBTIFF_BUILTIN
=""
41374 COND_WXUSE_ODBC_BUILTIN
="#"
41375 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41376 COND_WXUSE_ODBC_BUILTIN
=""
41379 COND_WXUSE_REGEX_BUILTIN
="#"
41380 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41381 COND_WXUSE_REGEX_BUILTIN
=""
41384 COND_WXUSE_ZLIB_BUILTIN
="#"
41385 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41386 COND_WXUSE_ZLIB_BUILTIN
=""
41391 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41392 { { 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
41393 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;}
41394 { (exit 1); exit 1; }; }
41398 if test "$wxUSE_SHARED" = "yes"; then
41400 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41401 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41404 *-pc-os2_emx | *-pc-os2-emx )
41405 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41406 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41407 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41408 cp -p ${srcdir}/src
/os
2/dllar.sh .
41413 EXE_LINKER
="$CXX -o"
41417 GCC_PRAGMA_FLAGS
=""
41419 if test $GCC_PCH = 1 ; then
41420 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41421 PCH_FLAGS
="-DWX_PRECOMP"
41424 powerpc
-*-darwin* )
41425 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41428 if test "$wxUSE_STL" = "yes" -o \
41429 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41430 "$wxUSE_NO_RTTI" != "yes"; then
41431 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41432 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41433 cat >conftest.
$ac_ext <<_ACEOF
41436 cat confdefs.h
>>conftest.
$ac_ext
41437 cat >>conftest.
$ac_ext <<_ACEOF
41438 /* end confdefs.h. */
41443 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41444 #error "Not GCC 3.2 or greater"
41451 rm -f conftest.
$ac_objext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41453 (eval $ac_compile) 2>conftest.er1
41455 grep -v '^ *+' conftest.er1
>conftest.err
41457 cat conftest.err
>&5
41458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459 (exit $ac_status); } &&
41460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462 (eval $ac_try) 2>&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); }; } &&
41466 { ac_try
='test -s conftest.$ac_objext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41473 echo "$as_me:$LINENO: result: yes" >&5
41474 echo "${ECHO_T}yes" >&6
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.
$ac_ext >&5
41479 echo "$as_me:$LINENO: result: no" >&5
41480 echo "${ECHO_T}no" >&6
41482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41485 *-pc-os2_emx | *-pc-os2-emx )
41486 if test "$wxUSE_STL" = "yes"; then
41487 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41488 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41489 cat >conftest.
$ac_ext <<_ACEOF
41492 cat confdefs.h
>>conftest.
$ac_ext
41493 cat >>conftest.
$ac_ext <<_ACEOF
41494 /* end confdefs.h. */
41499 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41500 #error "Not GCC 3.2 or greater"
41507 rm -f conftest.
$ac_objext
41508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41509 (eval $ac_compile) 2>conftest.er1
41511 grep -v '^ *+' conftest.er1
>conftest.err
41513 cat conftest.err
>&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); } &&
41516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41518 (eval $ac_try) 2>&5
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; } &&
41522 { ac_try
='test -s conftest.$ac_objext'
41523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41524 (eval $ac_try) 2>&5
41526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41527 (exit $ac_status); }; }; then
41528 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41529 echo "$as_me:$LINENO: result: yes" >&5
41530 echo "${ECHO_T}yes" >&6
41532 echo "$as_me: failed program was:" >&5
41533 sed 's/^/| /' conftest.
$ac_ext >&5
41535 echo "$as_me:$LINENO: result: no" >&5
41536 echo "${ECHO_T}no" >&6
41538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41543 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
41546 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41610 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41611 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41612 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41613 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41614 echo $ECHO_N "(cached) $ECHO_C" >&6
41616 cat >conftest.
make <<\_ACEOF
41618 @
echo 'ac_maketemp="$(MAKE)"'
41620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41621 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41622 if test -n "$ac_maketemp"; then
41623 eval ac_cv_prog_make_
${ac_make}_set
=yes
41625 eval ac_cv_prog_make_
${ac_make}_set
=no
41627 rm -f conftest.
make
41629 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41630 echo "$as_me:$LINENO: result: yes" >&5
41631 echo "${ECHO_T}yes" >&6
41634 echo "$as_me:$LINENO: result: no" >&5
41635 echo "${ECHO_T}no" >&6
41636 SET_MAKE
="MAKE=${MAKE-make}"
41641 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41644 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41647 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41650 ac_config_files
="$ac_config_files version-script Makefile"
41653 ac_config_commands
="$ac_config_commands wx-config
41659 if test "$wxUSE_GUI" = "yes"; then
41660 SUBDIRS
="samples demos utils contrib"
41661 else SUBDIRS
="samples utils"
41666 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41667 if test "${with_cppunit_prefix+set}" = set; then
41668 withval
="$with_cppunit_prefix"
41669 cppunit_config_prefix
="$withval"
41671 cppunit_config_prefix
=""
41674 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41675 if test "${with_cppunit_exec_prefix+set}" = set; then
41676 withval
="$with_cppunit_exec_prefix"
41677 cppunit_config_exec_prefix
="$withval"
41679 cppunit_config_exec_prefix
=""
41682 if test x
$cppunit_config_exec_prefix != x
; then
41683 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41684 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41685 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41688 if test x
$cppunit_config_prefix != x
; then
41689 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41690 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41691 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41695 # Extract the first word of "cppunit-config", so it can be a program name with args.
41696 set dummy cppunit
-config; ac_word
=$2
41697 echo "$as_me:$LINENO: checking for $ac_word" >&5
41698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41699 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41700 echo $ECHO_N "(cached) $ECHO_C" >&6
41702 case $CPPUNIT_CONFIG in
41704 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41708 for as_dir
in $PATH
41711 test -z "$as_dir" && as_dir
=.
41712 for ac_exec_ext
in '' $ac_executable_extensions; do
41713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41714 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41721 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41725 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41727 if test -n "$CPPUNIT_CONFIG"; then
41728 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41729 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41731 echo "$as_me:$LINENO: result: no" >&5
41732 echo "${ECHO_T}no" >&6
41735 cppunit_version_min
=1.8.0
41737 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41738 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41740 if test "$CPPUNIT_CONFIG" = "no" ; then
41743 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41744 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41745 cppunit_version
=`$CPPUNIT_CONFIG --version`
41747 cppunit_major_version
=`echo $cppunit_version | \
41748 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41749 cppunit_minor_version
=`echo $cppunit_version | \
41750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41751 cppunit_micro_version
=`echo $cppunit_version | \
41752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41754 cppunit_major_min
=`echo $cppunit_version_min | \
41755 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41756 cppunit_minor_min
=`echo $cppunit_version_min | \
41757 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41758 cppunit_micro_min
=`echo $cppunit_version_min | \
41759 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41761 cppunit_version_proper
=`expr \
41762 $cppunit_major_version \> $cppunit_major_min \| \
41763 $cppunit_major_version \= $cppunit_major_min \& \
41764 $cppunit_minor_version \> $cppunit_minor_min \| \
41765 $cppunit_major_version \= $cppunit_major_min \& \
41766 $cppunit_minor_version \= $cppunit_minor_min \& \
41767 $cppunit_micro_version \>= $cppunit_micro_min `
41769 if test "$cppunit_version_proper" = "1" ; then
41770 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41771 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41773 echo "$as_me:$LINENO: result: no" >&5
41774 echo "${ECHO_T}no" >&6
41779 if test "x$no_cppunit" = x
; then
41780 SUBDIRS
="$SUBDIRS tests"
41791 for subdir
in `echo $SUBDIRS`; do
41792 if test -d ${srcdir}/${subdir} ; then
41793 if test "$wxUSE_GUI" = "yes"; then
41794 if test ${subdir} = "samples"; then
41795 makefiles
="samples/Makefile.in $makefiles"
41796 for sample
in `echo $SAMPLES_SUBDIRS`; do
41797 if test -d $srcdir/samples
/$sample; then
41798 makefiles
="samples/$sample/Makefile.in $makefiles"
41801 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41803 else if test ${subdir} = "samples"; then
41804 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41805 elif test ${subdir} = "utils"; then
41807 for util
in HelpGen tex2rtf
; do
41808 if test -d $srcdir/utils
/$util ; then
41809 makefiles
="utils/$util/Makefile.in \
41810 utils/$util/src/Makefile.in \
41814 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41818 for mkin
in $makefiles ; do
41819 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41820 ac_config_files
="$ac_config_files $mk"
41827 cat >confcache
<<\_ACEOF
41828 # This file is a shell script that caches the results of configure
41829 # tests run on this system so they can be shared between configure
41830 # scripts and configure runs, see configure's option --config-cache.
41831 # It is not useful on other systems. If it contains results you don't
41832 # want to keep, you may remove or edit it.
41834 # config.status only pays attention to the cache file if you give it
41835 # the --recheck option to rerun configure.
41837 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41838 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41839 # following values.
41843 # The following way of writing the cache mishandles newlines in values,
41844 # but we know of no workaround that is simple, portable, and efficient.
41845 # So, don't put newlines in cache variables' values.
41846 # Ultrix sh set writes to stderr and can't be redirected directly,
41847 # and sets the high bit in the cache file unless we assign to the vars.
41850 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41852 # `set' does not quote correctly, so add quotes (double-quote
41853 # substitution turns \\\\ into \\, and sed turns \\ into \).
41856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41859 # `set' quotes correctly as required by POSIX, so do not add quotes.
41861 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41868 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41870 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41872 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41873 if test -w $cache_file; then
41874 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41875 cat confcache
>$cache_file
41877 echo "not updating unwritable cache $cache_file"
41882 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41883 # Let make expand exec_prefix.
41884 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41886 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41887 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41888 # trailing colons and then remove the whole line if VPATH becomes empty
41889 # (actually we leave an empty line to preserve line numbers).
41890 if test "x$srcdir" = x.
; then
41891 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41892 s/:*\$(srcdir):*/:/;
41893 s/:*\${srcdir}:*/:/;
41895 s/^\([^=]*=[ ]*\):*/\1/;
41901 DEFS
=-DHAVE_CONFIG_H
41905 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41906 # 1. Remove the extension, and $U if already installed.
41907 ac_i
=`echo "$ac_i" |
41908 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41910 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41911 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41913 LIBOBJS
=$ac_libobjs
41915 LTLIBOBJS
=$ac_ltlibobjs
41919 : ${CONFIG_STATUS=./config.status}
41920 ac_clean_files_save
=$ac_clean_files
41921 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41922 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41923 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41924 cat >$CONFIG_STATUS <<_ACEOF
41926 # Generated by $as_me.
41927 # Run this file to recreate the current configuration.
41928 # Compiler output produced by configure, useful for debugging
41929 # configure, is in config.log if it exists.
41932 ac_cs_recheck=false
41934 SHELL=\${CONFIG_SHELL-$SHELL}
41937 cat >>$CONFIG_STATUS <<\_ACEOF
41938 ## --------------------- ##
41939 ## M4sh Initialization. ##
41940 ## --------------------- ##
41942 # Be Bourne compatible
41943 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41946 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41947 # is contrary to our usage. Disable this feature.
41948 alias -g '${1+"$@"}'='"$@"'
41949 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41952 DUALCASE
=1; export DUALCASE
# for MKS sh
41954 # Support unset when possible.
41955 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41962 # Work around bugs in pre-3.0 UWIN ksh.
41963 $as_unset ENV MAIL MAILPATH
41970 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41971 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41972 LC_TELEPHONE LC_TIME
41974 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41975 eval $as_var=C
; export $as_var
41981 # Required to use basename.
41982 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41988 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41989 as_basename
=basename
41995 # Name of the executable.
41996 as_me
=`$as_basename "$0" ||
41997 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41998 X"$0" : 'X\(//\)$' \| \
41999 X"$0" : 'X\(/\)$' \| \
42000 . : '\(.\)' 2>/dev/null ||
42002 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42003 /^X\/\(\/\/\)$/{ s//\1/; q; }
42004 /^X\/\(\/\).*/{ s//\1/; q; }
42008 # PATH needs CR, and LINENO needs CR and PATH.
42009 # Avoid depending upon Character Ranges.
42010 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42011 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42012 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42013 as_cr_digits
='0123456789'
42014 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42016 # The user is always right.
42017 if test "${PATH_SEPARATOR+set}" != set; then
42018 echo "#! /bin/sh" >conf$$.sh
42019 echo "exit 0" >>conf$$.sh
42021 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
42030 as_lineno_1
=$LINENO
42031 as_lineno_2
=$LINENO
42032 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
42033 test "x$as_lineno_1" != "x$as_lineno_2" &&
42034 test "x$as_lineno_3" = "x$as_lineno_2" || {
42035 # Find who we are. Look in the path if we contain no path at all
42038 *[\\/]* ) as_myself
=$0 ;;
42039 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42040 for as_dir
in $PATH
42043 test -z "$as_dir" && as_dir
=.
42044 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
42049 # We did not find ourselves, most probably we were run as `sh COMMAND'
42050 # in which case we are not to be found in the path.
42051 if test "x$as_myself" = x
; then
42054 if test ! -f "$as_myself"; then
42055 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42056 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42057 { (exit 1); exit 1; }; }
42059 case $CONFIG_SHELL in
42061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42062 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
42065 test -z "$as_dir" && as_dir
=.
42066 for as_base
in sh bash ksh sh5
; do
42069 if ("$as_dir/$as_base" -c '
42070 as_lineno_1=$LINENO
42071 as_lineno_2=$LINENO
42072 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42073 test "x$as_lineno_1" != "x$as_lineno_2" &&
42074 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
42075 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
42076 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
42077 CONFIG_SHELL
=$as_dir/$as_base
42078 export CONFIG_SHELL
42079 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42087 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42088 # uniformly replaced by the line number. The first 'sed' inserts a
42089 # line-number line before each line; the second 'sed' does the real
42090 # work. The second script uses 'N' to pair each line-number line
42091 # with the numbered line, and appends trailing '-' during
42092 # substitution so that $LINENO is not a special case at line end.
42093 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42094 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42095 sed '=' <$as_myself |
42100 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42103 s,^['$as_cr_digits']*\n,,
42104 ' >$as_me.lineno
&&
42105 chmod +x
$as_me.lineno
||
42106 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42107 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42108 { (exit 1); exit 1; }; }
42110 # Don't try to exec as it changes $[0], causing all sort of problems
42111 # (the dirname of $[0] is not the place where we might find the
42112 # original and so on. Autoconf is especially sensible to this).
42114 # Exit status is that of the last command.
42119 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42120 *c
*,-n*) ECHO_N
= ECHO_C
='
42122 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
42123 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
42126 if expr a
: '\(a\)' >/dev
/null
2>&1; then
42132 rm -f conf$$ conf$$.exe conf$$.
file
42134 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42135 # We could just check for DJGPP; but this test a) works b) is more generic
42136 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42137 if test -f conf$$.exe
; then
42138 # Don't use ln at all; we don't have any links
42143 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42148 rm -f conf$$ conf$$.exe conf$$.
file
42150 if mkdir -p .
2>/dev
/null
; then
42153 test -d .
/-p && rmdir .
/-p
42157 as_executable_p
="test -f"
42159 # Sed expression to map a string onto a valid CPP name.
42160 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42162 # Sed expression to map a string onto a valid variable name.
42163 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42167 # We need space, tab and new line, in precisely that order.
42177 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42178 # report actual input values of CONFIG_FILES etc. instead of their
42179 # values after options handling. Logging --version etc. is OK.
42183 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42184 ## Running $as_me. ##
42189 This file was extended by wxWidgets $as_me 2.5.3, which was
42190 generated by GNU Autoconf 2.59. Invocation command line was
42192 CONFIG_FILES = $CONFIG_FILES
42193 CONFIG_HEADERS = $CONFIG_HEADERS
42194 CONFIG_LINKS = $CONFIG_LINKS
42195 CONFIG_COMMANDS = $CONFIG_COMMANDS
42199 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42203 # Files that config.status was made for.
42204 if test -n "$ac_config_files"; then
42205 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42208 if test -n "$ac_config_headers"; then
42209 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42212 if test -n "$ac_config_links"; then
42213 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42216 if test -n "$ac_config_commands"; then
42217 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42220 cat >>$CONFIG_STATUS <<\_ACEOF
42223 \`$as_me' instantiates files from templates according to the
42224 current configuration.
42226 Usage: $0 [OPTIONS] [FILE]...
42228 -h, --help print this help, then exit
42229 -V, --version print version number, then exit
42230 -q, --quiet do not print progress messages
42231 -d, --debug don't remove temporary files
42232 --recheck update $as_me by reconfiguring in the same conditions
42233 --file=FILE[:TEMPLATE]
42234 instantiate the configuration file FILE
42235 --header=FILE[:TEMPLATE]
42236 instantiate the configuration header FILE
42238 Configuration files:
42241 Configuration headers:
42244 Configuration commands:
42247 Report bugs to <bug-autoconf@gnu.org>."
42250 cat >>$CONFIG_STATUS <<_ACEOF
42252 wxWidgets config.status 2.5.3
42253 configured by $0, generated by GNU Autoconf 2.59,
42254 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42256 Copyright (C) 2003 Free Software Foundation, Inc.
42257 This config.status script is free software; the Free Software Foundation
42258 gives unlimited permission to copy, distribute and modify it."
42263 cat >>$CONFIG_STATUS <<\_ACEOF
42264 # If no file are specified by the user, then we need to provide default
42265 # value. By we need to know if files were specified by the user.
42271 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42272 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42280 *) # This is not an option, so the user has probably given explicit
42283 ac_need_defaults
=false
;;
42287 # Handling of the options.
42289 cat >>$CONFIG_STATUS <<\_ACEOF
42290 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42292 --version | --vers* | -V )
42293 echo "$ac_cs_version"; exit 0 ;;
42295 # Conflict between --help and --header
42296 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42297 Try \`$0 --help' for more information." >&5
42298 echo "$as_me: error: ambiguous option: $1
42299 Try \`$0 --help' for more information." >&2;}
42300 { (exit 1); exit 1; }; };;
42301 --help | --hel | -h )
42302 echo "$ac_cs_usage"; exit 0 ;;
42303 --debug | --d* | -d )
42305 --file | --fil | --fi | --f )
42307 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42308 ac_need_defaults
=false
;;
42309 --header | --heade | --head | --hea )
42311 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42312 ac_need_defaults
=false
;;
42313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42314 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42317 # This is an error.
42318 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42319 Try \`$0 --help' for more information." >&5
42320 echo "$as_me: error: unrecognized option: $1
42321 Try \`$0 --help' for more information." >&2;}
42322 { (exit 1); exit 1; }; } ;;
42324 *) ac_config_targets
="$ac_config_targets $1" ;;
42330 ac_configure_extra_args
=
42332 if $ac_cs_silent; then
42334 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42338 cat >>$CONFIG_STATUS <<_ACEOF
42339 if \$ac_cs_recheck; then
42340 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42341 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42346 cat >>$CONFIG_STATUS <<_ACEOF
42348 # INIT-COMMANDS section.
42351 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42352 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42353 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42361 cat >>$CONFIG_STATUS <<\_ACEOF
42362 for ac_config_target
in $ac_config_targets
42364 case "$ac_config_target" in
42365 # Handling of arguments.
42366 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42367 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42368 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42369 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42370 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42371 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42372 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42373 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42374 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42375 { (exit 1); exit 1; }; };;
42379 # If the user did not use the arguments to specify the items to instantiate,
42380 # then the envvar interface is used. Set only those that are not.
42381 # We use the long form for the default assignment because of an extremely
42382 # bizarre bug on SunOS 4.1.3.
42383 if $ac_need_defaults; then
42384 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42385 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42386 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42389 # Have a temporary directory for convenience. Make it in the build tree
42390 # simply because there is no reason to put it here, and in addition,
42391 # creating and moving files from /tmp can sometimes cause problems.
42392 # Create a temporary directory, and hook for its removal unless debugging.
42395 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42396 trap '{ (exit 1); exit 1; }' 1 2 13 15
42399 # Create a (secure) tmp directory for tmp files.
42402 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42403 test -n "$tmp" && test -d "$tmp"
42406 tmp
=.
/confstat$$
-$RANDOM
42407 (umask 077 && mkdir $tmp)
42410 echo "$me: cannot create a temporary directory in ." >&2
42411 { (exit 1); exit 1; }
42416 cat >>$CONFIG_STATUS <<_ACEOF
42419 # CONFIG_FILES section.
42422 # No need to generate the scripts if there are no CONFIG_FILES.
42423 # This happens for instance when ./config.status config.h
42424 if test -n "\$CONFIG_FILES"; then
42425 # Protect against being on the right side of a sed subst in config.status.
42426 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42427 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42428 s,@SHELL@,$SHELL,;t t
42429 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42430 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42431 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42432 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42433 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42434 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42435 s,@exec_prefix@,$exec_prefix,;t t
42436 s,@prefix@,$prefix,;t t
42437 s,@program_transform_name@,$program_transform_name,;t t
42438 s,@bindir@,$bindir,;t t
42439 s,@sbindir@,$sbindir,;t t
42440 s,@libexecdir@,$libexecdir,;t t
42441 s,@datadir@,$datadir,;t t
42442 s,@sysconfdir@,$sysconfdir,;t t
42443 s,@sharedstatedir@,$sharedstatedir,;t t
42444 s,@localstatedir@,$localstatedir,;t t
42445 s,@libdir@,$libdir,;t t
42446 s,@includedir@,$includedir,;t t
42447 s,@oldincludedir@,$oldincludedir,;t t
42448 s,@infodir@,$infodir,;t t
42449 s,@mandir@,$mandir,;t t
42450 s,@build_alias@,$build_alias,;t t
42451 s,@host_alias@,$host_alias,;t t
42452 s,@target_alias@,$target_alias,;t t
42453 s,@DEFS@,$DEFS,;t t
42454 s,@ECHO_C@,$ECHO_C,;t t
42455 s,@ECHO_N@,$ECHO_N,;t t
42456 s,@ECHO_T@,$ECHO_T,;t t
42457 s,@LIBS@,$LIBS,;t t
42458 s,@build@,$build,;t t
42459 s,@build_cpu@,$build_cpu,;t t
42460 s,@build_vendor@,$build_vendor,;t t
42461 s,@build_os@,$build_os,;t t
42462 s,@host@,$host,;t t
42463 s,@host_cpu@,$host_cpu,;t t
42464 s,@host_vendor@,$host_vendor,;t t
42465 s,@host_os@,$host_os,;t t
42466 s,@target@,$target,;t t
42467 s,@target_cpu@,$target_cpu,;t t
42468 s,@target_vendor@,$target_vendor,;t t
42469 s,@target_os@,$target_os,;t t
42471 s,@CFLAGS@,$CFLAGS,;t t
42472 s,@LDFLAGS@,$LDFLAGS,;t t
42473 s,@CPPFLAGS@,$CPPFLAGS,;t t
42474 s,@ac_ct_CC@,$ac_ct_CC,;t t
42475 s,@EXEEXT@,$EXEEXT,;t t
42476 s,@OBJEXT@,$OBJEXT,;t t
42478 s,@EGREP@,$EGREP,;t t
42480 s,@CXXFLAGS@,$CXXFLAGS,;t t
42481 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42482 s,@RANLIB@,$RANLIB,;t t
42483 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42485 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42486 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42487 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42488 s,@STRIP@,$STRIP,;t t
42489 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42490 s,@LN_S@,$LN_S,;t t
42491 s,@CXXCPP@,$CXXCPP,;t t
42492 s,@subdirs@,$subdirs,;t t
42493 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42494 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42495 s,@GTK_LIBS@,$GTK_LIBS,;t t
42496 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42497 s,@X_CFLAGS@,$X_CFLAGS,;t t
42498 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42499 s,@X_LIBS@,$X_LIBS,;t t
42500 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42501 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42502 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42503 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42504 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42505 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42506 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42507 s,@RESCOMP@,$RESCOMP,;t t
42508 s,@DEREZ@,$DEREZ,;t t
42509 s,@SETFILE@,$SETFILE,;t t
42510 s,@LIBICONV@,$LIBICONV,;t t
42511 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42512 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42513 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42514 s,@SDL_LIBS@,$SDL_LIBS,;t t
42515 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42516 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42517 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42518 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42519 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42520 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42521 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42522 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42523 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42524 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42525 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42526 s,@VENDOR@,$VENDOR,;t t
42527 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42528 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42529 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42530 s,@WXUNIV@,$WXUNIV,;t t
42531 s,@MONOLITHIC@,$MONOLITHIC,;t t
42532 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42533 s,@EXTRALIBS@,$EXTRALIBS,;t t
42534 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42535 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42536 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42537 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42538 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42539 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42540 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42541 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42542 s,@UNICODE@,$UNICODE,;t t
42543 s,@BUILD@,$BUILD,;t t
42544 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42545 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42546 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42547 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42548 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42549 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42550 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42551 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42552 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42553 s,@SET_MAKE@,$SET_MAKE,;t t
42554 s,@MAKE_SET@,$MAKE_SET,;t t
42555 s,@ac_ct_AR@,$ac_ct_AR,;t t
42556 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42558 s,@ac_ct_NM@,$ac_ct_NM,;t t
42559 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42560 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42561 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42562 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42563 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42564 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42565 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42566 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42567 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42568 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42569 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42570 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42571 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42572 s,@LIBPREFIX@,$LIBPREFIX,;t t
42573 s,@LIBEXT@,$LIBEXT,;t t
42574 s,@DLLPREFIX@,$DLLPREFIX,;t t
42575 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42576 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42577 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42578 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42579 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42580 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42581 s,@PIC_FLAG@,$PIC_FLAG,;t t
42582 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42583 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42584 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42585 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42586 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42587 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42588 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42589 s,@GCC_PCH@,$GCC_PCH,;t t
42590 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42591 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42592 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42593 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42594 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42595 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42596 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42597 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42598 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42599 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42600 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42601 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42602 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42603 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42604 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42605 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42606 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42607 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42608 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
42609 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
42610 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42611 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42612 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42613 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42614 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
42615 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
42616 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42617 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42618 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42619 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42620 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42621 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42622 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42623 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42624 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42625 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42626 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42627 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42628 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42629 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42630 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
42631 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
42632 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42633 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42634 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42635 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42636 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
42637 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42638 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42639 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42640 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42641 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42642 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42643 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42644 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42645 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42646 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42647 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42648 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42649 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42650 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42651 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42652 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42653 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42654 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42655 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42656 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42657 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42658 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42659 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42660 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42661 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42662 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42663 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42664 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42665 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42666 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42667 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42668 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42669 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42670 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42671 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42672 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42673 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42674 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42675 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42676 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42677 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42678 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42679 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42680 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42681 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42682 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42683 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42684 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42685 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42686 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42687 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42688 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42689 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42690 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42691 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42692 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42693 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42694 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42695 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42696 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42697 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42698 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42699 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42700 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42701 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42702 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42703 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42704 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
42705 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42706 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42707 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42708 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42709 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42710 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42711 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42712 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42713 s,@SHARED@,$SHARED,;t t
42714 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42715 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42716 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42717 s,@USE_GUI@,$USE_GUI,;t t
42718 s,@AFMINSTALL@,$AFMINSTALL,;t t
42719 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42720 s,@TOOLKIT@,$TOOLKIT,;t t
42721 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42722 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42723 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42724 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42725 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42726 s,@cross_compiling@,$cross_compiling,;t t
42727 s,@WIDGET_SET@,$WIDGET_SET,;t t
42728 s,@WX_RELEASE@,$WX_RELEASE,;t t
42729 s,@WX_VERSION@,$WX_VERSION,;t t
42730 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42731 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42732 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42733 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42734 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42735 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42736 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42737 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42738 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42739 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42740 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42741 s,@EXE_LINKER@,$EXE_LINKER,;t t
42742 s,@GUIDIST@,$GUIDIST,;t t
42743 s,@DISTDIR@,$DISTDIR,;t t
42744 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42745 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42746 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42747 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42748 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42749 s,@RESFLAGS@,$RESFLAGS,;t t
42750 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42751 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42752 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42753 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42754 s,@MACRESCOMP@,$MACRESCOMP,;t t
42755 s,@MACSETFILE@,$MACSETFILE,;t t
42756 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42758 s,@DLLTOOL@,$DLLTOOL,;t t
42759 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42760 s,@LIBOBJS@,$LIBOBJS,;t t
42761 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42766 cat >>$CONFIG_STATUS <<\_ACEOF
42767 # Split the substitutions into bite-sized pieces for seds with
42768 # small command number limits, like on Digital OSF/1 and HP-UX.
42769 ac_max_sed_lines
=48
42770 ac_sed_frag
=1 # Number of current file.
42771 ac_beg
=1 # First line for current file.
42772 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42775 while $ac_more_lines; do
42776 if test $ac_beg -gt 1; then
42777 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42779 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42781 if test ! -s $tmp/subs.frag
; then
42782 ac_more_lines
=false
42784 # The purpose of the label and of the branching condition is to
42785 # speed up the sed processing (if there are no `@' at all, there
42786 # is no need to browse any of the substitutions).
42787 # These are the two extra sed commands mentioned above.
42789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42790 if test -z "$ac_sed_cmds"; then
42791 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42793 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42795 ac_sed_frag
=`expr $ac_sed_frag + 1`
42797 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42800 if test -z "$ac_sed_cmds"; then
42803 fi # test -n "$CONFIG_FILES"
42806 cat >>$CONFIG_STATUS <<\_ACEOF
42807 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42810 - | *:- | *:-:* ) # input from stdin
42812 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42813 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42814 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42815 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42816 * ) ac_file_in
=$ac_file.
in ;;
42819 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42820 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42822 X"$ac_file" : 'X\(//\)[^/]' \| \
42823 X"$ac_file" : 'X\(//\)$' \| \
42824 X"$ac_file" : 'X\(/\)' \| \
42825 . : '\(.\)' 2>/dev/null ||
42827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42829 /^X\(\/\/\)$/{ s//\1/; q; }
42830 /^X\(\/\).*/{ s//\1/; q; }
42832 { if $as_mkdir_p; then
42837 while test ! -d "$as_dir"; do
42838 as_dirs
="$as_dir $as_dirs"
42839 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42841 X"$as_dir" : 'X\(//\)[^/]' \| \
42842 X"$as_dir" : 'X\(//\)$' \| \
42843 X"$as_dir" : 'X\(/\)' \| \
42844 . : '\(.\)' 2>/dev/null ||
42846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42848 /^X\(\/\/\)$/{ s//\1/; q; }
42849 /^X\(\/\).*/{ s//\1/; q; }
42852 test ! -n "$as_dirs" || mkdir $as_dirs
42853 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42855 { (exit 1); exit 1; }; }; }
42859 if test "$ac_dir" != .
; then
42860 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42861 # A "../" for each directory in $ac_dir_suffix.
42862 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42864 ac_dir_suffix
= ac_top_builddir
=
42868 .
) # No --srcdir option. We are building in place.
42870 if test -z "$ac_top_builddir"; then
42873 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42875 [\\/]* | ?
:[\\/]* ) # Absolute path.
42876 ac_srcdir
=$srcdir$ac_dir_suffix;
42877 ac_top_srcdir
=$srcdir ;;
42878 *) # Relative path.
42879 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42880 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42883 # Do not use `cd foo && pwd` to compute absolute paths, because
42884 # the directories may not exist.
42886 .
) ac_abs_builddir
="$ac_dir";;
42889 .
) ac_abs_builddir
=`pwd`;;
42890 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42891 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42894 case $ac_abs_builddir in
42895 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42897 case ${ac_top_builddir}.
in
42898 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42899 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42900 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42903 case $ac_abs_builddir in
42904 .
) ac_abs_srcdir
=$ac_srcdir;;
42907 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42908 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42909 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42912 case $ac_abs_builddir in
42913 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42915 case $ac_top_srcdir in
42916 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42917 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42918 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42924 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42925 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42928 # Let's still pretend it is `configure' which instantiates (i.e., don't
42929 # use $as_me), people would be surprised to read:
42930 # /* config.h. Generated by config.status. */
42931 if test x
"$ac_file" = x
-; then
42934 configure_input
="$ac_file. "
42936 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42937 sed 's,.*/,,'` by configure."
42939 # First look for the input files in the build tree, otherwise in the
42941 ac_file_inputs
=`IFS=:
42942 for f in $ac_file_in; do
42944 -) echo $tmp/stdin ;;
42946 # Absolute (can't be DOS-style, as IFS=:)
42947 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42948 echo "$as_me: error: cannot find input file: $f" >&2;}
42949 { (exit 1); exit 1; }; }
42952 if test -f "$f"; then
42955 elif test -f "$srcdir/$f"; then
42960 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42961 echo "$as_me: error: cannot find input file: $f" >&2;}
42962 { (exit 1); exit 1; }; }
42965 done` || { (exit 1); exit 1; }
42967 if test x
"$ac_file" != x
-; then
42968 { echo "$as_me:$LINENO: creating $ac_file" >&5
42969 echo "$as_me: creating $ac_file" >&6;}
42973 cat >>$CONFIG_STATUS <<_ACEOF
42977 cat >>$CONFIG_STATUS <<\_ACEOF
42979 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42980 s
,@configure_input@
,$configure_input,;t t
42981 s
,@srcdir@
,$ac_srcdir,;t t
42982 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42983 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42984 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42985 s
,@builddir@
,$ac_builddir,;t t
42986 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42987 s
,@top_builddir@
,$ac_top_builddir,;t t
42988 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42989 s
,@INSTALL@
,$ac_INSTALL,;t t
42990 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42992 if test x"$ac_file" != x-; then
42993 mv $tmp/out $ac_file
42999 # Run the commands associated with the file.
43001 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43002 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43006 cat >>$CONFIG_STATUS <<\_ACEOF
43009 # CONFIG_HEADER section.
43012 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
43013 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43015 # ac_d sets the value in "#define NAME VALUE" lines.
43016 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43017 ac_dB
='[ ].*$,\1#\2'
43020 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43021 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43022 ac_uB
='$,\1#\2define\3'
43026 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
43027 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43029 - | *:- | *:-:* ) # input from stdin
43031 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43032 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43033 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43034 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
43035 * ) ac_file_in
=$ac_file.
in ;;
43038 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43039 echo "$as_me: creating $ac_file" >&6;}
43041 # First look for the input files in the build tree, otherwise in the
43043 ac_file_inputs
=`IFS=:
43044 for f in $ac_file_in; do
43046 -) echo $tmp/stdin ;;
43048 # Absolute (can't be DOS-style, as IFS=:)
43049 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43050 echo "$as_me: error: cannot find input file: $f" >&2;}
43051 { (exit 1); exit 1; }; }
43052 # Do quote $f, to prevent DOS paths from being IFS'd.
43055 if test -f "$f"; then
43058 elif test -f "$srcdir/$f"; then
43063 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43064 echo "$as_me: error: cannot find input file: $f" >&2;}
43065 { (exit 1); exit 1; }; }
43068 done` || { (exit 1); exit 1; }
43069 # Remove the trailing spaces.
43070 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43074 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43075 # `conftest.undefs', that substitutes the proper values into
43076 # config.h.in to produce config.h. The first handles `#define'
43077 # templates, and the second `#undef' templates.
43078 # And first: Protect against being on the right side of a sed subst in
43079 # config.status. Protect against being in an unquoted here document
43080 # in config.status.
43081 rm -f conftest.defines conftest.undefs
43082 # Using a here document instead of a string reduces the quoting nightmare.
43083 # Putting comments in sed scripts is not portable.
43085 # `end' is used to avoid that the second main sed command (meant for
43086 # 0-ary CPP macros) applies to n-ary macro definitions.
43087 # See the Autoconf documentation for `clear'.
43088 cat >confdef2sed.
sed <<\_ACEOF
43093 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43095 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43098 # If some macros were called several times there might be several times
43099 # the same #defines, which is useless. Nevertheless, we may not want to
43100 # sort them, since we want the *last* AC-DEFINE to be honored.
43101 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43102 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43103 rm -f confdef2sed.sed
43105 # This sed command replaces #undef with comments. This is necessary, for
43106 # example, in the case of _POSIX_SOURCE, which is predefined and required
43107 # on some systems where configure will not decide to define it.
43108 cat >>conftest.undefs <<\_ACEOF
43109 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43112 # Break up conftest.defines because some shells have a limit on the size
43113 # of here documents, and old seds have small limits too (100 cmds).
43114 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43115 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43116 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43117 echo ' :' >>$CONFIG_STATUS
43118 rm -f conftest.tail
43119 while grep . conftest.defines >/dev/null
43121 # Write a limited-size here document to $tmp/defines.sed.
43122 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43123 # Speed up: don't consider the non `#define' lines.
43124 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43125 # Work around the forget-to-reset-the-flag bug.
43126 echo 't clr' >>$CONFIG_STATUS
43127 echo ': clr' >>$CONFIG_STATUS
43128 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
43130 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43132 mv $tmp/out $tmp/in
43134 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
43135 rm -f conftest.defines
43136 mv conftest.
tail conftest.defines
43138 rm -f conftest.defines
43139 echo ' fi # grep' >>$CONFIG_STATUS
43140 echo >>$CONFIG_STATUS
43142 # Break up conftest.undefs because some shells have a limit on the size
43143 # of here documents, and old seds have small limits too (100 cmds).
43144 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43145 rm -f conftest.
tail
43146 while grep . conftest.undefs
>/dev
/null
43148 # Write a limited-size here document to $tmp/undefs.sed.
43149 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43150 # Speed up: don't consider the non
`#undef'
43151 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43152 # Work around the forget-to-reset-the-flag bug.
43153 echo 't clr' >>$CONFIG_STATUS
43154 echo ': clr' >>$CONFIG_STATUS
43155 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43157 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43159 mv $tmp/out $tmp/in
43161 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43162 rm -f conftest.undefs
43163 mv conftest.tail conftest.undefs
43165 rm -f conftest.undefs
43167 cat >>$CONFIG_STATUS <<\_ACEOF
43168 # Let's still pretend it is `configure
' which instantiates (i.e., don't
43169 # use $as_me), people would be surprised to read:
43170 # /* config.h. Generated by config.status. */
43171 if test x
"$ac_file" = x
-; then
43172 echo "/* Generated by configure. */" >$tmp/config.h
43174 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43176 cat $tmp/in >>$tmp/config.h
43178 if test x
"$ac_file" != x
-; then
43179 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
43180 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43181 echo "$as_me: $ac_file is unchanged" >&6;}
43183 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
43184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43185 X"$ac_file" : 'X\(//\)[^/]' \| \
43186 X"$ac_file" : 'X\(//\)$' \| \
43187 X"$ac_file" : 'X\(/\)' \| \
43188 . : '\(.\)' 2>/dev/null ||
43190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43192 /^X\(\/\/\)$/{ s//\1/; q; }
43193 /^X\(\/\).*/{ s//\1/; q; }
43195 { if $as_mkdir_p; then
43200 while test ! -d "$as_dir"; do
43201 as_dirs
="$as_dir $as_dirs"
43202 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43204 X"$as_dir" : 'X\(//\)[^/]' \| \
43205 X"$as_dir" : 'X\(//\)$' \| \
43206 X"$as_dir" : 'X\(/\)' \| \
43207 . : '\(.\)' 2>/dev/null ||
43209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43211 /^X\(\/\/\)$/{ s//\1/; q; }
43212 /^X\(\/\).*/{ s//\1/; q; }
43215 test ! -n "$as_dirs" || mkdir $as_dirs
43216 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43217 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43218 { (exit 1); exit 1; }; }; }
43221 mv $tmp/config.h
$ac_file
43225 rm -f $tmp/config.h
43229 cat >>$CONFIG_STATUS <<\_ACEOF
43232 # CONFIG_COMMANDS section.
43234 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
43235 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
43236 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
43237 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
43238 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43239 X"$ac_dest" : 'X\(//\)[^/]' \| \
43240 X"$ac_dest" : 'X\(//\)$' \| \
43241 X"$ac_dest" : 'X\(/\)' \| \
43242 . : '\(.\)' 2>/dev/null ||
43244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43246 /^X\(\/\/\)$/{ s//\1/; q; }
43247 /^X\(\/\).*/{ s//\1/; q; }
43249 { if $as_mkdir_p; then
43254 while test ! -d "$as_dir"; do
43255 as_dirs
="$as_dir $as_dirs"
43256 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43258 X"$as_dir" : 'X\(//\)[^/]' \| \
43259 X"$as_dir" : 'X\(//\)$' \| \
43260 X"$as_dir" : 'X\(/\)' \| \
43261 . : '\(.\)' 2>/dev/null ||
43263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43265 /^X\(\/\/\)$/{ s//\1/; q; }
43266 /^X\(\/\).*/{ s//\1/; q; }
43269 test ! -n "$as_dirs" || mkdir $as_dirs
43270 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43271 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43272 { (exit 1); exit 1; }; }; }
43276 if test "$ac_dir" != .
; then
43277 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43278 # A "../" for each directory in $ac_dir_suffix.
43279 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43281 ac_dir_suffix
= ac_top_builddir
=
43285 .
) # No --srcdir option. We are building in place.
43287 if test -z "$ac_top_builddir"; then
43290 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43292 [\\/]* | ?
:[\\/]* ) # Absolute path.
43293 ac_srcdir
=$srcdir$ac_dir_suffix;
43294 ac_top_srcdir
=$srcdir ;;
43295 *) # Relative path.
43296 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43297 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43300 # Do not use `cd foo && pwd` to compute absolute paths, because
43301 # the directories may not exist.
43303 .
) ac_abs_builddir
="$ac_dir";;
43306 .
) ac_abs_builddir
=`pwd`;;
43307 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43308 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43311 case $ac_abs_builddir in
43312 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43314 case ${ac_top_builddir}.
in
43315 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43316 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43317 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43320 case $ac_abs_builddir in
43321 .
) ac_abs_srcdir
=$ac_srcdir;;
43324 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43325 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43326 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43329 case $ac_abs_builddir in
43330 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43332 case $ac_top_srcdir in
43333 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43334 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43335 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43340 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43341 echo "$as_me: executing $ac_dest commands" >&6;}
43343 wx
-config ) rm -f wx
-config
43344 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43350 cat >>$CONFIG_STATUS <<\_ACEOF
43352 { (exit 0); exit 0; }
43354 chmod +x
$CONFIG_STATUS
43355 ac_clean_files
=$ac_clean_files_save
43358 # configure is writing to config.log, and then calls config.status.
43359 # config.status does its own redirection, appending to config.log.
43360 # Unfortunately, on DOS this fails, as config.log is still kept open
43361 # by configure, so config.status won't be able to write to it; its
43362 # output is simply discarded. So we exec the FD to /dev/null,
43363 # effectively closing config.log, so it can be properly (re)opened and
43364 # appended to by config.status. When coming back to configure, we
43365 # need to make the FD available again.
43366 if test "$no_create" != yes; then
43368 ac_config_status_args
=
43369 test "$silent" = yes &&
43370 ac_config_status_args
="$ac_config_status_args --quiet"
43372 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43374 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43375 # would make configure fail if this is the last instruction.
43376 $ac_cs_success || { (exit 1); exit 1; }
43380 # CONFIG_SUBDIRS section.
43382 if test "$no_recursion" != yes; then
43384 # Remove --cache-file and --srcdir arguments so they do not pile up.
43385 ac_sub_configure_args
=
43387 for ac_arg
in $ac_configure_args; do
43388 if test -n "$ac_prev"; then
43393 -cache-file | --cache-file | --cache-fil | --cache-fi \
43394 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43395 ac_prev
=cache_file
;;
43396 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43397 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43400 --config-cache | -C)
43402 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43404 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43406 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43408 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43410 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43414 # Always prepend --prefix to ensure using the same prefix
43415 # in subdir configurations.
43416 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43419 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43421 # Do not complain, so a configure script can configure whichever
43422 # parts of a large source tree are present.
43423 test -d $srcdir/$ac_dir || continue
43425 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43426 echo "$as_me: configuring in $ac_dir" >&6;}
43427 { if $as_mkdir_p; then
43432 while test ! -d "$as_dir"; do
43433 as_dirs
="$as_dir $as_dirs"
43434 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43435 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43436 X"$as_dir" : 'X\(//\)[^/]' \| \
43437 X"$as_dir" : 'X\(//\)$' \| \
43438 X"$as_dir" : 'X\(/\)' \| \
43439 . : '\(.\)' 2>/dev/null ||
43441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43443 /^X\(\/\/\)$/{ s//\1/; q; }
43444 /^X\(\/\).*/{ s//\1/; q; }
43447 test ! -n "$as_dirs" || mkdir $as_dirs
43448 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43449 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43450 { (exit 1); exit 1; }; }; }
43454 if test "$ac_dir" != .
; then
43455 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43456 # A "../" for each directory in $ac_dir_suffix.
43457 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43459 ac_dir_suffix
= ac_top_builddir
=
43463 .
) # No --srcdir option. We are building in place.
43465 if test -z "$ac_top_builddir"; then
43468 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43470 [\\/]* | ?
:[\\/]* ) # Absolute path.
43471 ac_srcdir
=$srcdir$ac_dir_suffix;
43472 ac_top_srcdir
=$srcdir ;;
43473 *) # Relative path.
43474 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43475 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43478 # Do not use `cd foo && pwd` to compute absolute paths, because
43479 # the directories may not exist.
43481 .
) ac_abs_builddir
="$ac_dir";;
43484 .
) ac_abs_builddir
=`pwd`;;
43485 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43486 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43489 case $ac_abs_builddir in
43490 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43492 case ${ac_top_builddir}.
in
43493 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43494 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43495 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43498 case $ac_abs_builddir in
43499 .
) ac_abs_srcdir
=$ac_srcdir;;
43502 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43503 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43504 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43507 case $ac_abs_builddir in
43508 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43510 case $ac_top_srcdir in
43511 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43512 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43513 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43520 # Check for guested configure; otherwise get Cygnus style configure.
43521 if test -f $ac_srcdir/configure.gnu
; then
43522 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43523 elif test -f $ac_srcdir/configure
; then
43524 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43525 elif test -f $ac_srcdir/configure.
in; then
43526 ac_sub_configure
=$ac_configure
43528 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43529 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43533 # The recursion is here.
43534 if test -n "$ac_sub_configure"; then
43535 # Make the cache file name correct relative to the subdirectory.
43536 case $cache_file in
43537 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43538 *) # Relative path.
43539 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43542 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43543 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43544 # The eval makes quoting arguments work.
43545 eval $ac_sub_configure $ac_sub_configure_args \
43546 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43547 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43548 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43549 { (exit 1); exit 1; }; }
43558 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43560 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43561 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43563 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43564 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43565 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43567 echo " What level of wxWidgets compatibility should be enabled?"
43568 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43569 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43571 echo " Which libraries should wxWidgets use?"
43572 echo " jpeg ${wxUSE_LIBJPEG-none}"
43573 echo " png ${wxUSE_LIBPNG-none}"
43574 echo " regex ${wxUSE_REGEX}"
43575 echo " tiff ${wxUSE_LIBTIFF-none}"
43576 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43577 echo " xpm ${wxUSE_LIBXPM-none}"
43579 echo " zlib ${wxUSE_ZLIB}"
43580 echo " odbc ${wxUSE_ODBC}"
43581 echo " expat ${wxUSE_EXPAT}"
43582 echo " libmspack ${wxUSE_LIBMSPACK}"
43583 echo " sdl ${wxUSE_LIBSDL}"
43584 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"