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 PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_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 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_MACOSX PLATFORM_OS2 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_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_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_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_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_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_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_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 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 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-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class
for DLL loading
911 --enable-dynamicloader use
(new
) wxDynamicLibrary class
912 --enable-exceptions build exception
-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual
file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP
/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer
for Unicode on Windows
9x
(Win32 only
)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C
++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWidgets implementation of vprintf
()
935 --enable-zipstream use wxZipInputStream
936 --enable-url use wxURL class
937 --enable-protocol use wxProtocol class
938 --enable-protocol-http HTTP support
in wxProtocol
939 --enable-protocol-ftp FTP support
in wxProtocol
940 --enable-protocol-file FILE support
in wxProtocol
941 --enable-threads use threads
942 --enable-docview use document view architecture
943 --enable-help use
help subsystem
944 --enable-mshtmlhelp use MS HTML Help
(win32
)
945 --enable-html use wxHTML sub
-library
946 --enable-htmlhelp use wxHTML
-based help
947 --enable-xrc use XRC resources sub
-library
948 --enable-constraints use layout
-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-mdidoc use docview architecture with MDI
952 --enable-loggui use standard GUI logger
953 --enable-logwin use wxLogWindow
954 --enable-logdialog use wxLogDialog
955 --enable-webkit use wxWebKitCtrl
(Mac
)
956 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
957 --enable-prologio not available
; see contrib
958 --enable-resources not available
; see contrib
959 --enable-clipboard use wxClipboard class
960 --enable-dnd use Drag
'n'Drop classes
961 --enable-metafile use win32 metafiles
962 --enable-controls use all usual controls
963 --enable-accel use accelerators
964 --enable-button use wxButton class
965 --enable-bmpbutton use wxBitmapButton class
966 --enable-calendar use wxCalendarCtrl class
967 --enable-caret use wxCaret class
968 --enable-checkbox use wxCheckBox class
969 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
970 --enable-choice use wxChoice class
971 --enable-choicebook use wxChoicebook class
972 --enable-combobox use wxComboBox class
973 --enable-display use wxDisplay class
974 --enable-gauge use wxGauge class
975 --enable-grid use wxGrid class
976 --enable-imaglist use wxImageList class
977 --enable-listbook use wxListbook class
978 --enable-listbox use wxListBox class
979 --enable-listctrl use wxListCtrl class
980 --enable-notebook use wxNotebook class
981 --enable-radiobox use wxRadioBox class
982 --enable-radiobtn use wxRadioButton class
983 --enable-sash use wxSashWindow class
984 --enable-scrollbar use wxScrollBar class and scrollable windows
985 --enable-slider use wxSlider class
986 --enable-spinbtn use wxSpinButton class
987 --enable-spinctrl use wxSpinCtrl class
988 --enable-splitter use wxSplitterWindow class
989 --enable-statbmp use wxStaticBitmap class
990 --enable-statbox use wxStaticBox class
991 --enable-statline use wxStaticLine class
992 --enable-stattext use wxStaticText class
993 --enable-statusbar use wxStatusBar class
994 --enable-tabdialog use wxTabControl class
995 --enable-textctrl use wxTextCtrl class
996 --enable-togglebtn use wxToggleButton class
997 --enable-toolbar use wxToolBar class
998 --enable-tbarnative use native wxToolBar class
999 --enable-tbarsmpl use wxToolBarSimple class
1000 --enable-treectrl use wxTreeCtrl class
1001 --enable-tipwindow use wxTipWindow class
1002 --enable-popupwin use wxPopUpWindow class
1003 --enable-commondlg use all common dialogs
1004 --enable-choicedlg use wxChoiceDialog
1005 --enable-coldlg use wxColourDialog
1006 --enable-filedlg use wxFileDialog
1007 --enable-finddlg use wxFindReplaceDialog
1008 --enable-fontdlg use wxFontDialog
1009 --enable-dirdlg use wxDirDialog
1010 --enable-msgdlg use wxMessageDialog
1011 --enable-numberdlg use wxNumberEntryDialog
1012 --enable-splash use wxSplashScreen
1013 --enable-textdlg use wxTextDialog
1014 --enable-tipdlg use startup tips
1015 --enable-progressdlg use wxProgressDialog
1016 --enable-wizarddlg use wxWizard
1017 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1018 --enable-miniframe use wxMiniFrame class
1019 --enable-tooltips use wxToolTip class
1020 --enable-splines use spline drawing code
1021 --enable-validators use wxValidator and derived classes
1022 --enable-busyinfo use wxBusyInfo
1023 --enable-joystick use wxJoystick
(Linux only
)
1024 --enable-metafiles use wxMetaFile
(Windows only
)
1025 --enable-dragimage use wxDragImage
1026 --enable-accessibility enable accessibility support
1027 --enable-palette use wxPalette class
1028 --enable-image use wxImage class
1029 --enable-gif use gif images
(GIF
file format
)
1030 --enable-pcx use pcx images
(PCX
file format
)
1031 --enable-iff use iff images
(IFF
file format
)
1032 --enable-pnm use pnm images
(PNM
file format
)
1033 --enable-xpm use xpm images
(XPM
file format
)
1034 --enable-icocur use Windows ICO and CUR formats
1035 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1036 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1037 --disable-largefile omit support
for large files
1038 --disable-gtktest do not try to compile and run a
test GTK
+ program
1039 --disable-gtktest Do not try to compile and run a
test GTK program
1040 --disable-sdltest Do not try to compile and run a
test SDL program
1041 --enable-omf use OMF object format
(OS
/2)
1042 --disable-precomp-headers
1043 don
't use precompiled headers even if compiler can
1046 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1047 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1049 --with-motif use Motif/Lesstif
1050 --with-mac use Mac OS X
1051 --with-cocoa use Cocoa
1052 --with-wine use Wine
1053 --with-msw use MS-Windows
1054 --with-pm use OS/2 Presentation Manager
1055 --with-mgl use SciTech MGL
1056 --with-microwin use MicroWindows
1058 --with-libpng use libpng (PNG image format)
1059 --with-libjpeg use libjpeg (JPEG file format)
1060 --with-libtiff use libtiff (TIFF file format)
1061 --with-libxpm use libxpm (XPM file format)
1062 --with-libmspack use libmspack (CHM help files loading)
1063 --with-sdl use SDL for audio on Unix
1064 --with-opengl use OpenGL (or Mesa)
1065 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1066 --with-regex enable support for wxRegEx class
1067 --with-zlib use zlib for LZW compression
1068 --with-odbc use the IODBC and wxODBC classes
1069 --with-expat enable XML support using expat parser
1070 --with-flavour=NAME specify a name to identify this build
1071 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1072 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1073 --with-x use the X Window System
1074 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1075 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1076 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1077 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1078 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1080 Some influential environment variables:
1081 CC C compiler command
1082 CFLAGS C compiler flags
1083 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1084 nonstandard directory <lib dir>
1085 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1086 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CXXCPP C++ preprocessor
1092 Use these variables to override the choices made by `configure' or to
help
1093 it to
find libraries and programs with nonstandard names
/locations.
1095 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1102 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1103 test -d $ac_dir || continue
1106 if test "$ac_dir" != .
; then
1107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111 ac_dir_suffix
= ac_top_builddir
=
1115 .
) # No --srcdir option. We are building in place.
1117 if test -z "$ac_top_builddir"; then
1120 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1122 [\\/]* | ?
:[\\/]* ) # Absolute path.
1123 ac_srcdir
=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir
=$srcdir ;;
1126 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1133 .
) ac_abs_builddir
="$ac_dir";;
1136 .
) ac_abs_builddir
=`pwd`;;
1137 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1138 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1141 case $ac_abs_builddir in
1142 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1144 case ${ac_top_builddir}.
in
1145 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1146 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1147 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1150 case $ac_abs_builddir in
1151 .
) ac_abs_srcdir
=$ac_srcdir;;
1154 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1155 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1156 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1159 case $ac_abs_builddir in
1160 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1164 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu
; then
1173 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1174 elif test -f $ac_srcdir/configure
; then
1176 $SHELL $ac_srcdir/configure
--help=recursive
1177 elif test -f $ac_srcdir/configure.ac
||
1178 test -f $ac_srcdir/configure.
in; then
1180 $ac_configure --help
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1191 wxWidgets configure
2.5.3
1192 generated by GNU Autoconf
2.59
1194 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1195 This configure
script is free software
; the Free Software Foundation
1196 gives unlimited permission to copy
, distribute and modify it.
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by wxWidgets $as_me 2.5.3, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1240 test -z "$as_dir" && as_dir
=.
1241 echo "PATH: $as_dir"
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_must_keep_next
=false
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true
; then
1283 ac_must_keep_next
=false
# Got value, back to normal.
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1294 -* ) ac_must_keep_next
=true
;;
1297 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1304 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1305 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1323 # The following way of writing the cache mishandles newlines in values,
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1353 if test -n "$ac_subst_files"; then
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1368 if test -s confdefs.h; then
1375 sed "/^$/d" confdefs.h | sort
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1386 for ac_signal
in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest
* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h
<<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1403 cat >>confdefs.h
<<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE
; then
1427 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1429 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file
in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1448 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1449 *) . .
/$cache_file;;
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1458 # Check that the precious variables saved in the cache have kept the same
1460 ac_cache_corrupted
=false
1461 for ac_var
in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1464 eval ac_new_set
=\
$ac_env_${ac_var}_set
1465 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val
="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted
=: ;;
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted
=: ;;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted
=:
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg
=$ac_var=$ac_new_val ;;
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1510 ac_cpp
='$CPP $CPPFLAGS'
1511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1545 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1546 if test -f $ac_dir/install-sh; then
1548 ac_install_sh
="$ac_aux_dir/install-sh -c"
1550 elif test -f $ac_dir/install.sh
; then
1552 ac_install_sh
="$ac_aux_dir/install.sh -c"
1554 elif test -f $ac_dir/shtool
; then
1556 ac_install_sh
="$ac_aux_dir/shtool install -c"
1560 if test -z "$ac_aux_dir"; then
1561 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1562 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1563 { (exit 1); exit 1; }; }
1565 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1566 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1567 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1569 # Make sure we can run config.sub.
1570 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1571 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1572 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1573 { (exit 1); exit 1; }; }
1575 echo "$as_me:$LINENO: checking build system type" >&5
1576 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1577 if test "${ac_cv_build+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_build_alias
=$build_alias
1581 test -z "$ac_cv_build_alias" &&
1582 ac_cv_build_alias
=`$ac_config_guess`
1583 test -z "$ac_cv_build_alias" &&
1584 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1585 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1586 { (exit 1); exit 1; }; }
1587 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1588 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1589 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1590 { (exit 1); exit 1; }; }
1593 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1594 echo "${ECHO_T}$ac_cv_build" >&6
1596 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1597 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1598 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601 echo "$as_me:$LINENO: checking host system type" >&5
1602 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1603 if test "${ac_cv_host+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 ac_cv_host_alias
=$host_alias
1607 test -z "$ac_cv_host_alias" &&
1608 ac_cv_host_alias
=$ac_cv_build_alias
1609 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1610 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1611 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1612 { (exit 1); exit 1; }; }
1615 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1616 echo "${ECHO_T}$ac_cv_host" >&6
1618 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1619 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1620 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623 echo "$as_me:$LINENO: checking target system type" >&5
1624 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1625 if test "${ac_cv_target+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 ac_cv_target_alias
=$target_alias
1629 test "x$ac_cv_target_alias" = "x" &&
1630 ac_cv_target_alias
=$ac_cv_host_alias
1631 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1632 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1633 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1634 { (exit 1); exit 1; }; }
1637 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1638 echo "${ECHO_T}$ac_cv_target" >&6
1639 target
=$ac_cv_target
1640 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1641 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1642 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645 # The aliases save the names the user supplied, while $host etc.
1646 # will get canonicalized.
1647 test -n "$target_alias" &&
1648 test "$program_prefix$program_suffix$program_transform_name" = \
1650 program_prefix
=${target_alias}-
1654 wx_major_version_number
=2
1655 wx_minor_version_number
=5
1657 wx_subrelease_number
=1
1659 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1660 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1661 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1663 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1679 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1685 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1691 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1693 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1695 DEFAULT_wxUSE_COCOA
=0
1699 DEFAULT_wxUSE_MICROWIN
=0
1700 DEFAULT_wxUSE_MOTIF
=0
1705 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_DEFAULT_wxUSE_GTK
=0
1707 DEFAULT_DEFAULT_wxUSE_MAC
=0
1708 DEFAULT_DEFAULT_wxUSE_MGL
=0
1709 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1710 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1711 DEFAULT_DEFAULT_wxUSE_MSW
=0
1712 DEFAULT_DEFAULT_wxUSE_PM
=0
1713 DEFAULT_DEFAULT_wxUSE_X11
=0
1718 SAMPLES_RPATH_POSTLINK
=
1723 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1724 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1726 cat >>confdefs.h
<<\_ACEOF
1733 cat >>confdefs.h
<<\_ACEOF
1738 if test "x$TMP" = "xalpha"; then
1740 cat >>confdefs.h
<<\_ACEOF
1745 DEFAULT_DEFAULT_wxUSE_GTK
=1
1747 *-*-gnu* | *-*-k*bsd
*-gnu )
1750 if test "x$TMP" = "xalpha"; then
1752 cat >>confdefs.h
<<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_GTK
=1
1759 *-*-irix5* | *-*-irix6* )
1762 cat >>confdefs.h
<<\_ACEOF
1766 cat >>confdefs.h
<<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1776 cat >>confdefs.h
<<\_ACEOF
1780 cat >>confdefs.h
<<\_ACEOF
1781 #define __SOLARIS__ 1
1784 cat >>confdefs.h
<<\_ACEOF
1788 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1789 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1795 cat >>confdefs.h
<<\_ACEOF
1799 cat >>confdefs.h
<<\_ACEOF
1803 cat >>confdefs.h
<<\_ACEOF
1807 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1812 cat >>confdefs.h
<<\_ACEOF
1813 #define __FREEBSD__ 1
1816 cat >>confdefs.h
<<\_ACEOF
1820 DEFAULT_DEFAULT_wxUSE_GTK
=1
1825 cat >>confdefs.h
<<\_ACEOF
1826 #define __OPENBSD__ 1
1829 cat >>confdefs.h
<<\_ACEOF
1833 DEFAULT_DEFAULT_wxUSE_GTK
=1
1838 cat >>confdefs.h
<<\_ACEOF
1839 #define __NETBSD__ 1
1842 cat >>confdefs.h
<<\_ACEOF
1846 DEFAULT_DEFAULT_wxUSE_GTK
=1
1851 cat >>confdefs.h
<<\_ACEOF
1855 cat >>confdefs.h
<<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1860 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1865 cat >>confdefs.h
<<\_ACEOF
1869 cat >>confdefs.h
<<\_ACEOF
1873 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1878 cat >>confdefs.h
<<\_ACEOF
1882 cat >>confdefs.h
<<\_ACEOF
1886 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1893 cat >>confdefs.h
<<\_ACEOF
1897 cat >>confdefs.h
<<\_ACEOF
1901 cat >>confdefs.h
<<\_ACEOF
1905 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1912 cat >>confdefs.h
<<\_ACEOF
1913 #define __UNIXWARE__ 1
1918 *-*-cygwin* | *-*-mingw32* )
1922 DEFAULT_DEFAULT_wxUSE_MSW
=1
1928 cat >>confdefs.h
<<\_ACEOF
1933 DEFAULT_DEFAULT_wxUSE_MGL
=1
1934 LIBS
="$LIBS -lstdc++"
1937 *-pc-os2_emx | *-pc-os2-emx )
1938 cat >>confdefs.h
<<\_ACEOF
1943 cat >>confdefs.h
<<\_ACEOF
1948 DEFAULT_DEFAULT_wxUSE_PM
=1
1950 LDFLAGS
="$LDFLAGS -Zcrtdll"
1951 ac_executable_extensions
=".exe"
1952 export ac_executable_extensions
1956 for ac_dir
in $PATH; do
1958 if test -z "$ac_TEMP_PATH"; then
1959 ac_TEMP_PATH
="$ac_dir"
1961 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1964 export PATH
="$ac_TEMP_PATH"
1972 cat >>confdefs.h
<<\_ACEOF
1976 cat >>confdefs.h
<<\_ACEOF
1977 #define __DARWIN__ 1
1980 cat >>confdefs.h
<<\_ACEOF
1981 #define __POWERPC__ 1
1984 cat >>confdefs.h
<<\_ACEOF
1985 #define TARGET_CARBON 1
1988 DEFAULT_DEFAULT_wxUSE_MAC
=1
1993 cat >>confdefs.h
<<\_ACEOF
2000 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2001 echo "$as_me: error: unknown system type ${host}." >&2;}
2002 { (exit 1); exit 1; }; }
2008 wx_arg_cache_file
="configarg.cache"
2009 echo "loading argument cache $wx_arg_cache_file"
2010 rm -f ${wx_arg_cache_file}.tmp
2011 touch ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}
2016 if test $DEBUG_CONFIGURE = 1; then
2017 DEFAULT_wxUSE_UNIVERSAL
=no
2018 DEFAULT_wxUSE_STL
=no
2020 DEFAULT_wxUSE_NANOX
=no
2022 DEFAULT_wxUSE_THREADS
=yes
2024 DEFAULT_wxUSE_SHARED
=yes
2025 DEFAULT_wxUSE_OPTIMISE
=no
2026 DEFAULT_wxUSE_PROFILE
=no
2027 DEFAULT_wxUSE_NO_DEPS
=no
2028 DEFAULT_wxUSE_NO_RTTI
=no
2029 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2030 DEFAULT_wxUSE_RPATH
=yes
2031 DEFAULT_wxUSE_PERMISSIVE
=no
2032 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2033 DEFAULT_wxUSE_DEBUG_INFO
=yes
2034 DEFAULT_wxUSE_DEBUG_GDB
=yes
2035 DEFAULT_wxUSE_MEM_TRACING
=no
2036 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2037 DEFAULT_wxUSE_DMALLOC
=no
2038 DEFAULT_wxUSE_APPLE_IEEE
=no
2040 DEFAULT_wxUSE_EXCEPTIONS
=no
2041 DEFAULT_wxUSE_LOG
=yes
2042 DEFAULT_wxUSE_LOGWINDOW
=no
2043 DEFAULT_wxUSE_LOGGUI
=no
2044 DEFAULT_wxUSE_LOGDIALOG
=no
2046 DEFAULT_wxUSE_GUI
=yes
2047 DEFAULT_wxUSE_CONTROLS
=no
2049 DEFAULT_wxUSE_REGEX
=no
2050 DEFAULT_wxUSE_XML
=no
2051 DEFAULT_wxUSE_EXPAT
=no
2052 DEFAULT_wxUSE_ZLIB
=no
2053 DEFAULT_wxUSE_LIBPNG
=no
2054 DEFAULT_wxUSE_LIBJPEG
=no
2055 DEFAULT_wxUSE_LIBTIFF
=no
2056 DEFAULT_wxUSE_LIBXPM
=no
2057 DEFAULT_wxUSE_LIBMSPACK
=no
2058 DEFAULT_wxUSE_LIBSDL
=no
2059 DEFAULT_wxUSE_ODBC
=no
2060 DEFAULT_wxUSE_OPENGL
=no
2062 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2063 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2064 DEFAULT_wxUSE_STD_IOSTREAM
=no
2065 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2066 DEFAULT_wxUSE_DATETIME
=no
2067 DEFAULT_wxUSE_TIMER
=no
2068 DEFAULT_wxUSE_STOPWATCH
=no
2069 DEFAULT_wxUSE_FILE
=no
2070 DEFAULT_wxUSE_FFILE
=no
2071 DEFAULT_wxUSE_TEXTBUFFER
=no
2072 DEFAULT_wxUSE_TEXTFILE
=no
2073 DEFAULT_wxUSE_SOUND
=no
2074 DEFAULT_wxUSE_INTL
=no
2075 DEFAULT_wxUSE_CONFIG
=no
2076 DEFAULT_wxUSE_FONTMAP
=no
2077 DEFAULT_wxUSE_STREAMS
=no
2078 DEFAULT_wxUSE_SOCKETS
=no
2079 DEFAULT_wxUSE_OLE
=no
2080 DEFAULT_wxUSE_DATAOBJ
=no
2081 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2082 DEFAULT_wxUSE_JOYSTICK
=no
2083 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2084 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2085 DEFAULT_wxUSE_LONGLONG
=no
2086 DEFAULT_wxUSE_GEOMETRY
=no
2088 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2089 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2090 DEFAULT_wxUSE_POSTSCRIPT
=no
2092 DEFAULT_wxUSE_CLIPBOARD
=no
2093 DEFAULT_wxUSE_TOOLTIPS
=no
2094 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2095 DEFAULT_wxUSE_DRAGIMAGE
=no
2096 DEFAULT_wxUSE_SPLINES
=no
2098 DEFAULT_wxUSE_MDI
=no
2099 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2100 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2101 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2103 DEFAULT_wxUSE_RESOURCES
=no
2104 DEFAULT_wxUSE_CONSTRAINTS
=no
2105 DEFAULT_wxUSE_IPC
=no
2106 DEFAULT_wxUSE_HELP
=no
2107 DEFAULT_wxUSE_MS_HTML_HELP
=no
2108 DEFAULT_wxUSE_WXHTML_HELP
=no
2109 DEFAULT_wxUSE_TREELAYOUT
=no
2110 DEFAULT_wxUSE_METAFILE
=no
2111 DEFAULT_wxUSE_MIMETYPE
=no
2112 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2113 DEFAULT_wxUSE_PROTOCOL
=no
2114 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2115 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2116 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2117 DEFAULT_wxUSE_URL
=no
2119 DEFAULT_wxUSE_COMMONDLGS
=no
2120 DEFAULT_wxUSE_CHOICEDLG
=no
2121 DEFAULT_wxUSE_COLOURDLG
=no
2122 DEFAULT_wxUSE_DIRDLG
=no
2123 DEFAULT_wxUSE_FILEDLG
=no
2124 DEFAULT_wxUSE_FINDREPLDLG
=no
2125 DEFAULT_wxUSE_FONTDLG
=no
2126 DEFAULT_wxUSE_MSGDLG
=no
2127 DEFAULT_wxUSE_NUMBERDLG
=no
2128 DEFAULT_wxUSE_TEXTDLG
=no
2129 DEFAULT_wxUSE_SPLASH
=no
2130 DEFAULT_wxUSE_STARTUP_TIPS
=no
2131 DEFAULT_wxUSE_PROGRESSDLG
=no
2132 DEFAULT_wxUSE_WIZARDDLG
=no
2134 DEFAULT_wxUSE_MENUS
=no
2135 DEFAULT_wxUSE_MINIFRAME
=no
2136 DEFAULT_wxUSE_HTML
=no
2137 DEFAULT_wxUSE_XRC
=no
2138 DEFAULT_wxUSE_WEBKIT
=no
2139 DEFAULT_wxUSE_FILESYSTEM
=no
2140 DEFAULT_wxUSE_FS_INET
=no
2141 DEFAULT_wxUSE_FS_ZIP
=no
2142 DEFAULT_wxUSE_BUSYINFO
=no
2143 DEFAULT_wxUSE_ZIPSTREAM
=no
2144 DEFAULT_wxUSE_VALIDATORS
=no
2146 DEFAULT_wxUSE_ACCEL
=no
2147 DEFAULT_wxUSE_BUTTON
=no
2148 DEFAULT_wxUSE_BMPBUTTON
=no
2149 DEFAULT_wxUSE_CALCTRL
=no
2150 DEFAULT_wxUSE_CARET
=no
2151 DEFAULT_wxUSE_CHECKBOX
=no
2152 DEFAULT_wxUSE_CHECKLST
=no
2153 DEFAULT_wxUSE_CHOICE
=no
2154 DEFAULT_wxUSE_CHOICEBOOK
=no
2155 DEFAULT_wxUSE_COMBOBOX
=no
2156 DEFAULT_wxUSE_DISPLAY
=no
2157 DEFAULT_wxUSE_GAUGE
=no
2158 DEFAULT_wxUSE_GRID
=no
2159 DEFAULT_wxUSE_IMAGLIST
=no
2160 DEFAULT_wxUSE_LISTBOOK
=no
2161 DEFAULT_wxUSE_LISTBOX
=no
2162 DEFAULT_wxUSE_LISTCTRL
=no
2163 DEFAULT_wxUSE_NOTEBOOK
=no
2164 DEFAULT_wxUSE_RADIOBOX
=no
2165 DEFAULT_wxUSE_RADIOBTN
=no
2166 DEFAULT_wxUSE_SASH
=no
2167 DEFAULT_wxUSE_SCROLLBAR
=no
2168 DEFAULT_wxUSE_SLIDER
=no
2169 DEFAULT_wxUSE_SPINBTN
=no
2170 DEFAULT_wxUSE_SPINCTRL
=no
2171 DEFAULT_wxUSE_SPLITTER
=no
2172 DEFAULT_wxUSE_STATBMP
=no
2173 DEFAULT_wxUSE_STATBOX
=no
2174 DEFAULT_wxUSE_STATLINE
=no
2175 DEFAULT_wxUSE_STATTEXT
=no
2176 DEFAULT_wxUSE_STATUSBAR
=yes
2177 DEFAULT_wxUSE_TABDIALOG
=no
2178 DEFAULT_wxUSE_TEXTCTRL
=no
2179 DEFAULT_wxUSE_TOGGLEBTN
=no
2180 DEFAULT_wxUSE_TOOLBAR
=no
2181 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2182 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2183 DEFAULT_wxUSE_TREECTRL
=no
2184 DEFAULT_wxUSE_POPUPWIN
=no
2185 DEFAULT_wxUSE_TIPWINDOW
=no
2187 DEFAULT_wxUSE_UNICODE
=no
2188 DEFAULT_wxUSE_UNICODE_MSLU
=no
2189 DEFAULT_wxUSE_WCSRTOMBS
=no
2191 DEFAULT_wxUSE_PALETTE
=no
2192 DEFAULT_wxUSE_IMAGE
=no
2193 DEFAULT_wxUSE_GIF
=no
2194 DEFAULT_wxUSE_PCX
=no
2195 DEFAULT_wxUSE_PNM
=no
2196 DEFAULT_wxUSE_IFF
=no
2197 DEFAULT_wxUSE_XPM
=no
2198 DEFAULT_wxUSE_ICO_CUR
=no
2199 DEFAULT_wxUSE_ACCESSIBILITY
=no
2201 DEFAULT_wxUSE_MONOLITHIC
=no
2202 DEFAULT_wxUSE_PLUGINS
=no
2203 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2205 DEFAULT_wxUSE_UNIVERSAL
=no
2206 DEFAULT_wxUSE_STL
=no
2208 DEFAULT_wxUSE_NANOX
=no
2210 DEFAULT_wxUSE_THREADS
=yes
2212 DEFAULT_wxUSE_SHARED
=yes
2213 DEFAULT_wxUSE_OPTIMISE
=yes
2214 DEFAULT_wxUSE_PROFILE
=no
2215 DEFAULT_wxUSE_NO_DEPS
=no
2216 DEFAULT_wxUSE_NO_RTTI
=no
2217 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2218 DEFAULT_wxUSE_RPATH
=yes
2219 DEFAULT_wxUSE_PERMISSIVE
=no
2220 DEFAULT_wxUSE_DEBUG_FLAG
=no
2221 DEFAULT_wxUSE_DEBUG_INFO
=no
2222 DEFAULT_wxUSE_DEBUG_GDB
=no
2223 DEFAULT_wxUSE_MEM_TRACING
=no
2224 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2225 DEFAULT_wxUSE_DMALLOC
=no
2226 DEFAULT_wxUSE_APPLE_IEEE
=yes
2228 DEFAULT_wxUSE_EXCEPTIONS
=yes
2229 DEFAULT_wxUSE_LOG
=yes
2230 DEFAULT_wxUSE_LOGWINDOW
=yes
2231 DEFAULT_wxUSE_LOGGUI
=yes
2232 DEFAULT_wxUSE_LOGDIALOG
=yes
2234 DEFAULT_wxUSE_GUI
=yes
2236 DEFAULT_wxUSE_REGEX
=yes
2237 DEFAULT_wxUSE_XML
=yes
2238 DEFAULT_wxUSE_EXPAT
=yes
2239 DEFAULT_wxUSE_ZLIB
=yes
2240 DEFAULT_wxUSE_LIBPNG
=yes
2241 DEFAULT_wxUSE_LIBJPEG
=yes
2242 DEFAULT_wxUSE_LIBTIFF
=yes
2243 DEFAULT_wxUSE_LIBXPM
=yes
2244 DEFAULT_wxUSE_LIBMSPACK
=yes
2245 DEFAULT_wxUSE_LIBSDL
=no
2246 DEFAULT_wxUSE_ODBC
=no
2247 DEFAULT_wxUSE_OPENGL
=no
2249 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2250 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2251 DEFAULT_wxUSE_STD_IOSTREAM
=no
2252 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2253 DEFAULT_wxUSE_DATETIME
=yes
2254 DEFAULT_wxUSE_TIMER
=yes
2255 DEFAULT_wxUSE_STOPWATCH
=yes
2256 DEFAULT_wxUSE_FILE
=yes
2257 DEFAULT_wxUSE_FFILE
=yes
2258 DEFAULT_wxUSE_TEXTBUFFER
=yes
2259 DEFAULT_wxUSE_TEXTFILE
=yes
2260 DEFAULT_wxUSE_SOUND
=yes
2261 DEFAULT_wxUSE_INTL
=yes
2262 DEFAULT_wxUSE_CONFIG
=yes
2263 DEFAULT_wxUSE_FONTMAP
=yes
2264 DEFAULT_wxUSE_STREAMS
=yes
2265 DEFAULT_wxUSE_SOCKETS
=yes
2266 DEFAULT_wxUSE_OLE
=yes
2267 DEFAULT_wxUSE_DATAOBJ
=yes
2268 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2269 DEFAULT_wxUSE_JOYSTICK
=yes
2270 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2271 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2272 DEFAULT_wxUSE_LONGLONG
=yes
2273 DEFAULT_wxUSE_GEOMETRY
=yes
2275 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2276 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2277 DEFAULT_wxUSE_POSTSCRIPT
=yes
2279 DEFAULT_wxUSE_CLIPBOARD
=yes
2280 DEFAULT_wxUSE_TOOLTIPS
=yes
2281 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2282 DEFAULT_wxUSE_DRAGIMAGE
=yes
2283 DEFAULT_wxUSE_SPLINES
=yes
2285 DEFAULT_wxUSE_MDI
=yes
2286 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2287 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2288 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2290 DEFAULT_wxUSE_RESOURCES
=no
2291 DEFAULT_wxUSE_CONSTRAINTS
=yes
2292 DEFAULT_wxUSE_IPC
=yes
2293 DEFAULT_wxUSE_HELP
=yes
2294 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2295 DEFAULT_wxUSE_WXHTML_HELP
=yes
2296 DEFAULT_wxUSE_TREELAYOUT
=yes
2297 DEFAULT_wxUSE_METAFILE
=yes
2298 DEFAULT_wxUSE_MIMETYPE
=yes
2299 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2300 DEFAULT_wxUSE_PROTOCOL
=yes
2301 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2302 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2303 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2304 DEFAULT_wxUSE_URL
=yes
2306 DEFAULT_wxUSE_COMMONDLGS
=yes
2307 DEFAULT_wxUSE_CHOICEDLG
=yes
2308 DEFAULT_wxUSE_COLOURDLG
=yes
2309 DEFAULT_wxUSE_DIRDLG
=yes
2310 DEFAULT_wxUSE_FILEDLG
=yes
2311 DEFAULT_wxUSE_FINDREPLDLG
=yes
2312 DEFAULT_wxUSE_FONTDLG
=yes
2313 DEFAULT_wxUSE_MSGDLG
=yes
2314 DEFAULT_wxUSE_NUMBERDLG
=yes
2315 DEFAULT_wxUSE_TEXTDLG
=yes
2316 DEFAULT_wxUSE_SPLASH
=yes
2317 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2318 DEFAULT_wxUSE_PROGRESSDLG
=yes
2319 DEFAULT_wxUSE_WIZARDDLG
=yes
2321 DEFAULT_wxUSE_MENUS
=yes
2322 DEFAULT_wxUSE_MINIFRAME
=yes
2323 DEFAULT_wxUSE_HTML
=yes
2324 DEFAULT_wxUSE_XRC
=yes
2325 DEFAULT_wxUSE_WEBKIT
=yes
2326 DEFAULT_wxUSE_FILESYSTEM
=yes
2327 DEFAULT_wxUSE_FS_INET
=yes
2328 DEFAULT_wxUSE_FS_ZIP
=yes
2329 DEFAULT_wxUSE_BUSYINFO
=yes
2330 DEFAULT_wxUSE_ZIPSTREAM
=yes
2331 DEFAULT_wxUSE_VALIDATORS
=yes
2333 DEFAULT_wxUSE_ACCEL
=yes
2334 DEFAULT_wxUSE_BUTTON
=yes
2335 DEFAULT_wxUSE_BMPBUTTON
=yes
2336 DEFAULT_wxUSE_CALCTRL
=yes
2337 DEFAULT_wxUSE_CARET
=yes
2338 DEFAULT_wxUSE_CHECKBOX
=yes
2339 DEFAULT_wxUSE_CHECKLST
=yes
2340 DEFAULT_wxUSE_CHOICE
=yes
2341 DEFAULT_wxUSE_CHOICEBOOK
=yes
2342 DEFAULT_wxUSE_COMBOBOX
=yes
2343 DEFAULT_wxUSE_DISPLAY
=yes
2344 DEFAULT_wxUSE_GAUGE
=yes
2345 DEFAULT_wxUSE_GRID
=yes
2346 DEFAULT_wxUSE_IMAGLIST
=yes
2347 DEFAULT_wxUSE_LISTBOOK
=yes
2348 DEFAULT_wxUSE_LISTBOX
=yes
2349 DEFAULT_wxUSE_LISTCTRL
=yes
2350 DEFAULT_wxUSE_NOTEBOOK
=yes
2351 DEFAULT_wxUSE_RADIOBOX
=yes
2352 DEFAULT_wxUSE_RADIOBTN
=yes
2353 DEFAULT_wxUSE_SASH
=yes
2354 DEFAULT_wxUSE_SCROLLBAR
=yes
2355 DEFAULT_wxUSE_SLIDER
=yes
2356 DEFAULT_wxUSE_SPINBTN
=yes
2357 DEFAULT_wxUSE_SPINCTRL
=yes
2358 DEFAULT_wxUSE_SPLITTER
=yes
2359 DEFAULT_wxUSE_STATBMP
=yes
2360 DEFAULT_wxUSE_STATBOX
=yes
2361 DEFAULT_wxUSE_STATLINE
=yes
2362 DEFAULT_wxUSE_STATTEXT
=yes
2363 DEFAULT_wxUSE_STATUSBAR
=yes
2364 DEFAULT_wxUSE_TABDIALOG
=no
2365 DEFAULT_wxUSE_TEXTCTRL
=yes
2366 DEFAULT_wxUSE_TOGGLEBTN
=yes
2367 DEFAULT_wxUSE_TOOLBAR
=yes
2368 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2369 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2370 DEFAULT_wxUSE_TREECTRL
=yes
2371 DEFAULT_wxUSE_POPUPWIN
=yes
2372 DEFAULT_wxUSE_TIPWINDOW
=yes
2374 DEFAULT_wxUSE_UNICODE
=no
2375 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2376 DEFAULT_wxUSE_WCSRTOMBS
=no
2378 DEFAULT_wxUSE_PALETTE
=yes
2379 DEFAULT_wxUSE_IMAGE
=yes
2380 DEFAULT_wxUSE_GIF
=yes
2381 DEFAULT_wxUSE_PCX
=yes
2382 DEFAULT_wxUSE_IFF
=no
2383 DEFAULT_wxUSE_PNM
=yes
2384 DEFAULT_wxUSE_XPM
=yes
2385 DEFAULT_wxUSE_ICO_CUR
=yes
2386 DEFAULT_wxUSE_ACCESSIBILITY
=no
2388 DEFAULT_wxUSE_MONOLITHIC
=no
2389 DEFAULT_wxUSE_PLUGINS
=no
2390 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2392 DEFAULT_wxUSE_GTK2
=yes
2397 for toolkit
in `echo $ALL_TOOLKITS`; do
2398 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2399 if test "x$LINE" != "x" ; then
2400 has_toolkit_in_cache
=1
2401 eval "DEFAULT_$LINE"
2402 eval "CACHE_$toolkit=1"
2409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2410 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2412 # Check whether --enable-gui or --disable-gui was given.
2413 if test "${enable_gui+set}" = set; then
2414 enableval
="$enable_gui"
2416 if test "$enableval" = yes; then
2417 ac_cv_use_gui
='wxUSE_GUI=yes'
2419 ac_cv_use_gui
='wxUSE_GUI=no'
2424 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2425 if test "x$LINE" != x
; then
2426 eval "DEFAULT_$LINE"
2431 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2435 eval "$ac_cv_use_gui"
2436 if test "$no_cache" != 1; then
2437 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2440 if test "$wxUSE_GUI" = yes; then
2441 echo "$as_me:$LINENO: result: yes" >&5
2442 echo "${ECHO_T}yes" >&6
2444 echo "$as_me:$LINENO: result: no" >&5
2445 echo "${ECHO_T}no" >&6
2450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2451 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2453 # Check whether --enable-monolithic or --disable-monolithic was given.
2454 if test "${enable_monolithic+set}" = set; then
2455 enableval
="$enable_monolithic"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2460 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2465 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2476 eval "$ac_cv_use_monolithic"
2477 if test "$no_cache" != 1; then
2478 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2481 if test "$wxUSE_MONOLITHIC" = yes; then
2482 echo "$as_me:$LINENO: result: yes" >&5
2483 echo "${ECHO_T}yes" >&6
2485 echo "$as_me:$LINENO: result: no" >&5
2486 echo "${ECHO_T}no" >&6
2491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2492 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2494 # Check whether --enable-plugins or --disable-plugins was given.
2495 if test "${enable_plugins+set}" = set; then
2496 enableval
="$enable_plugins"
2498 if test "$enableval" = yes; then
2499 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2501 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2506 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x
; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2517 eval "$ac_cv_use_plugins"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2522 if test "$wxUSE_PLUGINS" = yes; then
2523 echo "$as_me:$LINENO: result: yes" >&5
2524 echo "${ECHO_T}yes" >&6
2526 echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6
2531 if test "$wxUSE_GUI" = "yes"; then
2535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2536 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2538 # Check whether --enable-universal or --disable-universal was given.
2539 if test "${enable_universal+set}" = set; then
2540 enableval
="$enable_universal"
2542 if test "$enableval" = yes; then
2543 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2545 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2550 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2551 if test "x$LINE" != x
; then
2552 eval "DEFAULT_$LINE"
2557 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2561 eval "$ac_cv_use_universal"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2566 if test "$wxUSE_UNIVERSAL" = yes; then
2567 echo "$as_me:$LINENO: result: yes" >&5
2568 echo "${ECHO_T}yes" >&6
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2575 # Check whether --with-gtk or --without-gtk was given.
2576 if test "${with_gtk+set}" = set; then
2578 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2581 # Check whether --with-motif or --without-motif was given.
2582 if test "${with_motif+set}" = set; then
2583 withval
="$with_motif"
2584 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2587 # Check whether --with-mac or --without-mac was given.
2588 if test "${with_mac+set}" = set; then
2590 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2593 # Check whether --with-cocoa or --without-cocoa was given.
2594 if test "${with_cocoa+set}" = set; then
2595 withval
="$with_cocoa"
2596 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2599 # Check whether --with-wine or --without-wine was given.
2600 if test "${with_wine+set}" = set; then
2601 withval
="$with_wine"
2602 wxUSE_WINE
="$withval" CACHE_WINE
=1
2605 # Check whether --with-msw or --without-msw was given.
2606 if test "${with_msw+set}" = set; then
2608 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2611 # Check whether --with-pm or --without-pm was given.
2612 if test "${with_pm+set}" = set; then
2614 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2617 # Check whether --with-mgl or --without-mgl was given.
2618 if test "${with_mgl+set}" = set; then
2620 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2623 # Check whether --with-microwin or --without-microwin was given.
2624 if test "${with_microwin+set}" = set; then
2625 withval
="$with_microwin"
2626 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2629 # Check whether --with-x11 or --without-x11 was given.
2630 if test "${with_x11+set}" = set; then
2632 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2637 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2639 # Check whether --enable-nanox or --disable-nanox was given.
2640 if test "${enable_nanox+set}" = set; then
2641 enableval
="$enable_nanox"
2643 if test "$enableval" = yes; then
2644 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2646 ac_cv_use_nanox
='wxUSE_NANOX=no'
2651 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2652 if test "x$LINE" != x
; then
2653 eval "DEFAULT_$LINE"
2658 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2662 eval "$ac_cv_use_nanox"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2667 if test "$wxUSE_NANOX" = yes; then
2668 echo "$as_me:$LINENO: result: yes" >&5
2669 echo "${ECHO_T}yes" >&6
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2679 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2681 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2682 if test "${enable_gtk2+set}" = set; then
2683 enableval
="$enable_gtk2"
2685 if test "$enableval" = yes; then
2686 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2688 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2693 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x
; then
2695 eval "DEFAULT_$LINE"
2700 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2704 eval "$ac_cv_use_gtk2"
2705 if test "$no_cache" != 1; then
2706 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2709 if test "$wxUSE_GTK2" = yes; then
2710 echo "$as_me:$LINENO: result: yes" >&5
2711 echo "${ECHO_T}yes" >&6
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2720 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2722 # Check whether --enable-gpe or --disable-gpe was given.
2723 if test "${enable_gpe+set}" = set; then
2724 enableval
="$enable_gpe"
2726 if test "$enableval" = yes; then
2727 ac_cv_use_gpe
='wxUSE_GPE=yes'
2729 ac_cv_use_gpe
='wxUSE_GPE=no'
2734 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x
; then
2736 eval "DEFAULT_$LINE"
2741 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2745 eval "$ac_cv_use_gpe"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2750 if test "$wxUSE_GPE" = yes; then
2751 echo "$as_me:$LINENO: result: yes" >&5
2752 echo "${ECHO_T}yes" >&6
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2760 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2761 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2764 # Check whether --with-libpng or --without-libpng was given.
2765 if test "${with_libpng+set}" = set; then
2766 withval
="$with_libpng"
2768 if test "$withval" = yes; then
2769 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2770 elif test "$withval" = no
; then
2771 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2772 elif test "$withval" = sys
; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2774 elif test "$withval" = builtin; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2778 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2779 { (exit 1); exit 1; }; }
2784 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x
; then
2786 eval "DEFAULT_$LINE"
2791 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2795 eval "$ac_cv_use_libpng"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2800 if test "$wxUSE_LIBPNG" = yes; then
2801 echo "$as_me:$LINENO: result: yes" >&5
2802 echo "${ECHO_T}yes" >&6
2803 elif test "$wxUSE_LIBPNG" = no
; then
2804 echo "$as_me:$LINENO: result: no" >&5
2805 echo "${ECHO_T}no" >&6
2806 elif test "$wxUSE_LIBPNG" = sys
; then
2807 echo "$as_me:$LINENO: result: system version" >&5
2808 echo "${ECHO_T}system version" >&6
2809 elif test "$wxUSE_LIBPNG" = builtin; then
2810 echo "$as_me:$LINENO: result: builtin version" >&5
2811 echo "${ECHO_T}builtin version" >&6
2813 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2814 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2815 { (exit 1); exit 1; }; }
2819 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2820 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2823 # Check whether --with-libjpeg or --without-libjpeg was given.
2824 if test "${with_libjpeg+set}" = set; then
2825 withval
="$with_libjpeg"
2827 if test "$withval" = yes; then
2828 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2829 elif test "$withval" = no
; then
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2831 elif test "$withval" = sys
; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2833 elif test "$withval" = builtin; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2843 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x
; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2854 eval "$ac_cv_use_libjpeg"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2859 if test "$wxUSE_LIBJPEG" = yes; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2862 elif test "$wxUSE_LIBJPEG" = no
; then
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 elif test "$wxUSE_LIBJPEG" = sys
; then
2866 echo "$as_me:$LINENO: result: system version" >&5
2867 echo "${ECHO_T}system version" >&6
2868 elif test "$wxUSE_LIBJPEG" = builtin; then
2869 echo "$as_me:$LINENO: result: builtin version" >&5
2870 echo "${ECHO_T}builtin version" >&6
2872 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2873 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2874 { (exit 1); exit 1; }; }
2878 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2879 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2882 # Check whether --with-libtiff or --without-libtiff was given.
2883 if test "${with_libtiff+set}" = set; then
2884 withval
="$with_libtiff"
2886 if test "$withval" = yes; then
2887 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2888 elif test "$withval" = no
; then
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2890 elif test "$withval" = sys
; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2892 elif test "$withval" = builtin; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2902 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2913 eval "$ac_cv_use_libtiff"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2918 if test "$wxUSE_LIBTIFF" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 elif test "$wxUSE_LIBTIFF" = no
; then
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 elif test "$wxUSE_LIBTIFF" = sys
; then
2925 echo "$as_me:$LINENO: result: system version" >&5
2926 echo "${ECHO_T}system version" >&6
2927 elif test "$wxUSE_LIBTIFF" = builtin; then
2928 echo "$as_me:$LINENO: result: builtin version" >&5
2929 echo "${ECHO_T}builtin version" >&6
2931 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2932 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2933 { (exit 1); exit 1; }; }
2937 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2938 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2941 # Check whether --with-libxpm or --without-libxpm was given.
2942 if test "${with_libxpm+set}" = set; then
2943 withval
="$with_libxpm"
2945 if test "$withval" = yes; then
2946 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2947 elif test "$withval" = no
; then
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2949 elif test "$withval" = sys
; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2951 elif test "$withval" = builtin; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2961 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x
; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2972 eval "$ac_cv_use_libxpm"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2977 if test "$wxUSE_LIBXPM" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6
2980 elif test "$wxUSE_LIBXPM" = no
; then
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2983 elif test "$wxUSE_LIBXPM" = sys
; then
2984 echo "$as_me:$LINENO: result: system version" >&5
2985 echo "${ECHO_T}system version" >&6
2986 elif test "$wxUSE_LIBXPM" = builtin; then
2987 echo "$as_me:$LINENO: result: builtin version" >&5
2988 echo "${ECHO_T}builtin version" >&6
2990 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2991 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2992 { (exit 1); exit 1; }; }
2996 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2997 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3000 # Check whether --with-libmspack or --without-libmspack was given.
3001 if test "${with_libmspack+set}" = set; then
3002 withval
="$with_libmspack"
3004 if test "$withval" = yes; then
3005 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3007 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3012 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3013 if test "x$LINE" != x
; then
3014 eval "DEFAULT_$LINE"
3019 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3023 eval "$ac_cv_use_libmspack"
3024 if test "$no_cache" != 1; then
3025 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3028 if test "$wxUSE_LIBMSPACK" = yes; then
3029 echo "$as_me:$LINENO: result: yes" >&5
3030 echo "${ECHO_T}yes" >&6
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3037 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3038 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3041 # Check whether --with-sdl or --without-sdl was given.
3042 if test "${with_sdl+set}" = set; then
3045 if test "$withval" = yes; then
3046 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3048 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3053 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x
; then
3055 eval "DEFAULT_$LINE"
3060 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3064 eval "$ac_cv_use_sdl"
3065 if test "$no_cache" != 1; then
3066 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3069 if test "$wxUSE_LIBSDL" = yes; then
3070 echo "$as_me:$LINENO: result: yes" >&5
3071 echo "${ECHO_T}yes" >&6
3073 echo "$as_me:$LINENO: result: no" >&5
3074 echo "${ECHO_T}no" >&6
3078 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3079 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3082 # Check whether --with-opengl or --without-opengl was given.
3083 if test "${with_opengl+set}" = set; then
3084 withval
="$with_opengl"
3086 if test "$withval" = yes; then
3087 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3089 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3094 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x
; then
3096 eval "DEFAULT_$LINE"
3101 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3105 eval "$ac_cv_use_opengl"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3110 if test "$wxUSE_OPENGL" = yes; then
3111 echo "$as_me:$LINENO: result: yes" >&5
3112 echo "${ECHO_T}yes" >&6
3114 echo "$as_me:$LINENO: result: no" >&5
3115 echo "${ECHO_T}no" >&6
3122 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3123 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3126 # Check whether --with-dmalloc or --without-dmalloc was given.
3127 if test "${with_dmalloc+set}" = set; then
3128 withval
="$with_dmalloc"
3130 if test "$withval" = yes; then
3131 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3133 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3138 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3149 eval "$ac_cv_use_dmalloc"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_DMALLOC" = yes; then
3155 echo "$as_me:$LINENO: result: yes" >&5
3156 echo "${ECHO_T}yes" >&6
3158 echo "$as_me:$LINENO: result: no" >&5
3159 echo "${ECHO_T}no" >&6
3163 echo "$as_me:$LINENO: checking for --with-regex" >&5
3164 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3167 # Check whether --with-regex or --without-regex was given.
3168 if test "${with_regex+set}" = set; then
3169 withval
="$with_regex"
3171 if test "$withval" = yes; then
3172 ac_cv_use_regex
='wxUSE_REGEX=yes'
3173 elif test "$withval" = no
; then
3174 ac_cv_use_regex
='wxUSE_REGEX=no'
3175 elif test "$withval" = sys
; then
3176 ac_cv_use_regex
='wxUSE_REGEX=sys'
3177 elif test "$withval" = builtin; then
3178 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3182 { (exit 1); exit 1; }; }
3187 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x
; then
3189 eval "DEFAULT_$LINE"
3194 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3198 eval "$ac_cv_use_regex"
3199 if test "$no_cache" != 1; then
3200 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3203 if test "$wxUSE_REGEX" = yes; then
3204 echo "$as_me:$LINENO: result: yes" >&5
3205 echo "${ECHO_T}yes" >&6
3206 elif test "$wxUSE_REGEX" = no
; then
3207 echo "$as_me:$LINENO: result: no" >&5
3208 echo "${ECHO_T}no" >&6
3209 elif test "$wxUSE_REGEX" = sys
; then
3210 echo "$as_me:$LINENO: result: system version" >&5
3211 echo "${ECHO_T}system version" >&6
3212 elif test "$wxUSE_REGEX" = builtin; then
3213 echo "$as_me:$LINENO: result: builtin version" >&5
3214 echo "${ECHO_T}builtin version" >&6
3216 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3217 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3218 { (exit 1); exit 1; }; }
3222 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3223 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3226 # Check whether --with-zlib or --without-zlib was given.
3227 if test "${with_zlib+set}" = set; then
3228 withval
="$with_zlib"
3230 if test "$withval" = yes; then
3231 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3232 elif test "$withval" = no
; then
3233 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3234 elif test "$withval" = sys
; then
3235 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3236 elif test "$withval" = builtin; then
3237 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3239 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3240 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3241 { (exit 1); exit 1; }; }
3246 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x
; then
3248 eval "DEFAULT_$LINE"
3253 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3257 eval "$ac_cv_use_zlib"
3258 if test "$no_cache" != 1; then
3259 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3262 if test "$wxUSE_ZLIB" = yes; then
3263 echo "$as_me:$LINENO: result: yes" >&5
3264 echo "${ECHO_T}yes" >&6
3265 elif test "$wxUSE_ZLIB" = no
; then
3266 echo "$as_me:$LINENO: result: no" >&5
3267 echo "${ECHO_T}no" >&6
3268 elif test "$wxUSE_ZLIB" = sys
; then
3269 echo "$as_me:$LINENO: result: system version" >&5
3270 echo "${ECHO_T}system version" >&6
3271 elif test "$wxUSE_ZLIB" = builtin; then
3272 echo "$as_me:$LINENO: result: builtin version" >&5
3273 echo "${ECHO_T}builtin version" >&6
3275 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3276 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3277 { (exit 1); exit 1; }; }
3281 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3282 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3285 # Check whether --with-odbc or --without-odbc was given.
3286 if test "${with_odbc+set}" = set; then
3287 withval
="$with_odbc"
3289 if test "$withval" = yes; then
3290 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3291 elif test "$withval" = no
; then
3292 ac_cv_use_odbc
='wxUSE_ODBC=no'
3293 elif test "$withval" = sys
; then
3294 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3295 elif test "$withval" = builtin; then
3296 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3298 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3299 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3300 { (exit 1); exit 1; }; }
3305 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3316 eval "$ac_cv_use_odbc"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_ODBC" = yes; then
3322 echo "$as_me:$LINENO: result: yes" >&5
3323 echo "${ECHO_T}yes" >&6
3324 elif test "$wxUSE_ODBC" = no
; then
3325 echo "$as_me:$LINENO: result: no" >&5
3326 echo "${ECHO_T}no" >&6
3327 elif test "$wxUSE_ODBC" = sys
; then
3328 echo "$as_me:$LINENO: result: system version" >&5
3329 echo "${ECHO_T}system version" >&6
3330 elif test "$wxUSE_ODBC" = builtin; then
3331 echo "$as_me:$LINENO: result: builtin version" >&5
3332 echo "${ECHO_T}builtin version" >&6
3334 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3335 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3336 { (exit 1); exit 1; }; }
3340 echo "$as_me:$LINENO: checking for --with-expat" >&5
3341 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3344 # Check whether --with-expat or --without-expat was given.
3345 if test "${with_expat+set}" = set; then
3346 withval
="$with_expat"
3348 if test "$withval" = yes; then
3349 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3350 elif test "$withval" = no
; then
3351 ac_cv_use_expat
='wxUSE_EXPAT=no'
3352 elif test "$withval" = sys
; then
3353 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3354 elif test "$withval" = builtin; then
3355 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3357 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3358 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3359 { (exit 1); exit 1; }; }
3364 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3375 eval "$ac_cv_use_expat"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_EXPAT" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3383 elif test "$wxUSE_EXPAT" = no
; then
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3386 elif test "$wxUSE_EXPAT" = sys
; then
3387 echo "$as_me:$LINENO: result: system version" >&5
3388 echo "${ECHO_T}system version" >&6
3389 elif test "$wxUSE_EXPAT" = builtin; then
3390 echo "$as_me:$LINENO: result: builtin version" >&5
3391 echo "${ECHO_T}builtin version" >&6
3393 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3394 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3395 { (exit 1); exit 1; }; }
3402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3403 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3405 # Check whether --enable-shared or --disable-shared was given.
3406 if test "${enable_shared+set}" = set; then
3407 enableval
="$enable_shared"
3409 if test "$enableval" = yes; then
3410 ac_cv_use_shared
='wxUSE_SHARED=yes'
3412 ac_cv_use_shared
='wxUSE_SHARED=no'
3417 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x
; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3428 eval "$ac_cv_use_shared"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_SHARED" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3444 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3446 # Check whether --enable-optimise or --disable-optimise was given.
3447 if test "${enable_optimise+set}" = set; then
3448 enableval
="$enable_optimise"
3450 if test "$enableval" = yes; then
3451 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3453 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3458 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x
; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3469 eval "$ac_cv_use_optimise"
3470 if test "$no_cache" != 1; then
3471 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3474 if test "$wxUSE_OPTIMISE" = yes; then
3475 echo "$as_me:$LINENO: result: yes" >&5
3476 echo "${ECHO_T}yes" >&6
3478 echo "$as_me:$LINENO: result: no" >&5
3479 echo "${ECHO_T}no" >&6
3484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3485 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3487 # Check whether --enable-debug or --disable-debug was given.
3488 if test "${enable_debug+set}" = set; then
3489 enableval
="$enable_debug"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3494 ac_cv_use_debug
='wxUSE_DEBUG=no'
3499 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3510 eval "$ac_cv_use_debug"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_DEBUG" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3528 # Check whether --enable-stl or --disable-stl was given.
3529 if test "${enable_stl+set}" = set; then
3530 enableval
="$enable_stl"
3532 if test "$enableval" = yes; then
3533 ac_cv_use_stl
='wxUSE_STL=yes'
3535 ac_cv_use_stl
='wxUSE_STL=no'
3540 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3541 if test "x$LINE" != x
; then
3542 eval "DEFAULT_$LINE"
3547 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3551 eval "$ac_cv_use_stl"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3556 if test "$wxUSE_STL" = yes; then
3557 echo "$as_me:$LINENO: result: yes" >&5
3558 echo "${ECHO_T}yes" >&6
3560 echo "$as_me:$LINENO: result: no" >&5
3561 echo "${ECHO_T}no" >&6
3564 if test "$USE_OS2" = "1"; then
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3570 # Check whether --enable-omf or --disable-omf was given.
3571 if test "${enable_omf+set}" = set; then
3572 enableval
="$enable_omf"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_omf
='wxUSE_OMF=yes'
3577 ac_cv_use_omf
='wxUSE_OMF=no'
3582 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3593 eval "$ac_cv_use_omf"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_OMF" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3608 if test "$wxUSE_DEBUG" = "yes"; then
3609 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3610 DEFAULT_wxUSE_DEBUG_INFO
=yes
3612 elif test "$wxUSE_DEBUG" = "no"; then
3613 DEFAULT_wxUSE_DEBUG_FLAG
=no
3614 DEFAULT_wxUSE_DEBUG_INFO
=no
3620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3621 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3623 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3624 if test "${enable_debug_flag+set}" = set; then
3625 enableval
="$enable_debug_flag"
3627 if test "$enableval" = yes; then
3628 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3630 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3635 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x
; then
3637 eval "DEFAULT_$LINE"
3642 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3646 eval "$ac_cv_use_debug_flag"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3651 if test "$wxUSE_DEBUG_FLAG" = yes; then
3652 echo "$as_me:$LINENO: result: yes" >&5
3653 echo "${ECHO_T}yes" >&6
3655 echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3662 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3664 # Check whether --enable-debug_info or --disable-debug_info was given.
3665 if test "${enable_debug_info+set}" = set; then
3666 enableval
="$enable_debug_info"
3668 if test "$enableval" = yes; then
3669 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3671 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3676 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3677 if test "x$LINE" != x
; then
3678 eval "DEFAULT_$LINE"
3683 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3687 eval "$ac_cv_use_debug_info"
3688 if test "$no_cache" != 1; then
3689 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3692 if test "$wxUSE_DEBUG_INFO" = yes; then
3693 echo "$as_me:$LINENO: result: yes" >&5
3694 echo "${ECHO_T}yes" >&6
3696 echo "$as_me:$LINENO: result: no" >&5
3697 echo "${ECHO_T}no" >&6
3702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3703 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3705 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3706 if test "${enable_debug_gdb+set}" = set; then
3707 enableval
="$enable_debug_gdb"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3712 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3717 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3728 eval "$ac_cv_use_debug_gdb"
3729 if test "$no_cache" != 1; then
3730 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3733 if test "$wxUSE_DEBUG_GDB" = yes; then
3734 echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6
3737 echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6
3743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3744 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3746 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3747 if test "${enable_debug_cntxt+set}" = set; then
3748 enableval
="$enable_debug_cntxt"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3753 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3758 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3769 eval "$ac_cv_use_debug_cntxt"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3775 echo "$as_me:$LINENO: result: yes" >&5
3776 echo "${ECHO_T}yes" >&6
3778 echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6
3784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3785 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3787 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3788 if test "${enable_mem_tracing+set}" = set; then
3789 enableval
="$enable_mem_tracing"
3791 if test "$enableval" = yes; then
3792 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3794 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3799 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x
; then
3801 eval "DEFAULT_$LINE"
3806 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3810 eval "$ac_cv_use_mem_tracing"
3811 if test "$no_cache" != 1; then
3812 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3815 if test "$wxUSE_MEM_TRACING" = yes; then
3816 echo "$as_me:$LINENO: result: yes" >&5
3817 echo "${ECHO_T}yes" >&6
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3826 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3828 # Check whether --enable-profile or --disable-profile was given.
3829 if test "${enable_profile+set}" = set; then
3830 enableval
="$enable_profile"
3832 if test "$enableval" = yes; then
3833 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3835 ac_cv_use_profile
='wxUSE_PROFILE=no'
3840 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x
; then
3842 eval "DEFAULT_$LINE"
3847 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3851 eval "$ac_cv_use_profile"
3852 if test "$no_cache" != 1; then
3853 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3856 if test "$wxUSE_PROFILE" = yes; then
3857 echo "$as_me:$LINENO: result: yes" >&5
3858 echo "${ECHO_T}yes" >&6
3860 echo "$as_me:$LINENO: result: no" >&5
3861 echo "${ECHO_T}no" >&6
3866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3867 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3869 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3870 if test "${enable_no_rtti+set}" = set; then
3871 enableval
="$enable_no_rtti"
3873 if test "$enableval" = yes; then
3874 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3876 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3881 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x
; then
3883 eval "DEFAULT_$LINE"
3888 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3892 eval "$ac_cv_use_no_rtti"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3897 if test "$wxUSE_NO_RTTI" = yes; then
3898 echo "$as_me:$LINENO: result: yes" >&5
3899 echo "${ECHO_T}yes" >&6
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3910 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3911 if test "${enable_no_exceptions+set}" = set; then
3912 enableval
="$enable_no_exceptions"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3917 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3922 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3933 eval "$ac_cv_use_no_exceptions"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3951 # Check whether --enable-permissive or --disable-permissive was given.
3952 if test "${enable_permissive+set}" = set; then
3953 enableval
="$enable_permissive"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3958 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3963 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3974 eval "$ac_cv_use_permissive"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3979 if test "$wxUSE_PERMISSIVE" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3990 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3992 # Check whether --enable-no_deps or --disable-no_deps was given.
3993 if test "${enable_no_deps+set}" = set; then
3994 enableval
="$enable_no_deps"
3996 if test "$enableval" = yes; then
3997 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3999 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4004 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x
; then
4006 eval "DEFAULT_$LINE"
4011 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4015 eval "$ac_cv_use_no_deps"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_NO_DEPS" = yes; then
4021 echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4032 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4034 # Check whether --enable-compat22 or --disable-compat22 was given.
4035 if test "${enable_compat22+set}" = set; then
4036 enableval
="$enable_compat22"
4038 if test "$enableval" = yes; then
4039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4041 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4046 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4047 if test "x$LINE" != x
; then
4048 eval "DEFAULT_$LINE"
4053 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4057 eval "$ac_cv_use_compat22"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4062 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4063 echo "$as_me:$LINENO: result: yes" >&5
4064 echo "${ECHO_T}yes" >&6
4066 echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4071 enablestring
=disable
4072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4073 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4075 # Check whether --enable-compat24 or --disable-compat24 was given.
4076 if test "${enable_compat24+set}" = set; then
4077 enableval
="$enable_compat24"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4082 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4087 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4098 eval "$ac_cv_use_compat24"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4103 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4104 echo "$as_me:$LINENO: result: yes" >&5
4105 echo "${ECHO_T}yes" >&6
4107 echo "$as_me:$LINENO: result: no" >&5
4108 echo "${ECHO_T}no" >&6
4114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4115 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4117 # Check whether --enable-rpath or --disable-rpath was given.
4118 if test "${enable_rpath+set}" = set; then
4119 enableval
="$enable_rpath"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4124 ac_cv_use_rpath
='wxUSE_RPATH=no'
4129 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x
; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4140 eval "$ac_cv_use_rpath"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_RPATH" = yes; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4161 # Check whether --enable-intl or --disable-intl was given.
4162 if test "${enable_intl+set}" = set; then
4163 enableval
="$enable_intl"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_intl
='wxUSE_INTL=yes'
4168 ac_cv_use_intl
='wxUSE_INTL=no'
4173 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4184 eval "$ac_cv_use_intl"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_INTL" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4200 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4202 # Check whether --enable-config or --disable-config was given.
4203 if test "${enable_config+set}" = set; then
4204 enableval
="$enable_config"
4206 if test "$enableval" = yes; then
4207 ac_cv_use_config
='wxUSE_CONFIG=yes'
4209 ac_cv_use_config
='wxUSE_CONFIG=no'
4214 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4215 if test "x$LINE" != x
; then
4216 eval "DEFAULT_$LINE"
4221 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4225 eval "$ac_cv_use_config"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4230 if test "$wxUSE_CONFIG" = yes; then
4231 echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6
4234 echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4244 # Check whether --enable-protocols or --disable-protocols was given.
4245 if test "${enable_protocols+set}" = set; then
4246 enableval
="$enable_protocols"
4248 if test "$enableval" = yes; then
4249 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4251 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4256 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x
; then
4258 eval "DEFAULT_$LINE"
4263 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4267 eval "$ac_cv_use_protocols"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4272 if test "$wxUSE_PROTOCOL" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4285 # Check whether --enable-ftp or --disable-ftp was given.
4286 if test "${enable_ftp+set}" = set; then
4287 enableval
="$enable_ftp"
4289 if test "$enableval" = yes; then
4290 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4292 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4297 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x
; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4308 eval "$ac_cv_use_ftp"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4326 # Check whether --enable-http or --disable-http was given.
4327 if test "${enable_http+set}" = set; then
4328 enableval
="$enable_http"
4330 if test "$enableval" = yes; then
4331 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4333 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4338 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x
; then
4340 eval "DEFAULT_$LINE"
4345 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4349 eval "$ac_cv_use_http"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4354 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4367 # Check whether --enable-fileproto or --disable-fileproto was given.
4368 if test "${enable_fileproto+set}" = set; then
4369 enableval
="$enable_fileproto"
4371 if test "$enableval" = yes; then
4372 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4374 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4379 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x
; then
4381 eval "DEFAULT_$LINE"
4386 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4390 eval "$ac_cv_use_fileproto"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4395 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4408 # Check whether --enable-sockets or --disable-sockets was given.
4409 if test "${enable_sockets+set}" = set; then
4410 enableval
="$enable_sockets"
4412 if test "$enableval" = yes; then
4413 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4415 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4420 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x
; then
4422 eval "DEFAULT_$LINE"
4427 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4431 eval "$ac_cv_use_sockets"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_SOCKETS" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4449 # Check whether --enable-ole or --disable-ole was given.
4450 if test "${enable_ole+set}" = set; then
4451 enableval
="$enable_ole"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_ole
='wxUSE_OLE=yes'
4456 ac_cv_use_ole
='wxUSE_OLE=no'
4461 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4472 eval "$ac_cv_use_ole"
4473 if test "$no_cache" != 1; then
4474 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4477 if test "$wxUSE_OLE" = yes; then
4478 echo "$as_me:$LINENO: result: yes" >&5
4479 echo "${ECHO_T}yes" >&6
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4490 # Check whether --enable-dataobj or --disable-dataobj was given.
4491 if test "${enable_dataobj+set}" = set; then
4492 enableval
="$enable_dataobj"
4494 if test "$enableval" = yes; then
4495 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4497 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4502 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x
; then
4504 eval "DEFAULT_$LINE"
4509 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4513 eval "$ac_cv_use_dataobj"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_DATAOBJ" = yes; then
4519 echo "$as_me:$LINENO: result: yes" >&5
4520 echo "${ECHO_T}yes" >&6
4522 echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6
4529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4532 # Check whether --enable-ipc or --disable-ipc was given.
4533 if test "${enable_ipc+set}" = set; then
4534 enableval
="$enable_ipc"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_ipc
='wxUSE_IPC=yes'
4539 ac_cv_use_ipc
='wxUSE_IPC=no'
4544 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4555 eval "$ac_cv_use_ipc"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_IPC" = yes; then
4561 echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6
4564 echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4574 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4575 if test "${enable_apple_ieee+set}" = set; then
4576 enableval
="$enable_apple_ieee"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4581 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4586 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4597 eval "$ac_cv_use_apple_ieee"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_APPLE_IEEE" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4615 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4616 if test "${enable_catch_segvs+set}" = set; then
4617 enableval
="$enable_catch_segvs"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4622 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4627 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4638 eval "$ac_cv_use_catch_segvs"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4656 # Check whether --enable-cmdline or --disable-cmdline was given.
4657 if test "${enable_cmdline+set}" = set; then
4658 enableval
="$enable_cmdline"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4663 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4668 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4679 eval "$ac_cv_use_cmdline"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4697 # Check whether --enable-datetime or --disable-datetime was given.
4698 if test "${enable_datetime+set}" = set; then
4699 enableval
="$enable_datetime"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4704 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4709 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4720 eval "$ac_cv_use_datetime"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_DATETIME" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4738 # Check whether --enable-dialupman or --disable-dialupman was given.
4739 if test "${enable_dialupman+set}" = set; then
4740 enableval
="$enable_dialupman"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4745 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4750 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4761 eval "$ac_cv_use_dialupman"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4779 # Check whether --enable-dynlib or --disable-dynlib was given.
4780 if test "${enable_dynlib+set}" = set; then
4781 enableval
="$enable_dynlib"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4786 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4791 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4802 eval "$ac_cv_use_dynlib"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4820 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4821 if test "${enable_dynamicloader+set}" = set; then
4822 enableval
="$enable_dynamicloader"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4827 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4832 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4843 eval "$ac_cv_use_dynamicloader"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4861 # Check whether --enable-exceptions or --disable-exceptions was given.
4862 if test "${enable_exceptions+set}" = set; then
4863 enableval
="$enable_exceptions"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4868 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4873 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x
; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4884 eval "$ac_cv_use_exceptions"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4889 if test "$wxUSE_EXCEPTIONS" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4902 # Check whether --enable-ffile or --disable-ffile was given.
4903 if test "${enable_ffile+set}" = set; then
4904 enableval
="$enable_ffile"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4909 ac_cv_use_ffile
='wxUSE_FFILE=no'
4914 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x
; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4925 eval "$ac_cv_use_ffile"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_FFILE" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4943 # Check whether --enable-file or --disable-file was given.
4944 if test "${enable_file+set}" = set; then
4945 enableval
="$enable_file"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_file
='wxUSE_FILE=yes'
4950 ac_cv_use_file
='wxUSE_FILE=no'
4955 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4966 eval "$ac_cv_use_file"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_FILE" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4984 # Check whether --enable-filesystem or --disable-filesystem was given.
4985 if test "${enable_filesystem+set}" = set; then
4986 enableval
="$enable_filesystem"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4991 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4996 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5007 eval "$ac_cv_use_filesystem"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_FILESYSTEM" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5025 # Check whether --enable-fontmap or --disable-fontmap was given.
5026 if test "${enable_fontmap+set}" = set; then
5027 enableval
="$enable_fontmap"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5032 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5037 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5048 eval "$ac_cv_use_fontmap"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_FONTMAP" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5066 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5067 if test "${enable_fs_inet+set}" = set; then
5068 enableval
="$enable_fs_inet"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5073 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5078 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5089 eval "$ac_cv_use_fs_inet"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_FS_INET" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5107 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5108 if test "${enable_fs_zip+set}" = set; then
5109 enableval
="$enable_fs_zip"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5114 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5119 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x
; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5130 eval "$ac_cv_use_fs_zip"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_FS_ZIP" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5148 # Check whether --enable-geometry or --disable-geometry was given.
5149 if test "${enable_geometry+set}" = set; then
5150 enableval
="$enable_geometry"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5155 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5160 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x
; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5171 eval "$ac_cv_use_geometry"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5176 if test "$wxUSE_GEOMETRY" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5189 # Check whether --enable-log or --disable-log was given.
5190 if test "${enable_log+set}" = set; then
5191 enableval
="$enable_log"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_log
='wxUSE_LOG=yes'
5196 ac_cv_use_log
='wxUSE_LOG=no'
5201 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5212 eval "$ac_cv_use_log"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5217 if test "$wxUSE_LOG" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5230 # Check whether --enable-longlong or --disable-longlong was given.
5231 if test "${enable_longlong+set}" = set; then
5232 enableval
="$enable_longlong"
5234 if test "$enableval" = yes; then
5235 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5237 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5242 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x
; then
5244 eval "DEFAULT_$LINE"
5249 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5253 eval "$ac_cv_use_longlong"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_LONGLONG" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5271 # Check whether --enable-mimetype or --disable-mimetype was given.
5272 if test "${enable_mimetype+set}" = set; then
5273 enableval
="$enable_mimetype"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5278 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5283 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x
; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5294 eval "$ac_cv_use_mimetype"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5299 if test "$wxUSE_MIMETYPE" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5312 # Check whether --enable-mslu or --disable-mslu was given.
5313 if test "${enable_mslu+set}" = set; then
5314 enableval
="$enable_mslu"
5316 if test "$enableval" = yes; then
5317 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5319 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5324 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x
; then
5326 eval "DEFAULT_$LINE"
5331 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5335 eval "$ac_cv_use_mslu"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_UNICODE_MSLU" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5353 # Check whether --enable-snglinst or --disable-snglinst was given.
5354 if test "${enable_snglinst+set}" = set; then
5355 enableval
="$enable_snglinst"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5360 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5365 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5376 eval "$ac_cv_use_snglinst"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5394 # Check whether --enable-streams or --disable-streams was given.
5395 if test "${enable_streams+set}" = set; then
5396 enableval
="$enable_streams"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5401 ac_cv_use_streams
='wxUSE_STREAMS=no'
5406 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x
; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5417 eval "$ac_cv_use_streams"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5422 if test "$wxUSE_STREAMS" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5435 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5436 if test "${enable_std_iostreams+set}" = set; then
5437 enableval
="$enable_std_iostreams"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5442 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5447 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5458 eval "$ac_cv_use_std_iostreams"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_STD_IOSTREAM" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5476 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5477 if test "${enable_stopwatch+set}" = set; then
5478 enableval
="$enable_stopwatch"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5483 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5488 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5499 eval "$ac_cv_use_stopwatch"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_STOPWATCH" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5517 # Check whether --enable-system_options or --disable-system_options was given.
5518 if test "${enable_system_options+set}" = set; then
5519 enableval
="$enable_system_options"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5524 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5529 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x
; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5540 eval "$ac_cv_use_system_options"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5558 # Check whether --enable-textbuf or --disable-textbuf was given.
5559 if test "${enable_textbuf+set}" = set; then
5560 enableval
="$enable_textbuf"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5565 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5570 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5581 eval "$ac_cv_use_textbuf"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_TEXTBUFFER" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5599 # Check whether --enable-textfile or --disable-textfile was given.
5600 if test "${enable_textfile+set}" = set; then
5601 enableval
="$enable_textfile"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5606 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5611 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5622 eval "$ac_cv_use_textfile"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_TEXTFILE" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5640 # Check whether --enable-timer or --disable-timer was given.
5641 if test "${enable_timer+set}" = set; then
5642 enableval
="$enable_timer"
5644 if test "$enableval" = yes; then
5645 ac_cv_use_timer
='wxUSE_TIMER=yes'
5647 ac_cv_use_timer
='wxUSE_TIMER=no'
5652 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x
; then
5654 eval "DEFAULT_$LINE"
5659 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5663 eval "$ac_cv_use_timer"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5668 if test "$wxUSE_TIMER" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5681 # Check whether --enable-unicode or --disable-unicode was given.
5682 if test "${enable_unicode+set}" = set; then
5683 enableval
="$enable_unicode"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5688 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5693 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x
; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5704 eval "$ac_cv_use_unicode"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_UNICODE" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5722 # Check whether --enable-sound or --disable-sound was given.
5723 if test "${enable_sound+set}" = set; then
5724 enableval
="$enable_sound"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_sound
='wxUSE_SOUND=yes'
5729 ac_cv_use_sound
='wxUSE_SOUND=no'
5734 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x
; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5745 eval "$ac_cv_use_sound"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_SOUND" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5763 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5764 if test "${enable_wxprintfv+set}" = set; then
5765 enableval
="$enable_wxprintfv"
5767 if test "$enableval" = yes; then
5768 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5770 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5775 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x
; then
5777 eval "DEFAULT_$LINE"
5782 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5786 eval "$ac_cv_use_wxprintfv"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5791 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5792 echo "$as_me:$LINENO: result: yes" >&5
5793 echo "${ECHO_T}yes" >&6
5795 echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5804 # Check whether --enable-zipstream or --disable-zipstream was given.
5805 if test "${enable_zipstream+set}" = set; then
5806 enableval
="$enable_zipstream"
5808 if test "$enableval" = yes; then
5809 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5811 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5816 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x
; then
5818 eval "DEFAULT_$LINE"
5823 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5827 eval "$ac_cv_use_zipstream"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5832 if test "$wxUSE_ZIPSTREAM" = yes; then
5833 echo "$as_me:$LINENO: result: yes" >&5
5834 echo "${ECHO_T}yes" >&6
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5846 # Check whether --enable-url or --disable-url was given.
5847 if test "${enable_url+set}" = set; then
5848 enableval
="$enable_url"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_url
='wxUSE_URL=yes'
5853 ac_cv_use_url
='wxUSE_URL=no'
5858 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5869 eval "$ac_cv_use_url"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5874 if test "$wxUSE_URL" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5887 # Check whether --enable-protocol or --disable-protocol was given.
5888 if test "${enable_protocol+set}" = set; then
5889 enableval
="$enable_protocol"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5894 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5899 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x
; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5910 eval "$ac_cv_use_protocol"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_PROTOCOL" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5928 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5929 if test "${enable_protocol_http+set}" = set; then
5930 enableval
="$enable_protocol_http"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5935 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5940 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5951 eval "$ac_cv_use_protocol_http"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5956 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5969 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5970 if test "${enable_protocol_ftp+set}" = set; then
5971 enableval
="$enable_protocol_ftp"
5973 if test "$enableval" = yes; then
5974 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5976 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5981 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x
; then
5983 eval "DEFAULT_$LINE"
5988 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5992 eval "$ac_cv_use_protocol_ftp"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5997 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6010 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6011 if test "${enable_protocol_file+set}" = set; then
6012 enableval
="$enable_protocol_file"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6017 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6022 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6033 eval "$ac_cv_use_protocol_file"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6054 # Check whether --enable-threads or --disable-threads was given.
6055 if test "${enable_threads+set}" = set; then
6056 enableval
="$enable_threads"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_threads
='wxUSE_THREADS=yes'
6061 ac_cv_use_threads
='wxUSE_THREADS=no'
6066 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x
; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6077 eval "$ac_cv_use_threads"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_THREADS" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6091 if test "$wxUSE_GUI" = "yes"; then
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6099 # Check whether --enable-docview or --disable-docview was given.
6100 if test "${enable_docview+set}" = set; then
6101 enableval
="$enable_docview"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6106 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6111 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6122 eval "$ac_cv_use_docview"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6127 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6140 # Check whether --enable-help or --disable-help was given.
6141 if test "${enable_help+set}" = set; then
6142 enableval
="$enable_help"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_help
='wxUSE_HELP=yes'
6147 ac_cv_use_help
='wxUSE_HELP=no'
6152 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6163 eval "$ac_cv_use_help"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6168 if test "$wxUSE_HELP" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6181 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6182 if test "${enable_mshtmlhelp+set}" = set; then
6183 enableval
="$enable_mshtmlhelp"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6188 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6193 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6204 eval "$ac_cv_use_mshtmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_MS_HTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6222 # Check whether --enable-html or --disable-html was given.
6223 if test "${enable_html+set}" = set; then
6224 enableval
="$enable_html"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_html
='wxUSE_HTML=yes'
6229 ac_cv_use_html
='wxUSE_HTML=no'
6234 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6245 eval "$ac_cv_use_html"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_HTML" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6263 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6264 if test "${enable_htmlhelp+set}" = set; then
6265 enableval
="$enable_htmlhelp"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6270 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6275 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6286 eval "$ac_cv_use_htmlhelp"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6291 if test "$wxUSE_WXHTML_HELP" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6304 # Check whether --enable-xrc or --disable-xrc was given.
6305 if test "${enable_xrc+set}" = set; then
6306 enableval
="$enable_xrc"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_xrc
='wxUSE_XRC=yes'
6311 ac_cv_use_xrc
='wxUSE_XRC=no'
6316 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6327 eval "$ac_cv_use_xrc"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6332 if test "$wxUSE_XRC" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6345 # Check whether --enable-constraints or --disable-constraints was given.
6346 if test "${enable_constraints+set}" = set; then
6347 enableval
="$enable_constraints"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6352 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6357 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6368 eval "$ac_cv_use_constraints"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_CONSTRAINTS" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6386 # Check whether --enable-printarch or --disable-printarch was given.
6387 if test "${enable_printarch+set}" = set; then
6388 enableval
="$enable_printarch"
6390 if test "$enableval" = yes; then
6391 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6393 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6398 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x
; then
6400 eval "DEFAULT_$LINE"
6405 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6409 eval "$ac_cv_use_printarch"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6414 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6427 # Check whether --enable-mdi or --disable-mdi was given.
6428 if test "${enable_mdi+set}" = set; then
6429 enableval
="$enable_mdi"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_mdi
='wxUSE_MDI=yes'
6434 ac_cv_use_mdi
='wxUSE_MDI=no'
6439 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x
; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6450 eval "$ac_cv_use_mdi"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6455 if test "$wxUSE_MDI" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6468 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6469 if test "${enable_mdidoc+set}" = set; then
6470 enableval
="$enable_mdidoc"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6475 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6480 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6491 eval "$ac_cv_use_mdidoc"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6496 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6509 # Check whether --enable-loggui or --disable-loggui was given.
6510 if test "${enable_loggui+set}" = set; then
6511 enableval
="$enable_loggui"
6513 if test "$enableval" = yes; then
6514 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6516 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6521 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x
; then
6523 eval "DEFAULT_$LINE"
6528 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6532 eval "$ac_cv_use_loggui"
6533 if test "$no_cache" != 1; then
6534 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6537 if test "$wxUSE_LOGGUI" = yes; then
6538 echo "$as_me:$LINENO: result: yes" >&5
6539 echo "${ECHO_T}yes" >&6
6541 echo "$as_me:$LINENO: result: no" >&5
6542 echo "${ECHO_T}no" >&6
6547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6548 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6550 # Check whether --enable-logwin or --disable-logwin was given.
6551 if test "${enable_logwin+set}" = set; then
6552 enableval
="$enable_logwin"
6554 if test "$enableval" = yes; then
6555 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6557 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6562 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6563 if test "x$LINE" != x
; then
6564 eval "DEFAULT_$LINE"
6569 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6573 eval "$ac_cv_use_logwin"
6574 if test "$no_cache" != 1; then
6575 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6578 if test "$wxUSE_LOGWINDOW" = yes; then
6579 echo "$as_me:$LINENO: result: yes" >&5
6580 echo "${ECHO_T}yes" >&6
6582 echo "$as_me:$LINENO: result: no" >&5
6583 echo "${ECHO_T}no" >&6
6588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6589 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6591 # Check whether --enable-logdialog or --disable-logdialog was given.
6592 if test "${enable_logdialog+set}" = set; then
6593 enableval
="$enable_logdialog"
6595 if test "$enableval" = yes; then
6596 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6598 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6603 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x
; then
6605 eval "DEFAULT_$LINE"
6610 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6614 eval "$ac_cv_use_logdialog"
6615 if test "$no_cache" != 1; then
6616 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6619 if test "$wxUSE_LOGDIALOG" = yes; then
6620 echo "$as_me:$LINENO: result: yes" >&5
6621 echo "${ECHO_T}yes" >&6
6623 echo "$as_me:$LINENO: result: no" >&5
6624 echo "${ECHO_T}no" >&6
6629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6630 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6632 # Check whether --enable-webkit or --disable-webkit was given.
6633 if test "${enable_webkit+set}" = set; then
6634 enableval
="$enable_webkit"
6636 if test "$enableval" = yes; then
6637 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6639 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6644 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6645 if test "x$LINE" != x
; then
6646 eval "DEFAULT_$LINE"
6651 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6655 eval "$ac_cv_use_webkit"
6656 if test "$no_cache" != 1; then
6657 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6660 if test "$wxUSE_WEBKIT" = yes; then
6661 echo "$as_me:$LINENO: result: yes" >&5
6662 echo "${ECHO_T}yes" >&6
6664 echo "$as_me:$LINENO: result: no" >&5
6665 echo "${ECHO_T}no" >&6
6671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6672 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6674 # Check whether --enable-postscript or --disable-postscript was given.
6675 if test "${enable_postscript+set}" = set; then
6676 enableval
="$enable_postscript"
6678 if test "$enableval" = yes; then
6679 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6681 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6686 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x
; then
6688 eval "DEFAULT_$LINE"
6693 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6697 eval "$ac_cv_use_postscript"
6698 if test "$no_cache" != 1; then
6699 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6702 if test "$wxUSE_POSTSCRIPT" = yes; then
6703 echo "$as_me:$LINENO: result: yes" >&5
6704 echo "${ECHO_T}yes" >&6
6706 echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6718 # Check whether --enable-prologio or --disable-prologio was given.
6719 if test "${enable_prologio+set}" = set; then
6720 enableval
="$enable_prologio"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6725 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6730 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6741 eval "$ac_cv_use_prologio"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_PROLOGIO" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6759 # Check whether --enable-resources or --disable-resources was given.
6760 if test "${enable_resources+set}" = set; then
6761 enableval
="$enable_resources"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6766 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6771 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x
; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6782 eval "$ac_cv_use_resources"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6787 if test "$wxUSE_RESOURCES" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6802 # Check whether --enable-clipboard or --disable-clipboard was given.
6803 if test "${enable_clipboard+set}" = set; then
6804 enableval
="$enable_clipboard"
6806 if test "$enableval" = yes; then
6807 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6809 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6814 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6815 if test "x$LINE" != x
; then
6816 eval "DEFAULT_$LINE"
6821 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6825 eval "$ac_cv_use_clipboard"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6830 if test "$wxUSE_CLIPBOARD" = yes; then
6831 echo "$as_me:$LINENO: result: yes" >&5
6832 echo "${ECHO_T}yes" >&6
6834 echo "$as_me:$LINENO: result: no" >&5
6835 echo "${ECHO_T}no" >&6
6840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6841 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6843 # Check whether --enable-dnd or --disable-dnd was given.
6844 if test "${enable_dnd+set}" = set; then
6845 enableval
="$enable_dnd"
6847 if test "$enableval" = yes; then
6848 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6850 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6855 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6856 if test "x$LINE" != x
; then
6857 eval "DEFAULT_$LINE"
6862 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6866 eval "$ac_cv_use_dnd"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6872 echo "$as_me:$LINENO: result: yes" >&5
6873 echo "${ECHO_T}yes" >&6
6875 echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6
6881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6882 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6884 # Check whether --enable-metafile or --disable-metafile was given.
6885 if test "${enable_metafile+set}" = set; then
6886 enableval
="$enable_metafile"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6891 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6896 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6907 eval "$ac_cv_use_metafile"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_METAFILE" = yes; then
6913 echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6
6916 echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6928 # Check whether --enable-controls or --disable-controls was given.
6929 if test "${enable_controls+set}" = set; then
6930 enableval
="$enable_controls"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6935 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6940 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6951 eval "$ac_cv_use_controls"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6956 if test "$wxUSE_CONTROLS" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6965 if test "$wxUSE_CONTROLS" = "yes"; then
6966 DEFAULT_wxUSE_ACCEL
=yes
6967 DEFAULT_wxUSE_BMPBUTTON
=yes
6968 DEFAULT_wxUSE_BUTTON
=yes
6969 DEFAULT_wxUSE_CALCTRL
=no
6970 DEFAULT_wxUSE_CARET
=yes
6971 DEFAULT_wxUSE_COMBOBOX
=yes
6972 DEFAULT_wxUSE_CHECKBOX
=yes
6973 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6974 DEFAULT_wxUSE_CHOICE
=yes
6975 DEFAULT_wxUSE_CHOICEBOOK
=yes
6976 DEFAULT_wxUSE_GAUGE
=yes
6977 DEFAULT_wxUSE_GRID
=yes
6978 DEFAULT_wxUSE_IMAGLIST
=yes
6979 DEFAULT_wxUSE_LISTBOOK
=yes
6980 DEFAULT_wxUSE_LISTBOX
=yes
6981 DEFAULT_wxUSE_LISTCTRL
=yes
6982 DEFAULT_wxUSE_NOTEBOOK
=yes
6983 DEFAULT_wxUSE_RADIOBOX
=yes
6984 DEFAULT_wxUSE_RADIOBTN
=yes
6985 DEFAULT_wxUSE_SASH
=yes
6986 DEFAULT_wxUSE_SCROLLBAR
=yes
6987 DEFAULT_wxUSE_SLIDER
=yes
6988 DEFAULT_wxUSE_SPINBTN
=yes
6989 DEFAULT_wxUSE_SPINCTRL
=yes
6990 DEFAULT_wxUSE_SPLITTER
=yes
6991 DEFAULT_wxUSE_STATBMP
=yes
6992 DEFAULT_wxUSE_STATBOX
=yes
6993 DEFAULT_wxUSE_STATLINE
=yes
6994 DEFAULT_wxUSE_STATUSBAR
=yes
6995 DEFAULT_wxUSE_TAB_DIALOG
=yes
6996 DEFAULT_wxUSE_TOGGLEBTN
=yes
6997 DEFAULT_wxUSE_TOOLBAR
=yes
6998 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6999 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7000 DEFAULT_wxUSE_TOOLTIPS
=yes
7001 DEFAULT_wxUSE_TREECTRL
=yes
7002 DEFAULT_wxUSE_POPUPWIN
=yes
7003 DEFAULT_wxUSE_TIPWINDOW
=yes
7004 elif test "$wxUSE_CONTROLS" = "no"; then
7005 DEFAULT_wxUSE_ACCEL
=no
7006 DEFAULT_wxUSE_BMPBUTTON
=no
7007 DEFAULT_wxUSE_BUTTON
=no
7008 DEFAULT_wxUSE_CALCTRL
=no
7009 DEFAULT_wxUSE_CARET
=no
7010 DEFAULT_wxUSE_COMBOBOX
=no
7011 DEFAULT_wxUSE_CHECKBOX
=no
7012 DEFAULT_wxUSE_CHECKLISTBOX
=no
7013 DEFAULT_wxUSE_CHOICE
=no
7014 DEFAULT_wxUSE_CHOICEBOOK
=no
7015 DEFAULT_wxUSE_GAUGE
=no
7016 DEFAULT_wxUSE_GRID
=no
7017 DEFAULT_wxUSE_IMAGLIST
=no
7018 DEFAULT_wxUSE_LISTBOOK
=no
7019 DEFAULT_wxUSE_LISTBOX
=no
7020 DEFAULT_wxUSE_LISTCTRL
=no
7021 DEFAULT_wxUSE_NOTEBOOK
=no
7022 DEFAULT_wxUSE_RADIOBOX
=no
7023 DEFAULT_wxUSE_RADIOBTN
=no
7024 DEFAULT_wxUSE_SASH
=no
7025 DEFAULT_wxUSE_SCROLLBAR
=no
7026 DEFAULT_wxUSE_SLIDER
=no
7027 DEFAULT_wxUSE_SPINBTN
=no
7028 DEFAULT_wxUSE_SPINCTRL
=no
7029 DEFAULT_wxUSE_SPLITTER
=no
7030 DEFAULT_wxUSE_STATBMP
=no
7031 DEFAULT_wxUSE_STATBOX
=no
7032 DEFAULT_wxUSE_STATLINE
=no
7033 DEFAULT_wxUSE_STATUSBAR
=no
7034 DEFAULT_wxUSE_TAB_DIALOG
=no
7035 DEFAULT_wxUSE_TOGGLEBTN
=no
7036 DEFAULT_wxUSE_TOOLBAR
=no
7037 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7038 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7039 DEFAULT_wxUSE_TOOLTIPS
=no
7040 DEFAULT_wxUSE_TREECTRL
=no
7041 DEFAULT_wxUSE_POPUPWIN
=no
7042 DEFAULT_wxUSE_TIPWINDOW
=no
7047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7048 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7050 # Check whether --enable-accel or --disable-accel was given.
7051 if test "${enable_accel+set}" = set; then
7052 enableval
="$enable_accel"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7057 ac_cv_use_accel
='wxUSE_ACCEL=no'
7062 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7073 eval "$ac_cv_use_accel"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_ACCEL" = yes; then
7079 echo "$as_me:$LINENO: result: yes" >&5
7080 echo "${ECHO_T}yes" >&6
7082 echo "$as_me:$LINENO: result: no" >&5
7083 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7091 # Check whether --enable-button or --disable-button was given.
7092 if test "${enable_button+set}" = set; then
7093 enableval
="$enable_button"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_button
='wxUSE_BUTTON=yes'
7098 ac_cv_use_button
='wxUSE_BUTTON=no'
7103 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7114 eval "$ac_cv_use_button"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_BUTTON" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7132 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7133 if test "${enable_bmpbutton+set}" = set; then
7134 enableval
="$enable_bmpbutton"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7139 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7144 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7155 eval "$ac_cv_use_bmpbutton"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_BMPBUTTON" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7173 # Check whether --enable-calendar or --disable-calendar was given.
7174 if test "${enable_calendar+set}" = set; then
7175 enableval
="$enable_calendar"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7180 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7185 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7196 eval "$ac_cv_use_calendar"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_CALCTRL" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7214 # Check whether --enable-caret or --disable-caret was given.
7215 if test "${enable_caret+set}" = set; then
7216 enableval
="$enable_caret"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_caret
='wxUSE_CARET=yes'
7221 ac_cv_use_caret
='wxUSE_CARET=no'
7226 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7237 eval "$ac_cv_use_caret"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_CARET" = yes; then
7243 echo "$as_me:$LINENO: result: yes" >&5
7244 echo "${ECHO_T}yes" >&6
7246 echo "$as_me:$LINENO: result: no" >&5
7247 echo "${ECHO_T}no" >&6
7252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7255 # Check whether --enable-checkbox or --disable-checkbox was given.
7256 if test "${enable_checkbox+set}" = set; then
7257 enableval
="$enable_checkbox"
7259 if test "$enableval" = yes; then
7260 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7262 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7267 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7268 if test "x$LINE" != x
; then
7269 eval "DEFAULT_$LINE"
7274 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7278 eval "$ac_cv_use_checkbox"
7279 if test "$no_cache" != 1; then
7280 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7283 if test "$wxUSE_CHECKBOX" = yes; then
7284 echo "$as_me:$LINENO: result: yes" >&5
7285 echo "${ECHO_T}yes" >&6
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7294 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7296 # Check whether --enable-checklst or --disable-checklst was given.
7297 if test "${enable_checklst+set}" = set; then
7298 enableval
="$enable_checklst"
7300 if test "$enableval" = yes; then
7301 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7303 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7308 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x
; then
7310 eval "DEFAULT_$LINE"
7315 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7319 eval "$ac_cv_use_checklst"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7324 if test "$wxUSE_CHECKLST" = yes; then
7325 echo "$as_me:$LINENO: result: yes" >&5
7326 echo "${ECHO_T}yes" >&6
7328 echo "$as_me:$LINENO: result: no" >&5
7329 echo "${ECHO_T}no" >&6
7334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7337 # Check whether --enable-choice or --disable-choice was given.
7338 if test "${enable_choice+set}" = set; then
7339 enableval
="$enable_choice"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7344 ac_cv_use_choice
='wxUSE_CHOICE=no'
7349 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7360 eval "$ac_cv_use_choice"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_CHOICE" = yes; then
7366 echo "$as_me:$LINENO: result: yes" >&5
7367 echo "${ECHO_T}yes" >&6
7369 echo "$as_me:$LINENO: result: no" >&5
7370 echo "${ECHO_T}no" >&6
7375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7376 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7378 # Check whether --enable-choicebook or --disable-choicebook was given.
7379 if test "${enable_choicebook+set}" = set; then
7380 enableval
="$enable_choicebook"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7385 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7390 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7401 eval "$ac_cv_use_choicebook"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7406 if test "$wxUSE_CHOICEBOOK" = yes; then
7407 echo "$as_me:$LINENO: result: yes" >&5
7408 echo "${ECHO_T}yes" >&6
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7417 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7419 # Check whether --enable-combobox or --disable-combobox was given.
7420 if test "${enable_combobox+set}" = set; then
7421 enableval
="$enable_combobox"
7423 if test "$enableval" = yes; then
7424 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7426 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7431 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x
; then
7433 eval "DEFAULT_$LINE"
7438 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7442 eval "$ac_cv_use_combobox"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_COMBOBOX" = yes; then
7448 echo "$as_me:$LINENO: result: yes" >&5
7449 echo "${ECHO_T}yes" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7460 # Check whether --enable-display or --disable-display was given.
7461 if test "${enable_display+set}" = set; then
7462 enableval
="$enable_display"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7467 ac_cv_use_display
='wxUSE_DISPLAY=no'
7472 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7483 eval "$ac_cv_use_display"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_DISPLAY" = yes; then
7489 echo "$as_me:$LINENO: result: yes" >&5
7490 echo "${ECHO_T}yes" >&6
7492 echo "$as_me:$LINENO: result: no" >&5
7493 echo "${ECHO_T}no" >&6
7498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7499 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7501 # Check whether --enable-gauge or --disable-gauge was given.
7502 if test "${enable_gauge+set}" = set; then
7503 enableval
="$enable_gauge"
7505 if test "$enableval" = yes; then
7506 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7508 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7513 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7514 if test "x$LINE" != x
; then
7515 eval "DEFAULT_$LINE"
7520 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7524 eval "$ac_cv_use_gauge"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7529 if test "$wxUSE_GAUGE" = yes; then
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7533 echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6
7539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7540 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7542 # Check whether --enable-grid or --disable-grid was given.
7543 if test "${enable_grid+set}" = set; then
7544 enableval
="$enable_grid"
7546 if test "$enableval" = yes; then
7547 ac_cv_use_grid
='wxUSE_GRID=yes'
7549 ac_cv_use_grid
='wxUSE_GRID=no'
7554 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x
; then
7556 eval "DEFAULT_$LINE"
7561 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7565 eval "$ac_cv_use_grid"
7566 if test "$no_cache" != 1; then
7567 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7570 if test "$wxUSE_GRID" = yes; then
7571 echo "$as_me:$LINENO: result: yes" >&5
7572 echo "${ECHO_T}yes" >&6
7574 echo "$as_me:$LINENO: result: no" >&5
7575 echo "${ECHO_T}no" >&6
7580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7581 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7583 # Check whether --enable-imaglist or --disable-imaglist was given.
7584 if test "${enable_imaglist+set}" = set; then
7585 enableval
="$enable_imaglist"
7587 if test "$enableval" = yes; then
7588 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7590 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7595 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x
; then
7597 eval "DEFAULT_$LINE"
7602 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7606 eval "$ac_cv_use_imaglist"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7611 if test "$wxUSE_IMAGLIST" = yes; then
7612 echo "$as_me:$LINENO: result: yes" >&5
7613 echo "${ECHO_T}yes" >&6
7615 echo "$as_me:$LINENO: result: no" >&5
7616 echo "${ECHO_T}no" >&6
7621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7624 # Check whether --enable-listbook or --disable-listbook was given.
7625 if test "${enable_listbook+set}" = set; then
7626 enableval
="$enable_listbook"
7628 if test "$enableval" = yes; then
7629 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7631 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7636 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7637 if test "x$LINE" != x
; then
7638 eval "DEFAULT_$LINE"
7643 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7647 eval "$ac_cv_use_listbook"
7648 if test "$no_cache" != 1; then
7649 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7652 if test "$wxUSE_LISTBOOK" = yes; then
7653 echo "$as_me:$LINENO: result: yes" >&5
7654 echo "${ECHO_T}yes" >&6
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7665 # Check whether --enable-listbox or --disable-listbox was given.
7666 if test "${enable_listbox+set}" = set; then
7667 enableval
="$enable_listbox"
7669 if test "$enableval" = yes; then
7670 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7672 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7677 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x
; then
7679 eval "DEFAULT_$LINE"
7684 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7688 eval "$ac_cv_use_listbox"
7689 if test "$no_cache" != 1; then
7690 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7693 if test "$wxUSE_LISTBOX" = yes; then
7694 echo "$as_me:$LINENO: result: yes" >&5
7695 echo "${ECHO_T}yes" >&6
7697 echo "$as_me:$LINENO: result: no" >&5
7698 echo "${ECHO_T}no" >&6
7703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7706 # Check whether --enable-listctrl or --disable-listctrl was given.
7707 if test "${enable_listctrl+set}" = set; then
7708 enableval
="$enable_listctrl"
7710 if test "$enableval" = yes; then
7711 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7713 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7718 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7719 if test "x$LINE" != x
; then
7720 eval "DEFAULT_$LINE"
7725 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7729 eval "$ac_cv_use_listctrl"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_LISTCTRL" = yes; then
7735 echo "$as_me:$LINENO: result: yes" >&5
7736 echo "${ECHO_T}yes" >&6
7738 echo "$as_me:$LINENO: result: no" >&5
7739 echo "${ECHO_T}no" >&6
7744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7745 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7747 # Check whether --enable-notebook or --disable-notebook was given.
7748 if test "${enable_notebook+set}" = set; then
7749 enableval
="$enable_notebook"
7751 if test "$enableval" = yes; then
7752 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7754 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7759 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x
; then
7761 eval "DEFAULT_$LINE"
7766 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7770 eval "$ac_cv_use_notebook"
7771 if test "$no_cache" != 1; then
7772 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7775 if test "$wxUSE_NOTEBOOK" = yes; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7779 echo "$as_me:$LINENO: result: no" >&5
7780 echo "${ECHO_T}no" >&6
7785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7786 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7788 # Check whether --enable-radiobox or --disable-radiobox was given.
7789 if test "${enable_radiobox+set}" = set; then
7790 enableval
="$enable_radiobox"
7792 if test "$enableval" = yes; then
7793 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7795 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7800 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x
; then
7802 eval "DEFAULT_$LINE"
7807 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7811 eval "$ac_cv_use_radiobox"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7816 if test "$wxUSE_RADIOBOX" = yes; then
7817 echo "$as_me:$LINENO: result: yes" >&5
7818 echo "${ECHO_T}yes" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7829 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7830 if test "${enable_radiobtn+set}" = set; then
7831 enableval
="$enable_radiobtn"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7836 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7841 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7852 eval "$ac_cv_use_radiobtn"
7853 if test "$no_cache" != 1; then
7854 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7857 if test "$wxUSE_RADIOBTN" = yes; then
7858 echo "$as_me:$LINENO: result: yes" >&5
7859 echo "${ECHO_T}yes" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7868 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7870 # Check whether --enable-sash or --disable-sash was given.
7871 if test "${enable_sash+set}" = set; then
7872 enableval
="$enable_sash"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_sash
='wxUSE_SASH=yes'
7877 ac_cv_use_sash
='wxUSE_SASH=no'
7882 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7893 eval "$ac_cv_use_sash"
7894 if test "$no_cache" != 1; then
7895 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7898 if test "$wxUSE_SASH" = yes; then
7899 echo "$as_me:$LINENO: result: yes" >&5
7900 echo "${ECHO_T}yes" >&6
7902 echo "$as_me:$LINENO: result: no" >&5
7903 echo "${ECHO_T}no" >&6
7908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7909 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7911 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7912 if test "${enable_scrollbar+set}" = set; then
7913 enableval
="$enable_scrollbar"
7915 if test "$enableval" = yes; then
7916 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7918 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7923 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x
; then
7925 eval "DEFAULT_$LINE"
7930 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7934 eval "$ac_cv_use_scrollbar"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_SCROLLBAR" = yes; then
7940 echo "$as_me:$LINENO: result: yes" >&5
7941 echo "${ECHO_T}yes" >&6
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7950 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7952 # Check whether --enable-slider or --disable-slider was given.
7953 if test "${enable_slider+set}" = set; then
7954 enableval
="$enable_slider"
7956 if test "$enableval" = yes; then
7957 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7959 ac_cv_use_slider
='wxUSE_SLIDER=no'
7964 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x
; then
7966 eval "DEFAULT_$LINE"
7971 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7975 eval "$ac_cv_use_slider"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_SLIDER" = yes; then
7981 echo "$as_me:$LINENO: result: yes" >&5
7982 echo "${ECHO_T}yes" >&6
7984 echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6
7990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7993 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7994 if test "${enable_spinbtn+set}" = set; then
7995 enableval
="$enable_spinbtn"
7997 if test "$enableval" = yes; then
7998 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8000 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8005 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8006 if test "x$LINE" != x
; then
8007 eval "DEFAULT_$LINE"
8012 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8016 eval "$ac_cv_use_spinbtn"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8021 if test "$wxUSE_SPINBTN" = yes; then
8022 echo "$as_me:$LINENO: result: yes" >&5
8023 echo "${ECHO_T}yes" >&6
8025 echo "$as_me:$LINENO: result: no" >&5
8026 echo "${ECHO_T}no" >&6
8031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8032 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8034 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8035 if test "${enable_spinctrl+set}" = set; then
8036 enableval
="$enable_spinctrl"
8038 if test "$enableval" = yes; then
8039 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8041 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8046 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8047 if test "x$LINE" != x
; then
8048 eval "DEFAULT_$LINE"
8053 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8057 eval "$ac_cv_use_spinctrl"
8058 if test "$no_cache" != 1; then
8059 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8062 if test "$wxUSE_SPINCTRL" = yes; then
8063 echo "$as_me:$LINENO: result: yes" >&5
8064 echo "${ECHO_T}yes" >&6
8066 echo "$as_me:$LINENO: result: no" >&5
8067 echo "${ECHO_T}no" >&6
8072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8073 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8075 # Check whether --enable-splitter or --disable-splitter was given.
8076 if test "${enable_splitter+set}" = set; then
8077 enableval
="$enable_splitter"
8079 if test "$enableval" = yes; then
8080 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8082 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8087 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8088 if test "x$LINE" != x
; then
8089 eval "DEFAULT_$LINE"
8094 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8098 eval "$ac_cv_use_splitter"
8099 if test "$no_cache" != 1; then
8100 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8103 if test "$wxUSE_SPLITTER" = yes; then
8104 echo "$as_me:$LINENO: result: yes" >&5
8105 echo "${ECHO_T}yes" >&6
8107 echo "$as_me:$LINENO: result: no" >&5
8108 echo "${ECHO_T}no" >&6
8113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8116 # Check whether --enable-statbmp or --disable-statbmp was given.
8117 if test "${enable_statbmp+set}" = set; then
8118 enableval
="$enable_statbmp"
8120 if test "$enableval" = yes; then
8121 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8123 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8128 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8129 if test "x$LINE" != x
; then
8130 eval "DEFAULT_$LINE"
8135 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8139 eval "$ac_cv_use_statbmp"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8144 if test "$wxUSE_STATBMP" = yes; then
8145 echo "$as_me:$LINENO: result: yes" >&5
8146 echo "${ECHO_T}yes" >&6
8148 echo "$as_me:$LINENO: result: no" >&5
8149 echo "${ECHO_T}no" >&6
8154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8155 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8157 # Check whether --enable-statbox or --disable-statbox was given.
8158 if test "${enable_statbox+set}" = set; then
8159 enableval
="$enable_statbox"
8161 if test "$enableval" = yes; then
8162 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8164 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8169 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8170 if test "x$LINE" != x
; then
8171 eval "DEFAULT_$LINE"
8176 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8180 eval "$ac_cv_use_statbox"
8181 if test "$no_cache" != 1; then
8182 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8185 if test "$wxUSE_STATBOX" = yes; then
8186 echo "$as_me:$LINENO: result: yes" >&5
8187 echo "${ECHO_T}yes" >&6
8189 echo "$as_me:$LINENO: result: no" >&5
8190 echo "${ECHO_T}no" >&6
8195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8196 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8198 # Check whether --enable-statline or --disable-statline was given.
8199 if test "${enable_statline+set}" = set; then
8200 enableval
="$enable_statline"
8202 if test "$enableval" = yes; then
8203 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8205 ac_cv_use_statline
='wxUSE_STATLINE=no'
8210 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8211 if test "x$LINE" != x
; then
8212 eval "DEFAULT_$LINE"
8217 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8221 eval "$ac_cv_use_statline"
8222 if test "$no_cache" != 1; then
8223 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8226 if test "$wxUSE_STATLINE" = yes; then
8227 echo "$as_me:$LINENO: result: yes" >&5
8228 echo "${ECHO_T}yes" >&6
8230 echo "$as_me:$LINENO: result: no" >&5
8231 echo "${ECHO_T}no" >&6
8236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8239 # Check whether --enable-stattext or --disable-stattext was given.
8240 if test "${enable_stattext+set}" = set; then
8241 enableval
="$enable_stattext"
8243 if test "$enableval" = yes; then
8244 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8246 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8251 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8252 if test "x$LINE" != x
; then
8253 eval "DEFAULT_$LINE"
8258 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8262 eval "$ac_cv_use_stattext"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_STATTEXT" = yes; then
8268 echo "$as_me:$LINENO: result: yes" >&5
8269 echo "${ECHO_T}yes" >&6
8271 echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6
8277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8278 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8280 # Check whether --enable-statusbar or --disable-statusbar was given.
8281 if test "${enable_statusbar+set}" = set; then
8282 enableval
="$enable_statusbar"
8284 if test "$enableval" = yes; then
8285 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8287 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8292 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x
; then
8294 eval "DEFAULT_$LINE"
8299 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8303 eval "$ac_cv_use_statusbar"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8308 if test "$wxUSE_STATUSBAR" = yes; then
8309 echo "$as_me:$LINENO: result: yes" >&5
8310 echo "${ECHO_T}yes" >&6
8312 echo "$as_me:$LINENO: result: no" >&5
8313 echo "${ECHO_T}no" >&6
8318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8321 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8322 if test "${enable_tabdialog+set}" = set; then
8323 enableval
="$enable_tabdialog"
8325 if test "$enableval" = yes; then
8326 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8328 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8333 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x
; then
8335 eval "DEFAULT_$LINE"
8340 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8344 eval "$ac_cv_use_tabdialog"
8345 if test "$no_cache" != 1; then
8346 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8349 if test "$wxUSE_TABDIALOG" = yes; then
8350 echo "$as_me:$LINENO: result: yes" >&5
8351 echo "${ECHO_T}yes" >&6
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8362 # Check whether --enable-textctrl or --disable-textctrl was given.
8363 if test "${enable_textctrl+set}" = set; then
8364 enableval
="$enable_textctrl"
8366 if test "$enableval" = yes; then
8367 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8369 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8374 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x
; then
8376 eval "DEFAULT_$LINE"
8381 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8385 eval "$ac_cv_use_textctrl"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8390 if test "$wxUSE_TEXTCTRL" = yes; then
8391 echo "$as_me:$LINENO: result: yes" >&5
8392 echo "${ECHO_T}yes" >&6
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8403 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8404 if test "${enable_togglebtn+set}" = set; then
8405 enableval
="$enable_togglebtn"
8407 if test "$enableval" = yes; then
8408 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8410 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8415 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8416 if test "x$LINE" != x
; then
8417 eval "DEFAULT_$LINE"
8422 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8426 eval "$ac_cv_use_togglebtn"
8427 if test "$no_cache" != 1; then
8428 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8431 if test "$wxUSE_TOGGLEBTN" = yes; then
8432 echo "$as_me:$LINENO: result: yes" >&5
8433 echo "${ECHO_T}yes" >&6
8435 echo "$as_me:$LINENO: result: no" >&5
8436 echo "${ECHO_T}no" >&6
8441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8442 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8444 # Check whether --enable-toolbar or --disable-toolbar was given.
8445 if test "${enable_toolbar+set}" = set; then
8446 enableval
="$enable_toolbar"
8448 if test "$enableval" = yes; then
8449 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8451 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8456 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8457 if test "x$LINE" != x
; then
8458 eval "DEFAULT_$LINE"
8463 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8467 eval "$ac_cv_use_toolbar"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8472 if test "$wxUSE_TOOLBAR" = yes; then
8473 echo "$as_me:$LINENO: result: yes" >&5
8474 echo "${ECHO_T}yes" >&6
8476 echo "$as_me:$LINENO: result: no" >&5
8477 echo "${ECHO_T}no" >&6
8482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8485 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8486 if test "${enable_tbarnative+set}" = set; then
8487 enableval
="$enable_tbarnative"
8489 if test "$enableval" = yes; then
8490 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8492 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8497 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x
; then
8499 eval "DEFAULT_$LINE"
8504 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8508 eval "$ac_cv_use_tbarnative"
8509 if test "$no_cache" != 1; then
8510 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8513 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8514 echo "$as_me:$LINENO: result: yes" >&5
8515 echo "${ECHO_T}yes" >&6
8517 echo "$as_me:$LINENO: result: no" >&5
8518 echo "${ECHO_T}no" >&6
8523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8526 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8527 if test "${enable_tbarsmpl+set}" = set; then
8528 enableval
="$enable_tbarsmpl"
8530 if test "$enableval" = yes; then
8531 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8533 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8538 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8539 if test "x$LINE" != x
; then
8540 eval "DEFAULT_$LINE"
8545 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8549 eval "$ac_cv_use_tbarsmpl"
8550 if test "$no_cache" != 1; then
8551 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8554 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8555 echo "$as_me:$LINENO: result: yes" >&5
8556 echo "${ECHO_T}yes" >&6
8558 echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6
8564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8567 # Check whether --enable-treectrl or --disable-treectrl was given.
8568 if test "${enable_treectrl+set}" = set; then
8569 enableval
="$enable_treectrl"
8571 if test "$enableval" = yes; then
8572 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8574 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8579 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x
; then
8581 eval "DEFAULT_$LINE"
8586 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8590 eval "$ac_cv_use_treectrl"
8591 if test "$no_cache" != 1; then
8592 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8595 if test "$wxUSE_TREECTRL" = yes; then
8596 echo "$as_me:$LINENO: result: yes" >&5
8597 echo "${ECHO_T}yes" >&6
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8606 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8608 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8609 if test "${enable_tipwindow+set}" = set; then
8610 enableval
="$enable_tipwindow"
8612 if test "$enableval" = yes; then
8613 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8615 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8620 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8621 if test "x$LINE" != x
; then
8622 eval "DEFAULT_$LINE"
8627 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8631 eval "$ac_cv_use_tipwindow"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8636 if test "$wxUSE_TIPWINDOW" = yes; then
8637 echo "$as_me:$LINENO: result: yes" >&5
8638 echo "${ECHO_T}yes" >&6
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8649 # Check whether --enable-popupwin or --disable-popupwin was given.
8650 if test "${enable_popupwin+set}" = set; then
8651 enableval
="$enable_popupwin"
8653 if test "$enableval" = yes; then
8654 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8656 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8661 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x
; then
8663 eval "DEFAULT_$LINE"
8668 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8672 eval "$ac_cv_use_popupwin"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8677 if test "$wxUSE_POPUPWIN" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8692 # Check whether --enable-commondlg or --disable-commondlg was given.
8693 if test "${enable_commondlg+set}" = set; then
8694 enableval
="$enable_commondlg"
8696 if test "$enableval" = yes; then
8697 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8699 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8704 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x
; then
8706 eval "DEFAULT_$LINE"
8711 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8715 eval "$ac_cv_use_commondlg"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8720 if test "$wxUSE_COMMONDLGS" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8733 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8734 if test "${enable_choicedlg+set}" = set; then
8735 enableval
="$enable_choicedlg"
8737 if test "$enableval" = yes; then
8738 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8740 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8745 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x
; then
8747 eval "DEFAULT_$LINE"
8752 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8756 eval "$ac_cv_use_choicedlg"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8761 if test "$wxUSE_CHOICEDLG" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8774 # Check whether --enable-coldlg or --disable-coldlg was given.
8775 if test "${enable_coldlg+set}" = set; then
8776 enableval
="$enable_coldlg"
8778 if test "$enableval" = yes; then
8779 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8781 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8786 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x
; then
8788 eval "DEFAULT_$LINE"
8793 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8797 eval "$ac_cv_use_coldlg"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8802 if test "$wxUSE_COLOURDLG" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8815 # Check whether --enable-filedlg or --disable-filedlg was given.
8816 if test "${enable_filedlg+set}" = set; then
8817 enableval
="$enable_filedlg"
8819 if test "$enableval" = yes; then
8820 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8822 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8827 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x
; then
8829 eval "DEFAULT_$LINE"
8834 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8838 eval "$ac_cv_use_filedlg"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8843 if test "$wxUSE_FILEDLG" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8856 # Check whether --enable-finddlg or --disable-finddlg was given.
8857 if test "${enable_finddlg+set}" = set; then
8858 enableval
="$enable_finddlg"
8860 if test "$enableval" = yes; then
8861 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8863 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8868 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x
; then
8870 eval "DEFAULT_$LINE"
8875 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8879 eval "$ac_cv_use_finddlg"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8884 if test "$wxUSE_FINDREPLDLG" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8897 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8898 if test "${enable_fontdlg+set}" = set; then
8899 enableval
="$enable_fontdlg"
8901 if test "$enableval" = yes; then
8902 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8904 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8909 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x
; then
8911 eval "DEFAULT_$LINE"
8916 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8920 eval "$ac_cv_use_fontdlg"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8925 if test "$wxUSE_FONTDLG" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8938 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8939 if test "${enable_dirdlg+set}" = set; then
8940 enableval
="$enable_dirdlg"
8942 if test "$enableval" = yes; then
8943 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8945 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8950 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x
; then
8952 eval "DEFAULT_$LINE"
8957 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8961 eval "$ac_cv_use_dirdlg"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8966 if test "$wxUSE_DIRDLG" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8979 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8980 if test "${enable_msgdlg+set}" = set; then
8981 enableval
="$enable_msgdlg"
8983 if test "$enableval" = yes; then
8984 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8986 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8991 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x
; then
8993 eval "DEFAULT_$LINE"
8998 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9002 eval "$ac_cv_use_msgdlg"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9007 if test "$wxUSE_MSGDLG" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9020 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9021 if test "${enable_numberdlg+set}" = set; then
9022 enableval
="$enable_numberdlg"
9024 if test "$enableval" = yes; then
9025 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9027 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9032 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x
; then
9034 eval "DEFAULT_$LINE"
9039 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9043 eval "$ac_cv_use_numberdlg"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9048 if test "$wxUSE_NUMBERDLG" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9061 # Check whether --enable-splash or --disable-splash was given.
9062 if test "${enable_splash+set}" = set; then
9063 enableval
="$enable_splash"
9065 if test "$enableval" = yes; then
9066 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9068 ac_cv_use_splash
='wxUSE_SPLASH=no'
9073 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x
; then
9075 eval "DEFAULT_$LINE"
9080 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9084 eval "$ac_cv_use_splash"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9089 if test "$wxUSE_SPLASH" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9102 # Check whether --enable-textdlg or --disable-textdlg was given.
9103 if test "${enable_textdlg+set}" = set; then
9104 enableval
="$enable_textdlg"
9106 if test "$enableval" = yes; then
9107 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9109 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9114 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x
; then
9116 eval "DEFAULT_$LINE"
9121 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9125 eval "$ac_cv_use_textdlg"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9130 if test "$wxUSE_TEXTDLG" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9143 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9144 if test "${enable_tipdlg+set}" = set; then
9145 enableval
="$enable_tipdlg"
9147 if test "$enableval" = yes; then
9148 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9150 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9155 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x
; then
9157 eval "DEFAULT_$LINE"
9162 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9166 eval "$ac_cv_use_tipdlg"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9171 if test "$wxUSE_STARTUP_TIPS" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9184 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9185 if test "${enable_progressdlg+set}" = set; then
9186 enableval
="$enable_progressdlg"
9188 if test "$enableval" = yes; then
9189 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9191 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9196 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x
; then
9198 eval "DEFAULT_$LINE"
9203 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9207 eval "$ac_cv_use_progressdlg"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9212 if test "$wxUSE_PROGRESSDLG" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9225 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9226 if test "${enable_wizarddlg+set}" = set; then
9227 enableval
="$enable_wizarddlg"
9229 if test "$enableval" = yes; then
9230 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9232 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9237 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x
; then
9239 eval "DEFAULT_$LINE"
9244 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9248 eval "$ac_cv_use_wizarddlg"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9253 if test "$wxUSE_WIZARDDLG" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9268 # Check whether --enable-menus or --disable-menus was given.
9269 if test "${enable_menus+set}" = set; then
9270 enableval
="$enable_menus"
9272 if test "$enableval" = yes; then
9273 ac_cv_use_menus
='wxUSE_MENUS=yes'
9275 ac_cv_use_menus
='wxUSE_MENUS=no'
9280 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x
; then
9282 eval "DEFAULT_$LINE"
9287 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9291 eval "$ac_cv_use_menus"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9296 if test "$wxUSE_MENUS" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9309 # Check whether --enable-miniframe or --disable-miniframe was given.
9310 if test "${enable_miniframe+set}" = set; then
9311 enableval
="$enable_miniframe"
9313 if test "$enableval" = yes; then
9314 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9316 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9321 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x
; then
9323 eval "DEFAULT_$LINE"
9328 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9332 eval "$ac_cv_use_miniframe"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9337 if test "$wxUSE_MINIFRAME" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9350 # Check whether --enable-tooltips or --disable-tooltips was given.
9351 if test "${enable_tooltips+set}" = set; then
9352 enableval
="$enable_tooltips"
9354 if test "$enableval" = yes; then
9355 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9357 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9362 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x
; then
9364 eval "DEFAULT_$LINE"
9369 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9373 eval "$ac_cv_use_tooltips"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9378 if test "$wxUSE_TOOLTIPS" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9391 # Check whether --enable-splines or --disable-splines was given.
9392 if test "${enable_splines+set}" = set; then
9393 enableval
="$enable_splines"
9395 if test "$enableval" = yes; then
9396 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9398 ac_cv_use_splines
='wxUSE_SPLINES=no'
9403 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x
; then
9405 eval "DEFAULT_$LINE"
9410 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9414 eval "$ac_cv_use_splines"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9419 if test "$wxUSE_SPLINES" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9432 # Check whether --enable-validators or --disable-validators was given.
9433 if test "${enable_validators+set}" = set; then
9434 enableval
="$enable_validators"
9436 if test "$enableval" = yes; then
9437 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9439 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9444 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x
; then
9446 eval "DEFAULT_$LINE"
9451 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9455 eval "$ac_cv_use_validators"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9460 if test "$wxUSE_VALIDATORS" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9473 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9474 if test "${enable_busyinfo+set}" = set; then
9475 enableval
="$enable_busyinfo"
9477 if test "$enableval" = yes; then
9478 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9480 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9485 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x
; then
9487 eval "DEFAULT_$LINE"
9492 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9496 eval "$ac_cv_use_busyinfo"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9501 if test "$wxUSE_BUSYINFO" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9514 # Check whether --enable-joystick or --disable-joystick was given.
9515 if test "${enable_joystick+set}" = set; then
9516 enableval
="$enable_joystick"
9518 if test "$enableval" = yes; then
9519 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9521 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9526 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x
; then
9528 eval "DEFAULT_$LINE"
9533 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9537 eval "$ac_cv_use_joystick"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9542 if test "$wxUSE_JOYSTICK" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9555 # Check whether --enable-metafile or --disable-metafile was given.
9556 if test "${enable_metafile+set}" = set; then
9557 enableval
="$enable_metafile"
9559 if test "$enableval" = yes; then
9560 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9562 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9567 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x
; then
9569 eval "DEFAULT_$LINE"
9574 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9578 eval "$ac_cv_use_metafile"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9583 if test "$wxUSE_METAFILE" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9596 # Check whether --enable-dragimage or --disable-dragimage was given.
9597 if test "${enable_dragimage+set}" = set; then
9598 enableval
="$enable_dragimage"
9600 if test "$enableval" = yes; then
9601 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9603 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9608 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x
; then
9610 eval "DEFAULT_$LINE"
9615 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9619 eval "$ac_cv_use_dragimage"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9624 if test "$wxUSE_DRAGIMAGE" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9637 # Check whether --enable-accessibility or --disable-accessibility was given.
9638 if test "${enable_accessibility+set}" = set; then
9639 enableval
="$enable_accessibility"
9641 if test "$enableval" = yes; then
9642 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9644 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9649 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x
; then
9651 eval "DEFAULT_$LINE"
9656 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9660 eval "$ac_cv_use_accessibility"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9665 if test "$wxUSE_ACCESSIBILITY" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9680 # Check whether --enable-palette or --disable-palette was given.
9681 if test "${enable_palette+set}" = set; then
9682 enableval
="$enable_palette"
9684 if test "$enableval" = yes; then
9685 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9687 ac_cv_use_palette
='wxUSE_PALETTE=no'
9692 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9693 if test "x$LINE" != x
; then
9694 eval "DEFAULT_$LINE"
9699 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9703 eval "$ac_cv_use_palette"
9704 if test "$no_cache" != 1; then
9705 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9708 if test "$wxUSE_PALETTE" = yes; then
9709 echo "$as_me:$LINENO: result: yes" >&5
9710 echo "${ECHO_T}yes" >&6
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9721 # Check whether --enable-image or --disable-image was given.
9722 if test "${enable_image+set}" = set; then
9723 enableval
="$enable_image"
9725 if test "$enableval" = yes; then
9726 ac_cv_use_image
='wxUSE_IMAGE=yes'
9728 ac_cv_use_image
='wxUSE_IMAGE=no'
9733 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9734 if test "x$LINE" != x
; then
9735 eval "DEFAULT_$LINE"
9740 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9744 eval "$ac_cv_use_image"
9745 if test "$no_cache" != 1; then
9746 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9749 if test "$wxUSE_IMAGE" = yes; then
9750 echo "$as_me:$LINENO: result: yes" >&5
9751 echo "${ECHO_T}yes" >&6
9753 echo "$as_me:$LINENO: result: no" >&5
9754 echo "${ECHO_T}no" >&6
9759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9762 # Check whether --enable-gif or --disable-gif was given.
9763 if test "${enable_gif+set}" = set; then
9764 enableval
="$enable_gif"
9766 if test "$enableval" = yes; then
9767 ac_cv_use_gif
='wxUSE_GIF=yes'
9769 ac_cv_use_gif
='wxUSE_GIF=no'
9774 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9775 if test "x$LINE" != x
; then
9776 eval "DEFAULT_$LINE"
9781 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9785 eval "$ac_cv_use_gif"
9786 if test "$no_cache" != 1; then
9787 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9790 if test "$wxUSE_GIF" = yes; then
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9794 echo "$as_me:$LINENO: result: no" >&5
9795 echo "${ECHO_T}no" >&6
9800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9803 # Check whether --enable-pcx or --disable-pcx was given.
9804 if test "${enable_pcx+set}" = set; then
9805 enableval
="$enable_pcx"
9807 if test "$enableval" = yes; then
9808 ac_cv_use_pcx
='wxUSE_PCX=yes'
9810 ac_cv_use_pcx
='wxUSE_PCX=no'
9815 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9816 if test "x$LINE" != x
; then
9817 eval "DEFAULT_$LINE"
9822 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9826 eval "$ac_cv_use_pcx"
9827 if test "$no_cache" != 1; then
9828 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9831 if test "$wxUSE_PCX" = yes; then
9832 echo "$as_me:$LINENO: result: yes" >&5
9833 echo "${ECHO_T}yes" >&6
9835 echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6
9841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9844 # Check whether --enable-iff or --disable-iff was given.
9845 if test "${enable_iff+set}" = set; then
9846 enableval
="$enable_iff"
9848 if test "$enableval" = yes; then
9849 ac_cv_use_iff
='wxUSE_IFF=yes'
9851 ac_cv_use_iff
='wxUSE_IFF=no'
9856 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9857 if test "x$LINE" != x
; then
9858 eval "DEFAULT_$LINE"
9863 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9867 eval "$ac_cv_use_iff"
9868 if test "$no_cache" != 1; then
9869 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9872 if test "$wxUSE_IFF" = yes; then
9873 echo "$as_me:$LINENO: result: yes" >&5
9874 echo "${ECHO_T}yes" >&6
9876 echo "$as_me:$LINENO: result: no" >&5
9877 echo "${ECHO_T}no" >&6
9882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9883 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9885 # Check whether --enable-pnm or --disable-pnm was given.
9886 if test "${enable_pnm+set}" = set; then
9887 enableval
="$enable_pnm"
9889 if test "$enableval" = yes; then
9890 ac_cv_use_pnm
='wxUSE_PNM=yes'
9892 ac_cv_use_pnm
='wxUSE_PNM=no'
9897 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9898 if test "x$LINE" != x
; then
9899 eval "DEFAULT_$LINE"
9904 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9908 eval "$ac_cv_use_pnm"
9909 if test "$no_cache" != 1; then
9910 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9913 if test "$wxUSE_PNM" = yes; then
9914 echo "$as_me:$LINENO: result: yes" >&5
9915 echo "${ECHO_T}yes" >&6
9917 echo "$as_me:$LINENO: result: no" >&5
9918 echo "${ECHO_T}no" >&6
9923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9924 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9926 # Check whether --enable-xpm or --disable-xpm was given.
9927 if test "${enable_xpm+set}" = set; then
9928 enableval
="$enable_xpm"
9930 if test "$enableval" = yes; then
9931 ac_cv_use_xpm
='wxUSE_XPM=yes'
9933 ac_cv_use_xpm
='wxUSE_XPM=no'
9938 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9939 if test "x$LINE" != x
; then
9940 eval "DEFAULT_$LINE"
9945 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9949 eval "$ac_cv_use_xpm"
9950 if test "$no_cache" != 1; then
9951 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9954 if test "$wxUSE_XPM" = yes; then
9955 echo "$as_me:$LINENO: result: yes" >&5
9956 echo "${ECHO_T}yes" >&6
9958 echo "$as_me:$LINENO: result: no" >&5
9959 echo "${ECHO_T}no" >&6
9964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9967 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9968 if test "${enable_ico_cur+set}" = set; then
9969 enableval
="$enable_ico_cur"
9971 if test "$enableval" = yes; then
9972 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9974 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9979 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9980 if test "x$LINE" != x
; then
9981 eval "DEFAULT_$LINE"
9986 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9990 eval "$ac_cv_use_ico_cur"
9991 if test "$no_cache" != 1; then
9992 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9995 if test "$wxUSE_ICO_CUR" = yes; then
9996 echo "$as_me:$LINENO: result: yes" >&5
9997 echo "${ECHO_T}yes" >&6
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10008 # Check whether --with-flavour or --without-flavour was given.
10009 if test "${with_flavour+set}" = set; then
10010 withval
="$with_flavour"
10011 WX_FLAVOUR
="$withval"
10017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10020 # Check whether --enable-official_build or --disable-official_build was given.
10021 if test "${enable_official_build+set}" = set; then
10022 enableval
="$enable_official_build"
10024 if test "$enableval" = yes; then
10025 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10027 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10032 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10033 if test "x$LINE" != x
; then
10034 eval "DEFAULT_$LINE"
10039 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10043 eval "$ac_cv_use_official_build"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10048 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10049 echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6
10052 echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6
10056 # Check whether --enable-vendor or --disable-vendor was given.
10057 if test "${enable_vendor+set}" = set; then
10058 enableval
="$enable_vendor"
10059 VENDOR
="$enableval"
10061 if test "x$VENDOR" = "x"; then
10068 echo "saving argument cache $wx_arg_cache_file"
10069 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10073 echo "$as_me:$LINENO: checking for toolkit" >&5
10074 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10076 # In Wine, we need to default to MSW, not GTK or MOTIF
10077 if test "$wxUSE_WINE" = "yes"; then
10078 DEFAULT_DEFAULT_wxUSE_GTK
=0
10079 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10080 DEFAULT_DEFAULT_wxUSE_MSW
=1
10084 if test "$wxUSE_GUI" = "yes"; then
10086 if test "$USE_BEOS" = 1; then
10087 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10088 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10089 { (exit 1); exit 1; }; }
10092 if test "$TOOLKIT_GIVEN" = 1; then
10093 for toolkit
in `echo $ALL_TOOLKITS`; do
10095 eval "value=\$${var}"
10096 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10099 for toolkit
in `echo $ALL_TOOLKITS`; do
10100 if test "$has_toolkit_in_cache" != 1; then
10101 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10103 var
=DEFAULT_wxUSE_
$toolkit
10105 eval "wxUSE_$toolkit=\$${var}"
10109 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10110 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10111 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10114 *-pc-os2_emx | *-pc-os2-emx )
10115 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10118 case "$NUM_TOOLKITS" in
10122 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10123 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10124 { (exit 1); exit 1; }; }
10127 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10128 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10129 { (exit 1); exit 1; }; }
10132 for toolkit
in `echo $ALL_TOOLKITS`; do
10134 eval "value=\$${var}"
10135 if test "x$value" != x
; then
10136 cache_var
=CACHE_
$toolkit
10137 eval "cache=\$${cache_var}"
10138 if test "$cache" = 1; then
10139 echo "$var=$value" >> ${wx_arg_cache_file}
10141 if test "$value" = 1; then
10142 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10143 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10144 echo "${ECHO_T}$toolkit_echo" >&6
10149 if test "x$host_alias" != "x"; then
10150 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10151 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10153 echo "$as_me:$LINENO: result: base only" >&5
10154 echo "${ECHO_T}base only" >&6
10159 doesnt_want_win32
=0
10162 if test "$wxUSE_MSW" = 1 ; then
10165 doesnt_want_win32
=1
10173 if test "$wxUSE_WINE" = "yes"; then
10178 LDFLAGS_GUI
="-mwindows"
10181 if test "$wants_win32" = 1 ; then
10184 cat >>confdefs.h
<<\_ACEOF
10185 #define __WIN32__ 1
10188 cat >>confdefs.h
<<\_ACEOF
10189 #define __WIN95__ 1
10192 cat >>confdefs.h
<<\_ACEOF
10193 #define __WINDOWS__ 1
10196 cat >>confdefs.h
<<\_ACEOF
10197 #define __GNUWIN32__ 1
10200 cat >>confdefs.h
<<\_ACEOF
10204 cat >>confdefs.h
<<\_ACEOF
10205 #define WINVER 0x0400
10209 if test "$doesnt_want_win32" = 1 ; then
10214 if test "$USE_UNIX" = 1 ; then
10216 cat >>confdefs.h
<<\_ACEOF
10223 cat >confcache
<<\_ACEOF
10224 # This file is a shell script that caches the results of configure
10225 # tests run on this system so they can be shared between configure
10226 # scripts and configure runs, see configure's option --config-cache.
10227 # It is not useful on other systems. If it contains results you don't
10228 # want to keep, you may remove or edit it.
10230 # config.status only pays attention to the cache file if you give it
10231 # the --recheck option to rerun configure.
10233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10235 # following values.
10239 # The following way of writing the cache mishandles newlines in values,
10240 # but we know of no workaround that is simple, portable, and efficient.
10241 # So, don't put newlines in cache variables' values.
10242 # Ultrix sh set writes to stderr and can't be redirected directly,
10243 # and sets the high bit in the cache file unless we assign to the vars.
10246 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10248 # `set' does not quote correctly, so add quotes (double-quote
10249 # substitution turns \\\\ into \\, and sed turns \\ into \).
10252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10255 # `set' quotes correctly as required by POSIX, so do not add quotes.
10257 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10266 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10268 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10269 if test -w $cache_file; then
10270 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10271 cat confcache
>$cache_file
10273 echo "not updating unwritable cache $cache_file"
10278 if test "$build" != "$host" ; then
10279 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10281 CXX
=$host_alias-c++
10283 RANLIB
=$host_alias-ranlib
10284 DLLTOOL
=$host_alias-dlltool
10285 RESCOMP
=$host_alias-windres
10286 STRIP
=$host_alias-strip
10288 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10289 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10290 { (exit 1); exit 1; }; }
10296 ac_cpp
='$CPP $CPPFLAGS'
10297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10300 if test -n "$ac_tool_prefix"; then
10301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10302 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10303 echo "$as_me:$LINENO: checking for $ac_word" >&5
10304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10305 if test "${ac_cv_prog_CC+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 if test -n "$CC"; then
10309 ac_cv_prog_CC
="$CC" # Let the user override the test.
10311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10312 for as_dir
in $PATH
10315 test -z "$as_dir" && as_dir
=.
10316 for ac_exec_ext
in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10328 if test -n "$CC"; then
10329 echo "$as_me:$LINENO: result: $CC" >&5
10330 echo "${ECHO_T}$CC" >&6
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10337 if test -z "$ac_cv_prog_CC"; then
10339 # Extract the first word of "gcc", so it can be a program name with args.
10340 set dummy gcc
; ac_word
=$2
10341 echo "$as_me:$LINENO: checking for $ac_word" >&5
10342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10344 echo $ECHO_N "(cached) $ECHO_C" >&6
10346 if test -n "$ac_ct_CC"; then
10347 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10350 for as_dir
in $PATH
10353 test -z "$as_dir" && as_dir
=.
10354 for ac_exec_ext
in '' $ac_executable_extensions; do
10355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10356 ac_cv_prog_ac_ct_CC
="gcc"
10357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10365 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10366 if test -n "$ac_ct_CC"; then
10367 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10368 echo "${ECHO_T}$ac_ct_CC" >&6
10370 echo "$as_me:$LINENO: result: no" >&5
10371 echo "${ECHO_T}no" >&6
10376 CC
="$ac_cv_prog_CC"
10379 if test -z "$CC"; then
10380 if test -n "$ac_tool_prefix"; then
10381 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10382 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10383 echo "$as_me:$LINENO: checking for $ac_word" >&5
10384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10385 if test "${ac_cv_prog_CC+set}" = set; then
10386 echo $ECHO_N "(cached) $ECHO_C" >&6
10388 if test -n "$CC"; then
10389 ac_cv_prog_CC
="$CC" # Let the user override the test.
10391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10392 for as_dir
in $PATH
10395 test -z "$as_dir" && as_dir
=.
10396 for ac_exec_ext
in '' $ac_executable_extensions; do
10397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10398 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10408 if test -n "$CC"; then
10409 echo "$as_me:$LINENO: result: $CC" >&5
10410 echo "${ECHO_T}$CC" >&6
10412 echo "$as_me:$LINENO: result: no" >&5
10413 echo "${ECHO_T}no" >&6
10417 if test -z "$ac_cv_prog_CC"; then
10419 # Extract the first word of "cc", so it can be a program name with args.
10420 set dummy cc
; ac_word
=$2
10421 echo "$as_me:$LINENO: checking for $ac_word" >&5
10422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10426 if test -n "$ac_ct_CC"; then
10427 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10430 for as_dir
in $PATH
10433 test -z "$as_dir" && as_dir
=.
10434 for ac_exec_ext
in '' $ac_executable_extensions; do
10435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10436 ac_cv_prog_ac_ct_CC
="cc"
10437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10445 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10446 if test -n "$ac_ct_CC"; then
10447 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10448 echo "${ECHO_T}$ac_ct_CC" >&6
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10456 CC
="$ac_cv_prog_CC"
10460 if test -z "$CC"; then
10461 # Extract the first word of "cc", so it can be a program name with args.
10462 set dummy cc
; ac_word
=$2
10463 echo "$as_me:$LINENO: checking for $ac_word" >&5
10464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10465 if test "${ac_cv_prog_CC+set}" = set; then
10466 echo $ECHO_N "(cached) $ECHO_C" >&6
10468 if test -n "$CC"; then
10469 ac_cv_prog_CC
="$CC" # Let the user override the test.
10471 ac_prog_rejected
=no
10472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10473 for as_dir
in $PATH
10476 test -z "$as_dir" && as_dir
=.
10477 for ac_exec_ext
in '' $ac_executable_extensions; do
10478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10480 ac_prog_rejected
=yes
10484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10490 if test $ac_prog_rejected = yes; then
10491 # We found a bogon in the path, so make sure we never use it.
10492 set dummy
$ac_cv_prog_CC
10494 if test $# != 0; then
10495 # We chose a different compiler from the bogus one.
10496 # However, it has the same basename, so the bogon will be chosen
10497 # first if we set CC to just the basename; use the full file name.
10499 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10505 if test -n "$CC"; then
10506 echo "$as_me:$LINENO: result: $CC" >&5
10507 echo "${ECHO_T}$CC" >&6
10509 echo "$as_me:$LINENO: result: no" >&5
10510 echo "${ECHO_T}no" >&6
10514 if test -z "$CC"; then
10515 if test -n "$ac_tool_prefix"; then
10518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10519 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10520 echo "$as_me:$LINENO: checking for $ac_word" >&5
10521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10522 if test "${ac_cv_prog_CC+set}" = set; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 if test -n "$CC"; then
10526 ac_cv_prog_CC
="$CC" # Let the user override the test.
10528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10529 for as_dir
in $PATH
10532 test -z "$as_dir" && as_dir
=.
10533 for ac_exec_ext
in '' $ac_executable_extensions; do
10534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10535 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10545 if test -n "$CC"; then
10546 echo "$as_me:$LINENO: result: $CC" >&5
10547 echo "${ECHO_T}$CC" >&6
10549 echo "$as_me:$LINENO: result: no" >&5
10550 echo "${ECHO_T}no" >&6
10553 test -n "$CC" && break
10556 if test -z "$CC"; then
10560 # Extract the first word of "$ac_prog", so it can be a program name with args.
10561 set dummy
$ac_prog; ac_word
=$2
10562 echo "$as_me:$LINENO: checking for $ac_word" >&5
10563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10565 echo $ECHO_N "(cached) $ECHO_C" >&6
10567 if test -n "$ac_ct_CC"; then
10568 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10571 for as_dir
in $PATH
10574 test -z "$as_dir" && as_dir
=.
10575 for ac_exec_ext
in '' $ac_executable_extensions; do
10576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_ac_ct_CC
="$ac_prog"
10578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10586 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10587 if test -n "$ac_ct_CC"; then
10588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10589 echo "${ECHO_T}$ac_ct_CC" >&6
10591 echo "$as_me:$LINENO: result: no" >&5
10592 echo "${ECHO_T}no" >&6
10595 test -n "$ac_ct_CC" && break
10604 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10605 See \`config.log' for more details." >&5
10606 echo "$as_me: error: no acceptable C compiler found in \$PATH
10607 See \`config.log' for more details." >&2;}
10608 { (exit 1); exit 1; }; }
10610 # Provide some information about the compiler.
10611 echo "$as_me:$LINENO:" \
10612 "checking for C compiler version" >&5
10613 ac_compiler
=`set X $ac_compile; echo $2`
10614 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10615 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }
10619 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10620 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }
10624 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10625 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }
10630 cat >conftest.
$ac_ext <<_ACEOF
10633 cat confdefs.h
>>conftest.
$ac_ext
10634 cat >>conftest.
$ac_ext <<_ACEOF
10635 /* end confdefs.h. */
10645 ac_clean_files_save
=$ac_clean_files
10646 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10647 # Try to create an executable without -o first, disregard a.out.
10648 # It will help us diagnose broken compilers, and finding out an intuition
10650 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10652 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10653 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10654 (eval $ac_link_default) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; then
10658 # Find the output, starting from the most likely. This scheme is
10659 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10662 # Be careful to initialize this variable, since it used to be cached.
10663 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10665 # b.out is created by i960 compilers.
10666 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10668 test -f "$ac_file" || continue
10670 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10673 # This is the source file.
10676 # We found the default executable, but exeext='' is most
10680 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10681 # FIXME: I believe we export ac_cv_exeext for Libtool,
10682 # but it would be cool to find out if it's true. Does anybody
10683 # maintain Libtool? --akim.
10684 export ac_cv_exeext
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.
$ac_ext >&5
10694 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10695 See \`config.log' for more details." >&5
10696 echo "$as_me: error: C compiler cannot create executables
10697 See \`config.log' for more details." >&2;}
10698 { (exit 77); exit 77; }; }
10701 ac_exeext
=$ac_cv_exeext
10702 echo "$as_me:$LINENO: result: $ac_file" >&5
10703 echo "${ECHO_T}$ac_file" >&6
10705 # Check the compiler produces executables we can run. If not, either
10706 # the compiler is broken, or we cross compile.
10707 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10708 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10709 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10710 # If not cross compiling, check that we can run a simple program.
10711 if test "$cross_compiling" != yes; then
10712 if { ac_try
='./$ac_file'
10713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714 (eval $ac_try) 2>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; }; then
10720 if test "$cross_compiling" = maybe
; then
10721 cross_compiling
=yes
10723 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10724 If you meant to cross compile, use \`--host'.
10725 See \`config.log' for more details." >&5
10726 echo "$as_me: error: cannot run C compiled programs.
10727 If you meant to cross compile, use \`--host'.
10728 See \`config.log' for more details." >&2;}
10729 { (exit 1); exit 1; }; }
10733 echo "$as_me:$LINENO: result: yes" >&5
10734 echo "${ECHO_T}yes" >&6
10736 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10737 ac_clean_files
=$ac_clean_files_save
10738 # Check the compiler produces executables we can run. If not, either
10739 # the compiler is broken, or we cross compile.
10740 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10741 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10742 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10743 echo "${ECHO_T}$cross_compiling" >&6
10745 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10746 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10748 (eval $ac_link) 2>&5
10750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); }; then
10752 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10753 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10754 # work properly (i.e., refer to `conftest.exe'), while it won't with
10756 for ac_file
in conftest.exe conftest conftest.
*; do
10757 test -f "$ac_file" || continue
10759 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10760 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10761 export ac_cv_exeext
10767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10768 See \`config.log' for more details." >&5
10769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10770 See \`config.log' for more details." >&2;}
10771 { (exit 1); exit 1; }; }
10774 rm -f conftest
$ac_cv_exeext
10775 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10776 echo "${ECHO_T}$ac_cv_exeext" >&6
10778 rm -f conftest.
$ac_ext
10779 EXEEXT
=$ac_cv_exeext
10781 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10783 if test "${ac_cv_objext+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10786 cat >conftest.
$ac_ext <<_ACEOF
10789 cat confdefs.h
>>conftest.
$ac_ext
10790 cat >>conftest.
$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10801 rm -f conftest.o conftest.obj
10802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10803 (eval $ac_compile) 2>&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; then
10807 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10809 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10810 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10815 echo "$as_me: failed program was:" >&5
10816 sed 's/^/| /' conftest.
$ac_ext >&5
10818 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10819 See \`config.log' for more details." >&5
10820 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10821 See \`config.log' for more details." >&2;}
10822 { (exit 1); exit 1; }; }
10825 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10827 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10828 echo "${ECHO_T}$ac_cv_objext" >&6
10829 OBJEXT
=$ac_cv_objext
10831 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10832 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10833 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 cat >conftest.
$ac_ext <<_ACEOF
10839 cat confdefs.h
>>conftest.
$ac_ext
10840 cat >>conftest.
$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10854 rm -f conftest.
$ac_objext
10855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10856 (eval $ac_compile) 2>conftest.er1
10858 grep -v '^ *+' conftest.er1
>conftest.err
10860 cat conftest.err
>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } &&
10863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } &&
10869 { ac_try
='test -s conftest.$ac_objext'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then
10875 ac_compiler_gnu
=yes
10877 echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.
$ac_ext >&5
10882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10883 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10886 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10887 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10888 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10889 ac_test_CFLAGS
=${CFLAGS+set}
10890 ac_save_CFLAGS
=$CFLAGS
10892 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10893 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10894 if test "${ac_cv_prog_cc_g+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 cat >conftest.
$ac_ext <<_ACEOF
10900 cat confdefs.h
>>conftest.
$ac_ext
10901 cat >>conftest.
$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10912 rm -f conftest.
$ac_objext
10913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10914 (eval $ac_compile) 2>conftest.er1
10916 grep -v '^ *+' conftest.er1
>conftest.err
10918 cat conftest.err
>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; } &&
10927 { ac_try
='test -s conftest.$ac_objext'
10928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10929 (eval $ac_try) 2>&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }; }; then
10933 ac_cv_prog_cc_g
=yes
10935 echo "$as_me: failed program was:" >&5
10936 sed 's/^/| /' conftest.
$ac_ext >&5
10940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10942 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10943 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10944 if test "$ac_test_CFLAGS" = set; then
10945 CFLAGS
=$ac_save_CFLAGS
10946 elif test $ac_cv_prog_cc_g = yes; then
10947 if test "$GCC" = yes; then
10953 if test "$GCC" = yes; then
10959 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10960 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10961 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10962 echo $ECHO_N "(cached) $ECHO_C" >&6
10964 ac_cv_prog_cc_stdc
=no
10966 cat >conftest.
$ac_ext <<_ACEOF
10969 cat confdefs.h
>>conftest.
$ac_ext
10970 cat >>conftest.
$ac_ext <<_ACEOF
10971 /* end confdefs.h. */
10972 #include <stdarg.h>
10974 #include <sys/types.h>
10975 #include <sys/stat.h>
10976 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10977 struct buf { int x; };
10978 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10979 static char *e (p, i)
10985 static char *f (char * (*g) (char **, int), char **p, ...)
10990 s = g (p, va_arg (v,int));
10995 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10996 function prototypes and stuff, but not '\xHH' hex character constants.
10997 These don't provoke an error unfortunately, instead are silently treated
10998 as 'x'. The following induces an error, until -std1 is added to get
10999 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11000 array size at least. It's necessary to write '\x00'==0 to get something
11001 that's true only with -std1. */
11002 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11004 int test (int i, double x);
11005 struct s1 {int (*f) (int a);};
11006 struct s2 {int (*f) (double a);};
11007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11013 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11018 # Don't try gcc -ansi; that turns off useful extensions and
11019 # breaks some systems' header files.
11020 # AIX -qlanglvl=ansi
11021 # Ultrix and OSF/1 -std1
11022 # HP-UX 10.20 and later -Ae
11023 # HP-UX older versions -Aa -D_HPUX_SOURCE
11024 # SVR4 -Xc -D__EXTENSIONS__
11025 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11027 CC
="$ac_save_CC $ac_arg"
11028 rm -f conftest.
$ac_objext
11029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11030 (eval $ac_compile) 2>conftest.er1
11032 grep -v '^ *+' conftest.er1
>conftest.err
11034 cat conftest.err
>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } &&
11037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 (eval $ac_try) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; } &&
11043 { ac_try
='test -s conftest.$ac_objext'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; }; then
11049 ac_cv_prog_cc_stdc
=$ac_arg
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.
$ac_ext >&5
11056 rm -f conftest.err conftest.
$ac_objext
11058 rm -f conftest.
$ac_ext conftest.
$ac_objext
11063 case "x$ac_cv_prog_cc_stdc" in
11065 echo "$as_me:$LINENO: result: none needed" >&5
11066 echo "${ECHO_T}none needed" >&6 ;;
11068 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11069 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11070 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11073 # Some people use a C++ compiler to compile C. Since we use `exit',
11074 # in C++ we need to declare it. In case someone uses the same compiler
11075 # for both compiling C and C++ we need to have the C++ compiler decide
11076 # the declaration of exit, since it's the most demanding environment.
11077 cat >conftest.
$ac_ext <<_ACEOF
11078 #ifndef __cplusplus
11082 rm -f conftest.
$ac_objext
11083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11084 (eval $ac_compile) 2>conftest.er1
11086 grep -v '^ *+' conftest.er1
>conftest.err
11088 cat conftest.err
>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); } &&
11091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11093 (eval $ac_try) 2>&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); }; } &&
11097 { ac_try
='test -s conftest.$ac_objext'
11098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099 (eval $ac_try) 2>&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }; }; then
11103 for ac_declaration
in \
11105 'extern "C" void std::exit (int) throw (); using std::exit;' \
11106 'extern "C" void std::exit (int); using std::exit;' \
11107 'extern "C" void exit (int) throw ();' \
11108 'extern "C" void exit (int);' \
11111 cat >conftest.
$ac_ext <<_ACEOF
11114 cat confdefs.h
>>conftest.
$ac_ext
11115 cat >>conftest.
$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11118 #include <stdlib.h>
11127 rm -f conftest.
$ac_objext
11128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11129 (eval $ac_compile) 2>conftest.er1
11131 grep -v '^ *+' conftest.er1
>conftest.err
11133 cat conftest.err
>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } &&
11136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; } &&
11142 { ac_try
='test -s conftest.$ac_objext'
11143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11144 (eval $ac_try) 2>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); }; }; then
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.
$ac_ext >&5
11155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11156 cat >conftest.
$ac_ext <<_ACEOF
11159 cat confdefs.h
>>conftest.
$ac_ext
11160 cat >>conftest.
$ac_ext <<_ACEOF
11161 /* end confdefs.h. */
11171 rm -f conftest.
$ac_objext
11172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11173 (eval $ac_compile) 2>conftest.er1
11175 grep -v '^ *+' conftest.er1
>conftest.err
11177 cat conftest.err
>&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } &&
11180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11182 (eval $ac_try) 2>&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); }; } &&
11186 { ac_try
='test -s conftest.$ac_objext'
11187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188 (eval $ac_try) 2>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); }; }; then
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.
$ac_ext >&5
11198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11201 if test -n "$ac_declaration"; then
11202 echo '#ifdef __cplusplus' >>confdefs.h
11203 echo $ac_declaration >>confdefs.h
11204 echo '#endif' >>confdefs.h
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.
$ac_ext >&5
11212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11214 ac_cpp
='$CPP $CPPFLAGS'
11215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11222 ac_cpp
='$CPP $CPPFLAGS'
11223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11226 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11227 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11228 # On Suns, sometimes $CPP names a directory.
11229 if test -n "$CPP" && test -d "$CPP"; then
11232 if test -z "$CPP"; then
11233 if test "${ac_cv_prog_CPP+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 # Double quotes because CPP needs to be expanded
11237 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11239 ac_preproc_ok
=false
11240 for ac_c_preproc_warn_flag
in '' yes
11242 # Use a header file that comes with gcc, so configuring glibc
11243 # with a fresh cross-compiler works.
11244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11245 # <limits.h> exists even on freestanding compilers.
11246 # On the NeXT, cc -E runs the code through the compiler's parser,
11247 # not just through cpp. "Syntax error" is here to catch this case.
11248 cat >conftest.
$ac_ext <<_ACEOF
11251 cat confdefs.h
>>conftest.
$ac_ext
11252 cat >>conftest.
$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11255 # include <limits.h>
11257 # include <assert.h>
11261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11264 grep -v '^ *+' conftest.er1
>conftest.err
11266 cat conftest.err
>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } >/dev
/null
; then
11269 if test -s conftest.err
; then
11270 ac_cpp_err
=$ac_c_preproc_warn_flag
11271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11278 if test -z "$ac_cpp_err"; then
11281 echo "$as_me: failed program was:" >&5
11282 sed 's/^/| /' conftest.
$ac_ext >&5
11284 # Broken: fails on valid input.
11287 rm -f conftest.err conftest.
$ac_ext
11289 # OK, works on sane cases. Now check whether non-existent headers
11290 # can be detected and how.
11291 cat >conftest.
$ac_ext <<_ACEOF
11294 cat confdefs.h
>>conftest.
$ac_ext
11295 cat >>conftest.
$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <ac_nonexistent.h>
11299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11302 grep -v '^ *+' conftest.er1
>conftest.err
11304 cat conftest.err
>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } >/dev
/null
; then
11307 if test -s conftest.err
; then
11308 ac_cpp_err
=$ac_c_preproc_warn_flag
11309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11316 if test -z "$ac_cpp_err"; then
11317 # Broken: success on invalid input.
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.
$ac_ext >&5
11323 # Passes both tests.
11327 rm -f conftest.err conftest.
$ac_ext
11330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11331 rm -f conftest.err conftest.
$ac_ext
11332 if $ac_preproc_ok; then
11337 ac_cv_prog_CPP
=$CPP
11340 CPP
=$ac_cv_prog_CPP
11342 ac_cv_prog_CPP
=$CPP
11344 echo "$as_me:$LINENO: result: $CPP" >&5
11345 echo "${ECHO_T}$CPP" >&6
11346 ac_preproc_ok
=false
11347 for ac_c_preproc_warn_flag
in '' yes
11349 # Use a header file that comes with gcc, so configuring glibc
11350 # with a fresh cross-compiler works.
11351 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11352 # <limits.h> exists even on freestanding compilers.
11353 # On the NeXT, cc -E runs the code through the compiler's parser,
11354 # not just through cpp. "Syntax error" is here to catch this case.
11355 cat >conftest.
$ac_ext <<_ACEOF
11358 cat confdefs.h
>>conftest.
$ac_ext
11359 cat >>conftest.
$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11362 # include <limits.h>
11364 # include <assert.h>
11368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11371 grep -v '^ *+' conftest.er1
>conftest.err
11373 cat conftest.err
>&5
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); } >/dev
/null
; then
11376 if test -s conftest.err
; then
11377 ac_cpp_err
=$ac_c_preproc_warn_flag
11378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11385 if test -z "$ac_cpp_err"; then
11388 echo "$as_me: failed program was:" >&5
11389 sed 's/^/| /' conftest.
$ac_ext >&5
11391 # Broken: fails on valid input.
11394 rm -f conftest.err conftest.
$ac_ext
11396 # OK, works on sane cases. Now check whether non-existent headers
11397 # can be detected and how.
11398 cat >conftest.
$ac_ext <<_ACEOF
11401 cat confdefs.h
>>conftest.
$ac_ext
11402 cat >>conftest.
$ac_ext <<_ACEOF
11403 /* end confdefs.h. */
11404 #include <ac_nonexistent.h>
11406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11407 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11409 grep -v '^ *+' conftest.er1
>conftest.err
11411 cat conftest.err
>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); } >/dev
/null
; then
11414 if test -s conftest.err
; then
11415 ac_cpp_err
=$ac_c_preproc_warn_flag
11416 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11423 if test -z "$ac_cpp_err"; then
11424 # Broken: success on invalid input.
11427 echo "$as_me: failed program was:" >&5
11428 sed 's/^/| /' conftest.
$ac_ext >&5
11430 # Passes both tests.
11434 rm -f conftest.err conftest.
$ac_ext
11437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11438 rm -f conftest.err conftest.
$ac_ext
11439 if $ac_preproc_ok; then
11442 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11443 See \`config.log' for more details." >&5
11444 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11445 See \`config.log' for more details." >&2;}
11446 { (exit 1); exit 1; }; }
11450 ac_cpp
='$CPP $CPPFLAGS'
11451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11456 echo "$as_me:$LINENO: checking for egrep" >&5
11457 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11458 if test "${ac_cv_prog_egrep+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11461 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11462 then ac_cv_prog_egrep
='grep -E'
11463 else ac_cv_prog_egrep
='egrep'
11466 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11467 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11468 EGREP
=$ac_cv_prog_egrep
11471 if test $ac_cv_c_compiler_gnu = yes; then
11472 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11473 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11474 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 ac_pattern
="Autoconf.*'x'"
11478 cat >conftest.
$ac_ext <<_ACEOF
11481 cat confdefs.h
>>conftest.
$ac_ext
11482 cat >>conftest.
$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11488 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11489 ac_cv_prog_gcc_traditional
=yes
11491 ac_cv_prog_gcc_traditional
=no
11496 if test $ac_cv_prog_gcc_traditional = no
; then
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11503 #include <termio.h>
11506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11507 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11508 ac_cv_prog_gcc_traditional
=yes
11514 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11515 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11516 if test $ac_cv_prog_gcc_traditional = yes; then
11517 CC
="$CC -traditional"
11525 ac_cpp
='$CXXCPP $CPPFLAGS'
11526 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11527 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11528 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11531 CXXFLAGS
=${CXXFLAGS:=}
11533 ac_cpp
='$CXXCPP $CPPFLAGS'
11534 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11535 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11536 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11537 if test -n "$ac_tool_prefix"; then
11538 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11541 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11542 echo "$as_me:$LINENO: checking for $ac_word" >&5
11543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11544 if test "${ac_cv_prog_CXX+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 if test -n "$CXX"; then
11548 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11551 for as_dir
in $PATH
11554 test -z "$as_dir" && as_dir
=.
11555 for ac_exec_ext
in '' $ac_executable_extensions; do
11556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11557 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11566 CXX
=$ac_cv_prog_CXX
11567 if test -n "$CXX"; then
11568 echo "$as_me:$LINENO: result: $CXX" >&5
11569 echo "${ECHO_T}$CXX" >&6
11571 echo "$as_me:$LINENO: result: no" >&5
11572 echo "${ECHO_T}no" >&6
11575 test -n "$CXX" && break
11578 if test -z "$CXX"; then
11580 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11582 # Extract the first word of "$ac_prog", so it can be a program name with args.
11583 set dummy
$ac_prog; ac_word
=$2
11584 echo "$as_me:$LINENO: checking for $ac_word" >&5
11585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11586 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 if test -n "$ac_ct_CXX"; then
11590 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11593 for as_dir
in $PATH
11596 test -z "$as_dir" && as_dir
=.
11597 for ac_exec_ext
in '' $ac_executable_extensions; do
11598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11599 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11608 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11609 if test -n "$ac_ct_CXX"; then
11610 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11611 echo "${ECHO_T}$ac_ct_CXX" >&6
11613 echo "$as_me:$LINENO: result: no" >&5
11614 echo "${ECHO_T}no" >&6
11617 test -n "$ac_ct_CXX" && break
11619 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11625 # Provide some information about the compiler.
11626 echo "$as_me:$LINENO:" \
11627 "checking for C++ compiler version" >&5
11628 ac_compiler
=`set X $ac_compile; echo $2`
11629 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11630 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }
11634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11635 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }
11639 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11640 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }
11645 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11646 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11647 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11648 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 cat >conftest.
$ac_ext <<_ACEOF
11653 cat confdefs.h
>>conftest.
$ac_ext
11654 cat >>conftest.
$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11668 rm -f conftest.
$ac_objext
11669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11670 (eval $ac_compile) 2>conftest.er1
11672 grep -v '^ *+' conftest.er1
>conftest.err
11674 cat conftest.err
>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } &&
11677 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; } &&
11683 { ac_try
='test -s conftest.$ac_objext'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; }; then
11689 ac_compiler_gnu
=yes
11691 echo "$as_me: failed program was:" >&5
11692 sed 's/^/| /' conftest.
$ac_ext >&5
11696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11697 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11700 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11701 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11702 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11703 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11704 ac_save_CXXFLAGS
=$CXXFLAGS
11706 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11707 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11708 if test "${ac_cv_prog_cxx_g+set}" = set; then
11709 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 cat >conftest.
$ac_ext <<_ACEOF
11714 cat confdefs.h
>>conftest.
$ac_ext
11715 cat >>conftest.
$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11726 rm -f conftest.
$ac_objext
11727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11728 (eval $ac_compile) 2>conftest.er1
11730 grep -v '^ *+' conftest.er1
>conftest.err
11732 cat conftest.err
>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); } &&
11735 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737 (eval $ac_try) 2>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); }; } &&
11741 { ac_try
='test -s conftest.$ac_objext'
11742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11743 (eval $ac_try) 2>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); }; }; then
11747 ac_cv_prog_cxx_g
=yes
11749 echo "$as_me: failed program was:" >&5
11750 sed 's/^/| /' conftest.
$ac_ext >&5
11752 ac_cv_prog_cxx_g
=no
11754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11756 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11757 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11758 if test "$ac_test_CXXFLAGS" = set; then
11759 CXXFLAGS
=$ac_save_CXXFLAGS
11760 elif test $ac_cv_prog_cxx_g = yes; then
11761 if test "$GXX" = yes; then
11767 if test "$GXX" = yes; then
11773 for ac_declaration
in \
11775 'extern "C" void std::exit (int) throw (); using std::exit;' \
11776 'extern "C" void std::exit (int); using std::exit;' \
11777 'extern "C" void exit (int) throw ();' \
11778 'extern "C" void exit (int);' \
11781 cat >conftest.
$ac_ext <<_ACEOF
11784 cat confdefs.h
>>conftest.
$ac_ext
11785 cat >>conftest.
$ac_ext <<_ACEOF
11786 /* end confdefs.h. */
11788 #include <stdlib.h>
11797 rm -f conftest.
$ac_objext
11798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11799 (eval $ac_compile) 2>conftest.er1
11801 grep -v '^ *+' conftest.er1
>conftest.err
11803 cat conftest.err
>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } &&
11806 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808 (eval $ac_try) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; } &&
11812 { ac_try
='test -s conftest.$ac_objext'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.
$ac_ext >&5
11825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11826 cat >conftest.
$ac_ext <<_ACEOF
11829 cat confdefs.h
>>conftest.
$ac_ext
11830 cat >>conftest.
$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11841 rm -f conftest.
$ac_objext
11842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11843 (eval $ac_compile) 2>conftest.er1
11845 grep -v '^ *+' conftest.er1
>conftest.err
11847 cat conftest.err
>&5
11848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11849 (exit $ac_status); } &&
11850 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11852 (eval $ac_try) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); }; } &&
11856 { ac_try
='test -s conftest.$ac_objext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.
$ac_ext >&5
11868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11871 if test -n "$ac_declaration"; then
11872 echo '#ifdef __cplusplus' >>confdefs.h
11873 echo $ac_declaration >>confdefs.h
11874 echo '#endif' >>confdefs.h
11878 ac_cpp
='$CXXCPP $CPPFLAGS'
11879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11885 ac_cpp
='$CPP $CPPFLAGS'
11886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11891 if test -n "$ac_tool_prefix"; then
11892 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11893 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11894 echo "$as_me:$LINENO: checking for $ac_word" >&5
11895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11896 if test "${ac_cv_prog_RANLIB+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 if test -n "$RANLIB"; then
11900 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11903 for as_dir
in $PATH
11906 test -z "$as_dir" && as_dir
=.
11907 for ac_exec_ext
in '' $ac_executable_extensions; do
11908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11909 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11918 RANLIB
=$ac_cv_prog_RANLIB
11919 if test -n "$RANLIB"; then
11920 echo "$as_me:$LINENO: result: $RANLIB" >&5
11921 echo "${ECHO_T}$RANLIB" >&6
11923 echo "$as_me:$LINENO: result: no" >&5
11924 echo "${ECHO_T}no" >&6
11928 if test -z "$ac_cv_prog_RANLIB"; then
11929 ac_ct_RANLIB
=$RANLIB
11930 # Extract the first word of "ranlib", so it can be a program name with args.
11931 set dummy ranlib
; ac_word
=$2
11932 echo "$as_me:$LINENO: checking for $ac_word" >&5
11933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11934 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 if test -n "$ac_ct_RANLIB"; then
11938 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11941 for as_dir
in $PATH
11944 test -z "$as_dir" && as_dir
=.
11945 for ac_exec_ext
in '' $ac_executable_extensions; do
11946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11947 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11954 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11957 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11958 if test -n "$ac_ct_RANLIB"; then
11959 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11960 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11962 echo "$as_me:$LINENO: result: no" >&5
11963 echo "${ECHO_T}no" >&6
11966 RANLIB
=$ac_ct_RANLIB
11968 RANLIB
="$ac_cv_prog_RANLIB"
11972 # Extract the first word of "ar", so it can be a program name with args.
11973 set dummy
ar; ac_word
=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_AR+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 if test -n "$AR"; then
11980 ac_cv_prog_AR
="$AR" # Let the user override the test.
11982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11983 for as_dir
in $PATH
11986 test -z "$as_dir" && as_dir
=.
11987 for ac_exec_ext
in '' $ac_executable_extensions; do
11988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11999 if test -n "$AR"; then
12000 echo "$as_me:$LINENO: result: $AR" >&5
12001 echo "${ECHO_T}$AR" >&6
12003 echo "$as_me:$LINENO: result: no" >&5
12004 echo "${ECHO_T}no" >&6
12007 if test "x$AR" = "x" ; then
12008 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12009 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12010 { (exit 1); exit 1; }; }
12013 # Find a good install program. We prefer a C program (faster),
12014 # so one script is as good as another. But avoid the broken or
12015 # incompatible versions:
12016 # SysV /etc/install, /usr/sbin/install
12017 # SunOS /usr/etc/install
12018 # IRIX /sbin/install
12020 # AmigaOS /C/install, which installs bootblocks on floppy discs
12021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12024 # OS/2's system install, which has a completely different semantic
12025 # ./install, which can be erroneously created by make from ./install.sh.
12026 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12027 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12028 if test -z "$INSTALL"; then
12029 if test "${ac_cv_path_install+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12033 for as_dir
in $PATH
12036 test -z "$as_dir" && as_dir
=.
12037 # Account for people who put trailing slashes in PATH elements.
12039 .
/ | .
// | /cC
/* | \
12040 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12041 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12044 # OSF1 and SCO ODT 3.0 have their own names for install.
12045 # Don't use installbsd from OSF since it installs stuff as root
12047 for ac_prog
in ginstall scoinst
install; do
12048 for ac_exec_ext
in '' $ac_executable_extensions; do
12049 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12050 if test $ac_prog = install &&
12051 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12052 # AIX install. It has an incompatible calling convention.
12054 elif test $ac_prog = install &&
12055 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12056 # program-specific install script used by HP pwplus--don't use.
12059 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12071 if test "${ac_cv_path_install+set}" = set; then
12072 INSTALL
=$ac_cv_path_install
12074 # As a last resort, use the slow shell script. We don't cache a
12075 # path for INSTALL within a source directory, because that will
12076 # break other packages using the cache if that directory is
12077 # removed, or if the path is relative.
12078 INSTALL
=$ac_install_sh
12081 echo "$as_me:$LINENO: result: $INSTALL" >&5
12082 echo "${ECHO_T}$INSTALL" >&6
12084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12085 # It thinks the first close brace ends the variable substitution.
12086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12090 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12096 ?
:* ) # Drive letter, considered as absolute.
12099 INSTALL
=`pwd`/${INSTALL} ;;
12105 powerpc
-*-darwin* )
12106 INSTALL_PROGRAM
="cp -fp"
12107 INSTALL_DATA
="cp -fp"
12113 # Extract the first word of "strip", so it can be a program name with args.
12114 set dummy strip
; ac_word
=$2
12115 echo "$as_me:$LINENO: checking for $ac_word" >&5
12116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12117 if test "${ac_cv_prog_STRIP+set}" = set; then
12118 echo $ECHO_N "(cached) $ECHO_C" >&6
12120 if test -n "$STRIP"; then
12121 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12124 for as_dir
in $PATH
12127 test -z "$as_dir" && as_dir
=.
12128 for ac_exec_ext
in '' $ac_executable_extensions; do
12129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12130 ac_cv_prog_STRIP
="strip"
12131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12137 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12140 STRIP
=$ac_cv_prog_STRIP
12141 if test -n "$STRIP"; then
12142 echo "$as_me:$LINENO: result: $STRIP" >&5
12143 echo "${ECHO_T}$STRIP" >&6
12145 echo "$as_me:$LINENO: result: no" >&5
12146 echo "${ECHO_T}no" >&6
12150 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12151 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12152 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12157 egrep -s GNU
> /dev
/null
); then
12158 wx_cv_prog_makeisgnu
="yes"
12160 wx_cv_prog_makeisgnu
="no"
12164 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12165 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12167 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12175 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12176 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12177 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12178 if test "${wx_cv_prog_makevpath+set}" = set; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12182 cat - << EOF > confMake
12188 if test ! -d sub
; then
12191 echo dummy
> sub
/file
12192 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12194 rm -f sub
/file check final_file confMake
12196 if test "$RESULT" = 0; then
12197 wx_cv_prog_makevpath
="yes"
12199 wx_cv_prog_makevpath
="no"
12203 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12204 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12206 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12207 { { echo "$as_me:$LINENO: error:
12208 You need a make-utility that is able to use the variable
12210 If your version of make does not support VPATH correctly,
12211 please install GNU-make (possibly as gmake), and start
12212 configure with the following command:
12213 export MAKE=gmake; ./configure for sh-type shells
12214 setenv MAKE gmake; ./configure for csh-type shells
12215 Also please do remember to use gmake in this case every time
12216 you are trying to compile.
12218 echo "$as_me: error:
12219 You need a make-utility that is able to use the variable
12221 If your version of make does not support VPATH correctly,
12222 please install GNU-make (possibly as gmake), and start
12223 configure with the following command:
12224 export MAKE=gmake; ./configure for sh-type shells
12225 setenv MAKE gmake; ./configure for csh-type shells
12226 Also please do remember to use gmake in this case every time
12227 you are trying to compile.
12229 { (exit 1); exit 1; }; }
12231 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12232 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12234 if test "$LN_S" = "ln -s"; then
12235 echo "$as_me:$LINENO: result: yes" >&5
12236 echo "${ECHO_T}yes" >&6
12238 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12239 echo "${ECHO_T}no, using $LN_S" >&6
12245 *-pc-os2_emx | *-pc-os2-emx )
12246 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12247 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12248 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12249 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12250 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 ac_check_lib_save_LIBS
=$LIBS
12253 LIBS
="-lcExt $LIBS"
12254 cat >conftest.
$ac_ext <<_ACEOF
12257 cat confdefs.h
>>conftest.
$ac_ext
12258 cat >>conftest.
$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12261 /* Override any gcc2 internal prototype to avoid an error. */
12265 /* We use char because int might match the return type of a gcc2
12266 builtin and then its argument prototype would still apply. */
12276 rm -f conftest.
$ac_objext conftest
$ac_exeext
12277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12278 (eval $ac_link) 2>conftest.er1
12280 grep -v '^ *+' conftest.er1
>conftest.err
12282 cat conftest.err
>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } &&
12285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; } &&
12291 { ac_try
='test -s conftest$ac_exeext'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; }; then
12297 ac_cv_lib_cExt_drand48
=yes
12299 echo "$as_me: failed program was:" >&5
12300 sed 's/^/| /' conftest.
$ac_ext >&5
12302 ac_cv_lib_cExt_drand48
=no
12304 rm -f conftest.err conftest.
$ac_objext \
12305 conftest
$ac_exeext conftest.
$ac_ext
12306 LIBS
=$ac_check_lib_save_LIBS
12308 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12309 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12310 if test $ac_cv_lib_cExt_drand48 = yes; then
12311 LIBS
="$LIBS -lcExt"
12315 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12317 echo "$as_me:$LINENO: checking for gcc version" >&5
12318 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12319 if test "${wx_cv_gccversion+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 cat >conftest.
$ac_ext <<_ACEOF
12326 cat confdefs.h
>>conftest.
$ac_ext
12327 cat >>conftest.
$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12342 rm -f conftest.
$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12346 grep -v '^ *+' conftest.er1
>conftest.err
12348 cat conftest.err
>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; } &&
12357 { ac_try
='test -s conftest.$ac_objext'
12358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359 (eval $ac_try) 2>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); }; }; then
12364 cat >conftest.
$ac_ext <<_ACEOF
12367 cat confdefs.h
>>conftest.
$ac_ext
12368 cat >>conftest.
$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12375 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12376 #error intermediate gcc
12383 rm -f conftest.
$ac_objext
12384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12385 (eval $ac_compile) 2>conftest.er1
12387 grep -v '^ *+' conftest.er1
>conftest.err
12389 cat conftest.err
>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); } &&
12392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; } &&
12398 { ac_try
='test -s conftest.$ac_objext'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; }; then
12405 wx_cv_gccversion
=Innotek
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.
$ac_ext >&5
12416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12419 echo "$as_me: failed program was:" >&5
12420 sed 's/^/| /' conftest.
$ac_ext >&5
12427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12430 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12431 echo "${ECHO_T}$wx_cv_gccversion" >&6
12432 if test "$wx_cv_gccversion" = "2"; then
12433 LIBS
="$LIBS -lstdcpp"
12434 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12436 if test "$wx_cv_gccversion" = "3"; then
12437 LIBS
="$LIBS -lstdcxx"
12438 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12440 LIBS
="$LIBS -lstdc++"
12443 if test "$wxUSE_OMF" = "yes"; then
12444 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12452 ac_cpp
='$CXXCPP $CPPFLAGS'
12453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12459 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12460 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12461 if test "${ac_cv_string_strcasecmp+set}" = set; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12465 cat >conftest.
$ac_ext <<_ACEOF
12468 cat confdefs.h
>>conftest.
$ac_ext
12469 cat >>conftest.
$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12472 #include <string.h>
12478 strcasecmp("foo", "bar");
12484 rm -f conftest.
$ac_objext conftest
$ac_exeext
12485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12486 (eval $ac_link) 2>conftest.er1
12488 grep -v '^ *+' conftest.er1
>conftest.err
12490 cat conftest.err
>&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } &&
12493 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12495 (eval $ac_try) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; } &&
12499 { ac_try
='test -s conftest$ac_exeext'
12500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12501 (eval $ac_try) 2>&5
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; }; then
12505 ac_cv_string_strcasecmp
=yes
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.
$ac_ext >&5
12510 ac_cv_string_strcasecmp
=no
12513 rm -f conftest.err conftest.
$ac_objext \
12514 conftest
$ac_exeext conftest.
$ac_ext
12517 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12518 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12520 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12521 cat >>confdefs.h
<<\_ACEOF
12522 #define HAVE_STRCASECMP_IN_STRING_H 1
12526 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12527 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12528 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12532 cat >conftest.
$ac_ext <<_ACEOF
12535 cat confdefs.h
>>conftest.
$ac_ext
12536 cat >>conftest.
$ac_ext <<_ACEOF
12537 /* end confdefs.h. */
12539 #include <strings.h>
12545 strcasecmp("foo", "bar");
12551 rm -f conftest.
$ac_objext conftest
$ac_exeext
12552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12553 (eval $ac_link) 2>conftest.er1
12555 grep -v '^ *+' conftest.er1
>conftest.err
12557 cat conftest.err
>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } &&
12560 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; } &&
12566 { ac_try
='test -s conftest$ac_exeext'
12567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12568 (eval $ac_try) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }; }; then
12572 ac_cv_strings_strcasecmp
=yes
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.
$ac_ext >&5
12577 ac_cv_strings_strcasecmp
=no
12580 rm -f conftest.err conftest.
$ac_objext \
12581 conftest
$ac_exeext conftest.
$ac_ext
12584 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12585 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12587 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12588 cat >>confdefs.h
<<\_ACEOF
12589 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12593 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12594 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12595 { (exit 1); exit 1; }; }
12600 ac_cpp
='$CPP $CPPFLAGS'
12601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12609 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12610 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12611 if test "${ac_cv_header_stdc+set}" = set; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 cat >conftest.
$ac_ext <<_ACEOF
12617 cat confdefs.h
>>conftest.
$ac_ext
12618 cat >>conftest.
$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 #include <stdlib.h>
12621 #include <stdarg.h>
12622 #include <string.h>
12633 rm -f conftest.
$ac_objext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12635 (eval $ac_compile) 2>conftest.er1
12637 grep -v '^ *+' conftest.er1
>conftest.err
12639 cat conftest.err
>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try
='test -s conftest.$ac_objext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12654 ac_cv_header_stdc
=yes
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.
$ac_ext >&5
12659 ac_cv_header_stdc
=no
12661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12663 if test $ac_cv_header_stdc = yes; then
12664 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12665 cat >conftest.
$ac_ext <<_ACEOF
12668 cat confdefs.h
>>conftest.
$ac_ext
12669 cat >>conftest.
$ac_ext <<_ACEOF
12670 /* end confdefs.h. */
12671 #include <string.h>
12674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12675 $EGREP "memchr" >/dev
/null
2>&1; then
12678 ac_cv_header_stdc
=no
12684 if test $ac_cv_header_stdc = yes; then
12685 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12686 cat >conftest.
$ac_ext <<_ACEOF
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 #include <stdlib.h>
12695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12696 $EGREP "free" >/dev
/null
2>&1; then
12699 ac_cv_header_stdc
=no
12705 if test $ac_cv_header_stdc = yes; then
12706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12707 if test "$cross_compiling" = yes; then
12710 cat >conftest.
$ac_ext <<_ACEOF
12713 cat confdefs.h
>>conftest.
$ac_ext
12714 cat >>conftest.
$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12717 #if ((' ' & 0x0FF) == 0x020)
12718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12721 # define ISLOWER(c) \
12722 (('a' <= (c) && (c) <= 'i') \
12723 || ('j' <= (c) && (c) <= 'r') \
12724 || ('s' <= (c) && (c) <= 'z'))
12725 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12733 for (i = 0; i < 256; i++)
12734 if (XOR (islower (i), ISLOWER (i))
12735 || toupper (i) != TOUPPER (i))
12740 rm -f conftest
$ac_exeext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12742 (eval $ac_link) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; }; then
12753 echo "$as_me: program exited with status $ac_status" >&5
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.
$ac_ext >&5
12757 ( exit $ac_status )
12758 ac_cv_header_stdc
=no
12760 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12764 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12765 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12766 if test $ac_cv_header_stdc = yes; then
12768 cat >>confdefs.h
<<\_ACEOF
12769 #define STDC_HEADERS 1
12774 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12784 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12785 inttypes.h stdint.h unistd.h
12787 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12788 echo "$as_me:$LINENO: checking for $ac_header" >&5
12789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12791 echo $ECHO_N "(cached) $ECHO_C" >&6
12793 cat >conftest.
$ac_ext <<_ACEOF
12796 cat confdefs.h
>>conftest.
$ac_ext
12797 cat >>conftest.
$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12799 $ac_includes_default
12801 #include <$ac_header>
12803 rm -f conftest.
$ac_objext
12804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12805 (eval $ac_compile) 2>conftest.er1
12807 grep -v '^ *+' conftest.er1
>conftest.err
12809 cat conftest.err
>&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); } &&
12812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; } &&
12818 { ac_try
='test -s conftest.$ac_objext'
12819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12820 (eval $ac_try) 2>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; }; then
12824 eval "$as_ac_Header=yes"
12826 echo "$as_me: failed program was:" >&5
12827 sed 's/^/| /' conftest.
$ac_ext >&5
12829 eval "$as_ac_Header=no"
12831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12836 cat >>confdefs.h
<<_ACEOF
12837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12846 for ac_header
in stdlib.h
12848 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12850 echo "$as_me:$LINENO: checking for $ac_header" >&5
12851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12853 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12858 # Is the header compilable?
12859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12861 cat >conftest.
$ac_ext <<_ACEOF
12864 cat confdefs.h
>>conftest.
$ac_ext
12865 cat >>conftest.
$ac_ext <<_ACEOF
12866 /* end confdefs.h. */
12867 $ac_includes_default
12868 #include <$ac_header>
12870 rm -f conftest.
$ac_objext
12871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12872 (eval $ac_compile) 2>conftest.er1
12874 grep -v '^ *+' conftest.er1
>conftest.err
12876 cat conftest.err
>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); } &&
12879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12881 (eval $ac_try) 2>&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); }; } &&
12885 { ac_try
='test -s conftest.$ac_objext'
12886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12887 (eval $ac_try) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; }; then
12891 ac_header_compiler
=yes
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.
$ac_ext >&5
12896 ac_header_compiler
=no
12898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12900 echo "${ECHO_T}$ac_header_compiler" >&6
12902 # Is the header present?
12903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12905 cat >conftest.
$ac_ext <<_ACEOF
12908 cat confdefs.h
>>conftest.
$ac_ext
12909 cat >>conftest.
$ac_ext <<_ACEOF
12910 /* end confdefs.h. */
12911 #include <$ac_header>
12913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12916 grep -v '^ *+' conftest.er1
>conftest.err
12918 cat conftest.err
>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } >/dev
/null
; then
12921 if test -s conftest.err
; then
12922 ac_cpp_err
=$ac_c_preproc_warn_flag
12923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12930 if test -z "$ac_cpp_err"; then
12931 ac_header_preproc
=yes
12933 echo "$as_me: failed program was:" >&5
12934 sed 's/^/| /' conftest.
$ac_ext >&5
12936 ac_header_preproc
=no
12938 rm -f conftest.err conftest.
$ac_ext
12939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12940 echo "${ECHO_T}$ac_header_preproc" >&6
12942 # So? What about this header?
12943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12949 ac_header_preproc
=yes
12952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12966 ## ----------------------------------------- ##
12967 ## Report this to wx-dev@lists.wxwidgets.org ##
12968 ## ----------------------------------------- ##
12971 sed "s/^/$as_me: WARNING: /" >&2
12974 echo "$as_me:$LINENO: checking for $ac_header" >&5
12975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 eval "$as_ac_Header=\$ac_header_preproc"
12981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12986 cat >>confdefs.h
<<_ACEOF
12987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12995 for ac_header
in malloc.h
12997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12999 echo "$as_me:$LINENO: checking for $ac_header" >&5
13000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13002 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13007 # Is the header compilable?
13008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13010 cat >conftest.
$ac_ext <<_ACEOF
13013 cat confdefs.h
>>conftest.
$ac_ext
13014 cat >>conftest.
$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 $ac_includes_default
13017 #include <$ac_header>
13019 rm -f conftest.
$ac_objext
13020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13021 (eval $ac_compile) 2>conftest.er1
13023 grep -v '^ *+' conftest.er1
>conftest.err
13025 cat conftest.err
>&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } &&
13028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13030 (eval $ac_try) 2>&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); }; } &&
13034 { ac_try
='test -s conftest.$ac_objext'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; }; then
13040 ac_header_compiler
=yes
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.
$ac_ext >&5
13045 ac_header_compiler
=no
13047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13049 echo "${ECHO_T}$ac_header_compiler" >&6
13051 # Is the header present?
13052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13054 cat >conftest.
$ac_ext <<_ACEOF
13057 cat confdefs.h
>>conftest.
$ac_ext
13058 cat >>conftest.
$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13060 #include <$ac_header>
13062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13065 grep -v '^ *+' conftest.er1
>conftest.err
13067 cat conftest.err
>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } >/dev
/null
; then
13070 if test -s conftest.err
; then
13071 ac_cpp_err
=$ac_c_preproc_warn_flag
13072 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13079 if test -z "$ac_cpp_err"; then
13080 ac_header_preproc
=yes
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.
$ac_ext >&5
13085 ac_header_preproc
=no
13087 rm -f conftest.err conftest.
$ac_ext
13088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13089 echo "${ECHO_T}$ac_header_preproc" >&6
13091 # So? What about this header?
13092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13098 ac_header_preproc
=yes
13101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13115 ## ----------------------------------------- ##
13116 ## Report this to wx-dev@lists.wxwidgets.org ##
13117 ## ----------------------------------------- ##
13120 sed "s/^/$as_me: WARNING: /" >&2
13123 echo "$as_me:$LINENO: checking for $ac_header" >&5
13124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13126 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 eval "$as_ac_Header=\$ac_header_preproc"
13130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13135 cat >>confdefs.h
<<_ACEOF
13136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13144 for ac_header
in unistd.h
13146 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13148 echo "$as_me:$LINENO: checking for $ac_header" >&5
13149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13151 echo $ECHO_N "(cached) $ECHO_C" >&6
13153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13156 # Is the header compilable?
13157 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13159 cat >conftest.
$ac_ext <<_ACEOF
13162 cat confdefs.h
>>conftest.
$ac_ext
13163 cat >>conftest.
$ac_ext <<_ACEOF
13164 /* end confdefs.h. */
13165 $ac_includes_default
13166 #include <$ac_header>
13168 rm -f conftest.
$ac_objext
13169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13170 (eval $ac_compile) 2>conftest.er1
13172 grep -v '^ *+' conftest.er1
>conftest.err
13174 cat conftest.err
>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); } &&
13177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13179 (eval $ac_try) 2>&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); }; } &&
13183 { ac_try
='test -s conftest.$ac_objext'
13184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13185 (eval $ac_try) 2>&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); }; }; then
13189 ac_header_compiler
=yes
13191 echo "$as_me: failed program was:" >&5
13192 sed 's/^/| /' conftest.
$ac_ext >&5
13194 ac_header_compiler
=no
13196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13198 echo "${ECHO_T}$ac_header_compiler" >&6
13200 # Is the header present?
13201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13203 cat >conftest.
$ac_ext <<_ACEOF
13206 cat confdefs.h
>>conftest.
$ac_ext
13207 cat >>conftest.
$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209 #include <$ac_header>
13211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13214 grep -v '^ *+' conftest.er1
>conftest.err
13216 cat conftest.err
>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } >/dev
/null
; then
13219 if test -s conftest.err
; then
13220 ac_cpp_err
=$ac_c_preproc_warn_flag
13221 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13228 if test -z "$ac_cpp_err"; then
13229 ac_header_preproc
=yes
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.
$ac_ext >&5
13234 ac_header_preproc
=no
13236 rm -f conftest.err conftest.
$ac_ext
13237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13238 echo "${ECHO_T}$ac_header_preproc" >&6
13240 # So? What about this header?
13241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13247 ac_header_preproc
=yes
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13264 ## ----------------------------------------- ##
13265 ## Report this to wx-dev@lists.wxwidgets.org ##
13266 ## ----------------------------------------- ##
13269 sed "s/^/$as_me: WARNING: /" >&2
13272 echo "$as_me:$LINENO: checking for $ac_header" >&5
13273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13275 echo $ECHO_N "(cached) $ECHO_C" >&6
13277 eval "$as_ac_Header=\$ac_header_preproc"
13279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13284 cat >>confdefs.h
<<_ACEOF
13285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13293 for ac_header
in wchar.h
13295 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13297 echo "$as_me:$LINENO: checking for $ac_header" >&5
13298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13305 # Is the header compilable?
13306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13308 cat >conftest.
$ac_ext <<_ACEOF
13311 cat confdefs.h
>>conftest.
$ac_ext
13312 cat >>conftest.
$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13314 $ac_includes_default
13315 #include <$ac_header>
13317 rm -f conftest.
$ac_objext
13318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13319 (eval $ac_compile) 2>conftest.er1
13321 grep -v '^ *+' conftest.er1
>conftest.err
13323 cat conftest.err
>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } &&
13326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; } &&
13332 { ac_try
='test -s conftest.$ac_objext'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 ac_header_compiler
=yes
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.
$ac_ext >&5
13343 ac_header_compiler
=no
13345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13347 echo "${ECHO_T}$ac_header_compiler" >&6
13349 # Is the header present?
13350 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13351 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13352 cat >conftest.
$ac_ext <<_ACEOF
13355 cat confdefs.h
>>conftest.
$ac_ext
13356 cat >>conftest.
$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 #include <$ac_header>
13360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13363 grep -v '^ *+' conftest.er1
>conftest.err
13365 cat conftest.err
>&5
13366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13367 (exit $ac_status); } >/dev
/null
; then
13368 if test -s conftest.err
; then
13369 ac_cpp_err
=$ac_c_preproc_warn_flag
13370 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13377 if test -z "$ac_cpp_err"; then
13378 ac_header_preproc
=yes
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.
$ac_ext >&5
13383 ac_header_preproc
=no
13385 rm -f conftest.err conftest.
$ac_ext
13386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13387 echo "${ECHO_T}$ac_header_preproc" >&6
13389 # So? What about this header?
13390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13395 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13396 ac_header_preproc
=yes
13399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13404 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13406 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13413 ## ----------------------------------------- ##
13414 ## Report this to wx-dev@lists.wxwidgets.org ##
13415 ## ----------------------------------------- ##
13418 sed "s/^/$as_me: WARNING: /" >&2
13421 echo "$as_me:$LINENO: checking for $ac_header" >&5
13422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 eval "$as_ac_Header=\$ac_header_preproc"
13428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13433 cat >>confdefs.h
<<_ACEOF
13434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13442 if test "$ac_cv_header_wchar_h" != "yes"; then
13444 for ac_header
in wcstr.h
13446 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13448 echo "$as_me:$LINENO: checking for $ac_header" >&5
13449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13451 echo $ECHO_N "(cached) $ECHO_C" >&6
13453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13456 # Is the header compilable?
13457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13459 cat >conftest.
$ac_ext <<_ACEOF
13462 cat confdefs.h
>>conftest.
$ac_ext
13463 cat >>conftest.
$ac_ext <<_ACEOF
13464 /* end confdefs.h. */
13465 $ac_includes_default
13466 #include <$ac_header>
13468 rm -f conftest.
$ac_objext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13470 (eval $ac_compile) 2>conftest.er1
13472 grep -v '^ *+' conftest.er1
>conftest.err
13474 cat conftest.err
>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); } &&
13477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13479 (eval $ac_try) 2>&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); }; } &&
13483 { ac_try
='test -s conftest.$ac_objext'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; }; then
13489 ac_header_compiler
=yes
13491 echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.
$ac_ext >&5
13494 ac_header_compiler
=no
13496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13498 echo "${ECHO_T}$ac_header_compiler" >&6
13500 # Is the header present?
13501 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13502 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13503 cat >conftest.
$ac_ext <<_ACEOF
13506 cat confdefs.h
>>conftest.
$ac_ext
13507 cat >>conftest.
$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13509 #include <$ac_header>
13511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13512 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13514 grep -v '^ *+' conftest.er1
>conftest.err
13516 cat conftest.err
>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); } >/dev
/null
; then
13519 if test -s conftest.err
; then
13520 ac_cpp_err
=$ac_c_preproc_warn_flag
13521 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13528 if test -z "$ac_cpp_err"; then
13529 ac_header_preproc
=yes
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13534 ac_header_preproc
=no
13536 rm -f conftest.err conftest.
$ac_ext
13537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13538 echo "${ECHO_T}$ac_header_preproc" >&6
13540 # So? What about this header?
13541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13546 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13547 ac_header_preproc
=yes
13550 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13551 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13552 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13553 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13554 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13555 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13556 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13557 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13560 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13561 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13564 ## ----------------------------------------- ##
13565 ## Report this to wx-dev@lists.wxwidgets.org ##
13566 ## ----------------------------------------- ##
13569 sed "s/^/$as_me: WARNING: /" >&2
13572 echo "$as_me:$LINENO: checking for $ac_header" >&5
13573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 eval "$as_ac_Header=\$ac_header_preproc"
13579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13584 cat >>confdefs.h
<<_ACEOF
13585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13595 for ac_header
in fnmatch.h
13597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13599 echo "$as_me:$LINENO: checking for $ac_header" >&5
13600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13602 echo $ECHO_N "(cached) $ECHO_C" >&6
13604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13607 # Is the header compilable?
13608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13610 cat >conftest.
$ac_ext <<_ACEOF
13613 cat confdefs.h
>>conftest.
$ac_ext
13614 cat >>conftest.
$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13616 $ac_includes_default
13617 #include <$ac_header>
13619 rm -f conftest.
$ac_objext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13621 (eval $ac_compile) 2>conftest.er1
13623 grep -v '^ *+' conftest.er1
>conftest.err
13625 cat conftest.err
>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; } &&
13634 { ac_try
='test -s conftest.$ac_objext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13640 ac_header_compiler
=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_header_compiler
=no
13647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13649 echo "${ECHO_T}$ac_header_compiler" >&6
13651 # Is the header present?
13652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13654 cat >conftest.
$ac_ext <<_ACEOF
13657 cat confdefs.h
>>conftest.
$ac_ext
13658 cat >>conftest.
$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 #include <$ac_header>
13662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13663 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13665 grep -v '^ *+' conftest.er1
>conftest.err
13667 cat conftest.err
>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } >/dev
/null
; then
13670 if test -s conftest.err
; then
13671 ac_cpp_err
=$ac_c_preproc_warn_flag
13672 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13679 if test -z "$ac_cpp_err"; then
13680 ac_header_preproc
=yes
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.
$ac_ext >&5
13685 ac_header_preproc
=no
13687 rm -f conftest.err conftest.
$ac_ext
13688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13689 echo "${ECHO_T}$ac_header_preproc" >&6
13691 # So? What about this header?
13692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13698 ac_header_preproc
=yes
13701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13715 ## ----------------------------------------- ##
13716 ## Report this to wx-dev@lists.wxwidgets.org ##
13717 ## ----------------------------------------- ##
13720 sed "s/^/$as_me: WARNING: /" >&2
13723 echo "$as_me:$LINENO: checking for $ac_header" >&5
13724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 eval "$as_ac_Header=\$ac_header_preproc"
13730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13735 cat >>confdefs.h
<<_ACEOF
13736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13744 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13746 for ac_func
in fnmatch
13748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13749 echo "$as_me:$LINENO: checking for $ac_func" >&5
13750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13751 if eval "test \"\${$as_ac_var+set}\" = set"; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 cat >conftest.
$ac_ext <<_ACEOF
13757 cat confdefs.h
>>conftest.
$ac_ext
13758 cat >>conftest.
$ac_ext <<_ACEOF
13759 /* end confdefs.h. */
13760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13762 #define $ac_func innocuous_$ac_func
13764 /* System header to define __stub macros and hopefully few prototypes,
13765 which can conflict with char $ac_func (); below.
13766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13767 <limits.h> exists even on freestanding compilers. */
13770 # include <limits.h>
13772 # include <assert.h>
13777 /* Override any gcc2 internal prototype to avoid an error. */
13782 /* We use char because int might match the return type of a gcc2
13783 builtin and then its argument prototype would still apply. */
13785 /* The GNU C library defines this for functions which it implements
13786 to always fail with ENOSYS. Some functions are actually named
13787 something starting with __ and the normal name is an alias. */
13788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13791 char (*f) () = $ac_func;
13800 return f != $ac_func;
13805 rm -f conftest.
$ac_objext conftest
$ac_exeext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13807 (eval $ac_link) 2>conftest.er1
13809 grep -v '^ *+' conftest.er1
>conftest.err
13811 cat conftest.err
>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); } &&
13814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; } &&
13820 { ac_try
='test -s conftest$ac_exeext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 eval "$as_ac_var=yes"
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.
$ac_ext >&5
13831 eval "$as_ac_var=no"
13833 rm -f conftest.err conftest.
$ac_objext \
13834 conftest
$ac_exeext conftest.
$ac_ext
13836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13838 if test `eval echo '${'$as_ac_var'}'` = yes; then
13839 cat >>confdefs.h
<<_ACEOF
13840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13849 for ac_header
in langinfo.h
13851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13853 echo "$as_me:$LINENO: checking for $ac_header" >&5
13854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13861 # Is the header compilable?
13862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13864 cat >conftest.
$ac_ext <<_ACEOF
13867 cat confdefs.h
>>conftest.
$ac_ext
13868 cat >>conftest.
$ac_ext <<_ACEOF
13869 /* end confdefs.h. */
13870 $ac_includes_default
13871 #include <$ac_header>
13873 rm -f conftest.
$ac_objext
13874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13875 (eval $ac_compile) 2>conftest.er1
13877 grep -v '^ *+' conftest.er1
>conftest.err
13879 cat conftest.err
>&5
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } &&
13882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; } &&
13888 { ac_try
='test -s conftest.$ac_objext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 ac_header_compiler
=yes
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 ac_header_compiler
=no
13901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13903 echo "${ECHO_T}$ac_header_compiler" >&6
13905 # Is the header present?
13906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13908 cat >conftest.
$ac_ext <<_ACEOF
13911 cat confdefs.h
>>conftest.
$ac_ext
13912 cat >>conftest.
$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13914 #include <$ac_header>
13916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13917 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13919 grep -v '^ *+' conftest.er1
>conftest.err
13921 cat conftest.err
>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } >/dev
/null
; then
13924 if test -s conftest.err
; then
13925 ac_cpp_err
=$ac_c_preproc_warn_flag
13926 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13933 if test -z "$ac_cpp_err"; then
13934 ac_header_preproc
=yes
13936 echo "$as_me: failed program was:" >&5
13937 sed 's/^/| /' conftest.
$ac_ext >&5
13939 ac_header_preproc
=no
13941 rm -f conftest.err conftest.
$ac_ext
13942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13943 echo "${ECHO_T}$ac_header_preproc" >&6
13945 # So? What about this header?
13946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13952 ac_header_preproc
=yes
13955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13969 ## ----------------------------------------- ##
13970 ## Report this to wx-dev@lists.wxwidgets.org ##
13971 ## ----------------------------------------- ##
13974 sed "s/^/$as_me: WARNING: /" >&2
13977 echo "$as_me:$LINENO: checking for $ac_header" >&5
13978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13982 eval "$as_ac_Header=\$ac_header_preproc"
13984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13989 cat >>confdefs.h
<<_ACEOF
13990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13999 *-pc-os2_emx | *-pc-os2-emx )
14000 if test $ac_cv_header_langinfo_h = "yes"; then
14001 LIBS
="$LIBS -lintl"
14006 if test "$wxUSE_GUI" = "yes"; then
14007 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14009 for ac_header
in X
11/Xlib.h
14011 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14013 echo "$as_me:$LINENO: checking for $ac_header" >&5
14014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14021 # Is the header compilable?
14022 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14023 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14024 cat >conftest.
$ac_ext <<_ACEOF
14027 cat confdefs.h
>>conftest.
$ac_ext
14028 cat >>conftest.
$ac_ext <<_ACEOF
14029 /* end confdefs.h. */
14030 $ac_includes_default
14031 #include <$ac_header>
14033 rm -f conftest.
$ac_objext
14034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14035 (eval $ac_compile) 2>conftest.er1
14037 grep -v '^ *+' conftest.er1
>conftest.err
14039 cat conftest.err
>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } &&
14042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14044 (eval $ac_try) 2>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; } &&
14048 { ac_try
='test -s conftest.$ac_objext'
14049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14050 (eval $ac_try) 2>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; }; then
14054 ac_header_compiler
=yes
14056 echo "$as_me: failed program was:" >&5
14057 sed 's/^/| /' conftest.
$ac_ext >&5
14059 ac_header_compiler
=no
14061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14063 echo "${ECHO_T}$ac_header_compiler" >&6
14065 # Is the header present?
14066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14068 cat >conftest.
$ac_ext <<_ACEOF
14071 cat confdefs.h
>>conftest.
$ac_ext
14072 cat >>conftest.
$ac_ext <<_ACEOF
14073 /* end confdefs.h. */
14074 #include <$ac_header>
14076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14079 grep -v '^ *+' conftest.er1
>conftest.err
14081 cat conftest.err
>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } >/dev
/null
; then
14084 if test -s conftest.err
; then
14085 ac_cpp_err
=$ac_c_preproc_warn_flag
14086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14093 if test -z "$ac_cpp_err"; then
14094 ac_header_preproc
=yes
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.
$ac_ext >&5
14099 ac_header_preproc
=no
14101 rm -f conftest.err conftest.
$ac_ext
14102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14103 echo "${ECHO_T}$ac_header_preproc" >&6
14105 # So? What about this header?
14106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14112 ac_header_preproc
=yes
14115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14129 ## ----------------------------------------- ##
14130 ## Report this to wx-dev@lists.wxwidgets.org ##
14131 ## ----------------------------------------- ##
14134 sed "s/^/$as_me: WARNING: /" >&2
14137 echo "$as_me:$LINENO: checking for $ac_header" >&5
14138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14142 eval "$as_ac_Header=\$ac_header_preproc"
14144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14149 cat >>confdefs.h
<<_ACEOF
14150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14158 for ac_header
in X
11/XKBlib.h
14160 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14161 echo "$as_me:$LINENO: checking for $ac_header" >&5
14162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14164 echo $ECHO_N "(cached) $ECHO_C" >&6
14166 cat >conftest.
$ac_ext <<_ACEOF
14169 cat confdefs.h
>>conftest.
$ac_ext
14170 cat >>conftest.
$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14173 #if HAVE_X11_XLIB_H
14174 #include <X11/Xlib.h>
14178 #include <$ac_header>
14180 rm -f conftest.
$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182 (eval $ac_compile) 2>conftest.er1
14184 grep -v '^ *+' conftest.er1
>conftest.err
14186 cat conftest.err
>&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; } &&
14195 { ac_try
='test -s conftest.$ac_objext'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; }; then
14201 eval "$as_ac_Header=yes"
14203 echo "$as_me: failed program was:" >&5
14204 sed 's/^/| /' conftest.
$ac_ext >&5
14206 eval "$as_ac_Header=no"
14208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14213 cat >>confdefs.h
<<_ACEOF
14214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14225 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14226 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14227 if test "${ac_cv_c_const+set}" = set; then
14228 echo $ECHO_N "(cached) $ECHO_C" >&6
14230 cat >conftest.
$ac_ext <<_ACEOF
14233 cat confdefs.h
>>conftest.
$ac_ext
14234 cat >>conftest.
$ac_ext <<_ACEOF
14235 /* end confdefs.h. */
14240 /* FIXME: Include the comments suggested by Paul. */
14241 #ifndef __cplusplus
14242 /* Ultrix mips cc rejects this. */
14243 typedef int charset[2];
14245 /* SunOS 4.1.1 cc rejects this. */
14246 char const *const *ccp;
14248 /* NEC SVR4.0.2 mips cc rejects this. */
14249 struct point {int x, y;};
14250 static struct point const zero = {0,0};
14251 /* AIX XL C 1.02.0.0 rejects this.
14252 It does not let you subtract one const X* pointer from another in
14253 an arm of an if-expression whose if-part is not a constant
14255 const char *g = "string";
14256 ccp = &g + (g ? g-g : 0);
14257 /* HPUX 7.0 cc rejects these. */
14260 ccp = (char const *const *) p;
14261 { /* SCO 3.2v4 cc rejects this. */
14263 char const *s = 0 ? (char *) 0 : (char const *) 0;
14267 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14268 int x[] = {25, 17};
14269 const int *foo = &x[0];
14272 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14273 typedef const int *iptr;
14277 { /* AIX XL C 1.02.0.0 rejects this saying
14278 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14279 struct s { int j; const int *ap[3]; };
14280 struct s *b; b->j = 5;
14282 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14283 const int foo = 10;
14291 rm -f conftest.
$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>conftest.er1
14295 grep -v '^ *+' conftest.er1
>conftest.err
14297 cat conftest.err
>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try
='test -s conftest.$ac_objext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.
$ac_ext >&5
14319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14321 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14322 echo "${ECHO_T}$ac_cv_c_const" >&6
14323 if test $ac_cv_c_const = no
; then
14325 cat >>confdefs.h
<<\_ACEOF
14331 echo "$as_me:$LINENO: checking for inline" >&5
14332 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14333 if test "${ac_cv_c_inline+set}" = set; then
14334 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 for ac_kw
in inline __inline__ __inline
; do
14338 cat >conftest.
$ac_ext <<_ACEOF
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 #ifndef __cplusplus
14346 static $ac_kw foo_t static_foo () {return 0; }
14347 $ac_kw foo_t foo () {return 0; }
14351 rm -f conftest.
$ac_objext
14352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14353 (eval $ac_compile) 2>conftest.er1
14355 grep -v '^ *+' conftest.er1
>conftest.err
14357 cat conftest.err
>&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); } &&
14360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14362 (eval $ac_try) 2>&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); }; } &&
14366 { ac_try
='test -s conftest.$ac_objext'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; }; then
14372 ac_cv_c_inline
=$ac_kw; break
14374 echo "$as_me: failed program was:" >&5
14375 sed 's/^/| /' conftest.
$ac_ext >&5
14378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14382 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14383 echo "${ECHO_T}$ac_cv_c_inline" >&6
14386 case $ac_cv_c_inline in
14389 case $ac_cv_c_inline in
14391 *) ac_val
=$ac_cv_c_inline;;
14393 cat >>confdefs.h
<<_ACEOF
14394 #ifndef __cplusplus
14395 #define inline $ac_val
14402 echo "$as_me:$LINENO: checking for char" >&5
14403 echo $ECHO_N "checking for char... $ECHO_C" >&6
14404 if test "${ac_cv_type_char+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 cat >conftest.
$ac_ext <<_ACEOF
14410 cat confdefs.h
>>conftest.
$ac_ext
14411 cat >>conftest.
$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14425 rm -f conftest.
$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1
>conftest.err
14431 cat conftest.err
>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; } &&
14440 { ac_try
='test -s conftest.$ac_objext'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; }; then
14446 ac_cv_type_char
=yes
14448 echo "$as_me: failed program was:" >&5
14449 sed 's/^/| /' conftest.
$ac_ext >&5
14453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14455 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14456 echo "${ECHO_T}$ac_cv_type_char" >&6
14458 echo "$as_me:$LINENO: checking size of char" >&5
14459 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14460 if test "${ac_cv_sizeof_char+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 if test "$ac_cv_type_char" = yes; then
14464 # The cast to unsigned long works around a bug in the HP C Compiler
14465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14467 # This bug is HP SR number 8606223364.
14468 if test "$cross_compiling" = yes; then
14469 # Depending upon the size, compute the lo and hi bounds.
14470 cat >conftest.
$ac_ext <<_ACEOF
14473 cat confdefs.h
>>conftest.
$ac_ext
14474 cat >>conftest.
$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14476 $ac_includes_default
14480 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14487 rm -f conftest.
$ac_objext
14488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14489 (eval $ac_compile) 2>conftest.er1
14491 grep -v '^ *+' conftest.er1
>conftest.err
14493 cat conftest.err
>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } &&
14496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14498 (eval $ac_try) 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; } &&
14502 { ac_try
='test -s conftest.$ac_objext'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; }; then
14510 cat >conftest.
$ac_ext <<_ACEOF
14513 cat confdefs.h
>>conftest.
$ac_ext
14514 cat >>conftest.
$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 $ac_includes_default
14520 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14527 rm -f conftest.
$ac_objext
14528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14529 (eval $ac_compile) 2>conftest.er1
14531 grep -v '^ *+' conftest.er1
>conftest.err
14533 cat conftest.err
>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); } &&
14536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; } &&
14542 { ac_try
='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_hi
=$ac_mid; break
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.
$ac_ext >&5
14553 ac_lo
=`expr $ac_mid + 1`
14554 if test $ac_lo -le $ac_mid; then
14558 ac_mid
=`expr 2 '*' $ac_mid + 1`
14560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.
$ac_ext >&5
14566 cat >conftest.
$ac_ext <<_ACEOF
14569 cat confdefs.h
>>conftest.
$ac_ext
14570 cat >>conftest.
$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14572 $ac_includes_default
14576 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14583 rm -f conftest.
$ac_objext
14584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14585 (eval $ac_compile) 2>conftest.er1
14587 grep -v '^ *+' conftest.er1
>conftest.err
14589 cat conftest.err
>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
14598 { ac_try
='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14606 cat >conftest.
$ac_ext <<_ACEOF
14609 cat confdefs.h
>>conftest.
$ac_ext
14610 cat >>conftest.
$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14612 $ac_includes_default
14616 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14623 rm -f conftest.
$ac_objext
14624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14625 (eval $ac_compile) 2>conftest.er1
14627 grep -v '^ *+' conftest.er1
>conftest.err
14629 cat conftest.err
>&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } &&
14632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14634 (eval $ac_try) 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try
='test -s conftest.$ac_objext'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; }; then
14644 ac_lo
=$ac_mid; break
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.
$ac_ext >&5
14649 ac_hi
=`expr '(' $ac_mid ')' - 1`
14650 if test $ac_mid -le $ac_hi; then
14654 ac_mid
=`expr 2 '*' $ac_mid`
14656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14659 echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.
$ac_ext >&5
14664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14667 # Binary search between lo and hi bounds.
14668 while test "x$ac_lo" != "x$ac_hi"; do
14669 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14670 cat >conftest.
$ac_ext <<_ACEOF
14673 cat confdefs.h
>>conftest.
$ac_ext
14674 cat >>conftest.
$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676 $ac_includes_default
14680 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14687 rm -f conftest.
$ac_objext
14688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14689 (eval $ac_compile) 2>conftest.er1
14691 grep -v '^ *+' conftest.er1
>conftest.err
14693 cat conftest.err
>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } &&
14696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; } &&
14702 { ac_try
='test -s conftest.$ac_objext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14710 echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.
$ac_ext >&5
14713 ac_lo
=`expr '(' $ac_mid ')' + 1`
14715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14718 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14719 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14720 See \`config.log' for more details." >&5
14721 echo "$as_me: error: cannot compute sizeof (char), 77
14722 See \`config.log' for more details." >&2;}
14723 { (exit 1); exit 1; }; } ;;
14726 if test "$cross_compiling" = yes; then
14727 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14728 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14729 { (exit 1); exit 1; }; }
14731 cat >conftest.
$ac_ext <<_ACEOF
14734 cat confdefs.h
>>conftest.
$ac_ext
14735 cat >>conftest.
$ac_ext <<_ACEOF
14736 /* end confdefs.h. */
14737 $ac_includes_default
14738 long longval () { return (long) (sizeof (char)); }
14739 unsigned long ulongval () { return (long) (sizeof (char)); }
14741 #include <stdlib.h>
14746 FILE *f = fopen ("conftest.val", "w");
14749 if (((long) (sizeof (char))) < 0)
14751 long i = longval ();
14752 if (i != ((long) (sizeof (char))))
14754 fprintf (f, "%ld\n", i);
14758 unsigned long i = ulongval ();
14759 if (i != ((long) (sizeof (char))))
14761 fprintf (f, "%lu\n", i);
14763 exit (ferror (f) || fclose (f) != 0);
14769 rm -f conftest
$ac_exeext
14770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14771 (eval $ac_link) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; }; then
14780 ac_cv_sizeof_char
=`cat conftest.val`
14782 echo "$as_me: program exited with status $ac_status" >&5
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.
$ac_ext >&5
14786 ( exit $ac_status )
14787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14788 See \`config.log' for more details." >&5
14789 echo "$as_me: error: cannot compute sizeof (char), 77
14790 See \`config.log' for more details." >&2;}
14791 { (exit 1); exit 1; }; }
14793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14798 ac_cv_sizeof_char
=0
14801 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14802 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14803 cat >>confdefs.h
<<_ACEOF
14804 #define SIZEOF_CHAR $ac_cv_sizeof_char
14808 echo "$as_me:$LINENO: checking for short" >&5
14809 echo $ECHO_N "checking for short... $ECHO_C" >&6
14810 if test "${ac_cv_type_short+set}" = set; then
14811 echo $ECHO_N "(cached) $ECHO_C" >&6
14813 cat >conftest.
$ac_ext <<_ACEOF
14816 cat confdefs.h
>>conftest.
$ac_ext
14817 cat >>conftest.
$ac_ext <<_ACEOF
14818 /* end confdefs.h. */
14819 $ac_includes_default
14825 if (sizeof (short))
14831 rm -f conftest.
$ac_objext
14832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14833 (eval $ac_compile) 2>conftest.er1
14835 grep -v '^ *+' conftest.er1
>conftest.err
14837 cat conftest.err
>&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); } &&
14840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; } &&
14846 { ac_try
='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_cv_type_short
=yes
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.
$ac_ext >&5
14857 ac_cv_type_short
=no
14859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14861 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14862 echo "${ECHO_T}$ac_cv_type_short" >&6
14864 echo "$as_me:$LINENO: checking size of short" >&5
14865 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14866 if test "${ac_cv_sizeof_short+set}" = set; then
14867 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 if test "$ac_cv_type_short" = yes; then
14870 # The cast to unsigned long works around a bug in the HP C Compiler
14871 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14872 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14873 # This bug is HP SR number 8606223364.
14874 if test "$cross_compiling" = yes; then
14875 # Depending upon the size, compute the lo and hi bounds.
14876 cat >conftest.
$ac_ext <<_ACEOF
14879 cat confdefs.h
>>conftest.
$ac_ext
14880 cat >>conftest.
$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 $ac_includes_default
14886 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14893 rm -f conftest.
$ac_objext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14895 (eval $ac_compile) 2>conftest.er1
14897 grep -v '^ *+' conftest.er1
>conftest.err
14899 cat conftest.err
>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } &&
14902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try
='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14916 cat >conftest.
$ac_ext <<_ACEOF
14919 cat confdefs.h
>>conftest.
$ac_ext
14920 cat >>conftest.
$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 $ac_includes_default
14926 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14933 rm -f conftest.
$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>conftest.er1
14937 grep -v '^ *+' conftest.er1
>conftest.err
14939 cat conftest.err
>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try
='test -s conftest.$ac_objext'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; }; then
14954 ac_hi
=$ac_mid; break
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.
$ac_ext >&5
14959 ac_lo
=`expr $ac_mid + 1`
14960 if test $ac_lo -le $ac_mid; then
14964 ac_mid
=`expr 2 '*' $ac_mid + 1`
14966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.
$ac_ext >&5
14972 cat >conftest.
$ac_ext <<_ACEOF
14975 cat confdefs.h
>>conftest.
$ac_ext
14976 cat >>conftest.
$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 $ac_includes_default
14982 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14989 rm -f conftest.
$ac_objext
14990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14991 (eval $ac_compile) 2>conftest.er1
14993 grep -v '^ *+' conftest.er1
>conftest.err
14995 cat conftest.err
>&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } &&
14998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; } &&
15004 { ac_try
='test -s conftest.$ac_objext'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; }; then
15012 cat >conftest.
$ac_ext <<_ACEOF
15015 cat confdefs.h
>>conftest.
$ac_ext
15016 cat >>conftest.
$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 $ac_includes_default
15022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15029 rm -f conftest.
$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15033 grep -v '^ *+' conftest.er1
>conftest.err
15035 cat conftest.err
>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try
='test -s conftest.$ac_objext'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; }; then
15050 ac_lo
=$ac_mid; break
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.
$ac_ext >&5
15055 ac_hi
=`expr '(' $ac_mid ')' - 1`
15056 if test $ac_mid -le $ac_hi; then
15060 ac_mid
=`expr 2 '*' $ac_mid`
15062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.
$ac_ext >&5
15070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15073 # Binary search between lo and hi bounds.
15074 while test "x$ac_lo" != "x$ac_hi"; do
15075 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15076 cat >conftest.
$ac_ext <<_ACEOF
15079 cat confdefs.h
>>conftest.
$ac_ext
15080 cat >>conftest.
$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15082 $ac_includes_default
15086 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15093 rm -f conftest.
$ac_objext
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>conftest.er1
15097 grep -v '^ *+' conftest.er1
>conftest.err
15099 cat conftest.err
>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); } &&
15102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; } &&
15108 { ac_try
='test -s conftest.$ac_objext'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; }; then
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.
$ac_ext >&5
15119 ac_lo
=`expr '(' $ac_mid ')' + 1`
15121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15124 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15125 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15126 See \`config.log' for more details." >&5
15127 echo "$as_me: error: cannot compute sizeof (short), 77
15128 See \`config.log' for more details." >&2;}
15129 { (exit 1); exit 1; }; } ;;
15132 if test "$cross_compiling" = yes; then
15133 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15134 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15135 { (exit 1); exit 1; }; }
15137 cat >conftest.
$ac_ext <<_ACEOF
15140 cat confdefs.h
>>conftest.
$ac_ext
15141 cat >>conftest.
$ac_ext <<_ACEOF
15142 /* end confdefs.h. */
15143 $ac_includes_default
15144 long longval () { return (long) (sizeof (short)); }
15145 unsigned long ulongval () { return (long) (sizeof (short)); }
15147 #include <stdlib.h>
15152 FILE *f = fopen ("conftest.val", "w");
15155 if (((long) (sizeof (short))) < 0)
15157 long i = longval ();
15158 if (i != ((long) (sizeof (short))))
15160 fprintf (f, "%ld\n", i);
15164 unsigned long i = ulongval ();
15165 if (i != ((long) (sizeof (short))))
15167 fprintf (f, "%lu\n", i);
15169 exit (ferror (f) || fclose (f) != 0);
15175 rm -f conftest
$ac_exeext
15176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15177 (eval $ac_link) 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; }; then
15186 ac_cv_sizeof_short
=`cat conftest.val`
15188 echo "$as_me: program exited with status $ac_status" >&5
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.
$ac_ext >&5
15192 ( exit $ac_status )
15193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15194 See \`config.log' for more details." >&5
15195 echo "$as_me: error: cannot compute sizeof (short), 77
15196 See \`config.log' for more details." >&2;}
15197 { (exit 1); exit 1; }; }
15199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15204 ac_cv_sizeof_short
=0
15207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15208 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15209 cat >>confdefs.h
<<_ACEOF
15210 #define SIZEOF_SHORT $ac_cv_sizeof_short
15214 echo "$as_me:$LINENO: checking for void *" >&5
15215 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15216 if test "${ac_cv_type_void_p+set}" = set; then
15217 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 cat >conftest.
$ac_ext <<_ACEOF
15222 cat confdefs.h
>>conftest.
$ac_ext
15223 cat >>conftest.
$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15231 if (sizeof (void *))
15237 rm -f conftest.
$ac_objext
15238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15239 (eval $ac_compile) 2>conftest.er1
15241 grep -v '^ *+' conftest.er1
>conftest.err
15243 cat conftest.err
>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); } &&
15246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; } &&
15252 { ac_try
='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_cv_type_void_p
=yes
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.
$ac_ext >&5
15263 ac_cv_type_void_p
=no
15265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15270 echo "$as_me:$LINENO: checking size of void *" >&5
15271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15272 if test "${ac_cv_sizeof_void_p+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15275 if test "$ac_cv_type_void_p" = yes; then
15276 # The cast to unsigned long works around a bug in the HP C Compiler
15277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15279 # This bug is HP SR number 8606223364.
15280 if test "$cross_compiling" = yes; then
15281 # Depending upon the size, compute the lo and hi bounds.
15282 cat >conftest.
$ac_ext <<_ACEOF
15285 cat confdefs.h
>>conftest.
$ac_ext
15286 cat >>conftest.
$ac_ext <<_ACEOF
15287 /* end confdefs.h. */
15288 $ac_includes_default
15292 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15299 rm -f conftest.
$ac_objext
15300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15301 (eval $ac_compile) 2>conftest.er1
15303 grep -v '^ *+' conftest.er1
>conftest.err
15305 cat conftest.err
>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } &&
15308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; } &&
15314 { ac_try
='test -s conftest.$ac_objext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15322 cat >conftest.
$ac_ext <<_ACEOF
15325 cat confdefs.h
>>conftest.
$ac_ext
15326 cat >>conftest.
$ac_ext <<_ACEOF
15327 /* end confdefs.h. */
15328 $ac_includes_default
15332 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15339 rm -f conftest.
$ac_objext
15340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15341 (eval $ac_compile) 2>conftest.er1
15343 grep -v '^ *+' conftest.er1
>conftest.err
15345 cat conftest.err
>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); } &&
15348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15350 (eval $ac_try) 2>&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); }; } &&
15354 { ac_try
='test -s conftest.$ac_objext'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; }; then
15360 ac_hi
=$ac_mid; break
15362 echo "$as_me: failed program was:" >&5
15363 sed 's/^/| /' conftest.
$ac_ext >&5
15365 ac_lo
=`expr $ac_mid + 1`
15366 if test $ac_lo -le $ac_mid; then
15370 ac_mid
=`expr 2 '*' $ac_mid + 1`
15372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.
$ac_ext >&5
15378 cat >conftest.
$ac_ext <<_ACEOF
15381 cat confdefs.h
>>conftest.
$ac_ext
15382 cat >>conftest.
$ac_ext <<_ACEOF
15383 /* end confdefs.h. */
15384 $ac_includes_default
15388 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15395 rm -f conftest.
$ac_objext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>conftest.er1
15399 grep -v '^ *+' conftest.er1
>conftest.err
15401 cat conftest.err
>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } &&
15410 { ac_try
='test -s conftest.$ac_objext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15418 cat >conftest.
$ac_ext <<_ACEOF
15421 cat confdefs.h
>>conftest.
$ac_ext
15422 cat >>conftest.
$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 $ac_includes_default
15428 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15435 rm -f conftest.
$ac_objext
15436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15437 (eval $ac_compile) 2>conftest.er1
15439 grep -v '^ *+' conftest.er1
>conftest.err
15441 cat conftest.err
>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } &&
15444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15446 (eval $ac_try) 2>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; } &&
15450 { ac_try
='test -s conftest.$ac_objext'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; }; then
15456 ac_lo
=$ac_mid; break
15458 echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.
$ac_ext >&5
15461 ac_hi
=`expr '(' $ac_mid ')' - 1`
15462 if test $ac_mid -le $ac_hi; then
15466 ac_mid
=`expr 2 '*' $ac_mid`
15468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.
$ac_ext >&5
15476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15479 # Binary search between lo and hi bounds.
15480 while test "x$ac_lo" != "x$ac_hi"; do
15481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15482 cat >conftest.
$ac_ext <<_ACEOF
15485 cat confdefs.h
>>conftest.
$ac_ext
15486 cat >>conftest.
$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 $ac_includes_default
15492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15499 rm -f conftest.
$ac_objext
15500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15501 (eval $ac_compile) 2>conftest.er1
15503 grep -v '^ *+' conftest.er1
>conftest.err
15505 cat conftest.err
>&5
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); } &&
15508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510 (eval $ac_try) 2>&5
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; } &&
15514 { ac_try
='test -s conftest.$ac_objext'
15515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15516 (eval $ac_try) 2>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); }; }; then
15522 echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.
$ac_ext >&5
15525 ac_lo
=`expr '(' $ac_mid ')' + 1`
15527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15530 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15531 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15532 See \`config.log' for more details." >&5
15533 echo "$as_me: error: cannot compute sizeof (void *), 77
15534 See \`config.log' for more details." >&2;}
15535 { (exit 1); exit 1; }; } ;;
15538 if test "$cross_compiling" = yes; then
15539 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15540 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15541 { (exit 1); exit 1; }; }
15543 cat >conftest.
$ac_ext <<_ACEOF
15546 cat confdefs.h
>>conftest.
$ac_ext
15547 cat >>conftest.
$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549 $ac_includes_default
15550 long longval () { return (long) (sizeof (void *)); }
15551 unsigned long ulongval () { return (long) (sizeof (void *)); }
15553 #include <stdlib.h>
15558 FILE *f = fopen ("conftest.val", "w");
15561 if (((long) (sizeof (void *))) < 0)
15563 long i = longval ();
15564 if (i != ((long) (sizeof (void *))))
15566 fprintf (f, "%ld\n", i);
15570 unsigned long i = ulongval ();
15571 if (i != ((long) (sizeof (void *))))
15573 fprintf (f, "%lu\n", i);
15575 exit (ferror (f) || fclose (f) != 0);
15581 rm -f conftest
$ac_exeext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15583 (eval $ac_link) 2>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15592 ac_cv_sizeof_void_p
=`cat conftest.val`
15594 echo "$as_me: program exited with status $ac_status" >&5
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.
$ac_ext >&5
15598 ( exit $ac_status )
15599 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15600 See \`config.log' for more details." >&5
15601 echo "$as_me: error: cannot compute sizeof (void *), 77
15602 See \`config.log' for more details." >&2;}
15603 { (exit 1); exit 1; }; }
15605 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15610 ac_cv_sizeof_void_p
=0
15613 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15614 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15615 cat >>confdefs.h
<<_ACEOF
15616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15620 echo "$as_me:$LINENO: checking for int" >&5
15621 echo $ECHO_N "checking for int... $ECHO_C" >&6
15622 if test "${ac_cv_type_int+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 cat >conftest.
$ac_ext <<_ACEOF
15628 cat confdefs.h
>>conftest.
$ac_ext
15629 cat >>conftest.
$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15631 $ac_includes_default
15643 rm -f conftest.
$ac_objext
15644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15645 (eval $ac_compile) 2>conftest.er1
15647 grep -v '^ *+' conftest.er1
>conftest.err
15649 cat conftest.err
>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); } &&
15652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; } &&
15658 { ac_try
='test -s conftest.$ac_objext'
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660 (eval $ac_try) 2>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; }; then
15666 echo "$as_me: failed program was:" >&5
15667 sed 's/^/| /' conftest.
$ac_ext >&5
15671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15673 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15674 echo "${ECHO_T}$ac_cv_type_int" >&6
15676 echo "$as_me:$LINENO: checking size of int" >&5
15677 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15678 if test "${ac_cv_sizeof_int+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15681 if test "$ac_cv_type_int" = yes; then
15682 # The cast to unsigned long works around a bug in the HP C Compiler
15683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15685 # This bug is HP SR number 8606223364.
15686 if test "$cross_compiling" = yes; then
15687 # Depending upon the size, compute the lo and hi bounds.
15688 cat >conftest.
$ac_ext <<_ACEOF
15691 cat confdefs.h
>>conftest.
$ac_ext
15692 cat >>conftest.
$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15694 $ac_includes_default
15698 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15705 rm -f conftest.
$ac_objext
15706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15707 (eval $ac_compile) 2>conftest.er1
15709 grep -v '^ *+' conftest.er1
>conftest.err
15711 cat conftest.err
>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } &&
15714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; } &&
15720 { ac_try
='test -s conftest.$ac_objext'
15721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15722 (eval $ac_try) 2>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; }; then
15728 cat >conftest.
$ac_ext <<_ACEOF
15731 cat confdefs.h
>>conftest.
$ac_ext
15732 cat >>conftest.
$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15734 $ac_includes_default
15738 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15745 rm -f conftest.
$ac_objext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>conftest.er1
15749 grep -v '^ *+' conftest.er1
>conftest.err
15751 cat conftest.err
>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try
='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 ac_hi
=$ac_mid; break
15768 echo "$as_me: failed program was:" >&5
15769 sed 's/^/| /' conftest.
$ac_ext >&5
15771 ac_lo
=`expr $ac_mid + 1`
15772 if test $ac_lo -le $ac_mid; then
15776 ac_mid
=`expr 2 '*' $ac_mid + 1`
15778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.
$ac_ext >&5
15784 cat >conftest.
$ac_ext <<_ACEOF
15787 cat confdefs.h
>>conftest.
$ac_ext
15788 cat >>conftest.
$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 $ac_includes_default
15794 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15801 rm -f conftest.
$ac_objext
15802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15803 (eval $ac_compile) 2>conftest.er1
15805 grep -v '^ *+' conftest.er1
>conftest.err
15807 cat conftest.err
>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try
='test -s conftest.$ac_objext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15824 cat >conftest.
$ac_ext <<_ACEOF
15827 cat confdefs.h
>>conftest.
$ac_ext
15828 cat >>conftest.
$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15830 $ac_includes_default
15834 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15841 rm -f conftest.
$ac_objext
15842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15843 (eval $ac_compile) 2>conftest.er1
15845 grep -v '^ *+' conftest.er1
>conftest.err
15847 cat conftest.err
>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); } &&
15850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; } &&
15856 { ac_try
='test -s conftest.$ac_objext'
15857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858 (eval $ac_try) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; }; then
15862 ac_lo
=$ac_mid; break
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.
$ac_ext >&5
15867 ac_hi
=`expr '(' $ac_mid ')' - 1`
15868 if test $ac_mid -le $ac_hi; then
15872 ac_mid
=`expr 2 '*' $ac_mid`
15874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.
$ac_ext >&5
15882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15885 # Binary search between lo and hi bounds.
15886 while test "x$ac_lo" != "x$ac_hi"; do
15887 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15888 cat >conftest.
$ac_ext <<_ACEOF
15891 cat confdefs.h
>>conftest.
$ac_ext
15892 cat >>conftest.
$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 $ac_includes_default
15898 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15905 rm -f conftest.
$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>conftest.er1
15909 grep -v '^ *+' conftest.er1
>conftest.err
15911 cat conftest.err
>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } &&
15914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; } &&
15920 { ac_try
='test -s conftest.$ac_objext'
15921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15922 (eval $ac_try) 2>&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); }; }; then
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.
$ac_ext >&5
15931 ac_lo
=`expr '(' $ac_mid ')' + 1`
15933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15936 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15938 See \`config.log' for more details." >&5
15939 echo "$as_me: error: cannot compute sizeof (int), 77
15940 See \`config.log' for more details." >&2;}
15941 { (exit 1); exit 1; }; } ;;
15944 if test "$cross_compiling" = yes; then
15945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15947 { (exit 1); exit 1; }; }
15949 cat >conftest.
$ac_ext <<_ACEOF
15952 cat confdefs.h
>>conftest.
$ac_ext
15953 cat >>conftest.
$ac_ext <<_ACEOF
15954 /* end confdefs.h. */
15955 $ac_includes_default
15956 long longval () { return (long) (sizeof (int)); }
15957 unsigned long ulongval () { return (long) (sizeof (int)); }
15959 #include <stdlib.h>
15964 FILE *f = fopen ("conftest.val", "w");
15967 if (((long) (sizeof (int))) < 0)
15969 long i = longval ();
15970 if (i != ((long) (sizeof (int))))
15972 fprintf (f, "%ld\n", i);
15976 unsigned long i = ulongval ();
15977 if (i != ((long) (sizeof (int))))
15979 fprintf (f, "%lu\n", i);
15981 exit (ferror (f) || fclose (f) != 0);
15987 rm -f conftest
$ac_exeext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15989 (eval $ac_link) 2>&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_cv_sizeof_int
=`cat conftest.val`
16000 echo "$as_me: program exited with status $ac_status" >&5
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.
$ac_ext >&5
16004 ( exit $ac_status )
16005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16006 See \`config.log' for more details." >&5
16007 echo "$as_me: error: cannot compute sizeof (int), 77
16008 See \`config.log' for more details." >&2;}
16009 { (exit 1); exit 1; }; }
16011 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16020 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16021 cat >>confdefs.h
<<_ACEOF
16022 #define SIZEOF_INT $ac_cv_sizeof_int
16026 echo "$as_me:$LINENO: checking for long" >&5
16027 echo $ECHO_N "checking for long... $ECHO_C" >&6
16028 if test "${ac_cv_type_long+set}" = set; then
16029 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 cat >conftest.
$ac_ext <<_ACEOF
16034 cat confdefs.h
>>conftest.
$ac_ext
16035 cat >>conftest.
$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 $ac_includes_default
16049 rm -f conftest.
$ac_objext
16050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>conftest.er1
16053 grep -v '^ *+' conftest.er1
>conftest.err
16055 cat conftest.err
>&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } &&
16058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16060 (eval $ac_try) 2>&5
16062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063 (exit $ac_status); }; } &&
16064 { ac_try
='test -s conftest.$ac_objext'
16065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16066 (eval $ac_try) 2>&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); }; }; then
16070 ac_cv_type_long
=yes
16072 echo "$as_me: failed program was:" >&5
16073 sed 's/^/| /' conftest.
$ac_ext >&5
16077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16079 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16080 echo "${ECHO_T}$ac_cv_type_long" >&6
16082 echo "$as_me:$LINENO: checking size of long" >&5
16083 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16084 if test "${ac_cv_sizeof_long+set}" = set; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 if test "$ac_cv_type_long" = yes; then
16088 # The cast to unsigned long works around a bug in the HP C Compiler
16089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16091 # This bug is HP SR number 8606223364.
16092 if test "$cross_compiling" = yes; then
16093 # Depending upon the size, compute the lo and hi bounds.
16094 cat >conftest.
$ac_ext <<_ACEOF
16097 cat confdefs.h
>>conftest.
$ac_ext
16098 cat >>conftest.
$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 $ac_includes_default
16104 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16111 rm -f conftest.
$ac_objext
16112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16113 (eval $ac_compile) 2>conftest.er1
16115 grep -v '^ *+' conftest.er1
>conftest.err
16117 cat conftest.err
>&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } &&
16120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try
='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16134 cat >conftest.
$ac_ext <<_ACEOF
16137 cat confdefs.h
>>conftest.
$ac_ext
16138 cat >>conftest.
$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 $ac_includes_default
16144 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16151 rm -f conftest.
$ac_objext
16152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16153 (eval $ac_compile) 2>conftest.er1
16155 grep -v '^ *+' conftest.er1
>conftest.err
16157 cat conftest.err
>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } &&
16160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; } &&
16166 { ac_try
='test -s conftest.$ac_objext'
16167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168 (eval $ac_try) 2>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16172 ac_hi
=$ac_mid; break
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.
$ac_ext >&5
16177 ac_lo
=`expr $ac_mid + 1`
16178 if test $ac_lo -le $ac_mid; then
16182 ac_mid
=`expr 2 '*' $ac_mid + 1`
16184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.
$ac_ext >&5
16190 cat >conftest.
$ac_ext <<_ACEOF
16193 cat confdefs.h
>>conftest.
$ac_ext
16194 cat >>conftest.
$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 $ac_includes_default
16200 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16207 rm -f conftest.
$ac_objext
16208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16209 (eval $ac_compile) 2>conftest.er1
16211 grep -v '^ *+' conftest.er1
>conftest.err
16213 cat conftest.err
>&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } &&
16216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; } &&
16222 { ac_try
='test -s conftest.$ac_objext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16230 cat >conftest.
$ac_ext <<_ACEOF
16233 cat confdefs.h
>>conftest.
$ac_ext
16234 cat >>conftest.
$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236 $ac_includes_default
16240 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16247 rm -f conftest.
$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>conftest.er1
16251 grep -v '^ *+' conftest.er1
>conftest.err
16253 cat conftest.err
>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); } &&
16256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; } &&
16262 { ac_try
='test -s conftest.$ac_objext'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 ac_lo
=$ac_mid; break
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.
$ac_ext >&5
16273 ac_hi
=`expr '(' $ac_mid ')' - 1`
16274 if test $ac_mid -le $ac_hi; then
16278 ac_mid
=`expr 2 '*' $ac_mid`
16280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.
$ac_ext >&5
16288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16291 # Binary search between lo and hi bounds.
16292 while test "x$ac_lo" != "x$ac_hi"; do
16293 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16294 cat >conftest.
$ac_ext <<_ACEOF
16297 cat confdefs.h
>>conftest.
$ac_ext
16298 cat >>conftest.
$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300 $ac_includes_default
16304 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16311 rm -f conftest.
$ac_objext
16312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16313 (eval $ac_compile) 2>conftest.er1
16315 grep -v '^ *+' conftest.er1
>conftest.err
16317 cat conftest.err
>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; } &&
16326 { ac_try
='test -s conftest.$ac_objext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.
$ac_ext >&5
16337 ac_lo
=`expr '(' $ac_mid ')' + 1`
16339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16342 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16343 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16344 See \`config.log' for more details." >&5
16345 echo "$as_me: error: cannot compute sizeof (long), 77
16346 See \`config.log' for more details." >&2;}
16347 { (exit 1); exit 1; }; } ;;
16350 if test "$cross_compiling" = yes; then
16351 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16352 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16353 { (exit 1); exit 1; }; }
16355 cat >conftest.
$ac_ext <<_ACEOF
16358 cat confdefs.h
>>conftest.
$ac_ext
16359 cat >>conftest.
$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16361 $ac_includes_default
16362 long longval () { return (long) (sizeof (long)); }
16363 unsigned long ulongval () { return (long) (sizeof (long)); }
16365 #include <stdlib.h>
16370 FILE *f = fopen ("conftest.val", "w");
16373 if (((long) (sizeof (long))) < 0)
16375 long i = longval ();
16376 if (i != ((long) (sizeof (long))))
16378 fprintf (f, "%ld\n", i);
16382 unsigned long i = ulongval ();
16383 if (i != ((long) (sizeof (long))))
16385 fprintf (f, "%lu\n", i);
16387 exit (ferror (f) || fclose (f) != 0);
16393 rm -f conftest
$ac_exeext
16394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16395 (eval $ac_link) 2>&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 ac_cv_sizeof_long
=`cat conftest.val`
16406 echo "$as_me: program exited with status $ac_status" >&5
16407 echo "$as_me: failed program was:" >&5
16408 sed 's/^/| /' conftest.
$ac_ext >&5
16410 ( exit $ac_status )
16411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16412 See \`config.log' for more details." >&5
16413 echo "$as_me: error: cannot compute sizeof (long), 77
16414 See \`config.log' for more details." >&2;}
16415 { (exit 1); exit 1; }; }
16417 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16422 ac_cv_sizeof_long
=0
16425 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16426 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16427 cat >>confdefs.h
<<_ACEOF
16428 #define SIZEOF_LONG $ac_cv_sizeof_long
16432 echo "$as_me:$LINENO: checking for size_t" >&5
16433 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16434 if test "${ac_cv_type_size_t+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 cat >conftest.
$ac_ext <<_ACEOF
16440 cat confdefs.h
>>conftest.
$ac_ext
16441 cat >>conftest.
$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 $ac_includes_default
16449 if (sizeof (size_t))
16455 rm -f conftest.
$ac_objext
16456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16457 (eval $ac_compile) 2>conftest.er1
16459 grep -v '^ *+' conftest.er1
>conftest.err
16461 cat conftest.err
>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); } &&
16464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; } &&
16470 { ac_try
='test -s conftest.$ac_objext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 ac_cv_type_size_t
=yes
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.
$ac_ext >&5
16481 ac_cv_type_size_t
=no
16483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16485 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16486 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16488 echo "$as_me:$LINENO: checking size of size_t" >&5
16489 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16490 if test "${ac_cv_sizeof_size_t+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 if test "$ac_cv_type_size_t" = yes; then
16494 # The cast to unsigned long works around a bug in the HP C Compiler
16495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16497 # This bug is HP SR number 8606223364.
16498 if test "$cross_compiling" = yes; then
16499 # Depending upon the size, compute the lo and hi bounds.
16500 cat >conftest.
$ac_ext <<_ACEOF
16503 cat confdefs.h
>>conftest.
$ac_ext
16504 cat >>conftest.
$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 $ac_includes_default
16510 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16517 rm -f conftest.
$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16521 grep -v '^ *+' conftest.er1
>conftest.err
16523 cat conftest.err
>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; } &&
16532 { ac_try
='test -s conftest.$ac_objext'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; }; then
16540 cat >conftest.
$ac_ext <<_ACEOF
16543 cat confdefs.h
>>conftest.
$ac_ext
16544 cat >>conftest.
$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $ac_includes_default
16550 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16557 rm -f conftest.
$ac_objext
16558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16559 (eval $ac_compile) 2>conftest.er1
16561 grep -v '^ *+' conftest.er1
>conftest.err
16563 cat conftest.err
>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; } &&
16572 { ac_try
='test -s conftest.$ac_objext'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; }; then
16578 ac_hi
=$ac_mid; break
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.
$ac_ext >&5
16583 ac_lo
=`expr $ac_mid + 1`
16584 if test $ac_lo -le $ac_mid; then
16588 ac_mid
=`expr 2 '*' $ac_mid + 1`
16590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.
$ac_ext >&5
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16606 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16613 rm -f conftest.
$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615 (eval $ac_compile) 2>conftest.er1
16617 grep -v '^ *+' conftest.er1
>conftest.err
16619 cat conftest.err
>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16624 (eval $ac_try) 2>&5
16626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627 (exit $ac_status); }; } &&
16628 { ac_try
='test -s conftest.$ac_objext'
16629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16630 (eval $ac_try) 2>&5
16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16633 (exit $ac_status); }; }; then
16636 cat >conftest.
$ac_ext <<_ACEOF
16639 cat confdefs.h
>>conftest.
$ac_ext
16640 cat >>conftest.
$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 $ac_includes_default
16646 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16653 rm -f conftest.
$ac_objext
16654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16655 (eval $ac_compile) 2>conftest.er1
16657 grep -v '^ *+' conftest.er1
>conftest.err
16659 cat conftest.err
>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } &&
16662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; } &&
16668 { ac_try
='test -s conftest.$ac_objext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 ac_lo
=$ac_mid; break
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.
$ac_ext >&5
16679 ac_hi
=`expr '(' $ac_mid ')' - 1`
16680 if test $ac_mid -le $ac_hi; then
16684 ac_mid
=`expr 2 '*' $ac_mid`
16686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.
$ac_ext >&5
16694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16697 # Binary search between lo and hi bounds.
16698 while test "x$ac_lo" != "x$ac_hi"; do
16699 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16700 cat >conftest.
$ac_ext <<_ACEOF
16703 cat confdefs.h
>>conftest.
$ac_ext
16704 cat >>conftest.
$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 $ac_includes_default
16710 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16717 rm -f conftest.
$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16721 grep -v '^ *+' conftest.er1
>conftest.err
16723 cat conftest.err
>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; } &&
16732 { ac_try
='test -s conftest.$ac_objext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.
$ac_ext >&5
16743 ac_lo
=`expr '(' $ac_mid ')' + 1`
16745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16748 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16750 See \`config.log' for more details." >&5
16751 echo "$as_me: error: cannot compute sizeof (size_t), 77
16752 See \`config.log' for more details." >&2;}
16753 { (exit 1); exit 1; }; } ;;
16756 if test "$cross_compiling" = yes; then
16757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16759 { (exit 1); exit 1; }; }
16761 cat >conftest.
$ac_ext <<_ACEOF
16764 cat confdefs.h
>>conftest.
$ac_ext
16765 cat >>conftest.
$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16768 long longval () { return (long) (sizeof (size_t)); }
16769 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16771 #include <stdlib.h>
16776 FILE *f = fopen ("conftest.val", "w");
16779 if (((long) (sizeof (size_t))) < 0)
16781 long i = longval ();
16782 if (i != ((long) (sizeof (size_t))))
16784 fprintf (f, "%ld\n", i);
16788 unsigned long i = ulongval ();
16789 if (i != ((long) (sizeof (size_t))))
16791 fprintf (f, "%lu\n", i);
16793 exit (ferror (f) || fclose (f) != 0);
16799 rm -f conftest
$ac_exeext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16801 (eval $ac_link) 2>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_cv_sizeof_size_t
=`cat conftest.val`
16812 echo "$as_me: program exited with status $ac_status" >&5
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.
$ac_ext >&5
16816 ( exit $ac_status )
16817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16818 See \`config.log' for more details." >&5
16819 echo "$as_me: error: cannot compute sizeof (size_t), 77
16820 See \`config.log' for more details." >&2;}
16821 { (exit 1); exit 1; }; }
16823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16828 ac_cv_sizeof_size_t
=0
16831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16832 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16833 cat >>confdefs.h
<<_ACEOF
16834 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16841 echo "$as_me:$LINENO: checking for long long" >&5
16842 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16843 if test "${ac_cv_type_long_long+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 cat >conftest.
$ac_ext <<_ACEOF
16849 cat confdefs.h
>>conftest.
$ac_ext
16850 cat >>conftest.
$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 $ac_includes_default
16856 if ((long long *) 0)
16858 if (sizeof (long long))
16864 rm -f conftest.
$ac_objext
16865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16866 (eval $ac_compile) 2>conftest.er1
16868 grep -v '^ *+' conftest.er1
>conftest.err
16870 cat conftest.err
>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } &&
16873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; } &&
16879 { ac_try
='test -s conftest.$ac_objext'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; }; then
16885 ac_cv_type_long_long
=yes
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.
$ac_ext >&5
16890 ac_cv_type_long_long
=no
16892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16894 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16895 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16897 echo "$as_me:$LINENO: checking size of long long" >&5
16898 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16899 if test "${ac_cv_sizeof_long_long+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 if test "$ac_cv_type_long_long" = yes; then
16903 # The cast to unsigned long works around a bug in the HP C Compiler
16904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16905 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16906 # This bug is HP SR number 8606223364.
16907 if test "$cross_compiling" = yes; then
16908 # Depending upon the size, compute the lo and hi bounds.
16909 cat >conftest.
$ac_ext <<_ACEOF
16912 cat confdefs.h
>>conftest.
$ac_ext
16913 cat >>conftest.
$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 $ac_includes_default
16919 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16926 rm -f conftest.
$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928 (eval $ac_compile) 2>conftest.er1
16930 grep -v '^ *+' conftest.er1
>conftest.err
16932 cat conftest.err
>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; } &&
16941 { ac_try
='test -s conftest.$ac_objext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16949 cat >conftest.
$ac_ext <<_ACEOF
16952 cat confdefs.h
>>conftest.
$ac_ext
16953 cat >>conftest.
$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16955 $ac_includes_default
16959 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16966 rm -f conftest.
$ac_objext
16967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16968 (eval $ac_compile) 2>conftest.er1
16970 grep -v '^ *+' conftest.er1
>conftest.err
16972 cat conftest.err
>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } &&
16975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16977 (eval $ac_try) 2>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); }; } &&
16981 { ac_try
='test -s conftest.$ac_objext'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_hi
=$ac_mid; break
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.
$ac_ext >&5
16992 ac_lo
=`expr $ac_mid + 1`
16993 if test $ac_lo -le $ac_mid; then
16997 ac_mid
=`expr 2 '*' $ac_mid + 1`
16999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.
$ac_ext >&5
17005 cat >conftest.
$ac_ext <<_ACEOF
17008 cat confdefs.h
>>conftest.
$ac_ext
17009 cat >>conftest.
$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17022 rm -f conftest.
$ac_objext
17023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17024 (eval $ac_compile) 2>conftest.er1
17026 grep -v '^ *+' conftest.er1
>conftest.err
17028 cat conftest.err
>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } &&
17031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; } &&
17037 { ac_try
='test -s conftest.$ac_objext'
17038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17039 (eval $ac_try) 2>&5
17041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17042 (exit $ac_status); }; }; then
17045 cat >conftest.
$ac_ext <<_ACEOF
17048 cat confdefs.h
>>conftest.
$ac_ext
17049 cat >>conftest.
$ac_ext <<_ACEOF
17050 /* end confdefs.h. */
17051 $ac_includes_default
17055 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17062 rm -f conftest.
$ac_objext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17064 (eval $ac_compile) 2>conftest.er1
17066 grep -v '^ *+' conftest.er1
>conftest.err
17068 cat conftest.err
>&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } &&
17071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17073 (eval $ac_try) 2>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); }; } &&
17077 { ac_try
='test -s conftest.$ac_objext'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; }; then
17083 ac_lo
=$ac_mid; break
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.
$ac_ext >&5
17088 ac_hi
=`expr '(' $ac_mid ')' - 1`
17089 if test $ac_mid -le $ac_hi; then
17093 ac_mid
=`expr 2 '*' $ac_mid`
17095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.
$ac_ext >&5
17103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17106 # Binary search between lo and hi bounds.
17107 while test "x$ac_lo" != "x$ac_hi"; do
17108 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17109 cat >conftest.
$ac_ext <<_ACEOF
17112 cat confdefs.h
>>conftest.
$ac_ext
17113 cat >>conftest.
$ac_ext <<_ACEOF
17114 /* end confdefs.h. */
17115 $ac_includes_default
17119 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17126 rm -f conftest.
$ac_objext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17128 (eval $ac_compile) 2>conftest.er1
17130 grep -v '^ *+' conftest.er1
>conftest.err
17132 cat conftest.err
>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } &&
17135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; } &&
17141 { ac_try
='test -s conftest.$ac_objext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.
$ac_ext >&5
17152 ac_lo
=`expr '(' $ac_mid ')' + 1`
17154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17157 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17159 See \`config.log' for more details." >&5
17160 echo "$as_me: error: cannot compute sizeof (long long), 77
17161 See \`config.log' for more details." >&2;}
17162 { (exit 1); exit 1; }; } ;;
17165 if test "$cross_compiling" = yes; then
17166 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17167 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17168 { (exit 1); exit 1; }; }
17170 cat >conftest.
$ac_ext <<_ACEOF
17173 cat confdefs.h
>>conftest.
$ac_ext
17174 cat >>conftest.
$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 $ac_includes_default
17177 long longval () { return (long) (sizeof (long long)); }
17178 unsigned long ulongval () { return (long) (sizeof (long long)); }
17180 #include <stdlib.h>
17185 FILE *f = fopen ("conftest.val", "w");
17188 if (((long) (sizeof (long long))) < 0)
17190 long i = longval ();
17191 if (i != ((long) (sizeof (long long))))
17193 fprintf (f, "%ld\n", i);
17197 unsigned long i = ulongval ();
17198 if (i != ((long) (sizeof (long long))))
17200 fprintf (f, "%lu\n", i);
17202 exit (ferror (f) || fclose (f) != 0);
17208 rm -f conftest
$ac_exeext
17209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17210 (eval $ac_link) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17215 (eval $ac_try) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); }; }; then
17219 ac_cv_sizeof_long_long
=`cat conftest.val`
17221 echo "$as_me: program exited with status $ac_status" >&5
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.
$ac_ext >&5
17225 ( exit $ac_status )
17226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17227 See \`config.log' for more details." >&5
17228 echo "$as_me: error: cannot compute sizeof (long long), 77
17229 See \`config.log' for more details." >&2;}
17230 { (exit 1); exit 1; }; }
17232 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17237 ac_cv_sizeof_long_long
=0
17240 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17241 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17242 cat >>confdefs.h
<<_ACEOF
17243 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17249 echo "$as_me:$LINENO: checking for long long" >&5
17250 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17251 if test "${ac_cv_type_long_long+set}" = set; then
17252 echo $ECHO_N "(cached) $ECHO_C" >&6
17254 cat >conftest.
$ac_ext <<_ACEOF
17257 cat confdefs.h
>>conftest.
$ac_ext
17258 cat >>conftest.
$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17260 $ac_includes_default
17264 if ((long long *) 0)
17266 if (sizeof (long long))
17272 rm -f conftest.
$ac_objext
17273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17274 (eval $ac_compile) 2>conftest.er1
17276 grep -v '^ *+' conftest.er1
>conftest.err
17278 cat conftest.err
>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } &&
17281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; } &&
17287 { ac_try
='test -s conftest.$ac_objext'
17288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17289 (eval $ac_try) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; }; then
17293 ac_cv_type_long_long
=yes
17295 echo "$as_me: failed program was:" >&5
17296 sed 's/^/| /' conftest.
$ac_ext >&5
17298 ac_cv_type_long_long
=no
17300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17302 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17303 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17305 echo "$as_me:$LINENO: checking size of long long" >&5
17306 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17307 if test "${ac_cv_sizeof_long_long+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 if test "$ac_cv_type_long_long" = yes; then
17311 # The cast to unsigned long works around a bug in the HP C Compiler
17312 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17313 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17314 # This bug is HP SR number 8606223364.
17315 if test "$cross_compiling" = yes; then
17316 # Depending upon the size, compute the lo and hi bounds.
17317 cat >conftest.
$ac_ext <<_ACEOF
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17327 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17334 rm -f conftest.
$ac_objext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17336 (eval $ac_compile) 2>conftest.er1
17338 grep -v '^ *+' conftest.er1
>conftest.err
17340 cat conftest.err
>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; } &&
17349 { ac_try
='test -s conftest.$ac_objext'
17350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 (eval $ac_try) 2>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; }; then
17357 cat >conftest.
$ac_ext <<_ACEOF
17360 cat confdefs.h
>>conftest.
$ac_ext
17361 cat >>conftest.
$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17363 $ac_includes_default
17367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17374 rm -f conftest.
$ac_objext
17375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17376 (eval $ac_compile) 2>conftest.er1
17378 grep -v '^ *+' conftest.er1
>conftest.err
17380 cat conftest.err
>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } &&
17383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17385 (eval $ac_try) 2>&5
17387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17388 (exit $ac_status); }; } &&
17389 { ac_try
='test -s conftest.$ac_objext'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17391 (eval $ac_try) 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 ac_hi
=$ac_mid; break
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.
$ac_ext >&5
17400 ac_lo
=`expr $ac_mid + 1`
17401 if test $ac_lo -le $ac_mid; then
17405 ac_mid
=`expr 2 '*' $ac_mid + 1`
17407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17413 cat >conftest.
$ac_ext <<_ACEOF
17416 cat confdefs.h
>>conftest.
$ac_ext
17417 cat >>conftest.
$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17423 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17430 rm -f conftest.
$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^ *+' conftest.er1
>conftest.err
17436 cat conftest.err
>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try
='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17453 cat >conftest.
$ac_ext <<_ACEOF
17456 cat confdefs.h
>>conftest.
$ac_ext
17457 cat >>conftest.
$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17459 $ac_includes_default
17463 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17470 rm -f conftest.
$ac_objext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 (eval $ac_compile) 2>conftest.er1
17474 grep -v '^ *+' conftest.er1
>conftest.err
17476 cat conftest.err
>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); } &&
17479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481 (eval $ac_try) 2>&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); }; } &&
17485 { ac_try
='test -s conftest.$ac_objext'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; }; then
17491 ac_lo
=$ac_mid; break
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.
$ac_ext >&5
17496 ac_hi
=`expr '(' $ac_mid ')' - 1`
17497 if test $ac_mid -le $ac_hi; then
17501 ac_mid
=`expr 2 '*' $ac_mid`
17503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.
$ac_ext >&5
17511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17514 # Binary search between lo and hi bounds.
17515 while test "x$ac_lo" != "x$ac_hi"; do
17516 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17517 cat >conftest.
$ac_ext <<_ACEOF
17520 cat confdefs.h
>>conftest.
$ac_ext
17521 cat >>conftest.
$ac_ext <<_ACEOF
17522 /* end confdefs.h. */
17523 $ac_includes_default
17527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17534 rm -f conftest.
$ac_objext
17535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17536 (eval $ac_compile) 2>conftest.er1
17538 grep -v '^ *+' conftest.er1
>conftest.err
17540 cat conftest.err
>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } &&
17543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; } &&
17549 { ac_try
='test -s conftest.$ac_objext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.
$ac_ext >&5
17560 ac_lo
=`expr '(' $ac_mid ')' + 1`
17562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17565 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17566 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17567 See \`config.log' for more details." >&5
17568 echo "$as_me: error: cannot compute sizeof (long long), 77
17569 See \`config.log' for more details." >&2;}
17570 { (exit 1); exit 1; }; } ;;
17573 if test "$cross_compiling" = yes; then
17574 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17575 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17576 { (exit 1); exit 1; }; }
17578 cat >conftest.
$ac_ext <<_ACEOF
17581 cat confdefs.h
>>conftest.
$ac_ext
17582 cat >>conftest.
$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584 $ac_includes_default
17585 long longval () { return (long) (sizeof (long long)); }
17586 unsigned long ulongval () { return (long) (sizeof (long long)); }
17588 #include <stdlib.h>
17593 FILE *f = fopen ("conftest.val", "w");
17596 if (((long) (sizeof (long long))) < 0)
17598 long i = longval ();
17599 if (i != ((long) (sizeof (long long))))
17601 fprintf (f, "%ld\n", i);
17605 unsigned long i = ulongval ();
17606 if (i != ((long) (sizeof (long long))))
17608 fprintf (f, "%lu\n", i);
17610 exit (ferror (f) || fclose (f) != 0);
17616 rm -f conftest
$ac_exeext
17617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17618 (eval $ac_link) 2>&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; }; then
17627 ac_cv_sizeof_long_long
=`cat conftest.val`
17629 echo "$as_me: program exited with status $ac_status" >&5
17630 echo "$as_me: failed program was:" >&5
17631 sed 's/^/| /' conftest.
$ac_ext >&5
17633 ( exit $ac_status )
17634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17635 See \`config.log' for more details." >&5
17636 echo "$as_me: error: cannot compute sizeof (long long), 77
17637 See \`config.log' for more details." >&2;}
17638 { (exit 1); exit 1; }; }
17640 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17645 ac_cv_sizeof_long_long
=0
17648 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17649 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17650 cat >>confdefs.h
<<_ACEOF
17651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17655 if test "$ac_cv_sizeof_long_long" != "0"; then
17656 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17660 echo "$as_me:$LINENO: checking for long long" >&5
17661 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17662 if test "${ac_cv_type_long_long+set}" = set; then
17663 echo $ECHO_N "(cached) $ECHO_C" >&6
17665 cat >conftest.
$ac_ext <<_ACEOF
17668 cat confdefs.h
>>conftest.
$ac_ext
17669 cat >>conftest.
$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17671 $ac_includes_default
17675 if ((long long *) 0)
17677 if (sizeof (long long))
17683 rm -f conftest.
$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>conftest.er1
17687 grep -v '^ *+' conftest.er1
>conftest.err
17689 cat conftest.err
>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } &&
17692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; } &&
17698 { ac_try
='test -s conftest.$ac_objext'
17699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17700 (eval $ac_try) 2>&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); }; }; then
17704 ac_cv_type_long_long
=yes
17706 echo "$as_me: failed program was:" >&5
17707 sed 's/^/| /' conftest.
$ac_ext >&5
17709 ac_cv_type_long_long
=no
17711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17713 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17714 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17716 echo "$as_me:$LINENO: checking size of long long" >&5
17717 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17718 if test "${ac_cv_sizeof_long_long+set}" = set; then
17719 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 if test "$ac_cv_type_long_long" = yes; then
17722 # The cast to unsigned long works around a bug in the HP C Compiler
17723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17725 # This bug is HP SR number 8606223364.
17726 if test "$cross_compiling" = yes; then
17727 # Depending upon the size, compute the lo and hi bounds.
17728 cat >conftest.
$ac_ext <<_ACEOF
17731 cat confdefs.h
>>conftest.
$ac_ext
17732 cat >>conftest.
$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 $ac_includes_default
17738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17745 rm -f conftest.
$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17749 grep -v '^ *+' conftest.er1
>conftest.err
17751 cat conftest.err
>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try
='test -s conftest.$ac_objext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17768 cat >conftest.
$ac_ext <<_ACEOF
17771 cat confdefs.h
>>conftest.
$ac_ext
17772 cat >>conftest.
$ac_ext <<_ACEOF
17773 /* end confdefs.h. */
17774 $ac_includes_default
17778 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17785 rm -f conftest.
$ac_objext
17786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17787 (eval $ac_compile) 2>conftest.er1
17789 grep -v '^ *+' conftest.er1
>conftest.err
17791 cat conftest.err
>&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } &&
17794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; } &&
17800 { ac_try
='test -s conftest.$ac_objext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 ac_hi
=$ac_mid; break
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.
$ac_ext >&5
17811 ac_lo
=`expr $ac_mid + 1`
17812 if test $ac_lo -le $ac_mid; then
17816 ac_mid
=`expr 2 '*' $ac_mid + 1`
17818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 cat >conftest.
$ac_ext <<_ACEOF
17827 cat confdefs.h
>>conftest.
$ac_ext
17828 cat >>conftest.
$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 $ac_includes_default
17834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17841 rm -f conftest.
$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17845 grep -v '^ *+' conftest.er1
>conftest.err
17847 cat conftest.err
>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; } &&
17856 { ac_try
='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
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
17874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17881 rm -f conftest.
$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17885 grep -v '^ *+' conftest.er1
>conftest.err
17887 cat conftest.err
>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; } &&
17896 { ac_try
='test -s conftest.$ac_objext'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 ac_lo
=$ac_mid; break
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.
$ac_ext >&5
17907 ac_hi
=`expr '(' $ac_mid ')' - 1`
17908 if test $ac_mid -le $ac_hi; then
17912 ac_mid
=`expr 2 '*' $ac_mid`
17914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17925 # Binary search between lo and hi bounds.
17926 while test "x$ac_lo" != "x$ac_hi"; do
17927 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 $ac_includes_default
17938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17945 rm -f conftest.
$ac_objext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17947 (eval $ac_compile) 2>conftest.er1
17949 grep -v '^ *+' conftest.er1
>conftest.err
17951 cat conftest.err
>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try
='test -s conftest.$ac_objext'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; }; then
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.
$ac_ext >&5
17971 ac_lo
=`expr '(' $ac_mid ')' + 1`
17973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17976 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17978 See \`config.log' for more details." >&5
17979 echo "$as_me: error: cannot compute sizeof (long long), 77
17980 See \`config.log' for more details." >&2;}
17981 { (exit 1); exit 1; }; } ;;
17984 if test "$cross_compiling" = yes; then
17985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17987 { (exit 1); exit 1; }; }
17989 cat >conftest.
$ac_ext <<_ACEOF
17992 cat confdefs.h
>>conftest.
$ac_ext
17993 cat >>conftest.
$ac_ext <<_ACEOF
17994 /* end confdefs.h. */
17995 $ac_includes_default
17996 long longval () { return (long) (sizeof (long long)); }
17997 unsigned long ulongval () { return (long) (sizeof (long long)); }
17999 #include <stdlib.h>
18004 FILE *f = fopen ("conftest.val", "w");
18007 if (((long) (sizeof (long long))) < 0)
18009 long i = longval ();
18010 if (i != ((long) (sizeof (long long))))
18012 fprintf (f, "%ld\n", i);
18016 unsigned long i = ulongval ();
18017 if (i != ((long) (sizeof (long long))))
18019 fprintf (f, "%lu\n", i);
18021 exit (ferror (f) || fclose (f) != 0);
18027 rm -f conftest
$ac_exeext
18028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18029 (eval $ac_link) 2>&5
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18034 (eval $ac_try) 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18038 ac_cv_sizeof_long_long
=`cat conftest.val`
18040 echo "$as_me: program exited with status $ac_status" >&5
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.
$ac_ext >&5
18044 ( exit $ac_status )
18045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18046 See \`config.log' for more details." >&5
18047 echo "$as_me: error: cannot compute sizeof (long long), 77
18048 See \`config.log' for more details." >&2;}
18049 { (exit 1); exit 1; }; }
18051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18056 ac_cv_sizeof_long_long
=0
18059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18060 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18061 cat >>confdefs.h
<<_ACEOF
18062 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18068 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18069 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18070 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18074 if test "$cross_compiling" = yes; then
18078 wx_cv_sizeof_wchar_t
=0
18081 wx_cv_sizeof_wchar_t
=4
18087 cat >conftest.
$ac_ext <<_ACEOF
18090 cat confdefs.h
>>conftest.
$ac_ext
18091 cat >>conftest.
$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18094 /* DJGPP only has fake wchar_t: */
18096 # error "fake wchar_t"
18098 #ifdef HAVE_WCHAR_H
18100 # include <stddef.h>
18102 # include <wchar.h>
18104 #ifdef HAVE_STDLIB_H
18105 # include <stdlib.h>
18110 FILE *f=fopen("conftestval", "w");
18112 fprintf(f, "%i", sizeof(wchar_t));
18117 rm -f conftest
$ac_exeext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18119 (eval $ac_link) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 wx_cv_sizeof_wchar_t
=`cat conftestval`
18130 echo "$as_me: program exited with status $ac_status" >&5
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18134 ( exit $ac_status )
18135 wx_cv_sizeof_wchar_t
=0
18137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18141 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18142 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18144 cat >>confdefs.h
<<_ACEOF
18145 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18149 echo "$as_me:$LINENO: checking for va_copy" >&5
18150 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18151 if test "${wx_cv_func_va_copy+set}" = set; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 cat >conftest.
$ac_ext <<_ACEOF
18157 #include <stdarg.h>
18158 void foo(char *f, ...)
18167 rm -f conftest.
$ac_objext conftest
$ac_exeext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18169 (eval $ac_link) 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_exeext'
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 wx_cv_func_va_copy
=yes
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.
$ac_ext >&5
18193 wx_cv_func_va_copy
=no
18196 rm -f conftest.err conftest.
$ac_objext \
18197 conftest
$ac_exeext conftest.
$ac_ext
18201 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18202 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18204 if test $wx_cv_func_va_copy = "yes"; then
18205 cat >>confdefs.h
<<\_ACEOF
18206 #define HAVE_VA_COPY 1
18210 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18211 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18212 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 if test "$cross_compiling" = yes; then
18217 wx_cv_type_va_list_lvalue
=yes
18220 cat >conftest.
$ac_ext <<_ACEOF
18222 #include <stdarg.h>
18223 int foo(char *f, ...)
18228 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18236 return foo("hi", 17);
18239 rm -f conftest
$ac_exeext
18240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18241 (eval $ac_link) 2>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246 (eval $ac_try) 2>&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); }; }; then
18250 wx_cv_type_va_list_lvalue
=yes
18252 echo "$as_me: program exited with status $ac_status" >&5
18253 echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.
$ac_ext >&5
18256 ( exit $ac_status )
18257 wx_cv_type_va_list_lvalue
=no
18259 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18264 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18265 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18267 if test $wx_cv_type_va_list_lvalue != "yes"; then
18268 cat >>confdefs.h
<<\_ACEOF
18269 #define VA_LIST_IS_ARRAY 1
18275 # Check whether --enable-largefile or --disable-largefile was given.
18276 if test "${enable_largefile+set}" = set; then
18277 enableval
="$enable_largefile"
18280 if test "$enable_largefile" != no
; then
18283 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18284 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18285 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 cat >conftest.
$ac_ext <<_ACEOF
18292 cat confdefs.h
>>conftest.
$ac_ext
18293 cat >>conftest.
$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 #define _FILE_OFFSET_BITS 64
18296 #include <sys/types.h>
18301 unsigned int field: sizeof(off_t) == 8;
18308 rm -f conftest.
$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18312 grep -v '^ *+' conftest.er1
>conftest.err
18314 cat conftest.err
>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; } &&
18323 { ac_try
='test -s conftest.$ac_objext'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; }; then
18329 ac_cv_sys_file_offset_bits
=64
18331 echo "$as_me: failed program was:" >&5
18332 sed 's/^/| /' conftest.
$ac_ext >&5
18334 ac_cv_sys_file_offset_bits
=no
18336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18340 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18341 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18343 if test "$ac_cv_sys_file_offset_bits" != no
; then
18345 cat >>confdefs.h
<<_ACEOF
18346 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18351 if test "x$wx_largefile" != "xyes"; then
18353 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18354 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18355 if test "${ac_cv_sys_large_files+set}" = set; then
18356 echo $ECHO_N "(cached) $ECHO_C" >&6
18359 cat >conftest.
$ac_ext <<_ACEOF
18362 cat confdefs.h
>>conftest.
$ac_ext
18363 cat >>conftest.
$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 #define _LARGE_FILES 1
18366 #include <sys/types.h>
18371 unsigned int field: sizeof(off_t) == 8;
18378 rm -f conftest.
$ac_objext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18380 (eval $ac_compile) 2>conftest.er1
18382 grep -v '^ *+' conftest.er1
>conftest.err
18384 cat conftest.err
>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } &&
18387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try
='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18399 ac_cv_sys_large_files
=1
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.
$ac_ext >&5
18404 ac_cv_sys_large_files
=no
18406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18410 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18411 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18413 if test "$ac_cv_sys_large_files" != no
; then
18415 cat >>confdefs.h
<<_ACEOF
18416 #define _LARGE_FILES $ac_cv_sys_large_files
18423 echo "$as_me:$LINENO: checking if large file support is available" >&5
18424 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18425 if test "x$wx_largefile" = "xyes"; then
18426 cat >>confdefs.h
<<\_ACEOF
18427 #define HAVE_LARGEFILE_SUPPORT 1
18431 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18432 echo "${ECHO_T}$wx_largefile" >&6
18436 if test "x$wx_largefile" = "xyes"; then
18437 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18438 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18440 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18442 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18445 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18446 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18447 if test "${ac_cv_c_bigendian+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 ac_cv_c_bigendian
=unknown
18451 # See if sys/param.h defines the BYTE_ORDER macro.
18452 cat >conftest.
$ac_ext <<_ACEOF
18455 cat confdefs.h
>>conftest.
$ac_ext
18456 cat >>conftest.
$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <sys/types.h>
18459 #include <sys/param.h>
18464 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18465 bogus endian macros
18471 rm -f conftest.
$ac_objext
18472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18473 (eval $ac_compile) 2>conftest.er1
18475 grep -v '^ *+' conftest.er1
>conftest.err
18477 cat conftest.err
>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } &&
18480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; } &&
18486 { ac_try
='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18492 # It does; now see whether it defined to BIG_ENDIAN or not.
18493 cat >conftest.
$ac_ext <<_ACEOF
18496 cat confdefs.h
>>conftest.
$ac_ext
18497 cat >>conftest.
$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 #include <sys/types.h>
18500 #include <sys/param.h>
18505 #if BYTE_ORDER != BIG_ENDIAN
18512 rm -f conftest.
$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18516 grep -v '^ *+' conftest.er1
>conftest.err
18518 cat conftest.err
>&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try
='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_cv_c_bigendian
=yes
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.
$ac_ext >&5
18538 ac_cv_c_bigendian
=no
18540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.
$ac_ext >&5
18546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18547 if test $ac_cv_c_bigendian = unknown
; then
18548 if test "$cross_compiling" = yes; then
18549 ac_cv_c_bigendian
=unknown
18551 cat >conftest.
$ac_ext <<_ACEOF
18554 cat confdefs.h
>>conftest.
$ac_ext
18555 cat >>conftest.
$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18558 /* Are we little or big endian? From Harbison&Steele. */
18562 char c[sizeof (long)];
18565 exit (u.c[sizeof (long) - 1] == 1);
18568 rm -f conftest
$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_c_bigendian
=no
18581 echo "$as_me: program exited with status $ac_status" >&5
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 ( exit $ac_status )
18586 ac_cv_c_bigendian
=yes
18588 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18592 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18593 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18594 if test $ac_cv_c_bigendian = unknown
; then
18595 { 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
18596 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;}
18598 if test $ac_cv_c_bigendian = yes; then
18599 cat >>confdefs.h
<<\_ACEOF
18600 #define WORDS_BIGENDIAN 1
18607 ac_cpp
='$CXXCPP $CPPFLAGS'
18608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18611 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18612 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18613 if test -z "$CXXCPP"; then
18614 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18617 # Double quotes because CXXCPP needs to be expanded
18618 for CXXCPP
in "$CXX -E" "/lib/cpp"
18620 ac_preproc_ok
=false
18621 for ac_cxx_preproc_warn_flag
in '' yes
18623 # Use a header file that comes with gcc, so configuring glibc
18624 # with a fresh cross-compiler works.
18625 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18626 # <limits.h> exists even on freestanding compilers.
18627 # On the NeXT, cc -E runs the code through the compiler's parser,
18628 # not just through cpp. "Syntax error" is here to catch this case.
18629 cat >conftest.
$ac_ext <<_ACEOF
18632 cat confdefs.h
>>conftest.
$ac_ext
18633 cat >>conftest.
$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18636 # include <limits.h>
18638 # include <assert.h>
18642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18645 grep -v '^ *+' conftest.er1
>conftest.err
18647 cat conftest.err
>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } >/dev
/null
; then
18650 if test -s conftest.err
; then
18651 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18652 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18659 if test -z "$ac_cpp_err"; then
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.
$ac_ext >&5
18665 # Broken: fails on valid input.
18668 rm -f conftest.err conftest.
$ac_ext
18670 # OK, works on sane cases. Now check whether non-existent headers
18671 # can be detected and how.
18672 cat >conftest.
$ac_ext <<_ACEOF
18675 cat confdefs.h
>>conftest.
$ac_ext
18676 cat >>conftest.
$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 #include <ac_nonexistent.h>
18680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18683 grep -v '^ *+' conftest.er1
>conftest.err
18685 cat conftest.err
>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } >/dev
/null
; then
18688 if test -s conftest.err
; then
18689 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18690 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18697 if test -z "$ac_cpp_err"; then
18698 # Broken: success on invalid input.
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.
$ac_ext >&5
18704 # Passes both tests.
18708 rm -f conftest.err conftest.
$ac_ext
18711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18712 rm -f conftest.err conftest.
$ac_ext
18713 if $ac_preproc_ok; then
18718 ac_cv_prog_CXXCPP
=$CXXCPP
18721 CXXCPP
=$ac_cv_prog_CXXCPP
18723 ac_cv_prog_CXXCPP
=$CXXCPP
18725 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18726 echo "${ECHO_T}$CXXCPP" >&6
18727 ac_preproc_ok
=false
18728 for ac_cxx_preproc_warn_flag
in '' yes
18730 # Use a header file that comes with gcc, so configuring glibc
18731 # with a fresh cross-compiler works.
18732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18733 # <limits.h> exists even on freestanding compilers.
18734 # On the NeXT, cc -E runs the code through the compiler's parser,
18735 # not just through cpp. "Syntax error" is here to catch this case.
18736 cat >conftest.
$ac_ext <<_ACEOF
18739 cat confdefs.h
>>conftest.
$ac_ext
18740 cat >>conftest.
$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18743 # include <limits.h>
18745 # include <assert.h>
18749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18750 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18752 grep -v '^ *+' conftest.er1
>conftest.err
18754 cat conftest.err
>&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } >/dev
/null
; then
18757 if test -s conftest.err
; then
18758 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18759 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18766 if test -z "$ac_cpp_err"; then
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.
$ac_ext >&5
18772 # Broken: fails on valid input.
18775 rm -f conftest.err conftest.
$ac_ext
18777 # OK, works on sane cases. Now check whether non-existent headers
18778 # can be detected and how.
18779 cat >conftest.
$ac_ext <<_ACEOF
18782 cat confdefs.h
>>conftest.
$ac_ext
18783 cat >>conftest.
$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <ac_nonexistent.h>
18787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18790 grep -v '^ *+' conftest.er1
>conftest.err
18792 cat conftest.err
>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); } >/dev
/null
; then
18795 if test -s conftest.err
; then
18796 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18797 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18804 if test -z "$ac_cpp_err"; then
18805 # Broken: success on invalid input.
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.
$ac_ext >&5
18811 # Passes both tests.
18815 rm -f conftest.err conftest.
$ac_ext
18818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18819 rm -f conftest.err conftest.
$ac_ext
18820 if $ac_preproc_ok; then
18823 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18824 See \`config.log' for more details." >&5
18825 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18826 See \`config.log' for more details." >&2;}
18827 { (exit 1); exit 1; }; }
18831 ac_cpp
='$CXXCPP $CPPFLAGS'
18832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18841 ac_cpp
='$CXXCPP $CPPFLAGS'
18842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18848 for ac_header
in iostream
18850 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18852 echo "$as_me:$LINENO: checking for $ac_header" >&5
18853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18860 # Is the header compilable?
18861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 #include <$ac_header>
18872 rm -f conftest.
$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874 (eval $ac_compile) 2>conftest.er1
18876 grep -v '^ *+' conftest.er1
>conftest.err
18878 cat conftest.err
>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } &&
18881 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; } &&
18887 { ac_try
='test -s conftest.$ac_objext'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; }; then
18893 ac_header_compiler
=yes
18895 echo "$as_me: failed program was:" >&5
18896 sed 's/^/| /' conftest.
$ac_ext >&5
18898 ac_header_compiler
=no
18900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18902 echo "${ECHO_T}$ac_header_compiler" >&6
18904 # Is the header present?
18905 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18907 cat >conftest.
$ac_ext <<_ACEOF
18910 cat confdefs.h
>>conftest.
$ac_ext
18911 cat >>conftest.
$ac_ext <<_ACEOF
18912 /* end confdefs.h. */
18913 #include <$ac_header>
18915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18916 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18918 grep -v '^ *+' conftest.er1
>conftest.err
18920 cat conftest.err
>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } >/dev
/null
; then
18923 if test -s conftest.err
; then
18924 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18925 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18932 if test -z "$ac_cpp_err"; then
18933 ac_header_preproc
=yes
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.
$ac_ext >&5
18938 ac_header_preproc
=no
18940 rm -f conftest.err conftest.
$ac_ext
18941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18942 echo "${ECHO_T}$ac_header_preproc" >&6
18944 # So? What about this header?
18945 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18951 ac_header_preproc
=yes
18954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18958 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18960 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18961 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18968 ## ----------------------------------------- ##
18969 ## Report this to wx-dev@lists.wxwidgets.org ##
18970 ## ----------------------------------------- ##
18973 sed "s/^/$as_me: WARNING: /" >&2
18976 echo "$as_me:$LINENO: checking for $ac_header" >&5
18977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18979 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 eval "$as_ac_Header=\$ac_header_preproc"
18983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18988 cat >>confdefs.h
<<_ACEOF
18989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18997 if test "$ac_cv_header_iostream" = "yes" ; then
19000 cat >>confdefs.h
<<\_ACEOF
19001 #define wxUSE_IOSTREAMH 1
19007 ac_cpp
='$CPP $CPPFLAGS'
19008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19015 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19016 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19017 if test "${wx_cv_cpp_bool+set}" = set; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 ac_cpp
='$CXXCPP $CPPFLAGS'
19025 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19026 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19027 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19030 cat >conftest.
$ac_ext <<_ACEOF
19033 cat confdefs.h
>>conftest.
$ac_ext
19034 cat >>conftest.
$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19050 rm -f conftest.
$ac_objext
19051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19052 (eval $ac_compile) 2>conftest.er1
19054 grep -v '^ *+' conftest.er1
>conftest.err
19056 cat conftest.err
>&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } &&
19059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try
='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.
$ac_ext >&5
19083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19086 ac_cpp
='$CPP $CPPFLAGS'
19087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19093 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19094 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19096 if test "$wx_cv_cpp_bool" = "yes"; then
19097 cat >>confdefs.h
<<\_ACEOF
19098 #define HAVE_BOOL 1
19105 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19106 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19107 if test "${wx_cv_explicit+set}" = set; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 ac_cpp
='$CXXCPP $CPPFLAGS'
19115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19120 cat >conftest.
$ac_ext <<_ACEOF
19123 cat confdefs.h
>>conftest.
$ac_ext
19124 cat >>conftest.
$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19127 class Foo { public: explicit Foo(int) {} };
19139 rm -f conftest.
$ac_objext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19141 (eval $ac_compile) 2>conftest.er1
19143 grep -v '^ *+' conftest.er1
>conftest.err
19145 cat conftest.err
>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; } &&
19154 { ac_try
='test -s conftest.$ac_objext'
19155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19156 (eval $ac_try) 2>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19161 cat >conftest.
$ac_ext <<_ACEOF
19164 cat confdefs.h
>>conftest.
$ac_ext
19165 cat >>conftest.
$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19168 class Foo { public: explicit Foo(int) {} };
19169 static void TakeFoo(const Foo& foo) { }
19182 rm -f conftest.
$ac_objext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184 (eval $ac_compile) 2>conftest.er1
19186 grep -v '^ *+' conftest.er1
>conftest.err
19188 cat conftest.err
>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; } &&
19197 { ac_try
='test -s conftest.$ac_objext'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; }; then
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.
$ac_ext >&5
19211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.
$ac_ext >&5
19220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19223 ac_cpp
='$CPP $CPPFLAGS'
19224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19230 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19231 echo "${ECHO_T}$wx_cv_explicit" >&6
19233 if test "$wx_cv_explicit" = "yes"; then
19234 cat >>confdefs.h
<<\_ACEOF
19235 #define HAVE_EXPLICIT 1
19241 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19242 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19243 if test "${ac_cv_cxx_const_cast+set}" = set; then
19244 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 ac_cpp
='$CXXCPP $CPPFLAGS'
19250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19254 cat >conftest.
$ac_ext <<_ACEOF
19257 cat confdefs.h
>>conftest.
$ac_ext
19258 cat >>conftest.
$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19264 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19269 rm -f conftest.
$ac_objext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19271 (eval $ac_compile) 2>conftest.er1
19273 grep -v '^ *+' conftest.er1
>conftest.err
19275 cat conftest.err
>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; } &&
19284 { ac_try
='test -s conftest.$ac_objext'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; }; then
19290 ac_cv_cxx_const_cast
=yes
19292 echo "$as_me: failed program was:" >&5
19293 sed 's/^/| /' conftest.
$ac_ext >&5
19295 ac_cv_cxx_const_cast
=no
19297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19299 ac_cpp
='$CPP $CPPFLAGS'
19300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19306 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19307 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19308 if test "$ac_cv_cxx_const_cast" = yes; then
19310 cat >>confdefs.h
<<\_ACEOF
19311 #define HAVE_CONST_CAST
19316 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19317 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19318 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19319 echo $ECHO_N "(cached) $ECHO_C" >&6
19324 ac_cpp
='$CXXCPP $CPPFLAGS'
19325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19329 cat >conftest.
$ac_ext <<_ACEOF
19332 cat confdefs.h
>>conftest.
$ac_ext
19333 cat >>conftest.
$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 #include <typeinfo>
19336 class Base { public : Base () {} virtual void f () = 0;};
19337 class Derived : public Base { public : Derived () {} virtual void f () {} };
19338 class Unrelated { public : Unrelated () {} };
19339 int g (Unrelated&) { return 0; }
19344 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19349 rm -f conftest.
$ac_objext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>conftest.er1
19353 grep -v '^ *+' conftest.er1
>conftest.err
19355 cat conftest.err
>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; } &&
19364 { ac_try
='test -s conftest.$ac_objext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 ac_cv_cxx_reinterpret_cast
=yes
19372 echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.
$ac_ext >&5
19375 ac_cv_cxx_reinterpret_cast
=no
19377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19379 ac_cpp
='$CPP $CPPFLAGS'
19380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19386 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19387 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19388 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19390 cat >>confdefs.h
<<\_ACEOF
19391 #define HAVE_REINTERPRET_CAST
19396 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19397 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19398 if test "${ac_cv_cxx_static_cast+set}" = set; then
19399 echo $ECHO_N "(cached) $ECHO_C" >&6
19404 ac_cpp
='$CXXCPP $CPPFLAGS'
19405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19409 cat >conftest.
$ac_ext <<_ACEOF
19412 cat confdefs.h
>>conftest.
$ac_ext
19413 cat >>conftest.
$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19415 #include <typeinfo>
19416 class Base { public : Base () {} virtual void f () = 0; };
19417 class Derived : public Base { public : Derived () {} virtual void f () {} };
19418 int g (Derived&) { return 0; }
19423 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19428 rm -f conftest.
$ac_objext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19430 (eval $ac_compile) 2>conftest.er1
19432 grep -v '^ *+' conftest.er1
>conftest.err
19434 cat conftest.err
>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } &&
19437 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; } &&
19443 { ac_try
='test -s conftest.$ac_objext'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; }; then
19449 ac_cv_cxx_static_cast
=yes
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.
$ac_ext >&5
19454 ac_cv_cxx_static_cast
=no
19456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19458 ac_cpp
='$CPP $CPPFLAGS'
19459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19465 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19466 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19467 if test "$ac_cv_cxx_static_cast" = yes; then
19469 cat >>confdefs.h
<<\_ACEOF
19470 #define HAVE_STATIC_CAST
19476 if test "$wxUSE_STL" = "yes"; then
19478 ac_cpp
='$CXXCPP $CPPFLAGS'
19479 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19480 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19481 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19484 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19485 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19486 cat >conftest.
$ac_ext <<_ACEOF
19489 cat confdefs.h
>>conftest.
$ac_ext
19490 cat >>conftest.
$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19493 #include <functional>
19494 #include <algorithm>
19500 std::vector<int> moo;
19501 std::list<int> foo;
19502 std::vector<int>::iterator it =
19503 std::find_if(moo.begin(), moo.end(),
19504 std::bind2nd(std::less<int>(), 3));
19509 rm -f conftest.
$ac_objext
19510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19511 (eval $ac_compile) 2>conftest.er1
19513 grep -v '^ *+' conftest.er1
>conftest.err
19515 cat conftest.err
>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } &&
19518 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; } &&
19524 { ac_try
='test -s conftest.$ac_objext'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; }; then
19530 echo "$as_me:$LINENO: result: yes" >&5
19531 echo "${ECHO_T}yes" >&6
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.
$ac_ext >&5
19536 echo "$as_me:$LINENO: result: no" >&5
19537 echo "${ECHO_T}no" >&6
19538 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19539 echo "$as_me: error: Basic STL functionality missing" >&2;}
19540 { (exit 1); exit 1; }; }
19542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19544 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19545 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19546 cat >conftest.
$ac_ext <<_ACEOF
19549 cat confdefs.h
>>conftest.
$ac_ext
19550 cat >>conftest.
$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19561 rm -f conftest.
$ac_objext
19562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19563 (eval $ac_compile) 2>conftest.er1
19565 grep -v '^ *+' conftest.er1
>conftest.err
19567 cat conftest.err
>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try
='test -s conftest.$ac_objext'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19582 echo "$as_me:$LINENO: result: yes" >&5
19583 echo "${ECHO_T}yes" >&6
19584 cat >>confdefs.h
<<\_ACEOF
19585 #define HAVE_STD_WSTRING 1
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.
$ac_ext >&5
19592 echo "$as_me:$LINENO: result: no" >&5
19593 echo "${ECHO_T}no" >&6
19595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19597 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19598 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19599 cat >conftest.
$ac_ext <<_ACEOF
19602 cat confdefs.h
>>conftest.
$ac_ext
19603 cat >>conftest.
$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19609 std::string foo, bar;
19611 foo.compare(1, 1, bar);
19612 foo.compare(1, 1, bar, 1, 1);
19614 foo.compare(1, 1, "");
19615 foo.compare(1, 1, "", 2);
19620 rm -f conftest.
$ac_objext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19622 (eval $ac_compile) 2>conftest.er1
19624 grep -v '^ *+' conftest.er1
>conftest.err
19626 cat conftest.err
>&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try
='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19641 echo "$as_me:$LINENO: result: yes" >&5
19642 echo "${ECHO_T}yes" >&6
19643 cat >>confdefs.h
<<\_ACEOF
19644 #define HAVE_STD_STRING_COMPARE 1
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.
$ac_ext >&5
19651 echo "$as_me:$LINENO: result: no" >&5
19652 echo "${ECHO_T}no" >&6
19654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19656 if test "${ac_cv_header_hash_map+set}" = set; then
19657 echo "$as_me:$LINENO: checking for hash_map" >&5
19658 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19659 if test "${ac_cv_header_hash_map+set}" = set; then
19660 echo $ECHO_N "(cached) $ECHO_C" >&6
19662 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19663 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19665 # Is the header compilable?
19666 echo "$as_me:$LINENO: checking hash_map usability" >&5
19667 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19668 cat >conftest.
$ac_ext <<_ACEOF
19671 cat confdefs.h
>>conftest.
$ac_ext
19672 cat >>conftest.
$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 $ac_includes_default
19675 #include <hash_map>
19677 rm -f conftest.
$ac_objext
19678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19679 (eval $ac_compile) 2>conftest.er1
19681 grep -v '^ *+' conftest.er1
>conftest.err
19683 cat conftest.err
>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } &&
19686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try
='test -s conftest.$ac_objext'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; }; then
19698 ac_header_compiler
=yes
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.
$ac_ext >&5
19703 ac_header_compiler
=no
19705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19707 echo "${ECHO_T}$ac_header_compiler" >&6
19709 # Is the header present?
19710 echo "$as_me:$LINENO: checking hash_map presence" >&5
19711 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19712 cat >conftest.
$ac_ext <<_ACEOF
19715 cat confdefs.h
>>conftest.
$ac_ext
19716 cat >>conftest.
$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 #include <hash_map>
19720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19723 grep -v '^ *+' conftest.er1
>conftest.err
19725 cat conftest.err
>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } >/dev
/null
; then
19728 if test -s conftest.err
; then
19729 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19730 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19737 if test -z "$ac_cpp_err"; then
19738 ac_header_preproc
=yes
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.
$ac_ext >&5
19743 ac_header_preproc
=no
19745 rm -f conftest.err conftest.
$ac_ext
19746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19747 echo "${ECHO_T}$ac_header_preproc" >&6
19749 # So? What about this header?
19750 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19752 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19753 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19754 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19755 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19756 ac_header_preproc
=yes
19759 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19760 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19761 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19762 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19763 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19764 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19765 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19766 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19768 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19770 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19773 ## ----------------------------------------- ##
19774 ## Report this to wx-dev@lists.wxwidgets.org ##
19775 ## ----------------------------------------- ##
19778 sed "s/^/$as_me: WARNING: /" >&2
19781 echo "$as_me:$LINENO: checking for hash_map" >&5
19782 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19783 if test "${ac_cv_header_hash_map+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 ac_cv_header_hash_map
=$ac_header_preproc
19788 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19789 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19792 if test $ac_cv_header_hash_map = yes; then
19793 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19794 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
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 <hash_map>
19802 #include <hash_set>
19806 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19807 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19812 rm -f conftest.
$ac_objext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19814 (eval $ac_compile) 2>conftest.er1
19816 grep -v '^ *+' conftest.er1
>conftest.err
19818 cat conftest.err
>&5
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); } &&
19821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); }; } &&
19827 { ac_try
='test -s conftest.$ac_objext'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; }; then
19833 echo "$as_me:$LINENO: result: yes" >&5
19834 echo "${ECHO_T}yes" >&6
19835 cat >>confdefs.h
<<\_ACEOF
19836 #define HAVE_HASH_MAP 1
19839 cat >>confdefs.h
<<\_ACEOF
19840 #define HAVE_STD_HASH_MAP 1
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.
$ac_ext >&5
19847 echo "$as_me:$LINENO: result: no" >&5
19848 echo "${ECHO_T}no" >&6
19850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19856 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19857 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19858 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19859 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19862 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19863 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19865 # Is the header compilable?
19866 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19867 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19868 cat >conftest.
$ac_ext <<_ACEOF
19871 cat confdefs.h
>>conftest.
$ac_ext
19872 cat >>conftest.
$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 $ac_includes_default
19875 #include <ext/hash_map>
19877 rm -f conftest.
$ac_objext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19879 (eval $ac_compile) 2>conftest.er1
19881 grep -v '^ *+' conftest.er1
>conftest.err
19883 cat conftest.err
>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; } &&
19892 { ac_try
='test -s conftest.$ac_objext'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; }; then
19898 ac_header_compiler
=yes
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.
$ac_ext >&5
19903 ac_header_compiler
=no
19905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19907 echo "${ECHO_T}$ac_header_compiler" >&6
19909 # Is the header present?
19910 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19911 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19912 cat >conftest.
$ac_ext <<_ACEOF
19915 cat confdefs.h
>>conftest.
$ac_ext
19916 cat >>conftest.
$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 #include <ext/hash_map>
19920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19921 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19923 grep -v '^ *+' conftest.er1
>conftest.err
19925 cat conftest.err
>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); } >/dev
/null
; then
19928 if test -s conftest.err
; then
19929 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19930 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19937 if test -z "$ac_cpp_err"; then
19938 ac_header_preproc
=yes
19940 echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.
$ac_ext >&5
19943 ac_header_preproc
=no
19945 rm -f conftest.err conftest.
$ac_ext
19946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19947 echo "${ECHO_T}$ac_header_preproc" >&6
19949 # So? What about this header?
19950 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19952 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19953 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19954 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
19955 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
19956 ac_header_preproc
=yes
19959 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
19960 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
19961 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
19962 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
19963 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
19964 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
19965 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
19966 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19967 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
19968 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
19969 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
19970 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
19973 ## ----------------------------------------- ##
19974 ## Report this to wx-dev@lists.wxwidgets.org ##
19975 ## ----------------------------------------- ##
19978 sed "s/^/$as_me: WARNING: /" >&2
19981 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19982 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19983 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 ac_cv_header_ext_hash_map
=$ac_header_preproc
19988 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19989 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19992 if test $ac_cv_header_ext_hash_map = yes; then
19993 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19994 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19995 cat >conftest.
$ac_ext <<_ACEOF
19998 cat confdefs.h
>>conftest.
$ac_ext
19999 cat >>conftest.
$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 #include <ext/hash_map>
20002 #include <ext/hash_set>
20006 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20007 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20012 rm -f conftest.
$ac_objext
20013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20014 (eval $ac_compile) 2>conftest.er1
20016 grep -v '^ *+' conftest.er1
>conftest.err
20018 cat conftest.err
>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } &&
20021 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20023 (eval $ac_try) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); }; } &&
20027 { ac_try
='test -s conftest.$ac_objext'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; }; then
20033 echo "$as_me:$LINENO: result: yes" >&5
20034 echo "${ECHO_T}yes" >&6
20035 cat >>confdefs.h
<<\_ACEOF
20036 #define HAVE_EXT_HASH_MAP 1
20039 cat >>confdefs.h
<<\_ACEOF
20040 #define HAVE_GNU_CXX_HASH_MAP 1
20044 echo "$as_me: failed program was:" >&5
20045 sed 's/^/| /' conftest.
$ac_ext >&5
20047 echo "$as_me:$LINENO: result: no" >&5
20048 echo "${ECHO_T}no" >&6
20050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20057 ac_cpp
='$CPP $CPPFLAGS'
20058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20066 /usr/local/include \
20068 /usr/Motif-2.1/include \
20069 /usr/Motif-1.2/include \
20070 /usr/include/Motif1.2 \
20071 /opt/xpm/include/X11 \
20072 /opt/GBxpm/include/ \
20073 /opt/GBxpm/X11/include/ \
20076 /usr/openwin/include \
20080 /usr/X11R6/include \
20081 /usr/X11R6.4/include \
20082 /usr/X11R5/include \
20083 /usr/X11R4/include \
20085 /usr/include/X11R6 \
20086 /usr/include/X11R5 \
20087 /usr/include/X11R4 \
20089 /usr/local/X11R6/include \
20090 /usr/local/X11R5/include \
20091 /usr/local/X11R4/include \
20093 /usr/local/include/X11R6 \
20094 /usr/local/include/X11R5 \
20095 /usr/local/include/X11R4 \
20099 /usr/local/X11/include \
20100 /usr/local/include/X11 \
20102 /usr/X386/include \
20103 /usr/x386/include \
20104 /usr/XFree86/include/X11 \
20106 X:/XFree86/include \
20107 X:/XFree86/include/X11 \
20110 /usr/local/include/gtk \
20111 /usr/include/glib \
20112 /usr/local/include/glib \
20115 /usr/local/include/qt \
20117 /usr/local/arm/3.3.2/include \
20119 /usr/include/windows \
20120 /usr/include/wine \
20121 /usr/local/include/wine \
20123 /usr/unsupported/include \
20124 /usr/athena/include \
20125 /usr/local/x11r5/include \
20126 /usr/lpp/Xamples/include \
20128 /usr/openwin/share/include"
20130 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20133 cat >confcache
<<\_ACEOF
20134 # This file is a shell script that caches the results of configure
20135 # tests run on this system so they can be shared between configure
20136 # scripts and configure runs, see configure's option --config-cache.
20137 # It is not useful on other systems. If it contains results you don't
20138 # want to keep, you may remove or edit it.
20140 # config.status only pays attention to the cache file if you give it
20141 # the --recheck option to rerun configure.
20143 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20144 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20145 # following values.
20149 # The following way of writing the cache mishandles newlines in values,
20150 # but we know of no workaround that is simple, portable, and efficient.
20151 # So, don't put newlines in cache variables' values.
20152 # Ultrix sh set writes to stderr and can't be redirected directly,
20153 # and sets the high bit in the cache file unless we assign to the vars.
20156 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20158 # `set' does not quote correctly, so add quotes (double-quote
20159 # substitution turns \\\\ into \\, and sed turns \\ into \).
20162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20165 # `set' quotes correctly as required by POSIX, so do not add quotes.
20167 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20174 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20176 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20178 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20179 if test -w $cache_file; then
20180 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20181 cat confcache
>$cache_file
20183 echo "not updating unwritable cache $cache_file"
20188 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20189 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20190 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20191 if test "${wx_cv_lib_glibc21+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 cat >conftest.
$ac_ext <<_ACEOF
20198 cat confdefs.h
>>conftest.
$ac_ext
20199 cat >>conftest.
$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 #include <features.h>
20206 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20207 #error not glibc2.1
20214 rm -f conftest.
$ac_objext
20215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20216 (eval $ac_compile) 2>conftest.er1
20218 grep -v '^ *+' conftest.er1
>conftest.err
20220 cat conftest.err
>&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } &&
20223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; } &&
20229 { ac_try
='test -s conftest.$ac_objext'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; }; then
20236 wx_cv_lib_glibc21
=yes
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20243 wx_cv_lib_glibc21
=no
20247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20250 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20251 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20252 if test "$wx_cv_lib_glibc21" = "yes"; then
20253 cat >>confdefs.h
<<\_ACEOF
20254 #define wxHAVE_GLIBC2 1
20260 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20261 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20262 cat >>confdefs.h
<<\_ACEOF
20263 #define _GNU_SOURCE 1
20271 if test "$wxUSE_REGEX" != "no"; then
20272 cat >>confdefs.h
<<\_ACEOF
20273 #define wxUSE_REGEX 1
20277 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20278 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20279 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20280 wxUSE_REGEX
=builtin
20283 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20284 if test "${ac_cv_header_regex_h+set}" = set; then
20285 echo "$as_me:$LINENO: checking for regex.h" >&5
20286 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20287 if test "${ac_cv_header_regex_h+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20291 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20293 # Is the header compilable?
20294 echo "$as_me:$LINENO: checking regex.h usability" >&5
20295 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20296 cat >conftest.
$ac_ext <<_ACEOF
20299 cat confdefs.h
>>conftest.
$ac_ext
20300 cat >>conftest.
$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 $ac_includes_default
20305 rm -f conftest.
$ac_objext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20307 (eval $ac_compile) 2>conftest.er1
20309 grep -v '^ *+' conftest.er1
>conftest.err
20311 cat conftest.err
>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } &&
20314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try
='test -s conftest.$ac_objext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 ac_header_compiler
=yes
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.
$ac_ext >&5
20331 ac_header_compiler
=no
20333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20335 echo "${ECHO_T}$ac_header_compiler" >&6
20337 # Is the header present?
20338 echo "$as_me:$LINENO: checking regex.h presence" >&5
20339 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20340 cat >conftest.
$ac_ext <<_ACEOF
20343 cat confdefs.h
>>conftest.
$ac_ext
20344 cat >>conftest.
$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20351 grep -v '^ *+' conftest.er1
>conftest.err
20353 cat conftest.err
>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } >/dev
/null
; then
20356 if test -s conftest.err
; then
20357 ac_cpp_err
=$ac_c_preproc_warn_flag
20358 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20365 if test -z "$ac_cpp_err"; then
20366 ac_header_preproc
=yes
20368 echo "$as_me: failed program was:" >&5
20369 sed 's/^/| /' conftest.
$ac_ext >&5
20371 ac_header_preproc
=no
20373 rm -f conftest.err conftest.
$ac_ext
20374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20375 echo "${ECHO_T}$ac_header_preproc" >&6
20377 # So? What about this header?
20378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20380 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20381 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20382 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20383 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20384 ac_header_preproc
=yes
20387 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20388 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20389 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20390 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20391 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20392 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20393 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20394 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20395 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20396 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20397 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20398 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20401 ## ----------------------------------------- ##
20402 ## Report this to wx-dev@lists.wxwidgets.org ##
20403 ## ----------------------------------------- ##
20406 sed "s/^/$as_me: WARNING: /" >&2
20409 echo "$as_me:$LINENO: checking for regex.h" >&5
20410 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20411 if test "${ac_cv_header_regex_h+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 ac_cv_header_regex_h
=$ac_header_preproc
20416 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20417 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20420 if test $ac_cv_header_regex_h = yes; then
20422 for ac_func
in regcomp
20424 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20425 echo "$as_me:$LINENO: checking for $ac_func" >&5
20426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20427 if eval "test \"\${$as_ac_var+set}\" = set"; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 cat >conftest.
$ac_ext <<_ACEOF
20433 cat confdefs.h
>>conftest.
$ac_ext
20434 cat >>conftest.
$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20438 #define $ac_func innocuous_$ac_func
20440 /* System header to define __stub macros and hopefully few prototypes,
20441 which can conflict with char $ac_func (); below.
20442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20443 <limits.h> exists even on freestanding compilers. */
20446 # include <limits.h>
20448 # include <assert.h>
20453 /* Override any gcc2 internal prototype to avoid an error. */
20458 /* We use char because int might match the return type of a gcc2
20459 builtin and then its argument prototype would still apply. */
20461 /* The GNU C library defines this for functions which it implements
20462 to always fail with ENOSYS. Some functions are actually named
20463 something starting with __ and the normal name is an alias. */
20464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20467 char (*f) () = $ac_func;
20476 return f != $ac_func;
20481 rm -f conftest.
$ac_objext conftest
$ac_exeext
20482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20483 (eval $ac_link) 2>conftest.er1
20485 grep -v '^ *+' conftest.er1
>conftest.err
20487 cat conftest.err
>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); } &&
20490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; } &&
20496 { ac_try
='test -s conftest$ac_exeext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 eval "$as_ac_var=yes"
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.
$ac_ext >&5
20507 eval "$as_ac_var=no"
20509 rm -f conftest.err conftest.
$ac_objext \
20510 conftest
$ac_exeext conftest.
$ac_ext
20512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20514 if test `eval echo '${'$as_ac_var'}'` = yes; then
20515 cat >>confdefs.h
<<_ACEOF
20516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20526 if test "x$ac_cv_func_regcomp" != "xyes"; then
20527 if test "$wxUSE_REGEX" = "sys" ; then
20528 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20529 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20530 { (exit 1); exit 1; }; }
20532 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20533 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20534 wxUSE_REGEX
=builtin
20538 cat >>confdefs.h
<<\_ACEOF
20539 #define WX_NO_REGEX_ADVANCED 1
20548 if test "$wxUSE_ZLIB" != "no" ; then
20549 cat >>confdefs.h
<<\_ACEOF
20550 #define wxUSE_ZLIB 1
20554 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20555 if test "$USE_DARWIN" = 1; then
20556 system_zlib_h_ok
="yes"
20558 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20559 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20560 if test "${ac_cv_header_zlib_h+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 if test "$cross_compiling" = yes; then
20564 unset ac_cv_header_zlib_h
20567 cat >conftest.
$ac_ext <<_ACEOF
20570 cat confdefs.h
>>conftest.
$ac_ext
20571 cat >>conftest.
$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20579 FILE *f=fopen("conftestval", "w");
20582 ZLIB_VERSION[0] == '1' &&
20583 (ZLIB_VERSION[2] > '1' ||
20584 (ZLIB_VERSION[2] == '1' &&
20585 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20590 rm -f conftest
$ac_exeext
20591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20592 (eval $ac_link) 2>&5
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_cv_header_zlib_h
=`cat conftestval`
20603 echo "$as_me: program exited with status $ac_status" >&5
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.
$ac_ext >&5
20607 ( exit $ac_status )
20608 ac_cv_header_zlib_h
=no
20610 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20614 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20615 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20616 if test "${ac_cv_header_zlib_h+set}" = set; then
20617 echo "$as_me:$LINENO: checking for zlib.h" >&5
20618 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20619 if test "${ac_cv_header_zlib_h+set}" = set; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20622 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20623 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20625 # Is the header compilable?
20626 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20627 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20628 cat >conftest.
$ac_ext <<_ACEOF
20631 cat confdefs.h
>>conftest.
$ac_ext
20632 cat >>conftest.
$ac_ext <<_ACEOF
20633 /* end confdefs.h. */
20634 $ac_includes_default
20637 rm -f conftest.
$ac_objext
20638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20639 (eval $ac_compile) 2>conftest.er1
20641 grep -v '^ *+' conftest.er1
>conftest.err
20643 cat conftest.err
>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } &&
20646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; } &&
20652 { ac_try
='test -s conftest.$ac_objext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_header_compiler
=yes
20660 echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.
$ac_ext >&5
20663 ac_header_compiler
=no
20665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20667 echo "${ECHO_T}$ac_header_compiler" >&6
20669 # Is the header present?
20670 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20671 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20672 cat >conftest.
$ac_ext <<_ACEOF
20675 cat confdefs.h
>>conftest.
$ac_ext
20676 cat >>conftest.
$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20681 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20683 grep -v '^ *+' conftest.er1
>conftest.err
20685 cat conftest.err
>&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } >/dev
/null
; then
20688 if test -s conftest.err
; then
20689 ac_cpp_err
=$ac_c_preproc_warn_flag
20690 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20697 if test -z "$ac_cpp_err"; then
20698 ac_header_preproc
=yes
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.
$ac_ext >&5
20703 ac_header_preproc
=no
20705 rm -f conftest.err conftest.
$ac_ext
20706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20707 echo "${ECHO_T}$ac_header_preproc" >&6
20709 # So? What about this header?
20710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20712 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20713 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20714 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20715 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20716 ac_header_preproc
=yes
20719 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20720 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20721 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20722 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20723 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20724 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20725 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20726 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20727 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20728 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20729 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20730 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20733 ## ----------------------------------------- ##
20734 ## Report this to wx-dev@lists.wxwidgets.org ##
20735 ## ----------------------------------------- ##
20738 sed "s/^/$as_me: WARNING: /" >&2
20741 echo "$as_me:$LINENO: checking for zlib.h" >&5
20742 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20743 if test "${ac_cv_header_zlib_h+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20746 ac_cv_header_zlib_h
=$ac_header_preproc
20748 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20749 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20755 system_zlib_h_ok
=$ac_cv_header_zlib_h
20758 if test "$system_zlib_h_ok" = "yes"; then
20759 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20760 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20761 if test "${ac_cv_lib_z_deflate+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20764 ac_check_lib_save_LIBS
=$LIBS
20766 cat >conftest.
$ac_ext <<_ACEOF
20769 cat confdefs.h
>>conftest.
$ac_ext
20770 cat >>conftest.
$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20773 /* Override any gcc2 internal prototype to avoid an error. */
20777 /* We use char because int might match the return type of a gcc2
20778 builtin and then its argument prototype would still apply. */
20788 rm -f conftest.
$ac_objext conftest
$ac_exeext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20790 (eval $ac_link) 2>conftest.er1
20792 grep -v '^ *+' conftest.er1
>conftest.err
20794 cat conftest.err
>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try
='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 ac_cv_lib_z_deflate
=yes
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.
$ac_ext >&5
20814 ac_cv_lib_z_deflate
=no
20816 rm -f conftest.err conftest.
$ac_objext \
20817 conftest
$ac_exeext conftest.
$ac_ext
20818 LIBS
=$ac_check_lib_save_LIBS
20820 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20821 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20822 if test $ac_cv_lib_z_deflate = yes; then
20828 if test "x$ZLIB_LINK" = "x" ; then
20829 if test "$wxUSE_ZLIB" = "sys" ; then
20830 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20831 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20832 { (exit 1); exit 1; }; }
20834 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20835 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20846 if test "$wxUSE_LIBPNG" != "no" ; then
20847 cat >>confdefs.h
<<\_ACEOF
20848 #define wxUSE_LIBPNG 1
20852 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20853 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20854 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20858 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20859 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20860 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20861 wxUSE_LIBPNG
=builtin
20864 if test "$wxUSE_MGL" != 1 ; then
20865 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20866 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20867 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20868 if test "${ac_cv_header_png_h+set}" = set; then
20869 echo $ECHO_N "(cached) $ECHO_C" >&6
20871 if test "$cross_compiling" = yes; then
20872 unset ac_cv_header_png_h
20875 cat >conftest.
$ac_ext <<_ACEOF
20878 cat confdefs.h
>>conftest.
$ac_ext
20879 cat >>conftest.
$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20887 FILE *f=fopen("conftestval", "w");
20890 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20895 rm -f conftest
$ac_exeext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20897 (eval $ac_link) 2>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20906 ac_cv_header_png_h
=`cat conftestval`
20908 echo "$as_me: program exited with status $ac_status" >&5
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.
$ac_ext >&5
20912 ( exit $ac_status )
20913 ac_cv_header_png_h
=no
20915 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20919 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20920 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20921 if test "${ac_cv_header_png_h+set}" = set; then
20922 echo "$as_me:$LINENO: checking for png.h" >&5
20923 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20924 if test "${ac_cv_header_png_h+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20928 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20930 # Is the header compilable?
20931 echo "$as_me:$LINENO: checking png.h usability" >&5
20932 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20933 cat >conftest.
$ac_ext <<_ACEOF
20936 cat confdefs.h
>>conftest.
$ac_ext
20937 cat >>conftest.
$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20942 rm -f conftest.
$ac_objext
20943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20944 (eval $ac_compile) 2>conftest.er1
20946 grep -v '^ *+' conftest.er1
>conftest.err
20948 cat conftest.err
>&5
20949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20950 (exit $ac_status); } &&
20951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20953 (eval $ac_try) 2>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); }; } &&
20957 { ac_try
='test -s conftest.$ac_objext'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; }; then
20963 ac_header_compiler
=yes
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20968 ac_header_compiler
=no
20970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20972 echo "${ECHO_T}$ac_header_compiler" >&6
20974 # Is the header present?
20975 echo "$as_me:$LINENO: checking png.h presence" >&5
20976 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20977 cat >conftest.
$ac_ext <<_ACEOF
20980 cat confdefs.h
>>conftest.
$ac_ext
20981 cat >>conftest.
$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20988 grep -v '^ *+' conftest.er1
>conftest.err
20990 cat conftest.err
>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } >/dev
/null
; then
20993 if test -s conftest.err
; then
20994 ac_cpp_err
=$ac_c_preproc_warn_flag
20995 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21002 if test -z "$ac_cpp_err"; then
21003 ac_header_preproc
=yes
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.
$ac_ext >&5
21008 ac_header_preproc
=no
21010 rm -f conftest.err conftest.
$ac_ext
21011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21012 echo "${ECHO_T}$ac_header_preproc" >&6
21014 # So? What about this header?
21015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21017 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21018 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21019 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21020 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21021 ac_header_preproc
=yes
21024 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21025 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21026 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21027 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21028 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21029 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21030 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21031 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21032 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21033 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21034 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21035 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21038 ## ----------------------------------------- ##
21039 ## Report this to wx-dev@lists.wxwidgets.org ##
21040 ## ----------------------------------------- ##
21043 sed "s/^/$as_me: WARNING: /" >&2
21046 echo "$as_me:$LINENO: checking for png.h" >&5
21047 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21048 if test "${ac_cv_header_png_h+set}" = set; then
21049 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 ac_cv_header_png_h
=$ac_header_preproc
21053 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21054 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21060 if test "$ac_cv_header_png_h" = "yes"; then
21061 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21062 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21063 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 ac_check_lib_save_LIBS
=$LIBS
21067 LIBS
="-lpng -lz -lm $LIBS"
21068 cat >conftest.
$ac_ext <<_ACEOF
21071 cat confdefs.h
>>conftest.
$ac_ext
21072 cat >>conftest.
$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21075 /* Override any gcc2 internal prototype to avoid an error. */
21079 /* We use char because int might match the return type of a gcc2
21080 builtin and then its argument prototype would still apply. */
21081 char png_check_sig ();
21090 rm -f conftest.
$ac_objext conftest
$ac_exeext
21091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21092 (eval $ac_link) 2>conftest.er1
21094 grep -v '^ *+' conftest.er1
>conftest.err
21096 cat conftest.err
>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; } &&
21105 { ac_try
='test -s conftest$ac_exeext'
21106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21107 (eval $ac_try) 2>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; }; then
21111 ac_cv_lib_png_png_check_sig
=yes
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.
$ac_ext >&5
21116 ac_cv_lib_png_png_check_sig
=no
21118 rm -f conftest.err conftest.
$ac_objext \
21119 conftest
$ac_exeext conftest.
$ac_ext
21120 LIBS
=$ac_check_lib_save_LIBS
21122 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21123 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21124 if test $ac_cv_lib_png_png_check_sig = yes; then
21125 PNG_LINK
=" -lpng -lz"
21130 if test "x$PNG_LINK" = "x" ; then
21131 if test "$wxUSE_LIBPNG" = "sys" ; then
21132 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21133 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21134 { (exit 1); exit 1; }; }
21136 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21137 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21138 wxUSE_LIBPNG
=builtin
21146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21151 if test "$wxUSE_LIBJPEG" != "no" ; then
21152 cat >>confdefs.h
<<\_ACEOF
21153 #define wxUSE_LIBJPEG 1
21157 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21158 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21159 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21163 if test "$wxUSE_MGL" != 1 ; then
21164 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21165 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21166 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21167 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21170 cat >conftest.
$ac_ext <<_ACEOF
21173 cat confdefs.h
>>conftest.
$ac_ext
21174 cat >>conftest.
$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21177 #undef HAVE_STDLIB_H
21179 #include <jpeglib.h>
21190 rm -f conftest.
$ac_objext
21191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21192 (eval $ac_compile) 2>conftest.er1
21194 grep -v '^ *+' conftest.er1
>conftest.err
21196 cat conftest.err
>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } &&
21199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; } &&
21205 { ac_try
='test -s conftest.$ac_objext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_header_jpeglib_h
=yes
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.
$ac_ext >&5
21216 ac_cv_header_jpeglib_h
=no
21219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21223 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21224 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21226 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21227 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21228 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21229 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21230 echo $ECHO_N "(cached) $ECHO_C" >&6
21232 ac_check_lib_save_LIBS
=$LIBS
21233 LIBS
="-ljpeg $LIBS"
21234 cat >conftest.
$ac_ext <<_ACEOF
21237 cat confdefs.h
>>conftest.
$ac_ext
21238 cat >>conftest.
$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21241 /* Override any gcc2 internal prototype to avoid an error. */
21245 /* We use char because int might match the return type of a gcc2
21246 builtin and then its argument prototype would still apply. */
21247 char jpeg_read_header ();
21251 jpeg_read_header ();
21256 rm -f conftest.
$ac_objext conftest
$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>conftest.er1
21260 grep -v '^ *+' conftest.er1
>conftest.err
21262 cat conftest.err
>&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21267 (eval $ac_try) 2>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; } &&
21271 { ac_try
='test -s conftest$ac_exeext'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; }; then
21277 ac_cv_lib_jpeg_jpeg_read_header
=yes
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.
$ac_ext >&5
21282 ac_cv_lib_jpeg_jpeg_read_header
=no
21284 rm -f conftest.err conftest.
$ac_objext \
21285 conftest
$ac_exeext conftest.
$ac_ext
21286 LIBS
=$ac_check_lib_save_LIBS
21288 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21289 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21290 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21291 JPEG_LINK
=" -ljpeg"
21296 if test "x$JPEG_LINK" = "x" ; then
21297 if test "$wxUSE_LIBJPEG" = "sys" ; then
21298 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21299 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21300 { (exit 1); exit 1; }; }
21302 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21303 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21304 wxUSE_LIBJPEG
=builtin
21315 TIFF_PREREQ_LINKS
=-lm
21316 if test "$wxUSE_LIBTIFF" != "no" ; then
21317 cat >>confdefs.h
<<\_ACEOF
21318 #define wxUSE_LIBTIFF 1
21322 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21323 if test "$wxUSE_LIBJPEG" = "sys"; then
21324 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21326 if test "$wxUSE_ZLIB" = "sys"; then
21327 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21329 if test "${ac_cv_header_tiffio_h+set}" = set; then
21330 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21331 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21332 if test "${ac_cv_header_tiffio_h+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21336 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21338 # Is the header compilable?
21339 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21340 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21341 cat >conftest.
$ac_ext <<_ACEOF
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21348 #include <tiffio.h>
21350 rm -f conftest.
$ac_objext
21351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21352 (eval $ac_compile) 2>conftest.er1
21354 grep -v '^ *+' conftest.er1
>conftest.err
21356 cat conftest.err
>&5
21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21358 (exit $ac_status); } &&
21359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try
='test -s conftest.$ac_objext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 ac_header_compiler
=yes
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 ac_header_compiler
=no
21378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21380 echo "${ECHO_T}$ac_header_compiler" >&6
21382 # Is the header present?
21383 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21384 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21385 cat >conftest.
$ac_ext <<_ACEOF
21388 cat confdefs.h
>>conftest.
$ac_ext
21389 cat >>conftest.
$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 #include <tiffio.h>
21393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21396 grep -v '^ *+' conftest.er1
>conftest.err
21398 cat conftest.err
>&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } >/dev
/null
; then
21401 if test -s conftest.err
; then
21402 ac_cpp_err
=$ac_c_preproc_warn_flag
21403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21410 if test -z "$ac_cpp_err"; then
21411 ac_header_preproc
=yes
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.
$ac_ext >&5
21416 ac_header_preproc
=no
21418 rm -f conftest.err conftest.
$ac_ext
21419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21420 echo "${ECHO_T}$ac_header_preproc" >&6
21422 # So? What about this header?
21423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21425 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21426 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21427 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21428 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21429 ac_header_preproc
=yes
21432 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21433 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21434 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21435 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21436 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21437 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21438 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21439 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21440 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21441 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21442 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21443 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21446 ## ----------------------------------------- ##
21447 ## Report this to wx-dev@lists.wxwidgets.org ##
21448 ## ----------------------------------------- ##
21451 sed "s/^/$as_me: WARNING: /" >&2
21454 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21455 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21456 if test "${ac_cv_header_tiffio_h+set}" = set; then
21457 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 ac_cv_header_tiffio_h
=$ac_header_preproc
21461 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21462 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21465 if test $ac_cv_header_tiffio_h = yes; then
21467 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21468 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21469 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21472 ac_check_lib_save_LIBS
=$LIBS
21473 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21474 cat >conftest.
$ac_ext <<_ACEOF
21477 cat confdefs.h
>>conftest.
$ac_ext
21478 cat >>conftest.
$ac_ext <<_ACEOF
21479 /* end confdefs.h. */
21481 /* Override any gcc2 internal prototype to avoid an error. */
21485 /* We use char because int might match the return type of a gcc2
21486 builtin and then its argument prototype would still apply. */
21496 rm -f conftest.
$ac_objext conftest
$ac_exeext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21498 (eval $ac_link) 2>conftest.er1
21500 grep -v '^ *+' conftest.er1
>conftest.err
21502 cat conftest.err
>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try
='test -s conftest$ac_exeext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 ac_cv_lib_tiff_TIFFError
=yes
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.
$ac_ext >&5
21522 ac_cv_lib_tiff_TIFFError
=no
21524 rm -f conftest.err conftest.
$ac_objext \
21525 conftest
$ac_exeext conftest.
$ac_ext
21526 LIBS
=$ac_check_lib_save_LIBS
21528 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21529 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21530 if test $ac_cv_lib_tiff_TIFFError = yes; then
21531 TIFF_LINK
=" -ltiff"
21540 if test "x$TIFF_LINK" = "x" ; then
21541 if test "$wxUSE_LIBTIFF" = "sys" ; then
21542 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21543 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21544 { (exit 1); exit 1; }; }
21546 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21547 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21548 wxUSE_LIBTIFF
=builtin
21557 if test "$wxUSE_EXPAT" != "no"; then
21559 cat >>confdefs.h
<<\_ACEOF
21560 #define wxUSE_EXPAT 1
21563 cat >>confdefs.h
<<\_ACEOF
21564 #define wxUSE_XML 1
21568 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21569 if test "${ac_cv_header_expat_h+set}" = set; then
21570 echo "$as_me:$LINENO: checking for expat.h" >&5
21571 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21572 if test "${ac_cv_header_expat_h+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21576 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21578 # Is the header compilable?
21579 echo "$as_me:$LINENO: checking expat.h usability" >&5
21580 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21581 cat >conftest.
$ac_ext <<_ACEOF
21584 cat confdefs.h
>>conftest.
$ac_ext
21585 cat >>conftest.
$ac_ext <<_ACEOF
21586 /* end confdefs.h. */
21587 $ac_includes_default
21590 rm -f conftest.
$ac_objext
21591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21592 (eval $ac_compile) 2>conftest.er1
21594 grep -v '^ *+' conftest.er1
>conftest.err
21596 cat conftest.err
>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } &&
21599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; } &&
21605 { ac_try
='test -s conftest.$ac_objext'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 ac_header_compiler
=yes
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.
$ac_ext >&5
21616 ac_header_compiler
=no
21618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21620 echo "${ECHO_T}$ac_header_compiler" >&6
21622 # Is the header present?
21623 echo "$as_me:$LINENO: checking expat.h presence" >&5
21624 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21625 cat >conftest.
$ac_ext <<_ACEOF
21628 cat confdefs.h
>>conftest.
$ac_ext
21629 cat >>conftest.
$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21634 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21636 grep -v '^ *+' conftest.er1
>conftest.err
21638 cat conftest.err
>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } >/dev
/null
; then
21641 if test -s conftest.err
; then
21642 ac_cpp_err
=$ac_c_preproc_warn_flag
21643 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21650 if test -z "$ac_cpp_err"; then
21651 ac_header_preproc
=yes
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.
$ac_ext >&5
21656 ac_header_preproc
=no
21658 rm -f conftest.err conftest.
$ac_ext
21659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21660 echo "${ECHO_T}$ac_header_preproc" >&6
21662 # So? What about this header?
21663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21665 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21666 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21667 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21668 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21669 ac_header_preproc
=yes
21672 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21673 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21675 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21676 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21677 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21678 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21679 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21680 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21681 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21682 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21683 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21686 ## ----------------------------------------- ##
21687 ## Report this to wx-dev@lists.wxwidgets.org ##
21688 ## ----------------------------------------- ##
21691 sed "s/^/$as_me: WARNING: /" >&2
21694 echo "$as_me:$LINENO: checking for expat.h" >&5
21695 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21696 if test "${ac_cv_header_expat_h+set}" = set; then
21697 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 ac_cv_header_expat_h
=$ac_header_preproc
21701 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21702 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21705 if test $ac_cv_header_expat_h = yes; then
21710 if test "x$found_expat_h" = "x1"; then
21711 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21712 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21713 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21714 echo $ECHO_N "(cached) $ECHO_C" >&6
21720 ac_cpp
='$CXXCPP $CPPFLAGS'
21721 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21722 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21723 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21725 cat >conftest.
$ac_ext <<_ACEOF
21728 cat confdefs.h
>>conftest.
$ac_ext
21729 cat >>conftest.
$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21740 rm -f conftest.
$ac_objext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21742 (eval $ac_compile) 2>conftest.er1
21744 grep -v '^ *+' conftest.er1
>conftest.err
21746 cat conftest.err
>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try
='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 wx_cv_expat_is_not_broken
=yes
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.
$ac_ext >&5
21766 wx_cv_expat_is_not_broken
=no
21769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21771 ac_cpp
='$CPP $CPPFLAGS'
21772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21779 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21780 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21781 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21782 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21783 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21784 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21787 ac_check_lib_save_LIBS
=$LIBS
21788 LIBS
="-lexpat $LIBS"
21789 cat >conftest.
$ac_ext <<_ACEOF
21792 cat confdefs.h
>>conftest.
$ac_ext
21793 cat >>conftest.
$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21796 /* Override any gcc2 internal prototype to avoid an error. */
21800 /* We use char because int might match the return type of a gcc2
21801 builtin and then its argument prototype would still apply. */
21802 char XML_ParserCreate ();
21806 XML_ParserCreate ();
21811 rm -f conftest.
$ac_objext conftest
$ac_exeext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21813 (eval $ac_link) 2>conftest.er1
21815 grep -v '^ *+' conftest.er1
>conftest.err
21817 cat conftest.err
>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); } &&
21820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; } &&
21826 { ac_try
='test -s conftest$ac_exeext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 ac_cv_lib_expat_XML_ParserCreate
=yes
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.
$ac_ext >&5
21837 ac_cv_lib_expat_XML_ParserCreate
=no
21839 rm -f conftest.err conftest.
$ac_objext \
21840 conftest
$ac_exeext conftest.
$ac_ext
21841 LIBS
=$ac_check_lib_save_LIBS
21843 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21844 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21845 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21846 EXPAT_LINK
=" -lexpat"
21851 if test "x$EXPAT_LINK" = "x" ; then
21852 if test "$wxUSE_EXPAT" = "sys" ; then
21853 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21854 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21855 { (exit 1); exit 1; }; }
21857 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21858 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21859 wxUSE_EXPAT
=builtin
21865 if test "$wxUSE_EXPAT" = "builtin" ; then
21868 subdirs
="$subdirs src/expat"
21875 if test "$wxUSE_LIBMSPACK" != "no"; then
21877 if test "${ac_cv_header_mspack_h+set}" = set; then
21878 echo "$as_me:$LINENO: checking for mspack.h" >&5
21879 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21880 if test "${ac_cv_header_mspack_h+set}" = set; then
21881 echo $ECHO_N "(cached) $ECHO_C" >&6
21883 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21884 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21886 # Is the header compilable?
21887 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21888 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21889 cat >conftest.
$ac_ext <<_ACEOF
21892 cat confdefs.h
>>conftest.
$ac_ext
21893 cat >>conftest.
$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 #include <mspack.h>
21898 rm -f conftest.
$ac_objext
21899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21900 (eval $ac_compile) 2>conftest.er1
21902 grep -v '^ *+' conftest.er1
>conftest.err
21904 cat conftest.err
>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } &&
21907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909 (eval $ac_try) 2>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); }; } &&
21913 { ac_try
='test -s conftest.$ac_objext'
21914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21915 (eval $ac_try) 2>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; }; then
21919 ac_header_compiler
=yes
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.
$ac_ext >&5
21924 ac_header_compiler
=no
21926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21928 echo "${ECHO_T}$ac_header_compiler" >&6
21930 # Is the header present?
21931 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21932 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21933 cat >conftest.
$ac_ext <<_ACEOF
21936 cat confdefs.h
>>conftest.
$ac_ext
21937 cat >>conftest.
$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21939 #include <mspack.h>
21941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21944 grep -v '^ *+' conftest.er1
>conftest.err
21946 cat conftest.err
>&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } >/dev
/null
; then
21949 if test -s conftest.err
; then
21950 ac_cpp_err
=$ac_c_preproc_warn_flag
21951 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21958 if test -z "$ac_cpp_err"; then
21959 ac_header_preproc
=yes
21961 echo "$as_me: failed program was:" >&5
21962 sed 's/^/| /' conftest.
$ac_ext >&5
21964 ac_header_preproc
=no
21966 rm -f conftest.err conftest.
$ac_ext
21967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21968 echo "${ECHO_T}$ac_header_preproc" >&6
21970 # So? What about this header?
21971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21973 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21974 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21975 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21976 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21977 ac_header_preproc
=yes
21980 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21981 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21982 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21983 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21984 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21985 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21986 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21987 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21988 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21989 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21990 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21991 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21994 ## ----------------------------------------- ##
21995 ## Report this to wx-dev@lists.wxwidgets.org ##
21996 ## ----------------------------------------- ##
21999 sed "s/^/$as_me: WARNING: /" >&2
22002 echo "$as_me:$LINENO: checking for mspack.h" >&5
22003 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22004 if test "${ac_cv_header_mspack_h+set}" = set; then
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22007 ac_cv_header_mspack_h
=$ac_header_preproc
22009 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22010 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22013 if test $ac_cv_header_mspack_h = yes; then
22018 if test "x$found_mspack_h" = "x1"; then
22019 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22020 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22021 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22022 echo $ECHO_N "(cached) $ECHO_C" >&6
22024 ac_check_lib_save_LIBS
=$LIBS
22025 LIBS
="-lmspack $LIBS"
22026 cat >conftest.
$ac_ext <<_ACEOF
22029 cat confdefs.h
>>conftest.
$ac_ext
22030 cat >>conftest.
$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22033 /* Override any gcc2 internal prototype to avoid an error. */
22037 /* We use char because int might match the return type of a gcc2
22038 builtin and then its argument prototype would still apply. */
22039 char mspack_create_chm_decompressor ();
22043 mspack_create_chm_decompressor ();
22048 rm -f conftest.
$ac_objext conftest
$ac_exeext
22049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22050 (eval $ac_link) 2>conftest.er1
22052 grep -v '^ *+' conftest.er1
>conftest.err
22054 cat conftest.err
>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } &&
22057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; } &&
22063 { ac_try
='test -s conftest$ac_exeext'
22064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22065 (eval $ac_try) 2>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.
$ac_ext >&5
22074 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22076 rm -f conftest.err conftest.
$ac_objext \
22077 conftest
$ac_exeext conftest.
$ac_ext
22078 LIBS
=$ac_check_lib_save_LIBS
22080 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22081 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22082 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22083 MSPACK_LINK
=" -lmspack"
22087 if test "x$MSPACK_LINK" = "x" ; then
22090 cat >>confdefs.h
<<\_ACEOF
22091 #define wxUSE_LIBMSPACK 1
22106 if test "$USE_WIN32" = 1 ; then
22108 for ac_header
in w32api.h
22110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22112 echo "$as_me:$LINENO: checking for $ac_header" >&5
22113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22115 echo $ECHO_N "(cached) $ECHO_C" >&6
22117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22120 # Is the header compilable?
22121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22123 cat >conftest.
$ac_ext <<_ACEOF
22126 cat confdefs.h
>>conftest.
$ac_ext
22127 cat >>conftest.
$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22129 $ac_includes_default
22130 #include <$ac_header>
22132 rm -f conftest.
$ac_objext
22133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22134 (eval $ac_compile) 2>conftest.er1
22136 grep -v '^ *+' conftest.er1
>conftest.err
22138 cat conftest.err
>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22143 (eval $ac_try) 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; } &&
22147 { ac_try
='test -s conftest.$ac_objext'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; }; then
22153 ac_header_compiler
=yes
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.
$ac_ext >&5
22158 ac_header_compiler
=no
22160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22161 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22162 echo "${ECHO_T}$ac_header_compiler" >&6
22164 # Is the header present?
22165 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22166 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22167 cat >conftest.
$ac_ext <<_ACEOF
22170 cat confdefs.h
>>conftest.
$ac_ext
22171 cat >>conftest.
$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 #include <$ac_header>
22175 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22176 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22178 grep -v '^ *+' conftest.er1
>conftest.err
22180 cat conftest.err
>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } >/dev
/null
; then
22183 if test -s conftest.err
; then
22184 ac_cpp_err
=$ac_c_preproc_warn_flag
22185 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22192 if test -z "$ac_cpp_err"; then
22193 ac_header_preproc
=yes
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.
$ac_ext >&5
22198 ac_header_preproc
=no
22200 rm -f conftest.err conftest.
$ac_ext
22201 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22202 echo "${ECHO_T}$ac_header_preproc" >&6
22204 # So? What about this header?
22205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22211 ac_header_preproc
=yes
22214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22228 ## ----------------------------------------- ##
22229 ## Report this to wx-dev@lists.wxwidgets.org ##
22230 ## ----------------------------------------- ##
22233 sed "s/^/$as_me: WARNING: /" >&2
22236 echo "$as_me:$LINENO: checking for $ac_header" >&5
22237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 eval "$as_ac_Header=\$ac_header_preproc"
22243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22248 cat >>confdefs.h
<<_ACEOF
22249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22256 if test "${ac_cv_header_windows_h+set}" = set; then
22257 echo "$as_me:$LINENO: checking for windows.h" >&5
22258 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22259 if test "${ac_cv_header_windows_h+set}" = set; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22263 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22265 # Is the header compilable?
22266 echo "$as_me:$LINENO: checking windows.h usability" >&5
22267 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 $ac_includes_default
22275 #include <windows.h>
22277 rm -f conftest.
$ac_objext
22278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22279 (eval $ac_compile) 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_objext'
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_header_compiler
=yes
22300 echo "$as_me: failed program was:" >&5
22301 sed 's/^/| /' conftest.
$ac_ext >&5
22303 ac_header_compiler
=no
22305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22307 echo "${ECHO_T}$ac_header_compiler" >&6
22309 # Is the header present?
22310 echo "$as_me:$LINENO: checking windows.h presence" >&5
22311 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22312 cat >conftest.
$ac_ext <<_ACEOF
22315 cat confdefs.h
>>conftest.
$ac_ext
22316 cat >>conftest.
$ac_ext <<_ACEOF
22317 /* end confdefs.h. */
22318 #include <windows.h>
22320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22321 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22323 grep -v '^ *+' conftest.er1
>conftest.err
22325 cat conftest.err
>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } >/dev
/null
; then
22328 if test -s conftest.err
; then
22329 ac_cpp_err
=$ac_c_preproc_warn_flag
22330 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22337 if test -z "$ac_cpp_err"; then
22338 ac_header_preproc
=yes
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.
$ac_ext >&5
22343 ac_header_preproc
=no
22345 rm -f conftest.err conftest.
$ac_ext
22346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22347 echo "${ECHO_T}$ac_header_preproc" >&6
22349 # So? What about this header?
22350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22352 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22353 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22354 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22355 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22356 ac_header_preproc
=yes
22359 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22360 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22361 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22362 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22363 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22364 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22365 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22366 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22367 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22368 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22369 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22370 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22373 ## ----------------------------------------- ##
22374 ## Report this to wx-dev@lists.wxwidgets.org ##
22375 ## ----------------------------------------- ##
22378 sed "s/^/$as_me: WARNING: /" >&2
22381 echo "$as_me:$LINENO: checking for windows.h" >&5
22382 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22383 if test "${ac_cv_header_windows_h+set}" = set; then
22384 echo $ECHO_N "(cached) $ECHO_C" >&6
22386 ac_cv_header_windows_h
=$ac_header_preproc
22388 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22389 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22392 if test $ac_cv_header_windows_h = yes; then
22396 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22397 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22398 { (exit 1); exit 1; }; }
22404 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22406 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22407 LIBS
="$LIBS -loleacc"
22412 LIBS
="$LIBS -lkernel32 -luser32"
22413 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22416 if test "$wxUSE_ODBC" = "sys" ; then
22419 if test "$wxUSE_ODBC" = "yes" ; then
22420 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22421 cat >>confdefs.h
<<\_ACEOF
22422 #define wxUSE_ODBC 1
22427 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22428 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22430 WIN32INSTALL
=win32install
22433 if test "$wxUSE_GUI" = "yes"; then
22443 if test "$wxUSE_COCOA" = 1 ; then
22444 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22445 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22446 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22447 wxUSE_PRINTING_ARCHITECTURE
=no
22449 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22450 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22451 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22452 wxUSE_DRAG_AND_DROP
=no
22454 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22455 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22456 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22461 if test "$wxUSE_MSW" = 1 ; then
22467 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22471 if test "$wxUSE_GTK" = 1; then
22472 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22473 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22475 gtk_version_cached
=1
22476 if test "${wx_cv_lib_gtk+set}" = set; then
22477 echo $ECHO_N "(cached) $ECHO_C" >&6
22480 gtk_version_cached
=0
22481 echo "$as_me:$LINENO: result: " >&5
22482 echo "${ECHO_T}" >&6
22485 if test "$wxUSE_THREADS" = "yes"; then
22486 GTK_MODULES
=gthread
22490 if test "x$wxUSE_GTK2" = "xyes"; then
22491 # Check whether --enable-gtktest or --disable-gtktest was given.
22492 if test "${enable_gtktest+set}" = set; then
22493 enableval
="$enable_gtktest"
22499 pkg_config_args
=gtk
+-2.0
22500 for module
in .
$GTK_MODULES
22504 pkg_config_args
="$pkg_config_args gthread-2.0"
22511 # Extract the first word of "pkg-config", so it can be a program name with args.
22512 set dummy pkg
-config; ac_word
=$2
22513 echo "$as_me:$LINENO: checking for $ac_word" >&5
22514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22515 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22518 case $PKG_CONFIG in
22520 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22524 for as_dir
in $PATH
22527 test -z "$as_dir" && as_dir
=.
22528 for ac_exec_ext
in '' $ac_executable_extensions; do
22529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22530 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22537 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22541 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22543 if test -n "$PKG_CONFIG"; then
22544 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22545 echo "${ECHO_T}$PKG_CONFIG" >&6
22547 echo "$as_me:$LINENO: result: no" >&5
22548 echo "${ECHO_T}no" >&6
22552 if test x
$PKG_CONFIG != xno
; then
22553 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22556 echo "*** pkg-config too old; version 0.7 or better required."
22564 min_gtk_version
=2.0.0
22565 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22566 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22568 if test x
$PKG_CONFIG != xno
; then
22569 ## don't try to run the test against uninstalled libtool libs
22570 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22571 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22575 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22582 if test x
"$no_gtk" = x
; then
22583 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22584 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22585 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22587 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22589 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22591 if test "x$enable_gtktest" = "xyes" ; then
22592 ac_save_CFLAGS
="$CFLAGS"
22593 ac_save_LIBS
="$LIBS"
22594 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22595 LIBS
="$GTK_LIBS $LIBS"
22597 if test "$cross_compiling" = yes; then
22598 echo $ac_n "cross compiling; assumed OK... $ac_c"
22600 cat >conftest.
$ac_ext <<_ACEOF
22603 cat confdefs.h
>>conftest.
$ac_ext
22604 cat >>conftest.
$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22607 #include <gtk/gtk.h>
22609 #include <stdlib.h>
22614 int major, minor, micro;
22617 system ("touch conf.gtktest");
22619 /* HP/UX 9 (%@#!) writes to sscanf strings */
22620 tmp_version = g_strdup("$min_gtk_version");
22621 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22622 printf("%s, bad version string\n", "$min_gtk_version");
22626 if ((gtk_major_version != $gtk_config_major_version) ||
22627 (gtk_minor_version != $gtk_config_minor_version) ||
22628 (gtk_micro_version != $gtk_config_micro_version))
22630 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22631 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22632 gtk_major_version, gtk_minor_version, gtk_micro_version);
22633 printf ("*** was found! If pkg-config was correct, then it is best\n");
22634 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22635 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22636 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22637 printf("*** required on your system.\n");
22638 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22639 printf("*** to point to the correct configuration files\n");
22641 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22642 (gtk_minor_version != GTK_MINOR_VERSION) ||
22643 (gtk_micro_version != GTK_MICRO_VERSION))
22645 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22646 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22647 printf("*** library (version %d.%d.%d)\n",
22648 gtk_major_version, gtk_minor_version, gtk_micro_version);
22652 if ((gtk_major_version > major) ||
22653 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22654 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22660 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22661 gtk_major_version, gtk_minor_version, gtk_micro_version);
22662 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22663 major, minor, micro);
22664 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22666 printf("*** If you have already installed a sufficiently new version, this error\n");
22667 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22668 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22669 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22670 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22671 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22672 printf("*** so that the correct libraries are found at run-time))\n");
22679 rm -f conftest
$ac_exeext
22680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22681 (eval $ac_link) 2>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; }; then
22692 echo "$as_me: program exited with status $ac_status" >&5
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.
$ac_ext >&5
22696 ( exit $ac_status )
22699 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22701 CFLAGS
="$ac_save_CFLAGS"
22702 LIBS
="$ac_save_LIBS"
22705 if test "x$no_gtk" = x
; then
22706 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22707 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22710 echo "$as_me:$LINENO: result: no" >&5
22711 echo "${ECHO_T}no" >&6
22712 if test "$PKG_CONFIG" = "no" ; then
22713 echo "*** A new enough version of pkg-config was not found."
22714 echo "*** See http://pkgconfig.sourceforge.net"
22716 if test -f conf.gtktest
; then
22719 echo "*** Could not run GTK+ test program, checking why..."
22720 ac_save_CFLAGS
="$CFLAGS"
22721 ac_save_LIBS
="$LIBS"
22722 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22723 LIBS
="$LIBS $GTK_LIBS"
22724 cat >conftest.
$ac_ext <<_ACEOF
22727 cat confdefs.h
>>conftest.
$ac_ext
22728 cat >>conftest.
$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22731 #include <gtk/gtk.h>
22737 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22742 rm -f conftest.
$ac_objext conftest
$ac_exeext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22744 (eval $ac_link) 2>conftest.er1
22746 grep -v '^ *+' conftest.er1
>conftest.err
22748 cat conftest.err
>&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try
='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 echo "*** The test program compiled, but did not run. This usually means"
22764 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22765 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22768 echo "*** is required on your system"
22770 echo "*** If you have an old version installed, it is best to remove it, although"
22771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.
$ac_ext >&5
22776 echo "*** The test program failed to compile or link. See the file config.log for the"
22777 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22779 rm -f conftest.err conftest.
$ac_objext \
22780 conftest
$ac_exeext conftest.
$ac_ext
22781 CFLAGS
="$ac_save_CFLAGS"
22782 LIBS
="$ac_save_LIBS"
22795 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22796 if test "${with_gtk_prefix+set}" = set; then
22797 withval
="$with_gtk_prefix"
22798 gtk_config_prefix
="$withval"
22800 gtk_config_prefix
=""
22803 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22804 if test "${with_gtk_exec_prefix+set}" = set; then
22805 withval
="$with_gtk_exec_prefix"
22806 gtk_config_exec_prefix
="$withval"
22808 gtk_config_exec_prefix
=""
22810 # Check whether --enable-gtktest or --disable-gtktest was given.
22811 if test "${enable_gtktest+set}" = set; then
22812 enableval
="$enable_gtktest"
22818 for module
in .
$GTK_MODULES
22822 gtk_config_args
="$gtk_config_args gthread"
22827 if test x
$gtk_config_exec_prefix != x
; then
22828 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22829 if test x
${GTK_CONFIG+set} != xset
; then
22830 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22833 if test x
$gtk_config_prefix != x
; then
22834 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22835 if test x
${GTK_CONFIG+set} != xset
; then
22836 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22840 # Extract the first word of "gtk-config", so it can be a program name with args.
22841 set dummy gtk
-config; ac_word
=$2
22842 echo "$as_me:$LINENO: checking for $ac_word" >&5
22843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22844 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22845 echo $ECHO_N "(cached) $ECHO_C" >&6
22847 case $GTK_CONFIG in
22849 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22853 for as_dir
in $PATH
22856 test -z "$as_dir" && as_dir
=.
22857 for ac_exec_ext
in '' $ac_executable_extensions; do
22858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22859 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22866 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22870 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22872 if test -n "$GTK_CONFIG"; then
22873 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22874 echo "${ECHO_T}$GTK_CONFIG" >&6
22876 echo "$as_me:$LINENO: result: no" >&5
22877 echo "${ECHO_T}no" >&6
22880 min_gtk_version
=1.2.7
22881 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22882 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22884 if test "$GTK_CONFIG" = "no" ; then
22887 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22888 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22889 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22891 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22893 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22895 if test "x$enable_gtktest" = "xyes" ; then
22896 ac_save_CFLAGS
="$CFLAGS"
22897 ac_save_LIBS
="$LIBS"
22898 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22899 LIBS
="$GTK_LIBS $LIBS"
22901 if test "$cross_compiling" = yes; then
22902 echo $ac_n "cross compiling; assumed OK... $ac_c"
22904 cat >conftest.
$ac_ext <<_ACEOF
22907 cat confdefs.h
>>conftest.
$ac_ext
22908 cat >>conftest.
$ac_ext <<_ACEOF
22909 /* end confdefs.h. */
22911 #include <gtk/gtk.h>
22913 #include <stdlib.h>
22918 int major, minor, micro;
22921 system ("touch conf.gtktest");
22923 /* HP/UX 9 (%@#!) writes to sscanf strings */
22924 tmp_version = g_strdup("$min_gtk_version");
22925 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22926 printf("%s, bad version string\n", "$min_gtk_version");
22930 if ((gtk_major_version != $gtk_config_major_version) ||
22931 (gtk_minor_version != $gtk_config_minor_version) ||
22932 (gtk_micro_version != $gtk_config_micro_version))
22934 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22935 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22936 gtk_major_version, gtk_minor_version, gtk_micro_version);
22937 printf ("*** was found! If gtk-config was correct, then it is best\n");
22938 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22939 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22940 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22941 printf("*** required on your system.\n");
22942 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22943 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22944 printf("*** before re-running configure\n");
22946 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22947 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22948 (gtk_minor_version != GTK_MINOR_VERSION) ||
22949 (gtk_micro_version != GTK_MICRO_VERSION))
22951 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22952 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22953 printf("*** library (version %d.%d.%d)\n",
22954 gtk_major_version, gtk_minor_version, gtk_micro_version);
22956 #endif /* defined (GTK_MAJOR_VERSION) ... */
22959 if ((gtk_major_version > major) ||
22960 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22961 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22967 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22968 gtk_major_version, gtk_minor_version, gtk_micro_version);
22969 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22970 major, minor, micro);
22971 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22973 printf("*** If you have already installed a sufficiently new version, this error\n");
22974 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22975 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22976 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22977 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22978 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22979 printf("*** so that the correct libraries are found at run-time))\n");
22986 rm -f conftest
$ac_exeext
22987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22988 (eval $ac_link) 2>&5
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22993 (eval $ac_try) 2>&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); }; }; then
22999 echo "$as_me: program exited with status $ac_status" >&5
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23003 ( exit $ac_status )
23006 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23008 CFLAGS
="$ac_save_CFLAGS"
23009 LIBS
="$ac_save_LIBS"
23012 if test "x$no_gtk" = x
; then
23013 echo "$as_me:$LINENO: result: yes" >&5
23014 echo "${ECHO_T}yes" >&6
23015 wx_cv_lib_gtk
=1.2.7
23017 echo "$as_me:$LINENO: result: no" >&5
23018 echo "${ECHO_T}no" >&6
23019 if test "$GTK_CONFIG" = "no" ; then
23020 echo "*** The gtk-config script installed by GTK could not be found"
23021 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23022 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23023 echo "*** full path to gtk-config."
23025 if test -f conf.gtktest
; then
23028 echo "*** Could not run GTK test program, checking why..."
23029 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23030 LIBS
="$LIBS $GTK_LIBS"
23031 cat >conftest.
$ac_ext <<_ACEOF
23034 cat confdefs.h
>>conftest.
$ac_ext
23035 cat >>conftest.
$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23038 #include <gtk/gtk.h>
23044 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23049 rm -f conftest.
$ac_objext conftest
$ac_exeext
23050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23051 (eval $ac_link) 2>conftest.er1
23053 grep -v '^ *+' conftest.er1
>conftest.err
23055 cat conftest.err
>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } &&
23058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; } &&
23064 { ac_try
='test -s conftest$ac_exeext'
23065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23066 (eval $ac_try) 2>&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; }; then
23070 echo "*** The test program compiled, but did not run. This usually means"
23071 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23072 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23073 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23074 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23075 echo "*** is required on your system"
23077 echo "*** If you have an old version installed, it is best to remove it, although"
23078 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23080 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23081 echo "*** came with the system with the command"
23083 echo "*** rpm --erase --nodeps gtk gtk-devel"
23085 echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.
$ac_ext >&5
23088 echo "*** The test program failed to compile or link. See the file config.log for the"
23089 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23090 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23091 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23093 rm -f conftest.err conftest.
$ac_objext \
23094 conftest
$ac_exeext conftest.
$ac_ext
23095 CFLAGS
="$ac_save_CFLAGS"
23096 LIBS
="$ac_save_LIBS"
23108 if test -z "$wx_cv_lib_gtk"; then
23110 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23111 if test "${with_gtk_prefix+set}" = set; then
23112 withval
="$with_gtk_prefix"
23113 gtk_config_prefix
="$withval"
23115 gtk_config_prefix
=""
23118 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23119 if test "${with_gtk_exec_prefix+set}" = set; then
23120 withval
="$with_gtk_exec_prefix"
23121 gtk_config_exec_prefix
="$withval"
23123 gtk_config_exec_prefix
=""
23125 # Check whether --enable-gtktest or --disable-gtktest was given.
23126 if test "${enable_gtktest+set}" = set; then
23127 enableval
="$enable_gtktest"
23133 for module
in .
$GTK_MODULES
23137 gtk_config_args
="$gtk_config_args gthread"
23142 if test x
$gtk_config_exec_prefix != x
; then
23143 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23144 if test x
${GTK_CONFIG+set} != xset
; then
23145 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23148 if test x
$gtk_config_prefix != x
; then
23149 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23150 if test x
${GTK_CONFIG+set} != xset
; then
23151 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23155 # Extract the first word of "gtk-config", so it can be a program name with args.
23156 set dummy gtk
-config; ac_word
=$2
23157 echo "$as_me:$LINENO: checking for $ac_word" >&5
23158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23159 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23160 echo $ECHO_N "(cached) $ECHO_C" >&6
23162 case $GTK_CONFIG in
23164 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23168 for as_dir
in $PATH
23171 test -z "$as_dir" && as_dir
=.
23172 for ac_exec_ext
in '' $ac_executable_extensions; do
23173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23174 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23181 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23185 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23187 if test -n "$GTK_CONFIG"; then
23188 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23189 echo "${ECHO_T}$GTK_CONFIG" >&6
23191 echo "$as_me:$LINENO: result: no" >&5
23192 echo "${ECHO_T}no" >&6
23195 min_gtk_version
=1.2.3
23196 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23197 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23199 if test "$GTK_CONFIG" = "no" ; then
23202 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23203 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23204 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23206 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23207 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23208 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23210 if test "x$enable_gtktest" = "xyes" ; then
23211 ac_save_CFLAGS
="$CFLAGS"
23212 ac_save_LIBS
="$LIBS"
23213 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23214 LIBS
="$GTK_LIBS $LIBS"
23216 if test "$cross_compiling" = yes; then
23217 echo $ac_n "cross compiling; assumed OK... $ac_c"
23219 cat >conftest.
$ac_ext <<_ACEOF
23222 cat confdefs.h
>>conftest.
$ac_ext
23223 cat >>conftest.
$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23226 #include <gtk/gtk.h>
23228 #include <stdlib.h>
23233 int major, minor, micro;
23236 system ("touch conf.gtktest");
23238 /* HP/UX 9 (%@#!) writes to sscanf strings */
23239 tmp_version = g_strdup("$min_gtk_version");
23240 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23241 printf("%s, bad version string\n", "$min_gtk_version");
23245 if ((gtk_major_version != $gtk_config_major_version) ||
23246 (gtk_minor_version != $gtk_config_minor_version) ||
23247 (gtk_micro_version != $gtk_config_micro_version))
23249 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23250 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23251 gtk_major_version, gtk_minor_version, gtk_micro_version);
23252 printf ("*** was found! If gtk-config was correct, then it is best\n");
23253 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23254 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23255 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23256 printf("*** required on your system.\n");
23257 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23258 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23259 printf("*** before re-running configure\n");
23261 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23262 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23263 (gtk_minor_version != GTK_MINOR_VERSION) ||
23264 (gtk_micro_version != GTK_MICRO_VERSION))
23266 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23267 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23268 printf("*** library (version %d.%d.%d)\n",
23269 gtk_major_version, gtk_minor_version, gtk_micro_version);
23271 #endif /* defined (GTK_MAJOR_VERSION) ... */
23274 if ((gtk_major_version > major) ||
23275 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23276 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23282 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23283 gtk_major_version, gtk_minor_version, gtk_micro_version);
23284 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23285 major, minor, micro);
23286 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23288 printf("*** If you have already installed a sufficiently new version, this error\n");
23289 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23290 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23291 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23292 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23293 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23294 printf("*** so that the correct libraries are found at run-time))\n");
23301 rm -f conftest
$ac_exeext
23302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23303 (eval $ac_link) 2>&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23314 echo "$as_me: program exited with status $ac_status" >&5
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.
$ac_ext >&5
23318 ( exit $ac_status )
23321 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23323 CFLAGS
="$ac_save_CFLAGS"
23324 LIBS
="$ac_save_LIBS"
23327 if test "x$no_gtk" = x
; then
23328 echo "$as_me:$LINENO: result: yes" >&5
23329 echo "${ECHO_T}yes" >&6
23330 wx_cv_lib_gtk
=1.2.3
23332 echo "$as_me:$LINENO: result: no" >&5
23333 echo "${ECHO_T}no" >&6
23334 if test "$GTK_CONFIG" = "no" ; then
23335 echo "*** The gtk-config script installed by GTK could not be found"
23336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23338 echo "*** full path to gtk-config."
23340 if test -f conf.gtktest
; then
23343 echo "*** Could not run GTK test program, checking why..."
23344 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23345 LIBS
="$LIBS $GTK_LIBS"
23346 cat >conftest.
$ac_ext <<_ACEOF
23349 cat confdefs.h
>>conftest.
$ac_ext
23350 cat >>conftest.
$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23353 #include <gtk/gtk.h>
23359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23364 rm -f conftest.
$ac_objext conftest
$ac_exeext
23365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23366 (eval $ac_link) 2>conftest.er1
23368 grep -v '^ *+' conftest.er1
>conftest.err
23370 cat conftest.err
>&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); } &&
23373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23375 (eval $ac_try) 2>&5
23377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23378 (exit $ac_status); }; } &&
23379 { ac_try
='test -s conftest$ac_exeext'
23380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23381 (eval $ac_try) 2>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); }; }; then
23385 echo "*** The test program compiled, but did not run. This usually means"
23386 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23387 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23388 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23389 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23390 echo "*** is required on your system"
23392 echo "*** If you have an old version installed, it is best to remove it, although"
23393 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23395 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23396 echo "*** came with the system with the command"
23398 echo "*** rpm --erase --nodeps gtk gtk-devel"
23400 echo "$as_me: failed program was:" >&5
23401 sed 's/^/| /' conftest.
$ac_ext >&5
23403 echo "*** The test program failed to compile or link. See the file config.log for the"
23404 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23405 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23406 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23408 rm -f conftest.err conftest.
$ac_objext \
23409 conftest
$ac_exeext conftest.
$ac_ext
23410 CFLAGS
="$ac_save_CFLAGS"
23411 LIBS
="$ac_save_LIBS"
23425 if test -z "$wx_cv_lib_gtk"; then
23428 wx_cv_cflags_gtk
=$GTK_CFLAGS
23429 wx_cv_libs_gtk
=$GTK_LIBS
23436 if test "$gtk_version_cached" = 1; then
23437 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23438 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23441 case "$wx_cv_lib_gtk" in
23450 *) { { echo "$as_me:$LINENO: error:
23451 Please check that gtk-config is in path, the directory
23452 where GTK+ libraries are installed (returned by
23453 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23454 equivalent variable and GTK+ is version 1.2.3 or above.
23456 echo "$as_me: error:
23457 Please check that gtk-config is in path, the directory
23458 where GTK+ libraries are installed (returned by
23459 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23460 equivalent variable and GTK+ is version 1.2.3 or above.
23462 { (exit 1); exit 1; }; }
23466 if test "$WXGTK20" = 1; then
23467 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23471 if test -z "$PKG_CONFIG"; then
23472 # Extract the first word of "pkg-config", so it can be a program name with args.
23473 set dummy pkg
-config; ac_word
=$2
23474 echo "$as_me:$LINENO: checking for $ac_word" >&5
23475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23476 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23477 echo $ECHO_N "(cached) $ECHO_C" >&6
23479 case $PKG_CONFIG in
23481 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23485 for as_dir
in $PATH
23488 test -z "$as_dir" && as_dir
=.
23489 for ac_exec_ext
in '' $ac_executable_extensions; do
23490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23491 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23498 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23502 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23504 if test -n "$PKG_CONFIG"; then
23505 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23506 echo "${ECHO_T}$PKG_CONFIG" >&6
23508 echo "$as_me:$LINENO: result: no" >&5
23509 echo "${ECHO_T}no" >&6
23514 if test "$PKG_CONFIG" = "no" ; then
23515 echo "*** The pkg-config script could not be found. Make sure it is"
23516 echo "*** in your path, or set the PKG_CONFIG environment variable"
23517 echo "*** to the full path to pkg-config."
23518 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23520 PKG_CONFIG_MIN_VERSION
=0.9.0
23521 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23522 echo "$as_me:$LINENO: checking for pangoft2" >&5
23523 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23525 if $PKG_CONFIG --exists "pangoft2" ; then
23526 echo "$as_me:$LINENO: result: yes" >&5
23527 echo "${ECHO_T}yes" >&6
23530 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23531 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23532 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23533 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23534 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23536 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23537 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23538 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23539 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23540 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23544 ## If we have a custom action on failure, don't print errors, but
23545 ## do set a variable so people can do so.
23546 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23553 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23554 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23558 if test $succeeded = yes; then
23560 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23561 # FIXME: GTK_LIBS already has a lot of what this is
23562 # about to add, but we go ahead and just add
23563 # it all again anyway.
23564 # This is not a good way to manage things. And simply
23565 # uniq'ing the list later is hardly better.
23566 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23570 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23571 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23572 wxUSE_PRINTING_ARCHITECTURE
="no"
23579 save_CFLAGS
="$CFLAGS"
23581 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23582 LIBS
="$LIBS $GTK_LIBS"
23584 for ac_func
in pango_font_family_is_monospace
23586 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23587 echo "$as_me:$LINENO: checking for $ac_func" >&5
23588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23589 if eval "test \"\${$as_ac_var+set}\" = set"; then
23590 echo $ECHO_N "(cached) $ECHO_C" >&6
23592 cat >conftest.
$ac_ext <<_ACEOF
23595 cat confdefs.h
>>conftest.
$ac_ext
23596 cat >>conftest.
$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23600 #define $ac_func innocuous_$ac_func
23602 /* System header to define __stub macros and hopefully few prototypes,
23603 which can conflict with char $ac_func (); below.
23604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23605 <limits.h> exists even on freestanding compilers. */
23608 # include <limits.h>
23610 # include <assert.h>
23615 /* Override any gcc2 internal prototype to avoid an error. */
23620 /* We use char because int might match the return type of a gcc2
23621 builtin and then its argument prototype would still apply. */
23623 /* The GNU C library defines this for functions which it implements
23624 to always fail with ENOSYS. Some functions are actually named
23625 something starting with __ and the normal name is an alias. */
23626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23629 char (*f) () = $ac_func;
23638 return f != $ac_func;
23643 rm -f conftest.
$ac_objext conftest
$ac_exeext
23644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23645 (eval $ac_link) 2>conftest.er1
23647 grep -v '^ *+' conftest.er1
>conftest.err
23649 cat conftest.err
>&5
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); } &&
23652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; } &&
23658 { ac_try
='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 eval "$as_ac_var=yes"
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.
$ac_ext >&5
23669 eval "$as_ac_var=no"
23671 rm -f conftest.err conftest.
$ac_objext \
23672 conftest
$ac_exeext conftest.
$ac_ext
23674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23676 if test `eval echo '${'$as_ac_var'}'` = yes; then
23677 cat >>confdefs.h
<<_ACEOF
23678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23684 CFLAGS
="$save_CFLAGS"
23687 if test "$wxUSE_UNICODE" = "yes"; then
23688 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23689 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23694 if test "$USE_DARWIN" != 1; then
23696 for ac_func
in poll
23698 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23699 echo "$as_me:$LINENO: checking for $ac_func" >&5
23700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23701 if eval "test \"\${$as_ac_var+set}\" = set"; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23704 cat >conftest.
$ac_ext <<_ACEOF
23707 cat confdefs.h
>>conftest.
$ac_ext
23708 cat >>conftest.
$ac_ext <<_ACEOF
23709 /* end confdefs.h. */
23710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23712 #define $ac_func innocuous_$ac_func
23714 /* System header to define __stub macros and hopefully few prototypes,
23715 which can conflict with char $ac_func (); below.
23716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23717 <limits.h> exists even on freestanding compilers. */
23720 # include <limits.h>
23722 # include <assert.h>
23727 /* Override any gcc2 internal prototype to avoid an error. */
23732 /* We use char because int might match the return type of a gcc2
23733 builtin and then its argument prototype would still apply. */
23735 /* The GNU C library defines this for functions which it implements
23736 to always fail with ENOSYS. Some functions are actually named
23737 something starting with __ and the normal name is an alias. */
23738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23741 char (*f) () = $ac_func;
23750 return f != $ac_func;
23755 rm -f conftest.
$ac_objext conftest
$ac_exeext
23756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23757 (eval $ac_link) 2>conftest.er1
23759 grep -v '^ *+' conftest.er1
>conftest.err
23761 cat conftest.err
>&5
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); } &&
23764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; } &&
23770 { ac_try
='test -s conftest$ac_exeext'
23771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23772 (eval $ac_try) 2>&5
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); }; }; then
23776 eval "$as_ac_var=yes"
23778 echo "$as_me: failed program was:" >&5
23779 sed 's/^/| /' conftest.
$ac_ext >&5
23781 eval "$as_ac_var=no"
23783 rm -f conftest.err conftest.
$ac_objext \
23784 conftest
$ac_exeext conftest.
$ac_ext
23786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23788 if test `eval echo '${'$as_ac_var'}'` = yes; then
23789 cat >>confdefs.h
<<_ACEOF
23790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23798 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23799 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23801 AFMINSTALL
=afminstall
23805 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23806 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23807 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23808 echo $ECHO_N "(cached) $ECHO_C" >&6
23810 ac_check_lib_save_LIBS
=$LIBS
23812 cat >conftest.
$ac_ext <<_ACEOF
23815 cat confdefs.h
>>conftest.
$ac_ext
23816 cat >>conftest.
$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23819 /* Override any gcc2 internal prototype to avoid an error. */
23823 /* We use char because int might match the return type of a gcc2
23824 builtin and then its argument prototype would still apply. */
23825 char gdk_im_open ();
23834 rm -f conftest.
$ac_objext conftest
$ac_exeext
23835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23836 (eval $ac_link) 2>conftest.er1
23838 grep -v '^ *+' conftest.er1
>conftest.err
23840 cat conftest.err
>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } &&
23843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; } &&
23849 { ac_try
='test -s conftest$ac_exeext'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; }; then
23855 ac_cv_lib_gdk_gdk_im_open
=yes
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.
$ac_ext >&5
23860 ac_cv_lib_gdk_gdk_im_open
=no
23862 rm -f conftest.err conftest.
$ac_objext \
23863 conftest
$ac_exeext conftest.
$ac_ext
23864 LIBS
=$ac_check_lib_save_LIBS
23866 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23867 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23868 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23869 cat >>confdefs.h
<<\_ACEOF
23877 if test "$wxUSE_GPE" = "yes"; then
23878 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23879 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23882 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23884 for ac_extension
in a so sl dylib
; do
23885 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23886 ac_find_libraries
=$ac_dir
23892 if test "$ac_find_libraries" != "" ; then
23894 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23896 if test $result = 0; then
23899 ac_path_to_link
=" -L$ac_find_libraries"
23902 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23904 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23905 echo "${ECHO_T}found at $ac_find_libraries" >&6
23907 echo "$as_me:$LINENO: result: not found" >&5
23908 echo "${ECHO_T}not found" >&6
23914 if test "$wxUSE_MGL" = 1; then
23915 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23916 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23917 if test "x$MGL_ROOT" = x
; then
23918 echo "$as_me:$LINENO: result: not found" >&5
23919 echo "${ECHO_T}not found" >&6
23920 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23921 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23922 { (exit 1); exit 1; }; }
23924 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23925 echo "${ECHO_T}$MGL_ROOT" >&6
23928 echo "$as_me:$LINENO: checking for libmgl location" >&5
23929 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23932 if test "x$wxUSE_SHARED" = xyes
; then
23933 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23935 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23939 mgl_os_candidates
="dos32/dj2"
23942 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23943 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23944 { (exit 1); exit 1; }; }
23950 for mgl_os_i
in $mgl_os_candidates ; do
23951 if test "x$mgl_os" = x
; then
23952 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23953 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
23954 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
23959 if test "x$mgl_lib_type" = x
; then
23960 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
23961 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
23962 mgl_lib_type
=release
23969 if test "x$mgl_os" = x
; then
23970 echo "$as_me:$LINENO: result: not found" >&5
23971 echo "${ECHO_T}not found" >&6
23972 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23973 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23974 { (exit 1); exit 1; }; }
23976 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23977 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23979 wxUSE_UNIVERSAL
="yes"
23981 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
23982 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23984 AFMINSTALL
=afminstall
23989 if test "$wxUSE_MICROWIN" = 1; then
23990 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23991 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23992 if test "x$MICROWINDOWS" = x
; then
23993 echo "$as_me:$LINENO: result: not found" >&5
23994 echo "${ECHO_T}not found" >&6
23995 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23996 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23997 { (exit 1); exit 1; }; }
23999 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24000 echo "${ECHO_T}$MICROWINDOWS" >&6
24003 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24004 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24005 echo "${ECHO_T}MicroWindows' libraries found." >&6
24007 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24008 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24009 { (exit 1); exit 1; }; }
24012 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24013 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24015 wxUSE_UNIVERSAL
="yes"
24017 AFMINSTALL
=afminstall
24019 GUIDIST
=MICROWIN_DIST
24021 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24024 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24026 if test "x$ac_path_x_has_been_run" != xyes
; then
24027 echo "$as_me:$LINENO: checking for X" >&5
24028 echo $ECHO_N "checking for X... $ECHO_C" >&6
24030 ac_path_x_has_been_run
=yes
24032 # Check whether --with-x or --without-x was given.
24033 if test "${with_x+set}" = set; then
24037 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24038 if test "x$with_x" = xno
; then
24039 # The user explicitly disabled X.
24042 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24043 # Both variables are already set.
24046 if test "${ac_cv_have_x+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24049 # One or both of the vars are not set, and there is no cached value.
24050 ac_x_includes
=no ac_x_libraries
=no
24051 rm -fr conftest.dir
24052 if mkdir conftest.dir
; then
24054 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24055 cat >Imakefile
<<'_ACEOF'
24057 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24059 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24061 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24062 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24063 for ac_extension
in a so sl
; do
24064 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24065 test -f $ac_im_libdir/libX11.
$ac_extension; then
24066 ac_im_usrlibdir
=$ac_im_libdir; break
24069 # Screen out bogus values from the imake configuration. They are
24070 # bogus both because they are the default anyway, and because
24071 # using them would break gcc on systems where it needs fixed includes.
24072 case $ac_im_incroot in
24074 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24076 case $ac_im_usrlibdir in
24077 /usr
/lib
| /lib
) ;;
24078 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24082 rm -fr conftest.dir
24085 # Standard set of common directories for X headers.
24086 # Check X11 before X11Rn because it is often a symlink to the current release.
24098 /usr/local/X11/include
24099 /usr/local/X11R6/include
24100 /usr/local/X11R5/include
24101 /usr/local/X11R4/include
24103 /usr/local/include/X11
24104 /usr/local/include/X11R6
24105 /usr/local/include/X11R5
24106 /usr/local/include/X11R4
24110 /usr/XFree86/include/X11
24114 /usr/unsupported/include
24115 /usr/athena/include
24116 /usr/local/x11r5/include
24117 /usr/lpp/Xamples/include
24119 /usr/openwin/include
24120 /usr/openwin/share/include'
24122 if test "$ac_x_includes" = no
; then
24123 # Guess where to find include files, by looking for a specified header file.
24124 # First, try using that file with no special directory specified.
24125 cat >conftest.
$ac_ext <<_ACEOF
24128 cat confdefs.h
>>conftest.
$ac_ext
24129 cat >>conftest.
$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24131 #include <X11/Intrinsic.h>
24133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24136 grep -v '^ *+' conftest.er1
>conftest.err
24138 cat conftest.err
>&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } >/dev
/null
; then
24141 if test -s conftest.err
; then
24142 ac_cpp_err
=$ac_c_preproc_warn_flag
24143 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24150 if test -z "$ac_cpp_err"; then
24151 # We can compile using X headers with no special include directory.
24154 echo "$as_me: failed program was:" >&5
24155 sed 's/^/| /' conftest.
$ac_ext >&5
24157 for ac_dir
in $ac_x_header_dirs; do
24158 if test -r "$ac_dir/X11/Intrinsic.h"; then
24159 ac_x_includes
=$ac_dir
24164 rm -f conftest.err conftest.
$ac_ext
24165 fi # $ac_x_includes = no
24167 if test "$ac_x_libraries" = no
; then
24168 # Check for the libraries.
24169 # See if we find them without any special options.
24170 # Don't add to $LIBS permanently.
24173 cat >conftest.
$ac_ext <<_ACEOF
24176 cat confdefs.h
>>conftest.
$ac_ext
24177 cat >>conftest.
$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24179 #include <X11/Intrinsic.h>
24188 rm -f conftest.
$ac_objext conftest
$ac_exeext
24189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24190 (eval $ac_link) 2>conftest.er1
24192 grep -v '^ *+' conftest.er1
>conftest.err
24194 cat conftest.err
>&5
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); } &&
24197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24199 (eval $ac_try) 2>&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); }; } &&
24203 { ac_try
='test -s conftest$ac_exeext'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; }; then
24210 # We can link X programs with no special library path.
24213 echo "$as_me: failed program was:" >&5
24214 sed 's/^/| /' conftest.
$ac_ext >&5
24217 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24219 # Don't even attempt the hair of trying to link an X program!
24220 for ac_extension
in a so sl
; do
24221 if test -r $ac_dir/libXt.
$ac_extension; then
24222 ac_x_libraries
=$ac_dir
24228 rm -f conftest.err conftest.
$ac_objext \
24229 conftest
$ac_exeext conftest.
$ac_ext
24230 fi # $ac_x_libraries = no
24232 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24233 # Didn't find X anywhere. Cache the known absence of X.
24234 ac_cv_have_x
="have_x=no"
24236 # Record where we found X for the cache.
24237 ac_cv_have_x
="have_x=yes \
24238 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24243 eval "$ac_cv_have_x"
24246 if test "$have_x" != yes; then
24247 echo "$as_me:$LINENO: result: $have_x" >&5
24248 echo "${ECHO_T}$have_x" >&6
24251 # If each of the values was on the command line, it overrides each guess.
24252 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24253 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24254 # Update the cache value to reflect the command line values.
24255 ac_cv_have_x
="have_x=yes \
24256 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24257 # It might be that x_includes is empty (headers are found in the
24258 # standard search path. Then output the corresponding message
24259 ac_out_x_includes
=$x_includes
24260 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
24261 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
24262 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
24266 if test "$no_x" = yes; then
24267 # Not all programs may use this symbol, but it does not hurt to define it.
24269 cat >>confdefs.h
<<\_ACEOF
24270 #define X_DISPLAY_MISSING 1
24273 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24275 if test -n "$x_includes"; then
24276 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24279 # It would also be nice to do this for all -L options, not just this one.
24280 if test -n "$x_libraries"; then
24281 X_LIBS
="$X_LIBS -L$x_libraries"
24282 # For Solaris; some versions of Sun CC require a space after -R and
24283 # others require no space. Words are not sufficient . . . .
24284 case `(uname -sr) 2>/dev/null` in
24286 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24287 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24288 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24289 cat >conftest.
$ac_ext <<_ACEOF
24292 cat confdefs.h
>>conftest.
$ac_ext
24293 cat >>conftest.
$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24304 rm -f conftest.
$ac_objext conftest
$ac_exeext
24305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24306 (eval $ac_link) 2>conftest.er1
24308 grep -v '^ *+' conftest.er1
>conftest.err
24310 cat conftest.err
>&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } &&
24313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; } &&
24319 { ac_try
='test -s conftest$ac_exeext'
24320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321 (eval $ac_try) 2>&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24327 echo "$as_me: failed program was:" >&5
24328 sed 's/^/| /' conftest.
$ac_ext >&5
24332 rm -f conftest.err conftest.
$ac_objext \
24333 conftest
$ac_exeext conftest.
$ac_ext
24334 if test $ac_R_nospace = yes; then
24335 echo "$as_me:$LINENO: result: no" >&5
24336 echo "${ECHO_T}no" >&6
24337 X_LIBS
="$X_LIBS -R$x_libraries"
24339 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24340 cat >conftest.
$ac_ext <<_ACEOF
24343 cat confdefs.h
>>conftest.
$ac_ext
24344 cat >>conftest.
$ac_ext <<_ACEOF
24345 /* end confdefs.h. */
24355 rm -f conftest.
$ac_objext conftest
$ac_exeext
24356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24357 (eval $ac_link) 2>conftest.er1
24359 grep -v '^ *+' conftest.er1
>conftest.err
24361 cat conftest.err
>&5
24362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363 (exit $ac_status); } &&
24364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; } &&
24370 { ac_try
='test -s conftest$ac_exeext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.
$ac_ext >&5
24383 rm -f conftest.err conftest.
$ac_objext \
24384 conftest
$ac_exeext conftest.
$ac_ext
24385 if test $ac_R_space = yes; then
24386 echo "$as_me:$LINENO: result: yes" >&5
24387 echo "${ECHO_T}yes" >&6
24388 X_LIBS
="$X_LIBS -R $x_libraries"
24390 echo "$as_me:$LINENO: result: neither works" >&5
24391 echo "${ECHO_T}neither works" >&6
24394 LIBS
=$ac_xsave_LIBS
24398 # Check for system-dependent libraries X programs must link with.
24399 # Do this before checking for the system-independent R6 libraries
24400 # (-lICE), since we may need -lsocket or whatever for X linking.
24402 if test "$ISC" = yes; then
24403 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24405 # Martyn Johnson says this is needed for Ultrix, if the X
24406 # libraries were built with DECnet support. And Karl Berry says
24407 # the Alpha needs dnet_stub (dnet does not exist).
24408 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24409 cat >conftest.
$ac_ext <<_ACEOF
24412 cat confdefs.h
>>conftest.
$ac_ext
24413 cat >>conftest.
$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24416 /* Override any gcc2 internal prototype to avoid an error. */
24420 /* We use char because int might match the return type of a gcc2
24421 builtin and then its argument prototype would still apply. */
24422 char XOpenDisplay ();
24431 rm -f conftest.
$ac_objext conftest
$ac_exeext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24433 (eval $ac_link) 2>conftest.er1
24435 grep -v '^ *+' conftest.er1
>conftest.err
24437 cat conftest.err
>&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; } &&
24446 { ac_try
='test -s conftest$ac_exeext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.
$ac_ext >&5
24457 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24458 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24459 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24460 echo $ECHO_N "(cached) $ECHO_C" >&6
24462 ac_check_lib_save_LIBS
=$LIBS
24463 LIBS
="-ldnet $LIBS"
24464 cat >conftest.
$ac_ext <<_ACEOF
24467 cat confdefs.h
>>conftest.
$ac_ext
24468 cat >>conftest.
$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24471 /* Override any gcc2 internal prototype to avoid an error. */
24475 /* We use char because int might match the return type of a gcc2
24476 builtin and then its argument prototype would still apply. */
24486 rm -f conftest.
$ac_objext conftest
$ac_exeext
24487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24488 (eval $ac_link) 2>conftest.er1
24490 grep -v '^ *+' conftest.er1
>conftest.err
24492 cat conftest.err
>&5
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); } &&
24495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; } &&
24501 { ac_try
='test -s conftest$ac_exeext'
24502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24503 (eval $ac_try) 2>&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); }; }; then
24507 ac_cv_lib_dnet_dnet_ntoa
=yes
24509 echo "$as_me: failed program was:" >&5
24510 sed 's/^/| /' conftest.
$ac_ext >&5
24512 ac_cv_lib_dnet_dnet_ntoa
=no
24514 rm -f conftest.err conftest.
$ac_objext \
24515 conftest
$ac_exeext conftest.
$ac_ext
24516 LIBS
=$ac_check_lib_save_LIBS
24518 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24519 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24520 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24521 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24524 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24525 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24526 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24527 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24528 echo $ECHO_N "(cached) $ECHO_C" >&6
24530 ac_check_lib_save_LIBS
=$LIBS
24531 LIBS
="-ldnet_stub $LIBS"
24532 cat >conftest.
$ac_ext <<_ACEOF
24535 cat confdefs.h
>>conftest.
$ac_ext
24536 cat >>conftest.
$ac_ext <<_ACEOF
24537 /* end confdefs.h. */
24539 /* Override any gcc2 internal prototype to avoid an error. */
24543 /* We use char because int might match the return type of a gcc2
24544 builtin and then its argument prototype would still apply. */
24554 rm -f conftest.
$ac_objext conftest
$ac_exeext
24555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24556 (eval $ac_link) 2>conftest.er1
24558 grep -v '^ *+' conftest.er1
>conftest.err
24560 cat conftest.err
>&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); } &&
24563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565 (eval $ac_try) 2>&5
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); }; } &&
24569 { ac_try
='test -s conftest$ac_exeext'
24570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571 (eval $ac_try) 2>&5
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); }; }; then
24575 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24577 echo "$as_me: failed program was:" >&5
24578 sed 's/^/| /' conftest.
$ac_ext >&5
24580 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24582 rm -f conftest.err conftest.
$ac_objext \
24583 conftest
$ac_exeext conftest.
$ac_ext
24584 LIBS
=$ac_check_lib_save_LIBS
24586 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24587 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24588 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24589 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24594 rm -f conftest.err conftest.
$ac_objext \
24595 conftest
$ac_exeext conftest.
$ac_ext
24596 LIBS
="$ac_xsave_LIBS"
24598 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24599 # to get the SysV transport functions.
24600 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24602 # The nsl library prevents programs from opening the X display
24603 # on Irix 5.2, according to T.E. Dickey.
24604 # The functions gethostbyname, getservbyname, and inet_addr are
24605 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24606 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24607 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24608 if test "${ac_cv_func_gethostbyname+set}" = set; then
24609 echo $ECHO_N "(cached) $ECHO_C" >&6
24611 cat >conftest.
$ac_ext <<_ACEOF
24614 cat confdefs.h
>>conftest.
$ac_ext
24615 cat >>conftest.
$ac_ext <<_ACEOF
24616 /* end confdefs.h. */
24617 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24619 #define gethostbyname innocuous_gethostbyname
24621 /* System header to define __stub macros and hopefully few prototypes,
24622 which can conflict with char gethostbyname (); below.
24623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24624 <limits.h> exists even on freestanding compilers. */
24627 # include <limits.h>
24629 # include <assert.h>
24632 #undef gethostbyname
24634 /* Override any gcc2 internal prototype to avoid an error. */
24639 /* We use char because int might match the return type of a gcc2
24640 builtin and then its argument prototype would still apply. */
24641 char gethostbyname ();
24642 /* The GNU C library defines this for functions which it implements
24643 to always fail with ENOSYS. Some functions are actually named
24644 something starting with __ and the normal name is an alias. */
24645 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24648 char (*f) () = gethostbyname;
24657 return f != gethostbyname;
24662 rm -f conftest.
$ac_objext conftest
$ac_exeext
24663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24664 (eval $ac_link) 2>conftest.er1
24666 grep -v '^ *+' conftest.er1
>conftest.err
24668 cat conftest.err
>&5
24669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670 (exit $ac_status); } &&
24671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24673 (eval $ac_try) 2>&5
24675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676 (exit $ac_status); }; } &&
24677 { ac_try
='test -s conftest$ac_exeext'
24678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24679 (eval $ac_try) 2>&5
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); }; }; then
24683 ac_cv_func_gethostbyname
=yes
24685 echo "$as_me: failed program was:" >&5
24686 sed 's/^/| /' conftest.
$ac_ext >&5
24688 ac_cv_func_gethostbyname
=no
24690 rm -f conftest.err conftest.
$ac_objext \
24691 conftest
$ac_exeext conftest.
$ac_ext
24693 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24694 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24696 if test $ac_cv_func_gethostbyname = no
; then
24697 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24698 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24699 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 ac_check_lib_save_LIBS
=$LIBS
24704 cat >conftest.
$ac_ext <<_ACEOF
24707 cat confdefs.h
>>conftest.
$ac_ext
24708 cat >>conftest.
$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24711 /* Override any gcc2 internal prototype to avoid an error. */
24715 /* We use char because int might match the return type of a gcc2
24716 builtin and then its argument prototype would still apply. */
24717 char gethostbyname ();
24726 rm -f conftest.
$ac_objext conftest
$ac_exeext
24727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24728 (eval $ac_link) 2>conftest.er1
24730 grep -v '^ *+' conftest.er1
>conftest.err
24732 cat conftest.err
>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; } &&
24741 { ac_try
='test -s conftest$ac_exeext'
24742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24743 (eval $ac_try) 2>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); }; }; then
24747 ac_cv_lib_nsl_gethostbyname
=yes
24749 echo "$as_me: failed program was:" >&5
24750 sed 's/^/| /' conftest.
$ac_ext >&5
24752 ac_cv_lib_nsl_gethostbyname
=no
24754 rm -f conftest.err conftest.
$ac_objext \
24755 conftest
$ac_exeext conftest.
$ac_ext
24756 LIBS
=$ac_check_lib_save_LIBS
24758 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24759 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24760 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24764 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24765 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24766 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24767 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24770 ac_check_lib_save_LIBS
=$LIBS
24772 cat >conftest.
$ac_ext <<_ACEOF
24775 cat confdefs.h
>>conftest.
$ac_ext
24776 cat >>conftest.
$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24779 /* Override any gcc2 internal prototype to avoid an error. */
24783 /* We use char because int might match the return type of a gcc2
24784 builtin and then its argument prototype would still apply. */
24785 char gethostbyname ();
24794 rm -f conftest.
$ac_objext conftest
$ac_exeext
24795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24796 (eval $ac_link) 2>conftest.er1
24798 grep -v '^ *+' conftest.er1
>conftest.err
24800 cat conftest.err
>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); } &&
24803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805 (eval $ac_try) 2>&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); }; } &&
24809 { ac_try
='test -s conftest$ac_exeext'
24810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811 (eval $ac_try) 2>&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; }; then
24815 ac_cv_lib_bsd_gethostbyname
=yes
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.
$ac_ext >&5
24820 ac_cv_lib_bsd_gethostbyname
=no
24822 rm -f conftest.err conftest.
$ac_objext \
24823 conftest
$ac_exeext conftest.
$ac_ext
24824 LIBS
=$ac_check_lib_save_LIBS
24826 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24827 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24828 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24829 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24835 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24836 # socket/setsockopt and other routines are undefined under SCO ODT
24837 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24838 # on later versions), says Simon Leinen: it contains gethostby*
24839 # variants that don't use the name server (or something). -lsocket
24840 # must be given before -lnsl if both are needed. We assume that
24841 # if connect needs -lnsl, so does gethostbyname.
24842 echo "$as_me:$LINENO: checking for connect" >&5
24843 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24844 if test "${ac_cv_func_connect+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 cat >conftest.
$ac_ext <<_ACEOF
24850 cat confdefs.h
>>conftest.
$ac_ext
24851 cat >>conftest.
$ac_ext <<_ACEOF
24852 /* end confdefs.h. */
24853 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24855 #define connect innocuous_connect
24857 /* System header to define __stub macros and hopefully few prototypes,
24858 which can conflict with char connect (); below.
24859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24860 <limits.h> exists even on freestanding compilers. */
24863 # include <limits.h>
24865 # include <assert.h>
24870 /* Override any gcc2 internal prototype to avoid an error. */
24875 /* We use char because int might match the return type of a gcc2
24876 builtin and then its argument prototype would still apply. */
24878 /* The GNU C library defines this for functions which it implements
24879 to always fail with ENOSYS. Some functions are actually named
24880 something starting with __ and the normal name is an alias. */
24881 #if defined (__stub_connect) || defined (__stub___connect)
24884 char (*f) () = connect;
24893 return f != connect;
24898 rm -f conftest.
$ac_objext conftest
$ac_exeext
24899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24900 (eval $ac_link) 2>conftest.er1
24902 grep -v '^ *+' conftest.er1
>conftest.err
24904 cat conftest.err
>&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); } &&
24907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24909 (eval $ac_try) 2>&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); }; } &&
24913 { ac_try
='test -s conftest$ac_exeext'
24914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24915 (eval $ac_try) 2>&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); }; }; then
24919 ac_cv_func_connect
=yes
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.
$ac_ext >&5
24924 ac_cv_func_connect
=no
24926 rm -f conftest.err conftest.
$ac_objext \
24927 conftest
$ac_exeext conftest.
$ac_ext
24929 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24930 echo "${ECHO_T}$ac_cv_func_connect" >&6
24932 if test $ac_cv_func_connect = no
; then
24933 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24934 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24935 if test "${ac_cv_lib_socket_connect+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24938 ac_check_lib_save_LIBS
=$LIBS
24939 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
24940 cat >conftest.
$ac_ext <<_ACEOF
24943 cat confdefs.h
>>conftest.
$ac_ext
24944 cat >>conftest.
$ac_ext <<_ACEOF
24945 /* end confdefs.h. */
24947 /* Override any gcc2 internal prototype to avoid an error. */
24951 /* We use char because int might match the return type of a gcc2
24952 builtin and then its argument prototype would still apply. */
24962 rm -f conftest.
$ac_objext conftest
$ac_exeext
24963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24964 (eval $ac_link) 2>conftest.er1
24966 grep -v '^ *+' conftest.er1
>conftest.err
24968 cat conftest.err
>&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); } &&
24971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973 (eval $ac_try) 2>&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); }; } &&
24977 { ac_try
='test -s conftest$ac_exeext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 ac_cv_lib_socket_connect
=yes
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.
$ac_ext >&5
24988 ac_cv_lib_socket_connect
=no
24990 rm -f conftest.err conftest.
$ac_objext \
24991 conftest
$ac_exeext conftest.
$ac_ext
24992 LIBS
=$ac_check_lib_save_LIBS
24994 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24995 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24996 if test $ac_cv_lib_socket_connect = yes; then
24997 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25002 # Guillermo Gomez says -lposix is necessary on A/UX.
25003 echo "$as_me:$LINENO: checking for remove" >&5
25004 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25005 if test "${ac_cv_func_remove+set}" = set; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 cat >conftest.
$ac_ext <<_ACEOF
25011 cat confdefs.h
>>conftest.
$ac_ext
25012 cat >>conftest.
$ac_ext <<_ACEOF
25013 /* end confdefs.h. */
25014 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25016 #define remove innocuous_remove
25018 /* System header to define __stub macros and hopefully few prototypes,
25019 which can conflict with char remove (); below.
25020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25021 <limits.h> exists even on freestanding compilers. */
25024 # include <limits.h>
25026 # include <assert.h>
25031 /* Override any gcc2 internal prototype to avoid an error. */
25036 /* We use char because int might match the return type of a gcc2
25037 builtin and then its argument prototype would still apply. */
25039 /* The GNU C library defines this for functions which it implements
25040 to always fail with ENOSYS. Some functions are actually named
25041 something starting with __ and the normal name is an alias. */
25042 #if defined (__stub_remove) || defined (__stub___remove)
25045 char (*f) () = remove;
25054 return f != remove;
25059 rm -f conftest.
$ac_objext conftest
$ac_exeext
25060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25061 (eval $ac_link) 2>conftest.er1
25063 grep -v '^ *+' conftest.er1
>conftest.err
25065 cat conftest.err
>&5
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); } &&
25068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25070 (eval $ac_try) 2>&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); }; } &&
25074 { ac_try
='test -s conftest$ac_exeext'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; }; then
25080 ac_cv_func_remove
=yes
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.
$ac_ext >&5
25085 ac_cv_func_remove
=no
25087 rm -f conftest.err conftest.
$ac_objext \
25088 conftest
$ac_exeext conftest.
$ac_ext
25090 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25091 echo "${ECHO_T}$ac_cv_func_remove" >&6
25093 if test $ac_cv_func_remove = no
; then
25094 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25095 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25096 if test "${ac_cv_lib_posix_remove+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 ac_check_lib_save_LIBS
=$LIBS
25100 LIBS
="-lposix $LIBS"
25101 cat >conftest.
$ac_ext <<_ACEOF
25104 cat confdefs.h
>>conftest.
$ac_ext
25105 cat >>conftest.
$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25108 /* Override any gcc2 internal prototype to avoid an error. */
25112 /* We use char because int might match the return type of a gcc2
25113 builtin and then its argument prototype would still apply. */
25123 rm -f conftest.
$ac_objext conftest
$ac_exeext
25124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25125 (eval $ac_link) 2>conftest.er1
25127 grep -v '^ *+' conftest.er1
>conftest.err
25129 cat conftest.err
>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134 (eval $ac_try) 2>&5
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); }; } &&
25138 { ac_try
='test -s conftest$ac_exeext'
25139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25140 (eval $ac_try) 2>&5
25142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25143 (exit $ac_status); }; }; then
25144 ac_cv_lib_posix_remove
=yes
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.
$ac_ext >&5
25149 ac_cv_lib_posix_remove
=no
25151 rm -f conftest.err conftest.
$ac_objext \
25152 conftest
$ac_exeext conftest.
$ac_ext
25153 LIBS
=$ac_check_lib_save_LIBS
25155 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25156 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25157 if test $ac_cv_lib_posix_remove = yes; then
25158 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25163 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25164 echo "$as_me:$LINENO: checking for shmat" >&5
25165 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25166 if test "${ac_cv_func_shmat+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25169 cat >conftest.
$ac_ext <<_ACEOF
25172 cat confdefs.h
>>conftest.
$ac_ext
25173 cat >>conftest.
$ac_ext <<_ACEOF
25174 /* end confdefs.h. */
25175 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25177 #define shmat innocuous_shmat
25179 /* System header to define __stub macros and hopefully few prototypes,
25180 which can conflict with char shmat (); below.
25181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25182 <limits.h> exists even on freestanding compilers. */
25185 # include <limits.h>
25187 # include <assert.h>
25192 /* Override any gcc2 internal prototype to avoid an error. */
25197 /* We use char because int might match the return type of a gcc2
25198 builtin and then its argument prototype would still apply. */
25200 /* The GNU C library defines this for functions which it implements
25201 to always fail with ENOSYS. Some functions are actually named
25202 something starting with __ and the normal name is an alias. */
25203 #if defined (__stub_shmat) || defined (__stub___shmat)
25206 char (*f) () = shmat;
25220 rm -f conftest.
$ac_objext conftest
$ac_exeext
25221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25222 (eval $ac_link) 2>conftest.er1
25224 grep -v '^ *+' conftest.er1
>conftest.err
25226 cat conftest.err
>&5
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); } &&
25229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
25235 { ac_try
='test -s conftest$ac_exeext'
25236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25237 (eval $ac_try) 2>&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; }; then
25241 ac_cv_func_shmat
=yes
25243 echo "$as_me: failed program was:" >&5
25244 sed 's/^/| /' conftest.
$ac_ext >&5
25246 ac_cv_func_shmat
=no
25248 rm -f conftest.err conftest.
$ac_objext \
25249 conftest
$ac_exeext conftest.
$ac_ext
25251 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25252 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25254 if test $ac_cv_func_shmat = no
; then
25255 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25256 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25257 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25258 echo $ECHO_N "(cached) $ECHO_C" >&6
25260 ac_check_lib_save_LIBS
=$LIBS
25262 cat >conftest.
$ac_ext <<_ACEOF
25265 cat confdefs.h
>>conftest.
$ac_ext
25266 cat >>conftest.
$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25269 /* Override any gcc2 internal prototype to avoid an error. */
25273 /* We use char because int might match the return type of a gcc2
25274 builtin and then its argument prototype would still apply. */
25284 rm -f conftest.
$ac_objext conftest
$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25288 grep -v '^ *+' conftest.er1
>conftest.err
25290 cat conftest.err
>&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try
='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 ac_cv_lib_ipc_shmat
=yes
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.
$ac_ext >&5
25310 ac_cv_lib_ipc_shmat
=no
25312 rm -f conftest.err conftest.
$ac_objext \
25313 conftest
$ac_exeext conftest.
$ac_ext
25314 LIBS
=$ac_check_lib_save_LIBS
25316 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25317 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25318 if test $ac_cv_lib_ipc_shmat = yes; then
25319 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25325 # Check for libraries that X11R6 Xt/Xaw programs need.
25326 ac_save_LDFLAGS
=$LDFLAGS
25327 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25328 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25329 # check for ICE first), but we must link in the order -lSM -lICE or
25330 # we get undefined symbols. So assume we have SM if we have ICE.
25331 # These have to be linked with before -lX11, unlike the other
25332 # libraries we check for below, so use a different variable.
25333 # John Interrante, Karl Berry
25334 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25335 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25336 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25337 echo $ECHO_N "(cached) $ECHO_C" >&6
25339 ac_check_lib_save_LIBS
=$LIBS
25340 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25341 cat >conftest.
$ac_ext <<_ACEOF
25344 cat confdefs.h
>>conftest.
$ac_ext
25345 cat >>conftest.
$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25348 /* Override any gcc2 internal prototype to avoid an error. */
25352 /* We use char because int might match the return type of a gcc2
25353 builtin and then its argument prototype would still apply. */
25354 char IceConnectionNumber ();
25358 IceConnectionNumber ();
25363 rm -f conftest.
$ac_objext conftest
$ac_exeext
25364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25365 (eval $ac_link) 2>conftest.er1
25367 grep -v '^ *+' conftest.er1
>conftest.err
25369 cat conftest.err
>&5
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); } &&
25372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25374 (eval $ac_try) 2>&5
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); }; } &&
25378 { ac_try
='test -s conftest$ac_exeext'
25379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25380 (eval $ac_try) 2>&5
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); }; }; then
25384 ac_cv_lib_ICE_IceConnectionNumber
=yes
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.
$ac_ext >&5
25389 ac_cv_lib_ICE_IceConnectionNumber
=no
25391 rm -f conftest.err conftest.
$ac_objext \
25392 conftest
$ac_exeext conftest.
$ac_ext
25393 LIBS
=$ac_check_lib_save_LIBS
25395 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25396 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25397 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25398 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25401 LDFLAGS
=$ac_save_LDFLAGS
25406 if test "$no_x" = "yes"; then
25407 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25408 echo "$as_me: error: X11 not found" >&2;}
25409 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25412 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25413 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25414 AFMINSTALL
=afminstall
25415 COMPILED_X_PROGRAM
=0
25419 if test "$wxUSE_X11" = 1; then
25420 if test "$wxUSE_NANOX" = "yes"; then
25421 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25422 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25423 if test "x$MICROWIN" = x
; then
25424 echo "$as_me:$LINENO: result: not found" >&5
25425 echo "${ECHO_T}not found" >&6
25426 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25427 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25428 { (exit 1); exit 1; }; }
25430 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25431 echo "${ECHO_T}$MICROWIN" >&6
25432 cat >>confdefs.h
<<\_ACEOF
25433 #define wxUSE_NANOX 1
25439 if test "$wxUSE_UNICODE" = "yes"; then
25443 if test -z "$PKG_CONFIG"; then
25444 # Extract the first word of "pkg-config", so it can be a program name with args.
25445 set dummy pkg
-config; ac_word
=$2
25446 echo "$as_me:$LINENO: checking for $ac_word" >&5
25447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25448 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25451 case $PKG_CONFIG in
25453 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25457 for as_dir
in $PATH
25460 test -z "$as_dir" && as_dir
=.
25461 for ac_exec_ext
in '' $ac_executable_extensions; do
25462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25463 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25470 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25474 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25476 if test -n "$PKG_CONFIG"; then
25477 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25478 echo "${ECHO_T}$PKG_CONFIG" >&6
25480 echo "$as_me:$LINENO: result: no" >&5
25481 echo "${ECHO_T}no" >&6
25486 if test "$PKG_CONFIG" = "no" ; then
25487 echo "*** The pkg-config script could not be found. Make sure it is"
25488 echo "*** in your path, or set the PKG_CONFIG environment variable"
25489 echo "*** to the full path to pkg-config."
25490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25492 PKG_CONFIG_MIN_VERSION
=0.9.0
25493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25494 echo "$as_me:$LINENO: checking for pangox" >&5
25495 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25497 if $PKG_CONFIG --exists "pangox" ; then
25498 echo "$as_me:$LINENO: result: yes" >&5
25499 echo "${ECHO_T}yes" >&6
25502 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25503 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25504 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25505 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25506 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25508 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25509 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25510 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25511 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25512 echo "${ECHO_T}$PANGOX_LIBS" >&6
25516 ## If we have a custom action on failure, don't print errors, but
25517 ## do set a variable so people can do so.
25518 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25525 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25526 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25530 if test $succeeded = yes; then
25532 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25533 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25537 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25538 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25539 { (exit 1); exit 1; }; }
25547 if test -z "$PKG_CONFIG"; then
25548 # Extract the first word of "pkg-config", so it can be a program name with args.
25549 set dummy pkg
-config; ac_word
=$2
25550 echo "$as_me:$LINENO: checking for $ac_word" >&5
25551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25552 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25555 case $PKG_CONFIG in
25557 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25561 for as_dir
in $PATH
25564 test -z "$as_dir" && as_dir
=.
25565 for ac_exec_ext
in '' $ac_executable_extensions; do
25566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25567 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25574 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25578 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25580 if test -n "$PKG_CONFIG"; then
25581 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25582 echo "${ECHO_T}$PKG_CONFIG" >&6
25584 echo "$as_me:$LINENO: result: no" >&5
25585 echo "${ECHO_T}no" >&6
25590 if test "$PKG_CONFIG" = "no" ; then
25591 echo "*** The pkg-config script could not be found. Make sure it is"
25592 echo "*** in your path, or set the PKG_CONFIG environment variable"
25593 echo "*** to the full path to pkg-config."
25594 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25596 PKG_CONFIG_MIN_VERSION
=0.9.0
25597 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25598 echo "$as_me:$LINENO: checking for pangoft2" >&5
25599 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25601 if $PKG_CONFIG --exists "pangoft2" ; then
25602 echo "$as_me:$LINENO: result: yes" >&5
25603 echo "${ECHO_T}yes" >&6
25606 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25607 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25608 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25609 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25610 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25612 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25613 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25614 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25615 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25616 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25620 ## If we have a custom action on failure, don't print errors, but
25621 ## do set a variable so people can do so.
25622 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25629 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25630 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25634 if test $succeeded = yes; then
25636 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25637 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25641 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25642 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25643 wxUSE_PRINTING_ARCHITECTURE
="no"
25651 if test -z "$PKG_CONFIG"; then
25652 # Extract the first word of "pkg-config", so it can be a program name with args.
25653 set dummy pkg
-config; ac_word
=$2
25654 echo "$as_me:$LINENO: checking for $ac_word" >&5
25655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25656 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25659 case $PKG_CONFIG in
25661 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25665 for as_dir
in $PATH
25668 test -z "$as_dir" && as_dir
=.
25669 for ac_exec_ext
in '' $ac_executable_extensions; do
25670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25671 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25678 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25682 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25684 if test -n "$PKG_CONFIG"; then
25685 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25686 echo "${ECHO_T}$PKG_CONFIG" >&6
25688 echo "$as_me:$LINENO: result: no" >&5
25689 echo "${ECHO_T}no" >&6
25694 if test "$PKG_CONFIG" = "no" ; then
25695 echo "*** The pkg-config script could not be found. Make sure it is"
25696 echo "*** in your path, or set the PKG_CONFIG environment variable"
25697 echo "*** to the full path to pkg-config."
25698 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25700 PKG_CONFIG_MIN_VERSION
=0.9.0
25701 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25702 echo "$as_me:$LINENO: checking for pangoxft" >&5
25703 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25705 if $PKG_CONFIG --exists "pangoxft" ; then
25706 echo "$as_me:$LINENO: result: yes" >&5
25707 echo "${ECHO_T}yes" >&6
25710 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25711 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25712 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25713 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25714 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25716 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25717 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25718 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25719 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25720 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25724 ## If we have a custom action on failure, don't print errors, but
25725 ## do set a variable so people can do so.
25726 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25733 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25734 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25738 if test $succeeded = yes; then
25740 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25741 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25745 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25746 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25751 save_CFLAGS
="$CFLAGS"
25753 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25754 LIBS
="$LIBS $PANGOX_LIBS"
25756 for ac_func
in pango_font_family_is_monospace
25758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25759 echo "$as_me:$LINENO: checking for $ac_func" >&5
25760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25761 if eval "test \"\${$as_ac_var+set}\" = set"; then
25762 echo $ECHO_N "(cached) $ECHO_C" >&6
25764 cat >conftest.
$ac_ext <<_ACEOF
25767 cat confdefs.h
>>conftest.
$ac_ext
25768 cat >>conftest.
$ac_ext <<_ACEOF
25769 /* end confdefs.h. */
25770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25772 #define $ac_func innocuous_$ac_func
25774 /* System header to define __stub macros and hopefully few prototypes,
25775 which can conflict with char $ac_func (); below.
25776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25777 <limits.h> exists even on freestanding compilers. */
25780 # include <limits.h>
25782 # include <assert.h>
25787 /* Override any gcc2 internal prototype to avoid an error. */
25792 /* We use char because int might match the return type of a gcc2
25793 builtin and then its argument prototype would still apply. */
25795 /* The GNU C library defines this for functions which it implements
25796 to always fail with ENOSYS. Some functions are actually named
25797 something starting with __ and the normal name is an alias. */
25798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25801 char (*f) () = $ac_func;
25810 return f != $ac_func;
25815 rm -f conftest.
$ac_objext conftest
$ac_exeext
25816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25817 (eval $ac_link) 2>conftest.er1
25819 grep -v '^ *+' conftest.er1
>conftest.err
25821 cat conftest.err
>&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); } &&
25824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; } &&
25830 { ac_try
='test -s conftest$ac_exeext'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; }; then
25836 eval "$as_ac_var=yes"
25838 echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.
$ac_ext >&5
25841 eval "$as_ac_var=no"
25843 rm -f conftest.err conftest.
$ac_objext \
25844 conftest
$ac_exeext conftest.
$ac_ext
25846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25848 if test `eval echo '${'$as_ac_var'}'` = yes; then
25849 cat >>confdefs.h
<<_ACEOF
25850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25856 CFLAGS
="$save_CFLAGS"
25860 wxUSE_UNIVERSAL
="yes"
25862 if test "$wxUSE_NANOX" = "yes"; then
25863 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25864 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"
25865 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25867 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25874 if test "$wxUSE_MOTIF" = 1; then
25875 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25876 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25879 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25881 if test -f "$ac_dir/Xm/Xm.h"; then
25882 ac_find_includes
=$ac_dir
25887 if test "$ac_find_includes" != "" ; then
25888 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25889 echo "${ECHO_T}found in $ac_find_includes" >&6
25891 if test "x$ac_find_includes" = "x/usr/include"; then
25892 ac_path_to_include
=""
25894 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25896 if test $result = 0; then
25897 ac_path_to_include
=""
25899 ac_path_to_include
=" -I$ac_find_includes"
25903 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25905 cat >conftest.
$ac_ext <<_ACEOF
25908 cat confdefs.h
>>conftest.
$ac_ext
25909 cat >>conftest.
$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25919 version = xmUseVersion;
25925 rm -f conftest.
$ac_objext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25927 (eval $ac_compile) 2>conftest.er1
25929 grep -v '^ *+' conftest.er1
>conftest.err
25931 cat conftest.err
>&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try
='test -s conftest.$ac_objext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25947 echo "$as_me:$LINENO: result: found in default search path" >&5
25948 echo "${ECHO_T}found in default search path" >&6
25949 COMPILED_X_PROGRAM
=1
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.
$ac_ext >&5
25956 echo "$as_me:$LINENO: result: no" >&5
25957 echo "${ECHO_T}no" >&6
25958 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25959 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25960 { (exit 1); exit 1; }; }
25964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25967 if test "$COMPILED_X_PROGRAM" = 0; then
25968 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25969 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25972 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25974 for ac_extension
in a so sl dylib
; do
25975 if test -f "$ac_dir/libXm.$ac_extension"; then
25976 ac_find_libraries
=$ac_dir
25982 if test "$ac_find_libraries" != "" ; then
25983 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25984 echo "${ECHO_T}found at $ac_find_libraries" >&6
25987 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25989 if test $result = 0; then
25992 ac_path_to_link
=" -L$ac_find_libraries"
25995 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25997 save_CFLAGS
=$CFLAGS
25998 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26000 cat >conftest.
$ac_ext <<_ACEOF
26003 cat confdefs.h
>>conftest.
$ac_ext
26004 cat >>conftest.
$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26014 version = xmUseVersion;
26020 rm -f conftest.
$ac_objext
26021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26022 (eval $ac_compile) 2>conftest.er1
26024 grep -v '^ *+' conftest.er1
>conftest.err
26026 cat conftest.err
>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } &&
26029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031 (eval $ac_try) 2>&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); }; } &&
26035 { ac_try
='test -s conftest.$ac_objext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26042 echo "$as_me:$LINENO: result: found in default search path" >&5
26043 echo "${ECHO_T}found in default search path" >&6
26044 COMPILED_X_PROGRAM
=1
26047 echo "$as_me: failed program was:" >&5
26048 sed 's/^/| /' conftest.
$ac_ext >&5
26051 echo "$as_me:$LINENO: result: no" >&5
26052 echo "${ECHO_T}no" >&6
26053 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26054 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26055 { (exit 1); exit 1; }; }
26059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26061 CFLAGS
=$save_CFLAGS
26065 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26066 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26070 for libp
in "" " -lXp"; do
26071 if test "$libs_found" = "0"; then
26072 for libsm_ice
in "" " -lSM -lICE"; do
26073 if test "$libs_found" = "0"; then
26075 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26076 save_CFLAGS
=$CFLAGS
26077 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26079 cat >conftest.
$ac_ext <<_ACEOF
26082 cat confdefs.h
>>conftest.
$ac_ext
26083 cat >>conftest.
$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26087 #include <Xm/List.h>
26093 XmString string = NULL;
26096 XmListAddItem(w, string, position);
26102 rm -f conftest.
$ac_objext conftest
$ac_exeext
26103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26104 (eval $ac_link) 2>conftest.er1
26106 grep -v '^ *+' conftest.er1
>conftest.err
26108 cat conftest.err
>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } &&
26111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; } &&
26117 { ac_try
='test -s conftest$ac_exeext'
26118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26119 (eval $ac_try) 2>&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); }; }; then
26125 libsm_ice_link
="$libsm_ice"
26126 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26127 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26131 echo "$as_me: failed program was:" >&5
26132 sed 's/^/| /' conftest.
$ac_ext >&5
26137 rm -f conftest.err conftest.
$ac_objext \
26138 conftest
$ac_exeext conftest.
$ac_ext
26141 CFLAGS
=$save_CFLAGS
26147 if test "$libs_found" = "0"; then
26148 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26149 echo "${ECHO_T}can't find the right libraries" >&6
26150 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26151 echo "$as_me: error: can't link a simple motif program" >&2;}
26152 { (exit 1); exit 1; }; }
26155 save_CFLAGS
=$CFLAGS
26156 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26157 echo "$as_me:$LINENO: checking for Motif 2" >&5
26158 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26159 cat >conftest.
$ac_ext <<_ACEOF
26162 cat confdefs.h
>>conftest.
$ac_ext
26163 cat >>conftest.
$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26172 #if XmVersion < 2000
26173 #error "Not Motif 2"
26180 rm -f conftest.
$ac_objext
26181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26182 (eval $ac_compile) 2>conftest.er1
26184 grep -v '^ *+' conftest.er1
>conftest.err
26186 cat conftest.err
>&5
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); } &&
26189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26191 (eval $ac_try) 2>&5
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); }; } &&
26195 { ac_try
='test -s conftest.$ac_objext'
26196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26197 (eval $ac_try) 2>&5
26199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 (exit $ac_status); }; }; then
26202 cat >>confdefs.h
<<\_ACEOF
26203 #define __WXMOTIF20__ 1
26206 echo "$as_me:$LINENO: result: found" >&5
26207 echo "${ECHO_T}found" >&6
26210 echo "$as_me: failed program was:" >&5
26211 sed 's/^/| /' conftest.
$ac_ext >&5
26214 cat >>confdefs.h
<<\_ACEOF
26215 #define __WXMOTIF20__ 0
26218 echo "$as_me:$LINENO: result: not found" >&5
26219 echo "${ECHO_T}not found" >&6
26222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26223 CFLAGS
=$save_CFLAGS
26225 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26230 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26231 if test "$wxUSE_LIBXPM" = "sys"; then
26232 echo "$as_me:$LINENO: checking for Xpm library" >&5
26233 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26236 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26238 for ac_extension
in a so sl dylib
; do
26239 if test -f "$ac_dir/libXpm.$ac_extension"; then
26240 ac_find_libraries
=$ac_dir
26246 if test "$ac_find_libraries" != "" ; then
26248 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26250 if test $result = 0; then
26253 ac_path_to_link
=" -L$ac_find_libraries"
26256 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26257 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26258 echo "${ECHO_T}found at $ac_find_libraries" >&6
26260 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26261 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26262 if test "${wx_cv_x11_xpm_h+set}" = set; then
26263 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 save_CFLAGS
=$CFLAGS
26267 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26269 cat >conftest.
$ac_ext <<_ACEOF
26272 cat confdefs.h
>>conftest.
$ac_ext
26273 cat >>conftest.
$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26276 #include <X11/xpm.h>
26283 version = XpmLibraryVersion();
26289 rm -f conftest.
$ac_objext
26290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26291 (eval $ac_compile) 2>conftest.er1
26293 grep -v '^ *+' conftest.er1
>conftest.err
26295 cat conftest.err
>&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } &&
26298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26300 (eval $ac_try) 2>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; } &&
26304 { ac_try
='test -s conftest.$ac_objext'
26305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26306 (eval $ac_try) 2>&5
26308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26309 (exit $ac_status); }; }; then
26310 wx_cv_x11_xpm_h
=yes
26312 echo "$as_me: failed program was:" >&5
26313 sed 's/^/| /' conftest.
$ac_ext >&5
26318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26320 CFLAGS
=$save_CFLAGS
26324 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26325 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26327 if test $wx_cv_x11_xpm_h = "yes"; then
26328 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26329 cat >>confdefs.h
<<\_ACEOF
26330 #define wxHAVE_LIB_XPM 1
26334 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26335 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26341 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26342 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26343 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26344 echo $ECHO_N "(cached) $ECHO_C" >&6
26346 ac_check_lib_save_LIBS
=$LIBS
26347 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26348 cat >conftest.
$ac_ext <<_ACEOF
26351 cat confdefs.h
>>conftest.
$ac_ext
26352 cat >>conftest.
$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26355 /* Override any gcc2 internal prototype to avoid an error. */
26359 /* We use char because int might match the return type of a gcc2
26360 builtin and then its argument prototype would still apply. */
26361 char XShapeQueryExtension ();
26365 XShapeQueryExtension ();
26370 rm -f conftest.
$ac_objext conftest
$ac_exeext
26371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26372 (eval $ac_link) 2>conftest.er1
26374 grep -v '^ *+' conftest.er1
>conftest.err
26376 cat conftest.err
>&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } &&
26379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try
='test -s conftest$ac_exeext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.
$ac_ext >&5
26396 ac_cv_lib_Xext_XShapeQueryExtension
=no
26398 rm -f conftest.err conftest.
$ac_objext \
26399 conftest
$ac_exeext conftest.
$ac_ext
26400 LIBS
=$ac_check_lib_save_LIBS
26402 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26403 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26404 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26406 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26412 if test "$wxHAVE_XEXT_LIB" = 1; then
26413 save_CFLAGS
="$CFLAGS"
26414 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26416 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26417 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26418 cat >conftest.
$ac_ext <<_ACEOF
26421 cat confdefs.h
>>conftest.
$ac_ext
26422 cat >>conftest.
$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26425 #include <X11/Xlib.h>
26426 #include <X11/extensions/shape.h>
26432 int dummy1, dummy2;
26433 XShapeQueryExtension((Display*)NULL,
26434 (int*)NULL, (int*)NULL);
26440 rm -f conftest.
$ac_objext
26441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26442 (eval $ac_compile) 2>conftest.er1
26444 grep -v '^ *+' conftest.er1
>conftest.err
26446 cat conftest.err
>&5
26447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26448 (exit $ac_status); } &&
26449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try
='test -s conftest.$ac_objext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26462 cat >>confdefs.h
<<\_ACEOF
26463 #define HAVE_XSHAPE 1
26466 echo "$as_me:$LINENO: result: found" >&5
26467 echo "${ECHO_T}found" >&6
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.
$ac_ext >&5
26474 echo "$as_me:$LINENO: result: not found" >&5
26475 echo "${ECHO_T}not found" >&6
26478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26479 CFLAGS
="$save_CFLAGS"
26484 if test "$wxUSE_MAC" = 1; then
26485 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26486 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26487 if test "$GCC" = yes; then
26488 echo "$as_me:$LINENO: result: gcc" >&5
26489 echo "${ECHO_T}gcc" >&6
26490 CPPFLAGS_PASCAL
="-fpascal-strings"
26491 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26492 echo "$as_me:$LINENO: result: xlc" >&5
26493 echo "${ECHO_T}xlc" >&6
26494 CPPFLAGS_PASCAL
="-qmacpstr"
26496 echo "$as_me:$LINENO: result: none" >&5
26497 echo "${ECHO_T}none" >&6
26500 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26504 WXBASEPORT
="_carbon"
26507 if test "$wxUSE_COCOA" = 1; then
26512 if test "$wxUSE_PM" = 1; then
26515 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26516 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26517 if test "${wx_cv_spbcdata+set}" = set; then
26518 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 cat >conftest.
$ac_ext <<_ACEOF
26524 cat confdefs.h
>>conftest.
$ac_ext
26525 cat >>conftest.
$ac_ext <<_ACEOF
26526 /* end confdefs.h. */
26541 rm -f conftest.
$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543 (eval $ac_compile) 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26552 (eval $ac_try) 2>&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); }; } &&
26556 { ac_try
='test -s conftest.$ac_objext'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; }; then
26564 echo "$as_me: failed program was:" >&5
26565 sed 's/^/| /' conftest.
$ac_ext >&5
26570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26574 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26575 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26577 if test $wx_cv_spbcdata = "yes"; then
26578 cat >>confdefs.h
<<\_ACEOF
26579 #define HAVE_SPBCDATA 1
26585 if test "$TOOLKIT" = "PM" ; then
26588 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26591 if test "$wxUSE_UNIVERSAL" = "yes"; then
26592 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26596 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26597 DISTDIR
="wx\$(TOOLKIT)"
26603 if test "$USE_WIN32" = 1 ; then
26607 GUIDIST
="BASE_DIST"
26617 if test "$TOOLKIT" != "MSW" ; then
26619 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26621 if test "${ac_cv_header_sql_h+set}" = set; then
26622 echo "$as_me:$LINENO: checking for sql.h" >&5
26623 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26624 if test "${ac_cv_header_sql_h+set}" = set; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26628 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26630 # Is the header compilable?
26631 echo "$as_me:$LINENO: checking sql.h usability" >&5
26632 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26633 cat >conftest.
$ac_ext <<_ACEOF
26636 cat confdefs.h
>>conftest.
$ac_ext
26637 cat >>conftest.
$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26639 $ac_includes_default
26642 rm -f conftest.
$ac_objext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26644 (eval $ac_compile) 2>conftest.er1
26646 grep -v '^ *+' conftest.er1
>conftest.err
26648 cat conftest.err
>&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; } &&
26657 { ac_try
='test -s conftest.$ac_objext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 ac_header_compiler
=yes
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.
$ac_ext >&5
26668 ac_header_compiler
=no
26670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26672 echo "${ECHO_T}$ac_header_compiler" >&6
26674 # Is the header present?
26675 echo "$as_me:$LINENO: checking sql.h presence" >&5
26676 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26677 cat >conftest.
$ac_ext <<_ACEOF
26680 cat confdefs.h
>>conftest.
$ac_ext
26681 cat >>conftest.
$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26688 grep -v '^ *+' conftest.er1
>conftest.err
26690 cat conftest.err
>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } >/dev
/null
; then
26693 if test -s conftest.err
; then
26694 ac_cpp_err
=$ac_c_preproc_warn_flag
26695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26702 if test -z "$ac_cpp_err"; then
26703 ac_header_preproc
=yes
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.
$ac_ext >&5
26708 ac_header_preproc
=no
26710 rm -f conftest.err conftest.
$ac_ext
26711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26712 echo "${ECHO_T}$ac_header_preproc" >&6
26714 # So? What about this header?
26715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26717 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26718 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26719 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26720 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26721 ac_header_preproc
=yes
26724 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26725 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26726 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26727 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26728 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26729 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26730 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26731 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26732 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26733 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26734 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26735 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26738 ## ----------------------------------------- ##
26739 ## Report this to wx-dev@lists.wxwidgets.org ##
26740 ## ----------------------------------------- ##
26743 sed "s/^/$as_me: WARNING: /" >&2
26746 echo "$as_me:$LINENO: checking for sql.h" >&5
26747 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26748 if test "${ac_cv_header_sql_h+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 ac_cv_header_sql_h
=$ac_header_preproc
26753 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26754 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26757 if test $ac_cv_header_sql_h = yes; then
26762 if test "x$found_sql_h" = "x1" ; then
26763 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26764 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26765 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26766 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 ac_check_lib_save_LIBS
=$LIBS
26769 LIBS
="-liodbc $LIBS"
26770 cat >conftest.
$ac_ext <<_ACEOF
26773 cat confdefs.h
>>conftest.
$ac_ext
26774 cat >>conftest.
$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26777 /* Override any gcc2 internal prototype to avoid an error. */
26781 /* We use char because int might match the return type of a gcc2
26782 builtin and then its argument prototype would still apply. */
26783 char SQLAllocEnv ();
26792 rm -f conftest.
$ac_objext conftest
$ac_exeext
26793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26794 (eval $ac_link) 2>conftest.er1
26796 grep -v '^ *+' conftest.er1
>conftest.err
26798 cat conftest.err
>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } &&
26801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803 (eval $ac_try) 2>&5
26805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806 (exit $ac_status); }; } &&
26807 { ac_try
='test -s conftest$ac_exeext'
26808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26809 (eval $ac_try) 2>&5
26811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812 (exit $ac_status); }; }; then
26813 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.
$ac_ext >&5
26818 ac_cv_lib_iodbc_SQLAllocEnv
=no
26820 rm -f conftest.err conftest.
$ac_objext \
26821 conftest
$ac_exeext conftest.
$ac_ext
26822 LIBS
=$ac_check_lib_save_LIBS
26824 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26825 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26826 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26827 ODBC_LINK
=" -liodbc"
26830 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26831 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26832 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26835 ac_check_lib_save_LIBS
=$LIBS
26836 LIBS
="-lunixodbc $LIBS"
26837 cat >conftest.
$ac_ext <<_ACEOF
26840 cat confdefs.h
>>conftest.
$ac_ext
26841 cat >>conftest.
$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26844 /* Override any gcc2 internal prototype to avoid an error. */
26848 /* We use char because int might match the return type of a gcc2
26849 builtin and then its argument prototype would still apply. */
26850 char SQLAllocEnv ();
26859 rm -f conftest.
$ac_objext conftest
$ac_exeext
26860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26861 (eval $ac_link) 2>conftest.er1
26863 grep -v '^ *+' conftest.er1
>conftest.err
26865 cat conftest.err
>&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); } &&
26868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try
='test -s conftest$ac_exeext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.
$ac_ext >&5
26885 ac_cv_lib_unixodbc_SQLAllocEnv
=no
26887 rm -f conftest.err conftest.
$ac_objext \
26888 conftest
$ac_exeext conftest.
$ac_ext
26889 LIBS
=$ac_check_lib_save_LIBS
26891 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26892 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26893 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26894 ODBC_LINK
=" -lunixodbc"
26897 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26898 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26899 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26900 echo $ECHO_N "(cached) $ECHO_C" >&6
26902 ac_check_lib_save_LIBS
=$LIBS
26903 LIBS
="-lodbc $LIBS"
26904 cat >conftest.
$ac_ext <<_ACEOF
26907 cat confdefs.h
>>conftest.
$ac_ext
26908 cat >>conftest.
$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26911 /* Override any gcc2 internal prototype to avoid an error. */
26915 /* We use char because int might match the return type of a gcc2
26916 builtin and then its argument prototype would still apply. */
26917 char SQLAllocEnv ();
26926 rm -f conftest.
$ac_objext conftest
$ac_exeext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26928 (eval $ac_link) 2>conftest.er1
26930 grep -v '^ *+' conftest.er1
>conftest.err
26932 cat conftest.err
>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); } &&
26935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; } &&
26941 { ac_try
='test -s conftest$ac_exeext'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; }; then
26947 ac_cv_lib_odbc_SQLAllocEnv
=yes
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.
$ac_ext >&5
26952 ac_cv_lib_odbc_SQLAllocEnv
=no
26954 rm -f conftest.err conftest.
$ac_objext \
26955 conftest
$ac_exeext conftest.
$ac_ext
26956 LIBS
=$ac_check_lib_save_LIBS
26958 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26959 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26960 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26961 ODBC_LINK
=" -lodbc"
26971 if test "x$ODBC_LINK" = "x" ; then
26972 if test "$wxUSE_ODBC" = "sys" ; then
26973 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26974 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26975 { (exit 1); exit 1; }; }
26977 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26978 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26985 if test "$wxUSE_ODBC" != "no" ; then
26986 cat >>confdefs.h
<<\_ACEOF
26987 #define wxUSE_ODBC 1
26990 if test "$wxUSE_ODBC" = "builtin" ; then
26991 cat >>confdefs.h
<<\_ACEOF
26992 #define wxUSE_BUILTIN_IODBC 1
26996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
26998 WXODBCFLAG
="-D_IODBC_"
27004 if test "$wxUSE_DISPLAY" = "yes"; then
27005 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27006 echo "$as_me:$LINENO: checking for Xinerama" >&5
27007 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27010 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27012 for ac_extension
in a so sl dylib
; do
27013 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27014 ac_find_libraries
=$ac_dir
27020 if test "$ac_find_libraries" != "" ; then
27022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27024 if test $result = 0; then
27027 ac_path_to_link
=" -L$ac_find_libraries"
27030 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27031 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27033 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27034 echo "$as_me:$LINENO: result: yes" >&5
27035 echo "${ECHO_T}yes" >&6
27037 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27038 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27041 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27043 for ac_extension
in a so sl dylib
; do
27044 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27045 ac_find_libraries
=$ac_dir
27051 if test "$ac_find_libraries" != "" ; then
27052 echo "$as_me:$LINENO: result: yes" >&5
27053 echo "${ECHO_T}yes" >&6
27055 for ac_header
in X
11/extensions
/xf86vmode.h
27057 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27058 echo "$as_me:$LINENO: checking for $ac_header" >&5
27059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 cat >conftest.
$ac_ext <<_ACEOF
27066 cat confdefs.h
>>conftest.
$ac_ext
27067 cat >>conftest.
$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27070 #if HAVE_X11_XLIB_H
27071 #include <X11/Xlib.h>
27075 #include <$ac_header>
27077 rm -f conftest.
$ac_objext
27078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27079 (eval $ac_compile) 2>conftest.er1
27081 grep -v '^ *+' conftest.er1
>conftest.err
27083 cat conftest.err
>&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } &&
27086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27088 (eval $ac_try) 2>&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; } &&
27092 { ac_try
='test -s conftest.$ac_objext'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; }; then
27098 eval "$as_ac_Header=yes"
27100 echo "$as_me: failed program was:" >&5
27101 sed 's/^/| /' conftest.
$ac_ext >&5
27103 eval "$as_ac_Header=no"
27105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27110 cat >>confdefs.h
<<_ACEOF
27111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27114 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27121 echo "$as_me:$LINENO: result: no" >&5
27122 echo "${ECHO_T}no" >&6
27126 echo "$as_me:$LINENO: result: no" >&5
27127 echo "${ECHO_T}no" >&6
27128 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27129 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27132 elif test "$wxUSE_MSW" = 1; then
27135 for ac_header
in multimon.h ddraw.h
27137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27139 echo "$as_me:$LINENO: checking for $ac_header" >&5
27140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27147 # Is the header compilable?
27148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27150 cat >conftest.
$ac_ext <<_ACEOF
27153 cat confdefs.h
>>conftest.
$ac_ext
27154 cat >>conftest.
$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 $ac_includes_default
27157 #include <$ac_header>
27159 rm -f conftest.
$ac_objext
27160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27161 (eval $ac_compile) 2>conftest.er1
27163 grep -v '^ *+' conftest.er1
>conftest.err
27165 cat conftest.err
>&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } &&
27168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27170 (eval $ac_try) 2>&5
27172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173 (exit $ac_status); }; } &&
27174 { ac_try
='test -s conftest.$ac_objext'
27175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27176 (eval $ac_try) 2>&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); }; }; then
27180 ac_header_compiler
=yes
27182 echo "$as_me: failed program was:" >&5
27183 sed 's/^/| /' conftest.
$ac_ext >&5
27185 ac_header_compiler
=no
27187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27189 echo "${ECHO_T}$ac_header_compiler" >&6
27191 # Is the header present?
27192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27194 cat >conftest.
$ac_ext <<_ACEOF
27197 cat confdefs.h
>>conftest.
$ac_ext
27198 cat >>conftest.
$ac_ext <<_ACEOF
27199 /* end confdefs.h. */
27200 #include <$ac_header>
27202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27205 grep -v '^ *+' conftest.er1
>conftest.err
27207 cat conftest.err
>&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } >/dev
/null
; then
27210 if test -s conftest.err
; then
27211 ac_cpp_err
=$ac_c_preproc_warn_flag
27212 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27219 if test -z "$ac_cpp_err"; then
27220 ac_header_preproc
=yes
27222 echo "$as_me: failed program was:" >&5
27223 sed 's/^/| /' conftest.
$ac_ext >&5
27225 ac_header_preproc
=no
27227 rm -f conftest.err conftest.
$ac_ext
27228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27229 echo "${ECHO_T}$ac_header_preproc" >&6
27231 # So? What about this header?
27232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27238 ac_header_preproc
=yes
27241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27255 ## ----------------------------------------- ##
27256 ## Report this to wx-dev@lists.wxwidgets.org ##
27257 ## ----------------------------------------- ##
27260 sed "s/^/$as_me: WARNING: /" >&2
27263 echo "$as_me:$LINENO: checking for $ac_header" >&5
27264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27268 eval "$as_ac_Header=\$ac_header_preproc"
27270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27275 cat >>confdefs.h
<<_ACEOF
27276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27282 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27283 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27294 if test "$wxUSE_OPENGL" = "yes"; then
27295 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27296 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27297 elif test "$wxUSE_MSW" = 1; then
27298 OPENGL_LIBS
="-lopengl32 -lglu32"
27303 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27305 if test -f "$ac_dir/GL/gl.h"; then
27306 ac_find_includes
=$ac_dir
27311 if test "$ac_find_includes" != "" ; then
27312 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27313 echo "${ECHO_T}found in $ac_find_includes" >&6
27315 if test "x$ac_find_includes" = "x/usr/include"; then
27316 ac_path_to_include
=""
27318 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27320 if test $result = 0; then
27321 ac_path_to_include
=""
27323 ac_path_to_include
=" -I$ac_find_includes"
27327 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27330 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27331 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27332 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27333 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27334 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27337 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27339 # Is the header compilable?
27340 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27341 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27342 cat >conftest.
$ac_ext <<_ACEOF
27345 cat confdefs.h
>>conftest.
$ac_ext
27346 cat >>conftest.
$ac_ext <<_ACEOF
27347 /* end confdefs.h. */
27348 $ac_includes_default
27351 rm -f conftest.
$ac_objext
27352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27353 (eval $ac_compile) 2>conftest.er1
27355 grep -v '^ *+' conftest.er1
>conftest.err
27357 cat conftest.err
>&5
27358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27359 (exit $ac_status); } &&
27360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; } &&
27366 { ac_try
='test -s conftest.$ac_objext'
27367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27368 (eval $ac_try) 2>&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); }; }; then
27372 ac_header_compiler
=yes
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.
$ac_ext >&5
27377 ac_header_compiler
=no
27379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27381 echo "${ECHO_T}$ac_header_compiler" >&6
27383 # Is the header present?
27384 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27385 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27386 cat >conftest.
$ac_ext <<_ACEOF
27389 cat confdefs.h
>>conftest.
$ac_ext
27390 cat >>conftest.
$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27397 grep -v '^ *+' conftest.er1
>conftest.err
27399 cat conftest.err
>&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } >/dev
/null
; then
27402 if test -s conftest.err
; then
27403 ac_cpp_err
=$ac_c_preproc_warn_flag
27404 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27411 if test -z "$ac_cpp_err"; then
27412 ac_header_preproc
=yes
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.
$ac_ext >&5
27417 ac_header_preproc
=no
27419 rm -f conftest.err conftest.
$ac_ext
27420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27421 echo "${ECHO_T}$ac_header_preproc" >&6
27423 # So? What about this header?
27424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27426 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27427 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27429 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27430 ac_header_preproc
=yes
27433 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27434 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27435 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27436 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27437 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27438 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27439 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27440 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27441 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27442 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27443 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27444 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27447 ## ----------------------------------------- ##
27448 ## Report this to wx-dev@lists.wxwidgets.org ##
27449 ## ----------------------------------------- ##
27452 sed "s/^/$as_me: WARNING: /" >&2
27455 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27456 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27457 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27458 echo $ECHO_N "(cached) $ECHO_C" >&6
27460 ac_cv_header_GL_gl_h
=$ac_header_preproc
27462 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27463 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27466 if test $ac_cv_header_GL_gl_h = yes; then
27470 echo "$as_me:$LINENO: checking for -lGL" >&5
27471 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27474 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27476 for ac_extension
in a so sl dylib
; do
27477 if test -f "$ac_dir/libGL.$ac_extension"; then
27478 ac_find_libraries
=$ac_dir
27484 if test "$ac_find_libraries" != "" ; then
27486 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27488 if test $result = 0; then
27491 ac_path_to_link
=" -L$ac_find_libraries"
27494 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27495 LDFLAGS_GL
="$ac_path_to_link"
27500 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27502 for ac_extension
in a so sl dylib
; do
27503 if test -f "$ac_dir/libGLU.$ac_extension"; then
27504 ac_find_libraries
=$ac_dir
27510 if test "$ac_find_libraries" != "" ; then
27512 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27514 if test $result = 0; then
27517 ac_path_to_link
=" -L$ac_find_libraries"
27520 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27521 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27522 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27526 OPENGL_LIBS
="-lGL -lGLU"
27527 echo "$as_me:$LINENO: result: yes" >&5
27528 echo "${ECHO_T}yes" >&6
27532 if test "$found_gl" != 1; then
27533 echo "$as_me:$LINENO: result: no" >&5
27534 echo "${ECHO_T}no" >&6
27535 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27536 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27539 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27541 for ac_extension
in a so sl dylib
; do
27542 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27543 ac_find_libraries
=$ac_dir
27549 if test "$ac_find_libraries" != "" ; then
27551 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27553 if test $result = 0; then
27556 ac_path_to_link
=" -L$ac_find_libraries"
27559 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27560 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27561 echo "$as_me:$LINENO: result: yes" >&5
27562 echo "${ECHO_T}yes" >&6
27564 echo "$as_me:$LINENO: result: no" >&5
27565 echo "${ECHO_T}no" >&6
27573 if test "x$OPENGL_LIBS" = "x"; then
27574 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27575 echo "$as_me: error: OpenGL libraries not available" >&2;}
27576 { (exit 1); exit 1; }; }
27580 if test "$wxUSE_OPENGL" = "yes"; then
27582 cat >>confdefs.h
<<\_ACEOF
27583 #define wxUSE_OPENGL 1
27586 cat >>confdefs.h
<<\_ACEOF
27587 #define wxUSE_GLCANVAS 1
27590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27595 if test -n "$TOOLKIT" ; then
27596 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27601 if test "$wxUSE_SHARED" = "yes"; then
27605 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27606 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27611 if test "$wxUSE_SHARED" = "yes"; then
27614 found_versioning
=no
27617 if test $found_versioning = no
; then
27618 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27619 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27620 if test "${wx_cv_version_script+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 echo "VER_1 { *; };" >conftest.sym
27625 echo "int main() { return 0; }" >conftest.cpp
27628 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27629 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631 (eval $ac_try) 2>&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); }; } ; then
27635 if test -s conftest.stderr
; then
27636 wx_cv_version_script
=no
27638 wx_cv_version_script
=yes
27641 wx_cv_version_script
=no
27643 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27646 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27647 echo "${ECHO_T}$wx_cv_version_script" >&6
27648 if test $wx_cv_version_script = yes ; then
27649 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27655 *-*-linux* | *-*-gnu* )
27656 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27657 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27661 if test "$GCC" = yes ; then
27662 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27664 saveLdflags
="$LDFLAGS"
27665 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27666 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27667 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27668 cat >conftest.
$ac_ext <<_ACEOF
27671 cat confdefs.h
>>conftest.
$ac_ext
27672 cat >>conftest.
$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27683 rm -f conftest.
$ac_objext conftest
$ac_exeext
27684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27685 (eval $ac_link) 2>conftest.er1
27687 grep -v '^ *+' conftest.er1
>conftest.err
27689 cat conftest.err
>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); } &&
27692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; } &&
27698 { ac_try
='test -s conftest$ac_exeext'
27699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27700 (eval $ac_try) 2>&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; }; then
27705 echo "$as_me:$LINENO: result: yes" >&5
27706 echo "${ECHO_T}yes" >&6
27707 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27708 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.
$ac_ext >&5
27715 echo "$as_me:$LINENO: result: no" >&5
27716 echo "${ECHO_T}no" >&6
27717 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27718 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27719 LDFLAGS
="$saveLdflags -Wl,-R,/"
27720 cat >conftest.
$ac_ext <<_ACEOF
27723 cat confdefs.h
>>conftest.
$ac_ext
27724 cat >>conftest.
$ac_ext <<_ACEOF
27725 /* end confdefs.h. */
27735 rm -f conftest.
$ac_objext conftest
$ac_exeext
27736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27737 (eval $ac_link) 2>conftest.er1
27739 grep -v '^ *+' conftest.er1
>conftest.err
27741 cat conftest.err
>&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); } &&
27744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27746 (eval $ac_try) 2>&5
27748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27749 (exit $ac_status); }; } &&
27750 { ac_try
='test -s conftest$ac_exeext'
27751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27752 (eval $ac_try) 2>&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); }; }; then
27757 echo "$as_me:$LINENO: result: yes" >&5
27758 echo "${ECHO_T}yes" >&6
27759 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27760 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.
$ac_ext >&5
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
27771 rm -f conftest.err conftest.
$ac_objext \
27772 conftest
$ac_exeext conftest.
$ac_ext
27775 rm -f conftest.err conftest.
$ac_objext \
27776 conftest
$ac_exeext conftest.
$ac_ext
27777 LDFLAGS
="$saveLdflags"
27779 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27780 WXCONFIG_RPATH
="-R\$libdir"
27784 powerpc
-*-darwin* )
27785 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27786 cat <<EOF >change-install-names
27788 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27789 inst_cmd="install_name_tool "
27790 for i in \${libnames} ; do
27791 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27795 chmod +x change
-install-names
27798 *-*-cygwin* | *-*-mingw32* )
27799 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27804 if test $wxUSE_RPATH = "no"; then
27805 SAMPLES_RPATH_FLAG
=''
27806 SAMPLES_RPATH_POSTLINK
=''
27814 config_linkage_component
="-static"
27821 lib_unicode_suffix
=
27823 if test "$wxUSE_UNICODE" = "yes"; then
27824 lib_unicode_suffix
=u
27825 WX_CHARTYPE
="unicode"
27830 WX_DEBUGTYPE
="release"
27832 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27834 WX_DEBUGTYPE
="debug"
27838 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27839 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27842 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27846 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27848 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27850 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27852 if test "$cross_compiling" = "yes"; then
27853 HOST_SUFFIX
="-$host_alias"
27854 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
27855 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
27858 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27859 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27863 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27864 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27865 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27867 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27869 # Extract the first word of "Rez", so it can be a program name with args.
27870 set dummy Rez
; ac_word
=$2
27871 echo "$as_me:$LINENO: checking for $ac_word" >&5
27872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27873 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27876 if test -n "$RESCOMP"; then
27877 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
27879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27880 for as_dir
in $PATH
27883 test -z "$as_dir" && as_dir
=.
27884 for ac_exec_ext
in '' $ac_executable_extensions; do
27885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27886 ac_cv_prog_RESCOMP
="Rez"
27887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27893 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
27896 RESCOMP
=$ac_cv_prog_RESCOMP
27897 if test -n "$RESCOMP"; then
27898 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27899 echo "${ECHO_T}$RESCOMP" >&6
27901 echo "$as_me:$LINENO: result: no" >&5
27902 echo "${ECHO_T}no" >&6
27905 # Extract the first word of "DeRez", so it can be a program name with args.
27906 set dummy DeRez
; ac_word
=$2
27907 echo "$as_me:$LINENO: checking for $ac_word" >&5
27908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27909 if test "${ac_cv_prog_DEREZ+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27912 if test -n "$DEREZ"; then
27913 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
27915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27916 for as_dir
in $PATH
27919 test -z "$as_dir" && as_dir
=.
27920 for ac_exec_ext
in '' $ac_executable_extensions; do
27921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27922 ac_cv_prog_DEREZ
="DeRez"
27923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27929 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
27932 DEREZ
=$ac_cv_prog_DEREZ
27933 if test -n "$DEREZ"; then
27934 echo "$as_me:$LINENO: result: $DEREZ" >&5
27935 echo "${ECHO_T}$DEREZ" >&6
27937 echo "$as_me:$LINENO: result: no" >&5
27938 echo "${ECHO_T}no" >&6
27941 # Extract the first word of "SetFile", so it can be a program name with args.
27942 set dummy SetFile
; ac_word
=$2
27943 echo "$as_me:$LINENO: checking for $ac_word" >&5
27944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27945 if test "${ac_cv_prog_SETFILE+set}" = set; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27948 if test -n "$SETFILE"; then
27949 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
27951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27952 for as_dir
in $PATH
27955 test -z "$as_dir" && as_dir
=.
27956 for ac_exec_ext
in '' $ac_executable_extensions; do
27957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27958 ac_cv_prog_SETFILE
="SetFile"
27959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27965 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
27968 SETFILE
=$ac_cv_prog_SETFILE
27969 if test -n "$SETFILE"; then
27970 echo "$as_me:$LINENO: result: $SETFILE" >&5
27971 echo "${ECHO_T}$SETFILE" >&6
27973 echo "$as_me:$LINENO: result: no" >&5
27974 echo "${ECHO_T}no" >&6
27978 MACSETFILE
="\$(SETFILE)"
27980 if test "$wxUSE_MAC" = 1; then
27981 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27983 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27985 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27986 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27990 MACRESWXCONFIG
="@true"
27992 if test "$wxUSE_PM" = 1; then
27993 MACRESCOMP
="emxbind -ep"
28001 echo "$as_me:$LINENO: checking for mode_t" >&5
28002 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28003 if test "${ac_cv_type_mode_t+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28006 cat >conftest.
$ac_ext <<_ACEOF
28009 cat confdefs.h
>>conftest.
$ac_ext
28010 cat >>conftest.
$ac_ext <<_ACEOF
28011 /* end confdefs.h. */
28012 $ac_includes_default
28018 if (sizeof (mode_t))
28024 rm -f conftest.
$ac_objext
28025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28026 (eval $ac_compile) 2>conftest.er1
28028 grep -v '^ *+' conftest.er1
>conftest.err
28030 cat conftest.err
>&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; } &&
28039 { ac_try
='test -s conftest.$ac_objext'
28040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28041 (eval $ac_try) 2>&5
28043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28044 (exit $ac_status); }; }; then
28045 ac_cv_type_mode_t
=yes
28047 echo "$as_me: failed program was:" >&5
28048 sed 's/^/| /' conftest.
$ac_ext >&5
28050 ac_cv_type_mode_t
=no
28052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28054 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28055 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28056 if test $ac_cv_type_mode_t = yes; then
28060 cat >>confdefs.h
<<_ACEOF
28066 echo "$as_me:$LINENO: checking for off_t" >&5
28067 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28068 if test "${ac_cv_type_off_t+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28071 cat >conftest.
$ac_ext <<_ACEOF
28074 cat confdefs.h
>>conftest.
$ac_ext
28075 cat >>conftest.
$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28077 $ac_includes_default
28083 if (sizeof (off_t))
28089 rm -f conftest.
$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>conftest.er1
28093 grep -v '^ *+' conftest.er1
>conftest.err
28095 cat conftest.err
>&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28100 (eval $ac_try) 2>&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); }; } &&
28104 { ac_try
='test -s conftest.$ac_objext'
28105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28106 (eval $ac_try) 2>&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); }; }; then
28110 ac_cv_type_off_t
=yes
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.
$ac_ext >&5
28115 ac_cv_type_off_t
=no
28117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28119 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28120 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28121 if test $ac_cv_type_off_t = yes; then
28125 cat >>confdefs.h
<<_ACEOF
28131 echo "$as_me:$LINENO: checking for pid_t" >&5
28132 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28133 if test "${ac_cv_type_pid_t+set}" = set; then
28134 echo $ECHO_N "(cached) $ECHO_C" >&6
28136 cat >conftest.
$ac_ext <<_ACEOF
28139 cat confdefs.h
>>conftest.
$ac_ext
28140 cat >>conftest.
$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142 $ac_includes_default
28148 if (sizeof (pid_t))
28154 rm -f conftest.
$ac_objext
28155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28156 (eval $ac_compile) 2>conftest.er1
28158 grep -v '^ *+' conftest.er1
>conftest.err
28160 cat conftest.err
>&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); } &&
28163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 (eval $ac_try) 2>&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; } &&
28169 { ac_try
='test -s conftest.$ac_objext'
28170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171 (eval $ac_try) 2>&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); }; }; then
28175 ac_cv_type_pid_t
=yes
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.
$ac_ext >&5
28180 ac_cv_type_pid_t
=no
28182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28184 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28185 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28186 if test $ac_cv_type_pid_t = yes; then
28190 cat >>confdefs.h
<<_ACEOF
28196 echo "$as_me:$LINENO: checking for size_t" >&5
28197 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28198 if test "${ac_cv_type_size_t+set}" = set; then
28199 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 cat >conftest.
$ac_ext <<_ACEOF
28204 cat confdefs.h
>>conftest.
$ac_ext
28205 cat >>conftest.
$ac_ext <<_ACEOF
28206 /* end confdefs.h. */
28207 $ac_includes_default
28213 if (sizeof (size_t))
28219 rm -f conftest.
$ac_objext
28220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28221 (eval $ac_compile) 2>conftest.er1
28223 grep -v '^ *+' conftest.er1
>conftest.err
28225 cat conftest.err
>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; } &&
28234 { ac_try
='test -s conftest.$ac_objext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 ac_cv_type_size_t
=yes
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.
$ac_ext >&5
28245 ac_cv_type_size_t
=no
28247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28249 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28250 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28251 if test $ac_cv_type_size_t = yes; then
28255 cat >>confdefs.h
<<_ACEOF
28256 #define size_t unsigned
28261 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28262 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28263 if test "${ac_cv_type_uid_t+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 cat >conftest.
$ac_ext <<_ACEOF
28269 cat confdefs.h
>>conftest.
$ac_ext
28270 cat >>conftest.
$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28272 #include <sys/types.h>
28275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28276 $EGREP "uid_t" >/dev
/null
2>&1; then
28277 ac_cv_type_uid_t
=yes
28279 ac_cv_type_uid_t
=no
28284 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28285 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28286 if test $ac_cv_type_uid_t = no
; then
28288 cat >>confdefs.h
<<\_ACEOF
28293 cat >>confdefs.h
<<\_ACEOF
28303 ac_cpp
='$CXXCPP $CPPFLAGS'
28304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28308 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28309 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28310 if test "${wx_cv_size_t_is_uint+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28314 cat >conftest.
$ac_ext <<_ACEOF
28317 cat confdefs.h
>>conftest.
$ac_ext
28318 cat >>conftest.
$ac_ext <<_ACEOF
28319 /* end confdefs.h. */
28320 #include <stddef.h>
28327 struct Foo { void foo(size_t); void foo(unsigned int); };
28335 rm -f conftest.
$ac_objext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28337 (eval $ac_compile) 2>conftest.er1
28339 grep -v '^ *+' conftest.er1
>conftest.err
28341 cat conftest.err
>&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try
='test -s conftest.$ac_objext'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 wx_cv_size_t_is_uint
=no
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.
$ac_ext >&5
28361 wx_cv_size_t_is_uint
=yes
28364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28368 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28369 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28371 if test "$wx_cv_size_t_is_uint" = "yes"; then
28372 cat >>confdefs.h
<<\_ACEOF
28373 #define wxSIZE_T_IS_UINT 1
28377 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28378 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28379 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28382 cat >conftest.
$ac_ext <<_ACEOF
28385 cat confdefs.h
>>conftest.
$ac_ext
28386 cat >>conftest.
$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28388 #include <stddef.h>
28395 struct Foo { void foo(size_t); void foo(unsigned long); };
28403 rm -f conftest.
$ac_objext
28404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28405 (eval $ac_compile) 2>conftest.er1
28407 grep -v '^ *+' conftest.er1
>conftest.err
28409 cat conftest.err
>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } &&
28412 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28414 (eval $ac_try) 2>&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; } &&
28418 { ac_try
='test -s conftest.$ac_objext'
28419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28420 (eval $ac_try) 2>&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); }; }; then
28424 wx_cv_size_t_is_ulong
=no
28426 echo "$as_me: failed program was:" >&5
28427 sed 's/^/| /' conftest.
$ac_ext >&5
28429 wx_cv_size_t_is_ulong
=yes
28432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28435 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28436 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28438 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28439 cat >>confdefs.h
<<\_ACEOF
28440 #define wxSIZE_T_IS_ULONG 1
28447 ac_cpp
='$CPP $CPPFLAGS'
28448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28454 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28455 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28456 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 cat >conftest.
$ac_ext <<_ACEOF
28463 cat confdefs.h
>>conftest.
$ac_ext
28464 cat >>conftest.
$ac_ext <<_ACEOF
28465 /* end confdefs.h. */
28479 rm -f conftest.
$ac_objext
28480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28481 (eval $ac_compile) 2>conftest.er1
28483 grep -v '^ *+' conftest.er1
>conftest.err
28485 cat conftest.err
>&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); } &&
28488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; } &&
28494 { ac_try
='test -s conftest.$ac_objext'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; }; then
28501 wx_cv_struct_pw_gecos
=yes
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.
$ac_ext >&5
28508 wx_cv_struct_pw_gecos
=no
28512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28516 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28517 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28519 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28520 cat >>confdefs.h
<<\_ACEOF
28521 #define HAVE_PW_GECOS 1
28527 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28528 cat >>confdefs.h
<<\_ACEOF
28529 #define wxUSE_WCHAR_T 1
28536 for ac_func
in wcslen
28538 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28539 echo "$as_me:$LINENO: checking for $ac_func" >&5
28540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28541 if eval "test \"\${$as_ac_var+set}\" = set"; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28544 cat >conftest.
$ac_ext <<_ACEOF
28547 cat confdefs.h
>>conftest.
$ac_ext
28548 cat >>conftest.
$ac_ext <<_ACEOF
28549 /* end confdefs.h. */
28550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28552 #define $ac_func innocuous_$ac_func
28554 /* System header to define __stub macros and hopefully few prototypes,
28555 which can conflict with char $ac_func (); below.
28556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28557 <limits.h> exists even on freestanding compilers. */
28560 # include <limits.h>
28562 # include <assert.h>
28567 /* Override any gcc2 internal prototype to avoid an error. */
28572 /* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28575 /* The GNU C library defines this for functions which it implements
28576 to always fail with ENOSYS. Some functions are actually named
28577 something starting with __ and the normal name is an alias. */
28578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28581 char (*f) () = $ac_func;
28590 return f != $ac_func;
28595 rm -f conftest.
$ac_objext conftest
$ac_exeext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28597 (eval $ac_link) 2>conftest.er1
28599 grep -v '^ *+' conftest.er1
>conftest.err
28601 cat conftest.err
>&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } &&
28604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28606 (eval $ac_try) 2>&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); }; } &&
28610 { ac_try
='test -s conftest$ac_exeext'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; }; then
28616 eval "$as_ac_var=yes"
28618 echo "$as_me: failed program was:" >&5
28619 sed 's/^/| /' conftest.
$ac_ext >&5
28621 eval "$as_ac_var=no"
28623 rm -f conftest.err conftest.
$ac_objext \
28624 conftest
$ac_exeext conftest.
$ac_ext
28626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28628 if test `eval echo '${'$as_ac_var'}'` = yes; then
28629 cat >>confdefs.h
<<_ACEOF
28630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28637 if test "$WCSLEN_FOUND" = 0; then
28638 if test "$TOOLKIT" = "MSW"; then
28639 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28640 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28641 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28644 ac_check_lib_save_LIBS
=$LIBS
28645 LIBS
="-lmsvcrt $LIBS"
28646 cat >conftest.
$ac_ext <<_ACEOF
28649 cat confdefs.h
>>conftest.
$ac_ext
28650 cat >>conftest.
$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28653 /* Override any gcc2 internal prototype to avoid an error. */
28657 /* We use char because int might match the return type of a gcc2
28658 builtin and then its argument prototype would still apply. */
28668 rm -f conftest.
$ac_objext conftest
$ac_exeext
28669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28670 (eval $ac_link) 2>conftest.er1
28672 grep -v '^ *+' conftest.er1
>conftest.err
28674 cat conftest.err
>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } &&
28677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; } &&
28683 { ac_try
='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_msvcrt_wcslen
=yes
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.
$ac_ext >&5
28694 ac_cv_lib_msvcrt_wcslen
=no
28696 rm -f conftest.err conftest.
$ac_objext \
28697 conftest
$ac_exeext conftest.
$ac_ext
28698 LIBS
=$ac_check_lib_save_LIBS
28700 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28701 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28702 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28707 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28708 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28709 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28710 echo $ECHO_N "(cached) $ECHO_C" >&6
28712 ac_check_lib_save_LIBS
=$LIBS
28714 cat >conftest.
$ac_ext <<_ACEOF
28717 cat confdefs.h
>>conftest.
$ac_ext
28718 cat >>conftest.
$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28721 /* Override any gcc2 internal prototype to avoid an error. */
28725 /* We use char because int might match the return type of a gcc2
28726 builtin and then its argument prototype would still apply. */
28736 rm -f conftest.
$ac_objext conftest
$ac_exeext
28737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28738 (eval $ac_link) 2>conftest.er1
28740 grep -v '^ *+' conftest.er1
>conftest.err
28742 cat conftest.err
>&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; } &&
28751 { ac_try
='test -s conftest$ac_exeext'
28752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28753 (eval $ac_try) 2>&5
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; }; then
28757 ac_cv_lib_w_wcslen
=yes
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.
$ac_ext >&5
28762 ac_cv_lib_w_wcslen
=no
28764 rm -f conftest.err conftest.
$ac_objext \
28765 conftest
$ac_exeext conftest.
$ac_ext
28766 LIBS
=$ac_check_lib_save_LIBS
28768 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28769 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28770 if test $ac_cv_lib_w_wcslen = yes; then
28780 if test "$WCSLEN_FOUND" = 1; then
28781 cat >>confdefs.h
<<\_ACEOF
28782 #define HAVE_WCSLEN 1
28787 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28788 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28792 for ac_func
in wcsrtombs
28794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28795 echo "$as_me:$LINENO: checking for $ac_func" >&5
28796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28797 if eval "test \"\${$as_ac_var+set}\" = set"; then
28798 echo $ECHO_N "(cached) $ECHO_C" >&6
28800 cat >conftest.
$ac_ext <<_ACEOF
28803 cat confdefs.h
>>conftest.
$ac_ext
28804 cat >>conftest.
$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28808 #define $ac_func innocuous_$ac_func
28810 /* System header to define __stub macros and hopefully few prototypes,
28811 which can conflict with char $ac_func (); below.
28812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28813 <limits.h> exists even on freestanding compilers. */
28816 # include <limits.h>
28818 # include <assert.h>
28823 /* Override any gcc2 internal prototype to avoid an error. */
28828 /* We use char because int might match the return type of a gcc2
28829 builtin and then its argument prototype would still apply. */
28831 /* The GNU C library defines this for functions which it implements
28832 to always fail with ENOSYS. Some functions are actually named
28833 something starting with __ and the normal name is an alias. */
28834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28837 char (*f) () = $ac_func;
28846 return f != $ac_func;
28851 rm -f conftest.
$ac_objext conftest
$ac_exeext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28853 (eval $ac_link) 2>conftest.er1
28855 grep -v '^ *+' conftest.er1
>conftest.err
28857 cat conftest.err
>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } &&
28860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; } &&
28866 { ac_try
='test -s conftest$ac_exeext'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; }; then
28872 eval "$as_ac_var=yes"
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.
$ac_ext >&5
28877 eval "$as_ac_var=no"
28879 rm -f conftest.err conftest.
$ac_objext \
28880 conftest
$ac_exeext conftest.
$ac_ext
28882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28884 if test `eval echo '${'$as_ac_var'}'` = yes; then
28885 cat >>confdefs.h
<<_ACEOF
28886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28893 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
28894 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
28900 ac_cpp
='$CXXCPP $CPPFLAGS'
28901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28907 for ac_func
in vsnprintf
28909 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28910 echo "$as_me:$LINENO: checking for $ac_func" >&5
28911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28912 if eval "test \"\${$as_ac_var+set}\" = set"; then
28913 echo $ECHO_N "(cached) $ECHO_C" >&6
28915 cat >conftest.
$ac_ext <<_ACEOF
28918 cat confdefs.h
>>conftest.
$ac_ext
28919 cat >>conftest.
$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28923 #define $ac_func innocuous_$ac_func
28925 /* System header to define __stub macros and hopefully few prototypes,
28926 which can conflict with char $ac_func (); below.
28927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28928 <limits.h> exists even on freestanding compilers. */
28931 # include <limits.h>
28933 # include <assert.h>
28938 /* Override any gcc2 internal prototype to avoid an error. */
28943 /* We use char because int might match the return type of a gcc2
28944 builtin and then its argument prototype would still apply. */
28946 /* The GNU C library defines this for functions which it implements
28947 to always fail with ENOSYS. Some functions are actually named
28948 something starting with __ and the normal name is an alias. */
28949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28952 char (*f) () = $ac_func;
28961 return f != $ac_func;
28966 rm -f conftest.
$ac_objext conftest
$ac_exeext
28967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28968 (eval $ac_link) 2>conftest.er1
28970 grep -v '^ *+' conftest.er1
>conftest.err
28972 cat conftest.err
>&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } &&
28975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; } &&
28981 { ac_try
='test -s conftest$ac_exeext'
28982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 (eval $ac_try) 2>&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); }; }; then
28987 eval "$as_ac_var=yes"
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.
$ac_ext >&5
28992 eval "$as_ac_var=no"
28994 rm -f conftest.err conftest.
$ac_objext \
28995 conftest
$ac_exeext conftest.
$ac_ext
28997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28999 if test `eval echo '${'$as_ac_var'}'` = yes; then
29000 cat >>confdefs.h
<<_ACEOF
29001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29008 if test "$ac_cv_func_vsnprintf" = "yes"; then
29009 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29010 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29011 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29012 echo $ECHO_N "(cached) $ECHO_C" >&6
29015 cat >conftest.
$ac_ext <<_ACEOF
29018 cat confdefs.h
>>conftest.
$ac_ext
29019 cat >>conftest.
$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29023 #include <stdarg.h>
29031 vsnprintf(buf, 10u, "%s", ap);
29037 rm -f conftest.
$ac_objext
29038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29039 (eval $ac_compile) 2>conftest.er1
29041 grep -v '^ *+' conftest.er1
>conftest.err
29043 cat conftest.err
>&5
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); } &&
29046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; } &&
29052 { ac_try
='test -s conftest.$ac_objext'
29053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29054 (eval $ac_try) 2>&5
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); }; }; then
29058 wx_cv_func_vsnprintf_decl
=yes
29060 echo "$as_me: failed program was:" >&5
29061 sed 's/^/| /' conftest.
$ac_ext >&5
29063 wx_cv_func_vsnprintf_decl
=no
29066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29070 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29071 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29073 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29074 cat >>confdefs.h
<<\_ACEOF
29075 #define HAVE_VSNPRINTF_DECL 1
29081 if test "$wxUSE_UNICODE" = yes; then
29088 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29091 echo "$as_me:$LINENO: checking for $ac_func" >&5
29092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29093 if eval "test \"\${$as_ac_var+set}\" = set"; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29096 cat >conftest.
$ac_ext <<_ACEOF
29099 cat confdefs.h
>>conftest.
$ac_ext
29100 cat >>conftest.
$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29104 #define $ac_func innocuous_$ac_func
29106 /* System header to define __stub macros and hopefully few prototypes,
29107 which can conflict with char $ac_func (); below.
29108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29109 <limits.h> exists even on freestanding compilers. */
29112 # include <limits.h>
29114 # include <assert.h>
29119 /* Override any gcc2 internal prototype to avoid an error. */
29124 /* We use char because int might match the return type of a gcc2
29125 builtin and then its argument prototype would still apply. */
29127 /* The GNU C library defines this for functions which it implements
29128 to always fail with ENOSYS. Some functions are actually named
29129 something starting with __ and the normal name is an alias. */
29130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29133 char (*f) () = $ac_func;
29142 return f != $ac_func;
29147 rm -f conftest.
$ac_objext conftest
$ac_exeext
29148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29149 (eval $ac_link) 2>conftest.er1
29151 grep -v '^ *+' conftest.er1
>conftest.err
29153 cat conftest.err
>&5
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); } &&
29156 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29158 (eval $ac_try) 2>&5
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); }; } &&
29162 { ac_try
='test -s conftest$ac_exeext'
29163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29164 (eval $ac_try) 2>&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); }; }; then
29168 eval "$as_ac_var=yes"
29170 echo "$as_me: failed program was:" >&5
29171 sed 's/^/| /' conftest.
$ac_ext >&5
29173 eval "$as_ac_var=no"
29175 rm -f conftest.err conftest.
$ac_objext \
29176 conftest
$ac_exeext conftest.
$ac_ext
29178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29180 if test `eval echo '${'$as_ac_var'}'` = yes; then
29181 cat >>confdefs.h
<<_ACEOF
29182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29189 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29190 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29191 cat >conftest.
$ac_ext <<_ACEOF
29194 cat confdefs.h
>>conftest.
$ac_ext
29195 cat >>conftest.
$ac_ext <<_ACEOF
29196 /* end confdefs.h. */
29206 rm -f conftest.
$ac_objext
29207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29208 (eval $ac_compile) 2>conftest.er1
29210 grep -v '^ *+' conftest.er1
>conftest.err
29212 cat conftest.err
>&5
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } &&
29215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29217 (eval $ac_try) 2>&5
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); }; } &&
29221 { ac_try
='test -s conftest.$ac_objext'
29222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223 (eval $ac_try) 2>&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); }; }; then
29227 echo "$as_me:$LINENO: result: yes" >&5
29228 echo "${ECHO_T}yes" >&6
29229 cat >>confdefs.h
<<\_ACEOF
29230 #define HAVE__VSNWPRINTF 1
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.
$ac_ext >&5
29237 echo "$as_me:$LINENO: result: no" >&5
29238 echo "${ECHO_T}no" >&6
29240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29244 ac_cpp
='$CPP $CPPFLAGS'
29245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29252 if test "$TOOLKIT" != "MSW"; then
29258 ac_cpp
='$CXXCPP $CPPFLAGS'
29259 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29260 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29261 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29266 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29267 if test "${with_libiconv_prefix+set}" = set; then
29268 withval
="$with_libiconv_prefix"
29270 for dir
in `echo "$withval" | tr : ' '`; do
29271 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29272 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29277 echo "$as_me:$LINENO: checking for iconv" >&5
29278 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29279 if test "${am_cv_func_iconv+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29283 am_cv_func_iconv
="no, consider installing GNU libiconv"
29285 cat >conftest.
$ac_ext <<_ACEOF
29288 cat confdefs.h
>>conftest.
$ac_ext
29289 cat >>conftest.
$ac_ext <<_ACEOF
29290 /* end confdefs.h. */
29291 #include <stdlib.h>
29296 iconv_t cd = iconv_open("","");
29297 iconv(cd,NULL,NULL,NULL,NULL);
29303 rm -f conftest.
$ac_objext conftest
$ac_exeext
29304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29305 (eval $ac_link) 2>conftest.er1
29307 grep -v '^ *+' conftest.er1
>conftest.err
29309 cat conftest.err
>&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } &&
29312 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29314 (eval $ac_try) 2>&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); }; } &&
29318 { ac_try
='test -s conftest$ac_exeext'
29319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320 (eval $ac_try) 2>&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); }; }; then
29324 am_cv_func_iconv
=yes
29326 echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.
$ac_ext >&5
29330 rm -f conftest.err conftest.
$ac_objext \
29331 conftest
$ac_exeext conftest.
$ac_ext
29332 if test "$am_cv_func_iconv" != yes; then
29333 am_save_LIBS
="$LIBS"
29334 LIBS
="$LIBS -liconv"
29335 cat >conftest.
$ac_ext <<_ACEOF
29338 cat confdefs.h
>>conftest.
$ac_ext
29339 cat >>conftest.
$ac_ext <<_ACEOF
29340 /* end confdefs.h. */
29341 #include <stdlib.h>
29346 iconv_t cd = iconv_open("","");
29347 iconv(cd,NULL,NULL,NULL,NULL);
29353 rm -f conftest.
$ac_objext conftest
$ac_exeext
29354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29355 (eval $ac_link) 2>conftest.er1
29357 grep -v '^ *+' conftest.er1
>conftest.err
29359 cat conftest.err
>&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } &&
29362 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29364 (eval $ac_try) 2>&5
29366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 (exit $ac_status); }; } &&
29368 { ac_try
='test -s conftest$ac_exeext'
29369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 (eval $ac_try) 2>&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; }; then
29374 am_cv_lib_iconv
=yes
29375 am_cv_func_iconv
=yes
29377 echo "$as_me: failed program was:" >&5
29378 sed 's/^/| /' conftest.
$ac_ext >&5
29381 rm -f conftest.err conftest.
$ac_objext \
29382 conftest
$ac_exeext conftest.
$ac_ext
29383 LIBS
="$am_save_LIBS"
29387 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29388 echo "${ECHO_T}$am_cv_func_iconv" >&6
29389 if test "$am_cv_func_iconv" = yes; then
29391 cat >>confdefs.h
<<\_ACEOF
29392 #define HAVE_ICONV 1
29395 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29396 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29397 if test "${wx_cv_func_iconv_const+set}" = set; then
29398 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 cat >conftest.
$ac_ext <<_ACEOF
29403 cat confdefs.h
>>conftest.
$ac_ext
29404 cat >>conftest.
$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29407 #include <stdlib.h>
29413 #if defined(__STDC__) || defined(__cplusplus)
29414 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29427 rm -f conftest.
$ac_objext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29429 (eval $ac_compile) 2>conftest.er1
29431 grep -v '^ *+' conftest.er1
>conftest.err
29433 cat conftest.err
>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; } &&
29442 { ac_try
='test -s conftest.$ac_objext'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; }; then
29448 wx_cv_func_iconv_const
="no"
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.
$ac_ext >&5
29453 wx_cv_func_iconv_const
="yes"
29456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29459 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29460 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29463 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29464 iconv_const
="const"
29468 cat >>confdefs.h
<<_ACEOF
29469 #define ICONV_CONST $iconv_const
29474 if test "$am_cv_lib_iconv" = yes; then
29479 LIBS
="$LIBICONV $LIBS"
29481 ac_cpp
='$CPP $CPPFLAGS'
29482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29487 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29489 for ac_func
in sigaction
29491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29492 echo "$as_me:$LINENO: checking for $ac_func" >&5
29493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29494 if eval "test \"\${$as_ac_var+set}\" = set"; then
29495 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 cat >conftest.
$ac_ext <<_ACEOF
29500 cat confdefs.h
>>conftest.
$ac_ext
29501 cat >>conftest.
$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29505 #define $ac_func innocuous_$ac_func
29507 /* System header to define __stub macros and hopefully few prototypes,
29508 which can conflict with char $ac_func (); below.
29509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29510 <limits.h> exists even on freestanding compilers. */
29513 # include <limits.h>
29515 # include <assert.h>
29520 /* Override any gcc2 internal prototype to avoid an error. */
29525 /* We use char because int might match the return type of a gcc2
29526 builtin and then its argument prototype would still apply. */
29528 /* The GNU C library defines this for functions which it implements
29529 to always fail with ENOSYS. Some functions are actually named
29530 something starting with __ and the normal name is an alias. */
29531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29534 char (*f) () = $ac_func;
29543 return f != $ac_func;
29548 rm -f conftest.
$ac_objext conftest
$ac_exeext
29549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29550 (eval $ac_link) 2>conftest.er1
29552 grep -v '^ *+' conftest.er1
>conftest.err
29554 cat conftest.err
>&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); } &&
29557 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try
='test -s conftest$ac_exeext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 eval "$as_ac_var=yes"
29571 echo "$as_me: failed program was:" >&5
29572 sed 's/^/| /' conftest.
$ac_ext >&5
29574 eval "$as_ac_var=no"
29576 rm -f conftest.err conftest.
$ac_objext \
29577 conftest
$ac_exeext conftest.
$ac_ext
29579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29581 if test `eval echo '${'$as_ac_var'}'` = yes; then
29582 cat >>confdefs.h
<<_ACEOF
29583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29590 if test "$ac_cv_func_sigaction" = "no"; then
29591 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29592 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29593 wxUSE_ON_FATAL_EXCEPTION
=no
29596 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29600 ac_cpp
='$CXXCPP $CPPFLAGS'
29601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29606 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29607 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29608 if test "${wx_cv_type_sa_handler+set}" = set; then
29609 echo $ECHO_N "(cached) $ECHO_C" >&6
29612 cat >conftest.
$ac_ext <<_ACEOF
29615 cat confdefs.h
>>conftest.
$ac_ext
29616 cat >>conftest.
$ac_ext <<_ACEOF
29617 /* end confdefs.h. */
29618 #include <signal.h>
29623 extern void testSigHandler(int);
29625 struct sigaction sa;
29626 sa.sa_handler = testSigHandler;
29632 rm -f conftest.
$ac_objext
29633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29634 (eval $ac_compile) 2>conftest.er1
29636 grep -v '^ *+' conftest.er1
>conftest.err
29638 cat conftest.err
>&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } &&
29641 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; } &&
29647 { ac_try
='test -s conftest.$ac_objext'
29648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29649 (eval $ac_try) 2>&5
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); }; }; then
29654 wx_cv_type_sa_handler
=int
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.
$ac_ext >&5
29661 wx_cv_type_sa_handler
=void
29664 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29667 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29668 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29671 ac_cpp
='$CPP $CPPFLAGS'
29672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29677 cat >>confdefs.h
<<_ACEOF
29678 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29686 for ac_func
in mkstemp mktemp
29688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29689 echo "$as_me:$LINENO: checking for $ac_func" >&5
29690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29691 if eval "test \"\${$as_ac_var+set}\" = set"; then
29692 echo $ECHO_N "(cached) $ECHO_C" >&6
29694 cat >conftest.
$ac_ext <<_ACEOF
29697 cat confdefs.h
>>conftest.
$ac_ext
29698 cat >>conftest.
$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29702 #define $ac_func innocuous_$ac_func
29704 /* System header to define __stub macros and hopefully few prototypes,
29705 which can conflict with char $ac_func (); below.
29706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29707 <limits.h> exists even on freestanding compilers. */
29710 # include <limits.h>
29712 # include <assert.h>
29717 /* Override any gcc2 internal prototype to avoid an error. */
29722 /* We use char because int might match the return type of a gcc2
29723 builtin and then its argument prototype would still apply. */
29725 /* The GNU C library defines this for functions which it implements
29726 to always fail with ENOSYS. Some functions are actually named
29727 something starting with __ and the normal name is an alias. */
29728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29731 char (*f) () = $ac_func;
29740 return f != $ac_func;
29745 rm -f conftest.
$ac_objext conftest
$ac_exeext
29746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29747 (eval $ac_link) 2>conftest.er1
29749 grep -v '^ *+' conftest.er1
>conftest.err
29751 cat conftest.err
>&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); } &&
29754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; } &&
29760 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
29766 eval "$as_ac_var=yes"
29768 echo "$as_me: failed program was:" >&5
29769 sed 's/^/| /' conftest.
$ac_ext >&5
29771 eval "$as_ac_var=no"
29773 rm -f conftest.err conftest.
$ac_objext \
29774 conftest
$ac_exeext conftest.
$ac_ext
29776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29778 if test `eval echo '${'$as_ac_var'}'` = yes; then
29779 cat >>confdefs.h
<<_ACEOF
29780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29787 echo "$as_me:$LINENO: checking for statfs" >&5
29788 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29789 if test "${wx_cv_func_statfs+set}" = set; then
29790 echo $ECHO_N "(cached) $ECHO_C" >&6
29792 cat >conftest.
$ac_ext <<_ACEOF
29795 cat confdefs.h
>>conftest.
$ac_ext
29796 cat >>conftest.
$ac_ext <<_ACEOF
29797 /* end confdefs.h. */
29799 #if defined(__BSD__)
29800 #include <sys/param.h>
29801 #include <sys/mount.h>
29803 #include <sys/vfs.h>
29821 rm -f conftest.
$ac_objext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29823 (eval $ac_compile) 2>conftest.er1
29825 grep -v '^ *+' conftest.er1
>conftest.err
29827 cat conftest.err
>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; } &&
29836 { ac_try
='test -s conftest.$ac_objext'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; }; then
29843 wx_cv_func_statfs
=yes
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.
$ac_ext >&5
29850 wx_cv_func_statfs
=no
29854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29857 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
29858 echo "${ECHO_T}$wx_cv_func_statfs" >&6
29860 if test "$wx_cv_func_statfs" = "yes"; then
29861 wx_cv_type_statvfs_t
="struct statfs"
29862 cat >>confdefs.h
<<\_ACEOF
29863 #define HAVE_STATFS 1
29867 echo "$as_me:$LINENO: checking for statvfs" >&5
29868 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
29869 if test "${wx_cv_func_statvfs+set}" = set; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29872 cat >conftest.
$ac_ext <<_ACEOF
29875 cat confdefs.h
>>conftest.
$ac_ext
29876 cat >>conftest.
$ac_ext <<_ACEOF
29877 /* end confdefs.h. */
29879 #include <stddef.h>
29880 #include <sys/statvfs.h>
29886 statvfs("/", NULL);
29892 rm -f conftest.
$ac_objext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29894 (eval $ac_compile) 2>conftest.er1
29896 grep -v '^ *+' conftest.er1
>conftest.err
29898 cat conftest.err
>&5
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 (eval $ac_try) 2>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; } &&
29907 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
29913 wx_cv_func_statvfs
=yes
29915 echo "$as_me: failed program was:" >&5
29916 sed 's/^/| /' conftest.
$ac_ext >&5
29918 wx_cv_func_statvfs
=no
29921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29924 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
29925 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
29927 if test "$wx_cv_func_statvfs" = "yes"; then
29931 ac_cpp
='$CXXCPP $CPPFLAGS'
29932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29937 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
29938 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
29939 if test "${wx_cv_type_statvfs_t+set}" = set; then
29940 echo $ECHO_N "(cached) $ECHO_C" >&6
29942 cat >conftest.
$ac_ext <<_ACEOF
29945 cat confdefs.h
>>conftest.
$ac_ext
29946 cat >>conftest.
$ac_ext <<_ACEOF
29947 /* end confdefs.h. */
29949 #include <sys/statvfs.h>
29966 rm -f conftest.
$ac_objext
29967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29968 (eval $ac_compile) 2>conftest.er1
29970 grep -v '^ *+' conftest.er1
>conftest.err
29972 cat conftest.err
>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); } &&
29975 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; } &&
29981 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
29987 wx_cv_type_statvfs_t
=statvfs_t
29989 echo "$as_me: failed program was:" >&5
29990 sed 's/^/| /' conftest.
$ac_ext >&5
29993 cat >conftest.
$ac_ext <<_ACEOF
29996 cat confdefs.h
>>conftest.
$ac_ext
29997 cat >>conftest.
$ac_ext <<_ACEOF
29998 /* end confdefs.h. */
30000 #include <sys/statvfs.h>
30017 rm -f conftest.
$ac_objext
30018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30019 (eval $ac_compile) 2>conftest.er1
30021 grep -v '^ *+' conftest.er1
>conftest.err
30023 cat conftest.err
>&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); } &&
30026 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30028 (eval $ac_try) 2>&5
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); }; } &&
30032 { ac_try
='test -s conftest.$ac_objext'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; }; then
30038 wx_cv_type_statvfs_t
="struct statvfs"
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.
$ac_ext >&5
30043 wx_cv_type_statvfs_t
="unknown"
30046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30053 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30054 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30057 ac_cpp
='$CPP $CPPFLAGS'
30058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30063 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30064 cat >>confdefs.h
<<\_ACEOF
30065 #define HAVE_STATVFS 1
30070 wx_cv_type_statvfs_t
="unknown"
30074 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30075 cat >>confdefs.h
<<_ACEOF
30076 #define WX_STATFS_T $wx_cv_type_statvfs_t
30080 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30081 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30084 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30087 for ac_func
in fcntl flock
30089 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30090 echo "$as_me:$LINENO: checking for $ac_func" >&5
30091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30092 if eval "test \"\${$as_ac_var+set}\" = set"; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 cat >conftest.
$ac_ext <<_ACEOF
30098 cat confdefs.h
>>conftest.
$ac_ext
30099 cat >>conftest.
$ac_ext <<_ACEOF
30100 /* end confdefs.h. */
30101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30103 #define $ac_func innocuous_$ac_func
30105 /* System header to define __stub macros and hopefully few prototypes,
30106 which can conflict with char $ac_func (); below.
30107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30108 <limits.h> exists even on freestanding compilers. */
30111 # include <limits.h>
30113 # include <assert.h>
30118 /* Override any gcc2 internal prototype to avoid an error. */
30123 /* We use char because int might match the return type of a gcc2
30124 builtin and then its argument prototype would still apply. */
30126 /* The GNU C library defines this for functions which it implements
30127 to always fail with ENOSYS. Some functions are actually named
30128 something starting with __ and the normal name is an alias. */
30129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30132 char (*f) () = $ac_func;
30141 return f != $ac_func;
30146 rm -f conftest.
$ac_objext conftest
$ac_exeext
30147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30148 (eval $ac_link) 2>conftest.er1
30150 grep -v '^ *+' conftest.er1
>conftest.err
30152 cat conftest.err
>&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); } &&
30155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; } &&
30161 { ac_try
='test -s conftest$ac_exeext'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; }; then
30167 eval "$as_ac_var=yes"
30169 echo "$as_me: failed program was:" >&5
30170 sed 's/^/| /' conftest.
$ac_ext >&5
30172 eval "$as_ac_var=no"
30174 rm -f conftest.err conftest.
$ac_objext \
30175 conftest
$ac_exeext conftest.
$ac_ext
30177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30179 if test `eval echo '${'$as_ac_var'}'` = yes; then
30180 cat >>confdefs.h
<<_ACEOF
30181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30188 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30189 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30190 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30191 wxUSE_SNGLINST_CHECKER
=no
30196 for ac_func
in timegm
30198 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30199 echo "$as_me:$LINENO: checking for $ac_func" >&5
30200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30201 if eval "test \"\${$as_ac_var+set}\" = set"; then
30202 echo $ECHO_N "(cached) $ECHO_C" >&6
30204 cat >conftest.
$ac_ext <<_ACEOF
30207 cat confdefs.h
>>conftest.
$ac_ext
30208 cat >>conftest.
$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30212 #define $ac_func innocuous_$ac_func
30214 /* System header to define __stub macros and hopefully few prototypes,
30215 which can conflict with char $ac_func (); below.
30216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30217 <limits.h> exists even on freestanding compilers. */
30220 # include <limits.h>
30222 # include <assert.h>
30227 /* Override any gcc2 internal prototype to avoid an error. */
30232 /* We use char because int might match the return type of a gcc2
30233 builtin and then its argument prototype would still apply. */
30235 /* The GNU C library defines this for functions which it implements
30236 to always fail with ENOSYS. Some functions are actually named
30237 something starting with __ and the normal name is an alias. */
30238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30241 char (*f) () = $ac_func;
30250 return f != $ac_func;
30255 rm -f conftest.
$ac_objext conftest
$ac_exeext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30257 (eval $ac_link) 2>conftest.er1
30259 grep -v '^ *+' conftest.er1
>conftest.err
30261 cat conftest.err
>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } &&
30264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; } &&
30270 { ac_try
='test -s conftest$ac_exeext'
30271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30272 (eval $ac_try) 2>&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); }; }; then
30276 eval "$as_ac_var=yes"
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.
$ac_ext >&5
30281 eval "$as_ac_var=no"
30283 rm -f conftest.err conftest.
$ac_objext \
30284 conftest
$ac_exeext conftest.
$ac_ext
30286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30288 if test `eval echo '${'$as_ac_var'}'` = yes; then
30289 cat >>confdefs.h
<<_ACEOF
30290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30299 for ac_func
in putenv setenv
30301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30302 echo "$as_me:$LINENO: checking for $ac_func" >&5
30303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30304 if eval "test \"\${$as_ac_var+set}\" = set"; then
30305 echo $ECHO_N "(cached) $ECHO_C" >&6
30307 cat >conftest.
$ac_ext <<_ACEOF
30310 cat confdefs.h
>>conftest.
$ac_ext
30311 cat >>conftest.
$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30315 #define $ac_func innocuous_$ac_func
30317 /* System header to define __stub macros and hopefully few prototypes,
30318 which can conflict with char $ac_func (); below.
30319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30320 <limits.h> exists even on freestanding compilers. */
30323 # include <limits.h>
30325 # include <assert.h>
30330 /* Override any gcc2 internal prototype to avoid an error. */
30335 /* We use char because int might match the return type of a gcc2
30336 builtin and then its argument prototype would still apply. */
30338 /* The GNU C library defines this for functions which it implements
30339 to always fail with ENOSYS. Some functions are actually named
30340 something starting with __ and the normal name is an alias. */
30341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30344 char (*f) () = $ac_func;
30353 return f != $ac_func;
30358 rm -f conftest.
$ac_objext conftest
$ac_exeext
30359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30360 (eval $ac_link) 2>conftest.er1
30362 grep -v '^ *+' conftest.er1
>conftest.err
30364 cat conftest.err
>&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } &&
30367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try
='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 eval "$as_ac_var=yes"
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.
$ac_ext >&5
30384 eval "$as_ac_var=no"
30386 rm -f conftest.err conftest.
$ac_objext \
30387 conftest
$ac_exeext conftest.
$ac_ext
30389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30391 if test `eval echo '${'$as_ac_var'}'` = yes; then
30392 cat >>confdefs.h
<<_ACEOF
30393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30400 HAVE_SOME_SLEEP_FUNC
=0
30401 if test "$USE_BEOS" = 1; then
30402 cat >>confdefs.h
<<\_ACEOF
30403 #define HAVE_SLEEP 1
30406 HAVE_SOME_SLEEP_FUNC
=1
30409 if test "$USE_DARWIN" = 1; then
30410 cat >>confdefs.h
<<\_ACEOF
30411 #define HAVE_USLEEP 1
30414 HAVE_SOME_SLEEP_FUNC
=1
30417 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30420 for ac_func
in nanosleep
30422 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30423 echo "$as_me:$LINENO: checking for $ac_func" >&5
30424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30425 if eval "test \"\${$as_ac_var+set}\" = set"; then
30426 echo $ECHO_N "(cached) $ECHO_C" >&6
30428 cat >conftest.
$ac_ext <<_ACEOF
30431 cat confdefs.h
>>conftest.
$ac_ext
30432 cat >>conftest.
$ac_ext <<_ACEOF
30433 /* end confdefs.h. */
30434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30436 #define $ac_func innocuous_$ac_func
30438 /* System header to define __stub macros and hopefully few prototypes,
30439 which can conflict with char $ac_func (); below.
30440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30441 <limits.h> exists even on freestanding compilers. */
30444 # include <limits.h>
30446 # include <assert.h>
30451 /* Override any gcc2 internal prototype to avoid an error. */
30456 /* We use char because int might match the return type of a gcc2
30457 builtin and then its argument prototype would still apply. */
30459 /* The GNU C library defines this for functions which it implements
30460 to always fail with ENOSYS. Some functions are actually named
30461 something starting with __ and the normal name is an alias. */
30462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30465 char (*f) () = $ac_func;
30474 return f != $ac_func;
30479 rm -f conftest.
$ac_objext conftest
$ac_exeext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30481 (eval $ac_link) 2>conftest.er1
30483 grep -v '^ *+' conftest.er1
>conftest.err
30485 cat conftest.err
>&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } &&
30488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; } &&
30494 { ac_try
='test -s conftest$ac_exeext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30500 eval "$as_ac_var=yes"
30502 echo "$as_me: failed program was:" >&5
30503 sed 's/^/| /' conftest.
$ac_ext >&5
30505 eval "$as_ac_var=no"
30507 rm -f conftest.err conftest.
$ac_objext \
30508 conftest
$ac_exeext conftest.
$ac_ext
30510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30512 if test `eval echo '${'$as_ac_var'}'` = yes; then
30513 cat >>confdefs.h
<<_ACEOF
30514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30516 cat >>confdefs.h
<<\_ACEOF
30517 #define HAVE_NANOSLEEP 1
30522 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30523 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30524 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30527 ac_check_lib_save_LIBS
=$LIBS
30528 LIBS
="-lposix4 $LIBS"
30529 cat >conftest.
$ac_ext <<_ACEOF
30532 cat confdefs.h
>>conftest.
$ac_ext
30533 cat >>conftest.
$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30536 /* Override any gcc2 internal prototype to avoid an error. */
30540 /* We use char because int might match the return type of a gcc2
30541 builtin and then its argument prototype would still apply. */
30551 rm -f conftest.
$ac_objext conftest
$ac_exeext
30552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30553 (eval $ac_link) 2>conftest.er1
30555 grep -v '^ *+' conftest.er1
>conftest.err
30557 cat conftest.err
>&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); } &&
30560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562 (eval $ac_try) 2>&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); }; } &&
30566 { ac_try
='test -s conftest$ac_exeext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 ac_cv_lib_posix4_nanosleep
=yes
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.
$ac_ext >&5
30577 ac_cv_lib_posix4_nanosleep
=no
30579 rm -f conftest.err conftest.
$ac_objext \
30580 conftest
$ac_exeext conftest.
$ac_ext
30581 LIBS
=$ac_check_lib_save_LIBS
30583 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30584 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30585 if test $ac_cv_lib_posix4_nanosleep = yes; then
30587 cat >>confdefs.h
<<\_ACEOF
30588 #define HAVE_NANOSLEEP 1
30591 POSIX4_LINK
=" -lposix4"
30596 for ac_func
in usleep
30598 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30599 echo "$as_me:$LINENO: checking for $ac_func" >&5
30600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30601 if eval "test \"\${$as_ac_var+set}\" = set"; then
30602 echo $ECHO_N "(cached) $ECHO_C" >&6
30604 cat >conftest.
$ac_ext <<_ACEOF
30607 cat confdefs.h
>>conftest.
$ac_ext
30608 cat >>conftest.
$ac_ext <<_ACEOF
30609 /* end confdefs.h. */
30610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30612 #define $ac_func innocuous_$ac_func
30614 /* System header to define __stub macros and hopefully few prototypes,
30615 which can conflict with char $ac_func (); below.
30616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30617 <limits.h> exists even on freestanding compilers. */
30620 # include <limits.h>
30622 # include <assert.h>
30627 /* Override any gcc2 internal prototype to avoid an error. */
30632 /* We use char because int might match the return type of a gcc2
30633 builtin and then its argument prototype would still apply. */
30635 /* The GNU C library defines this for functions which it implements
30636 to always fail with ENOSYS. Some functions are actually named
30637 something starting with __ and the normal name is an alias. */
30638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30641 char (*f) () = $ac_func;
30650 return f != $ac_func;
30655 rm -f conftest.
$ac_objext conftest
$ac_exeext
30656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30657 (eval $ac_link) 2>conftest.er1
30659 grep -v '^ *+' conftest.er1
>conftest.err
30661 cat conftest.err
>&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } &&
30664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; } &&
30670 { ac_try
='test -s conftest$ac_exeext'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; }; then
30676 eval "$as_ac_var=yes"
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.
$ac_ext >&5
30681 eval "$as_ac_var=no"
30683 rm -f conftest.err conftest.
$ac_objext \
30684 conftest
$ac_exeext conftest.
$ac_ext
30686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30688 if test `eval echo '${'$as_ac_var'}'` = yes; then
30689 cat >>confdefs.h
<<_ACEOF
30690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30692 cat >>confdefs.h
<<\_ACEOF
30693 #define HAVE_USLEEP 1
30697 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30698 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30716 for ac_func
in uname gethostname
30718 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30719 echo "$as_me:$LINENO: checking for $ac_func" >&5
30720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30721 if eval "test \"\${$as_ac_var+set}\" = set"; then
30722 echo $ECHO_N "(cached) $ECHO_C" >&6
30724 cat >conftest.
$ac_ext <<_ACEOF
30727 cat confdefs.h
>>conftest.
$ac_ext
30728 cat >>conftest.
$ac_ext <<_ACEOF
30729 /* end confdefs.h. */
30730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30732 #define $ac_func innocuous_$ac_func
30734 /* System header to define __stub macros and hopefully few prototypes,
30735 which can conflict with char $ac_func (); below.
30736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30737 <limits.h> exists even on freestanding compilers. */
30740 # include <limits.h>
30742 # include <assert.h>
30747 /* Override any gcc2 internal prototype to avoid an error. */
30752 /* We use char because int might match the return type of a gcc2
30753 builtin and then its argument prototype would still apply. */
30755 /* The GNU C library defines this for functions which it implements
30756 to always fail with ENOSYS. Some functions are actually named
30757 something starting with __ and the normal name is an alias. */
30758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30761 char (*f) () = $ac_func;
30770 return f != $ac_func;
30775 rm -f conftest.
$ac_objext conftest
$ac_exeext
30776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30777 (eval $ac_link) 2>conftest.er1
30779 grep -v '^ *+' conftest.er1
>conftest.err
30781 cat conftest.err
>&5
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); } &&
30784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30786 (eval $ac_try) 2>&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); }; } &&
30790 { ac_try
='test -s conftest$ac_exeext'
30791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30792 (eval $ac_try) 2>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; }; then
30796 eval "$as_ac_var=yes"
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.
$ac_ext >&5
30801 eval "$as_ac_var=no"
30803 rm -f conftest.err conftest.
$ac_objext \
30804 conftest
$ac_exeext conftest.
$ac_ext
30806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30808 if test `eval echo '${'$as_ac_var'}'` = yes; then
30809 cat >>confdefs.h
<<_ACEOF
30810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30820 ac_cpp
='$CXXCPP $CPPFLAGS'
30821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30827 for ac_func
in strtok_r
30829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30830 echo "$as_me:$LINENO: checking for $ac_func" >&5
30831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30832 if eval "test \"\${$as_ac_var+set}\" = set"; then
30833 echo $ECHO_N "(cached) $ECHO_C" >&6
30835 cat >conftest.
$ac_ext <<_ACEOF
30838 cat confdefs.h
>>conftest.
$ac_ext
30839 cat >>conftest.
$ac_ext <<_ACEOF
30840 /* end confdefs.h. */
30841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30843 #define $ac_func innocuous_$ac_func
30845 /* System header to define __stub macros and hopefully few prototypes,
30846 which can conflict with char $ac_func (); below.
30847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30848 <limits.h> exists even on freestanding compilers. */
30851 # include <limits.h>
30853 # include <assert.h>
30858 /* Override any gcc2 internal prototype to avoid an error. */
30863 /* We use char because int might match the return type of a gcc2
30864 builtin and then its argument prototype would still apply. */
30866 /* The GNU C library defines this for functions which it implements
30867 to always fail with ENOSYS. Some functions are actually named
30868 something starting with __ and the normal name is an alias. */
30869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30872 char (*f) () = $ac_func;
30881 return f != $ac_func;
30886 rm -f conftest.
$ac_objext conftest
$ac_exeext
30887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30888 (eval $ac_link) 2>conftest.er1
30890 grep -v '^ *+' conftest.er1
>conftest.err
30892 cat conftest.err
>&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } &&
30895 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30897 (eval $ac_try) 2>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); }; } &&
30901 { ac_try
='test -s conftest$ac_exeext'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 eval "$as_ac_var=yes"
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.
$ac_ext >&5
30912 eval "$as_ac_var=no"
30914 rm -f conftest.err conftest.
$ac_objext \
30915 conftest
$ac_exeext conftest.
$ac_ext
30917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30919 if test `eval echo '${'$as_ac_var'}'` = yes; then
30920 cat >>confdefs.h
<<_ACEOF
30921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30929 ac_cpp
='$CPP $CPPFLAGS'
30930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30937 for ac_func
in inet_addr
30939 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30940 echo "$as_me:$LINENO: checking for $ac_func" >&5
30941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30942 if eval "test \"\${$as_ac_var+set}\" = set"; then
30943 echo $ECHO_N "(cached) $ECHO_C" >&6
30945 cat >conftest.
$ac_ext <<_ACEOF
30948 cat confdefs.h
>>conftest.
$ac_ext
30949 cat >>conftest.
$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30953 #define $ac_func innocuous_$ac_func
30955 /* System header to define __stub macros and hopefully few prototypes,
30956 which can conflict with char $ac_func (); below.
30957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30958 <limits.h> exists even on freestanding compilers. */
30961 # include <limits.h>
30963 # include <assert.h>
30968 /* Override any gcc2 internal prototype to avoid an error. */
30973 /* We use char because int might match the return type of a gcc2
30974 builtin and then its argument prototype would still apply. */
30976 /* The GNU C library defines this for functions which it implements
30977 to always fail with ENOSYS. Some functions are actually named
30978 something starting with __ and the normal name is an alias. */
30979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30982 char (*f) () = $ac_func;
30991 return f != $ac_func;
30996 rm -f conftest.
$ac_objext conftest
$ac_exeext
30997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30998 (eval $ac_link) 2>conftest.er1
31000 grep -v '^ *+' conftest.er1
>conftest.err
31002 cat conftest.err
>&5
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); } &&
31005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31007 (eval $ac_try) 2>&5
31009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31010 (exit $ac_status); }; } &&
31011 { ac_try
='test -s conftest$ac_exeext'
31012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31013 (eval $ac_try) 2>&5
31015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016 (exit $ac_status); }; }; then
31017 eval "$as_ac_var=yes"
31019 echo "$as_me: failed program was:" >&5
31020 sed 's/^/| /' conftest.
$ac_ext >&5
31022 eval "$as_ac_var=no"
31024 rm -f conftest.err conftest.
$ac_objext \
31025 conftest
$ac_exeext conftest.
$ac_ext
31027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31029 if test `eval echo '${'$as_ac_var'}'` = yes; then
31030 cat >>confdefs.h
<<_ACEOF
31031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31033 cat >>confdefs.h
<<\_ACEOF
31034 #define HAVE_INET_ADDR 1
31039 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31040 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31041 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31042 echo $ECHO_N "(cached) $ECHO_C" >&6
31044 ac_check_lib_save_LIBS
=$LIBS
31046 cat >conftest.
$ac_ext <<_ACEOF
31049 cat confdefs.h
>>conftest.
$ac_ext
31050 cat >>conftest.
$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31053 /* Override any gcc2 internal prototype to avoid an error. */
31057 /* We use char because int might match the return type of a gcc2
31058 builtin and then its argument prototype would still apply. */
31068 rm -f conftest.
$ac_objext conftest
$ac_exeext
31069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31070 (eval $ac_link) 2>conftest.er1
31072 grep -v '^ *+' conftest.er1
>conftest.err
31074 cat conftest.err
>&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); } &&
31077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31079 (eval $ac_try) 2>&5
31081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 (exit $ac_status); }; } &&
31083 { ac_try
='test -s conftest$ac_exeext'
31084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31085 (eval $ac_try) 2>&5
31087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088 (exit $ac_status); }; }; then
31089 ac_cv_lib_nsl_inet_addr
=yes
31091 echo "$as_me: failed program was:" >&5
31092 sed 's/^/| /' conftest.
$ac_ext >&5
31094 ac_cv_lib_nsl_inet_addr
=no
31096 rm -f conftest.err conftest.
$ac_objext \
31097 conftest
$ac_exeext conftest.
$ac_ext
31098 LIBS
=$ac_check_lib_save_LIBS
31100 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31101 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31102 if test $ac_cv_lib_nsl_inet_addr = yes; then
31106 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31107 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31108 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31111 ac_check_lib_save_LIBS
=$LIBS
31112 LIBS
="-lresolv $LIBS"
31113 cat >conftest.
$ac_ext <<_ACEOF
31116 cat confdefs.h
>>conftest.
$ac_ext
31117 cat >>conftest.
$ac_ext <<_ACEOF
31118 /* end confdefs.h. */
31120 /* Override any gcc2 internal prototype to avoid an error. */
31124 /* We use char because int might match the return type of a gcc2
31125 builtin and then its argument prototype would still apply. */
31135 rm -f conftest.
$ac_objext conftest
$ac_exeext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31137 (eval $ac_link) 2>conftest.er1
31139 grep -v '^ *+' conftest.er1
>conftest.err
31141 cat conftest.err
>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; } &&
31150 { ac_try
='test -s conftest$ac_exeext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 ac_cv_lib_resolv_inet_addr
=yes
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.
$ac_ext >&5
31161 ac_cv_lib_resolv_inet_addr
=no
31163 rm -f conftest.err conftest.
$ac_objext \
31164 conftest
$ac_exeext conftest.
$ac_ext
31165 LIBS
=$ac_check_lib_save_LIBS
31167 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31168 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31169 if test $ac_cv_lib_resolv_inet_addr = yes; then
31173 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31174 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31175 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31178 ac_check_lib_save_LIBS
=$LIBS
31179 LIBS
="-lsocket $LIBS"
31180 cat >conftest.
$ac_ext <<_ACEOF
31183 cat confdefs.h
>>conftest.
$ac_ext
31184 cat >>conftest.
$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31187 /* Override any gcc2 internal prototype to avoid an error. */
31191 /* We use char because int might match the return type of a gcc2
31192 builtin and then its argument prototype would still apply. */
31202 rm -f conftest.
$ac_objext conftest
$ac_exeext
31203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31204 (eval $ac_link) 2>conftest.er1
31206 grep -v '^ *+' conftest.er1
>conftest.err
31208 cat conftest.err
>&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; } &&
31217 { ac_try
='test -s conftest$ac_exeext'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; }; then
31223 ac_cv_lib_socket_inet_addr
=yes
31225 echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.
$ac_ext >&5
31228 ac_cv_lib_socket_inet_addr
=no
31230 rm -f conftest.err conftest.
$ac_objext \
31231 conftest
$ac_exeext conftest.
$ac_ext
31232 LIBS
=$ac_check_lib_save_LIBS
31234 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31235 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31236 if test $ac_cv_lib_socket_inet_addr = yes; then
31256 for ac_func
in inet_aton
31258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31259 echo "$as_me:$LINENO: checking for $ac_func" >&5
31260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31261 if eval "test \"\${$as_ac_var+set}\" = set"; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31264 cat >conftest.
$ac_ext <<_ACEOF
31267 cat confdefs.h
>>conftest.
$ac_ext
31268 cat >>conftest.
$ac_ext <<_ACEOF
31269 /* end confdefs.h. */
31270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31272 #define $ac_func innocuous_$ac_func
31274 /* System header to define __stub macros and hopefully few prototypes,
31275 which can conflict with char $ac_func (); below.
31276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31277 <limits.h> exists even on freestanding compilers. */
31280 # include <limits.h>
31282 # include <assert.h>
31287 /* Override any gcc2 internal prototype to avoid an error. */
31292 /* We use char because int might match the return type of a gcc2
31293 builtin and then its argument prototype would still apply. */
31295 /* The GNU C library defines this for functions which it implements
31296 to always fail with ENOSYS. Some functions are actually named
31297 something starting with __ and the normal name is an alias. */
31298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31301 char (*f) () = $ac_func;
31310 return f != $ac_func;
31315 rm -f conftest.
$ac_objext conftest
$ac_exeext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31317 (eval $ac_link) 2>conftest.er1
31319 grep -v '^ *+' conftest.er1
>conftest.err
31321 cat conftest.err
>&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } &&
31324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31326 (eval $ac_try) 2>&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); }; } &&
31330 { ac_try
='test -s conftest$ac_exeext'
31331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31332 (eval $ac_try) 2>&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); }; }; then
31336 eval "$as_ac_var=yes"
31338 echo "$as_me: failed program was:" >&5
31339 sed 's/^/| /' conftest.
$ac_ext >&5
31341 eval "$as_ac_var=no"
31343 rm -f conftest.err conftest.
$ac_objext \
31344 conftest
$ac_exeext conftest.
$ac_ext
31346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31348 if test `eval echo '${'$as_ac_var'}'` = yes; then
31349 cat >>confdefs.h
<<_ACEOF
31350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31352 cat >>confdefs.h
<<\_ACEOF
31353 #define HAVE_INET_ATON 1
31358 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31359 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31360 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31361 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31362 echo $ECHO_N "(cached) $ECHO_C" >&6
31364 ac_check_lib_save_LIBS
=$LIBS
31365 LIBS
="-l$INET_LINK $LIBS"
31366 cat >conftest.
$ac_ext <<_ACEOF
31369 cat confdefs.h
>>conftest.
$ac_ext
31370 cat >>conftest.
$ac_ext <<_ACEOF
31371 /* end confdefs.h. */
31373 /* Override any gcc2 internal prototype to avoid an error. */
31377 /* We use char because int might match the return type of a gcc2
31378 builtin and then its argument prototype would still apply. */
31388 rm -f conftest.
$ac_objext conftest
$ac_exeext
31389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31390 (eval $ac_link) 2>conftest.er1
31392 grep -v '^ *+' conftest.er1
>conftest.err
31394 cat conftest.err
>&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; } &&
31403 { ac_try
='test -s conftest$ac_exeext'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; }; then
31409 eval "$as_ac_Lib=yes"
31411 echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.
$ac_ext >&5
31414 eval "$as_ac_Lib=no"
31416 rm -f conftest.err conftest.
$ac_objext \
31417 conftest
$ac_exeext conftest.
$ac_ext
31418 LIBS
=$ac_check_lib_save_LIBS
31420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31421 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31422 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31423 cat >>confdefs.h
<<\_ACEOF
31424 #define HAVE_INET_ATON 1
31434 if test "x$INET_LINK" != "x"; then
31435 cat >>confdefs.h
<<\_ACEOF
31436 #define HAVE_INET_ADDR 1
31439 INET_LINK
=" -l$INET_LINK"
31447 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31448 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31449 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31452 ac_check_lib_save_LIBS
=$LIBS
31454 cat >conftest.
$ac_ext <<_ACEOF
31457 cat confdefs.h
>>conftest.
$ac_ext
31458 cat >>conftest.
$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31461 /* Override any gcc2 internal prototype to avoid an error. */
31465 /* We use char because int might match the return type of a gcc2
31466 builtin and then its argument prototype would still apply. */
31476 rm -f conftest.
$ac_objext conftest
$ac_exeext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478 (eval $ac_link) 2>conftest.er1
31480 grep -v '^ *+' conftest.er1
>conftest.err
31482 cat conftest.err
>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } &&
31485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; } &&
31491 { ac_try
='test -s conftest$ac_exeext'
31492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493 (eval $ac_try) 2>&5
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; }; then
31497 ac_cv_lib_esd_esd_close
=yes
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.
$ac_ext >&5
31502 ac_cv_lib_esd_esd_close
=no
31504 rm -f conftest.err conftest.
$ac_objext \
31505 conftest
$ac_exeext conftest.
$ac_ext
31506 LIBS
=$ac_check_lib_save_LIBS
31508 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31509 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31510 if test $ac_cv_lib_esd_esd_close = yes; then
31513 for ac_header
in esd.h
31515 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31517 echo "$as_me:$LINENO: checking for $ac_header" >&5
31518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31520 echo $ECHO_N "(cached) $ECHO_C" >&6
31522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31525 # Is the header compilable?
31526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31528 cat >conftest.
$ac_ext <<_ACEOF
31531 cat confdefs.h
>>conftest.
$ac_ext
31532 cat >>conftest.
$ac_ext <<_ACEOF
31533 /* end confdefs.h. */
31534 $ac_includes_default
31535 #include <$ac_header>
31537 rm -f conftest.
$ac_objext
31538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31539 (eval $ac_compile) 2>conftest.er1
31541 grep -v '^ *+' conftest.er1
>conftest.err
31543 cat conftest.err
>&5
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); } &&
31546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; } &&
31552 { ac_try
='test -s conftest.$ac_objext'
31553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31554 (eval $ac_try) 2>&5
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); }; }; then
31558 ac_header_compiler
=yes
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.
$ac_ext >&5
31563 ac_header_compiler
=no
31565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31567 echo "${ECHO_T}$ac_header_compiler" >&6
31569 # Is the header present?
31570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31572 cat >conftest.
$ac_ext <<_ACEOF
31575 cat confdefs.h
>>conftest.
$ac_ext
31576 cat >>conftest.
$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 #include <$ac_header>
31580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31583 grep -v '^ *+' conftest.er1
>conftest.err
31585 cat conftest.err
>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } >/dev
/null
; then
31588 if test -s conftest.err
; then
31589 ac_cpp_err
=$ac_c_preproc_warn_flag
31590 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31597 if test -z "$ac_cpp_err"; then
31598 ac_header_preproc
=yes
31600 echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.
$ac_ext >&5
31603 ac_header_preproc
=no
31605 rm -f conftest.err conftest.
$ac_ext
31606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31607 echo "${ECHO_T}$ac_header_preproc" >&6
31609 # So? What about this header?
31610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31616 ac_header_preproc
=yes
31619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31633 ## ----------------------------------------- ##
31634 ## Report this to wx-dev@lists.wxwidgets.org ##
31635 ## ----------------------------------------- ##
31638 sed "s/^/$as_me: WARNING: /" >&2
31641 echo "$as_me:$LINENO: checking for $ac_header" >&5
31642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31646 eval "$as_ac_Header=\$ac_header_preproc"
31648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31653 cat >>confdefs.h
<<_ACEOF
31654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31657 EXTRALIBS_ESD
="-lesd"
31668 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31669 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31670 cat >conftest.
$ac_ext <<_ACEOF
31673 cat confdefs.h
>>conftest.
$ac_ext
31674 cat >>conftest.
$ac_ext <<_ACEOF
31675 /* end confdefs.h. */
31677 #include <linux/cdrom.h>
31680 #include <sys/cdio.h>
31686 struct cdrom_tocentry entry, old_entry;
31691 rm -f conftest.
$ac_objext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31693 (eval $ac_compile) 2>conftest.er1
31695 grep -v '^ *+' conftest.er1
>conftest.err
31697 cat conftest.err
>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); } &&
31700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try
='test -s conftest.$ac_objext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712 echo "$as_me:$LINENO: result: yes" >&5
31713 echo "${ECHO_T}yes" >&6
31714 cat >>confdefs.h
<<\_ACEOF
31715 #define HAVE_KNOWN_CDROM_INTERFACE 1
31719 echo "$as_me: failed program was:" >&5
31720 sed 's/^/| /' conftest.
$ac_ext >&5
31722 echo "$as_me:$LINENO: result: no" >&5
31723 echo "${ECHO_T}no" >&6
31725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31728 cat >confcache
<<\_ACEOF
31729 # This file is a shell script that caches the results of configure
31730 # tests run on this system so they can be shared between configure
31731 # scripts and configure runs, see configure's option --config-cache.
31732 # It is not useful on other systems. If it contains results you don't
31733 # want to keep, you may remove or edit it.
31735 # config.status only pays attention to the cache file if you give it
31736 # the --recheck option to rerun configure.
31738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31740 # following values.
31744 # The following way of writing the cache mishandles newlines in values,
31745 # but we know of no workaround that is simple, portable, and efficient.
31746 # So, don't put newlines in cache variables' values.
31747 # Ultrix sh set writes to stderr and can't be redirected directly,
31748 # and sets the high bit in the cache file unless we assign to the vars.
31751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31753 # `set' does not quote correctly, so add quotes (double-quote
31754 # substitution turns \\\\ into \\, and sed turns \\ into \).
31757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31760 # `set' quotes correctly as required by POSIX, so do not add quotes.
31762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31773 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31774 if test -w $cache_file; then
31775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31776 cat confcache
>$cache_file
31778 echo "not updating unwritable cache $cache_file"
31785 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31791 if test "$wxUSE_THREADS" = "yes" ; then
31792 if test "$USE_BEOS" = 1; then
31793 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31794 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31799 if test "$wxUSE_THREADS" = "yes" ; then
31802 THREAD_OPTS
="-pthread"
31804 *-*-solaris2* | *-*-sunos4* )
31805 if test "x$GCC" = "xyes"; then
31806 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31808 THREAD_OPTS
="-mt $THREAD_OPTS"
31812 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31814 *-*-darwin* | *-*-cygwin* )
31818 THREAD_OPTS
="pthreads"
31821 if test "x$GCC" != "xyes"; then
31827 if test "x$GCC" = "xyes"; then
31833 if test "x$GCC" != "xyes"; then
31834 THREAD_OPTS
="-Ethread"
31839 THREAD_OPTS
="$THREAD_OPTS pthread none"
31842 for flag
in $THREAD_OPTS; do
31845 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
31846 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
31850 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
31851 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
31852 THREADS_CFLAGS
="$flag"
31856 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
31857 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
31858 THREADS_LINK
="-l$flag"
31863 save_CFLAGS
="$CFLAGS"
31864 LIBS
="$THREADS_LINK $LIBS"
31865 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31867 cat >conftest.
$ac_ext <<_ACEOF
31870 cat confdefs.h
>>conftest.
$ac_ext
31871 cat >>conftest.
$ac_ext <<_ACEOF
31872 /* end confdefs.h. */
31873 #include <pthread.h>
31877 pthread_create(0,0,0,0);
31882 rm -f conftest.
$ac_objext conftest
$ac_exeext
31883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31884 (eval $ac_link) 2>conftest.er1
31886 grep -v '^ *+' conftest.er1
>conftest.err
31888 cat conftest.err
>&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } &&
31891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31893 (eval $ac_try) 2>&5
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; } &&
31897 { ac_try
='test -s conftest$ac_exeext'
31898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31899 (eval $ac_try) 2>&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); }; }; then
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.
$ac_ext >&5
31909 rm -f conftest.err conftest.
$ac_objext \
31910 conftest
$ac_exeext conftest.
$ac_ext
31913 CFLAGS
="$save_CFLAGS"
31915 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
31916 echo "${ECHO_T}$THREADS_OK" >&6
31917 if test "x$THREADS_OK" = "xyes"; then
31925 if test "x$THREADS_OK" != "xyes"; then
31927 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
31928 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31930 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31931 LIBS
="$THREADS_LINK $LIBS"
31933 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
31934 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
31938 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31939 flag
="-D_THREAD_SAFE"
31942 flag
="-D_THREAD_SAFE"
31945 flag
="-D_REENTRANT"
31946 if test "x$GCC" != "xyes"; then
31947 flag
="$flag -D_RWSTD_MULTI_THREAD"
31952 *solaris
* | alpha
*-osf*)
31953 flag
="-D_REENTRANT"
31956 echo "$as_me:$LINENO: result: ${flag}" >&5
31957 echo "${ECHO_T}${flag}" >&6
31958 if test "x$flag" != xno
; then
31959 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31962 if test "x$THREADS_CFLAGS" != "x"; then
31963 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
31964 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
31969 if test "$wxUSE_THREADS" = "yes" ; then
31971 for ac_func
in thr_setconcurrency
31973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31974 echo "$as_me:$LINENO: checking for $ac_func" >&5
31975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31976 if eval "test \"\${$as_ac_var+set}\" = set"; then
31977 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 cat >conftest.
$ac_ext <<_ACEOF
31982 cat confdefs.h
>>conftest.
$ac_ext
31983 cat >>conftest.
$ac_ext <<_ACEOF
31984 /* end confdefs.h. */
31985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31987 #define $ac_func innocuous_$ac_func
31989 /* System header to define __stub macros and hopefully few prototypes,
31990 which can conflict with char $ac_func (); below.
31991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31992 <limits.h> exists even on freestanding compilers. */
31995 # include <limits.h>
31997 # include <assert.h>
32002 /* Override any gcc2 internal prototype to avoid an error. */
32007 /* We use char because int might match the return type of a gcc2
32008 builtin and then its argument prototype would still apply. */
32010 /* The GNU C library defines this for functions which it implements
32011 to always fail with ENOSYS. Some functions are actually named
32012 something starting with __ and the normal name is an alias. */
32013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32016 char (*f) () = $ac_func;
32025 return f != $ac_func;
32030 rm -f conftest.
$ac_objext conftest
$ac_exeext
32031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32032 (eval $ac_link) 2>conftest.er1
32034 grep -v '^ *+' conftest.er1
>conftest.err
32036 cat conftest.err
>&5
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); } &&
32039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32041 (eval $ac_try) 2>&5
32043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32044 (exit $ac_status); }; } &&
32045 { ac_try
='test -s conftest$ac_exeext'
32046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32047 (eval $ac_try) 2>&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); }; }; then
32051 eval "$as_ac_var=yes"
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.
$ac_ext >&5
32056 eval "$as_ac_var=no"
32058 rm -f conftest.err conftest.
$ac_objext \
32059 conftest
$ac_exeext conftest.
$ac_ext
32061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32063 if test `eval echo '${'$as_ac_var'}'` = yes; then
32064 cat >>confdefs.h
<<_ACEOF
32065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32073 for ac_header
in sched.h
32075 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32077 echo "$as_me:$LINENO: checking for $ac_header" >&5
32078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32080 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32085 # Is the header compilable?
32086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32088 cat >conftest.
$ac_ext <<_ACEOF
32091 cat confdefs.h
>>conftest.
$ac_ext
32092 cat >>conftest.
$ac_ext <<_ACEOF
32093 /* end confdefs.h. */
32094 $ac_includes_default
32095 #include <$ac_header>
32097 rm -f conftest.
$ac_objext
32098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32099 (eval $ac_compile) 2>conftest.er1
32101 grep -v '^ *+' conftest.er1
>conftest.err
32103 cat conftest.err
>&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } &&
32106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32108 (eval $ac_try) 2>&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); }; } &&
32112 { ac_try
='test -s conftest.$ac_objext'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; }; then
32118 ac_header_compiler
=yes
32120 echo "$as_me: failed program was:" >&5
32121 sed 's/^/| /' conftest.
$ac_ext >&5
32123 ac_header_compiler
=no
32125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32127 echo "${ECHO_T}$ac_header_compiler" >&6
32129 # Is the header present?
32130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32132 cat >conftest.
$ac_ext <<_ACEOF
32135 cat confdefs.h
>>conftest.
$ac_ext
32136 cat >>conftest.
$ac_ext <<_ACEOF
32137 /* end confdefs.h. */
32138 #include <$ac_header>
32140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32141 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32143 grep -v '^ *+' conftest.er1
>conftest.err
32145 cat conftest.err
>&5
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); } >/dev
/null
; then
32148 if test -s conftest.err
; then
32149 ac_cpp_err
=$ac_c_preproc_warn_flag
32150 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32157 if test -z "$ac_cpp_err"; then
32158 ac_header_preproc
=yes
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.
$ac_ext >&5
32163 ac_header_preproc
=no
32165 rm -f conftest.err conftest.
$ac_ext
32166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32167 echo "${ECHO_T}$ac_header_preproc" >&6
32169 # So? What about this header?
32170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32176 ac_header_preproc
=yes
32179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32193 ## ----------------------------------------- ##
32194 ## Report this to wx-dev@lists.wxwidgets.org ##
32195 ## ----------------------------------------- ##
32198 sed "s/^/$as_me: WARNING: /" >&2
32201 echo "$as_me:$LINENO: checking for $ac_header" >&5
32202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32204 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 eval "$as_ac_Header=\$ac_header_preproc"
32208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32213 cat >>confdefs.h
<<_ACEOF
32214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32221 if test "$ac_cv_header_sched_h" = "yes"; then
32222 echo "$as_me:$LINENO: checking for sched_yield" >&5
32223 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32224 if test "${ac_cv_func_sched_yield+set}" = set; then
32225 echo $ECHO_N "(cached) $ECHO_C" >&6
32227 cat >conftest.
$ac_ext <<_ACEOF
32230 cat confdefs.h
>>conftest.
$ac_ext
32231 cat >>conftest.
$ac_ext <<_ACEOF
32232 /* end confdefs.h. */
32233 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32235 #define sched_yield innocuous_sched_yield
32237 /* System header to define __stub macros and hopefully few prototypes,
32238 which can conflict with char sched_yield (); below.
32239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32240 <limits.h> exists even on freestanding compilers. */
32243 # include <limits.h>
32245 # include <assert.h>
32250 /* Override any gcc2 internal prototype to avoid an error. */
32255 /* We use char because int might match the return type of a gcc2
32256 builtin and then its argument prototype would still apply. */
32257 char sched_yield ();
32258 /* The GNU C library defines this for functions which it implements
32259 to always fail with ENOSYS. Some functions are actually named
32260 something starting with __ and the normal name is an alias. */
32261 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32264 char (*f) () = sched_yield;
32273 return f != sched_yield;
32278 rm -f conftest.
$ac_objext conftest
$ac_exeext
32279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32280 (eval $ac_link) 2>conftest.er1
32282 grep -v '^ *+' conftest.er1
>conftest.err
32284 cat conftest.err
>&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); } &&
32287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289 (eval $ac_try) 2>&5
32291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292 (exit $ac_status); }; } &&
32293 { ac_try
='test -s conftest$ac_exeext'
32294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32295 (eval $ac_try) 2>&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); }; }; then
32299 ac_cv_func_sched_yield
=yes
32301 echo "$as_me: failed program was:" >&5
32302 sed 's/^/| /' conftest.
$ac_ext >&5
32304 ac_cv_func_sched_yield
=no
32306 rm -f conftest.err conftest.
$ac_objext \
32307 conftest
$ac_exeext conftest.
$ac_ext
32309 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32310 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32311 if test $ac_cv_func_sched_yield = yes; then
32312 cat >>confdefs.h
<<\_ACEOF
32313 #define HAVE_SCHED_YIELD 1
32318 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32319 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32320 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 ac_check_lib_save_LIBS
=$LIBS
32324 LIBS
="-lposix4 $LIBS"
32325 cat >conftest.
$ac_ext <<_ACEOF
32328 cat confdefs.h
>>conftest.
$ac_ext
32329 cat >>conftest.
$ac_ext <<_ACEOF
32330 /* end confdefs.h. */
32332 /* Override any gcc2 internal prototype to avoid an error. */
32336 /* We use char because int might match the return type of a gcc2
32337 builtin and then its argument prototype would still apply. */
32338 char sched_yield ();
32347 rm -f conftest.
$ac_objext conftest
$ac_exeext
32348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32349 (eval $ac_link) 2>conftest.er1
32351 grep -v '^ *+' conftest.er1
>conftest.err
32353 cat conftest.err
>&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); } &&
32356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; } &&
32362 { ac_try
='test -s conftest$ac_exeext'
32363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364 (eval $ac_try) 2>&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; }; then
32368 ac_cv_lib_posix4_sched_yield
=yes
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.
$ac_ext >&5
32373 ac_cv_lib_posix4_sched_yield
=no
32375 rm -f conftest.err conftest.
$ac_objext \
32376 conftest
$ac_exeext conftest.
$ac_ext
32377 LIBS
=$ac_check_lib_save_LIBS
32379 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32380 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32381 if test $ac_cv_lib_posix4_sched_yield = yes; then
32382 cat >>confdefs.h
<<\_ACEOF
32383 #define HAVE_SCHED_YIELD 1
32385 POSIX4_LINK
=" -lposix4"
32387 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32388 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32399 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32400 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32401 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32402 echo $ECHO_N "(cached) $ECHO_C" >&6
32404 cat >conftest.
$ac_ext <<_ACEOF
32407 cat confdefs.h
>>conftest.
$ac_ext
32408 cat >>conftest.
$ac_ext <<_ACEOF
32409 /* end confdefs.h. */
32410 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32412 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32414 /* System header to define __stub macros and hopefully few prototypes,
32415 which can conflict with char pthread_attr_getschedpolicy (); below.
32416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32417 <limits.h> exists even on freestanding compilers. */
32420 # include <limits.h>
32422 # include <assert.h>
32425 #undef pthread_attr_getschedpolicy
32427 /* Override any gcc2 internal prototype to avoid an error. */
32432 /* We use char because int might match the return type of a gcc2
32433 builtin and then its argument prototype would still apply. */
32434 char pthread_attr_getschedpolicy ();
32435 /* The GNU C library defines this for functions which it implements
32436 to always fail with ENOSYS. Some functions are actually named
32437 something starting with __ and the normal name is an alias. */
32438 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32441 char (*f) () = pthread_attr_getschedpolicy;
32450 return f != pthread_attr_getschedpolicy;
32455 rm -f conftest.
$ac_objext conftest
$ac_exeext
32456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32457 (eval $ac_link) 2>conftest.er1
32459 grep -v '^ *+' conftest.er1
>conftest.err
32461 cat conftest.err
>&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } &&
32464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; } &&
32470 { ac_try
='test -s conftest$ac_exeext'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; }; then
32476 ac_cv_func_pthread_attr_getschedpolicy
=yes
32478 echo "$as_me: failed program was:" >&5
32479 sed 's/^/| /' conftest.
$ac_ext >&5
32481 ac_cv_func_pthread_attr_getschedpolicy
=no
32483 rm -f conftest.err conftest.
$ac_objext \
32484 conftest
$ac_exeext conftest.
$ac_ext
32486 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32487 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32488 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32489 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32490 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32491 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 cat >conftest.
$ac_ext <<_ACEOF
32497 cat confdefs.h
>>conftest.
$ac_ext
32498 cat >>conftest.
$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32500 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32502 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32504 /* System header to define __stub macros and hopefully few prototypes,
32505 which can conflict with char pthread_attr_setschedparam (); below.
32506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32507 <limits.h> exists even on freestanding compilers. */
32510 # include <limits.h>
32512 # include <assert.h>
32515 #undef pthread_attr_setschedparam
32517 /* Override any gcc2 internal prototype to avoid an error. */
32522 /* We use char because int might match the return type of a gcc2
32523 builtin and then its argument prototype would still apply. */
32524 char pthread_attr_setschedparam ();
32525 /* The GNU C library defines this for functions which it implements
32526 to always fail with ENOSYS. Some functions are actually named
32527 something starting with __ and the normal name is an alias. */
32528 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32531 char (*f) () = pthread_attr_setschedparam;
32540 return f != pthread_attr_setschedparam;
32545 rm -f conftest.
$ac_objext conftest
$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>conftest.er1
32549 grep -v '^ *+' conftest.er1
>conftest.err
32551 cat conftest.err
>&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } &&
32554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try
='test -s conftest$ac_exeext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566 ac_cv_func_pthread_attr_setschedparam
=yes
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.
$ac_ext >&5
32571 ac_cv_func_pthread_attr_setschedparam
=no
32573 rm -f conftest.err conftest.
$ac_objext \
32574 conftest
$ac_exeext conftest.
$ac_ext
32576 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32577 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32578 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32579 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32580 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32581 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32582 echo $ECHO_N "(cached) $ECHO_C" >&6
32584 cat >conftest.
$ac_ext <<_ACEOF
32587 cat confdefs.h
>>conftest.
$ac_ext
32588 cat >>conftest.
$ac_ext <<_ACEOF
32589 /* end confdefs.h. */
32590 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32592 #define sched_get_priority_max innocuous_sched_get_priority_max
32594 /* System header to define __stub macros and hopefully few prototypes,
32595 which can conflict with char sched_get_priority_max (); below.
32596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32597 <limits.h> exists even on freestanding compilers. */
32600 # include <limits.h>
32602 # include <assert.h>
32605 #undef sched_get_priority_max
32607 /* Override any gcc2 internal prototype to avoid an error. */
32612 /* We use char because int might match the return type of a gcc2
32613 builtin and then its argument prototype would still apply. */
32614 char sched_get_priority_max ();
32615 /* The GNU C library defines this for functions which it implements
32616 to always fail with ENOSYS. Some functions are actually named
32617 something starting with __ and the normal name is an alias. */
32618 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32621 char (*f) () = sched_get_priority_max;
32630 return f != sched_get_priority_max;
32635 rm -f conftest.
$ac_objext conftest
$ac_exeext
32636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32637 (eval $ac_link) 2>conftest.er1
32639 grep -v '^ *+' conftest.er1
>conftest.err
32641 cat conftest.err
>&5
32642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643 (exit $ac_status); } &&
32644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32646 (eval $ac_try) 2>&5
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); }; } &&
32650 { ac_try
='test -s conftest$ac_exeext'
32651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32652 (eval $ac_try) 2>&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); }; }; then
32656 ac_cv_func_sched_get_priority_max
=yes
32658 echo "$as_me: failed program was:" >&5
32659 sed 's/^/| /' conftest.
$ac_ext >&5
32661 ac_cv_func_sched_get_priority_max
=no
32663 rm -f conftest.err conftest.
$ac_objext \
32664 conftest
$ac_exeext conftest.
$ac_ext
32666 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32667 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32668 if test $ac_cv_func_sched_get_priority_max = yes; then
32671 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32672 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32673 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 ac_check_lib_save_LIBS
=$LIBS
32677 LIBS
="-lposix4 $LIBS"
32678 cat >conftest.
$ac_ext <<_ACEOF
32681 cat confdefs.h
>>conftest.
$ac_ext
32682 cat >>conftest.
$ac_ext <<_ACEOF
32683 /* end confdefs.h. */
32685 /* Override any gcc2 internal prototype to avoid an error. */
32689 /* We use char because int might match the return type of a gcc2
32690 builtin and then its argument prototype would still apply. */
32691 char sched_get_priority_max ();
32695 sched_get_priority_max ();
32700 rm -f conftest.
$ac_objext conftest
$ac_exeext
32701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32702 (eval $ac_link) 2>conftest.er1
32704 grep -v '^ *+' conftest.er1
>conftest.err
32706 cat conftest.err
>&5
32707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32708 (exit $ac_status); } &&
32709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32711 (eval $ac_try) 2>&5
32713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32714 (exit $ac_status); }; } &&
32715 { ac_try
='test -s conftest$ac_exeext'
32716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32717 (eval $ac_try) 2>&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); }; }; then
32721 ac_cv_lib_posix4_sched_get_priority_max
=yes
32723 echo "$as_me: failed program was:" >&5
32724 sed 's/^/| /' conftest.
$ac_ext >&5
32726 ac_cv_lib_posix4_sched_get_priority_max
=no
32728 rm -f conftest.err conftest.
$ac_objext \
32729 conftest
$ac_exeext conftest.
$ac_ext
32730 LIBS
=$ac_check_lib_save_LIBS
32732 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32733 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32734 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32737 POSIX4_LINK
=" -lposix4"
32751 if test "$HAVE_PRIOR_FUNCS" = 1; then
32752 cat >>confdefs.h
<<\_ACEOF
32753 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32757 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32758 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32761 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32762 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32763 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32766 cat >conftest.
$ac_ext <<_ACEOF
32769 cat confdefs.h
>>conftest.
$ac_ext
32770 cat >>conftest.
$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32774 #define pthread_cancel innocuous_pthread_cancel
32776 /* System header to define __stub macros and hopefully few prototypes,
32777 which can conflict with char pthread_cancel (); below.
32778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32779 <limits.h> exists even on freestanding compilers. */
32782 # include <limits.h>
32784 # include <assert.h>
32787 #undef pthread_cancel
32789 /* Override any gcc2 internal prototype to avoid an error. */
32794 /* We use char because int might match the return type of a gcc2
32795 builtin and then its argument prototype would still apply. */
32796 char pthread_cancel ();
32797 /* The GNU C library defines this for functions which it implements
32798 to always fail with ENOSYS. Some functions are actually named
32799 something starting with __ and the normal name is an alias. */
32800 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32803 char (*f) () = pthread_cancel;
32812 return f != pthread_cancel;
32817 rm -f conftest.
$ac_objext conftest
$ac_exeext
32818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32819 (eval $ac_link) 2>conftest.er1
32821 grep -v '^ *+' conftest.er1
>conftest.err
32823 cat conftest.err
>&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); } &&
32826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32828 (eval $ac_try) 2>&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); }; } &&
32832 { ac_try
='test -s conftest$ac_exeext'
32833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32834 (eval $ac_try) 2>&5
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); }; }; then
32838 ac_cv_func_pthread_cancel
=yes
32840 echo "$as_me: failed program was:" >&5
32841 sed 's/^/| /' conftest.
$ac_ext >&5
32843 ac_cv_func_pthread_cancel
=no
32845 rm -f conftest.err conftest.
$ac_objext \
32846 conftest
$ac_exeext conftest.
$ac_ext
32848 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
32849 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
32850 if test $ac_cv_func_pthread_cancel = yes; then
32851 cat >>confdefs.h
<<\_ACEOF
32852 #define HAVE_PTHREAD_CANCEL 1
32856 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
32857 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32863 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
32864 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
32865 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
32866 echo $ECHO_N "(cached) $ECHO_C" >&6
32869 cat >conftest.
$ac_ext <<_ACEOF
32872 cat confdefs.h
>>conftest.
$ac_ext
32873 cat >>conftest.
$ac_ext <<_ACEOF
32874 /* end confdefs.h. */
32875 #include <pthread.h>
32880 pthread_mutexattr_t attr;
32881 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32887 rm -f conftest.
$ac_objext
32888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32889 (eval $ac_compile) 2>conftest.er1
32891 grep -v '^ *+' conftest.er1
>conftest.err
32893 cat conftest.err
>&5
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); } &&
32896 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; } &&
32902 { ac_try
='test -s conftest.$ac_objext'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; }; then
32909 wx_cv_type_pthread_mutexattr_t
=yes
32912 echo "$as_me: failed program was:" >&5
32913 sed 's/^/| /' conftest.
$ac_ext >&5
32916 wx_cv_type_pthread_mutexattr_t
=no
32920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32923 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
32924 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
32926 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32927 cat >>confdefs.h
<<\_ACEOF
32928 #define HAVE_PTHREAD_MUTEXATTR_T 1
32932 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32933 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
32934 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
32935 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 cat >conftest.
$ac_ext <<_ACEOF
32941 cat confdefs.h
>>conftest.
$ac_ext
32942 cat >>conftest.
$ac_ext <<_ACEOF
32943 /* end confdefs.h. */
32944 #include <pthread.h>
32949 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32955 rm -f conftest.
$ac_objext
32956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32957 (eval $ac_compile) 2>conftest.er1
32959 grep -v '^ *+' conftest.er1
>conftest.err
32961 cat conftest.err
>&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 (exit $ac_status); } &&
32964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32966 (eval $ac_try) 2>&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); }; } &&
32970 { ac_try
='test -s conftest.$ac_objext'
32971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32972 (eval $ac_try) 2>&5
32974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32975 (exit $ac_status); }; }; then
32977 wx_cv_type_pthread_rec_mutex_init
=yes
32980 echo "$as_me: failed program was:" >&5
32981 sed 's/^/| /' conftest.
$ac_ext >&5
32984 wx_cv_type_pthread_rec_mutex_init
=no
32988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32991 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32992 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
32993 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32994 cat >>confdefs.h
<<\_ACEOF
32995 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
32999 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33000 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33006 if test "$wxUSE_THREADS" = "yes" ; then
33009 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33010 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33011 if test "${wx_cv_cflags_mthread+set}" = set; then
33012 echo $ECHO_N "(cached) $ECHO_C" >&6
33015 CFLAGS_OLD
="$CFLAGS"
33016 CFLAGS
="$CFLAGS -mthreads"
33017 cat >conftest.
$ac_ext <<_ACEOF
33020 cat confdefs.h
>>conftest.
$ac_ext
33021 cat >>conftest.
$ac_ext <<_ACEOF
33022 /* end confdefs.h. */
33032 rm -f conftest.
$ac_objext
33033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33034 (eval $ac_compile) 2>conftest.er1
33036 grep -v '^ *+' conftest.er1
>conftest.err
33038 cat conftest.err
>&5
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); } &&
33041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33043 (eval $ac_try) 2>&5
33045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33046 (exit $ac_status); }; } &&
33047 { ac_try
='test -s conftest.$ac_objext'
33048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33049 (eval $ac_try) 2>&5
33051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33052 (exit $ac_status); }; }; then
33053 wx_cv_cflags_mthread
=yes
33055 echo "$as_me: failed program was:" >&5
33056 sed 's/^/| /' conftest.
$ac_ext >&5
33058 wx_cv_cflags_mthread
=no
33061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33065 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33066 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33068 if test "$wx_cv_cflags_mthread" = "yes"; then
33069 CXXFLAGS
="$CXXFLAGS -mthreads"
33070 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33071 LDFLAGS
="$LDFLAGS -mthreads"
33073 CFLAGS
="$CFLAGS_OLD"
33077 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33078 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33079 LDFLAGS
="$LDFLAGS -Zmt"
33085 if test "$wxUSE_THREADS" = "yes"; then
33086 cat >>confdefs.h
<<\_ACEOF
33087 #define wxUSE_THREADS 1
33091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33093 if test "$ac_cv_func_strtok_r" = "yes"; then
33094 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33095 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33096 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33097 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33098 echo "$as_me:$LINENO: result: yes" >&5
33099 echo "${ECHO_T}yes" >&6
33101 echo "$as_me:$LINENO: result: no" >&5
33102 echo "${ECHO_T}no" >&6
33107 if test "$WXGTK20" = 1 ; then
33108 cat >>confdefs.h
<<_ACEOF
33109 #define __WXGTK20__ $WXGTK20
33115 if test "$WXGTK12" = 1 ; then
33116 cat >>confdefs.h
<<_ACEOF
33117 #define __WXGTK12__ $WXGTK12
33122 if test "$WXGTK127" = 1 ; then
33123 cat >>confdefs.h
<<_ACEOF
33124 #define __WXGTK127__ $WXGTK127
33129 if test "$WXGPE" = 1 ; then
33130 cat >>confdefs.h
<<_ACEOF
33131 #define __WXGPE__ $WXGPE
33138 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33143 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33144 wxUSE_DEBUG_INFO
=yes
33148 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33149 cat >>confdefs.h
<<\_ACEOF
33153 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33155 if test "$wxUSE_GTK" = 1 ; then
33156 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33160 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33161 cat >>confdefs.h
<<\_ACEOF
33162 #define wxUSE_MEMORY_TRACING 1
33165 cat >>confdefs.h
<<\_ACEOF
33166 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33169 cat >>confdefs.h
<<\_ACEOF
33170 #define wxUSE_DEBUG_NEW_ALWAYS 1
33173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33176 if test "$wxUSE_DMALLOC" = "yes" ; then
33177 DMALLOC_LIBS
="-ldmalloc"
33181 if test "$wxUSE_PROFILE" = "yes" ; then
33186 CODE_GEN_FLAGS_CXX
=
33187 if test "$GCC" = "yes" ; then
33188 if test "$wxUSE_NO_RTTI" = "yes" ; then
33189 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33191 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33192 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33194 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33195 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33200 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33203 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33209 if test "$wxUSE_OPTIMISE" = "no" ; then
33210 if test "$GCC" = yes ; then
33214 if test "$GCC" = yes ; then
33218 i586
-*-*|i686
-*-* )
33219 OPTIMISE
="${OPTIMISE} "
33228 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33229 cat >>confdefs.h
<<\_ACEOF
33230 #define WXWIN_COMPATIBILITY_2_2 1
33234 WXWIN_COMPATIBILITY_2_4
="yes"
33237 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33238 cat >>confdefs.h
<<\_ACEOF
33239 #define WXWIN_COMPATIBILITY_2_4 1
33245 if test "$wxUSE_GUI" = "yes"; then
33246 cat >>confdefs.h
<<\_ACEOF
33247 #define wxUSE_GUI 1
33252 cat >>confdefs.h
<<\_ACEOF
33253 #define wxUSE_NOGUI 1
33259 if test "$wxUSE_UNIX" = "yes"; then
33260 cat >>confdefs.h
<<\_ACEOF
33261 #define wxUSE_UNIX 1
33267 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33271 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33272 if test "$USE_DARWIN" = 1; then
33276 for ac_func
in dlopen
33278 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33279 echo "$as_me:$LINENO: checking for $ac_func" >&5
33280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33281 if eval "test \"\${$as_ac_var+set}\" = set"; then
33282 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 cat >conftest.
$ac_ext <<_ACEOF
33287 cat confdefs.h
>>conftest.
$ac_ext
33288 cat >>conftest.
$ac_ext <<_ACEOF
33289 /* end confdefs.h. */
33290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33292 #define $ac_func innocuous_$ac_func
33294 /* System header to define __stub macros and hopefully few prototypes,
33295 which can conflict with char $ac_func (); below.
33296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33297 <limits.h> exists even on freestanding compilers. */
33300 # include <limits.h>
33302 # include <assert.h>
33307 /* Override any gcc2 internal prototype to avoid an error. */
33312 /* We use char because int might match the return type of a gcc2
33313 builtin and then its argument prototype would still apply. */
33315 /* The GNU C library defines this for functions which it implements
33316 to always fail with ENOSYS. Some functions are actually named
33317 something starting with __ and the normal name is an alias. */
33318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33321 char (*f) () = $ac_func;
33330 return f != $ac_func;
33335 rm -f conftest.
$ac_objext conftest
$ac_exeext
33336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33337 (eval $ac_link) 2>conftest.er1
33339 grep -v '^ *+' conftest.er1
>conftest.err
33341 cat conftest.err
>&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } &&
33344 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; } &&
33350 { ac_try
='test -s conftest$ac_exeext'
33351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33352 (eval $ac_try) 2>&5
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; }; then
33356 eval "$as_ac_var=yes"
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.
$ac_ext >&5
33361 eval "$as_ac_var=no"
33363 rm -f conftest.err conftest.
$ac_objext \
33364 conftest
$ac_exeext conftest.
$ac_ext
33366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33368 if test `eval echo '${'$as_ac_var'}'` = yes; then
33369 cat >>confdefs.h
<<_ACEOF
33370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33373 cat >>confdefs.h
<<\_ACEOF
33374 #define HAVE_DLOPEN 1
33381 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33382 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33383 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33386 ac_check_lib_save_LIBS
=$LIBS
33388 cat >conftest.
$ac_ext <<_ACEOF
33391 cat confdefs.h
>>conftest.
$ac_ext
33392 cat >>conftest.
$ac_ext <<_ACEOF
33393 /* end confdefs.h. */
33395 /* Override any gcc2 internal prototype to avoid an error. */
33399 /* We use char because int might match the return type of a gcc2
33400 builtin and then its argument prototype would still apply. */
33410 rm -f conftest.
$ac_objext conftest
$ac_exeext
33411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33412 (eval $ac_link) 2>conftest.er1
33414 grep -v '^ *+' conftest.er1
>conftest.err
33416 cat conftest.err
>&5
33417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33418 (exit $ac_status); } &&
33419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33421 (eval $ac_try) 2>&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; } &&
33425 { ac_try
='test -s conftest$ac_exeext'
33426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33427 (eval $ac_try) 2>&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; }; then
33431 ac_cv_lib_dl_dlopen
=yes
33433 echo "$as_me: failed program was:" >&5
33434 sed 's/^/| /' conftest.
$ac_ext >&5
33436 ac_cv_lib_dl_dlopen
=no
33438 rm -f conftest.err conftest.
$ac_objext \
33439 conftest
$ac_exeext conftest.
$ac_ext
33440 LIBS
=$ac_check_lib_save_LIBS
33442 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33443 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33444 if test $ac_cv_lib_dl_dlopen = yes; then
33446 cat >>confdefs.h
<<\_ACEOF
33447 #define HAVE_DLOPEN 1
33451 DL_LINK
=" -ldl$DL_LINK"
33456 for ac_func
in shl_load
33458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33459 echo "$as_me:$LINENO: checking for $ac_func" >&5
33460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33461 if eval "test \"\${$as_ac_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33472 #define $ac_func innocuous_$ac_func
33474 /* System header to define __stub macros and hopefully few prototypes,
33475 which can conflict with char $ac_func (); 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>
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. */
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_$ac_func) || defined (__stub___$ac_func)
33501 char (*f) () = $ac_func;
33510 return f != $ac_func;
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 eval "$as_ac_var=yes"
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.
$ac_ext >&5
33541 eval "$as_ac_var=no"
33543 rm -f conftest.err conftest.
$ac_objext \
33544 conftest
$ac_exeext conftest.
$ac_ext
33546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33548 if test `eval echo '${'$as_ac_var'}'` = yes; then
33549 cat >>confdefs.h
<<_ACEOF
33550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33553 cat >>confdefs.h
<<\_ACEOF
33554 #define HAVE_SHL_LOAD 1
33561 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33562 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33563 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 ac_check_lib_save_LIBS
=$LIBS
33567 LIBS
="-lshl_load $LIBS"
33568 cat >conftest.
$ac_ext <<_ACEOF
33571 cat confdefs.h
>>conftest.
$ac_ext
33572 cat >>conftest.
$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33575 /* Override any gcc2 internal prototype to avoid an error. */
33579 /* We use char because int might match the return type of a gcc2
33580 builtin and then its argument prototype would still apply. */
33590 rm -f conftest.
$ac_objext conftest
$ac_exeext
33591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33592 (eval $ac_link) 2>conftest.er1
33594 grep -v '^ *+' conftest.er1
>conftest.err
33596 cat conftest.err
>&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33601 (eval $ac_try) 2>&5
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); }; } &&
33605 { ac_try
='test -s conftest$ac_exeext'
33606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33607 (eval $ac_try) 2>&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 (exit $ac_status); }; }; then
33611 ac_cv_lib_shl_load_dld
=yes
33613 echo "$as_me: failed program was:" >&5
33614 sed 's/^/| /' conftest.
$ac_ext >&5
33616 ac_cv_lib_shl_load_dld
=no
33618 rm -f conftest.err conftest.
$ac_objext \
33619 conftest
$ac_exeext conftest.
$ac_ext
33620 LIBS
=$ac_check_lib_save_LIBS
33622 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33623 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33624 if test $ac_cv_lib_shl_load_dld = yes; then
33627 DL_LINK
=" -ldld$DL_LINK"
33643 if test "$HAVE_DL_FUNCS" = 1; then
33645 for ac_func
in dlerror
33647 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33648 echo "$as_me:$LINENO: checking for $ac_func" >&5
33649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33650 if eval "test \"\${$as_ac_var+set}\" = set"; then
33651 echo $ECHO_N "(cached) $ECHO_C" >&6
33653 cat >conftest.
$ac_ext <<_ACEOF
33656 cat confdefs.h
>>conftest.
$ac_ext
33657 cat >>conftest.
$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33661 #define $ac_func innocuous_$ac_func
33663 /* System header to define __stub macros and hopefully few prototypes,
33664 which can conflict with char $ac_func (); below.
33665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33666 <limits.h> exists even on freestanding compilers. */
33669 # include <limits.h>
33671 # include <assert.h>
33676 /* Override any gcc2 internal prototype to avoid an error. */
33681 /* We use char because int might match the return type of a gcc2
33682 builtin and then its argument prototype would still apply. */
33684 /* The GNU C library defines this for functions which it implements
33685 to always fail with ENOSYS. Some functions are actually named
33686 something starting with __ and the normal name is an alias. */
33687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33690 char (*f) () = $ac_func;
33699 return f != $ac_func;
33704 rm -f conftest.
$ac_objext conftest
$ac_exeext
33705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33706 (eval $ac_link) 2>conftest.er1
33708 grep -v '^ *+' conftest.er1
>conftest.err
33710 cat conftest.err
>&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } &&
33713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33715 (eval $ac_try) 2>&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); }; } &&
33719 { ac_try
='test -s conftest$ac_exeext'
33720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33721 (eval $ac_try) 2>&5
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); }; }; then
33725 eval "$as_ac_var=yes"
33727 echo "$as_me: failed program was:" >&5
33728 sed 's/^/| /' conftest.
$ac_ext >&5
33730 eval "$as_ac_var=no"
33732 rm -f conftest.err conftest.
$ac_objext \
33733 conftest
$ac_exeext conftest.
$ac_ext
33735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33737 if test `eval echo '${'$as_ac_var'}'` = yes; then
33738 cat >>confdefs.h
<<_ACEOF
33739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33741 cat >>confdefs.h
<<\_ACEOF
33742 #define HAVE_DLERROR 1
33747 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33748 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33749 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33752 ac_check_lib_save_LIBS
=$LIBS
33754 cat >conftest.
$ac_ext <<_ACEOF
33757 cat confdefs.h
>>conftest.
$ac_ext
33758 cat >>conftest.
$ac_ext <<_ACEOF
33759 /* end confdefs.h. */
33761 /* Override any gcc2 internal prototype to avoid an error. */
33765 /* We use char because int might match the return type of a gcc2
33766 builtin and then its argument prototype would still apply. */
33776 rm -f conftest.
$ac_objext conftest
$ac_exeext
33777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33778 (eval $ac_link) 2>conftest.er1
33780 grep -v '^ *+' conftest.er1
>conftest.err
33782 cat conftest.err
>&5
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); } &&
33785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; } &&
33791 { ac_try
='test -s conftest$ac_exeext'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; }; then
33797 ac_cv_lib_dl_dlerror
=yes
33799 echo "$as_me: failed program was:" >&5
33800 sed 's/^/| /' conftest.
$ac_ext >&5
33802 ac_cv_lib_dl_dlerror
=no
33804 rm -f conftest.err conftest.
$ac_objext \
33805 conftest
$ac_exeext conftest.
$ac_ext
33806 LIBS
=$ac_check_lib_save_LIBS
33808 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33809 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33810 if test $ac_cv_lib_dl_dlerror = yes; then
33811 cat >>confdefs.h
<<\_ACEOF
33812 #define HAVE_DLERROR 1
33825 if test "$HAVE_DL_FUNCS" = 0; then
33826 if test "$HAVE_SHL_FUNCS" = 0; then
33827 if test "$USE_UNIX" = 1; then
33828 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33829 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33830 wxUSE_DYNAMIC_LOADER
=no
33831 wxUSE_DYNLIB_CLASS
=no
33833 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
33834 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33841 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33842 cat >>confdefs.h
<<\_ACEOF
33843 #define wxUSE_DYNAMIC_LOADER 1
33847 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33848 cat >>confdefs.h
<<\_ACEOF
33849 #define wxUSE_DYNLIB_CLASS 1
33856 if test "$wxUSE_PLUGINS" = "yes" ; then
33857 if test "$wxUSE_SHARED" = "no" ; then
33858 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
33859 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33862 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33863 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
33864 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33867 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33868 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33869 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33872 if test "$wxUSE_PLUGINS" = "yes" ; then
33873 cat >>confdefs.h
<<\_ACEOF
33874 #define wxUSE_PLUGINS 1
33881 if test "$wxUSE_STL" = "yes"; then
33882 cat >>confdefs.h
<<\_ACEOF
33883 #define wxUSE_STL 1
33888 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33889 cat >>confdefs.h
<<\_ACEOF
33890 #define wxUSE_APPLE_IEEE 1
33895 if test "$wxUSE_TIMER" = "yes"; then
33896 cat >>confdefs.h
<<\_ACEOF
33897 #define wxUSE_TIMER 1
33903 if test "$wxUSE_SOUND" = "yes"; then
33904 if test "$USE_UNIX" = "1" ; then
33906 for ac_header
in sys
/soundcard.h
33908 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33910 echo "$as_me:$LINENO: checking for $ac_header" >&5
33911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33913 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33918 # Is the header compilable?
33919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33921 cat >conftest.
$ac_ext <<_ACEOF
33924 cat confdefs.h
>>conftest.
$ac_ext
33925 cat >>conftest.
$ac_ext <<_ACEOF
33926 /* end confdefs.h. */
33927 $ac_includes_default
33928 #include <$ac_header>
33930 rm -f conftest.
$ac_objext
33931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33932 (eval $ac_compile) 2>conftest.er1
33934 grep -v '^ *+' conftest.er1
>conftest.err
33936 cat conftest.err
>&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } &&
33939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; } &&
33945 { ac_try
='test -s conftest.$ac_objext'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; }; then
33951 ac_header_compiler
=yes
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.
$ac_ext >&5
33956 ac_header_compiler
=no
33958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33960 echo "${ECHO_T}$ac_header_compiler" >&6
33962 # Is the header present?
33963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33965 cat >conftest.
$ac_ext <<_ACEOF
33968 cat confdefs.h
>>conftest.
$ac_ext
33969 cat >>conftest.
$ac_ext <<_ACEOF
33970 /* end confdefs.h. */
33971 #include <$ac_header>
33973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33976 grep -v '^ *+' conftest.er1
>conftest.err
33978 cat conftest.err
>&5
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); } >/dev
/null
; then
33981 if test -s conftest.err
; then
33982 ac_cpp_err
=$ac_c_preproc_warn_flag
33983 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33990 if test -z "$ac_cpp_err"; then
33991 ac_header_preproc
=yes
33993 echo "$as_me: failed program was:" >&5
33994 sed 's/^/| /' conftest.
$ac_ext >&5
33996 ac_header_preproc
=no
33998 rm -f conftest.err conftest.
$ac_ext
33999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34000 echo "${ECHO_T}$ac_header_preproc" >&6
34002 # So? What about this header?
34003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34009 ac_header_preproc
=yes
34012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34026 ## ----------------------------------------- ##
34027 ## Report this to wx-dev@lists.wxwidgets.org ##
34028 ## ----------------------------------------- ##
34031 sed "s/^/$as_me: WARNING: /" >&2
34034 echo "$as_me:$LINENO: checking for $ac_header" >&5
34035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34037 echo $ECHO_N "(cached) $ECHO_C" >&6
34039 eval "$as_ac_Header=\$ac_header_preproc"
34041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34046 cat >>confdefs.h
<<_ACEOF
34047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34055 if test "$wxUSE_LIBSDL" != "no"; then
34057 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34058 if test "${with_sdl_prefix+set}" = set; then
34059 withval
="$with_sdl_prefix"
34060 sdl_prefix
="$withval"
34065 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34066 if test "${with_sdl_exec_prefix+set}" = set; then
34067 withval
="$with_sdl_exec_prefix"
34068 sdl_exec_prefix
="$withval"
34072 # Check whether --enable-sdltest or --disable-sdltest was given.
34073 if test "${enable_sdltest+set}" = set; then
34074 enableval
="$enable_sdltest"
34080 if test x
$sdl_exec_prefix != x
; then
34081 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34082 if test x
${SDL_CONFIG+set} != xset
; then
34083 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34086 if test x
$sdl_prefix != x
; then
34087 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34088 if test x
${SDL_CONFIG+set} != xset
; then
34089 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34094 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34095 # Extract the first word of "sdl-config", so it can be a program name with args.
34096 set dummy sdl
-config; ac_word
=$2
34097 echo "$as_me:$LINENO: checking for $ac_word" >&5
34098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34099 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34100 echo $ECHO_N "(cached) $ECHO_C" >&6
34102 case $SDL_CONFIG in
34104 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34108 for as_dir
in $PATH
34111 test -z "$as_dir" && as_dir
=.
34112 for ac_exec_ext
in '' $ac_executable_extensions; do
34113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34114 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34121 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34125 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34127 if test -n "$SDL_CONFIG"; then
34128 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34129 echo "${ECHO_T}$SDL_CONFIG" >&6
34131 echo "$as_me:$LINENO: result: no" >&5
34132 echo "${ECHO_T}no" >&6
34135 min_sdl_version
=1.2.0
34136 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34137 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34139 if test "$SDL_CONFIG" = "no" ; then
34142 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34143 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34145 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34147 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34149 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34151 if test "x$enable_sdltest" = "xyes" ; then
34152 ac_save_CFLAGS
="$CFLAGS"
34153 ac_save_LIBS
="$LIBS"
34154 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34155 LIBS
="$LIBS $SDL_LIBS"
34157 if test "$cross_compiling" = yes; then
34158 echo $ac_n "cross compiling; assumed OK... $ac_c"
34160 cat >conftest.
$ac_ext <<_ACEOF
34163 cat confdefs.h
>>conftest.
$ac_ext
34164 cat >>conftest.
$ac_ext <<_ACEOF
34165 /* end confdefs.h. */
34168 #include <stdlib.h>
34169 #include <string.h>
34173 my_strdup (char *str)
34179 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34180 strcpy (new_str, str);
34188 int main (int argc, char *argv[])
34190 int major, minor, micro;
34193 /* This hangs on some systems (?)
34194 system ("touch conf.sdltest");
34196 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34198 /* HP/UX 9 (%@#!) writes to sscanf strings */
34199 tmp_version = my_strdup("$min_sdl_version");
34200 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34201 printf("%s, bad version string\n", "$min_sdl_version");
34205 if (($sdl_major_version > major) ||
34206 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34207 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34213 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34214 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34215 printf("*** best to upgrade to the required version.\n");
34216 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34217 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34218 printf("*** config.cache before re-running configure\n");
34225 rm -f conftest
$ac_exeext
34226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34227 (eval $ac_link) 2>&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; }; then
34238 echo "$as_me: program exited with status $ac_status" >&5
34239 echo "$as_me: failed program was:" >&5
34240 sed 's/^/| /' conftest.
$ac_ext >&5
34242 ( exit $ac_status )
34245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34247 CFLAGS
="$ac_save_CFLAGS"
34248 LIBS
="$ac_save_LIBS"
34251 if test "x$no_sdl" = x
; then
34252 echo "$as_me:$LINENO: result: yes" >&5
34253 echo "${ECHO_T}yes" >&6
34255 EXTRALIBS_SDL
="$SDL_LIBS"
34256 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34257 cat >>confdefs.h
<<\_ACEOF
34258 #define wxUSE_LIBSDL 1
34263 echo "$as_me:$LINENO: result: no" >&5
34264 echo "${ECHO_T}no" >&6
34265 if test "$SDL_CONFIG" = "no" ; then
34266 echo "*** The sdl-config script installed by SDL could not be found"
34267 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34268 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34269 echo "*** full path to sdl-config."
34271 if test -f conf.sdltest
; then
34274 echo "*** Could not run SDL test program, checking why..."
34275 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34276 LIBS
="$LIBS $SDL_LIBS"
34277 cat >conftest.
$ac_ext <<_ACEOF
34280 cat confdefs.h
>>conftest.
$ac_ext
34281 cat >>conftest.
$ac_ext <<_ACEOF
34282 /* end confdefs.h. */
34287 int main(int argc, char *argv[])
34290 #define main K_and_R_C_main
34300 rm -f conftest.
$ac_objext conftest
$ac_exeext
34301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34302 (eval $ac_link) 2>conftest.er1
34304 grep -v '^ *+' conftest.er1
>conftest.err
34306 cat conftest.err
>&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } &&
34309 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34311 (eval $ac_try) 2>&5
34313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314 (exit $ac_status); }; } &&
34315 { ac_try
='test -s conftest$ac_exeext'
34316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34317 (eval $ac_try) 2>&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); }; }; then
34321 echo "*** The test program compiled, but did not run. This usually means"
34322 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34323 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34324 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34325 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34326 echo "*** is required on your system"
34328 echo "*** If you have an old version installed, it is best to remove it, although"
34329 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34331 echo "$as_me: failed program was:" >&5
34332 sed 's/^/| /' conftest.
$ac_ext >&5
34334 echo "*** The test program failed to compile or link. See the file config.log for the"
34335 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34336 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34337 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34339 rm -f conftest.err conftest.
$ac_objext \
34340 conftest
$ac_exeext conftest.
$ac_ext
34341 CFLAGS
="$ac_save_CFLAGS"
34342 LIBS
="$ac_save_LIBS"
34353 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34359 cat >>confdefs.h
<<\_ACEOF
34360 #define wxUSE_SOUND 1
34363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34366 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34367 cat >>confdefs.h
<<\_ACEOF
34368 #define wxUSE_CMDLINE_PARSER 1
34373 if test "$wxUSE_STOPWATCH" = "yes"; then
34374 cat >>confdefs.h
<<\_ACEOF
34375 #define wxUSE_STOPWATCH 1
34380 if test "$wxUSE_DATETIME" = "yes"; then
34381 cat >>confdefs.h
<<\_ACEOF
34382 #define wxUSE_DATETIME 1
34387 if test "$wxUSE_FILE" = "yes"; then
34388 cat >>confdefs.h
<<\_ACEOF
34389 #define wxUSE_FILE 1
34394 if test "$wxUSE_FFILE" = "yes"; then
34395 cat >>confdefs.h
<<\_ACEOF
34396 #define wxUSE_FFILE 1
34401 if test "$wxUSE_FILESYSTEM" = "yes"; then
34402 cat >>confdefs.h
<<\_ACEOF
34403 #define wxUSE_FILESYSTEM 1
34408 if test "$wxUSE_FS_ZIP" = "yes"; then
34409 cat >>confdefs.h
<<\_ACEOF
34410 #define wxUSE_FS_ZIP 1
34415 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34416 cat >>confdefs.h
<<\_ACEOF
34417 #define wxUSE_ZIPSTREAM 1
34422 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34423 cat >>confdefs.h
<<\_ACEOF
34424 #define wxUSE_ON_FATAL_EXCEPTION 1
34429 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34430 cat >>confdefs.h
<<\_ACEOF
34431 #define wxUSE_SNGLINST_CHECKER 1
34436 if test "$wxUSE_BUSYINFO" = "yes"; then
34437 cat >>confdefs.h
<<\_ACEOF
34438 #define wxUSE_BUSYINFO 1
34443 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34444 cat >>confdefs.h
<<\_ACEOF
34445 #define wxUSE_STD_IOSTREAM 1
34450 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34451 cat >>confdefs.h
<<\_ACEOF
34452 #define wxUSE_TEXTBUFFER 1
34457 if test "$wxUSE_TEXTFILE" = "yes"; then
34458 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34459 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34460 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34462 cat >>confdefs.h
<<\_ACEOF
34463 #define wxUSE_TEXTFILE 1
34469 if test "$wxUSE_CONFIG" = "yes" ; then
34470 if test "$wxUSE_TEXTFILE" != "yes"; then
34471 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34472 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34474 cat >>confdefs.h
<<\_ACEOF
34475 #define wxUSE_CONFIG 1
34478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34482 if test "$wxUSE_INTL" = "yes" ; then
34483 if test "$wxUSE_FILE" != "yes"; then
34484 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34485 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34487 cat >>confdefs.h
<<\_ACEOF
34488 #define wxUSE_INTL 1
34491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34492 GUIDIST
="$GUIDIST INTL_DIST"
34496 if test "$wxUSE_LOG" = "yes"; then
34497 cat >>confdefs.h
<<\_ACEOF
34498 #define wxUSE_LOG 1
34502 if test "$wxUSE_LOGGUI" = "yes"; then
34503 cat >>confdefs.h
<<\_ACEOF
34504 #define wxUSE_LOGGUI 1
34509 if test "$wxUSE_LOGWINDOW" = "yes"; then
34510 cat >>confdefs.h
<<\_ACEOF
34511 #define wxUSE_LOGWINDOW 1
34516 if test "$wxUSE_LOGDIALOG" = "yes"; then
34517 cat >>confdefs.h
<<\_ACEOF
34518 #define wxUSE_LOG_DIALOG 1
34524 if test "$wxUSE_LONGLONG" = "yes"; then
34525 cat >>confdefs.h
<<\_ACEOF
34526 #define wxUSE_LONGLONG 1
34531 if test "$wxUSE_GEOMETRY" = "yes"; then
34532 cat >>confdefs.h
<<\_ACEOF
34533 #define wxUSE_GEOMETRY 1
34538 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34539 cat >>confdefs.h
<<\_ACEOF
34540 #define wxUSE_DIALUP_MANAGER 1
34543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34546 if test "$wxUSE_STREAMS" = "yes" ; then
34547 cat >>confdefs.h
<<\_ACEOF
34548 #define wxUSE_STREAMS 1
34554 if test "$wxUSE_DATETIME" = "yes"; then
34556 for ac_func
in strptime
34558 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34559 echo "$as_me:$LINENO: checking for $ac_func" >&5
34560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34561 if eval "test \"\${$as_ac_var+set}\" = set"; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 cat >conftest.
$ac_ext <<_ACEOF
34567 cat confdefs.h
>>conftest.
$ac_ext
34568 cat >>conftest.
$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34572 #define $ac_func innocuous_$ac_func
34574 /* System header to define __stub macros and hopefully few prototypes,
34575 which can conflict with char $ac_func (); below.
34576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34577 <limits.h> exists even on freestanding compilers. */
34580 # include <limits.h>
34582 # include <assert.h>
34587 /* Override any gcc2 internal prototype to avoid an error. */
34592 /* We use char because int might match the return type of a gcc2
34593 builtin and then its argument prototype would still apply. */
34595 /* The GNU C library defines this for functions which it implements
34596 to always fail with ENOSYS. Some functions are actually named
34597 something starting with __ and the normal name is an alias. */
34598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34601 char (*f) () = $ac_func;
34610 return f != $ac_func;
34615 rm -f conftest.
$ac_objext conftest
$ac_exeext
34616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34617 (eval $ac_link) 2>conftest.er1
34619 grep -v '^ *+' conftest.er1
>conftest.err
34621 cat conftest.err
>&5
34622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34623 (exit $ac_status); } &&
34624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34626 (eval $ac_try) 2>&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); }; } &&
34630 { ac_try
='test -s conftest$ac_exeext'
34631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34632 (eval $ac_try) 2>&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); }; }; then
34636 eval "$as_ac_var=yes"
34638 echo "$as_me: failed program was:" >&5
34639 sed 's/^/| /' conftest.
$ac_ext >&5
34641 eval "$as_ac_var=no"
34643 rm -f conftest.err conftest.
$ac_objext \
34644 conftest
$ac_exeext conftest.
$ac_ext
34646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34648 if test `eval echo '${'$as_ac_var'}'` = yes; then
34649 cat >>confdefs.h
<<_ACEOF
34650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34657 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34658 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34659 if test "${wx_cv_var_timezone+set}" = set; then
34660 echo $ECHO_N "(cached) $ECHO_C" >&6
34663 cat >conftest.
$ac_ext <<_ACEOF
34666 cat confdefs.h
>>conftest.
$ac_ext
34667 cat >>conftest.
$ac_ext <<_ACEOF
34668 /* end confdefs.h. */
34683 rm -f conftest.
$ac_objext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34685 (eval $ac_compile) 2>conftest.er1
34687 grep -v '^ *+' conftest.er1
>conftest.err
34689 cat conftest.err
>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try
='test -s conftest.$ac_objext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34705 wx_cv_var_timezone
=timezone
34708 echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.
$ac_ext >&5
34712 cat >conftest.
$ac_ext <<_ACEOF
34715 cat confdefs.h
>>conftest.
$ac_ext
34716 cat >>conftest.
$ac_ext <<_ACEOF
34717 /* end confdefs.h. */
34732 rm -f conftest.
$ac_objext
34733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34734 (eval $ac_compile) 2>conftest.er1
34736 grep -v '^ *+' conftest.er1
>conftest.err
34738 cat conftest.err
>&5
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); } &&
34741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; } &&
34747 { ac_try
='test -s conftest.$ac_objext'
34748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34749 (eval $ac_try) 2>&5
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); }; }; then
34754 wx_cv_var_timezone
=_timezone
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.
$ac_ext >&5
34761 cat >conftest.
$ac_ext <<_ACEOF
34764 cat confdefs.h
>>conftest.
$ac_ext
34765 cat >>conftest.
$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34781 rm -f conftest.
$ac_objext
34782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34783 (eval $ac_compile) 2>conftest.er1
34785 grep -v '^ *+' conftest.er1
>conftest.err
34787 cat conftest.err
>&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
34790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try
='test -s conftest.$ac_objext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34803 wx_cv_var_timezone
=__timezone
34806 echo "$as_me: failed program was:" >&5
34807 sed 's/^/| /' conftest.
$ac_ext >&5
34810 if test "$USE_DOS" = 0 ; then
34811 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
34812 echo "$as_me: WARNING: no timezone variable" >&2;}
34817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34829 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
34830 echo "${ECHO_T}$wx_cv_var_timezone" >&6
34832 if test "x$wx_cv_var_timezone" != x
; then
34833 cat >>confdefs.h
<<_ACEOF
34834 #define WX_TIMEZONE $wx_cv_var_timezone
34840 for ac_func
in localtime
34842 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34843 echo "$as_me:$LINENO: checking for $ac_func" >&5
34844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34845 if eval "test \"\${$as_ac_var+set}\" = set"; then
34846 echo $ECHO_N "(cached) $ECHO_C" >&6
34848 cat >conftest.
$ac_ext <<_ACEOF
34851 cat confdefs.h
>>conftest.
$ac_ext
34852 cat >>conftest.
$ac_ext <<_ACEOF
34853 /* end confdefs.h. */
34854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34856 #define $ac_func innocuous_$ac_func
34858 /* System header to define __stub macros and hopefully few prototypes,
34859 which can conflict with char $ac_func (); below.
34860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34861 <limits.h> exists even on freestanding compilers. */
34864 # include <limits.h>
34866 # include <assert.h>
34871 /* Override any gcc2 internal prototype to avoid an error. */
34876 /* We use char because int might match the return type of a gcc2
34877 builtin and then its argument prototype would still apply. */
34879 /* The GNU C library defines this for functions which it implements
34880 to always fail with ENOSYS. Some functions are actually named
34881 something starting with __ and the normal name is an alias. */
34882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34885 char (*f) () = $ac_func;
34894 return f != $ac_func;
34899 rm -f conftest.
$ac_objext conftest
$ac_exeext
34900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34901 (eval $ac_link) 2>conftest.er1
34903 grep -v '^ *+' conftest.er1
>conftest.err
34905 cat conftest.err
>&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } &&
34908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try
='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.
$ac_ext >&5
34925 eval "$as_ac_var=no"
34927 rm -f conftest.err conftest.
$ac_objext \
34928 conftest
$ac_exeext conftest.
$ac_ext
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h
<<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34941 if test "$ac_cv_func_localtime" = "yes"; then
34942 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
34943 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
34944 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
34945 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 cat >conftest.
$ac_ext <<_ACEOF
34951 cat confdefs.h
>>conftest.
$ac_ext
34952 cat >>conftest.
$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34968 rm -f conftest.
$ac_objext
34969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34970 (eval $ac_compile) 2>conftest.er1
34972 grep -v '^ *+' conftest.er1
>conftest.err
34974 cat conftest.err
>&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } &&
34977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34979 (eval $ac_try) 2>&5
34981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34982 (exit $ac_status); }; } &&
34983 { ac_try
='test -s conftest.$ac_objext'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; }; then
34990 wx_cv_struct_tm_has_gmtoff
=yes
34993 echo "$as_me: failed program was:" >&5
34994 sed 's/^/| /' conftest.
$ac_ext >&5
34996 wx_cv_struct_tm_has_gmtoff
=no
34999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35002 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35003 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35006 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35007 cat >>confdefs.h
<<\_ACEOF
35008 #define WX_GMTOFF_IN_TM 1
35015 for ac_func
in gettimeofday ftime
35017 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35018 echo "$as_me:$LINENO: checking for $ac_func" >&5
35019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35020 if eval "test \"\${$as_ac_var+set}\" = set"; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35023 cat >conftest.
$ac_ext <<_ACEOF
35026 cat confdefs.h
>>conftest.
$ac_ext
35027 cat >>conftest.
$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35031 #define $ac_func innocuous_$ac_func
35033 /* System header to define __stub macros and hopefully few prototypes,
35034 which can conflict with char $ac_func (); below.
35035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35036 <limits.h> exists even on freestanding compilers. */
35039 # include <limits.h>
35041 # include <assert.h>
35046 /* Override any gcc2 internal prototype to avoid an error. */
35051 /* We use char because int might match the return type of a gcc2
35052 builtin and then its argument prototype would still apply. */
35054 /* The GNU C library defines this for functions which it implements
35055 to always fail with ENOSYS. Some functions are actually named
35056 something starting with __ and the normal name is an alias. */
35057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35060 char (*f) () = $ac_func;
35069 return f != $ac_func;
35074 rm -f conftest.
$ac_objext conftest
$ac_exeext
35075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35076 (eval $ac_link) 2>conftest.er1
35078 grep -v '^ *+' conftest.er1
>conftest.err
35080 cat conftest.err
>&5
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); } &&
35083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085 (eval $ac_try) 2>&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); }; } &&
35089 { ac_try
='test -s conftest$ac_exeext'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 eval "$as_ac_var=yes"
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.
$ac_ext >&5
35100 eval "$as_ac_var=no"
35102 rm -f conftest.err conftest.
$ac_objext \
35103 conftest
$ac_exeext conftest.
$ac_ext
35105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35107 if test `eval echo '${'$as_ac_var'}'` = yes; then
35108 cat >>confdefs.h
<<_ACEOF
35109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35116 if test "$ac_cv_func_gettimeofday" = "yes"; then
35117 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35118 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35119 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35120 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 ac_cpp
='$CXXCPP $CPPFLAGS'
35127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35132 cat >conftest.
$ac_ext <<_ACEOF
35135 cat confdefs.h
>>conftest.
$ac_ext
35136 cat >>conftest.
$ac_ext <<_ACEOF
35137 /* end confdefs.h. */
35139 #include <sys/time.h>
35140 #include <unistd.h>
35147 gettimeofday(&tv, NULL);
35153 rm -f conftest.
$ac_objext
35154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35155 (eval $ac_compile) 2>conftest.er1
35157 grep -v '^ *+' conftest.er1
>conftest.err
35159 cat conftest.err
>&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } &&
35162 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35164 (eval $ac_try) 2>&5
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); }; } &&
35168 { ac_try
='test -s conftest.$ac_objext'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; }; then
35174 wx_cv_func_gettimeofday_has_2_args
=yes
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.
$ac_ext >&5
35179 cat >conftest.
$ac_ext <<_ACEOF
35182 cat confdefs.h
>>conftest.
$ac_ext
35183 cat >>conftest.
$ac_ext <<_ACEOF
35184 /* end confdefs.h. */
35186 #include <sys/time.h>
35187 #include <unistd.h>
35200 rm -f conftest.
$ac_objext
35201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35202 (eval $ac_compile) 2>conftest.er1
35204 grep -v '^ *+' conftest.er1
>conftest.err
35206 cat conftest.err
>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } &&
35209 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35211 (eval $ac_try) 2>&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); }; } &&
35215 { ac_try
='test -s conftest.$ac_objext'
35216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35217 (eval $ac_try) 2>&5
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); }; }; then
35221 wx_cv_func_gettimeofday_has_2_args
=no
35223 echo "$as_me: failed program was:" >&5
35224 sed 's/^/| /' conftest.
$ac_ext >&5
35227 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35228 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35229 wx_cv_func_gettimeofday_has_2_args
=unknown
35233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35238 ac_cpp
='$CPP $CPPFLAGS'
35239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35245 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35246 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35248 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35249 cat >>confdefs.h
<<\_ACEOF
35250 #define WX_GETTIMEOFDAY_NO_TZ 1
35256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35260 if test "$wxUSE_SOCKETS" = "yes"; then
35261 if test "$wxUSE_MGL" = "1"; then
35262 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35263 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35268 if test "$wxUSE_SOCKETS" = "yes"; then
35269 if test "$TOOLKIT" != "MSW"; then
35270 echo "$as_me:$LINENO: checking for socket" >&5
35271 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35272 if test "${ac_cv_func_socket+set}" = set; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 cat >conftest.
$ac_ext <<_ACEOF
35278 cat confdefs.h
>>conftest.
$ac_ext
35279 cat >>conftest.
$ac_ext <<_ACEOF
35280 /* end confdefs.h. */
35281 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35283 #define socket innocuous_socket
35285 /* System header to define __stub macros and hopefully few prototypes,
35286 which can conflict with char socket (); below.
35287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35288 <limits.h> exists even on freestanding compilers. */
35291 # include <limits.h>
35293 # include <assert.h>
35298 /* Override any gcc2 internal prototype to avoid an error. */
35303 /* We use char because int might match the return type of a gcc2
35304 builtin and then its argument prototype would still apply. */
35306 /* The GNU C library defines this for functions which it implements
35307 to always fail with ENOSYS. Some functions are actually named
35308 something starting with __ and the normal name is an alias. */
35309 #if defined (__stub_socket) || defined (__stub___socket)
35312 char (*f) () = socket;
35321 return f != socket;
35326 rm -f conftest.
$ac_objext conftest
$ac_exeext
35327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35328 (eval $ac_link) 2>conftest.er1
35330 grep -v '^ *+' conftest.er1
>conftest.err
35332 cat conftest.err
>&5
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); } &&
35335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try
='test -s conftest$ac_exeext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 ac_cv_func_socket
=yes
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.
$ac_ext >&5
35352 ac_cv_func_socket
=no
35354 rm -f conftest.err conftest.
$ac_objext \
35355 conftest
$ac_exeext conftest.
$ac_ext
35357 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35358 echo "${ECHO_T}$ac_cv_func_socket" >&6
35359 if test $ac_cv_func_socket = yes; then
35363 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35364 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35365 if test "${ac_cv_lib_socket_socket+set}" = set; then
35366 echo $ECHO_N "(cached) $ECHO_C" >&6
35368 ac_check_lib_save_LIBS
=$LIBS
35369 LIBS
="-lsocket $LIBS"
35370 cat >conftest.
$ac_ext <<_ACEOF
35373 cat confdefs.h
>>conftest.
$ac_ext
35374 cat >>conftest.
$ac_ext <<_ACEOF
35375 /* end confdefs.h. */
35377 /* Override any gcc2 internal prototype to avoid an error. */
35381 /* We use char because int might match the return type of a gcc2
35382 builtin and then its argument prototype would still apply. */
35392 rm -f conftest.
$ac_objext conftest
$ac_exeext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35394 (eval $ac_link) 2>conftest.er1
35396 grep -v '^ *+' conftest.er1
>conftest.err
35398 cat conftest.err
>&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; } &&
35407 { ac_try
='test -s conftest$ac_exeext'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; }; then
35413 ac_cv_lib_socket_socket
=yes
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.
$ac_ext >&5
35418 ac_cv_lib_socket_socket
=no
35420 rm -f conftest.err conftest.
$ac_objext \
35421 conftest
$ac_exeext conftest.
$ac_ext
35422 LIBS
=$ac_check_lib_save_LIBS
35424 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35425 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35426 if test $ac_cv_lib_socket_socket = yes; then
35427 if test "$INET_LINK" != " -lsocket"; then
35428 INET_LINK
="$INET_LINK -lsocket"
35432 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35433 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35446 if test "$wxUSE_SOCKETS" = "yes" ; then
35447 if test "$TOOLKIT" != "MSW"; then
35449 ac_cpp
='$CXXCPP $CPPFLAGS'
35450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35454 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35455 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35456 if test "${wx_cv_type_getsockname3+set}" = set; then
35457 echo $ECHO_N "(cached) $ECHO_C" >&6
35460 cat >conftest.
$ac_ext <<_ACEOF
35463 cat confdefs.h
>>conftest.
$ac_ext
35464 cat >>conftest.
$ac_ext <<_ACEOF
35465 /* end confdefs.h. */
35467 #include <sys/types.h>
35468 #include <sys/socket.h>
35475 getsockname(0, 0, &len);
35481 rm -f conftest.
$ac_objext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35483 (eval $ac_compile) 2>conftest.er1
35485 grep -v '^ *+' conftest.er1
>conftest.err
35487 cat conftest.err
>&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } &&
35490 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; } &&
35496 { ac_try
='test -s conftest.$ac_objext'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; }; then
35502 wx_cv_type_getsockname3
=socklen_t
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.
$ac_ext >&5
35508 CFLAGS_OLD
="$CFLAGS"
35509 if test "$GCC" = yes ; then
35510 CFLAGS
="$CFLAGS -Werror"
35513 cat >conftest.
$ac_ext <<_ACEOF
35516 cat confdefs.h
>>conftest.
$ac_ext
35517 cat >>conftest.
$ac_ext <<_ACEOF
35518 /* end confdefs.h. */
35520 #include <sys/types.h>
35521 #include <sys/socket.h>
35528 getsockname(0, 0, &len);
35534 rm -f conftest.
$ac_objext
35535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35536 (eval $ac_compile) 2>conftest.er1
35538 grep -v '^ *+' conftest.er1
>conftest.err
35540 cat conftest.err
>&5
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); } &&
35543 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; } &&
35549 { ac_try
='test -s conftest.$ac_objext'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; }; then
35555 wx_cv_type_getsockname3
=size_t
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.
$ac_ext >&5
35560 cat >conftest.
$ac_ext <<_ACEOF
35563 cat confdefs.h
>>conftest.
$ac_ext
35564 cat >>conftest.
$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35567 #include <sys/types.h>
35568 #include <sys/socket.h>
35575 getsockname(0, 0, &len);
35581 rm -f conftest.
$ac_objext
35582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35583 (eval $ac_compile) 2>conftest.er1
35585 grep -v '^ *+' conftest.er1
>conftest.err
35587 cat conftest.err
>&5
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); } &&
35590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35592 (eval $ac_try) 2>&5
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; } &&
35596 { ac_try
='test -s conftest.$ac_objext'
35597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35598 (eval $ac_try) 2>&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); }; }; then
35602 wx_cv_type_getsockname3
=int
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.
$ac_ext >&5
35607 wx_cv_type_getsockname3
=unknown
35610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35615 CFLAGS
="$CFLAGS_OLD"
35619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35622 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35623 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35625 if test "$wx_cv_type_getsockname3" = "unknown"; then
35627 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35628 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35630 cat >>confdefs.h
<<_ACEOF
35631 #define SOCKLEN_T $wx_cv_type_getsockname3
35636 ac_cpp
='$CPP $CPPFLAGS'
35637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35644 if test "$wxUSE_SOCKETS" = "yes" ; then
35645 cat >>confdefs.h
<<\_ACEOF
35646 #define wxUSE_SOCKETS 1
35649 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35652 if test "$wxUSE_PROTOCOL" = "yes"; then
35653 if test "$wxUSE_SOCKETS" != "yes"; then
35654 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35655 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35660 if test "$wxUSE_PROTOCOL" = "yes"; then
35661 cat >>confdefs.h
<<\_ACEOF
35662 #define wxUSE_PROTOCOL 1
35666 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35667 cat >>confdefs.h
<<\_ACEOF
35668 #define wxUSE_PROTOCOL_HTTP 1
35672 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35673 cat >>confdefs.h
<<\_ACEOF
35674 #define wxUSE_PROTOCOL_FTP 1
35678 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35679 cat >>confdefs.h
<<\_ACEOF
35680 #define wxUSE_PROTOCOL_FILE 1
35685 if test "$wxUSE_FS_INET" = "yes"; then
35686 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35687 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35692 if test "$wxUSE_URL" = "yes"; then
35693 if test "$wxUSE_PROTOCOL" != "yes"; then
35694 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35695 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35698 if test "$wxUSE_URL" = "yes"; then
35699 cat >>confdefs.h
<<\_ACEOF
35700 #define wxUSE_URL 1
35706 if test "$wxUSE_FS_INET" = "yes"; then
35707 cat >>confdefs.h
<<\_ACEOF
35708 #define wxUSE_FS_INET 1
35714 if test "$wxUSE_GUI" = "yes"; then
35716 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35717 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35718 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35722 if test "$TOOLKIT" != "MSW"; then
35723 if test "$wxUSE_JOYSTICK" = "yes"; then
35725 for ac_header
in linux
/joystick.h
35727 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35729 echo "$as_me:$LINENO: checking for $ac_header" >&5
35730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35732 echo $ECHO_N "(cached) $ECHO_C" >&6
35734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35737 # Is the header compilable?
35738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35740 cat >conftest.
$ac_ext <<_ACEOF
35743 cat confdefs.h
>>conftest.
$ac_ext
35744 cat >>conftest.
$ac_ext <<_ACEOF
35745 /* end confdefs.h. */
35746 $ac_includes_default
35747 #include <$ac_header>
35749 rm -f conftest.
$ac_objext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35751 (eval $ac_compile) 2>conftest.er1
35753 grep -v '^ *+' conftest.er1
>conftest.err
35755 cat conftest.err
>&5
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); } &&
35758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35760 (eval $ac_try) 2>&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); }; } &&
35764 { ac_try
='test -s conftest.$ac_objext'
35765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35766 (eval $ac_try) 2>&5
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); }; }; then
35770 ac_header_compiler
=yes
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.
$ac_ext >&5
35775 ac_header_compiler
=no
35777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35779 echo "${ECHO_T}$ac_header_compiler" >&6
35781 # Is the header present?
35782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35784 cat >conftest.
$ac_ext <<_ACEOF
35787 cat confdefs.h
>>conftest.
$ac_ext
35788 cat >>conftest.
$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 #include <$ac_header>
35792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35795 grep -v '^ *+' conftest.er1
>conftest.err
35797 cat conftest.err
>&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } >/dev
/null
; then
35800 if test -s conftest.err
; then
35801 ac_cpp_err
=$ac_c_preproc_warn_flag
35802 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35809 if test -z "$ac_cpp_err"; then
35810 ac_header_preproc
=yes
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.
$ac_ext >&5
35815 ac_header_preproc
=no
35817 rm -f conftest.err conftest.
$ac_ext
35818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35819 echo "${ECHO_T}$ac_header_preproc" >&6
35821 # So? What about this header?
35822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35828 ac_header_preproc
=yes
35831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35845 ## ----------------------------------------- ##
35846 ## Report this to wx-dev@lists.wxwidgets.org ##
35847 ## ----------------------------------------- ##
35850 sed "s/^/$as_me: WARNING: /" >&2
35853 echo "$as_me:$LINENO: checking for $ac_header" >&5
35854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35856 echo $ECHO_N "(cached) $ECHO_C" >&6
35858 eval "$as_ac_Header=\$ac_header_preproc"
35860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35865 cat >>confdefs.h
<<_ACEOF
35866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35873 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
35875 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
35876 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35881 if test "$wxUSE_JOYSTICK" = "yes"; then
35882 cat >>confdefs.h
<<\_ACEOF
35883 #define wxUSE_JOYSTICK 1
35886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35892 if test "$wxUSE_FONTMAP" = "yes" ; then
35893 cat >>confdefs.h
<<\_ACEOF
35894 #define wxUSE_FONTMAP 1
35899 if test "$wxUSE_UNICODE" = "yes" ; then
35900 cat >>confdefs.h
<<\_ACEOF
35901 #define wxUSE_UNICODE 1
35905 if test "$USE_WIN32" != 1; then
35906 wxUSE_UNICODE_MSLU
=no
35909 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35910 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
35911 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
35912 if test "${ac_cv_lib_unicows_main+set}" = set; then
35913 echo $ECHO_N "(cached) $ECHO_C" >&6
35915 ac_check_lib_save_LIBS
=$LIBS
35916 LIBS
="-lunicows $LIBS"
35917 cat >conftest.
$ac_ext <<_ACEOF
35920 cat confdefs.h
>>conftest.
$ac_ext
35921 cat >>conftest.
$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35933 rm -f conftest.
$ac_objext conftest
$ac_exeext
35934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35935 (eval $ac_link) 2>conftest.er1
35937 grep -v '^ *+' conftest.er1
>conftest.err
35939 cat conftest.err
>&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); } &&
35942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; } &&
35948 { ac_try
='test -s conftest$ac_exeext'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; }; then
35954 ac_cv_lib_unicows_main
=yes
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.
$ac_ext >&5
35959 ac_cv_lib_unicows_main
=no
35961 rm -f conftest.err conftest.
$ac_objext \
35962 conftest
$ac_exeext conftest.
$ac_ext
35963 LIBS
=$ac_check_lib_save_LIBS
35965 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
35966 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
35967 if test $ac_cv_lib_unicows_main = yes; then
35969 cat >>confdefs.h
<<\_ACEOF
35970 #define wxUSE_UNICODE_MSLU 1
35976 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35977 Applications will only run on Windows NT/2000/XP!" >&5
35978 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35979 Applications will only run on Windows NT/2000/XP!" >&2;}
35980 wxUSE_UNICODE_MSLU
=no
35987 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
35988 cat >>confdefs.h
<<\_ACEOF
35989 #define wxUSE_EXPERIMENTAL_PRINTF 1
35995 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35996 cat >>confdefs.h
<<\_ACEOF
35997 #define wxUSE_POSTSCRIPT 1
36002 cat >>confdefs.h
<<\_ACEOF
36003 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36007 cat >>confdefs.h
<<\_ACEOF
36008 #define wxUSE_NORMALIZED_PS_FONTS 1
36013 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36014 cat >>confdefs.h
<<\_ACEOF
36015 #define wxUSE_CONSTRAINTS 1
36018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36021 if test "$wxUSE_MDI" = "yes"; then
36022 cat >>confdefs.h
<<\_ACEOF
36023 #define wxUSE_MDI 1
36027 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36028 cat >>confdefs.h
<<\_ACEOF
36029 #define wxUSE_MDI_ARCHITECTURE 1
36032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36036 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36037 cat >>confdefs.h
<<\_ACEOF
36038 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36042 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36047 if test "$wxUSE_HELP" = "yes"; then
36048 cat >>confdefs.h
<<\_ACEOF
36049 #define wxUSE_HELP 1
36052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36054 if test "$wxUSE_MSW" = 1; then
36055 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36056 cat >>confdefs.h
<<\_ACEOF
36057 #define wxUSE_MS_HTML_HELP 1
36063 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36064 if test "$wxUSE_HTML" = "yes"; then
36065 cat >>confdefs.h
<<\_ACEOF
36066 #define wxUSE_WXHTML_HELP 1
36070 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36071 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36072 wxUSE_WXHTML_HELP
=no
36077 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36078 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36079 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36080 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36082 cat >>confdefs.h
<<\_ACEOF
36083 #define wxUSE_PRINTING_ARCHITECTURE 1
36087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36090 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36091 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36092 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36093 { (exit 1); exit 1; }; }
36097 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36098 -o "$wxUSE_CLIPBOARD" = "yes" \
36099 -o "$wxUSE_OLE" = "yes" \
36100 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36102 for ac_header
in ole2.h
36104 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36106 echo "$as_me:$LINENO: checking for $ac_header" >&5
36107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36114 # Is the header compilable?
36115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36117 cat >conftest.
$ac_ext <<_ACEOF
36120 cat confdefs.h
>>conftest.
$ac_ext
36121 cat >>conftest.
$ac_ext <<_ACEOF
36122 /* end confdefs.h. */
36123 $ac_includes_default
36124 #include <$ac_header>
36126 rm -f conftest.
$ac_objext
36127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36128 (eval $ac_compile) 2>conftest.er1
36130 grep -v '^ *+' conftest.er1
>conftest.err
36132 cat conftest.err
>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } &&
36135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; } &&
36141 { ac_try
='test -s conftest.$ac_objext'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; }; then
36147 ac_header_compiler
=yes
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.
$ac_ext >&5
36152 ac_header_compiler
=no
36154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36156 echo "${ECHO_T}$ac_header_compiler" >&6
36158 # Is the header present?
36159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36161 cat >conftest.
$ac_ext <<_ACEOF
36164 cat confdefs.h
>>conftest.
$ac_ext
36165 cat >>conftest.
$ac_ext <<_ACEOF
36166 /* end confdefs.h. */
36167 #include <$ac_header>
36169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36172 grep -v '^ *+' conftest.er1
>conftest.err
36174 cat conftest.err
>&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); } >/dev
/null
; then
36177 if test -s conftest.err
; then
36178 ac_cpp_err
=$ac_c_preproc_warn_flag
36179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36186 if test -z "$ac_cpp_err"; then
36187 ac_header_preproc
=yes
36189 echo "$as_me: failed program was:" >&5
36190 sed 's/^/| /' conftest.
$ac_ext >&5
36192 ac_header_preproc
=no
36194 rm -f conftest.err conftest.
$ac_ext
36195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36196 echo "${ECHO_T}$ac_header_preproc" >&6
36198 # So? What about this header?
36199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36205 ac_header_preproc
=yes
36208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36222 ## ----------------------------------------- ##
36223 ## Report this to wx-dev@lists.wxwidgets.org ##
36224 ## ----------------------------------------- ##
36227 sed "s/^/$as_me: WARNING: /" >&2
36230 echo "$as_me:$LINENO: checking for $ac_header" >&5
36231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36233 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 eval "$as_ac_Header=\$ac_header_preproc"
36237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36242 cat >>confdefs.h
<<_ACEOF
36243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36251 if test "$ac_cv_header_ole2_h" = "yes" ; then
36252 if test "$GCC" = yes ; then
36256 ac_cpp
='$CXXCPP $CPPFLAGS'
36257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36262 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36263 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36264 cat >conftest.
$ac_ext <<_ACEOF
36267 cat confdefs.h
>>conftest.
$ac_ext
36268 cat >>conftest.
$ac_ext <<_ACEOF
36269 /* end confdefs.h. */
36270 #include <windows.h>
36280 rm -f conftest.
$ac_objext
36281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36282 (eval $ac_compile) 2>conftest.er1
36284 grep -v '^ *+' conftest.er1
>conftest.err
36286 cat conftest.err
>&5
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); } &&
36289 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; } &&
36295 { ac_try
='test -s conftest.$ac_objext'
36296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297 (eval $ac_try) 2>&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); }; }; then
36301 echo "$as_me:$LINENO: result: no" >&5
36302 echo "${ECHO_T}no" >&6
36304 echo "$as_me: failed program was:" >&5
36305 sed 's/^/| /' conftest.
$ac_ext >&5
36307 echo "$as_me:$LINENO: result: yes" >&5
36308 echo "${ECHO_T}yes" >&6
36309 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36313 ac_cpp
='$CPP $CPPFLAGS'
36314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36318 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36319 if test "$wxUSE_OLE" = "yes" ; then
36320 cat >>confdefs.h
<<\_ACEOF
36321 #define wxUSE_OLE 1
36327 if test "$wxUSE_DATAOBJ" = "yes" ; then
36328 cat >>confdefs.h
<<\_ACEOF
36329 #define wxUSE_DATAOBJ 1
36334 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36335 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36338 wxUSE_DRAG_AND_DROP
=no
36343 if test "$wxUSE_METAFILE" = "yes"; then
36344 cat >>confdefs.h
<<\_ACEOF
36345 #define wxUSE_METAFILE 1
36349 cat >>confdefs.h
<<\_ACEOF
36350 #define wxUSE_ENH_METAFILE 1
36356 if test "$wxUSE_IPC" = "yes"; then
36357 if test "$wxUSE_SOCKETS" != "yes"; then
36358 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36359 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36362 cat >>confdefs.h
<<\_ACEOF
36363 #define wxUSE_IPC 1
36368 if test "$wxUSE_CLIPBOARD" = "yes"; then
36369 if test "$wxUSE_MGL" = 1; then
36370 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36371 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36375 if test "$wxUSE_CLIPBOARD" = "yes"; then
36376 cat >>confdefs.h
<<\_ACEOF
36377 #define wxUSE_CLIPBOARD 1
36381 cat >>confdefs.h
<<\_ACEOF
36382 #define wxUSE_DATAOBJ 1
36388 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36389 if test "$wxUSE_GTK" = 1; then
36390 if test "$WXGTK12" != 1; then
36391 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36392 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36393 wxUSE_DRAG_AND_DROP
=no
36397 if test "$wxUSE_MOTIF" = 1; then
36398 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36399 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36400 wxUSE_DRAG_AND_DROP
=no
36403 if test "$wxUSE_X11" = 1; then
36404 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36405 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36406 wxUSE_DRAG_AND_DROP
=no
36409 if test "$wxUSE_MGL" = 1; then
36410 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36411 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36412 wxUSE_DRAG_AND_DROP
=no
36415 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36416 cat >>confdefs.h
<<\_ACEOF
36417 #define wxUSE_DRAG_AND_DROP 1
36424 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36428 if test "$wxUSE_SPLINES" = "yes" ; then
36429 cat >>confdefs.h
<<\_ACEOF
36430 #define wxUSE_SPLINES 1
36437 if test "$wxUSE_CONTROLS" = "yes"; then
36441 if test "$wxUSE_ACCEL" = "yes"; then
36442 cat >>confdefs.h
<<\_ACEOF
36443 #define wxUSE_ACCEL 1
36449 if test "$wxUSE_BUTTON" = "yes"; then
36450 cat >>confdefs.h
<<\_ACEOF
36451 #define wxUSE_BUTTON 1
36457 if test "$wxUSE_BMPBUTTON" = "yes"; then
36458 cat >>confdefs.h
<<\_ACEOF
36459 #define wxUSE_BMPBUTTON 1
36465 if test "$wxUSE_CALCTRL" = "yes"; then
36466 cat >>confdefs.h
<<\_ACEOF
36467 #define wxUSE_CALENDARCTRL 1
36471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36474 if test "$wxUSE_CARET" = "yes"; then
36475 cat >>confdefs.h
<<\_ACEOF
36476 #define wxUSE_CARET 1
36480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36483 if test "$wxUSE_COMBOBOX" = "yes"; then
36484 cat >>confdefs.h
<<\_ACEOF
36485 #define wxUSE_COMBOBOX 1
36491 if test "$wxUSE_CHOICE" = "yes"; then
36492 cat >>confdefs.h
<<\_ACEOF
36493 #define wxUSE_CHOICE 1
36499 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36500 cat >>confdefs.h
<<\_ACEOF
36501 #define wxUSE_CHOICEBOOK 1
36507 if test "$wxUSE_CHECKBOX" = "yes"; then
36508 cat >>confdefs.h
<<\_ACEOF
36509 #define wxUSE_CHECKBOX 1
36515 if test "$wxUSE_CHECKLST" = "yes"; then
36516 cat >>confdefs.h
<<\_ACEOF
36517 #define wxUSE_CHECKLISTBOX 1
36521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36524 if test "$wxUSE_DISPLAY" = "yes"; then
36525 cat >>confdefs.h
<<\_ACEOF
36526 #define wxUSE_DISPLAY 1
36529 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36532 if test "$wxUSE_GAUGE" = "yes"; then
36533 cat >>confdefs.h
<<\_ACEOF
36534 #define wxUSE_GAUGE 1
36540 if test "$wxUSE_GRID" = "yes"; then
36541 cat >>confdefs.h
<<\_ACEOF
36542 #define wxUSE_GRID 1
36546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36549 if test "$wxUSE_IMAGLIST" = "yes"; then
36550 cat >>confdefs.h
<<\_ACEOF
36551 #define wxUSE_IMAGLIST 1
36556 if test "$wxUSE_LISTBOOK" = "yes"; then
36557 cat >>confdefs.h
<<\_ACEOF
36558 #define wxUSE_LISTBOOK 1
36564 if test "$wxUSE_LISTBOX" = "yes"; then
36565 cat >>confdefs.h
<<\_ACEOF
36566 #define wxUSE_LISTBOX 1
36572 if test "$wxUSE_LISTCTRL" = "yes"; then
36573 if test "$wxUSE_IMAGLIST" = "yes"; then
36574 cat >>confdefs.h
<<\_ACEOF
36575 #define wxUSE_LISTCTRL 1
36579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36581 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36582 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36586 if test "$wxUSE_NOTEBOOK" = "yes"; then
36587 cat >>confdefs.h
<<\_ACEOF
36588 #define wxUSE_NOTEBOOK 1
36592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36596 if test "$wxUSE_RADIOBOX" = "yes"; then
36597 cat >>confdefs.h
<<\_ACEOF
36598 #define wxUSE_RADIOBOX 1
36604 if test "$wxUSE_RADIOBTN" = "yes"; then
36605 cat >>confdefs.h
<<\_ACEOF
36606 #define wxUSE_RADIOBTN 1
36612 if test "$wxUSE_SASH" = "yes"; then
36613 cat >>confdefs.h
<<\_ACEOF
36614 #define wxUSE_SASH 1
36617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36620 if test "$wxUSE_SCROLLBAR" = "yes"; then
36621 cat >>confdefs.h
<<\_ACEOF
36622 #define wxUSE_SCROLLBAR 1
36626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36629 if test "$wxUSE_SLIDER" = "yes"; then
36630 cat >>confdefs.h
<<\_ACEOF
36631 #define wxUSE_SLIDER 1
36637 if test "$wxUSE_SPINBTN" = "yes"; then
36638 cat >>confdefs.h
<<\_ACEOF
36639 #define wxUSE_SPINBTN 1
36645 if test "$wxUSE_SPINCTRL" = "yes"; then
36646 cat >>confdefs.h
<<\_ACEOF
36647 #define wxUSE_SPINCTRL 1
36653 if test "$wxUSE_SPLITTER" = "yes"; then
36654 cat >>confdefs.h
<<\_ACEOF
36655 #define wxUSE_SPLITTER 1
36658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36661 if test "$wxUSE_STATBMP" = "yes"; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define wxUSE_STATBMP 1
36669 if test "$wxUSE_STATBOX" = "yes"; then
36670 cat >>confdefs.h
<<\_ACEOF
36671 #define wxUSE_STATBOX 1
36677 if test "$wxUSE_STATTEXT" = "yes"; then
36678 cat >>confdefs.h
<<\_ACEOF
36679 #define wxUSE_STATTEXT 1
36685 if test "$wxUSE_STATLINE" = "yes"; then
36686 cat >>confdefs.h
<<\_ACEOF
36687 #define wxUSE_STATLINE 1
36693 if test "$wxUSE_STATUSBAR" = "yes"; then
36694 cat >>confdefs.h
<<\_ACEOF
36695 #define wxUSE_STATUSBAR 1
36700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36703 if test "$wxUSE_TABDIALOG" = "yes"; then
36704 cat >>confdefs.h
<<\_ACEOF
36705 #define wxUSE_TAB_DIALOG 1
36708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36711 if test "$wxUSE_TEXTCTRL" = "yes"; then
36712 cat >>confdefs.h
<<\_ACEOF
36713 #define wxUSE_TEXTCTRL 1
36717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36720 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36721 if test "$wxUSE_COCOA" = 1 ; then
36722 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36723 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36726 if test "$wxUSE_PM" = 1; then
36727 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36728 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36732 if test "$wxUSE_UNIVERSAL" = "yes"; then
36733 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36734 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36738 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36739 cat >>confdefs.h
<<\_ACEOF
36740 #define wxUSE_TOGGLEBTN 1
36747 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36748 cat >>confdefs.h
<<\_ACEOF
36749 #define wxUSE_TOOLBAR_SIMPLE 1
36752 wxUSE_TOOLBAR
="yes"
36756 if test "$wxUSE_TOOLBAR" = "yes"; then
36757 cat >>confdefs.h
<<\_ACEOF
36758 #define wxUSE_TOOLBAR 1
36763 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36764 wxUSE_TOOLBAR_NATIVE
="yes"
36767 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36768 cat >>confdefs.h
<<\_ACEOF
36769 #define wxUSE_TOOLBAR_NATIVE 1
36775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36778 if test "$wxUSE_TOOLTIPS" = "yes"; then
36779 if test "$wxUSE_MOTIF" = 1; then
36780 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36781 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36783 if test "$wxUSE_UNIVERSAL" = "yes"; then
36784 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36785 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36787 cat >>confdefs.h
<<\_ACEOF
36788 #define wxUSE_TOOLTIPS 1
36795 if test "$wxUSE_TREECTRL" = "yes"; then
36796 if test "$wxUSE_IMAGLIST" = "yes"; then
36797 cat >>confdefs.h
<<\_ACEOF
36798 #define wxUSE_TREECTRL 1
36802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36804 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36805 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36809 if test "$wxUSE_POPUPWIN" = "yes"; then
36810 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
36811 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36812 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36814 if test "$wxUSE_PM" = 1; then
36815 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36816 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36818 cat >>confdefs.h
<<\_ACEOF
36819 #define wxUSE_POPUPWIN 1
36828 if test "$wxUSE_TIPWINDOW" = "yes"; then
36829 if test "$wxUSE_PM" = 1; then
36830 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36831 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36833 cat >>confdefs.h
<<\_ACEOF
36834 #define wxUSE_TIPWINDOW 1
36840 if test "$USES_CONTROLS" = 1; then
36841 cat >>confdefs.h
<<\_ACEOF
36842 #define wxUSE_CONTROLS 1
36848 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36849 cat >>confdefs.h
<<\_ACEOF
36850 #define wxUSE_ACCESSIBILITY 1
36853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36856 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36857 cat >>confdefs.h
<<\_ACEOF
36858 #define wxUSE_DRAGIMAGE 1
36861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36864 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36865 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36866 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36867 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36869 cat >>confdefs.h
<<\_ACEOF
36870 #define wxUSE_EXCEPTIONS 1
36873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36878 if test "$wxUSE_HTML" = "yes"; then
36879 cat >>confdefs.h
<<\_ACEOF
36880 #define wxUSE_HTML 1
36884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36885 if test "$wxUSE_MAC" = 1; then
36886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36889 if test "$wxUSE_WEBKIT" = "yes"; then
36890 if test "$wxUSE_MAC" = 1; then
36891 old_CPPFLAGS
="$CPPFLAGS"
36892 CPPFLAGS
="$CPPFLAGS -x objective-c++"
36893 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
36894 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
36895 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
36896 echo $ECHO_N "(cached) $ECHO_C" >&6
36898 cat >conftest.
$ac_ext <<_ACEOF
36901 cat confdefs.h
>>conftest.
$ac_ext
36902 cat >>conftest.
$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904 #include <Carbon/Carbon.h>
36906 #include <WebKit/HIWebView.h>
36908 rm -f conftest.
$ac_objext
36909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36910 (eval $ac_compile) 2>conftest.er1
36912 grep -v '^ *+' conftest.er1
>conftest.err
36914 cat conftest.err
>&5
36915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36916 (exit $ac_status); } &&
36917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36919 (eval $ac_try) 2>&5
36921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36922 (exit $ac_status); }; } &&
36923 { ac_try
='test -s conftest.$ac_objext'
36924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36925 (eval $ac_try) 2>&5
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); }; }; then
36929 ac_cv_header_WebKit_HIWebView_h
=yes
36931 echo "$as_me: failed program was:" >&5
36932 sed 's/^/| /' conftest.
$ac_ext >&5
36934 ac_cv_header_WebKit_HIWebView_h
=no
36936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36938 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
36939 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
36940 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
36942 cat >>confdefs.h
<<\_ACEOF
36943 #define wxUSE_WEBKIT 1
36946 WEBKIT_LINK
="-framework WebKit"
36950 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36951 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36957 CPPFLAGS
="$old_CPPFLAGS"
36958 elif test "$wxUSE_COCOA" = 1; then
36959 cat >>confdefs.h
<<\_ACEOF
36960 #define wxUSE_WEBKIT 1
36969 if test "$wxUSE_XRC" = "yes"; then
36970 if test "$wxUSE_XML" != "yes"; then
36971 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
36972 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36975 cat >>confdefs.h
<<\_ACEOF
36976 #define wxUSE_XRC 1
36980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36984 if test "$wxUSE_MENUS" = "yes"; then
36985 cat >>confdefs.h
<<\_ACEOF
36986 #define wxUSE_MENUS 1
36989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36992 if test "$wxUSE_METAFILE" = "yes"; then
36993 cat >>confdefs.h
<<\_ACEOF
36994 #define wxUSE_METAFILE 1
36999 if test "$wxUSE_MIMETYPE" = "yes"; then
37000 cat >>confdefs.h
<<\_ACEOF
37001 #define wxUSE_MIMETYPE 1
37006 if test "$wxUSE_MINIFRAME" = "yes"; then
37007 cat >>confdefs.h
<<\_ACEOF
37008 #define wxUSE_MINIFRAME 1
37011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37014 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37015 cat >>confdefs.h
<<\_ACEOF
37016 #define wxUSE_SYSTEM_OPTIONS 1
37019 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37020 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37026 if test "$wxUSE_VALIDATORS" = "yes"; then
37027 cat >>confdefs.h
<<\_ACEOF
37028 #define wxUSE_VALIDATORS 1
37031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37034 if test "$wxUSE_PALETTE" = "yes" ; then
37035 cat >>confdefs.h
<<\_ACEOF
37036 #define wxUSE_PALETTE 1
37041 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37042 LIBS
=" -lunicows $LIBS"
37046 if test "$wxUSE_IMAGE" = "yes" ; then
37047 cat >>confdefs.h
<<\_ACEOF
37048 #define wxUSE_IMAGE 1
37052 if test "$wxUSE_GIF" = "yes" ; then
37053 cat >>confdefs.h
<<\_ACEOF
37054 #define wxUSE_GIF 1
37059 if test "$wxUSE_PCX" = "yes" ; then
37060 cat >>confdefs.h
<<\_ACEOF
37061 #define wxUSE_PCX 1
37066 if test "$wxUSE_IFF" = "yes" ; then
37067 cat >>confdefs.h
<<\_ACEOF
37068 #define wxUSE_IFF 1
37073 if test "$wxUSE_PNM" = "yes" ; then
37074 cat >>confdefs.h
<<\_ACEOF
37075 #define wxUSE_PNM 1
37080 if test "$wxUSE_XPM" = "yes" ; then
37081 cat >>confdefs.h
<<\_ACEOF
37082 #define wxUSE_XPM 1
37087 if test "$wxUSE_ICO_CUR" = "yes" ; then
37088 cat >>confdefs.h
<<\_ACEOF
37089 #define wxUSE_ICO_CUR 1
37096 if test "$wxUSE_CHOICEDLG" = "yes"; then
37097 cat >>confdefs.h
<<\_ACEOF
37098 #define wxUSE_CHOICEDLG 1
37103 if test "$wxUSE_COLOURDLG" = "yes"; then
37104 cat >>confdefs.h
<<\_ACEOF
37105 #define wxUSE_COLOURDLG 1
37110 if test "$wxUSE_FILEDLG" = "yes"; then
37111 cat >>confdefs.h
<<\_ACEOF
37112 #define wxUSE_FILEDLG 1
37117 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37118 cat >>confdefs.h
<<\_ACEOF
37119 #define wxUSE_FINDREPLDLG 1
37124 if test "$wxUSE_FONTDLG" = "yes"; then
37125 cat >>confdefs.h
<<\_ACEOF
37126 #define wxUSE_FONTDLG 1
37131 if test "$wxUSE_DIRDLG" = "yes"; then
37132 if test "$wxUSE_TREECTRL" != "yes"; then
37133 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37134 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37136 cat >>confdefs.h
<<\_ACEOF
37137 #define wxUSE_DIRDLG 1
37143 if test "$wxUSE_MSGDLG" = "yes"; then
37144 cat >>confdefs.h
<<\_ACEOF
37145 #define wxUSE_MSGDLG 1
37150 if test "$wxUSE_NUMBERDLG" = "yes"; then
37151 cat >>confdefs.h
<<\_ACEOF
37152 #define wxUSE_NUMBERDLG 1
37157 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37158 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37159 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37160 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37162 cat >>confdefs.h
<<\_ACEOF
37163 #define wxUSE_PROGRESSDLG 1
37169 if test "$wxUSE_SPLASH" = "yes"; then
37170 cat >>confdefs.h
<<\_ACEOF
37171 #define wxUSE_SPLASH 1
37174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37177 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37178 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37179 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37180 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37182 cat >>confdefs.h
<<\_ACEOF
37183 #define wxUSE_STARTUP_TIPS 1
37189 if test "$wxUSE_TEXTDLG" = "yes"; then
37190 cat >>confdefs.h
<<\_ACEOF
37191 #define wxUSE_TEXTDLG 1
37196 if test "$wxUSE_WIZARDDLG" = "yes"; then
37197 cat >>confdefs.h
<<\_ACEOF
37198 #define wxUSE_WIZARDDLG 1
37201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37205 if test "$cross_compiling" = "yes"; then
37208 OSINFO
=`uname -s -r -m`
37209 OSINFO
="\"$OSINFO\""
37212 cat >>confdefs.h
<<_ACEOF
37213 #define WXWIN_OS_DESCRIPTION $OSINFO
37218 if test "x$prefix" != "xNONE"; then
37221 wxPREFIX
=$ac_default_prefix
37224 cat >>confdefs.h
<<_ACEOF
37225 #define wxINSTALL_PREFIX "$wxPREFIX"
37231 CORE_BASE_LIBS
="net base"
37232 CORE_GUI_LIBS
="adv core"
37234 if test "$wxUSE_XML" = "yes" ; then
37235 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37237 if test "$wxUSE_ODBC" != "no" ; then
37238 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37239 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37241 if test "$wxUSE_HTML" = "yes" ; then
37242 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37244 if test "$wxUSE_XRC" = "yes" ; then
37245 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37248 if test "$wxUSE_GUI" != "yes"; then
37259 if test "$wxUSE_MAC" = 1 ; then
37260 if test "$wxUSE_SOUND" = "yes"; then
37261 LDFLAGS
="$LDFLAGS -framework QuickTime"
37263 if test "$USE_DARWIN" = 1; then
37264 LDFLAGS
="$LDFLAGS -framework IOKit"
37266 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37268 if test "$wxUSE_COCOA" = 1 ; then
37269 LDFLAGS
="$LDFLAGS -framework Cocoa"
37273 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37280 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37281 echo "$as_me:$LINENO: checking for $ac_func" >&5
37282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37283 if eval "test \"\${$as_ac_var+set}\" = set"; then
37284 echo $ECHO_N "(cached) $ECHO_C" >&6
37286 cat >conftest.
$ac_ext <<_ACEOF
37289 cat confdefs.h
>>conftest.
$ac_ext
37290 cat >>conftest.
$ac_ext <<_ACEOF
37291 /* end confdefs.h. */
37292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37294 #define $ac_func innocuous_$ac_func
37296 /* System header to define __stub macros and hopefully few prototypes,
37297 which can conflict with char $ac_func (); below.
37298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37299 <limits.h> exists even on freestanding compilers. */
37302 # include <limits.h>
37304 # include <assert.h>
37309 /* Override any gcc2 internal prototype to avoid an error. */
37314 /* We use char because int might match the return type of a gcc2
37315 builtin and then its argument prototype would still apply. */
37317 /* The GNU C library defines this for functions which it implements
37318 to always fail with ENOSYS. Some functions are actually named
37319 something starting with __ and the normal name is an alias. */
37320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37323 char (*f) () = $ac_func;
37332 return f != $ac_func;
37337 rm -f conftest.
$ac_objext conftest
$ac_exeext
37338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37339 (eval $ac_link) 2>conftest.er1
37341 grep -v '^ *+' conftest.er1
>conftest.err
37343 cat conftest.err
>&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } &&
37346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37348 (eval $ac_try) 2>&5
37350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37351 (exit $ac_status); }; } &&
37352 { ac_try
='test -s conftest$ac_exeext'
37353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37354 (eval $ac_try) 2>&5
37356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37357 (exit $ac_status); }; }; then
37358 eval "$as_ac_var=yes"
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.
$ac_ext >&5
37363 eval "$as_ac_var=no"
37365 rm -f conftest.err conftest.
$ac_objext \
37366 conftest
$ac_exeext conftest.
$ac_ext
37368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37370 if test `eval echo '${'$as_ac_var'}'` = yes; then
37371 cat >>confdefs.h
<<_ACEOF
37372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37379 for ac_func
in floor
37381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37382 echo "$as_me:$LINENO: checking for $ac_func" >&5
37383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37384 if eval "test \"\${$as_ac_var+set}\" = set"; then
37385 echo $ECHO_N "(cached) $ECHO_C" >&6
37387 cat >conftest.
$ac_ext <<_ACEOF
37390 cat confdefs.h
>>conftest.
$ac_ext
37391 cat >>conftest.
$ac_ext <<_ACEOF
37392 /* end confdefs.h. */
37393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37395 #define $ac_func innocuous_$ac_func
37397 /* System header to define __stub macros and hopefully few prototypes,
37398 which can conflict with char $ac_func (); below.
37399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37400 <limits.h> exists even on freestanding compilers. */
37403 # include <limits.h>
37405 # include <assert.h>
37410 /* Override any gcc2 internal prototype to avoid an error. */
37415 /* We use char because int might match the return type of a gcc2
37416 builtin and then its argument prototype would still apply. */
37418 /* The GNU C library defines this for functions which it implements
37419 to always fail with ENOSYS. Some functions are actually named
37420 something starting with __ and the normal name is an alias. */
37421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37424 char (*f) () = $ac_func;
37433 return f != $ac_func;
37438 rm -f conftest.
$ac_objext conftest
$ac_exeext
37439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37440 (eval $ac_link) 2>conftest.er1
37442 grep -v '^ *+' conftest.er1
>conftest.err
37444 cat conftest.err
>&5
37445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37446 (exit $ac_status); } &&
37447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37449 (eval $ac_try) 2>&5
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); }; } &&
37453 { ac_try
='test -s conftest$ac_exeext'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; }; then
37459 eval "$as_ac_var=yes"
37461 echo "$as_me: failed program was:" >&5
37462 sed 's/^/| /' conftest.
$ac_ext >&5
37464 eval "$as_ac_var=no"
37466 rm -f conftest.err conftest.
$ac_objext \
37467 conftest
$ac_exeext conftest.
$ac_ext
37469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37471 if test `eval echo '${'$as_ac_var'}'` = yes; then
37472 cat >>confdefs.h
<<_ACEOF
37473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37479 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37480 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37481 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37482 echo "$as_me:$LINENO: result: yes" >&5
37483 echo "${ECHO_T}yes" >&6
37485 echo "$as_me:$LINENO: result: no" >&5
37486 echo "${ECHO_T}no" >&6
37488 # use different functions to avoid configure caching
37494 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37495 echo "$as_me:$LINENO: checking for $ac_func" >&5
37496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37497 if eval "test \"\${$as_ac_var+set}\" = set"; then
37498 echo $ECHO_N "(cached) $ECHO_C" >&6
37500 cat >conftest.
$ac_ext <<_ACEOF
37503 cat confdefs.h
>>conftest.
$ac_ext
37504 cat >>conftest.
$ac_ext <<_ACEOF
37505 /* end confdefs.h. */
37506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37508 #define $ac_func innocuous_$ac_func
37510 /* System header to define __stub macros and hopefully few prototypes,
37511 which can conflict with char $ac_func (); below.
37512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37513 <limits.h> exists even on freestanding compilers. */
37516 # include <limits.h>
37518 # include <assert.h>
37523 /* Override any gcc2 internal prototype to avoid an error. */
37528 /* We use char because int might match the return type of a gcc2
37529 builtin and then its argument prototype would still apply. */
37531 /* The GNU C library defines this for functions which it implements
37532 to always fail with ENOSYS. Some functions are actually named
37533 something starting with __ and the normal name is an alias. */
37534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37537 char (*f) () = $ac_func;
37546 return f != $ac_func;
37551 rm -f conftest.
$ac_objext conftest
$ac_exeext
37552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37553 (eval $ac_link) 2>conftest.er1
37555 grep -v '^ *+' conftest.er1
>conftest.err
37557 cat conftest.err
>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); } &&
37560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; } &&
37566 { ac_try
='test -s conftest$ac_exeext'
37567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37568 (eval $ac_try) 2>&5
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); }; }; then
37572 eval "$as_ac_var=yes"
37574 echo "$as_me: failed program was:" >&5
37575 sed 's/^/| /' conftest.
$ac_ext >&5
37577 eval "$as_ac_var=no"
37579 rm -f conftest.err conftest.
$ac_objext \
37580 conftest
$ac_exeext conftest.
$ac_ext
37582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37584 if test `eval echo '${'$as_ac_var'}'` = yes; then
37585 cat >>confdefs.h
<<_ACEOF
37586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37593 for ac_func
in ceil
37595 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37601 cat >conftest.
$ac_ext <<_ACEOF
37604 cat confdefs.h
>>conftest.
$ac_ext
37605 cat >>conftest.
$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37617 # include <limits.h>
37619 # include <assert.h>
37624 /* Override any gcc2 internal prototype to avoid an error. */
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37638 char (*f) () = $ac_func;
37647 return f != $ac_func;
37652 rm -f conftest.
$ac_objext conftest
$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37656 grep -v '^ *+' conftest.er1
>conftest.err
37658 cat conftest.err
>&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; } &&
37667 { ac_try
='test -s conftest$ac_exeext'
37668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37669 (eval $ac_try) 2>&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); }; }; then
37673 eval "$as_ac_var=yes"
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.
$ac_ext >&5
37678 eval "$as_ac_var=no"
37680 rm -f conftest.err conftest.
$ac_objext \
37681 conftest
$ac_exeext conftest.
$ac_ext
37683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37685 if test `eval echo '${'$as_ac_var'}'` = yes; then
37686 cat >>confdefs.h
<<_ACEOF
37687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37693 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37694 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37695 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37696 echo "$as_me:$LINENO: result: yes" >&5
37697 echo "${ECHO_T}yes" >&6
37699 echo "$as_me:$LINENO: result: no" >&5
37700 echo "${ECHO_T}no" >&6
37701 # not sure we should warn the user, crash, etc.
37705 if test "$wxUSE_GUI" = "yes"; then
37708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37709 drawing dynamic erase event exec font image \
37710 minimal propsize rotate shaped widgets render"
37712 if test "$wxUSE_MONOLITHIC" != "yes"; then
37713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37716 SAMPLES_SUBDIRS
="console"
37720 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37721 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37723 if test "$GXX" = yes ; then
37724 CXXWARNINGS
="-Wall"
37727 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37729 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37730 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37731 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37735 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37736 EXTRALIBS_XML
="$EXPAT_LINK"
37737 EXTRALIBS_HTML
="$MSPACK_LINK"
37738 EXTRALIBS_ODBC
="$ODBC_LINK"
37739 if test "$wxUSE_GUI" = "yes"; then
37740 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37742 if test "$wxUSE_OPENGL" = "yes"; then
37743 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37746 LDFLAGS
="$LDFLAGS $PROFILE"
37748 if test "$wxUSE_GTK" = 1; then
37751 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37754 WXCONFIG_EXTRALIBS
="$LIBS"
37756 if test "$wxUSE_REGEX" = "builtin" ; then
37757 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37759 if test "$wxUSE_EXPAT" = "builtin" ; then
37760 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37762 if test "$wxUSE_ODBC" = "builtin" ; then
37763 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37765 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37766 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37768 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37769 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37771 if test "$wxUSE_LIBPNG" = "builtin" ; then
37772 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37774 if test "$wxUSE_ZLIB" = "builtin" ; then
37775 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37777 if test "$wxUSE_ODBC" = "builtin" ; then
37778 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37781 for i
in $wxconfig_3rdparty ; do
37782 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37786 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37800 if test $wxUSE_MONOLITHIC = "yes" ; then
37806 if test $wxUSE_PLUGINS = "yes" ; then
37812 if test $wxUSE_ODBC != "no" ; then
37818 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37845 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37856 TOOLKIT_USER
="GTK+"
37857 if test "$WXGTK20" = 1; then
37858 TOOLKIT_USER
="$TOOLKIT_USER 2"
37863 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
37868 if test "x$BAKEFILE_HOST" = "x"; then
37869 BAKEFILE_HOST
="${host}"
37872 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37874 if test -n "$ac_tool_prefix"; then
37875 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37876 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37877 echo "$as_me:$LINENO: checking for $ac_word" >&5
37878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37879 if test "${ac_cv_prog_RANLIB+set}" = set; then
37880 echo $ECHO_N "(cached) $ECHO_C" >&6
37882 if test -n "$RANLIB"; then
37883 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37886 for as_dir
in $PATH
37889 test -z "$as_dir" && as_dir
=.
37890 for ac_exec_ext
in '' $ac_executable_extensions; do
37891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37892 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37901 RANLIB
=$ac_cv_prog_RANLIB
37902 if test -n "$RANLIB"; then
37903 echo "$as_me:$LINENO: result: $RANLIB" >&5
37904 echo "${ECHO_T}$RANLIB" >&6
37906 echo "$as_me:$LINENO: result: no" >&5
37907 echo "${ECHO_T}no" >&6
37911 if test -z "$ac_cv_prog_RANLIB"; then
37912 ac_ct_RANLIB
=$RANLIB
37913 # Extract the first word of "ranlib", so it can be a program name with args.
37914 set dummy ranlib
; ac_word
=$2
37915 echo "$as_me:$LINENO: checking for $ac_word" >&5
37916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37917 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
37918 echo $ECHO_N "(cached) $ECHO_C" >&6
37920 if test -n "$ac_ct_RANLIB"; then
37921 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37924 for as_dir
in $PATH
37927 test -z "$as_dir" && as_dir
=.
37928 for ac_exec_ext
in '' $ac_executable_extensions; do
37929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37930 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37937 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
37940 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37941 if test -n "$ac_ct_RANLIB"; then
37942 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
37943 echo "${ECHO_T}$ac_ct_RANLIB" >&6
37945 echo "$as_me:$LINENO: result: no" >&5
37946 echo "${ECHO_T}no" >&6
37949 RANLIB
=$ac_ct_RANLIB
37951 RANLIB
="$ac_cv_prog_RANLIB"
37954 # Find a good install program. We prefer a C program (faster),
37955 # so one script is as good as another. But avoid the broken or
37956 # incompatible versions:
37957 # SysV /etc/install, /usr/sbin/install
37958 # SunOS /usr/etc/install
37959 # IRIX /sbin/install
37961 # AmigaOS /C/install, which installs bootblocks on floppy discs
37962 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37963 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37964 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37965 # OS/2's system install, which has a completely different semantic
37966 # ./install, which can be erroneously created by make from ./install.sh.
37967 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
37968 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
37969 if test -z "$INSTALL"; then
37970 if test "${ac_cv_path_install+set}" = set; then
37971 echo $ECHO_N "(cached) $ECHO_C" >&6
37973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37974 for as_dir
in $PATH
37977 test -z "$as_dir" && as_dir
=.
37978 # Account for people who put trailing slashes in PATH elements.
37980 .
/ | .
// | /cC
/* | \
37981 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37982 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
37985 # OSF1 and SCO ODT 3.0 have their own names for install.
37986 # Don't use installbsd from OSF since it installs stuff as root
37988 for ac_prog
in ginstall scoinst
install; do
37989 for ac_exec_ext
in '' $ac_executable_extensions; do
37990 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37991 if test $ac_prog = install &&
37992 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37993 # AIX install. It has an incompatible calling convention.
37995 elif test $ac_prog = install &&
37996 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37997 # program-specific install script used by HP pwplus--don't use.
38000 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38012 if test "${ac_cv_path_install+set}" = set; then
38013 INSTALL
=$ac_cv_path_install
38015 # As a last resort, use the slow shell script. We don't cache a
38016 # path for INSTALL within a source directory, because that will
38017 # break other packages using the cache if that directory is
38018 # removed, or if the path is relative.
38019 INSTALL
=$ac_install_sh
38022 echo "$as_me:$LINENO: result: $INSTALL" >&5
38023 echo "${ECHO_T}$INSTALL" >&6
38025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38026 # It thinks the first close brace ends the variable substitution.
38027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38031 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38033 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38034 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38036 if test "$LN_S" = "ln -s"; then
38037 echo "$as_me:$LINENO: result: yes" >&5
38038 echo "${ECHO_T}yes" >&6
38040 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38041 echo "${ECHO_T}no, using $LN_S" >&6
38045 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38046 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38047 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38048 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38049 echo $ECHO_N "(cached) $ECHO_C" >&6
38051 cat >conftest.
make <<\_ACEOF
38053 @
echo 'ac_maketemp="$(MAKE)"'
38055 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38056 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38057 if test -n "$ac_maketemp"; then
38058 eval ac_cv_prog_make_
${ac_make}_set
=yes
38060 eval ac_cv_prog_make_
${ac_make}_set
=no
38062 rm -f conftest.
make
38064 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38065 echo "$as_me:$LINENO: result: yes" >&5
38066 echo "${ECHO_T}yes" >&6
38069 echo "$as_me:$LINENO: result: no" >&5
38070 echo "${ECHO_T}no" >&6
38071 SET_MAKE
="MAKE=${MAKE-make}"
38076 if test -n "$ac_tool_prefix"; then
38077 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38078 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38079 echo "$as_me:$LINENO: checking for $ac_word" >&5
38080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38081 if test "${ac_cv_prog_AR+set}" = set; then
38082 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 if test -n "$AR"; then
38085 ac_cv_prog_AR
="$AR" # Let the user override the test.
38087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38088 for as_dir
in $PATH
38091 test -z "$as_dir" && as_dir
=.
38092 for ac_exec_ext
in '' $ac_executable_extensions; do
38093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38094 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38104 if test -n "$AR"; then
38105 echo "$as_me:$LINENO: result: $AR" >&5
38106 echo "${ECHO_T}$AR" >&6
38108 echo "$as_me:$LINENO: result: no" >&5
38109 echo "${ECHO_T}no" >&6
38113 if test -z "$ac_cv_prog_AR"; then
38115 # Extract the first word of "ar", so it can be a program name with args.
38116 set dummy
ar; ac_word
=$2
38117 echo "$as_me:$LINENO: checking for $ac_word" >&5
38118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38119 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38122 if test -n "$ac_ct_AR"; then
38123 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38126 for as_dir
in $PATH
38129 test -z "$as_dir" && as_dir
=.
38130 for ac_exec_ext
in '' $ac_executable_extensions; do
38131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38132 ac_cv_prog_ac_ct_AR
="ar"
38133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38139 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38142 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38143 if test -n "$ac_ct_AR"; then
38144 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38145 echo "${ECHO_T}$ac_ct_AR" >&6
38147 echo "$as_me:$LINENO: result: no" >&5
38148 echo "${ECHO_T}no" >&6
38153 AR
="$ac_cv_prog_AR"
38156 if test -n "$ac_tool_prefix"; then
38157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38158 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38159 echo "$as_me:$LINENO: checking for $ac_word" >&5
38160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38161 if test "${ac_cv_prog_STRIP+set}" = set; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 if test -n "$STRIP"; then
38165 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38168 for as_dir
in $PATH
38171 test -z "$as_dir" && as_dir
=.
38172 for ac_exec_ext
in '' $ac_executable_extensions; do
38173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38174 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38183 STRIP
=$ac_cv_prog_STRIP
38184 if test -n "$STRIP"; then
38185 echo "$as_me:$LINENO: result: $STRIP" >&5
38186 echo "${ECHO_T}$STRIP" >&6
38188 echo "$as_me:$LINENO: result: no" >&5
38189 echo "${ECHO_T}no" >&6
38193 if test -z "$ac_cv_prog_STRIP"; then
38195 # Extract the first word of "strip", so it can be a program name with args.
38196 set dummy strip
; ac_word
=$2
38197 echo "$as_me:$LINENO: checking for $ac_word" >&5
38198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38199 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38200 echo $ECHO_N "(cached) $ECHO_C" >&6
38202 if test -n "$ac_ct_STRIP"; then
38203 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38206 for as_dir
in $PATH
38209 test -z "$as_dir" && as_dir
=.
38210 for ac_exec_ext
in '' $ac_executable_extensions; do
38211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38212 ac_cv_prog_ac_ct_STRIP
="strip"
38213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38219 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38222 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38223 if test -n "$ac_ct_STRIP"; then
38224 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38225 echo "${ECHO_T}$ac_ct_STRIP" >&6
38227 echo "$as_me:$LINENO: result: no" >&5
38228 echo "${ECHO_T}no" >&6
38233 STRIP
="$ac_cv_prog_STRIP"
38236 if test -n "$ac_tool_prefix"; then
38237 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38238 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38239 echo "$as_me:$LINENO: checking for $ac_word" >&5
38240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38241 if test "${ac_cv_prog_NM+set}" = set; then
38242 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 if test -n "$NM"; then
38245 ac_cv_prog_NM
="$NM" # Let the user override the test.
38247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38248 for as_dir
in $PATH
38251 test -z "$as_dir" && as_dir
=.
38252 for ac_exec_ext
in '' $ac_executable_extensions; do
38253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38254 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38264 if test -n "$NM"; then
38265 echo "$as_me:$LINENO: result: $NM" >&5
38266 echo "${ECHO_T}$NM" >&6
38268 echo "$as_me:$LINENO: result: no" >&5
38269 echo "${ECHO_T}no" >&6
38273 if test -z "$ac_cv_prog_NM"; then
38275 # Extract the first word of "nm", so it can be a program name with args.
38276 set dummy nm
; ac_word
=$2
38277 echo "$as_me:$LINENO: checking for $ac_word" >&5
38278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38279 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38282 if test -n "$ac_ct_NM"; then
38283 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38286 for as_dir
in $PATH
38289 test -z "$as_dir" && as_dir
=.
38290 for ac_exec_ext
in '' $ac_executable_extensions; do
38291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38292 ac_cv_prog_ac_ct_NM
="nm"
38293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38299 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38302 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38303 if test -n "$ac_ct_NM"; then
38304 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38305 echo "${ECHO_T}$ac_ct_NM" >&6
38307 echo "$as_me:$LINENO: result: no" >&5
38308 echo "${ECHO_T}no" >&6
38313 NM
="$ac_cv_prog_NM"
38317 case ${BAKEFILE_HOST} in
38319 INSTALL_DIR
="mkdir -p"
38321 *) INSTALL_DIR
="$INSTALL -d"
38327 case ${BAKEFILE_HOST} in
38328 *-*-cygwin* | *-*-mingw32* )
38329 LDFLAGS_GUI
="-mwindows"
38335 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38336 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38337 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38342 egrep -s GNU
> /dev
/null
); then
38343 bakefile_cv_prog_makeisgnu
="yes"
38345 bakefile_cv_prog_makeisgnu
="no"
38349 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38350 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38352 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38367 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38368 case "${BAKEFILE_HOST}" in
38369 *-*-cygwin* | *-*-mingw32* )
38375 *-pc-os2_emx | *-pc-os2-emx )
38378 powerpc
-*-darwin* )
38387 case "$BAKEFILE_FORCE_PLATFORM" in
38405 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38406 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38407 { (exit 1); exit 1; }; }
38420 # Check whether --enable-omf or --disable-omf was given.
38421 if test "${enable_omf+set}" = set; then
38422 enableval
="$enable_omf"
38423 bk_os2_use_omf
="$enableval"
38426 case "${BAKEFILE_HOST}" in
38428 CFLAGS
="$CFLAGS -fno-common"
38429 CXXFLAGS
="$CXXFLAGS -fno-common"
38432 *-pc-os2_emx | *-pc-os2-emx )
38433 if test "x$bk_os2_use_omf" = "xyes" ; then
38436 LDFLAGS
="-Zomf $LDFLAGS"
38437 CFLAGS
="-Zomf $CFLAGS"
38438 CXXFLAGS
="-Zomf $CXXFLAGS"
38448 SO_SUFFIX_MODULE
="so"
38453 DLLPREFIX_MODULE
=""
38456 case "${BAKEFILE_HOST}" in
38459 SO_SUFFIX_MODULE
="sl"
38463 SO_SUFFIX_MODULE
="a"
38465 *-*-cygwin* | *-*-mingw32* )
38467 SO_SUFFIX_MODULE
="dll"
38468 DLLIMP_SUFFIX
="dll.a"
38476 *-pc-os2_emx | *-pc-os2-emx )
38478 SO_SUFFIX_MODULE
="dll"
38479 DLLIMP_SUFFIX
=$OS2_LIBEXT
38483 LIBEXT
=".$OS2_LIBEXT"
38485 powerpc
-*-darwin* )
38487 SO_SUFFIX_MODULE
="bundle"
38491 if test "x$DLLIMP_SUFFIX" = "x" ; then
38492 DLLIMP_SUFFIX
="$SO_SUFFIX"
38505 SHARED_LD_CC
="\$(CC) -shared -o"
38506 SHARED_LD_CXX
="\$(CXX) -shared -o"
38508 if test "x$GCC" = "xyes"; then
38512 case "${BAKEFILE_HOST}" in
38514 if test "x$GCC" = "xyes"; then
38515 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38516 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38518 LDFLAGS
="$LDFLAGS -L/usr/lib"
38520 SHARED_LD_CC
="${CC} -b -o"
38521 SHARED_LD_CXX
="${CXX} -b -o"
38527 if test "x$GCC" != "xyes"; then
38528 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38529 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38530 if test "${bakefile_cv_prog_icc+set}" = set; then
38531 echo $ECHO_N "(cached) $ECHO_C" >&6
38534 cat >conftest.
$ac_ext <<_ACEOF
38537 cat confdefs.h
>>conftest.
$ac_ext
38538 cat >>conftest.
$ac_ext <<_ACEOF
38539 /* end confdefs.h. */
38545 #ifndef __INTEL_COMPILER
38553 rm -f conftest.
$ac_objext
38554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38555 (eval $ac_compile) 2>conftest.er1
38557 grep -v '^ *+' conftest.er1
>conftest.err
38559 cat conftest.err
>&5
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); } &&
38562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; } &&
38568 { ac_try
='test -s conftest.$ac_objext'
38569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38570 (eval $ac_try) 2>&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); }; }; then
38574 bakefile_cv_prog_icc
=yes
38576 echo "$as_me: failed program was:" >&5
38577 sed 's/^/| /' conftest.
$ac_ext >&5
38579 bakefile_cv_prog_icc
=no
38582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38585 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38586 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38587 if test "$bakefile_cv_prog_icc" = "yes"; then
38594 if test "x$GCC" != xyes
; then
38595 SHARED_LD_CC
="${CC} -G -o"
38596 SHARED_LD_CXX
="${CXX} -G -o"
38603 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38604 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38605 if test "${wx_cv_gcc31+set}" = set; then
38606 echo $ECHO_N "(cached) $ECHO_C" >&6
38609 cat >conftest.
$ac_ext <<_ACEOF
38612 cat confdefs.h
>>conftest.
$ac_ext
38613 cat >>conftest.
$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38620 #if (__GNUC__ < 3) || \
38621 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38629 rm -f conftest.
$ac_objext
38630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38631 (eval $ac_compile) 2>conftest.er1
38633 grep -v '^ *+' conftest.er1
>conftest.err
38635 cat conftest.err
>&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } &&
38638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38640 (eval $ac_try) 2>&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); }; } &&
38644 { ac_try
='test -s conftest.$ac_objext'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; }; then
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.
$ac_ext >&5
38662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38665 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38666 echo "${ECHO_T}$wx_cv_gcc31" >&6
38667 if test "$wx_cv_gcc31" = "no"; then
38670 cat <<EOF >shared-ld-sh
38672 #-----------------------------------------------------------------------------
38673 #-- Name: distrib/mac/shared-ld-sh
38674 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38675 #-- Author: Gilles Depeyrot
38676 #-- Copyright: (c) 2002 Gilles Depeyrot
38677 #-- Licence: any use permitted
38678 #-----------------------------------------------------------------------------
38683 linking_flag="-dynamiclib"
38685 while test ${D}# -gt 0; do
38692 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38693 # collect these options and values
38694 args="${D}{args} ${D}1 ${D}2"
38698 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38699 # collect these options
38700 args="${D}{args} ${D}1"
38703 -dynamiclib|-bundle)
38704 linking_flag="${D}1"
38708 echo "shared-ld: unhandled option '${D}1'"
38712 *.o | *.a | *.dylib)
38713 # collect object files
38714 objects="${D}{objects} ${D}1"
38718 echo "shared-ld: unhandled argument '${D}1'"
38727 # Link one module containing all the others
38729 if test ${D}{verbose} = 1; then
38730 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38732 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38734 if test ${D}{status} != 0; then
38739 # Link the shared library from the single module created
38741 if test ${D}{verbose} = 1; then
38742 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38744 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38746 if test ${D}{status} != 0; then
38751 # Remove intermediate module
38753 rm -f master.${D}${D}.o
38758 chmod +x shared
-ld-sh
38760 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38761 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38762 SHARED_LD_CXX
="$SHARED_LD_CC"
38763 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38765 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38766 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38767 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38768 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38771 PIC_FLAG
="-dynamic -fPIC"
38775 if test "x$GCC" != "xyes"; then
38776 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38777 set dummy makeC
++SharedLib
; ac_word
=$2
38778 echo "$as_me:$LINENO: checking for $ac_word" >&5
38779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38780 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38781 echo $ECHO_N "(cached) $ECHO_C" >&6
38783 if test -n "$AIX_CXX_LD"; then
38784 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38787 for as_dir
in $PATH
38790 test -z "$as_dir" && as_dir
=.
38791 for ac_exec_ext
in '' $ac_executable_extensions; do
38792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38793 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38800 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38803 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38804 if test -n "$AIX_CXX_LD"; then
38805 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38806 echo "${ECHO_T}$AIX_CXX_LD" >&6
38808 echo "$as_me:$LINENO: result: no" >&5
38809 echo "${ECHO_T}no" >&6
38812 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38813 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38818 SHARED_LD_CC
="${LD} -shared -o"
38819 SHARED_LD_CXX
="${LD} -shared -o"
38823 if test "x$GCC" != "xyes"; then
38828 *-*-cygwin* | *-*-mingw32* )
38832 *-pc-os2_emx | *-pc-os2-emx )
38833 SHARED_LD_CC
="`pwd`/dllar.sh -o"
38834 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
38838 cat <<EOF >dllar.sh
38841 # dllar - a tool to build both a .dll and an .a file
38842 # from a set of object (.o) files for EMX/OS2.
38844 # Written by Andrew Zabolotny, bit@freya.etu.ru
38845 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38847 # This script will accept a set of files on the command line.
38848 # All the public symbols from the .o files will be exported into
38849 # a .DEF file, then linker will be run (through gcc) against them to
38850 # build a shared library consisting of all given .o files. All libraries
38851 # (.a) will be first decompressed into component .o files then act as
38852 # described above. You can optionally give a description (-d "description")
38853 # which will be put into .DLL. To see the list of accepted options (as well
38854 # as command-line format) simply run this program without options. The .DLL
38855 # is built to be imported by name (there is no guarantee that new versions
38856 # of the library you build will have same ordinals for same symbols).
38858 # dllar is free software; you can redistribute it and/or modify
38859 # it under the terms of the GNU General Public License as published by
38860 # the Free Software Foundation; either version 2, or (at your option)
38861 # any later version.
38863 # dllar is distributed in the hope that it will be useful,
38864 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38865 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38866 # GNU General Public License for more details.
38868 # You should have received a copy of the GNU General Public License
38869 # along with dllar; see the file COPYING. If not, write to the Free
38870 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38873 # To successfuly run this program you will need:
38874 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38875 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38877 # (used to build the .dll)
38879 # (used to create .def file from .o files)
38881 # (used to create .a file from .def file)
38882 # - GNU text utilites (cat, sort, uniq)
38883 # used to process emxexp output
38884 # - GNU file utilities (mv, rm)
38886 # - lxlite (optional, see flag below)
38887 # (used for general .dll cleanup)
38894 # basnam, variant of basename, which does _not_ remove the path, _iff_
38895 # second argument (suffix to remove) is given
38899 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38902 echo ${D}1 | sed 's/'${D}2'${D}//'
38905 echo "error in basnam ${D}*"
38911 # Cleanup temporary files and output
38914 for i in ${D}inputFiles ; do
38917 rm -rf \`basnam ${D}i !\`
38924 # Kill result in case of failure as there is just to many stupid make/nmake
38925 # things out there which doesn't do this.
38926 if [] ${D}# -eq 0 []; then
38927 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38931 # Print usage and exit script with rc=1.
38933 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
38934 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
38935 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
38936 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
38937 echo ' []*.o[] []*.a[]'
38938 echo '*> "output_file" should have no extension.'
38939 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38940 echo ' The import library name is derived from this and is set to "name".a,'
38941 echo ' unless overridden by -import'
38942 echo '*> "importlib_name" should have no extension.'
38943 echo ' If it has the .o, or .a extension, it is automatically removed.'
38944 echo ' This name is used as the import library name and may be longer and'
38945 echo ' more descriptive than the DLL name which has to follow the old '
38946 echo ' 8.3 convention of FAT.'
38947 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38948 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38949 echo ' These flags will be put at the start of GCC command line.'
38950 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
38951 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
38952 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38953 echo ' If the last character of a symbol is "*", all symbols beginning'
38954 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38955 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
38956 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38957 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
38958 echo ' C runtime DLLs.'
38959 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
38960 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38961 echo ' unchanged to GCC at the end of command line.'
38962 echo '*> If you create a DLL from a library and you do not specify -o,'
38963 echo ' the basename for DLL and import library will be set to library name,'
38964 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38965 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38966 echo ' library will be renamed into gcc_s.a.'
38969 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38970 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38975 # Execute a command.
38976 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38977 # @Uses Whatever CleanUp() uses.
38983 if [] ${D}rcCmd -ne 0 []; then
38984 echo "command failed, exit code="${D}rcCmd
38998 CFLAGS="-s -Zcrtdll"
39000 EXPORT_BY_ORDINALS=0
39005 case ${D}curDirS in
39009 curDirS=${D}{curDirS}"/"
39012 # Parse commandline
39014 while [] ${D}1 []; do
39017 EXPORT_BY_ORDINALS=1;
39044 exclude_symbols=${D}{exclude_symbols}${D}1" "
39048 library_flags=${D}{library_flags}${D}1" "
39064 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39068 if [] ${D}libsToLink -ne 0 []; then
39069 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39071 for file in ${D}1 ; do
39072 if [] -f ${D}file []; then
39073 inputFiles="${D}{inputFiles} ${D}file"
39077 if [] ${D}found -eq 0 []; then
39078 echo "ERROR: No file(s) found: "${D}1
39085 done # iterate cmdline words
39088 if [] -z "${D}inputFiles" []; then
39089 echo "dllar: no input files"
39093 # Now extract all .o files from .a files
39095 for file in ${D}inputFiles ; do
39106 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39111 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39113 if [] ${D}? -ne 0 []; then
39114 echo "Failed to create subdirectory ./${D}dirname"
39118 # Append '!' to indicate archive
39119 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39120 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39123 for subfile in ${D}dirname/*.o* ; do
39124 if [] -f ${D}subfile []; then
39126 if [] -s ${D}subfile []; then
39127 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39128 newInputFiles="${D}newInputFiles ${D}subfile"
39132 if [] ${D}found -eq 0 []; then
39133 echo "WARNING: there are no files in archive \'${D}file\'"
39137 newInputFiles="${D}{newInputFiles} ${D}file"
39141 inputFiles="${D}newInputFiles"
39143 # Output filename(s).
39145 if [] -z ${D}outFile []; then
39147 set outFile ${D}inputFiles; outFile=${D}2
39150 # If it is an archive, remove the '!' and the '_%' suffixes
39151 case ${D}outFile in
39153 outFile=\`basnam ${D}outFile _%!\`
39158 case ${D}outFile in
39160 outFile=\`basnam ${D}outFile .dll\`
39163 outFile=\`basnam ${D}outFile .DLL\`
39166 outFile=\`basnam ${D}outFile .o\`
39169 outFile=\`basnam ${D}outFile .obj\`
39172 outFile=\`basnam ${D}outFile .a\`
39175 outFile=\`basnam ${D}outFile .lib\`
39180 case ${D}outimpFile in
39182 outimpFile=\`basnam ${D}outimpFile .a\`
39185 outimpFile=\`basnam ${D}outimpFile .lib\`
39190 if [] -z ${D}outimpFile []; then
39191 outimpFile=${D}outFile
39193 defFile="${D}{outFile}.def"
39194 arcFile="${D}{outimpFile}.a"
39195 arcFile2="${D}{outimpFile}.lib"
39196 dllFile="${D}outFile"
39197 # Add suffix to dllFile later, first we need a version to use as
39198 # name in .def file.
39200 if [] ${D}do_backup -ne 0 [] ; then
39201 if [] -f ${D}arcFile [] ; then
39202 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39204 if [] -f ${D}arcFile2 [] ; then
39205 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39209 # Extract public symbols from all the object files.
39210 tmpdefFile=${D}{defFile}_%
39211 rm -f ${D}tmpdefFile
39212 for file in ${D}inputFiles ; do
39217 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39222 # Create the def file.
39224 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39225 dllFile="${D}dllFile.dll"
39226 if [] -n ${D}description []; then
39227 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39229 echo "EXPORTS" >> ${D}defFile
39231 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39232 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39234 # Checks if the export is ok or not.
39235 for word in ${D}exclude_symbols; do
39236 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39237 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39241 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39242 sed "=" < ${D}tmpdefFile | \
39246 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39248 ' > ${D}{tmpdefFile}%
39249 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39251 rm -f ${D}{tmpdefFile}%
39253 cat ${D}tmpdefFile >> ${D}defFile
39254 rm -f ${D}tmpdefFile
39256 # Do linking, create implib, and apply lxlite.
39258 for file in ${D}inputFiles ; do
39263 gccCmdl="${D}gccCmdl ${D}file"
39267 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39268 touch "${D}{outFile}.dll"
39270 doCommand "emximp -o ${D}arcFile ${D}defFile"
39271 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39273 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39276 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39278 doCommand "emxomf -s -l ${D}arcFile"
39288 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39296 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39297 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39298 { (exit 1); exit 1; }; }
39301 if test "x$PIC_FLAG" != "x" ; then
39302 PIC_FLAG
="$PIC_FLAG -DPIC"
39305 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39306 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39308 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39309 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39326 case "${BAKEFILE_HOST}" in
39328 SONAME_FLAG
="-Wl,-soname,"
39356 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39357 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39360 if test "x$GCC" = "xyes"; then
39363 case "${BAKEFILE_HOST}" in
39364 powerpc
-*-darwin* )
39365 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39368 DEPSFLAG_GCC
="-MMD"
39371 echo "$as_me:$LINENO: result: gcc" >&5
39372 echo "${ECHO_T}gcc" >&6
39374 echo "$as_me:$LINENO: result: none" >&5
39375 echo "${ECHO_T}none" >&6
39378 if test $DEPS_TRACKING = 1 ; then
39384 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39385 # script. It is used to track C/C++ files dependencies in portable way.
39387 # Permission is given to use this file in any way.
39389 DEPSMODE=${DEPSMODE}
39391 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39393 mkdir -p ${D}DEPSDIR
39395 if test ${D}DEPSMODE = gcc ; then
39396 ${D}* ${D}{DEPSFLAG_GCC}
39398 if test ${D}{status} != 0 ; then
39401 # move created file to the location we want it in:
39402 while test ${D}# -gt 0; do
39416 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39417 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39418 if test -f ${D}depfile ; then
39419 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39422 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39423 if test -f ${D}depfile ; then
39424 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39444 case ${BAKEFILE_HOST} in
39445 *-*-cygwin* | *-*-mingw32* )
39446 if test "$build" != "$host" ; then
39447 RESCOMP
=$host_alias-windres
39449 # Extract the first word of "windres", so it can be a program name with args.
39450 set dummy windres
; ac_word
=$2
39451 echo "$as_me:$LINENO: checking for $ac_word" >&5
39452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39453 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39454 echo $ECHO_N "(cached) $ECHO_C" >&6
39456 if test -n "$RESCOMP"; then
39457 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39460 for as_dir
in $PATH
39463 test -z "$as_dir" && as_dir
=.
39464 for ac_exec_ext
in '' $ac_executable_extensions; do
39465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39466 ac_cv_prog_RESCOMP
="windres"
39467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39473 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39476 RESCOMP
=$ac_cv_prog_RESCOMP
39477 if test -n "$RESCOMP"; then
39478 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39479 echo "${ECHO_T}$RESCOMP" >&6
39481 echo "$as_me:$LINENO: result: no" >&5
39482 echo "${ECHO_T}no" >&6
39489 # Extract the first word of "Rez", so it can be a program name with args.
39490 set dummy Rez
; ac_word
=$2
39491 echo "$as_me:$LINENO: checking for $ac_word" >&5
39492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39493 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39494 echo $ECHO_N "(cached) $ECHO_C" >&6
39496 if test -n "$RESCOMP"; then
39497 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39500 for as_dir
in $PATH
39503 test -z "$as_dir" && as_dir
=.
39504 for ac_exec_ext
in '' $ac_executable_extensions; do
39505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39506 ac_cv_prog_RESCOMP
="Rez"
39507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39513 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39516 RESCOMP
=$ac_cv_prog_RESCOMP
39517 if test -n "$RESCOMP"; then
39518 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39519 echo "${ECHO_T}$RESCOMP" >&6
39521 echo "$as_me:$LINENO: result: no" >&5
39522 echo "${ECHO_T}no" >&6
39525 # Extract the first word of "SetFile", so it can be a program name with args.
39526 set dummy SetFile
; ac_word
=$2
39527 echo "$as_me:$LINENO: checking for $ac_word" >&5
39528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39529 if test "${ac_cv_prog_SETFILE+set}" = set; then
39530 echo $ECHO_N "(cached) $ECHO_C" >&6
39532 if test -n "$SETFILE"; then
39533 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39536 for as_dir
in $PATH
39539 test -z "$as_dir" && as_dir
=.
39540 for ac_exec_ext
in '' $ac_executable_extensions; do
39541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39542 ac_cv_prog_SETFILE
="SetFile"
39543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39549 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39552 SETFILE
=$ac_cv_prog_SETFILE
39553 if test -n "$SETFILE"; then
39554 echo "$as_me:$LINENO: result: $SETFILE" >&5
39555 echo "${ECHO_T}$SETFILE" >&6
39557 echo "$as_me:$LINENO: result: no" >&5
39558 echo "${ECHO_T}no" >&6
39568 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39574 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39578 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39579 if test "${enable_precomp_headers+set}" = set; then
39580 enableval
="$enable_precomp_headers"
39581 bk_use_pch
="$enableval"
39586 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39587 if test "x$GCC" = "xyes"; then
39588 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39589 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39590 cat >conftest.
$ac_ext <<_ACEOF
39593 cat confdefs.h
>>conftest.
$ac_ext
39594 cat >>conftest.
$ac_ext <<_ACEOF
39595 /* end confdefs.h. */
39601 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39602 #error "no pch support"
39605 #error "no pch support"
39607 #if (__GNUC__ == 3) && \
39608 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39609 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39610 #error "no pch support"
39617 rm -f conftest.
$ac_objext
39618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39619 (eval $ac_compile) 2>conftest.er1
39621 grep -v '^ *+' conftest.er1
>conftest.err
39623 cat conftest.err
>&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); } &&
39626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39628 (eval $ac_try) 2>&5
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); }; } &&
39632 { ac_try
='test -s conftest.$ac_objext'
39633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634 (eval $ac_try) 2>&5
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); }; }; then
39639 echo "$as_me:$LINENO: result: yes" >&5
39640 echo "${ECHO_T}yes" >&6
39644 echo "$as_me: failed program was:" >&5
39645 sed 's/^/| /' conftest.
$ac_ext >&5
39648 echo "$as_me:$LINENO: result: no" >&5
39649 echo "${ECHO_T}no" >&6
39652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39653 if test $GCC_PCH = 1 ; then
39654 cat <<EOF >bk-make-pch
39657 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39658 # script. It is used to generated precompiled headers.
39660 # Permission is given to use this file in any way.
39669 while test \${#} -gt 0; do
39672 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39673 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39674 headerfile="\${incdir}/\${header}"
39678 compiler="\${compiler} \${1}"
39682 if test "x\${headerfile}" = "x" ; then
39683 echo "error: can't find header \${header} in include paths" >2
39685 if test -f \${outfile} ; then
39688 mkdir -p \`dirname \${outfile}\`
39690 depsfile=".deps/\`basename \${outfile}\`.d"
39692 # can do this because gcc is >= 3.4:
39693 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39697 chmod +x bk
-make-pch
39708 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39709 if test "${enable_precomp_headers+set}" = set; then
39710 enableval
="$enable_precomp_headers"
39711 bk_use_pch
="$enableval"
39716 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39717 if test "x$GCC" = "xyes"; then
39718 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39719 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39720 cat >conftest.
$ac_ext <<_ACEOF
39723 cat confdefs.h
>>conftest.
$ac_ext
39724 cat >>conftest.
$ac_ext <<_ACEOF
39725 /* end confdefs.h. */
39731 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39732 #error "no pch support"
39735 #error "no pch support"
39737 #if (__GNUC__ == 3) && \
39738 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39739 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39740 #error "no pch support"
39747 rm -f conftest.
$ac_objext
39748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39749 (eval $ac_compile) 2>conftest.er1
39751 grep -v '^ *+' conftest.er1
>conftest.err
39753 cat conftest.err
>&5
39754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39755 (exit $ac_status); } &&
39756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39758 (eval $ac_try) 2>&5
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); }; } &&
39762 { ac_try
='test -s conftest.$ac_objext'
39763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39764 (eval $ac_try) 2>&5
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; }; then
39769 echo "$as_me:$LINENO: result: yes" >&5
39770 echo "${ECHO_T}yes" >&6
39774 echo "$as_me: failed program was:" >&5
39775 sed 's/^/| /' conftest.
$ac_ext >&5
39778 echo "$as_me:$LINENO: result: no" >&5
39779 echo "${ECHO_T}no" >&6
39782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39783 if test $GCC_PCH = 1 ; then
39784 cat <<EOF >bk-make-pch
39787 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39788 # script. It is used to generated precompiled headers.
39790 # Permission is given to use this file in any way.
39799 while test \${#} -gt 0; do
39802 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39803 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39804 headerfile="\${incdir}/\${header}"
39808 compiler="\${compiler} \${1}"
39812 if test "x\${headerfile}" = "x" ; then
39813 echo "error: can't find header \${header} in include paths" >2
39815 if test -f \${outfile} ; then
39818 mkdir -p \`dirname \${outfile}\`
39820 depsfile=".deps/\`basename \${outfile}\`.d"
39822 # can do this because gcc is >= 3.4:
39823 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39827 chmod +x bk
-make-pch
39834 COND_BUILD_DEBUG
="#"
39835 if test "x$BUILD" = "xdebug" ; then
39836 COND_BUILD_DEBUG
=""
39839 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39840 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39841 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39844 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39845 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39846 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39849 COND_BUILD_DEBUG_UNICODE_0
="#"
39850 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39851 COND_BUILD_DEBUG_UNICODE_0
=""
39854 COND_BUILD_DEBUG_UNICODE_1
="#"
39855 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39856 COND_BUILD_DEBUG_UNICODE_1
=""
39859 COND_BUILD_RELEASE
="#"
39860 if test "x$BUILD" = "xrelease" ; then
39861 COND_BUILD_RELEASE
=""
39864 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39865 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39866 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39869 COND_BUILD_RELEASE_UNICODE_0
="#"
39870 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39871 COND_BUILD_RELEASE_UNICODE_0
=""
39874 COND_BUILD_RELEASE_UNICODE_1
="#"
39875 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39876 COND_BUILD_RELEASE_UNICODE_1
=""
39879 COND_DEBUG_FLAG_1
="#"
39880 if test "x$DEBUG_FLAG" = "x1" ; then
39881 COND_DEBUG_FLAG_1
=""
39884 COND_DEBUG_INFO_0
="#"
39885 if test "x$DEBUG_INFO" = "x0" ; then
39886 COND_DEBUG_INFO_0
=""
39889 COND_DEBUG_INFO_1
="#"
39890 if test "x$DEBUG_INFO" = "x1" ; then
39891 COND_DEBUG_INFO_1
=""
39894 COND_DEPS_TRACKING_0
="#"
39895 if test "x$DEPS_TRACKING" = "x0" ; then
39896 COND_DEPS_TRACKING_0
=""
39899 COND_DEPS_TRACKING_1
="#"
39900 if test "x$DEPS_TRACKING" = "x1" ; then
39901 COND_DEPS_TRACKING_1
=""
39905 if test "x$GCC_PCH" = "x1" ; then
39909 COND_MONOLITHIC_0
="#"
39910 if test "x$MONOLITHIC" = "x0" ; then
39911 COND_MONOLITHIC_0
=""
39914 COND_MONOLITHIC_0_SHARED_0
="#"
39915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39916 COND_MONOLITHIC_0_SHARED_0
=""
39919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39924 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
39925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39926 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
39929 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
39930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39931 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
39934 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
39935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39936 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
39939 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39941 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39944 COND_MONOLITHIC_0_SHARED_1
="#"
39945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39946 COND_MONOLITHIC_0_SHARED_1
=""
39949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
39955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
39959 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
39960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39961 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
39964 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
39965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39966 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
39969 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39971 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39974 COND_MONOLITHIC_0_USE_ODBC_1
="#"
39975 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39976 COND_MONOLITHIC_0_USE_ODBC_1
=""
39979 COND_MONOLITHIC_1
="#"
39980 if test "x$MONOLITHIC" = "x1" ; then
39981 COND_MONOLITHIC_1
=""
39984 COND_MONOLITHIC_1_SHARED_0
="#"
39985 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39986 COND_MONOLITHIC_1_SHARED_0
=""
39989 COND_MONOLITHIC_1_SHARED_1
="#"
39990 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39991 COND_MONOLITHIC_1_SHARED_1
=""
39994 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39995 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39996 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39999 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40000 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40001 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40004 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40005 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40006 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40009 COND_PLATFORM_MACOSX_1
="#"
40010 if test "x$PLATFORM_MACOSX" = "x1" ; then
40011 COND_PLATFORM_MACOSX_1
=""
40014 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40016 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40019 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40021 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40024 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40026 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40029 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40031 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40034 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40036 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40039 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40041 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40044 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40045 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40046 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40049 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40050 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40051 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40054 COND_PLATFORM_MAC_1
="#"
40055 if test "x$PLATFORM_MAC" = "x1" ; then
40056 COND_PLATFORM_MAC_1
=""
40059 COND_PLATFORM_OS2_1
="#"
40060 if test "x$PLATFORM_OS2" = "x1" ; then
40061 COND_PLATFORM_OS2_1
=""
40064 COND_PLATFORM_UNIX_0
="#"
40065 if test "x$PLATFORM_UNIX" = "x0" ; then
40066 COND_PLATFORM_UNIX_0
=""
40069 COND_PLATFORM_UNIX_1
="#"
40070 if test "x$PLATFORM_UNIX" = "x1" ; then
40071 COND_PLATFORM_UNIX_1
=""
40074 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40075 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40076 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40079 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40080 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40081 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40084 COND_PLATFORM_WIN32_0
="#"
40085 if test "x$PLATFORM_WIN32" = "x0" ; then
40086 COND_PLATFORM_WIN32_0
=""
40089 COND_PLATFORM_WIN32_1
="#"
40090 if test "x$PLATFORM_WIN32" = "x1" ; then
40091 COND_PLATFORM_WIN32_1
=""
40095 if test "x$SHARED" = "x0" ; then
40099 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40100 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40101 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40104 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40105 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40106 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40109 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40110 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40111 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40114 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40115 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40116 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40119 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40120 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40121 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40124 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40125 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40126 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40129 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40130 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40131 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40134 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40135 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40136 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40139 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40140 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40141 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40144 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40145 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40146 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40149 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40150 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40151 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40155 if test "x$SHARED" = "x1" ; then
40159 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40160 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40161 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40165 if test "x$TOOLKIT" = "x" ; then
40169 COND_TOOLKIT_COCOA
="#"
40170 if test "x$TOOLKIT" = "xCOCOA" ; then
40171 COND_TOOLKIT_COCOA
=""
40174 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40175 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40176 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40179 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40180 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40181 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40184 COND_TOOLKIT_GTK
="#"
40185 if test "x$TOOLKIT" = "xGTK" ; then
40186 COND_TOOLKIT_GTK
=""
40189 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40190 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40191 COND_TOOLKIT_GTK_USE_GUI_1
=""
40194 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40195 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40196 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40199 COND_TOOLKIT_MAC
="#"
40200 if test "x$TOOLKIT" = "xMAC" ; then
40201 COND_TOOLKIT_MAC
=""
40204 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40205 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40206 COND_TOOLKIT_MAC_USE_GUI_1
=""
40209 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40210 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40211 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40214 COND_TOOLKIT_MGL
="#"
40215 if test "x$TOOLKIT" = "xMGL" ; then
40216 COND_TOOLKIT_MGL
=""
40219 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40220 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40221 COND_TOOLKIT_MGL_USE_GUI_1
=""
40224 COND_TOOLKIT_MOTIF
="#"
40225 if test "x$TOOLKIT" = "xMOTIF" ; then
40226 COND_TOOLKIT_MOTIF
=""
40229 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40230 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40231 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40234 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40235 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40236 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40239 COND_TOOLKIT_MSW
="#"
40240 if test "x$TOOLKIT" = "xMSW" ; then
40241 COND_TOOLKIT_MSW
=""
40244 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40245 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40246 COND_TOOLKIT_MSW_USE_GUI_1
=""
40249 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40250 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40251 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40254 COND_TOOLKIT_PM
="#"
40255 if test "x$TOOLKIT" = "xPM" ; then
40259 COND_TOOLKIT_PM_USE_GUI_1
="#"
40260 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40261 COND_TOOLKIT_PM_USE_GUI_1
=""
40264 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40265 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40266 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40269 COND_TOOLKIT_WINCE
="#"
40270 if test "x$TOOLKIT" = "xWINCE" ; then
40271 COND_TOOLKIT_WINCE
=""
40274 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40275 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40276 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40279 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40280 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40281 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40284 COND_TOOLKIT_X11
="#"
40285 if test "x$TOOLKIT" = "xX11" ; then
40286 COND_TOOLKIT_X11
=""
40289 COND_TOOLKIT_X11_USE_GUI_1
="#"
40290 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40291 COND_TOOLKIT_X11_USE_GUI_1
=""
40295 if test "x$UNICODE" = "x1" ; then
40299 COND_USE_EXCEPTIONS_0
="#"
40300 if test "x$USE_EXCEPTIONS" = "x0" ; then
40301 COND_USE_EXCEPTIONS_0
=""
40304 COND_USE_EXCEPTIONS_1
="#"
40305 if test "x$USE_EXCEPTIONS" = "x1" ; then
40306 COND_USE_EXCEPTIONS_1
=""
40310 if test "x$USE_GUI" = "x0" ; then
40315 if test "x$USE_GUI" = "x1" ; then
40319 COND_USE_GUI_1_WXUNIV_0
="#"
40320 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40321 COND_USE_GUI_1_WXUNIV_0
=""
40324 COND_USE_GUI_1_WXUNIV_1
="#"
40325 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40326 COND_USE_GUI_1_WXUNIV_1
=""
40329 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40330 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40331 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40334 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40335 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40336 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40339 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40340 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40341 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40344 COND_USE_ODBC_1
="#"
40345 if test "x$USE_ODBC" = "x1" ; then
40349 COND_USE_OPENGL_1
="#"
40350 if test "x$USE_OPENGL" = "x1" ; then
40351 COND_USE_OPENGL_1
=""
40354 COND_USE_PLUGINS_0
="#"
40355 if test "x$USE_PLUGINS" = "x0" ; then
40356 COND_USE_PLUGINS_0
=""
40359 COND_USE_SOSYMLINKS_1
="#"
40360 if test "x$USE_SOSYMLINKS" = "x1" ; then
40361 COND_USE_SOSYMLINKS_1
=""
40364 COND_USE_SOVERLINUX_1
="#"
40365 if test "x$USE_SOVERLINUX" = "x1" ; then
40366 COND_USE_SOVERLINUX_1
=""
40369 COND_USE_SOVERSION_0
="#"
40370 if test "x$USE_SOVERSION" = "x0" ; then
40371 COND_USE_SOVERSION_0
=""
40374 COND_USE_SOVERSOLARIS_1
="#"
40375 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40376 COND_USE_SOVERSOLARIS_1
=""
40380 if test "x$USE_XRC" = "x1" ; then
40384 COND_WITH_PLUGIN_SDL_1
="#"
40385 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40386 COND_WITH_PLUGIN_SDL_1
=""
40390 if test "x$WXUNIV" = "x1" ; then
40394 COND_WXUSE_EXPAT_BUILTIN
="#"
40395 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40396 COND_WXUSE_EXPAT_BUILTIN
=""
40399 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40400 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40401 COND_WXUSE_LIBJPEG_BUILTIN
=""
40404 COND_WXUSE_LIBPNG_BUILTIN
="#"
40405 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40406 COND_WXUSE_LIBPNG_BUILTIN
=""
40409 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40410 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40411 COND_WXUSE_LIBTIFF_BUILTIN
=""
40414 COND_WXUSE_ODBC_BUILTIN
="#"
40415 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40416 COND_WXUSE_ODBC_BUILTIN
=""
40419 COND_WXUSE_REGEX_BUILTIN
="#"
40420 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40421 COND_WXUSE_REGEX_BUILTIN
=""
40424 COND_WXUSE_ZLIB_BUILTIN
="#"
40425 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40426 COND_WXUSE_ZLIB_BUILTIN
=""
40429 COND_BUILD_DEBUG
="#"
40430 if test "x$BUILD" = "xdebug" ; then
40431 COND_BUILD_DEBUG
=""
40434 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40435 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40436 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40439 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40440 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40441 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40444 COND_BUILD_DEBUG_UNICODE_0
="#"
40445 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40446 COND_BUILD_DEBUG_UNICODE_0
=""
40449 COND_BUILD_DEBUG_UNICODE_1
="#"
40450 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40451 COND_BUILD_DEBUG_UNICODE_1
=""
40454 COND_BUILD_RELEASE
="#"
40455 if test "x$BUILD" = "xrelease" ; then
40456 COND_BUILD_RELEASE
=""
40459 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40460 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40461 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40464 COND_BUILD_RELEASE_UNICODE_0
="#"
40465 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40466 COND_BUILD_RELEASE_UNICODE_0
=""
40469 COND_BUILD_RELEASE_UNICODE_1
="#"
40470 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40471 COND_BUILD_RELEASE_UNICODE_1
=""
40474 COND_DEBUG_FLAG_1
="#"
40475 if test "x$DEBUG_FLAG" = "x1" ; then
40476 COND_DEBUG_FLAG_1
=""
40479 COND_DEBUG_INFO_0
="#"
40480 if test "x$DEBUG_INFO" = "x0" ; then
40481 COND_DEBUG_INFO_0
=""
40484 COND_DEBUG_INFO_1
="#"
40485 if test "x$DEBUG_INFO" = "x1" ; then
40486 COND_DEBUG_INFO_1
=""
40489 COND_DEPS_TRACKING_0
="#"
40490 if test "x$DEPS_TRACKING" = "x0" ; then
40491 COND_DEPS_TRACKING_0
=""
40494 COND_DEPS_TRACKING_1
="#"
40495 if test "x$DEPS_TRACKING" = "x1" ; then
40496 COND_DEPS_TRACKING_1
=""
40500 if test "x$GCC_PCH" = "x1" ; then
40504 COND_MONOLITHIC_0
="#"
40505 if test "x$MONOLITHIC" = "x0" ; then
40506 COND_MONOLITHIC_0
=""
40509 COND_MONOLITHIC_0_SHARED_0
="#"
40510 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40511 COND_MONOLITHIC_0_SHARED_0
=""
40514 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40515 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40516 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40519 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40520 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40521 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40524 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40525 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40526 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40529 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40530 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40531 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40534 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40535 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40536 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40539 COND_MONOLITHIC_0_SHARED_1
="#"
40540 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40541 COND_MONOLITHIC_0_SHARED_1
=""
40544 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40545 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40550 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40551 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40554 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40555 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40556 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40559 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40560 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40561 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40564 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40565 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40566 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40569 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40570 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40571 COND_MONOLITHIC_0_USE_ODBC_1
=""
40574 COND_MONOLITHIC_1
="#"
40575 if test "x$MONOLITHIC" = "x1" ; then
40576 COND_MONOLITHIC_1
=""
40579 COND_MONOLITHIC_1_SHARED_0
="#"
40580 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40581 COND_MONOLITHIC_1_SHARED_0
=""
40584 COND_MONOLITHIC_1_SHARED_1
="#"
40585 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40586 COND_MONOLITHIC_1_SHARED_1
=""
40589 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40590 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40591 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40594 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40595 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40596 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40599 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40600 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40601 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40604 COND_PLATFORM_MACOSX_1
="#"
40605 if test "x$PLATFORM_MACOSX" = "x1" ; then
40606 COND_PLATFORM_MACOSX_1
=""
40609 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40610 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40611 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40614 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40615 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40616 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40619 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40620 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40621 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40624 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40625 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40626 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40629 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40630 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40631 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40634 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40635 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40636 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40639 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40640 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40641 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40644 COND_PLATFORM_MAC_1
="#"
40645 if test "x$PLATFORM_MAC" = "x1" ; then
40646 COND_PLATFORM_MAC_1
=""
40649 COND_PLATFORM_OS2_1
="#"
40650 if test "x$PLATFORM_OS2" = "x1" ; then
40651 COND_PLATFORM_OS2_1
=""
40654 COND_PLATFORM_UNIX_0
="#"
40655 if test "x$PLATFORM_UNIX" = "x0" ; then
40656 COND_PLATFORM_UNIX_0
=""
40659 COND_PLATFORM_UNIX_1
="#"
40660 if test "x$PLATFORM_UNIX" = "x1" ; then
40661 COND_PLATFORM_UNIX_1
=""
40664 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40665 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40666 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40669 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40670 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40671 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40674 COND_PLATFORM_WIN32_0
="#"
40675 if test "x$PLATFORM_WIN32" = "x0" ; then
40676 COND_PLATFORM_WIN32_0
=""
40679 COND_PLATFORM_WIN32_1
="#"
40680 if test "x$PLATFORM_WIN32" = "x1" ; then
40681 COND_PLATFORM_WIN32_1
=""
40685 if test "x$SHARED" = "x0" ; then
40689 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40690 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40691 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40694 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40695 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40696 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40699 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40700 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40701 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40704 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40705 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40706 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40709 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40710 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40711 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40714 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40715 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40716 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40719 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40720 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40721 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40724 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40725 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40726 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40730 if test "x$SHARED" = "x1" ; then
40734 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40735 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40736 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40739 COND_TOOLKIT_COCOA
="#"
40740 if test "x$TOOLKIT" = "xCOCOA" ; then
40741 COND_TOOLKIT_COCOA
=""
40744 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40745 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40746 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40749 COND_TOOLKIT_GTK
="#"
40750 if test "x$TOOLKIT" = "xGTK" ; then
40751 COND_TOOLKIT_GTK
=""
40754 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40755 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40756 COND_TOOLKIT_GTK_USE_GUI_1
=""
40759 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40760 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40761 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40764 COND_TOOLKIT_MAC
="#"
40765 if test "x$TOOLKIT" = "xMAC" ; then
40766 COND_TOOLKIT_MAC
=""
40769 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40770 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40771 COND_TOOLKIT_MAC_USE_GUI_1
=""
40774 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40775 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40776 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40779 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40780 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40781 COND_TOOLKIT_MAC_WXUNIV_0
=""
40784 COND_TOOLKIT_MGL
="#"
40785 if test "x$TOOLKIT" = "xMGL" ; then
40786 COND_TOOLKIT_MGL
=""
40789 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40790 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40791 COND_TOOLKIT_MGL_USE_GUI_1
=""
40794 COND_TOOLKIT_MOTIF
="#"
40795 if test "x$TOOLKIT" = "xMOTIF" ; then
40796 COND_TOOLKIT_MOTIF
=""
40799 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40800 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40801 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40804 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40805 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40806 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40809 COND_TOOLKIT_MSW
="#"
40810 if test "x$TOOLKIT" = "xMSW" ; then
40811 COND_TOOLKIT_MSW
=""
40814 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40815 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40816 COND_TOOLKIT_MSW_USE_GUI_1
=""
40819 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40820 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40821 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40824 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40825 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40826 COND_TOOLKIT_MSW_WXUNIV_0
=""
40829 COND_TOOLKIT_PM
="#"
40830 if test "x$TOOLKIT" = "xPM" ; then
40834 COND_TOOLKIT_PM_USE_GUI_1
="#"
40835 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40836 COND_TOOLKIT_PM_USE_GUI_1
=""
40839 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40841 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40844 COND_TOOLKIT_PM_WXUNIV_0
="#"
40845 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40846 COND_TOOLKIT_PM_WXUNIV_0
=""
40849 COND_TOOLKIT_WINCE
="#"
40850 if test "x$TOOLKIT" = "xWINCE" ; then
40851 COND_TOOLKIT_WINCE
=""
40854 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40856 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40859 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40860 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40861 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40864 COND_TOOLKIT_X11
="#"
40865 if test "x$TOOLKIT" = "xX11" ; then
40866 COND_TOOLKIT_X11
=""
40869 COND_TOOLKIT_X11_USE_GUI_1
="#"
40870 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40871 COND_TOOLKIT_X11_USE_GUI_1
=""
40875 if test "x$UNICODE" = "x1" ; then
40879 COND_USE_EXCEPTIONS_0
="#"
40880 if test "x$USE_EXCEPTIONS" = "x0" ; then
40881 COND_USE_EXCEPTIONS_0
=""
40884 COND_USE_EXCEPTIONS_1
="#"
40885 if test "x$USE_EXCEPTIONS" = "x1" ; then
40886 COND_USE_EXCEPTIONS_1
=""
40890 if test "x$USE_GUI" = "x0" ; then
40895 if test "x$USE_GUI" = "x1" ; then
40899 COND_USE_GUI_1_WXUNIV_0
="#"
40900 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40901 COND_USE_GUI_1_WXUNIV_0
=""
40904 COND_USE_GUI_1_WXUNIV_1
="#"
40905 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40906 COND_USE_GUI_1_WXUNIV_1
=""
40909 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40910 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40911 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40914 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40916 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40919 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40920 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40921 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40924 COND_USE_ODBC_1
="#"
40925 if test "x$USE_ODBC" = "x1" ; then
40929 COND_USE_PLUGINS_0
="#"
40930 if test "x$USE_PLUGINS" = "x0" ; then
40931 COND_USE_PLUGINS_0
=""
40934 COND_USE_SOSYMLINKS_1
="#"
40935 if test "x$USE_SOSYMLINKS" = "x1" ; then
40936 COND_USE_SOSYMLINKS_1
=""
40939 COND_USE_SOVERLINUX_1
="#"
40940 if test "x$USE_SOVERLINUX" = "x1" ; then
40941 COND_USE_SOVERLINUX_1
=""
40944 COND_USE_SOVERSION_0
="#"
40945 if test "x$USE_SOVERSION" = "x0" ; then
40946 COND_USE_SOVERSION_0
=""
40949 COND_USE_SOVERSOLARIS_1
="#"
40950 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40951 COND_USE_SOVERSOLARIS_1
=""
40954 COND_WITH_PLUGIN_SDL_1
="#"
40955 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40956 COND_WITH_PLUGIN_SDL_1
=""
40960 if test "x$WXUNIV" = "x1" ; then
40964 COND_WXUSE_EXPAT_BUILTIN
="#"
40965 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40966 COND_WXUSE_EXPAT_BUILTIN
=""
40969 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40970 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40971 COND_WXUSE_LIBJPEG_BUILTIN
=""
40974 COND_WXUSE_LIBPNG_BUILTIN
="#"
40975 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40976 COND_WXUSE_LIBPNG_BUILTIN
=""
40979 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40980 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40981 COND_WXUSE_LIBTIFF_BUILTIN
=""
40984 COND_WXUSE_ODBC_BUILTIN
="#"
40985 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40986 COND_WXUSE_ODBC_BUILTIN
=""
40989 COND_WXUSE_REGEX_BUILTIN
="#"
40990 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40991 COND_WXUSE_REGEX_BUILTIN
=""
40994 COND_WXUSE_ZLIB_BUILTIN
="#"
40995 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40996 COND_WXUSE_ZLIB_BUILTIN
=""
41001 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41002 { { 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
41003 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;}
41004 { (exit 1); exit 1; }; }
41008 if test "$wxUSE_SHARED" = "yes"; then
41010 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41011 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41015 EXE_LINKER
="$CXX -o"
41019 GCC_PRAGMA_FLAGS
=""
41020 if test $GCC_PCH = 1 ; then
41021 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41024 powerpc
-*-darwin* )
41025 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41028 if test "$wxUSE_STL" = "yes" -o \
41029 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41030 "$wxUSE_NO_RTTI" != "yes"; then
41031 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41032 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41033 cat >conftest.
$ac_ext <<_ACEOF
41036 cat confdefs.h
>>conftest.
$ac_ext
41037 cat >>conftest.
$ac_ext <<_ACEOF
41038 /* end confdefs.h. */
41043 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41044 #error "Not GCC 3.2 or greater"
41051 rm -f conftest.
$ac_objext
41052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41053 (eval $ac_compile) 2>conftest.er1
41055 grep -v '^ *+' conftest.er1
>conftest.err
41057 cat conftest.err
>&5
41058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); } &&
41060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41062 (eval $ac_try) 2>&5
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); }; } &&
41066 { ac_try
='test -s conftest.$ac_objext'
41067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41068 (eval $ac_try) 2>&5
41070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41071 (exit $ac_status); }; }; then
41072 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41073 echo "$as_me:$LINENO: result: yes" >&5
41074 echo "${ECHO_T}yes" >&6
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.
$ac_ext >&5
41079 echo "$as_me:$LINENO: result: no" >&5
41080 echo "${ECHO_T}no" >&6
41082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41087 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41090 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41154 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41155 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41156 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41157 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41158 echo $ECHO_N "(cached) $ECHO_C" >&6
41160 cat >conftest.
make <<\_ACEOF
41162 @
echo 'ac_maketemp="$(MAKE)"'
41164 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41165 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41166 if test -n "$ac_maketemp"; then
41167 eval ac_cv_prog_make_
${ac_make}_set
=yes
41169 eval ac_cv_prog_make_
${ac_make}_set
=no
41171 rm -f conftest.
make
41173 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41174 echo "$as_me:$LINENO: result: yes" >&5
41175 echo "${ECHO_T}yes" >&6
41178 echo "$as_me:$LINENO: result: no" >&5
41179 echo "${ECHO_T}no" >&6
41180 SET_MAKE
="MAKE=${MAKE-make}"
41185 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41188 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41191 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41194 ac_config_files
="$ac_config_files version-script Makefile"
41197 ac_config_commands
="$ac_config_commands wx-config
41203 if test "$wxUSE_GUI" = "yes"; then
41204 SUBDIRS
="samples demos utils contrib"
41205 else SUBDIRS
="samples utils"
41210 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41211 if test "${with_cppunit_prefix+set}" = set; then
41212 withval
="$with_cppunit_prefix"
41213 cppunit_config_prefix
="$withval"
41215 cppunit_config_prefix
=""
41218 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41219 if test "${with_cppunit_exec_prefix+set}" = set; then
41220 withval
="$with_cppunit_exec_prefix"
41221 cppunit_config_exec_prefix
="$withval"
41223 cppunit_config_exec_prefix
=""
41226 if test x
$cppunit_config_exec_prefix != x
; then
41227 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41228 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41229 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41232 if test x
$cppunit_config_prefix != x
; then
41233 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41234 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41235 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41239 # Extract the first word of "cppunit-config", so it can be a program name with args.
41240 set dummy cppunit
-config; ac_word
=$2
41241 echo "$as_me:$LINENO: checking for $ac_word" >&5
41242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41243 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41244 echo $ECHO_N "(cached) $ECHO_C" >&6
41246 case $CPPUNIT_CONFIG in
41248 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41252 for as_dir
in $PATH
41255 test -z "$as_dir" && as_dir
=.
41256 for ac_exec_ext
in '' $ac_executable_extensions; do
41257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41258 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41265 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41269 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41271 if test -n "$CPPUNIT_CONFIG"; then
41272 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41273 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41275 echo "$as_me:$LINENO: result: no" >&5
41276 echo "${ECHO_T}no" >&6
41279 cppunit_version_min
=1.8.0
41281 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41282 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41284 if test "$CPPUNIT_CONFIG" = "no" ; then
41287 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41288 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41289 cppunit_version
=`$CPPUNIT_CONFIG --version`
41291 cppunit_major_version
=`echo $cppunit_version | \
41292 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41293 cppunit_minor_version
=`echo $cppunit_version | \
41294 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41295 cppunit_micro_version
=`echo $cppunit_version | \
41296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41298 cppunit_major_min
=`echo $cppunit_version_min | \
41299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41300 cppunit_minor_min
=`echo $cppunit_version_min | \
41301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41302 cppunit_micro_min
=`echo $cppunit_version_min | \
41303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41305 cppunit_version_proper
=`expr \
41306 $cppunit_major_version \> $cppunit_major_min \| \
41307 $cppunit_major_version \= $cppunit_major_min \& \
41308 $cppunit_minor_version \> $cppunit_minor_min \| \
41309 $cppunit_major_version \= $cppunit_major_min \& \
41310 $cppunit_minor_version \= $cppunit_minor_min \& \
41311 $cppunit_micro_version \>= $cppunit_micro_min `
41313 if test "$cppunit_version_proper" = "1" ; then
41314 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41315 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41317 echo "$as_me:$LINENO: result: no" >&5
41318 echo "${ECHO_T}no" >&6
41323 if test "x$no_cppunit" = x
; then
41324 SUBDIRS
="$SUBDIRS tests"
41335 for subdir
in `echo $SUBDIRS`; do
41336 if test -d ${srcdir}/${subdir} ; then
41337 if test "$wxUSE_GUI" = "yes"; then
41338 if test ${subdir} = "samples"; then
41339 makefiles
="samples/Makefile.in $makefiles"
41340 for sample
in `echo $SAMPLES_SUBDIRS`; do
41341 if test -d $srcdir/samples
/$sample; then
41342 makefiles
="samples/$sample/Makefile.in $makefiles"
41345 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41347 else if test ${subdir} = "samples"; then
41348 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41349 elif test ${subdir} = "utils"; then
41351 for util
in HelpGen tex2rtf
; do
41352 if test -d $srcdir/utils
/$util ; then
41353 makefiles
="utils/$util/Makefile.in \
41354 utils/$util/src/Makefile.in \
41358 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41362 for mkin
in $makefiles ; do
41363 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41364 ac_config_files
="$ac_config_files $mk"
41371 cat >confcache
<<\_ACEOF
41372 # This file is a shell script that caches the results of configure
41373 # tests run on this system so they can be shared between configure
41374 # scripts and configure runs, see configure's option --config-cache.
41375 # It is not useful on other systems. If it contains results you don't
41376 # want to keep, you may remove or edit it.
41378 # config.status only pays attention to the cache file if you give it
41379 # the --recheck option to rerun configure.
41381 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41382 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41383 # following values.
41387 # The following way of writing the cache mishandles newlines in values,
41388 # but we know of no workaround that is simple, portable, and efficient.
41389 # So, don't put newlines in cache variables' values.
41390 # Ultrix sh set writes to stderr and can't be redirected directly,
41391 # and sets the high bit in the cache file unless we assign to the vars.
41394 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41396 # `set' does not quote correctly, so add quotes (double-quote
41397 # substitution turns \\\\ into \\, and sed turns \\ into \).
41400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41403 # `set' quotes correctly as required by POSIX, so do not add quotes.
41405 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41412 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41414 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41416 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41417 if test -w $cache_file; then
41418 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41419 cat confcache
>$cache_file
41421 echo "not updating unwritable cache $cache_file"
41426 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41427 # Let make expand exec_prefix.
41428 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41430 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41431 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41432 # trailing colons and then remove the whole line if VPATH becomes empty
41433 # (actually we leave an empty line to preserve line numbers).
41434 if test "x$srcdir" = x.
; then
41435 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41436 s/:*\$(srcdir):*/:/;
41437 s/:*\${srcdir}:*/:/;
41439 s/^\([^=]*=[ ]*\):*/\1/;
41445 DEFS
=-DHAVE_CONFIG_H
41449 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41450 # 1. Remove the extension, and $U if already installed.
41451 ac_i
=`echo "$ac_i" |
41452 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41454 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41455 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41457 LIBOBJS
=$ac_libobjs
41459 LTLIBOBJS
=$ac_ltlibobjs
41463 : ${CONFIG_STATUS=./config.status}
41464 ac_clean_files_save
=$ac_clean_files
41465 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41466 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41467 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41468 cat >$CONFIG_STATUS <<_ACEOF
41470 # Generated by $as_me.
41471 # Run this file to recreate the current configuration.
41472 # Compiler output produced by configure, useful for debugging
41473 # configure, is in config.log if it exists.
41476 ac_cs_recheck=false
41478 SHELL=\${CONFIG_SHELL-$SHELL}
41481 cat >>$CONFIG_STATUS <<\_ACEOF
41482 ## --------------------- ##
41483 ## M4sh Initialization. ##
41484 ## --------------------- ##
41486 # Be Bourne compatible
41487 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41490 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41491 # is contrary to our usage. Disable this feature.
41492 alias -g '${1+"$@"}'='"$@"'
41493 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41496 DUALCASE
=1; export DUALCASE
# for MKS sh
41498 # Support unset when possible.
41499 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41506 # Work around bugs in pre-3.0 UWIN ksh.
41507 $as_unset ENV MAIL MAILPATH
41514 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41515 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41516 LC_TELEPHONE LC_TIME
41518 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41519 eval $as_var=C
; export $as_var
41525 # Required to use basename.
41526 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41532 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41533 as_basename
=basename
41539 # Name of the executable.
41540 as_me
=`$as_basename "$0" ||
41541 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41542 X"$0" : 'X\(//\)$' \| \
41543 X"$0" : 'X\(/\)$' \| \
41544 . : '\(.\)' 2>/dev/null ||
41546 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41547 /^X\/\(\/\/\)$/{ s//\1/; q; }
41548 /^X\/\(\/\).*/{ s//\1/; q; }
41552 # PATH needs CR, and LINENO needs CR and PATH.
41553 # Avoid depending upon Character Ranges.
41554 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41555 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41556 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41557 as_cr_digits
='0123456789'
41558 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41560 # The user is always right.
41561 if test "${PATH_SEPARATOR+set}" != set; then
41562 echo "#! /bin/sh" >conf$$.sh
41563 echo "exit 0" >>conf$$.sh
41565 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41574 as_lineno_1
=$LINENO
41575 as_lineno_2
=$LINENO
41576 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41577 test "x$as_lineno_1" != "x$as_lineno_2" &&
41578 test "x$as_lineno_3" = "x$as_lineno_2" || {
41579 # Find who we are. Look in the path if we contain no path at all
41582 *[\\/]* ) as_myself
=$0 ;;
41583 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41584 for as_dir
in $PATH
41587 test -z "$as_dir" && as_dir
=.
41588 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41593 # We did not find ourselves, most probably we were run as `sh COMMAND'
41594 # in which case we are not to be found in the path.
41595 if test "x$as_myself" = x
; then
41598 if test ! -f "$as_myself"; then
41599 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41600 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41601 { (exit 1); exit 1; }; }
41603 case $CONFIG_SHELL in
41605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41606 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41609 test -z "$as_dir" && as_dir
=.
41610 for as_base
in sh bash ksh sh5
; do
41613 if ("$as_dir/$as_base" -c '
41614 as_lineno_1=$LINENO
41615 as_lineno_2=$LINENO
41616 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41617 test "x$as_lineno_1" != "x$as_lineno_2" &&
41618 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41619 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41620 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41621 CONFIG_SHELL
=$as_dir/$as_base
41622 export CONFIG_SHELL
41623 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41631 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41632 # uniformly replaced by the line number. The first 'sed' inserts a
41633 # line-number line before each line; the second 'sed' does the real
41634 # work. The second script uses 'N' to pair each line-number line
41635 # with the numbered line, and appends trailing '-' during
41636 # substitution so that $LINENO is not a special case at line end.
41637 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41638 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41639 sed '=' <$as_myself |
41644 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41647 s,^['$as_cr_digits']*\n,,
41648 ' >$as_me.lineno
&&
41649 chmod +x
$as_me.lineno
||
41650 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41651 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41652 { (exit 1); exit 1; }; }
41654 # Don't try to exec as it changes $[0], causing all sort of problems
41655 # (the dirname of $[0] is not the place where we might find the
41656 # original and so on. Autoconf is especially sensible to this).
41658 # Exit status is that of the last command.
41663 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41664 *c
*,-n*) ECHO_N
= ECHO_C
='
41666 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41667 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41670 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41676 rm -f conf$$ conf$$.exe conf$$.
file
41678 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41679 # We could just check for DJGPP; but this test a) works b) is more generic
41680 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41681 if test -f conf$$.exe
; then
41682 # Don't use ln at all; we don't have any links
41687 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41692 rm -f conf$$ conf$$.exe conf$$.
file
41694 if mkdir -p .
2>/dev
/null
; then
41697 test -d .
/-p && rmdir .
/-p
41701 as_executable_p
="test -f"
41703 # Sed expression to map a string onto a valid CPP name.
41704 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41706 # Sed expression to map a string onto a valid variable name.
41707 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41711 # We need space, tab and new line, in precisely that order.
41721 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41722 # report actual input values of CONFIG_FILES etc. instead of their
41723 # values after options handling. Logging --version etc. is OK.
41727 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41728 ## Running $as_me. ##
41733 This file was extended by wxWidgets $as_me 2.5.3, which was
41734 generated by GNU Autoconf 2.59. Invocation command line was
41736 CONFIG_FILES = $CONFIG_FILES
41737 CONFIG_HEADERS = $CONFIG_HEADERS
41738 CONFIG_LINKS = $CONFIG_LINKS
41739 CONFIG_COMMANDS = $CONFIG_COMMANDS
41743 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41747 # Files that config.status was made for.
41748 if test -n "$ac_config_files"; then
41749 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41752 if test -n "$ac_config_headers"; then
41753 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41756 if test -n "$ac_config_links"; then
41757 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41760 if test -n "$ac_config_commands"; then
41761 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41764 cat >>$CONFIG_STATUS <<\_ACEOF
41767 \`$as_me' instantiates files from templates according to the
41768 current configuration.
41770 Usage: $0 [OPTIONS] [FILE]...
41772 -h, --help print this help, then exit
41773 -V, --version print version number, then exit
41774 -q, --quiet do not print progress messages
41775 -d, --debug don't remove temporary files
41776 --recheck update $as_me by reconfiguring in the same conditions
41777 --file=FILE[:TEMPLATE]
41778 instantiate the configuration file FILE
41779 --header=FILE[:TEMPLATE]
41780 instantiate the configuration header FILE
41782 Configuration files:
41785 Configuration headers:
41788 Configuration commands:
41791 Report bugs to <bug-autoconf@gnu.org>."
41794 cat >>$CONFIG_STATUS <<_ACEOF
41796 wxWidgets config.status 2.5.3
41797 configured by $0, generated by GNU Autoconf 2.59,
41798 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41800 Copyright (C) 2003 Free Software Foundation, Inc.
41801 This config.status script is free software; the Free Software Foundation
41802 gives unlimited permission to copy, distribute and modify it."
41807 cat >>$CONFIG_STATUS <<\_ACEOF
41808 # If no file are specified by the user, then we need to provide default
41809 # value. By we need to know if files were specified by the user.
41815 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
41816 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
41824 *) # This is not an option, so the user has probably given explicit
41827 ac_need_defaults
=false
;;
41831 # Handling of the options.
41833 cat >>$CONFIG_STATUS <<\_ACEOF
41834 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41836 --version | --vers* | -V )
41837 echo "$ac_cs_version"; exit 0 ;;
41839 # Conflict between --help and --header
41840 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41841 Try \`$0 --help' for more information." >&5
41842 echo "$as_me: error: ambiguous option: $1
41843 Try \`$0 --help' for more information." >&2;}
41844 { (exit 1); exit 1; }; };;
41845 --help | --hel | -h )
41846 echo "$ac_cs_usage"; exit 0 ;;
41847 --debug | --d* | -d )
41849 --file | --fil | --fi | --f )
41851 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
41852 ac_need_defaults
=false
;;
41853 --header | --heade | --head | --hea )
41855 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
41856 ac_need_defaults
=false
;;
41857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41858 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41861 # This is an error.
41862 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41863 Try \`$0 --help' for more information." >&5
41864 echo "$as_me: error: unrecognized option: $1
41865 Try \`$0 --help' for more information." >&2;}
41866 { (exit 1); exit 1; }; } ;;
41868 *) ac_config_targets
="$ac_config_targets $1" ;;
41874 ac_configure_extra_args
=
41876 if $ac_cs_silent; then
41878 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41882 cat >>$CONFIG_STATUS <<_ACEOF
41883 if \$ac_cs_recheck; then
41884 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41885 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41890 cat >>$CONFIG_STATUS <<_ACEOF
41892 # INIT-COMMANDS section.
41895 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41896 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41897 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41905 cat >>$CONFIG_STATUS <<\_ACEOF
41906 for ac_config_target
in $ac_config_targets
41908 case "$ac_config_target" in
41909 # Handling of arguments.
41910 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41911 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41912 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41913 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41914 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41915 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41916 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41917 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41918 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41919 { (exit 1); exit 1; }; };;
41923 # If the user did not use the arguments to specify the items to instantiate,
41924 # then the envvar interface is used. Set only those that are not.
41925 # We use the long form for the default assignment because of an extremely
41926 # bizarre bug on SunOS 4.1.3.
41927 if $ac_need_defaults; then
41928 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41929 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41930 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41933 # Have a temporary directory for convenience. Make it in the build tree
41934 # simply because there is no reason to put it here, and in addition,
41935 # creating and moving files from /tmp can sometimes cause problems.
41936 # Create a temporary directory, and hook for its removal unless debugging.
41939 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41940 trap '{ (exit 1); exit 1; }' 1 2 13 15
41943 # Create a (secure) tmp directory for tmp files.
41946 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41947 test -n "$tmp" && test -d "$tmp"
41950 tmp
=.
/confstat$$
-$RANDOM
41951 (umask 077 && mkdir $tmp)
41954 echo "$me: cannot create a temporary directory in ." >&2
41955 { (exit 1); exit 1; }
41960 cat >>$CONFIG_STATUS <<_ACEOF
41963 # CONFIG_FILES section.
41966 # No need to generate the scripts if there are no CONFIG_FILES.
41967 # This happens for instance when ./config.status config.h
41968 if test -n "\$CONFIG_FILES"; then
41969 # Protect against being on the right side of a sed subst in config.status.
41970 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41971 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41972 s,@SHELL@,$SHELL,;t t
41973 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41974 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41975 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41976 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41977 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41978 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41979 s,@exec_prefix@,$exec_prefix,;t t
41980 s,@prefix@,$prefix,;t t
41981 s,@program_transform_name@,$program_transform_name,;t t
41982 s,@bindir@,$bindir,;t t
41983 s,@sbindir@,$sbindir,;t t
41984 s,@libexecdir@,$libexecdir,;t t
41985 s,@datadir@,$datadir,;t t
41986 s,@sysconfdir@,$sysconfdir,;t t
41987 s,@sharedstatedir@,$sharedstatedir,;t t
41988 s,@localstatedir@,$localstatedir,;t t
41989 s,@libdir@,$libdir,;t t
41990 s,@includedir@,$includedir,;t t
41991 s,@oldincludedir@,$oldincludedir,;t t
41992 s,@infodir@,$infodir,;t t
41993 s,@mandir@,$mandir,;t t
41994 s,@build_alias@,$build_alias,;t t
41995 s,@host_alias@,$host_alias,;t t
41996 s,@target_alias@,$target_alias,;t t
41997 s,@DEFS@,$DEFS,;t t
41998 s,@ECHO_C@,$ECHO_C,;t t
41999 s,@ECHO_N@,$ECHO_N,;t t
42000 s,@ECHO_T@,$ECHO_T,;t t
42001 s,@LIBS@,$LIBS,;t t
42002 s,@build@,$build,;t t
42003 s,@build_cpu@,$build_cpu,;t t
42004 s,@build_vendor@,$build_vendor,;t t
42005 s,@build_os@,$build_os,;t t
42006 s,@host@,$host,;t t
42007 s,@host_cpu@,$host_cpu,;t t
42008 s,@host_vendor@,$host_vendor,;t t
42009 s,@host_os@,$host_os,;t t
42010 s,@target@,$target,;t t
42011 s,@target_cpu@,$target_cpu,;t t
42012 s,@target_vendor@,$target_vendor,;t t
42013 s,@target_os@,$target_os,;t t
42015 s,@CFLAGS@,$CFLAGS,;t t
42016 s,@LDFLAGS@,$LDFLAGS,;t t
42017 s,@CPPFLAGS@,$CPPFLAGS,;t t
42018 s,@ac_ct_CC@,$ac_ct_CC,;t t
42019 s,@EXEEXT@,$EXEEXT,;t t
42020 s,@OBJEXT@,$OBJEXT,;t t
42022 s,@EGREP@,$EGREP,;t t
42024 s,@CXXFLAGS@,$CXXFLAGS,;t t
42025 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42026 s,@RANLIB@,$RANLIB,;t t
42027 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42029 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42030 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42031 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42032 s,@STRIP@,$STRIP,;t t
42033 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42034 s,@LN_S@,$LN_S,;t t
42035 s,@CXXCPP@,$CXXCPP,;t t
42036 s,@subdirs@,$subdirs,;t t
42037 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42038 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42039 s,@GTK_LIBS@,$GTK_LIBS,;t t
42040 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42041 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42042 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42043 s,@X_CFLAGS@,$X_CFLAGS,;t t
42044 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42045 s,@X_LIBS@,$X_LIBS,;t t
42046 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42047 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42048 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42049 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42050 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42051 s,@RESCOMP@,$RESCOMP,;t t
42052 s,@DEREZ@,$DEREZ,;t t
42053 s,@SETFILE@,$SETFILE,;t t
42054 s,@LIBICONV@,$LIBICONV,;t t
42055 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42056 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42057 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42058 s,@SDL_LIBS@,$SDL_LIBS,;t t
42059 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42060 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42061 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42062 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42063 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42064 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42065 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42066 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42067 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42068 s,@VENDOR@,$VENDOR,;t t
42069 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42070 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42071 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42072 s,@WXUNIV@,$WXUNIV,;t t
42073 s,@MONOLITHIC@,$MONOLITHIC,;t t
42074 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42075 s,@EXTRALIBS@,$EXTRALIBS,;t t
42076 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42077 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42078 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42079 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42080 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42081 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42082 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42083 s,@UNICODE@,$UNICODE,;t t
42084 s,@BUILD@,$BUILD,;t t
42085 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42086 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42087 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42088 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42089 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42090 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42091 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42092 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42093 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42094 s,@SET_MAKE@,$SET_MAKE,;t t
42095 s,@MAKE_SET@,$MAKE_SET,;t t
42096 s,@ac_ct_AR@,$ac_ct_AR,;t t
42097 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42099 s,@ac_ct_NM@,$ac_ct_NM,;t t
42100 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42101 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42102 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42103 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42104 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42105 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42106 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42107 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42108 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42109 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42110 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42111 s,@LIBPREFIX@,$LIBPREFIX,;t t
42112 s,@LIBEXT@,$LIBEXT,;t t
42113 s,@DLLPREFIX@,$DLLPREFIX,;t t
42114 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42115 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42116 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42117 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42118 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42119 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42120 s,@PIC_FLAG@,$PIC_FLAG,;t t
42121 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42122 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42123 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42124 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42125 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42126 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42127 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42128 s,@GCC_PCH@,$GCC_PCH,;t t
42129 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42130 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42131 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42132 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42133 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42134 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42135 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42136 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42137 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42138 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42139 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42140 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42141 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42142 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42143 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42144 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42145 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42146 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42147 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
42148 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42149 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42150 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42151 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42152 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42153 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
42154 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42155 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42156 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42157 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42158 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42159 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42160 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42161 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42162 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42163 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42164 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42165 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42166 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42167 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42168 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42169 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42170 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42171 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42172 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42173 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42174 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42175 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42176 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42177 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42178 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42179 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42180 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42181 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42182 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42183 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42184 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42185 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42186 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42187 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42188 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42189 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42190 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42191 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42192 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42193 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42194 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42195 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42196 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42197 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42198 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42199 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42200 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42201 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42202 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42203 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42204 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42205 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42206 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42207 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42208 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42209 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42210 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42211 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42212 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42213 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42214 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42215 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42216 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42217 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42218 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42219 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42220 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42221 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42222 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42223 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42224 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42225 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42226 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42227 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42228 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42229 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42230 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42231 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42232 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
42233 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42234 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42235 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42236 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42237 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42238 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42239 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42240 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42241 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42242 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42243 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42244 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42245 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42246 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42247 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42248 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42249 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42250 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42251 s,@SHARED@,$SHARED,;t t
42252 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42253 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42254 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42255 s,@USE_GUI@,$USE_GUI,;t t
42256 s,@AFMINSTALL@,$AFMINSTALL,;t t
42257 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42258 s,@TOOLKIT@,$TOOLKIT,;t t
42259 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42260 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42261 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42262 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42263 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42264 s,@cross_compiling@,$cross_compiling,;t t
42265 s,@WIDGET_SET@,$WIDGET_SET,;t t
42266 s,@WX_RELEASE@,$WX_RELEASE,;t t
42267 s,@WX_VERSION@,$WX_VERSION,;t t
42268 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42269 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42270 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42271 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42272 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42273 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42274 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42275 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42276 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42277 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42278 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42279 s,@EXE_LINKER@,$EXE_LINKER,;t t
42280 s,@GUIDIST@,$GUIDIST,;t t
42281 s,@DISTDIR@,$DISTDIR,;t t
42282 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42283 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42284 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42285 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42286 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42287 s,@RESFLAGS@,$RESFLAGS,;t t
42288 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42289 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42290 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42291 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42292 s,@MACRESCOMP@,$MACRESCOMP,;t t
42293 s,@MACSETFILE@,$MACSETFILE,;t t
42294 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42296 s,@DLLTOOL@,$DLLTOOL,;t t
42297 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42298 s,@LIBOBJS@,$LIBOBJS,;t t
42299 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42304 cat >>$CONFIG_STATUS <<\_ACEOF
42305 # Split the substitutions into bite-sized pieces for seds with
42306 # small command number limits, like on Digital OSF/1 and HP-UX.
42307 ac_max_sed_lines
=48
42308 ac_sed_frag
=1 # Number of current file.
42309 ac_beg
=1 # First line for current file.
42310 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42313 while $ac_more_lines; do
42314 if test $ac_beg -gt 1; then
42315 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42317 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42319 if test ! -s $tmp/subs.frag
; then
42320 ac_more_lines
=false
42322 # The purpose of the label and of the branching condition is to
42323 # speed up the sed processing (if there are no `@' at all, there
42324 # is no need to browse any of the substitutions).
42325 # These are the two extra sed commands mentioned above.
42327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42328 if test -z "$ac_sed_cmds"; then
42329 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42331 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42333 ac_sed_frag
=`expr $ac_sed_frag + 1`
42335 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42338 if test -z "$ac_sed_cmds"; then
42341 fi # test -n "$CONFIG_FILES"
42344 cat >>$CONFIG_STATUS <<\_ACEOF
42345 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42346 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42348 - | *:- | *:-:* ) # input from stdin
42350 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42351 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42352 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42353 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42354 * ) ac_file_in
=$ac_file.
in ;;
42357 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42358 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42360 X"$ac_file" : 'X\(//\)[^/]' \| \
42361 X"$ac_file" : 'X\(//\)$' \| \
42362 X"$ac_file" : 'X\(/\)' \| \
42363 . : '\(.\)' 2>/dev/null ||
42365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42367 /^X\(\/\/\)$/{ s//\1/; q; }
42368 /^X\(\/\).*/{ s//\1/; q; }
42370 { if $as_mkdir_p; then
42375 while test ! -d "$as_dir"; do
42376 as_dirs
="$as_dir $as_dirs"
42377 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42379 X"$as_dir" : 'X\(//\)[^/]' \| \
42380 X"$as_dir" : 'X\(//\)$' \| \
42381 X"$as_dir" : 'X\(/\)' \| \
42382 . : '\(.\)' 2>/dev/null ||
42384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42386 /^X\(\/\/\)$/{ s//\1/; q; }
42387 /^X\(\/\).*/{ s//\1/; q; }
42390 test ! -n "$as_dirs" || mkdir $as_dirs
42391 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42392 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42393 { (exit 1); exit 1; }; }; }
42397 if test "$ac_dir" != .
; then
42398 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42399 # A "../" for each directory in $ac_dir_suffix.
42400 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42402 ac_dir_suffix
= ac_top_builddir
=
42406 .
) # No --srcdir option. We are building in place.
42408 if test -z "$ac_top_builddir"; then
42411 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42413 [\\/]* | ?
:[\\/]* ) # Absolute path.
42414 ac_srcdir
=$srcdir$ac_dir_suffix;
42415 ac_top_srcdir
=$srcdir ;;
42416 *) # Relative path.
42417 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42418 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42421 # Do not use `cd foo && pwd` to compute absolute paths, because
42422 # the directories may not exist.
42424 .
) ac_abs_builddir
="$ac_dir";;
42427 .
) ac_abs_builddir
=`pwd`;;
42428 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42429 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42432 case $ac_abs_builddir in
42433 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42435 case ${ac_top_builddir}.
in
42436 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42437 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42438 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42441 case $ac_abs_builddir in
42442 .
) ac_abs_srcdir
=$ac_srcdir;;
42445 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42446 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42447 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42450 case $ac_abs_builddir in
42451 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42453 case $ac_top_srcdir in
42454 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42455 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42456 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42462 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42463 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42466 # Let's still pretend it is `configure' which instantiates (i.e., don't
42467 # use $as_me), people would be surprised to read:
42468 # /* config.h. Generated by config.status. */
42469 if test x
"$ac_file" = x
-; then
42472 configure_input
="$ac_file. "
42474 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42475 sed 's,.*/,,'` by configure."
42477 # First look for the input files in the build tree, otherwise in the
42479 ac_file_inputs
=`IFS=:
42480 for f in $ac_file_in; do
42482 -) echo $tmp/stdin ;;
42484 # Absolute (can't be DOS-style, as IFS=:)
42485 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42486 echo "$as_me: error: cannot find input file: $f" >&2;}
42487 { (exit 1); exit 1; }; }
42490 if test -f "$f"; then
42493 elif test -f "$srcdir/$f"; then
42498 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42499 echo "$as_me: error: cannot find input file: $f" >&2;}
42500 { (exit 1); exit 1; }; }
42503 done` || { (exit 1); exit 1; }
42505 if test x
"$ac_file" != x
-; then
42506 { echo "$as_me:$LINENO: creating $ac_file" >&5
42507 echo "$as_me: creating $ac_file" >&6;}
42511 cat >>$CONFIG_STATUS <<_ACEOF
42515 cat >>$CONFIG_STATUS <<\_ACEOF
42517 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42518 s
,@configure_input@
,$configure_input,;t t
42519 s
,@srcdir@
,$ac_srcdir,;t t
42520 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42521 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42522 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42523 s
,@builddir@
,$ac_builddir,;t t
42524 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42525 s
,@top_builddir@
,$ac_top_builddir,;t t
42526 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42527 s
,@INSTALL@
,$ac_INSTALL,;t t
42528 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42530 if test x"$ac_file" != x-; then
42531 mv $tmp/out $ac_file
42537 # Run the commands associated with the file.
42539 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42540 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42544 cat >>$CONFIG_STATUS <<\_ACEOF
42547 # CONFIG_HEADER section.
42550 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42551 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42553 # ac_d sets the value in "#define NAME VALUE" lines.
42554 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42555 ac_dB
='[ ].*$,\1#\2'
42558 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42559 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42560 ac_uB
='$,\1#\2define\3'
42564 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42565 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42567 - | *:- | *:-:* ) # input from stdin
42569 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42570 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42571 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42572 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42573 * ) ac_file_in
=$ac_file.
in ;;
42576 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42577 echo "$as_me: creating $ac_file" >&6;}
42579 # First look for the input files in the build tree, otherwise in the
42581 ac_file_inputs
=`IFS=:
42582 for f in $ac_file_in; do
42584 -) echo $tmp/stdin ;;
42586 # Absolute (can't be DOS-style, as IFS=:)
42587 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42588 echo "$as_me: error: cannot find input file: $f" >&2;}
42589 { (exit 1); exit 1; }; }
42590 # Do quote $f, to prevent DOS paths from being IFS'd.
42593 if test -f "$f"; then
42596 elif test -f "$srcdir/$f"; then
42601 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42602 echo "$as_me: error: cannot find input file: $f" >&2;}
42603 { (exit 1); exit 1; }; }
42606 done` || { (exit 1); exit 1; }
42607 # Remove the trailing spaces.
42608 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42612 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42613 # `conftest.undefs', that substitutes the proper values into
42614 # config.h.in to produce config.h. The first handles `#define'
42615 # templates, and the second `#undef' templates.
42616 # And first: Protect against being on the right side of a sed subst in
42617 # config.status. Protect against being in an unquoted here document
42618 # in config.status.
42619 rm -f conftest.defines conftest.undefs
42620 # Using a here document instead of a string reduces the quoting nightmare.
42621 # Putting comments in sed scripts is not portable.
42623 # `end' is used to avoid that the second main sed command (meant for
42624 # 0-ary CPP macros) applies to n-ary macro definitions.
42625 # See the Autoconf documentation for `clear'.
42626 cat >confdef2sed.
sed <<\_ACEOF
42631 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42633 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42636 # If some macros were called several times there might be several times
42637 # the same #defines, which is useless. Nevertheless, we may not want to
42638 # sort them, since we want the *last* AC-DEFINE to be honored.
42639 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42640 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42641 rm -f confdef2sed.sed
42643 # This sed command replaces #undef with comments. This is necessary, for
42644 # example, in the case of _POSIX_SOURCE, which is predefined and required
42645 # on some systems where configure will not decide to define it.
42646 cat >>conftest.undefs <<\_ACEOF
42647 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42650 # Break up conftest.defines because some shells have a limit on the size
42651 # of here documents, and old seds have small limits too (100 cmds).
42652 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42653 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42654 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42655 echo ' :' >>$CONFIG_STATUS
42656 rm -f conftest.tail
42657 while grep . conftest.defines >/dev/null
42659 # Write a limited-size here document to $tmp/defines.sed.
42660 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42661 # Speed up: don't consider the non `#define' lines.
42662 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42663 # Work around the forget-to-reset-the-flag bug.
42664 echo 't clr' >>$CONFIG_STATUS
42665 echo ': clr' >>$CONFIG_STATUS
42666 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42668 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42670 mv $tmp/out $tmp/in
42672 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42673 rm -f conftest.defines
42674 mv conftest.
tail conftest.defines
42676 rm -f conftest.defines
42677 echo ' fi # grep' >>$CONFIG_STATUS
42678 echo >>$CONFIG_STATUS
42680 # Break up conftest.undefs because some shells have a limit on the size
42681 # of here documents, and old seds have small limits too (100 cmds).
42682 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42683 rm -f conftest.
tail
42684 while grep . conftest.undefs
>/dev
/null
42686 # Write a limited-size here document to $tmp/undefs.sed.
42687 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42688 # Speed up: don't consider the non
`#undef'
42689 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42690 # Work around the forget-to-reset-the-flag bug.
42691 echo 't clr' >>$CONFIG_STATUS
42692 echo ': clr' >>$CONFIG_STATUS
42693 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42695 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42697 mv $tmp/out $tmp/in
42699 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42700 rm -f conftest.undefs
42701 mv conftest.tail conftest.undefs
42703 rm -f conftest.undefs
42705 cat >>$CONFIG_STATUS <<\_ACEOF
42706 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42707 # use $as_me), people would be surprised to read:
42708 # /* config.h. Generated by config.status. */
42709 if test x
"$ac_file" = x
-; then
42710 echo "/* Generated by configure. */" >$tmp/config.h
42712 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42714 cat $tmp/in >>$tmp/config.h
42716 if test x
"$ac_file" != x
-; then
42717 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42718 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42719 echo "$as_me: $ac_file is unchanged" >&6;}
42721 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42723 X"$ac_file" : 'X\(//\)[^/]' \| \
42724 X"$ac_file" : 'X\(//\)$' \| \
42725 X"$ac_file" : 'X\(/\)' \| \
42726 . : '\(.\)' 2>/dev/null ||
42728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42729 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42730 /^X\(\/\/\)$/{ s//\1/; q; }
42731 /^X\(\/\).*/{ s//\1/; q; }
42733 { if $as_mkdir_p; then
42738 while test ! -d "$as_dir"; do
42739 as_dirs
="$as_dir $as_dirs"
42740 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42742 X"$as_dir" : 'X\(//\)[^/]' \| \
42743 X"$as_dir" : 'X\(//\)$' \| \
42744 X"$as_dir" : 'X\(/\)' \| \
42745 . : '\(.\)' 2>/dev/null ||
42747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42749 /^X\(\/\/\)$/{ s//\1/; q; }
42750 /^X\(\/\).*/{ s//\1/; q; }
42753 test ! -n "$as_dirs" || mkdir $as_dirs
42754 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42755 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42756 { (exit 1); exit 1; }; }; }
42759 mv $tmp/config.h
$ac_file
42763 rm -f $tmp/config.h
42767 cat >>$CONFIG_STATUS <<\_ACEOF
42770 # CONFIG_COMMANDS section.
42772 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42773 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42774 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42775 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42776 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42777 X"$ac_dest" : 'X\(//\)[^/]' \| \
42778 X"$ac_dest" : 'X\(//\)$' \| \
42779 X"$ac_dest" : 'X\(/\)' \| \
42780 . : '\(.\)' 2>/dev/null ||
42782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42784 /^X\(\/\/\)$/{ s//\1/; q; }
42785 /^X\(\/\).*/{ s//\1/; q; }
42787 { if $as_mkdir_p; then
42792 while test ! -d "$as_dir"; do
42793 as_dirs
="$as_dir $as_dirs"
42794 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42796 X"$as_dir" : 'X\(//\)[^/]' \| \
42797 X"$as_dir" : 'X\(//\)$' \| \
42798 X"$as_dir" : 'X\(/\)' \| \
42799 . : '\(.\)' 2>/dev/null ||
42801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42803 /^X\(\/\/\)$/{ s//\1/; q; }
42804 /^X\(\/\).*/{ s//\1/; q; }
42807 test ! -n "$as_dirs" || mkdir $as_dirs
42808 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42810 { (exit 1); exit 1; }; }; }
42814 if test "$ac_dir" != .
; then
42815 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42816 # A "../" for each directory in $ac_dir_suffix.
42817 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42819 ac_dir_suffix
= ac_top_builddir
=
42823 .
) # No --srcdir option. We are building in place.
42825 if test -z "$ac_top_builddir"; then
42828 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42830 [\\/]* | ?
:[\\/]* ) # Absolute path.
42831 ac_srcdir
=$srcdir$ac_dir_suffix;
42832 ac_top_srcdir
=$srcdir ;;
42833 *) # Relative path.
42834 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42835 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42838 # Do not use `cd foo && pwd` to compute absolute paths, because
42839 # the directories may not exist.
42841 .
) ac_abs_builddir
="$ac_dir";;
42844 .
) ac_abs_builddir
=`pwd`;;
42845 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42846 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42849 case $ac_abs_builddir in
42850 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42852 case ${ac_top_builddir}.
in
42853 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42854 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42855 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42858 case $ac_abs_builddir in
42859 .
) ac_abs_srcdir
=$ac_srcdir;;
42862 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42863 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42864 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42867 case $ac_abs_builddir in
42868 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42870 case $ac_top_srcdir in
42871 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42872 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42873 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42878 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42879 echo "$as_me: executing $ac_dest commands" >&6;}
42881 wx
-config ) rm -f wx
-config
42882 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42888 cat >>$CONFIG_STATUS <<\_ACEOF
42890 { (exit 0); exit 0; }
42892 chmod +x
$CONFIG_STATUS
42893 ac_clean_files
=$ac_clean_files_save
42896 # configure is writing to config.log, and then calls config.status.
42897 # config.status does its own redirection, appending to config.log.
42898 # Unfortunately, on DOS this fails, as config.log is still kept open
42899 # by configure, so config.status won't be able to write to it; its
42900 # output is simply discarded. So we exec the FD to /dev/null,
42901 # effectively closing config.log, so it can be properly (re)opened and
42902 # appended to by config.status. When coming back to configure, we
42903 # need to make the FD available again.
42904 if test "$no_create" != yes; then
42906 ac_config_status_args
=
42907 test "$silent" = yes &&
42908 ac_config_status_args
="$ac_config_status_args --quiet"
42910 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42912 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42913 # would make configure fail if this is the last instruction.
42914 $ac_cs_success || { (exit 1); exit 1; }
42918 # CONFIG_SUBDIRS section.
42920 if test "$no_recursion" != yes; then
42922 # Remove --cache-file and --srcdir arguments so they do not pile up.
42923 ac_sub_configure_args
=
42925 for ac_arg
in $ac_configure_args; do
42926 if test -n "$ac_prev"; then
42931 -cache-file | --cache-file | --cache-fil | --cache-fi \
42932 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42933 ac_prev
=cache_file
;;
42934 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42935 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42938 --config-cache | -C)
42940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42944 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42946 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42948 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
42952 # Always prepend --prefix to ensure using the same prefix
42953 # in subdir configurations.
42954 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
42957 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42959 # Do not complain, so a configure script can configure whichever
42960 # parts of a large source tree are present.
42961 test -d $srcdir/$ac_dir || continue
42963 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42964 echo "$as_me: configuring in $ac_dir" >&6;}
42965 { if $as_mkdir_p; then
42970 while test ! -d "$as_dir"; do
42971 as_dirs
="$as_dir $as_dirs"
42972 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42974 X"$as_dir" : 'X\(//\)[^/]' \| \
42975 X"$as_dir" : 'X\(//\)$' \| \
42976 X"$as_dir" : 'X\(/\)' \| \
42977 . : '\(.\)' 2>/dev/null ||
42979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42981 /^X\(\/\/\)$/{ s//\1/; q; }
42982 /^X\(\/\).*/{ s//\1/; q; }
42985 test ! -n "$as_dirs" || mkdir $as_dirs
42986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42988 { (exit 1); exit 1; }; }; }
42992 if test "$ac_dir" != .
; then
42993 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42994 # A "../" for each directory in $ac_dir_suffix.
42995 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42997 ac_dir_suffix
= ac_top_builddir
=
43001 .
) # No --srcdir option. We are building in place.
43003 if test -z "$ac_top_builddir"; then
43006 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43008 [\\/]* | ?
:[\\/]* ) # Absolute path.
43009 ac_srcdir
=$srcdir$ac_dir_suffix;
43010 ac_top_srcdir
=$srcdir ;;
43011 *) # Relative path.
43012 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43013 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43016 # Do not use `cd foo && pwd` to compute absolute paths, because
43017 # the directories may not exist.
43019 .
) ac_abs_builddir
="$ac_dir";;
43022 .
) ac_abs_builddir
=`pwd`;;
43023 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43024 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43027 case $ac_abs_builddir in
43028 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43030 case ${ac_top_builddir}.
in
43031 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43032 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43033 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43036 case $ac_abs_builddir in
43037 .
) ac_abs_srcdir
=$ac_srcdir;;
43040 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43041 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43042 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43045 case $ac_abs_builddir in
43046 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43048 case $ac_top_srcdir in
43049 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43050 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43051 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43058 # Check for guested configure; otherwise get Cygnus style configure.
43059 if test -f $ac_srcdir/configure.gnu
; then
43060 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43061 elif test -f $ac_srcdir/configure
; then
43062 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43063 elif test -f $ac_srcdir/configure.
in; then
43064 ac_sub_configure
=$ac_configure
43066 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43067 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43071 # The recursion is here.
43072 if test -n "$ac_sub_configure"; then
43073 # Make the cache file name correct relative to the subdirectory.
43074 case $cache_file in
43075 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43076 *) # Relative path.
43077 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43080 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43081 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43082 # The eval makes quoting arguments work.
43083 eval $ac_sub_configure $ac_sub_configure_args \
43084 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43085 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43086 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43087 { (exit 1); exit 1; }; }
43096 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43098 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43099 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43101 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43102 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43103 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43105 echo " What level of wxWidgets compatibility should be enabled?"
43106 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43107 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43109 echo " Which libraries should wxWidgets use?"
43110 echo " jpeg ${wxUSE_LIBJPEG-none}"
43111 echo " png ${wxUSE_LIBPNG-none}"
43112 echo " regex ${wxUSE_REGEX}"
43113 echo " tiff ${wxUSE_LIBTIFF-none}"
43114 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43115 echo " xpm ${wxUSE_LIBXPM-none}"
43117 echo " zlib ${wxUSE_ZLIB}"
43118 echo " odbc ${wxUSE_ODBC}"
43119 echo " expat ${wxUSE_EXPAT}"
43120 echo " libmspack ${wxUSE_LIBMSPACK}"
43121 echo " sdl ${wxUSE_LIBSDL}"