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_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 --enable-rpath=DIR output the rpath flag from wx
-config
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
=0
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_PERMISSIVE
=no
2031 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2032 DEFAULT_wxUSE_DEBUG_INFO
=yes
2033 DEFAULT_wxUSE_DEBUG_GDB
=yes
2034 DEFAULT_wxUSE_MEM_TRACING
=no
2035 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2036 DEFAULT_wxUSE_DMALLOC
=no
2037 DEFAULT_wxUSE_APPLE_IEEE
=no
2039 DEFAULT_wxUSE_EXCEPTIONS
=no
2040 DEFAULT_wxUSE_LOG
=yes
2041 DEFAULT_wxUSE_LOGWINDOW
=no
2042 DEFAULT_wxUSE_LOGGUI
=no
2043 DEFAULT_wxUSE_LOGDIALOG
=no
2045 DEFAULT_wxUSE_GUI
=yes
2046 DEFAULT_wxUSE_CONTROLS
=no
2048 DEFAULT_wxUSE_REGEX
=no
2049 DEFAULT_wxUSE_XML
=no
2050 DEFAULT_wxUSE_EXPAT
=no
2051 DEFAULT_wxUSE_ZLIB
=no
2052 DEFAULT_wxUSE_LIBPNG
=no
2053 DEFAULT_wxUSE_LIBJPEG
=no
2054 DEFAULT_wxUSE_LIBTIFF
=no
2055 DEFAULT_wxUSE_LIBXPM
=no
2056 DEFAULT_wxUSE_LIBMSPACK
=no
2057 DEFAULT_wxUSE_LIBSDL
=no
2058 DEFAULT_wxUSE_ODBC
=no
2059 DEFAULT_wxUSE_OPENGL
=no
2061 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2062 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2063 DEFAULT_wxUSE_STD_IOSTREAM
=no
2064 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2065 DEFAULT_wxUSE_DATETIME
=no
2066 DEFAULT_wxUSE_TIMER
=no
2067 DEFAULT_wxUSE_STOPWATCH
=no
2068 DEFAULT_wxUSE_FILE
=no
2069 DEFAULT_wxUSE_FFILE
=no
2070 DEFAULT_wxUSE_TEXTBUFFER
=no
2071 DEFAULT_wxUSE_TEXTFILE
=no
2072 DEFAULT_wxUSE_SOUND
=no
2073 DEFAULT_wxUSE_INTL
=no
2074 DEFAULT_wxUSE_CONFIG
=no
2075 DEFAULT_wxUSE_FONTMAP
=no
2076 DEFAULT_wxUSE_STREAMS
=no
2077 DEFAULT_wxUSE_SOCKETS
=no
2078 DEFAULT_wxUSE_OLE
=no
2079 DEFAULT_wxUSE_DATAOBJ
=no
2080 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2081 DEFAULT_wxUSE_JOYSTICK
=no
2082 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2083 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2084 DEFAULT_wxUSE_LONGLONG
=no
2085 DEFAULT_wxUSE_GEOMETRY
=no
2087 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2088 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2089 DEFAULT_wxUSE_POSTSCRIPT
=no
2091 DEFAULT_wxUSE_CLIPBOARD
=no
2092 DEFAULT_wxUSE_TOOLTIPS
=no
2093 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2094 DEFAULT_wxUSE_DRAGIMAGE
=no
2095 DEFAULT_wxUSE_SPLINES
=no
2097 DEFAULT_wxUSE_MDI
=no
2098 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2099 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2100 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2102 DEFAULT_wxUSE_RESOURCES
=no
2103 DEFAULT_wxUSE_CONSTRAINTS
=no
2104 DEFAULT_wxUSE_IPC
=no
2105 DEFAULT_wxUSE_HELP
=no
2106 DEFAULT_wxUSE_MS_HTML_HELP
=no
2107 DEFAULT_wxUSE_WXHTML_HELP
=no
2108 DEFAULT_wxUSE_TREELAYOUT
=no
2109 DEFAULT_wxUSE_METAFILE
=no
2110 DEFAULT_wxUSE_MIMETYPE
=no
2111 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2112 DEFAULT_wxUSE_PROTOCOL
=no
2113 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2114 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2115 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2116 DEFAULT_wxUSE_URL
=no
2118 DEFAULT_wxUSE_COMMONDLGS
=no
2119 DEFAULT_wxUSE_CHOICEDLG
=no
2120 DEFAULT_wxUSE_COLOURDLG
=no
2121 DEFAULT_wxUSE_DIRDLG
=no
2122 DEFAULT_wxUSE_FILEDLG
=no
2123 DEFAULT_wxUSE_FINDREPLDLG
=no
2124 DEFAULT_wxUSE_FONTDLG
=no
2125 DEFAULT_wxUSE_MSGDLG
=no
2126 DEFAULT_wxUSE_NUMBERDLG
=no
2127 DEFAULT_wxUSE_TEXTDLG
=no
2128 DEFAULT_wxUSE_SPLASH
=no
2129 DEFAULT_wxUSE_STARTUP_TIPS
=no
2130 DEFAULT_wxUSE_PROGRESSDLG
=no
2131 DEFAULT_wxUSE_WIZARDDLG
=no
2133 DEFAULT_wxUSE_MENUS
=no
2134 DEFAULT_wxUSE_MINIFRAME
=no
2135 DEFAULT_wxUSE_HTML
=no
2136 DEFAULT_wxUSE_XRC
=no
2137 DEFAULT_wxUSE_WEBKIT
=no
2138 DEFAULT_wxUSE_FILESYSTEM
=no
2139 DEFAULT_wxUSE_FS_INET
=no
2140 DEFAULT_wxUSE_FS_ZIP
=no
2141 DEFAULT_wxUSE_BUSYINFO
=no
2142 DEFAULT_wxUSE_ZIPSTREAM
=no
2143 DEFAULT_wxUSE_VALIDATORS
=no
2145 DEFAULT_wxUSE_ACCEL
=no
2146 DEFAULT_wxUSE_BUTTON
=no
2147 DEFAULT_wxUSE_BMPBUTTON
=no
2148 DEFAULT_wxUSE_CALCTRL
=no
2149 DEFAULT_wxUSE_CARET
=no
2150 DEFAULT_wxUSE_CHECKBOX
=no
2151 DEFAULT_wxUSE_CHECKLST
=no
2152 DEFAULT_wxUSE_CHOICE
=no
2153 DEFAULT_wxUSE_CHOICEBOOK
=no
2154 DEFAULT_wxUSE_COMBOBOX
=no
2155 DEFAULT_wxUSE_DISPLAY
=no
2156 DEFAULT_wxUSE_GAUGE
=no
2157 DEFAULT_wxUSE_GRID
=no
2158 DEFAULT_wxUSE_IMAGLIST
=no
2159 DEFAULT_wxUSE_LISTBOOK
=no
2160 DEFAULT_wxUSE_LISTBOX
=no
2161 DEFAULT_wxUSE_LISTCTRL
=no
2162 DEFAULT_wxUSE_NOTEBOOK
=no
2163 DEFAULT_wxUSE_RADIOBOX
=no
2164 DEFAULT_wxUSE_RADIOBTN
=no
2165 DEFAULT_wxUSE_SASH
=no
2166 DEFAULT_wxUSE_SCROLLBAR
=no
2167 DEFAULT_wxUSE_SLIDER
=no
2168 DEFAULT_wxUSE_SPINBTN
=no
2169 DEFAULT_wxUSE_SPINCTRL
=no
2170 DEFAULT_wxUSE_SPLITTER
=no
2171 DEFAULT_wxUSE_STATBMP
=no
2172 DEFAULT_wxUSE_STATBOX
=no
2173 DEFAULT_wxUSE_STATLINE
=no
2174 DEFAULT_wxUSE_STATTEXT
=no
2175 DEFAULT_wxUSE_STATUSBAR
=yes
2176 DEFAULT_wxUSE_TABDIALOG
=no
2177 DEFAULT_wxUSE_TEXTCTRL
=no
2178 DEFAULT_wxUSE_TOGGLEBTN
=no
2179 DEFAULT_wxUSE_TOOLBAR
=no
2180 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2181 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2182 DEFAULT_wxUSE_TREECTRL
=no
2183 DEFAULT_wxUSE_POPUPWIN
=no
2184 DEFAULT_wxUSE_TIPWINDOW
=no
2186 DEFAULT_wxUSE_UNICODE
=no
2187 DEFAULT_wxUSE_UNICODE_MSLU
=no
2188 DEFAULT_wxUSE_WCSRTOMBS
=no
2190 DEFAULT_wxUSE_PALETTE
=no
2191 DEFAULT_wxUSE_IMAGE
=no
2192 DEFAULT_wxUSE_GIF
=no
2193 DEFAULT_wxUSE_PCX
=no
2194 DEFAULT_wxUSE_PNM
=no
2195 DEFAULT_wxUSE_IFF
=no
2196 DEFAULT_wxUSE_XPM
=no
2197 DEFAULT_wxUSE_ICO_CUR
=no
2198 DEFAULT_wxUSE_ACCESSIBILITY
=no
2200 DEFAULT_wxUSE_MONOLITHIC
=no
2201 DEFAULT_wxUSE_PLUGINS
=no
2202 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2204 DEFAULT_wxUSE_UNIVERSAL
=no
2205 DEFAULT_wxUSE_STL
=no
2207 DEFAULT_wxUSE_NANOX
=no
2209 DEFAULT_wxUSE_THREADS
=yes
2211 DEFAULT_wxUSE_SHARED
=yes
2212 DEFAULT_wxUSE_OPTIMISE
=yes
2213 DEFAULT_wxUSE_PROFILE
=no
2214 DEFAULT_wxUSE_NO_DEPS
=no
2215 DEFAULT_wxUSE_NO_RTTI
=no
2216 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2217 DEFAULT_wxUSE_PERMISSIVE
=no
2218 DEFAULT_wxUSE_DEBUG_FLAG
=no
2219 DEFAULT_wxUSE_DEBUG_INFO
=no
2220 DEFAULT_wxUSE_DEBUG_GDB
=no
2221 DEFAULT_wxUSE_MEM_TRACING
=no
2222 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2223 DEFAULT_wxUSE_DMALLOC
=no
2224 DEFAULT_wxUSE_APPLE_IEEE
=yes
2226 DEFAULT_wxUSE_EXCEPTIONS
=yes
2227 DEFAULT_wxUSE_LOG
=yes
2228 DEFAULT_wxUSE_LOGWINDOW
=yes
2229 DEFAULT_wxUSE_LOGGUI
=yes
2230 DEFAULT_wxUSE_LOGDIALOG
=yes
2232 DEFAULT_wxUSE_GUI
=yes
2234 DEFAULT_wxUSE_REGEX
=yes
2235 DEFAULT_wxUSE_XML
=yes
2236 DEFAULT_wxUSE_EXPAT
=yes
2237 DEFAULT_wxUSE_ZLIB
=yes
2238 DEFAULT_wxUSE_LIBPNG
=yes
2239 DEFAULT_wxUSE_LIBJPEG
=yes
2240 DEFAULT_wxUSE_LIBTIFF
=yes
2241 DEFAULT_wxUSE_LIBXPM
=yes
2242 DEFAULT_wxUSE_LIBMSPACK
=yes
2243 DEFAULT_wxUSE_LIBSDL
=no
2244 DEFAULT_wxUSE_ODBC
=no
2245 DEFAULT_wxUSE_OPENGL
=no
2247 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2248 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2249 DEFAULT_wxUSE_STD_IOSTREAM
=no
2250 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2251 DEFAULT_wxUSE_DATETIME
=yes
2252 DEFAULT_wxUSE_TIMER
=yes
2253 DEFAULT_wxUSE_STOPWATCH
=yes
2254 DEFAULT_wxUSE_FILE
=yes
2255 DEFAULT_wxUSE_FFILE
=yes
2256 DEFAULT_wxUSE_TEXTBUFFER
=yes
2257 DEFAULT_wxUSE_TEXTFILE
=yes
2258 DEFAULT_wxUSE_SOUND
=yes
2259 DEFAULT_wxUSE_INTL
=yes
2260 DEFAULT_wxUSE_CONFIG
=yes
2261 DEFAULT_wxUSE_FONTMAP
=yes
2262 DEFAULT_wxUSE_STREAMS
=yes
2263 DEFAULT_wxUSE_SOCKETS
=yes
2264 DEFAULT_wxUSE_OLE
=yes
2265 DEFAULT_wxUSE_DATAOBJ
=yes
2266 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2267 DEFAULT_wxUSE_JOYSTICK
=yes
2268 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2269 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2270 DEFAULT_wxUSE_LONGLONG
=yes
2271 DEFAULT_wxUSE_GEOMETRY
=yes
2273 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2274 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2275 DEFAULT_wxUSE_POSTSCRIPT
=yes
2277 DEFAULT_wxUSE_CLIPBOARD
=yes
2278 DEFAULT_wxUSE_TOOLTIPS
=yes
2279 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2280 DEFAULT_wxUSE_DRAGIMAGE
=yes
2281 DEFAULT_wxUSE_SPLINES
=yes
2283 DEFAULT_wxUSE_MDI
=yes
2284 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2285 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2286 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2288 DEFAULT_wxUSE_RESOURCES
=no
2289 DEFAULT_wxUSE_CONSTRAINTS
=yes
2290 DEFAULT_wxUSE_IPC
=yes
2291 DEFAULT_wxUSE_HELP
=yes
2292 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2293 DEFAULT_wxUSE_WXHTML_HELP
=yes
2294 DEFAULT_wxUSE_TREELAYOUT
=yes
2295 DEFAULT_wxUSE_METAFILE
=yes
2296 DEFAULT_wxUSE_MIMETYPE
=yes
2297 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2298 DEFAULT_wxUSE_PROTOCOL
=yes
2299 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2300 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2301 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2302 DEFAULT_wxUSE_URL
=yes
2304 DEFAULT_wxUSE_COMMONDLGS
=yes
2305 DEFAULT_wxUSE_CHOICEDLG
=yes
2306 DEFAULT_wxUSE_COLOURDLG
=yes
2307 DEFAULT_wxUSE_DIRDLG
=yes
2308 DEFAULT_wxUSE_FILEDLG
=yes
2309 DEFAULT_wxUSE_FINDREPLDLG
=yes
2310 DEFAULT_wxUSE_FONTDLG
=yes
2311 DEFAULT_wxUSE_MSGDLG
=yes
2312 DEFAULT_wxUSE_NUMBERDLG
=yes
2313 DEFAULT_wxUSE_TEXTDLG
=yes
2314 DEFAULT_wxUSE_SPLASH
=yes
2315 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2316 DEFAULT_wxUSE_PROGRESSDLG
=yes
2317 DEFAULT_wxUSE_WIZARDDLG
=yes
2319 DEFAULT_wxUSE_MENUS
=yes
2320 DEFAULT_wxUSE_MINIFRAME
=yes
2321 DEFAULT_wxUSE_HTML
=yes
2322 DEFAULT_wxUSE_XRC
=yes
2323 DEFAULT_wxUSE_WEBKIT
=yes
2324 DEFAULT_wxUSE_FILESYSTEM
=yes
2325 DEFAULT_wxUSE_FS_INET
=yes
2326 DEFAULT_wxUSE_FS_ZIP
=yes
2327 DEFAULT_wxUSE_BUSYINFO
=yes
2328 DEFAULT_wxUSE_ZIPSTREAM
=yes
2329 DEFAULT_wxUSE_VALIDATORS
=yes
2331 DEFAULT_wxUSE_ACCEL
=yes
2332 DEFAULT_wxUSE_BUTTON
=yes
2333 DEFAULT_wxUSE_BMPBUTTON
=yes
2334 DEFAULT_wxUSE_CALCTRL
=yes
2335 DEFAULT_wxUSE_CARET
=yes
2336 DEFAULT_wxUSE_CHECKBOX
=yes
2337 DEFAULT_wxUSE_CHECKLST
=yes
2338 DEFAULT_wxUSE_CHOICE
=yes
2339 DEFAULT_wxUSE_CHOICEBOOK
=yes
2340 DEFAULT_wxUSE_COMBOBOX
=yes
2341 DEFAULT_wxUSE_DISPLAY
=yes
2342 DEFAULT_wxUSE_GAUGE
=yes
2343 DEFAULT_wxUSE_GRID
=yes
2344 DEFAULT_wxUSE_IMAGLIST
=yes
2345 DEFAULT_wxUSE_LISTBOOK
=yes
2346 DEFAULT_wxUSE_LISTBOX
=yes
2347 DEFAULT_wxUSE_LISTCTRL
=yes
2348 DEFAULT_wxUSE_NOTEBOOK
=yes
2349 DEFAULT_wxUSE_RADIOBOX
=yes
2350 DEFAULT_wxUSE_RADIOBTN
=yes
2351 DEFAULT_wxUSE_SASH
=yes
2352 DEFAULT_wxUSE_SCROLLBAR
=yes
2353 DEFAULT_wxUSE_SLIDER
=yes
2354 DEFAULT_wxUSE_SPINBTN
=yes
2355 DEFAULT_wxUSE_SPINCTRL
=yes
2356 DEFAULT_wxUSE_SPLITTER
=yes
2357 DEFAULT_wxUSE_STATBMP
=yes
2358 DEFAULT_wxUSE_STATBOX
=yes
2359 DEFAULT_wxUSE_STATLINE
=yes
2360 DEFAULT_wxUSE_STATTEXT
=yes
2361 DEFAULT_wxUSE_STATUSBAR
=yes
2362 DEFAULT_wxUSE_TABDIALOG
=no
2363 DEFAULT_wxUSE_TEXTCTRL
=yes
2364 DEFAULT_wxUSE_TOGGLEBTN
=yes
2365 DEFAULT_wxUSE_TOOLBAR
=yes
2366 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2367 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2368 DEFAULT_wxUSE_TREECTRL
=yes
2369 DEFAULT_wxUSE_POPUPWIN
=yes
2370 DEFAULT_wxUSE_TIPWINDOW
=yes
2372 DEFAULT_wxUSE_UNICODE
=no
2373 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2374 DEFAULT_wxUSE_WCSRTOMBS
=no
2376 DEFAULT_wxUSE_PALETTE
=yes
2377 DEFAULT_wxUSE_IMAGE
=yes
2378 DEFAULT_wxUSE_GIF
=yes
2379 DEFAULT_wxUSE_PCX
=yes
2380 DEFAULT_wxUSE_IFF
=no
2381 DEFAULT_wxUSE_PNM
=yes
2382 DEFAULT_wxUSE_XPM
=yes
2383 DEFAULT_wxUSE_ICO_CUR
=yes
2384 DEFAULT_wxUSE_ACCESSIBILITY
=no
2386 DEFAULT_wxUSE_MONOLITHIC
=no
2387 DEFAULT_wxUSE_PLUGINS
=no
2388 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2390 DEFAULT_wxUSE_GTK2
=yes
2395 for toolkit
in `echo $ALL_TOOLKITS`; do
2396 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2397 if test "x$LINE" != "x" ; then
2398 has_toolkit_in_cache
=1
2399 eval "DEFAULT_$LINE"
2400 eval "CACHE_$toolkit=1"
2407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2408 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2410 # Check whether --enable-gui or --disable-gui was given.
2411 if test "${enable_gui+set}" = set; then
2412 enableval
="$enable_gui"
2414 if test "$enableval" = yes; then
2415 ac_cv_use_gui
='wxUSE_GUI=yes'
2417 ac_cv_use_gui
='wxUSE_GUI=no'
2422 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2423 if test "x$LINE" != x
; then
2424 eval "DEFAULT_$LINE"
2429 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2433 eval "$ac_cv_use_gui"
2434 if test "$no_cache" != 1; then
2435 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2438 if test "$wxUSE_GUI" = yes; then
2439 echo "$as_me:$LINENO: result: yes" >&5
2440 echo "${ECHO_T}yes" >&6
2442 echo "$as_me:$LINENO: result: no" >&5
2443 echo "${ECHO_T}no" >&6
2448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2449 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2451 # Check whether --enable-monolithic or --disable-monolithic was given.
2452 if test "${enable_monolithic+set}" = set; then
2453 enableval
="$enable_monolithic"
2455 if test "$enableval" = yes; then
2456 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2458 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2463 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x
; then
2465 eval "DEFAULT_$LINE"
2470 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2474 eval "$ac_cv_use_monolithic"
2475 if test "$no_cache" != 1; then
2476 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2479 if test "$wxUSE_MONOLITHIC" = yes; then
2480 echo "$as_me:$LINENO: result: yes" >&5
2481 echo "${ECHO_T}yes" >&6
2483 echo "$as_me:$LINENO: result: no" >&5
2484 echo "${ECHO_T}no" >&6
2489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2490 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2492 # Check whether --enable-plugins or --disable-plugins was given.
2493 if test "${enable_plugins+set}" = set; then
2494 enableval
="$enable_plugins"
2496 if test "$enableval" = yes; then
2497 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2499 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2504 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x
; then
2506 eval "DEFAULT_$LINE"
2511 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2515 eval "$ac_cv_use_plugins"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2520 if test "$wxUSE_PLUGINS" = yes; then
2521 echo "$as_me:$LINENO: result: yes" >&5
2522 echo "${ECHO_T}yes" >&6
2524 echo "$as_me:$LINENO: result: no" >&5
2525 echo "${ECHO_T}no" >&6
2529 if test "$wxUSE_GUI" = "yes"; then
2533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2534 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2536 # Check whether --enable-universal or --disable-universal was given.
2537 if test "${enable_universal+set}" = set; then
2538 enableval
="$enable_universal"
2540 if test "$enableval" = yes; then
2541 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2543 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2548 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x
; then
2550 eval "DEFAULT_$LINE"
2555 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2559 eval "$ac_cv_use_universal"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_UNIVERSAL" = yes; then
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2568 echo "$as_me:$LINENO: result: no" >&5
2569 echo "${ECHO_T}no" >&6
2573 # Check whether --with-gtk or --without-gtk was given.
2574 if test "${with_gtk+set}" = set; then
2576 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2579 # Check whether --with-motif or --without-motif was given.
2580 if test "${with_motif+set}" = set; then
2581 withval
="$with_motif"
2582 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2585 # Check whether --with-mac or --without-mac was given.
2586 if test "${with_mac+set}" = set; then
2588 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2591 # Check whether --with-cocoa or --without-cocoa was given.
2592 if test "${with_cocoa+set}" = set; then
2593 withval
="$with_cocoa"
2594 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2597 # Check whether --with-wine or --without-wine was given.
2598 if test "${with_wine+set}" = set; then
2599 withval
="$with_wine"
2600 wxUSE_WINE
="$withval" CACHE_WINE
=1
2603 # Check whether --with-msw or --without-msw was given.
2604 if test "${with_msw+set}" = set; then
2606 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2609 # Check whether --with-pm or --without-pm was given.
2610 if test "${with_pm+set}" = set; then
2612 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2615 # Check whether --with-mgl or --without-mgl was given.
2616 if test "${with_mgl+set}" = set; then
2618 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2621 # Check whether --with-microwin or --without-microwin was given.
2622 if test "${with_microwin+set}" = set; then
2623 withval
="$with_microwin"
2624 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2627 # Check whether --with-x11 or --without-x11 was given.
2628 if test "${with_x11+set}" = set; then
2630 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2635 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2637 # Check whether --enable-nanox or --disable-nanox was given.
2638 if test "${enable_nanox+set}" = set; then
2639 enableval
="$enable_nanox"
2641 if test "$enableval" = yes; then
2642 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2644 ac_cv_use_nanox
='wxUSE_NANOX=no'
2649 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2650 if test "x$LINE" != x
; then
2651 eval "DEFAULT_$LINE"
2656 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2660 eval "$ac_cv_use_nanox"
2661 if test "$no_cache" != 1; then
2662 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2665 if test "$wxUSE_NANOX" = yes; then
2666 echo "$as_me:$LINENO: result: yes" >&5
2667 echo "${ECHO_T}yes" >&6
2669 echo "$as_me:$LINENO: result: no" >&5
2670 echo "${ECHO_T}no" >&6
2676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2677 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2679 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2680 if test "${enable_gtk2+set}" = set; then
2681 enableval
="$enable_gtk2"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2686 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2691 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x
; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2702 eval "$ac_cv_use_gtk2"
2703 if test "$no_cache" != 1; then
2704 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2707 if test "$wxUSE_GTK2" = yes; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2718 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2720 # Check whether --enable-gpe or --disable-gpe was given.
2721 if test "${enable_gpe+set}" = set; then
2722 enableval
="$enable_gpe"
2724 if test "$enableval" = yes; then
2725 ac_cv_use_gpe
='wxUSE_GPE=yes'
2727 ac_cv_use_gpe
='wxUSE_GPE=no'
2732 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x
; then
2734 eval "DEFAULT_$LINE"
2739 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2743 eval "$ac_cv_use_gpe"
2744 if test "$no_cache" != 1; then
2745 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2748 if test "$wxUSE_GPE" = yes; then
2749 echo "$as_me:$LINENO: result: yes" >&5
2750 echo "${ECHO_T}yes" >&6
2752 echo "$as_me:$LINENO: result: no" >&5
2753 echo "${ECHO_T}no" >&6
2758 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2759 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2762 # Check whether --with-libpng or --without-libpng was given.
2763 if test "${with_libpng+set}" = set; then
2764 withval
="$with_libpng"
2766 if test "$withval" = yes; then
2767 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2768 elif test "$withval" = no
; then
2769 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2770 elif test "$withval" = sys
; then
2771 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2772 elif test "$withval" = builtin; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2775 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2776 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2777 { (exit 1); exit 1; }; }
2782 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x
; then
2784 eval "DEFAULT_$LINE"
2789 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2793 eval "$ac_cv_use_libpng"
2794 if test "$no_cache" != 1; then
2795 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2798 if test "$wxUSE_LIBPNG" = yes; then
2799 echo "$as_me:$LINENO: result: yes" >&5
2800 echo "${ECHO_T}yes" >&6
2801 elif test "$wxUSE_LIBPNG" = no
; then
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2804 elif test "$wxUSE_LIBPNG" = sys
; then
2805 echo "$as_me:$LINENO: result: system version" >&5
2806 echo "${ECHO_T}system version" >&6
2807 elif test "$wxUSE_LIBPNG" = builtin; then
2808 echo "$as_me:$LINENO: result: builtin version" >&5
2809 echo "${ECHO_T}builtin version" >&6
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2817 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2818 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2821 # Check whether --with-libjpeg or --without-libjpeg was given.
2822 if test "${with_libjpeg+set}" = set; then
2823 withval
="$with_libjpeg"
2825 if test "$withval" = yes; then
2826 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2827 elif test "$withval" = no
; then
2828 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2829 elif test "$withval" = sys
; then
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2831 elif test "$withval" = builtin; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2834 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2835 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2836 { (exit 1); exit 1; }; }
2841 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x
; then
2843 eval "DEFAULT_$LINE"
2848 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2852 eval "$ac_cv_use_libjpeg"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2857 if test "$wxUSE_LIBJPEG" = yes; then
2858 echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2860 elif test "$wxUSE_LIBJPEG" = no
; then
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2863 elif test "$wxUSE_LIBJPEG" = sys
; then
2864 echo "$as_me:$LINENO: result: system version" >&5
2865 echo "${ECHO_T}system version" >&6
2866 elif test "$wxUSE_LIBJPEG" = builtin; then
2867 echo "$as_me:$LINENO: result: builtin version" >&5
2868 echo "${ECHO_T}builtin version" >&6
2870 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2871 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2872 { (exit 1); exit 1; }; }
2876 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2877 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2880 # Check whether --with-libtiff or --without-libtiff was given.
2881 if test "${with_libtiff+set}" = set; then
2882 withval
="$with_libtiff"
2884 if test "$withval" = yes; then
2885 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2886 elif test "$withval" = no
; then
2887 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2888 elif test "$withval" = sys
; then
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2890 elif test "$withval" = builtin; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2893 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2894 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2895 { (exit 1); exit 1; }; }
2900 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2901 if test "x$LINE" != x
; then
2902 eval "DEFAULT_$LINE"
2907 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2911 eval "$ac_cv_use_libtiff"
2912 if test "$no_cache" != 1; then
2913 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2916 if test "$wxUSE_LIBTIFF" = yes; then
2917 echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2919 elif test "$wxUSE_LIBTIFF" = no
; then
2920 echo "$as_me:$LINENO: result: no" >&5
2921 echo "${ECHO_T}no" >&6
2922 elif test "$wxUSE_LIBTIFF" = sys
; then
2923 echo "$as_me:$LINENO: result: system version" >&5
2924 echo "${ECHO_T}system version" >&6
2925 elif test "$wxUSE_LIBTIFF" = builtin; then
2926 echo "$as_me:$LINENO: result: builtin version" >&5
2927 echo "${ECHO_T}builtin version" >&6
2929 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2930 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2931 { (exit 1); exit 1; }; }
2935 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2936 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2939 # Check whether --with-libxpm or --without-libxpm was given.
2940 if test "${with_libxpm+set}" = set; then
2941 withval
="$with_libxpm"
2943 if test "$withval" = yes; then
2944 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2945 elif test "$withval" = no
; then
2946 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2947 elif test "$withval" = sys
; then
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2949 elif test "$withval" = builtin; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2952 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2953 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2954 { (exit 1); exit 1; }; }
2959 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x
; then
2961 eval "DEFAULT_$LINE"
2966 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2970 eval "$ac_cv_use_libxpm"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2975 if test "$wxUSE_LIBXPM" = yes; then
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2978 elif test "$wxUSE_LIBXPM" = no
; then
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2981 elif test "$wxUSE_LIBXPM" = sys
; then
2982 echo "$as_me:$LINENO: result: system version" >&5
2983 echo "${ECHO_T}system version" >&6
2984 elif test "$wxUSE_LIBXPM" = builtin; then
2985 echo "$as_me:$LINENO: result: builtin version" >&5
2986 echo "${ECHO_T}builtin version" >&6
2988 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2989 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2990 { (exit 1); exit 1; }; }
2994 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2995 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2998 # Check whether --with-libmspack or --without-libmspack was given.
2999 if test "${with_libmspack+set}" = set; then
3000 withval
="$with_libmspack"
3002 if test "$withval" = yes; then
3003 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3005 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3010 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x
; then
3012 eval "DEFAULT_$LINE"
3017 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3021 eval "$ac_cv_use_libmspack"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3026 if test "$wxUSE_LIBMSPACK" = yes; then
3027 echo "$as_me:$LINENO: result: yes" >&5
3028 echo "${ECHO_T}yes" >&6
3030 echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6
3035 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3036 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3039 # Check whether --with-sdl or --without-sdl was given.
3040 if test "${with_sdl+set}" = set; then
3043 if test "$withval" = yes; then
3044 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3046 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3051 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x
; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3062 eval "$ac_cv_use_sdl"
3063 if test "$no_cache" != 1; then
3064 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3067 if test "$wxUSE_LIBSDL" = yes; then
3068 echo "$as_me:$LINENO: result: yes" >&5
3069 echo "${ECHO_T}yes" >&6
3071 echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6
3076 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3077 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3080 # Check whether --with-opengl or --without-opengl was given.
3081 if test "${with_opengl+set}" = set; then
3082 withval
="$with_opengl"
3084 if test "$withval" = yes; then
3085 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3087 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3092 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3093 if test "x$LINE" != x
; then
3094 eval "DEFAULT_$LINE"
3099 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3103 eval "$ac_cv_use_opengl"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_OPENGL" = yes; then
3109 echo "$as_me:$LINENO: result: yes" >&5
3110 echo "${ECHO_T}yes" >&6
3112 echo "$as_me:$LINENO: result: no" >&5
3113 echo "${ECHO_T}no" >&6
3120 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3121 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3124 # Check whether --with-dmalloc or --without-dmalloc was given.
3125 if test "${with_dmalloc+set}" = set; then
3126 withval
="$with_dmalloc"
3128 if test "$withval" = yes; then
3129 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3131 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3136 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3147 eval "$ac_cv_use_dmalloc"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_DMALLOC" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3161 echo "$as_me:$LINENO: checking for --with-regex" >&5
3162 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3165 # Check whether --with-regex or --without-regex was given.
3166 if test "${with_regex+set}" = set; then
3167 withval
="$with_regex"
3169 if test "$withval" = yes; then
3170 ac_cv_use_regex
='wxUSE_REGEX=yes'
3171 elif test "$withval" = no
; then
3172 ac_cv_use_regex
='wxUSE_REGEX=no'
3173 elif test "$withval" = sys
; then
3174 ac_cv_use_regex
='wxUSE_REGEX=sys'
3175 elif test "$withval" = builtin; then
3176 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3185 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x
; then
3187 eval "DEFAULT_$LINE"
3192 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3196 eval "$ac_cv_use_regex"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3201 if test "$wxUSE_REGEX" = yes; then
3202 echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6
3204 elif test "$wxUSE_REGEX" = no
; then
3205 echo "$as_me:$LINENO: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3207 elif test "$wxUSE_REGEX" = sys
; then
3208 echo "$as_me:$LINENO: result: system version" >&5
3209 echo "${ECHO_T}system version" >&6
3210 elif test "$wxUSE_REGEX" = builtin; then
3211 echo "$as_me:$LINENO: result: builtin version" >&5
3212 echo "${ECHO_T}builtin version" >&6
3214 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3215 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3216 { (exit 1); exit 1; }; }
3220 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3221 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3224 # Check whether --with-zlib or --without-zlib was given.
3225 if test "${with_zlib+set}" = set; then
3226 withval
="$with_zlib"
3228 if test "$withval" = yes; then
3229 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3230 elif test "$withval" = no
; then
3231 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3232 elif test "$withval" = sys
; then
3233 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3234 elif test "$withval" = builtin; then
3235 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3244 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x
; then
3246 eval "DEFAULT_$LINE"
3251 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3255 eval "$ac_cv_use_zlib"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3260 if test "$wxUSE_ZLIB" = yes; then
3261 echo "$as_me:$LINENO: result: yes" >&5
3262 echo "${ECHO_T}yes" >&6
3263 elif test "$wxUSE_ZLIB" = no
; then
3264 echo "$as_me:$LINENO: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3266 elif test "$wxUSE_ZLIB" = sys
; then
3267 echo "$as_me:$LINENO: result: system version" >&5
3268 echo "${ECHO_T}system version" >&6
3269 elif test "$wxUSE_ZLIB" = builtin; then
3270 echo "$as_me:$LINENO: result: builtin version" >&5
3271 echo "${ECHO_T}builtin version" >&6
3273 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3274 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3275 { (exit 1); exit 1; }; }
3279 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3280 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3283 # Check whether --with-odbc or --without-odbc was given.
3284 if test "${with_odbc+set}" = set; then
3285 withval
="$with_odbc"
3287 if test "$withval" = yes; then
3288 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3289 elif test "$withval" = no
; then
3290 ac_cv_use_odbc
='wxUSE_ODBC=no'
3291 elif test "$withval" = sys
; then
3292 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3293 elif test "$withval" = builtin; then
3294 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3296 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3297 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3298 { (exit 1); exit 1; }; }
3303 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x
; then
3305 eval "DEFAULT_$LINE"
3310 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3314 eval "$ac_cv_use_odbc"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_ODBC" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321 echo "${ECHO_T}yes" >&6
3322 elif test "$wxUSE_ODBC" = no
; then
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3325 elif test "$wxUSE_ODBC" = sys
; then
3326 echo "$as_me:$LINENO: result: system version" >&5
3327 echo "${ECHO_T}system version" >&6
3328 elif test "$wxUSE_ODBC" = builtin; then
3329 echo "$as_me:$LINENO: result: builtin version" >&5
3330 echo "${ECHO_T}builtin version" >&6
3332 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3333 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3334 { (exit 1); exit 1; }; }
3338 echo "$as_me:$LINENO: checking for --with-expat" >&5
3339 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3342 # Check whether --with-expat or --without-expat was given.
3343 if test "${with_expat+set}" = set; then
3344 withval
="$with_expat"
3346 if test "$withval" = yes; then
3347 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3348 elif test "$withval" = no
; then
3349 ac_cv_use_expat
='wxUSE_EXPAT=no'
3350 elif test "$withval" = sys
; then
3351 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3352 elif test "$withval" = builtin; then
3353 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3355 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3356 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3357 { (exit 1); exit 1; }; }
3362 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3363 if test "x$LINE" != x
; then
3364 eval "DEFAULT_$LINE"
3369 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3373 eval "$ac_cv_use_expat"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_EXPAT" = yes; then
3379 echo "$as_me:$LINENO: result: yes" >&5
3380 echo "${ECHO_T}yes" >&6
3381 elif test "$wxUSE_EXPAT" = no
; then
3382 echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3384 elif test "$wxUSE_EXPAT" = sys
; then
3385 echo "$as_me:$LINENO: result: system version" >&5
3386 echo "${ECHO_T}system version" >&6
3387 elif test "$wxUSE_EXPAT" = builtin; then
3388 echo "$as_me:$LINENO: result: builtin version" >&5
3389 echo "${ECHO_T}builtin version" >&6
3391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3393 { (exit 1); exit 1; }; }
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3401 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3403 # Check whether --enable-shared or --disable-shared was given.
3404 if test "${enable_shared+set}" = set; then
3405 enableval
="$enable_shared"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_shared
='wxUSE_SHARED=yes'
3410 ac_cv_use_shared
='wxUSE_SHARED=no'
3415 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3426 eval "$ac_cv_use_shared"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3431 if test "$wxUSE_SHARED" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433 echo "${ECHO_T}yes" >&6
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3444 # Check whether --enable-optimise or --disable-optimise was given.
3445 if test "${enable_optimise+set}" = set; then
3446 enableval
="$enable_optimise"
3448 if test "$enableval" = yes; then
3449 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3451 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3456 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x
; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3467 eval "$ac_cv_use_optimise"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_OPTIMISE" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3485 # Check whether --enable-debug or --disable-debug was given.
3486 if test "${enable_debug+set}" = set; then
3487 enableval
="$enable_debug"
3489 if test "$enableval" = yes; then
3490 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3492 ac_cv_use_debug
='wxUSE_DEBUG=no'
3497 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x
; then
3499 eval "DEFAULT_$LINE"
3504 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3508 eval "$ac_cv_use_debug"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3513 if test "$wxUSE_DEBUG" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3526 # Check whether --enable-stl or --disable-stl was given.
3527 if test "${enable_stl+set}" = set; then
3528 enableval
="$enable_stl"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_stl
='wxUSE_STL=yes'
3533 ac_cv_use_stl
='wxUSE_STL=no'
3538 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x
; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3549 eval "$ac_cv_use_stl"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_STL" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3562 if test "$USE_OS2" = "1"; then
3565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3566 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3568 # Check whether --enable-omf or --disable-omf was given.
3569 if test "${enable_omf+set}" = set; then
3570 enableval
="$enable_omf"
3572 if test "$enableval" = yes; then
3573 ac_cv_use_omf
='wxUSE_OMF=yes'
3575 ac_cv_use_omf
='wxUSE_OMF=no'
3580 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x
; then
3582 eval "DEFAULT_$LINE"
3587 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3591 eval "$ac_cv_use_omf"
3592 if test "$no_cache" != 1; then
3593 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3596 if test "$wxUSE_OMF" = yes; then
3597 echo "$as_me:$LINENO: result: yes" >&5
3598 echo "${ECHO_T}yes" >&6
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3606 if test "$wxUSE_DEBUG" = "yes"; then
3607 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3608 DEFAULT_wxUSE_DEBUG_INFO
=yes
3610 elif test "$wxUSE_DEBUG" = "no"; then
3611 DEFAULT_wxUSE_DEBUG_FLAG
=no
3612 DEFAULT_wxUSE_DEBUG_INFO
=no
3618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3621 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3622 if test "${enable_debug_flag+set}" = set; then
3623 enableval
="$enable_debug_flag"
3625 if test "$enableval" = yes; then
3626 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3628 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3633 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x
; then
3635 eval "DEFAULT_$LINE"
3640 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3644 eval "$ac_cv_use_debug_flag"
3645 if test "$no_cache" != 1; then
3646 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3649 if test "$wxUSE_DEBUG_FLAG" = yes; then
3650 echo "$as_me:$LINENO: result: yes" >&5
3651 echo "${ECHO_T}yes" >&6
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3660 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3662 # Check whether --enable-debug_info or --disable-debug_info was given.
3663 if test "${enable_debug_info+set}" = set; then
3664 enableval
="$enable_debug_info"
3666 if test "$enableval" = yes; then
3667 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3669 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3674 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x
; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3685 eval "$ac_cv_use_debug_info"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3690 if test "$wxUSE_DEBUG_INFO" = yes; then
3691 echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3703 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3704 if test "${enable_debug_gdb+set}" = set; then
3705 enableval
="$enable_debug_gdb"
3707 if test "$enableval" = yes; then
3708 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3710 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3715 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x
; then
3717 eval "DEFAULT_$LINE"
3722 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3726 eval "$ac_cv_use_debug_gdb"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3731 if test "$wxUSE_DEBUG_GDB" = yes; then
3732 echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6
3735 echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3744 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3745 if test "${enable_debug_cntxt+set}" = set; then
3746 enableval
="$enable_debug_cntxt"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3751 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3756 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3767 eval "$ac_cv_use_debug_cntxt"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3772 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3785 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3786 if test "${enable_mem_tracing+set}" = set; then
3787 enableval
="$enable_mem_tracing"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3792 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3797 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3808 eval "$ac_cv_use_mem_tracing"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_MEM_TRACING" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3826 # Check whether --enable-profile or --disable-profile was given.
3827 if test "${enable_profile+set}" = set; then
3828 enableval
="$enable_profile"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3833 ac_cv_use_profile
='wxUSE_PROFILE=no'
3838 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3849 eval "$ac_cv_use_profile"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_PROFILE" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3867 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3868 if test "${enable_no_rtti+set}" = set; then
3869 enableval
="$enable_no_rtti"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3874 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3879 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3890 eval "$ac_cv_use_no_rtti"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_NO_RTTI" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3906 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3908 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3909 if test "${enable_no_exceptions+set}" = set; then
3910 enableval
="$enable_no_exceptions"
3912 if test "$enableval" = yes; then
3913 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3915 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3920 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x
; then
3922 eval "DEFAULT_$LINE"
3927 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3931 eval "$ac_cv_use_no_exceptions"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3936 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3937 echo "$as_me:$LINENO: result: yes" >&5
3938 echo "${ECHO_T}yes" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3947 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3949 # Check whether --enable-permissive or --disable-permissive was given.
3950 if test "${enable_permissive+set}" = set; then
3951 enableval
="$enable_permissive"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
3956 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
3961 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3972 eval "$ac_cv_use_permissive"
3973 if test "$no_cache" != 1; then
3974 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3977 if test "$wxUSE_PERMISSIVE" = yes; then
3978 echo "$as_me:$LINENO: result: yes" >&5
3979 echo "${ECHO_T}yes" >&6
3981 echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6
3987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3988 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3990 # Check whether --enable-no_deps or --disable-no_deps was given.
3991 if test "${enable_no_deps+set}" = set; then
3992 enableval
="$enable_no_deps"
3994 if test "$enableval" = yes; then
3995 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3997 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4002 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x
; then
4004 eval "DEFAULT_$LINE"
4009 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4013 eval "$ac_cv_use_no_deps"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4018 if test "$wxUSE_NO_DEPS" = yes; then
4019 echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6
4022 echo "$as_me:$LINENO: result: no" >&5
4023 echo "${ECHO_T}no" >&6
4029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4030 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4032 # Check whether --enable-compat22 or --disable-compat22 was given.
4033 if test "${enable_compat22+set}" = set; then
4034 enableval
="$enable_compat22"
4036 if test "$enableval" = yes; then
4037 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4044 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4045 if test "x$LINE" != x
; then
4046 eval "DEFAULT_$LINE"
4051 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4055 eval "$ac_cv_use_compat22"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4060 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4061 echo "$as_me:$LINENO: result: yes" >&5
4062 echo "${ECHO_T}yes" >&6
4064 echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4069 enablestring
=disable
4070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4071 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4073 # Check whether --enable-compat24 or --disable-compat24 was given.
4074 if test "${enable_compat24+set}" = set; then
4075 enableval
="$enable_compat24"
4077 if test "$enableval" = yes; then
4078 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4085 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4086 if test "x$LINE" != x
; then
4087 eval "DEFAULT_$LINE"
4092 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4096 eval "$ac_cv_use_compat24"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4101 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4102 echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6
4105 echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6
4110 # Check whether --enable-rpath or --disable-rpath was given.
4111 if test "${enable_rpath+set}" = set; then
4112 enableval
="$enable_rpath"
4113 wxRPATH_DIR
="$enableval"
4116 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable" -a "$wxRPATH_DIR" != "no"; then
4117 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4127 # Check whether --enable-intl or --disable-intl was given.
4128 if test "${enable_intl+set}" = set; then
4129 enableval
="$enable_intl"
4131 if test "$enableval" = yes; then
4132 ac_cv_use_intl
='wxUSE_INTL=yes'
4134 ac_cv_use_intl
='wxUSE_INTL=no'
4139 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x
; then
4141 eval "DEFAULT_$LINE"
4146 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4150 eval "$ac_cv_use_intl"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_INTL" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4168 # Check whether --enable-config or --disable-config was given.
4169 if test "${enable_config+set}" = set; then
4170 enableval
="$enable_config"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_config
='wxUSE_CONFIG=yes'
4175 ac_cv_use_config
='wxUSE_CONFIG=no'
4180 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x
; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4191 eval "$ac_cv_use_config"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_CONFIG" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4210 # Check whether --enable-protocols or --disable-protocols was given.
4211 if test "${enable_protocols+set}" = set; then
4212 enableval
="$enable_protocols"
4214 if test "$enableval" = yes; then
4215 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4217 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4222 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x
; then
4224 eval "DEFAULT_$LINE"
4229 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4233 eval "$ac_cv_use_protocols"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_PROTOCOL" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4251 # Check whether --enable-ftp or --disable-ftp was given.
4252 if test "${enable_ftp+set}" = set; then
4253 enableval
="$enable_ftp"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4258 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4263 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4274 eval "$ac_cv_use_ftp"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4279 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4292 # Check whether --enable-http or --disable-http was given.
4293 if test "${enable_http+set}" = set; then
4294 enableval
="$enable_http"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4299 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4304 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x
; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4315 eval "$ac_cv_use_http"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4320 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4333 # Check whether --enable-fileproto or --disable-fileproto was given.
4334 if test "${enable_fileproto+set}" = set; then
4335 enableval
="$enable_fileproto"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4340 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4345 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x
; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4356 eval "$ac_cv_use_fileproto"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4374 # Check whether --enable-sockets or --disable-sockets was given.
4375 if test "${enable_sockets+set}" = set; then
4376 enableval
="$enable_sockets"
4378 if test "$enableval" = yes; then
4379 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4381 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4386 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x
; then
4388 eval "DEFAULT_$LINE"
4393 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4397 eval "$ac_cv_use_sockets"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_SOCKETS" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4415 # Check whether --enable-ole or --disable-ole was given.
4416 if test "${enable_ole+set}" = set; then
4417 enableval
="$enable_ole"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_ole
='wxUSE_OLE=yes'
4422 ac_cv_use_ole
='wxUSE_OLE=no'
4427 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4438 eval "$ac_cv_use_ole"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_OLE" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4456 # Check whether --enable-dataobj or --disable-dataobj was given.
4457 if test "${enable_dataobj+set}" = set; then
4458 enableval
="$enable_dataobj"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4463 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4468 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4479 eval "$ac_cv_use_dataobj"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_DATAOBJ" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4498 # Check whether --enable-ipc or --disable-ipc was given.
4499 if test "${enable_ipc+set}" = set; then
4500 enableval
="$enable_ipc"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_ipc
='wxUSE_IPC=yes'
4505 ac_cv_use_ipc
='wxUSE_IPC=no'
4510 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4521 eval "$ac_cv_use_ipc"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_IPC" = yes; then
4527 echo "$as_me:$LINENO: result: yes" >&5
4528 echo "${ECHO_T}yes" >&6
4530 echo "$as_me:$LINENO: result: no" >&5
4531 echo "${ECHO_T}no" >&6
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4540 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4541 if test "${enable_apple_ieee+set}" = set; then
4542 enableval
="$enable_apple_ieee"
4544 if test "$enableval" = yes; then
4545 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4547 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4552 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x
; then
4554 eval "DEFAULT_$LINE"
4559 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4563 eval "$ac_cv_use_apple_ieee"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_APPLE_IEEE" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4581 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4582 if test "${enable_catch_segvs+set}" = set; then
4583 enableval
="$enable_catch_segvs"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4588 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4593 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4604 eval "$ac_cv_use_catch_segvs"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4622 # Check whether --enable-cmdline or --disable-cmdline was given.
4623 if test "${enable_cmdline+set}" = set; then
4624 enableval
="$enable_cmdline"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4629 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4634 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x
; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4645 eval "$ac_cv_use_cmdline"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4663 # Check whether --enable-datetime or --disable-datetime was given.
4664 if test "${enable_datetime+set}" = set; then
4665 enableval
="$enable_datetime"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4670 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4675 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4686 eval "$ac_cv_use_datetime"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_DATETIME" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4704 # Check whether --enable-dialupman or --disable-dialupman was given.
4705 if test "${enable_dialupman+set}" = set; then
4706 enableval
="$enable_dialupman"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4711 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4716 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4727 eval "$ac_cv_use_dialupman"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4745 # Check whether --enable-dynlib or --disable-dynlib was given.
4746 if test "${enable_dynlib+set}" = set; then
4747 enableval
="$enable_dynlib"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4752 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4757 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4768 eval "$ac_cv_use_dynlib"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4786 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4787 if test "${enable_dynamicloader+set}" = set; then
4788 enableval
="$enable_dynamicloader"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4793 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4798 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4809 eval "$ac_cv_use_dynamicloader"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4827 # Check whether --enable-exceptions or --disable-exceptions was given.
4828 if test "${enable_exceptions+set}" = set; then
4829 enableval
="$enable_exceptions"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
4834 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
4839 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4850 eval "$ac_cv_use_exceptions"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_EXCEPTIONS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4868 # Check whether --enable-ffile or --disable-ffile was given.
4869 if test "${enable_ffile+set}" = set; then
4870 enableval
="$enable_ffile"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4875 ac_cv_use_ffile
='wxUSE_FFILE=no'
4880 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x
; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4891 eval "$ac_cv_use_ffile"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_FFILE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4909 # Check whether --enable-file or --disable-file was given.
4910 if test "${enable_file+set}" = set; then
4911 enableval
="$enable_file"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_file
='wxUSE_FILE=yes'
4916 ac_cv_use_file
='wxUSE_FILE=no'
4921 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4932 eval "$ac_cv_use_file"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_FILE" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4950 # Check whether --enable-filesystem or --disable-filesystem was given.
4951 if test "${enable_filesystem+set}" = set; then
4952 enableval
="$enable_filesystem"
4954 if test "$enableval" = yes; then
4955 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4957 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4962 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x
; then
4964 eval "DEFAULT_$LINE"
4969 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4973 eval "$ac_cv_use_filesystem"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4978 if test "$wxUSE_FILESYSTEM" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4991 # Check whether --enable-fontmap or --disable-fontmap was given.
4992 if test "${enable_fontmap+set}" = set; then
4993 enableval
="$enable_fontmap"
4995 if test "$enableval" = yes; then
4996 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4998 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5003 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x
; then
5005 eval "DEFAULT_$LINE"
5010 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5014 eval "$ac_cv_use_fontmap"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5019 if test "$wxUSE_FONTMAP" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5032 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5033 if test "${enable_fs_inet+set}" = set; then
5034 enableval
="$enable_fs_inet"
5036 if test "$enableval" = yes; then
5037 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5039 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5044 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x
; then
5046 eval "DEFAULT_$LINE"
5051 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5055 eval "$ac_cv_use_fs_inet"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_FS_INET" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5073 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5074 if test "${enable_fs_zip+set}" = set; then
5075 enableval
="$enable_fs_zip"
5077 if test "$enableval" = yes; then
5078 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5080 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5085 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x
; then
5087 eval "DEFAULT_$LINE"
5092 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5096 eval "$ac_cv_use_fs_zip"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5101 if test "$wxUSE_FS_ZIP" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5114 # Check whether --enable-geometry or --disable-geometry was given.
5115 if test "${enable_geometry+set}" = set; then
5116 enableval
="$enable_geometry"
5118 if test "$enableval" = yes; then
5119 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5121 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5126 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x
; then
5128 eval "DEFAULT_$LINE"
5133 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5137 eval "$ac_cv_use_geometry"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5142 if test "$wxUSE_GEOMETRY" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5155 # Check whether --enable-log or --disable-log was given.
5156 if test "${enable_log+set}" = set; then
5157 enableval
="$enable_log"
5159 if test "$enableval" = yes; then
5160 ac_cv_use_log
='wxUSE_LOG=yes'
5162 ac_cv_use_log
='wxUSE_LOG=no'
5167 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x
; then
5169 eval "DEFAULT_$LINE"
5174 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5178 eval "$ac_cv_use_log"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5183 if test "$wxUSE_LOG" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5196 # Check whether --enable-longlong or --disable-longlong was given.
5197 if test "${enable_longlong+set}" = set; then
5198 enableval
="$enable_longlong"
5200 if test "$enableval" = yes; then
5201 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5203 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5208 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x
; then
5210 eval "DEFAULT_$LINE"
5215 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5219 eval "$ac_cv_use_longlong"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5224 if test "$wxUSE_LONGLONG" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5237 # Check whether --enable-mimetype or --disable-mimetype was given.
5238 if test "${enable_mimetype+set}" = set; then
5239 enableval
="$enable_mimetype"
5241 if test "$enableval" = yes; then
5242 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5244 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5249 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x
; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5260 eval "$ac_cv_use_mimetype"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_MIMETYPE" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5278 # Check whether --enable-mslu or --disable-mslu was given.
5279 if test "${enable_mslu+set}" = set; then
5280 enableval
="$enable_mslu"
5282 if test "$enableval" = yes; then
5283 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5285 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5290 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x
; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5301 eval "$ac_cv_use_mslu"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5306 if test "$wxUSE_UNICODE_MSLU" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5319 # Check whether --enable-snglinst or --disable-snglinst was given.
5320 if test "${enable_snglinst+set}" = set; then
5321 enableval
="$enable_snglinst"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5326 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5331 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x
; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5342 eval "$ac_cv_use_snglinst"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5360 # Check whether --enable-streams or --disable-streams was given.
5361 if test "${enable_streams+set}" = set; then
5362 enableval
="$enable_streams"
5364 if test "$enableval" = yes; then
5365 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5367 ac_cv_use_streams
='wxUSE_STREAMS=no'
5372 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x
; then
5374 eval "DEFAULT_$LINE"
5379 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5383 eval "$ac_cv_use_streams"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5388 if test "$wxUSE_STREAMS" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5401 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5402 if test "${enable_std_iostreams+set}" = set; then
5403 enableval
="$enable_std_iostreams"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5408 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5413 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5424 eval "$ac_cv_use_std_iostreams"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5429 if test "$wxUSE_STD_IOSTREAM" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5442 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5443 if test "${enable_stopwatch+set}" = set; then
5444 enableval
="$enable_stopwatch"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5449 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5454 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5465 eval "$ac_cv_use_stopwatch"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_STOPWATCH" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5483 # Check whether --enable-system_options or --disable-system_options was given.
5484 if test "${enable_system_options+set}" = set; then
5485 enableval
="$enable_system_options"
5487 if test "$enableval" = yes; then
5488 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5490 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5495 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x
; then
5497 eval "DEFAULT_$LINE"
5502 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5506 eval "$ac_cv_use_system_options"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5524 # Check whether --enable-textbuf or --disable-textbuf was given.
5525 if test "${enable_textbuf+set}" = set; then
5526 enableval
="$enable_textbuf"
5528 if test "$enableval" = yes; then
5529 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5531 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5536 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x
; then
5538 eval "DEFAULT_$LINE"
5543 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5547 eval "$ac_cv_use_textbuf"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5552 if test "$wxUSE_TEXTBUFFER" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5565 # Check whether --enable-textfile or --disable-textfile was given.
5566 if test "${enable_textfile+set}" = set; then
5567 enableval
="$enable_textfile"
5569 if test "$enableval" = yes; then
5570 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5572 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5577 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x
; then
5579 eval "DEFAULT_$LINE"
5584 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5588 eval "$ac_cv_use_textfile"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5593 if test "$wxUSE_TEXTFILE" = yes; then
5594 echo "$as_me:$LINENO: result: yes" >&5
5595 echo "${ECHO_T}yes" >&6
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5606 # Check whether --enable-timer or --disable-timer was given.
5607 if test "${enable_timer+set}" = set; then
5608 enableval
="$enable_timer"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_timer
='wxUSE_TIMER=yes'
5613 ac_cv_use_timer
='wxUSE_TIMER=no'
5618 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x
; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5629 eval "$ac_cv_use_timer"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5634 if test "$wxUSE_TIMER" = yes; then
5635 echo "$as_me:$LINENO: result: yes" >&5
5636 echo "${ECHO_T}yes" >&6
5638 echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6
5644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5647 # Check whether --enable-unicode or --disable-unicode was given.
5648 if test "${enable_unicode+set}" = set; then
5649 enableval
="$enable_unicode"
5651 if test "$enableval" = yes; then
5652 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5654 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5659 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x
; then
5661 eval "DEFAULT_$LINE"
5666 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5670 eval "$ac_cv_use_unicode"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_UNICODE" = yes; then
5676 echo "$as_me:$LINENO: result: yes" >&5
5677 echo "${ECHO_T}yes" >&6
5679 echo "$as_me:$LINENO: result: no" >&5
5680 echo "${ECHO_T}no" >&6
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5688 # Check whether --enable-sound or --disable-sound was given.
5689 if test "${enable_sound+set}" = set; then
5690 enableval
="$enable_sound"
5692 if test "$enableval" = yes; then
5693 ac_cv_use_sound
='wxUSE_SOUND=yes'
5695 ac_cv_use_sound
='wxUSE_SOUND=no'
5700 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x
; then
5702 eval "DEFAULT_$LINE"
5707 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5711 eval "$ac_cv_use_sound"
5712 if test "$no_cache" != 1; then
5713 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5716 if test "$wxUSE_SOUND" = yes; then
5717 echo "$as_me:$LINENO: result: yes" >&5
5718 echo "${ECHO_T}yes" >&6
5720 echo "$as_me:$LINENO: result: no" >&5
5721 echo "${ECHO_T}no" >&6
5726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5727 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5729 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5730 if test "${enable_wxprintfv+set}" = set; then
5731 enableval
="$enable_wxprintfv"
5733 if test "$enableval" = yes; then
5734 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
5736 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
5741 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x
; then
5743 eval "DEFAULT_$LINE"
5748 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5752 eval "$ac_cv_use_wxprintfv"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5757 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5758 echo "$as_me:$LINENO: result: yes" >&5
5759 echo "${ECHO_T}yes" >&6
5761 echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5770 # Check whether --enable-zipstream or --disable-zipstream was given.
5771 if test "${enable_zipstream+set}" = set; then
5772 enableval
="$enable_zipstream"
5774 if test "$enableval" = yes; then
5775 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
5777 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
5782 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x
; then
5784 eval "DEFAULT_$LINE"
5789 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5793 eval "$ac_cv_use_zipstream"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_ZIPSTREAM" = yes; then
5799 echo "$as_me:$LINENO: result: yes" >&5
5800 echo "${ECHO_T}yes" >&6
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5810 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5812 # Check whether --enable-url or --disable-url was given.
5813 if test "${enable_url+set}" = set; then
5814 enableval
="$enable_url"
5816 if test "$enableval" = yes; then
5817 ac_cv_use_url
='wxUSE_URL=yes'
5819 ac_cv_use_url
='wxUSE_URL=no'
5824 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5825 if test "x$LINE" != x
; then
5826 eval "DEFAULT_$LINE"
5831 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
5835 eval "$ac_cv_use_url"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_URL" = yes; then
5841 echo "$as_me:$LINENO: result: yes" >&5
5842 echo "${ECHO_T}yes" >&6
5844 echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6
5850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5853 # Check whether --enable-protocol or --disable-protocol was given.
5854 if test "${enable_protocol+set}" = set; then
5855 enableval
="$enable_protocol"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
5860 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
5865 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5876 eval "$ac_cv_use_protocol"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_PROTOCOL" = yes; then
5882 echo "$as_me:$LINENO: result: yes" >&5
5883 echo "${ECHO_T}yes" >&6
5885 echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6
5891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5894 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5895 if test "${enable_protocol_http+set}" = set; then
5896 enableval
="$enable_protocol_http"
5898 if test "$enableval" = yes; then
5899 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
5901 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
5906 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x
; then
5908 eval "DEFAULT_$LINE"
5913 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5917 eval "$ac_cv_use_protocol_http"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5936 if test "${enable_protocol_ftp+set}" = set; then
5937 enableval
="$enable_protocol_ftp"
5939 if test "$enableval" = yes; then
5940 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
5942 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
5947 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5948 if test "x$LINE" != x
; then
5949 eval "DEFAULT_$LINE"
5954 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5958 eval "$ac_cv_use_protocol_ftp"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5963 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5964 echo "$as_me:$LINENO: result: yes" >&5
5965 echo "${ECHO_T}yes" >&6
5967 echo "$as_me:$LINENO: result: no" >&5
5968 echo "${ECHO_T}no" >&6
5973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5976 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5977 if test "${enable_protocol_file+set}" = set; then
5978 enableval
="$enable_protocol_file"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5983 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5988 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5999 eval "$ac_cv_use_protocol_file"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6005 echo "$as_me:$LINENO: result: yes" >&5
6006 echo "${ECHO_T}yes" >&6
6008 echo "$as_me:$LINENO: result: no" >&5
6009 echo "${ECHO_T}no" >&6
6017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6020 # Check whether --enable-threads or --disable-threads was given.
6021 if test "${enable_threads+set}" = set; then
6022 enableval
="$enable_threads"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_threads
='wxUSE_THREADS=yes'
6027 ac_cv_use_threads
='wxUSE_THREADS=no'
6032 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x
; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6043 eval "$ac_cv_use_threads"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_THREADS" = yes; then
6049 echo "$as_me:$LINENO: result: yes" >&5
6050 echo "${ECHO_T}yes" >&6
6052 echo "$as_me:$LINENO: result: no" >&5
6053 echo "${ECHO_T}no" >&6
6057 if test "$wxUSE_GUI" = "yes"; then
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6065 # Check whether --enable-docview or --disable-docview was given.
6066 if test "${enable_docview+set}" = set; then
6067 enableval
="$enable_docview"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6072 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6077 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6088 eval "$ac_cv_use_docview"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6106 # Check whether --enable-help or --disable-help was given.
6107 if test "${enable_help+set}" = set; then
6108 enableval
="$enable_help"
6110 if test "$enableval" = yes; then
6111 ac_cv_use_help
='wxUSE_HELP=yes'
6113 ac_cv_use_help
='wxUSE_HELP=no'
6118 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x
; then
6120 eval "DEFAULT_$LINE"
6125 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6129 eval "$ac_cv_use_help"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_HELP" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6147 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6148 if test "${enable_mshtmlhelp+set}" = set; then
6149 enableval
="$enable_mshtmlhelp"
6151 if test "$enableval" = yes; then
6152 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6154 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6159 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x
; then
6161 eval "DEFAULT_$LINE"
6166 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6170 eval "$ac_cv_use_mshtmlhelp"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_MS_HTML_HELP" = yes; then
6176 echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6
6179 echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6188 # Check whether --enable-html or --disable-html was given.
6189 if test "${enable_html+set}" = set; then
6190 enableval
="$enable_html"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_html
='wxUSE_HTML=yes'
6195 ac_cv_use_html
='wxUSE_HTML=no'
6200 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x
; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6211 eval "$ac_cv_use_html"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_HTML" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6
6220 echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6229 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6230 if test "${enable_htmlhelp+set}" = set; then
6231 enableval
="$enable_htmlhelp"
6233 if test "$enableval" = yes; then
6234 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6236 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6241 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x
; then
6243 eval "DEFAULT_$LINE"
6248 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6252 eval "$ac_cv_use_htmlhelp"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_WXHTML_HELP" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6268 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6270 # Check whether --enable-xrc or --disable-xrc was given.
6271 if test "${enable_xrc+set}" = set; then
6272 enableval
="$enable_xrc"
6274 if test "$enableval" = yes; then
6275 ac_cv_use_xrc
='wxUSE_XRC=yes'
6277 ac_cv_use_xrc
='wxUSE_XRC=no'
6282 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6283 if test "x$LINE" != x
; then
6284 eval "DEFAULT_$LINE"
6289 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6293 eval "$ac_cv_use_xrc"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_XRC" = yes; then
6299 echo "$as_me:$LINENO: result: yes" >&5
6300 echo "${ECHO_T}yes" >&6
6302 echo "$as_me:$LINENO: result: no" >&5
6303 echo "${ECHO_T}no" >&6
6308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6311 # Check whether --enable-constraints or --disable-constraints was given.
6312 if test "${enable_constraints+set}" = set; then
6313 enableval
="$enable_constraints"
6315 if test "$enableval" = yes; then
6316 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6318 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6323 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6324 if test "x$LINE" != x
; then
6325 eval "DEFAULT_$LINE"
6330 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6334 eval "$ac_cv_use_constraints"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6339 if test "$wxUSE_CONSTRAINTS" = yes; then
6340 echo "$as_me:$LINENO: result: yes" >&5
6341 echo "${ECHO_T}yes" >&6
6343 echo "$as_me:$LINENO: result: no" >&5
6344 echo "${ECHO_T}no" >&6
6349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6350 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6352 # Check whether --enable-printarch or --disable-printarch was given.
6353 if test "${enable_printarch+set}" = set; then
6354 enableval
="$enable_printarch"
6356 if test "$enableval" = yes; then
6357 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6359 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6364 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6365 if test "x$LINE" != x
; then
6366 eval "DEFAULT_$LINE"
6371 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6375 eval "$ac_cv_use_printarch"
6376 if test "$no_cache" != 1; then
6377 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6380 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6381 echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6
6384 echo "$as_me:$LINENO: result: no" >&5
6385 echo "${ECHO_T}no" >&6
6390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6393 # Check whether --enable-mdi or --disable-mdi was given.
6394 if test "${enable_mdi+set}" = set; then
6395 enableval
="$enable_mdi"
6397 if test "$enableval" = yes; then
6398 ac_cv_use_mdi
='wxUSE_MDI=yes'
6400 ac_cv_use_mdi
='wxUSE_MDI=no'
6405 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x
; then
6407 eval "DEFAULT_$LINE"
6412 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6416 eval "$ac_cv_use_mdi"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_MDI" = yes; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6425 echo "$as_me:$LINENO: result: no" >&5
6426 echo "${ECHO_T}no" >&6
6431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6434 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6435 if test "${enable_mdidoc+set}" = set; then
6436 enableval
="$enable_mdidoc"
6438 if test "$enableval" = yes; then
6439 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6441 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6446 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6447 if test "x$LINE" != x
; then
6448 eval "DEFAULT_$LINE"
6453 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6457 eval "$ac_cv_use_mdidoc"
6458 if test "$no_cache" != 1; then
6459 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6462 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6463 echo "$as_me:$LINENO: result: yes" >&5
6464 echo "${ECHO_T}yes" >&6
6466 echo "$as_me:$LINENO: result: no" >&5
6467 echo "${ECHO_T}no" >&6
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6475 # Check whether --enable-loggui or --disable-loggui was given.
6476 if test "${enable_loggui+set}" = set; then
6477 enableval
="$enable_loggui"
6479 if test "$enableval" = yes; then
6480 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6482 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6487 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x
; then
6489 eval "DEFAULT_$LINE"
6494 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6498 eval "$ac_cv_use_loggui"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_LOGGUI" = yes; then
6504 echo "$as_me:$LINENO: result: yes" >&5
6505 echo "${ECHO_T}yes" >&6
6507 echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6
6513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6516 # Check whether --enable-logwin or --disable-logwin was given.
6517 if test "${enable_logwin+set}" = set; then
6518 enableval
="$enable_logwin"
6520 if test "$enableval" = yes; then
6521 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6523 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6528 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x
; then
6530 eval "DEFAULT_$LINE"
6535 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6539 eval "$ac_cv_use_logwin"
6540 if test "$no_cache" != 1; then
6541 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6544 if test "$wxUSE_LOGWINDOW" = yes; then
6545 echo "$as_me:$LINENO: result: yes" >&5
6546 echo "${ECHO_T}yes" >&6
6548 echo "$as_me:$LINENO: result: no" >&5
6549 echo "${ECHO_T}no" >&6
6554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6555 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6557 # Check whether --enable-logdialog or --disable-logdialog was given.
6558 if test "${enable_logdialog+set}" = set; then
6559 enableval
="$enable_logdialog"
6561 if test "$enableval" = yes; then
6562 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6564 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6569 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x
; then
6571 eval "DEFAULT_$LINE"
6576 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6580 eval "$ac_cv_use_logdialog"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6585 if test "$wxUSE_LOGDIALOG" = yes; then
6586 echo "$as_me:$LINENO: result: yes" >&5
6587 echo "${ECHO_T}yes" >&6
6589 echo "$as_me:$LINENO: result: no" >&5
6590 echo "${ECHO_T}no" >&6
6595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6598 # Check whether --enable-webkit or --disable-webkit was given.
6599 if test "${enable_webkit+set}" = set; then
6600 enableval
="$enable_webkit"
6602 if test "$enableval" = yes; then
6603 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6605 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6610 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6611 if test "x$LINE" != x
; then
6612 eval "DEFAULT_$LINE"
6617 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6621 eval "$ac_cv_use_webkit"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6626 if test "$wxUSE_WEBKIT" = yes; then
6627 echo "$as_me:$LINENO: result: yes" >&5
6628 echo "${ECHO_T}yes" >&6
6630 echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6640 # Check whether --enable-postscript or --disable-postscript was given.
6641 if test "${enable_postscript+set}" = set; then
6642 enableval
="$enable_postscript"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6647 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6652 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6663 eval "$ac_cv_use_postscript"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6668 if test "$wxUSE_POSTSCRIPT" = yes; then
6669 echo "$as_me:$LINENO: result: yes" >&5
6670 echo "${ECHO_T}yes" >&6
6672 echo "$as_me:$LINENO: result: no" >&5
6673 echo "${ECHO_T}no" >&6
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6684 # Check whether --enable-prologio or --disable-prologio was given.
6685 if test "${enable_prologio+set}" = set; then
6686 enableval
="$enable_prologio"
6688 if test "$enableval" = yes; then
6689 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
6691 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
6696 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x
; then
6698 eval "DEFAULT_$LINE"
6703 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6707 eval "$ac_cv_use_prologio"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6712 if test "$wxUSE_PROLOGIO" = yes; then
6713 echo "$as_me:$LINENO: result: yes" >&5
6714 echo "${ECHO_T}yes" >&6
6716 echo "$as_me:$LINENO: result: no" >&5
6717 echo "${ECHO_T}no" >&6
6722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6725 # Check whether --enable-resources or --disable-resources was given.
6726 if test "${enable_resources+set}" = set; then
6727 enableval
="$enable_resources"
6729 if test "$enableval" = yes; then
6730 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
6732 ac_cv_use_resources
='wxUSE_RESOURCES=no'
6737 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x
; then
6739 eval "DEFAULT_$LINE"
6744 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6748 eval "$ac_cv_use_resources"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6753 if test "$wxUSE_RESOURCES" = yes; then
6754 echo "$as_me:$LINENO: result: yes" >&5
6755 echo "${ECHO_T}yes" >&6
6757 echo "$as_me:$LINENO: result: no" >&5
6758 echo "${ECHO_T}no" >&6
6765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6766 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6768 # Check whether --enable-clipboard or --disable-clipboard was given.
6769 if test "${enable_clipboard+set}" = set; then
6770 enableval
="$enable_clipboard"
6772 if test "$enableval" = yes; then
6773 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
6775 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
6780 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x
; then
6782 eval "DEFAULT_$LINE"
6787 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6791 eval "$ac_cv_use_clipboard"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6796 if test "$wxUSE_CLIPBOARD" = yes; then
6797 echo "$as_me:$LINENO: result: yes" >&5
6798 echo "${ECHO_T}yes" >&6
6800 echo "$as_me:$LINENO: result: no" >&5
6801 echo "${ECHO_T}no" >&6
6806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6809 # Check whether --enable-dnd or --disable-dnd was given.
6810 if test "${enable_dnd+set}" = set; then
6811 enableval
="$enable_dnd"
6813 if test "$enableval" = yes; then
6814 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
6816 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
6821 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x
; then
6823 eval "DEFAULT_$LINE"
6828 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6832 eval "$ac_cv_use_dnd"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6837 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6838 echo "$as_me:$LINENO: result: yes" >&5
6839 echo "${ECHO_T}yes" >&6
6841 echo "$as_me:$LINENO: result: no" >&5
6842 echo "${ECHO_T}no" >&6
6847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6850 # Check whether --enable-metafile or --disable-metafile was given.
6851 if test "${enable_metafile+set}" = set; then
6852 enableval
="$enable_metafile"
6854 if test "$enableval" = yes; then
6855 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
6857 ac_cv_use_metafile
='wxUSE_METAFILE=no'
6862 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x
; then
6864 eval "DEFAULT_$LINE"
6869 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6873 eval "$ac_cv_use_metafile"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6878 if test "$wxUSE_METAFILE" = yes; then
6879 echo "$as_me:$LINENO: result: yes" >&5
6880 echo "${ECHO_T}yes" >&6
6882 echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6894 # Check whether --enable-controls or --disable-controls was given.
6895 if test "${enable_controls+set}" = set; then
6896 enableval
="$enable_controls"
6898 if test "$enableval" = yes; then
6899 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
6901 ac_cv_use_controls
='wxUSE_CONTROLS=no'
6906 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x
; then
6908 eval "DEFAULT_$LINE"
6913 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6917 eval "$ac_cv_use_controls"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6922 if test "$wxUSE_CONTROLS" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6931 if test "$wxUSE_CONTROLS" = "yes"; then
6932 DEFAULT_wxUSE_ACCEL
=yes
6933 DEFAULT_wxUSE_BMPBUTTON
=yes
6934 DEFAULT_wxUSE_BUTTON
=yes
6935 DEFAULT_wxUSE_CALCTRL
=no
6936 DEFAULT_wxUSE_CARET
=yes
6937 DEFAULT_wxUSE_COMBOBOX
=yes
6938 DEFAULT_wxUSE_CHECKBOX
=yes
6939 DEFAULT_wxUSE_CHECKLISTBOX
=yes
6940 DEFAULT_wxUSE_CHOICE
=yes
6941 DEFAULT_wxUSE_CHOICEBOOK
=yes
6942 DEFAULT_wxUSE_GAUGE
=yes
6943 DEFAULT_wxUSE_GRID
=yes
6944 DEFAULT_wxUSE_IMAGLIST
=yes
6945 DEFAULT_wxUSE_LISTBOOK
=yes
6946 DEFAULT_wxUSE_LISTBOX
=yes
6947 DEFAULT_wxUSE_LISTCTRL
=yes
6948 DEFAULT_wxUSE_NOTEBOOK
=yes
6949 DEFAULT_wxUSE_RADIOBOX
=yes
6950 DEFAULT_wxUSE_RADIOBTN
=yes
6951 DEFAULT_wxUSE_SASH
=yes
6952 DEFAULT_wxUSE_SCROLLBAR
=yes
6953 DEFAULT_wxUSE_SLIDER
=yes
6954 DEFAULT_wxUSE_SPINBTN
=yes
6955 DEFAULT_wxUSE_SPINCTRL
=yes
6956 DEFAULT_wxUSE_SPLITTER
=yes
6957 DEFAULT_wxUSE_STATBMP
=yes
6958 DEFAULT_wxUSE_STATBOX
=yes
6959 DEFAULT_wxUSE_STATLINE
=yes
6960 DEFAULT_wxUSE_STATUSBAR
=yes
6961 DEFAULT_wxUSE_TAB_DIALOG
=yes
6962 DEFAULT_wxUSE_TOGGLEBTN
=yes
6963 DEFAULT_wxUSE_TOOLBAR
=yes
6964 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
6965 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
6966 DEFAULT_wxUSE_TOOLTIPS
=yes
6967 DEFAULT_wxUSE_TREECTRL
=yes
6968 DEFAULT_wxUSE_POPUPWIN
=yes
6969 DEFAULT_wxUSE_TIPWINDOW
=yes
6970 elif test "$wxUSE_CONTROLS" = "no"; then
6971 DEFAULT_wxUSE_ACCEL
=no
6972 DEFAULT_wxUSE_BMPBUTTON
=no
6973 DEFAULT_wxUSE_BUTTON
=no
6974 DEFAULT_wxUSE_CALCTRL
=no
6975 DEFAULT_wxUSE_CARET
=no
6976 DEFAULT_wxUSE_COMBOBOX
=no
6977 DEFAULT_wxUSE_CHECKBOX
=no
6978 DEFAULT_wxUSE_CHECKLISTBOX
=no
6979 DEFAULT_wxUSE_CHOICE
=no
6980 DEFAULT_wxUSE_CHOICEBOOK
=no
6981 DEFAULT_wxUSE_GAUGE
=no
6982 DEFAULT_wxUSE_GRID
=no
6983 DEFAULT_wxUSE_IMAGLIST
=no
6984 DEFAULT_wxUSE_LISTBOOK
=no
6985 DEFAULT_wxUSE_LISTBOX
=no
6986 DEFAULT_wxUSE_LISTCTRL
=no
6987 DEFAULT_wxUSE_NOTEBOOK
=no
6988 DEFAULT_wxUSE_RADIOBOX
=no
6989 DEFAULT_wxUSE_RADIOBTN
=no
6990 DEFAULT_wxUSE_SASH
=no
6991 DEFAULT_wxUSE_SCROLLBAR
=no
6992 DEFAULT_wxUSE_SLIDER
=no
6993 DEFAULT_wxUSE_SPINBTN
=no
6994 DEFAULT_wxUSE_SPINCTRL
=no
6995 DEFAULT_wxUSE_SPLITTER
=no
6996 DEFAULT_wxUSE_STATBMP
=no
6997 DEFAULT_wxUSE_STATBOX
=no
6998 DEFAULT_wxUSE_STATLINE
=no
6999 DEFAULT_wxUSE_STATUSBAR
=no
7000 DEFAULT_wxUSE_TAB_DIALOG
=no
7001 DEFAULT_wxUSE_TOGGLEBTN
=no
7002 DEFAULT_wxUSE_TOOLBAR
=no
7003 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7004 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7005 DEFAULT_wxUSE_TOOLTIPS
=no
7006 DEFAULT_wxUSE_TREECTRL
=no
7007 DEFAULT_wxUSE_POPUPWIN
=no
7008 DEFAULT_wxUSE_TIPWINDOW
=no
7013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7014 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7016 # Check whether --enable-accel or --disable-accel was given.
7017 if test "${enable_accel+set}" = set; then
7018 enableval
="$enable_accel"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7023 ac_cv_use_accel
='wxUSE_ACCEL=no'
7028 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x
; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7039 eval "$ac_cv_use_accel"
7040 if test "$no_cache" != 1; then
7041 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7044 if test "$wxUSE_ACCEL" = yes; then
7045 echo "$as_me:$LINENO: result: yes" >&5
7046 echo "${ECHO_T}yes" >&6
7048 echo "$as_me:$LINENO: result: no" >&5
7049 echo "${ECHO_T}no" >&6
7054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7055 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7057 # Check whether --enable-button or --disable-button was given.
7058 if test "${enable_button+set}" = set; then
7059 enableval
="$enable_button"
7061 if test "$enableval" = yes; then
7062 ac_cv_use_button
='wxUSE_BUTTON=yes'
7064 ac_cv_use_button
='wxUSE_BUTTON=no'
7069 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7070 if test "x$LINE" != x
; then
7071 eval "DEFAULT_$LINE"
7076 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7080 eval "$ac_cv_use_button"
7081 if test "$no_cache" != 1; then
7082 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7085 if test "$wxUSE_BUTTON" = yes; then
7086 echo "$as_me:$LINENO: result: yes" >&5
7087 echo "${ECHO_T}yes" >&6
7089 echo "$as_me:$LINENO: result: no" >&5
7090 echo "${ECHO_T}no" >&6
7095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7098 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7099 if test "${enable_bmpbutton+set}" = set; then
7100 enableval
="$enable_bmpbutton"
7102 if test "$enableval" = yes; then
7103 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7105 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7110 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x
; then
7112 eval "DEFAULT_$LINE"
7117 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7121 eval "$ac_cv_use_bmpbutton"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7126 if test "$wxUSE_BMPBUTTON" = yes; then
7127 echo "$as_me:$LINENO: result: yes" >&5
7128 echo "${ECHO_T}yes" >&6
7130 echo "$as_me:$LINENO: result: no" >&5
7131 echo "${ECHO_T}no" >&6
7136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7137 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7139 # Check whether --enable-calendar or --disable-calendar was given.
7140 if test "${enable_calendar+set}" = set; then
7141 enableval
="$enable_calendar"
7143 if test "$enableval" = yes; then
7144 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7146 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7151 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x
; then
7153 eval "DEFAULT_$LINE"
7158 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7162 eval "$ac_cv_use_calendar"
7163 if test "$no_cache" != 1; then
7164 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7167 if test "$wxUSE_CALCTRL" = yes; then
7168 echo "$as_me:$LINENO: result: yes" >&5
7169 echo "${ECHO_T}yes" >&6
7171 echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6
7177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7180 # Check whether --enable-caret or --disable-caret was given.
7181 if test "${enable_caret+set}" = set; then
7182 enableval
="$enable_caret"
7184 if test "$enableval" = yes; then
7185 ac_cv_use_caret
='wxUSE_CARET=yes'
7187 ac_cv_use_caret
='wxUSE_CARET=no'
7192 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x
; then
7194 eval "DEFAULT_$LINE"
7199 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7203 eval "$ac_cv_use_caret"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7208 if test "$wxUSE_CARET" = yes; then
7209 echo "$as_me:$LINENO: result: yes" >&5
7210 echo "${ECHO_T}yes" >&6
7212 echo "$as_me:$LINENO: result: no" >&5
7213 echo "${ECHO_T}no" >&6
7218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7221 # Check whether --enable-checkbox or --disable-checkbox was given.
7222 if test "${enable_checkbox+set}" = set; then
7223 enableval
="$enable_checkbox"
7225 if test "$enableval" = yes; then
7226 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7228 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7233 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x
; then
7235 eval "DEFAULT_$LINE"
7240 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7244 eval "$ac_cv_use_checkbox"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7249 if test "$wxUSE_CHECKBOX" = yes; then
7250 echo "$as_me:$LINENO: result: yes" >&5
7251 echo "${ECHO_T}yes" >&6
7253 echo "$as_me:$LINENO: result: no" >&5
7254 echo "${ECHO_T}no" >&6
7259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7260 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7262 # Check whether --enable-checklst or --disable-checklst was given.
7263 if test "${enable_checklst+set}" = set; then
7264 enableval
="$enable_checklst"
7266 if test "$enableval" = yes; then
7267 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7269 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7274 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7275 if test "x$LINE" != x
; then
7276 eval "DEFAULT_$LINE"
7281 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7285 eval "$ac_cv_use_checklst"
7286 if test "$no_cache" != 1; then
7287 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7290 if test "$wxUSE_CHECKLST" = yes; then
7291 echo "$as_me:$LINENO: result: yes" >&5
7292 echo "${ECHO_T}yes" >&6
7294 echo "$as_me:$LINENO: result: no" >&5
7295 echo "${ECHO_T}no" >&6
7300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7303 # Check whether --enable-choice or --disable-choice was given.
7304 if test "${enable_choice+set}" = set; then
7305 enableval
="$enable_choice"
7307 if test "$enableval" = yes; then
7308 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7310 ac_cv_use_choice
='wxUSE_CHOICE=no'
7315 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7316 if test "x$LINE" != x
; then
7317 eval "DEFAULT_$LINE"
7322 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7326 eval "$ac_cv_use_choice"
7327 if test "$no_cache" != 1; then
7328 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7331 if test "$wxUSE_CHOICE" = yes; then
7332 echo "$as_me:$LINENO: result: yes" >&5
7333 echo "${ECHO_T}yes" >&6
7335 echo "$as_me:$LINENO: result: no" >&5
7336 echo "${ECHO_T}no" >&6
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7344 # Check whether --enable-choicebook or --disable-choicebook was given.
7345 if test "${enable_choicebook+set}" = set; then
7346 enableval
="$enable_choicebook"
7348 if test "$enableval" = yes; then
7349 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7351 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7356 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x
; then
7358 eval "DEFAULT_$LINE"
7363 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7367 eval "$ac_cv_use_choicebook"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_CHOICEBOOK" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7385 # Check whether --enable-combobox or --disable-combobox was given.
7386 if test "${enable_combobox+set}" = set; then
7387 enableval
="$enable_combobox"
7389 if test "$enableval" = yes; then
7390 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7392 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7397 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x
; then
7399 eval "DEFAULT_$LINE"
7404 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7408 eval "$ac_cv_use_combobox"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7413 if test "$wxUSE_COMBOBOX" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7426 # Check whether --enable-display or --disable-display was given.
7427 if test "${enable_display+set}" = set; then
7428 enableval
="$enable_display"
7430 if test "$enableval" = yes; then
7431 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7433 ac_cv_use_display
='wxUSE_DISPLAY=no'
7438 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x
; then
7440 eval "DEFAULT_$LINE"
7445 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7449 eval "$ac_cv_use_display"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7454 if test "$wxUSE_DISPLAY" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7467 # Check whether --enable-gauge or --disable-gauge was given.
7468 if test "${enable_gauge+set}" = set; then
7469 enableval
="$enable_gauge"
7471 if test "$enableval" = yes; then
7472 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7474 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7479 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x
; then
7481 eval "DEFAULT_$LINE"
7486 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7490 eval "$ac_cv_use_gauge"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7495 if test "$wxUSE_GAUGE" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7508 # Check whether --enable-grid or --disable-grid was given.
7509 if test "${enable_grid+set}" = set; then
7510 enableval
="$enable_grid"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_grid
='wxUSE_GRID=yes'
7515 ac_cv_use_grid
='wxUSE_GRID=no'
7520 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x
; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7531 eval "$ac_cv_use_grid"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7536 if test "$wxUSE_GRID" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7549 # Check whether --enable-imaglist or --disable-imaglist was given.
7550 if test "${enable_imaglist+set}" = set; then
7551 enableval
="$enable_imaglist"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7556 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7561 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x
; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7572 eval "$ac_cv_use_imaglist"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7577 if test "$wxUSE_IMAGLIST" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7590 # Check whether --enable-listbook or --disable-listbook was given.
7591 if test "${enable_listbook+set}" = set; then
7592 enableval
="$enable_listbook"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7597 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7602 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7613 eval "$ac_cv_use_listbook"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7618 if test "$wxUSE_LISTBOOK" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7631 # Check whether --enable-listbox or --disable-listbox was given.
7632 if test "${enable_listbox+set}" = set; then
7633 enableval
="$enable_listbox"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
7638 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
7643 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7654 eval "$ac_cv_use_listbox"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_LISTBOX" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7672 # Check whether --enable-listctrl or --disable-listctrl was given.
7673 if test "${enable_listctrl+set}" = set; then
7674 enableval
="$enable_listctrl"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
7679 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
7684 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x
; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7695 eval "$ac_cv_use_listctrl"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_LISTCTRL" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7713 # Check whether --enable-notebook or --disable-notebook was given.
7714 if test "${enable_notebook+set}" = set; then
7715 enableval
="$enable_notebook"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
7720 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
7725 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x
; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7736 eval "$ac_cv_use_notebook"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_NOTEBOOK" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7754 # Check whether --enable-radiobox or --disable-radiobox was given.
7755 if test "${enable_radiobox+set}" = set; then
7756 enableval
="$enable_radiobox"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
7761 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
7766 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x
; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7777 eval "$ac_cv_use_radiobox"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7782 if test "$wxUSE_RADIOBOX" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7795 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7796 if test "${enable_radiobtn+set}" = set; then
7797 enableval
="$enable_radiobtn"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
7802 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
7807 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7818 eval "$ac_cv_use_radiobtn"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_RADIOBTN" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7836 # Check whether --enable-sash or --disable-sash was given.
7837 if test "${enable_sash+set}" = set; then
7838 enableval
="$enable_sash"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_sash
='wxUSE_SASH=yes'
7843 ac_cv_use_sash
='wxUSE_SASH=no'
7848 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x
; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7859 eval "$ac_cv_use_sash"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_SASH" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7877 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7878 if test "${enable_scrollbar+set}" = set; then
7879 enableval
="$enable_scrollbar"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
7884 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
7889 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x
; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7900 eval "$ac_cv_use_scrollbar"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_SCROLLBAR" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7918 # Check whether --enable-slider or --disable-slider was given.
7919 if test "${enable_slider+set}" = set; then
7920 enableval
="$enable_slider"
7922 if test "$enableval" = yes; then
7923 ac_cv_use_slider
='wxUSE_SLIDER=yes'
7925 ac_cv_use_slider
='wxUSE_SLIDER=no'
7930 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x
; then
7932 eval "DEFAULT_$LINE"
7937 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7941 eval "$ac_cv_use_slider"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_SLIDER" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7959 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7960 if test "${enable_spinbtn+set}" = set; then
7961 enableval
="$enable_spinbtn"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
7966 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
7971 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7982 eval "$ac_cv_use_spinbtn"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_SPINBTN" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8000 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8001 if test "${enable_spinctrl+set}" = set; then
8002 enableval
="$enable_spinctrl"
8004 if test "$enableval" = yes; then
8005 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8007 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8012 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x
; then
8014 eval "DEFAULT_$LINE"
8019 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8023 eval "$ac_cv_use_spinctrl"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_SPINCTRL" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8041 # Check whether --enable-splitter or --disable-splitter was given.
8042 if test "${enable_splitter+set}" = set; then
8043 enableval
="$enable_splitter"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8048 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8053 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8064 eval "$ac_cv_use_splitter"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_SPLITTER" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8082 # Check whether --enable-statbmp or --disable-statbmp was given.
8083 if test "${enable_statbmp+set}" = set; then
8084 enableval
="$enable_statbmp"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8089 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8094 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x
; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8105 eval "$ac_cv_use_statbmp"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_STATBMP" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8123 # Check whether --enable-statbox or --disable-statbox was given.
8124 if test "${enable_statbox+set}" = set; then
8125 enableval
="$enable_statbox"
8127 if test "$enableval" = yes; then
8128 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8130 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8135 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x
; then
8137 eval "DEFAULT_$LINE"
8142 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8146 eval "$ac_cv_use_statbox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_STATBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8164 # Check whether --enable-statline or --disable-statline was given.
8165 if test "${enable_statline+set}" = set; then
8166 enableval
="$enable_statline"
8168 if test "$enableval" = yes; then
8169 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8171 ac_cv_use_statline
='wxUSE_STATLINE=no'
8176 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x
; then
8178 eval "DEFAULT_$LINE"
8183 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8187 eval "$ac_cv_use_statline"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_STATLINE" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8205 # Check whether --enable-stattext or --disable-stattext was given.
8206 if test "${enable_stattext+set}" = set; then
8207 enableval
="$enable_stattext"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8212 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8217 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x
; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8228 eval "$ac_cv_use_stattext"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_STATTEXT" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8246 # Check whether --enable-statusbar or --disable-statusbar was given.
8247 if test "${enable_statusbar+set}" = set; then
8248 enableval
="$enable_statusbar"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8253 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8258 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x
; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8269 eval "$ac_cv_use_statusbar"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_STATUSBAR" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8287 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8288 if test "${enable_tabdialog+set}" = set; then
8289 enableval
="$enable_tabdialog"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8294 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8299 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x
; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8310 eval "$ac_cv_use_tabdialog"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_TABDIALOG" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8328 # Check whether --enable-textctrl or --disable-textctrl was given.
8329 if test "${enable_textctrl+set}" = set; then
8330 enableval
="$enable_textctrl"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8335 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8340 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x
; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8351 eval "$ac_cv_use_textctrl"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_TEXTCTRL" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8369 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8370 if test "${enable_togglebtn+set}" = set; then
8371 enableval
="$enable_togglebtn"
8373 if test "$enableval" = yes; then
8374 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8376 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8381 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x
; then
8383 eval "DEFAULT_$LINE"
8388 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8392 eval "$ac_cv_use_togglebtn"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_TOGGLEBTN" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8410 # Check whether --enable-toolbar or --disable-toolbar was given.
8411 if test "${enable_toolbar+set}" = set; then
8412 enableval
="$enable_toolbar"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8417 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8422 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x
; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8433 eval "$ac_cv_use_toolbar"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8438 if test "$wxUSE_TOOLBAR" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8451 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8452 if test "${enable_tbarnative+set}" = set; then
8453 enableval
="$enable_tbarnative"
8455 if test "$enableval" = yes; then
8456 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8458 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8463 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x
; then
8465 eval "DEFAULT_$LINE"
8470 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8474 eval "$ac_cv_use_tbarnative"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8479 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8492 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8493 if test "${enable_tbarsmpl+set}" = set; then
8494 enableval
="$enable_tbarsmpl"
8496 if test "$enableval" = yes; then
8497 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8499 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8504 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x
; then
8506 eval "DEFAULT_$LINE"
8511 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8515 eval "$ac_cv_use_tbarsmpl"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8520 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8533 # Check whether --enable-treectrl or --disable-treectrl was given.
8534 if test "${enable_treectrl+set}" = set; then
8535 enableval
="$enable_treectrl"
8537 if test "$enableval" = yes; then
8538 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8540 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8545 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x
; then
8547 eval "DEFAULT_$LINE"
8552 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8556 eval "$ac_cv_use_treectrl"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8561 if test "$wxUSE_TREECTRL" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8574 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8575 if test "${enable_tipwindow+set}" = set; then
8576 enableval
="$enable_tipwindow"
8578 if test "$enableval" = yes; then
8579 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8581 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8586 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x
; then
8588 eval "DEFAULT_$LINE"
8593 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8597 eval "$ac_cv_use_tipwindow"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8602 if test "$wxUSE_TIPWINDOW" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8615 # Check whether --enable-popupwin or --disable-popupwin was given.
8616 if test "${enable_popupwin+set}" = set; then
8617 enableval
="$enable_popupwin"
8619 if test "$enableval" = yes; then
8620 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8622 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8627 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x
; then
8629 eval "DEFAULT_$LINE"
8634 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8638 eval "$ac_cv_use_popupwin"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8643 if test "$wxUSE_POPUPWIN" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8658 # Check whether --enable-commondlg or --disable-commondlg was given.
8659 if test "${enable_commondlg+set}" = set; then
8660 enableval
="$enable_commondlg"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
8665 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
8670 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x
; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8681 eval "$ac_cv_use_commondlg"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8686 if test "$wxUSE_COMMONDLGS" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8699 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8700 if test "${enable_choicedlg+set}" = set; then
8701 enableval
="$enable_choicedlg"
8703 if test "$enableval" = yes; then
8704 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
8706 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
8711 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x
; then
8713 eval "DEFAULT_$LINE"
8718 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8722 eval "$ac_cv_use_choicedlg"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8727 if test "$wxUSE_CHOICEDLG" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8740 # Check whether --enable-coldlg or --disable-coldlg was given.
8741 if test "${enable_coldlg+set}" = set; then
8742 enableval
="$enable_coldlg"
8744 if test "$enableval" = yes; then
8745 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
8747 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
8752 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x
; then
8754 eval "DEFAULT_$LINE"
8759 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8763 eval "$ac_cv_use_coldlg"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8768 if test "$wxUSE_COLOURDLG" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8781 # Check whether --enable-filedlg or --disable-filedlg was given.
8782 if test "${enable_filedlg+set}" = set; then
8783 enableval
="$enable_filedlg"
8785 if test "$enableval" = yes; then
8786 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
8788 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
8793 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x
; then
8795 eval "DEFAULT_$LINE"
8800 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8804 eval "$ac_cv_use_filedlg"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8809 if test "$wxUSE_FILEDLG" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8822 # Check whether --enable-finddlg or --disable-finddlg was given.
8823 if test "${enable_finddlg+set}" = set; then
8824 enableval
="$enable_finddlg"
8826 if test "$enableval" = yes; then
8827 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
8829 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
8834 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x
; then
8836 eval "DEFAULT_$LINE"
8841 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8845 eval "$ac_cv_use_finddlg"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8850 if test "$wxUSE_FINDREPLDLG" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8863 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8864 if test "${enable_fontdlg+set}" = set; then
8865 enableval
="$enable_fontdlg"
8867 if test "$enableval" = yes; then
8868 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
8870 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
8875 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x
; then
8877 eval "DEFAULT_$LINE"
8882 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8886 eval "$ac_cv_use_fontdlg"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8891 if test "$wxUSE_FONTDLG" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8904 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8905 if test "${enable_dirdlg+set}" = set; then
8906 enableval
="$enable_dirdlg"
8908 if test "$enableval" = yes; then
8909 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
8911 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
8916 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x
; then
8918 eval "DEFAULT_$LINE"
8923 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8927 eval "$ac_cv_use_dirdlg"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8932 if test "$wxUSE_DIRDLG" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8945 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8946 if test "${enable_msgdlg+set}" = set; then
8947 enableval
="$enable_msgdlg"
8949 if test "$enableval" = yes; then
8950 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
8952 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
8957 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x
; then
8959 eval "DEFAULT_$LINE"
8964 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8968 eval "$ac_cv_use_msgdlg"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8973 if test "$wxUSE_MSGDLG" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8986 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8987 if test "${enable_numberdlg+set}" = set; then
8988 enableval
="$enable_numberdlg"
8990 if test "$enableval" = yes; then
8991 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
8993 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
8998 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x
; then
9000 eval "DEFAULT_$LINE"
9005 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9009 eval "$ac_cv_use_numberdlg"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9014 if test "$wxUSE_NUMBERDLG" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9027 # Check whether --enable-splash or --disable-splash was given.
9028 if test "${enable_splash+set}" = set; then
9029 enableval
="$enable_splash"
9031 if test "$enableval" = yes; then
9032 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9034 ac_cv_use_splash
='wxUSE_SPLASH=no'
9039 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x
; then
9041 eval "DEFAULT_$LINE"
9046 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9050 eval "$ac_cv_use_splash"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9055 if test "$wxUSE_SPLASH" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9068 # Check whether --enable-textdlg or --disable-textdlg was given.
9069 if test "${enable_textdlg+set}" = set; then
9070 enableval
="$enable_textdlg"
9072 if test "$enableval" = yes; then
9073 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9075 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9080 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x
; then
9082 eval "DEFAULT_$LINE"
9087 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9091 eval "$ac_cv_use_textdlg"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9096 if test "$wxUSE_TEXTDLG" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9109 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9110 if test "${enable_tipdlg+set}" = set; then
9111 enableval
="$enable_tipdlg"
9113 if test "$enableval" = yes; then
9114 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9116 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9121 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x
; then
9123 eval "DEFAULT_$LINE"
9128 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9132 eval "$ac_cv_use_tipdlg"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9137 if test "$wxUSE_STARTUP_TIPS" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9150 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9151 if test "${enable_progressdlg+set}" = set; then
9152 enableval
="$enable_progressdlg"
9154 if test "$enableval" = yes; then
9155 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9157 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9162 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x
; then
9164 eval "DEFAULT_$LINE"
9169 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9173 eval "$ac_cv_use_progressdlg"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9178 if test "$wxUSE_PROGRESSDLG" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9191 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9192 if test "${enable_wizarddlg+set}" = set; then
9193 enableval
="$enable_wizarddlg"
9195 if test "$enableval" = yes; then
9196 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9198 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9203 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x
; then
9205 eval "DEFAULT_$LINE"
9210 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9214 eval "$ac_cv_use_wizarddlg"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9219 if test "$wxUSE_WIZARDDLG" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9232 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9234 # Check whether --enable-menus or --disable-menus was given.
9235 if test "${enable_menus+set}" = set; then
9236 enableval
="$enable_menus"
9238 if test "$enableval" = yes; then
9239 ac_cv_use_menus
='wxUSE_MENUS=yes'
9241 ac_cv_use_menus
='wxUSE_MENUS=no'
9246 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x
; then
9248 eval "DEFAULT_$LINE"
9253 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9257 eval "$ac_cv_use_menus"
9258 if test "$no_cache" != 1; then
9259 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9262 if test "$wxUSE_MENUS" = yes; then
9263 echo "$as_me:$LINENO: result: yes" >&5
9264 echo "${ECHO_T}yes" >&6
9266 echo "$as_me:$LINENO: result: no" >&5
9267 echo "${ECHO_T}no" >&6
9272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9275 # Check whether --enable-miniframe or --disable-miniframe was given.
9276 if test "${enable_miniframe+set}" = set; then
9277 enableval
="$enable_miniframe"
9279 if test "$enableval" = yes; then
9280 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9282 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9287 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x
; then
9289 eval "DEFAULT_$LINE"
9294 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9298 eval "$ac_cv_use_miniframe"
9299 if test "$no_cache" != 1; then
9300 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9303 if test "$wxUSE_MINIFRAME" = yes; then
9304 echo "$as_me:$LINENO: result: yes" >&5
9305 echo "${ECHO_T}yes" >&6
9307 echo "$as_me:$LINENO: result: no" >&5
9308 echo "${ECHO_T}no" >&6
9313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9316 # Check whether --enable-tooltips or --disable-tooltips was given.
9317 if test "${enable_tooltips+set}" = set; then
9318 enableval
="$enable_tooltips"
9320 if test "$enableval" = yes; then
9321 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9323 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9328 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x
; then
9330 eval "DEFAULT_$LINE"
9335 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9339 eval "$ac_cv_use_tooltips"
9340 if test "$no_cache" != 1; then
9341 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9344 if test "$wxUSE_TOOLTIPS" = yes; then
9345 echo "$as_me:$LINENO: result: yes" >&5
9346 echo "${ECHO_T}yes" >&6
9348 echo "$as_me:$LINENO: result: no" >&5
9349 echo "${ECHO_T}no" >&6
9354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9357 # Check whether --enable-splines or --disable-splines was given.
9358 if test "${enable_splines+set}" = set; then
9359 enableval
="$enable_splines"
9361 if test "$enableval" = yes; then
9362 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9364 ac_cv_use_splines
='wxUSE_SPLINES=no'
9369 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x
; then
9371 eval "DEFAULT_$LINE"
9376 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9380 eval "$ac_cv_use_splines"
9381 if test "$no_cache" != 1; then
9382 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9385 if test "$wxUSE_SPLINES" = yes; then
9386 echo "$as_me:$LINENO: result: yes" >&5
9387 echo "${ECHO_T}yes" >&6
9389 echo "$as_me:$LINENO: result: no" >&5
9390 echo "${ECHO_T}no" >&6
9395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9396 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9398 # Check whether --enable-validators or --disable-validators was given.
9399 if test "${enable_validators+set}" = set; then
9400 enableval
="$enable_validators"
9402 if test "$enableval" = yes; then
9403 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9405 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9410 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x
; then
9412 eval "DEFAULT_$LINE"
9417 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9421 eval "$ac_cv_use_validators"
9422 if test "$no_cache" != 1; then
9423 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9426 if test "$wxUSE_VALIDATORS" = yes; then
9427 echo "$as_me:$LINENO: result: yes" >&5
9428 echo "${ECHO_T}yes" >&6
9430 echo "$as_me:$LINENO: result: no" >&5
9431 echo "${ECHO_T}no" >&6
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9439 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9440 if test "${enable_busyinfo+set}" = set; then
9441 enableval
="$enable_busyinfo"
9443 if test "$enableval" = yes; then
9444 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9446 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9451 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x
; then
9453 eval "DEFAULT_$LINE"
9458 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9462 eval "$ac_cv_use_busyinfo"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9467 if test "$wxUSE_BUSYINFO" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9471 echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6
9477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9478 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9480 # Check whether --enable-joystick or --disable-joystick was given.
9481 if test "${enable_joystick+set}" = set; then
9482 enableval
="$enable_joystick"
9484 if test "$enableval" = yes; then
9485 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9487 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9492 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x
; then
9494 eval "DEFAULT_$LINE"
9499 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9503 eval "$ac_cv_use_joystick"
9504 if test "$no_cache" != 1; then
9505 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9508 if test "$wxUSE_JOYSTICK" = yes; then
9509 echo "$as_me:$LINENO: result: yes" >&5
9510 echo "${ECHO_T}yes" >&6
9512 echo "$as_me:$LINENO: result: no" >&5
9513 echo "${ECHO_T}no" >&6
9518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9521 # Check whether --enable-metafile or --disable-metafile was given.
9522 if test "${enable_metafile+set}" = set; then
9523 enableval
="$enable_metafile"
9525 if test "$enableval" = yes; then
9526 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9528 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9533 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9534 if test "x$LINE" != x
; then
9535 eval "DEFAULT_$LINE"
9540 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9544 eval "$ac_cv_use_metafile"
9545 if test "$no_cache" != 1; then
9546 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9549 if test "$wxUSE_METAFILE" = yes; then
9550 echo "$as_me:$LINENO: result: yes" >&5
9551 echo "${ECHO_T}yes" >&6
9553 echo "$as_me:$LINENO: result: no" >&5
9554 echo "${ECHO_T}no" >&6
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9562 # Check whether --enable-dragimage or --disable-dragimage was given.
9563 if test "${enable_dragimage+set}" = set; then
9564 enableval
="$enable_dragimage"
9566 if test "$enableval" = yes; then
9567 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9569 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9574 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x
; then
9576 eval "DEFAULT_$LINE"
9581 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9585 eval "$ac_cv_use_dragimage"
9586 if test "$no_cache" != 1; then
9587 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9590 if test "$wxUSE_DRAGIMAGE" = yes; then
9591 echo "$as_me:$LINENO: result: yes" >&5
9592 echo "${ECHO_T}yes" >&6
9594 echo "$as_me:$LINENO: result: no" >&5
9595 echo "${ECHO_T}no" >&6
9600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9603 # Check whether --enable-accessibility or --disable-accessibility was given.
9604 if test "${enable_accessibility+set}" = set; then
9605 enableval
="$enable_accessibility"
9607 if test "$enableval" = yes; then
9608 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
9610 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
9615 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9616 if test "x$LINE" != x
; then
9617 eval "DEFAULT_$LINE"
9622 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9626 eval "$ac_cv_use_accessibility"
9627 if test "$no_cache" != 1; then
9628 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9631 if test "$wxUSE_ACCESSIBILITY" = yes; then
9632 echo "$as_me:$LINENO: result: yes" >&5
9633 echo "${ECHO_T}yes" >&6
9635 echo "$as_me:$LINENO: result: no" >&5
9636 echo "${ECHO_T}no" >&6
9643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9644 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9646 # Check whether --enable-palette or --disable-palette was given.
9647 if test "${enable_palette+set}" = set; then
9648 enableval
="$enable_palette"
9650 if test "$enableval" = yes; then
9651 ac_cv_use_palette
='wxUSE_PALETTE=yes'
9653 ac_cv_use_palette
='wxUSE_PALETTE=no'
9658 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9659 if test "x$LINE" != x
; then
9660 eval "DEFAULT_$LINE"
9665 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9669 eval "$ac_cv_use_palette"
9670 if test "$no_cache" != 1; then
9671 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9674 if test "$wxUSE_PALETTE" = yes; then
9675 echo "$as_me:$LINENO: result: yes" >&5
9676 echo "${ECHO_T}yes" >&6
9678 echo "$as_me:$LINENO: result: no" >&5
9679 echo "${ECHO_T}no" >&6
9684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9685 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9687 # Check whether --enable-image or --disable-image was given.
9688 if test "${enable_image+set}" = set; then
9689 enableval
="$enable_image"
9691 if test "$enableval" = yes; then
9692 ac_cv_use_image
='wxUSE_IMAGE=yes'
9694 ac_cv_use_image
='wxUSE_IMAGE=no'
9699 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9700 if test "x$LINE" != x
; then
9701 eval "DEFAULT_$LINE"
9706 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9710 eval "$ac_cv_use_image"
9711 if test "$no_cache" != 1; then
9712 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9715 if test "$wxUSE_IMAGE" = yes; then
9716 echo "$as_me:$LINENO: result: yes" >&5
9717 echo "${ECHO_T}yes" >&6
9719 echo "$as_me:$LINENO: result: no" >&5
9720 echo "${ECHO_T}no" >&6
9725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9728 # Check whether --enable-gif or --disable-gif was given.
9729 if test "${enable_gif+set}" = set; then
9730 enableval
="$enable_gif"
9732 if test "$enableval" = yes; then
9733 ac_cv_use_gif
='wxUSE_GIF=yes'
9735 ac_cv_use_gif
='wxUSE_GIF=no'
9740 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x
; then
9742 eval "DEFAULT_$LINE"
9747 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9751 eval "$ac_cv_use_gif"
9752 if test "$no_cache" != 1; then
9753 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9756 if test "$wxUSE_GIF" = yes; then
9757 echo "$as_me:$LINENO: result: yes" >&5
9758 echo "${ECHO_T}yes" >&6
9760 echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6
9766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9767 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9769 # Check whether --enable-pcx or --disable-pcx was given.
9770 if test "${enable_pcx+set}" = set; then
9771 enableval
="$enable_pcx"
9773 if test "$enableval" = yes; then
9774 ac_cv_use_pcx
='wxUSE_PCX=yes'
9776 ac_cv_use_pcx
='wxUSE_PCX=no'
9781 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9782 if test "x$LINE" != x
; then
9783 eval "DEFAULT_$LINE"
9788 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9792 eval "$ac_cv_use_pcx"
9793 if test "$no_cache" != 1; then
9794 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9797 if test "$wxUSE_PCX" = yes; then
9798 echo "$as_me:$LINENO: result: yes" >&5
9799 echo "${ECHO_T}yes" >&6
9801 echo "$as_me:$LINENO: result: no" >&5
9802 echo "${ECHO_T}no" >&6
9807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9810 # Check whether --enable-iff or --disable-iff was given.
9811 if test "${enable_iff+set}" = set; then
9812 enableval
="$enable_iff"
9814 if test "$enableval" = yes; then
9815 ac_cv_use_iff
='wxUSE_IFF=yes'
9817 ac_cv_use_iff
='wxUSE_IFF=no'
9822 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9823 if test "x$LINE" != x
; then
9824 eval "DEFAULT_$LINE"
9829 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9833 eval "$ac_cv_use_iff"
9834 if test "$no_cache" != 1; then
9835 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9838 if test "$wxUSE_IFF" = yes; then
9839 echo "$as_me:$LINENO: result: yes" >&5
9840 echo "${ECHO_T}yes" >&6
9842 echo "$as_me:$LINENO: result: no" >&5
9843 echo "${ECHO_T}no" >&6
9848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9851 # Check whether --enable-pnm or --disable-pnm was given.
9852 if test "${enable_pnm+set}" = set; then
9853 enableval
="$enable_pnm"
9855 if test "$enableval" = yes; then
9856 ac_cv_use_pnm
='wxUSE_PNM=yes'
9858 ac_cv_use_pnm
='wxUSE_PNM=no'
9863 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9864 if test "x$LINE" != x
; then
9865 eval "DEFAULT_$LINE"
9870 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9874 eval "$ac_cv_use_pnm"
9875 if test "$no_cache" != 1; then
9876 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9879 if test "$wxUSE_PNM" = yes; then
9880 echo "$as_me:$LINENO: result: yes" >&5
9881 echo "${ECHO_T}yes" >&6
9883 echo "$as_me:$LINENO: result: no" >&5
9884 echo "${ECHO_T}no" >&6
9889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9890 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9892 # Check whether --enable-xpm or --disable-xpm was given.
9893 if test "${enable_xpm+set}" = set; then
9894 enableval
="$enable_xpm"
9896 if test "$enableval" = yes; then
9897 ac_cv_use_xpm
='wxUSE_XPM=yes'
9899 ac_cv_use_xpm
='wxUSE_XPM=no'
9904 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9905 if test "x$LINE" != x
; then
9906 eval "DEFAULT_$LINE"
9911 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9915 eval "$ac_cv_use_xpm"
9916 if test "$no_cache" != 1; then
9917 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9920 if test "$wxUSE_XPM" = yes; then
9921 echo "$as_me:$LINENO: result: yes" >&5
9922 echo "${ECHO_T}yes" >&6
9924 echo "$as_me:$LINENO: result: no" >&5
9925 echo "${ECHO_T}no" >&6
9930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9931 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9933 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9934 if test "${enable_ico_cur+set}" = set; then
9935 enableval
="$enable_ico_cur"
9937 if test "$enableval" = yes; then
9938 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
9940 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
9945 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9946 if test "x$LINE" != x
; then
9947 eval "DEFAULT_$LINE"
9952 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9956 eval "$ac_cv_use_ico_cur"
9957 if test "$no_cache" != 1; then
9958 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9961 if test "$wxUSE_ICO_CUR" = yes; then
9962 echo "$as_me:$LINENO: result: yes" >&5
9963 echo "${ECHO_T}yes" >&6
9965 echo "$as_me:$LINENO: result: no" >&5
9966 echo "${ECHO_T}no" >&6
9974 # Check whether --with-flavour or --without-flavour was given.
9975 if test "${with_flavour+set}" = set; then
9976 withval
="$with_flavour"
9977 WX_FLAVOUR
="$withval"
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9986 # Check whether --enable-official_build or --disable-official_build was given.
9987 if test "${enable_official_build+set}" = set; then
9988 enableval
="$enable_official_build"
9990 if test "$enableval" = yes; then
9991 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
9993 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
9998 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x
; then
10000 eval "DEFAULT_$LINE"
10005 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10009 eval "$ac_cv_use_official_build"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10014 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10022 # Check whether --enable-vendor or --disable-vendor was given.
10023 if test "${enable_vendor+set}" = set; then
10024 enableval
="$enable_vendor"
10025 VENDOR
="$enableval"
10027 if test "x$VENDOR" = "x"; then
10034 echo "saving argument cache $wx_arg_cache_file"
10035 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10039 echo "$as_me:$LINENO: checking for toolkit" >&5
10040 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10042 # In Wine, we need to default to MSW, not GTK or MOTIF
10043 if test "$wxUSE_WINE" = "yes"; then
10044 DEFAULT_DEFAULT_wxUSE_GTK
=0
10045 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10046 DEFAULT_DEFAULT_wxUSE_MSW
=1
10050 if test "$wxUSE_GUI" = "yes"; then
10052 if test "$USE_BEOS" = 1; then
10053 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10054 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10055 { (exit 1); exit 1; }; }
10058 if test "$TOOLKIT_GIVEN" = 1; then
10059 for toolkit
in `echo $ALL_TOOLKITS`; do
10061 eval "value=\$${var}"
10062 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
10065 for toolkit
in `echo $ALL_TOOLKITS`; do
10066 if test "$has_toolkit_in_cache" != 1; then
10067 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10069 var
=DEFAULT_wxUSE_
$toolkit
10071 eval "wxUSE_$toolkit=\$${var}"
10075 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10076 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10077 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10080 *-pc-os2_emx | *-pc-os2-emx )
10081 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10084 case "$NUM_TOOLKITS" in
10088 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10089 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10090 { (exit 1); exit 1; }; }
10093 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10094 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10095 { (exit 1); exit 1; }; }
10098 for toolkit
in `echo $ALL_TOOLKITS`; do
10100 eval "value=\$${var}"
10101 if test "x$value" != x
; then
10102 cache_var
=CACHE_
$toolkit
10103 eval "cache=\$${cache_var}"
10104 if test "$cache" = 1; then
10105 echo "$var=$value" >> ${wx_arg_cache_file}
10107 if test "$value" = 1; then
10108 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10109 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10110 echo "${ECHO_T}$toolkit_echo" >&6
10115 if test "x$host_alias" != "x"; then
10116 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10117 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10119 echo "$as_me:$LINENO: result: base only" >&5
10120 echo "${ECHO_T}base only" >&6
10125 doesnt_want_win32
=0
10128 if test "$wxUSE_MSW" = 1 ; then
10131 doesnt_want_win32
=1
10139 if test "$wxUSE_WINE" = "yes"; then
10144 LDFLAGS_GUI
="-mwindows"
10147 if test "$wants_win32" = 1 ; then
10150 cat >>confdefs.h
<<\_ACEOF
10151 #define __WIN32__ 1
10154 cat >>confdefs.h
<<\_ACEOF
10155 #define __WIN95__ 1
10158 cat >>confdefs.h
<<\_ACEOF
10159 #define __WINDOWS__ 1
10162 cat >>confdefs.h
<<\_ACEOF
10163 #define __GNUWIN32__ 1
10166 cat >>confdefs.h
<<\_ACEOF
10170 cat >>confdefs.h
<<\_ACEOF
10171 #define WINVER 0x0400
10175 if test "$doesnt_want_win32" = 1 ; then
10180 if test "$USE_UNIX" = 1 ; then
10182 cat >>confdefs.h
<<\_ACEOF
10189 cat >confcache
<<\_ACEOF
10190 # This file is a shell script that caches the results of configure
10191 # tests run on this system so they can be shared between configure
10192 # scripts and configure runs, see configure's option --config-cache.
10193 # It is not useful on other systems. If it contains results you don't
10194 # want to keep, you may remove or edit it.
10196 # config.status only pays attention to the cache file if you give it
10197 # the --recheck option to rerun configure.
10199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10201 # following values.
10205 # The following way of writing the cache mishandles newlines in values,
10206 # but we know of no workaround that is simple, portable, and efficient.
10207 # So, don't put newlines in cache variables' values.
10208 # Ultrix sh set writes to stderr and can't be redirected directly,
10209 # and sets the high bit in the cache file unless we assign to the vars.
10212 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10214 # `set' does not quote correctly, so add quotes (double-quote
10215 # substitution turns \\\\ into \\, and sed turns \\ into \).
10218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10221 # `set' quotes correctly as required by POSIX, so do not add quotes.
10223 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10230 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10232 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10234 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10235 if test -w $cache_file; then
10236 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10237 cat confcache
>$cache_file
10239 echo "not updating unwritable cache $cache_file"
10244 if test "$build" != "$host" ; then
10245 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10247 CXX
=$host_alias-c++
10249 RANLIB
=$host_alias-ranlib
10250 DLLTOOL
=$host_alias-dlltool
10251 RESCOMP
=$host_alias-windres
10252 STRIP
=$host_alias-strip
10254 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10255 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10256 { (exit 1); exit 1; }; }
10262 ac_cpp
='$CPP $CPPFLAGS'
10263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10266 if test -n "$ac_tool_prefix"; then
10267 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10268 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10269 echo "$as_me:$LINENO: checking for $ac_word" >&5
10270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10271 if test "${ac_cv_prog_CC+set}" = set; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 if test -n "$CC"; then
10275 ac_cv_prog_CC
="$CC" # Let the user override the test.
10277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10278 for as_dir
in $PATH
10281 test -z "$as_dir" && as_dir
=.
10282 for ac_exec_ext
in '' $ac_executable_extensions; do
10283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10284 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10294 if test -n "$CC"; then
10295 echo "$as_me:$LINENO: result: $CC" >&5
10296 echo "${ECHO_T}$CC" >&6
10298 echo "$as_me:$LINENO: result: no" >&5
10299 echo "${ECHO_T}no" >&6
10303 if test -z "$ac_cv_prog_CC"; then
10305 # Extract the first word of "gcc", so it can be a program name with args.
10306 set dummy gcc
; ac_word
=$2
10307 echo "$as_me:$LINENO: checking for $ac_word" >&5
10308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 if test -n "$ac_ct_CC"; then
10313 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10316 for as_dir
in $PATH
10319 test -z "$as_dir" && as_dir
=.
10320 for ac_exec_ext
in '' $ac_executable_extensions; do
10321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10322 ac_cv_prog_ac_ct_CC
="gcc"
10323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10331 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10332 if test -n "$ac_ct_CC"; then
10333 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10334 echo "${ECHO_T}$ac_ct_CC" >&6
10336 echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6
10342 CC
="$ac_cv_prog_CC"
10345 if test -z "$CC"; then
10346 if test -n "$ac_tool_prefix"; then
10347 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10348 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10349 echo "$as_me:$LINENO: checking for $ac_word" >&5
10350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10351 if test "${ac_cv_prog_CC+set}" = set; then
10352 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 if test -n "$CC"; then
10355 ac_cv_prog_CC
="$CC" # Let the user override the test.
10357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10358 for as_dir
in $PATH
10361 test -z "$as_dir" && as_dir
=.
10362 for ac_exec_ext
in '' $ac_executable_extensions; do
10363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10364 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10374 if test -n "$CC"; then
10375 echo "$as_me:$LINENO: result: $CC" >&5
10376 echo "${ECHO_T}$CC" >&6
10378 echo "$as_me:$LINENO: result: no" >&5
10379 echo "${ECHO_T}no" >&6
10383 if test -z "$ac_cv_prog_CC"; then
10385 # Extract the first word of "cc", so it can be a program name with args.
10386 set dummy cc
; ac_word
=$2
10387 echo "$as_me:$LINENO: checking for $ac_word" >&5
10388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 if test -n "$ac_ct_CC"; then
10393 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10396 for as_dir
in $PATH
10399 test -z "$as_dir" && as_dir
=.
10400 for ac_exec_ext
in '' $ac_executable_extensions; do
10401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10402 ac_cv_prog_ac_ct_CC
="cc"
10403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10412 if test -n "$ac_ct_CC"; then
10413 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10414 echo "${ECHO_T}$ac_ct_CC" >&6
10416 echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6
10422 CC
="$ac_cv_prog_CC"
10426 if test -z "$CC"; then
10427 # Extract the first word of "cc", so it can be a program name with args.
10428 set dummy cc
; ac_word
=$2
10429 echo "$as_me:$LINENO: checking for $ac_word" >&5
10430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10431 if test "${ac_cv_prog_CC+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 if test -n "$CC"; then
10435 ac_cv_prog_CC
="$CC" # Let the user override the test.
10437 ac_prog_rejected
=no
10438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10439 for as_dir
in $PATH
10442 test -z "$as_dir" && as_dir
=.
10443 for ac_exec_ext
in '' $ac_executable_extensions; do
10444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10446 ac_prog_rejected
=yes
10450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10456 if test $ac_prog_rejected = yes; then
10457 # We found a bogon in the path, so make sure we never use it.
10458 set dummy
$ac_cv_prog_CC
10460 if test $# != 0; then
10461 # We chose a different compiler from the bogus one.
10462 # However, it has the same basename, so the bogon will be chosen
10463 # first if we set CC to just the basename; use the full file name.
10465 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10471 if test -n "$CC"; then
10472 echo "$as_me:$LINENO: result: $CC" >&5
10473 echo "${ECHO_T}$CC" >&6
10475 echo "$as_me:$LINENO: result: no" >&5
10476 echo "${ECHO_T}no" >&6
10480 if test -z "$CC"; then
10481 if test -n "$ac_tool_prefix"; then
10484 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10485 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10486 echo "$as_me:$LINENO: checking for $ac_word" >&5
10487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10488 if test "${ac_cv_prog_CC+set}" = set; then
10489 echo $ECHO_N "(cached) $ECHO_C" >&6
10491 if test -n "$CC"; then
10492 ac_cv_prog_CC
="$CC" # Let the user override the test.
10494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10495 for as_dir
in $PATH
10498 test -z "$as_dir" && as_dir
=.
10499 for ac_exec_ext
in '' $ac_executable_extensions; do
10500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10511 if test -n "$CC"; then
10512 echo "$as_me:$LINENO: result: $CC" >&5
10513 echo "${ECHO_T}$CC" >&6
10515 echo "$as_me:$LINENO: result: no" >&5
10516 echo "${ECHO_T}no" >&6
10519 test -n "$CC" && break
10522 if test -z "$CC"; then
10526 # Extract the first word of "$ac_prog", so it can be a program name with args.
10527 set dummy
$ac_prog; ac_word
=$2
10528 echo "$as_me:$LINENO: checking for $ac_word" >&5
10529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10531 echo $ECHO_N "(cached) $ECHO_C" >&6
10533 if test -n "$ac_ct_CC"; then
10534 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10537 for as_dir
in $PATH
10540 test -z "$as_dir" && as_dir
=.
10541 for ac_exec_ext
in '' $ac_executable_extensions; do
10542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10543 ac_cv_prog_ac_ct_CC
="$ac_prog"
10544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10552 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10553 if test -n "$ac_ct_CC"; then
10554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10555 echo "${ECHO_T}$ac_ct_CC" >&6
10557 echo "$as_me:$LINENO: result: no" >&5
10558 echo "${ECHO_T}no" >&6
10561 test -n "$ac_ct_CC" && break
10570 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10571 See \`config.log' for more details." >&5
10572 echo "$as_me: error: no acceptable C compiler found in \$PATH
10573 See \`config.log' for more details." >&2;}
10574 { (exit 1); exit 1; }; }
10576 # Provide some information about the compiler.
10577 echo "$as_me:$LINENO:" \
10578 "checking for C compiler version" >&5
10579 ac_compiler
=`set X $ac_compile; echo $2`
10580 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10581 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }
10585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10586 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }
10590 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10591 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); }
10596 cat >conftest.
$ac_ext <<_ACEOF
10599 cat confdefs.h
>>conftest.
$ac_ext
10600 cat >>conftest.
$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10611 ac_clean_files_save
=$ac_clean_files
10612 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10613 # Try to create an executable without -o first, disregard a.out.
10614 # It will help us diagnose broken compilers, and finding out an intuition
10616 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10617 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10618 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10619 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10620 (eval $ac_link_default) 2>&5
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; then
10624 # Find the output, starting from the most likely. This scheme is
10625 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10628 # Be careful to initialize this variable, since it used to be cached.
10629 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10631 # b.out is created by i960 compilers.
10632 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10634 test -f "$ac_file" || continue
10636 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10639 # This is the source file.
10642 # We found the default executable, but exeext='' is most
10646 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10647 # FIXME: I believe we export ac_cv_exeext for Libtool,
10648 # but it would be cool to find out if it's true. Does anybody
10649 # maintain Libtool? --akim.
10650 export ac_cv_exeext
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.
$ac_ext >&5
10660 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10661 See \`config.log' for more details." >&5
10662 echo "$as_me: error: C compiler cannot create executables
10663 See \`config.log' for more details." >&2;}
10664 { (exit 77); exit 77; }; }
10667 ac_exeext
=$ac_cv_exeext
10668 echo "$as_me:$LINENO: result: $ac_file" >&5
10669 echo "${ECHO_T}$ac_file" >&6
10671 # Check the compiler produces executables we can run. If not, either
10672 # the compiler is broken, or we cross compile.
10673 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10674 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10675 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10676 # If not cross compiling, check that we can run a simple program.
10677 if test "$cross_compiling" != yes; then
10678 if { ac_try
='./$ac_file'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; }; then
10686 if test "$cross_compiling" = maybe
; then
10687 cross_compiling
=yes
10689 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10690 If you meant to cross compile, use \`--host'.
10691 See \`config.log' for more details." >&5
10692 echo "$as_me: error: cannot run C compiled programs.
10693 If you meant to cross compile, use \`--host'.
10694 See \`config.log' for more details." >&2;}
10695 { (exit 1); exit 1; }; }
10699 echo "$as_me:$LINENO: result: yes" >&5
10700 echo "${ECHO_T}yes" >&6
10702 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10703 ac_clean_files
=$ac_clean_files_save
10704 # Check the compiler produces executables we can run. If not, either
10705 # the compiler is broken, or we cross compile.
10706 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10707 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10708 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10709 echo "${ECHO_T}$cross_compiling" >&6
10711 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10712 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10714 (eval $ac_link) 2>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; then
10718 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10719 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10720 # work properly (i.e., refer to `conftest.exe'), while it won't with
10722 for ac_file
in conftest.exe conftest conftest.
*; do
10723 test -f "$ac_file" || continue
10725 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10726 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10727 export ac_cv_exeext
10733 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10734 See \`config.log' for more details." >&5
10735 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10736 See \`config.log' for more details." >&2;}
10737 { (exit 1); exit 1; }; }
10740 rm -f conftest
$ac_cv_exeext
10741 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10742 echo "${ECHO_T}$ac_cv_exeext" >&6
10744 rm -f conftest.
$ac_ext
10745 EXEEXT
=$ac_cv_exeext
10747 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10748 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10749 if test "${ac_cv_objext+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 cat >conftest.
$ac_ext <<_ACEOF
10755 cat confdefs.h
>>conftest.
$ac_ext
10756 cat >>conftest.
$ac_ext <<_ACEOF
10757 /* end confdefs.h. */
10767 rm -f conftest.o conftest.obj
10768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10769 (eval $ac_compile) 2>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); }; then
10773 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10775 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10776 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.
$ac_ext >&5
10784 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10785 See \`config.log' for more details." >&5
10786 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10787 See \`config.log' for more details." >&2;}
10788 { (exit 1); exit 1; }; }
10791 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10793 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10794 echo "${ECHO_T}$ac_cv_objext" >&6
10795 OBJEXT
=$ac_cv_objext
10797 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10798 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10799 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 cat >conftest.
$ac_ext <<_ACEOF
10805 cat confdefs.h
>>conftest.
$ac_ext
10806 cat >>conftest.
$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10820 rm -f conftest.
$ac_objext
10821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10822 (eval $ac_compile) 2>conftest.er1
10824 grep -v '^ *+' conftest.er1
>conftest.err
10826 cat conftest.err
>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); } &&
10829 { ac_try
='test -z "$ac_c_werror_flag"
10830 || test ! -s conftest.err'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; } &&
10836 { ac_try
='test -s conftest.$ac_objext'
10837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10838 (eval $ac_try) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); }; }; then
10842 ac_compiler_gnu
=yes
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.
$ac_ext >&5
10849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10850 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10853 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10854 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10855 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10856 ac_test_CFLAGS
=${CFLAGS+set}
10857 ac_save_CFLAGS
=$CFLAGS
10859 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10860 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10861 if test "${ac_cv_prog_cc_g+set}" = set; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 cat >conftest.
$ac_ext <<_ACEOF
10867 cat confdefs.h
>>conftest.
$ac_ext
10868 cat >>conftest.
$ac_ext <<_ACEOF
10869 /* end confdefs.h. */
10879 rm -f conftest.
$ac_objext
10880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10881 (eval $ac_compile) 2>conftest.er1
10883 grep -v '^ *+' conftest.er1
>conftest.err
10885 cat conftest.err
>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); } &&
10888 { ac_try
='test -z "$ac_c_werror_flag"
10889 || test ! -s conftest.err'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; } &&
10895 { ac_try
='test -s conftest.$ac_objext'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; }; then
10901 ac_cv_prog_cc_g
=yes
10903 echo "$as_me: failed program was:" >&5
10904 sed 's/^/| /' conftest.
$ac_ext >&5
10908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10910 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10911 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10912 if test "$ac_test_CFLAGS" = set; then
10913 CFLAGS
=$ac_save_CFLAGS
10914 elif test $ac_cv_prog_cc_g = yes; then
10915 if test "$GCC" = yes; then
10921 if test "$GCC" = yes; then
10927 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10928 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10929 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10932 ac_cv_prog_cc_stdc
=no
10934 cat >conftest.
$ac_ext <<_ACEOF
10937 cat confdefs.h
>>conftest.
$ac_ext
10938 cat >>conftest.
$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10940 #include <stdarg.h>
10942 #include <sys/types.h>
10943 #include <sys/stat.h>
10944 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10945 struct buf { int x; };
10946 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10947 static char *e (p, i)
10953 static char *f (char * (*g) (char **, int), char **p, ...)
10958 s = g (p, va_arg (v,int));
10963 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10964 function prototypes and stuff, but not '\xHH' hex character constants.
10965 These don't provoke an error unfortunately, instead are silently treated
10966 as 'x'. The following induces an error, until -std1 is added to get
10967 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10968 array size at least. It's necessary to write '\x00'==0 to get something
10969 that's true only with -std1. */
10970 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10972 int test (int i, double x);
10973 struct s1 {int (*f) (int a);};
10974 struct s2 {int (*f) (double a);};
10975 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10981 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10986 # Don't try gcc -ansi; that turns off useful extensions and
10987 # breaks some systems' header files.
10988 # AIX -qlanglvl=ansi
10989 # Ultrix and OSF/1 -std1
10990 # HP-UX 10.20 and later -Ae
10991 # HP-UX older versions -Aa -D_HPUX_SOURCE
10992 # SVR4 -Xc -D__EXTENSIONS__
10993 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10995 CC
="$ac_save_CC $ac_arg"
10996 rm -f conftest.
$ac_objext
10997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10998 (eval $ac_compile) 2>conftest.er1
11000 grep -v '^ *+' conftest.er1
>conftest.err
11002 cat conftest.err
>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); } &&
11005 { ac_try
='test -z "$ac_c_werror_flag"
11006 || test ! -s conftest.err'
11007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11008 (eval $ac_try) 2>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }; } &&
11012 { ac_try
='test -s conftest.$ac_objext'
11013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11014 (eval $ac_try) 2>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); }; }; then
11018 ac_cv_prog_cc_stdc
=$ac_arg
11021 echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.
$ac_ext >&5
11025 rm -f conftest.err conftest.
$ac_objext
11027 rm -f conftest.
$ac_ext conftest.
$ac_objext
11032 case "x$ac_cv_prog_cc_stdc" in
11034 echo "$as_me:$LINENO: result: none needed" >&5
11035 echo "${ECHO_T}none needed" >&6 ;;
11037 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11038 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11039 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11042 # Some people use a C++ compiler to compile C. Since we use `exit',
11043 # in C++ we need to declare it. In case someone uses the same compiler
11044 # for both compiling C and C++ we need to have the C++ compiler decide
11045 # the declaration of exit, since it's the most demanding environment.
11046 cat >conftest.
$ac_ext <<_ACEOF
11047 #ifndef __cplusplus
11051 rm -f conftest.
$ac_objext
11052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11053 (eval $ac_compile) 2>conftest.er1
11055 grep -v '^ *+' conftest.er1
>conftest.err
11057 cat conftest.err
>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); } &&
11060 { ac_try
='test -z "$ac_c_werror_flag"
11061 || test ! -s conftest.err'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; } &&
11067 { ac_try
='test -s conftest.$ac_objext'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; }; then
11073 for ac_declaration
in \
11075 'extern "C" void std::exit (int) throw (); using std::exit;' \
11076 'extern "C" void std::exit (int); using std::exit;' \
11077 'extern "C" void exit (int) throw ();' \
11078 'extern "C" void exit (int);' \
11081 cat >conftest.
$ac_ext <<_ACEOF
11084 cat confdefs.h
>>conftest.
$ac_ext
11085 cat >>conftest.
$ac_ext <<_ACEOF
11086 /* end confdefs.h. */
11088 #include <stdlib.h>
11097 rm -f conftest.
$ac_objext
11098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11099 (eval $ac_compile) 2>conftest.er1
11101 grep -v '^ *+' conftest.er1
>conftest.err
11103 cat conftest.err
>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); } &&
11106 { ac_try
='test -z "$ac_c_werror_flag"
11107 || test ! -s conftest.err'
11108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11109 (eval $ac_try) 2>&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); }; } &&
11113 { ac_try
='test -s conftest.$ac_objext'
11114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 (eval $ac_try) 2>&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); }; }; then
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.
$ac_ext >&5
11126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11127 cat >conftest.
$ac_ext <<_ACEOF
11130 cat confdefs.h
>>conftest.
$ac_ext
11131 cat >>conftest.
$ac_ext <<_ACEOF
11132 /* end confdefs.h. */
11142 rm -f conftest.
$ac_objext
11143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11144 (eval $ac_compile) 2>conftest.er1
11146 grep -v '^ *+' conftest.er1
>conftest.err
11148 cat conftest.err
>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); } &&
11151 { ac_try
='test -z "$ac_c_werror_flag"
11152 || test ! -s conftest.err'
11153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; } &&
11158 { ac_try
='test -s conftest.$ac_objext'
11159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11160 (eval $ac_try) 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); }; }; then
11166 echo "$as_me: failed program was:" >&5
11167 sed 's/^/| /' conftest.
$ac_ext >&5
11170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11173 if test -n "$ac_declaration"; then
11174 echo '#ifdef __cplusplus' >>confdefs.h
11175 echo $ac_declaration >>confdefs.h
11176 echo '#endif' >>confdefs.h
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.
$ac_ext >&5
11184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11186 ac_cpp
='$CPP $CPPFLAGS'
11187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11194 ac_cpp
='$CPP $CPPFLAGS'
11195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11198 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11199 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11200 # On Suns, sometimes $CPP names a directory.
11201 if test -n "$CPP" && test -d "$CPP"; then
11204 if test -z "$CPP"; then
11205 if test "${ac_cv_prog_CPP+set}" = set; then
11206 echo $ECHO_N "(cached) $ECHO_C" >&6
11208 # Double quotes because CPP needs to be expanded
11209 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11211 ac_preproc_ok
=false
11212 for ac_c_preproc_warn_flag
in '' yes
11214 # Use a header file that comes with gcc, so configuring glibc
11215 # with a fresh cross-compiler works.
11216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11217 # <limits.h> exists even on freestanding compilers.
11218 # On the NeXT, cc -E runs the code through the compiler's parser,
11219 # not just through cpp. "Syntax error" is here to catch this case.
11220 cat >conftest.
$ac_ext <<_ACEOF
11223 cat confdefs.h
>>conftest.
$ac_ext
11224 cat >>conftest.
$ac_ext <<_ACEOF
11225 /* end confdefs.h. */
11227 # include <limits.h>
11229 # include <assert.h>
11233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1
>conftest.err
11238 cat conftest.err
>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } >/dev
/null
; then
11241 if test -s conftest.err
; then
11242 ac_cpp_err
=$ac_c_preproc_warn_flag
11243 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11250 if test -z "$ac_cpp_err"; then
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.
$ac_ext >&5
11256 # Broken: fails on valid input.
11259 rm -f conftest.err conftest.
$ac_ext
11261 # OK, works on sane cases. Now check whether non-existent headers
11262 # can be detected and how.
11263 cat >conftest.
$ac_ext <<_ACEOF
11266 cat confdefs.h
>>conftest.
$ac_ext
11267 cat >>conftest.
$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269 #include <ac_nonexistent.h>
11271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11274 grep -v '^ *+' conftest.er1
>conftest.err
11276 cat conftest.err
>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); } >/dev
/null
; then
11279 if test -s conftest.err
; then
11280 ac_cpp_err
=$ac_c_preproc_warn_flag
11281 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11288 if test -z "$ac_cpp_err"; then
11289 # Broken: success on invalid input.
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.
$ac_ext >&5
11295 # Passes both tests.
11299 rm -f conftest.err conftest.
$ac_ext
11302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11303 rm -f conftest.err conftest.
$ac_ext
11304 if $ac_preproc_ok; then
11309 ac_cv_prog_CPP
=$CPP
11312 CPP
=$ac_cv_prog_CPP
11314 ac_cv_prog_CPP
=$CPP
11316 echo "$as_me:$LINENO: result: $CPP" >&5
11317 echo "${ECHO_T}$CPP" >&6
11318 ac_preproc_ok
=false
11319 for ac_c_preproc_warn_flag
in '' yes
11321 # Use a header file that comes with gcc, so configuring glibc
11322 # with a fresh cross-compiler works.
11323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11324 # <limits.h> exists even on freestanding compilers.
11325 # On the NeXT, cc -E runs the code through the compiler's parser,
11326 # not just through cpp. "Syntax error" is here to catch this case.
11327 cat >conftest.
$ac_ext <<_ACEOF
11330 cat confdefs.h
>>conftest.
$ac_ext
11331 cat >>conftest.
$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11334 # include <limits.h>
11336 # include <assert.h>
11340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11341 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11343 grep -v '^ *+' conftest.er1
>conftest.err
11345 cat conftest.err
>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); } >/dev
/null
; then
11348 if test -s conftest.err
; then
11349 ac_cpp_err
=$ac_c_preproc_warn_flag
11350 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11357 if test -z "$ac_cpp_err"; then
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.
$ac_ext >&5
11363 # Broken: fails on valid input.
11366 rm -f conftest.err conftest.
$ac_ext
11368 # OK, works on sane cases. Now check whether non-existent headers
11369 # can be detected and how.
11370 cat >conftest.
$ac_ext <<_ACEOF
11373 cat confdefs.h
>>conftest.
$ac_ext
11374 cat >>conftest.
$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376 #include <ac_nonexistent.h>
11378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11381 grep -v '^ *+' conftest.er1
>conftest.err
11383 cat conftest.err
>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } >/dev
/null
; then
11386 if test -s conftest.err
; then
11387 ac_cpp_err
=$ac_c_preproc_warn_flag
11388 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11395 if test -z "$ac_cpp_err"; then
11396 # Broken: success on invalid input.
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.
$ac_ext >&5
11402 # Passes both tests.
11406 rm -f conftest.err conftest.
$ac_ext
11409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11410 rm -f conftest.err conftest.
$ac_ext
11411 if $ac_preproc_ok; then
11414 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11415 See \`config.log' for more details." >&5
11416 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11417 See \`config.log' for more details." >&2;}
11418 { (exit 1); exit 1; }; }
11422 ac_cpp
='$CPP $CPPFLAGS'
11423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11428 echo "$as_me:$LINENO: checking for egrep" >&5
11429 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11430 if test "${ac_cv_prog_egrep+set}" = set; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11434 then ac_cv_prog_egrep
='grep -E'
11435 else ac_cv_prog_egrep
='egrep'
11438 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11439 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11440 EGREP
=$ac_cv_prog_egrep
11443 if test $ac_cv_c_compiler_gnu = yes; then
11444 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11445 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11446 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11447 echo $ECHO_N "(cached) $ECHO_C" >&6
11449 ac_pattern
="Autoconf.*'x'"
11450 cat >conftest.
$ac_ext <<_ACEOF
11453 cat confdefs.h
>>conftest.
$ac_ext
11454 cat >>conftest.
$ac_ext <<_ACEOF
11455 /* end confdefs.h. */
11459 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11460 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11461 ac_cv_prog_gcc_traditional
=yes
11463 ac_cv_prog_gcc_traditional
=no
11468 if test $ac_cv_prog_gcc_traditional = no
; then
11469 cat >conftest.
$ac_ext <<_ACEOF
11472 cat confdefs.h
>>conftest.
$ac_ext
11473 cat >>conftest.
$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11475 #include <termio.h>
11478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11479 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11480 ac_cv_prog_gcc_traditional
=yes
11486 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11487 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11488 if test $ac_cv_prog_gcc_traditional = yes; then
11489 CC
="$CC -traditional"
11497 ac_cpp
='$CXXCPP $CPPFLAGS'
11498 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11499 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11500 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11503 CXXFLAGS
=${CXXFLAGS:=}
11505 ac_cpp
='$CXXCPP $CPPFLAGS'
11506 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11507 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11508 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11509 if test -n "$ac_tool_prefix"; then
11510 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11512 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11513 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11514 echo "$as_me:$LINENO: checking for $ac_word" >&5
11515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11516 if test "${ac_cv_prog_CXX+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 if test -n "$CXX"; then
11520 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11523 for as_dir
in $PATH
11526 test -z "$as_dir" && as_dir
=.
11527 for ac_exec_ext
in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11529 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11538 CXX
=$ac_cv_prog_CXX
11539 if test -n "$CXX"; then
11540 echo "$as_me:$LINENO: result: $CXX" >&5
11541 echo "${ECHO_T}$CXX" >&6
11543 echo "$as_me:$LINENO: result: no" >&5
11544 echo "${ECHO_T}no" >&6
11547 test -n "$CXX" && break
11550 if test -z "$CXX"; then
11552 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11554 # Extract the first word of "$ac_prog", so it can be a program name with args.
11555 set dummy
$ac_prog; ac_word
=$2
11556 echo "$as_me:$LINENO: checking for $ac_word" >&5
11557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11558 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11559 echo $ECHO_N "(cached) $ECHO_C" >&6
11561 if test -n "$ac_ct_CXX"; then
11562 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11565 for as_dir
in $PATH
11568 test -z "$as_dir" && as_dir
=.
11569 for ac_exec_ext
in '' $ac_executable_extensions; do
11570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11571 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11580 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11581 if test -n "$ac_ct_CXX"; then
11582 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11583 echo "${ECHO_T}$ac_ct_CXX" >&6
11585 echo "$as_me:$LINENO: result: no" >&5
11586 echo "${ECHO_T}no" >&6
11589 test -n "$ac_ct_CXX" && break
11591 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11597 # Provide some information about the compiler.
11598 echo "$as_me:$LINENO:" \
11599 "checking for C++ compiler version" >&5
11600 ac_compiler
=`set X $ac_compile; echo $2`
11601 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11602 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); }
11606 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11607 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }
11611 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11612 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); }
11617 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11618 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11619 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11622 cat >conftest.
$ac_ext <<_ACEOF
11625 cat confdefs.h
>>conftest.
$ac_ext
11626 cat >>conftest.
$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11640 rm -f conftest.
$ac_objext
11641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11642 (eval $ac_compile) 2>conftest.er1
11644 grep -v '^ *+' conftest.er1
>conftest.err
11646 cat conftest.err
>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } &&
11649 { ac_try
='test -z "$ac_cxx_werror_flag"
11650 || test ! -s conftest.err'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try
='test -s conftest.$ac_objext'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; }; then
11662 ac_compiler_gnu
=yes
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.
$ac_ext >&5
11669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11670 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11673 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11674 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11675 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11676 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11677 ac_save_CXXFLAGS
=$CXXFLAGS
11679 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11680 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11681 if test "${ac_cv_prog_cxx_g+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 cat >conftest.
$ac_ext <<_ACEOF
11687 cat confdefs.h
>>conftest.
$ac_ext
11688 cat >>conftest.
$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11699 rm -f conftest.
$ac_objext
11700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11701 (eval $ac_compile) 2>conftest.er1
11703 grep -v '^ *+' conftest.er1
>conftest.err
11705 cat conftest.err
>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try
='test -z "$ac_cxx_werror_flag"
11709 || test ! -s conftest.err'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; } &&
11715 { ac_try
='test -s conftest.$ac_objext'
11716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11717 (eval $ac_try) 2>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); }; }; then
11721 ac_cv_prog_cxx_g
=yes
11723 echo "$as_me: failed program was:" >&5
11724 sed 's/^/| /' conftest.
$ac_ext >&5
11726 ac_cv_prog_cxx_g
=no
11728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11730 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11731 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11732 if test "$ac_test_CXXFLAGS" = set; then
11733 CXXFLAGS
=$ac_save_CXXFLAGS
11734 elif test $ac_cv_prog_cxx_g = yes; then
11735 if test "$GXX" = yes; then
11741 if test "$GXX" = yes; then
11747 for ac_declaration
in \
11749 'extern "C" void std::exit (int) throw (); using std::exit;' \
11750 'extern "C" void std::exit (int); using std::exit;' \
11751 'extern "C" void exit (int) throw ();' \
11752 'extern "C" void exit (int);' \
11755 cat >conftest.
$ac_ext <<_ACEOF
11758 cat confdefs.h
>>conftest.
$ac_ext
11759 cat >>conftest.
$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11762 #include <stdlib.h>
11771 rm -f conftest.
$ac_objext
11772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11773 (eval $ac_compile) 2>conftest.er1
11775 grep -v '^ *+' conftest.er1
>conftest.err
11777 cat conftest.err
>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try
='test -z "$ac_cxx_werror_flag"
11781 || test ! -s conftest.err'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; } &&
11787 { ac_try
='test -s conftest.$ac_objext'
11788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789 (eval $ac_try) 2>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); }; }; then
11795 echo "$as_me: failed program was:" >&5
11796 sed 's/^/| /' conftest.
$ac_ext >&5
11800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11801 cat >conftest.
$ac_ext <<_ACEOF
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11816 rm -f conftest.
$ac_objext
11817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818 (eval $ac_compile) 2>conftest.er1
11820 grep -v '^ *+' conftest.er1
>conftest.err
11822 cat conftest.err
>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } &&
11825 { ac_try
='test -z "$ac_cxx_werror_flag"
11826 || test ! -s conftest.err'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; } &&
11832 { ac_try
='test -s conftest.$ac_objext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.
$ac_ext >&5
11844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11847 if test -n "$ac_declaration"; then
11848 echo '#ifdef __cplusplus' >>confdefs.h
11849 echo $ac_declaration >>confdefs.h
11850 echo '#endif' >>confdefs.h
11854 ac_cpp
='$CXXCPP $CPPFLAGS'
11855 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11856 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11857 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11861 ac_cpp
='$CPP $CPPFLAGS'
11862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11867 if test -n "$ac_tool_prefix"; then
11868 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11869 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11870 echo "$as_me:$LINENO: checking for $ac_word" >&5
11871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11872 if test "${ac_cv_prog_RANLIB+set}" = set; then
11873 echo $ECHO_N "(cached) $ECHO_C" >&6
11875 if test -n "$RANLIB"; then
11876 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11879 for as_dir
in $PATH
11882 test -z "$as_dir" && as_dir
=.
11883 for ac_exec_ext
in '' $ac_executable_extensions; do
11884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11885 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11894 RANLIB
=$ac_cv_prog_RANLIB
11895 if test -n "$RANLIB"; then
11896 echo "$as_me:$LINENO: result: $RANLIB" >&5
11897 echo "${ECHO_T}$RANLIB" >&6
11899 echo "$as_me:$LINENO: result: no" >&5
11900 echo "${ECHO_T}no" >&6
11904 if test -z "$ac_cv_prog_RANLIB"; then
11905 ac_ct_RANLIB
=$RANLIB
11906 # Extract the first word of "ranlib", so it can be a program name with args.
11907 set dummy ranlib
; ac_word
=$2
11908 echo "$as_me:$LINENO: checking for $ac_word" >&5
11909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11910 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 if test -n "$ac_ct_RANLIB"; then
11914 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11917 for as_dir
in $PATH
11920 test -z "$as_dir" && as_dir
=.
11921 for ac_exec_ext
in '' $ac_executable_extensions; do
11922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11923 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11930 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11933 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11934 if test -n "$ac_ct_RANLIB"; then
11935 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11936 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11938 echo "$as_me:$LINENO: result: no" >&5
11939 echo "${ECHO_T}no" >&6
11942 RANLIB
=$ac_ct_RANLIB
11944 RANLIB
="$ac_cv_prog_RANLIB"
11948 # Extract the first word of "ar", so it can be a program name with args.
11949 set dummy
ar; ac_word
=$2
11950 echo "$as_me:$LINENO: checking for $ac_word" >&5
11951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11952 if test "${ac_cv_prog_AR+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11955 if test -n "$AR"; then
11956 ac_cv_prog_AR
="$AR" # Let the user override the test.
11958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11959 for as_dir
in $PATH
11962 test -z "$as_dir" && as_dir
=.
11963 for ac_exec_ext
in '' $ac_executable_extensions; do
11964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11975 if test -n "$AR"; then
11976 echo "$as_me:$LINENO: result: $AR" >&5
11977 echo "${ECHO_T}$AR" >&6
11979 echo "$as_me:$LINENO: result: no" >&5
11980 echo "${ECHO_T}no" >&6
11983 if test "x$AR" = "x" ; then
11984 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11985 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11986 { (exit 1); exit 1; }; }
11989 # Find a good install program. We prefer a C program (faster),
11990 # so one script is as good as another. But avoid the broken or
11991 # incompatible versions:
11992 # SysV /etc/install, /usr/sbin/install
11993 # SunOS /usr/etc/install
11994 # IRIX /sbin/install
11996 # AmigaOS /C/install, which installs bootblocks on floppy discs
11997 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11998 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11999 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12000 # OS/2's system install, which has a completely different semantic
12001 # ./install, which can be erroneously created by make from ./install.sh.
12002 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12003 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12004 if test -z "$INSTALL"; then
12005 if test "${ac_cv_path_install+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12009 for as_dir
in $PATH
12012 test -z "$as_dir" && as_dir
=.
12013 # Account for people who put trailing slashes in PATH elements.
12015 .
/ | .
// | /cC
/* | \
12016 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
12017 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
12020 # OSF1 and SCO ODT 3.0 have their own names for install.
12021 # Don't use installbsd from OSF since it installs stuff as root
12023 for ac_prog
in ginstall scoinst
install; do
12024 for ac_exec_ext
in '' $ac_executable_extensions; do
12025 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12026 if test $ac_prog = install &&
12027 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12028 # AIX install. It has an incompatible calling convention.
12030 elif test $ac_prog = install &&
12031 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
12032 # program-specific install script used by HP pwplus--don't use.
12035 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
12047 if test "${ac_cv_path_install+set}" = set; then
12048 INSTALL
=$ac_cv_path_install
12050 # As a last resort, use the slow shell script. We don't cache a
12051 # path for INSTALL within a source directory, because that will
12052 # break other packages using the cache if that directory is
12053 # removed, or if the path is relative.
12054 INSTALL
=$ac_install_sh
12057 echo "$as_me:$LINENO: result: $INSTALL" >&5
12058 echo "${ECHO_T}$INSTALL" >&6
12060 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12061 # It thinks the first close brace ends the variable substitution.
12062 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
12064 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
12066 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
12072 ?
:* ) # Drive letter, considered as absolute.
12075 INSTALL
=`pwd`/${INSTALL} ;;
12081 powerpc
-*-darwin* )
12082 INSTALL_PROGRAM
="cp -fp"
12083 INSTALL_DATA
="cp -fp"
12089 # Extract the first word of "strip", so it can be a program name with args.
12090 set dummy strip
; ac_word
=$2
12091 echo "$as_me:$LINENO: checking for $ac_word" >&5
12092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12093 if test "${ac_cv_prog_STRIP+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 if test -n "$STRIP"; then
12097 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
12099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12100 for as_dir
in $PATH
12103 test -z "$as_dir" && as_dir
=.
12104 for ac_exec_ext
in '' $ac_executable_extensions; do
12105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12106 ac_cv_prog_STRIP
="strip"
12107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12113 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
12116 STRIP
=$ac_cv_prog_STRIP
12117 if test -n "$STRIP"; then
12118 echo "$as_me:$LINENO: result: $STRIP" >&5
12119 echo "${ECHO_T}$STRIP" >&6
12121 echo "$as_me:$LINENO: result: no" >&5
12122 echo "${ECHO_T}no" >&6
12126 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12127 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12128 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12129 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
12133 egrep -s GNU
> /dev
/null
); then
12134 wx_cv_prog_makeisgnu
="yes"
12136 wx_cv_prog_makeisgnu
="no"
12140 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12141 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12143 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12151 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12152 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12153 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12154 if test "${wx_cv_prog_makevpath+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 cat - << EOF > confMake
12164 if test ! -d sub
; then
12167 echo dummy
> sub
/file
12168 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
12170 rm -f sub
/file check final_file confMake
12172 if test "$RESULT" = 0; then
12173 wx_cv_prog_makevpath
="yes"
12175 wx_cv_prog_makevpath
="no"
12179 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12180 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12182 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12183 { { echo "$as_me:$LINENO: error:
12184 You need a make-utility that is able to use the variable
12186 If your version of make does not support VPATH correctly,
12187 please install GNU-make (possibly as gmake), and start
12188 configure with the following command:
12189 export MAKE=gmake; ./configure for sh-type shells
12190 setenv MAKE gmake; ./configure for csh-type shells
12191 Also please do remember to use gmake in this case every time
12192 you are trying to compile.
12194 echo "$as_me: error:
12195 You need a make-utility that is able to use the variable
12197 If your version of make does not support VPATH correctly,
12198 please install GNU-make (possibly as gmake), and start
12199 configure with the following command:
12200 export MAKE=gmake; ./configure for sh-type shells
12201 setenv MAKE gmake; ./configure for csh-type shells
12202 Also please do remember to use gmake in this case every time
12203 you are trying to compile.
12205 { (exit 1); exit 1; }; }
12207 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12208 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12210 if test "$LN_S" = "ln -s"; then
12211 echo "$as_me:$LINENO: result: yes" >&5
12212 echo "${ECHO_T}yes" >&6
12214 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12215 echo "${ECHO_T}no, using $LN_S" >&6
12221 *-pc-os2_emx | *-pc-os2-emx )
12222 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12223 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12224 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12225 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 ac_check_lib_save_LIBS
=$LIBS
12229 LIBS
="-lcExt $LIBS"
12230 cat >conftest.
$ac_ext <<_ACEOF
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12237 /* Override any gcc2 internal prototype to avoid an error. */
12241 /* We use char because int might match the return type of a gcc2
12242 builtin and then its argument prototype would still apply. */
12252 rm -f conftest.
$ac_objext conftest
$ac_exeext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12254 (eval $ac_link) 2>conftest.er1
12256 grep -v '^ *+' conftest.er1
>conftest.err
12258 cat conftest.err
>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); } &&
12261 { ac_try
='test -z "$ac_c_werror_flag"
12262 || test ! -s conftest.err'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; } &&
12268 { ac_try
='test -s conftest$ac_exeext'
12269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12270 (eval $ac_try) 2>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); }; }; then
12274 ac_cv_lib_cExt_drand48
=yes
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.
$ac_ext >&5
12279 ac_cv_lib_cExt_drand48
=no
12281 rm -f conftest.err conftest.
$ac_objext \
12282 conftest
$ac_exeext conftest.
$ac_ext
12283 LIBS
=$ac_check_lib_save_LIBS
12285 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12286 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12287 if test $ac_cv_lib_cExt_drand48 = yes; then
12288 LIBS
="$LIBS -lcExt"
12292 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
12294 echo "$as_me:$LINENO: checking for gcc version" >&5
12295 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12296 if test "${wx_cv_gccversion+set}" = set; then
12297 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12319 rm -f conftest.
$ac_objext
12320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12321 (eval $ac_compile) 2>conftest.er1
12323 grep -v '^ *+' conftest.er1
>conftest.err
12325 cat conftest.err
>&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); } &&
12328 { ac_try
='test -z "$ac_c_werror_flag"
12329 || test ! -s conftest.err'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; } &&
12335 { ac_try
='test -s conftest.$ac_objext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12342 cat >conftest.
$ac_ext <<_ACEOF
12345 cat confdefs.h
>>conftest.
$ac_ext
12346 cat >>conftest.
$ac_ext <<_ACEOF
12347 /* end confdefs.h. */
12353 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12354 #error intermediate gcc
12361 rm -f conftest.
$ac_objext
12362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12363 (eval $ac_compile) 2>conftest.er1
12365 grep -v '^ *+' conftest.er1
>conftest.err
12367 cat conftest.err
>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } &&
12370 { ac_try
='test -z "$ac_c_werror_flag"
12371 || test ! -s conftest.err'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; } &&
12377 { ac_try
='test -s conftest.$ac_objext'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; }; then
12384 wx_cv_gccversion
=Innotek
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.
$ac_ext >&5
12406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12409 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12410 echo "${ECHO_T}$wx_cv_gccversion" >&6
12411 if test "$wx_cv_gccversion" = "2"; then
12412 LIBS
="$LIBS -lstdcpp"
12413 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12415 if test "$wx_cv_gccversion" = "3"; then
12416 LIBS
="$LIBS -lstdcxx"
12417 LDFLAGS
="$LDFLAGS -Zsysv-signals"
12419 LIBS
="$LIBS -lstdc++"
12422 if test "$wxUSE_OMF" = "yes"; then
12423 LDFLAGS
="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12431 ac_cpp
='$CXXCPP $CPPFLAGS'
12432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12438 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12439 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12440 if test "${ac_cv_string_strcasecmp+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 cat >conftest.
$ac_ext <<_ACEOF
12447 cat confdefs.h
>>conftest.
$ac_ext
12448 cat >>conftest.
$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12451 #include <string.h>
12457 strcasecmp("foo", "bar");
12463 rm -f conftest.
$ac_objext conftest
$ac_exeext
12464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12465 (eval $ac_link) 2>conftest.er1
12467 grep -v '^ *+' conftest.er1
>conftest.err
12469 cat conftest.err
>&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } &&
12472 { ac_try
='test -z "$ac_cxx_werror_flag"
12473 || test ! -s conftest.err'
12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475 (eval $ac_try) 2>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; } &&
12479 { ac_try
='test -s conftest$ac_exeext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 ac_cv_string_strcasecmp
=yes
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.
$ac_ext >&5
12490 ac_cv_string_strcasecmp
=no
12493 rm -f conftest.err conftest.
$ac_objext \
12494 conftest
$ac_exeext conftest.
$ac_ext
12497 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12498 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12500 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
12501 cat >>confdefs.h
<<\_ACEOF
12502 #define HAVE_STRCASECMP_IN_STRING_H 1
12506 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12507 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12508 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12512 cat >conftest.
$ac_ext <<_ACEOF
12515 cat confdefs.h
>>conftest.
$ac_ext
12516 cat >>conftest.
$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12519 #include <strings.h>
12525 strcasecmp("foo", "bar");
12531 rm -f conftest.
$ac_objext conftest
$ac_exeext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12533 (eval $ac_link) 2>conftest.er1
12535 grep -v '^ *+' conftest.er1
>conftest.err
12537 cat conftest.err
>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try
='test -z "$ac_cxx_werror_flag"
12541 || test ! -s conftest.err'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try
='test -s conftest$ac_exeext'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; }; then
12553 ac_cv_strings_strcasecmp
=yes
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.
$ac_ext >&5
12558 ac_cv_strings_strcasecmp
=no
12561 rm -f conftest.err conftest.
$ac_objext \
12562 conftest
$ac_exeext conftest.
$ac_ext
12565 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12566 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12568 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
12569 cat >>confdefs.h
<<\_ACEOF
12570 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12574 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12575 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12576 { (exit 1); exit 1; }; }
12581 ac_cpp
='$CPP $CPPFLAGS'
12582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12590 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12591 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12592 if test "${ac_cv_header_stdc+set}" = set; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 #include <stdlib.h>
12602 #include <stdarg.h>
12603 #include <string.h>
12614 rm -f conftest.
$ac_objext
12615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12616 (eval $ac_compile) 2>conftest.er1
12618 grep -v '^ *+' conftest.er1
>conftest.err
12620 cat conftest.err
>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } &&
12623 { ac_try
='test -z "$ac_c_werror_flag"
12624 || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try
='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12636 ac_cv_header_stdc
=yes
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.
$ac_ext >&5
12641 ac_cv_header_stdc
=no
12643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12645 if test $ac_cv_header_stdc = yes; then
12646 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12647 cat >conftest.
$ac_ext <<_ACEOF
12650 cat confdefs.h
>>conftest.
$ac_ext
12651 cat >>conftest.
$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12653 #include <string.h>
12656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12657 $EGREP "memchr" >/dev
/null
2>&1; then
12660 ac_cv_header_stdc
=no
12666 if test $ac_cv_header_stdc = yes; then
12667 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12668 cat >conftest.
$ac_ext <<_ACEOF
12671 cat confdefs.h
>>conftest.
$ac_ext
12672 cat >>conftest.
$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12674 #include <stdlib.h>
12677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12678 $EGREP "free" >/dev
/null
2>&1; then
12681 ac_cv_header_stdc
=no
12687 if test $ac_cv_header_stdc = yes; then
12688 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12689 if test "$cross_compiling" = yes; then
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12699 #if ((' ' & 0x0FF) == 0x020)
12700 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12701 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12703 # define ISLOWER(c) \
12704 (('a' <= (c) && (c) <= 'i') \
12705 || ('j' <= (c) && (c) <= 'r') \
12706 || ('s' <= (c) && (c) <= 'z'))
12707 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12710 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12715 for (i = 0; i < 256; i++)
12716 if (XOR (islower (i), ISLOWER (i))
12717 || toupper (i) != TOUPPER (i))
12722 rm -f conftest
$ac_exeext
12723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12724 (eval $ac_link) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12729 (eval $ac_try) 2>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); }; }; then
12735 echo "$as_me: program exited with status $ac_status" >&5
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 ( exit $ac_status )
12740 ac_cv_header_stdc
=no
12742 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12746 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12747 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12748 if test $ac_cv_header_stdc = yes; then
12750 cat >>confdefs.h
<<\_ACEOF
12751 #define STDC_HEADERS 1
12756 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12766 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12767 inttypes.h stdint.h unistd.h
12769 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12770 echo "$as_me:$LINENO: checking for $ac_header" >&5
12771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12773 echo $ECHO_N "(cached) $ECHO_C" >&6
12775 cat >conftest.
$ac_ext <<_ACEOF
12778 cat confdefs.h
>>conftest.
$ac_ext
12779 cat >>conftest.
$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12781 $ac_includes_default
12783 #include <$ac_header>
12785 rm -f conftest.
$ac_objext
12786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12787 (eval $ac_compile) 2>conftest.er1
12789 grep -v '^ *+' conftest.er1
>conftest.err
12791 cat conftest.err
>&5
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); } &&
12794 { ac_try
='test -z "$ac_c_werror_flag"
12795 || test ! -s conftest.err'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; } &&
12801 { ac_try
='test -s conftest.$ac_objext'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12807 eval "$as_ac_Header=yes"
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.
$ac_ext >&5
12812 eval "$as_ac_Header=no"
12814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12819 cat >>confdefs.h
<<_ACEOF
12820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12829 for ac_header
in stdlib.h
12831 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12833 echo "$as_me:$LINENO: checking for $ac_header" >&5
12834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12841 # Is the header compilable?
12842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12844 cat >conftest.
$ac_ext <<_ACEOF
12847 cat confdefs.h
>>conftest.
$ac_ext
12848 cat >>conftest.
$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12850 $ac_includes_default
12851 #include <$ac_header>
12853 rm -f conftest.
$ac_objext
12854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12855 (eval $ac_compile) 2>conftest.er1
12857 grep -v '^ *+' conftest.er1
>conftest.err
12859 cat conftest.err
>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } &&
12862 { ac_try
='test -z "$ac_c_werror_flag"
12863 || test ! -s conftest.err'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; } &&
12869 { ac_try
='test -s conftest.$ac_objext'
12870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12871 (eval $ac_try) 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 ac_header_compiler
=yes
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.
$ac_ext >&5
12880 ac_header_compiler
=no
12882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12884 echo "${ECHO_T}$ac_header_compiler" >&6
12886 # Is the header present?
12887 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12888 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12889 cat >conftest.
$ac_ext <<_ACEOF
12892 cat confdefs.h
>>conftest.
$ac_ext
12893 cat >>conftest.
$ac_ext <<_ACEOF
12894 /* end confdefs.h. */
12895 #include <$ac_header>
12897 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12898 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12900 grep -v '^ *+' conftest.er1
>conftest.err
12902 cat conftest.err
>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } >/dev
/null
; then
12905 if test -s conftest.err
; then
12906 ac_cpp_err
=$ac_c_preproc_warn_flag
12907 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12914 if test -z "$ac_cpp_err"; then
12915 ac_header_preproc
=yes
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12920 ac_header_preproc
=no
12922 rm -f conftest.err conftest.
$ac_ext
12923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12924 echo "${ECHO_T}$ac_header_preproc" >&6
12926 # So? What about this header?
12927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12932 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12933 ac_header_preproc
=yes
12936 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12938 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12939 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12940 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12941 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12942 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12943 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12946 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12947 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12950 ## ----------------------------------------- ##
12951 ## Report this to wx-dev@lists.wxwidgets.org ##
12952 ## ----------------------------------------- ##
12955 sed "s/^/$as_me: WARNING: /" >&2
12958 echo "$as_me:$LINENO: checking for $ac_header" >&5
12959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 eval "$as_ac_Header=\$ac_header_preproc"
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12970 cat >>confdefs.h
<<_ACEOF
12971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12979 for ac_header
in malloc.h
12981 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12983 echo "$as_me:$LINENO: checking for $ac_header" >&5
12984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12991 # Is the header compilable?
12992 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12993 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12994 cat >conftest.
$ac_ext <<_ACEOF
12997 cat confdefs.h
>>conftest.
$ac_ext
12998 cat >>conftest.
$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13000 $ac_includes_default
13001 #include <$ac_header>
13003 rm -f conftest.
$ac_objext
13004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13005 (eval $ac_compile) 2>conftest.er1
13007 grep -v '^ *+' conftest.er1
>conftest.err
13009 cat conftest.err
>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); } &&
13012 { ac_try
='test -z "$ac_c_werror_flag"
13013 || test ! -s conftest.err'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; } &&
13019 { ac_try
='test -s conftest.$ac_objext'
13020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13021 (eval $ac_try) 2>&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); }; }; then
13025 ac_header_compiler
=yes
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.
$ac_ext >&5
13030 ac_header_compiler
=no
13032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13034 echo "${ECHO_T}$ac_header_compiler" >&6
13036 # Is the header present?
13037 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13038 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13039 cat >conftest.
$ac_ext <<_ACEOF
13042 cat confdefs.h
>>conftest.
$ac_ext
13043 cat >>conftest.
$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13045 #include <$ac_header>
13047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13050 grep -v '^ *+' conftest.er1
>conftest.err
13052 cat conftest.err
>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } >/dev
/null
; then
13055 if test -s conftest.err
; then
13056 ac_cpp_err
=$ac_c_preproc_warn_flag
13057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13064 if test -z "$ac_cpp_err"; then
13065 ac_header_preproc
=yes
13067 echo "$as_me: failed program was:" >&5
13068 sed 's/^/| /' conftest.
$ac_ext >&5
13070 ac_header_preproc
=no
13072 rm -f conftest.err conftest.
$ac_ext
13073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13074 echo "${ECHO_T}$ac_header_preproc" >&6
13076 # So? What about this header?
13077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13083 ac_header_preproc
=yes
13086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13100 ## ----------------------------------------- ##
13101 ## Report this to wx-dev@lists.wxwidgets.org ##
13102 ## ----------------------------------------- ##
13105 sed "s/^/$as_me: WARNING: /" >&2
13108 echo "$as_me:$LINENO: checking for $ac_header" >&5
13109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13113 eval "$as_ac_Header=\$ac_header_preproc"
13115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13120 cat >>confdefs.h
<<_ACEOF
13121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13129 for ac_header
in unistd.h
13131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13133 echo "$as_me:$LINENO: checking for $ac_header" >&5
13134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13141 # Is the header compilable?
13142 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13144 cat >conftest.
$ac_ext <<_ACEOF
13147 cat confdefs.h
>>conftest.
$ac_ext
13148 cat >>conftest.
$ac_ext <<_ACEOF
13149 /* end confdefs.h. */
13150 $ac_includes_default
13151 #include <$ac_header>
13153 rm -f conftest.
$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13157 grep -v '^ *+' conftest.er1
>conftest.err
13159 cat conftest.err
>&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try
='test -z "$ac_c_werror_flag"
13163 || test ! -s conftest.err'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; } &&
13169 { ac_try
='test -s conftest.$ac_objext'
13170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171 (eval $ac_try) 2>&5
13173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174 (exit $ac_status); }; }; then
13175 ac_header_compiler
=yes
13177 echo "$as_me: failed program was:" >&5
13178 sed 's/^/| /' conftest.
$ac_ext >&5
13180 ac_header_compiler
=no
13182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13184 echo "${ECHO_T}$ac_header_compiler" >&6
13186 # Is the header present?
13187 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13189 cat >conftest.
$ac_ext <<_ACEOF
13192 cat confdefs.h
>>conftest.
$ac_ext
13193 cat >>conftest.
$ac_ext <<_ACEOF
13194 /* end confdefs.h. */
13195 #include <$ac_header>
13197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13198 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } >/dev
/null
; then
13205 if test -s conftest.err
; then
13206 ac_cpp_err
=$ac_c_preproc_warn_flag
13207 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13214 if test -z "$ac_cpp_err"; then
13215 ac_header_preproc
=yes
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.
$ac_ext >&5
13220 ac_header_preproc
=no
13222 rm -f conftest.err conftest.
$ac_ext
13223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13224 echo "${ECHO_T}$ac_header_preproc" >&6
13226 # So? What about this header?
13227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13233 ac_header_preproc
=yes
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13240 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13242 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13243 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13246 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13250 ## ----------------------------------------- ##
13251 ## Report this to wx-dev@lists.wxwidgets.org ##
13252 ## ----------------------------------------- ##
13255 sed "s/^/$as_me: WARNING: /" >&2
13258 echo "$as_me:$LINENO: checking for $ac_header" >&5
13259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 eval "$as_ac_Header=\$ac_header_preproc"
13265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13270 cat >>confdefs.h
<<_ACEOF
13271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13279 for ac_header
in wchar.h
13281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13283 echo "$as_me:$LINENO: checking for $ac_header" >&5
13284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13286 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13291 # Is the header compilable?
13292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 $ac_includes_default
13301 #include <$ac_header>
13303 rm -f conftest.
$ac_objext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13305 (eval $ac_compile) 2>conftest.er1
13307 grep -v '^ *+' conftest.er1
>conftest.err
13309 cat conftest.err
>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } &&
13312 { ac_try
='test -z "$ac_c_werror_flag"
13313 || test ! -s conftest.err'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; } &&
13319 { ac_try
='test -s conftest.$ac_objext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 ac_header_compiler
=yes
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 ac_header_compiler
=no
13332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13333 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13334 echo "${ECHO_T}$ac_header_compiler" >&6
13336 # Is the header present?
13337 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13338 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13339 cat >conftest.
$ac_ext <<_ACEOF
13342 cat confdefs.h
>>conftest.
$ac_ext
13343 cat >>conftest.
$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345 #include <$ac_header>
13347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13348 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13350 grep -v '^ *+' conftest.er1
>conftest.err
13352 cat conftest.err
>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } >/dev
/null
; then
13355 if test -s conftest.err
; then
13356 ac_cpp_err
=$ac_c_preproc_warn_flag
13357 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13364 if test -z "$ac_cpp_err"; then
13365 ac_header_preproc
=yes
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.
$ac_ext >&5
13370 ac_header_preproc
=no
13372 rm -f conftest.err conftest.
$ac_ext
13373 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13374 echo "${ECHO_T}$ac_header_preproc" >&6
13376 # So? What about this header?
13377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13383 ac_header_preproc
=yes
13386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13400 ## ----------------------------------------- ##
13401 ## Report this to wx-dev@lists.wxwidgets.org ##
13402 ## ----------------------------------------- ##
13405 sed "s/^/$as_me: WARNING: /" >&2
13408 echo "$as_me:$LINENO: checking for $ac_header" >&5
13409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 eval "$as_ac_Header=\$ac_header_preproc"
13415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13416 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13420 cat >>confdefs.h
<<_ACEOF
13421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13429 if test "$ac_cv_header_wchar_h" != "yes"; then
13431 for ac_header
in wcstr.h
13433 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13435 echo "$as_me:$LINENO: checking for $ac_header" >&5
13436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13443 # Is the header compilable?
13444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13446 cat >conftest.
$ac_ext <<_ACEOF
13449 cat confdefs.h
>>conftest.
$ac_ext
13450 cat >>conftest.
$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13452 $ac_includes_default
13453 #include <$ac_header>
13455 rm -f conftest.
$ac_objext
13456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13457 (eval $ac_compile) 2>conftest.er1
13459 grep -v '^ *+' conftest.er1
>conftest.err
13461 cat conftest.err
>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } &&
13464 { ac_try
='test -z "$ac_c_werror_flag"
13465 || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try
='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 ac_header_compiler
=yes
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.
$ac_ext >&5
13482 ac_header_compiler
=no
13484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13486 echo "${ECHO_T}$ac_header_compiler" >&6
13488 # Is the header present?
13489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13491 cat >conftest.
$ac_ext <<_ACEOF
13494 cat confdefs.h
>>conftest.
$ac_ext
13495 cat >>conftest.
$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13497 #include <$ac_header>
13499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13500 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13502 grep -v '^ *+' conftest.er1
>conftest.err
13504 cat conftest.err
>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); } >/dev
/null
; then
13507 if test -s conftest.err
; then
13508 ac_cpp_err
=$ac_c_preproc_warn_flag
13509 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13516 if test -z "$ac_cpp_err"; then
13517 ac_header_preproc
=yes
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.
$ac_ext >&5
13522 ac_header_preproc
=no
13524 rm -f conftest.err conftest.
$ac_ext
13525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13526 echo "${ECHO_T}$ac_header_preproc" >&6
13528 # So? What about this header?
13529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13535 ac_header_preproc
=yes
13538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13552 ## ----------------------------------------- ##
13553 ## Report this to wx-dev@lists.wxwidgets.org ##
13554 ## ----------------------------------------- ##
13557 sed "s/^/$as_me: WARNING: /" >&2
13560 echo "$as_me:$LINENO: checking for $ac_header" >&5
13561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 eval "$as_ac_Header=\$ac_header_preproc"
13567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13572 cat >>confdefs.h
<<_ACEOF
13573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13583 for ac_header
in fnmatch.h
13585 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13587 echo "$as_me:$LINENO: checking for $ac_header" >&5
13588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13595 # Is the header compilable?
13596 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13598 cat >conftest.
$ac_ext <<_ACEOF
13601 cat confdefs.h
>>conftest.
$ac_ext
13602 cat >>conftest.
$ac_ext <<_ACEOF
13603 /* end confdefs.h. */
13604 $ac_includes_default
13605 #include <$ac_header>
13607 rm -f conftest.
$ac_objext
13608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13609 (eval $ac_compile) 2>conftest.er1
13611 grep -v '^ *+' conftest.er1
>conftest.err
13613 cat conftest.err
>&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } &&
13616 { ac_try
='test -z "$ac_c_werror_flag"
13617 || test ! -s conftest.err'
13618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13619 (eval $ac_try) 2>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); }; } &&
13623 { ac_try
='test -s conftest.$ac_objext'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 ac_header_compiler
=yes
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.
$ac_ext >&5
13634 ac_header_compiler
=no
13636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13638 echo "${ECHO_T}$ac_header_compiler" >&6
13640 # Is the header present?
13641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13643 cat >conftest.
$ac_ext <<_ACEOF
13646 cat confdefs.h
>>conftest.
$ac_ext
13647 cat >>conftest.
$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 #include <$ac_header>
13651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13654 grep -v '^ *+' conftest.er1
>conftest.err
13656 cat conftest.err
>&5
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); } >/dev
/null
; then
13659 if test -s conftest.err
; then
13660 ac_cpp_err
=$ac_c_preproc_warn_flag
13661 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13668 if test -z "$ac_cpp_err"; then
13669 ac_header_preproc
=yes
13671 echo "$as_me: failed program was:" >&5
13672 sed 's/^/| /' conftest.
$ac_ext >&5
13674 ac_header_preproc
=no
13676 rm -f conftest.err conftest.
$ac_ext
13677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13678 echo "${ECHO_T}$ac_header_preproc" >&6
13680 # So? What about this header?
13681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13687 ac_header_preproc
=yes
13690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13704 ## ----------------------------------------- ##
13705 ## Report this to wx-dev@lists.wxwidgets.org ##
13706 ## ----------------------------------------- ##
13709 sed "s/^/$as_me: WARNING: /" >&2
13712 echo "$as_me:$LINENO: checking for $ac_header" >&5
13713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 eval "$as_ac_Header=\$ac_header_preproc"
13719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13724 cat >>confdefs.h
<<_ACEOF
13725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13733 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13735 for ac_func
in fnmatch
13737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13738 echo "$as_me:$LINENO: checking for $ac_func" >&5
13739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13740 if eval "test \"\${$as_ac_var+set}\" = set"; then
13741 echo $ECHO_N "(cached) $ECHO_C" >&6
13743 cat >conftest.
$ac_ext <<_ACEOF
13746 cat confdefs.h
>>conftest.
$ac_ext
13747 cat >>conftest.
$ac_ext <<_ACEOF
13748 /* end confdefs.h. */
13749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13751 #define $ac_func innocuous_$ac_func
13753 /* System header to define __stub macros and hopefully few prototypes,
13754 which can conflict with char $ac_func (); below.
13755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13756 <limits.h> exists even on freestanding compilers. */
13759 # include <limits.h>
13761 # include <assert.h>
13766 /* Override any gcc2 internal prototype to avoid an error. */
13771 /* We use char because int might match the return type of a gcc2
13772 builtin and then its argument prototype would still apply. */
13774 /* The GNU C library defines this for functions which it implements
13775 to always fail with ENOSYS. Some functions are actually named
13776 something starting with __ and the normal name is an alias. */
13777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13780 char (*f) () = $ac_func;
13789 return f != $ac_func;
13794 rm -f conftest.
$ac_objext conftest
$ac_exeext
13795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13796 (eval $ac_link) 2>conftest.er1
13798 grep -v '^ *+' conftest.er1
>conftest.err
13800 cat conftest.err
>&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); } &&
13803 { ac_try
='test -z "$ac_c_werror_flag"
13804 || test ! -s conftest.err'
13805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13806 (eval $ac_try) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; } &&
13810 { ac_try
='test -s conftest$ac_exeext'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; }; then
13816 eval "$as_ac_var=yes"
13818 echo "$as_me: failed program was:" >&5
13819 sed 's/^/| /' conftest.
$ac_ext >&5
13821 eval "$as_ac_var=no"
13823 rm -f conftest.err conftest.
$ac_objext \
13824 conftest
$ac_exeext conftest.
$ac_ext
13826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13828 if test `eval echo '${'$as_ac_var'}'` = yes; then
13829 cat >>confdefs.h
<<_ACEOF
13830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13839 for ac_header
in langinfo.h
13841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13843 echo "$as_me:$LINENO: checking for $ac_header" >&5
13844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13851 # Is the header compilable?
13852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13854 cat >conftest.
$ac_ext <<_ACEOF
13857 cat confdefs.h
>>conftest.
$ac_ext
13858 cat >>conftest.
$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13861 #include <$ac_header>
13863 rm -f conftest.
$ac_objext
13864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13865 (eval $ac_compile) 2>conftest.er1
13867 grep -v '^ *+' conftest.er1
>conftest.err
13869 cat conftest.err
>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } &&
13872 { ac_try
='test -z "$ac_c_werror_flag"
13873 || test ! -s conftest.err'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; } &&
13879 { ac_try
='test -s conftest.$ac_objext'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; }; then
13885 ac_header_compiler
=yes
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.
$ac_ext >&5
13890 ac_header_compiler
=no
13892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13894 echo "${ECHO_T}$ac_header_compiler" >&6
13896 # Is the header present?
13897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13899 cat >conftest.
$ac_ext <<_ACEOF
13902 cat confdefs.h
>>conftest.
$ac_ext
13903 cat >>conftest.
$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 #include <$ac_header>
13907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13910 grep -v '^ *+' conftest.er1
>conftest.err
13912 cat conftest.err
>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); } >/dev
/null
; then
13915 if test -s conftest.err
; then
13916 ac_cpp_err
=$ac_c_preproc_warn_flag
13917 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13924 if test -z "$ac_cpp_err"; then
13925 ac_header_preproc
=yes
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.
$ac_ext >&5
13930 ac_header_preproc
=no
13932 rm -f conftest.err conftest.
$ac_ext
13933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13934 echo "${ECHO_T}$ac_header_preproc" >&6
13936 # So? What about this header?
13937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13943 ac_header_preproc
=yes
13946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13960 ## ----------------------------------------- ##
13961 ## Report this to wx-dev@lists.wxwidgets.org ##
13962 ## ----------------------------------------- ##
13965 sed "s/^/$as_me: WARNING: /" >&2
13968 echo "$as_me:$LINENO: checking for $ac_header" >&5
13969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 eval "$as_ac_Header=\$ac_header_preproc"
13975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13980 cat >>confdefs.h
<<_ACEOF
13981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13990 *-pc-os2_emx | *-pc-os2-emx )
13991 if test $ac_cv_header_langinfo_h = "yes"; then
13992 LIBS
="$LIBS -lintl"
13997 if test "$wxUSE_GUI" = "yes"; then
13998 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14000 for ac_header
in X
11/Xlib.h
14002 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14004 echo "$as_me:$LINENO: checking for $ac_header" >&5
14005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14007 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14012 # Is the header compilable?
14013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14015 cat >conftest.
$ac_ext <<_ACEOF
14018 cat confdefs.h
>>conftest.
$ac_ext
14019 cat >>conftest.
$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14021 $ac_includes_default
14022 #include <$ac_header>
14024 rm -f conftest.
$ac_objext
14025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14026 (eval $ac_compile) 2>conftest.er1
14028 grep -v '^ *+' conftest.er1
>conftest.err
14030 cat conftest.err
>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } &&
14033 { ac_try
='test -z "$ac_c_werror_flag"
14034 || test ! -s conftest.err'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; } &&
14040 { ac_try
='test -s conftest.$ac_objext'
14041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14042 (eval $ac_try) 2>&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); }; }; then
14046 ac_header_compiler
=yes
14048 echo "$as_me: failed program was:" >&5
14049 sed 's/^/| /' conftest.
$ac_ext >&5
14051 ac_header_compiler
=no
14053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14055 echo "${ECHO_T}$ac_header_compiler" >&6
14057 # Is the header present?
14058 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14060 cat >conftest.
$ac_ext <<_ACEOF
14063 cat confdefs.h
>>conftest.
$ac_ext
14064 cat >>conftest.
$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14066 #include <$ac_header>
14068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14071 grep -v '^ *+' conftest.er1
>conftest.err
14073 cat conftest.err
>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); } >/dev
/null
; then
14076 if test -s conftest.err
; then
14077 ac_cpp_err
=$ac_c_preproc_warn_flag
14078 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14085 if test -z "$ac_cpp_err"; then
14086 ac_header_preproc
=yes
14088 echo "$as_me: failed program was:" >&5
14089 sed 's/^/| /' conftest.
$ac_ext >&5
14091 ac_header_preproc
=no
14093 rm -f conftest.err conftest.
$ac_ext
14094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14095 echo "${ECHO_T}$ac_header_preproc" >&6
14097 # So? What about this header?
14098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14104 ac_header_preproc
=yes
14107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14111 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14113 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14114 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14117 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14121 ## ----------------------------------------- ##
14122 ## Report this to wx-dev@lists.wxwidgets.org ##
14123 ## ----------------------------------------- ##
14126 sed "s/^/$as_me: WARNING: /" >&2
14129 echo "$as_me:$LINENO: checking for $ac_header" >&5
14130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14132 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 eval "$as_ac_Header=\$ac_header_preproc"
14136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14141 cat >>confdefs.h
<<_ACEOF
14142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14150 for ac_header
in X
11/XKBlib.h
14152 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14153 echo "$as_me:$LINENO: checking for $ac_header" >&5
14154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14156 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 cat >conftest.
$ac_ext <<_ACEOF
14161 cat confdefs.h
>>conftest.
$ac_ext
14162 cat >>conftest.
$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14165 #if HAVE_X11_XLIB_H
14166 #include <X11/Xlib.h>
14170 #include <$ac_header>
14172 rm -f conftest.
$ac_objext
14173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14174 (eval $ac_compile) 2>conftest.er1
14176 grep -v '^ *+' conftest.er1
>conftest.err
14178 cat conftest.err
>&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try
='test -z "$ac_c_werror_flag"
14182 || test ! -s conftest.err'
14183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14184 (eval $ac_try) 2>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try
='test -s conftest.$ac_objext'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 eval "$as_ac_Header=yes"
14196 echo "$as_me: failed program was:" >&5
14197 sed 's/^/| /' conftest.
$ac_ext >&5
14199 eval "$as_ac_Header=no"
14201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14206 cat >>confdefs.h
<<_ACEOF
14207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14218 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14219 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14220 if test "${ac_cv_c_const+set}" = set; then
14221 echo $ECHO_N "(cached) $ECHO_C" >&6
14223 cat >conftest.
$ac_ext <<_ACEOF
14226 cat confdefs.h
>>conftest.
$ac_ext
14227 cat >>conftest.
$ac_ext <<_ACEOF
14228 /* end confdefs.h. */
14233 /* FIXME: Include the comments suggested by Paul. */
14234 #ifndef __cplusplus
14235 /* Ultrix mips cc rejects this. */
14236 typedef int charset[2];
14238 /* SunOS 4.1.1 cc rejects this. */
14239 char const *const *ccp;
14241 /* NEC SVR4.0.2 mips cc rejects this. */
14242 struct point {int x, y;};
14243 static struct point const zero = {0,0};
14244 /* AIX XL C 1.02.0.0 rejects this.
14245 It does not let you subtract one const X* pointer from another in
14246 an arm of an if-expression whose if-part is not a constant
14248 const char *g = "string";
14249 ccp = &g + (g ? g-g : 0);
14250 /* HPUX 7.0 cc rejects these. */
14253 ccp = (char const *const *) p;
14254 { /* SCO 3.2v4 cc rejects this. */
14256 char const *s = 0 ? (char *) 0 : (char const *) 0;
14260 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14261 int x[] = {25, 17};
14262 const int *foo = &x[0];
14265 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14266 typedef const int *iptr;
14270 { /* AIX XL C 1.02.0.0 rejects this saying
14271 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14272 struct s { int j; const int *ap[3]; };
14273 struct s *b; b->j = 5;
14275 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14276 const int foo = 10;
14284 rm -f conftest.
$ac_objext
14285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14286 (eval $ac_compile) 2>conftest.er1
14288 grep -v '^ *+' conftest.er1
>conftest.err
14290 cat conftest.err
>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); } &&
14293 { ac_try
='test -z "$ac_c_werror_flag"
14294 || test ! -s conftest.err'
14295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14296 (eval $ac_try) 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; } &&
14300 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
14308 echo "$as_me: failed program was:" >&5
14309 sed 's/^/| /' conftest.
$ac_ext >&5
14313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14315 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14316 echo "${ECHO_T}$ac_cv_c_const" >&6
14317 if test $ac_cv_c_const = no
; then
14319 cat >>confdefs.h
<<\_ACEOF
14325 echo "$as_me:$LINENO: checking for inline" >&5
14326 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14327 if test "${ac_cv_c_inline+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14331 for ac_kw
in inline __inline__ __inline
; do
14332 cat >conftest.
$ac_ext <<_ACEOF
14335 cat confdefs.h
>>conftest.
$ac_ext
14336 cat >>conftest.
$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14338 #ifndef __cplusplus
14340 static $ac_kw foo_t static_foo () {return 0; }
14341 $ac_kw foo_t foo () {return 0; }
14345 rm -f conftest.
$ac_objext
14346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14347 (eval $ac_compile) 2>conftest.er1
14349 grep -v '^ *+' conftest.er1
>conftest.err
14351 cat conftest.err
>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); } &&
14354 { ac_try
='test -z "$ac_c_werror_flag"
14355 || test ! -s conftest.err'
14356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14357 (eval $ac_try) 2>&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); }; } &&
14361 { ac_try
='test -s conftest.$ac_objext'
14362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14363 (eval $ac_try) 2>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); }; }; then
14367 ac_cv_c_inline
=$ac_kw; break
14369 echo "$as_me: failed program was:" >&5
14370 sed 's/^/| /' conftest.
$ac_ext >&5
14373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14377 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14378 echo "${ECHO_T}$ac_cv_c_inline" >&6
14381 case $ac_cv_c_inline in
14384 case $ac_cv_c_inline in
14386 *) ac_val
=$ac_cv_c_inline;;
14388 cat >>confdefs.h
<<_ACEOF
14389 #ifndef __cplusplus
14390 #define inline $ac_val
14397 echo "$as_me:$LINENO: checking for char" >&5
14398 echo $ECHO_N "checking for char... $ECHO_C" >&6
14399 if test "${ac_cv_type_char+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 cat >conftest.
$ac_ext <<_ACEOF
14405 cat confdefs.h
>>conftest.
$ac_ext
14406 cat >>conftest.
$ac_ext <<_ACEOF
14407 /* end confdefs.h. */
14408 $ac_includes_default
14420 rm -f conftest.
$ac_objext
14421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14422 (eval $ac_compile) 2>conftest.er1
14424 grep -v '^ *+' conftest.er1
>conftest.err
14426 cat conftest.err
>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); } &&
14429 { ac_try
='test -z "$ac_c_werror_flag"
14430 || test ! -s conftest.err'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; } &&
14436 { ac_try
='test -s conftest.$ac_objext'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_type_char
=yes
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.
$ac_ext >&5
14449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14451 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14452 echo "${ECHO_T}$ac_cv_type_char" >&6
14454 echo "$as_me:$LINENO: checking size of char" >&5
14455 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14456 if test "${ac_cv_sizeof_char+set}" = set; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 if test "$ac_cv_type_char" = yes; then
14460 # The cast to unsigned long works around a bug in the HP C Compiler
14461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14463 # This bug is HP SR number 8606223364.
14464 if test "$cross_compiling" = yes; then
14465 # Depending upon the size, compute the lo and hi bounds.
14466 cat >conftest.
$ac_ext <<_ACEOF
14469 cat confdefs.h
>>conftest.
$ac_ext
14470 cat >>conftest.
$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14472 $ac_includes_default
14476 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14483 rm -f conftest.
$ac_objext
14484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14485 (eval $ac_compile) 2>conftest.er1
14487 grep -v '^ *+' conftest.er1
>conftest.err
14489 cat conftest.err
>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try
='test -z "$ac_c_werror_flag"
14493 || test ! -s conftest.err'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; } &&
14499 { ac_try
='test -s conftest.$ac_objext'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; }; then
14507 cat >conftest.
$ac_ext <<_ACEOF
14510 cat confdefs.h
>>conftest.
$ac_ext
14511 cat >>conftest.
$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 $ac_includes_default
14517 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14524 rm -f conftest.
$ac_objext
14525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14526 (eval $ac_compile) 2>conftest.er1
14528 grep -v '^ *+' conftest.er1
>conftest.err
14530 cat conftest.err
>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); } &&
14533 { ac_try
='test -z "$ac_c_werror_flag"
14534 || test ! -s conftest.err'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; } &&
14540 { ac_try
='test -s conftest.$ac_objext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 ac_hi
=$ac_mid; break
14548 echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.
$ac_ext >&5
14551 ac_lo
=`expr $ac_mid + 1`
14552 if test $ac_lo -le $ac_mid; then
14556 ac_mid
=`expr 2 '*' $ac_mid + 1`
14558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.
$ac_ext >&5
14564 cat >conftest.
$ac_ext <<_ACEOF
14567 cat confdefs.h
>>conftest.
$ac_ext
14568 cat >>conftest.
$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14570 $ac_includes_default
14574 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14581 rm -f conftest.
$ac_objext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 (eval $ac_compile) 2>conftest.er1
14585 grep -v '^ *+' conftest.er1
>conftest.err
14587 cat conftest.err
>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -z "$ac_c_werror_flag"
14591 || test ! -s conftest.err'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; } &&
14597 { ac_try
='test -s conftest.$ac_objext'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; }; then
14605 cat >conftest.
$ac_ext <<_ACEOF
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 $ac_includes_default
14615 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14622 rm -f conftest.
$ac_objext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14624 (eval $ac_compile) 2>conftest.er1
14626 grep -v '^ *+' conftest.er1
>conftest.err
14628 cat conftest.err
>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); } &&
14631 { ac_try
='test -z "$ac_c_werror_flag"
14632 || 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"
14697 || test ! -s conftest.err'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; } &&
14703 { ac_try
='test -s conftest.$ac_objext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.
$ac_ext >&5
14714 ac_lo
=`expr '(' $ac_mid ')' + 1`
14716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14719 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14720 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14721 See \`config.log' for more details." >&5
14722 echo "$as_me: error: cannot compute sizeof (char), 77
14723 See \`config.log' for more details." >&2;}
14724 { (exit 1); exit 1; }; } ;;
14727 if test "$cross_compiling" = yes; then
14728 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14729 See \`config.log' for more details." >&5
14730 echo "$as_me: error: cannot run test program while cross compiling
14731 See \`config.log' for more details." >&2;}
14732 { (exit 1); exit 1; }; }
14734 cat >conftest.
$ac_ext <<_ACEOF
14737 cat confdefs.h
>>conftest.
$ac_ext
14738 cat >>conftest.
$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14740 $ac_includes_default
14741 long longval () { return (long) (sizeof (char)); }
14742 unsigned long ulongval () { return (long) (sizeof (char)); }
14744 #include <stdlib.h>
14749 FILE *f = fopen ("conftest.val", "w");
14752 if (((long) (sizeof (char))) < 0)
14754 long i = longval ();
14755 if (i != ((long) (sizeof (char))))
14757 fprintf (f, "%ld\n", i);
14761 unsigned long i = ulongval ();
14762 if (i != ((long) (sizeof (char))))
14764 fprintf (f, "%lu\n", i);
14766 exit (ferror (f) || fclose (f) != 0);
14772 rm -f conftest
$ac_exeext
14773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14774 (eval $ac_link) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; }; then
14783 ac_cv_sizeof_char
=`cat conftest.val`
14785 echo "$as_me: program exited with status $ac_status" >&5
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.
$ac_ext >&5
14789 ( exit $ac_status )
14790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14791 See \`config.log' for more details." >&5
14792 echo "$as_me: error: cannot compute sizeof (char), 77
14793 See \`config.log' for more details." >&2;}
14794 { (exit 1); exit 1; }; }
14796 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14801 ac_cv_sizeof_char
=0
14804 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14805 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14806 cat >>confdefs.h
<<_ACEOF
14807 #define SIZEOF_CHAR $ac_cv_sizeof_char
14811 echo "$as_me:$LINENO: checking for short" >&5
14812 echo $ECHO_N "checking for short... $ECHO_C" >&6
14813 if test "${ac_cv_type_short+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 $ac_includes_default
14828 if (sizeof (short))
14834 rm -f conftest.
$ac_objext
14835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14836 (eval $ac_compile) 2>conftest.er1
14838 grep -v '^ *+' conftest.er1
>conftest.err
14840 cat conftest.err
>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } &&
14843 { ac_try
='test -z "$ac_c_werror_flag"
14844 || test ! -s conftest.err'
14845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14846 (eval $ac_try) 2>&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); }; } &&
14850 { ac_try
='test -s conftest.$ac_objext'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; }; then
14856 ac_cv_type_short
=yes
14858 echo "$as_me: failed program was:" >&5
14859 sed 's/^/| /' conftest.
$ac_ext >&5
14861 ac_cv_type_short
=no
14863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14865 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14866 echo "${ECHO_T}$ac_cv_type_short" >&6
14868 echo "$as_me:$LINENO: checking size of short" >&5
14869 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14870 if test "${ac_cv_sizeof_short+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 if test "$ac_cv_type_short" = yes; then
14874 # The cast to unsigned long works around a bug in the HP C Compiler
14875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14877 # This bug is HP SR number 8606223364.
14878 if test "$cross_compiling" = yes; then
14879 # Depending upon the size, compute the lo and hi bounds.
14880 cat >conftest.
$ac_ext <<_ACEOF
14883 cat confdefs.h
>>conftest.
$ac_ext
14884 cat >>conftest.
$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 $ac_includes_default
14890 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14897 rm -f conftest.
$ac_objext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14899 (eval $ac_compile) 2>conftest.er1
14901 grep -v '^ *+' conftest.er1
>conftest.err
14903 cat conftest.err
>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } &&
14906 { ac_try
='test -z "$ac_c_werror_flag"
14907 || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try
='test -s conftest.$ac_objext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14921 cat >conftest.
$ac_ext <<_ACEOF
14924 cat confdefs.h
>>conftest.
$ac_ext
14925 cat >>conftest.
$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 $ac_includes_default
14931 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14938 rm -f conftest.
$ac_objext
14939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14940 (eval $ac_compile) 2>conftest.er1
14942 grep -v '^ *+' conftest.er1
>conftest.err
14944 cat conftest.err
>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); } &&
14947 { ac_try
='test -z "$ac_c_werror_flag"
14948 || test ! -s conftest.err'
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); }; } &&
14954 { ac_try
='test -s conftest.$ac_objext'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; }; then
14960 ac_hi
=$ac_mid; break
14962 echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.
$ac_ext >&5
14965 ac_lo
=`expr $ac_mid + 1`
14966 if test $ac_lo -le $ac_mid; then
14970 ac_mid
=`expr 2 '*' $ac_mid + 1`
14972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.
$ac_ext >&5
14978 cat >conftest.
$ac_ext <<_ACEOF
14981 cat confdefs.h
>>conftest.
$ac_ext
14982 cat >>conftest.
$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 $ac_includes_default
14988 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14995 rm -f conftest.
$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>conftest.er1
14999 grep -v '^ *+' conftest.er1
>conftest.err
15001 cat conftest.err
>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } &&
15004 { ac_try
='test -z "$ac_c_werror_flag"
15005 || test ! -s conftest.err'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; } &&
15011 { ac_try
='test -s conftest.$ac_objext'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; }; then
15019 cat >conftest.
$ac_ext <<_ACEOF
15022 cat confdefs.h
>>conftest.
$ac_ext
15023 cat >>conftest.
$ac_ext <<_ACEOF
15024 /* end confdefs.h. */
15025 $ac_includes_default
15029 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15036 rm -f conftest.
$ac_objext
15037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15038 (eval $ac_compile) 2>conftest.er1
15040 grep -v '^ *+' conftest.er1
>conftest.err
15042 cat conftest.err
>&5
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); } &&
15045 { ac_try
='test -z "$ac_c_werror_flag"
15046 || test ! -s conftest.err'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; } &&
15052 { ac_try
='test -s conftest.$ac_objext'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; }; then
15058 ac_lo
=$ac_mid; break
15060 echo "$as_me: failed program was:" >&5
15061 sed 's/^/| /' conftest.
$ac_ext >&5
15063 ac_hi
=`expr '(' $ac_mid ')' - 1`
15064 if test $ac_mid -le $ac_hi; then
15068 ac_mid
=`expr 2 '*' $ac_mid`
15070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15081 # Binary search between lo and hi bounds.
15082 while test "x$ac_lo" != "x$ac_hi"; do
15083 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15084 cat >conftest.
$ac_ext <<_ACEOF
15087 cat confdefs.h
>>conftest.
$ac_ext
15088 cat >>conftest.
$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15090 $ac_includes_default
15094 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15101 rm -f conftest.
$ac_objext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15103 (eval $ac_compile) 2>conftest.er1
15105 grep -v '^ *+' conftest.er1
>conftest.err
15107 cat conftest.err
>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } &&
15110 { ac_try
='test -z "$ac_c_werror_flag"
15111 || test ! -s conftest.err'
15112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15113 (eval $ac_try) 2>&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); }; } &&
15117 { ac_try
='test -s conftest.$ac_objext'
15118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119 (eval $ac_try) 2>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; }; then
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.
$ac_ext >&5
15128 ac_lo
=`expr '(' $ac_mid ')' + 1`
15130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15133 ?
*) ac_cv_sizeof_short
=$ac_lo;;
15134 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15135 See \`config.log' for more details." >&5
15136 echo "$as_me: error: cannot compute sizeof (short), 77
15137 See \`config.log' for more details." >&2;}
15138 { (exit 1); exit 1; }; } ;;
15141 if test "$cross_compiling" = yes; then
15142 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15143 See \`config.log' for more details." >&5
15144 echo "$as_me: error: cannot run test program while cross compiling
15145 See \`config.log' for more details." >&2;}
15146 { (exit 1); exit 1; }; }
15148 cat >conftest.
$ac_ext <<_ACEOF
15151 cat confdefs.h
>>conftest.
$ac_ext
15152 cat >>conftest.
$ac_ext <<_ACEOF
15153 /* end confdefs.h. */
15154 $ac_includes_default
15155 long longval () { return (long) (sizeof (short)); }
15156 unsigned long ulongval () { return (long) (sizeof (short)); }
15158 #include <stdlib.h>
15163 FILE *f = fopen ("conftest.val", "w");
15166 if (((long) (sizeof (short))) < 0)
15168 long i = longval ();
15169 if (i != ((long) (sizeof (short))))
15171 fprintf (f, "%ld\n", i);
15175 unsigned long i = ulongval ();
15176 if (i != ((long) (sizeof (short))))
15178 fprintf (f, "%lu\n", i);
15180 exit (ferror (f) || fclose (f) != 0);
15186 rm -f conftest
$ac_exeext
15187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15188 (eval $ac_link) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; }; then
15197 ac_cv_sizeof_short
=`cat conftest.val`
15199 echo "$as_me: program exited with status $ac_status" >&5
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.
$ac_ext >&5
15203 ( exit $ac_status )
15204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15205 See \`config.log' for more details." >&5
15206 echo "$as_me: error: cannot compute sizeof (short), 77
15207 See \`config.log' for more details." >&2;}
15208 { (exit 1); exit 1; }; }
15210 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15215 ac_cv_sizeof_short
=0
15218 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15219 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15220 cat >>confdefs.h
<<_ACEOF
15221 #define SIZEOF_SHORT $ac_cv_sizeof_short
15225 echo "$as_me:$LINENO: checking for void *" >&5
15226 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15227 if test "${ac_cv_type_void_p+set}" = set; then
15228 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 cat >conftest.
$ac_ext <<_ACEOF
15233 cat confdefs.h
>>conftest.
$ac_ext
15234 cat >>conftest.
$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 $ac_includes_default
15242 if (sizeof (void *))
15248 rm -f conftest.
$ac_objext
15249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15250 (eval $ac_compile) 2>conftest.er1
15252 grep -v '^ *+' conftest.er1
>conftest.err
15254 cat conftest.err
>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); } &&
15257 { ac_try
='test -z "$ac_c_werror_flag"
15258 || test ! -s conftest.err'
15259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15260 (eval $ac_try) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); }; } &&
15264 { ac_try
='test -s conftest.$ac_objext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 ac_cv_type_void_p
=yes
15272 echo "$as_me: failed program was:" >&5
15273 sed 's/^/| /' conftest.
$ac_ext >&5
15275 ac_cv_type_void_p
=no
15277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15279 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15280 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15282 echo "$as_me:$LINENO: checking size of void *" >&5
15283 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15284 if test "${ac_cv_sizeof_void_p+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 if test "$ac_cv_type_void_p" = yes; then
15288 # The cast to unsigned long works around a bug in the HP C Compiler
15289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15291 # This bug is HP SR number 8606223364.
15292 if test "$cross_compiling" = yes; then
15293 # Depending upon the size, compute the lo and hi bounds.
15294 cat >conftest.
$ac_ext <<_ACEOF
15297 cat confdefs.h
>>conftest.
$ac_ext
15298 cat >>conftest.
$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15300 $ac_includes_default
15304 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15311 rm -f conftest.
$ac_objext
15312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15313 (eval $ac_compile) 2>conftest.er1
15315 grep -v '^ *+' conftest.er1
>conftest.err
15317 cat conftest.err
>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try
='test -z "$ac_c_werror_flag"
15321 || test ! -s conftest.err'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; } &&
15327 { ac_try
='test -s conftest.$ac_objext'
15328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329 (eval $ac_try) 2>&5
15331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332 (exit $ac_status); }; }; then
15335 cat >conftest.
$ac_ext <<_ACEOF
15338 cat confdefs.h
>>conftest.
$ac_ext
15339 cat >>conftest.
$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341 $ac_includes_default
15345 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15352 rm -f conftest.
$ac_objext
15353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15354 (eval $ac_compile) 2>conftest.er1
15356 grep -v '^ *+' conftest.er1
>conftest.err
15358 cat conftest.err
>&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } &&
15361 { ac_try
='test -z "$ac_c_werror_flag"
15362 || test ! -s conftest.err'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; } &&
15368 { ac_try
='test -s conftest.$ac_objext'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; }; then
15374 ac_hi
=$ac_mid; break
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.
$ac_ext >&5
15379 ac_lo
=`expr $ac_mid + 1`
15380 if test $ac_lo -le $ac_mid; then
15384 ac_mid
=`expr 2 '*' $ac_mid + 1`
15386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15392 cat >conftest.
$ac_ext <<_ACEOF
15395 cat confdefs.h
>>conftest.
$ac_ext
15396 cat >>conftest.
$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 $ac_includes_default
15402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15409 rm -f conftest.
$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15413 grep -v '^ *+' conftest.er1
>conftest.err
15415 cat conftest.err
>&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try
='test -z "$ac_c_werror_flag"
15419 || test ! -s conftest.err'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try
='test -s conftest.$ac_objext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15433 cat >conftest.
$ac_ext <<_ACEOF
15436 cat confdefs.h
>>conftest.
$ac_ext
15437 cat >>conftest.
$ac_ext <<_ACEOF
15438 /* end confdefs.h. */
15439 $ac_includes_default
15443 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15450 rm -f conftest.
$ac_objext
15451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15452 (eval $ac_compile) 2>conftest.er1
15454 grep -v '^ *+' conftest.er1
>conftest.err
15456 cat conftest.err
>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } &&
15459 { ac_try
='test -z "$ac_c_werror_flag"
15460 || test ! -s conftest.err'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; } &&
15466 { ac_try
='test -s conftest.$ac_objext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_lo
=$ac_mid; break
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15477 ac_hi
=`expr '(' $ac_mid ')' - 1`
15478 if test $ac_mid -le $ac_hi; then
15482 ac_mid
=`expr 2 '*' $ac_mid`
15484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15487 echo "$as_me: failed program was:" >&5
15488 sed 's/^/| /' conftest.
$ac_ext >&5
15492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15495 # Binary search between lo and hi bounds.
15496 while test "x$ac_lo" != "x$ac_hi"; do
15497 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504 $ac_includes_default
15508 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15515 rm -f conftest.
$ac_objext
15516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15517 (eval $ac_compile) 2>conftest.er1
15519 grep -v '^ *+' conftest.er1
>conftest.err
15521 cat conftest.err
>&5
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } &&
15524 { ac_try
='test -z "$ac_c_werror_flag"
15525 || test ! -s conftest.err'
15526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527 (eval $ac_try) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); }; } &&
15531 { ac_try
='test -s conftest.$ac_objext'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; }; then
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.
$ac_ext >&5
15542 ac_lo
=`expr '(' $ac_mid ')' + 1`
15544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15547 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
15548 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15549 See \`config.log' for more details." >&5
15550 echo "$as_me: error: cannot compute sizeof (void *), 77
15551 See \`config.log' for more details." >&2;}
15552 { (exit 1); exit 1; }; } ;;
15555 if test "$cross_compiling" = yes; then
15556 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15557 See \`config.log' for more details." >&5
15558 echo "$as_me: error: cannot run test program while cross compiling
15559 See \`config.log' for more details." >&2;}
15560 { (exit 1); exit 1; }; }
15562 cat >conftest.
$ac_ext <<_ACEOF
15565 cat confdefs.h
>>conftest.
$ac_ext
15566 cat >>conftest.
$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15569 long longval () { return (long) (sizeof (void *)); }
15570 unsigned long ulongval () { return (long) (sizeof (void *)); }
15572 #include <stdlib.h>
15577 FILE *f = fopen ("conftest.val", "w");
15580 if (((long) (sizeof (void *))) < 0)
15582 long i = longval ();
15583 if (i != ((long) (sizeof (void *))))
15585 fprintf (f, "%ld\n", i);
15589 unsigned long i = ulongval ();
15590 if (i != ((long) (sizeof (void *))))
15592 fprintf (f, "%lu\n", i);
15594 exit (ferror (f) || fclose (f) != 0);
15600 rm -f conftest
$ac_exeext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15602 (eval $ac_link) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607 (eval $ac_try) 2>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; }; then
15611 ac_cv_sizeof_void_p
=`cat conftest.val`
15613 echo "$as_me: program exited with status $ac_status" >&5
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.
$ac_ext >&5
15617 ( exit $ac_status )
15618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15619 See \`config.log' for more details." >&5
15620 echo "$as_me: error: cannot compute sizeof (void *), 77
15621 See \`config.log' for more details." >&2;}
15622 { (exit 1); exit 1; }; }
15624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15629 ac_cv_sizeof_void_p
=0
15632 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15633 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15634 cat >>confdefs.h
<<_ACEOF
15635 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15639 echo "$as_me:$LINENO: checking for int" >&5
15640 echo $ECHO_N "checking for int... $ECHO_C" >&6
15641 if test "${ac_cv_type_int+set}" = set; then
15642 echo $ECHO_N "(cached) $ECHO_C" >&6
15644 cat >conftest.
$ac_ext <<_ACEOF
15647 cat confdefs.h
>>conftest.
$ac_ext
15648 cat >>conftest.
$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650 $ac_includes_default
15662 rm -f conftest.
$ac_objext
15663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15664 (eval $ac_compile) 2>conftest.er1
15666 grep -v '^ *+' conftest.er1
>conftest.err
15668 cat conftest.err
>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } &&
15671 { ac_try
='test -z "$ac_c_werror_flag"
15672 || test ! -s conftest.err'
15673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15674 (eval $ac_try) 2>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); }; } &&
15678 { ac_try
='test -s conftest.$ac_objext'
15679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15680 (eval $ac_try) 2>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); }; }; then
15686 echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.
$ac_ext >&5
15691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15693 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15694 echo "${ECHO_T}$ac_cv_type_int" >&6
15696 echo "$as_me:$LINENO: checking size of int" >&5
15697 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15698 if test "${ac_cv_sizeof_int+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 if test "$ac_cv_type_int" = yes; then
15702 # The cast to unsigned long works around a bug in the HP C Compiler
15703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15705 # This bug is HP SR number 8606223364.
15706 if test "$cross_compiling" = yes; then
15707 # Depending upon the size, compute the lo and hi bounds.
15708 cat >conftest.
$ac_ext <<_ACEOF
15711 cat confdefs.h
>>conftest.
$ac_ext
15712 cat >>conftest.
$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15714 $ac_includes_default
15718 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15725 rm -f conftest.
$ac_objext
15726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727 (eval $ac_compile) 2>conftest.er1
15729 grep -v '^ *+' conftest.er1
>conftest.err
15731 cat conftest.err
>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } &&
15734 { ac_try
='test -z "$ac_c_werror_flag"
15735 || test ! -s conftest.err'
15736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15737 (eval $ac_try) 2>&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); }; } &&
15741 { ac_try
='test -s conftest.$ac_objext'
15742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15743 (eval $ac_try) 2>&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); }; }; then
15749 cat >conftest.
$ac_ext <<_ACEOF
15752 cat confdefs.h
>>conftest.
$ac_ext
15753 cat >>conftest.
$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15759 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15766 rm -f conftest.
$ac_objext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15768 (eval $ac_compile) 2>conftest.er1
15770 grep -v '^ *+' conftest.er1
>conftest.err
15772 cat conftest.err
>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } &&
15775 { ac_try
='test -z "$ac_c_werror_flag"
15776 || test ! -s conftest.err'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; } &&
15782 { ac_try
='test -s conftest.$ac_objext'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; }; then
15788 ac_hi
=$ac_mid; break
15790 echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.
$ac_ext >&5
15793 ac_lo
=`expr $ac_mid + 1`
15794 if test $ac_lo -le $ac_mid; then
15798 ac_mid
=`expr 2 '*' $ac_mid + 1`
15800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.
$ac_ext >&5
15806 cat >conftest.
$ac_ext <<_ACEOF
15809 cat confdefs.h
>>conftest.
$ac_ext
15810 cat >>conftest.
$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812 $ac_includes_default
15816 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15823 rm -f conftest.
$ac_objext
15824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15825 (eval $ac_compile) 2>conftest.er1
15827 grep -v '^ *+' conftest.er1
>conftest.err
15829 cat conftest.err
>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } &&
15832 { ac_try
='test -z "$ac_c_werror_flag"
15833 || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try
='test -s conftest.$ac_objext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15847 cat >conftest.
$ac_ext <<_ACEOF
15850 cat confdefs.h
>>conftest.
$ac_ext
15851 cat >>conftest.
$ac_ext <<_ACEOF
15852 /* end confdefs.h. */
15853 $ac_includes_default
15857 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15864 rm -f conftest.
$ac_objext
15865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15866 (eval $ac_compile) 2>conftest.er1
15868 grep -v '^ *+' conftest.er1
>conftest.err
15870 cat conftest.err
>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } &&
15873 { ac_try
='test -z "$ac_c_werror_flag"
15874 || test ! -s conftest.err'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; } &&
15880 { ac_try
='test -s conftest.$ac_objext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 ac_lo
=$ac_mid; break
15888 echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.
$ac_ext >&5
15891 ac_hi
=`expr '(' $ac_mid ')' - 1`
15892 if test $ac_mid -le $ac_hi; then
15896 ac_mid
=`expr 2 '*' $ac_mid`
15898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15901 echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.
$ac_ext >&5
15906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15909 # Binary search between lo and hi bounds.
15910 while test "x$ac_lo" != "x$ac_hi"; do
15911 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15912 cat >conftest.
$ac_ext <<_ACEOF
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15922 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15929 rm -f conftest.
$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>conftest.er1
15933 grep -v '^ *+' conftest.er1
>conftest.err
15935 cat conftest.err
>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try
='test -z "$ac_c_werror_flag"
15939 || test ! -s conftest.err'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; } &&
15945 { ac_try
='test -s conftest.$ac_objext'
15946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 (eval $ac_try) 2>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; }; then
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.
$ac_ext >&5
15956 ac_lo
=`expr '(' $ac_mid ')' + 1`
15958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15961 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15962 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15963 See \`config.log' for more details." >&5
15964 echo "$as_me: error: cannot compute sizeof (int), 77
15965 See \`config.log' for more details." >&2;}
15966 { (exit 1); exit 1; }; } ;;
15969 if test "$cross_compiling" = yes; then
15970 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15971 See \`config.log' for more details." >&5
15972 echo "$as_me: error: cannot run test program while cross compiling
15973 See \`config.log' for more details." >&2;}
15974 { (exit 1); exit 1; }; }
15976 cat >conftest.
$ac_ext <<_ACEOF
15979 cat confdefs.h
>>conftest.
$ac_ext
15980 cat >>conftest.
$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982 $ac_includes_default
15983 long longval () { return (long) (sizeof (int)); }
15984 unsigned long ulongval () { return (long) (sizeof (int)); }
15986 #include <stdlib.h>
15991 FILE *f = fopen ("conftest.val", "w");
15994 if (((long) (sizeof (int))) < 0)
15996 long i = longval ();
15997 if (i != ((long) (sizeof (int))))
15999 fprintf (f, "%ld\n", i);
16003 unsigned long i = ulongval ();
16004 if (i != ((long) (sizeof (int))))
16006 fprintf (f, "%lu\n", i);
16008 exit (ferror (f) || fclose (f) != 0);
16014 rm -f conftest
$ac_exeext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16016 (eval $ac_link) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; }; then
16025 ac_cv_sizeof_int
=`cat conftest.val`
16027 echo "$as_me: program exited with status $ac_status" >&5
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16031 ( exit $ac_status )
16032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16033 See \`config.log' for more details." >&5
16034 echo "$as_me: error: cannot compute sizeof (int), 77
16035 See \`config.log' for more details." >&2;}
16036 { (exit 1); exit 1; }; }
16038 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16046 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16047 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16048 cat >>confdefs.h
<<_ACEOF
16049 #define SIZEOF_INT $ac_cv_sizeof_int
16053 echo "$as_me:$LINENO: checking for long" >&5
16054 echo $ECHO_N "checking for long... $ECHO_C" >&6
16055 if test "${ac_cv_type_long+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 cat >conftest.
$ac_ext <<_ACEOF
16061 cat confdefs.h
>>conftest.
$ac_ext
16062 cat >>conftest.
$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 $ac_includes_default
16076 rm -f conftest.
$ac_objext
16077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16078 (eval $ac_compile) 2>conftest.er1
16080 grep -v '^ *+' conftest.er1
>conftest.err
16082 cat conftest.err
>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try
='test -z "$ac_c_werror_flag"
16086 || test ! -s conftest.err'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; } &&
16092 { ac_try
='test -s conftest.$ac_objext'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; }; then
16098 ac_cv_type_long
=yes
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.
$ac_ext >&5
16105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16107 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16108 echo "${ECHO_T}$ac_cv_type_long" >&6
16110 echo "$as_me:$LINENO: checking size of long" >&5
16111 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16112 if test "${ac_cv_sizeof_long+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 if test "$ac_cv_type_long" = yes; then
16116 # The cast to unsigned long works around a bug in the HP C Compiler
16117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16119 # This bug is HP SR number 8606223364.
16120 if test "$cross_compiling" = yes; then
16121 # Depending upon the size, compute the lo and hi bounds.
16122 cat >conftest.
$ac_ext <<_ACEOF
16125 cat confdefs.h
>>conftest.
$ac_ext
16126 cat >>conftest.
$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 $ac_includes_default
16132 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16139 rm -f conftest.
$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16143 grep -v '^ *+' conftest.er1
>conftest.err
16145 cat conftest.err
>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try
='test -z "$ac_c_werror_flag"
16149 || test ! -s conftest.err'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try
='test -s conftest.$ac_objext'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16163 cat >conftest.
$ac_ext <<_ACEOF
16166 cat confdefs.h
>>conftest.
$ac_ext
16167 cat >>conftest.
$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 $ac_includes_default
16173 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16180 rm -f conftest.
$ac_objext
16181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16182 (eval $ac_compile) 2>conftest.er1
16184 grep -v '^ *+' conftest.er1
>conftest.err
16186 cat conftest.err
>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } &&
16189 { ac_try
='test -z "$ac_c_werror_flag"
16190 || test ! -s conftest.err'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; } &&
16196 { ac_try
='test -s conftest.$ac_objext'
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198 (eval $ac_try) 2>&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); }; }; then
16202 ac_hi
=$ac_mid; break
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.
$ac_ext >&5
16207 ac_lo
=`expr $ac_mid + 1`
16208 if test $ac_lo -le $ac_mid; then
16212 ac_mid
=`expr 2 '*' $ac_mid + 1`
16214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.
$ac_ext >&5
16220 cat >conftest.
$ac_ext <<_ACEOF
16223 cat confdefs.h
>>conftest.
$ac_ext
16224 cat >>conftest.
$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 $ac_includes_default
16230 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16237 rm -f conftest.
$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16241 grep -v '^ *+' conftest.er1
>conftest.err
16243 cat conftest.err
>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try
='test -z "$ac_c_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try
='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16261 cat >conftest.
$ac_ext <<_ACEOF
16264 cat confdefs.h
>>conftest.
$ac_ext
16265 cat >>conftest.
$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 $ac_includes_default
16271 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16278 rm -f conftest.
$ac_objext
16279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16280 (eval $ac_compile) 2>conftest.er1
16282 grep -v '^ *+' conftest.er1
>conftest.err
16284 cat conftest.err
>&5
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); } &&
16287 { ac_try
='test -z "$ac_c_werror_flag"
16288 || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try
='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 ac_lo
=$ac_mid; break
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 ac_hi
=`expr '(' $ac_mid ')' - 1`
16306 if test $ac_mid -le $ac_hi; then
16310 ac_mid
=`expr 2 '*' $ac_mid`
16312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.
$ac_ext >&5
16320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16323 # Binary search between lo and hi bounds.
16324 while test "x$ac_lo" != "x$ac_hi"; do
16325 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16326 cat >conftest.
$ac_ext <<_ACEOF
16329 cat confdefs.h
>>conftest.
$ac_ext
16330 cat >>conftest.
$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16336 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16343 rm -f conftest.
$ac_objext
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345 (eval $ac_compile) 2>conftest.er1
16347 grep -v '^ *+' conftest.er1
>conftest.err
16349 cat conftest.err
>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } &&
16352 { ac_try
='test -z "$ac_c_werror_flag"
16353 || test ! -s conftest.err'
16354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355 (eval $ac_try) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }; } &&
16359 { ac_try
='test -s conftest.$ac_objext'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; }; then
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.
$ac_ext >&5
16370 ac_lo
=`expr '(' $ac_mid ')' + 1`
16372 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16375 ?
*) ac_cv_sizeof_long
=$ac_lo;;
16376 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16377 See \`config.log' for more details." >&5
16378 echo "$as_me: error: cannot compute sizeof (long), 77
16379 See \`config.log' for more details." >&2;}
16380 { (exit 1); exit 1; }; } ;;
16383 if test "$cross_compiling" = yes; then
16384 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16385 See \`config.log' for more details." >&5
16386 echo "$as_me: error: cannot run test program while cross compiling
16387 See \`config.log' for more details." >&2;}
16388 { (exit 1); exit 1; }; }
16390 cat >conftest.
$ac_ext <<_ACEOF
16393 cat confdefs.h
>>conftest.
$ac_ext
16394 cat >>conftest.
$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 $ac_includes_default
16397 long longval () { return (long) (sizeof (long)); }
16398 unsigned long ulongval () { return (long) (sizeof (long)); }
16400 #include <stdlib.h>
16405 FILE *f = fopen ("conftest.val", "w");
16408 if (((long) (sizeof (long))) < 0)
16410 long i = longval ();
16411 if (i != ((long) (sizeof (long))))
16413 fprintf (f, "%ld\n", i);
16417 unsigned long i = ulongval ();
16418 if (i != ((long) (sizeof (long))))
16420 fprintf (f, "%lu\n", i);
16422 exit (ferror (f) || fclose (f) != 0);
16428 rm -f conftest
$ac_exeext
16429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16430 (eval $ac_link) 2>&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16435 (eval $ac_try) 2>&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); }; }; then
16439 ac_cv_sizeof_long
=`cat conftest.val`
16441 echo "$as_me: program exited with status $ac_status" >&5
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.
$ac_ext >&5
16445 ( exit $ac_status )
16446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16447 See \`config.log' for more details." >&5
16448 echo "$as_me: error: cannot compute sizeof (long), 77
16449 See \`config.log' for more details." >&2;}
16450 { (exit 1); exit 1; }; }
16452 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16457 ac_cv_sizeof_long
=0
16460 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16461 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16462 cat >>confdefs.h
<<_ACEOF
16463 #define SIZEOF_LONG $ac_cv_sizeof_long
16467 echo "$as_me:$LINENO: checking for size_t" >&5
16468 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16469 if test "${ac_cv_type_size_t+set}" = set; then
16470 echo $ECHO_N "(cached) $ECHO_C" >&6
16472 cat >conftest.
$ac_ext <<_ACEOF
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16484 if (sizeof (size_t))
16490 rm -f conftest.
$ac_objext
16491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16492 (eval $ac_compile) 2>conftest.er1
16494 grep -v '^ *+' conftest.er1
>conftest.err
16496 cat conftest.err
>&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } &&
16499 { ac_try
='test -z "$ac_c_werror_flag"
16500 || test ! -s conftest.err'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; } &&
16506 { ac_try
='test -s conftest.$ac_objext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16512 ac_cv_type_size_t
=yes
16514 echo "$as_me: failed program was:" >&5
16515 sed 's/^/| /' conftest.
$ac_ext >&5
16517 ac_cv_type_size_t
=no
16519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16521 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16522 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16524 echo "$as_me:$LINENO: checking size of size_t" >&5
16525 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16526 if test "${ac_cv_sizeof_size_t+set}" = set; then
16527 echo $ECHO_N "(cached) $ECHO_C" >&6
16529 if test "$ac_cv_type_size_t" = yes; then
16530 # The cast to unsigned long works around a bug in the HP C Compiler
16531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16533 # This bug is HP SR number 8606223364.
16534 if test "$cross_compiling" = yes; then
16535 # Depending upon the size, compute the lo and hi bounds.
16536 cat >conftest.
$ac_ext <<_ACEOF
16539 cat confdefs.h
>>conftest.
$ac_ext
16540 cat >>conftest.
$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542 $ac_includes_default
16546 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16553 rm -f conftest.
$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16557 grep -v '^ *+' conftest.er1
>conftest.err
16559 cat conftest.err
>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try
='test -z "$ac_c_werror_flag"
16563 || test ! -s conftest.err'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; } &&
16569 { ac_try
='test -s conftest.$ac_objext'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16577 cat >conftest.
$ac_ext <<_ACEOF
16580 cat confdefs.h
>>conftest.
$ac_ext
16581 cat >>conftest.
$ac_ext <<_ACEOF
16582 /* end confdefs.h. */
16583 $ac_includes_default
16587 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16594 rm -f conftest.
$ac_objext
16595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16596 (eval $ac_compile) 2>conftest.er1
16598 grep -v '^ *+' conftest.er1
>conftest.err
16600 cat conftest.err
>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); } &&
16603 { ac_try
='test -z "$ac_c_werror_flag"
16604 || test ! -s conftest.err'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try
='test -s conftest.$ac_objext'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16616 ac_hi
=$ac_mid; break
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16621 ac_lo
=`expr $ac_mid + 1`
16622 if test $ac_lo -le $ac_mid; then
16626 ac_mid
=`expr 2 '*' $ac_mid + 1`
16628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.
$ac_ext >&5
16634 cat >conftest.
$ac_ext <<_ACEOF
16637 cat confdefs.h
>>conftest.
$ac_ext
16638 cat >>conftest.
$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16640 $ac_includes_default
16644 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16651 rm -f conftest.
$ac_objext
16652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16653 (eval $ac_compile) 2>conftest.er1
16655 grep -v '^ *+' conftest.er1
>conftest.err
16657 cat conftest.err
>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try
='test -z "$ac_c_werror_flag"
16661 || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try
='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16675 cat >conftest.
$ac_ext <<_ACEOF
16678 cat confdefs.h
>>conftest.
$ac_ext
16679 cat >>conftest.
$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16685 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16692 rm -f conftest.
$ac_objext
16693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16694 (eval $ac_compile) 2>conftest.er1
16696 grep -v '^ *+' conftest.er1
>conftest.err
16698 cat conftest.err
>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } &&
16701 { ac_try
='test -z "$ac_c_werror_flag"
16702 || test ! -s conftest.err'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; } &&
16708 { ac_try
='test -s conftest.$ac_objext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 ac_lo
=$ac_mid; break
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.
$ac_ext >&5
16719 ac_hi
=`expr '(' $ac_mid ')' - 1`
16720 if test $ac_mid -le $ac_hi; then
16724 ac_mid
=`expr 2 '*' $ac_mid`
16726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.
$ac_ext >&5
16734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16737 # Binary search between lo and hi bounds.
16738 while test "x$ac_lo" != "x$ac_hi"; do
16739 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16740 cat >conftest.
$ac_ext <<_ACEOF
16743 cat confdefs.h
>>conftest.
$ac_ext
16744 cat >>conftest.
$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 $ac_includes_default
16750 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16757 rm -f conftest.
$ac_objext
16758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16759 (eval $ac_compile) 2>conftest.er1
16761 grep -v '^ *+' conftest.er1
>conftest.err
16763 cat conftest.err
>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); } &&
16766 { ac_try
='test -z "$ac_c_werror_flag"
16767 || test ! -s conftest.err'
16768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16769 (eval $ac_try) 2>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); }; } &&
16773 { ac_try
='test -s conftest.$ac_objext'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; }; then
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 ac_lo
=`expr '(' $ac_mid ')' + 1`
16786 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16789 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
16790 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16791 See \`config.log' for more details." >&5
16792 echo "$as_me: error: cannot compute sizeof (size_t), 77
16793 See \`config.log' for more details." >&2;}
16794 { (exit 1); exit 1; }; } ;;
16797 if test "$cross_compiling" = yes; then
16798 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16799 See \`config.log' for more details." >&5
16800 echo "$as_me: error: cannot run test program while cross compiling
16801 See \`config.log' for more details." >&2;}
16802 { (exit 1); exit 1; }; }
16804 cat >conftest.
$ac_ext <<_ACEOF
16807 cat confdefs.h
>>conftest.
$ac_ext
16808 cat >>conftest.
$ac_ext <<_ACEOF
16809 /* end confdefs.h. */
16810 $ac_includes_default
16811 long longval () { return (long) (sizeof (size_t)); }
16812 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16814 #include <stdlib.h>
16819 FILE *f = fopen ("conftest.val", "w");
16822 if (((long) (sizeof (size_t))) < 0)
16824 long i = longval ();
16825 if (i != ((long) (sizeof (size_t))))
16827 fprintf (f, "%ld\n", i);
16831 unsigned long i = ulongval ();
16832 if (i != ((long) (sizeof (size_t))))
16834 fprintf (f, "%lu\n", i);
16836 exit (ferror (f) || fclose (f) != 0);
16842 rm -f conftest
$ac_exeext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16844 (eval $ac_link) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_cv_sizeof_size_t
=`cat conftest.val`
16855 echo "$as_me: program exited with status $ac_status" >&5
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.
$ac_ext >&5
16859 ( exit $ac_status )
16860 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16861 See \`config.log' for more details." >&5
16862 echo "$as_me: error: cannot compute sizeof (size_t), 77
16863 See \`config.log' for more details." >&2;}
16864 { (exit 1); exit 1; }; }
16866 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16871 ac_cv_sizeof_size_t
=0
16874 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16875 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16876 cat >>confdefs.h
<<_ACEOF
16877 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16884 echo "$as_me:$LINENO: checking for long long" >&5
16885 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16886 if test "${ac_cv_type_long_long+set}" = set; then
16887 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 cat >conftest.
$ac_ext <<_ACEOF
16892 cat confdefs.h
>>conftest.
$ac_ext
16893 cat >>conftest.
$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16899 if ((long long *) 0)
16901 if (sizeof (long long))
16907 rm -f conftest.
$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>conftest.er1
16911 grep -v '^ *+' conftest.er1
>conftest.err
16913 cat conftest.err
>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try
='test -z "$ac_c_werror_flag"
16917 || test ! -s conftest.err'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; } &&
16923 { ac_try
='test -s conftest.$ac_objext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 ac_cv_type_long_long
=yes
16931 echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.
$ac_ext >&5
16934 ac_cv_type_long_long
=no
16936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16938 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16939 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16941 echo "$as_me:$LINENO: checking size of long long" >&5
16942 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16943 if test "${ac_cv_sizeof_long_long+set}" = set; then
16944 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 if test "$ac_cv_type_long_long" = yes; then
16947 # The cast to unsigned long works around a bug in the HP C Compiler
16948 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16949 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16950 # This bug is HP SR number 8606223364.
16951 if test "$cross_compiling" = yes; then
16952 # Depending upon the size, compute the lo and hi bounds.
16953 cat >conftest.
$ac_ext <<_ACEOF
16956 cat confdefs.h
>>conftest.
$ac_ext
16957 cat >>conftest.
$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 $ac_includes_default
16963 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16970 rm -f conftest.
$ac_objext
16971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16972 (eval $ac_compile) 2>conftest.er1
16974 grep -v '^ *+' conftest.er1
>conftest.err
16976 cat conftest.err
>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
16979 { ac_try
='test -z "$ac_c_werror_flag"
16980 || test ! -s conftest.err'
16981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982 (eval $ac_try) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); }; } &&
16986 { ac_try
='test -s conftest.$ac_objext'
16987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988 (eval $ac_try) 2>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); }; }; then
16994 cat >conftest.
$ac_ext <<_ACEOF
16997 cat confdefs.h
>>conftest.
$ac_ext
16998 cat >>conftest.
$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000 $ac_includes_default
17004 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17011 rm -f conftest.
$ac_objext
17012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17013 (eval $ac_compile) 2>conftest.er1
17015 grep -v '^ *+' conftest.er1
>conftest.err
17017 cat conftest.err
>&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); } &&
17020 { ac_try
='test -z "$ac_c_werror_flag"
17021 || test ! -s conftest.err'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; } &&
17027 { ac_try
='test -s conftest.$ac_objext'
17028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17029 (eval $ac_try) 2>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); }; }; then
17033 ac_hi
=$ac_mid; break
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.
$ac_ext >&5
17038 ac_lo
=`expr $ac_mid + 1`
17039 if test $ac_lo -le $ac_mid; then
17043 ac_mid
=`expr 2 '*' $ac_mid + 1`
17045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17048 echo "$as_me: failed program was:" >&5
17049 sed 's/^/| /' conftest.
$ac_ext >&5
17051 cat >conftest.
$ac_ext <<_ACEOF
17054 cat confdefs.h
>>conftest.
$ac_ext
17055 cat >>conftest.
$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 $ac_includes_default
17061 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17068 rm -f conftest.
$ac_objext
17069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17070 (eval $ac_compile) 2>conftest.er1
17072 grep -v '^ *+' conftest.er1
>conftest.err
17074 cat conftest.err
>&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } &&
17077 { ac_try
='test -z "$ac_c_werror_flag"
17078 || test ! -s conftest.err'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; } &&
17084 { ac_try
='test -s conftest.$ac_objext'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; }; then
17092 cat >conftest.
$ac_ext <<_ACEOF
17095 cat confdefs.h
>>conftest.
$ac_ext
17096 cat >>conftest.
$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 $ac_includes_default
17102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17109 rm -f conftest.
$ac_objext
17110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17111 (eval $ac_compile) 2>conftest.er1
17113 grep -v '^ *+' conftest.er1
>conftest.err
17115 cat conftest.err
>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); } &&
17118 { ac_try
='test -z "$ac_c_werror_flag"
17119 || test ! -s conftest.err'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; } &&
17125 { ac_try
='test -s conftest.$ac_objext'
17126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17127 (eval $ac_try) 2>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); }; }; then
17131 ac_lo
=$ac_mid; break
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.
$ac_ext >&5
17136 ac_hi
=`expr '(' $ac_mid ')' - 1`
17137 if test $ac_mid -le $ac_hi; then
17141 ac_mid
=`expr 2 '*' $ac_mid`
17143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.
$ac_ext >&5
17151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17154 # Binary search between lo and hi bounds.
17155 while test "x$ac_lo" != "x$ac_hi"; do
17156 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17157 cat >conftest.
$ac_ext <<_ACEOF
17160 cat confdefs.h
>>conftest.
$ac_ext
17161 cat >>conftest.
$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17174 rm -f conftest.
$ac_objext
17175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17176 (eval $ac_compile) 2>conftest.er1
17178 grep -v '^ *+' conftest.er1
>conftest.err
17180 cat conftest.err
>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } &&
17183 { ac_try
='test -z "$ac_c_werror_flag"
17184 || test ! -s conftest.err'
17185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17186 (eval $ac_try) 2>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); }; } &&
17190 { ac_try
='test -s conftest.$ac_objext'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; }; then
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.
$ac_ext >&5
17201 ac_lo
=`expr '(' $ac_mid ')' + 1`
17203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17206 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17207 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17208 See \`config.log' for more details." >&5
17209 echo "$as_me: error: cannot compute sizeof (long long), 77
17210 See \`config.log' for more details." >&2;}
17211 { (exit 1); exit 1; }; } ;;
17214 if test "$cross_compiling" = yes; then
17215 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17216 See \`config.log' for more details." >&5
17217 echo "$as_me: error: cannot run test program while cross compiling
17218 See \`config.log' for more details." >&2;}
17219 { (exit 1); exit 1; }; }
17221 cat >conftest.
$ac_ext <<_ACEOF
17224 cat confdefs.h
>>conftest.
$ac_ext
17225 cat >>conftest.
$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227 $ac_includes_default
17228 long longval () { return (long) (sizeof (long long)); }
17229 unsigned long ulongval () { return (long) (sizeof (long long)); }
17231 #include <stdlib.h>
17236 FILE *f = fopen ("conftest.val", "w");
17239 if (((long) (sizeof (long long))) < 0)
17241 long i = longval ();
17242 if (i != ((long) (sizeof (long long))))
17244 fprintf (f, "%ld\n", i);
17248 unsigned long i = ulongval ();
17249 if (i != ((long) (sizeof (long long))))
17251 fprintf (f, "%lu\n", i);
17253 exit (ferror (f) || fclose (f) != 0);
17259 rm -f conftest
$ac_exeext
17260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17261 (eval $ac_link) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17270 ac_cv_sizeof_long_long
=`cat conftest.val`
17272 echo "$as_me: program exited with status $ac_status" >&5
17273 echo "$as_me: failed program was:" >&5
17274 sed 's/^/| /' conftest.
$ac_ext >&5
17276 ( exit $ac_status )
17277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17278 See \`config.log' for more details." >&5
17279 echo "$as_me: error: cannot compute sizeof (long long), 77
17280 See \`config.log' for more details." >&2;}
17281 { (exit 1); exit 1; }; }
17283 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17288 ac_cv_sizeof_long_long
=0
17291 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17292 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17293 cat >>confdefs.h
<<_ACEOF
17294 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17300 echo "$as_me:$LINENO: checking for long long" >&5
17301 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17302 if test "${ac_cv_type_long_long+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 cat >conftest.
$ac_ext <<_ACEOF
17308 cat confdefs.h
>>conftest.
$ac_ext
17309 cat >>conftest.
$ac_ext <<_ACEOF
17310 /* end confdefs.h. */
17311 $ac_includes_default
17315 if ((long long *) 0)
17317 if (sizeof (long long))
17323 rm -f conftest.
$ac_objext
17324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17325 (eval $ac_compile) 2>conftest.er1
17327 grep -v '^ *+' conftest.er1
>conftest.err
17329 cat conftest.err
>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); } &&
17332 { ac_try
='test -z "$ac_c_werror_flag"
17333 || test ! -s conftest.err'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; } &&
17339 { ac_try
='test -s conftest.$ac_objext'
17340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17341 (eval $ac_try) 2>&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); }; }; then
17345 ac_cv_type_long_long
=yes
17347 echo "$as_me: failed program was:" >&5
17348 sed 's/^/| /' conftest.
$ac_ext >&5
17350 ac_cv_type_long_long
=no
17352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17354 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17355 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17357 echo "$as_me:$LINENO: checking size of long long" >&5
17358 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17359 if test "${ac_cv_sizeof_long_long+set}" = set; then
17360 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 if test "$ac_cv_type_long_long" = yes; then
17363 # The cast to unsigned long works around a bug in the HP C Compiler
17364 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17365 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17366 # This bug is HP SR number 8606223364.
17367 if test "$cross_compiling" = yes; then
17368 # Depending upon the size, compute the lo and hi bounds.
17369 cat >conftest.
$ac_ext <<_ACEOF
17372 cat confdefs.h
>>conftest.
$ac_ext
17373 cat >>conftest.
$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 $ac_includes_default
17379 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17386 rm -f conftest.
$ac_objext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>conftest.er1
17390 grep -v '^ *+' conftest.er1
>conftest.err
17392 cat conftest.err
>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try
='test -z "$ac_c_werror_flag"
17396 || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try
='test -s conftest.$ac_objext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17410 cat >conftest.
$ac_ext <<_ACEOF
17413 cat confdefs.h
>>conftest.
$ac_ext
17414 cat >>conftest.
$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 $ac_includes_default
17420 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17427 rm -f conftest.
$ac_objext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>conftest.er1
17431 grep -v '^ *+' conftest.er1
>conftest.err
17433 cat conftest.err
>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } &&
17436 { ac_try
='test -z "$ac_c_werror_flag"
17437 || test ! -s conftest.err'
17438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17439 (eval $ac_try) 2>&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); }; } &&
17443 { ac_try
='test -s conftest.$ac_objext'
17444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17445 (eval $ac_try) 2>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); }; }; then
17449 ac_hi
=$ac_mid; break
17451 echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.
$ac_ext >&5
17454 ac_lo
=`expr $ac_mid + 1`
17455 if test $ac_lo -le $ac_mid; then
17459 ac_mid
=`expr 2 '*' $ac_mid + 1`
17461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.
$ac_ext >&5
17467 cat >conftest.
$ac_ext <<_ACEOF
17470 cat confdefs.h
>>conftest.
$ac_ext
17471 cat >>conftest.
$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17473 $ac_includes_default
17477 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17484 rm -f conftest.
$ac_objext
17485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17486 (eval $ac_compile) 2>conftest.er1
17488 grep -v '^ *+' conftest.er1
>conftest.err
17490 cat conftest.err
>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } &&
17493 { ac_try
='test -z "$ac_c_werror_flag"
17494 || test ! -s conftest.err'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; } &&
17500 { ac_try
='test -s conftest.$ac_objext'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; }; then
17508 cat >conftest.
$ac_ext <<_ACEOF
17511 cat confdefs.h
>>conftest.
$ac_ext
17512 cat >>conftest.
$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17518 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17525 rm -f conftest.
$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17529 grep -v '^ *+' conftest.er1
>conftest.err
17531 cat conftest.err
>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try
='test -z "$ac_c_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try
='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 ac_lo
=$ac_mid; break
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.
$ac_ext >&5
17552 ac_hi
=`expr '(' $ac_mid ')' - 1`
17553 if test $ac_mid -le $ac_hi; then
17557 ac_mid
=`expr 2 '*' $ac_mid`
17559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17562 echo "$as_me: failed program was:" >&5
17563 sed 's/^/| /' conftest.
$ac_ext >&5
17567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17570 # Binary search between lo and hi bounds.
17571 while test "x$ac_lo" != "x$ac_hi"; do
17572 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17573 cat >conftest.
$ac_ext <<_ACEOF
17576 cat confdefs.h
>>conftest.
$ac_ext
17577 cat >>conftest.
$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 $ac_includes_default
17583 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17590 rm -f conftest.
$ac_objext
17591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17592 (eval $ac_compile) 2>conftest.er1
17594 grep -v '^ *+' conftest.er1
>conftest.err
17596 cat conftest.err
>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } &&
17599 { ac_try
='test -z "$ac_c_werror_flag"
17600 || test ! -s conftest.err'
17601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602 (eval $ac_try) 2>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); }; } &&
17606 { ac_try
='test -s conftest.$ac_objext'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; }; then
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.
$ac_ext >&5
17617 ac_lo
=`expr '(' $ac_mid ')' + 1`
17619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17622 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
17623 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17624 See \`config.log' for more details." >&5
17625 echo "$as_me: error: cannot compute sizeof (long long), 77
17626 See \`config.log' for more details." >&2;}
17627 { (exit 1); exit 1; }; } ;;
17630 if test "$cross_compiling" = yes; then
17631 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17632 See \`config.log' for more details." >&5
17633 echo "$as_me: error: cannot run test program while cross compiling
17634 See \`config.log' for more details." >&2;}
17635 { (exit 1); exit 1; }; }
17637 cat >conftest.
$ac_ext <<_ACEOF
17640 cat confdefs.h
>>conftest.
$ac_ext
17641 cat >>conftest.
$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 $ac_includes_default
17644 long longval () { return (long) (sizeof (long long)); }
17645 unsigned long ulongval () { return (long) (sizeof (long long)); }
17647 #include <stdlib.h>
17652 FILE *f = fopen ("conftest.val", "w");
17655 if (((long) (sizeof (long long))) < 0)
17657 long i = longval ();
17658 if (i != ((long) (sizeof (long long))))
17660 fprintf (f, "%ld\n", i);
17664 unsigned long i = ulongval ();
17665 if (i != ((long) (sizeof (long long))))
17667 fprintf (f, "%lu\n", i);
17669 exit (ferror (f) || fclose (f) != 0);
17675 rm -f conftest
$ac_exeext
17676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17677 (eval $ac_link) 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 (eval $ac_try) 2>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17686 ac_cv_sizeof_long_long
=`cat conftest.val`
17688 echo "$as_me: program exited with status $ac_status" >&5
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.
$ac_ext >&5
17692 ( exit $ac_status )
17693 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17694 See \`config.log' for more details." >&5
17695 echo "$as_me: error: cannot compute sizeof (long long), 77
17696 See \`config.log' for more details." >&2;}
17697 { (exit 1); exit 1; }; }
17699 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17704 ac_cv_sizeof_long_long
=0
17707 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17708 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17709 cat >>confdefs.h
<<_ACEOF
17710 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17714 if test "$ac_cv_sizeof_long_long" != "0"; then
17715 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
17719 echo "$as_me:$LINENO: checking for long long" >&5
17720 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17721 if test "${ac_cv_type_long_long+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 cat >conftest.
$ac_ext <<_ACEOF
17727 cat confdefs.h
>>conftest.
$ac_ext
17728 cat >>conftest.
$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 $ac_includes_default
17734 if ((long long *) 0)
17736 if (sizeof (long long))
17742 rm -f conftest.
$ac_objext
17743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17744 (eval $ac_compile) 2>conftest.er1
17746 grep -v '^ *+' conftest.er1
>conftest.err
17748 cat conftest.err
>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try
='test -z "$ac_c_werror_flag"
17752 || test ! -s conftest.err'
17753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754 (eval $ac_try) 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }; } &&
17758 { ac_try
='test -s conftest.$ac_objext'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; }; then
17764 ac_cv_type_long_long
=yes
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.
$ac_ext >&5
17769 ac_cv_type_long_long
=no
17771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17773 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17774 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17776 echo "$as_me:$LINENO: checking size of long long" >&5
17777 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17778 if test "${ac_cv_sizeof_long_long+set}" = set; then
17779 echo $ECHO_N "(cached) $ECHO_C" >&6
17781 if test "$ac_cv_type_long_long" = yes; then
17782 # The cast to unsigned long works around a bug in the HP C Compiler
17783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17784 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17785 # This bug is HP SR number 8606223364.
17786 if test "$cross_compiling" = yes; then
17787 # Depending upon the size, compute the lo and hi bounds.
17788 cat >conftest.
$ac_ext <<_ACEOF
17791 cat confdefs.h
>>conftest.
$ac_ext
17792 cat >>conftest.
$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17794 $ac_includes_default
17798 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17805 rm -f conftest.
$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17809 grep -v '^ *+' conftest.er1
>conftest.err
17811 cat conftest.err
>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try
='test -z "$ac_c_werror_flag"
17815 || test ! -s conftest.err'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; } &&
17821 { ac_try
='test -s conftest.$ac_objext'
17822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823 (eval $ac_try) 2>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); }; }; then
17829 cat >conftest.
$ac_ext <<_ACEOF
17832 cat confdefs.h
>>conftest.
$ac_ext
17833 cat >>conftest.
$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 $ac_includes_default
17839 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17846 rm -f conftest.
$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17850 grep -v '^ *+' conftest.er1
>conftest.err
17852 cat conftest.err
>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try
='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
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); }; } &&
17862 { ac_try
='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_hi
=$ac_mid; break
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.
$ac_ext >&5
17873 ac_lo
=`expr $ac_mid + 1`
17874 if test $ac_lo -le $ac_mid; then
17878 ac_mid
=`expr 2 '*' $ac_mid + 1`
17880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.
$ac_ext >&5
17886 cat >conftest.
$ac_ext <<_ACEOF
17889 cat confdefs.h
>>conftest.
$ac_ext
17890 cat >>conftest.
$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17896 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17903 rm -f conftest.
$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17907 grep -v '^ *+' conftest.er1
>conftest.err
17909 cat conftest.err
>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try
='test -z "$ac_c_werror_flag"
17913 || test ! -s conftest.err'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; } &&
17919 { ac_try
='test -s conftest.$ac_objext'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; }; then
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 $ac_includes_default
17937 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17944 rm -f conftest.
$ac_objext
17945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17946 (eval $ac_compile) 2>conftest.er1
17948 grep -v '^ *+' conftest.er1
>conftest.err
17950 cat conftest.err
>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); } &&
17953 { ac_try
='test -z "$ac_c_werror_flag"
17954 || test ! -s conftest.err'
17955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17956 (eval $ac_try) 2>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try
='test -s conftest.$ac_objext'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; }; then
17966 ac_lo
=$ac_mid; break
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.
$ac_ext >&5
17971 ac_hi
=`expr '(' $ac_mid ')' - 1`
17972 if test $ac_mid -le $ac_hi; then
17976 ac_mid
=`expr 2 '*' $ac_mid`
17978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.
$ac_ext >&5
17986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17989 # Binary search between lo and hi bounds.
17990 while test "x$ac_lo" != "x$ac_hi"; do
17991 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17992 cat >conftest.
$ac_ext <<_ACEOF
17995 cat confdefs.h
>>conftest.
$ac_ext
17996 cat >>conftest.
$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
18002 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18009 rm -f conftest.
$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>conftest.er1
18013 grep -v '^ *+' conftest.er1
>conftest.err
18015 cat conftest.err
>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try
='test -z "$ac_c_werror_flag"
18019 || test ! -s conftest.err'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; } &&
18025 { ac_try
='test -s conftest.$ac_objext'
18026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18027 (eval $ac_try) 2>&5
18029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18030 (exit $ac_status); }; }; then
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.
$ac_ext >&5
18036 ac_lo
=`expr '(' $ac_mid ')' + 1`
18038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18041 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18042 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18043 See \`config.log' for more details." >&5
18044 echo "$as_me: error: cannot compute sizeof (long long), 77
18045 See \`config.log' for more details." >&2;}
18046 { (exit 1); exit 1; }; } ;;
18049 if test "$cross_compiling" = yes; then
18050 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18051 See \`config.log' for more details." >&5
18052 echo "$as_me: error: cannot run test program while cross compiling
18053 See \`config.log' for more details." >&2;}
18054 { (exit 1); exit 1; }; }
18056 cat >conftest.
$ac_ext <<_ACEOF
18059 cat confdefs.h
>>conftest.
$ac_ext
18060 cat >>conftest.
$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062 $ac_includes_default
18063 long longval () { return (long) (sizeof (long long)); }
18064 unsigned long ulongval () { return (long) (sizeof (long long)); }
18066 #include <stdlib.h>
18071 FILE *f = fopen ("conftest.val", "w");
18074 if (((long) (sizeof (long long))) < 0)
18076 long i = longval ();
18077 if (i != ((long) (sizeof (long long))))
18079 fprintf (f, "%ld\n", i);
18083 unsigned long i = ulongval ();
18084 if (i != ((long) (sizeof (long long))))
18086 fprintf (f, "%lu\n", i);
18088 exit (ferror (f) || fclose (f) != 0);
18094 rm -f conftest
$ac_exeext
18095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18096 (eval $ac_link) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101 (eval $ac_try) 2>&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); }; }; then
18105 ac_cv_sizeof_long_long
=`cat conftest.val`
18107 echo "$as_me: program exited with status $ac_status" >&5
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.
$ac_ext >&5
18111 ( exit $ac_status )
18112 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18113 See \`config.log' for more details." >&5
18114 echo "$as_me: error: cannot compute sizeof (long long), 77
18115 See \`config.log' for more details." >&2;}
18116 { (exit 1); exit 1; }; }
18118 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18123 ac_cv_sizeof_long_long
=0
18126 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18127 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18128 cat >>confdefs.h
<<_ACEOF
18129 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18135 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18136 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18137 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18141 if test "$cross_compiling" = yes; then
18145 wx_cv_sizeof_wchar_t
=0
18148 wx_cv_sizeof_wchar_t
=4
18154 cat >conftest.
$ac_ext <<_ACEOF
18157 cat confdefs.h
>>conftest.
$ac_ext
18158 cat >>conftest.
$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18161 /* DJGPP only has fake wchar_t: */
18163 # error "fake wchar_t"
18165 #ifdef HAVE_WCHAR_H
18167 # include <stddef.h>
18169 # include <wchar.h>
18171 #ifdef HAVE_STDLIB_H
18172 # include <stdlib.h>
18177 FILE *f=fopen("conftestval", "w");
18179 fprintf(f, "%i", sizeof(wchar_t));
18184 rm -f conftest
$ac_exeext
18185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18186 (eval $ac_link) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18195 wx_cv_sizeof_wchar_t
=`cat conftestval`
18197 echo "$as_me: program exited with status $ac_status" >&5
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.
$ac_ext >&5
18201 ( exit $ac_status )
18202 wx_cv_sizeof_wchar_t
=0
18204 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18208 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18209 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18211 cat >>confdefs.h
<<_ACEOF
18212 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18216 echo "$as_me:$LINENO: checking for va_copy" >&5
18217 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18218 if test "${wx_cv_func_va_copy+set}" = set; then
18219 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 cat >conftest.
$ac_ext <<_ACEOF
18224 #include <stdarg.h>
18225 void foo(char *f, ...)
18234 rm -f conftest.
$ac_objext conftest
$ac_exeext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18236 (eval $ac_link) 2>conftest.er1
18238 grep -v '^ *+' conftest.er1
>conftest.err
18240 cat conftest.err
>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try
='test -z "$ac_c_werror_flag"
18244 || test ! -s conftest.err'
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); }; } &&
18250 { ac_try
='test -s conftest$ac_exeext'
18251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18252 (eval $ac_try) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; }; then
18256 wx_cv_func_va_copy
=yes
18258 echo "$as_me: failed program was:" >&5
18259 sed 's/^/| /' conftest.
$ac_ext >&5
18261 wx_cv_func_va_copy
=no
18264 rm -f conftest.err conftest.
$ac_objext \
18265 conftest
$ac_exeext conftest.
$ac_ext
18269 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18270 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18272 if test $wx_cv_func_va_copy = "yes"; then
18273 cat >>confdefs.h
<<\_ACEOF
18274 #define HAVE_VA_COPY 1
18278 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18279 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18280 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18284 if test "$cross_compiling" = yes; then
18285 wx_cv_type_va_list_lvalue
=yes
18288 cat >conftest.
$ac_ext <<_ACEOF
18290 #include <stdarg.h>
18291 int foo(char *f, ...)
18296 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18304 return foo("hi", 17);
18307 rm -f conftest
$ac_exeext
18308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18309 (eval $ac_link) 2>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18314 (eval $ac_try) 2>&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); }; }; then
18318 wx_cv_type_va_list_lvalue
=yes
18320 echo "$as_me: program exited with status $ac_status" >&5
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.
$ac_ext >&5
18324 ( exit $ac_status )
18325 wx_cv_type_va_list_lvalue
=no
18327 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18332 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18333 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18335 if test $wx_cv_type_va_list_lvalue != "yes"; then
18336 cat >>confdefs.h
<<\_ACEOF
18337 #define VA_LIST_IS_ARRAY 1
18343 # Check whether --enable-largefile or --disable-largefile was given.
18344 if test "${enable_largefile+set}" = set; then
18345 enableval
="$enable_largefile"
18348 if test "$enable_largefile" != no
; then
18351 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18352 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18353 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18354 echo $ECHO_N "(cached) $ECHO_C" >&6
18357 cat >conftest.
$ac_ext <<_ACEOF
18360 cat confdefs.h
>>conftest.
$ac_ext
18361 cat >>conftest.
$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 #define _FILE_OFFSET_BITS 64
18364 #include <sys/types.h>
18369 unsigned int field: sizeof(off_t) == 8;
18376 rm -f conftest.
$ac_objext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18378 (eval $ac_compile) 2>conftest.er1
18380 grep -v '^ *+' conftest.er1
>conftest.err
18382 cat conftest.err
>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
18385 { ac_try
='test -z "$ac_c_werror_flag"
18386 || test ! -s conftest.err'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; } &&
18392 { ac_try
='test -s conftest.$ac_objext'
18393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18394 (eval $ac_try) 2>&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); }; }; then
18398 ac_cv_sys_file_offset_bits
=64
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 ac_cv_sys_file_offset_bits
=no
18405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18409 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18410 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18412 if test "$ac_cv_sys_file_offset_bits" != no
; then
18414 cat >>confdefs.h
<<_ACEOF
18415 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18420 if test "x$wx_largefile" != "xyes"; then
18422 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18423 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18424 if test "${ac_cv_sys_large_files+set}" = set; then
18425 echo $ECHO_N "(cached) $ECHO_C" >&6
18428 cat >conftest.
$ac_ext <<_ACEOF
18431 cat confdefs.h
>>conftest.
$ac_ext
18432 cat >>conftest.
$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434 #define _LARGE_FILES 1
18435 #include <sys/types.h>
18440 unsigned int field: sizeof(off_t) == 8;
18447 rm -f conftest.
$ac_objext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18449 (eval $ac_compile) 2>conftest.er1
18451 grep -v '^ *+' conftest.er1
>conftest.err
18453 cat conftest.err
>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } &&
18456 { ac_try
='test -z "$ac_c_werror_flag"
18457 || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try
='test -s conftest.$ac_objext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_cv_sys_large_files
=1
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 ac_cv_sys_large_files
=no
18476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18480 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18481 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18483 if test "$ac_cv_sys_large_files" != no
; then
18485 cat >>confdefs.h
<<_ACEOF
18486 #define _LARGE_FILES $ac_cv_sys_large_files
18493 echo "$as_me:$LINENO: checking if large file support is available" >&5
18494 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18495 if test "x$wx_largefile" = "xyes"; then
18496 cat >>confdefs.h
<<\_ACEOF
18497 #define HAVE_LARGEFILE_SUPPORT 1
18501 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18502 echo "${ECHO_T}$wx_largefile" >&6
18506 if test "x$wx_largefile" = "xyes"; then
18507 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18508 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18510 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
18512 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18515 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18516 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18517 if test "${ac_cv_c_bigendian+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 ac_cv_c_bigendian
=unknown
18521 # See if sys/param.h defines the BYTE_ORDER macro.
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #include <sys/types.h>
18529 #include <sys/param.h>
18534 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18535 bogus endian macros
18541 rm -f conftest.
$ac_objext
18542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18543 (eval $ac_compile) 2>conftest.er1
18545 grep -v '^ *+' conftest.er1
>conftest.err
18547 cat conftest.err
>&5
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); } &&
18550 { ac_try
='test -z "$ac_c_werror_flag"
18551 || test ! -s conftest.err'
18552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18553 (eval $ac_try) 2>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); }; } &&
18557 { ac_try
='test -s conftest.$ac_objext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 # It does; now see whether it defined to BIG_ENDIAN or not.
18564 cat >conftest.
$ac_ext <<_ACEOF
18567 cat confdefs.h
>>conftest.
$ac_ext
18568 cat >>conftest.
$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #include <sys/types.h>
18571 #include <sys/param.h>
18576 #if BYTE_ORDER != BIG_ENDIAN
18583 rm -f conftest.
$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18587 grep -v '^ *+' conftest.er1
>conftest.err
18589 cat conftest.err
>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try
='test -z "$ac_c_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try
='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 ac_cv_c_bigendian
=yes
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.
$ac_ext >&5
18610 ac_cv_c_bigendian
=no
18612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.
$ac_ext >&5
18618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18619 if test $ac_cv_c_bigendian = unknown
; then
18620 if test "$cross_compiling" = yes; then
18621 ac_cv_c_bigendian
=unknown
18623 cat >conftest.
$ac_ext <<_ACEOF
18626 cat confdefs.h
>>conftest.
$ac_ext
18627 cat >>conftest.
$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18630 /* Are we little or big endian? From Harbison&Steele. */
18634 char c[sizeof (long)];
18637 exit (u.c[sizeof (long) - 1] == 1);
18640 rm -f conftest
$ac_exeext
18641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18642 (eval $ac_link) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_cv_c_bigendian
=no
18653 echo "$as_me: program exited with status $ac_status" >&5
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.
$ac_ext >&5
18657 ( exit $ac_status )
18658 ac_cv_c_bigendian
=yes
18660 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18664 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18665 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18666 if test $ac_cv_c_bigendian = unknown
; then
18667 { 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
18668 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;}
18670 if test $ac_cv_c_bigendian = yes; then
18671 cat >>confdefs.h
<<\_ACEOF
18672 #define WORDS_BIGENDIAN 1
18679 ac_cpp
='$CXXCPP $CPPFLAGS'
18680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18683 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18684 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18685 if test -z "$CXXCPP"; then
18686 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18687 echo $ECHO_N "(cached) $ECHO_C" >&6
18689 # Double quotes because CXXCPP needs to be expanded
18690 for CXXCPP
in "$CXX -E" "/lib/cpp"
18692 ac_preproc_ok
=false
18693 for ac_cxx_preproc_warn_flag
in '' yes
18695 # Use a header file that comes with gcc, so configuring glibc
18696 # with a fresh cross-compiler works.
18697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18698 # <limits.h> exists even on freestanding compilers.
18699 # On the NeXT, cc -E runs the code through the compiler's parser,
18700 # not just through cpp. "Syntax error" is here to catch this case.
18701 cat >conftest.
$ac_ext <<_ACEOF
18704 cat confdefs.h
>>conftest.
$ac_ext
18705 cat >>conftest.
$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18708 # include <limits.h>
18710 # include <assert.h>
18714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18715 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18717 grep -v '^ *+' conftest.er1
>conftest.err
18719 cat conftest.err
>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } >/dev
/null
; then
18722 if test -s conftest.err
; then
18723 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18724 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18731 if test -z "$ac_cpp_err"; then
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.
$ac_ext >&5
18737 # Broken: fails on valid input.
18740 rm -f conftest.err conftest.
$ac_ext
18742 # OK, works on sane cases. Now check whether non-existent headers
18743 # can be detected and how.
18744 cat >conftest.
$ac_ext <<_ACEOF
18747 cat confdefs.h
>>conftest.
$ac_ext
18748 cat >>conftest.
$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18750 #include <ac_nonexistent.h>
18752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18755 grep -v '^ *+' conftest.er1
>conftest.err
18757 cat conftest.err
>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } >/dev
/null
; then
18760 if test -s conftest.err
; then
18761 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18762 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18769 if test -z "$ac_cpp_err"; then
18770 # Broken: success on invalid input.
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.
$ac_ext >&5
18776 # Passes both tests.
18780 rm -f conftest.err conftest.
$ac_ext
18783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18784 rm -f conftest.err conftest.
$ac_ext
18785 if $ac_preproc_ok; then
18790 ac_cv_prog_CXXCPP
=$CXXCPP
18793 CXXCPP
=$ac_cv_prog_CXXCPP
18795 ac_cv_prog_CXXCPP
=$CXXCPP
18797 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18798 echo "${ECHO_T}$CXXCPP" >&6
18799 ac_preproc_ok
=false
18800 for ac_cxx_preproc_warn_flag
in '' yes
18802 # Use a header file that comes with gcc, so configuring glibc
18803 # with a fresh cross-compiler works.
18804 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18805 # <limits.h> exists even on freestanding compilers.
18806 # On the NeXT, cc -E runs the code through the compiler's parser,
18807 # not just through cpp. "Syntax error" is here to catch this case.
18808 cat >conftest.
$ac_ext <<_ACEOF
18811 cat confdefs.h
>>conftest.
$ac_ext
18812 cat >>conftest.
$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18815 # include <limits.h>
18817 # include <assert.h>
18821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18824 grep -v '^ *+' conftest.er1
>conftest.err
18826 cat conftest.err
>&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } >/dev
/null
; then
18829 if test -s conftest.err
; then
18830 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18831 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18838 if test -z "$ac_cpp_err"; then
18841 echo "$as_me: failed program was:" >&5
18842 sed 's/^/| /' conftest.
$ac_ext >&5
18844 # Broken: fails on valid input.
18847 rm -f conftest.err conftest.
$ac_ext
18849 # OK, works on sane cases. Now check whether non-existent headers
18850 # can be detected and how.
18851 cat >conftest.
$ac_ext <<_ACEOF
18854 cat confdefs.h
>>conftest.
$ac_ext
18855 cat >>conftest.
$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 #include <ac_nonexistent.h>
18859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18860 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18862 grep -v '^ *+' conftest.er1
>conftest.err
18864 cat conftest.err
>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } >/dev
/null
; then
18867 if test -s conftest.err
; then
18868 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18869 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
18876 if test -z "$ac_cpp_err"; then
18877 # Broken: success on invalid input.
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.
$ac_ext >&5
18883 # Passes both tests.
18887 rm -f conftest.err conftest.
$ac_ext
18890 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18891 rm -f conftest.err conftest.
$ac_ext
18892 if $ac_preproc_ok; then
18895 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18896 See \`config.log' for more details." >&5
18897 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18898 See \`config.log' for more details." >&2;}
18899 { (exit 1); exit 1; }; }
18903 ac_cpp
='$CXXCPP $CPPFLAGS'
18904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18913 ac_cpp
='$CXXCPP $CPPFLAGS'
18914 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18915 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18916 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18920 for ac_header
in iostream
18922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18924 echo "$as_me:$LINENO: checking for $ac_header" >&5
18925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18932 # Is the header compilable?
18933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18935 cat >conftest.
$ac_ext <<_ACEOF
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18942 #include <$ac_header>
18944 rm -f conftest.
$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18948 grep -v '^ *+' conftest.er1
>conftest.err
18950 cat conftest.err
>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try
='test -z "$ac_cxx_werror_flag"
18954 || test ! -s conftest.err'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; } &&
18960 { ac_try
='test -s conftest.$ac_objext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 ac_header_compiler
=yes
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.
$ac_ext >&5
18971 ac_header_compiler
=no
18973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18975 echo "${ECHO_T}$ac_header_compiler" >&6
18977 # Is the header present?
18978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18980 cat >conftest.
$ac_ext <<_ACEOF
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 #include <$ac_header>
18988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18989 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18991 grep -v '^ *+' conftest.er1
>conftest.err
18993 cat conftest.err
>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } >/dev
/null
; then
18996 if test -s conftest.err
; then
18997 ac_cpp_err
=$ac_cxx_preproc_warn_flag
18998 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19005 if test -z "$ac_cpp_err"; then
19006 ac_header_preproc
=yes
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19011 ac_header_preproc
=no
19013 rm -f conftest.err conftest.
$ac_ext
19014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19015 echo "${ECHO_T}$ac_header_preproc" >&6
19017 # So? What about this header?
19018 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19024 ac_header_preproc
=yes
19027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19041 ## ----------------------------------------- ##
19042 ## Report this to wx-dev@lists.wxwidgets.org ##
19043 ## ----------------------------------------- ##
19046 sed "s/^/$as_me: WARNING: /" >&2
19049 echo "$as_me:$LINENO: checking for $ac_header" >&5
19050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 eval "$as_ac_Header=\$ac_header_preproc"
19056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19061 cat >>confdefs.h
<<_ACEOF
19062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19070 if test "$ac_cv_header_iostream" = "yes" ; then
19073 cat >>confdefs.h
<<\_ACEOF
19074 #define wxUSE_IOSTREAMH 1
19080 ac_cpp
='$CPP $CPPFLAGS'
19081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19088 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19089 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19090 if test "${wx_cv_cpp_bool+set}" = set; then
19091 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 ac_cpp
='$CXXCPP $CPPFLAGS'
19098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19103 cat >conftest.
$ac_ext <<_ACEOF
19106 cat confdefs.h
>>conftest.
$ac_ext
19107 cat >>conftest.
$ac_ext <<_ACEOF
19108 /* end confdefs.h. */
19123 rm -f conftest.
$ac_objext
19124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19125 (eval $ac_compile) 2>conftest.er1
19127 grep -v '^ *+' conftest.er1
>conftest.err
19129 cat conftest.err
>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); } &&
19132 { ac_try
='test -z "$ac_cxx_werror_flag"
19133 || test ! -s conftest.err'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; } &&
19139 { ac_try
='test -s conftest.$ac_objext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.
$ac_ext >&5
19157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19160 ac_cpp
='$CPP $CPPFLAGS'
19161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19167 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19168 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19170 if test "$wx_cv_cpp_bool" = "yes"; then
19171 cat >>confdefs.h
<<\_ACEOF
19172 #define HAVE_BOOL 1
19179 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19180 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19181 if test "${wx_cv_explicit+set}" = set; then
19182 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 ac_cpp
='$CXXCPP $CPPFLAGS'
19189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19194 cat >conftest.
$ac_ext <<_ACEOF
19197 cat confdefs.h
>>conftest.
$ac_ext
19198 cat >>conftest.
$ac_ext <<_ACEOF
19199 /* end confdefs.h. */
19201 class Foo { public: explicit Foo(int) {} };
19213 rm -f conftest.
$ac_objext
19214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19215 (eval $ac_compile) 2>conftest.er1
19217 grep -v '^ *+' conftest.er1
>conftest.err
19219 cat conftest.err
>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); } &&
19222 { ac_try
='test -z "$ac_cxx_werror_flag"
19223 || test ! -s conftest.err'
19224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19225 (eval $ac_try) 2>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; } &&
19229 { ac_try
='test -s conftest.$ac_objext'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; }; then
19236 cat >conftest.
$ac_ext <<_ACEOF
19239 cat confdefs.h
>>conftest.
$ac_ext
19240 cat >>conftest.
$ac_ext <<_ACEOF
19241 /* end confdefs.h. */
19243 class Foo { public: explicit Foo(int) {} };
19244 static void TakeFoo(const Foo& foo) { }
19257 rm -f conftest.
$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19261 grep -v '^ *+' conftest.er1
>conftest.err
19263 cat conftest.err
>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try
='test -z "$ac_cxx_werror_flag"
19267 || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try
='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 echo "$as_me: failed program was:" >&5
19291 sed 's/^/| /' conftest.
$ac_ext >&5
19296 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: $wx_cv_explicit" >&5
19307 echo "${ECHO_T}$wx_cv_explicit" >&6
19309 if test "$wx_cv_explicit" = "yes"; then
19310 cat >>confdefs.h
<<\_ACEOF
19311 #define HAVE_EXPLICIT 1
19317 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19318 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19319 if test "${ac_cv_cxx_const_cast+set}" = set; then
19320 echo $ECHO_N "(cached) $ECHO_C" >&6
19325 ac_cpp
='$CXXCPP $CPPFLAGS'
19326 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19330 cat >conftest.
$ac_ext <<_ACEOF
19333 cat confdefs.h
>>conftest.
$ac_ext
19334 cat >>conftest.
$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19340 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19345 rm -f conftest.
$ac_objext
19346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19347 (eval $ac_compile) 2>conftest.er1
19349 grep -v '^ *+' conftest.er1
>conftest.err
19351 cat conftest.err
>&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); } &&
19354 { ac_try
='test -z "$ac_cxx_werror_flag"
19355 || test ! -s conftest.err'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; } &&
19361 { ac_try
='test -s conftest.$ac_objext'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; }; then
19367 ac_cv_cxx_const_cast
=yes
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.
$ac_ext >&5
19372 ac_cv_cxx_const_cast
=no
19374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19376 ac_cpp
='$CPP $CPPFLAGS'
19377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19383 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19384 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19385 if test "$ac_cv_cxx_const_cast" = yes; then
19387 cat >>confdefs.h
<<\_ACEOF
19388 #define HAVE_CONST_CAST
19393 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19394 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19395 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19401 ac_cpp
='$CXXCPP $CPPFLAGS'
19402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19406 cat >conftest.
$ac_ext <<_ACEOF
19409 cat confdefs.h
>>conftest.
$ac_ext
19410 cat >>conftest.
$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19412 #include <typeinfo>
19413 class Base { public : Base () {} virtual void f () = 0;};
19414 class Derived : public Base { public : Derived () {} virtual void f () {} };
19415 class Unrelated { public : Unrelated () {} };
19416 int g (Unrelated&) { return 0; }
19421 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19426 rm -f conftest.
$ac_objext
19427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19428 (eval $ac_compile) 2>conftest.er1
19430 grep -v '^ *+' conftest.er1
>conftest.err
19432 cat conftest.err
>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try
='test -z "$ac_cxx_werror_flag"
19436 || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try
='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_cv_cxx_reinterpret_cast
=yes
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.
$ac_ext >&5
19453 ac_cv_cxx_reinterpret_cast
=no
19455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19457 ac_cpp
='$CPP $CPPFLAGS'
19458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19464 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19465 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19466 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19468 cat >>confdefs.h
<<\_ACEOF
19469 #define HAVE_REINTERPRET_CAST
19474 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19475 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19476 if test "${ac_cv_cxx_static_cast+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 ac_cpp
='$CXXCPP $CPPFLAGS'
19483 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19487 cat >conftest.
$ac_ext <<_ACEOF
19490 cat confdefs.h
>>conftest.
$ac_ext
19491 cat >>conftest.
$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <typeinfo>
19494 class Base { public : Base () {} virtual void f () = 0; };
19495 class Derived : public Base { public : Derived () {} virtual void f () {} };
19496 int g (Derived&) { return 0; }
19501 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19506 rm -f conftest.
$ac_objext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19508 (eval $ac_compile) 2>conftest.er1
19510 grep -v '^ *+' conftest.er1
>conftest.err
19512 cat conftest.err
>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try
='test -z "$ac_cxx_werror_flag"
19516 || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try
='test -s conftest.$ac_objext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 ac_cv_cxx_static_cast
=yes
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 ac_cv_cxx_static_cast
=no
19535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19537 ac_cpp
='$CPP $CPPFLAGS'
19538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19544 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19545 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19546 if test "$ac_cv_cxx_static_cast" = yes; then
19548 cat >>confdefs.h
<<\_ACEOF
19549 #define HAVE_STATIC_CAST
19555 if test "$wxUSE_STL" = "yes"; then
19557 ac_cpp
='$CXXCPP $CPPFLAGS'
19558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19563 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19564 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19565 cat >conftest.
$ac_ext <<_ACEOF
19568 cat confdefs.h
>>conftest.
$ac_ext
19569 cat >>conftest.
$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19572 #include <functional>
19573 #include <algorithm>
19579 std::vector<int> moo;
19580 std::list<int> foo;
19581 std::vector<int>::iterator it =
19582 std::find_if(moo.begin(), moo.end(),
19583 std::bind2nd(std::less<int>(), 3));
19588 rm -f conftest.
$ac_objext
19589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19590 (eval $ac_compile) 2>conftest.er1
19592 grep -v '^ *+' conftest.er1
>conftest.err
19594 cat conftest.err
>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); } &&
19597 { ac_try
='test -z "$ac_cxx_werror_flag"
19598 || test ! -s conftest.err'
19599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600 (eval $ac_try) 2>&5
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; } &&
19604 { ac_try
='test -s conftest.$ac_objext'
19605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19606 (eval $ac_try) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); }; }; then
19610 echo "$as_me:$LINENO: result: yes" >&5
19611 echo "${ECHO_T}yes" >&6
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.
$ac_ext >&5
19616 echo "$as_me:$LINENO: result: no" >&5
19617 echo "${ECHO_T}no" >&6
19618 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19619 echo "$as_me: error: Basic STL functionality missing" >&2;}
19620 { (exit 1); exit 1; }; }
19622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19624 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19625 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19626 cat >conftest.
$ac_ext <<_ACEOF
19629 cat confdefs.h
>>conftest.
$ac_ext
19630 cat >>conftest.
$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19641 rm -f conftest.
$ac_objext
19642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19643 (eval $ac_compile) 2>conftest.er1
19645 grep -v '^ *+' conftest.er1
>conftest.err
19647 cat conftest.err
>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } &&
19650 { ac_try
='test -z "$ac_cxx_werror_flag"
19651 || test ! -s conftest.err'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; } &&
19657 { ac_try
='test -s conftest.$ac_objext'
19658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19659 (eval $ac_try) 2>&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); }; }; then
19663 echo "$as_me:$LINENO: result: yes" >&5
19664 echo "${ECHO_T}yes" >&6
19665 cat >>confdefs.h
<<\_ACEOF
19666 #define HAVE_STD_WSTRING 1
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.
$ac_ext >&5
19673 echo "$as_me:$LINENO: result: no" >&5
19674 echo "${ECHO_T}no" >&6
19676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19678 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19679 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19680 cat >conftest.
$ac_ext <<_ACEOF
19683 cat confdefs.h
>>conftest.
$ac_ext
19684 cat >>conftest.
$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19690 std::string foo, bar;
19692 foo.compare(1, 1, bar);
19693 foo.compare(1, 1, bar, 1, 1);
19695 foo.compare(1, 1, "");
19696 foo.compare(1, 1, "", 2);
19701 rm -f conftest.
$ac_objext
19702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19703 (eval $ac_compile) 2>conftest.er1
19705 grep -v '^ *+' conftest.er1
>conftest.err
19707 cat conftest.err
>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } &&
19710 { ac_try
='test -z "$ac_cxx_werror_flag"
19711 || test ! -s conftest.err'
19712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19713 (eval $ac_try) 2>&5
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); }; } &&
19717 { ac_try
='test -s conftest.$ac_objext'
19718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719 (eval $ac_try) 2>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; }; then
19723 echo "$as_me:$LINENO: result: yes" >&5
19724 echo "${ECHO_T}yes" >&6
19725 cat >>confdefs.h
<<\_ACEOF
19726 #define HAVE_STD_STRING_COMPARE 1
19730 echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.
$ac_ext >&5
19733 echo "$as_me:$LINENO: result: no" >&5
19734 echo "${ECHO_T}no" >&6
19736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19738 if test "${ac_cv_header_hash_map+set}" = set; then
19739 echo "$as_me:$LINENO: checking for hash_map" >&5
19740 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19741 if test "${ac_cv_header_hash_map+set}" = set; then
19742 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19745 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19747 # Is the header compilable?
19748 echo "$as_me:$LINENO: checking hash_map usability" >&5
19749 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 #include <hash_map>
19759 rm -f conftest.
$ac_objext
19760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19761 (eval $ac_compile) 2>conftest.er1
19763 grep -v '^ *+' conftest.er1
>conftest.err
19765 cat conftest.err
>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } &&
19768 { ac_try
='test -z "$ac_cxx_werror_flag"
19769 || test ! -s conftest.err'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; } &&
19775 { ac_try
='test -s conftest.$ac_objext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 ac_header_compiler
=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.
$ac_ext >&5
19786 ac_header_compiler
=no
19788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19790 echo "${ECHO_T}$ac_header_compiler" >&6
19792 # Is the header present?
19793 echo "$as_me:$LINENO: checking hash_map presence" >&5
19794 echo $ECHO_N "checking hash_map presence... $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>
19803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19806 grep -v '^ *+' conftest.er1
>conftest.err
19808 cat conftest.err
>&5
19809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 (exit $ac_status); } >/dev
/null
; then
19811 if test -s conftest.err
; then
19812 ac_cpp_err
=$ac_cxx_preproc_warn_flag
19813 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
19820 if test -z "$ac_cpp_err"; then
19821 ac_header_preproc
=yes
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.
$ac_ext >&5
19826 ac_header_preproc
=no
19828 rm -f conftest.err conftest.
$ac_ext
19829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19830 echo "${ECHO_T}$ac_header_preproc" >&6
19832 # So? What about this header?
19833 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19835 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19836 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19837 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19838 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19839 ac_header_preproc
=yes
19842 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19843 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19844 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19845 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19846 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19847 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19848 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19849 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19850 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19851 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19852 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19853 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19856 ## ----------------------------------------- ##
19857 ## Report this to wx-dev@lists.wxwidgets.org ##
19858 ## ----------------------------------------- ##
19861 sed "s/^/$as_me: WARNING: /" >&2
19864 echo "$as_me:$LINENO: checking for hash_map" >&5
19865 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19866 if test "${ac_cv_header_hash_map+set}" = set; then
19867 echo $ECHO_N "(cached) $ECHO_C" >&6
19869 ac_cv_header_hash_map
=$ac_header_preproc
19871 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19872 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19875 if test $ac_cv_header_hash_map = yes; then
19876 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
19877 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
19878 cat >conftest.
$ac_ext <<_ACEOF
19881 cat confdefs.h
>>conftest.
$ac_ext
19882 cat >>conftest.
$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 #include <hash_map>
19885 #include <hash_set>
19889 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
19890 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
19895 rm -f conftest.
$ac_objext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19897 (eval $ac_compile) 2>conftest.er1
19899 grep -v '^ *+' conftest.er1
>conftest.err
19901 cat conftest.err
>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try
='test -z "$ac_cxx_werror_flag"
19905 || test ! -s conftest.err'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; } &&
19911 { ac_try
='test -s conftest.$ac_objext'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19917 echo "$as_me:$LINENO: result: yes" >&5
19918 echo "${ECHO_T}yes" >&6
19919 cat >>confdefs.h
<<\_ACEOF
19920 #define HAVE_HASH_MAP 1
19923 cat >>confdefs.h
<<\_ACEOF
19924 #define HAVE_STD_HASH_MAP 1
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.
$ac_ext >&5
19931 echo "$as_me:$LINENO: result: no" >&5
19932 echo "${ECHO_T}no" >&6
19934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19940 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19941 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
19942 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
19943 if test "${ac_cv_header_ext_hash_map+set}" = set; then
19944 echo $ECHO_N "(cached) $ECHO_C" >&6
19946 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
19947 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
19949 # Is the header compilable?
19950 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
19951 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
19952 cat >conftest.
$ac_ext <<_ACEOF
19955 cat confdefs.h
>>conftest.
$ac_ext
19956 cat >>conftest.
$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 $ac_includes_default
19959 #include <ext/hash_map>
19961 rm -f conftest.
$ac_objext
19962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19963 (eval $ac_compile) 2>conftest.er1
19965 grep -v '^ *+' conftest.er1
>conftest.err
19967 cat conftest.err
>&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } &&
19970 { ac_try
='test -z "$ac_cxx_werror_flag"
19971 || test ! -s conftest.err'
19972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19973 (eval $ac_try) 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; } &&
19977 { ac_try
='test -s conftest.$ac_objext'
19978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19979 (eval $ac_try) 2>&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); }; }; then
19983 ac_header_compiler
=yes
19985 echo "$as_me: failed program was:" >&5
19986 sed 's/^/| /' conftest.
$ac_ext >&5
19988 ac_header_compiler
=no
19990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19992 echo "${ECHO_T}$ac_header_compiler" >&6
19994 # Is the header present?
19995 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
19996 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
19997 cat >conftest.
$ac_ext <<_ACEOF
20000 cat confdefs.h
>>conftest.
$ac_ext
20001 cat >>conftest.
$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 #include <ext/hash_map>
20005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20008 grep -v '^ *+' conftest.er1
>conftest.err
20010 cat conftest.err
>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } >/dev
/null
; then
20013 if test -s conftest.err
; then
20014 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20015 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20022 if test -z "$ac_cpp_err"; then
20023 ac_header_preproc
=yes
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.
$ac_ext >&5
20028 ac_header_preproc
=no
20030 rm -f conftest.err conftest.
$ac_ext
20031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20032 echo "${ECHO_T}$ac_header_preproc" >&6
20034 # So? What about this header?
20035 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20037 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20038 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20039 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20040 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20041 ac_header_preproc
=yes
20044 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20045 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20046 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20047 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20048 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20049 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20050 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20051 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20052 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20053 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20054 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20055 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20058 ## ----------------------------------------- ##
20059 ## Report this to wx-dev@lists.wxwidgets.org ##
20060 ## ----------------------------------------- ##
20063 sed "s/^/$as_me: WARNING: /" >&2
20066 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20067 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20068 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20071 ac_cv_header_ext_hash_map
=$ac_header_preproc
20073 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20074 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20077 if test $ac_cv_header_ext_hash_map = yes; then
20078 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20079 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20080 cat >conftest.
$ac_ext <<_ACEOF
20083 cat confdefs.h
>>conftest.
$ac_ext
20084 cat >>conftest.
$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 #include <ext/hash_map>
20087 #include <ext/hash_set>
20091 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20092 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20097 rm -f conftest.
$ac_objext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20099 (eval $ac_compile) 2>conftest.er1
20101 grep -v '^ *+' conftest.er1
>conftest.err
20103 cat conftest.err
>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } &&
20106 { ac_try
='test -z "$ac_cxx_werror_flag"
20107 || test ! -s conftest.err'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; } &&
20113 { ac_try
='test -s conftest.$ac_objext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 echo "$as_me:$LINENO: result: yes" >&5
20120 echo "${ECHO_T}yes" >&6
20121 cat >>confdefs.h
<<\_ACEOF
20122 #define HAVE_EXT_HASH_MAP 1
20125 cat >>confdefs.h
<<\_ACEOF
20126 #define HAVE_GNU_CXX_HASH_MAP 1
20130 echo "$as_me: failed program was:" >&5
20131 sed 's/^/| /' conftest.
$ac_ext >&5
20133 echo "$as_me:$LINENO: result: no" >&5
20134 echo "${ECHO_T}no" >&6
20136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20143 ac_cpp
='$CPP $CPPFLAGS'
20144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20152 /usr/local/include \
20154 /usr/Motif-2.1/include \
20155 /usr/Motif-1.2/include \
20156 /usr/include/Motif1.2 \
20157 /opt/xpm/include/X11 \
20158 /opt/GBxpm/include/ \
20159 /opt/GBxpm/X11/include/ \
20162 /usr/openwin/include \
20166 /usr/X11R6/include \
20167 /usr/X11R6.4/include \
20168 /usr/X11R5/include \
20169 /usr/X11R4/include \
20171 /usr/include/X11R6 \
20172 /usr/include/X11R5 \
20173 /usr/include/X11R4 \
20175 /usr/local/X11R6/include \
20176 /usr/local/X11R5/include \
20177 /usr/local/X11R4/include \
20179 /usr/local/include/X11R6 \
20180 /usr/local/include/X11R5 \
20181 /usr/local/include/X11R4 \
20185 /usr/local/X11/include \
20186 /usr/local/include/X11 \
20188 /usr/X386/include \
20189 /usr/x386/include \
20190 /usr/XFree86/include/X11 \
20192 X:/XFree86/include \
20193 X:/XFree86/include/X11 \
20196 /usr/local/include/gtk \
20197 /usr/include/glib \
20198 /usr/local/include/glib \
20201 /usr/local/include/qt \
20203 /usr/local/arm/3.3.2/include \
20205 /usr/include/windows \
20206 /usr/include/wine \
20207 /usr/local/include/wine \
20209 /usr/unsupported/include \
20210 /usr/athena/include \
20211 /usr/local/x11r5/include \
20212 /usr/lpp/Xamples/include \
20214 /usr/openwin/share/include"
20216 SEARCH_LIB
="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20219 cat >confcache
<<\_ACEOF
20220 # This file is a shell script that caches the results of configure
20221 # tests run on this system so they can be shared between configure
20222 # scripts and configure runs, see configure's option --config-cache.
20223 # It is not useful on other systems. If it contains results you don't
20224 # want to keep, you may remove or edit it.
20226 # config.status only pays attention to the cache file if you give it
20227 # the --recheck option to rerun configure.
20229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20231 # following values.
20235 # The following way of writing the cache mishandles newlines in values,
20236 # but we know of no workaround that is simple, portable, and efficient.
20237 # So, don't put newlines in cache variables' values.
20238 # Ultrix sh set writes to stderr and can't be redirected directly,
20239 # and sets the high bit in the cache file unless we assign to the vars.
20242 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20244 # `set' does not quote correctly, so add quotes (double-quote
20245 # substitution turns \\\\ into \\, and sed turns \\ into \).
20248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20251 # `set' quotes correctly as required by POSIX, so do not add quotes.
20253 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20260 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20262 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20264 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20265 if test -w $cache_file; then
20266 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20267 cat confcache
>$cache_file
20269 echo "not updating unwritable cache $cache_file"
20274 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20275 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20276 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20277 if test "${wx_cv_lib_glibc21+set}" = set; then
20278 echo $ECHO_N "(cached) $ECHO_C" >&6
20281 cat >conftest.
$ac_ext <<_ACEOF
20284 cat confdefs.h
>>conftest.
$ac_ext
20285 cat >>conftest.
$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287 #include <features.h>
20292 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20293 #error not glibc2.1
20300 rm -f conftest.
$ac_objext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20302 (eval $ac_compile) 2>conftest.er1
20304 grep -v '^ *+' conftest.er1
>conftest.err
20306 cat conftest.err
>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try
='test -z "$ac_c_werror_flag"
20310 || test ! -s conftest.err'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; } &&
20316 { ac_try
='test -s conftest.$ac_objext'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; }; then
20323 wx_cv_lib_glibc21
=yes
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.
$ac_ext >&5
20330 wx_cv_lib_glibc21
=no
20334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20337 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20338 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20339 if test "$wx_cv_lib_glibc21" = "yes"; then
20340 cat >>confdefs.h
<<\_ACEOF
20341 #define wxHAVE_GLIBC2 1
20347 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20348 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20349 cat >>confdefs.h
<<\_ACEOF
20350 #define _GNU_SOURCE 1
20358 if test "$wxUSE_REGEX" != "no"; then
20359 cat >>confdefs.h
<<\_ACEOF
20360 #define wxUSE_REGEX 1
20364 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20365 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20366 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20367 wxUSE_REGEX
=builtin
20370 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20371 if test "${ac_cv_header_regex_h+set}" = set; then
20372 echo "$as_me:$LINENO: checking for regex.h" >&5
20373 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20374 if test "${ac_cv_header_regex_h+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20378 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20380 # Is the header compilable?
20381 echo "$as_me:$LINENO: checking regex.h usability" >&5
20382 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20383 cat >conftest.
$ac_ext <<_ACEOF
20386 cat confdefs.h
>>conftest.
$ac_ext
20387 cat >>conftest.
$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 $ac_includes_default
20392 rm -f conftest.
$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>conftest.er1
20396 grep -v '^ *+' conftest.er1
>conftest.err
20398 cat conftest.err
>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try
='test -z "$ac_c_werror_flag"
20402 || test ! -s conftest.err'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; } &&
20408 { ac_try
='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_header_compiler
=yes
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.
$ac_ext >&5
20419 ac_header_compiler
=no
20421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20423 echo "${ECHO_T}$ac_header_compiler" >&6
20425 # Is the header present?
20426 echo "$as_me:$LINENO: checking regex.h presence" >&5
20427 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20428 cat >conftest.
$ac_ext <<_ACEOF
20431 cat confdefs.h
>>conftest.
$ac_ext
20432 cat >>conftest.
$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20439 grep -v '^ *+' conftest.er1
>conftest.err
20441 cat conftest.err
>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } >/dev
/null
; then
20444 if test -s conftest.err
; then
20445 ac_cpp_err
=$ac_c_preproc_warn_flag
20446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20453 if test -z "$ac_cpp_err"; then
20454 ac_header_preproc
=yes
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20459 ac_header_preproc
=no
20461 rm -f conftest.err conftest.
$ac_ext
20462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20463 echo "${ECHO_T}$ac_header_preproc" >&6
20465 # So? What about this header?
20466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20468 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20469 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20470 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20471 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20472 ac_header_preproc
=yes
20475 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20476 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20477 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20478 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20479 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20480 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20481 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20482 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20483 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20484 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20485 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20486 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20489 ## ----------------------------------------- ##
20490 ## Report this to wx-dev@lists.wxwidgets.org ##
20491 ## ----------------------------------------- ##
20494 sed "s/^/$as_me: WARNING: /" >&2
20497 echo "$as_me:$LINENO: checking for regex.h" >&5
20498 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20499 if test "${ac_cv_header_regex_h+set}" = set; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 ac_cv_header_regex_h
=$ac_header_preproc
20504 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20505 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20508 if test $ac_cv_header_regex_h = yes; then
20510 for ac_func
in regcomp
20512 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20513 echo "$as_me:$LINENO: checking for $ac_func" >&5
20514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20515 if eval "test \"\${$as_ac_var+set}\" = set"; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 cat >conftest.
$ac_ext <<_ACEOF
20521 cat confdefs.h
>>conftest.
$ac_ext
20522 cat >>conftest.
$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20526 #define $ac_func innocuous_$ac_func
20528 /* System header to define __stub macros and hopefully few prototypes,
20529 which can conflict with char $ac_func (); below.
20530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20531 <limits.h> exists even on freestanding compilers. */
20534 # include <limits.h>
20536 # include <assert.h>
20541 /* Override any gcc2 internal prototype to avoid an error. */
20546 /* We use char because int might match the return type of a gcc2
20547 builtin and then its argument prototype would still apply. */
20549 /* The GNU C library defines this for functions which it implements
20550 to always fail with ENOSYS. Some functions are actually named
20551 something starting with __ and the normal name is an alias. */
20552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20555 char (*f) () = $ac_func;
20564 return f != $ac_func;
20569 rm -f conftest.
$ac_objext conftest
$ac_exeext
20570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20571 (eval $ac_link) 2>conftest.er1
20573 grep -v '^ *+' conftest.er1
>conftest.err
20575 cat conftest.err
>&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); } &&
20578 { ac_try
='test -z "$ac_c_werror_flag"
20579 || test ! -s conftest.err'
20580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20581 (eval $ac_try) 2>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); }; } &&
20585 { ac_try
='test -s conftest$ac_exeext'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; }; then
20591 eval "$as_ac_var=yes"
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.
$ac_ext >&5
20596 eval "$as_ac_var=no"
20598 rm -f conftest.err conftest.
$ac_objext \
20599 conftest
$ac_exeext conftest.
$ac_ext
20601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20603 if test `eval echo '${'$as_ac_var'}'` = yes; then
20604 cat >>confdefs.h
<<_ACEOF
20605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20615 if test "x$ac_cv_func_regcomp" != "xyes"; then
20616 if test "$wxUSE_REGEX" = "sys" ; then
20617 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20618 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20619 { (exit 1); exit 1; }; }
20621 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20622 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20623 wxUSE_REGEX
=builtin
20627 cat >>confdefs.h
<<\_ACEOF
20628 #define WX_NO_REGEX_ADVANCED 1
20637 if test "$wxUSE_ZLIB" != "no" ; then
20638 cat >>confdefs.h
<<\_ACEOF
20639 #define wxUSE_ZLIB 1
20643 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20644 if test "$USE_DARWIN" = 1; then
20645 system_zlib_h_ok
="yes"
20647 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20648 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20649 if test "${ac_cv_header_zlib_h+set}" = set; then
20650 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 if test "$cross_compiling" = yes; then
20653 unset ac_cv_header_zlib_h
20656 cat >conftest.
$ac_ext <<_ACEOF
20659 cat confdefs.h
>>conftest.
$ac_ext
20660 cat >>conftest.
$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20668 FILE *f=fopen("conftestval", "w");
20671 ZLIB_VERSION[0] == '1' &&
20672 (ZLIB_VERSION[2] > '1' ||
20673 (ZLIB_VERSION[2] == '1' &&
20674 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20679 rm -f conftest
$ac_exeext
20680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20681 (eval $ac_link) 2>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 ac_cv_header_zlib_h
=`cat conftestval`
20692 echo "$as_me: program exited with status $ac_status" >&5
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.
$ac_ext >&5
20696 ( exit $ac_status )
20697 ac_cv_header_zlib_h
=no
20699 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20703 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20704 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20705 if test "${ac_cv_header_zlib_h+set}" = set; then
20706 echo "$as_me:$LINENO: checking for zlib.h" >&5
20707 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20708 if test "${ac_cv_header_zlib_h+set}" = set; then
20709 echo $ECHO_N "(cached) $ECHO_C" >&6
20711 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20712 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20714 # Is the header compilable?
20715 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20716 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20717 cat >conftest.
$ac_ext <<_ACEOF
20720 cat confdefs.h
>>conftest.
$ac_ext
20721 cat >>conftest.
$ac_ext <<_ACEOF
20722 /* end confdefs.h. */
20723 $ac_includes_default
20726 rm -f conftest.
$ac_objext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20728 (eval $ac_compile) 2>conftest.er1
20730 grep -v '^ *+' conftest.er1
>conftest.err
20732 cat conftest.err
>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } &&
20735 { ac_try
='test -z "$ac_c_werror_flag"
20736 || test ! -s conftest.err'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; } &&
20742 { ac_try
='test -s conftest.$ac_objext'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 ac_header_compiler
=yes
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.
$ac_ext >&5
20753 ac_header_compiler
=no
20755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20757 echo "${ECHO_T}$ac_header_compiler" >&6
20759 # Is the header present?
20760 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20761 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20762 cat >conftest.
$ac_ext <<_ACEOF
20765 cat confdefs.h
>>conftest.
$ac_ext
20766 cat >>conftest.
$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20773 grep -v '^ *+' conftest.er1
>conftest.err
20775 cat conftest.err
>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } >/dev
/null
; then
20778 if test -s conftest.err
; then
20779 ac_cpp_err
=$ac_c_preproc_warn_flag
20780 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
20787 if test -z "$ac_cpp_err"; then
20788 ac_header_preproc
=yes
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.
$ac_ext >&5
20793 ac_header_preproc
=no
20795 rm -f conftest.err conftest.
$ac_ext
20796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20797 echo "${ECHO_T}$ac_header_preproc" >&6
20799 # So? What about this header?
20800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20802 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20803 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20804 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20805 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20806 ac_header_preproc
=yes
20809 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20810 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20811 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20812 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20813 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20814 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20815 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20816 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20817 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20818 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20819 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20820 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20823 ## ----------------------------------------- ##
20824 ## Report this to wx-dev@lists.wxwidgets.org ##
20825 ## ----------------------------------------- ##
20828 sed "s/^/$as_me: WARNING: /" >&2
20831 echo "$as_me:$LINENO: checking for zlib.h" >&5
20832 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20833 if test "${ac_cv_header_zlib_h+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20836 ac_cv_header_zlib_h
=$ac_header_preproc
20838 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20839 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20845 system_zlib_h_ok
=$ac_cv_header_zlib_h
20848 if test "$system_zlib_h_ok" = "yes"; then
20849 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20850 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20851 if test "${ac_cv_lib_z_deflate+set}" = set; then
20852 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 ac_check_lib_save_LIBS
=$LIBS
20856 cat >conftest.
$ac_ext <<_ACEOF
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20863 /* Override any gcc2 internal prototype to avoid an error. */
20867 /* We use char because int might match the return type of a gcc2
20868 builtin and then its argument prototype would still apply. */
20878 rm -f conftest.
$ac_objext conftest
$ac_exeext
20879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20880 (eval $ac_link) 2>conftest.er1
20882 grep -v '^ *+' conftest.er1
>conftest.err
20884 cat conftest.err
>&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } &&
20887 { ac_try
='test -z "$ac_c_werror_flag"
20888 || test ! -s conftest.err'
20889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20890 (eval $ac_try) 2>&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); }; } &&
20894 { ac_try
='test -s conftest$ac_exeext'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; }; then
20900 ac_cv_lib_z_deflate
=yes
20902 echo "$as_me: failed program was:" >&5
20903 sed 's/^/| /' conftest.
$ac_ext >&5
20905 ac_cv_lib_z_deflate
=no
20907 rm -f conftest.err conftest.
$ac_objext \
20908 conftest
$ac_exeext conftest.
$ac_ext
20909 LIBS
=$ac_check_lib_save_LIBS
20911 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20912 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20913 if test $ac_cv_lib_z_deflate = yes; then
20919 if test "x$ZLIB_LINK" = "x" ; then
20920 if test "$wxUSE_ZLIB" = "sys" ; then
20921 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20922 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20923 { (exit 1); exit 1; }; }
20925 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20926 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20937 if test "$wxUSE_LIBPNG" != "no" ; then
20938 cat >>confdefs.h
<<\_ACEOF
20939 #define wxUSE_LIBPNG 1
20943 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20944 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20945 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20949 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20950 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20951 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20952 wxUSE_LIBPNG
=builtin
20955 if test "$wxUSE_MGL" != 1 ; then
20956 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20957 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20958 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20959 if test "${ac_cv_header_png_h+set}" = set; then
20960 echo $ECHO_N "(cached) $ECHO_C" >&6
20962 if test "$cross_compiling" = yes; then
20963 unset ac_cv_header_png_h
20966 cat >conftest.
$ac_ext <<_ACEOF
20969 cat confdefs.h
>>conftest.
$ac_ext
20970 cat >>conftest.
$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20978 FILE *f=fopen("conftestval", "w");
20981 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20986 rm -f conftest
$ac_exeext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20988 (eval $ac_link) 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 ac_cv_header_png_h
=`cat conftestval`
20999 echo "$as_me: program exited with status $ac_status" >&5
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.
$ac_ext >&5
21003 ( exit $ac_status )
21004 ac_cv_header_png_h
=no
21006 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21010 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21011 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21012 if test "${ac_cv_header_png_h+set}" = set; then
21013 echo "$as_me:$LINENO: checking for png.h" >&5
21014 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21015 if test "${ac_cv_header_png_h+set}" = set; then
21016 echo $ECHO_N "(cached) $ECHO_C" >&6
21018 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21019 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21021 # Is the header compilable?
21022 echo "$as_me:$LINENO: checking png.h usability" >&5
21023 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21024 cat >conftest.
$ac_ext <<_ACEOF
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21033 rm -f conftest.
$ac_objext
21034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21035 (eval $ac_compile) 2>conftest.er1
21037 grep -v '^ *+' conftest.er1
>conftest.err
21039 cat conftest.err
>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try
='test -z "$ac_c_werror_flag"
21043 || test ! -s conftest.err'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; } &&
21049 { ac_try
='test -s conftest.$ac_objext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 ac_header_compiler
=yes
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.
$ac_ext >&5
21060 ac_header_compiler
=no
21062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21064 echo "${ECHO_T}$ac_header_compiler" >&6
21066 # Is the header present?
21067 echo "$as_me:$LINENO: checking png.h presence" >&5
21068 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21069 cat >conftest.
$ac_ext <<_ACEOF
21072 cat confdefs.h
>>conftest.
$ac_ext
21073 cat >>conftest.
$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21078 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21080 grep -v '^ *+' conftest.er1
>conftest.err
21082 cat conftest.err
>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } >/dev
/null
; then
21085 if test -s conftest.err
; then
21086 ac_cpp_err
=$ac_c_preproc_warn_flag
21087 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21094 if test -z "$ac_cpp_err"; then
21095 ac_header_preproc
=yes
21097 echo "$as_me: failed program was:" >&5
21098 sed 's/^/| /' conftest.
$ac_ext >&5
21100 ac_header_preproc
=no
21102 rm -f conftest.err conftest.
$ac_ext
21103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21104 echo "${ECHO_T}$ac_header_preproc" >&6
21106 # So? What about this header?
21107 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21109 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21110 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21111 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21112 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21113 ac_header_preproc
=yes
21116 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21117 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21118 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21119 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21120 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21121 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21122 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21123 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21124 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21125 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21126 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21127 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21130 ## ----------------------------------------- ##
21131 ## Report this to wx-dev@lists.wxwidgets.org ##
21132 ## ----------------------------------------- ##
21135 sed "s/^/$as_me: WARNING: /" >&2
21138 echo "$as_me:$LINENO: checking for png.h" >&5
21139 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21140 if test "${ac_cv_header_png_h+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 ac_cv_header_png_h
=$ac_header_preproc
21145 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21146 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21152 if test "$ac_cv_header_png_h" = "yes"; then
21153 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21154 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21155 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 ac_check_lib_save_LIBS
=$LIBS
21159 LIBS
="-lpng -lz -lm $LIBS"
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21167 /* Override any gcc2 internal prototype to avoid an error. */
21171 /* We use char because int might match the return type of a gcc2
21172 builtin and then its argument prototype would still apply. */
21173 char png_check_sig ();
21182 rm -f conftest.
$ac_objext conftest
$ac_exeext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21184 (eval $ac_link) 2>conftest.er1
21186 grep -v '^ *+' conftest.er1
>conftest.err
21188 cat conftest.err
>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try
='test -z "$ac_c_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try
='test -s conftest$ac_exeext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 ac_cv_lib_png_png_check_sig
=yes
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.
$ac_ext >&5
21209 ac_cv_lib_png_png_check_sig
=no
21211 rm -f conftest.err conftest.
$ac_objext \
21212 conftest
$ac_exeext conftest.
$ac_ext
21213 LIBS
=$ac_check_lib_save_LIBS
21215 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21216 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21217 if test $ac_cv_lib_png_png_check_sig = yes; then
21218 PNG_LINK
=" -lpng -lz"
21223 if test "x$PNG_LINK" = "x" ; then
21224 if test "$wxUSE_LIBPNG" = "sys" ; then
21225 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21226 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21227 { (exit 1); exit 1; }; }
21229 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21230 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21231 wxUSE_LIBPNG
=builtin
21239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
21244 if test "$wxUSE_LIBJPEG" != "no" ; then
21245 cat >>confdefs.h
<<\_ACEOF
21246 #define wxUSE_LIBJPEG 1
21250 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21251 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21252 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21256 if test "$wxUSE_MGL" != 1 ; then
21257 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21258 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21259 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21260 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21261 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 cat >conftest.
$ac_ext <<_ACEOF
21266 cat confdefs.h
>>conftest.
$ac_ext
21267 cat >>conftest.
$ac_ext <<_ACEOF
21268 /* end confdefs.h. */
21270 #undef HAVE_STDLIB_H
21272 #include <jpeglib.h>
21283 rm -f conftest.
$ac_objext
21284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21285 (eval $ac_compile) 2>conftest.er1
21287 grep -v '^ *+' conftest.er1
>conftest.err
21289 cat conftest.err
>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); } &&
21292 { ac_try
='test -z "$ac_c_werror_flag"
21293 || test ! -s conftest.err'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; } &&
21299 { ac_try
='test -s conftest.$ac_objext'
21300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21301 (eval $ac_try) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); }; }; then
21305 ac_cv_header_jpeglib_h
=yes
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.
$ac_ext >&5
21310 ac_cv_header_jpeglib_h
=no
21313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21317 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21318 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21320 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21321 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21322 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21323 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 ac_check_lib_save_LIBS
=$LIBS
21327 LIBS
="-ljpeg $LIBS"
21328 cat >conftest.
$ac_ext <<_ACEOF
21331 cat confdefs.h
>>conftest.
$ac_ext
21332 cat >>conftest.
$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21335 /* Override any gcc2 internal prototype to avoid an error. */
21339 /* We use char because int might match the return type of a gcc2
21340 builtin and then its argument prototype would still apply. */
21341 char jpeg_read_header ();
21345 jpeg_read_header ();
21350 rm -f conftest.
$ac_objext conftest
$ac_exeext
21351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21352 (eval $ac_link) 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"
21360 || test ! -s conftest.err'
21361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21362 (eval $ac_try) 2>&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); }; } &&
21366 { ac_try
='test -s conftest$ac_exeext'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; }; then
21372 ac_cv_lib_jpeg_jpeg_read_header
=yes
21374 echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.
$ac_ext >&5
21377 ac_cv_lib_jpeg_jpeg_read_header
=no
21379 rm -f conftest.err conftest.
$ac_objext \
21380 conftest
$ac_exeext conftest.
$ac_ext
21381 LIBS
=$ac_check_lib_save_LIBS
21383 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21384 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21385 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21386 JPEG_LINK
=" -ljpeg"
21391 if test "x$JPEG_LINK" = "x" ; then
21392 if test "$wxUSE_LIBJPEG" = "sys" ; then
21393 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21394 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21395 { (exit 1); exit 1; }; }
21397 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21398 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21399 wxUSE_LIBJPEG
=builtin
21410 TIFF_PREREQ_LINKS
=-lm
21411 if test "$wxUSE_LIBTIFF" != "no" ; then
21412 cat >>confdefs.h
<<\_ACEOF
21413 #define wxUSE_LIBTIFF 1
21417 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21418 if test "$wxUSE_LIBJPEG" = "sys"; then
21419 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
21421 if test "$wxUSE_ZLIB" = "sys"; then
21422 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21424 if test "${ac_cv_header_tiffio_h+set}" = set; then
21425 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21426 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21427 if test "${ac_cv_header_tiffio_h+set}" = set; then
21428 echo $ECHO_N "(cached) $ECHO_C" >&6
21430 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21431 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21433 # Is the header compilable?
21434 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21435 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21436 cat >conftest.
$ac_ext <<_ACEOF
21439 cat confdefs.h
>>conftest.
$ac_ext
21440 cat >>conftest.
$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21442 $ac_includes_default
21443 #include <tiffio.h>
21445 rm -f conftest.
$ac_objext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21447 (eval $ac_compile) 2>conftest.er1
21449 grep -v '^ *+' conftest.er1
>conftest.err
21451 cat conftest.err
>&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); } &&
21454 { ac_try
='test -z "$ac_c_werror_flag"
21455 || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try
='test -s conftest.$ac_objext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 ac_header_compiler
=yes
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.
$ac_ext >&5
21472 ac_header_compiler
=no
21474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21476 echo "${ECHO_T}$ac_header_compiler" >&6
21478 # Is the header present?
21479 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21480 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21481 cat >conftest.
$ac_ext <<_ACEOF
21484 cat confdefs.h
>>conftest.
$ac_ext
21485 cat >>conftest.
$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21487 #include <tiffio.h>
21489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21492 grep -v '^ *+' conftest.er1
>conftest.err
21494 cat conftest.err
>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } >/dev
/null
; then
21497 if test -s conftest.err
; then
21498 ac_cpp_err
=$ac_c_preproc_warn_flag
21499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21506 if test -z "$ac_cpp_err"; then
21507 ac_header_preproc
=yes
21509 echo "$as_me: failed program was:" >&5
21510 sed 's/^/| /' conftest.
$ac_ext >&5
21512 ac_header_preproc
=no
21514 rm -f conftest.err conftest.
$ac_ext
21515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21516 echo "${ECHO_T}$ac_header_preproc" >&6
21518 # So? What about this header?
21519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21521 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21522 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21523 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21524 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21525 ac_header_preproc
=yes
21528 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21529 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21530 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21531 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21532 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21533 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21534 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21535 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21536 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21537 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21538 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21539 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21542 ## ----------------------------------------- ##
21543 ## Report this to wx-dev@lists.wxwidgets.org ##
21544 ## ----------------------------------------- ##
21547 sed "s/^/$as_me: WARNING: /" >&2
21550 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21551 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21552 if test "${ac_cv_header_tiffio_h+set}" = set; then
21553 echo $ECHO_N "(cached) $ECHO_C" >&6
21555 ac_cv_header_tiffio_h
=$ac_header_preproc
21557 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21558 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21561 if test $ac_cv_header_tiffio_h = yes; then
21563 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21564 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21565 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21566 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 ac_check_lib_save_LIBS
=$LIBS
21569 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21570 cat >conftest.
$ac_ext <<_ACEOF
21573 cat confdefs.h
>>conftest.
$ac_ext
21574 cat >>conftest.
$ac_ext <<_ACEOF
21575 /* end confdefs.h. */
21577 /* Override any gcc2 internal prototype to avoid an error. */
21581 /* We use char because int might match the return type of a gcc2
21582 builtin and then its argument prototype would still apply. */
21592 rm -f conftest.
$ac_objext conftest
$ac_exeext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21594 (eval $ac_link) 2>conftest.er1
21596 grep -v '^ *+' conftest.er1
>conftest.err
21598 cat conftest.err
>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try
='test -z "$ac_c_werror_flag"
21602 || test ! -s conftest.err'
21603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21604 (eval $ac_try) 2>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; } &&
21608 { ac_try
='test -s conftest$ac_exeext'
21609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21610 (eval $ac_try) 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; }; then
21614 ac_cv_lib_tiff_TIFFError
=yes
21616 echo "$as_me: failed program was:" >&5
21617 sed 's/^/| /' conftest.
$ac_ext >&5
21619 ac_cv_lib_tiff_TIFFError
=no
21621 rm -f conftest.err conftest.
$ac_objext \
21622 conftest
$ac_exeext conftest.
$ac_ext
21623 LIBS
=$ac_check_lib_save_LIBS
21625 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21626 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21627 if test $ac_cv_lib_tiff_TIFFError = yes; then
21628 TIFF_LINK
=" -ltiff"
21637 if test "x$TIFF_LINK" = "x" ; then
21638 if test "$wxUSE_LIBTIFF" = "sys" ; then
21639 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21640 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21641 { (exit 1); exit 1; }; }
21643 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21644 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21645 wxUSE_LIBTIFF
=builtin
21654 if test "$wxUSE_EXPAT" != "no"; then
21656 cat >>confdefs.h
<<\_ACEOF
21657 #define wxUSE_EXPAT 1
21660 cat >>confdefs.h
<<\_ACEOF
21661 #define wxUSE_XML 1
21665 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21666 if test "${ac_cv_header_expat_h+set}" = set; then
21667 echo "$as_me:$LINENO: checking for expat.h" >&5
21668 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21669 if test "${ac_cv_header_expat_h+set}" = set; then
21670 echo $ECHO_N "(cached) $ECHO_C" >&6
21672 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21673 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21675 # Is the header compilable?
21676 echo "$as_me:$LINENO: checking expat.h usability" >&5
21677 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21678 cat >conftest.
$ac_ext <<_ACEOF
21681 cat confdefs.h
>>conftest.
$ac_ext
21682 cat >>conftest.
$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21684 $ac_includes_default
21687 rm -f conftest.
$ac_objext
21688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21689 (eval $ac_compile) 2>conftest.er1
21691 grep -v '^ *+' conftest.er1
>conftest.err
21693 cat conftest.err
>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } &&
21696 { ac_try
='test -z "$ac_c_werror_flag"
21697 || test ! -s conftest.err'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; } &&
21703 { ac_try
='test -s conftest.$ac_objext'
21704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21705 (eval $ac_try) 2>&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); }; }; then
21709 ac_header_compiler
=yes
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.
$ac_ext >&5
21714 ac_header_compiler
=no
21716 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21718 echo "${ECHO_T}$ac_header_compiler" >&6
21720 # Is the header present?
21721 echo "$as_me:$LINENO: checking expat.h presence" >&5
21722 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21723 cat >conftest.
$ac_ext <<_ACEOF
21726 cat confdefs.h
>>conftest.
$ac_ext
21727 cat >>conftest.
$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21734 grep -v '^ *+' conftest.er1
>conftest.err
21736 cat conftest.err
>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } >/dev
/null
; then
21739 if test -s conftest.err
; then
21740 ac_cpp_err
=$ac_c_preproc_warn_flag
21741 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21748 if test -z "$ac_cpp_err"; then
21749 ac_header_preproc
=yes
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.
$ac_ext >&5
21754 ac_header_preproc
=no
21756 rm -f conftest.err conftest.
$ac_ext
21757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21758 echo "${ECHO_T}$ac_header_preproc" >&6
21760 # So? What about this header?
21761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21763 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21764 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21765 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21766 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21767 ac_header_preproc
=yes
21770 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21771 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21772 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21773 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21774 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21775 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21776 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21777 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21778 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21779 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21780 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21781 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21784 ## ----------------------------------------- ##
21785 ## Report this to wx-dev@lists.wxwidgets.org ##
21786 ## ----------------------------------------- ##
21789 sed "s/^/$as_me: WARNING: /" >&2
21792 echo "$as_me:$LINENO: checking for expat.h" >&5
21793 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21794 if test "${ac_cv_header_expat_h+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21797 ac_cv_header_expat_h
=$ac_header_preproc
21799 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21800 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21803 if test $ac_cv_header_expat_h = yes; then
21808 if test "x$found_expat_h" = "x1"; then
21809 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21810 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21811 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21812 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 ac_cpp
='$CXXCPP $CPPFLAGS'
21819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21823 cat >conftest.
$ac_ext <<_ACEOF
21826 cat confdefs.h
>>conftest.
$ac_ext
21827 cat >>conftest.
$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21838 rm -f conftest.
$ac_objext
21839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21840 (eval $ac_compile) 2>conftest.er1
21842 grep -v '^ *+' conftest.er1
>conftest.err
21844 cat conftest.err
>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try
='test -z "$ac_cxx_werror_flag"
21848 || test ! -s conftest.err'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; } &&
21854 { ac_try
='test -s conftest.$ac_objext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 wx_cv_expat_is_not_broken
=yes
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.
$ac_ext >&5
21865 wx_cv_expat_is_not_broken
=no
21868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21870 ac_cpp
='$CPP $CPPFLAGS'
21871 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21878 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21879 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21880 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21881 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21882 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21883 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21884 echo $ECHO_N "(cached) $ECHO_C" >&6
21886 ac_check_lib_save_LIBS
=$LIBS
21887 LIBS
="-lexpat $LIBS"
21888 cat >conftest.
$ac_ext <<_ACEOF
21891 cat confdefs.h
>>conftest.
$ac_ext
21892 cat >>conftest.
$ac_ext <<_ACEOF
21893 /* end confdefs.h. */
21895 /* Override any gcc2 internal prototype to avoid an error. */
21899 /* We use char because int might match the return type of a gcc2
21900 builtin and then its argument prototype would still apply. */
21901 char XML_ParserCreate ();
21905 XML_ParserCreate ();
21910 rm -f conftest.
$ac_objext conftest
$ac_exeext
21911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21912 (eval $ac_link) 2>conftest.er1
21914 grep -v '^ *+' conftest.er1
>conftest.err
21916 cat conftest.err
>&5
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); } &&
21919 { ac_try
='test -z "$ac_c_werror_flag"
21920 || test ! -s conftest.err'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; } &&
21926 { ac_try
='test -s conftest$ac_exeext'
21927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21928 (eval $ac_try) 2>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 ac_cv_lib_expat_XML_ParserCreate
=yes
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.
$ac_ext >&5
21937 ac_cv_lib_expat_XML_ParserCreate
=no
21939 rm -f conftest.err conftest.
$ac_objext \
21940 conftest
$ac_exeext conftest.
$ac_ext
21941 LIBS
=$ac_check_lib_save_LIBS
21943 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21944 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21945 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21946 EXPAT_LINK
=" -lexpat"
21951 if test "x$EXPAT_LINK" = "x" ; then
21952 if test "$wxUSE_EXPAT" = "sys" ; then
21953 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21954 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21955 { (exit 1); exit 1; }; }
21957 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21958 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21959 wxUSE_EXPAT
=builtin
21965 if test "$wxUSE_EXPAT" = "builtin" ; then
21968 subdirs
="$subdirs src/expat"
21975 if test "$wxUSE_LIBMSPACK" != "no"; then
21977 if test "${ac_cv_header_mspack_h+set}" = set; then
21978 echo "$as_me:$LINENO: checking for mspack.h" >&5
21979 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21980 if test "${ac_cv_header_mspack_h+set}" = set; then
21981 echo $ECHO_N "(cached) $ECHO_C" >&6
21983 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21984 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21986 # Is the header compilable?
21987 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21988 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21989 cat >conftest.
$ac_ext <<_ACEOF
21992 cat confdefs.h
>>conftest.
$ac_ext
21993 cat >>conftest.
$ac_ext <<_ACEOF
21994 /* end confdefs.h. */
21995 $ac_includes_default
21996 #include <mspack.h>
21998 rm -f conftest.
$ac_objext
21999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22000 (eval $ac_compile) 2>conftest.er1
22002 grep -v '^ *+' conftest.er1
>conftest.err
22004 cat conftest.err
>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } &&
22007 { ac_try
='test -z "$ac_c_werror_flag"
22008 || test ! -s conftest.err'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; } &&
22014 { ac_try
='test -s conftest.$ac_objext'
22015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016 (eval $ac_try) 2>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); }; }; then
22020 ac_header_compiler
=yes
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.
$ac_ext >&5
22025 ac_header_compiler
=no
22027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22029 echo "${ECHO_T}$ac_header_compiler" >&6
22031 # Is the header present?
22032 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22033 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22034 cat >conftest.
$ac_ext <<_ACEOF
22037 cat confdefs.h
>>conftest.
$ac_ext
22038 cat >>conftest.
$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 #include <mspack.h>
22042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22043 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22045 grep -v '^ *+' conftest.er1
>conftest.err
22047 cat conftest.err
>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } >/dev
/null
; then
22050 if test -s conftest.err
; then
22051 ac_cpp_err
=$ac_c_preproc_warn_flag
22052 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22059 if test -z "$ac_cpp_err"; then
22060 ac_header_preproc
=yes
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.
$ac_ext >&5
22065 ac_header_preproc
=no
22067 rm -f conftest.err conftest.
$ac_ext
22068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22069 echo "${ECHO_T}$ac_header_preproc" >&6
22071 # So? What about this header?
22072 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22074 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22075 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22076 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22077 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22078 ac_header_preproc
=yes
22081 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22082 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22083 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22084 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22085 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22086 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22087 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22088 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22089 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22090 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22091 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22092 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22095 ## ----------------------------------------- ##
22096 ## Report this to wx-dev@lists.wxwidgets.org ##
22097 ## ----------------------------------------- ##
22100 sed "s/^/$as_me: WARNING: /" >&2
22103 echo "$as_me:$LINENO: checking for mspack.h" >&5
22104 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22105 if test "${ac_cv_header_mspack_h+set}" = set; then
22106 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 ac_cv_header_mspack_h
=$ac_header_preproc
22110 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22111 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22114 if test $ac_cv_header_mspack_h = yes; then
22119 if test "x$found_mspack_h" = "x1"; then
22120 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22121 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22122 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22123 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 ac_check_lib_save_LIBS
=$LIBS
22126 LIBS
="-lmspack $LIBS"
22127 cat >conftest.
$ac_ext <<_ACEOF
22130 cat confdefs.h
>>conftest.
$ac_ext
22131 cat >>conftest.
$ac_ext <<_ACEOF
22132 /* end confdefs.h. */
22134 /* Override any gcc2 internal prototype to avoid an error. */
22138 /* We use char because int might match the return type of a gcc2
22139 builtin and then its argument prototype would still apply. */
22140 char mspack_create_chm_decompressor ();
22144 mspack_create_chm_decompressor ();
22149 rm -f conftest.
$ac_objext conftest
$ac_exeext
22150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22151 (eval $ac_link) 2>conftest.er1
22153 grep -v '^ *+' conftest.er1
>conftest.err
22155 cat conftest.err
>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } &&
22158 { ac_try
='test -z "$ac_c_werror_flag"
22159 || test ! -s conftest.err'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; } &&
22165 { ac_try
='test -s conftest$ac_exeext'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; }; then
22171 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.
$ac_ext >&5
22176 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22178 rm -f conftest.err conftest.
$ac_objext \
22179 conftest
$ac_exeext conftest.
$ac_ext
22180 LIBS
=$ac_check_lib_save_LIBS
22182 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22183 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22184 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22185 MSPACK_LINK
=" -lmspack"
22189 if test "x$MSPACK_LINK" = "x" ; then
22192 cat >>confdefs.h
<<\_ACEOF
22193 #define wxUSE_LIBMSPACK 1
22208 if test "$USE_WIN32" = 1 ; then
22210 for ac_header
in w32api.h
22212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22214 echo "$as_me:$LINENO: checking for $ac_header" >&5
22215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22222 # Is the header compilable?
22223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22225 cat >conftest.
$ac_ext <<_ACEOF
22228 cat confdefs.h
>>conftest.
$ac_ext
22229 cat >>conftest.
$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 #include <$ac_header>
22234 rm -f conftest.
$ac_objext
22235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22236 (eval $ac_compile) 2>conftest.er1
22238 grep -v '^ *+' conftest.er1
>conftest.err
22240 cat conftest.err
>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try
='test -z "$ac_c_werror_flag"
22244 || test ! -s conftest.err'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; } &&
22250 { ac_try
='test -s conftest.$ac_objext'
22251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22252 (eval $ac_try) 2>&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); }; }; then
22256 ac_header_compiler
=yes
22258 echo "$as_me: failed program was:" >&5
22259 sed 's/^/| /' conftest.
$ac_ext >&5
22261 ac_header_compiler
=no
22263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22265 echo "${ECHO_T}$ac_header_compiler" >&6
22267 # Is the header present?
22268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22270 cat >conftest.
$ac_ext <<_ACEOF
22273 cat confdefs.h
>>conftest.
$ac_ext
22274 cat >>conftest.
$ac_ext <<_ACEOF
22275 /* end confdefs.h. */
22276 #include <$ac_header>
22278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22279 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
22286 if test -s conftest.err
; then
22287 ac_cpp_err
=$ac_c_preproc_warn_flag
22288 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22295 if test -z "$ac_cpp_err"; then
22296 ac_header_preproc
=yes
22298 echo "$as_me: failed program was:" >&5
22299 sed 's/^/| /' conftest.
$ac_ext >&5
22301 ac_header_preproc
=no
22303 rm -f conftest.err conftest.
$ac_ext
22304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22305 echo "${ECHO_T}$ac_header_preproc" >&6
22307 # So? What about this header?
22308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22314 ac_header_preproc
=yes
22317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22331 ## ----------------------------------------- ##
22332 ## Report this to wx-dev@lists.wxwidgets.org ##
22333 ## ----------------------------------------- ##
22336 sed "s/^/$as_me: WARNING: /" >&2
22339 echo "$as_me:$LINENO: checking for $ac_header" >&5
22340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22342 echo $ECHO_N "(cached) $ECHO_C" >&6
22344 eval "$as_ac_Header=\$ac_header_preproc"
22346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22351 cat >>confdefs.h
<<_ACEOF
22352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22359 if test "${ac_cv_header_windows_h+set}" = set; then
22360 echo "$as_me:$LINENO: checking for windows.h" >&5
22361 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22362 if test "${ac_cv_header_windows_h+set}" = set; then
22363 echo $ECHO_N "(cached) $ECHO_C" >&6
22365 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22366 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22368 # Is the header compilable?
22369 echo "$as_me:$LINENO: checking windows.h usability" >&5
22370 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22371 cat >conftest.
$ac_ext <<_ACEOF
22374 cat confdefs.h
>>conftest.
$ac_ext
22375 cat >>conftest.
$ac_ext <<_ACEOF
22376 /* end confdefs.h. */
22377 $ac_includes_default
22378 #include <windows.h>
22380 rm -f conftest.
$ac_objext
22381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22382 (eval $ac_compile) 2>conftest.er1
22384 grep -v '^ *+' conftest.er1
>conftest.err
22386 cat conftest.err
>&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } &&
22389 { ac_try
='test -z "$ac_c_werror_flag"
22390 || test ! -s conftest.err'
22391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392 (eval $ac_try) 2>&5
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); }; } &&
22396 { ac_try
='test -s conftest.$ac_objext'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 ac_header_compiler
=yes
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.
$ac_ext >&5
22407 ac_header_compiler
=no
22409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22411 echo "${ECHO_T}$ac_header_compiler" >&6
22413 # Is the header present?
22414 echo "$as_me:$LINENO: checking windows.h presence" >&5
22415 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22416 cat >conftest.
$ac_ext <<_ACEOF
22419 cat confdefs.h
>>conftest.
$ac_ext
22420 cat >>conftest.
$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 #include <windows.h>
22424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22425 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22427 grep -v '^ *+' conftest.er1
>conftest.err
22429 cat conftest.err
>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } >/dev
/null
; then
22432 if test -s conftest.err
; then
22433 ac_cpp_err
=$ac_c_preproc_warn_flag
22434 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22441 if test -z "$ac_cpp_err"; then
22442 ac_header_preproc
=yes
22444 echo "$as_me: failed program was:" >&5
22445 sed 's/^/| /' conftest.
$ac_ext >&5
22447 ac_header_preproc
=no
22449 rm -f conftest.err conftest.
$ac_ext
22450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22451 echo "${ECHO_T}$ac_header_preproc" >&6
22453 # So? What about this header?
22454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22456 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22457 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22458 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22459 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22460 ac_header_preproc
=yes
22463 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22464 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22465 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22466 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22467 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22468 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22469 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22470 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22471 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22472 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22473 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22474 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22477 ## ----------------------------------------- ##
22478 ## Report this to wx-dev@lists.wxwidgets.org ##
22479 ## ----------------------------------------- ##
22482 sed "s/^/$as_me: WARNING: /" >&2
22485 echo "$as_me:$LINENO: checking for windows.h" >&5
22486 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22487 if test "${ac_cv_header_windows_h+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 ac_cv_header_windows_h
=$ac_header_preproc
22492 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22493 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22496 if test $ac_cv_header_windows_h = yes; then
22500 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22501 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22502 { (exit 1); exit 1; }; }
22508 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22510 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22511 LIBS
="$LIBS -loleacc"
22516 LIBS
="$LIBS -lkernel32 -luser32"
22517 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
22520 if test "$wxUSE_ODBC" = "sys" ; then
22523 if test "$wxUSE_ODBC" = "yes" ; then
22524 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
22525 cat >>confdefs.h
<<\_ACEOF
22526 #define wxUSE_ODBC 1
22531 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22532 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
22534 WIN32INSTALL
=win32install
22537 if test "$wxUSE_GUI" = "yes"; then
22547 if test "$wxUSE_COCOA" = 1 ; then
22548 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22549 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22550 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22551 wxUSE_PRINTING_ARCHITECTURE
=no
22553 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22554 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22555 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22556 wxUSE_DRAG_AND_DROP
=no
22558 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22559 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22560 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22565 if test "$wxUSE_MSW" = 1 ; then
22571 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22575 if test "$wxUSE_GTK" = 1; then
22576 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22577 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22579 gtk_version_cached
=1
22580 if test "${wx_cv_lib_gtk+set}" = set; then
22581 echo $ECHO_N "(cached) $ECHO_C" >&6
22584 gtk_version_cached
=0
22585 echo "$as_me:$LINENO: result: " >&5
22586 echo "${ECHO_T}" >&6
22589 if test "$wxUSE_THREADS" = "yes"; then
22590 GTK_MODULES
=gthread
22594 if test "x$wxUSE_GTK2" = "xyes"; then
22595 # Check whether --enable-gtktest or --disable-gtktest was given.
22596 if test "${enable_gtktest+set}" = set; then
22597 enableval
="$enable_gtktest"
22603 pkg_config_args
=gtk
+-2.0
22604 for module
in .
$GTK_MODULES
22608 pkg_config_args
="$pkg_config_args gthread-2.0"
22615 # Extract the first word of "pkg-config", so it can be a program name with args.
22616 set dummy pkg
-config; ac_word
=$2
22617 echo "$as_me:$LINENO: checking for $ac_word" >&5
22618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22619 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22620 echo $ECHO_N "(cached) $ECHO_C" >&6
22622 case $PKG_CONFIG in
22624 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22628 for as_dir
in $PATH
22631 test -z "$as_dir" && as_dir
=.
22632 for ac_exec_ext
in '' $ac_executable_extensions; do
22633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22634 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22641 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22645 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22647 if test -n "$PKG_CONFIG"; then
22648 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22649 echo "${ECHO_T}$PKG_CONFIG" >&6
22651 echo "$as_me:$LINENO: result: no" >&5
22652 echo "${ECHO_T}no" >&6
22656 if test x
$PKG_CONFIG != xno
; then
22657 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
22660 echo "*** pkg-config too old; version 0.7 or better required."
22668 min_gtk_version
=2.0.0
22669 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22670 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22672 if test x
$PKG_CONFIG != xno
; then
22673 ## don't try to run the test against uninstalled libtool libs
22674 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22675 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22679 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22686 if test x
"$no_gtk" = x
; then
22687 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
22688 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
22689 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22691 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22693 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
22694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22695 if test "x$enable_gtktest" = "xyes" ; then
22696 ac_save_CFLAGS
="$CFLAGS"
22697 ac_save_LIBS
="$LIBS"
22698 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22699 LIBS
="$GTK_LIBS $LIBS"
22701 if test "$cross_compiling" = yes; then
22702 echo $ac_n "cross compiling; assumed OK... $ac_c"
22704 cat >conftest.
$ac_ext <<_ACEOF
22707 cat confdefs.h
>>conftest.
$ac_ext
22708 cat >>conftest.
$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22711 #include <gtk/gtk.h>
22713 #include <stdlib.h>
22718 int major, minor, micro;
22721 system ("touch conf.gtktest");
22723 /* HP/UX 9 (%@#!) writes to sscanf strings */
22724 tmp_version = g_strdup("$min_gtk_version");
22725 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
22726 printf("%s, bad version string\n", "$min_gtk_version");
22730 if ((gtk_major_version != $gtk_config_major_version) ||
22731 (gtk_minor_version != $gtk_config_minor_version) ||
22732 (gtk_micro_version != $gtk_config_micro_version))
22734 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22735 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22736 gtk_major_version, gtk_minor_version, gtk_micro_version);
22737 printf ("*** was found! If pkg-config was correct, then it is best\n");
22738 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22739 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22740 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22741 printf("*** required on your system.\n");
22742 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22743 printf("*** to point to the correct configuration files\n");
22745 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22746 (gtk_minor_version != GTK_MINOR_VERSION) ||
22747 (gtk_micro_version != GTK_MICRO_VERSION))
22749 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22750 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22751 printf("*** library (version %d.%d.%d)\n",
22752 gtk_major_version, gtk_minor_version, gtk_micro_version);
22756 if ((gtk_major_version > major) ||
22757 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22758 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22764 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22765 gtk_major_version, gtk_minor_version, gtk_micro_version);
22766 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22767 major, minor, micro);
22768 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22770 printf("*** If you have already installed a sufficiently new version, this error\n");
22771 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22772 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22773 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22774 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22775 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22776 printf("*** so that the correct libraries are found at run-time))\n");
22783 rm -f conftest
$ac_exeext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22796 echo "$as_me: program exited with status $ac_status" >&5
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.
$ac_ext >&5
22800 ( exit $ac_status )
22803 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22805 CFLAGS
="$ac_save_CFLAGS"
22806 LIBS
="$ac_save_LIBS"
22809 if test "x$no_gtk" = x
; then
22810 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22811 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22814 echo "$as_me:$LINENO: result: no" >&5
22815 echo "${ECHO_T}no" >&6
22816 if test "$PKG_CONFIG" = "no" ; then
22817 echo "*** A new enough version of pkg-config was not found."
22818 echo "*** See http://pkgconfig.sourceforge.net"
22820 if test -f conf.gtktest
; then
22823 echo "*** Could not run GTK+ test program, checking why..."
22824 ac_save_CFLAGS
="$CFLAGS"
22825 ac_save_LIBS
="$LIBS"
22826 CFLAGS
="$CFLAGS $GTK_CFLAGS"
22827 LIBS
="$LIBS $GTK_LIBS"
22828 cat >conftest.
$ac_ext <<_ACEOF
22831 cat confdefs.h
>>conftest.
$ac_ext
22832 cat >>conftest.
$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22835 #include <gtk/gtk.h>
22841 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22846 rm -f conftest.
$ac_objext conftest
$ac_exeext
22847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22848 (eval $ac_link) 2>conftest.er1
22850 grep -v '^ *+' conftest.er1
>conftest.err
22852 cat conftest.err
>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); } &&
22855 { ac_try
='test -z "$ac_c_werror_flag"
22856 || test ! -s conftest.err'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; } &&
22862 { ac_try
='test -s conftest$ac_exeext'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; }; then
22868 echo "*** The test program compiled, but did not run. This usually means"
22869 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22870 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22871 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22872 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22873 echo "*** is required on your system"
22875 echo "*** If you have an old version installed, it is best to remove it, although"
22876 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.
$ac_ext >&5
22881 echo "*** The test program failed to compile or link. See the file config.log for the"
22882 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22884 rm -f conftest.err conftest.
$ac_objext \
22885 conftest
$ac_exeext conftest.
$ac_ext
22886 CFLAGS
="$ac_save_CFLAGS"
22887 LIBS
="$ac_save_LIBS"
22900 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22901 if test "${with_gtk_prefix+set}" = set; then
22902 withval
="$with_gtk_prefix"
22903 gtk_config_prefix
="$withval"
22905 gtk_config_prefix
=""
22908 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22909 if test "${with_gtk_exec_prefix+set}" = set; then
22910 withval
="$with_gtk_exec_prefix"
22911 gtk_config_exec_prefix
="$withval"
22913 gtk_config_exec_prefix
=""
22915 # Check whether --enable-gtktest or --disable-gtktest was given.
22916 if test "${enable_gtktest+set}" = set; then
22917 enableval
="$enable_gtktest"
22923 for module
in .
$GTK_MODULES
22927 gtk_config_args
="$gtk_config_args gthread"
22932 if test x
$gtk_config_exec_prefix != x
; then
22933 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22934 if test x
${GTK_CONFIG+set} != xset
; then
22935 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
22938 if test x
$gtk_config_prefix != x
; then
22939 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
22940 if test x
${GTK_CONFIG+set} != xset
; then
22941 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
22945 # Extract the first word of "gtk-config", so it can be a program name with args.
22946 set dummy gtk
-config; ac_word
=$2
22947 echo "$as_me:$LINENO: checking for $ac_word" >&5
22948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22949 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22950 echo $ECHO_N "(cached) $ECHO_C" >&6
22952 case $GTK_CONFIG in
22954 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
22957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22958 for as_dir
in $PATH
22961 test -z "$as_dir" && as_dir
=.
22962 for ac_exec_ext
in '' $ac_executable_extensions; do
22963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22964 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22971 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
22975 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
22977 if test -n "$GTK_CONFIG"; then
22978 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22979 echo "${ECHO_T}$GTK_CONFIG" >&6
22981 echo "$as_me:$LINENO: result: no" >&5
22982 echo "${ECHO_T}no" >&6
22985 min_gtk_version
=1.2.7
22986 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22987 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22989 if test "$GTK_CONFIG" = "no" ; then
22992 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
22993 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
22994 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
22995 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22996 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
22997 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22998 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
22999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23000 if test "x$enable_gtktest" = "xyes" ; then
23001 ac_save_CFLAGS
="$CFLAGS"
23002 ac_save_LIBS
="$LIBS"
23003 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23004 LIBS
="$GTK_LIBS $LIBS"
23006 if test "$cross_compiling" = yes; then
23007 echo $ac_n "cross compiling; assumed OK... $ac_c"
23009 cat >conftest.
$ac_ext <<_ACEOF
23012 cat confdefs.h
>>conftest.
$ac_ext
23013 cat >>conftest.
$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23016 #include <gtk/gtk.h>
23018 #include <stdlib.h>
23023 int major, minor, micro;
23026 system ("touch conf.gtktest");
23028 /* HP/UX 9 (%@#!) writes to sscanf strings */
23029 tmp_version = g_strdup("$min_gtk_version");
23030 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23031 printf("%s, bad version string\n", "$min_gtk_version");
23035 if ((gtk_major_version != $gtk_config_major_version) ||
23036 (gtk_minor_version != $gtk_config_minor_version) ||
23037 (gtk_micro_version != $gtk_config_micro_version))
23039 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23040 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23041 gtk_major_version, gtk_minor_version, gtk_micro_version);
23042 printf ("*** was found! If gtk-config was correct, then it is best\n");
23043 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23044 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23045 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23046 printf("*** required on your system.\n");
23047 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23048 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23049 printf("*** before re-running configure\n");
23051 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23052 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23053 (gtk_minor_version != GTK_MINOR_VERSION) ||
23054 (gtk_micro_version != GTK_MICRO_VERSION))
23056 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23057 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23058 printf("*** library (version %d.%d.%d)\n",
23059 gtk_major_version, gtk_minor_version, gtk_micro_version);
23061 #endif /* defined (GTK_MAJOR_VERSION) ... */
23064 if ((gtk_major_version > major) ||
23065 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23066 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23072 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23073 gtk_major_version, gtk_minor_version, gtk_micro_version);
23074 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23075 major, minor, micro);
23076 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23078 printf("*** If you have already installed a sufficiently new version, this error\n");
23079 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23080 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23081 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23082 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23083 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23084 printf("*** so that the correct libraries are found at run-time))\n");
23091 rm -f conftest
$ac_exeext
23092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093 (eval $ac_link) 2>&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; }; then
23104 echo "$as_me: program exited with status $ac_status" >&5
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 ( exit $ac_status )
23111 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23113 CFLAGS
="$ac_save_CFLAGS"
23114 LIBS
="$ac_save_LIBS"
23117 if test "x$no_gtk" = x
; then
23118 echo "$as_me:$LINENO: result: yes" >&5
23119 echo "${ECHO_T}yes" >&6
23120 wx_cv_lib_gtk
=1.2.7
23122 echo "$as_me:$LINENO: result: no" >&5
23123 echo "${ECHO_T}no" >&6
23124 if test "$GTK_CONFIG" = "no" ; then
23125 echo "*** The gtk-config script installed by GTK could not be found"
23126 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23127 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23128 echo "*** full path to gtk-config."
23130 if test -f conf.gtktest
; then
23133 echo "*** Could not run GTK test program, checking why..."
23134 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23135 LIBS
="$LIBS $GTK_LIBS"
23136 cat >conftest.
$ac_ext <<_ACEOF
23139 cat confdefs.h
>>conftest.
$ac_ext
23140 cat >>conftest.
$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23143 #include <gtk/gtk.h>
23149 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23154 rm -f conftest.
$ac_objext conftest
$ac_exeext
23155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23156 (eval $ac_link) 2>conftest.er1
23158 grep -v '^ *+' conftest.er1
>conftest.err
23160 cat conftest.err
>&5
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); } &&
23163 { ac_try
='test -z "$ac_c_werror_flag"
23164 || test ! -s conftest.err'
23165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23166 (eval $ac_try) 2>&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); }; } &&
23170 { ac_try
='test -s conftest$ac_exeext'
23171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23172 (eval $ac_try) 2>&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); }; }; then
23176 echo "*** The test program compiled, but did not run. This usually means"
23177 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23178 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23179 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23180 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23181 echo "*** is required on your system"
23183 echo "*** If you have an old version installed, it is best to remove it, although"
23184 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23186 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23187 echo "*** came with the system with the command"
23189 echo "*** rpm --erase --nodeps gtk gtk-devel"
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.
$ac_ext >&5
23194 echo "*** The test program failed to compile or link. See the file config.log for the"
23195 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23196 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23197 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23199 rm -f conftest.err conftest.
$ac_objext \
23200 conftest
$ac_exeext conftest.
$ac_ext
23201 CFLAGS
="$ac_save_CFLAGS"
23202 LIBS
="$ac_save_LIBS"
23214 if test -z "$wx_cv_lib_gtk"; then
23216 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23217 if test "${with_gtk_prefix+set}" = set; then
23218 withval
="$with_gtk_prefix"
23219 gtk_config_prefix
="$withval"
23221 gtk_config_prefix
=""
23224 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23225 if test "${with_gtk_exec_prefix+set}" = set; then
23226 withval
="$with_gtk_exec_prefix"
23227 gtk_config_exec_prefix
="$withval"
23229 gtk_config_exec_prefix
=""
23231 # Check whether --enable-gtktest or --disable-gtktest was given.
23232 if test "${enable_gtktest+set}" = set; then
23233 enableval
="$enable_gtktest"
23239 for module
in .
$GTK_MODULES
23243 gtk_config_args
="$gtk_config_args gthread"
23248 if test x
$gtk_config_exec_prefix != x
; then
23249 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23250 if test x
${GTK_CONFIG+set} != xset
; then
23251 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23254 if test x
$gtk_config_prefix != x
; then
23255 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23256 if test x
${GTK_CONFIG+set} != xset
; then
23257 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23261 # Extract the first word of "gtk-config", so it can be a program name with args.
23262 set dummy gtk
-config; ac_word
=$2
23263 echo "$as_me:$LINENO: checking for $ac_word" >&5
23264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23265 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23266 echo $ECHO_N "(cached) $ECHO_C" >&6
23268 case $GTK_CONFIG in
23270 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23274 for as_dir
in $PATH
23277 test -z "$as_dir" && as_dir
=.
23278 for ac_exec_ext
in '' $ac_executable_extensions; do
23279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23280 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23287 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23291 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23293 if test -n "$GTK_CONFIG"; then
23294 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23295 echo "${ECHO_T}$GTK_CONFIG" >&6
23297 echo "$as_me:$LINENO: result: no" >&5
23298 echo "${ECHO_T}no" >&6
23301 min_gtk_version
=1.2.3
23302 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23303 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23305 if test "$GTK_CONFIG" = "no" ; then
23308 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23309 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23310 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23312 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23313 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23314 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23315 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23316 if test "x$enable_gtktest" = "xyes" ; then
23317 ac_save_CFLAGS
="$CFLAGS"
23318 ac_save_LIBS
="$LIBS"
23319 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23320 LIBS
="$GTK_LIBS $LIBS"
23322 if test "$cross_compiling" = yes; then
23323 echo $ac_n "cross compiling; assumed OK... $ac_c"
23325 cat >conftest.
$ac_ext <<_ACEOF
23328 cat confdefs.h
>>conftest.
$ac_ext
23329 cat >>conftest.
$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23332 #include <gtk/gtk.h>
23334 #include <stdlib.h>
23339 int major, minor, micro;
23342 system ("touch conf.gtktest");
23344 /* HP/UX 9 (%@#!) writes to sscanf strings */
23345 tmp_version = g_strdup("$min_gtk_version");
23346 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23347 printf("%s, bad version string\n", "$min_gtk_version");
23351 if ((gtk_major_version != $gtk_config_major_version) ||
23352 (gtk_minor_version != $gtk_config_minor_version) ||
23353 (gtk_micro_version != $gtk_config_micro_version))
23355 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23356 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23357 gtk_major_version, gtk_minor_version, gtk_micro_version);
23358 printf ("*** was found! If gtk-config was correct, then it is best\n");
23359 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23360 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23361 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23362 printf("*** required on your system.\n");
23363 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23364 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23365 printf("*** before re-running configure\n");
23367 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23368 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23369 (gtk_minor_version != GTK_MINOR_VERSION) ||
23370 (gtk_micro_version != GTK_MICRO_VERSION))
23372 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23373 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23374 printf("*** library (version %d.%d.%d)\n",
23375 gtk_major_version, gtk_minor_version, gtk_micro_version);
23377 #endif /* defined (GTK_MAJOR_VERSION) ... */
23380 if ((gtk_major_version > major) ||
23381 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23382 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23388 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23389 gtk_major_version, gtk_minor_version, gtk_micro_version);
23390 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23391 major, minor, micro);
23392 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23394 printf("*** If you have already installed a sufficiently new version, this error\n");
23395 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23396 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23397 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23398 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23399 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23400 printf("*** so that the correct libraries are found at run-time))\n");
23407 rm -f conftest
$ac_exeext
23408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23409 (eval $ac_link) 2>&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; }; then
23420 echo "$as_me: program exited with status $ac_status" >&5
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.
$ac_ext >&5
23424 ( exit $ac_status )
23427 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23429 CFLAGS
="$ac_save_CFLAGS"
23430 LIBS
="$ac_save_LIBS"
23433 if test "x$no_gtk" = x
; then
23434 echo "$as_me:$LINENO: result: yes" >&5
23435 echo "${ECHO_T}yes" >&6
23436 wx_cv_lib_gtk
=1.2.3
23438 echo "$as_me:$LINENO: result: no" >&5
23439 echo "${ECHO_T}no" >&6
23440 if test "$GTK_CONFIG" = "no" ; then
23441 echo "*** The gtk-config script installed by GTK could not be found"
23442 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23443 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23444 echo "*** full path to gtk-config."
23446 if test -f conf.gtktest
; then
23449 echo "*** Could not run GTK test program, checking why..."
23450 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23451 LIBS
="$LIBS $GTK_LIBS"
23452 cat >conftest.
$ac_ext <<_ACEOF
23455 cat confdefs.h
>>conftest.
$ac_ext
23456 cat >>conftest.
$ac_ext <<_ACEOF
23457 /* end confdefs.h. */
23459 #include <gtk/gtk.h>
23465 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23470 rm -f conftest.
$ac_objext conftest
$ac_exeext
23471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23472 (eval $ac_link) 2>conftest.er1
23474 grep -v '^ *+' conftest.er1
>conftest.err
23476 cat conftest.err
>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } &&
23479 { ac_try
='test -z "$ac_c_werror_flag"
23480 || test ! -s conftest.err'
23481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23482 (eval $ac_try) 2>&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; } &&
23486 { ac_try
='test -s conftest$ac_exeext'
23487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488 (eval $ac_try) 2>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); }; }; then
23492 echo "*** The test program compiled, but did not run. This usually means"
23493 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23494 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23495 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23496 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23497 echo "*** is required on your system"
23499 echo "*** If you have an old version installed, it is best to remove it, although"
23500 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23502 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23503 echo "*** came with the system with the command"
23505 echo "*** rpm --erase --nodeps gtk gtk-devel"
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.
$ac_ext >&5
23510 echo "*** The test program failed to compile or link. See the file config.log for the"
23511 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23512 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23513 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23515 rm -f conftest.err conftest.
$ac_objext \
23516 conftest
$ac_exeext conftest.
$ac_ext
23517 CFLAGS
="$ac_save_CFLAGS"
23518 LIBS
="$ac_save_LIBS"
23532 if test -z "$wx_cv_lib_gtk"; then
23535 wx_cv_cflags_gtk
=$GTK_CFLAGS
23536 wx_cv_libs_gtk
=$GTK_LIBS
23543 if test "$gtk_version_cached" = 1; then
23544 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23545 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23548 case "$wx_cv_lib_gtk" in
23557 *) { { echo "$as_me:$LINENO: error:
23558 Please check that gtk-config is in path, the directory
23559 where GTK+ libraries are installed (returned by
23560 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23561 equivalent variable and GTK+ is version 1.2.3 or above.
23563 echo "$as_me: error:
23564 Please check that gtk-config is in path, the directory
23565 where GTK+ libraries are installed (returned by
23566 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23567 equivalent variable and GTK+ is version 1.2.3 or above.
23569 { (exit 1); exit 1; }; }
23573 if test "$WXGTK20" = 1; then
23574 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
23578 if test -z "$PKG_CONFIG"; then
23579 # Extract the first word of "pkg-config", so it can be a program name with args.
23580 set dummy pkg
-config; ac_word
=$2
23581 echo "$as_me:$LINENO: checking for $ac_word" >&5
23582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23583 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23584 echo $ECHO_N "(cached) $ECHO_C" >&6
23586 case $PKG_CONFIG in
23588 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23592 for as_dir
in $PATH
23595 test -z "$as_dir" && as_dir
=.
23596 for ac_exec_ext
in '' $ac_executable_extensions; do
23597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23598 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23605 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23609 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23611 if test -n "$PKG_CONFIG"; then
23612 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23613 echo "${ECHO_T}$PKG_CONFIG" >&6
23615 echo "$as_me:$LINENO: result: no" >&5
23616 echo "${ECHO_T}no" >&6
23621 if test "$PKG_CONFIG" = "no" ; then
23622 echo "*** The pkg-config script could not be found. Make sure it is"
23623 echo "*** in your path, or set the PKG_CONFIG environment variable"
23624 echo "*** to the full path to pkg-config."
23625 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23627 PKG_CONFIG_MIN_VERSION
=0.9.0
23628 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23629 echo "$as_me:$LINENO: checking for pangoft2" >&5
23630 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23632 if $PKG_CONFIG --exists "pangoft2" ; then
23633 echo "$as_me:$LINENO: result: yes" >&5
23634 echo "${ECHO_T}yes" >&6
23637 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23638 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23639 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
23640 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23641 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23643 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23644 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23645 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
23646 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23647 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23651 ## If we have a custom action on failure, don't print errors, but
23652 ## do set a variable so people can do so.
23653 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23660 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23661 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23665 if test $succeeded = yes; then
23667 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23668 # FIXME: GTK_LIBS already has a lot of what this is
23669 # about to add, but we go ahead and just add
23670 # it all again anyway.
23671 # This is not a good way to manage things. And simply
23672 # uniq'ing the list later is hardly better.
23673 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23677 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23678 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23679 wxUSE_PRINTING_ARCHITECTURE
="no"
23686 save_CFLAGS
="$CFLAGS"
23688 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23689 LIBS
="$LIBS $GTK_LIBS"
23691 for ac_func
in pango_font_family_is_monospace
23693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23694 echo "$as_me:$LINENO: checking for $ac_func" >&5
23695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23696 if eval "test \"\${$as_ac_var+set}\" = set"; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23699 cat >conftest.
$ac_ext <<_ACEOF
23702 cat confdefs.h
>>conftest.
$ac_ext
23703 cat >>conftest.
$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23707 #define $ac_func innocuous_$ac_func
23709 /* System header to define __stub macros and hopefully few prototypes,
23710 which can conflict with char $ac_func (); below.
23711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23712 <limits.h> exists even on freestanding compilers. */
23715 # include <limits.h>
23717 # include <assert.h>
23722 /* Override any gcc2 internal prototype to avoid an error. */
23727 /* We use char because int might match the return type of a gcc2
23728 builtin and then its argument prototype would still apply. */
23730 /* The GNU C library defines this for functions which it implements
23731 to always fail with ENOSYS. Some functions are actually named
23732 something starting with __ and the normal name is an alias. */
23733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23736 char (*f) () = $ac_func;
23745 return f != $ac_func;
23750 rm -f conftest.
$ac_objext conftest
$ac_exeext
23751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23752 (eval $ac_link) 2>conftest.er1
23754 grep -v '^ *+' conftest.er1
>conftest.err
23756 cat conftest.err
>&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); } &&
23759 { ac_try
='test -z "$ac_c_werror_flag"
23760 || test ! -s conftest.err'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; } &&
23766 { ac_try
='test -s conftest$ac_exeext'
23767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23768 (eval $ac_try) 2>&5
23770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23771 (exit $ac_status); }; }; then
23772 eval "$as_ac_var=yes"
23774 echo "$as_me: failed program was:" >&5
23775 sed 's/^/| /' conftest.
$ac_ext >&5
23777 eval "$as_ac_var=no"
23779 rm -f conftest.err conftest.
$ac_objext \
23780 conftest
$ac_exeext conftest.
$ac_ext
23782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23784 if test `eval echo '${'$as_ac_var'}'` = yes; then
23785 cat >>confdefs.h
<<_ACEOF
23786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23792 CFLAGS
="$save_CFLAGS"
23795 if test "$wxUSE_UNICODE" = "yes"; then
23796 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23797 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23802 if test "$USE_DARWIN" != 1; then
23804 for ac_func
in poll
23806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23807 echo "$as_me:$LINENO: checking for $ac_func" >&5
23808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23809 if eval "test \"\${$as_ac_var+set}\" = set"; then
23810 echo $ECHO_N "(cached) $ECHO_C" >&6
23812 cat >conftest.
$ac_ext <<_ACEOF
23815 cat confdefs.h
>>conftest.
$ac_ext
23816 cat >>conftest.
$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23820 #define $ac_func innocuous_$ac_func
23822 /* System header to define __stub macros and hopefully few prototypes,
23823 which can conflict with char $ac_func (); below.
23824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23825 <limits.h> exists even on freestanding compilers. */
23828 # include <limits.h>
23830 # include <assert.h>
23835 /* Override any gcc2 internal prototype to avoid an error. */
23840 /* We use char because int might match the return type of a gcc2
23841 builtin and then its argument prototype would still apply. */
23843 /* The GNU C library defines this for functions which it implements
23844 to always fail with ENOSYS. Some functions are actually named
23845 something starting with __ and the normal name is an alias. */
23846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23849 char (*f) () = $ac_func;
23858 return f != $ac_func;
23863 rm -f conftest.
$ac_objext conftest
$ac_exeext
23864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23865 (eval $ac_link) 2>conftest.er1
23867 grep -v '^ *+' conftest.er1
>conftest.err
23869 cat conftest.err
>&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } &&
23872 { ac_try
='test -z "$ac_c_werror_flag"
23873 || test ! -s conftest.err'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; } &&
23879 { ac_try
='test -s conftest$ac_exeext'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; }; then
23885 eval "$as_ac_var=yes"
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.
$ac_ext >&5
23890 eval "$as_ac_var=no"
23892 rm -f conftest.err conftest.
$ac_objext \
23893 conftest
$ac_exeext conftest.
$ac_ext
23895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23897 if test `eval echo '${'$as_ac_var'}'` = yes; then
23898 cat >>confdefs.h
<<_ACEOF
23899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23907 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
23908 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23910 AFMINSTALL
=afminstall
23914 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23915 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23916 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23919 ac_check_lib_save_LIBS
=$LIBS
23921 cat >conftest.
$ac_ext <<_ACEOF
23924 cat confdefs.h
>>conftest.
$ac_ext
23925 cat >>conftest.
$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23928 /* Override any gcc2 internal prototype to avoid an error. */
23932 /* We use char because int might match the return type of a gcc2
23933 builtin and then its argument prototype would still apply. */
23934 char gdk_im_open ();
23943 rm -f conftest.
$ac_objext conftest
$ac_exeext
23944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23945 (eval $ac_link) 2>conftest.er1
23947 grep -v '^ *+' conftest.er1
>conftest.err
23949 cat conftest.err
>&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); } &&
23952 { ac_try
='test -z "$ac_c_werror_flag"
23953 || test ! -s conftest.err'
23954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23955 (eval $ac_try) 2>&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); }; } &&
23959 { ac_try
='test -s conftest$ac_exeext'
23960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23961 (eval $ac_try) 2>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); }; }; then
23965 ac_cv_lib_gdk_gdk_im_open
=yes
23967 echo "$as_me: failed program was:" >&5
23968 sed 's/^/| /' conftest.
$ac_ext >&5
23970 ac_cv_lib_gdk_gdk_im_open
=no
23972 rm -f conftest.err conftest.
$ac_objext \
23973 conftest
$ac_exeext conftest.
$ac_ext
23974 LIBS
=$ac_check_lib_save_LIBS
23976 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23977 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23978 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23979 cat >>confdefs.h
<<\_ACEOF
23987 if test "$wxUSE_GPE" = "yes"; then
23988 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23989 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23992 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23994 for ac_extension
in a so sl dylib
; do
23995 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23996 ac_find_libraries
=$ac_dir
24002 if test "$ac_find_libraries" != "" ; then
24004 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24006 if test $result = 0; then
24009 ac_path_to_link
=" -L$ac_find_libraries"
24012 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24014 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24015 echo "${ECHO_T}found at $ac_find_libraries" >&6
24017 echo "$as_me:$LINENO: result: not found" >&5
24018 echo "${ECHO_T}not found" >&6
24024 if test "$wxUSE_MGL" = 1; then
24025 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24026 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24027 if test "x$MGL_ROOT" = x
; then
24028 echo "$as_me:$LINENO: result: not found" >&5
24029 echo "${ECHO_T}not found" >&6
24030 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24031 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24032 { (exit 1); exit 1; }; }
24034 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24035 echo "${ECHO_T}$MGL_ROOT" >&6
24038 echo "$as_me:$LINENO: checking for libmgl location" >&5
24039 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24042 if test "x$wxUSE_SHARED" = xyes
; then
24043 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24045 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24049 mgl_os_candidates
="dos32/dj2"
24052 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24053 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24054 { (exit 1); exit 1; }; }
24060 for mgl_os_i
in $mgl_os_candidates ; do
24061 if test "x$mgl_os" = x
; then
24062 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24063 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
24064 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
24069 if test "x$mgl_lib_type" = x
; then
24070 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
24071 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
24072 mgl_lib_type
=release
24079 if test "x$mgl_os" = x
; then
24080 echo "$as_me:$LINENO: result: not found" >&5
24081 echo "${ECHO_T}not found" >&6
24082 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24083 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24084 { (exit 1); exit 1; }; }
24086 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24087 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24089 wxUSE_UNIVERSAL
="yes"
24091 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
24092 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24094 AFMINSTALL
=afminstall
24099 if test "$wxUSE_MICROWIN" = 1; then
24100 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24101 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24102 if test "x$MICROWINDOWS" = x
; then
24103 echo "$as_me:$LINENO: result: not found" >&5
24104 echo "${ECHO_T}not found" >&6
24105 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24106 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24107 { (exit 1); exit 1; }; }
24109 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24110 echo "${ECHO_T}$MICROWINDOWS" >&6
24113 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24114 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24115 echo "${ECHO_T}MicroWindows' libraries found." >&6
24117 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24118 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24119 { (exit 1); exit 1; }; }
24122 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24123 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24125 wxUSE_UNIVERSAL
="yes"
24127 AFMINSTALL
=afminstall
24129 GUIDIST
=MICROWIN_DIST
24131 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24134 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24135 echo "$as_me:$LINENO: checking for X" >&5
24136 echo $ECHO_N "checking for X... $ECHO_C" >&6
24139 # Check whether --with-x or --without-x was given.
24140 if test "${with_x+set}" = set; then
24144 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24145 if test "x$with_x" = xno
; then
24146 # The user explicitly disabled X.
24149 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
24150 # Both variables are already set.
24153 if test "${ac_cv_have_x+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24156 # One or both of the vars are not set, and there is no cached value.
24157 ac_x_includes
=no ac_x_libraries
=no
24158 rm -fr conftest.dir
24159 if mkdir conftest.dir
; then
24161 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24162 cat >Imakefile
<<'_ACEOF'
24164 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24166 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24167 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24168 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24169 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24170 for ac_extension
in a so sl
; do
24171 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
24172 test -f $ac_im_libdir/libX11.
$ac_extension; then
24173 ac_im_usrlibdir
=$ac_im_libdir; break
24176 # Screen out bogus values from the imake configuration. They are
24177 # bogus both because they are the default anyway, and because
24178 # using them would break gcc on systems where it needs fixed includes.
24179 case $ac_im_incroot in
24181 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24183 case $ac_im_usrlibdir in
24184 /usr
/lib
| /lib
) ;;
24185 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24189 rm -fr conftest.dir
24192 # Standard set of common directories for X headers.
24193 # Check X11 before X11Rn because it is often a symlink to the current release.
24205 /usr/local/X11/include
24206 /usr/local/X11R6/include
24207 /usr/local/X11R5/include
24208 /usr/local/X11R4/include
24210 /usr/local/include/X11
24211 /usr/local/include/X11R6
24212 /usr/local/include/X11R5
24213 /usr/local/include/X11R4
24217 /usr/XFree86/include/X11
24221 /usr/unsupported/include
24222 /usr/athena/include
24223 /usr/local/x11r5/include
24224 /usr/lpp/Xamples/include
24226 /usr/openwin/include
24227 /usr/openwin/share/include'
24229 if test "$ac_x_includes" = no
; then
24230 # Guess where to find include files, by looking for Intrinsic.h.
24231 # First, try using that file with no special directory specified.
24232 cat >conftest.
$ac_ext <<_ACEOF
24235 cat confdefs.h
>>conftest.
$ac_ext
24236 cat >>conftest.
$ac_ext <<_ACEOF
24237 /* end confdefs.h. */
24238 #include <X11/Intrinsic.h>
24240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24243 grep -v '^ *+' conftest.er1
>conftest.err
24245 cat conftest.err
>&5
24246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24247 (exit $ac_status); } >/dev
/null
; then
24248 if test -s conftest.err
; then
24249 ac_cpp_err
=$ac_c_preproc_warn_flag
24250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24257 if test -z "$ac_cpp_err"; then
24258 # We can compile using X headers with no special include directory.
24261 echo "$as_me: failed program was:" >&5
24262 sed 's/^/| /' conftest.
$ac_ext >&5
24264 for ac_dir
in $ac_x_header_dirs; do
24265 if test -r "$ac_dir/X11/Intrinsic.h"; then
24266 ac_x_includes
=$ac_dir
24271 rm -f conftest.err conftest.
$ac_ext
24272 fi # $ac_x_includes = no
24274 if test "$ac_x_libraries" = no
; then
24275 # Check for the libraries.
24276 # See if we find them without any special options.
24277 # Don't add to $LIBS permanently.
24280 cat >conftest.
$ac_ext <<_ACEOF
24283 cat confdefs.h
>>conftest.
$ac_ext
24284 cat >>conftest.
$ac_ext <<_ACEOF
24285 /* end confdefs.h. */
24286 #include <X11/Intrinsic.h>
24295 rm -f conftest.
$ac_objext conftest
$ac_exeext
24296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24297 (eval $ac_link) 2>conftest.er1
24299 grep -v '^ *+' conftest.er1
>conftest.err
24301 cat conftest.err
>&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } &&
24304 { ac_try
='test -z "$ac_c_werror_flag"
24305 || test ! -s conftest.err'
24306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307 (eval $ac_try) 2>&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); }; } &&
24311 { ac_try
='test -s conftest$ac_exeext'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; }; then
24318 # We can link X programs with no special library path.
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.
$ac_ext >&5
24325 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24327 # Don't even attempt the hair of trying to link an X program!
24328 for ac_extension
in a so sl
; do
24329 if test -r $ac_dir/libXt.
$ac_extension; then
24330 ac_x_libraries
=$ac_dir
24336 rm -f conftest.err conftest.
$ac_objext \
24337 conftest
$ac_exeext conftest.
$ac_ext
24338 fi # $ac_x_libraries = no
24340 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
24341 # Didn't find X anywhere. Cache the known absence of X.
24342 ac_cv_have_x
="have_x=no"
24344 # Record where we found X for the cache.
24345 ac_cv_have_x
="have_x=yes \
24346 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24351 eval "$ac_cv_have_x"
24354 if test "$have_x" != yes; then
24355 echo "$as_me:$LINENO: result: $have_x" >&5
24356 echo "${ECHO_T}$have_x" >&6
24359 # If each of the values was on the command line, it overrides each guess.
24360 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24361 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24362 # Update the cache value to reflect the command line values.
24363 ac_cv_have_x
="have_x=yes \
24364 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24365 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24366 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24369 if test "$no_x" = yes; then
24370 # Not all programs may use this symbol, but it does not hurt to define it.
24372 cat >>confdefs.h
<<\_ACEOF
24373 #define X_DISPLAY_MISSING 1
24376 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24378 if test -n "$x_includes"; then
24379 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24382 # It would also be nice to do this for all -L options, not just this one.
24383 if test -n "$x_libraries"; then
24384 X_LIBS
="$X_LIBS -L$x_libraries"
24385 # For Solaris; some versions of Sun CC require a space after -R and
24386 # others require no space. Words are not sufficient . . . .
24387 case `(uname -sr) 2>/dev/null` in
24389 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24390 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24391 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24392 cat >conftest.
$ac_ext <<_ACEOF
24395 cat confdefs.h
>>conftest.
$ac_ext
24396 cat >>conftest.
$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24407 rm -f conftest.
$ac_objext conftest
$ac_exeext
24408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24409 (eval $ac_link) 2>conftest.er1
24411 grep -v '^ *+' conftest.er1
>conftest.err
24413 cat conftest.err
>&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } &&
24416 { ac_try
='test -z "$ac_c_werror_flag"
24417 || test ! -s conftest.err'
24418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24419 (eval $ac_try) 2>&5
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); }; } &&
24423 { ac_try
='test -s conftest$ac_exeext'
24424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425 (eval $ac_try) 2>&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; }; then
24431 echo "$as_me: failed program was:" >&5
24432 sed 's/^/| /' conftest.
$ac_ext >&5
24436 rm -f conftest.err conftest.
$ac_objext \
24437 conftest
$ac_exeext conftest.
$ac_ext
24438 if test $ac_R_nospace = yes; then
24439 echo "$as_me:$LINENO: result: no" >&5
24440 echo "${ECHO_T}no" >&6
24441 X_LIBS
="$X_LIBS -R$x_libraries"
24443 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24444 cat >conftest.
$ac_ext <<_ACEOF
24447 cat confdefs.h
>>conftest.
$ac_ext
24448 cat >>conftest.
$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24459 rm -f conftest.
$ac_objext conftest
$ac_exeext
24460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24461 (eval $ac_link) 2>conftest.er1
24463 grep -v '^ *+' conftest.er1
>conftest.err
24465 cat conftest.err
>&5
24466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24467 (exit $ac_status); } &&
24468 { ac_try
='test -z "$ac_c_werror_flag"
24469 || test ! -s conftest.err'
24470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24471 (eval $ac_try) 2>&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); }; } &&
24475 { ac_try
='test -s conftest$ac_exeext'
24476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24477 (eval $ac_try) 2>&5
24479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24480 (exit $ac_status); }; }; then
24483 echo "$as_me: failed program was:" >&5
24484 sed 's/^/| /' conftest.
$ac_ext >&5
24488 rm -f conftest.err conftest.
$ac_objext \
24489 conftest
$ac_exeext conftest.
$ac_ext
24490 if test $ac_R_space = yes; then
24491 echo "$as_me:$LINENO: result: yes" >&5
24492 echo "${ECHO_T}yes" >&6
24493 X_LIBS
="$X_LIBS -R $x_libraries"
24495 echo "$as_me:$LINENO: result: neither works" >&5
24496 echo "${ECHO_T}neither works" >&6
24499 LIBS
=$ac_xsave_LIBS
24503 # Check for system-dependent libraries X programs must link with.
24504 # Do this before checking for the system-independent R6 libraries
24505 # (-lICE), since we may need -lsocket or whatever for X linking.
24507 if test "$ISC" = yes; then
24508 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24510 # Martyn Johnson says this is needed for Ultrix, if the X
24511 # libraries were built with DECnet support. And Karl Berry says
24512 # the Alpha needs dnet_stub (dnet does not exist).
24513 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24514 cat >conftest.
$ac_ext <<_ACEOF
24517 cat confdefs.h
>>conftest.
$ac_ext
24518 cat >>conftest.
$ac_ext <<_ACEOF
24519 /* end confdefs.h. */
24521 /* Override any gcc2 internal prototype to avoid an error. */
24525 /* We use char because int might match the return type of a gcc2
24526 builtin and then its argument prototype would still apply. */
24527 char XOpenDisplay ();
24536 rm -f conftest.
$ac_objext conftest
$ac_exeext
24537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24538 (eval $ac_link) 2>conftest.er1
24540 grep -v '^ *+' conftest.er1
>conftest.err
24542 cat conftest.err
>&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } &&
24545 { ac_try
='test -z "$ac_c_werror_flag"
24546 || test ! -s conftest.err'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; } &&
24552 { ac_try
='test -s conftest$ac_exeext'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24560 echo "$as_me: failed program was:" >&5
24561 sed 's/^/| /' conftest.
$ac_ext >&5
24563 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24564 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24565 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24566 echo $ECHO_N "(cached) $ECHO_C" >&6
24568 ac_check_lib_save_LIBS
=$LIBS
24569 LIBS
="-ldnet $LIBS"
24570 cat >conftest.
$ac_ext <<_ACEOF
24573 cat confdefs.h
>>conftest.
$ac_ext
24574 cat >>conftest.
$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24577 /* Override any gcc2 internal prototype to avoid an error. */
24581 /* We use char because int might match the return type of a gcc2
24582 builtin and then its argument prototype would still apply. */
24592 rm -f conftest.
$ac_objext conftest
$ac_exeext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24594 (eval $ac_link) 2>conftest.er1
24596 grep -v '^ *+' conftest.er1
>conftest.err
24598 cat conftest.err
>&5
24599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24600 (exit $ac_status); } &&
24601 { ac_try
='test -z "$ac_c_werror_flag"
24602 || test ! -s conftest.err'
24603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24604 (eval $ac_try) 2>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); }; } &&
24608 { ac_try
='test -s conftest$ac_exeext'
24609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24610 (eval $ac_try) 2>&5
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); }; }; then
24614 ac_cv_lib_dnet_dnet_ntoa
=yes
24616 echo "$as_me: failed program was:" >&5
24617 sed 's/^/| /' conftest.
$ac_ext >&5
24619 ac_cv_lib_dnet_dnet_ntoa
=no
24621 rm -f conftest.err conftest.
$ac_objext \
24622 conftest
$ac_exeext conftest.
$ac_ext
24623 LIBS
=$ac_check_lib_save_LIBS
24625 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24626 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24627 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24631 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24632 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24633 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24634 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24635 echo $ECHO_N "(cached) $ECHO_C" >&6
24637 ac_check_lib_save_LIBS
=$LIBS
24638 LIBS
="-ldnet_stub $LIBS"
24639 cat >conftest.
$ac_ext <<_ACEOF
24642 cat confdefs.h
>>conftest.
$ac_ext
24643 cat >>conftest.
$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24646 /* Override any gcc2 internal prototype to avoid an error. */
24650 /* We use char because int might match the return type of a gcc2
24651 builtin and then its argument prototype would still apply. */
24661 rm -f conftest.
$ac_objext conftest
$ac_exeext
24662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24663 (eval $ac_link) 2>conftest.er1
24665 grep -v '^ *+' conftest.er1
>conftest.err
24667 cat conftest.err
>&5
24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24669 (exit $ac_status); } &&
24670 { ac_try
='test -z "$ac_c_werror_flag"
24671 || 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_lib_dnet_stub_dnet_ntoa
=yes
24685 echo "$as_me: failed program was:" >&5
24686 sed 's/^/| /' conftest.
$ac_ext >&5
24688 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24690 rm -f conftest.err conftest.
$ac_objext \
24691 conftest
$ac_exeext conftest.
$ac_ext
24692 LIBS
=$ac_check_lib_save_LIBS
24694 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24695 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24696 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24697 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
24702 rm -f conftest.err conftest.
$ac_objext \
24703 conftest
$ac_exeext conftest.
$ac_ext
24704 LIBS
="$ac_xsave_LIBS"
24706 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24707 # to get the SysV transport functions.
24708 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24710 # The nsl library prevents programs from opening the X display
24711 # on Irix 5.2, according to T.E. Dickey.
24712 # The functions gethostbyname, getservbyname, and inet_addr are
24713 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24714 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24715 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24716 if test "${ac_cv_func_gethostbyname+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 cat >conftest.
$ac_ext <<_ACEOF
24722 cat confdefs.h
>>conftest.
$ac_ext
24723 cat >>conftest.
$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24725 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24727 #define gethostbyname innocuous_gethostbyname
24729 /* System header to define __stub macros and hopefully few prototypes,
24730 which can conflict with char gethostbyname (); below.
24731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24732 <limits.h> exists even on freestanding compilers. */
24735 # include <limits.h>
24737 # include <assert.h>
24740 #undef gethostbyname
24742 /* Override any gcc2 internal prototype to avoid an error. */
24747 /* We use char because int might match the return type of a gcc2
24748 builtin and then its argument prototype would still apply. */
24749 char gethostbyname ();
24750 /* The GNU C library defines this for functions which it implements
24751 to always fail with ENOSYS. Some functions are actually named
24752 something starting with __ and the normal name is an alias. */
24753 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24756 char (*f) () = gethostbyname;
24765 return f != gethostbyname;
24770 rm -f conftest.
$ac_objext conftest
$ac_exeext
24771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24772 (eval $ac_link) 2>conftest.er1
24774 grep -v '^ *+' conftest.er1
>conftest.err
24776 cat conftest.err
>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try
='test -z "$ac_c_werror_flag"
24780 || test ! -s conftest.err'
24781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782 (eval $ac_try) 2>&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); }; } &&
24786 { ac_try
='test -s conftest$ac_exeext'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; }; then
24792 ac_cv_func_gethostbyname
=yes
24794 echo "$as_me: failed program was:" >&5
24795 sed 's/^/| /' conftest.
$ac_ext >&5
24797 ac_cv_func_gethostbyname
=no
24799 rm -f conftest.err conftest.
$ac_objext \
24800 conftest
$ac_exeext conftest.
$ac_ext
24802 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24803 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24805 if test $ac_cv_func_gethostbyname = no
; then
24806 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24807 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24808 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24809 echo $ECHO_N "(cached) $ECHO_C" >&6
24811 ac_check_lib_save_LIBS
=$LIBS
24813 cat >conftest.
$ac_ext <<_ACEOF
24816 cat confdefs.h
>>conftest.
$ac_ext
24817 cat >>conftest.
$ac_ext <<_ACEOF
24818 /* end confdefs.h. */
24820 /* Override any gcc2 internal prototype to avoid an error. */
24824 /* We use char because int might match the return type of a gcc2
24825 builtin and then its argument prototype would still apply. */
24826 char gethostbyname ();
24835 rm -f conftest.
$ac_objext conftest
$ac_exeext
24836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24837 (eval $ac_link) 2>conftest.er1
24839 grep -v '^ *+' conftest.er1
>conftest.err
24841 cat conftest.err
>&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } &&
24844 { ac_try
='test -z "$ac_c_werror_flag"
24845 || test ! -s conftest.err'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; } &&
24851 { ac_try
='test -s conftest$ac_exeext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 ac_cv_lib_nsl_gethostbyname
=yes
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.
$ac_ext >&5
24862 ac_cv_lib_nsl_gethostbyname
=no
24864 rm -f conftest.err conftest.
$ac_objext \
24865 conftest
$ac_exeext conftest.
$ac_ext
24866 LIBS
=$ac_check_lib_save_LIBS
24868 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24869 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24870 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24871 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
24874 if test $ac_cv_lib_nsl_gethostbyname = no
; then
24875 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24876 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24877 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24878 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 ac_check_lib_save_LIBS
=$LIBS
24882 cat >conftest.
$ac_ext <<_ACEOF
24885 cat confdefs.h
>>conftest.
$ac_ext
24886 cat >>conftest.
$ac_ext <<_ACEOF
24887 /* end confdefs.h. */
24889 /* Override any gcc2 internal prototype to avoid an error. */
24893 /* We use char because int might match the return type of a gcc2
24894 builtin and then its argument prototype would still apply. */
24895 char gethostbyname ();
24904 rm -f conftest.
$ac_objext conftest
$ac_exeext
24905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24906 (eval $ac_link) 2>conftest.er1
24908 grep -v '^ *+' conftest.er1
>conftest.err
24910 cat conftest.err
>&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } &&
24913 { ac_try
='test -z "$ac_c_werror_flag"
24914 || test ! -s conftest.err'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; } &&
24920 { ac_try
='test -s conftest$ac_exeext'
24921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24922 (eval $ac_try) 2>&5
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); }; }; then
24926 ac_cv_lib_bsd_gethostbyname
=yes
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.
$ac_ext >&5
24931 ac_cv_lib_bsd_gethostbyname
=no
24933 rm -f conftest.err conftest.
$ac_objext \
24934 conftest
$ac_exeext conftest.
$ac_ext
24935 LIBS
=$ac_check_lib_save_LIBS
24937 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24938 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24939 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24940 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
24946 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24947 # socket/setsockopt and other routines are undefined under SCO ODT
24948 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24949 # on later versions), says Simon Leinen: it contains gethostby*
24950 # variants that don't use the name server (or something). -lsocket
24951 # must be given before -lnsl if both are needed. We assume that
24952 # if connect needs -lnsl, so does gethostbyname.
24953 echo "$as_me:$LINENO: checking for connect" >&5
24954 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24955 if test "${ac_cv_func_connect+set}" = set; then
24956 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 cat >conftest.
$ac_ext <<_ACEOF
24961 cat confdefs.h
>>conftest.
$ac_ext
24962 cat >>conftest.
$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24966 #define connect innocuous_connect
24968 /* System header to define __stub macros and hopefully few prototypes,
24969 which can conflict with char connect (); below.
24970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24971 <limits.h> exists even on freestanding compilers. */
24974 # include <limits.h>
24976 # include <assert.h>
24981 /* Override any gcc2 internal prototype to avoid an error. */
24986 /* We use char because int might match the return type of a gcc2
24987 builtin and then its argument prototype would still apply. */
24989 /* The GNU C library defines this for functions which it implements
24990 to always fail with ENOSYS. Some functions are actually named
24991 something starting with __ and the normal name is an alias. */
24992 #if defined (__stub_connect) || defined (__stub___connect)
24995 char (*f) () = connect;
25004 return f != connect;
25009 rm -f conftest.
$ac_objext conftest
$ac_exeext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25011 (eval $ac_link) 2>conftest.er1
25013 grep -v '^ *+' conftest.er1
>conftest.err
25015 cat conftest.err
>&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } &&
25018 { ac_try
='test -z "$ac_c_werror_flag"
25019 || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try
='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 ac_cv_func_connect
=yes
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.
$ac_ext >&5
25036 ac_cv_func_connect
=no
25038 rm -f conftest.err conftest.
$ac_objext \
25039 conftest
$ac_exeext conftest.
$ac_ext
25041 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25042 echo "${ECHO_T}$ac_cv_func_connect" >&6
25044 if test $ac_cv_func_connect = no
; then
25045 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25046 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25047 if test "${ac_cv_lib_socket_connect+set}" = set; then
25048 echo $ECHO_N "(cached) $ECHO_C" >&6
25050 ac_check_lib_save_LIBS
=$LIBS
25051 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25052 cat >conftest.
$ac_ext <<_ACEOF
25055 cat confdefs.h
>>conftest.
$ac_ext
25056 cat >>conftest.
$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25059 /* Override any gcc2 internal prototype to avoid an error. */
25063 /* We use char because int might match the return type of a gcc2
25064 builtin and then its argument prototype would still apply. */
25074 rm -f conftest.
$ac_objext conftest
$ac_exeext
25075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25076 (eval $ac_link) 2>conftest.er1
25078 grep -v '^ *+' conftest.er1
>conftest.err
25080 cat conftest.err
>&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } &&
25083 { ac_try
='test -z "$ac_c_werror_flag"
25084 || test ! -s conftest.err'
25085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25086 (eval $ac_try) 2>&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); }; } &&
25090 { ac_try
='test -s conftest$ac_exeext'
25091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25092 (eval $ac_try) 2>&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); }; }; then
25096 ac_cv_lib_socket_connect
=yes
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.
$ac_ext >&5
25101 ac_cv_lib_socket_connect
=no
25103 rm -f conftest.err conftest.
$ac_objext \
25104 conftest
$ac_exeext conftest.
$ac_ext
25105 LIBS
=$ac_check_lib_save_LIBS
25107 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25108 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25109 if test $ac_cv_lib_socket_connect = yes; then
25110 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25115 # Guillermo Gomez says -lposix is necessary on A/UX.
25116 echo "$as_me:$LINENO: checking for remove" >&5
25117 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25118 if test "${ac_cv_func_remove+set}" = set; then
25119 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 cat >conftest.
$ac_ext <<_ACEOF
25124 cat confdefs.h
>>conftest.
$ac_ext
25125 cat >>conftest.
$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25127 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25129 #define remove innocuous_remove
25131 /* System header to define __stub macros and hopefully few prototypes,
25132 which can conflict with char remove (); below.
25133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25134 <limits.h> exists even on freestanding compilers. */
25137 # include <limits.h>
25139 # include <assert.h>
25144 /* Override any gcc2 internal prototype to avoid an error. */
25149 /* We use char because int might match the return type of a gcc2
25150 builtin and then its argument prototype would still apply. */
25152 /* The GNU C library defines this for functions which it implements
25153 to always fail with ENOSYS. Some functions are actually named
25154 something starting with __ and the normal name is an alias. */
25155 #if defined (__stub_remove) || defined (__stub___remove)
25158 char (*f) () = remove;
25167 return f != remove;
25172 rm -f conftest.
$ac_objext conftest
$ac_exeext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25174 (eval $ac_link) 2>conftest.er1
25176 grep -v '^ *+' conftest.er1
>conftest.err
25178 cat conftest.err
>&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try
='test -z "$ac_c_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try
='test -s conftest$ac_exeext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25194 ac_cv_func_remove
=yes
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.
$ac_ext >&5
25199 ac_cv_func_remove
=no
25201 rm -f conftest.err conftest.
$ac_objext \
25202 conftest
$ac_exeext conftest.
$ac_ext
25204 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25205 echo "${ECHO_T}$ac_cv_func_remove" >&6
25207 if test $ac_cv_func_remove = no
; then
25208 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25209 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25210 if test "${ac_cv_lib_posix_remove+set}" = set; then
25211 echo $ECHO_N "(cached) $ECHO_C" >&6
25213 ac_check_lib_save_LIBS
=$LIBS
25214 LIBS
="-lposix $LIBS"
25215 cat >conftest.
$ac_ext <<_ACEOF
25218 cat confdefs.h
>>conftest.
$ac_ext
25219 cat >>conftest.
$ac_ext <<_ACEOF
25220 /* end confdefs.h. */
25222 /* Override any gcc2 internal prototype to avoid an error. */
25226 /* We use char because int might match the return type of a gcc2
25227 builtin and then its argument prototype would still apply. */
25237 rm -f conftest.
$ac_objext conftest
$ac_exeext
25238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25239 (eval $ac_link) 2>conftest.er1
25241 grep -v '^ *+' conftest.er1
>conftest.err
25243 cat conftest.err
>&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } &&
25246 { ac_try
='test -z "$ac_c_werror_flag"
25247 || test ! -s conftest.err'
25248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25249 (eval $ac_try) 2>&5
25251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25252 (exit $ac_status); }; } &&
25253 { ac_try
='test -s conftest$ac_exeext'
25254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25255 (eval $ac_try) 2>&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); }; }; then
25259 ac_cv_lib_posix_remove
=yes
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.
$ac_ext >&5
25264 ac_cv_lib_posix_remove
=no
25266 rm -f conftest.err conftest.
$ac_objext \
25267 conftest
$ac_exeext conftest.
$ac_ext
25268 LIBS
=$ac_check_lib_save_LIBS
25270 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25271 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25272 if test $ac_cv_lib_posix_remove = yes; then
25273 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25278 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25279 echo "$as_me:$LINENO: checking for shmat" >&5
25280 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25281 if test "${ac_cv_func_shmat+set}" = set; then
25282 echo $ECHO_N "(cached) $ECHO_C" >&6
25284 cat >conftest.
$ac_ext <<_ACEOF
25287 cat confdefs.h
>>conftest.
$ac_ext
25288 cat >>conftest.
$ac_ext <<_ACEOF
25289 /* end confdefs.h. */
25290 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25292 #define shmat innocuous_shmat
25294 /* System header to define __stub macros and hopefully few prototypes,
25295 which can conflict with char shmat (); below.
25296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25297 <limits.h> exists even on freestanding compilers. */
25300 # include <limits.h>
25302 # include <assert.h>
25307 /* Override any gcc2 internal prototype to avoid an error. */
25312 /* We use char because int might match the return type of a gcc2
25313 builtin and then its argument prototype would still apply. */
25315 /* The GNU C library defines this for functions which it implements
25316 to always fail with ENOSYS. Some functions are actually named
25317 something starting with __ and the normal name is an alias. */
25318 #if defined (__stub_shmat) || defined (__stub___shmat)
25321 char (*f) () = shmat;
25335 rm -f conftest.
$ac_objext conftest
$ac_exeext
25336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25337 (eval $ac_link) 2>conftest.er1
25339 grep -v '^ *+' conftest.er1
>conftest.err
25341 cat conftest.err
>&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } &&
25344 { ac_try
='test -z "$ac_c_werror_flag"
25345 || test ! -s conftest.err'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; } &&
25351 { ac_try
='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357 ac_cv_func_shmat
=yes
25359 echo "$as_me: failed program was:" >&5
25360 sed 's/^/| /' conftest.
$ac_ext >&5
25362 ac_cv_func_shmat
=no
25364 rm -f conftest.err conftest.
$ac_objext \
25365 conftest
$ac_exeext conftest.
$ac_ext
25367 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25368 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25370 if test $ac_cv_func_shmat = no
; then
25371 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25372 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25373 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25374 echo $ECHO_N "(cached) $ECHO_C" >&6
25376 ac_check_lib_save_LIBS
=$LIBS
25378 cat >conftest.
$ac_ext <<_ACEOF
25381 cat confdefs.h
>>conftest.
$ac_ext
25382 cat >>conftest.
$ac_ext <<_ACEOF
25383 /* end confdefs.h. */
25385 /* Override any gcc2 internal prototype to avoid an error. */
25389 /* We use char because int might match the return type of a gcc2
25390 builtin and then its argument prototype would still apply. */
25400 rm -f conftest.
$ac_objext conftest
$ac_exeext
25401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25402 (eval $ac_link) 2>conftest.er1
25404 grep -v '^ *+' conftest.er1
>conftest.err
25406 cat conftest.err
>&5
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); } &&
25409 { ac_try
='test -z "$ac_c_werror_flag"
25410 || test ! -s conftest.err'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; } &&
25416 { ac_try
='test -s conftest$ac_exeext'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; }; then
25422 ac_cv_lib_ipc_shmat
=yes
25424 echo "$as_me: failed program was:" >&5
25425 sed 's/^/| /' conftest.
$ac_ext >&5
25427 ac_cv_lib_ipc_shmat
=no
25429 rm -f conftest.err conftest.
$ac_objext \
25430 conftest
$ac_exeext conftest.
$ac_ext
25431 LIBS
=$ac_check_lib_save_LIBS
25433 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25434 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25435 if test $ac_cv_lib_ipc_shmat = yes; then
25436 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25442 # Check for libraries that X11R6 Xt/Xaw programs need.
25443 ac_save_LDFLAGS
=$LDFLAGS
25444 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25445 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25446 # check for ICE first), but we must link in the order -lSM -lICE or
25447 # we get undefined symbols. So assume we have SM if we have ICE.
25448 # These have to be linked with before -lX11, unlike the other
25449 # libraries we check for below, so use a different variable.
25450 # John Interrante, Karl Berry
25451 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25452 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25453 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6
25456 ac_check_lib_save_LIBS
=$LIBS
25457 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25458 cat >conftest.
$ac_ext <<_ACEOF
25461 cat confdefs.h
>>conftest.
$ac_ext
25462 cat >>conftest.
$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25465 /* Override any gcc2 internal prototype to avoid an error. */
25469 /* We use char because int might match the return type of a gcc2
25470 builtin and then its argument prototype would still apply. */
25471 char IceConnectionNumber ();
25475 IceConnectionNumber ();
25480 rm -f conftest.
$ac_objext conftest
$ac_exeext
25481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25482 (eval $ac_link) 2>conftest.er1
25484 grep -v '^ *+' conftest.er1
>conftest.err
25486 cat conftest.err
>&5
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); } &&
25489 { ac_try
='test -z "$ac_c_werror_flag"
25490 || test ! -s conftest.err'
25491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25492 (eval $ac_try) 2>&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); }; } &&
25496 { ac_try
='test -s conftest$ac_exeext'
25497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25498 (eval $ac_try) 2>&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); }; }; then
25502 ac_cv_lib_ICE_IceConnectionNumber
=yes
25504 echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.
$ac_ext >&5
25507 ac_cv_lib_ICE_IceConnectionNumber
=no
25509 rm -f conftest.err conftest.
$ac_objext \
25510 conftest
$ac_exeext conftest.
$ac_ext
25511 LIBS
=$ac_check_lib_save_LIBS
25513 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25514 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25515 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25516 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25519 LDFLAGS
=$ac_save_LDFLAGS
25524 if test "$no_x" = "yes"; then
25525 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25526 echo "$as_me: error: X11 not found" >&2;}
25527 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
25530 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25531 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25532 AFMINSTALL
=afminstall
25533 COMPILED_X_PROGRAM
=0
25537 if test "$wxUSE_X11" = 1; then
25538 if test "$wxUSE_NANOX" = "yes"; then
25539 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25540 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25541 if test "x$MICROWIN" = x
; then
25542 echo "$as_me:$LINENO: result: not found" >&5
25543 echo "${ECHO_T}not found" >&6
25544 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25545 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25546 { (exit 1); exit 1; }; }
25548 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25549 echo "${ECHO_T}$MICROWIN" >&6
25550 cat >>confdefs.h
<<\_ACEOF
25551 #define wxUSE_NANOX 1
25557 if test "$wxUSE_UNICODE" = "yes"; then
25561 if test -z "$PKG_CONFIG"; then
25562 # Extract the first word of "pkg-config", so it can be a program name with args.
25563 set dummy pkg
-config; ac_word
=$2
25564 echo "$as_me:$LINENO: checking for $ac_word" >&5
25565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25566 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25567 echo $ECHO_N "(cached) $ECHO_C" >&6
25569 case $PKG_CONFIG in
25571 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25575 for as_dir
in $PATH
25578 test -z "$as_dir" && as_dir
=.
25579 for ac_exec_ext
in '' $ac_executable_extensions; do
25580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25581 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25588 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25592 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25594 if test -n "$PKG_CONFIG"; then
25595 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25596 echo "${ECHO_T}$PKG_CONFIG" >&6
25598 echo "$as_me:$LINENO: result: no" >&5
25599 echo "${ECHO_T}no" >&6
25604 if test "$PKG_CONFIG" = "no" ; then
25605 echo "*** The pkg-config script could not be found. Make sure it is"
25606 echo "*** in your path, or set the PKG_CONFIG environment variable"
25607 echo "*** to the full path to pkg-config."
25608 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25610 PKG_CONFIG_MIN_VERSION
=0.9.0
25611 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25612 echo "$as_me:$LINENO: checking for pangox" >&5
25613 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25615 if $PKG_CONFIG --exists "pangox" ; then
25616 echo "$as_me:$LINENO: result: yes" >&5
25617 echo "${ECHO_T}yes" >&6
25620 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25621 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25622 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
25623 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25624 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25626 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25627 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25628 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
25629 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25630 echo "${ECHO_T}$PANGOX_LIBS" >&6
25634 ## If we have a custom action on failure, don't print errors, but
25635 ## do set a variable so people can do so.
25636 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25643 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25644 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25648 if test $succeeded = yes; then
25650 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
25651 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25655 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25656 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25657 { (exit 1); exit 1; }; }
25665 if test -z "$PKG_CONFIG"; then
25666 # Extract the first word of "pkg-config", so it can be a program name with args.
25667 set dummy pkg
-config; ac_word
=$2
25668 echo "$as_me:$LINENO: checking for $ac_word" >&5
25669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25670 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 case $PKG_CONFIG in
25675 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25679 for as_dir
in $PATH
25682 test -z "$as_dir" && as_dir
=.
25683 for ac_exec_ext
in '' $ac_executable_extensions; do
25684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25685 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25692 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25696 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25698 if test -n "$PKG_CONFIG"; then
25699 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25700 echo "${ECHO_T}$PKG_CONFIG" >&6
25702 echo "$as_me:$LINENO: result: no" >&5
25703 echo "${ECHO_T}no" >&6
25708 if test "$PKG_CONFIG" = "no" ; then
25709 echo "*** The pkg-config script could not be found. Make sure it is"
25710 echo "*** in your path, or set the PKG_CONFIG environment variable"
25711 echo "*** to the full path to pkg-config."
25712 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25714 PKG_CONFIG_MIN_VERSION
=0.9.0
25715 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25716 echo "$as_me:$LINENO: checking for pangoft2" >&5
25717 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25719 if $PKG_CONFIG --exists "pangoft2" ; then
25720 echo "$as_me:$LINENO: result: yes" >&5
25721 echo "${ECHO_T}yes" >&6
25724 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25725 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25726 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
25727 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25728 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25730 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25731 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25732 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
25733 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25734 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25738 ## If we have a custom action on failure, don't print errors, but
25739 ## do set a variable so people can do so.
25740 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25747 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25748 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25752 if test $succeeded = yes; then
25754 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
25755 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25759 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25760 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25761 wxUSE_PRINTING_ARCHITECTURE
="no"
25769 if test -z "$PKG_CONFIG"; then
25770 # Extract the first word of "pkg-config", so it can be a program name with args.
25771 set dummy pkg
-config; ac_word
=$2
25772 echo "$as_me:$LINENO: checking for $ac_word" >&5
25773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25774 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25775 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 case $PKG_CONFIG in
25779 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25783 for as_dir
in $PATH
25786 test -z "$as_dir" && as_dir
=.
25787 for ac_exec_ext
in '' $ac_executable_extensions; do
25788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25789 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25796 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25800 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25802 if test -n "$PKG_CONFIG"; then
25803 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25804 echo "${ECHO_T}$PKG_CONFIG" >&6
25806 echo "$as_me:$LINENO: result: no" >&5
25807 echo "${ECHO_T}no" >&6
25812 if test "$PKG_CONFIG" = "no" ; then
25813 echo "*** The pkg-config script could not be found. Make sure it is"
25814 echo "*** in your path, or set the PKG_CONFIG environment variable"
25815 echo "*** to the full path to pkg-config."
25816 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25818 PKG_CONFIG_MIN_VERSION
=0.9.0
25819 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25820 echo "$as_me:$LINENO: checking for pangoxft" >&5
25821 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25823 if $PKG_CONFIG --exists "pangoxft" ; then
25824 echo "$as_me:$LINENO: result: yes" >&5
25825 echo "${ECHO_T}yes" >&6
25828 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25829 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25830 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
25831 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25832 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25834 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25835 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25836 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
25837 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25838 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25842 ## If we have a custom action on failure, don't print errors, but
25843 ## do set a variable so people can do so.
25844 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25851 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25852 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25856 if test $succeeded = yes; then
25858 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
25859 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25863 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25864 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25869 save_CFLAGS
="$CFLAGS"
25871 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
25872 LIBS
="$LIBS $PANGOX_LIBS"
25874 for ac_func
in pango_font_family_is_monospace
25876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25877 echo "$as_me:$LINENO: checking for $ac_func" >&5
25878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25879 if eval "test \"\${$as_ac_var+set}\" = set"; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25882 cat >conftest.
$ac_ext <<_ACEOF
25885 cat confdefs.h
>>conftest.
$ac_ext
25886 cat >>conftest.
$ac_ext <<_ACEOF
25887 /* end confdefs.h. */
25888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25890 #define $ac_func innocuous_$ac_func
25892 /* System header to define __stub macros and hopefully few prototypes,
25893 which can conflict with char $ac_func (); below.
25894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25895 <limits.h> exists even on freestanding compilers. */
25898 # include <limits.h>
25900 # include <assert.h>
25905 /* Override any gcc2 internal prototype to avoid an error. */
25910 /* We use char because int might match the return type of a gcc2
25911 builtin and then its argument prototype would still apply. */
25913 /* The GNU C library defines this for functions which it implements
25914 to always fail with ENOSYS. Some functions are actually named
25915 something starting with __ and the normal name is an alias. */
25916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25919 char (*f) () = $ac_func;
25928 return f != $ac_func;
25933 rm -f conftest.
$ac_objext conftest
$ac_exeext
25934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25935 (eval $ac_link) 2>conftest.er1
25937 grep -v '^ *+' conftest.er1
>conftest.err
25939 cat conftest.err
>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } &&
25942 { ac_try
='test -z "$ac_c_werror_flag"
25943 || test ! -s conftest.err'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; } &&
25949 { ac_try
='test -s conftest$ac_exeext'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; }; then
25955 eval "$as_ac_var=yes"
25957 echo "$as_me: failed program was:" >&5
25958 sed 's/^/| /' conftest.
$ac_ext >&5
25960 eval "$as_ac_var=no"
25962 rm -f conftest.err conftest.
$ac_objext \
25963 conftest
$ac_exeext conftest.
$ac_ext
25965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25967 if test `eval echo '${'$as_ac_var'}'` = yes; then
25968 cat >>confdefs.h
<<_ACEOF
25969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25975 CFLAGS
="$save_CFLAGS"
25979 wxUSE_UNIVERSAL
="yes"
25981 if test "$wxUSE_NANOX" = "yes"; then
25982 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25983 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"
25984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25986 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25993 if test "$wxUSE_MOTIF" = 1; then
25994 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25995 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25998 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
26000 if test -f "$ac_dir/Xm/Xm.h"; then
26001 ac_find_includes
=$ac_dir
26006 if test "$ac_find_includes" != "" ; then
26007 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26008 echo "${ECHO_T}found in $ac_find_includes" >&6
26010 if test "x$ac_find_includes" = "x/usr/include"; then
26011 ac_path_to_include
=""
26013 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26015 if test $result = 0; then
26016 ac_path_to_include
=""
26018 ac_path_to_include
=" -I$ac_find_includes"
26022 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26024 cat >conftest.
$ac_ext <<_ACEOF
26027 cat confdefs.h
>>conftest.
$ac_ext
26028 cat >>conftest.
$ac_ext <<_ACEOF
26029 /* end confdefs.h. */
26038 version = xmUseVersion;
26044 rm -f conftest.
$ac_objext
26045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26046 (eval $ac_compile) 2>conftest.er1
26048 grep -v '^ *+' conftest.er1
>conftest.err
26050 cat conftest.err
>&5
26051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26052 (exit $ac_status); } &&
26053 { ac_try
='test -z "$ac_c_werror_flag"
26054 || test ! -s conftest.err'
26055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26056 (eval $ac_try) 2>&5
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); }; } &&
26060 { ac_try
='test -s conftest.$ac_objext'
26061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26062 (eval $ac_try) 2>&5
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); }; }; then
26067 echo "$as_me:$LINENO: result: found in default search path" >&5
26068 echo "${ECHO_T}found in default search path" >&6
26069 COMPILED_X_PROGRAM
=1
26072 echo "$as_me: failed program was:" >&5
26073 sed 's/^/| /' conftest.
$ac_ext >&5
26076 echo "$as_me:$LINENO: result: no" >&5
26077 echo "${ECHO_T}no" >&6
26078 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26079 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26080 { (exit 1); exit 1; }; }
26084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26087 if test "$COMPILED_X_PROGRAM" = 0; then
26088 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26089 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26092 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26094 for ac_extension
in a so sl dylib
; do
26095 if test -f "$ac_dir/libXm.$ac_extension"; then
26096 ac_find_libraries
=$ac_dir
26102 if test "$ac_find_libraries" != "" ; then
26103 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26104 echo "${ECHO_T}found at $ac_find_libraries" >&6
26107 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26109 if test $result = 0; then
26112 ac_path_to_link
=" -L$ac_find_libraries"
26115 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26117 save_CFLAGS
=$CFLAGS
26118 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26120 cat >conftest.
$ac_ext <<_ACEOF
26123 cat confdefs.h
>>conftest.
$ac_ext
26124 cat >>conftest.
$ac_ext <<_ACEOF
26125 /* end confdefs.h. */
26134 version = xmUseVersion;
26140 rm -f conftest.
$ac_objext
26141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26142 (eval $ac_compile) 2>conftest.er1
26144 grep -v '^ *+' conftest.er1
>conftest.err
26146 cat conftest.err
>&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } &&
26149 { ac_try
='test -z "$ac_c_werror_flag"
26150 || test ! -s conftest.err'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; } &&
26156 { ac_try
='test -s conftest.$ac_objext'
26157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26158 (eval $ac_try) 2>&5
26160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26161 (exit $ac_status); }; }; then
26163 echo "$as_me:$LINENO: result: found in default search path" >&5
26164 echo "${ECHO_T}found in default search path" >&6
26165 COMPILED_X_PROGRAM
=1
26168 echo "$as_me: failed program was:" >&5
26169 sed 's/^/| /' conftest.
$ac_ext >&5
26172 echo "$as_me:$LINENO: result: no" >&5
26173 echo "${ECHO_T}no" >&6
26174 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26175 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26176 { (exit 1); exit 1; }; }
26180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26182 CFLAGS
=$save_CFLAGS
26186 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26187 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26191 for libp
in "" " -lXp"; do
26192 if test "$libs_found" = "0"; then
26193 for libsm_ice
in "" " -lSM -lICE"; do
26194 if test "$libs_found" = "0"; then
26196 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26197 save_CFLAGS
=$CFLAGS
26198 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26200 cat >conftest.
$ac_ext <<_ACEOF
26203 cat confdefs.h
>>conftest.
$ac_ext
26204 cat >>conftest.
$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26208 #include <Xm/List.h>
26214 XmString string = NULL;
26217 XmListAddItem(w, string, position);
26223 rm -f conftest.
$ac_objext conftest
$ac_exeext
26224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26225 (eval $ac_link) 2>conftest.er1
26227 grep -v '^ *+' conftest.er1
>conftest.err
26229 cat conftest.err
>&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); } &&
26232 { ac_try
='test -z "$ac_c_werror_flag"
26233 || test ! -s conftest.err'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; } &&
26239 { ac_try
='test -s conftest$ac_exeext'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; }; then
26247 libsm_ice_link
="$libsm_ice"
26248 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26249 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26253 echo "$as_me: failed program was:" >&5
26254 sed 's/^/| /' conftest.
$ac_ext >&5
26259 rm -f conftest.err conftest.
$ac_objext \
26260 conftest
$ac_exeext conftest.
$ac_ext
26263 CFLAGS
=$save_CFLAGS
26269 if test "$libs_found" = "0"; then
26270 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26271 echo "${ECHO_T}can't find the right libraries" >&6
26272 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26273 echo "$as_me: error: can't link a simple motif program" >&2;}
26274 { (exit 1); exit 1; }; }
26277 save_CFLAGS
=$CFLAGS
26278 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26279 echo "$as_me:$LINENO: checking for Motif 2" >&5
26280 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26281 cat >conftest.
$ac_ext <<_ACEOF
26284 cat confdefs.h
>>conftest.
$ac_ext
26285 cat >>conftest.
$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26294 #if XmVersion < 2000
26295 #error "Not Motif 2"
26302 rm -f conftest.
$ac_objext
26303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26304 (eval $ac_compile) 2>conftest.er1
26306 grep -v '^ *+' conftest.er1
>conftest.err
26308 cat conftest.err
>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); } &&
26311 { ac_try
='test -z "$ac_c_werror_flag"
26312 || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try
='test -s conftest.$ac_objext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26325 cat >>confdefs.h
<<\_ACEOF
26326 #define __WXMOTIF20__ 1
26329 echo "$as_me:$LINENO: result: found" >&5
26330 echo "${ECHO_T}found" >&6
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.
$ac_ext >&5
26337 cat >>confdefs.h
<<\_ACEOF
26338 #define __WXMOTIF20__ 0
26341 echo "$as_me:$LINENO: result: not found" >&5
26342 echo "${ECHO_T}not found" >&6
26345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26346 CFLAGS
=$save_CFLAGS
26348 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26353 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26354 if test "$wxUSE_LIBXPM" = "sys"; then
26355 echo "$as_me:$LINENO: checking for Xpm library" >&5
26356 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26359 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26361 for ac_extension
in a so sl dylib
; do
26362 if test -f "$ac_dir/libXpm.$ac_extension"; then
26363 ac_find_libraries
=$ac_dir
26369 if test "$ac_find_libraries" != "" ; then
26371 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26373 if test $result = 0; then
26376 ac_path_to_link
=" -L$ac_find_libraries"
26379 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26380 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26381 echo "${ECHO_T}found at $ac_find_libraries" >&6
26383 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26384 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26385 if test "${wx_cv_x11_xpm_h+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26389 save_CFLAGS
=$CFLAGS
26390 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26392 cat >conftest.
$ac_ext <<_ACEOF
26395 cat confdefs.h
>>conftest.
$ac_ext
26396 cat >>conftest.
$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26399 #include <X11/xpm.h>
26406 version = XpmLibraryVersion();
26412 rm -f conftest.
$ac_objext
26413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26414 (eval $ac_compile) 2>conftest.er1
26416 grep -v '^ *+' conftest.er1
>conftest.err
26418 cat conftest.err
>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try
='test -z "$ac_c_werror_flag"
26422 || test ! -s conftest.err'
26423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424 (eval $ac_try) 2>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); }; } &&
26428 { ac_try
='test -s conftest.$ac_objext'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; }; then
26434 wx_cv_x11_xpm_h
=yes
26436 echo "$as_me: failed program was:" >&5
26437 sed 's/^/| /' conftest.
$ac_ext >&5
26442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26444 CFLAGS
=$save_CFLAGS
26448 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26449 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26451 if test $wx_cv_x11_xpm_h = "yes"; then
26452 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26453 cat >>confdefs.h
<<\_ACEOF
26454 #define wxHAVE_LIB_XPM 1
26458 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26459 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26465 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26466 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26467 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 ac_check_lib_save_LIBS
=$LIBS
26471 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26472 cat >conftest.
$ac_ext <<_ACEOF
26475 cat confdefs.h
>>conftest.
$ac_ext
26476 cat >>conftest.
$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26479 /* Override any gcc2 internal prototype to avoid an error. */
26483 /* We use char because int might match the return type of a gcc2
26484 builtin and then its argument prototype would still apply. */
26485 char XShapeQueryExtension ();
26489 XShapeQueryExtension ();
26494 rm -f conftest.
$ac_objext conftest
$ac_exeext
26495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26496 (eval $ac_link) 2>conftest.er1
26498 grep -v '^ *+' conftest.er1
>conftest.err
26500 cat conftest.err
>&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } &&
26503 { ac_try
='test -z "$ac_c_werror_flag"
26504 || test ! -s conftest.err'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; } &&
26510 { ac_try
='test -s conftest$ac_exeext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.
$ac_ext >&5
26521 ac_cv_lib_Xext_XShapeQueryExtension
=no
26523 rm -f conftest.err conftest.
$ac_objext \
26524 conftest
$ac_exeext conftest.
$ac_ext
26525 LIBS
=$ac_check_lib_save_LIBS
26527 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26528 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26529 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26531 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26537 if test "$wxHAVE_XEXT_LIB" = 1; then
26538 save_CFLAGS
="$CFLAGS"
26539 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
26541 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26542 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26543 cat >conftest.
$ac_ext <<_ACEOF
26546 cat confdefs.h
>>conftest.
$ac_ext
26547 cat >>conftest.
$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26550 #include <X11/Xlib.h>
26551 #include <X11/extensions/shape.h>
26557 int dummy1, dummy2;
26558 XShapeQueryExtension((Display*)NULL,
26559 (int*)NULL, (int*)NULL);
26565 rm -f conftest.
$ac_objext
26566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26567 (eval $ac_compile) 2>conftest.er1
26569 grep -v '^ *+' conftest.er1
>conftest.err
26571 cat conftest.err
>&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } &&
26574 { ac_try
='test -z "$ac_c_werror_flag"
26575 || test ! -s conftest.err'
26576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26577 (eval $ac_try) 2>&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); }; } &&
26581 { ac_try
='test -s conftest.$ac_objext'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; }; then
26588 cat >>confdefs.h
<<\_ACEOF
26589 #define HAVE_XSHAPE 1
26592 echo "$as_me:$LINENO: result: found" >&5
26593 echo "${ECHO_T}found" >&6
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.
$ac_ext >&5
26600 echo "$as_me:$LINENO: result: not found" >&5
26601 echo "${ECHO_T}not found" >&6
26604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26605 CFLAGS
="$save_CFLAGS"
26610 if test "$wxUSE_MAC" = 1; then
26611 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26612 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26613 if test "$GCC" = yes; then
26614 echo "$as_me:$LINENO: result: gcc" >&5
26615 echo "${ECHO_T}gcc" >&6
26616 CPPFLAGS_PASCAL
="-fpascal-strings"
26617 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26618 echo "$as_me:$LINENO: result: xlc" >&5
26619 echo "${ECHO_T}xlc" >&6
26620 CPPFLAGS_PASCAL
="-qmacpstr"
26622 echo "$as_me:$LINENO: result: none" >&5
26623 echo "${ECHO_T}none" >&6
26626 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26630 WXBASEPORT
="_carbon"
26633 if test "$wxUSE_COCOA" = 1; then
26638 if test "$wxUSE_PM" = 1; then
26641 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26642 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26643 if test "${wx_cv_spbcdata+set}" = set; then
26644 echo $ECHO_N "(cached) $ECHO_C" >&6
26647 cat >conftest.
$ac_ext <<_ACEOF
26650 cat confdefs.h
>>conftest.
$ac_ext
26651 cat >>conftest.
$ac_ext <<_ACEOF
26652 /* end confdefs.h. */
26667 rm -f conftest.
$ac_objext
26668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26669 (eval $ac_compile) 2>conftest.er1
26671 grep -v '^ *+' conftest.er1
>conftest.err
26673 cat conftest.err
>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } &&
26676 { ac_try
='test -z "$ac_c_werror_flag"
26677 || test ! -s conftest.err'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; } &&
26683 { ac_try
='test -s conftest.$ac_objext'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26691 echo "$as_me: failed program was:" >&5
26692 sed 's/^/| /' conftest.
$ac_ext >&5
26697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26701 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26702 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26704 if test $wx_cv_spbcdata = "yes"; then
26705 cat >>confdefs.h
<<\_ACEOF
26706 #define HAVE_SPBCDATA 1
26712 if test "$TOOLKIT" = "PM" ; then
26715 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26718 if test "$wxUSE_UNIVERSAL" = "yes"; then
26719 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26723 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26724 DISTDIR
="wx\$(TOOLKIT)"
26730 if test "$USE_WIN32" = 1 ; then
26734 GUIDIST
="BASE_DIST"
26744 if test "$TOOLKIT" != "MSW" ; then
26746 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26748 if test "${ac_cv_header_sql_h+set}" = set; then
26749 echo "$as_me:$LINENO: checking for sql.h" >&5
26750 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26751 if test "${ac_cv_header_sql_h+set}" = set; then
26752 echo $ECHO_N "(cached) $ECHO_C" >&6
26754 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26755 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26757 # Is the header compilable?
26758 echo "$as_me:$LINENO: checking sql.h usability" >&5
26759 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26760 cat >conftest.
$ac_ext <<_ACEOF
26763 cat confdefs.h
>>conftest.
$ac_ext
26764 cat >>conftest.
$ac_ext <<_ACEOF
26765 /* end confdefs.h. */
26766 $ac_includes_default
26769 rm -f conftest.
$ac_objext
26770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26771 (eval $ac_compile) 2>conftest.er1
26773 grep -v '^ *+' conftest.er1
>conftest.err
26775 cat conftest.err
>&5
26776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777 (exit $ac_status); } &&
26778 { ac_try
='test -z "$ac_c_werror_flag"
26779 || test ! -s conftest.err'
26780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26781 (eval $ac_try) 2>&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); }; } &&
26785 { ac_try
='test -s conftest.$ac_objext'
26786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26787 (eval $ac_try) 2>&5
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); }; }; then
26791 ac_header_compiler
=yes
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.
$ac_ext >&5
26796 ac_header_compiler
=no
26798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26800 echo "${ECHO_T}$ac_header_compiler" >&6
26802 # Is the header present?
26803 echo "$as_me:$LINENO: checking sql.h presence" >&5
26804 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26805 cat >conftest.
$ac_ext <<_ACEOF
26808 cat confdefs.h
>>conftest.
$ac_ext
26809 cat >>conftest.
$ac_ext <<_ACEOF
26810 /* end confdefs.h. */
26813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26814 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26816 grep -v '^ *+' conftest.er1
>conftest.err
26818 cat conftest.err
>&5
26819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820 (exit $ac_status); } >/dev
/null
; then
26821 if test -s conftest.err
; then
26822 ac_cpp_err
=$ac_c_preproc_warn_flag
26823 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26830 if test -z "$ac_cpp_err"; then
26831 ac_header_preproc
=yes
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.
$ac_ext >&5
26836 ac_header_preproc
=no
26838 rm -f conftest.err conftest.
$ac_ext
26839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26840 echo "${ECHO_T}$ac_header_preproc" >&6
26842 # So? What about this header?
26843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26845 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26846 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26847 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26848 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26849 ac_header_preproc
=yes
26852 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26853 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26854 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26855 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26856 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26857 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26858 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26859 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26860 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26861 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26862 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26863 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26866 ## ----------------------------------------- ##
26867 ## Report this to wx-dev@lists.wxwidgets.org ##
26868 ## ----------------------------------------- ##
26871 sed "s/^/$as_me: WARNING: /" >&2
26874 echo "$as_me:$LINENO: checking for sql.h" >&5
26875 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26876 if test "${ac_cv_header_sql_h+set}" = set; then
26877 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 ac_cv_header_sql_h
=$ac_header_preproc
26881 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26882 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26885 if test $ac_cv_header_sql_h = yes; then
26890 if test "x$found_sql_h" = "x1" ; then
26891 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26892 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26893 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26894 echo $ECHO_N "(cached) $ECHO_C" >&6
26896 ac_check_lib_save_LIBS
=$LIBS
26897 LIBS
="-liodbc $LIBS"
26898 cat >conftest.
$ac_ext <<_ACEOF
26901 cat confdefs.h
>>conftest.
$ac_ext
26902 cat >>conftest.
$ac_ext <<_ACEOF
26903 /* end confdefs.h. */
26905 /* Override any gcc2 internal prototype to avoid an error. */
26909 /* We use char because int might match the return type of a gcc2
26910 builtin and then its argument prototype would still apply. */
26911 char SQLAllocEnv ();
26920 rm -f conftest.
$ac_objext conftest
$ac_exeext
26921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26922 (eval $ac_link) 2>conftest.er1
26924 grep -v '^ *+' conftest.er1
>conftest.err
26926 cat conftest.err
>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } &&
26929 { ac_try
='test -z "$ac_c_werror_flag"
26930 || test ! -s conftest.err'
26931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 (eval $ac_try) 2>&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); }; } &&
26936 { ac_try
='test -s conftest$ac_exeext'
26937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938 (eval $ac_try) 2>&5
26940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 (exit $ac_status); }; }; then
26942 ac_cv_lib_iodbc_SQLAllocEnv
=yes
26944 echo "$as_me: failed program was:" >&5
26945 sed 's/^/| /' conftest.
$ac_ext >&5
26947 ac_cv_lib_iodbc_SQLAllocEnv
=no
26949 rm -f conftest.err conftest.
$ac_objext \
26950 conftest
$ac_exeext conftest.
$ac_ext
26951 LIBS
=$ac_check_lib_save_LIBS
26953 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26954 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26955 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
26956 ODBC_LINK
=" -liodbc"
26959 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26960 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26961 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26962 echo $ECHO_N "(cached) $ECHO_C" >&6
26964 ac_check_lib_save_LIBS
=$LIBS
26965 LIBS
="-lunixodbc $LIBS"
26966 cat >conftest.
$ac_ext <<_ACEOF
26969 cat confdefs.h
>>conftest.
$ac_ext
26970 cat >>conftest.
$ac_ext <<_ACEOF
26971 /* end confdefs.h. */
26973 /* Override any gcc2 internal prototype to avoid an error. */
26977 /* We use char because int might match the return type of a gcc2
26978 builtin and then its argument prototype would still apply. */
26979 char SQLAllocEnv ();
26988 rm -f conftest.
$ac_objext conftest
$ac_exeext
26989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26990 (eval $ac_link) 2>conftest.er1
26992 grep -v '^ *+' conftest.er1
>conftest.err
26994 cat conftest.err
>&5
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); } &&
26997 { ac_try
='test -z "$ac_c_werror_flag"
26998 || test ! -s conftest.err'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; } &&
27004 { ac_try
='test -s conftest$ac_exeext'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; }; then
27010 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
27012 echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.
$ac_ext >&5
27015 ac_cv_lib_unixodbc_SQLAllocEnv
=no
27017 rm -f conftest.err conftest.
$ac_objext \
27018 conftest
$ac_exeext conftest.
$ac_ext
27019 LIBS
=$ac_check_lib_save_LIBS
27021 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27022 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27023 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27024 ODBC_LINK
=" -lunixodbc"
27027 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27028 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27029 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27030 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 ac_check_lib_save_LIBS
=$LIBS
27033 LIBS
="-lodbc $LIBS"
27034 cat >conftest.
$ac_ext <<_ACEOF
27037 cat confdefs.h
>>conftest.
$ac_ext
27038 cat >>conftest.
$ac_ext <<_ACEOF
27039 /* end confdefs.h. */
27041 /* Override any gcc2 internal prototype to avoid an error. */
27045 /* We use char because int might match the return type of a gcc2
27046 builtin and then its argument prototype would still apply. */
27047 char SQLAllocEnv ();
27056 rm -f conftest.
$ac_objext conftest
$ac_exeext
27057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27058 (eval $ac_link) 2>conftest.er1
27060 grep -v '^ *+' conftest.er1
>conftest.err
27062 cat conftest.err
>&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } &&
27065 { ac_try
='test -z "$ac_c_werror_flag"
27066 || test ! -s conftest.err'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; } &&
27072 { ac_try
='test -s conftest$ac_exeext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27078 ac_cv_lib_odbc_SQLAllocEnv
=yes
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.
$ac_ext >&5
27083 ac_cv_lib_odbc_SQLAllocEnv
=no
27085 rm -f conftest.err conftest.
$ac_objext \
27086 conftest
$ac_exeext conftest.
$ac_ext
27087 LIBS
=$ac_check_lib_save_LIBS
27089 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27090 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27091 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27092 ODBC_LINK
=" -lodbc"
27102 if test "x$ODBC_LINK" = "x" ; then
27103 if test "$wxUSE_ODBC" = "sys" ; then
27104 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27105 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27106 { (exit 1); exit 1; }; }
27108 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27109 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27116 if test "$wxUSE_ODBC" != "no" ; then
27117 cat >>confdefs.h
<<\_ACEOF
27118 #define wxUSE_ODBC 1
27121 if test "$wxUSE_ODBC" = "builtin" ; then
27122 cat >>confdefs.h
<<\_ACEOF
27123 #define wxUSE_BUILTIN_IODBC 1
27127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
27129 WXODBCFLAG
="-D_IODBC_"
27135 if test "$wxUSE_DISPLAY" = "yes"; then
27136 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27137 echo "$as_me:$LINENO: checking for Xinerama" >&5
27138 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27141 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27143 for ac_extension
in a so sl dylib
; do
27144 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27145 ac_find_libraries
=$ac_dir
27151 if test "$ac_find_libraries" != "" ; then
27153 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27155 if test $result = 0; then
27158 ac_path_to_link
=" -L$ac_find_libraries"
27161 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27162 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27164 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27165 echo "$as_me:$LINENO: result: yes" >&5
27166 echo "${ECHO_T}yes" >&6
27168 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27169 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27172 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27174 for ac_extension
in a so sl dylib
; do
27175 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27176 ac_find_libraries
=$ac_dir
27182 if test "$ac_find_libraries" != "" ; then
27183 echo "$as_me:$LINENO: result: yes" >&5
27184 echo "${ECHO_T}yes" >&6
27186 for ac_header
in X
11/extensions
/xf86vmode.h
27188 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27189 echo "$as_me:$LINENO: checking for $ac_header" >&5
27190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27192 echo $ECHO_N "(cached) $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. */
27201 #if HAVE_X11_XLIB_H
27202 #include <X11/Xlib.h>
27206 #include <$ac_header>
27208 rm -f conftest.
$ac_objext
27209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27210 (eval $ac_compile) 2>conftest.er1
27212 grep -v '^ *+' conftest.er1
>conftest.err
27214 cat conftest.err
>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } &&
27217 { ac_try
='test -z "$ac_c_werror_flag"
27218 || test ! -s conftest.err'
27219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220 (eval $ac_try) 2>&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); }; } &&
27224 { ac_try
='test -s conftest.$ac_objext'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; }; then
27230 eval "$as_ac_Header=yes"
27232 echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.
$ac_ext >&5
27235 eval "$as_ac_Header=no"
27237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27242 cat >>confdefs.h
<<_ACEOF
27243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27246 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27253 echo "$as_me:$LINENO: result: no" >&5
27254 echo "${ECHO_T}no" >&6
27258 echo "$as_me:$LINENO: result: no" >&5
27259 echo "${ECHO_T}no" >&6
27260 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27261 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27264 elif test "$wxUSE_MSW" = 1; then
27267 for ac_header
in multimon.h ddraw.h
27269 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27271 echo "$as_me:$LINENO: checking for $ac_header" >&5
27272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27274 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27279 # Is the header compilable?
27280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27282 cat >conftest.
$ac_ext <<_ACEOF
27285 cat confdefs.h
>>conftest.
$ac_ext
27286 cat >>conftest.
$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288 $ac_includes_default
27289 #include <$ac_header>
27291 rm -f conftest.
$ac_objext
27292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27293 (eval $ac_compile) 2>conftest.er1
27295 grep -v '^ *+' conftest.er1
>conftest.err
27297 cat conftest.err
>&5
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); } &&
27300 { ac_try
='test -z "$ac_c_werror_flag"
27301 || test ! -s conftest.err'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; } &&
27307 { ac_try
='test -s conftest.$ac_objext'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; }; then
27313 ac_header_compiler
=yes
27315 echo "$as_me: failed program was:" >&5
27316 sed 's/^/| /' conftest.
$ac_ext >&5
27318 ac_header_compiler
=no
27320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27322 echo "${ECHO_T}$ac_header_compiler" >&6
27324 # Is the header present?
27325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27327 cat >conftest.
$ac_ext <<_ACEOF
27330 cat confdefs.h
>>conftest.
$ac_ext
27331 cat >>conftest.
$ac_ext <<_ACEOF
27332 /* end confdefs.h. */
27333 #include <$ac_header>
27335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27338 grep -v '^ *+' conftest.er1
>conftest.err
27340 cat conftest.err
>&5
27341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342 (exit $ac_status); } >/dev
/null
; then
27343 if test -s conftest.err
; then
27344 ac_cpp_err
=$ac_c_preproc_warn_flag
27345 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27352 if test -z "$ac_cpp_err"; then
27353 ac_header_preproc
=yes
27355 echo "$as_me: failed program was:" >&5
27356 sed 's/^/| /' conftest.
$ac_ext >&5
27358 ac_header_preproc
=no
27360 rm -f conftest.err conftest.
$ac_ext
27361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27362 echo "${ECHO_T}$ac_header_preproc" >&6
27364 # So? What about this header?
27365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27371 ac_header_preproc
=yes
27374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27388 ## ----------------------------------------- ##
27389 ## Report this to wx-dev@lists.wxwidgets.org ##
27390 ## ----------------------------------------- ##
27393 sed "s/^/$as_me: WARNING: /" >&2
27396 echo "$as_me:$LINENO: checking for $ac_header" >&5
27397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27399 echo $ECHO_N "(cached) $ECHO_C" >&6
27401 eval "$as_ac_Header=\$ac_header_preproc"
27403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27408 cat >>confdefs.h
<<_ACEOF
27409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27415 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27416 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27427 if test "$wxUSE_OPENGL" = "yes"; then
27428 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27429 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27430 elif test "$wxUSE_MSW" = 1; then
27431 OPENGL_LIBS
="-lopengl32 -lglu32"
27436 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
27438 if test -f "$ac_dir/GL/gl.h"; then
27439 ac_find_includes
=$ac_dir
27444 if test "$ac_find_includes" != "" ; then
27445 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27446 echo "${ECHO_T}found in $ac_find_includes" >&6
27448 if test "x$ac_find_includes" = "x/usr/include"; then
27449 ac_path_to_include
=""
27451 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27453 if test $result = 0; then
27454 ac_path_to_include
=""
27456 ac_path_to_include
=" -I$ac_find_includes"
27460 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
27463 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27464 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27465 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27466 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27467 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27470 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27472 # Is the header compilable?
27473 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27474 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27475 cat >conftest.
$ac_ext <<_ACEOF
27478 cat confdefs.h
>>conftest.
$ac_ext
27479 cat >>conftest.
$ac_ext <<_ACEOF
27480 /* end confdefs.h. */
27481 $ac_includes_default
27484 rm -f conftest.
$ac_objext
27485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27486 (eval $ac_compile) 2>conftest.er1
27488 grep -v '^ *+' conftest.er1
>conftest.err
27490 cat conftest.err
>&5
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); } &&
27493 { ac_try
='test -z "$ac_c_werror_flag"
27494 || test ! -s conftest.err'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; } &&
27500 { ac_try
='test -s conftest.$ac_objext'
27501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27502 (eval $ac_try) 2>&5
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); }; }; then
27506 ac_header_compiler
=yes
27508 echo "$as_me: failed program was:" >&5
27509 sed 's/^/| /' conftest.
$ac_ext >&5
27511 ac_header_compiler
=no
27513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27515 echo "${ECHO_T}$ac_header_compiler" >&6
27517 # Is the header present?
27518 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27519 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27520 cat >conftest.
$ac_ext <<_ACEOF
27523 cat confdefs.h
>>conftest.
$ac_ext
27524 cat >>conftest.
$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27529 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27531 grep -v '^ *+' conftest.er1
>conftest.err
27533 cat conftest.err
>&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); } >/dev
/null
; then
27536 if test -s conftest.err
; then
27537 ac_cpp_err
=$ac_c_preproc_warn_flag
27538 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27545 if test -z "$ac_cpp_err"; then
27546 ac_header_preproc
=yes
27548 echo "$as_me: failed program was:" >&5
27549 sed 's/^/| /' conftest.
$ac_ext >&5
27551 ac_header_preproc
=no
27553 rm -f conftest.err conftest.
$ac_ext
27554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27555 echo "${ECHO_T}$ac_header_preproc" >&6
27557 # So? What about this header?
27558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27560 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27561 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27562 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27563 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27564 ac_header_preproc
=yes
27567 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27568 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27569 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27570 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27571 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27572 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27573 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27574 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27575 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27576 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27577 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27578 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27581 ## ----------------------------------------- ##
27582 ## Report this to wx-dev@lists.wxwidgets.org ##
27583 ## ----------------------------------------- ##
27586 sed "s/^/$as_me: WARNING: /" >&2
27589 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27590 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27591 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27592 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 ac_cv_header_GL_gl_h
=$ac_header_preproc
27596 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27597 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27600 if test $ac_cv_header_GL_gl_h = yes; then
27604 echo "$as_me:$LINENO: checking for -lGL" >&5
27605 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27608 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27610 for ac_extension
in a so sl dylib
; do
27611 if test -f "$ac_dir/libGL.$ac_extension"; then
27612 ac_find_libraries
=$ac_dir
27618 if test "$ac_find_libraries" != "" ; then
27620 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27622 if test $result = 0; then
27625 ac_path_to_link
=" -L$ac_find_libraries"
27628 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27629 LDFLAGS_GL
="$ac_path_to_link"
27634 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27636 for ac_extension
in a so sl dylib
; do
27637 if test -f "$ac_dir/libGLU.$ac_extension"; then
27638 ac_find_libraries
=$ac_dir
27644 if test "$ac_find_libraries" != "" ; then
27646 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27648 if test $result = 0; then
27651 ac_path_to_link
=" -L$ac_find_libraries"
27654 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27655 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27656 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
27660 OPENGL_LIBS
="-lGL -lGLU"
27661 echo "$as_me:$LINENO: result: yes" >&5
27662 echo "${ECHO_T}yes" >&6
27666 if test "$found_gl" != 1; then
27667 echo "$as_me:$LINENO: result: no" >&5
27668 echo "${ECHO_T}no" >&6
27669 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27670 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27673 for ac_dir
in $SEARCH_LIB /usr
/lib
;
27675 for ac_extension
in a so sl dylib
; do
27676 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27677 ac_find_libraries
=$ac_dir
27683 if test "$ac_find_libraries" != "" ; then
27685 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27687 if test $result = 0; then
27690 ac_path_to_link
=" -L$ac_find_libraries"
27693 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
27694 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
27695 echo "$as_me:$LINENO: result: yes" >&5
27696 echo "${ECHO_T}yes" >&6
27698 echo "$as_me:$LINENO: result: no" >&5
27699 echo "${ECHO_T}no" >&6
27707 if test "x$OPENGL_LIBS" = "x"; then
27708 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27709 echo "$as_me: error: OpenGL libraries not available" >&2;}
27710 { (exit 1); exit 1; }; }
27714 if test "$wxUSE_OPENGL" = "yes"; then
27716 cat >>confdefs.h
<<\_ACEOF
27717 #define wxUSE_OPENGL 1
27720 cat >>confdefs.h
<<\_ACEOF
27721 #define wxUSE_GLCANVAS 1
27724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27729 if test -n "$TOOLKIT" ; then
27730 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27735 if test "$wxUSE_SHARED" = "yes"; then
27739 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27740 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27745 if test "$wxUSE_SHARED" = "yes"; then
27748 found_versioning
=no
27751 if test $found_versioning = no
; then
27752 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27753 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27754 if test "${wx_cv_version_script+set}" = set; then
27755 echo $ECHO_N "(cached) $ECHO_C" >&6
27758 echo "VER_1 { *; };" >conftest.sym
27759 echo "int main() { return 0; }" >conftest.cpp
27762 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27763 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27765 (eval $ac_try) 2>&5
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); }; } ; then
27769 if test -s conftest.stderr
; then
27770 wx_cv_version_script
=no
27772 wx_cv_version_script
=yes
27775 wx_cv_version_script
=no
27777 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27780 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27781 echo "${ECHO_T}$wx_cv_version_script" >&6
27782 if test $wx_cv_version_script = yes ; then
27783 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
27789 *-*-linux* | *-*-gnu* )
27790 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27794 if test "$GCC" = yes ; then
27795 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
27797 saveLdflags
="$LDFLAGS"
27798 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
27799 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27800 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27801 cat >conftest.
$ac_ext <<_ACEOF
27804 cat confdefs.h
>>conftest.
$ac_ext
27805 cat >>conftest.
$ac_ext <<_ACEOF
27806 /* end confdefs.h. */
27816 rm -f conftest.
$ac_objext conftest
$ac_exeext
27817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27818 (eval $ac_link) 2>conftest.er1
27820 grep -v '^ *+' conftest.er1
>conftest.err
27822 cat conftest.err
>&5
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); } &&
27825 { ac_try
='test -z "$ac_c_werror_flag"
27826 || test ! -s conftest.err'
27827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828 (eval $ac_try) 2>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); }; } &&
27832 { ac_try
='test -s conftest$ac_exeext'
27833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27834 (eval $ac_try) 2>&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); }; }; then
27839 echo "$as_me:$LINENO: result: yes" >&5
27840 echo "${ECHO_T}yes" >&6
27841 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
27844 echo "$as_me: failed program was:" >&5
27845 sed 's/^/| /' conftest.
$ac_ext >&5
27848 echo "$as_me:$LINENO: result: no" >&5
27849 echo "${ECHO_T}no" >&6
27850 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27851 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27852 LDFLAGS
="$saveLdflags -Wl,-R,/"
27853 cat >conftest.
$ac_ext <<_ACEOF
27856 cat confdefs.h
>>conftest.
$ac_ext
27857 cat >>conftest.
$ac_ext <<_ACEOF
27858 /* end confdefs.h. */
27868 rm -f conftest.
$ac_objext conftest
$ac_exeext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27870 (eval $ac_link) 2>conftest.er1
27872 grep -v '^ *+' conftest.er1
>conftest.err
27874 cat conftest.err
>&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try
='test -z "$ac_c_werror_flag"
27878 || test ! -s conftest.err'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; } &&
27884 { ac_try
='test -s conftest$ac_exeext'
27885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27886 (eval $ac_try) 2>&5
27888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27889 (exit $ac_status); }; }; then
27891 echo "$as_me:$LINENO: result: yes" >&5
27892 echo "${ECHO_T}yes" >&6
27893 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
27895 echo "$as_me: failed program was:" >&5
27896 sed 's/^/| /' conftest.
$ac_ext >&5
27899 echo "$as_me:$LINENO: result: no" >&5
27900 echo "${ECHO_T}no" >&6
27903 rm -f conftest.err conftest.
$ac_objext \
27904 conftest
$ac_exeext conftest.
$ac_ext
27907 rm -f conftest.err conftest.
$ac_objext \
27908 conftest
$ac_exeext conftest.
$ac_ext
27909 LDFLAGS
="$saveLdflags"
27911 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
27915 powerpc
-*-darwin* )
27916 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
27917 cat <<EOF >change-install-names
27919 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
27920 inst_cmd="install_name_tool "
27921 for i in \${libnames} ; do
27922 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
27926 chmod +x change
-install-names
27929 *-*-cygwin* | *-*-mingw32* )
27930 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
27936 if test "$wxUSE_SHARED" = "no"; then
27937 config_linkage_component
="-static"
27945 lib_unicode_suffix
=
27947 if test "$wxUSE_UNICODE" = "yes"; then
27948 lib_unicode_suffix
=u
27949 WX_CHARTYPE
="unicode"
27954 WX_DEBUGTYPE
="release"
27956 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27958 WX_DEBUGTYPE
="debug"
27962 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
27963 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
27966 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27970 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27972 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
27974 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
27976 if test "$cross_compiling" = "yes"; then
27977 HOST_SUFFIX
="-$host_alias"
27978 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
27979 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
27982 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27983 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
27987 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27988 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.r"
27989 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${WX_CURRENT}.rsrc"
27991 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27993 # Extract the first word of "Rez", so it can be a program name with args.
27994 set dummy Rez
; ac_word
=$2
27995 echo "$as_me:$LINENO: checking for $ac_word" >&5
27996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27997 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27998 echo $ECHO_N "(cached) $ECHO_C" >&6
28000 if test -n "$RESCOMP"; then
28001 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
28003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28004 for as_dir
in $PATH
28007 test -z "$as_dir" && as_dir
=.
28008 for ac_exec_ext
in '' $ac_executable_extensions; do
28009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28010 ac_cv_prog_RESCOMP
="Rez"
28011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28017 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
28020 RESCOMP
=$ac_cv_prog_RESCOMP
28021 if test -n "$RESCOMP"; then
28022 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28023 echo "${ECHO_T}$RESCOMP" >&6
28025 echo "$as_me:$LINENO: result: no" >&5
28026 echo "${ECHO_T}no" >&6
28029 # Extract the first word of "DeRez", so it can be a program name with args.
28030 set dummy DeRez
; ac_word
=$2
28031 echo "$as_me:$LINENO: checking for $ac_word" >&5
28032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28033 if test "${ac_cv_prog_DEREZ+set}" = set; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 if test -n "$DEREZ"; then
28037 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
28039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28040 for as_dir
in $PATH
28043 test -z "$as_dir" && as_dir
=.
28044 for ac_exec_ext
in '' $ac_executable_extensions; do
28045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28046 ac_cv_prog_DEREZ
="DeRez"
28047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28053 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
28056 DEREZ
=$ac_cv_prog_DEREZ
28057 if test -n "$DEREZ"; then
28058 echo "$as_me:$LINENO: result: $DEREZ" >&5
28059 echo "${ECHO_T}$DEREZ" >&6
28061 echo "$as_me:$LINENO: result: no" >&5
28062 echo "${ECHO_T}no" >&6
28065 # Extract the first word of "SetFile", so it can be a program name with args.
28066 set dummy SetFile
; ac_word
=$2
28067 echo "$as_me:$LINENO: checking for $ac_word" >&5
28068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28069 if test "${ac_cv_prog_SETFILE+set}" = set; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28072 if test -n "$SETFILE"; then
28073 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
28075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28076 for as_dir
in $PATH
28079 test -z "$as_dir" && as_dir
=.
28080 for ac_exec_ext
in '' $ac_executable_extensions; do
28081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28082 ac_cv_prog_SETFILE
="SetFile"
28083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28089 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
28092 SETFILE
=$ac_cv_prog_SETFILE
28093 if test -n "$SETFILE"; then
28094 echo "$as_me:$LINENO: result: $SETFILE" >&5
28095 echo "${ECHO_T}$SETFILE" >&6
28097 echo "$as_me:$LINENO: result: no" >&5
28098 echo "${ECHO_T}no" >&6
28102 MACSETFILE
="\$(SETFILE)"
28104 if test "$wxUSE_MAC" = 1; then
28105 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28107 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28109 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28110 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28116 if test "$wxUSE_PM" = 1; then
28117 MACRESCOMP
="emxbind -ep"
28125 echo "$as_me:$LINENO: checking for mode_t" >&5
28126 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28127 if test "${ac_cv_type_mode_t+set}" = set; then
28128 echo $ECHO_N "(cached) $ECHO_C" >&6
28130 cat >conftest.
$ac_ext <<_ACEOF
28133 cat confdefs.h
>>conftest.
$ac_ext
28134 cat >>conftest.
$ac_ext <<_ACEOF
28135 /* end confdefs.h. */
28136 $ac_includes_default
28142 if (sizeof (mode_t))
28148 rm -f conftest.
$ac_objext
28149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28150 (eval $ac_compile) 2>conftest.er1
28152 grep -v '^ *+' conftest.er1
>conftest.err
28154 cat conftest.err
>&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); } &&
28157 { ac_try
='test -z "$ac_c_werror_flag"
28158 || test ! -s conftest.err'
28159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28160 (eval $ac_try) 2>&5
28162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28163 (exit $ac_status); }; } &&
28164 { ac_try
='test -s conftest.$ac_objext'
28165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28166 (eval $ac_try) 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; }; then
28170 ac_cv_type_mode_t
=yes
28172 echo "$as_me: failed program was:" >&5
28173 sed 's/^/| /' conftest.
$ac_ext >&5
28175 ac_cv_type_mode_t
=no
28177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28179 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28180 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28181 if test $ac_cv_type_mode_t = yes; then
28185 cat >>confdefs.h
<<_ACEOF
28191 echo "$as_me:$LINENO: checking for off_t" >&5
28192 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28193 if test "${ac_cv_type_off_t+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 cat >conftest.
$ac_ext <<_ACEOF
28199 cat confdefs.h
>>conftest.
$ac_ext
28200 cat >>conftest.
$ac_ext <<_ACEOF
28201 /* end confdefs.h. */
28202 $ac_includes_default
28208 if (sizeof (off_t))
28214 rm -f conftest.
$ac_objext
28215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28216 (eval $ac_compile) 2>conftest.er1
28218 grep -v '^ *+' conftest.er1
>conftest.err
28220 cat conftest.err
>&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); } &&
28223 { ac_try
='test -z "$ac_c_werror_flag"
28224 || test ! -s conftest.err'
28225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28226 (eval $ac_try) 2>&5
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); }; } &&
28230 { ac_try
='test -s conftest.$ac_objext'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; }; then
28236 ac_cv_type_off_t
=yes
28238 echo "$as_me: failed program was:" >&5
28239 sed 's/^/| /' conftest.
$ac_ext >&5
28241 ac_cv_type_off_t
=no
28243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28245 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28246 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28247 if test $ac_cv_type_off_t = yes; then
28251 cat >>confdefs.h
<<_ACEOF
28257 echo "$as_me:$LINENO: checking for pid_t" >&5
28258 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28259 if test "${ac_cv_type_pid_t+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 cat >conftest.
$ac_ext <<_ACEOF
28265 cat confdefs.h
>>conftest.
$ac_ext
28266 cat >>conftest.
$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268 $ac_includes_default
28274 if (sizeof (pid_t))
28280 rm -f conftest.
$ac_objext
28281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28282 (eval $ac_compile) 2>conftest.er1
28284 grep -v '^ *+' conftest.er1
>conftest.err
28286 cat conftest.err
>&5
28287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28288 (exit $ac_status); } &&
28289 { ac_try
='test -z "$ac_c_werror_flag"
28290 || test ! -s conftest.err'
28291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28292 (eval $ac_try) 2>&5
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; } &&
28296 { ac_try
='test -s conftest.$ac_objext'
28297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28298 (eval $ac_try) 2>&5
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); }; }; then
28302 ac_cv_type_pid_t
=yes
28304 echo "$as_me: failed program was:" >&5
28305 sed 's/^/| /' conftest.
$ac_ext >&5
28307 ac_cv_type_pid_t
=no
28309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28311 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28312 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28313 if test $ac_cv_type_pid_t = yes; then
28317 cat >>confdefs.h
<<_ACEOF
28323 echo "$as_me:$LINENO: checking for size_t" >&5
28324 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28325 if test "${ac_cv_type_size_t+set}" = set; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 cat >conftest.
$ac_ext <<_ACEOF
28331 cat confdefs.h
>>conftest.
$ac_ext
28332 cat >>conftest.
$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28334 $ac_includes_default
28340 if (sizeof (size_t))
28346 rm -f conftest.
$ac_objext
28347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28348 (eval $ac_compile) 2>conftest.er1
28350 grep -v '^ *+' conftest.er1
>conftest.err
28352 cat conftest.err
>&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try
='test -z "$ac_c_werror_flag"
28356 || test ! -s conftest.err'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; } &&
28362 { ac_try
='test -s conftest.$ac_objext'
28363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28364 (eval $ac_try) 2>&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); }; }; then
28368 ac_cv_type_size_t
=yes
28370 echo "$as_me: failed program was:" >&5
28371 sed 's/^/| /' conftest.
$ac_ext >&5
28373 ac_cv_type_size_t
=no
28375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28377 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28378 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28379 if test $ac_cv_type_size_t = yes; then
28383 cat >>confdefs.h
<<_ACEOF
28384 #define size_t unsigned
28389 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28390 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28391 if test "${ac_cv_type_uid_t+set}" = set; then
28392 echo $ECHO_N "(cached) $ECHO_C" >&6
28394 cat >conftest.
$ac_ext <<_ACEOF
28397 cat confdefs.h
>>conftest.
$ac_ext
28398 cat >>conftest.
$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28400 #include <sys/types.h>
28403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28404 $EGREP "uid_t" >/dev
/null
2>&1; then
28405 ac_cv_type_uid_t
=yes
28407 ac_cv_type_uid_t
=no
28412 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28413 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28414 if test $ac_cv_type_uid_t = no
; then
28416 cat >>confdefs.h
<<\_ACEOF
28421 cat >>confdefs.h
<<\_ACEOF
28431 ac_cpp
='$CXXCPP $CPPFLAGS'
28432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28436 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28437 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28438 if test "${wx_cv_size_t_is_uint+set}" = set; then
28439 echo $ECHO_N "(cached) $ECHO_C" >&6
28442 cat >conftest.
$ac_ext <<_ACEOF
28445 cat confdefs.h
>>conftest.
$ac_ext
28446 cat >>conftest.
$ac_ext <<_ACEOF
28447 /* end confdefs.h. */
28448 #include <stddef.h>
28455 struct Foo { void foo(size_t); void foo(unsigned int); };
28463 rm -f conftest.
$ac_objext
28464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28465 (eval $ac_compile) 2>conftest.er1
28467 grep -v '^ *+' conftest.er1
>conftest.err
28469 cat conftest.err
>&5
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); } &&
28472 { ac_try
='test -z "$ac_cxx_werror_flag"
28473 || test ! -s conftest.err'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; } &&
28479 { ac_try
='test -s conftest.$ac_objext'
28480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28481 (eval $ac_try) 2>&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); }; }; then
28485 wx_cv_size_t_is_uint
=no
28487 echo "$as_me: failed program was:" >&5
28488 sed 's/^/| /' conftest.
$ac_ext >&5
28490 wx_cv_size_t_is_uint
=yes
28493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28497 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28498 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28500 if test "$wx_cv_size_t_is_uint" = "yes"; then
28501 cat >>confdefs.h
<<\_ACEOF
28502 #define wxSIZE_T_IS_UINT 1
28506 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28507 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28508 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28509 echo $ECHO_N "(cached) $ECHO_C" >&6
28511 cat >conftest.
$ac_ext <<_ACEOF
28514 cat confdefs.h
>>conftest.
$ac_ext
28515 cat >>conftest.
$ac_ext <<_ACEOF
28516 /* end confdefs.h. */
28517 #include <stddef.h>
28524 struct Foo { void foo(size_t); void foo(unsigned long); };
28532 rm -f conftest.
$ac_objext
28533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28534 (eval $ac_compile) 2>conftest.er1
28536 grep -v '^ *+' conftest.er1
>conftest.err
28538 cat conftest.err
>&5
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); } &&
28541 { ac_try
='test -z "$ac_cxx_werror_flag"
28542 || test ! -s conftest.err'
28543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544 (eval $ac_try) 2>&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); }; } &&
28548 { ac_try
='test -s conftest.$ac_objext'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 wx_cv_size_t_is_ulong
=no
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.
$ac_ext >&5
28559 wx_cv_size_t_is_ulong
=yes
28562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28565 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28566 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28568 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28569 cat >>confdefs.h
<<\_ACEOF
28570 #define wxSIZE_T_IS_ULONG 1
28577 ac_cpp
='$CPP $CPPFLAGS'
28578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28584 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28585 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28586 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28590 cat >conftest.
$ac_ext <<_ACEOF
28593 cat confdefs.h
>>conftest.
$ac_ext
28594 cat >>conftest.
$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28609 rm -f conftest.
$ac_objext
28610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28611 (eval $ac_compile) 2>conftest.er1
28613 grep -v '^ *+' conftest.er1
>conftest.err
28615 cat conftest.err
>&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); } &&
28618 { ac_try
='test -z "$ac_c_werror_flag"
28619 || test ! -s conftest.err'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; } &&
28625 { ac_try
='test -s conftest.$ac_objext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28632 wx_cv_struct_pw_gecos
=yes
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.
$ac_ext >&5
28639 wx_cv_struct_pw_gecos
=no
28643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28647 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28648 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28650 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28651 cat >>confdefs.h
<<\_ACEOF
28652 #define HAVE_PW_GECOS 1
28658 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28659 cat >>confdefs.h
<<\_ACEOF
28660 #define wxUSE_WCHAR_T 1
28667 for ac_func
in wcslen
28669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28670 echo "$as_me:$LINENO: checking for $ac_func" >&5
28671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28672 if eval "test \"\${$as_ac_var+set}\" = set"; then
28673 echo $ECHO_N "(cached) $ECHO_C" >&6
28675 cat >conftest.
$ac_ext <<_ACEOF
28678 cat confdefs.h
>>conftest.
$ac_ext
28679 cat >>conftest.
$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28683 #define $ac_func innocuous_$ac_func
28685 /* System header to define __stub macros and hopefully few prototypes,
28686 which can conflict with char $ac_func (); below.
28687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28688 <limits.h> exists even on freestanding compilers. */
28691 # include <limits.h>
28693 # include <assert.h>
28698 /* Override any gcc2 internal prototype to avoid an error. */
28703 /* We use char because int might match the return type of a gcc2
28704 builtin and then its argument prototype would still apply. */
28706 /* The GNU C library defines this for functions which it implements
28707 to always fail with ENOSYS. Some functions are actually named
28708 something starting with __ and the normal name is an alias. */
28709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28712 char (*f) () = $ac_func;
28721 return f != $ac_func;
28726 rm -f conftest.
$ac_objext conftest
$ac_exeext
28727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28728 (eval $ac_link) 2>conftest.er1
28730 grep -v '^ *+' conftest.er1
>conftest.err
28732 cat conftest.err
>&5
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); } &&
28735 { ac_try
='test -z "$ac_c_werror_flag"
28736 || test ! -s conftest.err'
28737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28738 (eval $ac_try) 2>&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); }; } &&
28742 { ac_try
='test -s conftest$ac_exeext'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; }; then
28748 eval "$as_ac_var=yes"
28750 echo "$as_me: failed program was:" >&5
28751 sed 's/^/| /' conftest.
$ac_ext >&5
28753 eval "$as_ac_var=no"
28755 rm -f conftest.err conftest.
$ac_objext \
28756 conftest
$ac_exeext conftest.
$ac_ext
28758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28760 if test `eval echo '${'$as_ac_var'}'` = yes; then
28761 cat >>confdefs.h
<<_ACEOF
28762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28769 if test "$WCSLEN_FOUND" = 0; then
28770 if test "$TOOLKIT" = "MSW"; then
28771 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28772 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28773 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28774 echo $ECHO_N "(cached) $ECHO_C" >&6
28776 ac_check_lib_save_LIBS
=$LIBS
28777 LIBS
="-lmsvcrt $LIBS"
28778 cat >conftest.
$ac_ext <<_ACEOF
28781 cat confdefs.h
>>conftest.
$ac_ext
28782 cat >>conftest.
$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28785 /* Override any gcc2 internal prototype to avoid an error. */
28789 /* We use char because int might match the return type of a gcc2
28790 builtin and then its argument prototype would still apply. */
28800 rm -f conftest.
$ac_objext conftest
$ac_exeext
28801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28802 (eval $ac_link) 2>conftest.er1
28804 grep -v '^ *+' conftest.er1
>conftest.err
28806 cat conftest.err
>&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } &&
28809 { ac_try
='test -z "$ac_c_werror_flag"
28810 || test ! -s conftest.err'
28811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28812 (eval $ac_try) 2>&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); }; } &&
28816 { ac_try
='test -s conftest$ac_exeext'
28817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28818 (eval $ac_try) 2>&5
28820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821 (exit $ac_status); }; }; then
28822 ac_cv_lib_msvcrt_wcslen
=yes
28824 echo "$as_me: failed program was:" >&5
28825 sed 's/^/| /' conftest.
$ac_ext >&5
28827 ac_cv_lib_msvcrt_wcslen
=no
28829 rm -f conftest.err conftest.
$ac_objext \
28830 conftest
$ac_exeext conftest.
$ac_ext
28831 LIBS
=$ac_check_lib_save_LIBS
28833 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28834 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28835 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28840 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28841 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28842 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28843 echo $ECHO_N "(cached) $ECHO_C" >&6
28845 ac_check_lib_save_LIBS
=$LIBS
28847 cat >conftest.
$ac_ext <<_ACEOF
28850 cat confdefs.h
>>conftest.
$ac_ext
28851 cat >>conftest.
$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28854 /* Override any gcc2 internal prototype to avoid an error. */
28858 /* We use char because int might match the return type of a gcc2
28859 builtin and then its argument prototype would still apply. */
28869 rm -f conftest.
$ac_objext conftest
$ac_exeext
28870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28871 (eval $ac_link) 2>conftest.er1
28873 grep -v '^ *+' conftest.er1
>conftest.err
28875 cat conftest.err
>&5
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); } &&
28878 { ac_try
='test -z "$ac_c_werror_flag"
28879 || test ! -s conftest.err'
28880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28881 (eval $ac_try) 2>&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; } &&
28885 { ac_try
='test -s conftest$ac_exeext'
28886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28887 (eval $ac_try) 2>&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); }; }; then
28891 ac_cv_lib_w_wcslen
=yes
28893 echo "$as_me: failed program was:" >&5
28894 sed 's/^/| /' conftest.
$ac_ext >&5
28896 ac_cv_lib_w_wcslen
=no
28898 rm -f conftest.err conftest.
$ac_objext \
28899 conftest
$ac_exeext conftest.
$ac_ext
28900 LIBS
=$ac_check_lib_save_LIBS
28902 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
28903 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
28904 if test $ac_cv_lib_w_wcslen = yes; then
28914 if test "$WCSLEN_FOUND" = 1; then
28915 cat >>confdefs.h
<<\_ACEOF
28916 #define HAVE_WCSLEN 1
28921 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
28922 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
28926 for ac_func
in wcsrtombs
28928 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28929 echo "$as_me:$LINENO: checking for $ac_func" >&5
28930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28931 if eval "test \"\${$as_ac_var+set}\" = set"; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 cat >conftest.
$ac_ext <<_ACEOF
28937 cat confdefs.h
>>conftest.
$ac_ext
28938 cat >>conftest.
$ac_ext <<_ACEOF
28939 /* end confdefs.h. */
28940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28942 #define $ac_func innocuous_$ac_func
28944 /* System header to define __stub macros and hopefully few prototypes,
28945 which can conflict with char $ac_func (); below.
28946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28947 <limits.h> exists even on freestanding compilers. */
28950 # include <limits.h>
28952 # include <assert.h>
28957 /* Override any gcc2 internal prototype to avoid an error. */
28962 /* We use char because int might match the return type of a gcc2
28963 builtin and then its argument prototype would still apply. */
28965 /* The GNU C library defines this for functions which it implements
28966 to always fail with ENOSYS. Some functions are actually named
28967 something starting with __ and the normal name is an alias. */
28968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28971 char (*f) () = $ac_func;
28980 return f != $ac_func;
28985 rm -f conftest.
$ac_objext conftest
$ac_exeext
28986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28987 (eval $ac_link) 2>conftest.er1
28989 grep -v '^ *+' conftest.er1
>conftest.err
28991 cat conftest.err
>&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); } &&
28994 { ac_try
='test -z "$ac_c_werror_flag"
28995 || test ! -s conftest.err'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; } &&
29001 { ac_try
='test -s conftest$ac_exeext'
29002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29003 (eval $ac_try) 2>&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); }; }; then
29007 eval "$as_ac_var=yes"
29009 echo "$as_me: failed program was:" >&5
29010 sed 's/^/| /' conftest.
$ac_ext >&5
29012 eval "$as_ac_var=no"
29014 rm -f conftest.err conftest.
$ac_objext \
29015 conftest
$ac_exeext conftest.
$ac_ext
29017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29019 if test `eval echo '${'$as_ac_var'}'` = yes; then
29020 cat >>confdefs.h
<<_ACEOF
29021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29028 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29029 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29035 ac_cpp
='$CXXCPP $CPPFLAGS'
29036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29042 for ac_func
in vsnprintf
29044 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29045 echo "$as_me:$LINENO: checking for $ac_func" >&5
29046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29047 if eval "test \"\${$as_ac_var+set}\" = set"; then
29048 echo $ECHO_N "(cached) $ECHO_C" >&6
29050 cat >conftest.
$ac_ext <<_ACEOF
29053 cat confdefs.h
>>conftest.
$ac_ext
29054 cat >>conftest.
$ac_ext <<_ACEOF
29055 /* end confdefs.h. */
29056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29058 #define $ac_func innocuous_$ac_func
29060 /* System header to define __stub macros and hopefully few prototypes,
29061 which can conflict with char $ac_func (); below.
29062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29063 <limits.h> exists even on freestanding compilers. */
29066 # include <limits.h>
29068 # include <assert.h>
29073 /* Override any gcc2 internal prototype to avoid an error. */
29078 /* We use char because int might match the return type of a gcc2
29079 builtin and then its argument prototype would still apply. */
29081 /* The GNU C library defines this for functions which it implements
29082 to always fail with ENOSYS. Some functions are actually named
29083 something starting with __ and the normal name is an alias. */
29084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29087 char (*f) () = $ac_func;
29096 return f != $ac_func;
29101 rm -f conftest.
$ac_objext conftest
$ac_exeext
29102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29103 (eval $ac_link) 2>conftest.er1
29105 grep -v '^ *+' conftest.er1
>conftest.err
29107 cat conftest.err
>&5
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); } &&
29110 { ac_try
='test -z "$ac_cxx_werror_flag"
29111 || test ! -s conftest.err'
29112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29113 (eval $ac_try) 2>&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); }; } &&
29117 { ac_try
='test -s conftest$ac_exeext'
29118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119 (eval $ac_try) 2>&5
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); }; }; then
29123 eval "$as_ac_var=yes"
29125 echo "$as_me: failed program was:" >&5
29126 sed 's/^/| /' conftest.
$ac_ext >&5
29128 eval "$as_ac_var=no"
29130 rm -f conftest.err conftest.
$ac_objext \
29131 conftest
$ac_exeext conftest.
$ac_ext
29133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29135 if test `eval echo '${'$as_ac_var'}'` = yes; then
29136 cat >>confdefs.h
<<_ACEOF
29137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29144 if test "$ac_cv_func_vsnprintf" = "yes"; then
29145 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29146 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29147 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29151 cat >conftest.
$ac_ext <<_ACEOF
29154 cat confdefs.h
>>conftest.
$ac_ext
29155 cat >>conftest.
$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29159 #include <stdarg.h>
29167 vsnprintf(buf, 10u, "%s", ap);
29173 rm -f conftest.
$ac_objext
29174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29175 (eval $ac_compile) 2>conftest.er1
29177 grep -v '^ *+' conftest.er1
>conftest.err
29179 cat conftest.err
>&5
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); } &&
29182 { ac_try
='test -z "$ac_cxx_werror_flag"
29183 || test ! -s conftest.err'
29184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29185 (eval $ac_try) 2>&5
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); }; } &&
29189 { ac_try
='test -s conftest.$ac_objext'
29190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29191 (eval $ac_try) 2>&5
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; }; then
29195 wx_cv_func_vsnprintf_decl
=yes
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.
$ac_ext >&5
29200 wx_cv_func_vsnprintf_decl
=no
29203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29207 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29208 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29210 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29211 cat >>confdefs.h
<<\_ACEOF
29212 #define HAVE_VSNPRINTF_DECL 1
29218 if test "$wxUSE_UNICODE" = yes; then
29225 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
29227 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29228 echo "$as_me:$LINENO: checking for $ac_func" >&5
29229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29230 if eval "test \"\${$as_ac_var+set}\" = set"; then
29231 echo $ECHO_N "(cached) $ECHO_C" >&6
29233 cat >conftest.
$ac_ext <<_ACEOF
29236 cat confdefs.h
>>conftest.
$ac_ext
29237 cat >>conftest.
$ac_ext <<_ACEOF
29238 /* end confdefs.h. */
29239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29241 #define $ac_func innocuous_$ac_func
29243 /* System header to define __stub macros and hopefully few prototypes,
29244 which can conflict with char $ac_func (); below.
29245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29246 <limits.h> exists even on freestanding compilers. */
29249 # include <limits.h>
29251 # include <assert.h>
29256 /* Override any gcc2 internal prototype to avoid an error. */
29261 /* We use char because int might match the return type of a gcc2
29262 builtin and then its argument prototype would still apply. */
29264 /* The GNU C library defines this for functions which it implements
29265 to always fail with ENOSYS. Some functions are actually named
29266 something starting with __ and the normal name is an alias. */
29267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29270 char (*f) () = $ac_func;
29279 return f != $ac_func;
29284 rm -f conftest.
$ac_objext conftest
$ac_exeext
29285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29286 (eval $ac_link) 2>conftest.er1
29288 grep -v '^ *+' conftest.er1
>conftest.err
29290 cat conftest.err
>&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); } &&
29293 { ac_try
='test -z "$ac_cxx_werror_flag"
29294 || test ! -s conftest.err'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try
='test -s conftest$ac_exeext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 eval "$as_ac_var=yes"
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.
$ac_ext >&5
29311 eval "$as_ac_var=no"
29313 rm -f conftest.err conftest.
$ac_objext \
29314 conftest
$ac_exeext conftest.
$ac_ext
29316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29318 if test `eval echo '${'$as_ac_var'}'` = yes; then
29319 cat >>confdefs.h
<<_ACEOF
29320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29327 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29328 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29329 cat >conftest.
$ac_ext <<_ACEOF
29332 cat confdefs.h
>>conftest.
$ac_ext
29333 cat >>conftest.
$ac_ext <<_ACEOF
29334 /* end confdefs.h. */
29344 rm -f conftest.
$ac_objext
29345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29346 (eval $ac_compile) 2>conftest.er1
29348 grep -v '^ *+' conftest.er1
>conftest.err
29350 cat conftest.err
>&5
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); } &&
29353 { ac_try
='test -z "$ac_cxx_werror_flag"
29354 || test ! -s conftest.err'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; } &&
29360 { ac_try
='test -s conftest.$ac_objext'
29361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29362 (eval $ac_try) 2>&5
29364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29365 (exit $ac_status); }; }; then
29366 echo "$as_me:$LINENO: result: yes" >&5
29367 echo "${ECHO_T}yes" >&6
29368 cat >>confdefs.h
<<\_ACEOF
29369 #define HAVE__VSNWPRINTF 1
29373 echo "$as_me: failed program was:" >&5
29374 sed 's/^/| /' conftest.
$ac_ext >&5
29376 echo "$as_me:$LINENO: result: no" >&5
29377 echo "${ECHO_T}no" >&6
29379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
29383 ac_cpp
='$CPP $CPPFLAGS'
29384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29391 if test "$TOOLKIT" != "MSW"; then
29397 ac_cpp
='$CXXCPP $CPPFLAGS'
29398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29405 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29406 if test "${with_libiconv_prefix+set}" = set; then
29407 withval
="$with_libiconv_prefix"
29409 for dir
in `echo "$withval" | tr : ' '`; do
29410 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
29411 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
29416 echo "$as_me:$LINENO: checking for iconv" >&5
29417 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29418 if test "${am_cv_func_iconv+set}" = set; then
29419 echo $ECHO_N "(cached) $ECHO_C" >&6
29422 am_cv_func_iconv
="no, consider installing GNU libiconv"
29424 cat >conftest.
$ac_ext <<_ACEOF
29427 cat confdefs.h
>>conftest.
$ac_ext
29428 cat >>conftest.
$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29430 #include <stdlib.h>
29435 iconv_t cd = iconv_open("","");
29436 iconv(cd,NULL,NULL,NULL,NULL);
29442 rm -f conftest.
$ac_objext conftest
$ac_exeext
29443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29444 (eval $ac_link) 2>conftest.er1
29446 grep -v '^ *+' conftest.er1
>conftest.err
29448 cat conftest.err
>&5
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); } &&
29451 { ac_try
='test -z "$ac_cxx_werror_flag"
29452 || test ! -s conftest.err'
29453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29454 (eval $ac_try) 2>&5
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); }; } &&
29458 { ac_try
='test -s conftest$ac_exeext'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; }; then
29464 am_cv_func_iconv
=yes
29466 echo "$as_me: failed program was:" >&5
29467 sed 's/^/| /' conftest.
$ac_ext >&5
29470 rm -f conftest.err conftest.
$ac_objext \
29471 conftest
$ac_exeext conftest.
$ac_ext
29472 if test "$am_cv_func_iconv" != yes; then
29473 am_save_LIBS
="$LIBS"
29474 LIBS
="$LIBS -liconv"
29475 cat >conftest.
$ac_ext <<_ACEOF
29478 cat confdefs.h
>>conftest.
$ac_ext
29479 cat >>conftest.
$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29481 #include <stdlib.h>
29486 iconv_t cd = iconv_open("","");
29487 iconv(cd,NULL,NULL,NULL,NULL);
29493 rm -f conftest.
$ac_objext conftest
$ac_exeext
29494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29495 (eval $ac_link) 2>conftest.er1
29497 grep -v '^ *+' conftest.er1
>conftest.err
29499 cat conftest.err
>&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); } &&
29502 { ac_try
='test -z "$ac_cxx_werror_flag"
29503 || test ! -s conftest.err'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; } &&
29509 { ac_try
='test -s conftest$ac_exeext'
29510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29511 (eval $ac_try) 2>&5
29513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29514 (exit $ac_status); }; }; then
29515 am_cv_lib_iconv
=yes
29516 am_cv_func_iconv
=yes
29518 echo "$as_me: failed program was:" >&5
29519 sed 's/^/| /' conftest.
$ac_ext >&5
29522 rm -f conftest.err conftest.
$ac_objext \
29523 conftest
$ac_exeext conftest.
$ac_ext
29524 LIBS
="$am_save_LIBS"
29528 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29529 echo "${ECHO_T}$am_cv_func_iconv" >&6
29530 if test "$am_cv_func_iconv" = yes; then
29532 cat >>confdefs.h
<<\_ACEOF
29533 #define HAVE_ICONV 1
29536 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29537 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29538 if test "${wx_cv_func_iconv_const+set}" = set; then
29539 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 cat >conftest.
$ac_ext <<_ACEOF
29544 cat confdefs.h
>>conftest.
$ac_ext
29545 cat >>conftest.
$ac_ext <<_ACEOF
29546 /* end confdefs.h. */
29548 #include <stdlib.h>
29554 #if defined(__STDC__) || defined(__cplusplus)
29555 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29568 rm -f conftest.
$ac_objext
29569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29570 (eval $ac_compile) 2>conftest.er1
29572 grep -v '^ *+' conftest.er1
>conftest.err
29574 cat conftest.err
>&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try
='test -z "$ac_cxx_werror_flag"
29578 || test ! -s conftest.err'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; } &&
29584 { ac_try
='test -s conftest.$ac_objext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29590 wx_cv_func_iconv_const
="no"
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.
$ac_ext >&5
29595 wx_cv_func_iconv_const
="yes"
29598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29601 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29602 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29605 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29606 iconv_const
="const"
29610 cat >>confdefs.h
<<_ACEOF
29611 #define ICONV_CONST $iconv_const
29616 if test "$am_cv_lib_iconv" = yes; then
29621 LIBS
="$LIBICONV $LIBS"
29623 ac_cpp
='$CPP $CPPFLAGS'
29624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29629 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29631 for ac_func
in sigaction
29633 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29634 echo "$as_me:$LINENO: checking for $ac_func" >&5
29635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29636 if eval "test \"\${$as_ac_var+set}\" = set"; then
29637 echo $ECHO_N "(cached) $ECHO_C" >&6
29639 cat >conftest.
$ac_ext <<_ACEOF
29642 cat confdefs.h
>>conftest.
$ac_ext
29643 cat >>conftest.
$ac_ext <<_ACEOF
29644 /* end confdefs.h. */
29645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29647 #define $ac_func innocuous_$ac_func
29649 /* System header to define __stub macros and hopefully few prototypes,
29650 which can conflict with char $ac_func (); below.
29651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29652 <limits.h> exists even on freestanding compilers. */
29655 # include <limits.h>
29657 # include <assert.h>
29662 /* Override any gcc2 internal prototype to avoid an error. */
29667 /* We use char because int might match the return type of a gcc2
29668 builtin and then its argument prototype would still apply. */
29670 /* The GNU C library defines this for functions which it implements
29671 to always fail with ENOSYS. Some functions are actually named
29672 something starting with __ and the normal name is an alias. */
29673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29676 char (*f) () = $ac_func;
29685 return f != $ac_func;
29690 rm -f conftest.
$ac_objext conftest
$ac_exeext
29691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29692 (eval $ac_link) 2>conftest.er1
29694 grep -v '^ *+' conftest.er1
>conftest.err
29696 cat conftest.err
>&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); } &&
29699 { ac_try
='test -z "$ac_c_werror_flag"
29700 || test ! -s conftest.err'
29701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702 (eval $ac_try) 2>&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; } &&
29706 { ac_try
='test -s conftest$ac_exeext'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; }; then
29712 eval "$as_ac_var=yes"
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.
$ac_ext >&5
29717 eval "$as_ac_var=no"
29719 rm -f conftest.err conftest.
$ac_objext \
29720 conftest
$ac_exeext conftest.
$ac_ext
29722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29724 if test `eval echo '${'$as_ac_var'}'` = yes; then
29725 cat >>confdefs.h
<<_ACEOF
29726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29733 if test "$ac_cv_func_sigaction" = "no"; then
29734 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29735 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29736 wxUSE_ON_FATAL_EXCEPTION
=no
29739 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29743 ac_cpp
='$CXXCPP $CPPFLAGS'
29744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29749 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29750 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29751 if test "${wx_cv_type_sa_handler+set}" = set; then
29752 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 cat >conftest.
$ac_ext <<_ACEOF
29758 cat confdefs.h
>>conftest.
$ac_ext
29759 cat >>conftest.
$ac_ext <<_ACEOF
29760 /* end confdefs.h. */
29761 #include <signal.h>
29766 extern void testSigHandler(int);
29768 struct sigaction sa;
29769 sa.sa_handler = testSigHandler;
29775 rm -f conftest.
$ac_objext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29777 (eval $ac_compile) 2>conftest.er1
29779 grep -v '^ *+' conftest.er1
>conftest.err
29781 cat conftest.err
>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try
='test -z "$ac_cxx_werror_flag"
29785 || test ! -s conftest.err'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try
='test -s conftest.$ac_objext'
29792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793 (eval $ac_try) 2>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); }; }; then
29798 wx_cv_type_sa_handler
=int
29801 echo "$as_me: failed program was:" >&5
29802 sed 's/^/| /' conftest.
$ac_ext >&5
29805 wx_cv_type_sa_handler
=void
29808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29811 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29812 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29815 ac_cpp
='$CPP $CPPFLAGS'
29816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29821 cat >>confdefs.h
<<_ACEOF
29822 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29830 for ac_func
in mkstemp mktemp
29832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29833 echo "$as_me:$LINENO: checking for $ac_func" >&5
29834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29835 if eval "test \"\${$as_ac_var+set}\" = set"; then
29836 echo $ECHO_N "(cached) $ECHO_C" >&6
29838 cat >conftest.
$ac_ext <<_ACEOF
29841 cat confdefs.h
>>conftest.
$ac_ext
29842 cat >>conftest.
$ac_ext <<_ACEOF
29843 /* end confdefs.h. */
29844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29846 #define $ac_func innocuous_$ac_func
29848 /* System header to define __stub macros and hopefully few prototypes,
29849 which can conflict with char $ac_func (); below.
29850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29851 <limits.h> exists even on freestanding compilers. */
29854 # include <limits.h>
29856 # include <assert.h>
29861 /* Override any gcc2 internal prototype to avoid an error. */
29866 /* We use char because int might match the return type of a gcc2
29867 builtin and then its argument prototype would still apply. */
29869 /* The GNU C library defines this for functions which it implements
29870 to always fail with ENOSYS. Some functions are actually named
29871 something starting with __ and the normal name is an alias. */
29872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29875 char (*f) () = $ac_func;
29884 return f != $ac_func;
29889 rm -f conftest.
$ac_objext conftest
$ac_exeext
29890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29891 (eval $ac_link) 2>conftest.er1
29893 grep -v '^ *+' conftest.er1
>conftest.err
29895 cat conftest.err
>&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } &&
29898 { ac_try
='test -z "$ac_c_werror_flag"
29899 || test ! -s conftest.err'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; } &&
29905 { ac_try
='test -s conftest$ac_exeext'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; }; then
29911 eval "$as_ac_var=yes"
29913 echo "$as_me: failed program was:" >&5
29914 sed 's/^/| /' conftest.
$ac_ext >&5
29916 eval "$as_ac_var=no"
29918 rm -f conftest.err conftest.
$ac_objext \
29919 conftest
$ac_exeext conftest.
$ac_ext
29921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29923 if test `eval echo '${'$as_ac_var'}'` = yes; then
29924 cat >>confdefs.h
<<_ACEOF
29925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29932 echo "$as_me:$LINENO: checking for statfs" >&5
29933 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
29934 if test "${wx_cv_func_statfs+set}" = set; then
29935 echo $ECHO_N "(cached) $ECHO_C" >&6
29937 cat >conftest.
$ac_ext <<_ACEOF
29940 cat confdefs.h
>>conftest.
$ac_ext
29941 cat >>conftest.
$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29944 #if defined(__BSD__)
29945 #include <sys/param.h>
29946 #include <sys/mount.h>
29948 #include <sys/vfs.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_c_werror_flag"
29976 || test ! -s conftest.err'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; } &&
29982 { ac_try
='test -s conftest.$ac_objext'
29983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29984 (eval $ac_try) 2>&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); }; }; then
29989 wx_cv_func_statfs
=yes
29992 echo "$as_me: failed program was:" >&5
29993 sed 's/^/| /' conftest.
$ac_ext >&5
29996 wx_cv_func_statfs
=no
30000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30003 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30004 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30006 if test "$wx_cv_func_statfs" = "yes"; then
30007 wx_cv_type_statvfs_t
="struct statfs"
30008 cat >>confdefs.h
<<\_ACEOF
30009 #define HAVE_STATFS 1
30013 echo "$as_me:$LINENO: checking for statvfs" >&5
30014 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30015 if test "${wx_cv_func_statvfs+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30018 cat >conftest.
$ac_ext <<_ACEOF
30021 cat confdefs.h
>>conftest.
$ac_ext
30022 cat >>conftest.
$ac_ext <<_ACEOF
30023 /* end confdefs.h. */
30025 #include <stddef.h>
30026 #include <sys/statvfs.h>
30032 statvfs("/", NULL);
30038 rm -f conftest.
$ac_objext
30039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30040 (eval $ac_compile) 2>conftest.er1
30042 grep -v '^ *+' conftest.er1
>conftest.err
30044 cat conftest.err
>&5
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } &&
30047 { ac_try
='test -z "$ac_c_werror_flag"
30048 || test ! -s conftest.err'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; } &&
30054 { ac_try
='test -s conftest.$ac_objext'
30055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 (eval $ac_try) 2>&5
30058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30059 (exit $ac_status); }; }; then
30060 wx_cv_func_statvfs
=yes
30062 echo "$as_me: failed program was:" >&5
30063 sed 's/^/| /' conftest.
$ac_ext >&5
30065 wx_cv_func_statvfs
=no
30068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30071 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30072 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30074 if test "$wx_cv_func_statvfs" = "yes"; then
30078 ac_cpp
='$CXXCPP $CPPFLAGS'
30079 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30084 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30085 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30086 if test "${wx_cv_type_statvfs_t+set}" = set; then
30087 echo $ECHO_N "(cached) $ECHO_C" >&6
30089 cat >conftest.
$ac_ext <<_ACEOF
30092 cat confdefs.h
>>conftest.
$ac_ext
30093 cat >>conftest.
$ac_ext <<_ACEOF
30094 /* end confdefs.h. */
30096 #include <sys/statvfs.h>
30113 rm -f conftest.
$ac_objext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30115 (eval $ac_compile) 2>conftest.er1
30117 grep -v '^ *+' conftest.er1
>conftest.err
30119 cat conftest.err
>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } &&
30122 { ac_try
='test -z "$ac_cxx_werror_flag"
30123 || test ! -s conftest.err'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; } &&
30129 { ac_try
='test -s conftest.$ac_objext'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; }; then
30135 wx_cv_type_statvfs_t
=statvfs_t
30137 echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.
$ac_ext >&5
30141 cat >conftest.
$ac_ext <<_ACEOF
30144 cat confdefs.h
>>conftest.
$ac_ext
30145 cat >>conftest.
$ac_ext <<_ACEOF
30146 /* end confdefs.h. */
30148 #include <sys/statvfs.h>
30165 rm -f conftest.
$ac_objext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30167 (eval $ac_compile) 2>conftest.er1
30169 grep -v '^ *+' conftest.er1
>conftest.err
30171 cat conftest.err
>&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try
='test -z "$ac_cxx_werror_flag"
30175 || test ! -s conftest.err'
30176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30177 (eval $ac_try) 2>&5
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); }; } &&
30181 { ac_try
='test -s conftest.$ac_objext'
30182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30183 (eval $ac_try) 2>&5
30185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30186 (exit $ac_status); }; }; then
30187 wx_cv_type_statvfs_t
="struct statvfs"
30189 echo "$as_me: failed program was:" >&5
30190 sed 's/^/| /' conftest.
$ac_ext >&5
30192 wx_cv_type_statvfs_t
="unknown"
30195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30202 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30203 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30206 ac_cpp
='$CPP $CPPFLAGS'
30207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30212 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30213 cat >>confdefs.h
<<\_ACEOF
30214 #define HAVE_STATVFS 1
30219 wx_cv_type_statvfs_t
="unknown"
30223 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30224 cat >>confdefs.h
<<_ACEOF
30225 #define WX_STATFS_T $wx_cv_type_statvfs_t
30229 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30230 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30233 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30236 for ac_func
in fcntl flock
30238 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30239 echo "$as_me:$LINENO: checking for $ac_func" >&5
30240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30241 if eval "test \"\${$as_ac_var+set}\" = set"; then
30242 echo $ECHO_N "(cached) $ECHO_C" >&6
30244 cat >conftest.
$ac_ext <<_ACEOF
30247 cat confdefs.h
>>conftest.
$ac_ext
30248 cat >>conftest.
$ac_ext <<_ACEOF
30249 /* end confdefs.h. */
30250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30252 #define $ac_func innocuous_$ac_func
30254 /* System header to define __stub macros and hopefully few prototypes,
30255 which can conflict with char $ac_func (); below.
30256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30257 <limits.h> exists even on freestanding compilers. */
30260 # include <limits.h>
30262 # include <assert.h>
30267 /* Override any gcc2 internal prototype to avoid an error. */
30272 /* We use char because int might match the return type of a gcc2
30273 builtin and then its argument prototype would still apply. */
30275 /* The GNU C library defines this for functions which it implements
30276 to always fail with ENOSYS. Some functions are actually named
30277 something starting with __ and the normal name is an alias. */
30278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30281 char (*f) () = $ac_func;
30290 return f != $ac_func;
30295 rm -f conftest.
$ac_objext conftest
$ac_exeext
30296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30297 (eval $ac_link) 2>conftest.er1
30299 grep -v '^ *+' conftest.er1
>conftest.err
30301 cat conftest.err
>&5
30302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30303 (exit $ac_status); } &&
30304 { ac_try
='test -z "$ac_c_werror_flag"
30305 || test ! -s conftest.err'
30306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30307 (eval $ac_try) 2>&5
30309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30310 (exit $ac_status); }; } &&
30311 { ac_try
='test -s conftest$ac_exeext'
30312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30313 (eval $ac_try) 2>&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; }; then
30317 eval "$as_ac_var=yes"
30319 echo "$as_me: failed program was:" >&5
30320 sed 's/^/| /' conftest.
$ac_ext >&5
30322 eval "$as_ac_var=no"
30324 rm -f conftest.err conftest.
$ac_objext \
30325 conftest
$ac_exeext conftest.
$ac_ext
30327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30329 if test `eval echo '${'$as_ac_var'}'` = yes; then
30330 cat >>confdefs.h
<<_ACEOF
30331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30338 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30339 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30340 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30341 wxUSE_SNGLINST_CHECKER
=no
30346 for ac_func
in timegm
30348 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30349 echo "$as_me:$LINENO: checking for $ac_func" >&5
30350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30351 if eval "test \"\${$as_ac_var+set}\" = set"; then
30352 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 cat >conftest.
$ac_ext <<_ACEOF
30357 cat confdefs.h
>>conftest.
$ac_ext
30358 cat >>conftest.
$ac_ext <<_ACEOF
30359 /* end confdefs.h. */
30360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30362 #define $ac_func innocuous_$ac_func
30364 /* System header to define __stub macros and hopefully few prototypes,
30365 which can conflict with char $ac_func (); below.
30366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30367 <limits.h> exists even on freestanding compilers. */
30370 # include <limits.h>
30372 # include <assert.h>
30377 /* Override any gcc2 internal prototype to avoid an error. */
30382 /* We use char because int might match the return type of a gcc2
30383 builtin and then its argument prototype would still apply. */
30385 /* The GNU C library defines this for functions which it implements
30386 to always fail with ENOSYS. Some functions are actually named
30387 something starting with __ and the normal name is an alias. */
30388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30391 char (*f) () = $ac_func;
30400 return f != $ac_func;
30405 rm -f conftest.
$ac_objext conftest
$ac_exeext
30406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30407 (eval $ac_link) 2>conftest.er1
30409 grep -v '^ *+' conftest.er1
>conftest.err
30411 cat conftest.err
>&5
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); } &&
30414 { ac_try
='test -z "$ac_c_werror_flag"
30415 || test ! -s conftest.err'
30416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30417 (eval $ac_try) 2>&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); }; } &&
30421 { ac_try
='test -s conftest$ac_exeext'
30422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423 (eval $ac_try) 2>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; }; then
30427 eval "$as_ac_var=yes"
30429 echo "$as_me: failed program was:" >&5
30430 sed 's/^/| /' conftest.
$ac_ext >&5
30432 eval "$as_ac_var=no"
30434 rm -f conftest.err conftest.
$ac_objext \
30435 conftest
$ac_exeext conftest.
$ac_ext
30437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30439 if test `eval echo '${'$as_ac_var'}'` = yes; then
30440 cat >>confdefs.h
<<_ACEOF
30441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30450 for ac_func
in putenv setenv
30452 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30453 echo "$as_me:$LINENO: checking for $ac_func" >&5
30454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30455 if eval "test \"\${$as_ac_var+set}\" = set"; then
30456 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 cat >conftest.
$ac_ext <<_ACEOF
30461 cat confdefs.h
>>conftest.
$ac_ext
30462 cat >>conftest.
$ac_ext <<_ACEOF
30463 /* end confdefs.h. */
30464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30466 #define $ac_func innocuous_$ac_func
30468 /* System header to define __stub macros and hopefully few prototypes,
30469 which can conflict with char $ac_func (); below.
30470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30471 <limits.h> exists even on freestanding compilers. */
30474 # include <limits.h>
30476 # include <assert.h>
30481 /* Override any gcc2 internal prototype to avoid an error. */
30486 /* We use char because int might match the return type of a gcc2
30487 builtin and then its argument prototype would still apply. */
30489 /* The GNU C library defines this for functions which it implements
30490 to always fail with ENOSYS. Some functions are actually named
30491 something starting with __ and the normal name is an alias. */
30492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30495 char (*f) () = $ac_func;
30504 return f != $ac_func;
30509 rm -f conftest.
$ac_objext conftest
$ac_exeext
30510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30511 (eval $ac_link) 2>conftest.er1
30513 grep -v '^ *+' conftest.er1
>conftest.err
30515 cat conftest.err
>&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } &&
30518 { ac_try
='test -z "$ac_c_werror_flag"
30519 || test ! -s conftest.err'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; } &&
30525 { ac_try
='test -s conftest$ac_exeext'
30526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30527 (eval $ac_try) 2>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); }; }; then
30531 eval "$as_ac_var=yes"
30533 echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.
$ac_ext >&5
30536 eval "$as_ac_var=no"
30538 rm -f conftest.err conftest.
$ac_objext \
30539 conftest
$ac_exeext conftest.
$ac_ext
30541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30543 if test `eval echo '${'$as_ac_var'}'` = yes; then
30544 cat >>confdefs.h
<<_ACEOF
30545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30552 HAVE_SOME_SLEEP_FUNC
=0
30553 if test "$USE_BEOS" = 1; then
30554 cat >>confdefs.h
<<\_ACEOF
30555 #define HAVE_SLEEP 1
30558 HAVE_SOME_SLEEP_FUNC
=1
30561 if test "$USE_DARWIN" = 1; then
30562 cat >>confdefs.h
<<\_ACEOF
30563 #define HAVE_USLEEP 1
30566 HAVE_SOME_SLEEP_FUNC
=1
30569 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30572 for ac_func
in nanosleep
30574 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30575 echo "$as_me:$LINENO: checking for $ac_func" >&5
30576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30577 if eval "test \"\${$as_ac_var+set}\" = set"; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 cat >conftest.
$ac_ext <<_ACEOF
30583 cat confdefs.h
>>conftest.
$ac_ext
30584 cat >>conftest.
$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30588 #define $ac_func innocuous_$ac_func
30590 /* System header to define __stub macros and hopefully few prototypes,
30591 which can conflict with char $ac_func (); below.
30592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30593 <limits.h> exists even on freestanding compilers. */
30596 # include <limits.h>
30598 # include <assert.h>
30603 /* Override any gcc2 internal prototype to avoid an error. */
30608 /* We use char because int might match the return type of a gcc2
30609 builtin and then its argument prototype would still apply. */
30611 /* The GNU C library defines this for functions which it implements
30612 to always fail with ENOSYS. Some functions are actually named
30613 something starting with __ and the normal name is an alias. */
30614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30617 char (*f) () = $ac_func;
30626 return f != $ac_func;
30631 rm -f conftest.
$ac_objext conftest
$ac_exeext
30632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30633 (eval $ac_link) 2>conftest.er1
30635 grep -v '^ *+' conftest.er1
>conftest.err
30637 cat conftest.err
>&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } &&
30640 { ac_try
='test -z "$ac_c_werror_flag"
30641 || test ! -s conftest.err'
30642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30643 (eval $ac_try) 2>&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); }; } &&
30647 { ac_try
='test -s conftest$ac_exeext'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; }; then
30653 eval "$as_ac_var=yes"
30655 echo "$as_me: failed program was:" >&5
30656 sed 's/^/| /' conftest.
$ac_ext >&5
30658 eval "$as_ac_var=no"
30660 rm -f conftest.err conftest.
$ac_objext \
30661 conftest
$ac_exeext conftest.
$ac_ext
30663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30665 if test `eval echo '${'$as_ac_var'}'` = yes; then
30666 cat >>confdefs.h
<<_ACEOF
30667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30669 cat >>confdefs.h
<<\_ACEOF
30670 #define HAVE_NANOSLEEP 1
30675 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30676 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30677 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30678 echo $ECHO_N "(cached) $ECHO_C" >&6
30680 ac_check_lib_save_LIBS
=$LIBS
30681 LIBS
="-lposix4 $LIBS"
30682 cat >conftest.
$ac_ext <<_ACEOF
30685 cat confdefs.h
>>conftest.
$ac_ext
30686 cat >>conftest.
$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30689 /* Override any gcc2 internal prototype to avoid an error. */
30693 /* We use char because int might match the return type of a gcc2
30694 builtin and then its argument prototype would still apply. */
30704 rm -f conftest.
$ac_objext conftest
$ac_exeext
30705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30706 (eval $ac_link) 2>conftest.er1
30708 grep -v '^ *+' conftest.er1
>conftest.err
30710 cat conftest.err
>&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try
='test -z "$ac_c_werror_flag"
30714 || test ! -s conftest.err'
30715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30716 (eval $ac_try) 2>&5
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); }; } &&
30720 { ac_try
='test -s conftest$ac_exeext'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; }; then
30726 ac_cv_lib_posix4_nanosleep
=yes
30728 echo "$as_me: failed program was:" >&5
30729 sed 's/^/| /' conftest.
$ac_ext >&5
30731 ac_cv_lib_posix4_nanosleep
=no
30733 rm -f conftest.err conftest.
$ac_objext \
30734 conftest
$ac_exeext conftest.
$ac_ext
30735 LIBS
=$ac_check_lib_save_LIBS
30737 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30738 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30739 if test $ac_cv_lib_posix4_nanosleep = yes; then
30741 cat >>confdefs.h
<<\_ACEOF
30742 #define HAVE_NANOSLEEP 1
30745 POSIX4_LINK
=" -lposix4"
30750 for ac_func
in usleep
30752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30753 echo "$as_me:$LINENO: checking for $ac_func" >&5
30754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30755 if eval "test \"\${$as_ac_var+set}\" = set"; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30758 cat >conftest.
$ac_ext <<_ACEOF
30761 cat confdefs.h
>>conftest.
$ac_ext
30762 cat >>conftest.
$ac_ext <<_ACEOF
30763 /* end confdefs.h. */
30764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30766 #define $ac_func innocuous_$ac_func
30768 /* System header to define __stub macros and hopefully few prototypes,
30769 which can conflict with char $ac_func (); below.
30770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30771 <limits.h> exists even on freestanding compilers. */
30774 # include <limits.h>
30776 # include <assert.h>
30781 /* Override any gcc2 internal prototype to avoid an error. */
30786 /* We use char because int might match the return type of a gcc2
30787 builtin and then its argument prototype would still apply. */
30789 /* The GNU C library defines this for functions which it implements
30790 to always fail with ENOSYS. Some functions are actually named
30791 something starting with __ and the normal name is an alias. */
30792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30795 char (*f) () = $ac_func;
30804 return f != $ac_func;
30809 rm -f conftest.
$ac_objext conftest
$ac_exeext
30810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30811 (eval $ac_link) 2>conftest.er1
30813 grep -v '^ *+' conftest.er1
>conftest.err
30815 cat conftest.err
>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } &&
30818 { ac_try
='test -z "$ac_c_werror_flag"
30819 || test ! -s conftest.err'
30820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30821 (eval $ac_try) 2>&5
30823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30824 (exit $ac_status); }; } &&
30825 { ac_try
='test -s conftest$ac_exeext'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; }; then
30831 eval "$as_ac_var=yes"
30833 echo "$as_me: failed program was:" >&5
30834 sed 's/^/| /' conftest.
$ac_ext >&5
30836 eval "$as_ac_var=no"
30838 rm -f conftest.err conftest.
$ac_objext \
30839 conftest
$ac_exeext conftest.
$ac_ext
30841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30843 if test `eval echo '${'$as_ac_var'}'` = yes; then
30844 cat >>confdefs.h
<<_ACEOF
30845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30847 cat >>confdefs.h
<<\_ACEOF
30848 #define HAVE_USLEEP 1
30852 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30853 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30871 for ac_func
in uname gethostname
30873 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30874 echo "$as_me:$LINENO: checking for $ac_func" >&5
30875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30876 if eval "test \"\${$as_ac_var+set}\" = set"; then
30877 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 cat >conftest.
$ac_ext <<_ACEOF
30882 cat confdefs.h
>>conftest.
$ac_ext
30883 cat >>conftest.
$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30887 #define $ac_func innocuous_$ac_func
30889 /* System header to define __stub macros and hopefully few prototypes,
30890 which can conflict with char $ac_func (); below.
30891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30892 <limits.h> exists even on freestanding compilers. */
30895 # include <limits.h>
30897 # include <assert.h>
30902 /* Override any gcc2 internal prototype to avoid an error. */
30907 /* We use char because int might match the return type of a gcc2
30908 builtin and then its argument prototype would still apply. */
30910 /* The GNU C library defines this for functions which it implements
30911 to always fail with ENOSYS. Some functions are actually named
30912 something starting with __ and the normal name is an alias. */
30913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30916 char (*f) () = $ac_func;
30925 return f != $ac_func;
30930 rm -f conftest.
$ac_objext conftest
$ac_exeext
30931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30932 (eval $ac_link) 2>conftest.er1
30934 grep -v '^ *+' conftest.er1
>conftest.err
30936 cat conftest.err
>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } &&
30939 { ac_try
='test -z "$ac_c_werror_flag"
30940 || test ! -s conftest.err'
30941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 (eval $ac_try) 2>&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); }; } &&
30946 { ac_try
='test -s conftest$ac_exeext'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; }; then
30952 eval "$as_ac_var=yes"
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.
$ac_ext >&5
30957 eval "$as_ac_var=no"
30959 rm -f conftest.err conftest.
$ac_objext \
30960 conftest
$ac_exeext conftest.
$ac_ext
30962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30964 if test `eval echo '${'$as_ac_var'}'` = yes; then
30965 cat >>confdefs.h
<<_ACEOF
30966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30976 ac_cpp
='$CXXCPP $CPPFLAGS'
30977 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30978 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30979 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30983 for ac_func
in strtok_r
30985 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30986 echo "$as_me:$LINENO: checking for $ac_func" >&5
30987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30988 if eval "test \"\${$as_ac_var+set}\" = set"; then
30989 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 cat >conftest.
$ac_ext <<_ACEOF
30994 cat confdefs.h
>>conftest.
$ac_ext
30995 cat >>conftest.
$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30999 #define $ac_func innocuous_$ac_func
31001 /* System header to define __stub macros and hopefully few prototypes,
31002 which can conflict with char $ac_func (); below.
31003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31004 <limits.h> exists even on freestanding compilers. */
31007 # include <limits.h>
31009 # include <assert.h>
31014 /* Override any gcc2 internal prototype to avoid an error. */
31019 /* We use char because int might match the return type of a gcc2
31020 builtin and then its argument prototype would still apply. */
31022 /* The GNU C library defines this for functions which it implements
31023 to always fail with ENOSYS. Some functions are actually named
31024 something starting with __ and the normal name is an alias. */
31025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31028 char (*f) () = $ac_func;
31037 return f != $ac_func;
31042 rm -f conftest.
$ac_objext conftest
$ac_exeext
31043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31044 (eval $ac_link) 2>conftest.er1
31046 grep -v '^ *+' conftest.er1
>conftest.err
31048 cat conftest.err
>&5
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); } &&
31051 { ac_try
='test -z "$ac_cxx_werror_flag"
31052 || test ! -s conftest.err'
31053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31054 (eval $ac_try) 2>&5
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); }; } &&
31058 { ac_try
='test -s conftest$ac_exeext'
31059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31060 (eval $ac_try) 2>&5
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); }; }; then
31064 eval "$as_ac_var=yes"
31066 echo "$as_me: failed program was:" >&5
31067 sed 's/^/| /' conftest.
$ac_ext >&5
31069 eval "$as_ac_var=no"
31071 rm -f conftest.err conftest.
$ac_objext \
31072 conftest
$ac_exeext conftest.
$ac_ext
31074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31076 if test `eval echo '${'$as_ac_var'}'` = yes; then
31077 cat >>confdefs.h
<<_ACEOF
31078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31086 ac_cpp
='$CPP $CPPFLAGS'
31087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31094 for ac_func
in inet_addr
31096 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31097 echo "$as_me:$LINENO: checking for $ac_func" >&5
31098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31099 if eval "test \"\${$as_ac_var+set}\" = set"; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31102 cat >conftest.
$ac_ext <<_ACEOF
31105 cat confdefs.h
>>conftest.
$ac_ext
31106 cat >>conftest.
$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31110 #define $ac_func innocuous_$ac_func
31112 /* System header to define __stub macros and hopefully few prototypes,
31113 which can conflict with char $ac_func (); below.
31114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31115 <limits.h> exists even on freestanding compilers. */
31118 # include <limits.h>
31120 # include <assert.h>
31125 /* Override any gcc2 internal prototype to avoid an error. */
31130 /* We use char because int might match the return type of a gcc2
31131 builtin and then its argument prototype would still apply. */
31133 /* The GNU C library defines this for functions which it implements
31134 to always fail with ENOSYS. Some functions are actually named
31135 something starting with __ and the normal name is an alias. */
31136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31139 char (*f) () = $ac_func;
31148 return f != $ac_func;
31153 rm -f conftest.
$ac_objext conftest
$ac_exeext
31154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31155 (eval $ac_link) 2>conftest.er1
31157 grep -v '^ *+' conftest.er1
>conftest.err
31159 cat conftest.err
>&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); } &&
31162 { ac_try
='test -z "$ac_c_werror_flag"
31163 || test ! -s conftest.err'
31164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31165 (eval $ac_try) 2>&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; } &&
31169 { ac_try
='test -s conftest$ac_exeext'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; }; then
31175 eval "$as_ac_var=yes"
31177 echo "$as_me: failed program was:" >&5
31178 sed 's/^/| /' conftest.
$ac_ext >&5
31180 eval "$as_ac_var=no"
31182 rm -f conftest.err conftest.
$ac_objext \
31183 conftest
$ac_exeext conftest.
$ac_ext
31185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31187 if test `eval echo '${'$as_ac_var'}'` = yes; then
31188 cat >>confdefs.h
<<_ACEOF
31189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31191 cat >>confdefs.h
<<\_ACEOF
31192 #define HAVE_INET_ADDR 1
31197 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31198 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31199 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 ac_check_lib_save_LIBS
=$LIBS
31204 cat >conftest.
$ac_ext <<_ACEOF
31207 cat confdefs.h
>>conftest.
$ac_ext
31208 cat >>conftest.
$ac_ext <<_ACEOF
31209 /* end confdefs.h. */
31211 /* Override any gcc2 internal prototype to avoid an error. */
31215 /* We use char because int might match the return type of a gcc2
31216 builtin and then its argument prototype would still apply. */
31226 rm -f conftest.
$ac_objext conftest
$ac_exeext
31227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31228 (eval $ac_link) 2>conftest.er1
31230 grep -v '^ *+' conftest.er1
>conftest.err
31232 cat conftest.err
>&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); } &&
31235 { ac_try
='test -z "$ac_c_werror_flag"
31236 || test ! -s conftest.err'
31237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31238 (eval $ac_try) 2>&5
31240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241 (exit $ac_status); }; } &&
31242 { ac_try
='test -s conftest$ac_exeext'
31243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31244 (eval $ac_try) 2>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); }; }; then
31248 ac_cv_lib_nsl_inet_addr
=yes
31250 echo "$as_me: failed program was:" >&5
31251 sed 's/^/| /' conftest.
$ac_ext >&5
31253 ac_cv_lib_nsl_inet_addr
=no
31255 rm -f conftest.err conftest.
$ac_objext \
31256 conftest
$ac_exeext conftest.
$ac_ext
31257 LIBS
=$ac_check_lib_save_LIBS
31259 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31260 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31261 if test $ac_cv_lib_nsl_inet_addr = yes; then
31265 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31266 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31267 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31268 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 ac_check_lib_save_LIBS
=$LIBS
31271 LIBS
="-lresolv $LIBS"
31272 cat >conftest.
$ac_ext <<_ACEOF
31275 cat confdefs.h
>>conftest.
$ac_ext
31276 cat >>conftest.
$ac_ext <<_ACEOF
31277 /* end confdefs.h. */
31279 /* Override any gcc2 internal prototype to avoid an error. */
31283 /* We use char because int might match the return type of a gcc2
31284 builtin and then its argument prototype would still apply. */
31294 rm -f conftest.
$ac_objext conftest
$ac_exeext
31295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31296 (eval $ac_link) 2>conftest.er1
31298 grep -v '^ *+' conftest.er1
>conftest.err
31300 cat conftest.err
>&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } &&
31303 { ac_try
='test -z "$ac_c_werror_flag"
31304 || test ! -s conftest.err'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; } &&
31310 { ac_try
='test -s conftest$ac_exeext'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; }; then
31316 ac_cv_lib_resolv_inet_addr
=yes
31318 echo "$as_me: failed program was:" >&5
31319 sed 's/^/| /' conftest.
$ac_ext >&5
31321 ac_cv_lib_resolv_inet_addr
=no
31323 rm -f conftest.err conftest.
$ac_objext \
31324 conftest
$ac_exeext conftest.
$ac_ext
31325 LIBS
=$ac_check_lib_save_LIBS
31327 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31328 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31329 if test $ac_cv_lib_resolv_inet_addr = yes; then
31333 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31334 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31335 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31336 echo $ECHO_N "(cached) $ECHO_C" >&6
31338 ac_check_lib_save_LIBS
=$LIBS
31339 LIBS
="-lsocket $LIBS"
31340 cat >conftest.
$ac_ext <<_ACEOF
31343 cat confdefs.h
>>conftest.
$ac_ext
31344 cat >>conftest.
$ac_ext <<_ACEOF
31345 /* end confdefs.h. */
31347 /* Override any gcc2 internal prototype to avoid an error. */
31351 /* We use char because int might match the return type of a gcc2
31352 builtin and then its argument prototype would still apply. */
31362 rm -f conftest.
$ac_objext conftest
$ac_exeext
31363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31364 (eval $ac_link) 2>conftest.er1
31366 grep -v '^ *+' conftest.er1
>conftest.err
31368 cat conftest.err
>&5
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); } &&
31371 { ac_try
='test -z "$ac_c_werror_flag"
31372 || test ! -s conftest.err'
31373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31374 (eval $ac_try) 2>&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); }; } &&
31378 { ac_try
='test -s conftest$ac_exeext'
31379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31380 (eval $ac_try) 2>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); }; }; then
31384 ac_cv_lib_socket_inet_addr
=yes
31386 echo "$as_me: failed program was:" >&5
31387 sed 's/^/| /' conftest.
$ac_ext >&5
31389 ac_cv_lib_socket_inet_addr
=no
31391 rm -f conftest.err conftest.
$ac_objext \
31392 conftest
$ac_exeext conftest.
$ac_ext
31393 LIBS
=$ac_check_lib_save_LIBS
31395 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31396 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31397 if test $ac_cv_lib_socket_inet_addr = yes; then
31417 for ac_func
in inet_aton
31419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31420 echo "$as_me:$LINENO: checking for $ac_func" >&5
31421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31422 if eval "test \"\${$as_ac_var+set}\" = set"; then
31423 echo $ECHO_N "(cached) $ECHO_C" >&6
31425 cat >conftest.
$ac_ext <<_ACEOF
31428 cat confdefs.h
>>conftest.
$ac_ext
31429 cat >>conftest.
$ac_ext <<_ACEOF
31430 /* end confdefs.h. */
31431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31433 #define $ac_func innocuous_$ac_func
31435 /* System header to define __stub macros and hopefully few prototypes,
31436 which can conflict with char $ac_func (); below.
31437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31438 <limits.h> exists even on freestanding compilers. */
31441 # include <limits.h>
31443 # include <assert.h>
31448 /* Override any gcc2 internal prototype to avoid an error. */
31453 /* We use char because int might match the return type of a gcc2
31454 builtin and then its argument prototype would still apply. */
31456 /* The GNU C library defines this for functions which it implements
31457 to always fail with ENOSYS. Some functions are actually named
31458 something starting with __ and the normal name is an alias. */
31459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31462 char (*f) () = $ac_func;
31471 return f != $ac_func;
31476 rm -f conftest.
$ac_objext conftest
$ac_exeext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478 (eval $ac_link) 2>conftest.er1
31480 grep -v '^ *+' conftest.er1
>conftest.err
31482 cat conftest.err
>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); } &&
31485 { ac_try
='test -z "$ac_c_werror_flag"
31486 || test ! -s conftest.err'
31487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31488 (eval $ac_try) 2>&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; } &&
31492 { ac_try
='test -s conftest$ac_exeext'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; }; then
31498 eval "$as_ac_var=yes"
31500 echo "$as_me: failed program was:" >&5
31501 sed 's/^/| /' conftest.
$ac_ext >&5
31503 eval "$as_ac_var=no"
31505 rm -f conftest.err conftest.
$ac_objext \
31506 conftest
$ac_exeext conftest.
$ac_ext
31508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31510 if test `eval echo '${'$as_ac_var'}'` = yes; then
31511 cat >>confdefs.h
<<_ACEOF
31512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31514 cat >>confdefs.h
<<\_ACEOF
31515 #define HAVE_INET_ATON 1
31520 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31521 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31522 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31523 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31524 echo $ECHO_N "(cached) $ECHO_C" >&6
31526 ac_check_lib_save_LIBS
=$LIBS
31527 LIBS
="-l$INET_LINK $LIBS"
31528 cat >conftest.
$ac_ext <<_ACEOF
31531 cat confdefs.h
>>conftest.
$ac_ext
31532 cat >>conftest.
$ac_ext <<_ACEOF
31533 /* end confdefs.h. */
31535 /* Override any gcc2 internal prototype to avoid an error. */
31539 /* We use char because int might match the return type of a gcc2
31540 builtin and then its argument prototype would still apply. */
31550 rm -f conftest.
$ac_objext conftest
$ac_exeext
31551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31552 (eval $ac_link) 2>conftest.er1
31554 grep -v '^ *+' conftest.er1
>conftest.err
31556 cat conftest.err
>&5
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); } &&
31559 { ac_try
='test -z "$ac_c_werror_flag"
31560 || test ! -s conftest.err'
31561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31562 (eval $ac_try) 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); }; } &&
31566 { ac_try
='test -s conftest$ac_exeext'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 eval "$as_ac_Lib=yes"
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.
$ac_ext >&5
31577 eval "$as_ac_Lib=no"
31579 rm -f conftest.err conftest.
$ac_objext \
31580 conftest
$ac_exeext conftest.
$ac_ext
31581 LIBS
=$ac_check_lib_save_LIBS
31583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31584 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31585 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31586 cat >>confdefs.h
<<\_ACEOF
31587 #define HAVE_INET_ATON 1
31597 if test "x$INET_LINK" != "x"; then
31598 cat >>confdefs.h
<<\_ACEOF
31599 #define HAVE_INET_ADDR 1
31602 INET_LINK
=" -l$INET_LINK"
31610 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31611 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31612 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31613 echo $ECHO_N "(cached) $ECHO_C" >&6
31615 ac_check_lib_save_LIBS
=$LIBS
31617 cat >conftest.
$ac_ext <<_ACEOF
31620 cat confdefs.h
>>conftest.
$ac_ext
31621 cat >>conftest.
$ac_ext <<_ACEOF
31622 /* end confdefs.h. */
31624 /* Override any gcc2 internal prototype to avoid an error. */
31628 /* We use char because int might match the return type of a gcc2
31629 builtin and then its argument prototype would still apply. */
31639 rm -f conftest.
$ac_objext conftest
$ac_exeext
31640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31641 (eval $ac_link) 2>conftest.er1
31643 grep -v '^ *+' conftest.er1
>conftest.err
31645 cat conftest.err
>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); } &&
31648 { ac_try
='test -z "$ac_c_werror_flag"
31649 || test ! -s conftest.err'
31650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651 (eval $ac_try) 2>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); }; } &&
31655 { ac_try
='test -s conftest$ac_exeext'
31656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31657 (eval $ac_try) 2>&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); }; }; then
31661 ac_cv_lib_esd_esd_close
=yes
31663 echo "$as_me: failed program was:" >&5
31664 sed 's/^/| /' conftest.
$ac_ext >&5
31666 ac_cv_lib_esd_esd_close
=no
31668 rm -f conftest.err conftest.
$ac_objext \
31669 conftest
$ac_exeext conftest.
$ac_ext
31670 LIBS
=$ac_check_lib_save_LIBS
31672 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31673 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31674 if test $ac_cv_lib_esd_esd_close = yes; then
31677 for ac_header
in esd.h
31679 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31681 echo "$as_me:$LINENO: checking for $ac_header" >&5
31682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31684 echo $ECHO_N "(cached) $ECHO_C" >&6
31686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31689 # Is the header compilable?
31690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31692 cat >conftest.
$ac_ext <<_ACEOF
31695 cat confdefs.h
>>conftest.
$ac_ext
31696 cat >>conftest.
$ac_ext <<_ACEOF
31697 /* end confdefs.h. */
31698 $ac_includes_default
31699 #include <$ac_header>
31701 rm -f conftest.
$ac_objext
31702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31703 (eval $ac_compile) 2>conftest.er1
31705 grep -v '^ *+' conftest.er1
>conftest.err
31707 cat conftest.err
>&5
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); } &&
31710 { ac_try
='test -z "$ac_c_werror_flag"
31711 || test ! -s conftest.err'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; } &&
31717 { ac_try
='test -s conftest.$ac_objext'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; }; then
31723 ac_header_compiler
=yes
31725 echo "$as_me: failed program was:" >&5
31726 sed 's/^/| /' conftest.
$ac_ext >&5
31728 ac_header_compiler
=no
31730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31732 echo "${ECHO_T}$ac_header_compiler" >&6
31734 # Is the header present?
31735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31737 cat >conftest.
$ac_ext <<_ACEOF
31740 cat confdefs.h
>>conftest.
$ac_ext
31741 cat >>conftest.
$ac_ext <<_ACEOF
31742 /* end confdefs.h. */
31743 #include <$ac_header>
31745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31746 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31748 grep -v '^ *+' conftest.er1
>conftest.err
31750 cat conftest.err
>&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 (exit $ac_status); } >/dev
/null
; then
31753 if test -s conftest.err
; then
31754 ac_cpp_err
=$ac_c_preproc_warn_flag
31755 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31762 if test -z "$ac_cpp_err"; then
31763 ac_header_preproc
=yes
31765 echo "$as_me: failed program was:" >&5
31766 sed 's/^/| /' conftest.
$ac_ext >&5
31768 ac_header_preproc
=no
31770 rm -f conftest.err conftest.
$ac_ext
31771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31772 echo "${ECHO_T}$ac_header_preproc" >&6
31774 # So? What about this header?
31775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31781 ac_header_preproc
=yes
31784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31798 ## ----------------------------------------- ##
31799 ## Report this to wx-dev@lists.wxwidgets.org ##
31800 ## ----------------------------------------- ##
31803 sed "s/^/$as_me: WARNING: /" >&2
31806 echo "$as_me:$LINENO: checking for $ac_header" >&5
31807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 eval "$as_ac_Header=\$ac_header_preproc"
31813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31818 cat >>confdefs.h
<<_ACEOF
31819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31822 EXTRALIBS_ESD
="-lesd"
31833 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31834 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31835 cat >conftest.
$ac_ext <<_ACEOF
31838 cat confdefs.h
>>conftest.
$ac_ext
31839 cat >>conftest.
$ac_ext <<_ACEOF
31840 /* end confdefs.h. */
31842 #include <linux/cdrom.h>
31845 #include <sys/cdio.h>
31851 struct cdrom_tocentry entry, old_entry;
31856 rm -f conftest.
$ac_objext
31857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31858 (eval $ac_compile) 2>conftest.er1
31860 grep -v '^ *+' conftest.er1
>conftest.err
31862 cat conftest.err
>&5
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); } &&
31865 { ac_try
='test -z "$ac_c_werror_flag"
31866 || test ! -s conftest.err'
31867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31868 (eval $ac_try) 2>&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); }; } &&
31872 { ac_try
='test -s conftest.$ac_objext'
31873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31874 (eval $ac_try) 2>&5
31876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877 (exit $ac_status); }; }; then
31878 echo "$as_me:$LINENO: result: yes" >&5
31879 echo "${ECHO_T}yes" >&6
31880 cat >>confdefs.h
<<\_ACEOF
31881 #define HAVE_KNOWN_CDROM_INTERFACE 1
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.
$ac_ext >&5
31888 echo "$as_me:$LINENO: result: no" >&5
31889 echo "${ECHO_T}no" >&6
31891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31894 cat >confcache
<<\_ACEOF
31895 # This file is a shell script that caches the results of configure
31896 # tests run on this system so they can be shared between configure
31897 # scripts and configure runs, see configure's option --config-cache.
31898 # It is not useful on other systems. If it contains results you don't
31899 # want to keep, you may remove or edit it.
31901 # config.status only pays attention to the cache file if you give it
31902 # the --recheck option to rerun configure.
31904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31906 # following values.
31910 # The following way of writing the cache mishandles newlines in values,
31911 # but we know of no workaround that is simple, portable, and efficient.
31912 # So, don't put newlines in cache variables' values.
31913 # Ultrix sh set writes to stderr and can't be redirected directly,
31914 # and sets the high bit in the cache file unless we assign to the vars.
31917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31919 # `set' does not quote correctly, so add quotes (double-quote
31920 # substitution turns \\\\ into \\, and sed turns \\ into \).
31923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31926 # `set' quotes correctly as required by POSIX, so do not add quotes.
31928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31939 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
31940 if test -w $cache_file; then
31941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31942 cat confcache
>$cache_file
31944 echo "not updating unwritable cache $cache_file"
31951 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31957 if test "$wxUSE_THREADS" = "yes" ; then
31958 if test "$USE_BEOS" = 1; then
31959 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
31960 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31965 if test "$wxUSE_THREADS" = "yes" ; then
31968 THREAD_OPTS
="-pthread"
31970 *-*-solaris2* | *-*-sunos4* )
31971 if test "x$GCC" = "xyes"; then
31972 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31974 THREAD_OPTS
="-mt $THREAD_OPTS"
31978 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31980 *-*-darwin* | *-*-cygwin* )
31984 THREAD_OPTS
="pthreads"
31987 if test "x$GCC" != "xyes"; then
31993 if test "x$GCC" = "xyes"; then
31999 if test "x$GCC" != "xyes"; then
32000 THREAD_OPTS
="-Ethread"
32005 THREAD_OPTS
="$THREAD_OPTS pthread none"
32008 for flag
in $THREAD_OPTS; do
32011 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32012 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32016 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32017 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32018 THREADS_CFLAGS
="$flag"
32022 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32023 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32024 THREADS_LINK
="-l$flag"
32029 save_CFLAGS
="$CFLAGS"
32030 LIBS
="$THREADS_LINK $LIBS"
32031 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32033 cat >conftest.
$ac_ext <<_ACEOF
32036 cat confdefs.h
>>conftest.
$ac_ext
32037 cat >>conftest.
$ac_ext <<_ACEOF
32038 /* end confdefs.h. */
32039 #include <pthread.h>
32043 pthread_create(0,0,0,0);
32048 rm -f conftest.
$ac_objext conftest
$ac_exeext
32049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32050 (eval $ac_link) 2>conftest.er1
32052 grep -v '^ *+' conftest.er1
>conftest.err
32054 cat conftest.err
>&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); } &&
32057 { ac_try
='test -z "$ac_c_werror_flag"
32058 || test ! -s conftest.err'
32059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32060 (eval $ac_try) 2>&5
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; } &&
32064 { ac_try
='test -s conftest$ac_exeext'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; }; then
32072 echo "$as_me: failed program was:" >&5
32073 sed 's/^/| /' conftest.
$ac_ext >&5
32076 rm -f conftest.err conftest.
$ac_objext \
32077 conftest
$ac_exeext conftest.
$ac_ext
32080 CFLAGS
="$save_CFLAGS"
32082 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32083 echo "${ECHO_T}$THREADS_OK" >&6
32084 if test "x$THREADS_OK" = "xyes"; then
32092 if test "x$THREADS_OK" != "xyes"; then
32094 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32095 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32097 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32098 LIBS
="$THREADS_LINK $LIBS"
32100 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32101 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32105 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32106 flag
="-D_THREAD_SAFE"
32109 flag
="-D_THREAD_SAFE"
32112 flag
="-D_REENTRANT"
32113 if test "x$GCC" != "xyes"; then
32114 flag
="$flag -D_RWSTD_MULTI_THREAD"
32119 *solaris
* | alpha
*-osf*)
32120 flag
="-D_REENTRANT"
32123 echo "$as_me:$LINENO: result: ${flag}" >&5
32124 echo "${ECHO_T}${flag}" >&6
32125 if test "x$flag" != xno
; then
32126 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32129 if test "x$THREADS_CFLAGS" != "x"; then
32130 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
32131 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
32136 if test "$wxUSE_THREADS" = "yes" ; then
32138 for ac_func
in thr_setconcurrency
32140 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32141 echo "$as_me:$LINENO: checking for $ac_func" >&5
32142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32143 if eval "test \"\${$as_ac_var+set}\" = set"; then
32144 echo $ECHO_N "(cached) $ECHO_C" >&6
32146 cat >conftest.
$ac_ext <<_ACEOF
32149 cat confdefs.h
>>conftest.
$ac_ext
32150 cat >>conftest.
$ac_ext <<_ACEOF
32151 /* end confdefs.h. */
32152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32154 #define $ac_func innocuous_$ac_func
32156 /* System header to define __stub macros and hopefully few prototypes,
32157 which can conflict with char $ac_func (); below.
32158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32159 <limits.h> exists even on freestanding compilers. */
32162 # include <limits.h>
32164 # include <assert.h>
32169 /* Override any gcc2 internal prototype to avoid an error. */
32174 /* We use char because int might match the return type of a gcc2
32175 builtin and then its argument prototype would still apply. */
32177 /* The GNU C library defines this for functions which it implements
32178 to always fail with ENOSYS. Some functions are actually named
32179 something starting with __ and the normal name is an alias. */
32180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32183 char (*f) () = $ac_func;
32192 return f != $ac_func;
32197 rm -f conftest.
$ac_objext conftest
$ac_exeext
32198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32199 (eval $ac_link) 2>conftest.er1
32201 grep -v '^ *+' conftest.er1
>conftest.err
32203 cat conftest.err
>&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); } &&
32206 { ac_try
='test -z "$ac_c_werror_flag"
32207 || test ! -s conftest.err'
32208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32209 (eval $ac_try) 2>&5
32211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212 (exit $ac_status); }; } &&
32213 { ac_try
='test -s conftest$ac_exeext'
32214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32215 (eval $ac_try) 2>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); }; }; then
32219 eval "$as_ac_var=yes"
32221 echo "$as_me: failed program was:" >&5
32222 sed 's/^/| /' conftest.
$ac_ext >&5
32224 eval "$as_ac_var=no"
32226 rm -f conftest.err conftest.
$ac_objext \
32227 conftest
$ac_exeext conftest.
$ac_ext
32229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32231 if test `eval echo '${'$as_ac_var'}'` = yes; then
32232 cat >>confdefs.h
<<_ACEOF
32233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32241 for ac_header
in sched.h
32243 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32245 echo "$as_me:$LINENO: checking for $ac_header" >&5
32246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32248 echo $ECHO_N "(cached) $ECHO_C" >&6
32250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32253 # Is the header compilable?
32254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32256 cat >conftest.
$ac_ext <<_ACEOF
32259 cat confdefs.h
>>conftest.
$ac_ext
32260 cat >>conftest.
$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262 $ac_includes_default
32263 #include <$ac_header>
32265 rm -f conftest.
$ac_objext
32266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32267 (eval $ac_compile) 2>conftest.er1
32269 grep -v '^ *+' conftest.er1
>conftest.err
32271 cat conftest.err
>&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } &&
32274 { ac_try
='test -z "$ac_c_werror_flag"
32275 || test ! -s conftest.err'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; } &&
32281 { ac_try
='test -s conftest.$ac_objext'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; }; then
32287 ac_header_compiler
=yes
32289 echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.
$ac_ext >&5
32292 ac_header_compiler
=no
32294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32296 echo "${ECHO_T}$ac_header_compiler" >&6
32298 # Is the header present?
32299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32301 cat >conftest.
$ac_ext <<_ACEOF
32304 cat confdefs.h
>>conftest.
$ac_ext
32305 cat >>conftest.
$ac_ext <<_ACEOF
32306 /* end confdefs.h. */
32307 #include <$ac_header>
32309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32312 grep -v '^ *+' conftest.er1
>conftest.err
32314 cat conftest.err
>&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); } >/dev
/null
; then
32317 if test -s conftest.err
; then
32318 ac_cpp_err
=$ac_c_preproc_warn_flag
32319 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32326 if test -z "$ac_cpp_err"; then
32327 ac_header_preproc
=yes
32329 echo "$as_me: failed program was:" >&5
32330 sed 's/^/| /' conftest.
$ac_ext >&5
32332 ac_header_preproc
=no
32334 rm -f conftest.err conftest.
$ac_ext
32335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32336 echo "${ECHO_T}$ac_header_preproc" >&6
32338 # So? What about this header?
32339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32345 ac_header_preproc
=yes
32348 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32350 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32351 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32352 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32355 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32358 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32362 ## ----------------------------------------- ##
32363 ## Report this to wx-dev@lists.wxwidgets.org ##
32364 ## ----------------------------------------- ##
32367 sed "s/^/$as_me: WARNING: /" >&2
32370 echo "$as_me:$LINENO: checking for $ac_header" >&5
32371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32373 echo $ECHO_N "(cached) $ECHO_C" >&6
32375 eval "$as_ac_Header=\$ac_header_preproc"
32377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32382 cat >>confdefs.h
<<_ACEOF
32383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32390 if test "$ac_cv_header_sched_h" = "yes"; then
32391 echo "$as_me:$LINENO: checking for sched_yield" >&5
32392 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32393 if test "${ac_cv_func_sched_yield+set}" = set; then
32394 echo $ECHO_N "(cached) $ECHO_C" >&6
32396 cat >conftest.
$ac_ext <<_ACEOF
32399 cat confdefs.h
>>conftest.
$ac_ext
32400 cat >>conftest.
$ac_ext <<_ACEOF
32401 /* end confdefs.h. */
32402 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32404 #define sched_yield innocuous_sched_yield
32406 /* System header to define __stub macros and hopefully few prototypes,
32407 which can conflict with char sched_yield (); below.
32408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32409 <limits.h> exists even on freestanding compilers. */
32412 # include <limits.h>
32414 # include <assert.h>
32419 /* Override any gcc2 internal prototype to avoid an error. */
32424 /* We use char because int might match the return type of a gcc2
32425 builtin and then its argument prototype would still apply. */
32426 char sched_yield ();
32427 /* The GNU C library defines this for functions which it implements
32428 to always fail with ENOSYS. Some functions are actually named
32429 something starting with __ and the normal name is an alias. */
32430 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32433 char (*f) () = sched_yield;
32442 return f != sched_yield;
32447 rm -f conftest.
$ac_objext conftest
$ac_exeext
32448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32449 (eval $ac_link) 2>conftest.er1
32451 grep -v '^ *+' conftest.er1
>conftest.err
32453 cat conftest.err
>&5
32454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32455 (exit $ac_status); } &&
32456 { ac_try
='test -z "$ac_c_werror_flag"
32457 || test ! -s conftest.err'
32458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32459 (eval $ac_try) 2>&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); }; } &&
32463 { ac_try
='test -s conftest$ac_exeext'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }; then
32469 ac_cv_func_sched_yield
=yes
32471 echo "$as_me: failed program was:" >&5
32472 sed 's/^/| /' conftest.
$ac_ext >&5
32474 ac_cv_func_sched_yield
=no
32476 rm -f conftest.err conftest.
$ac_objext \
32477 conftest
$ac_exeext conftest.
$ac_ext
32479 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32480 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32481 if test $ac_cv_func_sched_yield = yes; then
32482 cat >>confdefs.h
<<\_ACEOF
32483 #define HAVE_SCHED_YIELD 1
32488 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32489 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32490 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32491 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 ac_check_lib_save_LIBS
=$LIBS
32494 LIBS
="-lposix4 $LIBS"
32495 cat >conftest.
$ac_ext <<_ACEOF
32498 cat confdefs.h
>>conftest.
$ac_ext
32499 cat >>conftest.
$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32502 /* Override any gcc2 internal prototype to avoid an error. */
32506 /* We use char because int might match the return type of a gcc2
32507 builtin and then its argument prototype would still apply. */
32508 char sched_yield ();
32517 rm -f conftest.
$ac_objext conftest
$ac_exeext
32518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32519 (eval $ac_link) 2>conftest.er1
32521 grep -v '^ *+' conftest.er1
>conftest.err
32523 cat conftest.err
>&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); } &&
32526 { ac_try
='test -z "$ac_c_werror_flag"
32527 || test ! -s conftest.err'
32528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32529 (eval $ac_try) 2>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); }; } &&
32533 { ac_try
='test -s conftest$ac_exeext'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; }; then
32539 ac_cv_lib_posix4_sched_yield
=yes
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.
$ac_ext >&5
32544 ac_cv_lib_posix4_sched_yield
=no
32546 rm -f conftest.err conftest.
$ac_objext \
32547 conftest
$ac_exeext conftest.
$ac_ext
32548 LIBS
=$ac_check_lib_save_LIBS
32550 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32551 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32552 if test $ac_cv_lib_posix4_sched_yield = yes; then
32553 cat >>confdefs.h
<<\_ACEOF
32554 #define HAVE_SCHED_YIELD 1
32556 POSIX4_LINK
=" -lposix4"
32558 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32559 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32570 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32571 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32572 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 cat >conftest.
$ac_ext <<_ACEOF
32578 cat confdefs.h
>>conftest.
$ac_ext
32579 cat >>conftest.
$ac_ext <<_ACEOF
32580 /* end confdefs.h. */
32581 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32583 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32585 /* System header to define __stub macros and hopefully few prototypes,
32586 which can conflict with char pthread_attr_getschedpolicy (); below.
32587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32588 <limits.h> exists even on freestanding compilers. */
32591 # include <limits.h>
32593 # include <assert.h>
32596 #undef pthread_attr_getschedpolicy
32598 /* Override any gcc2 internal prototype to avoid an error. */
32603 /* We use char because int might match the return type of a gcc2
32604 builtin and then its argument prototype would still apply. */
32605 char pthread_attr_getschedpolicy ();
32606 /* The GNU C library defines this for functions which it implements
32607 to always fail with ENOSYS. Some functions are actually named
32608 something starting with __ and the normal name is an alias. */
32609 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32612 char (*f) () = pthread_attr_getschedpolicy;
32621 return f != pthread_attr_getschedpolicy;
32626 rm -f conftest.
$ac_objext conftest
$ac_exeext
32627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32628 (eval $ac_link) 2>conftest.er1
32630 grep -v '^ *+' conftest.er1
>conftest.err
32632 cat conftest.err
>&5
32633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32634 (exit $ac_status); } &&
32635 { ac_try
='test -z "$ac_c_werror_flag"
32636 || test ! -s conftest.err'
32637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32638 (eval $ac_try) 2>&5
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); }; } &&
32642 { ac_try
='test -s conftest$ac_exeext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_cv_func_pthread_attr_getschedpolicy
=yes
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.
$ac_ext >&5
32653 ac_cv_func_pthread_attr_getschedpolicy
=no
32655 rm -f conftest.err conftest.
$ac_objext \
32656 conftest
$ac_exeext conftest.
$ac_ext
32658 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32659 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32660 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32661 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32662 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32663 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32664 echo $ECHO_N "(cached) $ECHO_C" >&6
32666 cat >conftest.
$ac_ext <<_ACEOF
32669 cat confdefs.h
>>conftest.
$ac_ext
32670 cat >>conftest.
$ac_ext <<_ACEOF
32671 /* end confdefs.h. */
32672 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32674 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32676 /* System header to define __stub macros and hopefully few prototypes,
32677 which can conflict with char pthread_attr_setschedparam (); below.
32678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32679 <limits.h> exists even on freestanding compilers. */
32682 # include <limits.h>
32684 # include <assert.h>
32687 #undef pthread_attr_setschedparam
32689 /* Override any gcc2 internal prototype to avoid an error. */
32694 /* We use char because int might match the return type of a gcc2
32695 builtin and then its argument prototype would still apply. */
32696 char pthread_attr_setschedparam ();
32697 /* The GNU C library defines this for functions which it implements
32698 to always fail with ENOSYS. Some functions are actually named
32699 something starting with __ and the normal name is an alias. */
32700 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32703 char (*f) () = pthread_attr_setschedparam;
32712 return f != pthread_attr_setschedparam;
32717 rm -f conftest.
$ac_objext conftest
$ac_exeext
32718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32719 (eval $ac_link) 2>conftest.er1
32721 grep -v '^ *+' conftest.er1
>conftest.err
32723 cat conftest.err
>&5
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); } &&
32726 { ac_try
='test -z "$ac_c_werror_flag"
32727 || test ! -s conftest.err'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; } &&
32733 { ac_try
='test -s conftest$ac_exeext'
32734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32735 (eval $ac_try) 2>&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); }; }; then
32739 ac_cv_func_pthread_attr_setschedparam
=yes
32741 echo "$as_me: failed program was:" >&5
32742 sed 's/^/| /' conftest.
$ac_ext >&5
32744 ac_cv_func_pthread_attr_setschedparam
=no
32746 rm -f conftest.err conftest.
$ac_objext \
32747 conftest
$ac_exeext conftest.
$ac_ext
32749 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32750 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32751 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32752 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32753 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32754 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32755 echo $ECHO_N "(cached) $ECHO_C" >&6
32757 cat >conftest.
$ac_ext <<_ACEOF
32760 cat confdefs.h
>>conftest.
$ac_ext
32761 cat >>conftest.
$ac_ext <<_ACEOF
32762 /* end confdefs.h. */
32763 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32765 #define sched_get_priority_max innocuous_sched_get_priority_max
32767 /* System header to define __stub macros and hopefully few prototypes,
32768 which can conflict with char sched_get_priority_max (); below.
32769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32770 <limits.h> exists even on freestanding compilers. */
32773 # include <limits.h>
32775 # include <assert.h>
32778 #undef sched_get_priority_max
32780 /* Override any gcc2 internal prototype to avoid an error. */
32785 /* We use char because int might match the return type of a gcc2
32786 builtin and then its argument prototype would still apply. */
32787 char sched_get_priority_max ();
32788 /* The GNU C library defines this for functions which it implements
32789 to always fail with ENOSYS. Some functions are actually named
32790 something starting with __ and the normal name is an alias. */
32791 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32794 char (*f) () = sched_get_priority_max;
32803 return f != sched_get_priority_max;
32808 rm -f conftest.
$ac_objext conftest
$ac_exeext
32809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32810 (eval $ac_link) 2>conftest.er1
32812 grep -v '^ *+' conftest.er1
>conftest.err
32814 cat conftest.err
>&5
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); } &&
32817 { ac_try
='test -z "$ac_c_werror_flag"
32818 || test ! -s conftest.err'
32819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32820 (eval $ac_try) 2>&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); }; } &&
32824 { ac_try
='test -s conftest$ac_exeext'
32825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32826 (eval $ac_try) 2>&5
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); }; }; then
32830 ac_cv_func_sched_get_priority_max
=yes
32832 echo "$as_me: failed program was:" >&5
32833 sed 's/^/| /' conftest.
$ac_ext >&5
32835 ac_cv_func_sched_get_priority_max
=no
32837 rm -f conftest.err conftest.
$ac_objext \
32838 conftest
$ac_exeext conftest.
$ac_ext
32840 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32841 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32842 if test $ac_cv_func_sched_get_priority_max = yes; then
32845 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32846 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32847 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32848 echo $ECHO_N "(cached) $ECHO_C" >&6
32850 ac_check_lib_save_LIBS
=$LIBS
32851 LIBS
="-lposix4 $LIBS"
32852 cat >conftest.
$ac_ext <<_ACEOF
32855 cat confdefs.h
>>conftest.
$ac_ext
32856 cat >>conftest.
$ac_ext <<_ACEOF
32857 /* end confdefs.h. */
32859 /* Override any gcc2 internal prototype to avoid an error. */
32863 /* We use char because int might match the return type of a gcc2
32864 builtin and then its argument prototype would still apply. */
32865 char sched_get_priority_max ();
32869 sched_get_priority_max ();
32874 rm -f conftest.
$ac_objext conftest
$ac_exeext
32875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32876 (eval $ac_link) 2>conftest.er1
32878 grep -v '^ *+' conftest.er1
>conftest.err
32880 cat conftest.err
>&5
32881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32882 (exit $ac_status); } &&
32883 { ac_try
='test -z "$ac_c_werror_flag"
32884 || test ! -s conftest.err'
32885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32886 (eval $ac_try) 2>&5
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; } &&
32890 { ac_try
='test -s conftest$ac_exeext'
32891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32892 (eval $ac_try) 2>&5
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); }; }; then
32896 ac_cv_lib_posix4_sched_get_priority_max
=yes
32898 echo "$as_me: failed program was:" >&5
32899 sed 's/^/| /' conftest.
$ac_ext >&5
32901 ac_cv_lib_posix4_sched_get_priority_max
=no
32903 rm -f conftest.err conftest.
$ac_objext \
32904 conftest
$ac_exeext conftest.
$ac_ext
32905 LIBS
=$ac_check_lib_save_LIBS
32907 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32908 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32909 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32912 POSIX4_LINK
=" -lposix4"
32926 if test "$HAVE_PRIOR_FUNCS" = 1; then
32927 cat >>confdefs.h
<<\_ACEOF
32928 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32932 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32933 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32936 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32937 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32938 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32939 echo $ECHO_N "(cached) $ECHO_C" >&6
32941 cat >conftest.
$ac_ext <<_ACEOF
32944 cat confdefs.h
>>conftest.
$ac_ext
32945 cat >>conftest.
$ac_ext <<_ACEOF
32946 /* end confdefs.h. */
32947 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
32948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32949 #define pthread_cancel innocuous_pthread_cancel
32951 /* System header to define __stub macros and hopefully few prototypes,
32952 which can conflict with char pthread_cancel (); below.
32953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32954 <limits.h> exists even on freestanding compilers. */
32957 # include <limits.h>
32959 # include <assert.h>
32962 #undef pthread_cancel
32964 /* Override any gcc2 internal prototype to avoid an error. */
32969 /* We use char because int might match the return type of a gcc2
32970 builtin and then its argument prototype would still apply. */
32971 char pthread_cancel ();
32972 /* The GNU C library defines this for functions which it implements
32973 to always fail with ENOSYS. Some functions are actually named
32974 something starting with __ and the normal name is an alias. */
32975 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
32978 char (*f) () = pthread_cancel;
32987 return f != pthread_cancel;
32992 rm -f conftest.
$ac_objext conftest
$ac_exeext
32993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32994 (eval $ac_link) 2>conftest.er1
32996 grep -v '^ *+' conftest.er1
>conftest.err
32998 cat conftest.err
>&5
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); } &&
33001 { ac_try
='test -z "$ac_c_werror_flag"
33002 || test ! -s conftest.err'
33003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33004 (eval $ac_try) 2>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); }; } &&
33008 { ac_try
='test -s conftest$ac_exeext'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; }; then
33014 ac_cv_func_pthread_cancel
=yes
33016 echo "$as_me: failed program was:" >&5
33017 sed 's/^/| /' conftest.
$ac_ext >&5
33019 ac_cv_func_pthread_cancel
=no
33021 rm -f conftest.err conftest.
$ac_objext \
33022 conftest
$ac_exeext conftest.
$ac_ext
33024 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33025 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33026 if test $ac_cv_func_pthread_cancel = yes; then
33027 cat >>confdefs.h
<<\_ACEOF
33028 #define HAVE_PTHREAD_CANCEL 1
33032 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33033 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33039 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33040 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33041 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33045 cat >conftest.
$ac_ext <<_ACEOF
33048 cat confdefs.h
>>conftest.
$ac_ext
33049 cat >>conftest.
$ac_ext <<_ACEOF
33050 /* end confdefs.h. */
33051 #include <pthread.h>
33056 pthread_mutexattr_t attr;
33057 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33063 rm -f conftest.
$ac_objext
33064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33065 (eval $ac_compile) 2>conftest.er1
33067 grep -v '^ *+' conftest.er1
>conftest.err
33069 cat conftest.err
>&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } &&
33072 { ac_try
='test -z "$ac_c_werror_flag"
33073 || test ! -s conftest.err'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; } &&
33079 { ac_try
='test -s conftest.$ac_objext'
33080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33081 (eval $ac_try) 2>&5
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); }; }; then
33086 wx_cv_type_pthread_mutexattr_t
=yes
33089 echo "$as_me: failed program was:" >&5
33090 sed 's/^/| /' conftest.
$ac_ext >&5
33093 wx_cv_type_pthread_mutexattr_t
=no
33097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33100 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33101 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33103 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33104 cat >>confdefs.h
<<\_ACEOF
33105 #define HAVE_PTHREAD_MUTEXATTR_T 1
33109 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33110 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33111 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33112 echo $ECHO_N "(cached) $ECHO_C" >&6
33115 cat >conftest.
$ac_ext <<_ACEOF
33118 cat confdefs.h
>>conftest.
$ac_ext
33119 cat >>conftest.
$ac_ext <<_ACEOF
33120 /* end confdefs.h. */
33121 #include <pthread.h>
33126 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33132 rm -f conftest.
$ac_objext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33134 (eval $ac_compile) 2>conftest.er1
33136 grep -v '^ *+' conftest.er1
>conftest.err
33138 cat conftest.err
>&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try
='test -z "$ac_c_werror_flag"
33142 || test ! -s conftest.err'
33143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33144 (eval $ac_try) 2>&5
33146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33147 (exit $ac_status); }; } &&
33148 { ac_try
='test -s conftest.$ac_objext'
33149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33150 (eval $ac_try) 2>&5
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); }; }; then
33155 wx_cv_type_pthread_rec_mutex_init
=yes
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.
$ac_ext >&5
33162 wx_cv_type_pthread_rec_mutex_init
=no
33166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33169 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33170 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33171 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33172 cat >>confdefs.h
<<\_ACEOF
33173 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33177 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33178 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33184 if test "$wxUSE_THREADS" = "yes" ; then
33187 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33188 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33189 if test "${wx_cv_cflags_mthread+set}" = set; then
33190 echo $ECHO_N "(cached) $ECHO_C" >&6
33193 CFLAGS_OLD
="$CFLAGS"
33194 CFLAGS
="$CFLAGS -mthreads"
33195 cat >conftest.
$ac_ext <<_ACEOF
33198 cat confdefs.h
>>conftest.
$ac_ext
33199 cat >>conftest.
$ac_ext <<_ACEOF
33200 /* end confdefs.h. */
33210 rm -f conftest.
$ac_objext
33211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33212 (eval $ac_compile) 2>conftest.er1
33214 grep -v '^ *+' conftest.er1
>conftest.err
33216 cat conftest.err
>&5
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); } &&
33219 { ac_try
='test -z "$ac_c_werror_flag"
33220 || test ! -s conftest.err'
33221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33222 (eval $ac_try) 2>&5
33224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225 (exit $ac_status); }; } &&
33226 { ac_try
='test -s conftest.$ac_objext'
33227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33228 (eval $ac_try) 2>&5
33230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231 (exit $ac_status); }; }; then
33232 wx_cv_cflags_mthread
=yes
33234 echo "$as_me: failed program was:" >&5
33235 sed 's/^/| /' conftest.
$ac_ext >&5
33237 wx_cv_cflags_mthread
=no
33240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33244 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33245 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33247 if test "$wx_cv_cflags_mthread" = "yes"; then
33248 CXXFLAGS
="$CXXFLAGS -mthreads"
33249 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
33250 LDFLAGS
="$LDFLAGS -mthreads"
33252 CFLAGS
="$CFLAGS_OLD"
33256 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33257 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33258 LDFLAGS
="$LDFLAGS -Zmt"
33264 if test "$wxUSE_THREADS" = "yes"; then
33265 cat >>confdefs.h
<<\_ACEOF
33266 #define wxUSE_THREADS 1
33270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33272 if test "$ac_cv_func_strtok_r" = "yes"; then
33273 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33274 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33275 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33276 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
33277 echo "$as_me:$LINENO: result: yes" >&5
33278 echo "${ECHO_T}yes" >&6
33280 echo "$as_me:$LINENO: result: no" >&5
33281 echo "${ECHO_T}no" >&6
33286 if test "$WXGTK20" = 1 ; then
33287 cat >>confdefs.h
<<_ACEOF
33288 #define __WXGTK20__ $WXGTK20
33294 if test "$WXGTK12" = 1 ; then
33295 cat >>confdefs.h
<<_ACEOF
33296 #define __WXGTK12__ $WXGTK12
33301 if test "$WXGTK127" = 1 ; then
33302 cat >>confdefs.h
<<_ACEOF
33303 #define __WXGTK127__ $WXGTK127
33308 if test "$WXGPE" = 1 ; then
33309 cat >>confdefs.h
<<_ACEOF
33310 #define __WXGPE__ $WXGPE
33317 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33322 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33323 wxUSE_DEBUG_INFO
=yes
33327 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33328 cat >>confdefs.h
<<\_ACEOF
33332 WXDEBUG_DEFINE
="-D__WXDEBUG__"
33334 if test "$wxUSE_GTK" = 1 ; then
33335 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
33339 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33340 cat >>confdefs.h
<<\_ACEOF
33341 #define wxUSE_MEMORY_TRACING 1
33344 cat >>confdefs.h
<<\_ACEOF
33345 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33348 cat >>confdefs.h
<<\_ACEOF
33349 #define wxUSE_DEBUG_NEW_ALWAYS 1
33352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33355 if test "$wxUSE_DMALLOC" = "yes" ; then
33356 DMALLOC_LIBS
="-ldmalloc"
33360 if test "$wxUSE_PROFILE" = "yes" ; then
33365 CODE_GEN_FLAGS_CXX
=
33366 if test "$GCC" = "yes" ; then
33367 if test "$wxUSE_NO_RTTI" = "yes" ; then
33368 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
33370 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33371 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33373 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33374 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
33379 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
33382 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
33388 if test "$wxUSE_OPTIMISE" = "no" ; then
33389 if test "$GCC" = yes ; then
33393 if test "$GCC" = yes ; then
33397 i586
-*-*|i686
-*-* )
33398 OPTIMISE
="${OPTIMISE} "
33407 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33408 cat >>confdefs.h
<<\_ACEOF
33409 #define WXWIN_COMPATIBILITY_2_2 1
33413 WXWIN_COMPATIBILITY_2_4
="yes"
33416 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33417 cat >>confdefs.h
<<\_ACEOF
33418 #define WXWIN_COMPATIBILITY_2_4 1
33424 if test "$wxUSE_GUI" = "yes"; then
33425 cat >>confdefs.h
<<\_ACEOF
33426 #define wxUSE_GUI 1
33431 cat >>confdefs.h
<<\_ACEOF
33432 #define wxUSE_NOGUI 1
33438 if test "$wxUSE_UNIX" = "yes"; then
33439 cat >>confdefs.h
<<\_ACEOF
33440 #define wxUSE_UNIX 1
33446 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33450 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33451 if test "$USE_DARWIN" = 1; then
33455 for ac_func
in dlopen
33457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33458 echo "$as_me:$LINENO: checking for $ac_func" >&5
33459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33460 if eval "test \"\${$as_ac_var+set}\" = set"; then
33461 echo $ECHO_N "(cached) $ECHO_C" >&6
33463 cat >conftest.
$ac_ext <<_ACEOF
33466 cat confdefs.h
>>conftest.
$ac_ext
33467 cat >>conftest.
$ac_ext <<_ACEOF
33468 /* end confdefs.h. */
33469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33471 #define $ac_func innocuous_$ac_func
33473 /* System header to define __stub macros and hopefully few prototypes,
33474 which can conflict with char $ac_func (); below.
33475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33476 <limits.h> exists even on freestanding compilers. */
33479 # include <limits.h>
33481 # include <assert.h>
33486 /* Override any gcc2 internal prototype to avoid an error. */
33491 /* We use char because int might match the return type of a gcc2
33492 builtin and then its argument prototype would still apply. */
33494 /* The GNU C library defines this for functions which it implements
33495 to always fail with ENOSYS. Some functions are actually named
33496 something starting with __ and the normal name is an alias. */
33497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33500 char (*f) () = $ac_func;
33509 return f != $ac_func;
33514 rm -f conftest.
$ac_objext conftest
$ac_exeext
33515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33516 (eval $ac_link) 2>conftest.er1
33518 grep -v '^ *+' conftest.er1
>conftest.err
33520 cat conftest.err
>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); } &&
33523 { ac_try
='test -z "$ac_c_werror_flag"
33524 || 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_DLOPEN 1
33561 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33562 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33563 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 ac_check_lib_save_LIBS
=$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"
33600 || test ! -s conftest.err'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; } &&
33606 { ac_try
='test -s conftest$ac_exeext'
33607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33608 (eval $ac_try) 2>&5
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); }; }; then
33612 ac_cv_lib_dl_dlopen
=yes
33614 echo "$as_me: failed program was:" >&5
33615 sed 's/^/| /' conftest.
$ac_ext >&5
33617 ac_cv_lib_dl_dlopen
=no
33619 rm -f conftest.err conftest.
$ac_objext \
33620 conftest
$ac_exeext conftest.
$ac_ext
33621 LIBS
=$ac_check_lib_save_LIBS
33623 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33624 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33625 if test $ac_cv_lib_dl_dlopen = yes; then
33627 cat >>confdefs.h
<<\_ACEOF
33628 #define HAVE_DLOPEN 1
33632 DL_LINK
=" -ldl$DL_LINK"
33637 for ac_func
in shl_load
33639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33640 echo "$as_me:$LINENO: checking for $ac_func" >&5
33641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33642 if eval "test \"\${$as_ac_var+set}\" = set"; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33645 cat >conftest.
$ac_ext <<_ACEOF
33648 cat confdefs.h
>>conftest.
$ac_ext
33649 cat >>conftest.
$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33653 #define $ac_func innocuous_$ac_func
33655 /* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char $ac_func (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33661 # include <limits.h>
33663 # include <assert.h>
33668 /* Override any gcc2 internal prototype to avoid an error. */
33673 /* We use char because int might match the return type of a gcc2
33674 builtin and then its argument prototype would still apply. */
33676 /* The GNU C library defines this for functions which it implements
33677 to always fail with ENOSYS. Some functions are actually named
33678 something starting with __ and the normal name is an alias. */
33679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33682 char (*f) () = $ac_func;
33691 return f != $ac_func;
33696 rm -f conftest.
$ac_objext conftest
$ac_exeext
33697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33698 (eval $ac_link) 2>conftest.er1
33700 grep -v '^ *+' conftest.er1
>conftest.err
33702 cat conftest.err
>&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } &&
33705 { ac_try
='test -z "$ac_c_werror_flag"
33706 || test ! -s conftest.err'
33707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33708 (eval $ac_try) 2>&5
33710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33711 (exit $ac_status); }; } &&
33712 { ac_try
='test -s conftest$ac_exeext'
33713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33714 (eval $ac_try) 2>&5
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); }; }; then
33718 eval "$as_ac_var=yes"
33720 echo "$as_me: failed program was:" >&5
33721 sed 's/^/| /' conftest.
$ac_ext >&5
33723 eval "$as_ac_var=no"
33725 rm -f conftest.err conftest.
$ac_objext \
33726 conftest
$ac_exeext conftest.
$ac_ext
33728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33730 if test `eval echo '${'$as_ac_var'}'` = yes; then
33731 cat >>confdefs.h
<<_ACEOF
33732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33735 cat >>confdefs.h
<<\_ACEOF
33736 #define HAVE_SHL_LOAD 1
33743 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33744 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33745 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 ac_check_lib_save_LIBS
=$LIBS
33749 LIBS
="-lshl_load $LIBS"
33750 cat >conftest.
$ac_ext <<_ACEOF
33753 cat confdefs.h
>>conftest.
$ac_ext
33754 cat >>conftest.
$ac_ext <<_ACEOF
33755 /* end confdefs.h. */
33757 /* Override any gcc2 internal prototype to avoid an error. */
33761 /* We use char because int might match the return type of a gcc2
33762 builtin and then its argument prototype would still apply. */
33772 rm -f conftest.
$ac_objext conftest
$ac_exeext
33773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33774 (eval $ac_link) 2>conftest.er1
33776 grep -v '^ *+' conftest.er1
>conftest.err
33778 cat conftest.err
>&5
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); } &&
33781 { ac_try
='test -z "$ac_c_werror_flag"
33782 || test ! -s conftest.err'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; } &&
33788 { ac_try
='test -s conftest$ac_exeext'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; }; then
33794 ac_cv_lib_shl_load_dld
=yes
33796 echo "$as_me: failed program was:" >&5
33797 sed 's/^/| /' conftest.
$ac_ext >&5
33799 ac_cv_lib_shl_load_dld
=no
33801 rm -f conftest.err conftest.
$ac_objext \
33802 conftest
$ac_exeext conftest.
$ac_ext
33803 LIBS
=$ac_check_lib_save_LIBS
33805 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33806 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33807 if test $ac_cv_lib_shl_load_dld = yes; then
33810 DL_LINK
=" -ldld$DL_LINK"
33826 if test "$HAVE_DL_FUNCS" = 1; then
33828 for ac_func
in dlerror
33830 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33831 echo "$as_me:$LINENO: checking for $ac_func" >&5
33832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33833 if eval "test \"\${$as_ac_var+set}\" = set"; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 cat >conftest.
$ac_ext <<_ACEOF
33839 cat confdefs.h
>>conftest.
$ac_ext
33840 cat >>conftest.
$ac_ext <<_ACEOF
33841 /* end confdefs.h. */
33842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33844 #define $ac_func innocuous_$ac_func
33846 /* System header to define __stub macros and hopefully few prototypes,
33847 which can conflict with char $ac_func (); below.
33848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33849 <limits.h> exists even on freestanding compilers. */
33852 # include <limits.h>
33854 # include <assert.h>
33859 /* Override any gcc2 internal prototype to avoid an error. */
33864 /* We use char because int might match the return type of a gcc2
33865 builtin and then its argument prototype would still apply. */
33867 /* The GNU C library defines this for functions which it implements
33868 to always fail with ENOSYS. Some functions are actually named
33869 something starting with __ and the normal name is an alias. */
33870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33873 char (*f) () = $ac_func;
33882 return f != $ac_func;
33887 rm -f conftest.
$ac_objext conftest
$ac_exeext
33888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33889 (eval $ac_link) 2>conftest.er1
33891 grep -v '^ *+' conftest.er1
>conftest.err
33893 cat conftest.err
>&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } &&
33896 { ac_try
='test -z "$ac_c_werror_flag"
33897 || test ! -s conftest.err'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; } &&
33903 { ac_try
='test -s conftest$ac_exeext'
33904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33905 (eval $ac_try) 2>&5
33907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908 (exit $ac_status); }; }; then
33909 eval "$as_ac_var=yes"
33911 echo "$as_me: failed program was:" >&5
33912 sed 's/^/| /' conftest.
$ac_ext >&5
33914 eval "$as_ac_var=no"
33916 rm -f conftest.err conftest.
$ac_objext \
33917 conftest
$ac_exeext conftest.
$ac_ext
33919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33921 if test `eval echo '${'$as_ac_var'}'` = yes; then
33922 cat >>confdefs.h
<<_ACEOF
33923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33925 cat >>confdefs.h
<<\_ACEOF
33926 #define HAVE_DLERROR 1
33931 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33932 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33933 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33934 echo $ECHO_N "(cached) $ECHO_C" >&6
33936 ac_check_lib_save_LIBS
=$LIBS
33938 cat >conftest.
$ac_ext <<_ACEOF
33941 cat confdefs.h
>>conftest.
$ac_ext
33942 cat >>conftest.
$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33945 /* Override any gcc2 internal prototype to avoid an error. */
33949 /* We use char because int might match the return type of a gcc2
33950 builtin and then its argument prototype would still apply. */
33960 rm -f conftest.
$ac_objext conftest
$ac_exeext
33961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33962 (eval $ac_link) 2>conftest.er1
33964 grep -v '^ *+' conftest.er1
>conftest.err
33966 cat conftest.err
>&5
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); } &&
33969 { ac_try
='test -z "$ac_c_werror_flag"
33970 || test ! -s conftest.err'
33971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33972 (eval $ac_try) 2>&5
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); }; } &&
33976 { ac_try
='test -s conftest$ac_exeext'
33977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33978 (eval $ac_try) 2>&5
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); }; }; then
33982 ac_cv_lib_dl_dlerror
=yes
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.
$ac_ext >&5
33987 ac_cv_lib_dl_dlerror
=no
33989 rm -f conftest.err conftest.
$ac_objext \
33990 conftest
$ac_exeext conftest.
$ac_ext
33991 LIBS
=$ac_check_lib_save_LIBS
33993 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
33994 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
33995 if test $ac_cv_lib_dl_dlerror = yes; then
33996 cat >>confdefs.h
<<\_ACEOF
33997 #define HAVE_DLERROR 1
34010 if test "$HAVE_DL_FUNCS" = 0; then
34011 if test "$HAVE_SHL_FUNCS" = 0; then
34012 if test "$USE_UNIX" = 1; then
34013 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34014 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34015 wxUSE_DYNAMIC_LOADER
=no
34016 wxUSE_DYNLIB_CLASS
=no
34018 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34019 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34026 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34027 cat >>confdefs.h
<<\_ACEOF
34028 #define wxUSE_DYNAMIC_LOADER 1
34032 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34033 cat >>confdefs.h
<<\_ACEOF
34034 #define wxUSE_DYNLIB_CLASS 1
34041 if test "$wxUSE_PLUGINS" = "yes" ; then
34042 if test "$wxUSE_SHARED" = "no" ; then
34043 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34044 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34047 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34048 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34049 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34052 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34053 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34054 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34057 if test "$wxUSE_PLUGINS" = "yes" ; then
34058 cat >>confdefs.h
<<\_ACEOF
34059 #define wxUSE_PLUGINS 1
34066 if test "$wxUSE_STL" = "yes"; then
34067 cat >>confdefs.h
<<\_ACEOF
34068 #define wxUSE_STL 1
34073 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34074 cat >>confdefs.h
<<\_ACEOF
34075 #define wxUSE_APPLE_IEEE 1
34080 if test "$wxUSE_TIMER" = "yes"; then
34081 cat >>confdefs.h
<<\_ACEOF
34082 #define wxUSE_TIMER 1
34088 if test "$wxUSE_SOUND" = "yes"; then
34089 if test "$USE_UNIX" = "1" ; then
34091 for ac_header
in sys
/soundcard.h
34093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34095 echo "$as_me:$LINENO: checking for $ac_header" >&5
34096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34098 echo $ECHO_N "(cached) $ECHO_C" >&6
34100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34103 # Is the header compilable?
34104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34106 cat >conftest.
$ac_ext <<_ACEOF
34109 cat confdefs.h
>>conftest.
$ac_ext
34110 cat >>conftest.
$ac_ext <<_ACEOF
34111 /* end confdefs.h. */
34112 $ac_includes_default
34113 #include <$ac_header>
34115 rm -f conftest.
$ac_objext
34116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34117 (eval $ac_compile) 2>conftest.er1
34119 grep -v '^ *+' conftest.er1
>conftest.err
34121 cat conftest.err
>&5
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); } &&
34124 { ac_try
='test -z "$ac_c_werror_flag"
34125 || test ! -s conftest.err'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; } &&
34131 { ac_try
='test -s conftest.$ac_objext'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; }; then
34137 ac_header_compiler
=yes
34139 echo "$as_me: failed program was:" >&5
34140 sed 's/^/| /' conftest.
$ac_ext >&5
34142 ac_header_compiler
=no
34144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34146 echo "${ECHO_T}$ac_header_compiler" >&6
34148 # Is the header present?
34149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34151 cat >conftest.
$ac_ext <<_ACEOF
34154 cat confdefs.h
>>conftest.
$ac_ext
34155 cat >>conftest.
$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34157 #include <$ac_header>
34159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34160 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34162 grep -v '^ *+' conftest.er1
>conftest.err
34164 cat conftest.err
>&5
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); } >/dev
/null
; then
34167 if test -s conftest.err
; then
34168 ac_cpp_err
=$ac_c_preproc_warn_flag
34169 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34176 if test -z "$ac_cpp_err"; then
34177 ac_header_preproc
=yes
34179 echo "$as_me: failed program was:" >&5
34180 sed 's/^/| /' conftest.
$ac_ext >&5
34182 ac_header_preproc
=no
34184 rm -f conftest.err conftest.
$ac_ext
34185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34186 echo "${ECHO_T}$ac_header_preproc" >&6
34188 # So? What about this header?
34189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34195 ac_header_preproc
=yes
34198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34212 ## ----------------------------------------- ##
34213 ## Report this to wx-dev@lists.wxwidgets.org ##
34214 ## ----------------------------------------- ##
34217 sed "s/^/$as_me: WARNING: /" >&2
34220 echo "$as_me:$LINENO: checking for $ac_header" >&5
34221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34223 echo $ECHO_N "(cached) $ECHO_C" >&6
34225 eval "$as_ac_Header=\$ac_header_preproc"
34227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34232 cat >>confdefs.h
<<_ACEOF
34233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34241 if test "$wxUSE_LIBSDL" != "no"; then
34243 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34244 if test "${with_sdl_prefix+set}" = set; then
34245 withval
="$with_sdl_prefix"
34246 sdl_prefix
="$withval"
34251 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34252 if test "${with_sdl_exec_prefix+set}" = set; then
34253 withval
="$with_sdl_exec_prefix"
34254 sdl_exec_prefix
="$withval"
34258 # Check whether --enable-sdltest or --disable-sdltest was given.
34259 if test "${enable_sdltest+set}" = set; then
34260 enableval
="$enable_sdltest"
34266 if test x
$sdl_exec_prefix != x
; then
34267 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
34268 if test x
${SDL_CONFIG+set} != xset
; then
34269 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
34272 if test x
$sdl_prefix != x
; then
34273 sdl_args
="$sdl_args --prefix=$sdl_prefix"
34274 if test x
${SDL_CONFIG+set} != xset
; then
34275 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
34280 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
34281 # Extract the first word of "sdl-config", so it can be a program name with args.
34282 set dummy sdl
-config; ac_word
=$2
34283 echo "$as_me:$LINENO: checking for $ac_word" >&5
34284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34285 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34286 echo $ECHO_N "(cached) $ECHO_C" >&6
34288 case $SDL_CONFIG in
34290 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
34293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34294 for as_dir
in $PATH
34297 test -z "$as_dir" && as_dir
=.
34298 for ac_exec_ext
in '' $ac_executable_extensions; do
34299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34300 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34307 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
34311 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
34313 if test -n "$SDL_CONFIG"; then
34314 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34315 echo "${ECHO_T}$SDL_CONFIG" >&6
34317 echo "$as_me:$LINENO: result: no" >&5
34318 echo "${ECHO_T}no" >&6
34321 min_sdl_version
=1.2.0
34322 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34323 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34325 if test "$SDL_CONFIG" = "no" ; then
34328 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
34329 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
34331 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
34332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34333 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
34334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34335 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
34336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34337 if test "x$enable_sdltest" = "xyes" ; then
34338 ac_save_CFLAGS
="$CFLAGS"
34339 ac_save_LIBS
="$LIBS"
34340 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34341 LIBS
="$LIBS $SDL_LIBS"
34343 if test "$cross_compiling" = yes; then
34344 echo $ac_n "cross compiling; assumed OK... $ac_c"
34346 cat >conftest.
$ac_ext <<_ACEOF
34349 cat confdefs.h
>>conftest.
$ac_ext
34350 cat >>conftest.
$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34354 #include <stdlib.h>
34355 #include <string.h>
34359 my_strdup (char *str)
34365 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34366 strcpy (new_str, str);
34374 int main (int argc, char *argv[])
34376 int major, minor, micro;
34379 /* This hangs on some systems (?)
34380 system ("touch conf.sdltest");
34382 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34384 /* HP/UX 9 (%@#!) writes to sscanf strings */
34385 tmp_version = my_strdup("$min_sdl_version");
34386 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
34387 printf("%s, bad version string\n", "$min_sdl_version");
34391 if (($sdl_major_version > major) ||
34392 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34393 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34399 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34400 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34401 printf("*** best to upgrade to the required version.\n");
34402 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34403 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34404 printf("*** config.cache before re-running configure\n");
34411 rm -f conftest
$ac_exeext
34412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34413 (eval $ac_link) 2>&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; }; then
34424 echo "$as_me: program exited with status $ac_status" >&5
34425 echo "$as_me: failed program was:" >&5
34426 sed 's/^/| /' conftest.
$ac_ext >&5
34428 ( exit $ac_status )
34431 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34433 CFLAGS
="$ac_save_CFLAGS"
34434 LIBS
="$ac_save_LIBS"
34437 if test "x$no_sdl" = x
; then
34438 echo "$as_me:$LINENO: result: yes" >&5
34439 echo "${ECHO_T}yes" >&6
34441 EXTRALIBS_SDL
="$SDL_LIBS"
34442 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
34443 cat >>confdefs.h
<<\_ACEOF
34444 #define wxUSE_LIBSDL 1
34449 echo "$as_me:$LINENO: result: no" >&5
34450 echo "${ECHO_T}no" >&6
34451 if test "$SDL_CONFIG" = "no" ; then
34452 echo "*** The sdl-config script installed by SDL could not be found"
34453 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34454 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34455 echo "*** full path to sdl-config."
34457 if test -f conf.sdltest
; then
34460 echo "*** Could not run SDL test program, checking why..."
34461 CFLAGS
="$CFLAGS $SDL_CFLAGS"
34462 LIBS
="$LIBS $SDL_LIBS"
34463 cat >conftest.
$ac_ext <<_ACEOF
34466 cat confdefs.h
>>conftest.
$ac_ext
34467 cat >>conftest.
$ac_ext <<_ACEOF
34468 /* end confdefs.h. */
34473 int main(int argc, char *argv[])
34476 #define main K_and_R_C_main
34486 rm -f conftest.
$ac_objext conftest
$ac_exeext
34487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34488 (eval $ac_link) 2>conftest.er1
34490 grep -v '^ *+' conftest.er1
>conftest.err
34492 cat conftest.err
>&5
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); } &&
34495 { ac_try
='test -z "$ac_c_werror_flag"
34496 || test ! -s conftest.err'
34497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34498 (eval $ac_try) 2>&5
34500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34501 (exit $ac_status); }; } &&
34502 { ac_try
='test -s conftest$ac_exeext'
34503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34504 (eval $ac_try) 2>&5
34506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507 (exit $ac_status); }; }; then
34508 echo "*** The test program compiled, but did not run. This usually means"
34509 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34510 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34511 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34512 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34513 echo "*** is required on your system"
34515 echo "*** If you have an old version installed, it is best to remove it, although"
34516 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34518 echo "$as_me: failed program was:" >&5
34519 sed 's/^/| /' conftest.
$ac_ext >&5
34521 echo "*** The test program failed to compile or link. See the file config.log for the"
34522 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34523 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34524 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34526 rm -f conftest.err conftest.
$ac_objext \
34527 conftest
$ac_exeext conftest.
$ac_ext
34528 CFLAGS
="$ac_save_CFLAGS"
34529 LIBS
="$ac_save_LIBS"
34540 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34546 cat >>confdefs.h
<<\_ACEOF
34547 #define wxUSE_SOUND 1
34550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
34553 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34554 cat >>confdefs.h
<<\_ACEOF
34555 #define wxUSE_CMDLINE_PARSER 1
34560 if test "$wxUSE_STOPWATCH" = "yes"; then
34561 cat >>confdefs.h
<<\_ACEOF
34562 #define wxUSE_STOPWATCH 1
34567 if test "$wxUSE_DATETIME" = "yes"; then
34568 cat >>confdefs.h
<<\_ACEOF
34569 #define wxUSE_DATETIME 1
34574 if test "$wxUSE_FILE" = "yes"; then
34575 cat >>confdefs.h
<<\_ACEOF
34576 #define wxUSE_FILE 1
34581 if test "$wxUSE_FFILE" = "yes"; then
34582 cat >>confdefs.h
<<\_ACEOF
34583 #define wxUSE_FFILE 1
34588 if test "$wxUSE_FILESYSTEM" = "yes"; then
34589 cat >>confdefs.h
<<\_ACEOF
34590 #define wxUSE_FILESYSTEM 1
34595 if test "$wxUSE_FS_ZIP" = "yes"; then
34596 cat >>confdefs.h
<<\_ACEOF
34597 #define wxUSE_FS_ZIP 1
34602 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34603 cat >>confdefs.h
<<\_ACEOF
34604 #define wxUSE_ZIPSTREAM 1
34609 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34610 cat >>confdefs.h
<<\_ACEOF
34611 #define wxUSE_ON_FATAL_EXCEPTION 1
34616 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34617 cat >>confdefs.h
<<\_ACEOF
34618 #define wxUSE_SNGLINST_CHECKER 1
34623 if test "$wxUSE_BUSYINFO" = "yes"; then
34624 cat >>confdefs.h
<<\_ACEOF
34625 #define wxUSE_BUSYINFO 1
34630 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34631 cat >>confdefs.h
<<\_ACEOF
34632 #define wxUSE_STD_IOSTREAM 1
34637 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34638 cat >>confdefs.h
<<\_ACEOF
34639 #define wxUSE_TEXTBUFFER 1
34644 if test "$wxUSE_TEXTFILE" = "yes"; then
34645 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34646 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34647 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34649 cat >>confdefs.h
<<\_ACEOF
34650 #define wxUSE_TEXTFILE 1
34656 if test "$wxUSE_CONFIG" = "yes" ; then
34657 if test "$wxUSE_TEXTFILE" != "yes"; then
34658 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34659 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34661 cat >>confdefs.h
<<\_ACEOF
34662 #define wxUSE_CONFIG 1
34665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34669 if test "$wxUSE_INTL" = "yes" ; then
34670 if test "$wxUSE_FILE" != "yes"; then
34671 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34672 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34674 cat >>confdefs.h
<<\_ACEOF
34675 #define wxUSE_INTL 1
34678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34679 GUIDIST
="$GUIDIST INTL_DIST"
34683 if test "$wxUSE_LOG" = "yes"; then
34684 cat >>confdefs.h
<<\_ACEOF
34685 #define wxUSE_LOG 1
34689 if test "$wxUSE_LOGGUI" = "yes"; then
34690 cat >>confdefs.h
<<\_ACEOF
34691 #define wxUSE_LOGGUI 1
34696 if test "$wxUSE_LOGWINDOW" = "yes"; then
34697 cat >>confdefs.h
<<\_ACEOF
34698 #define wxUSE_LOGWINDOW 1
34703 if test "$wxUSE_LOGDIALOG" = "yes"; then
34704 cat >>confdefs.h
<<\_ACEOF
34705 #define wxUSE_LOG_DIALOG 1
34711 if test "$wxUSE_LONGLONG" = "yes"; then
34712 cat >>confdefs.h
<<\_ACEOF
34713 #define wxUSE_LONGLONG 1
34718 if test "$wxUSE_GEOMETRY" = "yes"; then
34719 cat >>confdefs.h
<<\_ACEOF
34720 #define wxUSE_GEOMETRY 1
34725 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34726 cat >>confdefs.h
<<\_ACEOF
34727 #define wxUSE_DIALUP_MANAGER 1
34730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
34733 if test "$wxUSE_STREAMS" = "yes" ; then
34734 cat >>confdefs.h
<<\_ACEOF
34735 #define wxUSE_STREAMS 1
34741 if test "$wxUSE_DATETIME" = "yes"; then
34743 for ac_func
in strptime
34745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34746 echo "$as_me:$LINENO: checking for $ac_func" >&5
34747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34748 if eval "test \"\${$as_ac_var+set}\" = set"; then
34749 echo $ECHO_N "(cached) $ECHO_C" >&6
34751 cat >conftest.
$ac_ext <<_ACEOF
34754 cat confdefs.h
>>conftest.
$ac_ext
34755 cat >>conftest.
$ac_ext <<_ACEOF
34756 /* end confdefs.h. */
34757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34759 #define $ac_func innocuous_$ac_func
34761 /* System header to define __stub macros and hopefully few prototypes,
34762 which can conflict with char $ac_func (); below.
34763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34764 <limits.h> exists even on freestanding compilers. */
34767 # include <limits.h>
34769 # include <assert.h>
34774 /* Override any gcc2 internal prototype to avoid an error. */
34779 /* We use char because int might match the return type of a gcc2
34780 builtin and then its argument prototype would still apply. */
34782 /* The GNU C library defines this for functions which it implements
34783 to always fail with ENOSYS. Some functions are actually named
34784 something starting with __ and the normal name is an alias. */
34785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34788 char (*f) () = $ac_func;
34797 return f != $ac_func;
34802 rm -f conftest.
$ac_objext conftest
$ac_exeext
34803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34804 (eval $ac_link) 2>conftest.er1
34806 grep -v '^ *+' conftest.er1
>conftest.err
34808 cat conftest.err
>&5
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); } &&
34811 { ac_try
='test -z "$ac_c_werror_flag"
34812 || test ! -s conftest.err'
34813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814 (eval $ac_try) 2>&5
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); }; } &&
34818 { ac_try
='test -s conftest$ac_exeext'
34819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34820 (eval $ac_try) 2>&5
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); }; }; then
34824 eval "$as_ac_var=yes"
34826 echo "$as_me: failed program was:" >&5
34827 sed 's/^/| /' conftest.
$ac_ext >&5
34829 eval "$as_ac_var=no"
34831 rm -f conftest.err conftest.
$ac_objext \
34832 conftest
$ac_exeext conftest.
$ac_ext
34834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34836 if test `eval echo '${'$as_ac_var'}'` = yes; then
34837 cat >>confdefs.h
<<_ACEOF
34838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34845 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34846 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34847 if test "${wx_cv_var_timezone+set}" = set; then
34848 echo $ECHO_N "(cached) $ECHO_C" >&6
34851 cat >conftest.
$ac_ext <<_ACEOF
34854 cat confdefs.h
>>conftest.
$ac_ext
34855 cat >>conftest.
$ac_ext <<_ACEOF
34856 /* end confdefs.h. */
34871 rm -f conftest.
$ac_objext
34872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34873 (eval $ac_compile) 2>conftest.er1
34875 grep -v '^ *+' conftest.er1
>conftest.err
34877 cat conftest.err
>&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } &&
34880 { ac_try
='test -z "$ac_c_werror_flag"
34881 || test ! -s conftest.err'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; } &&
34887 { ac_try
='test -s conftest.$ac_objext'
34888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34889 (eval $ac_try) 2>&5
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); }; }; then
34894 wx_cv_var_timezone
=timezone
34897 echo "$as_me: failed program was:" >&5
34898 sed 's/^/| /' conftest.
$ac_ext >&5
34901 cat >conftest.
$ac_ext <<_ACEOF
34904 cat confdefs.h
>>conftest.
$ac_ext
34905 cat >>conftest.
$ac_ext <<_ACEOF
34906 /* end confdefs.h. */
34921 rm -f conftest.
$ac_objext
34922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34923 (eval $ac_compile) 2>conftest.er1
34925 grep -v '^ *+' conftest.er1
>conftest.err
34927 cat conftest.err
>&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } &&
34930 { ac_try
='test -z "$ac_c_werror_flag"
34931 || test ! -s conftest.err'
34932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34933 (eval $ac_try) 2>&5
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); }; } &&
34937 { ac_try
='test -s conftest.$ac_objext'
34938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34939 (eval $ac_try) 2>&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); }; }; then
34944 wx_cv_var_timezone
=_timezone
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.
$ac_ext >&5
34951 cat >conftest.
$ac_ext <<_ACEOF
34954 cat confdefs.h
>>conftest.
$ac_ext
34955 cat >>conftest.
$ac_ext <<_ACEOF
34956 /* end confdefs.h. */
34971 rm -f conftest.
$ac_objext
34972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34973 (eval $ac_compile) 2>conftest.er1
34975 grep -v '^ *+' conftest.er1
>conftest.err
34977 cat conftest.err
>&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } &&
34980 { ac_try
='test -z "$ac_c_werror_flag"
34981 || test ! -s conftest.err'
34982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34983 (eval $ac_try) 2>&5
34985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34986 (exit $ac_status); }; } &&
34987 { ac_try
='test -s conftest.$ac_objext'
34988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34989 (eval $ac_try) 2>&5
34991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34992 (exit $ac_status); }; }; then
34994 wx_cv_var_timezone
=__timezone
34997 echo "$as_me: failed program was:" >&5
34998 sed 's/^/| /' conftest.
$ac_ext >&5
35001 if test "$USE_DOS" = 0 ; then
35002 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35003 echo "$as_me: WARNING: no timezone variable" >&2;}
35008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35020 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35021 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35023 if test "x$wx_cv_var_timezone" != x
; then
35024 cat >>confdefs.h
<<_ACEOF
35025 #define WX_TIMEZONE $wx_cv_var_timezone
35031 for ac_func
in localtime
35033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35034 echo "$as_me:$LINENO: checking for $ac_func" >&5
35035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35036 if eval "test \"\${$as_ac_var+set}\" = set"; then
35037 echo $ECHO_N "(cached) $ECHO_C" >&6
35039 cat >conftest.
$ac_ext <<_ACEOF
35042 cat confdefs.h
>>conftest.
$ac_ext
35043 cat >>conftest.
$ac_ext <<_ACEOF
35044 /* end confdefs.h. */
35045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35047 #define $ac_func innocuous_$ac_func
35049 /* System header to define __stub macros and hopefully few prototypes,
35050 which can conflict with char $ac_func (); below.
35051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35052 <limits.h> exists even on freestanding compilers. */
35055 # include <limits.h>
35057 # include <assert.h>
35062 /* Override any gcc2 internal prototype to avoid an error. */
35067 /* We use char because int might match the return type of a gcc2
35068 builtin and then its argument prototype would still apply. */
35070 /* The GNU C library defines this for functions which it implements
35071 to always fail with ENOSYS. Some functions are actually named
35072 something starting with __ and the normal name is an alias. */
35073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35076 char (*f) () = $ac_func;
35085 return f != $ac_func;
35090 rm -f conftest.
$ac_objext conftest
$ac_exeext
35091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35092 (eval $ac_link) 2>conftest.er1
35094 grep -v '^ *+' conftest.er1
>conftest.err
35096 cat conftest.err
>&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); } &&
35099 { ac_try
='test -z "$ac_c_werror_flag"
35100 || test ! -s conftest.err'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; } &&
35106 { ac_try
='test -s conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 eval "$as_ac_var=yes"
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.
$ac_ext >&5
35117 eval "$as_ac_var=no"
35119 rm -f conftest.err conftest.
$ac_objext \
35120 conftest
$ac_exeext conftest.
$ac_ext
35122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35124 if test `eval echo '${'$as_ac_var'}'` = yes; then
35125 cat >>confdefs.h
<<_ACEOF
35126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 if test "$ac_cv_func_localtime" = "yes"; then
35134 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35135 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35136 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35137 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 cat >conftest.
$ac_ext <<_ACEOF
35143 cat confdefs.h
>>conftest.
$ac_ext
35144 cat >>conftest.
$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35160 rm -f conftest.
$ac_objext
35161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35162 (eval $ac_compile) 2>conftest.er1
35164 grep -v '^ *+' conftest.er1
>conftest.err
35166 cat conftest.err
>&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); } &&
35169 { ac_try
='test -z "$ac_c_werror_flag"
35170 || test ! -s conftest.err'
35171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35172 (eval $ac_try) 2>&5
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); }; } &&
35176 { ac_try
='test -s conftest.$ac_objext'
35177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178 (eval $ac_try) 2>&5
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); }; }; then
35183 wx_cv_struct_tm_has_gmtoff
=yes
35186 echo "$as_me: failed program was:" >&5
35187 sed 's/^/| /' conftest.
$ac_ext >&5
35189 wx_cv_struct_tm_has_gmtoff
=no
35192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35195 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35196 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35199 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35200 cat >>confdefs.h
<<\_ACEOF
35201 #define WX_GMTOFF_IN_TM 1
35208 for ac_func
in gettimeofday ftime
35210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35211 echo "$as_me:$LINENO: checking for $ac_func" >&5
35212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35213 if eval "test \"\${$as_ac_var+set}\" = set"; then
35214 echo $ECHO_N "(cached) $ECHO_C" >&6
35216 cat >conftest.
$ac_ext <<_ACEOF
35219 cat confdefs.h
>>conftest.
$ac_ext
35220 cat >>conftest.
$ac_ext <<_ACEOF
35221 /* end confdefs.h. */
35222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35224 #define $ac_func innocuous_$ac_func
35226 /* System header to define __stub macros and hopefully few prototypes,
35227 which can conflict with char $ac_func (); below.
35228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35229 <limits.h> exists even on freestanding compilers. */
35232 # include <limits.h>
35234 # include <assert.h>
35239 /* Override any gcc2 internal prototype to avoid an error. */
35244 /* We use char because int might match the return type of a gcc2
35245 builtin and then its argument prototype would still apply. */
35247 /* The GNU C library defines this for functions which it implements
35248 to always fail with ENOSYS. Some functions are actually named
35249 something starting with __ and the normal name is an alias. */
35250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35253 char (*f) () = $ac_func;
35262 return f != $ac_func;
35267 rm -f conftest.
$ac_objext conftest
$ac_exeext
35268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35269 (eval $ac_link) 2>conftest.er1
35271 grep -v '^ *+' conftest.er1
>conftest.err
35273 cat conftest.err
>&5
35274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275 (exit $ac_status); } &&
35276 { ac_try
='test -z "$ac_c_werror_flag"
35277 || test ! -s conftest.err'
35278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35279 (eval $ac_try) 2>&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); }; } &&
35283 { ac_try
='test -s conftest$ac_exeext'
35284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35285 (eval $ac_try) 2>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); }; }; then
35289 eval "$as_ac_var=yes"
35291 echo "$as_me: failed program was:" >&5
35292 sed 's/^/| /' conftest.
$ac_ext >&5
35294 eval "$as_ac_var=no"
35296 rm -f conftest.err conftest.
$ac_objext \
35297 conftest
$ac_exeext conftest.
$ac_ext
35299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35301 if test `eval echo '${'$as_ac_var'}'` = yes; then
35302 cat >>confdefs.h
<<_ACEOF
35303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35310 if test "$ac_cv_func_gettimeofday" = "yes"; then
35311 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35312 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35313 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35314 echo $ECHO_N "(cached) $ECHO_C" >&6
35320 ac_cpp
='$CXXCPP $CPPFLAGS'
35321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35326 cat >conftest.
$ac_ext <<_ACEOF
35329 cat confdefs.h
>>conftest.
$ac_ext
35330 cat >>conftest.
$ac_ext <<_ACEOF
35331 /* end confdefs.h. */
35333 #include <sys/time.h>
35334 #include <unistd.h>
35341 gettimeofday(&tv, NULL);
35347 rm -f conftest.
$ac_objext
35348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35349 (eval $ac_compile) 2>conftest.er1
35351 grep -v '^ *+' conftest.er1
>conftest.err
35353 cat conftest.err
>&5
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); } &&
35356 { ac_try
='test -z "$ac_cxx_werror_flag"
35357 || test ! -s conftest.err'
35358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35359 (eval $ac_try) 2>&5
35361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35362 (exit $ac_status); }; } &&
35363 { ac_try
='test -s conftest.$ac_objext'
35364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365 (eval $ac_try) 2>&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); }; }; then
35369 wx_cv_func_gettimeofday_has_2_args
=yes
35371 echo "$as_me: failed program was:" >&5
35372 sed 's/^/| /' conftest.
$ac_ext >&5
35374 cat >conftest.
$ac_ext <<_ACEOF
35377 cat confdefs.h
>>conftest.
$ac_ext
35378 cat >>conftest.
$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35381 #include <sys/time.h>
35382 #include <unistd.h>
35395 rm -f conftest.
$ac_objext
35396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35397 (eval $ac_compile) 2>conftest.er1
35399 grep -v '^ *+' conftest.er1
>conftest.err
35401 cat conftest.err
>&5
35402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35403 (exit $ac_status); } &&
35404 { ac_try
='test -z "$ac_cxx_werror_flag"
35405 || test ! -s conftest.err'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; } &&
35411 { ac_try
='test -s conftest.$ac_objext'
35412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35413 (eval $ac_try) 2>&5
35415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416 (exit $ac_status); }; }; then
35417 wx_cv_func_gettimeofday_has_2_args
=no
35419 echo "$as_me: failed program was:" >&5
35420 sed 's/^/| /' conftest.
$ac_ext >&5
35423 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35424 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35425 wx_cv_func_gettimeofday_has_2_args
=unknown
35429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35434 ac_cpp
='$CPP $CPPFLAGS'
35435 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35436 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35437 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35441 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35442 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35444 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35445 cat >>confdefs.h
<<\_ACEOF
35446 #define WX_GETTIMEOFDAY_NO_TZ 1
35452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35456 if test "$wxUSE_SOCKETS" = "yes"; then
35457 if test "$wxUSE_MGL" = "1"; then
35458 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35459 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35464 if test "$wxUSE_SOCKETS" = "yes"; then
35465 if test "$TOOLKIT" != "MSW"; then
35466 echo "$as_me:$LINENO: checking for socket" >&5
35467 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35468 if test "${ac_cv_func_socket+set}" = set; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35471 cat >conftest.
$ac_ext <<_ACEOF
35474 cat confdefs.h
>>conftest.
$ac_ext
35475 cat >>conftest.
$ac_ext <<_ACEOF
35476 /* end confdefs.h. */
35477 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35479 #define socket innocuous_socket
35481 /* System header to define __stub macros and hopefully few prototypes,
35482 which can conflict with char socket (); below.
35483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35484 <limits.h> exists even on freestanding compilers. */
35487 # include <limits.h>
35489 # include <assert.h>
35494 /* Override any gcc2 internal prototype to avoid an error. */
35499 /* We use char because int might match the return type of a gcc2
35500 builtin and then its argument prototype would still apply. */
35502 /* The GNU C library defines this for functions which it implements
35503 to always fail with ENOSYS. Some functions are actually named
35504 something starting with __ and the normal name is an alias. */
35505 #if defined (__stub_socket) || defined (__stub___socket)
35508 char (*f) () = socket;
35517 return f != socket;
35522 rm -f conftest.
$ac_objext conftest
$ac_exeext
35523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35524 (eval $ac_link) 2>conftest.er1
35526 grep -v '^ *+' conftest.er1
>conftest.err
35528 cat conftest.err
>&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } &&
35531 { ac_try
='test -z "$ac_c_werror_flag"
35532 || test ! -s conftest.err'
35533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35534 (eval $ac_try) 2>&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; } &&
35538 { ac_try
='test -s conftest$ac_exeext'
35539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35540 (eval $ac_try) 2>&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); }; }; then
35544 ac_cv_func_socket
=yes
35546 echo "$as_me: failed program was:" >&5
35547 sed 's/^/| /' conftest.
$ac_ext >&5
35549 ac_cv_func_socket
=no
35551 rm -f conftest.err conftest.
$ac_objext \
35552 conftest
$ac_exeext conftest.
$ac_ext
35554 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35555 echo "${ECHO_T}$ac_cv_func_socket" >&6
35556 if test $ac_cv_func_socket = yes; then
35560 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35561 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35562 if test "${ac_cv_lib_socket_socket+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 ac_check_lib_save_LIBS
=$LIBS
35566 LIBS
="-lsocket $LIBS"
35567 cat >conftest.
$ac_ext <<_ACEOF
35570 cat confdefs.h
>>conftest.
$ac_ext
35571 cat >>conftest.
$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35574 /* Override any gcc2 internal prototype to avoid an error. */
35578 /* We use char because int might match the return type of a gcc2
35579 builtin and then its argument prototype would still apply. */
35589 rm -f conftest.
$ac_objext conftest
$ac_exeext
35590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35591 (eval $ac_link) 2>conftest.er1
35593 grep -v '^ *+' conftest.er1
>conftest.err
35595 cat conftest.err
>&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); } &&
35598 { ac_try
='test -z "$ac_c_werror_flag"
35599 || test ! -s conftest.err'
35600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35601 (eval $ac_try) 2>&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); }; } &&
35605 { ac_try
='test -s conftest$ac_exeext'
35606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35607 (eval $ac_try) 2>&5
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); }; }; then
35611 ac_cv_lib_socket_socket
=yes
35613 echo "$as_me: failed program was:" >&5
35614 sed 's/^/| /' conftest.
$ac_ext >&5
35616 ac_cv_lib_socket_socket
=no
35618 rm -f conftest.err conftest.
$ac_objext \
35619 conftest
$ac_exeext conftest.
$ac_ext
35620 LIBS
=$ac_check_lib_save_LIBS
35622 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35623 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35624 if test $ac_cv_lib_socket_socket = yes; then
35625 if test "$INET_LINK" != " -lsocket"; then
35626 INET_LINK
="$INET_LINK -lsocket"
35630 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35631 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35644 if test "$wxUSE_SOCKETS" = "yes" ; then
35645 if test "$TOOLKIT" != "MSW"; then
35647 ac_cpp
='$CXXCPP $CPPFLAGS'
35648 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35652 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35653 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35654 if test "${wx_cv_type_getsockname3+set}" = set; then
35655 echo $ECHO_N "(cached) $ECHO_C" >&6
35658 cat >conftest.
$ac_ext <<_ACEOF
35661 cat confdefs.h
>>conftest.
$ac_ext
35662 cat >>conftest.
$ac_ext <<_ACEOF
35663 /* end confdefs.h. */
35665 #include <sys/types.h>
35666 #include <sys/socket.h>
35673 getsockname(0, 0, &len);
35679 rm -f conftest.
$ac_objext
35680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35681 (eval $ac_compile) 2>conftest.er1
35683 grep -v '^ *+' conftest.er1
>conftest.err
35685 cat conftest.err
>&5
35686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35687 (exit $ac_status); } &&
35688 { ac_try
='test -z "$ac_cxx_werror_flag"
35689 || test ! -s conftest.err'
35690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35691 (eval $ac_try) 2>&5
35693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35694 (exit $ac_status); }; } &&
35695 { ac_try
='test -s conftest.$ac_objext'
35696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35697 (eval $ac_try) 2>&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); }; }; then
35701 wx_cv_type_getsockname3
=socklen_t
35703 echo "$as_me: failed program was:" >&5
35704 sed 's/^/| /' conftest.
$ac_ext >&5
35707 CFLAGS_OLD
="$CFLAGS"
35708 if test "$GCC" = yes ; then
35709 CFLAGS
="$CFLAGS -Werror"
35712 cat >conftest.
$ac_ext <<_ACEOF
35715 cat confdefs.h
>>conftest.
$ac_ext
35716 cat >>conftest.
$ac_ext <<_ACEOF
35717 /* end confdefs.h. */
35719 #include <sys/types.h>
35720 #include <sys/socket.h>
35727 getsockname(0, 0, &len);
35733 rm -f conftest.
$ac_objext
35734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35735 (eval $ac_compile) 2>conftest.er1
35737 grep -v '^ *+' conftest.er1
>conftest.err
35739 cat conftest.err
>&5
35740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35741 (exit $ac_status); } &&
35742 { ac_try
='test -z "$ac_cxx_werror_flag"
35743 || test ! -s conftest.err'
35744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35745 (eval $ac_try) 2>&5
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); }; } &&
35749 { ac_try
='test -s conftest.$ac_objext'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; }; then
35755 wx_cv_type_getsockname3
=size_t
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.
$ac_ext >&5
35760 cat >conftest.
$ac_ext <<_ACEOF
35763 cat confdefs.h
>>conftest.
$ac_ext
35764 cat >>conftest.
$ac_ext <<_ACEOF
35765 /* end confdefs.h. */
35767 #include <sys/types.h>
35768 #include <sys/socket.h>
35775 getsockname(0, 0, &len);
35781 rm -f conftest.
$ac_objext
35782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35783 (eval $ac_compile) 2>conftest.er1
35785 grep -v '^ *+' conftest.er1
>conftest.err
35787 cat conftest.err
>&5
35788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35789 (exit $ac_status); } &&
35790 { ac_try
='test -z "$ac_cxx_werror_flag"
35791 || test ! -s conftest.err'
35792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35793 (eval $ac_try) 2>&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); }; } &&
35797 { ac_try
='test -s conftest.$ac_objext'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; }; then
35803 wx_cv_type_getsockname3
=int
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.
$ac_ext >&5
35808 wx_cv_type_getsockname3
=unknown
35811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35816 CFLAGS
="$CFLAGS_OLD"
35820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35823 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35824 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35826 if test "$wx_cv_type_getsockname3" = "unknown"; then
35828 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35829 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35831 cat >>confdefs.h
<<_ACEOF
35832 #define SOCKLEN_T $wx_cv_type_getsockname3
35837 ac_cpp
='$CPP $CPPFLAGS'
35838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35845 if test "$wxUSE_SOCKETS" = "yes" ; then
35846 cat >>confdefs.h
<<\_ACEOF
35847 #define wxUSE_SOCKETS 1
35850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35853 if test "$wxUSE_PROTOCOL" = "yes"; then
35854 if test "$wxUSE_SOCKETS" != "yes"; then
35855 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35856 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35861 if test "$wxUSE_PROTOCOL" = "yes"; then
35862 cat >>confdefs.h
<<\_ACEOF
35863 #define wxUSE_PROTOCOL 1
35867 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35868 cat >>confdefs.h
<<\_ACEOF
35869 #define wxUSE_PROTOCOL_HTTP 1
35873 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35874 cat >>confdefs.h
<<\_ACEOF
35875 #define wxUSE_PROTOCOL_FTP 1
35879 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35880 cat >>confdefs.h
<<\_ACEOF
35881 #define wxUSE_PROTOCOL_FILE 1
35886 if test "$wxUSE_FS_INET" = "yes"; then
35887 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35888 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35893 if test "$wxUSE_URL" = "yes"; then
35894 if test "$wxUSE_PROTOCOL" != "yes"; then
35895 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35896 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35899 if test "$wxUSE_URL" = "yes"; then
35900 cat >>confdefs.h
<<\_ACEOF
35901 #define wxUSE_URL 1
35907 if test "$wxUSE_FS_INET" = "yes"; then
35908 cat >>confdefs.h
<<\_ACEOF
35909 #define wxUSE_FS_INET 1
35915 if test "$wxUSE_GUI" = "yes"; then
35917 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35918 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35919 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35923 if test "$TOOLKIT" != "MSW"; then
35924 if test "$wxUSE_JOYSTICK" = "yes"; then
35926 for ac_header
in linux
/joystick.h
35928 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35930 echo "$as_me:$LINENO: checking for $ac_header" >&5
35931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35933 echo $ECHO_N "(cached) $ECHO_C" >&6
35935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35938 # Is the header compilable?
35939 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35941 cat >conftest.
$ac_ext <<_ACEOF
35944 cat confdefs.h
>>conftest.
$ac_ext
35945 cat >>conftest.
$ac_ext <<_ACEOF
35946 /* end confdefs.h. */
35947 $ac_includes_default
35948 #include <$ac_header>
35950 rm -f conftest.
$ac_objext
35951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35952 (eval $ac_compile) 2>conftest.er1
35954 grep -v '^ *+' conftest.er1
>conftest.err
35956 cat conftest.err
>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } &&
35959 { ac_try
='test -z "$ac_c_werror_flag"
35960 || test ! -s conftest.err'
35961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35962 (eval $ac_try) 2>&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); }; } &&
35966 { ac_try
='test -s conftest.$ac_objext'
35967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35968 (eval $ac_try) 2>&5
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); }; }; then
35972 ac_header_compiler
=yes
35974 echo "$as_me: failed program was:" >&5
35975 sed 's/^/| /' conftest.
$ac_ext >&5
35977 ac_header_compiler
=no
35979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35981 echo "${ECHO_T}$ac_header_compiler" >&6
35983 # Is the header present?
35984 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35986 cat >conftest.
$ac_ext <<_ACEOF
35989 cat confdefs.h
>>conftest.
$ac_ext
35990 cat >>conftest.
$ac_ext <<_ACEOF
35991 /* end confdefs.h. */
35992 #include <$ac_header>
35994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35997 grep -v '^ *+' conftest.er1
>conftest.err
35999 cat conftest.err
>&5
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); } >/dev
/null
; then
36002 if test -s conftest.err
; then
36003 ac_cpp_err
=$ac_c_preproc_warn_flag
36004 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36011 if test -z "$ac_cpp_err"; then
36012 ac_header_preproc
=yes
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.
$ac_ext >&5
36017 ac_header_preproc
=no
36019 rm -f conftest.err conftest.
$ac_ext
36020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36021 echo "${ECHO_T}$ac_header_preproc" >&6
36023 # So? What about this header?
36024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36030 ac_header_preproc
=yes
36033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36047 ## ----------------------------------------- ##
36048 ## Report this to wx-dev@lists.wxwidgets.org ##
36049 ## ----------------------------------------- ##
36052 sed "s/^/$as_me: WARNING: /" >&2
36055 echo "$as_me:$LINENO: checking for $ac_header" >&5
36056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36058 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 eval "$as_ac_Header=\$ac_header_preproc"
36062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36067 cat >>confdefs.h
<<_ACEOF
36068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36075 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36077 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36078 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36083 if test "$wxUSE_JOYSTICK" = "yes"; then
36084 cat >>confdefs.h
<<\_ACEOF
36085 #define wxUSE_JOYSTICK 1
36088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
36094 if test "$wxUSE_FONTMAP" = "yes" ; then
36095 cat >>confdefs.h
<<\_ACEOF
36096 #define wxUSE_FONTMAP 1
36101 if test "$wxUSE_UNICODE" = "yes" ; then
36102 cat >>confdefs.h
<<\_ACEOF
36103 #define wxUSE_UNICODE 1
36107 if test "$USE_WIN32" != 1; then
36108 wxUSE_UNICODE_MSLU
=no
36111 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36112 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36113 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36114 if test "${ac_cv_lib_unicows_main+set}" = set; then
36115 echo $ECHO_N "(cached) $ECHO_C" >&6
36117 ac_check_lib_save_LIBS
=$LIBS
36118 LIBS
="-lunicows $LIBS"
36119 cat >conftest.
$ac_ext <<_ACEOF
36122 cat confdefs.h
>>conftest.
$ac_ext
36123 cat >>conftest.
$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36135 rm -f conftest.
$ac_objext conftest
$ac_exeext
36136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36137 (eval $ac_link) 2>conftest.er1
36139 grep -v '^ *+' conftest.er1
>conftest.err
36141 cat conftest.err
>&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); } &&
36144 { ac_try
='test -z "$ac_c_werror_flag"
36145 || test ! -s conftest.err'
36146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36147 (eval $ac_try) 2>&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); }; } &&
36151 { ac_try
='test -s conftest$ac_exeext'
36152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36153 (eval $ac_try) 2>&5
36155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36156 (exit $ac_status); }; }; then
36157 ac_cv_lib_unicows_main
=yes
36159 echo "$as_me: failed program was:" >&5
36160 sed 's/^/| /' conftest.
$ac_ext >&5
36162 ac_cv_lib_unicows_main
=no
36164 rm -f conftest.err conftest.
$ac_objext \
36165 conftest
$ac_exeext conftest.
$ac_ext
36166 LIBS
=$ac_check_lib_save_LIBS
36168 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36169 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36170 if test $ac_cv_lib_unicows_main = yes; then
36172 cat >>confdefs.h
<<\_ACEOF
36173 #define wxUSE_UNICODE_MSLU 1
36179 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36180 Applications will only run on Windows NT/2000/XP!" >&5
36181 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36182 Applications will only run on Windows NT/2000/XP!" >&2;}
36183 wxUSE_UNICODE_MSLU
=no
36190 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36191 cat >>confdefs.h
<<\_ACEOF
36192 #define wxUSE_EXPERIMENTAL_PRINTF 1
36198 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36199 cat >>confdefs.h
<<\_ACEOF
36200 #define wxUSE_POSTSCRIPT 1
36205 cat >>confdefs.h
<<\_ACEOF
36206 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36210 cat >>confdefs.h
<<\_ACEOF
36211 #define wxUSE_NORMALIZED_PS_FONTS 1
36216 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36217 cat >>confdefs.h
<<\_ACEOF
36218 #define wxUSE_CONSTRAINTS 1
36221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
36224 if test "$wxUSE_MDI" = "yes"; then
36225 cat >>confdefs.h
<<\_ACEOF
36226 #define wxUSE_MDI 1
36230 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36231 cat >>confdefs.h
<<\_ACEOF
36232 #define wxUSE_MDI_ARCHITECTURE 1
36235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
36239 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36240 cat >>confdefs.h
<<\_ACEOF
36241 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
36245 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
36250 if test "$wxUSE_HELP" = "yes"; then
36251 cat >>confdefs.h
<<\_ACEOF
36252 #define wxUSE_HELP 1
36255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
36257 if test "$wxUSE_MSW" = 1; then
36258 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36259 cat >>confdefs.h
<<\_ACEOF
36260 #define wxUSE_MS_HTML_HELP 1
36266 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36267 if test "$wxUSE_HTML" = "yes"; then
36268 cat >>confdefs.h
<<\_ACEOF
36269 #define wxUSE_WXHTML_HELP 1
36273 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36274 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36275 wxUSE_WXHTML_HELP
=no
36280 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36281 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36282 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36283 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36285 cat >>confdefs.h
<<\_ACEOF
36286 #define wxUSE_PRINTING_ARCHITECTURE 1
36290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
36293 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36294 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36295 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36296 { (exit 1); exit 1; }; }
36300 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36301 -o "$wxUSE_CLIPBOARD" = "yes" \
36302 -o "$wxUSE_OLE" = "yes" \
36303 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36305 for ac_header
in ole2.h
36307 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36309 echo "$as_me:$LINENO: checking for $ac_header" >&5
36310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36312 echo $ECHO_N "(cached) $ECHO_C" >&6
36314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36317 # Is the header compilable?
36318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36320 cat >conftest.
$ac_ext <<_ACEOF
36323 cat confdefs.h
>>conftest.
$ac_ext
36324 cat >>conftest.
$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36326 $ac_includes_default
36327 #include <$ac_header>
36329 rm -f conftest.
$ac_objext
36330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36331 (eval $ac_compile) 2>conftest.er1
36333 grep -v '^ *+' conftest.er1
>conftest.err
36335 cat conftest.err
>&5
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); } &&
36338 { ac_try
='test -z "$ac_c_werror_flag"
36339 || test ! -s conftest.err'
36340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341 (eval $ac_try) 2>&5
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; } &&
36345 { ac_try
='test -s conftest.$ac_objext'
36346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36347 (eval $ac_try) 2>&5
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); }; }; then
36351 ac_header_compiler
=yes
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.
$ac_ext >&5
36356 ac_header_compiler
=no
36358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36360 echo "${ECHO_T}$ac_header_compiler" >&6
36362 # Is the header present?
36363 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36365 cat >conftest.
$ac_ext <<_ACEOF
36368 cat confdefs.h
>>conftest.
$ac_ext
36369 cat >>conftest.
$ac_ext <<_ACEOF
36370 /* end confdefs.h. */
36371 #include <$ac_header>
36373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36374 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36376 grep -v '^ *+' conftest.er1
>conftest.err
36378 cat conftest.err
>&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } >/dev
/null
; then
36381 if test -s conftest.err
; then
36382 ac_cpp_err
=$ac_c_preproc_warn_flag
36383 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36390 if test -z "$ac_cpp_err"; then
36391 ac_header_preproc
=yes
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.
$ac_ext >&5
36396 ac_header_preproc
=no
36398 rm -f conftest.err conftest.
$ac_ext
36399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36400 echo "${ECHO_T}$ac_header_preproc" >&6
36402 # So? What about this header?
36403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36406 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36408 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36409 ac_header_preproc
=yes
36412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36417 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36419 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36421 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36423 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36426 ## ----------------------------------------- ##
36427 ## Report this to wx-dev@lists.wxwidgets.org ##
36428 ## ----------------------------------------- ##
36431 sed "s/^/$as_me: WARNING: /" >&2
36434 echo "$as_me:$LINENO: checking for $ac_header" >&5
36435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36437 echo $ECHO_N "(cached) $ECHO_C" >&6
36439 eval "$as_ac_Header=\$ac_header_preproc"
36441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36446 cat >>confdefs.h
<<_ACEOF
36447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36455 if test "$ac_cv_header_ole2_h" = "yes" ; then
36456 if test "$GCC" = yes ; then
36460 ac_cpp
='$CXXCPP $CPPFLAGS'
36461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36466 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36467 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36468 cat >conftest.
$ac_ext <<_ACEOF
36471 cat confdefs.h
>>conftest.
$ac_ext
36472 cat >>conftest.
$ac_ext <<_ACEOF
36473 /* end confdefs.h. */
36474 #include <windows.h>
36484 rm -f conftest.
$ac_objext
36485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36486 (eval $ac_compile) 2>conftest.er1
36488 grep -v '^ *+' conftest.er1
>conftest.err
36490 cat conftest.err
>&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } &&
36493 { ac_try
='test -z "$ac_cxx_werror_flag"
36494 || test ! -s conftest.err'
36495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36496 (eval $ac_try) 2>&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); }; } &&
36500 { ac_try
='test -s conftest.$ac_objext'
36501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36502 (eval $ac_try) 2>&5
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); }; }; then
36506 echo "$as_me:$LINENO: result: no" >&5
36507 echo "${ECHO_T}no" >&6
36509 echo "$as_me: failed program was:" >&5
36510 sed 's/^/| /' conftest.
$ac_ext >&5
36512 echo "$as_me:$LINENO: result: yes" >&5
36513 echo "${ECHO_T}yes" >&6
36514 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36518 ac_cpp
='$CPP $CPPFLAGS'
36519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36523 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36524 if test "$wxUSE_OLE" = "yes" ; then
36525 cat >>confdefs.h
<<\_ACEOF
36526 #define wxUSE_OLE 1
36532 if test "$wxUSE_DATAOBJ" = "yes" ; then
36533 cat >>confdefs.h
<<\_ACEOF
36534 #define wxUSE_DATAOBJ 1
36539 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36540 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36543 wxUSE_DRAG_AND_DROP
=no
36548 if test "$wxUSE_METAFILE" = "yes"; then
36549 cat >>confdefs.h
<<\_ACEOF
36550 #define wxUSE_METAFILE 1
36554 cat >>confdefs.h
<<\_ACEOF
36555 #define wxUSE_ENH_METAFILE 1
36561 if test "$wxUSE_IPC" = "yes"; then
36562 if test "$wxUSE_SOCKETS" != "yes"; then
36563 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36564 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36567 cat >>confdefs.h
<<\_ACEOF
36568 #define wxUSE_IPC 1
36573 if test "$wxUSE_CLIPBOARD" = "yes"; then
36574 if test "$wxUSE_MGL" = 1; then
36575 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36576 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36580 if test "$wxUSE_CLIPBOARD" = "yes"; then
36581 cat >>confdefs.h
<<\_ACEOF
36582 #define wxUSE_CLIPBOARD 1
36586 cat >>confdefs.h
<<\_ACEOF
36587 #define wxUSE_DATAOBJ 1
36593 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36594 if test "$wxUSE_GTK" = 1; then
36595 if test "$WXGTK12" != 1; then
36596 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36597 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36598 wxUSE_DRAG_AND_DROP
=no
36602 if test "$wxUSE_MOTIF" = 1; then
36603 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36604 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36605 wxUSE_DRAG_AND_DROP
=no
36608 if test "$wxUSE_X11" = 1; then
36609 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36610 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36611 wxUSE_DRAG_AND_DROP
=no
36614 if test "$wxUSE_MGL" = 1; then
36615 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36616 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36617 wxUSE_DRAG_AND_DROP
=no
36620 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36621 cat >>confdefs.h
<<\_ACEOF
36622 #define wxUSE_DRAG_AND_DROP 1
36629 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36633 if test "$wxUSE_SPLINES" = "yes" ; then
36634 cat >>confdefs.h
<<\_ACEOF
36635 #define wxUSE_SPLINES 1
36642 if test "$wxUSE_CONTROLS" = "yes"; then
36646 if test "$wxUSE_ACCEL" = "yes"; then
36647 cat >>confdefs.h
<<\_ACEOF
36648 #define wxUSE_ACCEL 1
36654 if test "$wxUSE_BUTTON" = "yes"; then
36655 cat >>confdefs.h
<<\_ACEOF
36656 #define wxUSE_BUTTON 1
36662 if test "$wxUSE_BMPBUTTON" = "yes"; then
36663 cat >>confdefs.h
<<\_ACEOF
36664 #define wxUSE_BMPBUTTON 1
36670 if test "$wxUSE_CALCTRL" = "yes"; then
36671 cat >>confdefs.h
<<\_ACEOF
36672 #define wxUSE_CALENDARCTRL 1
36676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36679 if test "$wxUSE_CARET" = "yes"; then
36680 cat >>confdefs.h
<<\_ACEOF
36681 #define wxUSE_CARET 1
36685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36688 if test "$wxUSE_COMBOBOX" = "yes"; then
36689 cat >>confdefs.h
<<\_ACEOF
36690 #define wxUSE_COMBOBOX 1
36696 if test "$wxUSE_CHOICE" = "yes"; then
36697 cat >>confdefs.h
<<\_ACEOF
36698 #define wxUSE_CHOICE 1
36704 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36705 cat >>confdefs.h
<<\_ACEOF
36706 #define wxUSE_CHOICEBOOK 1
36712 if test "$wxUSE_CHECKBOX" = "yes"; then
36713 cat >>confdefs.h
<<\_ACEOF
36714 #define wxUSE_CHECKBOX 1
36720 if test "$wxUSE_CHECKLST" = "yes"; then
36721 cat >>confdefs.h
<<\_ACEOF
36722 #define wxUSE_CHECKLISTBOX 1
36726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
36729 if test "$wxUSE_DISPLAY" = "yes"; then
36730 cat >>confdefs.h
<<\_ACEOF
36731 #define wxUSE_DISPLAY 1
36734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36737 if test "$wxUSE_GAUGE" = "yes"; then
36738 cat >>confdefs.h
<<\_ACEOF
36739 #define wxUSE_GAUGE 1
36745 if test "$wxUSE_GRID" = "yes"; then
36746 cat >>confdefs.h
<<\_ACEOF
36747 #define wxUSE_GRID 1
36751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36754 if test "$wxUSE_IMAGLIST" = "yes"; then
36755 cat >>confdefs.h
<<\_ACEOF
36756 #define wxUSE_IMAGLIST 1
36761 if test "$wxUSE_LISTBOOK" = "yes"; then
36762 cat >>confdefs.h
<<\_ACEOF
36763 #define wxUSE_LISTBOOK 1
36769 if test "$wxUSE_LISTBOX" = "yes"; then
36770 cat >>confdefs.h
<<\_ACEOF
36771 #define wxUSE_LISTBOX 1
36777 if test "$wxUSE_LISTCTRL" = "yes"; then
36778 if test "$wxUSE_IMAGLIST" = "yes"; then
36779 cat >>confdefs.h
<<\_ACEOF
36780 #define wxUSE_LISTCTRL 1
36784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36786 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36787 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36791 if test "$wxUSE_NOTEBOOK" = "yes"; then
36792 cat >>confdefs.h
<<\_ACEOF
36793 #define wxUSE_NOTEBOOK 1
36797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36801 if test "$wxUSE_RADIOBOX" = "yes"; then
36802 cat >>confdefs.h
<<\_ACEOF
36803 #define wxUSE_RADIOBOX 1
36809 if test "$wxUSE_RADIOBTN" = "yes"; then
36810 cat >>confdefs.h
<<\_ACEOF
36811 #define wxUSE_RADIOBTN 1
36817 if test "$wxUSE_SASH" = "yes"; then
36818 cat >>confdefs.h
<<\_ACEOF
36819 #define wxUSE_SASH 1
36822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36825 if test "$wxUSE_SCROLLBAR" = "yes"; then
36826 cat >>confdefs.h
<<\_ACEOF
36827 #define wxUSE_SCROLLBAR 1
36831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
36834 if test "$wxUSE_SLIDER" = "yes"; then
36835 cat >>confdefs.h
<<\_ACEOF
36836 #define wxUSE_SLIDER 1
36842 if test "$wxUSE_SPINBTN" = "yes"; then
36843 cat >>confdefs.h
<<\_ACEOF
36844 #define wxUSE_SPINBTN 1
36850 if test "$wxUSE_SPINCTRL" = "yes"; then
36851 cat >>confdefs.h
<<\_ACEOF
36852 #define wxUSE_SPINCTRL 1
36858 if test "$wxUSE_SPLITTER" = "yes"; then
36859 cat >>confdefs.h
<<\_ACEOF
36860 #define wxUSE_SPLITTER 1
36863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36866 if test "$wxUSE_STATBMP" = "yes"; then
36867 cat >>confdefs.h
<<\_ACEOF
36868 #define wxUSE_STATBMP 1
36874 if test "$wxUSE_STATBOX" = "yes"; then
36875 cat >>confdefs.h
<<\_ACEOF
36876 #define wxUSE_STATBOX 1
36882 if test "$wxUSE_STATTEXT" = "yes"; then
36883 cat >>confdefs.h
<<\_ACEOF
36884 #define wxUSE_STATTEXT 1
36890 if test "$wxUSE_STATLINE" = "yes"; then
36891 cat >>confdefs.h
<<\_ACEOF
36892 #define wxUSE_STATLINE 1
36898 if test "$wxUSE_STATUSBAR" = "yes"; then
36899 cat >>confdefs.h
<<\_ACEOF
36900 #define wxUSE_STATUSBAR 1
36905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36908 if test "$wxUSE_TABDIALOG" = "yes"; then
36909 cat >>confdefs.h
<<\_ACEOF
36910 #define wxUSE_TAB_DIALOG 1
36913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
36916 if test "$wxUSE_TEXTCTRL" = "yes"; then
36917 cat >>confdefs.h
<<\_ACEOF
36918 #define wxUSE_TEXTCTRL 1
36922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36925 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36926 if test "$wxUSE_COCOA" = 1 ; then
36927 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36928 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36931 if test "$wxUSE_PM" = 1; then
36932 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
36933 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
36937 if test "$wxUSE_UNIVERSAL" = "yes"; then
36938 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36939 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36943 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36944 cat >>confdefs.h
<<\_ACEOF
36945 #define wxUSE_TOGGLEBTN 1
36952 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36953 cat >>confdefs.h
<<\_ACEOF
36954 #define wxUSE_TOOLBAR_SIMPLE 1
36957 wxUSE_TOOLBAR
="yes"
36961 if test "$wxUSE_TOOLBAR" = "yes"; then
36962 cat >>confdefs.h
<<\_ACEOF
36963 #define wxUSE_TOOLBAR 1
36968 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36969 wxUSE_TOOLBAR_NATIVE
="yes"
36972 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36973 cat >>confdefs.h
<<\_ACEOF
36974 #define wxUSE_TOOLBAR_NATIVE 1
36980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36983 if test "$wxUSE_TOOLTIPS" = "yes"; then
36984 if test "$wxUSE_MOTIF" = 1; then
36985 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36986 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36988 if test "$wxUSE_UNIVERSAL" = "yes"; then
36989 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36990 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36992 cat >>confdefs.h
<<\_ACEOF
36993 #define wxUSE_TOOLTIPS 1
37000 if test "$wxUSE_TREECTRL" = "yes"; then
37001 if test "$wxUSE_IMAGLIST" = "yes"; then
37002 cat >>confdefs.h
<<\_ACEOF
37003 #define wxUSE_TREECTRL 1
37007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
37009 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37010 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37014 if test "$wxUSE_POPUPWIN" = "yes"; then
37015 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37016 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37017 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37019 if test "$wxUSE_PM" = 1; then
37020 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37021 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37023 cat >>confdefs.h
<<\_ACEOF
37024 #define wxUSE_POPUPWIN 1
37033 if test "$wxUSE_TIPWINDOW" = "yes"; then
37034 if test "$wxUSE_PM" = 1; then
37035 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37036 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37038 cat >>confdefs.h
<<\_ACEOF
37039 #define wxUSE_TIPWINDOW 1
37045 if test "$USES_CONTROLS" = 1; then
37046 cat >>confdefs.h
<<\_ACEOF
37047 #define wxUSE_CONTROLS 1
37053 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37054 cat >>confdefs.h
<<\_ACEOF
37055 #define wxUSE_ACCESSIBILITY 1
37058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
37061 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37062 cat >>confdefs.h
<<\_ACEOF
37063 #define wxUSE_DRAGIMAGE 1
37066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
37069 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37070 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37071 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37072 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37074 cat >>confdefs.h
<<\_ACEOF
37075 #define wxUSE_EXCEPTIONS 1
37078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
37083 if test "$wxUSE_HTML" = "yes"; then
37084 cat >>confdefs.h
<<\_ACEOF
37085 #define wxUSE_HTML 1
37089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37090 if test "$wxUSE_MAC" = 1; then
37091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
37094 if test "$wxUSE_WEBKIT" = "yes"; then
37095 if test "$wxUSE_MAC" = 1; then
37096 old_CPPFLAGS
="$CPPFLAGS"
37097 CPPFLAGS
="$CPPFLAGS -x objective-c++"
37098 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37099 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37100 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37103 cat >conftest.
$ac_ext <<_ACEOF
37106 cat confdefs.h
>>conftest.
$ac_ext
37107 cat >>conftest.
$ac_ext <<_ACEOF
37108 /* end confdefs.h. */
37109 #include <Carbon/Carbon.h>
37111 #include <WebKit/HIWebView.h>
37113 rm -f conftest.
$ac_objext
37114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37115 (eval $ac_compile) 2>conftest.er1
37117 grep -v '^ *+' conftest.er1
>conftest.err
37119 cat conftest.err
>&5
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); } &&
37122 { ac_try
='test -z "$ac_c_werror_flag"
37123 || test ! -s conftest.err'
37124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37125 (eval $ac_try) 2>&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); }; } &&
37129 { ac_try
='test -s conftest.$ac_objext'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; }; then
37135 ac_cv_header_WebKit_HIWebView_h
=yes
37137 echo "$as_me: failed program was:" >&5
37138 sed 's/^/| /' conftest.
$ac_ext >&5
37140 ac_cv_header_WebKit_HIWebView_h
=no
37142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37144 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37145 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37146 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37148 cat >>confdefs.h
<<\_ACEOF
37149 #define wxUSE_WEBKIT 1
37152 WEBKIT_LINK
="-framework WebKit"
37156 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37157 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37163 CPPFLAGS
="$old_CPPFLAGS"
37164 elif test "$wxUSE_COCOA" = 1; then
37165 cat >>confdefs.h
<<\_ACEOF
37166 #define wxUSE_WEBKIT 1
37175 if test "$wxUSE_XRC" = "yes"; then
37176 if test "$wxUSE_XML" != "yes"; then
37177 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37178 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37181 cat >>confdefs.h
<<\_ACEOF
37182 #define wxUSE_XRC 1
37186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
37190 if test "$wxUSE_MENUS" = "yes"; then
37191 cat >>confdefs.h
<<\_ACEOF
37192 #define wxUSE_MENUS 1
37195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
37198 if test "$wxUSE_METAFILE" = "yes"; then
37199 cat >>confdefs.h
<<\_ACEOF
37200 #define wxUSE_METAFILE 1
37205 if test "$wxUSE_MIMETYPE" = "yes"; then
37206 cat >>confdefs.h
<<\_ACEOF
37207 #define wxUSE_MIMETYPE 1
37212 if test "$wxUSE_MINIFRAME" = "yes"; then
37213 cat >>confdefs.h
<<\_ACEOF
37214 #define wxUSE_MINIFRAME 1
37217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
37220 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37221 cat >>confdefs.h
<<\_ACEOF
37222 #define wxUSE_SYSTEM_OPTIONS 1
37225 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37226 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
37232 if test "$wxUSE_VALIDATORS" = "yes"; then
37233 cat >>confdefs.h
<<\_ACEOF
37234 #define wxUSE_VALIDATORS 1
37237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
37240 if test "$wxUSE_PALETTE" = "yes" ; then
37241 cat >>confdefs.h
<<\_ACEOF
37242 #define wxUSE_PALETTE 1
37247 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37248 LIBS
=" -lunicows $LIBS"
37252 if test "$wxUSE_IMAGE" = "yes" ; then
37253 cat >>confdefs.h
<<\_ACEOF
37254 #define wxUSE_IMAGE 1
37258 if test "$wxUSE_GIF" = "yes" ; then
37259 cat >>confdefs.h
<<\_ACEOF
37260 #define wxUSE_GIF 1
37265 if test "$wxUSE_PCX" = "yes" ; then
37266 cat >>confdefs.h
<<\_ACEOF
37267 #define wxUSE_PCX 1
37272 if test "$wxUSE_IFF" = "yes" ; then
37273 cat >>confdefs.h
<<\_ACEOF
37274 #define wxUSE_IFF 1
37279 if test "$wxUSE_PNM" = "yes" ; then
37280 cat >>confdefs.h
<<\_ACEOF
37281 #define wxUSE_PNM 1
37286 if test "$wxUSE_XPM" = "yes" ; then
37287 cat >>confdefs.h
<<\_ACEOF
37288 #define wxUSE_XPM 1
37293 if test "$wxUSE_ICO_CUR" = "yes" ; then
37294 cat >>confdefs.h
<<\_ACEOF
37295 #define wxUSE_ICO_CUR 1
37302 if test "$wxUSE_CHOICEDLG" = "yes"; then
37303 cat >>confdefs.h
<<\_ACEOF
37304 #define wxUSE_CHOICEDLG 1
37309 if test "$wxUSE_COLOURDLG" = "yes"; then
37310 cat >>confdefs.h
<<\_ACEOF
37311 #define wxUSE_COLOURDLG 1
37316 if test "$wxUSE_FILEDLG" = "yes"; then
37317 cat >>confdefs.h
<<\_ACEOF
37318 #define wxUSE_FILEDLG 1
37323 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37324 cat >>confdefs.h
<<\_ACEOF
37325 #define wxUSE_FINDREPLDLG 1
37330 if test "$wxUSE_FONTDLG" = "yes"; then
37331 cat >>confdefs.h
<<\_ACEOF
37332 #define wxUSE_FONTDLG 1
37337 if test "$wxUSE_DIRDLG" = "yes"; then
37338 if test "$wxUSE_TREECTRL" != "yes"; then
37339 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37340 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37342 cat >>confdefs.h
<<\_ACEOF
37343 #define wxUSE_DIRDLG 1
37349 if test "$wxUSE_MSGDLG" = "yes"; then
37350 cat >>confdefs.h
<<\_ACEOF
37351 #define wxUSE_MSGDLG 1
37356 if test "$wxUSE_NUMBERDLG" = "yes"; then
37357 cat >>confdefs.h
<<\_ACEOF
37358 #define wxUSE_NUMBERDLG 1
37363 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37364 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37365 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37366 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37368 cat >>confdefs.h
<<\_ACEOF
37369 #define wxUSE_PROGRESSDLG 1
37375 if test "$wxUSE_SPLASH" = "yes"; then
37376 cat >>confdefs.h
<<\_ACEOF
37377 #define wxUSE_SPLASH 1
37380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37383 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37384 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37385 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37386 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37388 cat >>confdefs.h
<<\_ACEOF
37389 #define wxUSE_STARTUP_TIPS 1
37395 if test "$wxUSE_TEXTDLG" = "yes"; then
37396 cat >>confdefs.h
<<\_ACEOF
37397 #define wxUSE_TEXTDLG 1
37402 if test "$wxUSE_WIZARDDLG" = "yes"; then
37403 cat >>confdefs.h
<<\_ACEOF
37404 #define wxUSE_WIZARDDLG 1
37407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37411 if test "$cross_compiling" = "yes"; then
37414 OSINFO
=`uname -s -r -m`
37415 OSINFO
="\"$OSINFO\""
37418 cat >>confdefs.h
<<_ACEOF
37419 #define WXWIN_OS_DESCRIPTION $OSINFO
37424 if test "x$prefix" != "xNONE"; then
37427 wxPREFIX
=$ac_default_prefix
37430 cat >>confdefs.h
<<_ACEOF
37431 #define wxINSTALL_PREFIX "$wxPREFIX"
37437 CORE_BASE_LIBS
="net base"
37438 CORE_GUI_LIBS
="adv core"
37440 if test "$wxUSE_XML" = "yes" ; then
37441 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
37443 if test "$wxUSE_ODBC" != "no" ; then
37444 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
37445 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
37447 if test "$wxUSE_HTML" = "yes" ; then
37448 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
37450 if test "$wxUSE_XRC" = "yes" ; then
37451 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
37454 if test "$wxUSE_GUI" != "yes"; then
37465 if test "$wxUSE_MAC" = 1 ; then
37466 if test "$wxUSE_SOUND" = "yes"; then
37467 LDFLAGS
="$LDFLAGS -framework QuickTime"
37469 if test "$USE_DARWIN" = 1; then
37470 LDFLAGS
="$LDFLAGS -framework IOKit"
37472 LDFLAGS
="$LDFLAGS -framework Carbon -framework Cocoa -framework System"
37474 if test "$wxUSE_COCOA" = 1 ; then
37475 LDFLAGS
="$LDFLAGS -framework Cocoa"
37479 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37486 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37487 echo "$as_me:$LINENO: checking for $ac_func" >&5
37488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37489 if eval "test \"\${$as_ac_var+set}\" = set"; then
37490 echo $ECHO_N "(cached) $ECHO_C" >&6
37492 cat >conftest.
$ac_ext <<_ACEOF
37495 cat confdefs.h
>>conftest.
$ac_ext
37496 cat >>conftest.
$ac_ext <<_ACEOF
37497 /* end confdefs.h. */
37498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37500 #define $ac_func innocuous_$ac_func
37502 /* System header to define __stub macros and hopefully few prototypes,
37503 which can conflict with char $ac_func (); below.
37504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37505 <limits.h> exists even on freestanding compilers. */
37508 # include <limits.h>
37510 # include <assert.h>
37515 /* Override any gcc2 internal prototype to avoid an error. */
37520 /* We use char because int might match the return type of a gcc2
37521 builtin and then its argument prototype would still apply. */
37523 /* The GNU C library defines this for functions which it implements
37524 to always fail with ENOSYS. Some functions are actually named
37525 something starting with __ and the normal name is an alias. */
37526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37529 char (*f) () = $ac_func;
37538 return f != $ac_func;
37543 rm -f conftest.
$ac_objext conftest
$ac_exeext
37544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37545 (eval $ac_link) 2>conftest.er1
37547 grep -v '^ *+' conftest.er1
>conftest.err
37549 cat conftest.err
>&5
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); } &&
37552 { ac_try
='test -z "$ac_c_werror_flag"
37553 || test ! -s conftest.err'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; } &&
37559 { ac_try
='test -s conftest$ac_exeext'
37560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37561 (eval $ac_try) 2>&5
37563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37564 (exit $ac_status); }; }; then
37565 eval "$as_ac_var=yes"
37567 echo "$as_me: failed program was:" >&5
37568 sed 's/^/| /' conftest.
$ac_ext >&5
37570 eval "$as_ac_var=no"
37572 rm -f conftest.err conftest.
$ac_objext \
37573 conftest
$ac_exeext conftest.
$ac_ext
37575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37577 if test `eval echo '${'$as_ac_var'}'` = yes; then
37578 cat >>confdefs.h
<<_ACEOF
37579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37586 for ac_func
in floor
37588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37589 echo "$as_me:$LINENO: checking for $ac_func" >&5
37590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37591 if eval "test \"\${$as_ac_var+set}\" = set"; then
37592 echo $ECHO_N "(cached) $ECHO_C" >&6
37594 cat >conftest.
$ac_ext <<_ACEOF
37597 cat confdefs.h
>>conftest.
$ac_ext
37598 cat >>conftest.
$ac_ext <<_ACEOF
37599 /* end confdefs.h. */
37600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37602 #define $ac_func innocuous_$ac_func
37604 /* System header to define __stub macros and hopefully few prototypes,
37605 which can conflict with char $ac_func (); below.
37606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37607 <limits.h> exists even on freestanding compilers. */
37610 # include <limits.h>
37612 # include <assert.h>
37617 /* Override any gcc2 internal prototype to avoid an error. */
37622 /* We use char because int might match the return type of a gcc2
37623 builtin and then its argument prototype would still apply. */
37625 /* The GNU C library defines this for functions which it implements
37626 to always fail with ENOSYS. Some functions are actually named
37627 something starting with __ and the normal name is an alias. */
37628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37631 char (*f) () = $ac_func;
37640 return f != $ac_func;
37645 rm -f conftest.
$ac_objext conftest
$ac_exeext
37646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37647 (eval $ac_link) 2>conftest.er1
37649 grep -v '^ *+' conftest.er1
>conftest.err
37651 cat conftest.err
>&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } &&
37654 { ac_try
='test -z "$ac_c_werror_flag"
37655 || test ! -s conftest.err'
37656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37657 (eval $ac_try) 2>&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); }; } &&
37661 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
37667 eval "$as_ac_var=yes"
37669 echo "$as_me: failed program was:" >&5
37670 sed 's/^/| /' conftest.
$ac_ext >&5
37672 eval "$as_ac_var=no"
37674 rm -f conftest.err conftest.
$ac_objext \
37675 conftest
$ac_exeext conftest.
$ac_ext
37677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37679 if test `eval echo '${'$as_ac_var'}'` = yes; then
37680 cat >>confdefs.h
<<_ACEOF
37681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37687 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37688 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37689 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37690 echo "$as_me:$LINENO: result: yes" >&5
37691 echo "${ECHO_T}yes" >&6
37693 echo "$as_me:$LINENO: result: no" >&5
37694 echo "${ECHO_T}no" >&6
37696 # use different functions to avoid configure caching
37702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37703 echo "$as_me:$LINENO: checking for $ac_func" >&5
37704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37705 if eval "test \"\${$as_ac_var+set}\" = set"; then
37706 echo $ECHO_N "(cached) $ECHO_C" >&6
37708 cat >conftest.
$ac_ext <<_ACEOF
37711 cat confdefs.h
>>conftest.
$ac_ext
37712 cat >>conftest.
$ac_ext <<_ACEOF
37713 /* end confdefs.h. */
37714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37716 #define $ac_func innocuous_$ac_func
37718 /* System header to define __stub macros and hopefully few prototypes,
37719 which can conflict with char $ac_func (); below.
37720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37721 <limits.h> exists even on freestanding compilers. */
37724 # include <limits.h>
37726 # include <assert.h>
37731 /* Override any gcc2 internal prototype to avoid an error. */
37736 /* We use char because int might match the return type of a gcc2
37737 builtin and then its argument prototype would still apply. */
37739 /* The GNU C library defines this for functions which it implements
37740 to always fail with ENOSYS. Some functions are actually named
37741 something starting with __ and the normal name is an alias. */
37742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37745 char (*f) () = $ac_func;
37754 return f != $ac_func;
37759 rm -f conftest.
$ac_objext conftest
$ac_exeext
37760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37761 (eval $ac_link) 2>conftest.er1
37763 grep -v '^ *+' conftest.er1
>conftest.err
37765 cat conftest.err
>&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); } &&
37768 { ac_try
='test -z "$ac_c_werror_flag"
37769 || test ! -s conftest.err'
37770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37771 (eval $ac_try) 2>&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); }; } &&
37775 { ac_try
='test -s conftest$ac_exeext'
37776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37777 (eval $ac_try) 2>&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); }; }; then
37781 eval "$as_ac_var=yes"
37783 echo "$as_me: failed program was:" >&5
37784 sed 's/^/| /' conftest.
$ac_ext >&5
37786 eval "$as_ac_var=no"
37788 rm -f conftest.err conftest.
$ac_objext \
37789 conftest
$ac_exeext conftest.
$ac_ext
37791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37793 if test `eval echo '${'$as_ac_var'}'` = yes; then
37794 cat >>confdefs.h
<<_ACEOF
37795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37802 for ac_func
in ceil
37804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37805 echo "$as_me:$LINENO: checking for $ac_func" >&5
37806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37807 if eval "test \"\${$as_ac_var+set}\" = set"; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37810 cat >conftest.
$ac_ext <<_ACEOF
37813 cat confdefs.h
>>conftest.
$ac_ext
37814 cat >>conftest.
$ac_ext <<_ACEOF
37815 /* end confdefs.h. */
37816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37818 #define $ac_func innocuous_$ac_func
37820 /* System header to define __stub macros and hopefully few prototypes,
37821 which can conflict with char $ac_func (); below.
37822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37823 <limits.h> exists even on freestanding compilers. */
37826 # include <limits.h>
37828 # include <assert.h>
37833 /* Override any gcc2 internal prototype to avoid an error. */
37838 /* We use char because int might match the return type of a gcc2
37839 builtin and then its argument prototype would still apply. */
37841 /* The GNU C library defines this for functions which it implements
37842 to always fail with ENOSYS. Some functions are actually named
37843 something starting with __ and the normal name is an alias. */
37844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37847 char (*f) () = $ac_func;
37856 return f != $ac_func;
37861 rm -f conftest.
$ac_objext conftest
$ac_exeext
37862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37863 (eval $ac_link) 2>conftest.er1
37865 grep -v '^ *+' conftest.er1
>conftest.err
37867 cat conftest.err
>&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } &&
37870 { ac_try
='test -z "$ac_c_werror_flag"
37871 || test ! -s conftest.err'
37872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37873 (eval $ac_try) 2>&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); }; } &&
37877 { ac_try
='test -s conftest$ac_exeext'
37878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37879 (eval $ac_try) 2>&5
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); }; }; then
37883 eval "$as_ac_var=yes"
37885 echo "$as_me: failed program was:" >&5
37886 sed 's/^/| /' conftest.
$ac_ext >&5
37888 eval "$as_ac_var=no"
37890 rm -f conftest.err conftest.
$ac_objext \
37891 conftest
$ac_exeext conftest.
$ac_ext
37893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37895 if test `eval echo '${'$as_ac_var'}'` = yes; then
37896 cat >>confdefs.h
<<_ACEOF
37897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37903 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37904 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37905 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37906 echo "$as_me:$LINENO: result: yes" >&5
37907 echo "${ECHO_T}yes" >&6
37909 echo "$as_me:$LINENO: result: no" >&5
37910 echo "${ECHO_T}no" >&6
37911 # not sure we should warn the user, crash, etc.
37915 if test "$wxUSE_GUI" = "yes"; then
37918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
37919 drawing dynamic erase event exec font image \
37920 minimal propsize rotate shaped widgets render"
37922 if test "$wxUSE_MONOLITHIC" != "yes"; then
37923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37926 SAMPLES_SUBDIRS
="console"
37930 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
37931 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37933 if test "$GXX" = yes ; then
37934 CXXWARNINGS
="-Wall"
37937 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37939 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
37940 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
37941 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
37945 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37946 EXTRALIBS_XML
="$EXPAT_LINK"
37947 EXTRALIBS_HTML
="$MSPACK_LINK"
37948 EXTRALIBS_ODBC
="$ODBC_LINK"
37949 if test "$wxUSE_GUI" = "yes"; then
37950 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37952 if test "$wxUSE_OPENGL" = "yes"; then
37953 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37956 LDFLAGS
="$LDFLAGS $PROFILE"
37958 if test "$wxUSE_GTK" = 1; then
37961 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
37964 WXCONFIG_EXTRALIBS
="$LIBS"
37966 if test "$wxUSE_REGEX" = "builtin" ; then
37967 wxconfig_3rdparty
="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37969 if test "$wxUSE_EXPAT" = "builtin" ; then
37970 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
37972 if test "$wxUSE_ODBC" = "builtin" ; then
37973 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37975 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37976 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
37978 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37979 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
37981 if test "$wxUSE_LIBPNG" = "builtin" ; then
37982 wxconfig_3rdparty
="$wxconfig_3rdparty png"
37984 if test "$wxUSE_ZLIB" = "builtin" ; then
37985 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
37987 if test "$wxUSE_ODBC" = "builtin" ; then
37988 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
37991 for i
in $wxconfig_3rdparty ; do
37992 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37996 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38010 if test $wxUSE_MONOLITHIC = "yes" ; then
38016 if test $wxUSE_PLUGINS = "yes" ; then
38022 if test $wxUSE_ODBC != "no" ; then
38028 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38055 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38066 TOOLKIT_USER
="GTK+"
38067 if test "$WXGTK20" = 1; then
38068 TOOLKIT_USER
="$TOOLKIT_USER 2"
38073 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
38078 if test "x$BAKEFILE_HOST" = "x"; then
38079 BAKEFILE_HOST
="${host}"
38082 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38084 if test -n "$ac_tool_prefix"; then
38085 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38086 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38087 echo "$as_me:$LINENO: checking for $ac_word" >&5
38088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38089 if test "${ac_cv_prog_RANLIB+set}" = set; then
38090 echo $ECHO_N "(cached) $ECHO_C" >&6
38092 if test -n "$RANLIB"; then
38093 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38096 for as_dir
in $PATH
38099 test -z "$as_dir" && as_dir
=.
38100 for ac_exec_ext
in '' $ac_executable_extensions; do
38101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38102 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38111 RANLIB
=$ac_cv_prog_RANLIB
38112 if test -n "$RANLIB"; then
38113 echo "$as_me:$LINENO: result: $RANLIB" >&5
38114 echo "${ECHO_T}$RANLIB" >&6
38116 echo "$as_me:$LINENO: result: no" >&5
38117 echo "${ECHO_T}no" >&6
38121 if test -z "$ac_cv_prog_RANLIB"; then
38122 ac_ct_RANLIB
=$RANLIB
38123 # Extract the first word of "ranlib", so it can be a program name with args.
38124 set dummy ranlib
; ac_word
=$2
38125 echo "$as_me:$LINENO: checking for $ac_word" >&5
38126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38127 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38128 echo $ECHO_N "(cached) $ECHO_C" >&6
38130 if test -n "$ac_ct_RANLIB"; then
38131 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38134 for as_dir
in $PATH
38137 test -z "$as_dir" && as_dir
=.
38138 for ac_exec_ext
in '' $ac_executable_extensions; do
38139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38140 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38147 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
38150 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38151 if test -n "$ac_ct_RANLIB"; then
38152 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38153 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38155 echo "$as_me:$LINENO: result: no" >&5
38156 echo "${ECHO_T}no" >&6
38159 RANLIB
=$ac_ct_RANLIB
38161 RANLIB
="$ac_cv_prog_RANLIB"
38164 # Find a good install program. We prefer a C program (faster),
38165 # so one script is as good as another. But avoid the broken or
38166 # incompatible versions:
38167 # SysV /etc/install, /usr/sbin/install
38168 # SunOS /usr/etc/install
38169 # IRIX /sbin/install
38171 # AmigaOS /C/install, which installs bootblocks on floppy discs
38172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38175 # OS/2's system install, which has a completely different semantic
38176 # ./install, which can be erroneously created by make from ./install.sh.
38177 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38178 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38179 if test -z "$INSTALL"; then
38180 if test "${ac_cv_path_install+set}" = set; then
38181 echo $ECHO_N "(cached) $ECHO_C" >&6
38183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38184 for as_dir
in $PATH
38187 test -z "$as_dir" && as_dir
=.
38188 # Account for people who put trailing slashes in PATH elements.
38190 .
/ | .
// | /cC
/* | \
38191 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38192 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
38195 # OSF1 and SCO ODT 3.0 have their own names for install.
38196 # Don't use installbsd from OSF since it installs stuff as root
38198 for ac_prog
in ginstall scoinst
install; do
38199 for ac_exec_ext
in '' $ac_executable_extensions; do
38200 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38201 if test $ac_prog = install &&
38202 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38203 # AIX install. It has an incompatible calling convention.
38205 elif test $ac_prog = install &&
38206 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38207 # program-specific install script used by HP pwplus--don't use.
38210 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38222 if test "${ac_cv_path_install+set}" = set; then
38223 INSTALL
=$ac_cv_path_install
38225 # As a last resort, use the slow shell script. We don't cache a
38226 # path for INSTALL within a source directory, because that will
38227 # break other packages using the cache if that directory is
38228 # removed, or if the path is relative.
38229 INSTALL
=$ac_install_sh
38232 echo "$as_me:$LINENO: result: $INSTALL" >&5
38233 echo "${ECHO_T}$INSTALL" >&6
38235 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38236 # It thinks the first close brace ends the variable substitution.
38237 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38239 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38241 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38243 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38244 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38246 if test "$LN_S" = "ln -s"; then
38247 echo "$as_me:$LINENO: result: yes" >&5
38248 echo "${ECHO_T}yes" >&6
38250 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38251 echo "${ECHO_T}no, using $LN_S" >&6
38255 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38256 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38257 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
38258 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38259 echo $ECHO_N "(cached) $ECHO_C" >&6
38261 cat >conftest.
make <<\_ACEOF
38263 @
echo 'ac_maketemp="$(MAKE)"'
38265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38266 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38267 if test -n "$ac_maketemp"; then
38268 eval ac_cv_prog_make_
${ac_make}_set
=yes
38270 eval ac_cv_prog_make_
${ac_make}_set
=no
38272 rm -f conftest.
make
38274 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38275 echo "$as_me:$LINENO: result: yes" >&5
38276 echo "${ECHO_T}yes" >&6
38279 echo "$as_me:$LINENO: result: no" >&5
38280 echo "${ECHO_T}no" >&6
38281 SET_MAKE
="MAKE=${MAKE-make}"
38286 if test -n "$ac_tool_prefix"; then
38287 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38288 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38289 echo "$as_me:$LINENO: checking for $ac_word" >&5
38290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38291 if test "${ac_cv_prog_AR+set}" = set; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38294 if test -n "$AR"; then
38295 ac_cv_prog_AR
="$AR" # Let the user override the test.
38297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38298 for as_dir
in $PATH
38301 test -z "$as_dir" && as_dir
=.
38302 for ac_exec_ext
in '' $ac_executable_extensions; do
38303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38304 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38314 if test -n "$AR"; then
38315 echo "$as_me:$LINENO: result: $AR" >&5
38316 echo "${ECHO_T}$AR" >&6
38318 echo "$as_me:$LINENO: result: no" >&5
38319 echo "${ECHO_T}no" >&6
38323 if test -z "$ac_cv_prog_AR"; then
38325 # Extract the first word of "ar", so it can be a program name with args.
38326 set dummy
ar; ac_word
=$2
38327 echo "$as_me:$LINENO: checking for $ac_word" >&5
38328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38329 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38330 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 if test -n "$ac_ct_AR"; then
38333 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38336 for as_dir
in $PATH
38339 test -z "$as_dir" && as_dir
=.
38340 for ac_exec_ext
in '' $ac_executable_extensions; do
38341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38342 ac_cv_prog_ac_ct_AR
="ar"
38343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38349 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
38352 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38353 if test -n "$ac_ct_AR"; then
38354 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38355 echo "${ECHO_T}$ac_ct_AR" >&6
38357 echo "$as_me:$LINENO: result: no" >&5
38358 echo "${ECHO_T}no" >&6
38363 AR
="$ac_cv_prog_AR"
38366 if test -n "$ac_tool_prefix"; then
38367 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38368 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38369 echo "$as_me:$LINENO: checking for $ac_word" >&5
38370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38371 if test "${ac_cv_prog_STRIP+set}" = set; then
38372 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 if test -n "$STRIP"; then
38375 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38378 for as_dir
in $PATH
38381 test -z "$as_dir" && as_dir
=.
38382 for ac_exec_ext
in '' $ac_executable_extensions; do
38383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38384 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38393 STRIP
=$ac_cv_prog_STRIP
38394 if test -n "$STRIP"; then
38395 echo "$as_me:$LINENO: result: $STRIP" >&5
38396 echo "${ECHO_T}$STRIP" >&6
38398 echo "$as_me:$LINENO: result: no" >&5
38399 echo "${ECHO_T}no" >&6
38403 if test -z "$ac_cv_prog_STRIP"; then
38405 # Extract the first word of "strip", so it can be a program name with args.
38406 set dummy strip
; ac_word
=$2
38407 echo "$as_me:$LINENO: checking for $ac_word" >&5
38408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38409 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38410 echo $ECHO_N "(cached) $ECHO_C" >&6
38412 if test -n "$ac_ct_STRIP"; then
38413 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38416 for as_dir
in $PATH
38419 test -z "$as_dir" && as_dir
=.
38420 for ac_exec_ext
in '' $ac_executable_extensions; do
38421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38422 ac_cv_prog_ac_ct_STRIP
="strip"
38423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38429 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
38432 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38433 if test -n "$ac_ct_STRIP"; then
38434 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38435 echo "${ECHO_T}$ac_ct_STRIP" >&6
38437 echo "$as_me:$LINENO: result: no" >&5
38438 echo "${ECHO_T}no" >&6
38443 STRIP
="$ac_cv_prog_STRIP"
38446 if test -n "$ac_tool_prefix"; then
38447 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38448 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38449 echo "$as_me:$LINENO: checking for $ac_word" >&5
38450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38451 if test "${ac_cv_prog_NM+set}" = set; then
38452 echo $ECHO_N "(cached) $ECHO_C" >&6
38454 if test -n "$NM"; then
38455 ac_cv_prog_NM
="$NM" # Let the user override the test.
38457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38458 for as_dir
in $PATH
38461 test -z "$as_dir" && as_dir
=.
38462 for ac_exec_ext
in '' $ac_executable_extensions; do
38463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38464 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38474 if test -n "$NM"; then
38475 echo "$as_me:$LINENO: result: $NM" >&5
38476 echo "${ECHO_T}$NM" >&6
38478 echo "$as_me:$LINENO: result: no" >&5
38479 echo "${ECHO_T}no" >&6
38483 if test -z "$ac_cv_prog_NM"; then
38485 # Extract the first word of "nm", so it can be a program name with args.
38486 set dummy nm
; ac_word
=$2
38487 echo "$as_me:$LINENO: checking for $ac_word" >&5
38488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38489 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38490 echo $ECHO_N "(cached) $ECHO_C" >&6
38492 if test -n "$ac_ct_NM"; then
38493 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38496 for as_dir
in $PATH
38499 test -z "$as_dir" && as_dir
=.
38500 for ac_exec_ext
in '' $ac_executable_extensions; do
38501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38502 ac_cv_prog_ac_ct_NM
="nm"
38503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38509 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
38512 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38513 if test -n "$ac_ct_NM"; then
38514 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38515 echo "${ECHO_T}$ac_ct_NM" >&6
38517 echo "$as_me:$LINENO: result: no" >&5
38518 echo "${ECHO_T}no" >&6
38523 NM
="$ac_cv_prog_NM"
38527 case ${BAKEFILE_HOST} in
38529 INSTALL_DIR
="mkdir -p"
38531 *) INSTALL_DIR
="$INSTALL -d"
38537 case ${BAKEFILE_HOST} in
38538 *-*-cygwin* | *-*-mingw32* )
38539 LDFLAGS_GUI
="-mwindows"
38545 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38546 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38547 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38548 echo $ECHO_N "(cached) $ECHO_C" >&6
38551 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38552 egrep -s GNU
> /dev
/null
); then
38553 bakefile_cv_prog_makeisgnu
="yes"
38555 bakefile_cv_prog_makeisgnu
="no"
38559 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38560 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38562 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38577 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38578 case "${BAKEFILE_HOST}" in
38579 *-*-cygwin* | *-*-mingw32* )
38585 *-pc-os2_emx | *-pc-os2-emx )
38588 powerpc
-*-darwin* )
38597 case "$BAKEFILE_FORCE_PLATFORM" in
38615 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38616 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38617 { (exit 1); exit 1; }; }
38630 # Check whether --enable-omf or --disable-omf was given.
38631 if test "${enable_omf+set}" = set; then
38632 enableval
="$enable_omf"
38633 bk_os2_use_omf
="$enableval"
38636 case "${BAKEFILE_HOST}" in
38638 CFLAGS
="$CFLAGS -fno-common"
38639 CXXFLAGS
="$CXXFLAGS -fno-common"
38642 *-pc-os2_emx | *-pc-os2-emx )
38643 if test "x$bk_os2_use_omf" = "xyes" ; then
38646 LDFLAGS
="-Zomf $LDFLAGS"
38647 CFLAGS
="-Zomf $CFLAGS"
38648 CXXFLAGS
="-Zomf $CXXFLAGS"
38658 SO_SUFFIX_MODULE
="so"
38663 DLLPREFIX_MODULE
=""
38666 case "${BAKEFILE_HOST}" in
38669 SO_SUFFIX_MODULE
="sl"
38673 SO_SUFFIX_MODULE
="a"
38675 *-*-cygwin* | *-*-mingw32* )
38677 SO_SUFFIX_MODULE
="dll"
38678 DLLIMP_SUFFIX
="dll.a"
38686 *-pc-os2_emx | *-pc-os2-emx )
38688 SO_SUFFIX_MODULE
="dll"
38689 DLLIMP_SUFFIX
=$OS2_LIBEXT
38693 LIBEXT
=".$OS2_LIBEXT"
38695 powerpc
-*-darwin* )
38697 SO_SUFFIX_MODULE
="bundle"
38701 if test "x$DLLIMP_SUFFIX" = "x" ; then
38702 DLLIMP_SUFFIX
="$SO_SUFFIX"
38715 SHARED_LD_CC
="\$(CC) -shared -o"
38716 SHARED_LD_CXX
="\$(CXX) -shared -o"
38718 if test "x$GCC" = "xyes"; then
38722 case "${BAKEFILE_HOST}" in
38724 if test "x$GCC" = "xyes"; then
38725 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
38726 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
38728 LDFLAGS
="$LDFLAGS -L/usr/lib"
38730 SHARED_LD_CC
="${CC} -b -o"
38731 SHARED_LD_CXX
="${CXX} -b -o"
38737 if test "x$GCC" != "xyes"; then
38738 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38739 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38740 if test "${bakefile_cv_prog_icc+set}" = set; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38744 cat >conftest.
$ac_ext <<_ACEOF
38747 cat confdefs.h
>>conftest.
$ac_ext
38748 cat >>conftest.
$ac_ext <<_ACEOF
38749 /* end confdefs.h. */
38755 #ifndef __INTEL_COMPILER
38763 rm -f conftest.
$ac_objext
38764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38765 (eval $ac_compile) 2>conftest.er1
38767 grep -v '^ *+' conftest.er1
>conftest.err
38769 cat conftest.err
>&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); } &&
38772 { ac_try
='test -z "$ac_c_werror_flag"
38773 || test ! -s conftest.err'
38774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38775 (eval $ac_try) 2>&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); }; } &&
38779 { ac_try
='test -s conftest.$ac_objext'
38780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38781 (eval $ac_try) 2>&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); }; }; then
38785 bakefile_cv_prog_icc
=yes
38787 echo "$as_me: failed program was:" >&5
38788 sed 's/^/| /' conftest.
$ac_ext >&5
38790 bakefile_cv_prog_icc
=no
38793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38796 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38797 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38798 if test "$bakefile_cv_prog_icc" = "yes"; then
38805 if test "x$GCC" != xyes
; then
38806 SHARED_LD_CC
="${CC} -G -o"
38807 SHARED_LD_CXX
="${CXX} -G -o"
38814 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38815 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38816 if test "${wx_cv_gcc31+set}" = set; then
38817 echo $ECHO_N "(cached) $ECHO_C" >&6
38820 cat >conftest.
$ac_ext <<_ACEOF
38823 cat confdefs.h
>>conftest.
$ac_ext
38824 cat >>conftest.
$ac_ext <<_ACEOF
38825 /* end confdefs.h. */
38831 #if (__GNUC__ < 3) || \
38832 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38840 rm -f conftest.
$ac_objext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38842 (eval $ac_compile) 2>conftest.er1
38844 grep -v '^ *+' conftest.er1
>conftest.err
38846 cat conftest.err
>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try
='test -z "$ac_c_werror_flag"
38850 || test ! -s conftest.err'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; } &&
38856 { ac_try
='test -s conftest.$ac_objext'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; }; then
38866 echo "$as_me: failed program was:" >&5
38867 sed 's/^/| /' conftest.
$ac_ext >&5
38874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38877 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38878 echo "${ECHO_T}$wx_cv_gcc31" >&6
38879 if test "$wx_cv_gcc31" = "no"; then
38882 cat <<EOF >shared-ld-sh
38884 #-----------------------------------------------------------------------------
38885 #-- Name: distrib/mac/shared-ld-sh
38886 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38887 #-- Author: Gilles Depeyrot
38888 #-- Copyright: (c) 2002 Gilles Depeyrot
38889 #-- Licence: any use permitted
38890 #-----------------------------------------------------------------------------
38895 linking_flag="-dynamiclib"
38897 while test ${D}# -gt 0; do
38904 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38905 # collect these options and values
38906 args="${D}{args} ${D}1 ${D}2"
38910 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38911 # collect these options
38912 args="${D}{args} ${D}1"
38915 -dynamiclib|-bundle)
38916 linking_flag="${D}1"
38920 echo "shared-ld: unhandled option '${D}1'"
38924 *.o | *.a | *.dylib)
38925 # collect object files
38926 objects="${D}{objects} ${D}1"
38930 echo "shared-ld: unhandled argument '${D}1'"
38939 # Link one module containing all the others
38941 if test ${D}{verbose} = 1; then
38942 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38944 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38946 if test ${D}{status} != 0; then
38951 # Link the shared library from the single module created
38953 if test ${D}{verbose} = 1; then
38954 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38956 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38958 if test ${D}{status} != 0; then
38963 # Remove intermediate module
38965 rm -f master.${D}${D}.o
38970 chmod +x shared
-ld-sh
38972 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38973 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38974 SHARED_LD_CXX
="$SHARED_LD_CC"
38975 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
38977 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38978 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38979 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38980 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38983 PIC_FLAG
="-dynamic -fPIC"
38987 if test "x$GCC" != "xyes"; then
38988 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38989 set dummy makeC
++SharedLib
; ac_word
=$2
38990 echo "$as_me:$LINENO: checking for $ac_word" >&5
38991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38992 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38995 if test -n "$AIX_CXX_LD"; then
38996 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38999 for as_dir
in $PATH
39002 test -z "$as_dir" && as_dir
=.
39003 for ac_exec_ext
in '' $ac_executable_extensions; do
39004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39005 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39012 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39015 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39016 if test -n "$AIX_CXX_LD"; then
39017 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39018 echo "${ECHO_T}$AIX_CXX_LD" >&6
39020 echo "$as_me:$LINENO: result: no" >&5
39021 echo "${ECHO_T}no" >&6
39024 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39025 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39030 SHARED_LD_CC
="${LD} -shared -o"
39031 SHARED_LD_CXX
="${LD} -shared -o"
39035 if test "x$GCC" != "xyes"; then
39040 *-*-cygwin* | *-*-mingw32* )
39044 *-pc-os2_emx | *-pc-os2-emx )
39045 SHARED_LD_CC
="`pwd`/dllar.sh -o"
39046 SHARED_LD_CXX
="`pwd`/dllar.sh -o"
39050 cat <<EOF >dllar.sh
39053 # dllar - a tool to build both a .dll and an .a file
39054 # from a set of object (.o) files for EMX/OS2.
39056 # Written by Andrew Zabolotny, bit@freya.etu.ru
39057 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39059 # This script will accept a set of files on the command line.
39060 # All the public symbols from the .o files will be exported into
39061 # a .DEF file, then linker will be run (through gcc) against them to
39062 # build a shared library consisting of all given .o files. All libraries
39063 # (.a) will be first decompressed into component .o files then act as
39064 # described above. You can optionally give a description (-d "description")
39065 # which will be put into .DLL. To see the list of accepted options (as well
39066 # as command-line format) simply run this program without options. The .DLL
39067 # is built to be imported by name (there is no guarantee that new versions
39068 # of the library you build will have same ordinals for same symbols).
39070 # dllar is free software; you can redistribute it and/or modify
39071 # it under the terms of the GNU General Public License as published by
39072 # the Free Software Foundation; either version 2, or (at your option)
39073 # any later version.
39075 # dllar is distributed in the hope that it will be useful,
39076 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39077 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39078 # GNU General Public License for more details.
39080 # You should have received a copy of the GNU General Public License
39081 # along with dllar; see the file COPYING. If not, write to the Free
39082 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39085 # To successfuly run this program you will need:
39086 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39087 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39089 # (used to build the .dll)
39091 # (used to create .def file from .o files)
39093 # (used to create .a file from .def file)
39094 # - GNU text utilites (cat, sort, uniq)
39095 # used to process emxexp output
39096 # - GNU file utilities (mv, rm)
39098 # - lxlite (optional, see flag below)
39099 # (used for general .dll cleanup)
39106 # basnam, variant of basename, which does _not_ remove the path, _iff_
39107 # second argument (suffix to remove) is given
39111 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39114 echo ${D}1 | sed 's/'${D}2'${D}//'
39117 echo "error in basnam ${D}*"
39123 # Cleanup temporary files and output
39126 for i in ${D}inputFiles ; do
39129 rm -rf \`basnam ${D}i !\`
39136 # Kill result in case of failure as there is just to many stupid make/nmake
39137 # things out there which doesn't do this.
39138 if [] ${D}# -eq 0 []; then
39139 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39143 # Print usage and exit script with rc=1.
39145 echo 'Usage: dllar []-o[[]utput[]] output_file[] []-i[[]mport[]] importlib_name[]'
39146 echo ' []-d[[]escription[]] "dll descrption"[] []-cc "CC"[] []-f[[]lags[]] "CFLAGS"[]'
39147 echo ' []-ord[[]inals[]][] -ex[]clude[] "symbol(s)"'
39148 echo ' []-libf[[]lags[]] "{INIT|TERM}{GLOBAL|INSTANCE}"[] []-nocrt[[]dll[]][] []-nolxl[[]ite[]][]'
39149 echo ' []*.o[] []*.a[]'
39150 echo '*> "output_file" should have no extension.'
39151 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39152 echo ' The import library name is derived from this and is set to "name".a,'
39153 echo ' unless overridden by -import'
39154 echo '*> "importlib_name" should have no extension.'
39155 echo ' If it has the .o, or .a extension, it is automatically removed.'
39156 echo ' This name is used as the import library name and may be longer and'
39157 echo ' more descriptive than the DLL name which has to follow the old '
39158 echo ' 8.3 convention of FAT.'
39159 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39160 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39161 echo ' These flags will be put at the start of GCC command line.'
39162 echo '*> -ord[]inals[] tells dllar to export entries by ordinals. Be careful.'
39163 echo '*> -ex[]clude[] defines symbols which will not be exported. You can define'
39164 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39165 echo ' If the last character of a symbol is "*", all symbols beginning'
39166 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39167 echo '*> -libf[]lags[] can be used to add INITGLOBAL/INITINSTANCE and/or'
39168 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39169 echo '*> -nocrt[]dll[] switch will disable linking the library against emx''s'
39170 echo ' C runtime DLLs.'
39171 echo '*> -nolxl[]ite[] switch will disable running lxlite on the resulting DLL.'
39172 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39173 echo ' unchanged to GCC at the end of command line.'
39174 echo '*> If you create a DLL from a library and you do not specify -o,'
39175 echo ' the basename for DLL and import library will be set to library name,'
39176 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39177 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39178 echo ' library will be renamed into gcc_s.a.'
39181 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39182 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39187 # Execute a command.
39188 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39189 # @Uses Whatever CleanUp() uses.
39195 if [] ${D}rcCmd -ne 0 []; then
39196 echo "command failed, exit code="${D}rcCmd
39210 CFLAGS="-s -Zcrtdll"
39212 EXPORT_BY_ORDINALS=0
39217 case ${D}curDirS in
39221 curDirS=${D}{curDirS}"/"
39224 # Parse commandline
39226 while [] ${D}1 []; do
39229 EXPORT_BY_ORDINALS=1;
39256 exclude_symbols=${D}{exclude_symbols}${D}1" "
39260 library_flags=${D}{library_flags}${D}1" "
39276 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39280 if [] ${D}libsToLink -ne 0 []; then
39281 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39283 for file in ${D}1 ; do
39284 if [] -f ${D}file []; then
39285 inputFiles="${D}{inputFiles} ${D}file"
39289 if [] ${D}found -eq 0 []; then
39290 echo "ERROR: No file(s) found: "${D}1
39297 done # iterate cmdline words
39300 if [] -z "${D}inputFiles" []; then
39301 echo "dllar: no input files"
39305 # Now extract all .o files from .a files
39307 for file in ${D}inputFiles ; do
39318 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39323 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39325 if [] ${D}? -ne 0 []; then
39326 echo "Failed to create subdirectory ./${D}dirname"
39330 # Append '!' to indicate archive
39331 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39332 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39335 for subfile in ${D}dirname/*.o* ; do
39336 if [] -f ${D}subfile []; then
39338 if [] -s ${D}subfile []; then
39339 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39340 newInputFiles="${D}newInputFiles ${D}subfile"
39344 if [] ${D}found -eq 0 []; then
39345 echo "WARNING: there are no files in archive \'${D}file\'"
39349 newInputFiles="${D}{newInputFiles} ${D}file"
39353 inputFiles="${D}newInputFiles"
39355 # Output filename(s).
39357 if [] -z ${D}outFile []; then
39359 set outFile ${D}inputFiles; outFile=${D}2
39362 # If it is an archive, remove the '!' and the '_%' suffixes
39363 case ${D}outFile in
39365 outFile=\`basnam ${D}outFile _%!\`
39370 case ${D}outFile in
39372 outFile=\`basnam ${D}outFile .dll\`
39375 outFile=\`basnam ${D}outFile .DLL\`
39378 outFile=\`basnam ${D}outFile .o\`
39381 outFile=\`basnam ${D}outFile .obj\`
39384 outFile=\`basnam ${D}outFile .a\`
39387 outFile=\`basnam ${D}outFile .lib\`
39392 case ${D}outimpFile in
39394 outimpFile=\`basnam ${D}outimpFile .a\`
39397 outimpFile=\`basnam ${D}outimpFile .lib\`
39402 if [] -z ${D}outimpFile []; then
39403 outimpFile=${D}outFile
39405 defFile="${D}{outFile}.def"
39406 arcFile="${D}{outimpFile}.a"
39407 arcFile2="${D}{outimpFile}.lib"
39408 dllFile="${D}outFile"
39409 # Add suffix to dllFile later, first we need a version to use as
39410 # name in .def file.
39412 if [] ${D}do_backup -ne 0 [] ; then
39413 if [] -f ${D}arcFile [] ; then
39414 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39416 if [] -f ${D}arcFile2 [] ; then
39417 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39421 # Extract public symbols from all the object files.
39422 tmpdefFile=${D}{defFile}_%
39423 rm -f ${D}tmpdefFile
39424 for file in ${D}inputFiles ; do
39429 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39434 # Create the def file.
39436 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39437 dllFile="${D}dllFile.dll"
39438 if [] -n ${D}description []; then
39439 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39441 echo "EXPORTS" >> ${D}defFile
39443 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39444 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39446 # Checks if the export is ok or not.
39447 for word in ${D}exclude_symbols; do
39448 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39449 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39453 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39454 sed "=" < ${D}tmpdefFile | \
39458 s/^\([]0-9[]\+\)\([]^;[]*\)\(;.*\)\?/\2 @\1 NONAME/
39460 ' > ${D}{tmpdefFile}%
39461 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39463 rm -f ${D}{tmpdefFile}%
39465 cat ${D}tmpdefFile >> ${D}defFile
39466 rm -f ${D}tmpdefFile
39468 # Do linking, create implib, and apply lxlite.
39470 for file in ${D}inputFiles ; do
39475 gccCmdl="${D}gccCmdl ${D}file"
39479 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39480 touch "${D}{outFile}.dll"
39482 doCommand "emximp -o ${D}arcFile ${D}defFile"
39483 if [] ${D}flag_USE_LXLITE -ne 0 []; then
39485 if [] ${D}EXPORT_BY_ORDINALS -ne 0 []; then
39488 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39490 doCommand "emxomf -s -l ${D}arcFile"
39500 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39508 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39509 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39510 { (exit 1); exit 1; }; }
39513 if test "x$PIC_FLAG" != "x" ; then
39514 PIC_FLAG
="$PIC_FLAG -DPIC"
39517 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39518 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39520 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39521 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39538 case "${BAKEFILE_HOST}" in
39540 SONAME_FLAG
="-Wl,-soname,"
39568 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39569 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39572 if test "x$GCC" = "xyes"; then
39575 case "${BAKEFILE_HOST}" in
39576 powerpc
-*-darwin* )
39577 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
39580 DEPSFLAG_GCC
="-MMD"
39583 echo "$as_me:$LINENO: result: gcc" >&5
39584 echo "${ECHO_T}gcc" >&6
39586 echo "$as_me:$LINENO: result: none" >&5
39587 echo "${ECHO_T}none" >&6
39590 if test $DEPS_TRACKING = 1 ; then
39596 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39597 # script. It is used to track C/C++ files dependencies in portable way.
39599 # Permission is given to use this file in any way.
39601 DEPSMODE=${DEPSMODE}
39603 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39605 mkdir -p ${D}DEPSDIR
39607 if test ${D}DEPSMODE = gcc ; then
39608 ${D}* ${D}{DEPSFLAG_GCC}
39610 if test ${D}{status} != 0 ; then
39613 # move created file to the location we want it in:
39614 while test ${D}# -gt 0; do
39628 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39629 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39630 if test -f ${D}depfile ; then
39631 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39634 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39635 if test -f ${D}depfile ; then
39636 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39656 case ${BAKEFILE_HOST} in
39657 *-*-cygwin* | *-*-mingw32* )
39658 if test "$build" != "$host" ; then
39659 RESCOMP
=$host_alias-windres
39661 # Extract the first word of "windres", so it can be a program name with args.
39662 set dummy windres
; ac_word
=$2
39663 echo "$as_me:$LINENO: checking for $ac_word" >&5
39664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39665 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39666 echo $ECHO_N "(cached) $ECHO_C" >&6
39668 if test -n "$RESCOMP"; then
39669 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39672 for as_dir
in $PATH
39675 test -z "$as_dir" && as_dir
=.
39676 for ac_exec_ext
in '' $ac_executable_extensions; do
39677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39678 ac_cv_prog_RESCOMP
="windres"
39679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39685 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
39688 RESCOMP
=$ac_cv_prog_RESCOMP
39689 if test -n "$RESCOMP"; then
39690 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39691 echo "${ECHO_T}$RESCOMP" >&6
39693 echo "$as_me:$LINENO: result: no" >&5
39694 echo "${ECHO_T}no" >&6
39701 # Extract the first word of "Rez", so it can be a program name with args.
39702 set dummy Rez
; ac_word
=$2
39703 echo "$as_me:$LINENO: checking for $ac_word" >&5
39704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39705 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39708 if test -n "$RESCOMP"; then
39709 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
39711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39712 for as_dir
in $PATH
39715 test -z "$as_dir" && as_dir
=.
39716 for ac_exec_ext
in '' $ac_executable_extensions; do
39717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39718 ac_cv_prog_RESCOMP
="Rez"
39719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39725 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
39728 RESCOMP
=$ac_cv_prog_RESCOMP
39729 if test -n "$RESCOMP"; then
39730 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39731 echo "${ECHO_T}$RESCOMP" >&6
39733 echo "$as_me:$LINENO: result: no" >&5
39734 echo "${ECHO_T}no" >&6
39737 # Extract the first word of "SetFile", so it can be a program name with args.
39738 set dummy SetFile
; ac_word
=$2
39739 echo "$as_me:$LINENO: checking for $ac_word" >&5
39740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39741 if test "${ac_cv_prog_SETFILE+set}" = set; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39744 if test -n "$SETFILE"; then
39745 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39748 for as_dir
in $PATH
39751 test -z "$as_dir" && as_dir
=.
39752 for ac_exec_ext
in '' $ac_executable_extensions; do
39753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39754 ac_cv_prog_SETFILE
="SetFile"
39755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39761 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39764 SETFILE
=$ac_cv_prog_SETFILE
39765 if test -n "$SETFILE"; then
39766 echo "$as_me:$LINENO: result: $SETFILE" >&5
39767 echo "${ECHO_T}$SETFILE" >&6
39769 echo "$as_me:$LINENO: result: no" >&5
39770 echo "${ECHO_T}no" >&6
39780 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.4"
39786 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.4"
39790 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39791 if test "${enable_precomp_headers+set}" = set; then
39792 enableval
="$enable_precomp_headers"
39793 bk_use_pch
="$enableval"
39798 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39799 if test "x$GCC" = "xyes"; then
39800 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39801 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39802 cat >conftest.
$ac_ext <<_ACEOF
39805 cat confdefs.h
>>conftest.
$ac_ext
39806 cat >>conftest.
$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39813 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39814 #error "no pch support"
39817 #error "no pch support"
39819 #if (__GNUC__ == 3) && \
39820 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39821 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39822 #error "no pch support"
39829 rm -f conftest.
$ac_objext
39830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39831 (eval $ac_compile) 2>conftest.er1
39833 grep -v '^ *+' conftest.er1
>conftest.err
39835 cat conftest.err
>&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } &&
39838 { ac_try
='test -z "$ac_c_werror_flag"
39839 || test ! -s conftest.err'
39840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39841 (eval $ac_try) 2>&5
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); }; } &&
39845 { ac_try
='test -s conftest.$ac_objext'
39846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39847 (eval $ac_try) 2>&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); }; }; then
39852 echo "$as_me:$LINENO: result: yes" >&5
39853 echo "${ECHO_T}yes" >&6
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.
$ac_ext >&5
39861 echo "$as_me:$LINENO: result: no" >&5
39862 echo "${ECHO_T}no" >&6
39865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39866 if test $GCC_PCH = 1 ; then
39867 cat <<EOF >bk-make-pch
39870 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39871 # script. It is used to generated precompiled headers.
39873 # Permission is given to use this file in any way.
39882 while test \${#} -gt 0; do
39885 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39886 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39887 headerfile="\${incdir}/\${header}"
39891 compiler="\${compiler} \${1}"
39895 if test "x\${headerfile}" = "x" ; then
39896 echo "error: can't find header \${header} in include paths" >2
39898 if test -f \${outfile} ; then
39901 mkdir -p \`dirname \${outfile}\`
39903 depsfile=".deps/\`basename \${outfile}\`.d"
39905 # can do this because gcc is >= 3.4:
39906 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39910 chmod +x bk
-make-pch
39921 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39922 if test "${enable_precomp_headers+set}" = set; then
39923 enableval
="$enable_precomp_headers"
39924 bk_use_pch
="$enableval"
39929 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39930 if test "x$GCC" = "xyes"; then
39931 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39932 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39933 cat >conftest.
$ac_ext <<_ACEOF
39936 cat confdefs.h
>>conftest.
$ac_ext
39937 cat >>conftest.
$ac_ext <<_ACEOF
39938 /* end confdefs.h. */
39944 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39945 #error "no pch support"
39948 #error "no pch support"
39950 #if (__GNUC__ == 3) && \
39951 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39952 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39953 #error "no pch support"
39960 rm -f conftest.
$ac_objext
39961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39962 (eval $ac_compile) 2>conftest.er1
39964 grep -v '^ *+' conftest.er1
>conftest.err
39966 cat conftest.err
>&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } &&
39969 { ac_try
='test -z "$ac_c_werror_flag"
39970 || test ! -s conftest.err'
39971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39972 (eval $ac_try) 2>&5
39974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39975 (exit $ac_status); }; } &&
39976 { ac_try
='test -s conftest.$ac_objext'
39977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39978 (eval $ac_try) 2>&5
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); }; }; then
39983 echo "$as_me:$LINENO: result: yes" >&5
39984 echo "${ECHO_T}yes" >&6
39988 echo "$as_me: failed program was:" >&5
39989 sed 's/^/| /' conftest.
$ac_ext >&5
39992 echo "$as_me:$LINENO: result: no" >&5
39993 echo "${ECHO_T}no" >&6
39996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39997 if test $GCC_PCH = 1 ; then
39998 cat <<EOF >bk-make-pch
40001 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40002 # script. It is used to generated precompiled headers.
40004 # Permission is given to use this file in any way.
40013 while test \${#} -gt 0; do
40016 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
40017 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
40018 headerfile="\${incdir}/\${header}"
40022 compiler="\${compiler} \${1}"
40026 if test "x\${headerfile}" = "x" ; then
40027 echo "error: can't find header \${header} in include paths" >2
40029 if test -f \${outfile} ; then
40032 mkdir -p \`dirname \${outfile}\`
40034 depsfile=".deps/\`basename \${outfile}\`.d"
40036 # can do this because gcc is >= 3.4:
40037 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
40041 chmod +x bk
-make-pch
40048 COND_BUILD_DEBUG
="#"
40049 if test "x$BUILD" = "xdebug" ; then
40050 COND_BUILD_DEBUG
=""
40053 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40054 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40055 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40058 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40059 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40060 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40063 COND_BUILD_DEBUG_UNICODE_0
="#"
40064 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40065 COND_BUILD_DEBUG_UNICODE_0
=""
40068 COND_BUILD_DEBUG_UNICODE_1
="#"
40069 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40070 COND_BUILD_DEBUG_UNICODE_1
=""
40073 COND_BUILD_RELEASE
="#"
40074 if test "x$BUILD" = "xrelease" ; then
40075 COND_BUILD_RELEASE
=""
40078 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40079 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40080 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40083 COND_BUILD_RELEASE_UNICODE_0
="#"
40084 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40085 COND_BUILD_RELEASE_UNICODE_0
=""
40088 COND_BUILD_RELEASE_UNICODE_1
="#"
40089 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40090 COND_BUILD_RELEASE_UNICODE_1
=""
40093 COND_DEBUG_FLAG_1
="#"
40094 if test "x$DEBUG_FLAG" = "x1" ; then
40095 COND_DEBUG_FLAG_1
=""
40098 COND_DEBUG_INFO_0
="#"
40099 if test "x$DEBUG_INFO" = "x0" ; then
40100 COND_DEBUG_INFO_0
=""
40103 COND_DEBUG_INFO_1
="#"
40104 if test "x$DEBUG_INFO" = "x1" ; then
40105 COND_DEBUG_INFO_1
=""
40108 COND_DEPS_TRACKING_0
="#"
40109 if test "x$DEPS_TRACKING" = "x0" ; then
40110 COND_DEPS_TRACKING_0
=""
40113 COND_DEPS_TRACKING_1
="#"
40114 if test "x$DEPS_TRACKING" = "x1" ; then
40115 COND_DEPS_TRACKING_1
=""
40119 if test "x$GCC_PCH" = "x1" ; then
40123 COND_MONOLITHIC_0
="#"
40124 if test "x$MONOLITHIC" = "x0" ; then
40125 COND_MONOLITHIC_0
=""
40128 COND_MONOLITHIC_0_SHARED_0
="#"
40129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40130 COND_MONOLITHIC_0_SHARED_0
=""
40133 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40135 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40138 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40140 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40143 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40144 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40145 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40148 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40149 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40150 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40153 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40154 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40155 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40158 COND_MONOLITHIC_0_SHARED_1
="#"
40159 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40160 COND_MONOLITHIC_0_SHARED_1
=""
40163 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40164 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40165 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40168 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40169 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40170 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40173 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40174 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40175 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40178 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40179 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40180 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40183 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40184 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40185 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40188 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40189 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40190 COND_MONOLITHIC_0_USE_ODBC_1
=""
40193 COND_MONOLITHIC_1
="#"
40194 if test "x$MONOLITHIC" = "x1" ; then
40195 COND_MONOLITHIC_1
=""
40198 COND_MONOLITHIC_1_SHARED_0
="#"
40199 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40200 COND_MONOLITHIC_1_SHARED_0
=""
40203 COND_MONOLITHIC_1_SHARED_1
="#"
40204 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40205 COND_MONOLITHIC_1_SHARED_1
=""
40208 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40209 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40210 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40213 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40214 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40215 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40218 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40219 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40220 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40223 COND_PLATFORM_MACOSX_1
="#"
40224 if test "x$PLATFORM_MACOSX" = "x1" ; then
40225 COND_PLATFORM_MACOSX_1
=""
40228 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
40229 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40230 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
40233 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40234 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40235 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40238 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40239 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40240 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40243 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40244 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40245 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40248 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40249 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40250 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40253 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40254 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40255 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40258 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40259 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40260 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40263 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40264 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40265 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40268 COND_PLATFORM_MAC_1
="#"
40269 if test "x$PLATFORM_MAC" = "x1" ; then
40270 COND_PLATFORM_MAC_1
=""
40273 COND_PLATFORM_OS2_1
="#"
40274 if test "x$PLATFORM_OS2" = "x1" ; then
40275 COND_PLATFORM_OS2_1
=""
40278 COND_PLATFORM_UNIX_0
="#"
40279 if test "x$PLATFORM_UNIX" = "x0" ; then
40280 COND_PLATFORM_UNIX_0
=""
40283 COND_PLATFORM_UNIX_1
="#"
40284 if test "x$PLATFORM_UNIX" = "x1" ; then
40285 COND_PLATFORM_UNIX_1
=""
40288 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40289 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40290 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40293 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40294 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40295 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40298 COND_PLATFORM_WIN32_0
="#"
40299 if test "x$PLATFORM_WIN32" = "x0" ; then
40300 COND_PLATFORM_WIN32_0
=""
40303 COND_PLATFORM_WIN32_1
="#"
40304 if test "x$PLATFORM_WIN32" = "x1" ; then
40305 COND_PLATFORM_WIN32_1
=""
40309 if test "x$SHARED" = "x0" ; then
40313 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40314 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40315 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40318 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40319 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40320 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40323 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40324 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40325 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40328 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40329 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40330 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40333 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40334 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40335 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40338 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40339 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40340 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40343 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40344 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40345 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40348 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40349 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40350 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40353 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40354 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40355 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40358 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40359 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40360 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40363 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40364 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40365 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40369 if test "x$SHARED" = "x1" ; then
40373 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40374 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40375 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40379 if test "x$TOOLKIT" = "x" ; then
40383 COND_TOOLKIT_COCOA
="#"
40384 if test "x$TOOLKIT" = "xCOCOA" ; then
40385 COND_TOOLKIT_COCOA
=""
40388 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40389 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40390 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40393 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40394 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40395 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40398 COND_TOOLKIT_GTK
="#"
40399 if test "x$TOOLKIT" = "xGTK" ; then
40400 COND_TOOLKIT_GTK
=""
40403 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40404 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40405 COND_TOOLKIT_GTK_USE_GUI_1
=""
40408 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40409 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40410 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40413 COND_TOOLKIT_MAC
="#"
40414 if test "x$TOOLKIT" = "xMAC" ; then
40415 COND_TOOLKIT_MAC
=""
40418 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40419 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40420 COND_TOOLKIT_MAC_USE_GUI_1
=""
40423 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40424 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40425 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40428 COND_TOOLKIT_MGL
="#"
40429 if test "x$TOOLKIT" = "xMGL" ; then
40430 COND_TOOLKIT_MGL
=""
40433 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40434 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40435 COND_TOOLKIT_MGL_USE_GUI_1
=""
40438 COND_TOOLKIT_MOTIF
="#"
40439 if test "x$TOOLKIT" = "xMOTIF" ; then
40440 COND_TOOLKIT_MOTIF
=""
40443 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40444 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40445 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40448 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40449 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40450 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40453 COND_TOOLKIT_MSW
="#"
40454 if test "x$TOOLKIT" = "xMSW" ; then
40455 COND_TOOLKIT_MSW
=""
40458 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40459 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40460 COND_TOOLKIT_MSW_USE_GUI_1
=""
40463 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40464 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40465 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40468 COND_TOOLKIT_PM
="#"
40469 if test "x$TOOLKIT" = "xPM" ; then
40473 COND_TOOLKIT_PM_USE_GUI_1
="#"
40474 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40475 COND_TOOLKIT_PM_USE_GUI_1
=""
40478 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40479 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40480 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40483 COND_TOOLKIT_WINCE
="#"
40484 if test "x$TOOLKIT" = "xWINCE" ; then
40485 COND_TOOLKIT_WINCE
=""
40488 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40489 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40490 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40493 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40494 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40495 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40498 COND_TOOLKIT_X11
="#"
40499 if test "x$TOOLKIT" = "xX11" ; then
40500 COND_TOOLKIT_X11
=""
40503 COND_TOOLKIT_X11_USE_GUI_1
="#"
40504 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40505 COND_TOOLKIT_X11_USE_GUI_1
=""
40509 if test "x$UNICODE" = "x1" ; then
40513 COND_USE_EXCEPTIONS_0
="#"
40514 if test "x$USE_EXCEPTIONS" = "x0" ; then
40515 COND_USE_EXCEPTIONS_0
=""
40518 COND_USE_EXCEPTIONS_1
="#"
40519 if test "x$USE_EXCEPTIONS" = "x1" ; then
40520 COND_USE_EXCEPTIONS_1
=""
40524 if test "x$USE_GUI" = "x0" ; then
40529 if test "x$USE_GUI" = "x1" ; then
40533 COND_USE_GUI_1_WXUNIV_0
="#"
40534 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40535 COND_USE_GUI_1_WXUNIV_0
=""
40538 COND_USE_GUI_1_WXUNIV_1
="#"
40539 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40540 COND_USE_GUI_1_WXUNIV_1
=""
40543 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40544 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40545 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40548 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40549 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40550 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40553 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40554 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40555 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40558 COND_USE_ODBC_1
="#"
40559 if test "x$USE_ODBC" = "x1" ; then
40563 COND_USE_PLUGINS_0
="#"
40564 if test "x$USE_PLUGINS" = "x0" ; then
40565 COND_USE_PLUGINS_0
=""
40568 COND_USE_SOSYMLINKS_1
="#"
40569 if test "x$USE_SOSYMLINKS" = "x1" ; then
40570 COND_USE_SOSYMLINKS_1
=""
40573 COND_USE_SOVERLINUX_1
="#"
40574 if test "x$USE_SOVERLINUX" = "x1" ; then
40575 COND_USE_SOVERLINUX_1
=""
40578 COND_USE_SOVERSION_0
="#"
40579 if test "x$USE_SOVERSION" = "x0" ; then
40580 COND_USE_SOVERSION_0
=""
40583 COND_USE_SOVERSOLARIS_1
="#"
40584 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40585 COND_USE_SOVERSOLARIS_1
=""
40589 if test "x$USE_XRC" = "x1" ; then
40593 COND_WITH_PLUGIN_SDL_1
="#"
40594 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40595 COND_WITH_PLUGIN_SDL_1
=""
40599 if test "x$WXUNIV" = "x1" ; then
40603 COND_WXUSE_EXPAT_BUILTIN
="#"
40604 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40605 COND_WXUSE_EXPAT_BUILTIN
=""
40608 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40609 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40610 COND_WXUSE_LIBJPEG_BUILTIN
=""
40613 COND_WXUSE_LIBPNG_BUILTIN
="#"
40614 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40615 COND_WXUSE_LIBPNG_BUILTIN
=""
40618 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40619 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40620 COND_WXUSE_LIBTIFF_BUILTIN
=""
40623 COND_WXUSE_ODBC_BUILTIN
="#"
40624 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40625 COND_WXUSE_ODBC_BUILTIN
=""
40628 COND_WXUSE_REGEX_BUILTIN
="#"
40629 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40630 COND_WXUSE_REGEX_BUILTIN
=""
40633 COND_WXUSE_ZLIB_BUILTIN
="#"
40634 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40635 COND_WXUSE_ZLIB_BUILTIN
=""
40638 COND_BUILD_DEBUG
="#"
40639 if test "x$BUILD" = "xdebug" ; then
40640 COND_BUILD_DEBUG
=""
40643 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
40644 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40645 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
40648 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
40649 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40650 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
40653 COND_BUILD_DEBUG_UNICODE_0
="#"
40654 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40655 COND_BUILD_DEBUG_UNICODE_0
=""
40658 COND_BUILD_DEBUG_UNICODE_1
="#"
40659 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40660 COND_BUILD_DEBUG_UNICODE_1
=""
40663 COND_BUILD_RELEASE
="#"
40664 if test "x$BUILD" = "xrelease" ; then
40665 COND_BUILD_RELEASE
=""
40668 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
40669 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40670 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
40673 COND_BUILD_RELEASE_UNICODE_0
="#"
40674 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40675 COND_BUILD_RELEASE_UNICODE_0
=""
40678 COND_BUILD_RELEASE_UNICODE_1
="#"
40679 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40680 COND_BUILD_RELEASE_UNICODE_1
=""
40683 COND_DEBUG_FLAG_1
="#"
40684 if test "x$DEBUG_FLAG" = "x1" ; then
40685 COND_DEBUG_FLAG_1
=""
40688 COND_DEBUG_INFO_0
="#"
40689 if test "x$DEBUG_INFO" = "x0" ; then
40690 COND_DEBUG_INFO_0
=""
40693 COND_DEBUG_INFO_1
="#"
40694 if test "x$DEBUG_INFO" = "x1" ; then
40695 COND_DEBUG_INFO_1
=""
40698 COND_DEPS_TRACKING_0
="#"
40699 if test "x$DEPS_TRACKING" = "x0" ; then
40700 COND_DEPS_TRACKING_0
=""
40703 COND_DEPS_TRACKING_1
="#"
40704 if test "x$DEPS_TRACKING" = "x1" ; then
40705 COND_DEPS_TRACKING_1
=""
40709 if test "x$GCC_PCH" = "x1" ; then
40713 COND_MONOLITHIC_0
="#"
40714 if test "x$MONOLITHIC" = "x0" ; then
40715 COND_MONOLITHIC_0
=""
40718 COND_MONOLITHIC_0_SHARED_0
="#"
40719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40720 COND_MONOLITHIC_0_SHARED_0
=""
40723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40725 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
40729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
40733 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
40734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40735 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
40738 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
40739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40740 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
40743 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40745 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40748 COND_MONOLITHIC_0_SHARED_1
="#"
40749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40750 COND_MONOLITHIC_0_SHARED_1
=""
40753 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40755 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40758 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
40759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40760 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
40763 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
40764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40765 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
40768 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
40769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40770 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
40773 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40775 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40778 COND_MONOLITHIC_0_USE_ODBC_1
="#"
40779 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40780 COND_MONOLITHIC_0_USE_ODBC_1
=""
40783 COND_MONOLITHIC_1
="#"
40784 if test "x$MONOLITHIC" = "x1" ; then
40785 COND_MONOLITHIC_1
=""
40788 COND_MONOLITHIC_1_SHARED_0
="#"
40789 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40790 COND_MONOLITHIC_1_SHARED_0
=""
40793 COND_MONOLITHIC_1_SHARED_1
="#"
40794 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40795 COND_MONOLITHIC_1_SHARED_1
=""
40798 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40799 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40800 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40803 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40804 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40809 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40810 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40813 COND_PLATFORM_MACOSX_1
="#"
40814 if test "x$PLATFORM_MACOSX" = "x1" ; then
40815 COND_PLATFORM_MACOSX_1
=""
40818 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
40819 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40820 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
40823 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
40824 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40825 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
40828 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
40829 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40830 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
40833 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
40834 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40835 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
40838 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
40839 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40840 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
40843 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40844 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40845 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40848 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40849 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40850 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40853 COND_PLATFORM_MAC_1
="#"
40854 if test "x$PLATFORM_MAC" = "x1" ; then
40855 COND_PLATFORM_MAC_1
=""
40858 COND_PLATFORM_OS2_1
="#"
40859 if test "x$PLATFORM_OS2" = "x1" ; then
40860 COND_PLATFORM_OS2_1
=""
40863 COND_PLATFORM_UNIX_0
="#"
40864 if test "x$PLATFORM_UNIX" = "x0" ; then
40865 COND_PLATFORM_UNIX_0
=""
40868 COND_PLATFORM_UNIX_1
="#"
40869 if test "x$PLATFORM_UNIX" = "x1" ; then
40870 COND_PLATFORM_UNIX_1
=""
40873 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40874 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40875 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40878 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40879 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40880 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40883 COND_PLATFORM_WIN32_0
="#"
40884 if test "x$PLATFORM_WIN32" = "x0" ; then
40885 COND_PLATFORM_WIN32_0
=""
40888 COND_PLATFORM_WIN32_1
="#"
40889 if test "x$PLATFORM_WIN32" = "x1" ; then
40890 COND_PLATFORM_WIN32_1
=""
40894 if test "x$SHARED" = "x0" ; then
40898 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40899 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40900 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40903 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40904 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40905 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40908 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40909 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40910 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40913 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40914 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40915 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40918 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
40919 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40920 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
40923 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
40924 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40925 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
40928 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
40929 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40930 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
40933 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
40934 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40935 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
40939 if test "x$SHARED" = "x1" ; then
40943 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40944 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40945 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40948 COND_TOOLKIT_COCOA
="#"
40949 if test "x$TOOLKIT" = "xCOCOA" ; then
40950 COND_TOOLKIT_COCOA
=""
40953 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40954 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40955 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40958 COND_TOOLKIT_GTK
="#"
40959 if test "x$TOOLKIT" = "xGTK" ; then
40960 COND_TOOLKIT_GTK
=""
40963 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40964 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40965 COND_TOOLKIT_GTK_USE_GUI_1
=""
40968 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
40969 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40970 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
40973 COND_TOOLKIT_MAC
="#"
40974 if test "x$TOOLKIT" = "xMAC" ; then
40975 COND_TOOLKIT_MAC
=""
40978 COND_TOOLKIT_MAC_USE_GUI_1
="#"
40979 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40980 COND_TOOLKIT_MAC_USE_GUI_1
=""
40983 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
40984 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40985 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
40988 COND_TOOLKIT_MAC_WXUNIV_0
="#"
40989 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40990 COND_TOOLKIT_MAC_WXUNIV_0
=""
40993 COND_TOOLKIT_MGL
="#"
40994 if test "x$TOOLKIT" = "xMGL" ; then
40995 COND_TOOLKIT_MGL
=""
40998 COND_TOOLKIT_MGL_USE_GUI_1
="#"
40999 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41000 COND_TOOLKIT_MGL_USE_GUI_1
=""
41003 COND_TOOLKIT_MOTIF
="#"
41004 if test "x$TOOLKIT" = "xMOTIF" ; then
41005 COND_TOOLKIT_MOTIF
=""
41008 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
41009 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41010 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
41013 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
41014 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41015 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
41018 COND_TOOLKIT_MSW
="#"
41019 if test "x$TOOLKIT" = "xMSW" ; then
41020 COND_TOOLKIT_MSW
=""
41023 COND_TOOLKIT_MSW_USE_GUI_1
="#"
41024 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41025 COND_TOOLKIT_MSW_USE_GUI_1
=""
41028 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
41029 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41030 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
41033 COND_TOOLKIT_MSW_WXUNIV_0
="#"
41034 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41035 COND_TOOLKIT_MSW_WXUNIV_0
=""
41038 COND_TOOLKIT_PM
="#"
41039 if test "x$TOOLKIT" = "xPM" ; then
41043 COND_TOOLKIT_PM_USE_GUI_1
="#"
41044 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41045 COND_TOOLKIT_PM_USE_GUI_1
=""
41048 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
41049 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41050 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
41053 COND_TOOLKIT_PM_WXUNIV_0
="#"
41054 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41055 COND_TOOLKIT_PM_WXUNIV_0
=""
41058 COND_TOOLKIT_WINCE
="#"
41059 if test "x$TOOLKIT" = "xWINCE" ; then
41060 COND_TOOLKIT_WINCE
=""
41063 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
41064 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41065 COND_TOOLKIT_WINCE_USE_GUI_1
=""
41068 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
41069 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41070 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
41073 COND_TOOLKIT_X11
="#"
41074 if test "x$TOOLKIT" = "xX11" ; then
41075 COND_TOOLKIT_X11
=""
41078 COND_TOOLKIT_X11_USE_GUI_1
="#"
41079 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41080 COND_TOOLKIT_X11_USE_GUI_1
=""
41084 if test "x$UNICODE" = "x1" ; then
41088 COND_USE_EXCEPTIONS_0
="#"
41089 if test "x$USE_EXCEPTIONS" = "x0" ; then
41090 COND_USE_EXCEPTIONS_0
=""
41093 COND_USE_EXCEPTIONS_1
="#"
41094 if test "x$USE_EXCEPTIONS" = "x1" ; then
41095 COND_USE_EXCEPTIONS_1
=""
41099 if test "x$USE_GUI" = "x0" ; then
41104 if test "x$USE_GUI" = "x1" ; then
41108 COND_USE_GUI_1_WXUNIV_0
="#"
41109 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41110 COND_USE_GUI_1_WXUNIV_0
=""
41113 COND_USE_GUI_1_WXUNIV_1
="#"
41114 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41115 COND_USE_GUI_1_WXUNIV_1
=""
41118 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
41119 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41120 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
41123 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
41124 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41125 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
41128 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
41129 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41130 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
41133 COND_USE_ODBC_1
="#"
41134 if test "x$USE_ODBC" = "x1" ; then
41138 COND_USE_PLUGINS_0
="#"
41139 if test "x$USE_PLUGINS" = "x0" ; then
41140 COND_USE_PLUGINS_0
=""
41143 COND_USE_SOSYMLINKS_1
="#"
41144 if test "x$USE_SOSYMLINKS" = "x1" ; then
41145 COND_USE_SOSYMLINKS_1
=""
41148 COND_USE_SOVERLINUX_1
="#"
41149 if test "x$USE_SOVERLINUX" = "x1" ; then
41150 COND_USE_SOVERLINUX_1
=""
41153 COND_USE_SOVERSION_0
="#"
41154 if test "x$USE_SOVERSION" = "x0" ; then
41155 COND_USE_SOVERSION_0
=""
41158 COND_USE_SOVERSOLARIS_1
="#"
41159 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41160 COND_USE_SOVERSOLARIS_1
=""
41163 COND_WITH_PLUGIN_SDL_1
="#"
41164 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41165 COND_WITH_PLUGIN_SDL_1
=""
41169 if test "x$WXUNIV" = "x1" ; then
41173 COND_WXUSE_EXPAT_BUILTIN
="#"
41174 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41175 COND_WXUSE_EXPAT_BUILTIN
=""
41178 COND_WXUSE_LIBJPEG_BUILTIN
="#"
41179 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41180 COND_WXUSE_LIBJPEG_BUILTIN
=""
41183 COND_WXUSE_LIBPNG_BUILTIN
="#"
41184 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41185 COND_WXUSE_LIBPNG_BUILTIN
=""
41188 COND_WXUSE_LIBTIFF_BUILTIN
="#"
41189 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41190 COND_WXUSE_LIBTIFF_BUILTIN
=""
41193 COND_WXUSE_ODBC_BUILTIN
="#"
41194 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41195 COND_WXUSE_ODBC_BUILTIN
=""
41198 COND_WXUSE_REGEX_BUILTIN
="#"
41199 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41200 COND_WXUSE_REGEX_BUILTIN
=""
41203 COND_WXUSE_ZLIB_BUILTIN
="#"
41204 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41205 COND_WXUSE_ZLIB_BUILTIN
=""
41210 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41211 { { 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
41212 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;}
41213 { (exit 1); exit 1; }; }
41217 if test "$wxUSE_SHARED" = "yes"; then
41219 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
41220 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
41224 EXE_LINKER
="$CXX -o"
41228 GCC_PRAGMA_FLAGS
=""
41229 if test $GCC_PCH = 1 ; then
41230 GCC_PRAGMA_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41233 powerpc
-*-darwin* )
41234 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41237 if test "$wxUSE_STL" = "yes" -o \
41238 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41239 "$wxUSE_NO_RTTI" != "yes"; then
41240 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41241 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41242 cat >conftest.
$ac_ext <<_ACEOF
41245 cat confdefs.h
>>conftest.
$ac_ext
41246 cat >>conftest.
$ac_ext <<_ACEOF
41247 /* end confdefs.h. */
41252 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41253 #error "Not GCC 3.2 or greater"
41260 rm -f conftest.
$ac_objext
41261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41262 (eval $ac_compile) 2>conftest.er1
41264 grep -v '^ *+' conftest.er1
>conftest.err
41266 cat conftest.err
>&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } &&
41269 { ac_try
='test -z "$ac_c_werror_flag"
41270 || test ! -s conftest.err'
41271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41272 (eval $ac_try) 2>&5
41274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41275 (exit $ac_status); }; } &&
41276 { ac_try
='test -s conftest.$ac_objext'
41277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41278 (eval $ac_try) 2>&5
41280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281 (exit $ac_status); }; }; then
41282 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
41283 echo "$as_me:$LINENO: result: yes" >&5
41284 echo "${ECHO_T}yes" >&6
41286 echo "$as_me: failed program was:" >&5
41287 sed 's/^/| /' conftest.
$ac_ext >&5
41289 echo "$as_me:$LINENO: result: no" >&5
41290 echo "${ECHO_T}no" >&6
41292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41297 CPPFLAGS
="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41300 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41364 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41365 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41366 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41367 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41368 echo $ECHO_N "(cached) $ECHO_C" >&6
41370 cat >conftest.
make <<\_ACEOF
41372 @
echo 'ac_maketemp="$(MAKE)"'
41374 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41375 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41376 if test -n "$ac_maketemp"; then
41377 eval ac_cv_prog_make_
${ac_make}_set
=yes
41379 eval ac_cv_prog_make_
${ac_make}_set
=no
41381 rm -f conftest.
make
41383 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41384 echo "$as_me:$LINENO: result: yes" >&5
41385 echo "${ECHO_T}yes" >&6
41388 echo "$as_me:$LINENO: result: no" >&5
41389 echo "${ECHO_T}no" >&6
41390 SET_MAKE
="MAKE=${MAKE-make}"
41395 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41398 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41401 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41404 ac_config_files
="$ac_config_files version-script Makefile"
41407 ac_config_commands
="$ac_config_commands wx-config
41413 if test "$wxUSE_GUI" = "yes"; then
41414 SUBDIRS
="samples demos utils contrib"
41415 else SUBDIRS
="samples utils"
41420 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
41421 if test "${with_cppunit_prefix+set}" = set; then
41422 withval
="$with_cppunit_prefix"
41423 cppunit_config_prefix
="$withval"
41425 cppunit_config_prefix
=""
41428 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
41429 if test "${with_cppunit_exec_prefix+set}" = set; then
41430 withval
="$with_cppunit_exec_prefix"
41431 cppunit_config_exec_prefix
="$withval"
41433 cppunit_config_exec_prefix
=""
41436 if test x
$cppunit_config_exec_prefix != x
; then
41437 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41438 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41439 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41442 if test x
$cppunit_config_prefix != x
; then
41443 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41444 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41445 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41449 # Extract the first word of "cppunit-config", so it can be a program name with args.
41450 set dummy cppunit
-config; ac_word
=$2
41451 echo "$as_me:$LINENO: checking for $ac_word" >&5
41452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41453 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
41454 echo $ECHO_N "(cached) $ECHO_C" >&6
41456 case $CPPUNIT_CONFIG in
41458 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41462 for as_dir
in $PATH
41465 test -z "$as_dir" && as_dir
=.
41466 for ac_exec_ext
in '' $ac_executable_extensions; do
41467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41468 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41475 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41479 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41481 if test -n "$CPPUNIT_CONFIG"; then
41482 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
41483 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
41485 echo "$as_me:$LINENO: result: no" >&5
41486 echo "${ECHO_T}no" >&6
41489 cppunit_version_min
=1.8.0
41491 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
41492 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
41494 if test "$CPPUNIT_CONFIG" = "no" ; then
41497 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41498 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41499 cppunit_version
=`$CPPUNIT_CONFIG --version`
41501 cppunit_major_version
=`echo $cppunit_version | \
41502 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41503 cppunit_minor_version
=`echo $cppunit_version | \
41504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41505 cppunit_micro_version
=`echo $cppunit_version | \
41506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41508 cppunit_major_min
=`echo $cppunit_version_min | \
41509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41510 cppunit_minor_min
=`echo $cppunit_version_min | \
41511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41512 cppunit_micro_min
=`echo $cppunit_version_min | \
41513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41515 cppunit_version_proper
=`expr \
41516 $cppunit_major_version \> $cppunit_major_min \| \
41517 $cppunit_major_version \= $cppunit_major_min \& \
41518 $cppunit_minor_version \> $cppunit_minor_min \| \
41519 $cppunit_major_version \= $cppunit_major_min \& \
41520 $cppunit_minor_version \= $cppunit_minor_min \& \
41521 $cppunit_micro_version \>= $cppunit_micro_min `
41523 if test "$cppunit_version_proper" = "1" ; then
41524 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41525 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
41527 echo "$as_me:$LINENO: result: no" >&5
41528 echo "${ECHO_T}no" >&6
41533 if test "x$no_cppunit" = x
; then
41534 SUBDIRS
="$SUBDIRS tests"
41545 for subdir
in `echo $SUBDIRS`; do
41546 if test -d ${srcdir}/${subdir} ; then
41547 if test "$wxUSE_GUI" = "yes"; then
41548 if test ${subdir} = "samples"; then
41549 makefiles
="samples/Makefile.in $makefiles"
41550 for sample
in `echo $SAMPLES_SUBDIRS`; do
41551 if test -d $srcdir/samples
/$sample; then
41552 makefiles
="samples/$sample/Makefile.in $makefiles"
41555 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41557 else if test ${subdir} = "samples"; then
41558 makefiles
="samples/Makefile.in samples/console/Makefile.in"
41559 elif test ${subdir} = "utils"; then
41561 for util
in HelpGen tex2rtf
; do
41562 if test -d $srcdir/utils
/$util ; then
41563 makefiles
="utils/$util/Makefile.in \
41564 utils/$util/src/Makefile.in \
41568 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41572 for mkin
in $makefiles ; do
41573 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41574 ac_config_files
="$ac_config_files $mk"
41581 cat >confcache
<<\_ACEOF
41582 # This file is a shell script that caches the results of configure
41583 # tests run on this system so they can be shared between configure
41584 # scripts and configure runs, see configure's option --config-cache.
41585 # It is not useful on other systems. If it contains results you don't
41586 # want to keep, you may remove or edit it.
41588 # config.status only pays attention to the cache file if you give it
41589 # the --recheck option to rerun configure.
41591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41593 # following values.
41597 # The following way of writing the cache mishandles newlines in values,
41598 # but we know of no workaround that is simple, portable, and efficient.
41599 # So, don't put newlines in cache variables' values.
41600 # Ultrix sh set writes to stderr and can't be redirected directly,
41601 # and sets the high bit in the cache file unless we assign to the vars.
41604 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41606 # `set' does not quote correctly, so add quotes (double-quote
41607 # substitution turns \\\\ into \\, and sed turns \\ into \).
41610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41613 # `set' quotes correctly as required by POSIX, so do not add quotes.
41615 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41622 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41624 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41626 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
41627 if test -w $cache_file; then
41628 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41629 cat confcache
>$cache_file
41631 echo "not updating unwritable cache $cache_file"
41636 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41637 # Let make expand exec_prefix.
41638 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41640 # VPATH may cause trouble with some makes, so we remove $(srcdir),
41641 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41642 # trailing colons and then remove the whole line if VPATH becomes empty
41643 # (actually we leave an empty line to preserve line numbers).
41644 if test "x$srcdir" = x.
; then
41645 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
41646 s/:*\$(srcdir):*/:/;
41647 s/:*\${srcdir}:*/:/;
41649 s/^\([^=]*=[ ]*\):*/\1/;
41655 DEFS
=-DHAVE_CONFIG_H
41659 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41660 # 1. Remove the extension, and $U if already installed.
41661 ac_i
=`echo "$ac_i" |
41662 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41664 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
41665 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
41667 LIBOBJS
=$ac_libobjs
41669 LTLIBOBJS
=$ac_ltlibobjs
41673 : ${CONFIG_STATUS=./config.status}
41674 ac_clean_files_save
=$ac_clean_files
41675 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41676 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
41677 echo "$as_me: creating $CONFIG_STATUS" >&6;}
41678 cat >$CONFIG_STATUS <<_ACEOF
41680 # Generated by $as_me.
41681 # Run this file to recreate the current configuration.
41682 # Compiler output produced by configure, useful for debugging
41683 # configure, is in config.log if it exists.
41686 ac_cs_recheck=false
41688 SHELL=\${CONFIG_SHELL-$SHELL}
41691 cat >>$CONFIG_STATUS <<\_ACEOF
41692 ## --------------------- ##
41693 ## M4sh Initialization. ##
41694 ## --------------------- ##
41696 # Be Bourne compatible
41697 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
41700 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41701 # is contrary to our usage. Disable this feature.
41702 alias -g '${1+"$@"}'='"$@"'
41703 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
41706 DUALCASE
=1; export DUALCASE
# for MKS sh
41708 # Support unset when possible.
41709 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
41716 # Work around bugs in pre-3.0 UWIN ksh.
41717 $as_unset ENV MAIL MAILPATH
41724 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41725 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41726 LC_TELEPHONE LC_TIME
41728 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41729 eval $as_var=C
; export $as_var
41735 # Required to use basename.
41736 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41742 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
41743 as_basename
=basename
41749 # Name of the executable.
41750 as_me
=`$as_basename "$0" ||
41751 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41752 X"$0" : 'X\(//\)$' \| \
41753 X"$0" : 'X\(/\)$' \| \
41754 . : '\(.\)' 2>/dev/null ||
41756 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41757 /^X\/\(\/\/\)$/{ s//\1/; q; }
41758 /^X\/\(\/\).*/{ s//\1/; q; }
41762 # PATH needs CR, and LINENO needs CR and PATH.
41763 # Avoid depending upon Character Ranges.
41764 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41765 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41766 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41767 as_cr_digits
='0123456789'
41768 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41770 # The user is always right.
41771 if test "${PATH_SEPARATOR+set}" != set; then
41772 echo "#! /bin/sh" >conf$$.sh
41773 echo "exit 0" >>conf$$.sh
41775 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
41784 as_lineno_1
=$LINENO
41785 as_lineno_2
=$LINENO
41786 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
41787 test "x$as_lineno_1" != "x$as_lineno_2" &&
41788 test "x$as_lineno_3" = "x$as_lineno_2" || {
41789 # Find who we are. Look in the path if we contain no path at all
41792 *[\\/]* ) as_myself
=$0 ;;
41793 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41794 for as_dir
in $PATH
41797 test -z "$as_dir" && as_dir
=.
41798 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
41803 # We did not find ourselves, most probably we were run as `sh COMMAND'
41804 # in which case we are not to be found in the path.
41805 if test "x$as_myself" = x
; then
41808 if test ! -f "$as_myself"; then
41809 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41810 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41811 { (exit 1); exit 1; }; }
41813 case $CONFIG_SHELL in
41815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41816 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
41819 test -z "$as_dir" && as_dir
=.
41820 for as_base
in sh bash ksh sh5
; do
41823 if ("$as_dir/$as_base" -c '
41824 as_lineno_1=$LINENO
41825 as_lineno_2=$LINENO
41826 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41827 test "x$as_lineno_1" != "x$as_lineno_2" &&
41828 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
41829 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
41830 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
41831 CONFIG_SHELL
=$as_dir/$as_base
41832 export CONFIG_SHELL
41833 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
41841 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
41842 # uniformly replaced by the line number. The first 'sed' inserts a
41843 # line-number line before each line; the second 'sed' does the real
41844 # work. The second script uses 'N' to pair each line-number line
41845 # with the numbered line, and appends trailing '-' during
41846 # substitution so that $LINENO is not a special case at line end.
41847 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
41848 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
41849 sed '=' <$as_myself |
41854 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41857 s,^['$as_cr_digits']*\n,,
41858 ' >$as_me.lineno
&&
41859 chmod +x
$as_me.lineno
||
41860 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41861 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41862 { (exit 1); exit 1; }; }
41864 # Don't try to exec as it changes $[0], causing all sort of problems
41865 # (the dirname of $[0] is not the place where we might find the
41866 # original and so on. Autoconf is especially sensible to this).
41868 # Exit status is that of the last command.
41873 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41874 *c
*,-n*) ECHO_N
= ECHO_C
='
41876 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
41877 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
41880 if expr a
: '\(a\)' >/dev
/null
2>&1; then
41886 rm -f conf$$ conf$$.exe conf$$.
file
41888 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41889 # We could just check for DJGPP; but this test a) works b) is more generic
41890 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41891 if test -f conf$$.exe
; then
41892 # Don't use ln at all; we don't have any links
41897 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41902 rm -f conf$$ conf$$.exe conf$$.
file
41904 if mkdir -p .
2>/dev
/null
; then
41907 test -d .
/-p && rmdir .
/-p
41911 as_executable_p
="test -f"
41913 # Sed expression to map a string onto a valid CPP name.
41914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41916 # Sed expression to map a string onto a valid variable name.
41917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41921 # We need space, tab and new line, in precisely that order.
41931 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41932 # report actual input values of CONFIG_FILES etc. instead of their
41933 # values after options handling. Logging --version etc. is OK.
41937 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41938 ## Running $as_me. ##
41943 This file was extended by wxWidgets $as_me 2.5.3, which was
41944 generated by GNU Autoconf 2.59. Invocation command line was
41946 CONFIG_FILES = $CONFIG_FILES
41947 CONFIG_HEADERS = $CONFIG_HEADERS
41948 CONFIG_LINKS = $CONFIG_LINKS
41949 CONFIG_COMMANDS = $CONFIG_COMMANDS
41953 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41957 # Files that config.status was made for.
41958 if test -n "$ac_config_files"; then
41959 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41962 if test -n "$ac_config_headers"; then
41963 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41966 if test -n "$ac_config_links"; then
41967 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41970 if test -n "$ac_config_commands"; then
41971 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41974 cat >>$CONFIG_STATUS <<\_ACEOF
41977 \`$as_me' instantiates files from templates according to the
41978 current configuration.
41980 Usage: $0 [OPTIONS] [FILE]...
41982 -h, --help print this help, then exit
41983 -V, --version print version number, then exit
41984 -q, --quiet do not print progress messages
41985 -d, --debug don't remove temporary files
41986 --recheck update $as_me by reconfiguring in the same conditions
41987 --file=FILE[:TEMPLATE]
41988 instantiate the configuration file FILE
41989 --header=FILE[:TEMPLATE]
41990 instantiate the configuration header FILE
41992 Configuration files:
41995 Configuration headers:
41998 Configuration commands:
42001 Report bugs to <bug-autoconf@gnu.org>."
42004 cat >>$CONFIG_STATUS <<_ACEOF
42006 wxWidgets config.status 2.5.3
42007 configured by $0, generated by GNU Autoconf 2.59,
42008 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42010 Copyright (C) 2003 Free Software Foundation, Inc.
42011 This config.status script is free software; the Free Software Foundation
42012 gives unlimited permission to copy, distribute and modify it."
42017 cat >>$CONFIG_STATUS <<\_ACEOF
42018 # If no file are specified by the user, then we need to provide default
42019 # value. By we need to know if files were specified by the user.
42025 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
42026 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
42034 *) # This is not an option, so the user has probably given explicit
42037 ac_need_defaults
=false
;;
42041 # Handling of the options.
42043 cat >>$CONFIG_STATUS <<\_ACEOF
42044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42046 --version | --vers* | -V )
42047 echo "$ac_cs_version"; exit 0 ;;
42049 # Conflict between --help and --header
42050 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42051 Try \`$0 --help' for more information." >&5
42052 echo "$as_me: error: ambiguous option: $1
42053 Try \`$0 --help' for more information." >&2;}
42054 { (exit 1); exit 1; }; };;
42055 --help | --hel | -h )
42056 echo "$ac_cs_usage"; exit 0 ;;
42057 --debug | --d* | -d )
42059 --file | --fil | --fi | --f )
42061 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
42062 ac_need_defaults
=false
;;
42063 --header | --heade | --head | --hea )
42065 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
42066 ac_need_defaults
=false
;;
42067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42068 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42071 # This is an error.
42072 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42073 Try \`$0 --help' for more information." >&5
42074 echo "$as_me: error: unrecognized option: $1
42075 Try \`$0 --help' for more information." >&2;}
42076 { (exit 1); exit 1; }; } ;;
42078 *) ac_config_targets
="$ac_config_targets $1" ;;
42084 ac_configure_extra_args
=
42086 if $ac_cs_silent; then
42088 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42092 cat >>$CONFIG_STATUS <<_ACEOF
42093 if \$ac_cs_recheck; then
42094 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42095 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42100 cat >>$CONFIG_STATUS <<_ACEOF
42102 # INIT-COMMANDS section.
42105 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42106 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42107 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42115 cat >>$CONFIG_STATUS <<\_ACEOF
42116 for ac_config_target
in $ac_config_targets
42118 case "$ac_config_target" in
42119 # Handling of arguments.
42120 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42121 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42122 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42123 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42124 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42125 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42126 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42127 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42128 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42129 { (exit 1); exit 1; }; };;
42133 # If the user did not use the arguments to specify the items to instantiate,
42134 # then the envvar interface is used. Set only those that are not.
42135 # We use the long form for the default assignment because of an extremely
42136 # bizarre bug on SunOS 4.1.3.
42137 if $ac_need_defaults; then
42138 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42139 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42140 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42143 # Have a temporary directory for convenience. Make it in the build tree
42144 # simply because there is no reason to put it here, and in addition,
42145 # creating and moving files from /tmp can sometimes cause problems.
42146 # Create a temporary directory, and hook for its removal unless debugging.
42149 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42150 trap '{ (exit 1); exit 1; }' 1 2 13 15
42153 # Create a (secure) tmp directory for tmp files.
42156 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42157 test -n "$tmp" && test -d "$tmp"
42160 tmp
=.
/confstat$$
-$RANDOM
42161 (umask 077 && mkdir $tmp)
42164 echo "$me: cannot create a temporary directory in ." >&2
42165 { (exit 1); exit 1; }
42170 cat >>$CONFIG_STATUS <<_ACEOF
42173 # CONFIG_FILES section.
42176 # No need to generate the scripts if there are no CONFIG_FILES.
42177 # This happens for instance when ./config.status config.h
42178 if test -n "\$CONFIG_FILES"; then
42179 # Protect against being on the right side of a sed subst in config.status.
42180 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42181 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42182 s,@SHELL@,$SHELL,;t t
42183 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42184 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42185 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42186 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42187 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42188 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42189 s,@exec_prefix@,$exec_prefix,;t t
42190 s,@prefix@,$prefix,;t t
42191 s,@program_transform_name@,$program_transform_name,;t t
42192 s,@bindir@,$bindir,;t t
42193 s,@sbindir@,$sbindir,;t t
42194 s,@libexecdir@,$libexecdir,;t t
42195 s,@datadir@,$datadir,;t t
42196 s,@sysconfdir@,$sysconfdir,;t t
42197 s,@sharedstatedir@,$sharedstatedir,;t t
42198 s,@localstatedir@,$localstatedir,;t t
42199 s,@libdir@,$libdir,;t t
42200 s,@includedir@,$includedir,;t t
42201 s,@oldincludedir@,$oldincludedir,;t t
42202 s,@infodir@,$infodir,;t t
42203 s,@mandir@,$mandir,;t t
42204 s,@build_alias@,$build_alias,;t t
42205 s,@host_alias@,$host_alias,;t t
42206 s,@target_alias@,$target_alias,;t t
42207 s,@DEFS@,$DEFS,;t t
42208 s,@ECHO_C@,$ECHO_C,;t t
42209 s,@ECHO_N@,$ECHO_N,;t t
42210 s,@ECHO_T@,$ECHO_T,;t t
42211 s,@LIBS@,$LIBS,;t t
42212 s,@build@,$build,;t t
42213 s,@build_cpu@,$build_cpu,;t t
42214 s,@build_vendor@,$build_vendor,;t t
42215 s,@build_os@,$build_os,;t t
42216 s,@host@,$host,;t t
42217 s,@host_cpu@,$host_cpu,;t t
42218 s,@host_vendor@,$host_vendor,;t t
42219 s,@host_os@,$host_os,;t t
42220 s,@target@,$target,;t t
42221 s,@target_cpu@,$target_cpu,;t t
42222 s,@target_vendor@,$target_vendor,;t t
42223 s,@target_os@,$target_os,;t t
42225 s,@CFLAGS@,$CFLAGS,;t t
42226 s,@LDFLAGS@,$LDFLAGS,;t t
42227 s,@CPPFLAGS@,$CPPFLAGS,;t t
42228 s,@ac_ct_CC@,$ac_ct_CC,;t t
42229 s,@EXEEXT@,$EXEEXT,;t t
42230 s,@OBJEXT@,$OBJEXT,;t t
42232 s,@EGREP@,$EGREP,;t t
42234 s,@CXXFLAGS@,$CXXFLAGS,;t t
42235 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42236 s,@RANLIB@,$RANLIB,;t t
42237 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42239 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42240 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42241 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42242 s,@STRIP@,$STRIP,;t t
42243 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42244 s,@LN_S@,$LN_S,;t t
42245 s,@CXXCPP@,$CXXCPP,;t t
42246 s,@subdirs@,$subdirs,;t t
42247 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42248 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42249 s,@GTK_LIBS@,$GTK_LIBS,;t t
42250 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42251 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42252 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42253 s,@X_CFLAGS@,$X_CFLAGS,;t t
42254 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42255 s,@X_LIBS@,$X_LIBS,;t t
42256 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42257 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42258 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42259 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42260 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42261 s,@RESCOMP@,$RESCOMP,;t t
42262 s,@DEREZ@,$DEREZ,;t t
42263 s,@SETFILE@,$SETFILE,;t t
42264 s,@LIBICONV@,$LIBICONV,;t t
42265 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42266 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42267 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42268 s,@SDL_LIBS@,$SDL_LIBS,;t t
42269 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42270 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42271 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42272 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42273 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42274 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42275 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42276 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42277 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42278 s,@VENDOR@,$VENDOR,;t t
42279 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42280 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42281 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42282 s,@WXUNIV@,$WXUNIV,;t t
42283 s,@MONOLITHIC@,$MONOLITHIC,;t t
42284 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42285 s,@EXTRALIBS@,$EXTRALIBS,;t t
42286 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42287 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42288 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42289 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42290 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42291 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42292 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42293 s,@UNICODE@,$UNICODE,;t t
42294 s,@BUILD@,$BUILD,;t t
42295 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42296 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42297 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42298 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42299 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42300 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42301 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42302 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42303 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42304 s,@SET_MAKE@,$SET_MAKE,;t t
42305 s,@MAKE_SET@,$MAKE_SET,;t t
42306 s,@ac_ct_AR@,$ac_ct_AR,;t t
42307 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42309 s,@ac_ct_NM@,$ac_ct_NM,;t t
42310 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42311 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42312 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42313 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42314 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42315 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42316 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42317 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42318 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42319 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42320 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42321 s,@LIBPREFIX@,$LIBPREFIX,;t t
42322 s,@LIBEXT@,$LIBEXT,;t t
42323 s,@DLLPREFIX@,$DLLPREFIX,;t t
42324 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42325 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42326 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42327 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42328 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42329 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42330 s,@PIC_FLAG@,$PIC_FLAG,;t t
42331 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42332 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42333 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42334 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42335 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42336 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42337 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42338 s,@GCC_PCH@,$GCC_PCH,;t t
42339 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42340 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42341 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42342 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42343 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42344 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42345 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42346 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42347 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42348 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42349 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42350 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42351 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42352 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42353 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42354 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42355 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42356 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42357 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
42358 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42359 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42360 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42361 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
42362 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
42363 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
42364 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
42365 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
42366 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
42367 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
42368 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
42369 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
42370 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
42371 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
42372 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
42373 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
42374 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
42375 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
42376 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
42377 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
42378 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
42379 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
42380 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
42381 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
42382 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
42383 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
42384 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
42385 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
42386 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
42387 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
42388 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
42389 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
42390 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
42391 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
42392 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
42393 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
42394 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
42395 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
42396 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42397 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42398 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42399 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
42400 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
42401 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
42402 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
42403 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
42404 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
42405 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
42406 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
42407 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
42408 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
42409 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
42410 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
42411 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
42412 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
42413 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
42414 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
42415 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
42416 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
42417 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
42418 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
42419 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
42420 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
42421 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
42422 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
42423 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
42424 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
42425 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
42426 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
42427 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
42428 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
42429 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
42430 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
42431 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
42432 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
42433 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
42434 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
42435 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
42436 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
42437 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
42438 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
42439 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
42440 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
42441 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
42442 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
42443 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
42444 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
42445 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
42446 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
42447 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
42448 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
42449 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
42450 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
42451 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
42452 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
42453 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
42454 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
42455 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
42456 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
42457 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
42458 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
42459 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
42460 s,@SHARED@,$SHARED,;t t
42461 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
42462 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
42463 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
42464 s,@USE_GUI@,$USE_GUI,;t t
42465 s,@AFMINSTALL@,$AFMINSTALL,;t t
42466 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
42467 s,@TOOLKIT@,$TOOLKIT,;t t
42468 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
42469 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
42470 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
42471 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
42472 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
42473 s,@cross_compiling@,$cross_compiling,;t t
42474 s,@WIDGET_SET@,$WIDGET_SET,;t t
42475 s,@WX_RELEASE@,$WX_RELEASE,;t t
42476 s,@WX_VERSION@,$WX_VERSION,;t t
42477 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
42478 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
42479 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
42480 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
42481 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
42482 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
42483 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
42484 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
42485 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
42486 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
42487 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
42488 s,@EXE_LINKER@,$EXE_LINKER,;t t
42489 s,@GUIDIST@,$GUIDIST,;t t
42490 s,@DISTDIR@,$DISTDIR,;t t
42491 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
42492 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
42493 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
42494 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
42495 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
42496 s,@RESFLAGS@,$RESFLAGS,;t t
42497 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
42498 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
42499 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
42500 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
42501 s,@MACRESCOMP@,$MACRESCOMP,;t t
42502 s,@MACSETFILE@,$MACSETFILE,;t t
42503 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
42505 s,@DLLTOOL@,$DLLTOOL,;t t
42506 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
42507 s,@LIBOBJS@,$LIBOBJS,;t t
42508 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
42513 cat >>$CONFIG_STATUS <<\_ACEOF
42514 # Split the substitutions into bite-sized pieces for seds with
42515 # small command number limits, like on Digital OSF/1 and HP-UX.
42516 ac_max_sed_lines
=48
42517 ac_sed_frag
=1 # Number of current file.
42518 ac_beg
=1 # First line for current file.
42519 ac_end
=$ac_max_sed_lines # Line after last line for current file.
42522 while $ac_more_lines; do
42523 if test $ac_beg -gt 1; then
42524 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42526 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
42528 if test ! -s $tmp/subs.frag
; then
42529 ac_more_lines
=false
42531 # The purpose of the label and of the branching condition is to
42532 # speed up the sed processing (if there are no `@' at all, there
42533 # is no need to browse any of the substitutions).
42534 # These are the two extra sed commands mentioned above.
42536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
42537 if test -z "$ac_sed_cmds"; then
42538 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
42540 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
42542 ac_sed_frag
=`expr $ac_sed_frag + 1`
42544 ac_end
=`expr $ac_end + $ac_max_sed_lines`
42547 if test -z "$ac_sed_cmds"; then
42550 fi # test -n "$CONFIG_FILES"
42553 cat >>$CONFIG_STATUS <<\_ACEOF
42554 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
42555 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42557 - | *:- | *:-:* ) # input from stdin
42559 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42560 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42561 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42562 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42563 * ) ac_file_in
=$ac_file.
in ;;
42566 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
42567 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42568 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42569 X"$ac_file" : 'X\(//\)[^/]' \| \
42570 X"$ac_file" : 'X\(//\)$' \| \
42571 X"$ac_file" : 'X\(/\)' \| \
42572 . : '\(.\)' 2>/dev/null ||
42574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42575 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42576 /^X\(\/\/\)$/{ s//\1/; q; }
42577 /^X\(\/\).*/{ s//\1/; q; }
42579 { if $as_mkdir_p; then
42584 while test ! -d "$as_dir"; do
42585 as_dirs
="$as_dir $as_dirs"
42586 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42588 X"$as_dir" : 'X\(//\)[^/]' \| \
42589 X"$as_dir" : 'X\(//\)$' \| \
42590 X"$as_dir" : 'X\(/\)' \| \
42591 . : '\(.\)' 2>/dev/null ||
42593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42594 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42595 /^X\(\/\/\)$/{ s//\1/; q; }
42596 /^X\(\/\).*/{ s//\1/; q; }
42599 test ! -n "$as_dirs" || mkdir $as_dirs
42600 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42601 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42602 { (exit 1); exit 1; }; }; }
42606 if test "$ac_dir" != .
; then
42607 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42608 # A "../" for each directory in $ac_dir_suffix.
42609 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42611 ac_dir_suffix
= ac_top_builddir
=
42615 .
) # No --srcdir option. We are building in place.
42617 if test -z "$ac_top_builddir"; then
42620 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
42622 [\\/]* | ?
:[\\/]* ) # Absolute path.
42623 ac_srcdir
=$srcdir$ac_dir_suffix;
42624 ac_top_srcdir
=$srcdir ;;
42625 *) # Relative path.
42626 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
42627 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
42630 # Do not use `cd foo && pwd` to compute absolute paths, because
42631 # the directories may not exist.
42633 .
) ac_abs_builddir
="$ac_dir";;
42636 .
) ac_abs_builddir
=`pwd`;;
42637 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
42638 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
42641 case $ac_abs_builddir in
42642 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42644 case ${ac_top_builddir}.
in
42645 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
42646 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
42647 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
42650 case $ac_abs_builddir in
42651 .
) ac_abs_srcdir
=$ac_srcdir;;
42654 .
) ac_abs_srcdir
=$ac_abs_builddir;;
42655 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
42656 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
42659 case $ac_abs_builddir in
42660 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
42662 case $ac_top_srcdir in
42663 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
42664 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
42665 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42671 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42672 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
42675 if test x
"$ac_file" != x
-; then
42676 { echo "$as_me:$LINENO: creating $ac_file" >&5
42677 echo "$as_me: creating $ac_file" >&6;}
42680 # Let's still pretend it is `configure' which instantiates (i.e., don't
42681 # use $as_me), people would be surprised to read:
42682 # /* config.h. Generated by config.status. */
42683 if test x
"$ac_file" = x
-; then
42686 configure_input
="$ac_file. "
42688 configure_input
=$configure_input"Generated from `echo $ac_file_in |
42689 sed 's,.*/,,'` by configure."
42691 # First look for the input files in the build tree, otherwise in the
42693 ac_file_inputs
=`IFS=:
42694 for f in $ac_file_in; do
42696 -) echo $tmp/stdin ;;
42698 # Absolute (can't be DOS-style, as IFS=:)
42699 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42700 echo "$as_me: error: cannot find input file: $f" >&2;}
42701 { (exit 1); exit 1; }; }
42704 if test -f "$f"; then
42707 elif test -f "$srcdir/$f"; then
42712 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42713 echo "$as_me: error: cannot find input file: $f" >&2;}
42714 { (exit 1); exit 1; }; }
42717 done` || { (exit 1); exit 1; }
42719 cat >>$CONFIG_STATUS <<_ACEOF
42723 cat >>$CONFIG_STATUS <<\_ACEOF
42725 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42726 s
,@configure_input@
,$configure_input,;t t
42727 s
,@srcdir@
,$ac_srcdir,;t t
42728 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
42729 s
,@top_srcdir@
,$ac_top_srcdir,;t t
42730 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
42731 s
,@builddir@
,$ac_builddir,;t t
42732 s
,@abs_builddir@
,$ac_abs_builddir,;t t
42733 s
,@top_builddir@
,$ac_top_builddir,;t t
42734 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
42735 s
,@INSTALL@
,$ac_INSTALL,;t t
42736 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
42738 if test x"$ac_file" != x-; then
42739 mv $tmp/out $ac_file
42745 # Run the commands associated with the file.
42747 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42748 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42752 cat >>$CONFIG_STATUS <<\_ACEOF
42755 # CONFIG_HEADER section.
42758 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
42759 # NAME is the cpp macro being defined and VALUE is the value it is being given.
42761 # ac_d sets the value in "#define NAME VALUE" lines.
42762 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
42763 ac_dB
='[ ].*$,\1#\2'
42766 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
42767 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
42768 ac_uB
='$,\1#\2define\3'
42772 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
42773 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
42775 - | *:- | *:-:* ) # input from stdin
42777 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42778 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42779 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42780 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
42781 * ) ac_file_in
=$ac_file.
in ;;
42784 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
42785 echo "$as_me: creating $ac_file" >&6;}
42787 # First look for the input files in the build tree, otherwise in the
42789 ac_file_inputs
=`IFS=:
42790 for f in $ac_file_in; do
42792 -) echo $tmp/stdin ;;
42794 # Absolute (can't be DOS-style, as IFS=:)
42795 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42796 echo "$as_me: error: cannot find input file: $f" >&2;}
42797 { (exit 1); exit 1; }; }
42798 # Do quote $f, to prevent DOS paths from being IFS'd.
42801 if test -f "$f"; then
42804 elif test -f "$srcdir/$f"; then
42809 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
42810 echo "$as_me: error: cannot find input file: $f" >&2;}
42811 { (exit 1); exit 1; }; }
42814 done` || { (exit 1); exit 1; }
42815 # Remove the trailing spaces.
42816 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
42820 # Transform confdefs.h into two sed scripts, `conftest.defines' and
42821 # `conftest.undefs', that substitutes the proper values into
42822 # config.h.in to produce config.h. The first handles `#define'
42823 # templates, and the second `#undef' templates.
42824 # And first: Protect against being on the right side of a sed subst in
42825 # config.status. Protect against being in an unquoted here document
42826 # in config.status.
42827 rm -f conftest.defines conftest.undefs
42828 # Using a here document instead of a string reduces the quoting nightmare.
42829 # Putting comments in sed scripts is not portable.
42831 # `end' is used to avoid that the second main sed command (meant for
42832 # 0-ary CPP macros) applies to n-ary macro definitions.
42833 # See the Autoconf documentation for `clear'.
42834 cat >confdef2sed.
sed <<\_ACEOF
42839 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
42841 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42844 # If some macros were called several times there might be several times
42845 # the same #defines, which is useless. Nevertheless, we may not want to
42846 # sort them, since we want the *last* AC-DEFINE to be honored.
42847 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42848 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42849 rm -f confdef2sed.sed
42851 # This sed command replaces #undef with comments. This is necessary, for
42852 # example, in the case of _POSIX_SOURCE, which is predefined and required
42853 # on some systems where configure will not decide to define it.
42854 cat >>conftest.undefs <<\_ACEOF
42855 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42858 # Break up conftest.defines because some shells have a limit on the size
42859 # of here documents, and old seds have small limits too (100 cmds).
42860 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42861 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42862 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42863 echo ' :' >>$CONFIG_STATUS
42864 rm -f conftest.tail
42865 while grep . conftest.defines >/dev/null
42867 # Write a limited-size here document to $tmp/defines.sed.
42868 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42869 # Speed up: don't consider the non `#define' lines.
42870 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42871 # Work around the forget-to-reset-the-flag bug.
42872 echo 't clr' >>$CONFIG_STATUS
42873 echo ': clr' >>$CONFIG_STATUS
42874 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
42876 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42878 mv $tmp/out $tmp/in
42880 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
42881 rm -f conftest.defines
42882 mv conftest.
tail conftest.defines
42884 rm -f conftest.defines
42885 echo ' fi # grep' >>$CONFIG_STATUS
42886 echo >>$CONFIG_STATUS
42888 # Break up conftest.undefs because some shells have a limit on the size
42889 # of here documents, and old seds have small limits too (100 cmds).
42890 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42891 rm -f conftest.
tail
42892 while grep . conftest.undefs
>/dev
/null
42894 # Write a limited-size here document to $tmp/undefs.sed.
42895 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42896 # Speed up: don't consider the non
`#undef'
42897 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42898 # Work around the forget-to-reset-the-flag bug.
42899 echo 't clr' >>$CONFIG_STATUS
42900 echo ': clr' >>$CONFIG_STATUS
42901 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42903 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42905 mv $tmp/out $tmp/in
42907 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42908 rm -f conftest.undefs
42909 mv conftest.tail conftest.undefs
42911 rm -f conftest.undefs
42913 cat >>$CONFIG_STATUS <<\_ACEOF
42914 # Let's still pretend it is `configure
' which instantiates (i.e., don't
42915 # use $as_me), people would be surprised to read:
42916 # /* config.h. Generated by config.status. */
42917 if test x
"$ac_file" = x
-; then
42918 echo "/* Generated by configure. */" >$tmp/config.h
42920 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42922 cat $tmp/in >>$tmp/config.h
42924 if test x
"$ac_file" != x
-; then
42925 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
42926 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42927 echo "$as_me: $ac_file is unchanged" >&6;}
42929 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
42930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42931 X"$ac_file" : 'X\(//\)[^/]' \| \
42932 X"$ac_file" : 'X\(//\)$' \| \
42933 X"$ac_file" : 'X\(/\)' \| \
42934 . : '\(.\)' 2>/dev/null ||
42936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42938 /^X\(\/\/\)$/{ s//\1/; q; }
42939 /^X\(\/\).*/{ s//\1/; q; }
42941 { if $as_mkdir_p; then
42946 while test ! -d "$as_dir"; do
42947 as_dirs
="$as_dir $as_dirs"
42948 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42950 X"$as_dir" : 'X\(//\)[^/]' \| \
42951 X"$as_dir" : 'X\(//\)$' \| \
42952 X"$as_dir" : 'X\(/\)' \| \
42953 . : '\(.\)' 2>/dev/null ||
42955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42957 /^X\(\/\/\)$/{ s//\1/; q; }
42958 /^X\(\/\).*/{ s//\1/; q; }
42961 test ! -n "$as_dirs" || mkdir $as_dirs
42962 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42963 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42964 { (exit 1); exit 1; }; }; }
42967 mv $tmp/config.h
$ac_file
42971 rm -f $tmp/config.h
42975 cat >>$CONFIG_STATUS <<\_ACEOF
42978 # CONFIG_COMMANDS section.
42980 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
42981 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
42982 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
42983 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
42984 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42985 X"$ac_dest" : 'X\(//\)[^/]' \| \
42986 X"$ac_dest" : 'X\(//\)$' \| \
42987 X"$ac_dest" : 'X\(/\)' \| \
42988 . : '\(.\)' 2>/dev/null ||
42990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42991 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42992 /^X\(\/\/\)$/{ s//\1/; q; }
42993 /^X\(\/\).*/{ s//\1/; q; }
42995 { if $as_mkdir_p; then
43000 while test ! -d "$as_dir"; do
43001 as_dirs
="$as_dir $as_dirs"
43002 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43003 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43004 X"$as_dir" : 'X\(//\)[^/]' \| \
43005 X"$as_dir" : 'X\(//\)$' \| \
43006 X"$as_dir" : 'X\(/\)' \| \
43007 . : '\(.\)' 2>/dev/null ||
43009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43011 /^X\(\/\/\)$/{ s//\1/; q; }
43012 /^X\(\/\).*/{ s//\1/; q; }
43015 test ! -n "$as_dirs" || mkdir $as_dirs
43016 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43017 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43018 { (exit 1); exit 1; }; }; }
43022 if test "$ac_dir" != .
; then
43023 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43024 # A "../" for each directory in $ac_dir_suffix.
43025 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43027 ac_dir_suffix
= ac_top_builddir
=
43031 .
) # No --srcdir option. We are building in place.
43033 if test -z "$ac_top_builddir"; then
43036 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43038 [\\/]* | ?
:[\\/]* ) # Absolute path.
43039 ac_srcdir
=$srcdir$ac_dir_suffix;
43040 ac_top_srcdir
=$srcdir ;;
43041 *) # Relative path.
43042 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43043 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43046 # Do not use `cd foo && pwd` to compute absolute paths, because
43047 # the directories may not exist.
43049 .
) ac_abs_builddir
="$ac_dir";;
43052 .
) ac_abs_builddir
=`pwd`;;
43053 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43054 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43057 case $ac_abs_builddir in
43058 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43060 case ${ac_top_builddir}.
in
43061 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43062 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43063 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43066 case $ac_abs_builddir in
43067 .
) ac_abs_srcdir
=$ac_srcdir;;
43070 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43071 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43072 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43075 case $ac_abs_builddir in
43076 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43078 case $ac_top_srcdir in
43079 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43080 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43081 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43086 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43087 echo "$as_me: executing $ac_dest commands" >&6;}
43089 wx
-config ) rm -f wx
-config
43090 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
43096 cat >>$CONFIG_STATUS <<\_ACEOF
43098 { (exit 0); exit 0; }
43100 chmod +x
$CONFIG_STATUS
43101 ac_clean_files
=$ac_clean_files_save
43104 # configure is writing to config.log, and then calls config.status.
43105 # config.status does its own redirection, appending to config.log.
43106 # Unfortunately, on DOS this fails, as config.log is still kept open
43107 # by configure, so config.status won't be able to write to it; its
43108 # output is simply discarded. So we exec the FD to /dev/null,
43109 # effectively closing config.log, so it can be properly (re)opened and
43110 # appended to by config.status. When coming back to configure, we
43111 # need to make the FD available again.
43112 if test "$no_create" != yes; then
43114 ac_config_status_args
=
43115 test "$silent" = yes &&
43116 ac_config_status_args
="$ac_config_status_args --quiet"
43118 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
43120 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43121 # would make configure fail if this is the last instruction.
43122 $ac_cs_success || { (exit 1); exit 1; }
43126 # CONFIG_SUBDIRS section.
43128 if test "$no_recursion" != yes; then
43130 # Remove --cache-file and --srcdir arguments so they do not pile up.
43131 ac_sub_configure_args
=
43133 for ac_arg
in $ac_configure_args; do
43134 if test -n "$ac_prev"; then
43139 -cache-file | --cache-file | --cache-fil | --cache-fi \
43140 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43141 ac_prev
=cache_file
;;
43142 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43143 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43146 --config-cache | -C)
43148 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43150 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43152 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43154 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43156 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
43160 # Always prepend --prefix to ensure using the same prefix
43161 # in subdir configurations.
43162 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
43165 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43167 # Do not complain, so a configure script can configure whichever
43168 # parts of a large source tree are present.
43169 test -d $srcdir/$ac_dir || continue
43171 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43172 echo "$as_me: configuring in $ac_dir" >&6;}
43173 { if $as_mkdir_p; then
43178 while test ! -d "$as_dir"; do
43179 as_dirs
="$as_dir $as_dirs"
43180 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
43181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43182 X"$as_dir" : 'X\(//\)[^/]' \| \
43183 X"$as_dir" : 'X\(//\)$' \| \
43184 X"$as_dir" : 'X\(/\)' \| \
43185 . : '\(.\)' 2>/dev/null ||
43187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43189 /^X\(\/\/\)$/{ s//\1/; q; }
43190 /^X\(\/\).*/{ s//\1/; q; }
43193 test ! -n "$as_dirs" || mkdir $as_dirs
43194 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43195 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43196 { (exit 1); exit 1; }; }; }
43200 if test "$ac_dir" != .
; then
43201 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43202 # A "../" for each directory in $ac_dir_suffix.
43203 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43205 ac_dir_suffix
= ac_top_builddir
=
43209 .
) # No --srcdir option. We are building in place.
43211 if test -z "$ac_top_builddir"; then
43214 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
43216 [\\/]* | ?
:[\\/]* ) # Absolute path.
43217 ac_srcdir
=$srcdir$ac_dir_suffix;
43218 ac_top_srcdir
=$srcdir ;;
43219 *) # Relative path.
43220 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
43221 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
43224 # Do not use `cd foo && pwd` to compute absolute paths, because
43225 # the directories may not exist.
43227 .
) ac_abs_builddir
="$ac_dir";;
43230 .
) ac_abs_builddir
=`pwd`;;
43231 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
43232 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
43235 case $ac_abs_builddir in
43236 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43238 case ${ac_top_builddir}.
in
43239 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
43240 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
43241 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
43244 case $ac_abs_builddir in
43245 .
) ac_abs_srcdir
=$ac_srcdir;;
43248 .
) ac_abs_srcdir
=$ac_abs_builddir;;
43249 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
43250 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
43253 case $ac_abs_builddir in
43254 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
43256 case $ac_top_srcdir in
43257 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
43258 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
43259 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
43266 # Check for guested configure; otherwise get Cygnus style configure.
43267 if test -f $ac_srcdir/configure.gnu
; then
43268 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
43269 elif test -f $ac_srcdir/configure
; then
43270 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
43271 elif test -f $ac_srcdir/configure.
in; then
43272 ac_sub_configure
=$ac_configure
43274 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43275 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43279 # The recursion is here.
43280 if test -n "$ac_sub_configure"; then
43281 # Make the cache file name correct relative to the subdirectory.
43282 case $cache_file in
43283 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43284 *) # Relative path.
43285 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
43288 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43289 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43290 # The eval makes quoting arguments work.
43291 eval $ac_sub_configure $ac_sub_configure_args \
43292 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43293 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43294 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43295 { (exit 1); exit 1; }; }
43304 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43306 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43307 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43309 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43310 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43311 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43313 echo " What level of wxWidgets compatibility should be enabled?"
43314 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43315 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43317 echo " Which libraries should wxWidgets use?"
43318 echo " jpeg ${wxUSE_LIBJPEG-none}"
43319 echo " png ${wxUSE_LIBPNG-none}"
43320 echo " regex ${wxUSE_REGEX}"
43321 echo " tiff ${wxUSE_LIBTIFF-none}"
43322 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43323 echo " xpm ${wxUSE_LIBXPM-none}"
43325 echo " zlib ${wxUSE_ZLIB}"
43326 echo " odbc ${wxUSE_ODBC}"
43327 echo " expat ${wxUSE_EXPAT}"
43328 echo " libmspack ${wxUSE_LIBMSPACK}"
43329 echo " sdl ${wxUSE_LIBSDL}"